@qualtrics/ui-react 2.20.0 → 2.22.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 (211) hide show
  1. package/CHANGELOG.md +17 -33
  2. package/dist/__shared/cjs/{index-90d4069b.js → index-025620bf.js} +718 -673
  3. package/dist/__shared/cjs/{index-579c4690.js → index-41a013d2.js} +4 -4
  4. package/dist/components/Accordion/Accordion.js +1 -1
  5. package/dist/components/Accordion/Accordion2.js +3 -3
  6. package/dist/components/Accordion/AccordionHeader.js +4 -4
  7. package/dist/components/Accordion/AccordionPanel.js +3 -3
  8. package/dist/components/Button/Button.js +3 -3
  9. package/dist/components/Button/Button2.js +2 -2
  10. package/dist/components/ButtonGroup/ButtonGroup.js +1 -1
  11. package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
  12. package/dist/components/Checkbox/Checkbox.js +11 -11
  13. package/dist/components/Checkbox/Checkbox2.js +3 -3
  14. package/dist/components/Checkbox/VisualCheckbox2.js +3 -3
  15. package/dist/components/ColorPicker/Alpha.js +12 -16
  16. package/dist/components/ColorPicker/ColorPicker.js +15 -9
  17. package/dist/components/ColorPicker/ColorPicker2.js +3 -3
  18. package/dist/components/ColorPicker/ColorPickerFlyout.js +9 -4
  19. package/dist/components/ColorPicker/ColorPickerFlyoutInputs.js +8 -6
  20. package/dist/components/ColorPicker/Hue.js +3 -9
  21. package/dist/components/ColorPicker/Palette.js +13 -9
  22. package/dist/components/ColorPicker/Saturation.js +9 -17
  23. package/dist/components/ColorPicker/utils/hexToRgbaString.js +3 -2
  24. package/dist/components/ColorPicker/utils/rgbToHex.js +1 -1
  25. package/dist/components/ColorPicker/utils/validateHex.js +10 -9
  26. package/dist/components/Combobox/Combobox.js +54 -31
  27. package/dist/components/Combobox/Combobox2.js +3 -3
  28. package/dist/components/Combobox/ComboboxHeader.js +1 -1
  29. package/dist/components/Combobox/ComboboxIcon.js +3 -2
  30. package/dist/components/Combobox/ComboboxInput.js +4 -4
  31. package/dist/components/Combobox/ComboboxList.js +2 -2
  32. package/dist/components/ConfigPane/ConfigPane2.js +3 -3
  33. package/dist/components/Divider/Divider2.js +3 -3
  34. package/dist/components/Dropdown/ChildIndexContext/reach-descendants.js +5 -2
  35. package/dist/components/Dropdown/Dropdown.js +14 -14
  36. package/dist/components/Dropdown/Dropdown2.js +3 -3
  37. package/dist/components/Dropdown/DropdownButton.js +23 -19
  38. package/dist/components/Dropdown/DropdownList.js +4 -4
  39. package/dist/components/Dropdown/DropdownOption.js +5 -7
  40. package/dist/components/Dropdown/DropdownSearch.js +12 -9
  41. package/dist/components/FilePicker/FilePicker.js +13 -13
  42. package/dist/components/FilePicker/FilePicker2.js +3 -3
  43. package/dist/components/FormField/Caption.js +3 -3
  44. package/dist/components/FormField/FormField.js +2 -2
  45. package/dist/components/FormField/FormField2.js +3 -3
  46. package/dist/components/FormField/FormFieldContext.js +3 -3
  47. package/dist/components/FullScreenTakeover/FullScreenTakeover.js +5 -3
  48. package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
  49. package/dist/components/Icon/Icon.js +2 -2
  50. package/dist/components/IconButton/IconButton2.js +3 -3
  51. package/dist/components/InlineInput/InlineInput.js +12 -9
  52. package/dist/components/InlineInput/InlineInput2.js +3 -3
  53. package/dist/components/Input/Input.js +1 -1
  54. package/dist/components/Input/Input2.js +3 -3
  55. package/dist/components/Input/InputField.js +2 -2
  56. package/dist/components/InputGroup/InputGroup2.js +3 -3
  57. package/dist/components/Label/Label2.js +3 -3
  58. package/dist/components/Link/Link2.js +3 -3
  59. package/dist/components/LoadingSpinner/LoadingSpinner.js +1 -1
  60. package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
  61. package/dist/components/LogicEditor/ConditionSet.js +5 -5
  62. package/dist/components/LogicEditor/LogicEditor.js +1 -1
  63. package/dist/components/LogicEditor/LogicEditor2.js +3 -3
  64. package/dist/components/LogicEditor/utils.js +2 -1
  65. package/dist/components/Modal/Modal.js +14 -13
  66. package/dist/components/Modal/Modal2.js +3 -3
  67. package/dist/components/NewMenu/BaseMenu.js +41 -30
  68. package/dist/components/NewMenu/NewMenu.js +3 -3
  69. package/dist/components/NewMenu/SelectMenu/SelectMenu.js +2 -2
  70. package/dist/components/NewMenu/parts/ArrowNav/ArrowNav.js +19 -15
  71. package/dist/components/NewMenu/parts/MenuItem.js +1 -1
  72. package/dist/components/NumberStepper/NumberStepper.js +7 -6
  73. package/dist/components/NumberStepper/NumberStepper2.js +3 -3
  74. package/dist/components/NumberStepper/NumberStepperDecrement.js +1 -1
  75. package/dist/components/NumberStepper/NumberStepperIncrement.js +1 -1
  76. package/dist/components/NumberStepper/NumberStepperInput.js +3 -3
  77. package/dist/components/PageLayout/PageLayout.js +3 -3
  78. package/dist/components/Pagination/Pagination.js +1 -1
  79. package/dist/components/Pagination/Pagination2.js +3 -3
  80. package/dist/components/Pagination/PaginationNextButton.js +5 -5
  81. package/dist/components/Pagination/PaginationPageInput.js +11 -9
  82. package/dist/components/Pagination/PaginationPreviousButton.js +5 -5
  83. package/dist/components/Popover/Popover.js +9 -7
  84. package/dist/components/Popover/Popover2.js +3 -3
  85. package/dist/components/QuickSearch/QuickSearch.js +4 -3
  86. package/dist/components/QuickSearch/QuickSearch2.js +3 -3
  87. package/dist/components/QuickSearch/QuickSearchInput.js +4 -4
  88. package/dist/components/Radio/Radio.js +12 -11
  89. package/dist/components/Radio/Radio2.js +3 -3
  90. package/dist/components/SearchInput/SearchInput.js +4 -3
  91. package/dist/components/SearchInput/SearchInput2.js +3 -3
  92. package/dist/components/SidebarNav/SidebarNav.js +2 -1
  93. package/dist/components/SidebarNav/SidebarNav2.js +3 -3
  94. package/dist/components/SidebarNav/SidebarNavLink.js +1 -1
  95. package/dist/components/Slider/RangeSlider.js +2 -2
  96. package/dist/components/Slider/Slider.js +1 -1
  97. package/dist/components/Slider/Slider2.js +3 -3
  98. package/dist/components/Slider/SliderButton.js +1 -1
  99. package/dist/components/Switch/Switch.js +11 -11
  100. package/dist/components/Switch/Switch2.js +3 -3
  101. package/dist/components/Table/Table2.js +3 -3
  102. package/dist/components/Tabs/Tab.js +3 -3
  103. package/dist/components/Tabs/TabList.js +6 -5
  104. package/dist/components/Tabs/TabPanel.js +3 -3
  105. package/dist/components/Tabs/Tabs2.js +3 -3
  106. package/dist/components/Tooltip/Tooltip.js +15 -7
  107. package/dist/components/Tooltip/Tooltip2.js +3 -3
  108. package/dist/components/UIProvider/UIProvider.js +2 -2
  109. package/dist/components/deprecated_ColorPicker/Alpha.js +4 -4
  110. package/dist/components/deprecated_ColorPicker/Color.js +6 -6
  111. package/dist/components/deprecated_ColorPicker/ColorPicker.js +2 -2
  112. package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
  113. package/dist/components/deprecated_ColorPicker/HexInput.js +1 -1
  114. package/dist/components/deprecated_ColorPicker/Hue.js +3 -3
  115. package/dist/components/deprecated_ColorPicker/Saturation.js +5 -5
  116. package/dist/components/deprecated_ColorPicker/Swatch.js +2 -2
  117. package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
  118. package/dist/components/deprecated_NumberStepper/NumberStepperDecrement.js +2 -2
  119. package/dist/components/deprecated_NumberStepper/NumberStepperIncrement.js +2 -2
  120. package/dist/components/deprecated_NumberStepper/NumberStepperInput.js +8 -8
  121. package/dist/components/deprecated_Tabs/Tabs.js +11 -7
  122. package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
  123. package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
  124. package/dist/components/deprecated_Toolbar/ToolbarPanel.js +3 -3
  125. package/dist/components/deprecated_Toolbar/ToolbarPanels.js +4 -29
  126. package/dist/components/deprecated_Toolbar/ToolbarTab.js +8 -8
  127. package/dist/components/deprecated_Toolbar/ToolbarTabs.js +6 -3
  128. package/dist/hooks/useBreakpoints/useBreakpoints.js +1 -1
  129. package/dist/hooks/useClickOutside/useClickOutside.js +2 -1
  130. package/dist/hooks/useControllableState/useControllableState.js +2 -1
  131. package/dist/hooks/useEventListener/useEventListener.js +4 -1
  132. package/dist/hooks/useId/useId.js +1 -1
  133. package/dist/hooks/useOverlay/useOverlay.js +11 -6
  134. package/dist/hooks/useOverlay/useOverlay2.js +3 -3
  135. package/dist/hooks/useResponsiveValue/useResponsiveValue.js +2 -1
  136. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement.js +4 -2
  137. package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
  138. package/dist/icons/Icon.js +3 -3
  139. package/dist/icons/createIconComponent.js +1 -1
  140. package/dist/icons/index.js +1 -1
  141. package/dist/index.d.ts +17 -8
  142. package/dist/index.es.js +1 -7
  143. package/dist/index.js +4 -7
  144. package/dist/next/AdvancedTable/AdvancedTable.js +86 -87
  145. package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
  146. package/dist/next/AdvancedTable/AdvancedTableCell.js +6 -4
  147. package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +18 -10
  148. package/dist/next/AdvancedTable/AdvancedTableColumnHeaderMenu.js +7 -6
  149. package/dist/next/AdvancedTable/AdvancedTableDragPreview.js +5 -4
  150. package/dist/next/AdvancedTable/AdvancedTablePagination.js +1 -1
  151. package/dist/next/AdvancedTable/useAdvancedTableDragAndDrop.js +3 -2
  152. package/dist/next/AdvancedTable/useComputedWidth.js +1 -1
  153. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput.js +6 -5
  154. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
  155. package/dist/next/CollapsibleSearchInput/CollapsibleSearchInputIconButton.js +1 -1
  156. package/dist/next/Combobox/Combobox2.js +3 -3
  157. package/dist/next/Combobox/ComboboxFlyout.js +2 -2
  158. package/dist/next/Combobox/ComboboxGroup.js +1 -1
  159. package/dist/next/Combobox/ComboboxInput.js +2 -2
  160. package/dist/next/Combobox/ComboboxOption.js +1 -1
  161. package/dist/next/Combobox/hooks/useComboboxFilteredGroup/useComboboxFilteredGroup.js +1 -1
  162. package/dist/next/Combobox/hooks/useComboboxFocusSequence/useComboboxFocusSequence.js +12 -8
  163. package/dist/next/Combobox/hooks/useComboboxValue/useComboboxValue.js +1 -1
  164. package/dist/next/Combobox/hooks/useListboxFlyoutDimensions/useListboxFlyoutDimensions.js +3 -2
  165. package/dist/next/Combobox/hooks/useSelectedOptionScroll/useSelectedOptionScroll.js +2 -1
  166. package/dist/next/Combobox/hooks/useShouldRenderGroupHeader/useShouldRenderGroupHeader.js +2 -1
  167. package/dist/next/Combobox/utils/nodeRegistration/nodeRegistration.js +1 -1
  168. package/dist/next/Drawer/Drawer.js +7 -4
  169. package/dist/next/Drawer/Drawer2.js +3 -3
  170. package/dist/next/FilterAnchor/FilterAnchor.js +3 -3
  171. package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
  172. package/dist/next/Input/Input.js +2 -2
  173. package/dist/next/Input/Input2.js +3 -3
  174. package/dist/next/Menu/Menu.js +11 -5
  175. package/dist/next/Menu/Menu2.js +3 -3
  176. package/dist/next/Menu/MenuItem.js +19 -11
  177. package/dist/next/Menu/MenuPane.js +70 -40
  178. package/dist/next/Menu/MenuSearch.js +16 -71
  179. package/dist/next/Menu/SubMenu.js +63 -46
  180. package/dist/next/Menu/constants.js +5 -1
  181. package/dist/next/Menu/useMutationObserver.js +17 -0
  182. package/dist/next/Menu/usePaneSearch.js +109 -7
  183. package/dist/next/PhoneNumberInput/PhoneNumberInput.js +7 -6
  184. package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
  185. package/dist/next/SplitButton/SplitButton.js +8 -2
  186. package/dist/next/SplitButton/SplitButton2.js +3 -3
  187. package/dist/next/TimePicker/TimeDropdown.js +4 -4
  188. package/dist/next/TimePicker/TimeInput.js +2 -2
  189. package/dist/next/TimePicker/TimePicker.js +4 -4
  190. package/dist/next/TimePicker/TimePicker2.js +3 -3
  191. package/dist/next/TimePicker/TimePickerIcon.js +2 -1
  192. package/dist/next/TimePicker/utils.js +10 -9
  193. package/dist/next/ToggleButton/styles.js +3 -3
  194. package/dist/next/index.d.ts +2 -1
  195. package/dist/next/index.js +601 -432
  196. package/dist/utils/Flyout/Flyout.js +1 -1
  197. package/dist/utils/Flyout/Flyout2.js +3 -3
  198. package/dist/utils/Popper/Popper.js +9 -5
  199. package/dist/utils/TextOverflowTooltip/TextOverflowTooltip.js +2 -1
  200. package/dist/utils/Translation/useTranslation.js +4 -5
  201. package/dist/utils/filterChildren/filterChildren.js +2 -1
  202. package/dist/utils/getSubDataTestId/getSubDataTestId.js +1 -1
  203. package/dist/utils/index.js +0 -1
  204. package/dist/utils/mediaQueryManager/mediaQueryManager.js +1 -1
  205. package/dist/utils/mergeRefs/mergeRefs.js +1 -1
  206. package/dist/utils/wrapEvent/wrapEvent.js +2 -2
  207. package/icons/package.json +1 -0
  208. package/next/package.json +2 -1
  209. package/package.json +4 -4
  210. package/dist/utils/keyboardUser/index.js +0 -1
  211. package/dist/utils/keyboardUser/keyboardUser.js +0 -30
@@ -3,12 +3,13 @@
3
3
  var _includesInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/includes');
4
4
  var React = require('react');
5
5
  var classNames = require('classnames');
6
- var icons_index = require('./index-579c4690.js');
6
+ var icons_index = require('./index-41a013d2.js');
7
7
  var _extends = require('@babel/runtime-corejs3/helpers/extends');
8
8
  var reactPopper = require('react-popper');
9
9
  var core = require('@popperjs/core');
10
10
  var ReactFocusLock = require('react-focus-lock');
11
11
  var ReactDOM = require('react-dom');
12
+ var interactions = require('@react-aria/interactions');
12
13
  var uuid = require('uuid');
13
14
  var useResizeObserver$1 = require('@react-hook/resize-observer');
14
15
  var componentStyles = require('@qualtrics/component-styles');
@@ -43,6 +44,11 @@ var ReactFocusLock__default = /*#__PURE__*/_interopDefaultLegacy(ReactFocusLock)
43
44
  var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
44
45
  var useResizeObserver__default = /*#__PURE__*/_interopDefaultLegacy(useResizeObserver$1);
45
46
 
47
+ var css_248z$I = "._ZsFIN{width:100%;display:flex;flex-direction:column}._ZsFIN._9hwS9{grid-gap:20px;gap:20px}._Ws-QS{display:flex;width:100%;border:none;outline:none;background-color:transparent;color:#32363a;font-size:14px;font-weight:700;line-height:18px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._Ws-QS ._pgZve{margin-top:-3px}._5mgAV{flex:1}._WsY1B{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._4HU2e ._Ws-QS{border-radius:4px}._4HU2e ._Ws-QS:hover:not(._9lFhZ){background-color:rgba(50,54,58,.08)}._4HU2e ._Ws-QS:active:not(._9lFhZ){background-color:rgba(50,54,58,.11)}._mgVUL ._Ws-QS{font-weight:400;padding-left:12px;border-top:1px solid #eee}._mgVUL ._Ws-QS:hover:not(._9lFhZ){background-color:rgba(50,54,58,.08)}._mgVUL ._Ws-QS:active:not(._9lFhZ){background-color:rgba(50,54,58,.11)}._9hwS9 ._vdmhP{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._9hwS9 ._vdmhP._dL8je{box-shadow:none}._9hwS9 ._vdmhP._dL8je ._Ws-QS{border-radius:6px}._9hwS9 ._Ws-QS{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._9hwS9 ._Ws-QS ._5mgAV{padding-left:20px}._9hwS9 ._Ws-QS:hover:not(disabled){border:1px solid #c2c2c2}._9hwS9 ._Ws-QS:active:not(._9lFhZ){border:1px solid #898989}._9hwS9 ._WsY1B{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._dL8je ._WsY1B{display:none}._9lFhZ{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}._Ws-QS.focus-visible,._Ws-QS:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}._Ws-QS.focus-visible:before,._Ws-QS:focus-visible:before{z-index:1}._mgVUL ._Ws-QS.focus-visible,._mgVUL ._Ws-QS:focus-visible{border-color:transparent}";
48
+ var AccordionStyles = {"accordion":"_ZsFIN","block-variant":"_9hwS9","header":"_Ws-QS","headerIcon":"_pgZve","title":"_5mgAV","panel":"_WsY1B","default-variant":"_4HU2e","disabled":"_9lFhZ","outlined-variant":"_mgVUL","section":"_vdmhP","closed":"_dL8je"};
49
+ var stylesheet$I="._ZsFIN{width:100%;display:flex;flex-direction:column}._ZsFIN._9hwS9{grid-gap:20px;gap:20px}._Ws-QS{display:flex;width:100%;border:none;outline:none;background-color:transparent;color:#32363a;font-size:14px;font-weight:700;line-height:18px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._Ws-QS ._pgZve{margin-top:-3px}._5mgAV{flex:1}._WsY1B{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._4HU2e ._Ws-QS{border-radius:4px}._4HU2e ._Ws-QS:hover:not(._9lFhZ){background-color:rgba(50,54,58,.08)}._4HU2e ._Ws-QS:active:not(._9lFhZ){background-color:rgba(50,54,58,.11)}._mgVUL ._Ws-QS{font-weight:400;padding-left:12px;border-top:1px solid #eee}._mgVUL ._Ws-QS:hover:not(._9lFhZ){background-color:rgba(50,54,58,.08)}._mgVUL ._Ws-QS:active:not(._9lFhZ){background-color:rgba(50,54,58,.11)}._9hwS9 ._vdmhP{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._9hwS9 ._vdmhP._dL8je{box-shadow:none}._9hwS9 ._vdmhP._dL8je ._Ws-QS{border-radius:6px}._9hwS9 ._Ws-QS{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._9hwS9 ._Ws-QS ._5mgAV{padding-left:20px}._9hwS9 ._Ws-QS:hover:not(disabled){border:1px solid #c2c2c2}._9hwS9 ._Ws-QS:active:not(._9lFhZ){border:1px solid #898989}._9hwS9 ._WsY1B{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._dL8je ._WsY1B{display:none}._9lFhZ{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}._Ws-QS.focus-visible,._Ws-QS:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}._Ws-QS.focus-visible:before,._Ws-QS:focus-visible:before{z-index:1}._mgVUL ._Ws-QS.focus-visible,._mgVUL ._Ws-QS:focus-visible{border-color:transparent}";
50
+ icons_index.styleInject(css_248z$I);
51
+
46
52
  /**
47
53
  * Determinines if DOM functions are available. Typically used to determine if rendering is happening client-side or server-side.
48
54
  * @returns A boolean indicating if the DOM is available.
@@ -79,6 +85,7 @@ function _filterChildren(children) {
79
85
 
80
86
  // Returns ReactChild
81
87
  function _findMatch(child, queries, matchesList) {
88
+ var _newChild, _newChild$props;
82
89
  let newChild = child;
83
90
  let foundMatch = false;
84
91
  let i;
@@ -93,7 +100,7 @@ function _findMatch(child, queries, matchesList) {
93
100
  break;
94
101
  }
95
102
  }
96
- if (newChild?.props?.children) {
103
+ if ((_newChild = newChild) !== null && _newChild !== void 0 && (_newChild$props = _newChild.props) !== null && _newChild$props !== void 0 && _newChild$props.children) {
97
104
  const modifiedChildren = _filterChildren(newChild.props.children, queries, matchesList);
98
105
  newChild = /*#__PURE__*/React__default["default"].cloneElement(newChild, {
99
106
  children: modifiedChildren
@@ -112,16 +119,16 @@ function filterChildren(children, queries) {
112
119
  return [_filterChildren(children, queries, matchesList), matchesList];
113
120
  }
114
121
 
115
- var css_248z$I = "._ku2dZ{background-color:#fff;border-radius:4px;border:4px solid transparent;border-right:none;border-left:none;box-shadow:0 0 0 1px #eee,0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;max-width:500px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._w5670{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;cursor:pointer;font-size:14px;color:#32363a;word-break:break-word;outline:none}._w5670._i-P0x,._w5670._JbQcj._w5670:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._w5670._j81SI{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._w5670._j81SI._i-P0x,._w5670._j81SI._JbQcj._w5670._j81SI:hover{background-color:#e4effa}._w5670:active:not(._j81SI):not([aria-disabled=true]){background-color:#e8e9e9}._6kSKW ._NtoCM{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;font-size:12px;color:#32363a;font-weight:700;word-break:break-word}._6kSKW ._47JIY{display:none}._6kSKW:not(:first-child) ._47JIY{display:block;margin:3.5px 0}._A7WfV{width:100%;height:40px}";
116
- var styles$C = {"flyout":"_ku2dZ","flyoutOption":"_w5670","highlighted":"_i-P0x","hoverHighlight":"_JbQcj","selected":"_j81SI","flyoutHeader":"_6kSKW","headerContent":"_NtoCM","headerDivider":"_47JIY","flyoutSpinner":"_A7WfV"};
117
- var stylesheet$I="._ku2dZ{background-color:#fff;border-radius:4px;border:4px solid transparent;border-right:none;border-left:none;box-shadow:0 0 0 1px #eee,0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;max-width:500px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._w5670{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;cursor:pointer;font-size:14px;color:#32363a;word-break:break-word;outline:none}._w5670._i-P0x,._w5670._JbQcj._w5670:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._w5670._j81SI{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._w5670._j81SI._i-P0x,._w5670._j81SI._JbQcj._w5670._j81SI:hover{background-color:#e4effa}._w5670:active:not(._j81SI):not([aria-disabled=true]){background-color:#e8e9e9}._6kSKW ._NtoCM{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;font-size:12px;color:#32363a;font-weight:700;word-break:break-word}._6kSKW ._47JIY{display:none}._6kSKW:not(:first-child) ._47JIY{display:block;margin:3.5px 0}._A7WfV{width:100%;height:40px}";
118
- icons_index.styleInject(css_248z$I);
119
-
120
- var css_248z$H = "._hPy3F{position:relative;display:inline-block}._hPy3F._6G4QD{min-height:20px;min-width:20px}._hPy3F._NWOuR{min-height:25px;min-width:25px}._hPy3F._QO3mu{min-height:40px;min-width:40px}._hPy3F._1gEgr{min-height:64px;min-width:64px}._hPy3F ._bZGDW{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._hPy3F ._bZGDW._PpS2S{visibility:hidden}._hPy3F ._bZGDW div{position:absolute;transform:rotate(20deg)}._hPy3F ._bZGDW div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_bZGDW .8s linear infinite}._hPy3F ._bZGDW div div:nth-child(-n+9):after{content:\" \";display:block;position:absolute;top:5px;left:-1px;width:2px;height:10px;border-radius:20%;background:#000}._hPy3F ._bZGDW div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._hPy3F ._bZGDW div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._hPy3F ._bZGDW div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._hPy3F ._bZGDW div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._hPy3F ._bZGDW div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._hPy3F ._bZGDW div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._hPy3F ._bZGDW div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._hPy3F ._bZGDW div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._hPy3F ._bZGDW div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._hPy3F ._1gEgr div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._hPy3F ._6G4QD div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._hPy3F ._NWOuR div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._hPy3F ._1C97H div div:nth-child(-n+9):after{background:#fff}._hPy3F ._R0YzJ{width:100%;height:100%}._hPy3F ._R0YzJ._mOWKM{pointer-events:none}._hPy3F ._R0YzJ._PpS2S{opacity:0}._hPy3F ._R0YzJ._1gtxg{opacity:.5}@keyframes _bZGDW{0%{opacity:1}to{opacity:0}}";
121
- var styles$B = {"spinnerContainer":"_hPy3F","xs":"_6G4QD","small":"_NWOuR","medium":"_QO3mu","large":"_1gEgr","spinnerComponent":"_bZGDW","hide":"_PpS2S","inverted":"_1C97H","spinnerContent":"_R0YzJ","disablePointerEvents":"_mOWKM","fade":"_1gtxg"};
122
- var stylesheet$H="._hPy3F{position:relative;display:inline-block}._hPy3F._6G4QD{min-height:20px;min-width:20px}._hPy3F._NWOuR{min-height:25px;min-width:25px}._hPy3F._QO3mu{min-height:40px;min-width:40px}._hPy3F._1gEgr{min-height:64px;min-width:64px}._hPy3F ._bZGDW{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._hPy3F ._bZGDW._PpS2S{visibility:hidden}._hPy3F ._bZGDW div{position:absolute;transform:rotate(20deg)}._hPy3F ._bZGDW div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_bZGDW .8s linear infinite}._hPy3F ._bZGDW div div:nth-child(-n+9):after{content:\" \";display:block;position:absolute;top:5px;left:-1px;width:2px;height:10px;border-radius:20%;background:#000}._hPy3F ._bZGDW div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._hPy3F ._bZGDW div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._hPy3F ._bZGDW div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._hPy3F ._bZGDW div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._hPy3F ._bZGDW div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._hPy3F ._bZGDW div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._hPy3F ._bZGDW div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._hPy3F ._bZGDW div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._hPy3F ._bZGDW div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._hPy3F ._1gEgr div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._hPy3F ._6G4QD div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._hPy3F ._NWOuR div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._hPy3F ._1C97H div div:nth-child(-n+9):after{background:#fff}._hPy3F ._R0YzJ{width:100%;height:100%}._hPy3F ._R0YzJ._mOWKM{pointer-events:none}._hPy3F ._R0YzJ._PpS2S{opacity:0}._hPy3F ._R0YzJ._1gtxg{opacity:.5}@keyframes _bZGDW{0%{opacity:1}to{opacity:0}}";
122
+ var css_248z$H = "._a-PRX{background-color:#fff;border-radius:4px;border:4px solid transparent;border-right:none;border-left:none;box-shadow:0 0 0 1px #eee,0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;max-width:500px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._ChaVY{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;cursor:pointer;font-size:14px;color:#32363a;word-break:break-word;outline:none}._ChaVY._hdeB3,._ChaVY._xX0vd._ChaVY:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._ChaVY._m7zA6{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._ChaVY._m7zA6._hdeB3,._ChaVY._m7zA6._xX0vd._ChaVY._m7zA6:hover{background-color:#e4effa}._ChaVY:active:not(._m7zA6):not([aria-disabled=true]){background-color:#e8e9e9}._7xZh2 ._BaEad{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;font-size:12px;color:#32363a;font-weight:700;word-break:break-word}._7xZh2 ._YflWk{display:none}._7xZh2:not(:first-child) ._YflWk{display:block;margin:3.5px 0}._CRDd0{width:100%;height:40px}";
123
+ var styles$C = {"flyout":"_a-PRX","flyoutOption":"_ChaVY","highlighted":"_hdeB3","hoverHighlight":"_xX0vd","selected":"_m7zA6","flyoutHeader":"_7xZh2","headerContent":"_BaEad","headerDivider":"_YflWk","flyoutSpinner":"_CRDd0"};
124
+ var stylesheet$H="._a-PRX{background-color:#fff;border-radius:4px;border:4px solid transparent;border-right:none;border-left:none;box-shadow:0 0 0 1px #eee,0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;max-width:500px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._ChaVY{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;cursor:pointer;font-size:14px;color:#32363a;word-break:break-word;outline:none}._ChaVY._hdeB3,._ChaVY._xX0vd._ChaVY:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._ChaVY._m7zA6{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._ChaVY._m7zA6._hdeB3,._ChaVY._m7zA6._xX0vd._ChaVY._m7zA6:hover{background-color:#e4effa}._ChaVY:active:not(._m7zA6):not([aria-disabled=true]){background-color:#e8e9e9}._7xZh2 ._BaEad{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;font-size:12px;color:#32363a;font-weight:700;word-break:break-word}._7xZh2 ._YflWk{display:none}._7xZh2:not(:first-child) ._YflWk{display:block;margin:3.5px 0}._CRDd0{width:100%;height:40px}";
123
125
  icons_index.styleInject(css_248z$H);
124
126
 
127
+ var css_248z$G = "._Zzymx{position:relative;display:inline-block}._Zzymx._xEic-{min-height:20px;min-width:20px}._Zzymx._FzKPw{min-height:25px;min-width:25px}._Zzymx._ELwIP{min-height:40px;min-width:40px}._Zzymx._Hn2jc{min-height:64px;min-width:64px}._Zzymx ._QxRR8{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._Zzymx ._QxRR8._pFlgS{visibility:hidden}._Zzymx ._QxRR8 div{position:absolute;transform:rotate(20deg)}._Zzymx ._QxRR8 div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_QxRR8 .8s linear infinite}._Zzymx ._QxRR8 div div:nth-child(-n+9):after{content:\" \";display:block;position:absolute;top:5px;left:-1px;width:2px;height:10px;border-radius:20%;background:#000}._Zzymx ._QxRR8 div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._Zzymx ._QxRR8 div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._Zzymx ._QxRR8 div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._Zzymx ._QxRR8 div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._Zzymx ._QxRR8 div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._Zzymx ._QxRR8 div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._Zzymx ._QxRR8 div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._Zzymx ._QxRR8 div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._Zzymx ._QxRR8 div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._Zzymx ._Hn2jc div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._Zzymx ._xEic- div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._Zzymx ._FzKPw div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._Zzymx ._w-kzJ div div:nth-child(-n+9):after{background:#fff}._Zzymx ._36mld{width:100%;height:100%}._Zzymx ._36mld._ydsUc{pointer-events:none}._Zzymx ._36mld._pFlgS{opacity:0}._Zzymx ._36mld._AjoMP{opacity:.5}@keyframes _QxRR8{0%{opacity:1}to{opacity:0}}";
128
+ var styles$B = {"spinnerContainer":"_Zzymx","xs":"_xEic-","small":"_FzKPw","medium":"_ELwIP","large":"_Hn2jc","spinnerComponent":"_QxRR8","hide":"_pFlgS","inverted":"_w-kzJ","spinnerContent":"_36mld","disablePointerEvents":"_ydsUc","fade":"_AjoMP"};
129
+ var stylesheet$G="._Zzymx{position:relative;display:inline-block}._Zzymx._xEic-{min-height:20px;min-width:20px}._Zzymx._FzKPw{min-height:25px;min-width:25px}._Zzymx._ELwIP{min-height:40px;min-width:40px}._Zzymx._Hn2jc{min-height:64px;min-width:64px}._Zzymx ._QxRR8{display:inline-block;background-color:transparent;position:absolute;z-index:10;width:0;height:0;left:50%;bottom:50%;pointer-events:none}._Zzymx ._QxRR8._pFlgS{visibility:hidden}._Zzymx ._QxRR8 div{position:absolute;transform:rotate(20deg)}._Zzymx ._QxRR8 div div:nth-child(-n+9){background-color:#fff;transform-origin:0 0;animation:_QxRR8 .8s linear infinite}._Zzymx ._QxRR8 div div:nth-child(-n+9):after{content:\" \";display:block;position:absolute;top:5px;left:-1px;width:2px;height:10px;border-radius:20%;background:#000}._Zzymx ._QxRR8 div div:first-child{transform:rotate(20deg);animation-delay:-.8s}._Zzymx ._QxRR8 div div:nth-child(2){transform:rotate(60deg);animation-delay:-.7s}._Zzymx ._QxRR8 div div:nth-child(3){transform:rotate(100deg);animation-delay:-.6s}._Zzymx ._QxRR8 div div:nth-child(4){transform:rotate(140deg);animation-delay:-.5s}._Zzymx ._QxRR8 div div:nth-child(5){transform:rotate(180deg);animation-delay:-.4s}._Zzymx ._QxRR8 div div:nth-child(6){transform:rotate(220deg);animation-delay:-.3s}._Zzymx ._QxRR8 div div:nth-child(7){transform:rotate(260deg);animation-delay:-.2s}._Zzymx ._QxRR8 div div:nth-child(8){transform:rotate(300deg);animation-delay:-.1s}._Zzymx ._QxRR8 div div:nth-child(9){transform:rotate(340deg);animation-delay:0s}._Zzymx ._Hn2jc div div:nth-child(-n+9):after{top:10px;left:-2px;width:4px;height:18px}._Zzymx ._xEic- div div:nth-child(-n+9):after{top:2px;left:-1px;width:1.5px;height:6px}._Zzymx ._FzKPw div div:nth-child(-n+9):after{top:4px;left:-1px;width:2px;height:7px}._Zzymx ._w-kzJ div div:nth-child(-n+9):after{background:#fff}._Zzymx ._36mld{width:100%;height:100%}._Zzymx ._36mld._ydsUc{pointer-events:none}._Zzymx ._36mld._pFlgS{opacity:0}._Zzymx ._36mld._AjoMP{opacity:.5}@keyframes _QxRR8{0%{opacity:1}to{opacity:0}}";
130
+ icons_index.styleInject(css_248z$G);
131
+
125
132
  /* DO NOT MODIFY - THIS IS AN AUTO-GENERATED FILE */
126
133
  var FALLBACK_LOCALIZED_TEXT = {
127
134
  "filePicker.single": "Choose file",
@@ -256,9 +263,8 @@ function containsComponentOrElement(placeholders) {
256
263
  }
257
264
 
258
265
  /* eslint-disable babel/no-unused-expressions */
259
- const NO_LOCALIZED_TEXT_FOR_KEY = key => `There is no localized text for KEY: ${key}. Defaulting to fallback text`;
260
- const NO_LOCALIZED_OR_FALLBACK_TEXT_FOR_KEY = key => `There is no localized or fallback text for KEY: ${key}.
261
- Please refer to https://designsystem.qualtrics.com/localization for more information about localizing Qualtrics ui-react components`;
266
+ const NO_LOCALIZED_TEXT_FOR_KEY = key => "There is no localized text for KEY: ".concat(key, ". Defaulting to fallback text");
267
+ const NO_LOCALIZED_OR_FALLBACK_TEXT_FOR_KEY = key => "There is no localized or fallback text for KEY: ".concat(key, ". \n Please refer to https://designsystem.qualtrics.com/localization for more information about localizing Qualtrics ui-react components");
262
268
  const USETRANSLATION_PLACEHOLDER_CONTAINS_ELEMENT = 'The useTranslation function cannot include React elements as placeholders.';
263
269
  const HAS_ERROR_BEEN_LOGGED_FOR_KEY = new Set();
264
270
 
@@ -278,7 +284,7 @@ const useTranslation = () => {
278
284
  * @returns The translated string if found; otherwise `##${translation-key}##`.
279
285
  */
280
286
  const translate = React.useCallback((key, placeholders) => {
281
- const translatedText = localizedText?.[key];
287
+ const translatedText = localizedText === null || localizedText === void 0 ? void 0 : localizedText[key];
282
288
  const fallbackText = fallbackLocalizedText[key];
283
289
  if (!translatedText && !HAS_ERROR_BEEN_LOGGED_FOR_KEY.has(key)) {
284
290
  HAS_ERROR_BEEN_LOGGED_FOR_KEY.add(key);
@@ -293,7 +299,7 @@ const useTranslation = () => {
293
299
  const compiledMessage = insertPlaceholders(text, placeholders);
294
300
  return compiledMessage.join('');
295
301
  }
296
- return text || `##${key}##`;
302
+ return text || "##".concat(key, "##");
297
303
  }, [localizedText]);
298
304
  return {
299
305
  translate
@@ -390,7 +396,7 @@ const LoadingSpinner = /*#__PURE__*/React__default["default"].forwardRef((_ref,
390
396
  }),
391
397
  "data-loadingspinner": show || undefined,
392
398
  role: role,
393
- "aria-label": ariaLabel ?? (ariaLabelledby ? undefined : defaultAriaLabel),
399
+ "aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : ariaLabelledby ? undefined : defaultAriaLabel,
394
400
  "aria-labelledby": ariaLabelledby,
395
401
  "aria-live": ariaLive,
396
402
  "aria-hidden": ariaHidden
@@ -443,7 +449,7 @@ const Flyout = /*#__PURE__*/React.forwardRef((_ref, ref) => {
443
449
  let content;
444
450
  if (isLoading) {
445
451
  content = /*#__PURE__*/React__default["default"].createElement("div", {
446
- id: `${id}-loading-spinner`
452
+ id: "".concat(id, "-loading-spinner")
447
453
  // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
448
454
  ,
449
455
  role: "option" // `aria-selected` is omitted because this option is not selectable
@@ -524,7 +530,7 @@ const FlyoutOption = /*#__PURE__*/React.forwardRef((_ref, ref) => {
524
530
  */
525
531
  function getSubDataTestId(dataTestId, suffix) {
526
532
  if (dataTestId) {
527
- return `${dataTestId}-${suffix}`;
533
+ return "".concat(dataTestId, "-").concat(suffix);
528
534
  }
529
535
  return undefined;
530
536
  }
@@ -548,17 +554,17 @@ function mergeRefs() {
548
554
  try {
549
555
  ref.current = value;
550
556
  } catch (error) {
551
- throw new Error(`Cannot assign value "${value}" to ref "${ref}": ${error}`);
557
+ throw new Error("Cannot assign value \"".concat(value, "\" to ref \"").concat(ref, "\": ").concat(error));
552
558
  }
553
559
  }
554
560
  });
555
561
  };
556
562
  }
557
563
 
558
- var css_248z$G = "[data-popper-reference-hidden=true]{opacity:0;pointer-events:none}";
564
+ var css_248z$F = "[data-popper-reference-hidden=true]{opacity:0;pointer-events:none}";
559
565
  var Popper$1 = {};
560
- var stylesheet$G="[data-popper-reference-hidden=true]{opacity:0;pointer-events:none}";
561
- icons_index.styleInject(css_248z$G);
566
+ var stylesheet$F="[data-popper-reference-hidden=true]{opacity:0;pointer-events:none}";
567
+ icons_index.styleInject(css_248z$F);
562
568
 
563
569
  const {
564
570
  Provider,
@@ -602,12 +608,13 @@ const {
602
608
  isParentAnchorHidden: false
603
609
  });
604
610
 
611
+ var _process$env;
605
612
  function useMockedPopper(_, popperElement, _ref) {
606
613
  let {
607
614
  onFirstUpdate
608
615
  } = _ref;
609
616
  React.useEffect(() => {
610
- onFirstUpdate?.();
617
+ onFirstUpdate === null || onFirstUpdate === void 0 ? void 0 : onFirstUpdate();
611
618
  }, [onFirstUpdate, popperElement]);
612
619
  return {
613
620
  styles: {
@@ -619,7 +626,7 @@ function useMockedPopper(_, popperElement, _ref) {
619
626
  }
620
627
  };
621
628
  }
622
- const usePopper = typeof process !== 'undefined' && process.env?.NODE_ENV === 'test' ? useMockedPopper : reactPopper.usePopper;
629
+ const usePopper = typeof process !== 'undefined' && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === 'test' ? useMockedPopper : reactPopper.usePopper;
623
630
  function useResizeObserver(_ref2) {
624
631
  let {
625
632
  element,
@@ -716,7 +723,7 @@ const Popper = _ref4 => {
716
723
  onFirstUpdate
717
724
  });
718
725
  const handleUpdate = React.useCallback(() => {
719
- update?.();
726
+ update === null || update === void 0 ? void 0 : update();
720
727
  }, [update]);
721
728
 
722
729
  // Tell popper.js to update the positioning when the popper element changes size since it only listens for window resizing out of the box.
@@ -742,7 +749,10 @@ const Popper = _ref4 => {
742
749
  * If the parent anchor is hidden via CSS opacity, Popper will not consider it to be hidden.
743
750
  * To get around this issue, we set `data-popper-reference-hidden` to `true` for all child Popper elements if any ancestor Popper has `data-popper-reference-hidden` set to `true`.
744
751
  */
745
- const isAnchorHidden = React.useMemo(() => isParentAnchorHidden || !!attributes?.popper?.['data-popper-reference-hidden'], [isParentAnchorHidden, attributes]);
752
+ const isAnchorHidden = React.useMemo(() => {
753
+ var _attributes$popper;
754
+ return isParentAnchorHidden || !!(attributes !== null && attributes !== void 0 && (_attributes$popper = attributes.popper) !== null && _attributes$popper !== void 0 && _attributes$popper['data-popper-reference-hidden']);
755
+ }, [isParentAnchorHidden, attributes]);
746
756
  const context = React.useMemo(() => ({
747
757
  isParentAnchorHidden: isAnchorHidden
748
758
  }), [isAnchorHidden]);
@@ -772,7 +782,7 @@ const Popper = _ref4 => {
772
782
  }, /*#__PURE__*/React__default["default"].createElement(Portal, {
773
783
  portalTarget: portalTarget
774
784
  }, open ? isFocusLocked ? /*#__PURE__*/React__default["default"].createElement(ReactFocusLock__default["default"], _extends__default["default"]({}, focusLockProps, {
775
- disabled: isReady ? focusLockProps?.disabled : true // Prevents unintended page scroll when popper element is not yet positioned
785
+ disabled: isReady ? focusLockProps === null || focusLockProps === void 0 ? void 0 : focusLockProps.disabled : true // Prevents unintended page scroll when popper element is not yet positioned
776
786
  }), popperElementWithArrow) : popperElementWithArrow : null)));
777
787
  };
778
788
 
@@ -808,43 +818,17 @@ function wrapAround(value, min, max) {
808
818
  */
809
819
  function wrapEvent(theirHandler, ourHandler) {
810
820
  return event => {
811
- theirHandler?.(event);
821
+ theirHandler === null || theirHandler === void 0 ? void 0 : theirHandler(event);
812
822
  if (!event.defaultPrevented) {
813
- return ourHandler?.(event);
823
+ return ourHandler === null || ourHandler === void 0 ? void 0 : ourHandler(event);
814
824
  }
815
825
  };
816
826
  }
817
827
 
818
- const KEYBOARD_USER_CLASS = 'keyboard-user';
819
- function getIsKeyboardUser() {
820
- return canUseDOM() && document.body.classList.contains(KEYBOARD_USER_CLASS);
821
- }
822
- function setIsKeyboardUser(newIsKeyboardUser) {
823
- if (!canUseDOM()) {
824
- return;
825
- }
826
- if (newIsKeyboardUser) {
827
- document.body.classList.add(KEYBOARD_USER_CLASS);
828
- } else {
829
- document.body.classList.remove(KEYBOARD_USER_CLASS);
830
- }
831
- }
832
- function enableKeyboardUserClass() {
833
- if (canUseDOM() && !window.keyboardUserListenersAdded) {
834
- window.keyboardUserListenersAdded = true;
835
- document.addEventListener('mousedown', () => setIsKeyboardUser(false));
836
- document.addEventListener('keydown', e => {
837
- if (e.key === 'Tab') {
838
- setIsKeyboardUser(true);
839
- }
840
- });
841
- }
842
- }
843
-
844
- var css_248z$F = "._6Po9W{position:absolute;z-index:2000;max-width:240px;padding:8px 16px;color:#fff;text-align:center;text-decoration:none;background-color:#222;border-radius:4px;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);font-size:14px;opacity:0;pointer-events:none;overflow-wrap:break-word;border:1px solid #898989}._6Po9W._ds9Vg{color:#32363a;background-color:#fff}._zkF09{opacity:1;pointer-events:all}._XtrlB,._XtrlB>div{position:absolute;width:8px;height:8px;background:inherit}._XtrlB{visibility:hidden;z-index:2000}._XtrlB>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._XtrlB{bottom:-4px}[data-popper-placement^=top]>._XtrlB>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._XtrlB{left:-5px}[data-popper-placement^=right]>._XtrlB>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._XtrlB{top:-5px}[data-popper-placement^=bottom]>._XtrlB>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._XtrlB{right:-4px}[data-popper-placement^=left]>._XtrlB>div{border-bottom-color:transparent;border-left-color:transparent}._yktOj{position:absolute}[data-popper-placement^=top]>._yktOj{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._yktOj{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._yktOj{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._yktOj{top:0;right:-13px;width:17px;height:100%}";
845
- var styles$A = {"tooltip":"_6Po9W","lightTheme":"_ds9Vg","visible":"_zkF09","arrow":"_XtrlB","offsetBackplate":"_yktOj"};
846
- var stylesheet$F="._6Po9W{position:absolute;z-index:2000;max-width:240px;padding:8px 16px;color:#fff;text-align:center;text-decoration:none;background-color:#222;border-radius:4px;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);font-size:14px;opacity:0;pointer-events:none;overflow-wrap:break-word;border:1px solid #898989}._6Po9W._ds9Vg{color:#32363a;background-color:#fff}._zkF09{opacity:1;pointer-events:all}._XtrlB,._XtrlB>div{position:absolute;width:8px;height:8px;background:inherit}._XtrlB{visibility:hidden;z-index:2000}._XtrlB>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._XtrlB{bottom:-4px}[data-popper-placement^=top]>._XtrlB>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._XtrlB{left:-5px}[data-popper-placement^=right]>._XtrlB>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._XtrlB{top:-5px}[data-popper-placement^=bottom]>._XtrlB>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._XtrlB{right:-4px}[data-popper-placement^=left]>._XtrlB>div{border-bottom-color:transparent;border-left-color:transparent}._yktOj{position:absolute}[data-popper-placement^=top]>._yktOj{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._yktOj{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._yktOj{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._yktOj{top:0;right:-13px;width:17px;height:100%}";
847
- icons_index.styleInject(css_248z$F);
828
+ var css_248z$E = "._-ydim{position:absolute;z-index:2000;max-width:240px;padding:8px 16px;color:#fff;text-align:center;text-decoration:none;background-color:#222;border-radius:4px;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);font-size:14px;opacity:0;pointer-events:none;overflow-wrap:break-word;border:1px solid #898989}._-ydim._Wm8-X{color:#32363a;background-color:#fff}._yulUt{opacity:1;pointer-events:all}._8U5fJ,._8U5fJ>div{position:absolute;width:8px;height:8px;background:inherit}._8U5fJ{visibility:hidden;z-index:2000}._8U5fJ>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._8U5fJ{bottom:-4px}[data-popper-placement^=top]>._8U5fJ>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._8U5fJ{left:-5px}[data-popper-placement^=right]>._8U5fJ>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._8U5fJ{top:-5px}[data-popper-placement^=bottom]>._8U5fJ>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._8U5fJ{right:-4px}[data-popper-placement^=left]>._8U5fJ>div{border-bottom-color:transparent;border-left-color:transparent}._k-mSf{position:absolute}[data-popper-placement^=top]>._k-mSf{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._k-mSf{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._k-mSf{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._k-mSf{top:0;right:-13px;width:17px;height:100%}";
829
+ var styles$A = {"tooltip":"_-ydim","lightTheme":"_Wm8-X","visible":"_yulUt","arrow":"_8U5fJ","offsetBackplate":"_k-mSf"};
830
+ var stylesheet$E="._-ydim{position:absolute;z-index:2000;max-width:240px;padding:8px 16px;color:#fff;text-align:center;text-decoration:none;background-color:#222;border-radius:4px;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);font-size:14px;opacity:0;pointer-events:none;overflow-wrap:break-word;border:1px solid #898989}._-ydim._Wm8-X{color:#32363a;background-color:#fff}._yulUt{opacity:1;pointer-events:all}._8U5fJ,._8U5fJ>div{position:absolute;width:8px;height:8px;background:inherit}._8U5fJ{visibility:hidden;z-index:2000}._8U5fJ>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._8U5fJ{bottom:-4px}[data-popper-placement^=top]>._8U5fJ>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._8U5fJ{left:-5px}[data-popper-placement^=right]>._8U5fJ>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._8U5fJ{top:-5px}[data-popper-placement^=bottom]>._8U5fJ>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._8U5fJ{right:-4px}[data-popper-placement^=left]>._8U5fJ>div{border-bottom-color:transparent;border-left-color:transparent}._k-mSf{position:absolute}[data-popper-placement^=top]>._k-mSf{bottom:-13px;left:0;width:100%;height:17px}[data-popper-placement^=right]>._k-mSf{top:0;left:-13px;width:17px;height:100%}[data-popper-placement^=bottom]>._k-mSf{top:-13px;left:0;width:100%;height:17px}[data-popper-placement^=left]>._k-mSf{top:0;right:-13px;width:17px;height:100%}";
831
+ icons_index.styleInject(css_248z$E);
848
832
 
849
833
  const useSSRLayoutEffect = function () {
850
834
  const effectFunc = React.useMemo(() => canUseDOM() ? React.useLayoutEffect : React.useEffect, []);
@@ -891,8 +875,11 @@ function useEventListener(targetOrRef, event, handler) {
891
875
  additionalDependencies = []
892
876
  } = options;
893
877
  React.useEffect(() => {
878
+ if (!targetOrRef) {
879
+ return undefined;
880
+ }
894
881
  const target = isEventTarget(targetOrRef) ? targetOrRef : targetOrRef.current;
895
- if (target?.addEventListener && !isDisabled) {
882
+ if (target !== null && target !== void 0 && target.addEventListener && !isDisabled) {
896
883
  target.addEventListener(event, listener, isCaptureEvent);
897
884
  return () => target.removeEventListener(event, listener, isCaptureEvent);
898
885
  }
@@ -911,10 +898,11 @@ function useClickOutside(refs, onClickOutside) {
911
898
  const allRefs = React.useMemo(() => Array.isArray(refs) ? refs : [refs], [refs]);
912
899
  const handler = event => {
913
900
  const isInside = allRefs.some(ref => {
901
+ var _el$contains;
914
902
  const {
915
903
  current: el
916
904
  } = ref;
917
- return el?.contains?.(event.target);
905
+ return el === null || el === void 0 ? void 0 : (_el$contains = el.contains) === null || _el$contains === void 0 ? void 0 : _el$contains.call(el, event.target);
918
906
  });
919
907
  if (!isInside) {
920
908
  onClickOutside(event);
@@ -1018,10 +1006,11 @@ function useControllableState(initialState, onChange, externalState) {
1018
1006
  replaceState(nextState);
1019
1007
  }
1020
1008
  if (nextState !== currentState) {
1009
+ var _onChangeRef$current;
1021
1010
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
1022
1011
  args[_key - 1] = arguments[_key];
1023
1012
  }
1024
- onChangeRef.current?.(nextState, ...args);
1013
+ (_onChangeRef$current = onChangeRef.current) === null || _onChangeRef$current === void 0 ? void 0 : _onChangeRef$current.call(onChangeRef, nextState, ...args);
1025
1014
  }
1026
1015
  }, [onChangeRef, externalStateRef, internalStateRef]);
1027
1016
  const actualState = externalState === undefined ? state : externalState;
@@ -1174,7 +1163,7 @@ function getPreviousIndex(index, numItems) {
1174
1163
  * @returns If an external ID is passed in, the external ID. Otherwise, a randomly generated ID.
1175
1164
  */
1176
1165
  function useId(defaultExternalId) {
1177
- const [currentId] = React.useState(() => defaultExternalId ?? uuid.v4());
1166
+ const [currentId] = React.useState(() => defaultExternalId !== null && defaultExternalId !== void 0 ? defaultExternalId : uuid.v4());
1178
1167
  return currentId;
1179
1168
  }
1180
1169
 
@@ -1230,10 +1219,10 @@ function usePrevious(value) {
1230
1219
  return ref.current;
1231
1220
  }
1232
1221
 
1233
- var css_248z$E = "._WBZOo{position:absolute;top:-10000px;left:-10000px}";
1234
- var classes = {"ariaLiveElement":"_WBZOo"};
1235
- var stylesheet$E="._WBZOo{position:absolute;top:-10000px;left:-10000px}";
1236
- icons_index.styleInject(css_248z$E);
1222
+ var css_248z$D = "._wDasz{position:absolute;top:-10000px;left:-10000px}";
1223
+ var classes = {"ariaLiveElement":"_wDasz"};
1224
+ var stylesheet$D="._wDasz{position:absolute;top:-10000px;left:-10000px}";
1225
+ icons_index.styleInject(css_248z$D);
1237
1226
 
1238
1227
  /**
1239
1228
  * Sets up a live region in order to make screen reader announcements.
@@ -1258,16 +1247,18 @@ function useScreenReaderAnnouncement(politeness) {
1258
1247
 
1259
1248
  // Sets the politeness of `aria-live`
1260
1249
  React.useEffect(() => {
1261
- if (politeness !== undefined) ariaLiveElementRef.current?.setAttribute('aria-live', politeness);
1250
+ var _ariaLiveElementRef$c;
1251
+ if (politeness !== undefined) (_ariaLiveElementRef$c = ariaLiveElementRef.current) === null || _ariaLiveElementRef$c === void 0 ? void 0 : _ariaLiveElementRef$c.setAttribute('aria-live', politeness);
1262
1252
  }, [politeness]);
1263
1253
 
1264
1254
  // Announces oldest message in the queue
1265
1255
  React.useEffect(() => {
1266
1256
  if (!isAnnouncingMessage && messageQueue.length > 0) {
1257
+ var _ariaLiveElementRef$c2;
1267
1258
  setIsAnnouncingMessage(true);
1268
1259
  const oldestMessage = messageQueue[0];
1269
1260
  let delay;
1270
- if (ariaLiveElementRef.current?.textContent === oldestMessage) {
1261
+ if (((_ariaLiveElementRef$c2 = ariaLiveElementRef.current) === null || _ariaLiveElementRef$c2 === void 0 ? void 0 : _ariaLiveElementRef$c2.textContent) === oldestMessage) {
1271
1262
  /*
1272
1263
  * If the message to be announced is the same as the previous message, the message needs to be reset.
1273
1264
  * The screen reader won't read the change unless the text has changed.
@@ -1405,7 +1396,7 @@ function subscribe(query, callback) {
1405
1396
  });
1406
1397
  }
1407
1398
  const entry = map.get(query);
1408
- entry?.subscribers.add(callback);
1399
+ entry === null || entry === void 0 ? void 0 : entry.subscribers.add(callback);
1409
1400
  return entry ? function unsubscribe() {
1410
1401
  entry.subscribers.delete(callback);
1411
1402
  if (entry.subscribers.size === 0) {
@@ -1428,7 +1419,7 @@ function getMediaQueryValue(query) {
1428
1419
  }
1429
1420
 
1430
1421
  function getMinWidthQuery(length, unit) {
1431
- return `(min-width: ${length}${unit})`;
1422
+ return "(min-width: ".concat(length).concat(unit, ")");
1432
1423
  }
1433
1424
  function getInitialValues(breakpointsConfig, unit) {
1434
1425
  const initialValues = {};
@@ -1466,6 +1457,7 @@ function useBreakpoints() {
1466
1457
  }
1467
1458
 
1468
1459
  function useResponsiveValue(values) {
1460
+ var _values$returnKey;
1469
1461
  let breakpoints = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_BREAKPOINTS;
1470
1462
  let unit = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'em';
1471
1463
  const matches = useBreakpoints(breakpoints, unit);
@@ -1475,10 +1467,11 @@ function useResponsiveValue(values) {
1475
1467
  }
1476
1468
  return acc;
1477
1469
  }, undefined);
1478
- return values[returnKey] ?? null;
1470
+ return (_values$returnKey = values[returnKey]) !== null && _values$returnKey !== void 0 ? _values$returnKey : null;
1479
1471
  }
1480
1472
 
1481
1473
  const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
1474
+ var _children$ref;
1482
1475
  let {
1483
1476
  content,
1484
1477
  unstable_contentKey: contentKey,
@@ -1510,10 +1503,17 @@ const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
1510
1503
  const flyoutOffsetBackplateRef = React.useRef(null);
1511
1504
  const timer = React.useRef();
1512
1505
  const flyoutContainerId = useId(id);
1513
- const getIsAnchorKeyboardFocused = () => (showOnDescendantFocus ? anchorRef.current?.contains(document.activeElement) : document.activeElement === anchorRef.current) && getIsKeyboardUser();
1506
+ const {
1507
+ isFocusVisible
1508
+ } = interactions.useFocusVisible();
1509
+ const getIsAnchorKeyboardFocused = () => {
1510
+ var _anchorRef$current;
1511
+ return (showOnDescendantFocus ? (_anchorRef$current = anchorRef.current) === null || _anchorRef$current === void 0 ? void 0 : _anchorRef$current.contains(document.activeElement) : document.activeElement === anchorRef.current) && isFocusVisible;
1512
+ };
1514
1513
  const addAriaDescribedByToTrigger = triggeringTarget => {
1515
1514
  if (!ariaHidden && triggeringTarget instanceof Element) {
1516
- const describedBy = new Set(triggeringTarget.getAttribute('aria-describedby')?.split(' '));
1515
+ var _triggeringTarget$get;
1516
+ const describedBy = new Set((_triggeringTarget$get = triggeringTarget.getAttribute('aria-describedby')) === null || _triggeringTarget$get === void 0 ? void 0 : _triggeringTarget$get.split(' '));
1517
1517
  describedBy.add(flyoutContainerId);
1518
1518
  triggeringTarget.setAttribute('aria-describedby', Array.from(describedBy).join(' '));
1519
1519
  setTriggerElements(prev => new Set(prev).add(triggeringTarget));
@@ -1521,7 +1521,8 @@ const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
1521
1521
  };
1522
1522
  const removeAriaDescribedByFromAllTriggers = () => {
1523
1523
  triggerElements.forEach(triggeringTarget => {
1524
- const describedBy = new Set(triggeringTarget.getAttribute('aria-describedby')?.split(' '));
1524
+ var _triggeringTarget$get2;
1525
+ const describedBy = new Set((_triggeringTarget$get2 = triggeringTarget.getAttribute('aria-describedby')) === null || _triggeringTarget$get2 === void 0 ? void 0 : _triggeringTarget$get2.split(' '));
1525
1526
  describedBy.delete(flyoutContainerId);
1526
1527
  if (describedBy.size > 0) {
1527
1528
  triggeringTarget.setAttribute('aria-describedby', Array.from(describedBy).join(' '));
@@ -1593,7 +1594,7 @@ const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
1593
1594
  };
1594
1595
  const handleFocus = e => {
1595
1596
  // Prevents the tooltip from showing for mouse users when the tooltip's anchor element is programmatically focused
1596
- if (getIsKeyboardUser() && (showOnDescendantFocus || e.target === e.currentTarget)) {
1597
+ if (isFocusVisible && (showOnDescendantFocus || e.target === e.currentTarget)) {
1597
1598
  triggerShowTooltip(e.target);
1598
1599
  }
1599
1600
  };
@@ -1650,7 +1651,7 @@ const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
1650
1651
  open: isInDOM,
1651
1652
  placement: placement,
1652
1653
  anchor: /*#__PURE__*/React__default["default"].cloneElement(children, {
1653
- ref: mergeRefs(anchorRef, children.ref ?? null)
1654
+ ref: mergeRefs(anchorRef, (_children$ref = children.ref) !== null && _children$ref !== void 0 ? _children$ref : null)
1654
1655
  }),
1655
1656
  popper: /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
1656
1657
  id: flyoutContainerId,
@@ -1703,6 +1704,7 @@ const Tooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
1703
1704
  * Displays a tooltip containing the overflowing text if the text does not fit inside the bounds of its container.
1704
1705
  */
1705
1706
  const TextOverflowTooltip = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
1707
+ var _textParentHTMLElemen;
1706
1708
  let {
1707
1709
  lightTheme = false,
1708
1710
  delayMs = 500,
@@ -1722,7 +1724,7 @@ const TextOverflowTooltip = /*#__PURE__*/React__default["default"].forwardRef((_
1722
1724
  ]);
1723
1725
 
1724
1726
  return /*#__PURE__*/React__default["default"].createElement(Tooltip, {
1725
- content: textParentHTMLElementRef.current?.textContent,
1727
+ content: (_textParentHTMLElemen = textParentHTMLElementRef.current) === null || _textParentHTMLElemen === void 0 ? void 0 : _textParentHTMLElemen.textContent,
1726
1728
  disabled: !isTextOverflowing,
1727
1729
  lightTheme: lightTheme,
1728
1730
  delayMs: delayMs,
@@ -1758,11 +1760,6 @@ const Text = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1758
1760
  }, rest), children));
1759
1761
  });
1760
1762
 
1761
- var css_248z$D = "._AsD2A{width:100%;display:flex;flex-direction:column}._AsD2A._-fDd8{grid-gap:20px;gap:20px}._0rhON{display:flex;width:100%;border:none;outline:none;background-color:transparent;color:#32363a;font-size:14px;font-weight:700;line-height:18px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._0rhON ._E2p50{margin-top:-3px}._I2sAf{flex:1}._UVEXY{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._dHl2y ._0rhON{border-radius:4px}._dHl2y ._0rhON:hover:not(._BdKY6){background-color:rgba(50,54,58,.08)}._dHl2y ._0rhON:active:not(._BdKY6){background-color:rgba(50,54,58,.11)}._LT17f ._0rhON{font-weight:400;padding-left:12px;border-top:1px solid #eee}._LT17f ._0rhON:hover:not(._BdKY6){background-color:rgba(50,54,58,.08)}._LT17f ._0rhON:active:not(._BdKY6){background-color:rgba(50,54,58,.11)}._-fDd8 ._kPeZF{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._-fDd8 ._kPeZF._KKh9V{box-shadow:none}._-fDd8 ._kPeZF._KKh9V ._0rhON{border-radius:6px}._-fDd8 ._0rhON{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._-fDd8 ._0rhON ._I2sAf{padding-left:20px}._-fDd8 ._0rhON:hover:not(disabled){border:1px solid #c2c2c2}._-fDd8 ._0rhON:active:not(._BdKY6){border:1px solid #898989}._-fDd8 ._UVEXY{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._KKh9V ._UVEXY{display:none}._BdKY6{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}body.keyboard-user ._0rhON:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}body.keyboard-user ._0rhON:focus:before{z-index:1}body.keyboard-user ._LT17f ._0rhON:focus{border-color:transparent}";
1762
- var AccordionStyles = {"accordion":"_AsD2A","block-variant":"_-fDd8","header":"_0rhON","headerIcon":"_E2p50","title":"_I2sAf","panel":"_UVEXY","default-variant":"_dHl2y","disabled":"_BdKY6","outlined-variant":"_LT17f","section":"_kPeZF","closed":"_KKh9V"};
1763
- var stylesheet$D="._AsD2A{width:100%;display:flex;flex-direction:column}._AsD2A._-fDd8{grid-gap:20px;gap:20px}._0rhON{display:flex;width:100%;border:none;outline:none;background-color:transparent;color:#32363a;font-size:14px;font-weight:700;line-height:18px;text-align:left;padding:10px 16px 10px 0;cursor:pointer}._0rhON ._E2p50{margin-top:-3px}._I2sAf{flex:1}._UVEXY{padding:8px 16px 16px 24px;font-size:14px;line-height:20px}._dHl2y ._0rhON{border-radius:4px}._dHl2y ._0rhON:hover:not(._BdKY6){background-color:rgba(50,54,58,.08)}._dHl2y ._0rhON:active:not(._BdKY6){background-color:rgba(50,54,58,.11)}._LT17f ._0rhON{font-weight:400;padding-left:12px;border-top:1px solid #eee}._LT17f ._0rhON:hover:not(._BdKY6){background-color:rgba(50,54,58,.08)}._LT17f ._0rhON:active:not(._BdKY6){background-color:rgba(50,54,58,.11)}._-fDd8 ._kPeZF{border-radius:6px;box-shadow:0 3px 4px rgba(0,0,0,.05),0 6px 10px rgba(0,0,0,.05)}._-fDd8 ._kPeZF._KKh9V{box-shadow:none}._-fDd8 ._kPeZF._KKh9V ._0rhON{border-radius:6px}._-fDd8 ._0rhON{border:1px solid #e5e5e5;border-radius:6px 6px 0 0;font-weight:400;padding:22px 20px}._-fDd8 ._0rhON ._I2sAf{padding-left:20px}._-fDd8 ._0rhON:hover:not(disabled){border:1px solid #c2c2c2}._-fDd8 ._0rhON:active:not(._BdKY6){border:1px solid #898989}._-fDd8 ._UVEXY{padding:24px 20px;color:#6a6d70;border:1px solid #e5e5e5;border-top:none;border-radius:0 0 6px 6px}._KKh9V ._UVEXY{display:none}._BdKY6{fill:rgba(81,85,89,.6);background-color:hsla(0,0%,100%,.6);color:rgba(50,54,58,.6);cursor:default}body.keyboard-user ._0rhON:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;position:relative}body.keyboard-user ._0rhON:focus:before{z-index:1}body.keyboard-user ._LT17f ._0rhON:focus{border-color:transparent}";
1764
- icons_index.styleInject(css_248z$D);
1765
-
1766
1763
  const {
1767
1764
  Provider: AccordionContextProvider,
1768
1765
  useContext: useAccordionContext
@@ -1842,7 +1839,7 @@ const Accordion = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1842
1839
  return /*#__PURE__*/React__default["default"].createElement("div", {
1843
1840
  ref: ref,
1844
1841
  className: classNames__default["default"](AccordionStyles.accordion, {
1845
- [AccordionStyles[`${variant}-variant`]]: variant
1842
+ [AccordionStyles["".concat(variant, "-variant")]]: variant
1846
1843
  }),
1847
1844
  "data-testid": dataTestId
1848
1845
  }, /*#__PURE__*/React__default["default"].createElement(AccordionContextProvider, {
@@ -1921,17 +1918,17 @@ const AccordionHeader = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1921
1918
  }, [registerNode, deregisterNode]);
1922
1919
  return /*#__PURE__*/React__default["default"].createElement("div", {
1923
1920
  role: headingLevel ? 'heading' : undefined,
1924
- "aria-level": headingLevel ?? undefined,
1921
+ "aria-level": headingLevel !== null && headingLevel !== void 0 ? headingLevel : undefined,
1925
1922
  ref: ref
1926
1923
  }, /*#__PURE__*/React__default["default"].createElement("button", {
1927
1924
  className: classes,
1928
1925
  ref: headerRef,
1929
- id: `accordion-header-${sectionId}`,
1926
+ id: "accordion-header-".concat(sectionId),
1930
1927
  onClick: handleClick,
1931
1928
  onKeyDown: handleKeyDown,
1932
1929
  "aria-expanded": isOpen,
1933
- "aria-controls": `accordion-panel-${sectionId}`,
1934
- "data-testid": getSubDataTestId(dataTestId, `section-${position}-header`),
1930
+ "aria-controls": "accordion-panel-".concat(sectionId),
1931
+ "data-testid": getSubDataTestId(dataTestId, "section-".concat(position, "-header")),
1935
1932
  type: "button"
1936
1933
  }, isOpen ? /*#__PURE__*/React__default["default"].createElement(icons_index.CaretDownIcon, {
1937
1934
  "aria-hidden": true,
@@ -1959,10 +1956,10 @@ const AccordionPanel = /*#__PURE__*/React.forwardRef((_ref, ref) => {
1959
1956
  return /*#__PURE__*/React__default["default"].createElement("div", {
1960
1957
  className: classNames__default["default"](className, AccordionStyles.panel),
1961
1958
  ref: ref,
1962
- id: `accordion-panel-${sectionId}`,
1959
+ id: "accordion-panel-".concat(sectionId),
1963
1960
  role: "region",
1964
- "aria-labelledby": `accordion-header-${sectionId}`,
1965
- "data-testid": getSubDataTestId(dataTestId, `section-${position}-panel`)
1961
+ "aria-labelledby": "accordion-header-".concat(sectionId),
1962
+ "data-testid": getSubDataTestId(dataTestId, "section-".concat(position, "-panel"))
1966
1963
  }, children);
1967
1964
  });
1968
1965
 
@@ -2011,9 +2008,9 @@ function BreakpointSwitch(_ref) {
2011
2008
  }, useResponsiveValue(childList));
2012
2009
  }
2013
2010
 
2014
- var css_248z$C = "._-A5U9{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._-A5U9._wZe9c{padding:0 8px;height:26px;min-height:26px}._-A5U9._ATEHV{display:block;width:100%}._-A5U9._i8SG8{cursor:not-allowed}._-A5U9:active:focus,._-A5U9:focus{outline:none}._-A5U9._v9JQp{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._-A5U9._v9JQp:hover:not(._i8SG8){background-color:#eee}._-A5U9._v9JQp:active:not(._i8SG8){background-color:#e5e5e5}._-A5U9._v9JQp._i8SG8{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._-A5U9._Qu1MR{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._-A5U9._Qu1MR:hover:not(._i8SG8){background-color:#085caf;border-color:#085caf}._-A5U9._Qu1MR:active:not(._i8SG8){background-color:#0854a1;border-color:#0854a1}._-A5U9._Qu1MR._i8SG8{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._-A5U9._XQ2Bc{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._-A5U9._XQ2Bc:hover:not(._i8SG8){background-color:#eef5fc}._-A5U9._XQ2Bc:active:not(._i8SG8){background-color:#e1edf9}._-A5U9._XQ2Bc._i8SG8{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._-A5U9._CSlG2{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._-A5U9._CSlG2:hover:not(._i8SG8){background-color:#eef5fc;border-color:#eef5fc}._-A5U9._CSlG2:active:not(._i8SG8){background-color:#e1edf9;border-color:#e1edf9}._-A5U9._CSlG2._i8SG8{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._-A5U9._npmY4{color:#0b6ed0;fill:#0b6ed0;padding:0}._-A5U9._npmY4:hover:not(._i8SG8){color:#085caf}._-A5U9._npmY4:active:not(._i8SG8){color:#0854a1}._-A5U9._npmY4._i8SG8{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._-A5U9._gxiel{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._-A5U9._gxiel:hover:not(._i8SG8){background-color:#ffecec}._-A5U9._gxiel:active:not(._i8SG8){background-color:#ffdbdb}._-A5U9._gxiel._i8SG8{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._H-LG4,body.keyboard-user ._-A5U9:active:focus,body.keyboard-user ._-A5U9:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
2015
- var buttonStyles = {"btn":"_-A5U9","small":"_wZe9c","full":"_ATEHV","disabled":"_i8SG8","default":"_v9JQp","primary":"_Qu1MR","secondary":"_XQ2Bc","tertiary":"_CSlG2","link":"_npmY4","danger":"_gxiel","keyboardFocused":"_H-LG4"};
2016
- var stylesheet$C="._-A5U9{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._-A5U9._wZe9c{padding:0 8px;height:26px;min-height:26px}._-A5U9._ATEHV{display:block;width:100%}._-A5U9._i8SG8{cursor:not-allowed}._-A5U9:active:focus,._-A5U9:focus{outline:none}._-A5U9._v9JQp{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._-A5U9._v9JQp:hover:not(._i8SG8){background-color:#eee}._-A5U9._v9JQp:active:not(._i8SG8){background-color:#e5e5e5}._-A5U9._v9JQp._i8SG8{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._-A5U9._Qu1MR{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._-A5U9._Qu1MR:hover:not(._i8SG8){background-color:#085caf;border-color:#085caf}._-A5U9._Qu1MR:active:not(._i8SG8){background-color:#0854a1;border-color:#0854a1}._-A5U9._Qu1MR._i8SG8{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._-A5U9._XQ2Bc{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._-A5U9._XQ2Bc:hover:not(._i8SG8){background-color:#eef5fc}._-A5U9._XQ2Bc:active:not(._i8SG8){background-color:#e1edf9}._-A5U9._XQ2Bc._i8SG8{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._-A5U9._CSlG2{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._-A5U9._CSlG2:hover:not(._i8SG8){background-color:#eef5fc;border-color:#eef5fc}._-A5U9._CSlG2:active:not(._i8SG8){background-color:#e1edf9;border-color:#e1edf9}._-A5U9._CSlG2._i8SG8{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._-A5U9._npmY4{color:#0b6ed0;fill:#0b6ed0;padding:0}._-A5U9._npmY4:hover:not(._i8SG8){color:#085caf}._-A5U9._npmY4:active:not(._i8SG8){color:#0854a1}._-A5U9._npmY4._i8SG8{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._-A5U9._gxiel{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._-A5U9._gxiel:hover:not(._i8SG8){background-color:#ffecec}._-A5U9._gxiel:active:not(._i8SG8){background-color:#ffdbdb}._-A5U9._gxiel._i8SG8{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._H-LG4,body.keyboard-user ._-A5U9:active:focus,body.keyboard-user ._-A5U9:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
2011
+ var css_248z$C = "._LIzJt{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._LIzJt._Dj1-K{padding:0 8px;height:26px;min-height:26px}._LIzJt._TUkxv{display:block;width:100%}._LIzJt._ZZGgm{cursor:not-allowed}._LIzJt:active:focus,._LIzJt:focus{outline:none}._LIzJt._eCG9H{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._LIzJt._eCG9H:hover:not(._ZZGgm){background-color:#eee}._LIzJt._eCG9H:active:not(._ZZGgm){background-color:#e5e5e5}._LIzJt._eCG9H._ZZGgm{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._LIzJt._fvW0s{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._LIzJt._fvW0s:hover:not(._ZZGgm){background-color:#085caf;border-color:#085caf}._LIzJt._fvW0s:active:not(._ZZGgm){background-color:#0854a1;border-color:#0854a1}._LIzJt._fvW0s._ZZGgm{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._LIzJt._nM422{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._LIzJt._nM422:hover:not(._ZZGgm){background-color:#eef5fc}._LIzJt._nM422:active:not(._ZZGgm){background-color:#e1edf9}._LIzJt._nM422._ZZGgm{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._LIzJt._3Tl-J{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._LIzJt._3Tl-J:hover:not(._ZZGgm){background-color:#eef5fc;border-color:#eef5fc}._LIzJt._3Tl-J:active:not(._ZZGgm){background-color:#e1edf9;border-color:#e1edf9}._LIzJt._3Tl-J._ZZGgm{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._LIzJt._WWAcG{color:#0b6ed0;fill:#0b6ed0;padding:0}._LIzJt._WWAcG:hover:not(._ZZGgm){color:#085caf}._LIzJt._WWAcG:active:not(._ZZGgm){color:#0854a1}._LIzJt._WWAcG._ZZGgm{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._LIzJt._DwcyT{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._LIzJt._DwcyT:hover:not(._ZZGgm){background-color:#ffecec}._LIzJt._DwcyT:active:not(._ZZGgm){background-color:#ffdbdb}._LIzJt._DwcyT._ZZGgm{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._LIzJt.focus-visible,._LIzJt:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
2012
+ var buttonStyles = {"btn":"_LIzJt","small":"_Dj1-K","full":"_TUkxv","disabled":"_ZZGgm","default":"_eCG9H","primary":"_fvW0s","secondary":"_nM422","tertiary":"_3Tl-J","link":"_WWAcG","danger":"_DwcyT"};
2013
+ var stylesheet$C="._LIzJt{padding:0 16px;font-size:14px;line-height:14px;color:#fff;fill:#fff;background-color:#fff;border:1px solid #fff;border-radius:4px;height:36px;min-height:36px;cursor:pointer;position:relative;display:inline-flex;justify-content:center;align-items:center;text-decoration:none;overflow:hidden;transition:border .2s,background .2s,color .2s}._LIzJt._Dj1-K{padding:0 8px;height:26px;min-height:26px}._LIzJt._TUkxv{display:block;width:100%}._LIzJt._ZZGgm{cursor:not-allowed}._LIzJt:active:focus,._LIzJt:focus{outline:none}._LIzJt._eCG9H{background-color:#fff;border-color:#515559;color:#515559;fill:#515559}._LIzJt._eCG9H:hover:not(._ZZGgm){background-color:#eee}._LIzJt._eCG9H:active:not(._ZZGgm){background-color:#e5e5e5}._LIzJt._eCG9H._ZZGgm{color:rgba(81,85,89,.4);fill:rgba(81,85,89,.4);background-color:hsla(0,0%,100%,.4);border:1px solid rgba(81,85,89,.4)}._LIzJt._fvW0s{background-color:#0b6ed0;border-color:#0b6ed0;color:#fff;fill:#fff}._LIzJt._fvW0s:hover:not(._ZZGgm){background-color:#085caf;border-color:#085caf}._LIzJt._fvW0s:active:not(._ZZGgm){background-color:#0854a1;border-color:#0854a1}._LIzJt._fvW0s._ZZGgm{background-color:rgba(11,110,208,.4);border-color:transparent;fill:hsla(0,0%,100%,.4)}._LIzJt._nM422{background-color:#fff;border-color:#0b6ed0;color:#0b6ed0;fill:#0b6ed0}._LIzJt._nM422:hover:not(._ZZGgm){background-color:#eef5fc}._LIzJt._nM422:active:not(._ZZGgm){background-color:#e1edf9}._LIzJt._nM422._ZZGgm{background-color:hsla(0,0%,100%,.4);border-color:rgba(11,110,208,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._LIzJt._3Tl-J{background-color:#fff;border-color:#fff;color:#0b6ed0;fill:#0b6ed0}._LIzJt._3Tl-J:hover:not(._ZZGgm){background-color:#eef5fc;border-color:#eef5fc}._LIzJt._3Tl-J:active:not(._ZZGgm){background-color:#e1edf9;border-color:#e1edf9}._LIzJt._3Tl-J._ZZGgm{background-color:hsla(0,0%,100%,.4);border-color:hsla(0,0%,100%,.4);color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._LIzJt._WWAcG{color:#0b6ed0;fill:#0b6ed0;padding:0}._LIzJt._WWAcG:hover:not(._ZZGgm){color:#085caf}._LIzJt._WWAcG:active:not(._ZZGgm){color:#0854a1}._LIzJt._WWAcG._ZZGgm{color:rgba(11,110,208,.4);fill:rgba(11,110,208,.4)}._LIzJt._DwcyT{background-color:#fff;border-color:#b00;color:#b00;fill:#b00}._LIzJt._DwcyT:hover:not(._ZZGgm){background-color:#ffecec}._LIzJt._DwcyT:active:not(._ZZGgm){background-color:#ffdbdb}._LIzJt._DwcyT._ZZGgm{background-color:hsla(0,0%,100%,.4);border-color:rgba(187,0,0,.4);color:rgba(187,0,0,.4);fill:rgba(187,0,0,.4)}._LIzJt.focus-visible,._LIzJt:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
2017
2014
  icons_index.styleInject(css_248z$C);
2018
2015
 
2019
2016
  function createContextValue(value) {
@@ -2070,14 +2067,14 @@ const Button = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
2070
2067
  // stops form submission for type="submit"
2071
2068
  return e.preventDefault();
2072
2069
  }
2073
- onClick?.(e);
2070
+ onClick === null || onClick === void 0 ? void 0 : onClick(e);
2074
2071
  };
2075
2072
  const keyDownHandler = disabled ? undefined : onKeyDown;
2076
2073
  return (
2077
2074
  /*#__PURE__*/
2078
2075
  /* eslint-disable react/button-has-type */
2079
2076
  React__default["default"].createElement("button", _extends__default["default"]({}, rest, {
2080
- "aria-disabled": ariaDisabled ?? disabled,
2077
+ "aria-disabled": ariaDisabled !== null && ariaDisabled !== void 0 ? ariaDisabled : disabled,
2081
2078
  type: type,
2082
2079
  className: classes,
2083
2080
  ref: ref,
@@ -2088,9 +2085,9 @@ const Button = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
2088
2085
  );
2089
2086
  });
2090
2087
 
2091
- var css_248z$B = "._3kZJn{display:inline-flex;align-items:stretch}._3kZJn._rMvI2{width:100%}._3kZJn ._CgqCj{margin:0;min-width:0}._3kZJn ._CgqCj:focus{z-index:20}._3kZJn ._CgqCj:hover{z-index:10}._3kZJn ._CgqCj._bI3Hx{border:none}._3kZJn ._CgqCj._rMvI2{display:inline-flex;width:auto;flex-grow:1}._3kZJn ._CgqCj:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._3kZJn ._CgqCj:first-child._bI3Hx{border-right:1px solid #fff}._3kZJn ._CgqCj:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._3kZJn ._CgqCj:not(:last-child):not(:first-child)._bI3Hx{border-left:1px solid #fff;border-right:1px solid #fff}._3kZJn ._CgqCj:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._3kZJn ._CgqCj:last-child._bI3Hx{border-left:1px solid #fff}._3kZJn ._CgqCj:only-child{margin:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px}";
2092
- var styles$z = {"buttonGroup":"_3kZJn","full":"_rMvI2","buttonGroupElement":"_CgqCj","primary":"_bI3Hx"};
2093
- var stylesheet$B="._3kZJn{display:inline-flex;align-items:stretch}._3kZJn._rMvI2{width:100%}._3kZJn ._CgqCj{margin:0;min-width:0}._3kZJn ._CgqCj:focus{z-index:20}._3kZJn ._CgqCj:hover{z-index:10}._3kZJn ._CgqCj._bI3Hx{border:none}._3kZJn ._CgqCj._rMvI2{display:inline-flex;width:auto;flex-grow:1}._3kZJn ._CgqCj:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._3kZJn ._CgqCj:first-child._bI3Hx{border-right:1px solid #fff}._3kZJn ._CgqCj:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._3kZJn ._CgqCj:not(:last-child):not(:first-child)._bI3Hx{border-left:1px solid #fff;border-right:1px solid #fff}._3kZJn ._CgqCj:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._3kZJn ._CgqCj:last-child._bI3Hx{border-left:1px solid #fff}._3kZJn ._CgqCj:only-child{margin:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px}";
2088
+ var css_248z$B = "._0FTpb{display:inline-flex;align-items:stretch}._0FTpb._yIQKw{width:100%}._0FTpb ._W8O-m{margin:0;min-width:0}._0FTpb ._W8O-m:focus{z-index:20}._0FTpb ._W8O-m:hover{z-index:10}._0FTpb ._W8O-m._7QE03{border:none}._0FTpb ._W8O-m._yIQKw{display:inline-flex;width:auto;flex-grow:1}._0FTpb ._W8O-m:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._0FTpb ._W8O-m:first-child._7QE03{border-right:1px solid #fff}._0FTpb ._W8O-m:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._0FTpb ._W8O-m:not(:last-child):not(:first-child)._7QE03{border-left:1px solid #fff;border-right:1px solid #fff}._0FTpb ._W8O-m:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._0FTpb ._W8O-m:last-child._7QE03{border-left:1px solid #fff}._0FTpb ._W8O-m:only-child{margin:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px}";
2089
+ var styles$z = {"buttonGroup":"_0FTpb","full":"_yIQKw","buttonGroupElement":"_W8O-m","primary":"_7QE03"};
2090
+ var stylesheet$B="._0FTpb{display:inline-flex;align-items:stretch}._0FTpb._yIQKw{width:100%}._0FTpb ._W8O-m{margin:0;min-width:0}._0FTpb ._W8O-m:focus{z-index:20}._0FTpb ._W8O-m:hover{z-index:10}._0FTpb ._W8O-m._7QE03{border:none}._0FTpb ._W8O-m._yIQKw{display:inline-flex;width:auto;flex-grow:1}._0FTpb ._W8O-m:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._0FTpb ._W8O-m:first-child._7QE03{border-right:1px solid #fff}._0FTpb ._W8O-m:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._0FTpb ._W8O-m:not(:last-child):not(:first-child)._7QE03{border-left:1px solid #fff;border-right:1px solid #fff}._0FTpb ._W8O-m:last-child{margin:0;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._0FTpb ._W8O-m:last-child._7QE03{border-left:1px solid #fff}._0FTpb ._W8O-m:only-child{margin:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px}";
2094
2091
  icons_index.styleInject(css_248z$B);
2095
2092
 
2096
2093
  const ButtonGroup = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
@@ -2111,7 +2108,7 @@ const ButtonGroup = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
2111
2108
  }), React__default["default"].Children.map(children, child => {
2112
2109
  if (! /*#__PURE__*/React__default["default"].isValidElement(child)) {
2113
2110
  // eslint-disable-next-line no-console
2114
- console.warn(`Warning: "${child}" is invalid child of ButtonGroup!`);
2111
+ console.warn("Warning: \"".concat(child, "\" is invalid child of ButtonGroup!"));
2115
2112
  return null;
2116
2113
  }
2117
2114
  const buttonElementClasses = classNames__default["default"](child.props.className, styles$z.buttonGroupElement, {
@@ -2127,9 +2124,9 @@ const ButtonGroup = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
2127
2124
  }));
2128
2125
  });
2129
2126
 
2130
- var css_248z$A = "._EGGnr{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._EGGnr,._TD0lo{cursor:pointer;height:16px;width:16px}._TD0lo{position:absolute;opacity:0;z-index:10}._TD0lo:checked~._Q7wsB>._gSufH{fill-opacity:1}._TD0lo:checked:enabled~._Q7wsB{border-color:transparent;background-color:#0b6ed0}._TD0lo:checked:enabled~._Q7wsB>._gSufH{fill:#fff}._TD0lo:checked:enabled:hover~._Q7wsB{background-color:#085caf}._TD0lo:not(:checked):enabled:hover~._Q7wsB{border-color:#0b6ed0}._TD0lo:disabled{cursor:not-allowed}._TD0lo:disabled~._Q7wsB{opacity:.4}._xSk9e{color:#32363a;display:flex;align-items:center;cursor:pointer}._oe1MM{cursor:auto;color:hsla(0,0%,53.7%,.4)}._yZVgb{margin-right:12px;flex-shrink:0}._Q7wsB{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._gSufH{fill:#0b6ed0;fill-opacity:0}body.keyboard-user ._TD0lo:active:focus~._Q7wsB,body.keyboard-user ._TD0lo:focus~._Q7wsB{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
2131
- var styles$y = {"checkbox":"_EGGnr","input":"_TD0lo","check":"_Q7wsB","checkIcon":"_gSufH","label":"_xSk9e","labelDisabled":"_oe1MM","wrappedInput":"_yZVgb"};
2132
- var stylesheet$A="._EGGnr{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._EGGnr,._TD0lo{cursor:pointer;height:16px;width:16px}._TD0lo{position:absolute;opacity:0;z-index:10}._TD0lo:checked~._Q7wsB>._gSufH{fill-opacity:1}._TD0lo:checked:enabled~._Q7wsB{border-color:transparent;background-color:#0b6ed0}._TD0lo:checked:enabled~._Q7wsB>._gSufH{fill:#fff}._TD0lo:checked:enabled:hover~._Q7wsB{background-color:#085caf}._TD0lo:not(:checked):enabled:hover~._Q7wsB{border-color:#0b6ed0}._TD0lo:disabled{cursor:not-allowed}._TD0lo:disabled~._Q7wsB{opacity:.4}._xSk9e{color:#32363a;display:flex;align-items:center;cursor:pointer}._oe1MM{cursor:auto;color:hsla(0,0%,53.7%,.4)}._yZVgb{margin-right:12px;flex-shrink:0}._Q7wsB{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._gSufH{fill:#0b6ed0;fill-opacity:0}body.keyboard-user ._TD0lo:active:focus~._Q7wsB,body.keyboard-user ._TD0lo:focus~._Q7wsB{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
2127
+ var css_248z$A = "._-mtX9{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._-mtX9,._pgnyN{cursor:pointer;height:16px;width:16px}._pgnyN{position:absolute;opacity:0;z-index:10}._pgnyN:checked~._Kfe-T>._vgVqc{fill-opacity:1}._pgnyN:checked:enabled~._Kfe-T{border-color:transparent;background-color:#0b6ed0}._pgnyN:checked:enabled~._Kfe-T>._vgVqc{fill:#fff}._pgnyN:checked:enabled:hover~._Kfe-T{background-color:#085caf}._pgnyN:not(:checked):enabled:hover~._Kfe-T{border-color:#0b6ed0}._pgnyN:disabled{cursor:not-allowed}._pgnyN:disabled~._Kfe-T{opacity:.4}._uxlBq{color:#32363a;display:flex;align-items:center;cursor:pointer}._UeTWT{cursor:auto;color:hsla(0,0%,53.7%,.4)}._qgYd3{margin-right:12px;flex-shrink:0}._Kfe-T{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._vgVqc{fill:#0b6ed0;fill-opacity:0}._pgnyN.focus-visible~._Kfe-T,._pgnyN:focus-visible~._Kfe-T{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
2128
+ var styles$y = {"checkbox":"_-mtX9","input":"_pgnyN","check":"_Kfe-T","checkIcon":"_vgVqc","label":"_uxlBq","labelDisabled":"_UeTWT","wrappedInput":"_qgYd3"};
2129
+ var stylesheet$A="._-mtX9{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._-mtX9,._pgnyN{cursor:pointer;height:16px;width:16px}._pgnyN{position:absolute;opacity:0;z-index:10}._pgnyN:checked~._Kfe-T>._vgVqc{fill-opacity:1}._pgnyN:checked:enabled~._Kfe-T{border-color:transparent;background-color:#0b6ed0}._pgnyN:checked:enabled~._Kfe-T>._vgVqc{fill:#fff}._pgnyN:checked:enabled:hover~._Kfe-T{background-color:#085caf}._pgnyN:not(:checked):enabled:hover~._Kfe-T{border-color:#0b6ed0}._pgnyN:disabled{cursor:not-allowed}._pgnyN:disabled~._Kfe-T{opacity:.4}._uxlBq{color:#32363a;display:flex;align-items:center;cursor:pointer}._UeTWT{cursor:auto;color:hsla(0,0%,53.7%,.4)}._qgYd3{margin-right:12px;flex-shrink:0}._Kfe-T{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._vgVqc{fill:#0b6ed0;fill-opacity:0}._pgnyN.focus-visible~._Kfe-T,._pgnyN:focus-visible~._Kfe-T{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
2133
2130
  icons_index.styleInject(css_248z$A);
2134
2131
 
2135
2132
  const Check = props => /*#__PURE__*/React__default["default"].createElement("svg", _extends__default["default"]({}, props, {
@@ -2156,7 +2153,7 @@ const useFormFieldControl = () => {
2156
2153
  setHasControl
2157
2154
  } = context;
2158
2155
  React.useEffect(() => {
2159
- setHasControl?.(true);
2156
+ setHasControl === null || setHasControl === void 0 ? void 0 : setHasControl(true);
2160
2157
  }, [setHasControl]);
2161
2158
  return context;
2162
2159
  };
@@ -2166,7 +2163,7 @@ const useFormFieldLabel = () => {
2166
2163
  setHasLabel
2167
2164
  } = context;
2168
2165
  React.useEffect(() => {
2169
- setHasLabel?.(true);
2166
+ setHasLabel === null || setHasLabel === void 0 ? void 0 : setHasLabel(true);
2170
2167
  }, [setHasLabel]);
2171
2168
  return context;
2172
2169
  };
@@ -2176,7 +2173,7 @@ const useFormFieldType = type => {
2176
2173
  setFormFieldType
2177
2174
  } = context;
2178
2175
  React.useEffect(() => {
2179
- setFormFieldType?.(type);
2176
+ setFormFieldType === null || setFormFieldType === void 0 ? void 0 : setFormFieldType(type);
2180
2177
  }, [setFormFieldType, type]);
2181
2178
  return context;
2182
2179
  };
@@ -2201,22 +2198,22 @@ const Checkbox = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
2201
2198
  helperTextId: formFieldHelperTextId,
2202
2199
  errorTextId: formFieldErrorTextId
2203
2200
  } = useFormFieldContext();
2204
- const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps?.['aria-describedby']);
2201
+ const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-describedby']);
2205
2202
  return /*#__PURE__*/React__default["default"].createElement("span", _extends__default["default"]({}, rest, {
2206
2203
  ref: ref,
2207
2204
  className: classNames__default["default"](className, styles$y.checkbox)
2208
2205
  }), /*#__PURE__*/React__default["default"].createElement("input", _extends__default["default"]({}, inputProps, {
2209
- name: name ?? inputProps?.name,
2210
- className: classNames__default["default"](styles$y.input, inputProps?.className),
2206
+ name: name !== null && name !== void 0 ? name : inputProps === null || inputProps === void 0 ? void 0 : inputProps.name,
2207
+ className: classNames__default["default"](styles$y.input, inputProps === null || inputProps === void 0 ? void 0 : inputProps.className),
2211
2208
  type: "checkbox",
2212
- id: id ?? inputProps?.id,
2213
- checked: checked ?? inputProps?.checked,
2214
- defaultChecked: defaultChecked ?? inputProps?.defaultChecked,
2215
- disabled: disabled ?? inputProps?.disabled,
2216
- onChange: disabled ? undefined : onChange ?? inputProps?.onChange,
2217
- value: value ?? inputProps?.value,
2218
- "aria-label": externalAriaLabel ?? inputProps?.['aria-label'],
2219
- "aria-labelledby": externalAriaLabelledBy ?? inputProps?.['aria-labelledby'],
2209
+ id: id !== null && id !== void 0 ? id : inputProps === null || inputProps === void 0 ? void 0 : inputProps.id,
2210
+ checked: checked !== null && checked !== void 0 ? checked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.checked,
2211
+ defaultChecked: defaultChecked !== null && defaultChecked !== void 0 ? defaultChecked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.defaultChecked,
2212
+ disabled: disabled !== null && disabled !== void 0 ? disabled : inputProps === null || inputProps === void 0 ? void 0 : inputProps.disabled,
2213
+ onChange: disabled ? undefined : onChange !== null && onChange !== void 0 ? onChange : inputProps === null || inputProps === void 0 ? void 0 : inputProps.onChange,
2214
+ value: value !== null && value !== void 0 ? value : inputProps === null || inputProps === void 0 ? void 0 : inputProps.value,
2215
+ "aria-label": externalAriaLabel !== null && externalAriaLabel !== void 0 ? externalAriaLabel : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-label'],
2216
+ "aria-labelledby": externalAriaLabelledBy !== null && externalAriaLabelledBy !== void 0 ? externalAriaLabelledBy : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-labelledby'],
2220
2217
  "aria-describedby": internalAriaDescribedby
2221
2218
  })), /*#__PURE__*/React__default["default"].createElement("span", {
2222
2219
  className: styles$y.check
@@ -2225,9 +2222,9 @@ const Checkbox = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
2225
2222
  })));
2226
2223
  });
2227
2224
 
2228
- var css_248z$z = "._bT-c5{font-size:14px}._eekJX{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._fsGBJ{color:#0b6ed0}";
2229
- var styles$x = {"label":"_bT-c5","control":"_eekJX","focused":"_fsGBJ"};
2230
- var stylesheet$z="._bT-c5{font-size:14px}._eekJX{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._fsGBJ{color:#0b6ed0}";
2225
+ var css_248z$z = "._U0wcH{font-size:14px}._4Jz82{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._CWmh5{color:#0b6ed0}";
2226
+ var styles$x = {"label":"_U0wcH","control":"_4Jz82","focused":"_CWmh5"};
2227
+ var stylesheet$z="._U0wcH{font-size:14px}._4Jz82{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._CWmh5{color:#0b6ed0}";
2231
2228
  icons_index.styleInject(css_248z$z);
2232
2229
 
2233
2230
  const Label = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
@@ -2283,9 +2280,9 @@ const CheckboxField = /*#__PURE__*/React__default["default"].forwardRef((_ref, r
2283
2280
  }), label);
2284
2281
  });
2285
2282
 
2286
- var css_248z$y = "._trp34{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._trp34::-moz-placeholder{color:#515559;opacity:1}._trp34::placeholder{color:#515559;opacity:1}._trp34:hover{cursor:pointer;background-color:#f5f5f5}._trp34:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._trp34._RO-pp{border-color:#b00}._trp34._RO-pp:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._trp34:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._trp34:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._trp34:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._trp34._-vD1O{height:auto}._trp34._-vD1O::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._trp34._rAsA8{display:block;width:100%}._trp34._fEj7t{padding:4px 8px}input._trp34._fEj7t{height:26px;min-height:26px}[type=number]._trp34{-moz-appearance:textfield}[type=number]._trp34::-webkit-inner-spin-button,[type=number]._trp34::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._h6BZH{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._h6BZH:hover{cursor:pointer}._h6BZH._RAqla{color:#0b6ed0}._KiMj8{margin-top:4px}";
2287
- var styles$w = {"input":"_trp34","invalid":"_RO-pp","multiline":"_-vD1O","full":"_rAsA8","small":"_fEj7t","label":"_h6BZH","focused":"_RAqla","wrappedInput":"_KiMj8"};
2288
- var stylesheet$y="._trp34{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._trp34::-moz-placeholder{color:#515559;opacity:1}._trp34::placeholder{color:#515559;opacity:1}._trp34:hover{cursor:pointer;background-color:#f5f5f5}._trp34:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._trp34._RO-pp{border-color:#b00}._trp34._RO-pp:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._trp34:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._trp34:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._trp34:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._trp34._-vD1O{height:auto}._trp34._-vD1O::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._trp34._rAsA8{display:block;width:100%}._trp34._fEj7t{padding:4px 8px}input._trp34._fEj7t{height:26px;min-height:26px}[type=number]._trp34{-moz-appearance:textfield}[type=number]._trp34::-webkit-inner-spin-button,[type=number]._trp34::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._h6BZH{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._h6BZH:hover{cursor:pointer}._h6BZH._RAqla{color:#0b6ed0}._KiMj8{margin-top:4px}";
2283
+ var css_248z$y = "._Km-3j{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._Km-3j::-moz-placeholder{color:#515559;opacity:1}._Km-3j::placeholder{color:#515559;opacity:1}._Km-3j:hover{cursor:pointer;background-color:#f5f5f5}._Km-3j:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._Km-3j._VNKpR{border-color:#b00}._Km-3j._VNKpR:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._Km-3j:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._Km-3j:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._Km-3j:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._Km-3j._ohFfr{height:auto}._Km-3j._ohFfr::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._Km-3j._7YgGR{display:block;width:100%}._Km-3j._uRxtT{padding:4px 8px}input._Km-3j._uRxtT{height:26px;min-height:26px}[type=number]._Km-3j{-moz-appearance:textfield}[type=number]._Km-3j::-webkit-inner-spin-button,[type=number]._Km-3j::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._sOJjs{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._sOJjs:hover{cursor:pointer}._sOJjs._ty-4V{color:#0b6ed0}._OSjBP{margin-top:4px}";
2284
+ var styles$w = {"input":"_Km-3j","invalid":"_VNKpR","multiline":"_ohFfr","full":"_7YgGR","small":"_uRxtT","label":"_sOJjs","focused":"_ty-4V","wrappedInput":"_OSjBP"};
2285
+ var stylesheet$y="._Km-3j{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#32363a;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._Km-3j::-moz-placeholder{color:#515559;opacity:1}._Km-3j::placeholder{color:#515559;opacity:1}._Km-3j:hover{cursor:pointer;background-color:#f5f5f5}._Km-3j:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa;cursor:text;outline:none;border-color:transparent}._Km-3j._VNKpR{border-color:#b00}._Km-3j._VNKpR:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._Km-3j:disabled{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._Km-3j:disabled::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._Km-3j:disabled::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._Km-3j._ohFfr{height:auto}._Km-3j._ohFfr::-webkit-resizer{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik03IDF2M2EzIDMgMCAwMS0zIDNIMSIgc3Ryb2tlPSIjOTI5MjkyIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==);background-size:8px 8px;background-repeat:no-repeat;background-position:50%}._Km-3j._7YgGR{display:block;width:100%}._Km-3j._uRxtT{padding:4px 8px}input._Km-3j._uRxtT{height:26px;min-height:26px}[type=number]._Km-3j{-moz-appearance:textfield}[type=number]._Km-3j::-webkit-inner-spin-button,[type=number]._Km-3j::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._sOJjs{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._sOJjs:hover{cursor:pointer}._sOJjs._ty-4V{color:#0b6ed0}._OSjBP{margin-top:4px}";
2289
2286
  icons_index.styleInject(css_248z$y);
2290
2287
 
2291
2288
  const Input$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
@@ -2328,7 +2325,7 @@ const Input$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
2328
2325
  onChange: disabled ? null : onChange,
2329
2326
  value,
2330
2327
  'aria-describedby': internalAriaDescribedby,
2331
- readOnly: readOnly ?? formFieldIsReadOnly
2328
+ readOnly: readOnly !== null && readOnly !== void 0 ? readOnly : formFieldIsReadOnly
2332
2329
  };
2333
2330
  return multiline ? /*#__PURE__*/React__default["default"].createElement("textarea", _extends__default["default"]({}, commonProps, {
2334
2331
  rows: rows
@@ -2362,11 +2359,11 @@ const InputField = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
2362
2359
  useFormFieldType('input');
2363
2360
  function handleFocus(e) {
2364
2361
  setFocused(true);
2365
- onFocus?.(e);
2362
+ onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
2366
2363
  }
2367
2364
  function handleBlur(e) {
2368
2365
  setFocused(false);
2369
- onBlur?.(e);
2366
+ onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
2370
2367
  }
2371
2368
  return /*#__PURE__*/React__default["default"].createElement(Label, _extends__default["default"]({
2372
2369
  htmlFor: id,
@@ -2384,9 +2381,9 @@ const InputField = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
2384
2381
  }, rest, inputPropsWithoutClass)));
2385
2382
  });
2386
2383
 
2387
- var css_248z$x = "._lc-eC{display:flex;line-height:1.15}._lc-eC ._nguXi{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._lc-eC ._nguXi:hover:not(._wKiEc){background-color:#f5f5f5}._lc-eC ._nguXi._wKiEc{cursor:not-allowed;fill:rgba(81,85,89,.4)}._lc-eC ._nguXi:active:not(._wKiEc){background-color:#eee}._lc-eC ._EXASZ{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._lc-eC ._EXASZ._wKiEc{border-color:#d9d9d9}._lc-eC ._7Tfnu{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:18px 18px;background-position:0 0,9px 0,9px -9px,0 9px}._lc-eC ._75xyK{width:18px;height:36px;border:1px solid #898989;border-width:1px 0}._lc-eC ._75xyK._wKiEc{border-color:#d9d9d9}._lc-eC ._nMNV-{height:36px;border:1px solid #898989;border-width:1px 0}._lc-eC ._nMNV-._wKiEc{border-color:#d9d9d9}._lc-eC ._hH9Yf{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._lc-eC ._tY32j{position:absolute;top:10px;left:13px;font-size:14px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._lc-eC ._tY32j._7-8FD{color:#9d9fa1}body.keyboard-user ._nguXi:active:focus,body.keyboard-user ._nguXi:focus{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._VC7Gv{width:264px;padding:8px;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1);line-height:1.15}._VC7Gv ._MqjB8{position:relative;width:246px;height:150px;border-radius:4px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,transparent);background-origin:border-box}._VC7Gv ._5VEqm{position:absolute;width:12px;height:12px;border-radius:50%;border:1px solid #fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);outline:none;cursor:pointer}._VC7Gv ._4lkLY{display:flex;justify-content:space-between;margin:12px 0}._VC7Gv ._QYZGh{display:flex}._VC7Gv ._YwhXI{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._VC7Gv ._joCG4{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._VC7Gv ._iGv0L{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:19px 19px;background-position:0 0,9.5px 0,9.5px -9.5px,0 9.5px;border-radius:0 2px 2px 0}._VC7Gv ._-wiaX{width:202px;height:38px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(90deg,red,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._VC7Gv ._-wiaX._lLjSG{height:16px;margin-bottom:6px}._VC7Gv ._pncFM{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:38px;outline:none;cursor:pointer;top:-1px}._VC7Gv ._pncFM._lLjSG{height:16px}._VC7Gv ._g0Lb8{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:16px 16px;background-position:0 0,8px 0,8px -8px,0 8px;border-radius:1px}._VC7Gv ._KYwy5{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._VC7Gv ._kdDO0{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:16px;outline:none;cursor:pointer;top:-1px}._VC7Gv ._AbFWw{display:flex;justify-content:space-between}._VC7Gv ._DQUHe{display:flex;flex-direction:column;align-items:center}._VC7Gv ._DQUHe._mGge-{margin-left:4px}._VC7Gv ._lFPlo{position:absolute;top:3px;left:5px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._VC7Gv ._YToKi{padding:3px 4px 3px 13px!important;width:78px}._VC7Gv ._g50u2{text-align:right;padding:3px 4px 3px 0!important;width:34px}._VC7Gv ._dsoWa{text-align:right;padding:3px 16px 3px 0!important;width:46px}._VC7Gv ._FI2h6{position:absolute;top:3px;right:4px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._VC7Gv ._H9MOu{line-height:22px}._VC7Gv ._mXbkl{display:flex}._VC7Gv ._IcBhn{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._VC7Gv ._S-XX0{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._6AUvh{position:relative}._WDvkj{display:none}._TgaYP{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}body.keyboard-user ._5VEqm:focus{box-shadow:inset 0 0 0 1px rgba(0,0,0,.5),0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fff}body.keyboard-user ._kdDO0:focus,body.keyboard-user ._pncFM:focus,body.keyboard-user ._S-XX0:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
2388
- var styles$v = {"colorPicker":"_lc-eC","colorPickerButton":"_nguXi","disabledButton":"_wKiEc","colorPickerButtonPreview":"_EXASZ","alphaBackground":"_7Tfnu","colorPickerButtonAlphaPreview":"_75xyK","caretIcon":"_nMNV-","colorPickerInput":"_hH9Yf","colorPickerInputDecoration":"_tY32j","disabledDecoration":"_7-8FD","colorPickerFlyout":"_VC7Gv","saturationGrid":"_MqjB8","saturationLoop":"_5VEqm","sliderGroup":"_4lkLY","sliderPreviewContainer":"_QYZGh","sliderPreview":"_YwhXI","sliderPreviewAlpha":"_joCG4","sliderPreviewAlphaBackground":"_iGv0L","hueSliderRail":"_-wiaX","alphaEnabled":"_lLjSG","hueSliderThumb":"_pncFM","alphaSliderRailBackground":"_g0Lb8","alphaSliderRail":"_KYwy5","alphaSliderThumb":"_kdDO0","hexInputGroup":"_AbFWw","hexInputContainer":"_DQUHe","rgbInputContainer":"_mGge-","hexInputDecoration":"_lFPlo","hexInput":"_YToKi","rgbInput":"_g50u2","alphaInput":"_dsoWa","alphaInputDecoration":"_FI2h6","inputLabel":"_H9MOu","rgbContainer":"_mXbkl","palette":"_IcBhn","swatch":"_S-XX0","relativePositionContainer":"_6AUvh","hidden":"_WDvkj","hiddenLiveRegion":"_TgaYP"};
2389
- var stylesheet$x="._lc-eC{display:flex;line-height:1.15}._lc-eC ._nguXi{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._lc-eC ._nguXi:hover:not(._wKiEc){background-color:#f5f5f5}._lc-eC ._nguXi._wKiEc{cursor:not-allowed;fill:rgba(81,85,89,.4)}._lc-eC ._nguXi:active:not(._wKiEc){background-color:#eee}._lc-eC ._EXASZ{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._lc-eC ._EXASZ._wKiEc{border-color:#d9d9d9}._lc-eC ._7Tfnu{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:18px 18px;background-position:0 0,9px 0,9px -9px,0 9px}._lc-eC ._75xyK{width:18px;height:36px;border:1px solid #898989;border-width:1px 0}._lc-eC ._75xyK._wKiEc{border-color:#d9d9d9}._lc-eC ._nMNV-{height:36px;border:1px solid #898989;border-width:1px 0}._lc-eC ._nMNV-._wKiEc{border-color:#d9d9d9}._lc-eC ._hH9Yf{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._lc-eC ._tY32j{position:absolute;top:10px;left:13px;font-size:14px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._lc-eC ._tY32j._7-8FD{color:#9d9fa1}body.keyboard-user ._nguXi:active:focus,body.keyboard-user ._nguXi:focus{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._VC7Gv{width:264px;padding:8px;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1);line-height:1.15}._VC7Gv ._MqjB8{position:relative;width:246px;height:150px;border-radius:4px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,transparent);background-origin:border-box}._VC7Gv ._5VEqm{position:absolute;width:12px;height:12px;border-radius:50%;border:1px solid #fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);outline:none;cursor:pointer}._VC7Gv ._4lkLY{display:flex;justify-content:space-between;margin:12px 0}._VC7Gv ._QYZGh{display:flex}._VC7Gv ._YwhXI{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._VC7Gv ._joCG4{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._VC7Gv ._iGv0L{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:19px 19px;background-position:0 0,9.5px 0,9.5px -9.5px,0 9.5px;border-radius:0 2px 2px 0}._VC7Gv ._-wiaX{width:202px;height:38px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(90deg,red,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._VC7Gv ._-wiaX._lLjSG{height:16px;margin-bottom:6px}._VC7Gv ._pncFM{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:38px;outline:none;cursor:pointer;top:-1px}._VC7Gv ._pncFM._lLjSG{height:16px}._VC7Gv ._g0Lb8{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:16px 16px;background-position:0 0,8px 0,8px -8px,0 8px;border-radius:1px}._VC7Gv ._KYwy5{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._VC7Gv ._kdDO0{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:16px;outline:none;cursor:pointer;top:-1px}._VC7Gv ._AbFWw{display:flex;justify-content:space-between}._VC7Gv ._DQUHe{display:flex;flex-direction:column;align-items:center}._VC7Gv ._DQUHe._mGge-{margin-left:4px}._VC7Gv ._lFPlo{position:absolute;top:3px;left:5px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._VC7Gv ._YToKi{padding:3px 4px 3px 13px!important;width:78px}._VC7Gv ._g50u2{text-align:right;padding:3px 4px 3px 0!important;width:34px}._VC7Gv ._dsoWa{text-align:right;padding:3px 16px 3px 0!important;width:46px}._VC7Gv ._FI2h6{position:absolute;top:3px;right:4px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._VC7Gv ._H9MOu{line-height:22px}._VC7Gv ._mXbkl{display:flex}._VC7Gv ._IcBhn{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._VC7Gv ._S-XX0{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._6AUvh{position:relative}._WDvkj{display:none}._TgaYP{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}body.keyboard-user ._5VEqm:focus{box-shadow:inset 0 0 0 1px rgba(0,0,0,.5),0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fff}body.keyboard-user ._kdDO0:focus,body.keyboard-user ._pncFM:focus,body.keyboard-user ._S-XX0:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
2384
+ var css_248z$x = "._5xJvG{display:flex;line-height:1.15}._5xJvG ._JZZ7-{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._5xJvG ._JZZ7-:hover:not(._4HdT-){background-color:#f5f5f5}._5xJvG ._JZZ7-._4HdT-{cursor:not-allowed;fill:rgba(81,85,89,.4)}._5xJvG ._JZZ7-:active:not(._4HdT-){background-color:#eee}._5xJvG ._qLcLZ{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._5xJvG ._qLcLZ._4HdT-{border-color:#d9d9d9}._5xJvG ._fLKaU{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:18px 18px;background-position:0 0,9px 0,9px -9px,0 9px}._5xJvG ._jk-n1{width:18px;height:36px;border:1px solid #898989;border-width:1px 0}._5xJvG ._jk-n1._4HdT-{border-color:#d9d9d9}._5xJvG ._trXy6{height:36px;border:1px solid #898989;border-width:1px 0}._5xJvG ._trXy6._4HdT-{border-color:#d9d9d9}._5xJvG ._HSc3B{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._5xJvG ._aSer0{position:absolute;top:10px;left:13px;font-size:14px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._5xJvG ._aSer0._7wKUv{color:#9d9fa1}._JZZ7-.focus-visible,._JZZ7-:focus-visible{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._mm34r{width:264px;padding:8px;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1);line-height:1.15}._mm34r ._zaQXE{position:relative;width:246px;height:150px;border-radius:4px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,transparent);background-origin:border-box}._mm34r ._6hWyp{position:absolute;width:12px;height:12px;border-radius:50%;border:1px solid #fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);outline:none;cursor:pointer}._mm34r ._H5O6A{display:flex;justify-content:space-between;margin:12px 0}._mm34r ._H5O6A._oCEHP{margin-bottom:0}._mm34r ._D6k1R{display:flex}._mm34r ._O7bRV{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._mm34r ._uQuO5{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._mm34r ._p957A{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:19px 19px;background-position:0 0,9.5px 0,9.5px -9.5px,0 9.5px;border-radius:0 2px 2px 0}._mm34r ._8aPnE{width:202px;height:38px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(90deg,red,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._mm34r ._8aPnE._Kwu26{height:16px;margin-bottom:6px}._mm34r ._QmZxG{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:38px;outline:none;cursor:pointer;top:-1px}._mm34r ._QmZxG._Kwu26{height:16px}._mm34r ._4G2hX{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:16px 16px;background-position:0 0,8px 0,8px -8px,0 8px;border-radius:1px}._mm34r ._jBHzH{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._mm34r ._Zyvbr{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:16px;outline:none;cursor:pointer;top:-1px}._mm34r ._bLmU6{display:flex;justify-content:space-between}._mm34r ._2lNd0{display:flex;flex-direction:column;align-items:center}._mm34r ._2lNd0._iL1TC{margin-left:4px}._mm34r ._SGUNI{position:absolute;top:3px;left:5px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._mm34r ._P1fHK{padding:3px 4px 3px 13px!important;width:78px}._mm34r ._ed80L{text-align:right;padding:3px 4px 3px 0!important;width:34px}._mm34r ._NHIgo{text-align:right;padding:3px 16px 3px 0!important;width:46px}._mm34r ._M-uNp{position:absolute;top:3px;right:4px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._mm34r ._8avYA{line-height:22px}._mm34r ._BbQ6O{display:flex}._mm34r ._OHJuR{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._mm34r ._OHJuR._lM7uC{margin-top:0}._mm34r ._h8R1e{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._KQI12{position:relative}._yy8XZ{display:none}._Y0Kpl{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}._6hWyp.focus-visible,._6hWyp:focus-visible{box-shadow:inset 0 0 0 1px rgba(0,0,0,.5),0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fff}._h8R1e.focus-visible,._h8R1e:focus-visible,._QmZxG.focus-visible,._QmZxG:focus-visible,._Zyvbr.focus-visible,._Zyvbr:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
2385
+ var styles$v = {"colorPicker":"_5xJvG","colorPickerButton":"_JZZ7-","disabledButton":"_4HdT-","colorPickerButtonPreview":"_qLcLZ","alphaBackground":"_fLKaU","colorPickerButtonAlphaPreview":"_jk-n1","caretIcon":"_trXy6","colorPickerInput":"_HSc3B","colorPickerInputDecoration":"_aSer0","disabledDecoration":"_7wKUv","colorPickerFlyout":"_mm34r","saturationGrid":"_zaQXE","saturationLoop":"_6hWyp","sliderGroup":"_H5O6A","removeBottomMargin":"_oCEHP","sliderPreviewContainer":"_D6k1R","sliderPreview":"_O7bRV","sliderPreviewAlpha":"_uQuO5","sliderPreviewAlphaBackground":"_p957A","hueSliderRail":"_8aPnE","alphaEnabled":"_Kwu26","hueSliderThumb":"_QmZxG","alphaSliderRailBackground":"_4G2hX","alphaSliderRail":"_jBHzH","alphaSliderThumb":"_Zyvbr","hexInputGroup":"_bLmU6","hexInputContainer":"_2lNd0","rgbInputContainer":"_iL1TC","hexInputDecoration":"_SGUNI","hexInput":"_P1fHK","rgbInput":"_ed80L","alphaInput":"_NHIgo","alphaInputDecoration":"_M-uNp","inputLabel":"_8avYA","rgbContainer":"_BbQ6O","palette":"_OHJuR","removeUpperMargin":"_lM7uC","swatch":"_h8R1e","relativePositionContainer":"_KQI12","hidden":"_yy8XZ","hiddenLiveRegion":"_Y0Kpl"};
2386
+ var stylesheet$x="._5xJvG{display:flex;line-height:1.15}._5xJvG ._JZZ7-{display:flex;align-items:center;background-color:#fafafa;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._5xJvG ._JZZ7-:hover:not(._4HdT-){background-color:#f5f5f5}._5xJvG ._JZZ7-._4HdT-{cursor:not-allowed;fill:rgba(81,85,89,.4)}._5xJvG ._JZZ7-:active:not(._4HdT-){background-color:#eee}._5xJvG ._qLcLZ{width:18px;height:36px;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._5xJvG ._qLcLZ._4HdT-{border-color:#d9d9d9}._5xJvG ._fLKaU{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:18px 18px;background-position:0 0,9px 0,9px -9px,0 9px}._5xJvG ._jk-n1{width:18px;height:36px;border:1px solid #898989;border-width:1px 0}._5xJvG ._jk-n1._4HdT-{border-color:#d9d9d9}._5xJvG ._trXy6{height:36px;border:1px solid #898989;border-width:1px 0}._5xJvG ._trXy6._4HdT-{border-color:#d9d9d9}._5xJvG ._HSc3B{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._5xJvG ._aSer0{position:absolute;top:10px;left:13px;font-size:14px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._5xJvG ._aSer0._7wKUv{color:#9d9fa1}._JZZ7-.focus-visible,._JZZ7-:focus-visible{background:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;z-index:10}._mm34r{width:264px;padding:8px;background-color:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1);line-height:1.15}._mm34r ._zaQXE{position:relative;width:246px;height:150px;border-radius:4px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,transparent);background-origin:border-box}._mm34r ._6hWyp{position:absolute;width:12px;height:12px;border-radius:50%;border:1px solid #fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);outline:none;cursor:pointer}._mm34r ._H5O6A{display:flex;justify-content:space-between;margin:12px 0}._mm34r ._H5O6A._oCEHP{margin-bottom:0}._mm34r ._D6k1R{display:flex}._mm34r ._O7bRV{width:19px;height:38px;border-radius:2px 0 0 2px;border:1px solid rgba(0,0,0,.43);border-right-width:0}._mm34r ._uQuO5{width:19px;height:38px;border-radius:0 2px 2px 0;border:1px solid rgba(0,0,0,.43);border-left-width:0}._mm34r ._p957A{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:19px 19px;background-position:0 0,9.5px 0,9.5px -9.5px,0 9.5px;border-radius:0 2px 2px 0}._mm34r ._8aPnE{width:202px;height:38px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background:linear-gradient(90deg,red,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._mm34r ._8aPnE._Kwu26{height:16px;margin-bottom:6px}._mm34r ._QmZxG{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:38px;outline:none;cursor:pointer;top:-1px}._mm34r ._QmZxG._Kwu26{height:16px}._mm34r ._4G2hX{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:16px 16px;background-position:0 0,8px 0,8px -8px,0 8px;border-radius:1px}._mm34r ._jBHzH{width:202px;height:16px;padding:0 3px;border-radius:1px;border:1px solid rgba(0,0,0,.43);background-origin:border-box!important}._mm34r ._Zyvbr{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:16px;outline:none;cursor:pointer;top:-1px}._mm34r ._bLmU6{display:flex;justify-content:space-between}._mm34r ._2lNd0{display:flex;flex-direction:column;align-items:center}._mm34r ._2lNd0._iL1TC{margin-left:4px}._mm34r ._SGUNI{position:absolute;top:3px;left:5px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._mm34r ._P1fHK{padding:3px 4px 3px 13px!important;width:78px}._mm34r ._ed80L{text-align:right;padding:3px 4px 3px 0!important;width:34px}._mm34r ._NHIgo{text-align:right;padding:3px 16px 3px 0!important;width:46px}._mm34r ._M-uNp{position:absolute;top:3px;right:4px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}._mm34r ._8avYA{line-height:22px}._mm34r ._BbQ6O{display:flex}._mm34r ._OHJuR{display:flex;flex-wrap:wrap;margin:9px -3px -3px}._mm34r ._OHJuR._lM7uC{margin-top:0}._mm34r ._h8R1e{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid rgba(0,0,0,.43);outline:none;cursor:pointer}._KQI12{position:relative}._yy8XZ{display:none}._Y0Kpl{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}._6hWyp.focus-visible,._6hWyp:focus-visible{box-shadow:inset 0 0 0 1px rgba(0,0,0,.5),0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fff}._h8R1e.focus-visible,._h8R1e:focus-visible,._QmZxG.focus-visible,._QmZxG:focus-visible,._Zyvbr.focus-visible,._Zyvbr:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
2390
2387
  icons_index.styleInject(css_248z$x);
2391
2388
 
2392
2389
  function getMousePosition(e, containerRef) {
@@ -2420,9 +2417,10 @@ function hexToRgb(hex) {
2420
2417
  }
2421
2418
 
2422
2419
  function hexToRgbaString(color) {
2420
+ var _color$alpha;
2423
2421
  const rgb = hexToRgb(color.hex);
2424
- const alpha = color.alpha ?? 100;
2425
- return `rgba(${rgb.r}, ${rgb.g}, ${rgb.b}, ${alpha / 100})`;
2422
+ const alpha = (_color$alpha = color.alpha) !== null && _color$alpha !== void 0 ? _color$alpha : 100;
2423
+ return "rgba(".concat(rgb.r, ", ").concat(rgb.g, ", ").concat(rgb.b, ", ").concat(alpha / 100, ")");
2426
2424
  }
2427
2425
 
2428
2426
  function rgbToHex(_ref) {
@@ -2434,7 +2432,7 @@ function rgbToHex(_ref) {
2434
2432
  const rStr = r.toString(16).padStart(2, '0');
2435
2433
  const gStr = g.toString(16).padStart(2, '0');
2436
2434
  const bStr = b.toString(16).padStart(2, '0');
2437
- return `#${rStr}${gStr}${bStr}`;
2435
+ return "#".concat(rStr).concat(gStr).concat(bStr);
2438
2436
  }
2439
2437
 
2440
2438
  // formula from https://www.rapidtables.com/convert/color/hsv-to-rgb.html
@@ -2576,41 +2574,42 @@ function calculateTargetId(focusedId, paletteLength, direction) {
2576
2574
  }
2577
2575
 
2578
2576
  function validateHex(currentColor, newHex, isAlphaEnabled) {
2577
+ var _currentColor$alpha;
2579
2578
  // set current alpha to hex format
2580
- const alpha = Math.round((currentColor.alpha ?? 100) / 100 * 255).toString(16).toUpperCase().padStart(2, '0');
2579
+ const alpha = Math.round(((_currentColor$alpha = currentColor.alpha) !== null && _currentColor$alpha !== void 0 ? _currentColor$alpha : 100) / 100 * 255).toString(16).toUpperCase().padStart(2, '0');
2581
2580
  let newAlpha = isAlphaEnabled ? alpha : '';
2582
2581
  let validatedHex;
2583
2582
  const hexLength = isAlphaEnabled ? 8 : 6;
2584
2583
  const hexRegex = /^[a-fA-F0-9]+$/;
2585
2584
 
2586
2585
  // if newHex contains invalid characters or is empty string, revert to previous color
2587
- if (!hexRegex.test(newHex.slice(0, hexLength))) return `${currentColor.hex.substring(1)}${newAlpha}`;
2586
+ if (!hexRegex.test(newHex.slice(0, hexLength))) return "".concat(currentColor.hex.substring(1)).concat(newAlpha);
2588
2587
 
2589
2588
  // match validation pattern based on string length
2590
2589
  switch (newHex.length) {
2591
2590
  case 1:
2592
- validatedHex = `${newHex.repeat(6)}${newAlpha}`;
2591
+ validatedHex = "".concat(newHex.repeat(6)).concat(newAlpha);
2593
2592
  break;
2594
2593
  case 2:
2595
- validatedHex = `${newHex.repeat(3)}${newAlpha}`;
2594
+ validatedHex = "".concat(newHex.repeat(3)).concat(newAlpha);
2596
2595
  break;
2597
2596
  case 3:
2598
- validatedHex = `${newHex[0].repeat(2)}${newHex[1].repeat(2)}${newHex[2].repeat(2)}${newAlpha}`;
2597
+ validatedHex = "".concat(newHex[0].repeat(2)).concat(newHex[1].repeat(2)).concat(newHex[2].repeat(2)).concat(newAlpha);
2599
2598
  break;
2600
2599
  case 4:
2601
2600
  case 5:
2602
2601
  newAlpha = isAlphaEnabled ? newHex[3].repeat(2) : '';
2603
- validatedHex = `${newHex[0].repeat(2)}${newHex[1].repeat(2)}${newHex[2].repeat(2)}${newAlpha}`;
2602
+ validatedHex = "".concat(newHex[0].repeat(2)).concat(newHex[1].repeat(2)).concat(newHex[2].repeat(2)).concat(newAlpha);
2604
2603
  break;
2605
2604
  case 6:
2606
- validatedHex = `${newHex}${newAlpha}`;
2605
+ validatedHex = "".concat(newHex).concat(newAlpha);
2607
2606
  break;
2608
2607
  case 7:
2609
- validatedHex = `${newHex.substring(0, 6)}${newAlpha}`;
2608
+ validatedHex = "".concat(newHex.substring(0, 6)).concat(newAlpha);
2610
2609
  break;
2611
2610
  default:
2612
2611
  newAlpha = isAlphaEnabled ? newHex.substring(6, 8) : '';
2613
- validatedHex = `${newHex.substring(0, 6)}${newAlpha}`;
2612
+ validatedHex = "".concat(newHex.substring(0, 6)).concat(newAlpha);
2614
2613
  break;
2615
2614
  }
2616
2615
  return validatedHex.toUpperCase();
@@ -2682,7 +2681,7 @@ function Saturation$1(_ref) {
2682
2681
  } = _ref;
2683
2682
  const gridRef = React.useRef(null);
2684
2683
  const loopRef = React.useRef(null);
2685
- const saturationId = `${containerId}-saturation`;
2684
+ const saturationId = "".concat(containerId, "-saturation");
2686
2685
  const {
2687
2686
  translate
2688
2687
  } = useTranslation();
@@ -2710,42 +2709,34 @@ function Saturation$1(_ref) {
2710
2709
  switch (e.key) {
2711
2710
  case 'ArrowUp':
2712
2711
  e.preventDefault(); // prevent page scroll
2713
- setIsKeyboardUser(true);
2714
2712
  onSaturationChange(hsv.s, Math.min(hsv.v + 0.01, 1));
2715
2713
  break;
2716
2714
  case 'ArrowDown':
2717
2715
  e.preventDefault(); // prevent page scroll
2718
- setIsKeyboardUser(true);
2719
2716
  onSaturationChange(hsv.s, Math.max(hsv.v - 0.01, 0));
2720
2717
  break;
2721
2718
  case 'ArrowLeft':
2722
2719
  e.preventDefault(); // prevent page scroll
2723
- setIsKeyboardUser(true);
2724
2720
  onSaturationChange(Math.max(hsv.s - 0.01, 0), hsv.v);
2725
2721
  break;
2726
2722
  case 'ArrowRight':
2727
2723
  e.preventDefault(); // prevent page scroll
2728
- setIsKeyboardUser(true);
2729
2724
  onSaturationChange(Math.min(hsv.s + 0.01, 1), hsv.v);
2730
2725
  break;
2731
2726
  case 'Home':
2732
2727
  e.preventDefault(); // prevent page scroll
2733
- setIsKeyboardUser(true);
2734
2728
  onSaturationChange(0, hsv.v);
2735
2729
  break;
2736
2730
  case 'End':
2737
2731
  e.preventDefault(); // prevent page scroll
2738
- setIsKeyboardUser(true);
2739
2732
  onSaturationChange(1, hsv.v);
2740
2733
  break;
2741
2734
  case 'PageUp':
2742
2735
  e.preventDefault(); // prevent page scroll
2743
- setIsKeyboardUser(true);
2744
2736
  onSaturationChange(hsv.s, 1);
2745
2737
  break;
2746
2738
  case 'PageDown':
2747
2739
  e.preventDefault(); // prevent page scroll
2748
- setIsKeyboardUser(true);
2749
2740
  onSaturationChange(hsv.s, 0);
2750
2741
  break;
2751
2742
  default:
@@ -2755,22 +2746,23 @@ function Saturation$1(_ref) {
2755
2746
  return /*#__PURE__*/React__default["default"].createElement("div", {
2756
2747
  className: styles$v.saturationGrid,
2757
2748
  style: {
2758
- backgroundColor: `${hsvToHex({
2749
+ backgroundColor: "".concat(hsvToHex({
2759
2750
  h: hsv.h,
2760
2751
  s: 1,
2761
2752
  v: 1
2762
- })}`
2753
+ }))
2763
2754
  },
2764
2755
  onMouseDown: e => {
2756
+ var _loopRef$current;
2765
2757
  // prevent text highlighting while dragging
2766
2758
  e.preventDefault();
2767
- loopRef.current?.focus();
2759
+ (_loopRef$current = loopRef.current) === null || _loopRef$current === void 0 ? void 0 : _loopRef$current.focus();
2768
2760
  handleMouseDown(e);
2769
2761
  },
2770
2762
  "data-testid": getSubDataTestId(dataTestId, 'saturation-grid'),
2771
2763
  ref: gridRef
2772
2764
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2773
- id: `${saturationId}-saturation-desc`,
2765
+ id: "".concat(saturationId, "-saturation-desc"),
2774
2766
  className: styles$v.hidden
2775
2767
  }, saturationAriaDesc), /*#__PURE__*/React__default["default"].createElement("div", {
2776
2768
  "aria-live": loopRef.current === document.activeElement ? 'assertive' : 'off',
@@ -2781,13 +2773,13 @@ function Saturation$1(_ref) {
2781
2773
  }, valueAriaLive), /*#__PURE__*/React__default["default"].createElement("div", {
2782
2774
  className: styles$v.saturationLoop,
2783
2775
  style: {
2784
- left: `calc(${hsv.s * 100}% - ${hsv.s * 12}px)`,
2785
- bottom: `calc(${hsv.v * 100}% - ${hsv.v * 12}px)`
2776
+ left: "calc(".concat(hsv.s * 100, "% - ").concat(hsv.s * 12, "px)"),
2777
+ bottom: "calc(".concat(hsv.v * 100, "% - ").concat(hsv.v * 12, "px)")
2786
2778
  },
2787
2779
  onKeyDown: handleKeyDown,
2788
2780
  tabIndex: 0,
2789
2781
  "aria-label": saturationAriaLabel,
2790
- "aria-describedby": `${saturationId}-saturation-desc`,
2782
+ "aria-describedby": "".concat(saturationId, "-saturation-desc"),
2791
2783
  ref: loopRef,
2792
2784
  "data-testid": getSubDataTestId(dataTestId, 'saturation-thumb')
2793
2785
  }));
@@ -2825,33 +2817,27 @@ function Hue$1(_ref) {
2825
2817
  case 'ArrowUp':
2826
2818
  case 'ArrowRight':
2827
2819
  e.preventDefault(); // prevent page scroll
2828
- setIsKeyboardUser(true);
2829
2820
  onHueChange(Math.min(hue + 3, 359));
2830
2821
  break;
2831
2822
  case 'ArrowDown':
2832
2823
  case 'ArrowLeft':
2833
2824
  e.preventDefault(); // prevent page scroll
2834
- setIsKeyboardUser(true);
2835
2825
  onHueChange(Math.max(hue - 3, 0));
2836
2826
  break;
2837
2827
  case 'End':
2838
2828
  e.preventDefault(); // prevent page scroll
2839
- setIsKeyboardUser(true);
2840
2829
  onHueChange(359);
2841
2830
  break;
2842
2831
  case 'Home':
2843
2832
  e.preventDefault(); // prevent page scroll
2844
- setIsKeyboardUser(true);
2845
2833
  onHueChange(0);
2846
2834
  break;
2847
2835
  case 'PageUp':
2848
2836
  e.preventDefault(); // prevent page scroll
2849
- setIsKeyboardUser(true);
2850
2837
  onHueChange(Math.min(hue + 30, 359));
2851
2838
  break;
2852
2839
  case 'PageDown':
2853
2840
  e.preventDefault(); // prevent page scroll
2854
- setIsKeyboardUser(true);
2855
2841
  onHueChange(Math.max(hue - 30, 0));
2856
2842
  break;
2857
2843
  default:
@@ -2863,9 +2849,10 @@ function Hue$1(_ref) {
2863
2849
  [styles$v.alphaEnabled]: isAlphaEnabled
2864
2850
  }),
2865
2851
  onMouseDown: e => {
2852
+ var _thumbRef$current;
2866
2853
  // prevent text highlighting while dragging
2867
2854
  e.preventDefault();
2868
- thumbRef.current?.focus();
2855
+ (_thumbRef$current = thumbRef.current) === null || _thumbRef$current === void 0 ? void 0 : _thumbRef$current.focus();
2869
2856
  handleMouseDown(e);
2870
2857
  },
2871
2858
  "data-testid": getSubDataTestId(dataTestId, 'hue-rail'),
@@ -2876,7 +2863,7 @@ function Hue$1(_ref) {
2876
2863
  [styles$v.alphaEnabled]: isAlphaEnabled
2877
2864
  }),
2878
2865
  style: {
2879
- left: `calc(${hue / 359 * 100}% - 4px)`
2866
+ left: "calc(".concat(hue / 359 * 100, "% - 4px)")
2880
2867
  },
2881
2868
  onKeyDown: handleKeyDown,
2882
2869
  "aria-label": hueAriaLabel,
@@ -2892,6 +2879,7 @@ function Hue$1(_ref) {
2892
2879
 
2893
2880
  /* eslint-disable jsx-a11y/no-static-element-interactions */
2894
2881
  function Alpha$1(_ref) {
2882
+ var _color$alpha5, _color$alpha6, _color$alpha7;
2895
2883
  let {
2896
2884
  color,
2897
2885
  onAlphaChange,
@@ -2916,38 +2904,33 @@ function Alpha$1(_ref) {
2916
2904
  });
2917
2905
  const handleMouseDown = useMouseDrag$1(handleChange);
2918
2906
  function handleKeyDown(e) {
2907
+ var _color$alpha, _color$alpha2, _color$alpha3, _color$alpha4;
2919
2908
  switch (e.key) {
2920
2909
  case 'ArrowDown':
2921
2910
  case 'ArrowLeft':
2922
2911
  e.preventDefault(); // prevent page scroll
2923
- setIsKeyboardUser(true);
2924
- onAlphaChange(Math.min((color.alpha ?? MAX_ALPHA) + 1, MAX_ALPHA));
2912
+ onAlphaChange(Math.min(((_color$alpha = color.alpha) !== null && _color$alpha !== void 0 ? _color$alpha : MAX_ALPHA) + 1, MAX_ALPHA));
2925
2913
  break;
2926
2914
  case 'ArrowUp':
2927
2915
  case 'ArrowRight':
2928
2916
  e.preventDefault(); // prevent page scroll
2929
- setIsKeyboardUser(true);
2930
- onAlphaChange(Math.max((color.alpha ?? MAX_ALPHA) - 1, MIN_ALPHA));
2917
+ onAlphaChange(Math.max(((_color$alpha2 = color.alpha) !== null && _color$alpha2 !== void 0 ? _color$alpha2 : MAX_ALPHA) - 1, MIN_ALPHA));
2931
2918
  break;
2932
2919
  case 'End':
2933
2920
  e.preventDefault(); // prevent page scroll
2934
- setIsKeyboardUser(true);
2935
2921
  onAlphaChange(MIN_ALPHA);
2936
2922
  break;
2937
2923
  case 'Home':
2938
2924
  e.preventDefault(); // prevent page scroll
2939
- setIsKeyboardUser(true);
2940
2925
  onAlphaChange(MAX_ALPHA);
2941
2926
  break;
2942
2927
  case 'PageDown':
2943
2928
  e.preventDefault(); // prevent page scroll
2944
- setIsKeyboardUser(true);
2945
- onAlphaChange(Math.min((color.alpha ?? MAX_ALPHA) + 10, MAX_ALPHA));
2929
+ onAlphaChange(Math.min(((_color$alpha3 = color.alpha) !== null && _color$alpha3 !== void 0 ? _color$alpha3 : MAX_ALPHA) + 10, MAX_ALPHA));
2946
2930
  break;
2947
2931
  case 'PageUp':
2948
2932
  e.preventDefault(); // prevent page scroll
2949
- setIsKeyboardUser(true);
2950
- onAlphaChange(Math.max((color.alpha ?? MAX_ALPHA) - 10, MIN_ALPHA));
2933
+ onAlphaChange(Math.max(((_color$alpha4 = color.alpha) !== null && _color$alpha4 !== void 0 ? _color$alpha4 : MAX_ALPHA) - 10, MIN_ALPHA));
2951
2934
  break;
2952
2935
  default:
2953
2936
  break;
@@ -2958,12 +2941,13 @@ function Alpha$1(_ref) {
2958
2941
  }, /*#__PURE__*/React__default["default"].createElement("div", {
2959
2942
  className: styles$v.alphaSliderRail,
2960
2943
  style: {
2961
- background: `linear-gradient(90deg, ${color.hex}, transparent)`
2944
+ background: "linear-gradient(90deg, ".concat(color.hex, ", transparent)")
2962
2945
  },
2963
2946
  onMouseDown: e => {
2947
+ var _thumbRef$current;
2964
2948
  // prevent text highlighting while dragging
2965
2949
  e.preventDefault();
2966
- thumbRef.current?.focus();
2950
+ (_thumbRef$current = thumbRef.current) === null || _thumbRef$current === void 0 ? void 0 : _thumbRef$current.focus();
2967
2951
  handleMouseDown(e);
2968
2952
  },
2969
2953
  "data-testid": getSubDataTestId(dataTestId, 'alpha-rail'),
@@ -2972,14 +2956,14 @@ function Alpha$1(_ref) {
2972
2956
  role: "slider",
2973
2957
  className: styles$v.alphaSliderThumb,
2974
2958
  style: {
2975
- left: `calc(${MAX_ALPHA - (color.alpha ?? MAX_ALPHA)}% - 4px)`
2959
+ left: "calc(".concat(MAX_ALPHA - ((_color$alpha5 = color.alpha) !== null && _color$alpha5 !== void 0 ? _color$alpha5 : MAX_ALPHA), "% - 4px)")
2976
2960
  },
2977
2961
  onKeyDown: handleKeyDown,
2978
2962
  "aria-label": alphaAriaLabel,
2979
2963
  "aria-valuemin": MIN_ALPHA,
2980
2964
  "aria-valuemax": MAX_ALPHA,
2981
- "aria-valuenow": color.alpha ?? MAX_ALPHA,
2982
- "aria-valuetext": `${color.alpha ?? MAX_ALPHA}%`,
2965
+ "aria-valuenow": (_color$alpha6 = color.alpha) !== null && _color$alpha6 !== void 0 ? _color$alpha6 : MAX_ALPHA,
2966
+ "aria-valuetext": "".concat((_color$alpha7 = color.alpha) !== null && _color$alpha7 !== void 0 ? _color$alpha7 : MAX_ALPHA, "%"),
2983
2967
  tabIndex: 0,
2984
2968
  ref: thumbRef,
2985
2969
  "data-testid": getSubDataTestId(dataTestId, 'alpha-thumb')
@@ -2987,6 +2971,7 @@ function Alpha$1(_ref) {
2987
2971
  }
2988
2972
 
2989
2973
  const Swatch$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
2974
+ var _color$name;
2990
2975
  let {
2991
2976
  color,
2992
2977
  onColorSwatchClick,
@@ -3006,14 +2991,14 @@ const Swatch$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
3006
2991
  type: "button",
3007
2992
  className: styles$v.swatch,
3008
2993
  style: {
3009
- backgroundColor: `${color.hex}`
2994
+ backgroundColor: "".concat(color.hex)
3010
2995
  },
3011
2996
  onClick: handleClick,
3012
2997
  tabIndex: cellIndex === focusedSwatchIndex ? 0 : -1,
3013
- "aria-label": `${color.name ?? ''} ${color.hex}`,
2998
+ "aria-label": "".concat((_color$name = color.name) !== null && _color$name !== void 0 ? _color$name : '', " ").concat(color.hex),
3014
2999
  "aria-describedby": ariaDescribedBy,
3015
3000
  ref: ref,
3016
- "data-testid": getSubDataTestId(dataTestId, `${color.hex.substring(1)}-swatch`)
3001
+ "data-testid": getSubDataTestId(dataTestId, "".concat(color.hex.substring(1), "-swatch"))
3017
3002
  }));
3018
3003
  });
3019
3004
  function Palette(_ref2) {
@@ -3021,7 +3006,8 @@ function Palette(_ref2) {
3021
3006
  onColorSwatchClick,
3022
3007
  palette,
3023
3008
  containerId,
3024
- dataTestId
3009
+ dataTestId,
3010
+ removeUpperMargin
3025
3011
  } = _ref2;
3026
3012
  const [focusedSwatchIndex, setFocusedSwatchIndex] = React.useState(0);
3027
3013
  const {
@@ -3029,7 +3015,7 @@ function Palette(_ref2) {
3029
3015
  } = useTranslation();
3030
3016
  const paletteAriaLabel = translate('palette');
3031
3017
  const swatchAriaDesc = translate('selectColor');
3032
- const swatchDescriptionId = `${containerId}-swatch-desc`;
3018
+ const swatchDescriptionId = "".concat(containerId, "-swatch-desc");
3033
3019
  const swatchRefs = React.useRef({});
3034
3020
 
3035
3021
  // split palette into rows for grid aria role semantics
@@ -3044,10 +3030,10 @@ function Palette(_ref2) {
3044
3030
  }, [palette]);
3045
3031
  function updateFocusedSwatchIndex(e, direction) {
3046
3032
  e.preventDefault(); // prevents scroll
3047
- setIsKeyboardUser(true);
3048
3033
  setFocusedSwatchIndex(prevFocusedSwatchIndex => {
3034
+ var _swatchRefs$current, _swatchRefs$current$t;
3049
3035
  const targetId = calculateTargetId(prevFocusedSwatchIndex, palette.length, direction);
3050
- swatchRefs.current?.[targetId]?.focus();
3036
+ (_swatchRefs$current = swatchRefs.current) === null || _swatchRefs$current === void 0 ? void 0 : (_swatchRefs$current$t = _swatchRefs$current[targetId]) === null || _swatchRefs$current$t === void 0 ? void 0 : _swatchRefs$current$t.focus();
3051
3037
  return targetId;
3052
3038
  });
3053
3039
  }
@@ -3077,7 +3063,9 @@ function Palette(_ref2) {
3077
3063
  React__default["default"].createElement("div", {
3078
3064
  role: "grid",
3079
3065
  "aria-label": paletteAriaLabel,
3080
- className: styles$v.palette,
3066
+ className: classNames__default["default"](styles$v.palette, {
3067
+ [styles$v.removeUpperMargin]: removeUpperMargin
3068
+ }),
3081
3069
  onKeyDown: handleKeyDown,
3082
3070
  "data-testid": getSubDataTestId(dataTestId, 'palette')
3083
3071
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -3117,7 +3105,7 @@ function RGBInput(_ref) {
3117
3105
  containerId,
3118
3106
  dataTestId
3119
3107
  } = _ref;
3120
- const inputId = `${containerId}-${label}-input`;
3108
+ const inputId = "".concat(containerId, "-").concat(label, "-input");
3121
3109
  const [internalValue, setInternalValue] = React.useState(externalValue);
3122
3110
  React.useEffect(() => {
3123
3111
  setInternalValue(externalValue);
@@ -3135,13 +3123,14 @@ function RGBInput(_ref) {
3135
3123
  onChange: e => setInternalValue(parseInt(e.target.value, 10) || 0),
3136
3124
  onBlur: onBlur,
3137
3125
  "aria-label": ariaLabel,
3138
- "data-testid": getSubDataTestId(dataTestId, `${label}-channel`)
3126
+ "data-testid": getSubDataTestId(dataTestId, "".concat(label, "-channel"))
3139
3127
  }), /*#__PURE__*/React__default["default"].createElement(Label, {
3140
3128
  htmlFor: inputId,
3141
3129
  className: styles$v.inputLabel
3142
3130
  }, label));
3143
3131
  }
3144
3132
  const ColorPickerFlyoutInputs = function HexInputGroup(_ref2) {
3133
+ var _color$alpha;
3145
3134
  let {
3146
3135
  color,
3147
3136
  onHexBlur,
@@ -3150,8 +3139,8 @@ const ColorPickerFlyoutInputs = function HexInputGroup(_ref2) {
3150
3139
  containerId,
3151
3140
  dataTestId
3152
3141
  } = _ref2;
3153
- const hexInputId = `${containerId}-hex-input`;
3154
- const alphaInputId = `${containerId}-alpha-input`;
3142
+ const hexInputId = "".concat(containerId, "-hex-input");
3143
+ const alphaInputId = "".concat(containerId, "-alpha-input");
3155
3144
  const {
3156
3145
  translate
3157
3146
  } = useTranslation();
@@ -3175,9 +3164,10 @@ const ColorPickerFlyoutInputs = function HexInputGroup(_ref2) {
3175
3164
  onHexBlur(validatedHex);
3176
3165
  setInternalHex(validatedHex);
3177
3166
  }
3178
- const [internalAlpha, setInternalAlpha] = React.useState(color.alpha ?? 100);
3167
+ const [internalAlpha, setInternalAlpha] = React.useState((_color$alpha = color.alpha) !== null && _color$alpha !== void 0 ? _color$alpha : 100);
3179
3168
  React.useEffect(() => {
3180
- setInternalAlpha(color.alpha ?? 100);
3169
+ var _color$alpha2;
3170
+ setInternalAlpha((_color$alpha2 = color.alpha) !== null && _color$alpha2 !== void 0 ? _color$alpha2 : 100);
3181
3171
  }, [color.alpha, isAlphaEnabled]);
3182
3172
  function handleAlphaBlur(e) {
3183
3173
  const newAlpha = Math.min(Math.max(parseInt(e.target.value, 10) || 0, 0), 100);
@@ -3309,6 +3299,8 @@ const ColorPickerFlyout = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3309
3299
  onColorSwatchClick,
3310
3300
  zIndex,
3311
3301
  dataTestId,
3302
+ hideHSVSelector,
3303
+ hideFlyoutInputs,
3312
3304
  ...rest
3313
3305
  } = _ref;
3314
3306
  const {
@@ -3325,13 +3317,15 @@ const ColorPickerFlyout = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3325
3317
  zIndex
3326
3318
  },
3327
3319
  "data-testid": getSubDataTestId(dataTestId, 'flyout')
3328
- }), /*#__PURE__*/React__default["default"].createElement(Saturation$1, {
3320
+ }), !hideHSVSelector && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(Saturation$1, {
3329
3321
  hsv: hsv,
3330
3322
  onSaturationChange: onSaturationChange,
3331
3323
  containerId: containerId,
3332
3324
  dataTestId: dataTestId
3333
3325
  }), /*#__PURE__*/React__default["default"].createElement("div", {
3334
- className: styles$v.sliderGroup
3326
+ className: classNames__default["default"](styles$v.sliderGroup, {
3327
+ [styles$v.removeBottomMargin]: hideFlyoutInputs && !palette.length
3328
+ })
3335
3329
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3336
3330
  className: styles$v.sliderPreviewContainer,
3337
3331
  "data-testid": getSubDataTestId(dataTestId, 'flyout-color-preview')
@@ -3356,7 +3350,7 @@ const ColorPickerFlyout = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3356
3350
  color: color,
3357
3351
  onAlphaChange: onAlphaChange,
3358
3352
  dataTestId: dataTestId
3359
- }))), /*#__PURE__*/React__default["default"].createElement(ColorPickerFlyoutInputs, {
3353
+ })))), !hideFlyoutInputs && /*#__PURE__*/React__default["default"].createElement(ColorPickerFlyoutInputs, {
3360
3354
  color: color,
3361
3355
  onHexBlur: onHexBlur,
3362
3356
  onAlphaBlur: onAlphaChange,
@@ -3367,16 +3361,20 @@ const ColorPickerFlyout = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3367
3361
  onColorSwatchClick: onColorSwatchClick,
3368
3362
  palette: palette,
3369
3363
  containerId: containerId,
3370
- dataTestId: dataTestId
3364
+ dataTestId: dataTestId,
3365
+ removeUpperMargin: hideHSVSelector && hideFlyoutInputs
3371
3366
  }));
3372
3367
  });
3373
3368
 
3374
3369
  function ColorPicker$1(_ref) {
3370
+ var _color$name;
3375
3371
  let {
3376
3372
  color: externalColor,
3377
3373
  onChange,
3378
3374
  palette = DEFAULT_COLOR_PALETTE,
3379
3375
  isAlphaEnabled = false,
3376
+ hideHSVSelector = false,
3377
+ hideFlyoutInputs = false,
3380
3378
  isDisabled = false,
3381
3379
  id,
3382
3380
  buttonRef: externalButtonRef,
@@ -3388,16 +3386,17 @@ function ColorPicker$1(_ref) {
3388
3386
  'data-testid': dataTestId
3389
3387
  } = _ref;
3390
3388
  const containerId = useId(id);
3391
- const flyoutId = `${containerId}-flyout`;
3389
+ const flyoutId = "".concat(containerId, "-flyout");
3392
3390
  const [color, setColor] = useControllableState(externalColor, onChange, externalColor);
3393
3391
  const [isOpen, setIsOpen] = React.useState(false);
3394
3392
  const [hsv, setHsv] = React.useState(hexToHsv(color.hex));
3395
3393
  const [inputHex, setInputHex] = React.useState(color.hex);
3396
3394
  const [triggerHexUpdate, setTriggerHexUpdate] = React.useState(0);
3397
3395
  React.useEffect(() => {
3398
- const alpha = isAlphaEnabled ? Math.round((color.alpha ?? 100) / 100 * 255).toString(16).padStart(2, '0') : '';
3396
+ var _color$alpha;
3397
+ const alpha = isAlphaEnabled ? Math.round(((_color$alpha = color.alpha) !== null && _color$alpha !== void 0 ? _color$alpha : 100) / 100 * 255).toString(16).padStart(2, '0') : '';
3399
3398
  const hex = color.hex.substring(1);
3400
- setInputHex(`${hex}${alpha}`);
3399
+ setInputHex("".concat(hex).concat(alpha));
3401
3400
  }, [color, isAlphaEnabled]);
3402
3401
  const anchorRef = React.useRef(null);
3403
3402
  const popperRef = React.useRef(null);
@@ -3406,7 +3405,7 @@ function ColorPicker$1(_ref) {
3406
3405
  translate
3407
3406
  } = useTranslation();
3408
3407
  const anchorAriaDescription = translate('colorPickerAnchorDesc', {
3409
- colorName: color.name ?? '',
3408
+ colorName: (_color$name = color.name) !== null && _color$name !== void 0 ? _color$name : '',
3410
3409
  colorHex: color.hex
3411
3410
  });
3412
3411
  const inputAriaLabel = translate('hex');
@@ -3464,7 +3463,7 @@ function ColorPicker$1(_ref) {
3464
3463
  name,
3465
3464
  ...rest
3466
3465
  } = _ref3;
3467
- const hex = `#${validatedHex.substring(0, 6)}`;
3466
+ const hex = "#".concat(validatedHex.substring(0, 6));
3468
3467
  if (isAlphaEnabled) {
3469
3468
  const alpha = Math.round(parseInt(validatedHex.substring(6, 8), 16) / 255 * 100);
3470
3469
  return {
@@ -3487,7 +3486,7 @@ function ColorPicker$1(_ref) {
3487
3486
  } = _ref4;
3488
3487
  const newColor = {
3489
3488
  ...rest,
3490
- hex: `#${hex}`
3489
+ hex: "#".concat(hex)
3491
3490
  };
3492
3491
  return newColor;
3493
3492
  });
@@ -3577,7 +3576,9 @@ function ColorPicker$1(_ref) {
3577
3576
  zIndex: zIndex,
3578
3577
  onHexBlur: handleHexBlur,
3579
3578
  onKeyDown: handleFlyoutKeyDown,
3580
- dataTestId: dataTestId
3579
+ dataTestId: dataTestId,
3580
+ hideHSVSelector: hideHSVSelector,
3581
+ hideFlyoutInputs: hideFlyoutInputs
3581
3582
  }),
3582
3583
  anchor: /*#__PURE__*/React__default["default"].createElement("button", {
3583
3584
  type: "button",
@@ -3588,11 +3589,11 @@ function ColorPicker$1(_ref) {
3588
3589
  onClick: handleAnchorClick,
3589
3590
  "aria-label": ariaLabel,
3590
3591
  "aria-labelledby": ariaLabelledBy,
3591
- "aria-describedby": `${anchorAriaDescription} ${ariaDescribedBy}`,
3592
+ "aria-describedby": "".concat(anchorAriaDescription, " ").concat(ariaDescribedBy),
3592
3593
  "aria-expanded": isOpen,
3593
3594
  "aria-controls": isOpen ? flyoutId : undefined,
3594
3595
  "aria-haspopup": "dialog",
3595
- ref: mergeRefs(anchorRef, externalButtonRef ?? null),
3596
+ ref: mergeRefs(anchorRef, externalButtonRef !== null && externalButtonRef !== void 0 ? externalButtonRef : null),
3596
3597
  "data-testid": getSubDataTestId(dataTestId, 'anchor-button')
3597
3598
  }, /*#__PURE__*/React__default["default"].createElement("div", {
3598
3599
  className: classNames__default["default"](styles$v.colorPickerButtonPreview, {
@@ -3641,9 +3642,9 @@ function ColorPicker$1(_ref) {
3641
3642
  })));
3642
3643
  }
3643
3644
 
3644
- var css_248z$w = "._jIMrn{position:relative;display:inline-block}._jnX2d{padding-right:36px}._jnX2d._FFYKv{box-shadow:none!important;border:1px solid #898989!important}._xcjKu{margin-top:4px}._cq-ku{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._cq-ku:hover{background-color:rgba(50,54,58,.08)}._cq-ku:active{background-color:rgba(50,54,58,.11)}._cq-ku._LgoGY{transform:rotate(-180deg)}._cq-ku._RuVcJ{opacity:.4}._M6wiF{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._RuVcJ{cursor:not-allowed}._RuVcJ:hover{background-color:transparent}";
3645
- var styles$u = {"combobox":"_jIMrn","comboboxInput":"_jnX2d","ignoreFocusStyle":"_FFYKv","labelledInput":"_xcjKu","comboboxIcon":"_cq-ku","open":"_LgoGY","disabled":"_RuVcJ","comboboxEmpty":"_M6wiF"};
3646
- var stylesheet$w="._jIMrn{position:relative;display:inline-block}._jnX2d{padding-right:36px}._jnX2d._FFYKv{box-shadow:none!important;border:1px solid #898989!important}._xcjKu{margin-top:4px}._cq-ku{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._cq-ku:hover{background-color:rgba(50,54,58,.08)}._cq-ku:active{background-color:rgba(50,54,58,.11)}._cq-ku._LgoGY{transform:rotate(-180deg)}._cq-ku._RuVcJ{opacity:.4}._M6wiF{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._RuVcJ{cursor:not-allowed}._RuVcJ:hover{background-color:transparent}";
3645
+ var css_248z$w = "._qt655{position:relative;display:inline-block}._6yCG2{padding-right:36px}._6yCG2._-yWRC{box-shadow:none!important;border:1px solid #898989!important}._A8C-V{margin-top:4px}._2sk--{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._2sk--:hover{background-color:rgba(50,54,58,.08)}._2sk--:active{background-color:rgba(50,54,58,.11)}._2sk--._jl2QZ{transform:rotate(-180deg)}._2sk--._L83pp{opacity:.4}._B-nk4{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._L83pp{cursor:not-allowed}._L83pp:hover{background-color:transparent}";
3646
+ var styles$u = {"combobox":"_qt655","comboboxInput":"_6yCG2","ignoreFocusStyle":"_-yWRC","labelledInput":"_A8C-V","comboboxIcon":"_2sk--","open":"_jl2QZ","disabled":"_L83pp","comboboxEmpty":"_B-nk4"};
3647
+ var stylesheet$w="._qt655{position:relative;display:inline-block}._6yCG2{padding-right:36px}._6yCG2._-yWRC{box-shadow:none!important;border:1px solid #898989!important}._A8C-V{margin-top:4px}._2sk--{position:absolute;right:4px;bottom:4px;height:28px;width:28px;border-radius:4px;fill:#515559;cursor:pointer}._2sk--:hover{background-color:rgba(50,54,58,.08)}._2sk--:active{background-color:rgba(50,54,58,.11)}._2sk--._jl2QZ{transform:rotate(-180deg)}._2sk--._L83pp{opacity:.4}._B-nk4{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._L83pp{cursor:not-allowed}._L83pp:hover{background-color:transparent}";
3647
3648
  icons_index.styleInject(css_248z$w);
3648
3649
 
3649
3650
  const {
@@ -3710,21 +3711,21 @@ const ComboboxInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3710
3711
  onChange: handleInputChange,
3711
3712
  onFocus: wrapEvent(onFocus, handleFocus),
3712
3713
  onKeyDown: wrapEvent(onKeyDown, handleKeyDown),
3713
- onMouseDown: e => onMouseDown?.(e),
3714
+ onMouseDown: e => onMouseDown === null || onMouseDown === void 0 ? void 0 : onMouseDown(e),
3714
3715
  onClick: e => {
3715
3716
  if (!isOptionSelectedOnKeyboardHighlight && numberOfOptions > 0) {
3716
3717
  setHighlightedIndex(0);
3717
3718
  }
3718
3719
  setIsOpen(true);
3719
- onClick?.(e);
3720
+ onClick === null || onClick === void 0 ? void 0 : onClick(e);
3720
3721
  },
3721
3722
  role: "combobox",
3722
3723
  "aria-autocomplete": isFilteringDisabled ? 'none' : 'list',
3723
3724
  "aria-expanded": isAriaExpanded,
3724
3725
  "aria-controls": isAriaExpanded ? listContainerId : undefined,
3725
3726
  "aria-activedescendant": activeDescendantId,
3726
- "aria-label": ariaLabelFromProps ?? ariaLabel,
3727
- "aria-labelledby": ariaLabelledbyFromProps ?? ariaLabelledby
3727
+ "aria-label": ariaLabelFromProps !== null && ariaLabelFromProps !== void 0 ? ariaLabelFromProps : ariaLabel,
3728
+ "aria-labelledby": ariaLabelledbyFromProps !== null && ariaLabelledbyFromProps !== void 0 ? ariaLabelledbyFromProps : ariaLabelledby
3728
3729
  }));
3729
3730
  });
3730
3731
 
@@ -3769,8 +3770,8 @@ const ComboboxList = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3769
3770
  ...style
3770
3771
  } : style,
3771
3772
  id: listContainerId,
3772
- "aria-label": ariaLabelFromProps ?? ariaLabel,
3773
- "aria-labelledby": ariaLabelledbyFromProps ?? ariaLabelledby
3773
+ "aria-label": ariaLabelFromProps !== null && ariaLabelFromProps !== void 0 ? ariaLabelFromProps : ariaLabel,
3774
+ "aria-labelledby": ariaLabelledbyFromProps !== null && ariaLabelledbyFromProps !== void 0 ? ariaLabelledbyFromProps : ariaLabelledby
3774
3775
  }), children)
3775
3776
  });
3776
3777
  });
@@ -3802,7 +3803,7 @@ const ComboboxHeader = /*#__PURE__*/React__default["default"].forwardRef((_ref,
3802
3803
  } = _ref;
3803
3804
  return /*#__PURE__*/React__default["default"].createElement(FlyoutHeader, _extends__default["default"]({}, rest, {
3804
3805
  title: title,
3805
- onMouseDown: wrapEvent(onMouseDown, e => e?.preventDefault()),
3806
+ onMouseDown: wrapEvent(onMouseDown, e => e === null || e === void 0 ? void 0 : e.preventDefault()),
3806
3807
  ref: ref
3807
3808
  }), children);
3808
3809
  });
@@ -3832,17 +3833,24 @@ const ComboboxIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3832
3833
  if (inputRef.current === document.activeElement) {
3833
3834
  setIsOpen(!isOpen);
3834
3835
  } else {
3835
- inputRef.current?.focus();
3836
+ var _inputRef$current;
3837
+ (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus();
3836
3838
  }
3837
3839
  }) : undefined,
3838
- onMouseDown: wrapEvent(onMouseDown, e => e?.preventDefault()),
3840
+ onMouseDown: wrapEvent(onMouseDown, e => e === null || e === void 0 ? void 0 : e.preventDefault()),
3839
3841
  ref: mergeRefs(ref, iconRef),
3840
3842
  "aria-hidden": "true"
3841
3843
  }));
3842
3844
  });
3843
3845
 
3844
- const getOptionLabel = option => option?.props?.label;
3845
- const getOptionValue = option => option?.props?.value;
3846
+ const getOptionLabel = option => {
3847
+ var _option$props;
3848
+ return option === null || option === void 0 ? void 0 : (_option$props = option.props) === null || _option$props === void 0 ? void 0 : _option$props.label;
3849
+ };
3850
+ const getOptionValue = option => {
3851
+ var _option$props2;
3852
+ return option === null || option === void 0 ? void 0 : (_option$props2 = option.props) === null || _option$props2 === void 0 ? void 0 : _option$props2.value;
3853
+ };
3846
3854
  const doesOptionMatchFilter = (option, header, inputValue) => {
3847
3855
  var _context, _context2;
3848
3856
  const label = getOptionLabel(option);
@@ -3880,26 +3888,34 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3880
3888
  } = useTranslation();
3881
3889
  const isOptionSelectedOnKeyboardHighlight = unstable_isOptionSelectedOnKeyboardHighlight;
3882
3890
  const isFilteringDisabled = isOptionSelectedOnKeyboardHighlight || externalIsFilteringDisabled;
3891
+ const {
3892
+ isFocusVisible
3893
+ } = interactions.useFocusVisible({
3894
+ isTextInput: true
3895
+ });
3883
3896
  let comboboxInput = /*#__PURE__*/React__default["default"].createElement(ComboboxInput, null);
3884
3897
  let comboboxList = /*#__PURE__*/React__default["default"].createElement(ComboboxList, null);
3885
3898
 
3886
3899
  // Gets the <ComboboxInput> and <ComboboxList> components from the children
3887
3900
  React__default["default"].Children.forEach(children, child => {
3888
3901
  if ( /*#__PURE__*/React__default["default"].isValidElement(child)) {
3889
- if (child?.type === ComboboxInput) {
3902
+ if ((child === null || child === void 0 ? void 0 : child.type) === ComboboxInput) {
3890
3903
  comboboxInput = child;
3891
- } else if (child?.type === ComboboxList) {
3904
+ } else if ((child === null || child === void 0 ? void 0 : child.type) === ComboboxList) {
3892
3905
  comboboxList = child;
3893
3906
  }
3894
3907
  }
3895
3908
  });
3896
3909
  const listContainerId = useId(comboboxList.props.id);
3897
- const noMatchesFoundContainerId = `${listContainerId}-no-matches-found`;
3910
+ const noMatchesFoundContainerId = "".concat(listContainerId, "-no-matches-found");
3898
3911
 
3899
3912
  // Extracts all ComboboxOptions
3900
- const [, [allOptions]] = React.useMemo(() => filterChildren(comboboxList?.props?.children, [{
3901
- matcher: child => child?.type === ComboboxOption
3902
- }]), [comboboxList]);
3913
+ const [, [allOptions]] = React.useMemo(() => {
3914
+ var _comboboxList, _comboboxList$props;
3915
+ return filterChildren((_comboboxList = comboboxList) === null || _comboboxList === void 0 ? void 0 : (_comboboxList$props = _comboboxList.props) === null || _comboboxList$props === void 0 ? void 0 : _comboboxList$props.children, [{
3916
+ matcher: child => (child === null || child === void 0 ? void 0 : child.type) === ComboboxOption
3917
+ }]);
3918
+ }, [comboboxList]);
3903
3919
  const {
3904
3920
  defaultValue: defaultInputValue,
3905
3921
  onChange: onInputChange,
@@ -3910,7 +3926,6 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3910
3926
  const inputRef = React.useRef(null);
3911
3927
  const iconRef = React.useRef(null);
3912
3928
  const [isFlyoutOpen, setIsFlyoutOpen] = useControllableState(false, onIsOpenChange, externalIsOpen);
3913
- const [isKeyboardUser, setIsKeyboardUser] = React.useState(false);
3914
3929
 
3915
3930
  // Highlighted index is only used when isOptionSelectedOnKeyboardHighlight is set to false
3916
3931
  const [highlightedIndex, setHighlightedIndex] = React.useState(-1);
@@ -3923,7 +3938,7 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3923
3938
  const [selectedOptionLabel, setSelectedOptionLabel] = React.useState(() => getLabelForValue(selectedOptionValue) || externalInputValue || defaultInputValue || '');
3924
3939
  const [inputValue, setInputValue] = useControllableState(selectedOptionLabel,
3925
3940
  // `e &&` prevents `ComboboxInput` from calling consumer-passed `onChange` for consumer-controlled `Combobox` value updates.
3926
- (_, e) => e && onInputChange?.(e), externalInputValue);
3941
+ (_, e) => e && (onInputChange === null || onInputChange === void 0 ? void 0 : onInputChange(e)), externalInputValue);
3927
3942
 
3928
3943
  // listen for updates from controlled value
3929
3944
  React.useEffect(() => {
@@ -3951,6 +3966,7 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3951
3966
 
3952
3967
  // Gets the filtered options based on the current input value (only if isFilteringDisabled is false)
3953
3968
  const [listChildrenFilteredOptions, [, filteredOptions]] = React.useMemo(() => {
3969
+ var _comboboxList2, _comboboxList2$props;
3954
3970
  let currentHeaderTitle;
3955
3971
  const handleSelect = option => {
3956
3972
  const newOptionValue = getOptionValue(option);
@@ -3962,15 +3978,16 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3962
3978
  }
3963
3979
  });
3964
3980
  };
3965
- return filterChildren(comboboxList?.props?.children, [
3981
+ return filterChildren((_comboboxList2 = comboboxList) === null || _comboboxList2 === void 0 ? void 0 : (_comboboxList2$props = _comboboxList2.props) === null || _comboboxList2$props === void 0 ? void 0 : _comboboxList2$props.children, [
3966
3982
  /*
3967
3983
  * For each header, adds a key value pair to the headerCounts object where the key is the header title and the value is 0.
3968
3984
  * The value will be updated in the matcher/modifier below this matcher/modifier.
3969
3985
  */
3970
3986
  {
3971
- matcher: child => child?.type === ComboboxHeader,
3987
+ matcher: child => (child === null || child === void 0 ? void 0 : child.type) === ComboboxHeader,
3972
3988
  modifier: child => {
3973
- currentHeaderTitle = child.props?.title;
3989
+ var _props;
3990
+ currentHeaderTitle = (_props = child.props) === null || _props === void 0 ? void 0 : _props.title;
3974
3991
  headerCounts[currentHeaderTitle] = 0;
3975
3992
  return child;
3976
3993
  }
@@ -3980,16 +3997,18 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
3980
3997
  * Otherwise, returns null.
3981
3998
  */
3982
3999
  {
3983
- matcher: child => child?.type === ComboboxOption,
4000
+ matcher: child => (child === null || child === void 0 ? void 0 : child.type) === ComboboxOption,
3984
4001
  modifier: (child, index) => {
3985
4002
  if (inputValue === selectedOptionLabel || isFilteringDisabled || doesOptionMatchFilter(child, currentHeaderTitle, inputValue)) {
4003
+ var _props$id;
3986
4004
  headerCounts[currentHeaderTitle] += 1;
3987
4005
  return /*#__PURE__*/React.cloneElement(child, {
3988
4006
  onSelect: e => {
3989
- child?.props?.onSelect?.(e);
4007
+ var _props2, _props2$onSelect;
4008
+ child === null || child === void 0 ? void 0 : (_props2 = child.props) === null || _props2 === void 0 ? void 0 : (_props2$onSelect = _props2.onSelect) === null || _props2$onSelect === void 0 ? void 0 : _props2$onSelect.call(_props2, e);
3990
4009
 
3991
4010
  // Prevents form submission
3992
- if (e?.key === 'Enter') {
4011
+ if ((e === null || e === void 0 ? void 0 : e.key) === 'Enter') {
3993
4012
  e.preventDefault();
3994
4013
  }
3995
4014
  if (!e.key) {
@@ -4001,18 +4020,16 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4001
4020
  if (!isOptionSelectedOnKeyboardHighlight) {
4002
4021
  setHighlightedIndex(index);
4003
4022
  }
4004
- setIsKeyboardUser(false);
4005
4023
  }),
4006
4024
  onMouseLeave: wrapEvent(child.props.onMouseLeave, () => {
4007
4025
  if (!isOptionSelectedOnKeyboardHighlight) {
4008
4026
  setHighlightedIndex(-1);
4009
4027
  }
4010
- setIsKeyboardUser(false);
4011
4028
  }),
4012
4029
  isHighlightedOnHover: isOptionSelectedOnKeyboardHighlight,
4013
4030
  isHighlighted: isOptionSelectedOnKeyboardHighlight ? false : index === highlightedIndex,
4014
4031
  isSelected: isOptionSelectedOnKeyboardHighlight ? index === selectedIndex : selectedOptionValue === getOptionValue(child),
4015
- id: child.props.id ?? `${listContainerId}-option-${index}`,
4032
+ id: (_props$id = child.props.id) !== null && _props$id !== void 0 ? _props$id : "".concat(listContainerId, "-option-").concat(index),
4016
4033
  ref: node => {
4017
4034
  optionRefs.current[Number(index)] = node;
4018
4035
  }
@@ -4026,16 +4043,19 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4026
4043
 
4027
4044
  // Gets all filtered options, as well as headers that have at least one filtered option
4028
4045
  const [listChildrenFilteredOptionsAndHeaders] = React.useMemo(() => filterChildren(listChildrenFilteredOptions, [{
4029
- matcher: child => child?.type === ComboboxOption
4046
+ matcher: child => (child === null || child === void 0 ? void 0 : child.type) === ComboboxOption
4030
4047
  }, {
4031
- matcher: child => child?.type === ComboboxHeader,
4032
- modifier: child => headerCounts[child.props?.title] ? child : null
4048
+ matcher: child => (child === null || child === void 0 ? void 0 : child.type) === ComboboxHeader,
4049
+ modifier: child => {
4050
+ var _props3;
4051
+ return headerCounts[(_props3 = child.props) === null || _props3 === void 0 ? void 0 : _props3.title] ? child : null;
4052
+ }
4033
4053
  }]), [headerCounts, listChildrenFilteredOptions]);
4034
4054
  const keyboardHighlightOrSelectOption = (index, e) => {
4035
- setIsKeyboardUser(true);
4036
4055
  if (isOptionSelectedOnKeyboardHighlight) {
4056
+ var _filteredOptions$inde, _filteredOptions$inde2, _filteredOptions$inde3;
4037
4057
  setSelectedIndex(index);
4038
- filteredOptions[index]?.props?.onSelect?.(e);
4058
+ (_filteredOptions$inde = filteredOptions[index]) === null || _filteredOptions$inde === void 0 ? void 0 : (_filteredOptions$inde2 = _filteredOptions$inde.props) === null || _filteredOptions$inde2 === void 0 ? void 0 : (_filteredOptions$inde3 = _filteredOptions$inde2.onSelect) === null || _filteredOptions$inde3 === void 0 ? void 0 : _filteredOptions$inde3.call(_filteredOptions$inde2, e);
4039
4059
  } else {
4040
4060
  setHighlightedIndex(index);
4041
4061
  }
@@ -4093,7 +4113,8 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4093
4113
  case 'Enter':
4094
4114
  if (isFlyoutOpen) {
4095
4115
  if (!isOptionSelectedOnKeyboardHighlight && filteredOptions.length > 0 && filteredOptions[highlightedIndex] !== undefined) {
4096
- filteredOptions[highlightedIndex]?.props?.onSelect?.(e);
4116
+ var _filteredOptions$high, _filteredOptions$high2, _filteredOptions$high3;
4117
+ (_filteredOptions$high = filteredOptions[highlightedIndex]) === null || _filteredOptions$high === void 0 ? void 0 : (_filteredOptions$high2 = _filteredOptions$high.props) === null || _filteredOptions$high2 === void 0 ? void 0 : (_filteredOptions$high3 = _filteredOptions$high2.onSelect) === null || _filteredOptions$high3 === void 0 ? void 0 : _filteredOptions$high3.call(_filteredOptions$high2, e);
4097
4118
  }
4098
4119
  }
4099
4120
  setIsFlyoutOpen(false);
@@ -4154,11 +4175,12 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4154
4175
  React.useEffect(() => {
4155
4176
  const currentIndex = isOptionSelectedOnKeyboardHighlight ? selectedIndex : highlightedIndex;
4156
4177
  const optionRef = optionRefs.current[currentIndex];
4157
- if (isKeyboardUser && isFlyoutOpen && optionRef && listRef?.current) {
4178
+ if (isFocusVisible && isFlyoutOpen && optionRef && listRef !== null && listRef !== void 0 && listRef.current) {
4179
+ var _listRef$current, _listRef$current2;
4158
4180
  if (currentIndex === 0) {
4159
4181
  // Scrolls the first header into view if one exists
4160
4182
  listRef.current.scrollTop = 0;
4161
- } else if (listRef.current?.scrollHeight > listRef.current?.clientHeight) {
4183
+ } else if (((_listRef$current = listRef.current) === null || _listRef$current === void 0 ? void 0 : _listRef$current.scrollHeight) > ((_listRef$current2 = listRef.current) === null || _listRef$current2 === void 0 ? void 0 : _listRef$current2.clientHeight)) {
4162
4184
  const scrollBottom = listRef.current.clientHeight + listRef.current.scrollTop;
4163
4185
  const elementBottom = optionRef.offsetTop + optionRef.offsetHeight;
4164
4186
  if (elementBottom > scrollBottom) {
@@ -4168,7 +4190,7 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4168
4190
  }
4169
4191
  }
4170
4192
  }
4171
- }, [isKeyboardUser, highlightedIndex, selectedIndex, isOptionSelectedOnKeyboardHighlight, isFlyoutOpen]);
4193
+ }, [isFocusVisible, highlightedIndex, selectedIndex, isOptionSelectedOnKeyboardHighlight, isFlyoutOpen]);
4172
4194
 
4173
4195
  // Updates the selected option label and selected option index based on the new selected option value
4174
4196
  React.useEffect(() => {
@@ -4198,16 +4220,18 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4198
4220
  const activeDescendantId = React.useMemo(() => {
4199
4221
  if (isAriaExpanded) {
4200
4222
  if (unstable_isLoading) {
4201
- return `${listContainerId}-loading-spinner`;
4223
+ return "".concat(listContainerId, "-loading-spinner");
4202
4224
  }
4203
4225
  if (filteredOptions.length === 0) {
4204
4226
  return undefined;
4205
4227
  }
4206
4228
  if (selectedIndex !== -1) {
4207
- return filteredOptions[selectedIndex]?.props.id;
4229
+ var _filteredOptions$sele;
4230
+ return (_filteredOptions$sele = filteredOptions[selectedIndex]) === null || _filteredOptions$sele === void 0 ? void 0 : _filteredOptions$sele.props.id;
4208
4231
  }
4209
4232
  if (highlightedIndex !== -1) {
4210
- return filteredOptions[highlightedIndex]?.props.id;
4233
+ var _filteredOptions$high4;
4234
+ return (_filteredOptions$high4 = filteredOptions[highlightedIndex]) === null || _filteredOptions$high4 === void 0 ? void 0 : _filteredOptions$high4.props.id;
4211
4235
  }
4212
4236
  }
4213
4237
  return undefined;
@@ -4254,14 +4278,14 @@ const Combobox = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4254
4278
  }, translate('noMatchesFound')) : listChildrenFilteredOptionsAndHeaders)));
4255
4279
  });
4256
4280
 
4257
- var css_248z$v = "._-YDxO{grid-area:configPane;position:relative;height:100%}._u7-Ap{overflow:hidden;height:100%;position:absolute;background-color:#fff;top:0;transition:width .5s;width:292px;border-right:1px solid #898989;box-sizing:border-box}._MU-T1._ouJLF ._u7-Ap,._MU-T1:not(._CNWuo) ._u7-Ap{-webkit-clip-path:inset(0 -20px 0 0);clip-path:inset(0 -20px 0 0);box-shadow:0 8px 20px 0 rgba(0,0,0,.1),0 4px 6px 0 rgba(0,0,0,.05)}._CNWuo ._u7-Ap{width:0}._ouJLF._CNWuo ._u7-Ap{width:30px;cursor:pointer}._Ouz7v ._u7-Ap{border-right-color:#eee}._vXgFp{height:100%;position:relative;width:292px}._CNWuo ._vXgFp,._MU-T1 ._vXgFp{width:0}._ouJLF._CNWuo ._vXgFp,._ouJLF._MU-T1 ._vXgFp{width:30px}._2QOjB ._vXgFp{transition:width .5s}._DB2wF{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._CNWuo ._DB2wF{visibility:hidden}._2QOjB ._DB2wF{visibility:visible}._DB2wF ._IQE1j{width:252px;margin-left:20px}._gFIzf{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._aUv3W{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._aUv3W *{font-weight:400;font-size:16px;margin:0}._r-ox-{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._CNWuo ._r-ox-{left:0}._ouJLF._CNWuo ._r-ox-{left:30px}._r-ox- ._qzu66{width:4px;height:100%}._ouJLF._CNWuo ._u7-Ap:hover+._r-ox- ._qzu66,._r-ox-:hover ._qzu66{background-color:#9dc5ed}._ouJLF._CNWuo ._u7-Ap:hover+._r-ox- ._ejULq>span,._r-ox-:hover ._ejULq>span{background-color:#0b6ed0;border-color:#0b6ed0}._ouJLF._CNWuo ._u7-Ap:hover+._r-ox- ._ejULq>span>svg,._r-ox-:hover ._ejULq>span>svg{fill:#fff}._ouJLF._CNWuo ._u7-Ap:hover+._r-ox- ._ejULq:active>span,._r-ox-:hover ._ejULq:active>span{background-color:#0854a1;border-color:#0854a1}._ouJLF._CNWuo ._u7-Ap:hover+._r-ox- ._ejULq:active>span>svg,._r-ox-:hover ._ejULq:active>span>svg{fill:#fff}._r-ox- ._ejULq{left:-16px;width:36px;height:36px;position:absolute;top:48px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10;opacity:0}._r-ox- ._ejULq._jftaK._jftaK._jftaK{opacity:1}._r-ox- ._ejULq._5GZPd._5GZPd._5GZPd{opacity:0}._r-ox- ._ejULq:active>span{background-color:#0854a1;border-color:#0854a1}._r-ox- ._ejULq:active>span>svg{fill:#fff}._r-ox- ._ejULq>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._r-ox- ._ejULq>span>svg{fill:#515559;border-radius:50%}._CNWuo ._r-ox- ._ejULq,._r-ox-:hover ._ejULq,._u7-Ap:hover+._r-ox- ._ejULq{opacity:1}body.keyboard-user ._ejULq:focus{opacity:1;border-color:#0a3f88}";
4258
- var styles$t = {"paneContainer":"_-YDxO","paneContentContainer":"_u7-Ap","unpinned":"_MU-T1","hidden":"_CNWuo","preview":"_ouJLF","openHidden":"_Ouz7v","spacer":"_vXgFp","transitioning":"_2QOjB","paneContent":"_DB2wF","paneContentInner":"_IQE1j","header":"_gFIzf","title":"_aUv3W","clickableArea":"_r-ox-","hoverBorder":"_qzu66","toolbarPanelExpandCollapseButton":"_ejULq","overrideShow":"_jftaK","overrideHide":"_5GZPd"};
4259
- var stylesheet$v="._-YDxO{grid-area:configPane;position:relative;height:100%}._u7-Ap{overflow:hidden;height:100%;position:absolute;background-color:#fff;top:0;transition:width .5s;width:292px;border-right:1px solid #898989;box-sizing:border-box}._MU-T1._ouJLF ._u7-Ap,._MU-T1:not(._CNWuo) ._u7-Ap{-webkit-clip-path:inset(0 -20px 0 0);clip-path:inset(0 -20px 0 0);box-shadow:0 8px 20px 0 rgba(0,0,0,.1),0 4px 6px 0 rgba(0,0,0,.05)}._CNWuo ._u7-Ap{width:0}._ouJLF._CNWuo ._u7-Ap{width:30px;cursor:pointer}._Ouz7v ._u7-Ap{border-right-color:#eee}._vXgFp{height:100%;position:relative;width:292px}._CNWuo ._vXgFp,._MU-T1 ._vXgFp{width:0}._ouJLF._CNWuo ._vXgFp,._ouJLF._MU-T1 ._vXgFp{width:30px}._2QOjB ._vXgFp{transition:width .5s}._DB2wF{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._CNWuo ._DB2wF{visibility:hidden}._2QOjB ._DB2wF{visibility:visible}._DB2wF ._IQE1j{width:252px;margin-left:20px}._gFIzf{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._aUv3W{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._aUv3W *{font-weight:400;font-size:16px;margin:0}._r-ox-{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._CNWuo ._r-ox-{left:0}._ouJLF._CNWuo ._r-ox-{left:30px}._r-ox- ._qzu66{width:4px;height:100%}._ouJLF._CNWuo ._u7-Ap:hover+._r-ox- ._qzu66,._r-ox-:hover ._qzu66{background-color:#9dc5ed}._ouJLF._CNWuo ._u7-Ap:hover+._r-ox- ._ejULq>span,._r-ox-:hover ._ejULq>span{background-color:#0b6ed0;border-color:#0b6ed0}._ouJLF._CNWuo ._u7-Ap:hover+._r-ox- ._ejULq>span>svg,._r-ox-:hover ._ejULq>span>svg{fill:#fff}._ouJLF._CNWuo ._u7-Ap:hover+._r-ox- ._ejULq:active>span,._r-ox-:hover ._ejULq:active>span{background-color:#0854a1;border-color:#0854a1}._ouJLF._CNWuo ._u7-Ap:hover+._r-ox- ._ejULq:active>span>svg,._r-ox-:hover ._ejULq:active>span>svg{fill:#fff}._r-ox- ._ejULq{left:-16px;width:36px;height:36px;position:absolute;top:48px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10;opacity:0}._r-ox- ._ejULq._jftaK._jftaK._jftaK{opacity:1}._r-ox- ._ejULq._5GZPd._5GZPd._5GZPd{opacity:0}._r-ox- ._ejULq:active>span{background-color:#0854a1;border-color:#0854a1}._r-ox- ._ejULq:active>span>svg{fill:#fff}._r-ox- ._ejULq>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._r-ox- ._ejULq>span>svg{fill:#515559;border-radius:50%}._CNWuo ._r-ox- ._ejULq,._r-ox-:hover ._ejULq,._u7-Ap:hover+._r-ox- ._ejULq{opacity:1}body.keyboard-user ._ejULq:focus{opacity:1;border-color:#0a3f88}";
4281
+ var css_248z$v = "._h9-EV{grid-area:configPane;position:relative;height:100%}._N2Ep9{overflow:hidden;height:100%;position:absolute;background-color:#fff;top:0;transition:width .5s;width:292px;border-right:1px solid #898989;box-sizing:border-box}._g3HZB._F7UUy ._N2Ep9,._g3HZB:not(._iN5gK) ._N2Ep9{-webkit-clip-path:inset(0 -20px 0 0);clip-path:inset(0 -20px 0 0);box-shadow:0 8px 20px 0 rgba(0,0,0,.1),0 4px 6px 0 rgba(0,0,0,.05)}._iN5gK ._N2Ep9{width:0}._F7UUy._iN5gK ._N2Ep9{width:30px;cursor:pointer}._ZnXVI ._N2Ep9{border-right-color:#eee}._eBakD{height:100%;position:relative;width:292px}._g3HZB ._eBakD,._iN5gK ._eBakD{width:0}._F7UUy._g3HZB ._eBakD,._F7UUy._iN5gK ._eBakD{width:30px}._DEd4g ._eBakD{transition:width .5s}._1Cv2c{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._iN5gK ._1Cv2c{visibility:hidden}._DEd4g ._1Cv2c{visibility:visible}._1Cv2c ._1pVuk{width:252px;margin-left:20px}._2lqAA{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._eev4v{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._eev4v *{font-weight:400;font-size:16px;margin:0}._f2dQ2{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._iN5gK ._f2dQ2{left:0}._F7UUy._iN5gK ._f2dQ2{left:30px}._f2dQ2 ._ZjH8m{width:4px;height:100%}._f2dQ2:hover ._ZjH8m,._F7UUy._iN5gK ._N2Ep9:hover+._f2dQ2 ._ZjH8m{background-color:#9dc5ed}._f2dQ2:hover ._nQgF2>span,._F7UUy._iN5gK ._N2Ep9:hover+._f2dQ2 ._nQgF2>span{background-color:#0b6ed0;border-color:#0b6ed0}._f2dQ2:hover ._nQgF2>span>svg,._F7UUy._iN5gK ._N2Ep9:hover+._f2dQ2 ._nQgF2>span>svg{fill:#fff}._f2dQ2:hover ._nQgF2:active>span,._F7UUy._iN5gK ._N2Ep9:hover+._f2dQ2 ._nQgF2:active>span{background-color:#0854a1;border-color:#0854a1}._f2dQ2:hover ._nQgF2:active>span>svg,._F7UUy._iN5gK ._N2Ep9:hover+._f2dQ2 ._nQgF2:active>span>svg{fill:#fff}._f2dQ2 ._nQgF2{left:-16px;width:36px;height:36px;position:absolute;top:48px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10;opacity:0}._f2dQ2 ._nQgF2._PiprX._PiprX._PiprX{opacity:1}._f2dQ2 ._nQgF2._aaHx0._aaHx0._aaHx0{opacity:0}._f2dQ2 ._nQgF2:active>span{background-color:#0854a1;border-color:#0854a1}._f2dQ2 ._nQgF2:active>span>svg{fill:#fff}._f2dQ2 ._nQgF2>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._f2dQ2 ._nQgF2>span>svg{fill:#515559;border-radius:50%}._f2dQ2:hover ._nQgF2,._iN5gK ._f2dQ2 ._nQgF2,._N2Ep9:hover+._f2dQ2 ._nQgF2{opacity:1}._nQgF2.focus-visible,._nQgF2:focus-visible{opacity:1;border-color:#0a3f88}";
4282
+ var styles$t = {"paneContainer":"_h9-EV","paneContentContainer":"_N2Ep9","unpinned":"_g3HZB","hidden":"_iN5gK","preview":"_F7UUy","openHidden":"_ZnXVI","spacer":"_eBakD","transitioning":"_DEd4g","paneContent":"_1Cv2c","paneContentInner":"_1pVuk","header":"_2lqAA","title":"_eev4v","clickableArea":"_f2dQ2","hoverBorder":"_ZjH8m","toolbarPanelExpandCollapseButton":"_nQgF2","overrideShow":"_PiprX","overrideHide":"_aaHx0"};
4283
+ var stylesheet$v="._h9-EV{grid-area:configPane;position:relative;height:100%}._N2Ep9{overflow:hidden;height:100%;position:absolute;background-color:#fff;top:0;transition:width .5s;width:292px;border-right:1px solid #898989;box-sizing:border-box}._g3HZB._F7UUy ._N2Ep9,._g3HZB:not(._iN5gK) ._N2Ep9{-webkit-clip-path:inset(0 -20px 0 0);clip-path:inset(0 -20px 0 0);box-shadow:0 8px 20px 0 rgba(0,0,0,.1),0 4px 6px 0 rgba(0,0,0,.05)}._iN5gK ._N2Ep9{width:0}._F7UUy._iN5gK ._N2Ep9{width:30px;cursor:pointer}._ZnXVI ._N2Ep9{border-right-color:#eee}._eBakD{height:100%;position:relative;width:292px}._g3HZB ._eBakD,._iN5gK ._eBakD{width:0}._F7UUy._g3HZB ._eBakD,._F7UUy._iN5gK ._eBakD{width:30px}._DEd4g ._eBakD{transition:width .5s}._1Cv2c{position:absolute;width:292px;height:100%;right:0;overflow:auto;padding:12px 0}._iN5gK ._1Cv2c{visibility:hidden}._DEd4g ._1Cv2c{visibility:visible}._1Cv2c ._1pVuk{width:252px;margin-left:20px}._2lqAA{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-bottom:12px}._eev4v{flex-grow:1;padding-right:8px;line-height:20px;margin:8px 0}._eev4v *{font-weight:400;font-size:16px;margin:0}._f2dQ2{position:absolute;transition:left .5s;top:0;left:290px;width:12px;cursor:pointer;height:100%}._iN5gK ._f2dQ2{left:0}._F7UUy._iN5gK ._f2dQ2{left:30px}._f2dQ2 ._ZjH8m{width:4px;height:100%}._f2dQ2:hover ._ZjH8m,._F7UUy._iN5gK ._N2Ep9:hover+._f2dQ2 ._ZjH8m{background-color:#9dc5ed}._f2dQ2:hover ._nQgF2>span,._F7UUy._iN5gK ._N2Ep9:hover+._f2dQ2 ._nQgF2>span{background-color:#0b6ed0;border-color:#0b6ed0}._f2dQ2:hover ._nQgF2>span>svg,._F7UUy._iN5gK ._N2Ep9:hover+._f2dQ2 ._nQgF2>span>svg{fill:#fff}._f2dQ2:hover ._nQgF2:active>span,._F7UUy._iN5gK ._N2Ep9:hover+._f2dQ2 ._nQgF2:active>span{background-color:#0854a1;border-color:#0854a1}._f2dQ2:hover ._nQgF2:active>span>svg,._F7UUy._iN5gK ._N2Ep9:hover+._f2dQ2 ._nQgF2:active>span>svg{fill:#fff}._f2dQ2 ._nQgF2{left:-16px;width:36px;height:36px;position:absolute;top:48px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10;opacity:0}._f2dQ2 ._nQgF2._PiprX._PiprX._PiprX{opacity:1}._f2dQ2 ._nQgF2._aaHx0._aaHx0._aaHx0{opacity:0}._f2dQ2 ._nQgF2:active>span{background-color:#0854a1;border-color:#0854a1}._f2dQ2 ._nQgF2:active>span>svg{fill:#fff}._f2dQ2 ._nQgF2>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._f2dQ2 ._nQgF2>span>svg{fill:#515559;border-radius:50%}._f2dQ2:hover ._nQgF2,._iN5gK ._f2dQ2 ._nQgF2,._N2Ep9:hover+._f2dQ2 ._nQgF2{opacity:1}._nQgF2.focus-visible,._nQgF2:focus-visible{opacity:1;border-color:#0a3f88}";
4260
4284
  icons_index.styleInject(css_248z$v);
4261
4285
 
4262
- var css_248z$u = "._KwdOg{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._KwdOg:focus{outline:none}._KwdOg:hover:not(._4xP5N){background-color:rgba(50,54,58,.08)}._KwdOg:active:not(._4xP5N){background-color:rgba(50,54,58,.11);stroke-width:2}._KwdOg._4xP5N{cursor:not-allowed;fill:rgba(81,85,89,.6)}body.keyboard-user ._KwdOg:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4263
- var styles$s = {"button":"_KwdOg","disabled":"_4xP5N"};
4264
- var stylesheet$u="._KwdOg{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._KwdOg:focus{outline:none}._KwdOg:hover:not(._4xP5N){background-color:rgba(50,54,58,.08)}._KwdOg:active:not(._4xP5N){background-color:rgba(50,54,58,.11);stroke-width:2}._KwdOg._4xP5N{cursor:not-allowed;fill:rgba(81,85,89,.6)}body.keyboard-user ._KwdOg:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4286
+ var css_248z$u = "._bDW87{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._bDW87:focus{outline:none}._bDW87:hover:not(._KhpH6){background-color:rgba(50,54,58,.08)}._bDW87:active:not(._KhpH6){background-color:rgba(50,54,58,.11);stroke-width:2}._bDW87._KhpH6{cursor:not-allowed;fill:rgba(81,85,89,.6)}._bDW87.focus-visible,._bDW87:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4287
+ var styles$s = {"button":"_bDW87","disabled":"_KhpH6"};
4288
+ var stylesheet$u="._bDW87{border-radius:4px;border:none;height:36px;width:36px;display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;cursor:pointer;fill:#515559;background-color:transparent;transition:background .2s,color .2s}._bDW87:focus{outline:none}._bDW87:hover:not(._KhpH6){background-color:rgba(50,54,58,.08)}._bDW87:active:not(._KhpH6){background-color:rgba(50,54,58,.11);stroke-width:2}._bDW87._KhpH6{cursor:not-allowed;fill:rgba(81,85,89,.6)}._bDW87.focus-visible,._bDW87:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
4265
4289
  icons_index.styleInject(css_248z$u);
4266
4290
 
4267
4291
  const sizePropInIconErrorMessage = 'Warning: The `Icon` prop `size` is invalid when used as a child of `IconButton`.';
@@ -4473,9 +4497,9 @@ const ConfigPane = _ref2 => {
4473
4497
  })));
4474
4498
  };
4475
4499
 
4476
- var css_248z$t = "._EXap3{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
4477
- var styles$r = {"divider":"_EXap3"};
4478
- var stylesheet$t="._EXap3{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
4500
+ var css_248z$t = "._dSRse{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
4501
+ var styles$r = {"divider":"_dSRse"};
4502
+ var stylesheet$t="._dSRse{border:none;height:1px;margin:0;flex-shrink:0;background-color:#e5e5e5}";
4479
4503
  icons_index.styleInject(css_248z$t);
4480
4504
 
4481
4505
  const Divider = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
@@ -4489,9 +4513,9 @@ const Divider = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
4489
4513
  }, rest));
4490
4514
  });
4491
4515
 
4492
- var css_248z$s = "._7-ZHd{max-width:100%;position:relative;display:inline-block}._Ws-D-{display:inline-flex;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #898989;border-radius:4px;height:36px;color:#515559;outline:none;cursor:pointer}._Ws-D-:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._Ws-D-:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._Ws-D-:disabled,._Ws-D-[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._Ws-D-._RFO6z{border-color:#b00}._Ws-D-._RFO6z:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._Ws-D-._uh0H-{min-width:120px;padding:0 4px 0 12px}._Ws-D-._mzUGQ{margin-top:4px}._Ws-D-._eCsXc:not([aria-disabled=true]):not(:disabled){color:#32363a}._Ws-D- ._3zwiR{display:inline-flex;align-items:center;min-height:10px}._Ws-D- ._3zwiR._04twc{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._Ws-D- ._N5uxj{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._Ws-D- ._N5uxj._tLQpp{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._Ws-D- ._N5uxj._05qrA{transform:rotate(-180deg)}._5o53U[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._aQR6Y{position:sticky;top:0;z-index:20;padding:4px 8px 8px!important;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;background-color:#fff!important}._TUWxX{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._agKVI{fill:#515559}._TH5YD{margin:2px 12px 2px 0}._TH5YD._1Xw1e>svg{border-color:#0b6ed0}._fdfa8{width:100%}";
4493
- var styles$q = {"container":"_7-ZHd","button":"_Ws-D-","invalid":"_RFO6z","hasText":"_uh0H-","labelled":"_mzUGQ","selected":"_eCsXc","buttonLabel":"_3zwiR","isString":"_04twc","icon":"_N5uxj","disabled":"_tLQpp","open":"_05qrA","option":"_5o53U","search":"_aQR6Y","emptyOption":"_TUWxX","searchIcon":"_agKVI","checkbox":"_TH5YD","highlighted":"_1Xw1e","searchInput":"_fdfa8"};
4494
- var stylesheet$s="._7-ZHd{max-width:100%;position:relative;display:inline-block}._Ws-D-{display:inline-flex;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #898989;border-radius:4px;height:36px;color:#515559;outline:none;cursor:pointer}._Ws-D-:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._Ws-D-:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._Ws-D-:disabled,._Ws-D-[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._Ws-D-._RFO6z{border-color:#b00}._Ws-D-._RFO6z:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._Ws-D-._uh0H-{min-width:120px;padding:0 4px 0 12px}._Ws-D-._mzUGQ{margin-top:4px}._Ws-D-._eCsXc:not([aria-disabled=true]):not(:disabled){color:#32363a}._Ws-D- ._3zwiR{display:inline-flex;align-items:center;min-height:10px}._Ws-D- ._3zwiR._04twc{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._Ws-D- ._N5uxj{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._Ws-D- ._N5uxj._tLQpp{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._Ws-D- ._N5uxj._05qrA{transform:rotate(-180deg)}._5o53U[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._aQR6Y{position:sticky;top:0;z-index:20;padding:4px 8px 8px!important;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;background-color:#fff!important}._TUWxX{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._agKVI{fill:#515559}._TH5YD{margin:2px 12px 2px 0}._TH5YD._1Xw1e>svg{border-color:#0b6ed0}._fdfa8{width:100%}";
4516
+ var css_248z$s = "._0puZb{max-width:100%;position:relative;display:inline-block}._9A1jZ{display:inline-flex;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #898989;border-radius:4px;height:36px;color:#515559;outline:none;cursor:pointer}._9A1jZ:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._9A1jZ:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._9A1jZ:disabled,._9A1jZ[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._9A1jZ._WC4c2{border-color:#b00}._9A1jZ._WC4c2:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._9A1jZ._mr7pg{min-width:120px;padding:0 4px 0 12px}._9A1jZ._OwbnT{margin-top:4px}._9A1jZ._PFuxm:not([aria-disabled=true]):not(:disabled){color:#32363a}._9A1jZ ._Boj6z{display:inline-flex;align-items:center;min-height:10px}._9A1jZ ._Boj6z._tnYB7{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._9A1jZ ._uoskl{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._9A1jZ ._uoskl._DxJuo{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._9A1jZ ._uoskl._i-Dpi{transform:rotate(-180deg)}._Qxr4c[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._JbR1-{position:-webkit-sticky;position:sticky;top:0;z-index:20;padding:4px 8px 8px!important;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;background-color:#fff!important}._HHLq3{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._uvP6B{fill:#515559}._u9puj{margin:2px 12px 2px 0}._u9puj._nhaaK>svg{border-color:#0b6ed0}._NQscp{width:100%}";
4517
+ var styles$q = {"container":"_0puZb","button":"_9A1jZ","invalid":"_WC4c2","hasText":"_mr7pg","labelled":"_OwbnT","selected":"_PFuxm","buttonLabel":"_Boj6z","isString":"_tnYB7","icon":"_uoskl","disabled":"_DxJuo","open":"_i-Dpi","option":"_Qxr4c","search":"_JbR1-","emptyOption":"_HHLq3","searchIcon":"_uvP6B","checkbox":"_u9puj","highlighted":"_nhaaK","searchInput":"_NQscp"};
4518
+ var stylesheet$s="._0puZb{max-width:100%;position:relative;display:inline-block}._9A1jZ{display:inline-flex;justify-content:space-between;align-items:center;background-color:#fafafa;border:1px solid #898989;border-radius:4px;height:36px;color:#515559;outline:none;cursor:pointer}._9A1jZ:hover:not([aria-disabled=true]){cursor:pointer;background-color:#f5f5f5}._9A1jZ:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;background-color:#fafafa}._9A1jZ:disabled,._9A1jZ[aria-disabled=true]{color:#74777a;border-color:#e5e5e5;cursor:not-allowed}._9A1jZ._WC4c2{border-color:#b00}._9A1jZ._WC4c2:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._9A1jZ._mr7pg{min-width:120px;padding:0 4px 0 12px}._9A1jZ._OwbnT{margin-top:4px}._9A1jZ._PFuxm:not([aria-disabled=true]):not(:disabled){color:#32363a}._9A1jZ ._Boj6z{display:inline-flex;align-items:center;min-height:10px}._9A1jZ ._Boj6z._tnYB7{line-height:20px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._9A1jZ ._uoskl{height:24px;width:24px;border-radius:4px;fill:#515559;flex-shrink:0;cursor:pointer}._9A1jZ ._uoskl._DxJuo{border-color:#e5e5e5;fill:#9d9fa1;opacity:.4;cursor:not-allowed}._9A1jZ ._uoskl._i-Dpi{transform:rotate(-180deg)}._Qxr4c[aria-disabled=true]{cursor:not-allowed;color:rgba(81,85,89,.65);fill:#9d9fa1}._JbR1-{position:-webkit-sticky;position:sticky;top:0;z-index:20;padding:4px 8px 8px!important;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;background-color:#fff!important}._HHLq3{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;background-color:#fff;font-size:14px;color:#32363a;word-break:break-word}._uvP6B{fill:#515559}._u9puj{margin:2px 12px 2px 0}._u9puj._nhaaK>svg{border-color:#0b6ed0}._NQscp{width:100%}";
4495
4519
  icons_index.styleInject(css_248z$s);
4496
4520
 
4497
4521
  const {
@@ -4500,6 +4524,7 @@ const {
4500
4524
  } = createContextUtilities({});
4501
4525
 
4502
4526
  const DropdownButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4527
+ var _ref2, _children$props$aria, _children$props, _ref3, _children$props$aria2, _children$props2, _ref4, _children$props$aria3, _children$props3, _children$props$tabIn, _children$props4, _children$props7, _children$props8;
4503
4528
  let {
4504
4529
  children,
4505
4530
  className,
@@ -4546,9 +4571,9 @@ const DropdownButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4546
4571
  helperTextId: formFieldHelperTextId,
4547
4572
  errorTextId: formFieldErrorTextId
4548
4573
  } = useFormFieldControl();
4549
- const ariaLabelledBy = children?.props?.['aria-labelledby'] ?? externalAriaLabelledBy ?? (dropdownAriaLabelledBy ? `${dropdownAriaLabelledBy} ${buttonId}` : undefined);
4550
- const ariaLabel = children?.props?.['aria-label'] ?? externalAriaLabel ?? (dropdownAriaLabel && typeof label === 'string' ? `${dropdownAriaLabel} ${label}` : dropdownAriaLabel);
4551
- const ariaDescribedby = concatIds(children?.props?.['aria-describedby'] ?? externalAriaDescribedBy ?? dropdownAriaDescribedby, formFieldHelperTextId, formFieldErrorTextId);
4574
+ const ariaLabelledBy = (_ref2 = (_children$props$aria = children === null || children === void 0 ? void 0 : (_children$props = children.props) === null || _children$props === void 0 ? void 0 : _children$props['aria-labelledby']) !== null && _children$props$aria !== void 0 ? _children$props$aria : externalAriaLabelledBy) !== null && _ref2 !== void 0 ? _ref2 : dropdownAriaLabelledBy ? "".concat(dropdownAriaLabelledBy, " ").concat(buttonId) : undefined;
4575
+ const ariaLabel = (_ref3 = (_children$props$aria2 = children === null || children === void 0 ? void 0 : (_children$props2 = children.props) === null || _children$props2 === void 0 ? void 0 : _children$props2['aria-label']) !== null && _children$props$aria2 !== void 0 ? _children$props$aria2 : externalAriaLabel) !== null && _ref3 !== void 0 ? _ref3 : dropdownAriaLabel && typeof label === 'string' ? "".concat(dropdownAriaLabel, " ").concat(label) : dropdownAriaLabel;
4576
+ const ariaDescribedby = concatIds((_ref4 = (_children$props$aria3 = children === null || children === void 0 ? void 0 : (_children$props3 = children.props) === null || _children$props3 === void 0 ? void 0 : _children$props3['aria-describedby']) !== null && _children$props$aria3 !== void 0 ? _children$props$aria3 : externalAriaDescribedBy) !== null && _ref4 !== void 0 ? _ref4 : dropdownAriaDescribedby, formFieldHelperTextId, formFieldErrorTextId);
4552
4577
  React.useEffect(() => {
4553
4578
  const selectedLabels = [];
4554
4579
  options.forEach(option => {
@@ -4560,12 +4585,13 @@ const DropdownButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4560
4585
  setLabel(selectedLabels.length > 0 ? selectedLabels.join(', ') : defaultLabel);
4561
4586
  }, [setLabel, options, defaultLabel]);
4562
4587
  React.useEffect(() => {
4563
- setMinWidth(buttonRef?.current?.offsetWidth);
4588
+ var _buttonRef$current;
4589
+ setMinWidth(buttonRef === null || buttonRef === void 0 ? void 0 : (_buttonRef$current = buttonRef.current) === null || _buttonRef$current === void 0 ? void 0 : _buttonRef$current.offsetWidth);
4564
4590
  });
4565
4591
  const isInvalid = isInvalidProp !== undefined ? isInvalidProp : dropdownIsInvalid;
4566
4592
  const handleClick = e => {
4567
- if (disabled ?? dropdownAriaDisabled) return;
4568
- onClick?.(e);
4593
+ if (disabled !== null && disabled !== void 0 ? disabled : dropdownAriaDisabled) return;
4594
+ onClick === null || onClick === void 0 ? void 0 : onClick(e);
4569
4595
  // Needed because some browsers don't focus on click
4570
4596
  e.currentTarget.focus();
4571
4597
  setIsOpen(currentIsOpen => {
@@ -4574,15 +4600,15 @@ const DropdownButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4574
4600
  });
4575
4601
  };
4576
4602
  const handleKeyDown = e => {
4577
- if (disabled ?? dropdownAriaDisabled) return;
4578
- onKeyDown?.(e);
4603
+ if (disabled !== null && disabled !== void 0 ? disabled : dropdownAriaDisabled) return;
4604
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
4579
4605
  onKeyDownButton(e);
4580
4606
  };
4581
4607
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, children ? /*#__PURE__*/React__default["default"].cloneElement(children, {
4582
- ref: mergeRefs(ref, children?.ref, buttonRef, dropdownButtonRef),
4608
+ ref: mergeRefs(ref, children === null || children === void 0 ? void 0 : children.ref, buttonRef, dropdownButtonRef),
4583
4609
  disabled: disabled || dropdownAriaDisabled,
4584
4610
  'aria-disabled': dropdownAriaDisabled,
4585
- tabIndex: children.props?.tabIndex ?? 0,
4611
+ tabIndex: (_children$props$tabIn = (_children$props4 = children.props) === null || _children$props4 === void 0 ? void 0 : _children$props4.tabIndex) !== null && _children$props$tabIn !== void 0 ? _children$props$tabIn : 0,
4586
4612
  role: 'button',
4587
4613
  'aria-expanded': isOpen,
4588
4614
  'aria-haspopup': 'listbox',
@@ -4592,15 +4618,17 @@ const DropdownButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4592
4618
  'aria-describedby': ariaDescribedby,
4593
4619
  id: buttonId,
4594
4620
  onFocus: e => {
4595
- children.props?.onFocus?.(e);
4596
- onFocus?.(e);
4621
+ var _children$props5, _children$props5$onFo;
4622
+ (_children$props5 = children.props) === null || _children$props5 === void 0 ? void 0 : (_children$props5$onFo = _children$props5.onFocus) === null || _children$props5$onFo === void 0 ? void 0 : _children$props5$onFo.call(_children$props5, e);
4623
+ onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
4597
4624
  },
4598
4625
  onBlur: e => {
4599
- children.props?.onBlur?.(e);
4600
- onBlur?.(e);
4626
+ var _children$props6, _children$props6$onBl;
4627
+ (_children$props6 = children.props) === null || _children$props6 === void 0 ? void 0 : (_children$props6$onBl = _children$props6.onBlur) === null || _children$props6$onBl === void 0 ? void 0 : _children$props6$onBl.call(_children$props6, e);
4628
+ onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
4601
4629
  },
4602
- onKeyDown: wrapEvent(children.props?.onKeyDown, handleKeyDown),
4603
- onClick: wrapEvent(children.props?.onClick, handleClick)
4630
+ onKeyDown: wrapEvent((_children$props7 = children.props) === null || _children$props7 === void 0 ? void 0 : _children$props7.onKeyDown, handleKeyDown),
4631
+ onClick: wrapEvent((_children$props8 = children.props) === null || _children$props8 === void 0 ? void 0 : _children$props8.onClick, handleClick)
4604
4632
  }) : /*#__PURE__*/React__default["default"].createElement("button", _extends__default["default"]({}, rest, {
4605
4633
  ref: mergeRefs(ref, buttonRef, dropdownButtonRef),
4606
4634
  type: "button",
@@ -4617,14 +4645,14 @@ const DropdownButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4617
4645
  [styles$q.hasText]: !!label,
4618
4646
  [styles$q.invalid]: isInvalid,
4619
4647
  [styles$q.labelled]: hasFormLabel,
4620
- [styles$q.selected]: externalLabel ?? isOptionSelected // defaultLabel has lighter text color
4648
+ [styles$q.selected]: externalLabel !== null && externalLabel !== void 0 ? externalLabel : isOptionSelected // defaultLabel has lighter text color
4621
4649
  }),
4622
4650
 
4623
4651
  onFocus: onFocus,
4624
4652
  onBlur: onBlur,
4625
4653
  onKeyDown: handleKeyDown,
4626
4654
  onClick: handleClick,
4627
- "data-testid": dataTestId ?? getSubDataTestId(contextDataTestId, 'button')
4655
+ "data-testid": dataTestId !== null && dataTestId !== void 0 ? dataTestId : getSubDataTestId(contextDataTestId, 'button')
4628
4656
  }), /*#__PURE__*/React__default["default"].createElement("span", {
4629
4657
  className: classNames__default["default"](styles$q.buttonLabel, {
4630
4658
  [styles$q.isString]: typeof label === 'string'
@@ -4633,7 +4661,7 @@ const DropdownButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4633
4661
  size: "medium",
4634
4662
  className: classNames__default["default"](styles$q.icon, {
4635
4663
  [styles$q.open]: isOpen,
4636
- [styles$q.disabled]: disabled ?? dropdownAriaDisabled
4664
+ [styles$q.disabled]: disabled !== null && disabled !== void 0 ? disabled : dropdownAriaDisabled
4637
4665
  }),
4638
4666
  "aria-hidden": "true"
4639
4667
  })));
@@ -4676,14 +4704,17 @@ function useDescendant(descendant, context, indexProp) {
4676
4704
  // index on the following render and we will re-register descendants
4677
4705
  // so that everything is up-to-date before the user interacts with a
4678
4706
  // collection.
4679
- const index = indexProp ?? descendants.findIndex(item => item.element === descendant.element);
4707
+ const index = indexProp !== null && indexProp !== void 0 ? indexProp : descendants.findIndex(item => item.element === descendant.element);
4680
4708
  const previousDescendants = usePrevious(descendants);
4681
4709
 
4682
4710
  // We also need to re-register descendants any time ANY of the other
4683
4711
  // descendants have changed. My brain was melting when I wrote this and it
4684
4712
  // feels a little off, but checking in render and using the result in the
4685
4713
  // effect's dependency array works well enough.
4686
- const someDescendantsHaveChanged = descendants.some((descendant, index) => descendant.element !== previousDescendants?.[index]?.element);
4714
+ const someDescendantsHaveChanged = descendants.some((descendant, index) => {
4715
+ var _previousDescendants$;
4716
+ return descendant.element !== (previousDescendants === null || previousDescendants === void 0 ? void 0 : (_previousDescendants$ = previousDescendants[index]) === null || _previousDescendants$ === void 0 ? void 0 : _previousDescendants$.element);
4717
+ });
4687
4718
 
4688
4719
  // Prevent any flashing
4689
4720
  useSSRLayoutEffect(() => {
@@ -4838,9 +4869,9 @@ function useChildIndex(_ref2) {
4838
4869
  }, ChildIndexContext);
4839
4870
  }
4840
4871
 
4841
- var css_248z$r = "._lHjbE{position:relative;display:inline-block;height:36px}._hNrui{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._hNrui:hover{cursor:pointer;background-color:#f5f5f5}._hNrui:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._hNrui:disabled,._hNrui[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._hNrui:disabled::-moz-placeholder,._hNrui[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._hNrui:disabled::placeholder,._hNrui[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._hNrui:invalid,._hNrui[aria-invalid=true]{border-color:#b00}._hNrui:invalid:focus,._hNrui[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._hNrui[type=number]{-moz-appearance:textfield}._hNrui[type=number]::-webkit-inner-spin-button,._hNrui[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._hNrui::-moz-placeholder{color:#515559;opacity:1}._hNrui::placeholder{color:#515559;opacity:1}._zdiP-{pointer-events:none;color:#515559;fill:#515559}._XRpyE{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._E4WLt{color:#515559;font-size:16px}._DvYmi{left:0;margin-left:6px}._DvYmi,._fyUFw{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._fyUFw{right:0;margin-right:6px}";
4842
- var inputClasses = {"container":"_lHjbE","input":"_hNrui","addOn":"_zdiP-","addOnVerticalCenter":"_XRpyE","addOnTextNode":"_E4WLt","leftAddOn":"_DvYmi","rightAddOn":"_fyUFw"};
4843
- var stylesheet$r="._lHjbE{position:relative;display:inline-block;height:36px}._hNrui{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._hNrui:hover{cursor:pointer;background-color:#f5f5f5}._hNrui:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._hNrui:disabled,._hNrui[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._hNrui:disabled::-moz-placeholder,._hNrui[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._hNrui:disabled::placeholder,._hNrui[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._hNrui:invalid,._hNrui[aria-invalid=true]{border-color:#b00}._hNrui:invalid:focus,._hNrui[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._hNrui[type=number]{-moz-appearance:textfield}._hNrui[type=number]::-webkit-inner-spin-button,._hNrui[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._hNrui::-moz-placeholder{color:#515559;opacity:1}._hNrui::placeholder{color:#515559;opacity:1}._zdiP-{pointer-events:none;color:#515559;fill:#515559}._XRpyE{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._E4WLt{color:#515559;font-size:16px}._DvYmi{left:0;margin-left:6px}._DvYmi,._fyUFw{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._fyUFw{right:0;margin-right:6px}";
4872
+ var css_248z$r = "._6lPJE{position:relative;display:inline-block;height:36px}._tf6zh{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._tf6zh:hover{cursor:pointer;background-color:#f5f5f5}._tf6zh:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._tf6zh:disabled,._tf6zh[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._tf6zh:disabled::-moz-placeholder,._tf6zh[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._tf6zh:disabled::placeholder,._tf6zh[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._tf6zh:invalid,._tf6zh[aria-invalid=true]{border-color:#b00}._tf6zh:invalid:focus,._tf6zh[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._tf6zh[type=number]{-moz-appearance:textfield}._tf6zh[type=number]::-webkit-inner-spin-button,._tf6zh[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._tf6zh::-moz-placeholder{color:#515559;opacity:1}._tf6zh::placeholder{color:#515559;opacity:1}._Ibm3C{pointer-events:none;color:#515559;fill:#515559}._AjGKm{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._Q50hL{color:#515559;font-size:16px}._Z3mmE{left:0;margin-left:6px}._3fpIl,._Z3mmE{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._3fpIl{right:0;margin-right:6px}";
4873
+ var inputClasses = {"container":"_6lPJE","input":"_tf6zh","addOn":"_Ibm3C","addOnVerticalCenter":"_AjGKm","addOnTextNode":"_Q50hL","leftAddOn":"_Z3mmE","rightAddOn":"_3fpIl"};
4874
+ var stylesheet$r="._6lPJE{position:relative;display:inline-block;height:36px}._tf6zh{width:100%;height:100%;padding:8px 12px;color:#32363a;caret-color:#32363a;font-size:14px;background-color:#fafafa;border:1px solid #898989;border-radius:4px;outline:none}._tf6zh:hover{cursor:pointer;background-color:#f5f5f5}._tf6zh:focus{background-color:#fafafa;cursor:text;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88;outline:none;border-color:transparent}._tf6zh:disabled,._tf6zh[aria-disabled=true]{background-color:#fafafa;border-color:#e5e5e5;color:#9d9fa1;-webkit-text-fill-color:#9d9fa1;cursor:not-allowed}._tf6zh:disabled::-moz-placeholder,._tf6zh[aria-disabled=true]::-moz-placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._tf6zh:disabled::placeholder,._tf6zh[aria-disabled=true]::placeholder{color:#aaabad;-webkit-text-fill-color:#aaabad}._tf6zh:invalid,._tf6zh[aria-invalid=true]{border-color:#b00}._tf6zh:invalid:focus,._tf6zh[aria-invalid=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000;border-color:transparent}._tf6zh[type=number]{-moz-appearance:textfield}._tf6zh[type=number]::-webkit-inner-spin-button,._tf6zh[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._tf6zh::-moz-placeholder{color:#515559;opacity:1}._tf6zh::placeholder{color:#515559;opacity:1}._Ibm3C{pointer-events:none;color:#515559;fill:#515559}._AjGKm{display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._Q50hL{color:#515559;font-size:16px}._Z3mmE{left:0;margin-left:6px}._3fpIl,._Z3mmE{pointer-events:none;color:#515559;fill:#515559;display:flex;flex-direction:column;align-items:center;position:absolute;top:50%;transform:translateY(-50%)}._3fpIl{right:0;margin-right:6px}";
4844
4875
  icons_index.styleInject(css_248z$r);
4845
4876
 
4846
4877
  const getAddOnComponent = (addOn, containerClassName, containerRef) => {
@@ -4903,8 +4934,8 @@ const Input = /*#__PURE__*/React.forwardRef((_ref, ref) => {
4903
4934
  onChange: onChange,
4904
4935
  className: inputClasses.input,
4905
4936
  style: {
4906
- paddingLeft: `${addOnWidths.leftAddOnWidth + ADD_ON_HORIZONTAL_PADDING}px`,
4907
- paddingRight: `${addOnWidths.rightAddOnWidth + ADD_ON_HORIZONTAL_PADDING}px`
4937
+ paddingLeft: "".concat(addOnWidths.leftAddOnWidth + ADD_ON_HORIZONTAL_PADDING, "px"),
4938
+ paddingRight: "".concat(addOnWidths.rightAddOnWidth + ADD_ON_HORIZONTAL_PADDING, "px")
4908
4939
  },
4909
4940
  ref: ref
4910
4941
  })), getAddOnComponent(rightAddOn, inputClasses.rightAddOn, rightAddOnRef));
@@ -4920,16 +4951,17 @@ const DropdownSearch = /*#__PURE__*/React__default["default"].forwardRef((_, ref
4920
4951
  const {
4921
4952
  isOpen,
4922
4953
  highlightedIndex,
4923
- setIsKeyboardUser,
4924
4954
  setHighlightedIndex,
4925
4955
  searchValue,
4926
4956
  setSearchValue,
4927
- isKeyboardUser,
4928
4957
  setSearchHeight,
4929
4958
  dataTestId,
4930
4959
  listboxId
4931
4960
  } = useDropdownContext();
4932
- const handleSelect = () => inputRef.current?.focus();
4961
+ const handleSelect = () => {
4962
+ var _inputRef$current;
4963
+ return (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus();
4964
+ };
4933
4965
  const myIndex = useChildIndex({
4934
4966
  element: internalRef.current,
4935
4967
  isVisible: true
@@ -4937,21 +4969,24 @@ const DropdownSearch = /*#__PURE__*/React__default["default"].forwardRef((_, ref
4937
4969
  const isHighlighted = React.useMemo(() => highlightedIndex === myIndex && myIndex !== -1, [highlightedIndex, myIndex]);
4938
4970
  React.useEffect(() => {
4939
4971
  // for keyboard navigation
4940
- if (isHighlighted && isKeyboardUser) {
4941
- inputRef.current?.focus();
4972
+ if (isHighlighted) {
4973
+ var _inputRef$current2;
4974
+ (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.focus();
4942
4975
  }
4943
- }, [isHighlighted, isKeyboardUser]);
4976
+ }, [isHighlighted]);
4944
4977
  React.useEffect(() => {
4945
4978
  // for initial open with mouse
4946
4979
  if (isHighlighted && isOpen) {
4947
- inputRef.current?.focus();
4980
+ var _inputRef$current3;
4981
+ (_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 ? void 0 : _inputRef$current3.focus();
4948
4982
  }
4949
4983
  // Omitted `isHighlighted` because we don't want to focus the input on mouse enter.
4950
4984
  // eslint-disable-next-line react-hooks/exhaustive-deps
4951
4985
  }, [isOpen]);
4952
4986
  React.useEffect(() => {
4953
4987
  if (isOpen) {
4954
- setSearchHeight(internalRef.current?.offsetHeight);
4988
+ var _internalRef$current;
4989
+ setSearchHeight((_internalRef$current = internalRef.current) === null || _internalRef$current === void 0 ? void 0 : _internalRef$current.offsetHeight);
4955
4990
  }
4956
4991
  }, [isOpen, setSearchHeight]);
4957
4992
  const handleKeyDown = e => {
@@ -4967,7 +5002,6 @@ const DropdownSearch = /*#__PURE__*/React__default["default"].forwardRef((_, ref
4967
5002
  };
4968
5003
  const handleMouseEnter = () => {
4969
5004
  setHighlightedIndex(myIndex);
4970
- setIsKeyboardUser(false);
4971
5005
  };
4972
5006
  const handleMouseLeave = () => {
4973
5007
  setHighlightedIndex(-1);
@@ -5033,8 +5067,8 @@ const DropdownList = /*#__PURE__*/React__default["default"].forwardRef((_ref, re
5033
5067
  translate
5034
5068
  } = useTranslation();
5035
5069
  const noMatchesText = React.useMemo(() => isSearchable && translate('noMatchesFound'), [isSearchable, translate]);
5036
- const ariaLabelledby = externalAriaLabelledBy ?? ariaLabelledByFromContext;
5037
- const ariaLabel = externalAriaLabel ?? ariaLabelFromContext;
5070
+ const ariaLabelledby = externalAriaLabelledBy !== null && externalAriaLabelledBy !== void 0 ? externalAriaLabelledBy : ariaLabelledByFromContext;
5071
+ const ariaLabel = externalAriaLabel !== null && externalAriaLabel !== void 0 ? externalAriaLabel : ariaLabelFromContext;
5038
5072
  const announceToScreenReader = useScreenReaderAnnouncement('assertive');
5039
5073
  const showNoResults = React.useMemo(() => options.filter(option => option.isVisible).length === 1,
5040
5074
  // 1 to include the search box entry
@@ -5065,14 +5099,14 @@ const DropdownList = /*#__PURE__*/React__default["default"].forwardRef((_ref, re
5065
5099
  "aria-labelledby": ariaLabelledby,
5066
5100
  hidden: !isOpen,
5067
5101
  onKeyDown: e => {
5068
- onKeyDown?.(e);
5102
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
5069
5103
  onKeyDownList(e);
5070
5104
  },
5071
5105
  style: {
5072
5106
  minWidth,
5073
5107
  ...style
5074
5108
  },
5075
- "data-testid": dataTestId ?? getSubDataTestId(contextDataTestId, 'flyout')
5109
+ "data-testid": dataTestId !== null && dataTestId !== void 0 ? dataTestId : getSubDataTestId(contextDataTestId, 'flyout')
5076
5110
  }), isSearchable && /*#__PURE__*/React__default["default"].createElement(DropdownSearch, null), /*#__PURE__*/React__default["default"].createElement("div", {
5077
5111
  id: listboxId,
5078
5112
  role: "listbox",
@@ -5089,6 +5123,7 @@ const DropdownList = /*#__PURE__*/React__default["default"].forwardRef((_ref, re
5089
5123
  });
5090
5124
 
5091
5125
  const Dropdown = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
5126
+ var _ref2, _dropdownButton$props, _dropdownButton$props2, _dropdownButton$props3, _dropdownList$props$i, _dropdownList$props;
5092
5127
  let {
5093
5128
  className,
5094
5129
  children,
@@ -5123,7 +5158,7 @@ const Dropdown = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
5123
5158
  const [searchHeight, setSearchHeight] = React.useState();
5124
5159
  React__default["default"].Children.forEach(children, child => {
5125
5160
  if ( /*#__PURE__*/React__default["default"].isValidElement(child)) {
5126
- switch (child?.type) {
5161
+ switch (child === null || child === void 0 ? void 0 : child.type) {
5127
5162
  case DropdownButton:
5128
5163
  dropdownButton = child;
5129
5164
  break;
@@ -5136,12 +5171,11 @@ const Dropdown = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
5136
5171
  }
5137
5172
  });
5138
5173
  const containerId = useId(id);
5139
- const buttonId = dropdownButton.props.children?.props?.id ?? dropdownButton.props.id ?? `${containerId}-button`;
5140
- const dialogId = dropdownList.props?.id ?? `${containerId}-list`;
5141
- const listboxId = `${containerId}-listbox`;
5174
+ const buttonId = (_ref2 = (_dropdownButton$props = (_dropdownButton$props2 = dropdownButton.props.children) === null || _dropdownButton$props2 === void 0 ? void 0 : (_dropdownButton$props3 = _dropdownButton$props2.props) === null || _dropdownButton$props3 === void 0 ? void 0 : _dropdownButton$props3.id) !== null && _dropdownButton$props !== void 0 ? _dropdownButton$props : dropdownButton.props.id) !== null && _ref2 !== void 0 ? _ref2 : "".concat(containerId, "-button");
5175
+ const dialogId = (_dropdownList$props$i = (_dropdownList$props = dropdownList.props) === null || _dropdownList$props === void 0 ? void 0 : _dropdownList$props.id) !== null && _dropdownList$props$i !== void 0 ? _dropdownList$props$i : "".concat(containerId, "-list");
5176
+ const listboxId = "".concat(containerId, "-listbox");
5142
5177
  const [isOpen, setIsOpen] = useControllableState(false, onIsOpenChange, externalIsOpen);
5143
5178
  const [value, setValue] = useControllableState(defaultValue, onChange, externalValue);
5144
- const [isKeyboardUser, setIsKeyboardUser] = React.useState(false);
5145
5179
  const [selectedIndex, setSelectedIndex] = React.useState(0);
5146
5180
  const [highlightedIndex, setHighlightedIndex] = useControllableState(-1, onHighlightedIndexChange, externalHighlightedIndex);
5147
5181
  const [minWidth, setMinWidth] = React.useState();
@@ -5161,8 +5195,9 @@ const Dropdown = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
5161
5195
  let currentIndex = (highlightedIndex + 1) % options.length; // start at next index
5162
5196
  let count = 0;
5163
5197
  while (count < options.length) {
5198
+ var _option$label;
5164
5199
  const option = options[currentIndex];
5165
- if (option.label?.toLowerCase().startsWith(lowerCaseChar)) {
5200
+ if ((_option$label = option.label) !== null && _option$label !== void 0 && _option$label.toLowerCase().startsWith(lowerCaseChar)) {
5166
5201
  index = currentIndex;
5167
5202
  break;
5168
5203
  }
@@ -5175,8 +5210,9 @@ const Dropdown = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
5175
5210
  }
5176
5211
  };
5177
5212
  const selectHighlightedItem = e => {
5213
+ var _option$handleSelect;
5178
5214
  const option = options[highlightedIndex];
5179
- option?.handleSelect?.(e);
5215
+ option === null || option === void 0 ? void 0 : (_option$handleSelect = option.handleSelect) === null || _option$handleSelect === void 0 ? void 0 : _option$handleSelect.call(option, e);
5180
5216
  };
5181
5217
  useClickOutside([buttonRef, listRef], handleClose);
5182
5218
  React.useEffect(() => {
@@ -5196,13 +5232,13 @@ const Dropdown = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
5196
5232
  return valueArray;
5197
5233
  });
5198
5234
  } else {
5235
+ var _buttonRef$current;
5199
5236
  setValue(newValue);
5200
5237
  handleClose();
5201
- buttonRef.current?.focus();
5238
+ (_buttonRef$current = buttonRef.current) === null || _buttonRef$current === void 0 ? void 0 : _buttonRef$current.focus();
5202
5239
  }
5203
5240
  }, [isMultiSelect, handleClose, setValue]);
5204
5241
  const onKeyDownButton = e => {
5205
- setIsKeyboardUser(true);
5206
5242
  let newHighlightedIndex;
5207
5243
  if (disabled) return;
5208
5244
  switch (e.key) {
@@ -5238,7 +5274,7 @@ const Dropdown = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
5238
5274
  }
5239
5275
  };
5240
5276
  const onKeyDownList = e => {
5241
- setIsKeyboardUser(true);
5277
+ var _buttonRef$current2, _buttonRef$current3;
5242
5278
  let newHighlightedIndex;
5243
5279
  if (disabled) return;
5244
5280
  switch (e.key) {
@@ -5279,12 +5315,12 @@ const Dropdown = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
5279
5315
  // close, focus button, and don't let event bubble up
5280
5316
  e.stopPropagation();
5281
5317
  handleClose();
5282
- buttonRef.current?.focus();
5318
+ (_buttonRef$current2 = buttonRef.current) === null || _buttonRef$current2 === void 0 ? void 0 : _buttonRef$current2.focus();
5283
5319
  break;
5284
5320
  case 'Tab':
5285
5321
  // close and focus next focusable element
5286
5322
  handleClose();
5287
- buttonRef.current?.focus();
5323
+ (_buttonRef$current3 = buttonRef.current) === null || _buttonRef$current3 === void 0 ? void 0 : _buttonRef$current3.focus();
5288
5324
  break;
5289
5325
  case 'PageUp':
5290
5326
  case 'Home':
@@ -5336,8 +5372,6 @@ const Dropdown = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
5336
5372
  ariaLabelledBy,
5337
5373
  ariaLabel,
5338
5374
  ariaDescribedby,
5339
- isKeyboardUser,
5340
- setIsKeyboardUser,
5341
5375
  isSearchable,
5342
5376
  isSearchFilteringDisabled,
5343
5377
  searchValue,
@@ -5386,9 +5420,9 @@ const DropdownHeader = /*#__PURE__*/React__default["default"].forwardRef((_ref,
5386
5420
  }, commonProps), children) : /*#__PURE__*/React__default["default"].createElement("div", commonProps, children));
5387
5421
  });
5388
5422
 
5389
- var css_248z$q = "._P3W9B{display:inline-flex;position:relative}._P3W9B,._WhHhb{cursor:pointer;height:16px;width:16px}._WhHhb{position:absolute;opacity:0;z-index:10}._WhHhb._xx8cf~._Gs8Uj>._u57zS{fill-opacity:1}._WhHhb._xx8cf~._Gs8Uj{border-color:transparent;background-color:#0b6ed0}._WhHhb._xx8cf~._Gs8Uj>._u57zS{fill:#fff}._WhHhb._xx8cf:hover~._Gs8Uj{background-color:#085caf}._WhHhb:not(._xx8cf):hover~._Gs8Uj{border-color:#0b6ed0}._WhHhb._3-9FU{cursor:not-allowed}._WhHhb._3-9FU~._Gs8Uj{opacity:.4}._Gs8Uj{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._u57zS{fill:#0b6ed0;fill-opacity:0}";
5390
- var styles$p = {"checkbox":"_P3W9B","input":"_WhHhb","checked":"_xx8cf","check":"_Gs8Uj","checkIcon":"_u57zS","disabled":"_3-9FU"};
5391
- var stylesheet$q="._P3W9B{display:inline-flex;position:relative}._P3W9B,._WhHhb{cursor:pointer;height:16px;width:16px}._WhHhb{position:absolute;opacity:0;z-index:10}._WhHhb._xx8cf~._Gs8Uj>._u57zS{fill-opacity:1}._WhHhb._xx8cf~._Gs8Uj{border-color:transparent;background-color:#0b6ed0}._WhHhb._xx8cf~._Gs8Uj>._u57zS{fill:#fff}._WhHhb._xx8cf:hover~._Gs8Uj{background-color:#085caf}._WhHhb:not(._xx8cf):hover~._Gs8Uj{border-color:#0b6ed0}._WhHhb._3-9FU{cursor:not-allowed}._WhHhb._3-9FU~._Gs8Uj{opacity:.4}._Gs8Uj{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._u57zS{fill:#0b6ed0;fill-opacity:0}";
5423
+ var css_248z$q = "._FY3g9{display:inline-flex;position:relative}._FY3g9,._sv-vr{cursor:pointer;height:16px;width:16px}._sv-vr{position:absolute;opacity:0;z-index:10}._sv-vr._6UjZM~._Xv4Z3>._Vlh3K{fill-opacity:1}._sv-vr._6UjZM~._Xv4Z3{border-color:transparent;background-color:#0b6ed0}._sv-vr._6UjZM~._Xv4Z3>._Vlh3K{fill:#fff}._sv-vr._6UjZM:hover~._Xv4Z3{background-color:#085caf}._sv-vr:not(._6UjZM):hover~._Xv4Z3{border-color:#0b6ed0}._sv-vr._loRI8{cursor:not-allowed}._sv-vr._loRI8~._Xv4Z3{opacity:.4}._Xv4Z3{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._Vlh3K{fill:#0b6ed0;fill-opacity:0}";
5424
+ var styles$p = {"checkbox":"_FY3g9","input":"_sv-vr","checked":"_6UjZM","check":"_Xv4Z3","checkIcon":"_Vlh3K","disabled":"_loRI8"};
5425
+ var stylesheet$q="._FY3g9{display:inline-flex;position:relative}._FY3g9,._sv-vr{cursor:pointer;height:16px;width:16px}._sv-vr{position:absolute;opacity:0;z-index:10}._sv-vr._6UjZM~._Xv4Z3>._Vlh3K{fill-opacity:1}._sv-vr._6UjZM~._Xv4Z3{border-color:transparent;background-color:#0b6ed0}._sv-vr._6UjZM~._Xv4Z3>._Vlh3K{fill:#fff}._sv-vr._6UjZM:hover~._Xv4Z3{background-color:#085caf}._sv-vr:not(._6UjZM):hover~._Xv4Z3{border-color:#0b6ed0}._sv-vr._loRI8{cursor:not-allowed}._sv-vr._loRI8~._Xv4Z3{opacity:.4}._Xv4Z3{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0}._Vlh3K{fill:#0b6ed0;fill-opacity:0}";
5392
5426
  icons_index.styleInject(css_248z$q);
5393
5427
 
5394
5428
  // Internal only component, used with Dropdown and SelectMenu multiselects.
@@ -5438,8 +5472,6 @@ const DropdownOption = /*#__PURE__*/React__default["default"].forwardRef((_ref,
5438
5472
  onOptionSelected,
5439
5473
  setHighlightedIndex,
5440
5474
  listRef,
5441
- isKeyboardUser,
5442
- setIsKeyboardUser,
5443
5475
  searchValue,
5444
5476
  isSearchFilteringDisabled,
5445
5477
  isSearchable,
@@ -5453,7 +5485,7 @@ const DropdownOption = /*#__PURE__*/React__default["default"].forwardRef((_ref,
5453
5485
  return isSearchFilteringDisabled || !label || !searchValue || typeof label === 'string' && _includesInstanceProperty__default["default"](_context = label.toLowerCase()).call(_context, searchValue.toLowerCase());
5454
5486
  }, [isSearchFilteringDisabled, label, searchValue]);
5455
5487
  React.useEffect(() => {
5456
- setVisibleChildIds?.(visibleChildIds => {
5488
+ setVisibleChildIds === null || setVisibleChildIds === void 0 ? void 0 : setVisibleChildIds(visibleChildIds => {
5457
5489
  const duplicateSet = new Set(visibleChildIds);
5458
5490
  if (isVisible) {
5459
5491
  return duplicateSet.add(value);
@@ -5480,7 +5512,8 @@ const DropdownOption = /*#__PURE__*/React__default["default"].forwardRef((_ref,
5480
5512
  const isHighlighted = highlightedIndex === myIndex && myIndex !== -1;
5481
5513
  React.useEffect(() => {
5482
5514
  if (isHighlighted) {
5483
- if (isKeyboardUser && isOpen && internalRef?.current && listRef?.current && listRef.current?.scrollHeight > listRef.current?.clientHeight) {
5515
+ var _listRef$current, _listRef$current2, _internalRef$current;
5516
+ if (isOpen && internalRef !== null && internalRef !== void 0 && internalRef.current && listRef !== null && listRef !== void 0 && listRef.current && ((_listRef$current = listRef.current) === null || _listRef$current === void 0 ? void 0 : _listRef$current.scrollHeight) > ((_listRef$current2 = listRef.current) === null || _listRef$current2 === void 0 ? void 0 : _listRef$current2.clientHeight)) {
5484
5517
  const scrollBottom = listRef.current.clientHeight + listRef.current.scrollTop;
5485
5518
  const elementBottom = internalRef.current.offsetTop + internalRef.current.offsetHeight;
5486
5519
  if (elementBottom > scrollBottom) {
@@ -5489,11 +5522,11 @@ const DropdownOption = /*#__PURE__*/React__default["default"].forwardRef((_ref,
5489
5522
  listRef.current.scrollTop = internalRef.current.offsetTop - (isSearchable ? searchHeight : 0);
5490
5523
  }
5491
5524
  }
5492
- internalRef.current?.focus({
5525
+ (_internalRef$current = internalRef.current) === null || _internalRef$current === void 0 ? void 0 : _internalRef$current.focus({
5493
5526
  preventScroll: true
5494
5527
  });
5495
5528
  }
5496
- }, [isHighlighted, isKeyboardUser, isOpen, listRef, isSearchable, searchHeight]);
5529
+ }, [isHighlighted, isOpen, listRef, isSearchable, searchHeight]);
5497
5530
  return isOpen && isVisible ? /*#__PURE__*/React__default["default"].createElement(FlyoutOption, _extends__default["default"]({}, rest, {
5498
5531
  className: classNames__default["default"](className, styles$q.option),
5499
5532
  ref: mergeRefs(internalRef, ref),
@@ -5504,7 +5537,6 @@ const DropdownOption = /*#__PURE__*/React__default["default"].forwardRef((_ref,
5504
5537
  "aria-disabled": disabled,
5505
5538
  onMouseDown: wrapEvent(onMouseDown, e => e.preventDefault()),
5506
5539
  onMouseEnter: wrapEvent(onMouseEnter, () => {
5507
- setIsKeyboardUser(false);
5508
5540
  setHighlightedIndex(myIndex);
5509
5541
  }),
5510
5542
  onMouseLeave: wrapEvent(onMouseLeave, () => setHighlightedIndex(-1))
@@ -5519,9 +5551,9 @@ const DropdownOption = /*#__PURE__*/React__default["default"].forwardRef((_ref,
5519
5551
  });
5520
5552
  });
5521
5553
 
5522
- var css_248z$p = "._IBQHZ{position:relative}._c8dMm{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._l-ZqU{margin-left:16px;font-size:14px;color:#32363a}._l-ZqU ._iD0Wb{margin-right:16px}";
5523
- var filePickerStyles = {"container":"_IBQHZ","fileInput":"_c8dMm","fileDetails":"_l-ZqU","fileName":"_iD0Wb"};
5524
- var stylesheet$p="._IBQHZ{position:relative}._c8dMm{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._l-ZqU{margin-left:16px;font-size:14px;color:#32363a}._l-ZqU ._iD0Wb{margin-right:16px}";
5554
+ var css_248z$p = "._zuuNz{position:relative}._zuuNz[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._zuuNz:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._mDaRv{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._GjFbw{margin-left:16px;font-size:14px;color:#32363a}._GjFbw ._VXejk{margin-right:16px}";
5555
+ var filePickerStyles = {"container":"_zuuNz","fileInput":"_mDaRv","fileDetails":"_GjFbw","fileName":"_VXejk"};
5556
+ var stylesheet$p="._zuuNz{position:relative}._zuuNz[focus-within] button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._zuuNz:focus-within button{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._mDaRv{opacity:0;position:absolute;height:36px;width:100%;left:0;z-index:-1}._GjFbw{margin-left:16px;font-size:14px;color:#32363a}._GjFbw ._VXejk{margin-right:16px}";
5525
5557
  icons_index.styleInject(css_248z$p);
5526
5558
 
5527
5559
  const FileDetails = _ref => {
@@ -5556,12 +5588,11 @@ const FilePicker = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref
5556
5588
  const {
5557
5589
  translate
5558
5590
  } = useTranslation();
5559
- const [isInputFocused, setIsInputFocused] = React.useState(false);
5560
5591
  const [filesChanged, setFilesChanged] = React.useState(false);
5561
5592
  const [files, setFiles] = useControllableState(undefined, undefined, externalFiles);
5562
5593
  const fileInputId = useId(externalId);
5563
- const fileDetailsId = `${fileInputId}-fileDetails`;
5564
- const buttonId = `${fileInputId}-button`;
5594
+ const fileDetailsId = "".concat(fileInputId, "-fileDetails");
5595
+ const buttonId = "".concat(fileInputId, "-button");
5565
5596
  const fileInputRef = React.useRef(null);
5566
5597
  const buttonRef = React.useRef(null);
5567
5598
 
@@ -5573,12 +5604,13 @@ const FilePicker = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref
5573
5604
 
5574
5605
  // returns focus to input after closing system dialog
5575
5606
  useDidUpdate(() => {
5576
- fileInputRef.current?.focus();
5607
+ var _fileInputRef$current;
5608
+ (_fileInputRef$current = fileInputRef.current) === null || _fileInputRef$current === void 0 ? void 0 : _fileInputRef$current.focus();
5577
5609
  }, [filesChanged]);
5578
5610
  const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId);
5579
5611
  const handleChange = e => {
5580
5612
  setFiles(e.target.files, e);
5581
- onChange?.(e);
5613
+ onChange === null || onChange === void 0 ? void 0 : onChange(e);
5582
5614
  // This is needed due to CFE-508
5583
5615
  setFilesChanged(val => !val);
5584
5616
  };
@@ -5596,13 +5628,16 @@ const FilePicker = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref
5596
5628
  }, /*#__PURE__*/React__default["default"].createElement(Button, {
5597
5629
  disabled: disabled,
5598
5630
  kind: "secondary",
5599
- onClick: () => fileInputRef.current?.click(),
5631
+ onClick: () => {
5632
+ var _fileInputRef$current2;
5633
+ return (_fileInputRef$current2 = fileInputRef.current) === null || _fileInputRef$current2 === void 0 ? void 0 : _fileInputRef$current2.click();
5634
+ },
5600
5635
  tabIndex: -1,
5601
- className: classNames__default["default"]({
5602
- [buttonStyles.keyboardFocused]: isInputFocused
5603
- }),
5604
5636
  ref: buttonRef,
5605
- onFocus: () => fileInputRef.current?.focus(),
5637
+ onFocus: () => {
5638
+ var _fileInputRef$current3;
5639
+ return (_fileInputRef$current3 = fileInputRef.current) === null || _fileInputRef$current3 === void 0 ? void 0 : _fileInputRef$current3.focus();
5640
+ },
5606
5641
  id: buttonId,
5607
5642
  "aria-hidden": true
5608
5643
  }, buttonLabel), /*#__PURE__*/React__default["default"].createElement("input", _extends__default["default"]({}, rest, {
@@ -5613,8 +5648,6 @@ const FilePicker = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref
5613
5648
  onChange: disabled ? undefined : handleChange,
5614
5649
  ref: mergeRefs(fileInputRef, ref),
5615
5650
  type: "file",
5616
- onFocus: () => setIsInputFocused(true),
5617
- onBlur: () => setIsInputFocused(false),
5618
5651
  "aria-label": ariaLabel,
5619
5652
  id: fileInputId,
5620
5653
  "aria-labelledby": ariaLabelledBy,
@@ -5625,14 +5658,14 @@ const FilePicker = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref
5625
5658
  }));
5626
5659
  });
5627
5660
 
5628
- var css_248z$o = "._1Vojz{display:flex;flex-direction:column;align-items:flex-start}._gWN-I{margin-top:6px;max-width:100%}._gWN-I *+*{margin-top:4px}";
5629
- var styles$o = {"formField":"_1Vojz","captionContainer":"_gWN-I"};
5630
- var stylesheet$o="._1Vojz{display:flex;flex-direction:column;align-items:flex-start}._gWN-I{margin-top:6px;max-width:100%}._gWN-I *+*{margin-top:4px}";
5661
+ var css_248z$o = "._Yd7Hx{display:flex;flex-direction:column;align-items:flex-start}._F8xit{margin-top:6px;max-width:100%}._F8xit *+*{margin-top:4px}";
5662
+ var styles$o = {"formField":"_Yd7Hx","captionContainer":"_F8xit"};
5663
+ var stylesheet$o="._Yd7Hx{display:flex;flex-direction:column;align-items:flex-start}._F8xit{margin-top:6px;max-width:100%}._F8xit *+*{margin-top:4px}";
5631
5664
  icons_index.styleInject(css_248z$o);
5632
5665
 
5633
- var css_248z$n = "._v65AR{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._maK-P{color:#74777a;fill:#74777a}._OlxXl{color:#b00;fill:#b00}._2E-hT,._spocL{margin-left:-2px;margin-right:3px}";
5634
- var styles$n = {"caption":"_v65AR","helperText":"_maK-P","errorText":"_OlxXl","errorIcon":"_2E-hT","readOnlyIcon":"_spocL"};
5635
- var stylesheet$n="._v65AR{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._maK-P{color:#74777a;fill:#74777a}._OlxXl{color:#b00;fill:#b00}._2E-hT,._spocL{margin-left:-2px;margin-right:3px}";
5666
+ var css_248z$n = "._-wver{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._IioSN{color:#74777a;fill:#74777a}._ewz3v{color:#b00;fill:#b00}._4vVvE,._AABoa{margin-left:-2px;margin-right:3px}";
5667
+ var styles$n = {"caption":"_-wver","helperText":"_IioSN","errorText":"_ewz3v","errorIcon":"_AABoa","readOnlyIcon":"_4vVvE"};
5668
+ var stylesheet$n="._-wver{display:flex;align-items:center;font-size:12px;line-height:16px;min-height:16px}._IioSN{color:#74777a;fill:#74777a}._ewz3v{color:#b00;fill:#b00}._4vVvE,._AABoa{margin-left:-2px;margin-right:3px}";
5636
5669
  icons_index.styleInject(css_248z$n);
5637
5670
 
5638
5671
  const HelperText = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
@@ -5699,8 +5732,8 @@ const FormField = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
5699
5732
  const [hasLabel, setHasLabel] = React.useState(false);
5700
5733
  const [formFieldType, setFormFieldType] = React.useState('');
5701
5734
  const containerId = useId(externalId);
5702
- const helperTextId = helperText ? `${containerId}-helper-text` : undefined;
5703
- const errorTextId = errorText ? `${containerId}-error-text` : undefined;
5735
+ const helperTextId = helperText ? "".concat(containerId, "-helper-text") : undefined;
5736
+ const errorTextId = errorText ? "".concat(containerId, "-error-text") : undefined;
5704
5737
  return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
5705
5738
  ref: mergeRefs(ref, focusRef),
5706
5739
  className: classNames__default["default"](className, {
@@ -5731,9 +5764,9 @@ const FormField = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
5731
5764
  }, errorText)) : null);
5732
5765
  });
5733
5766
 
5734
- var css_248z$m = "._XFKIn{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _VMdEP{0%{transform:scale3d(.7,.7,.7);opacity:0}}._Bg63N{animation:_VMdEP both;animation-duration:.2s}@keyframes _7QZlI{to{transform:scale3d(.7,.7,.7);opacity:0}}._ZGzul{animation:_7QZlI both;animation-duration:.2s}";
5735
- var styles$m = {"dialog":"_XFKIn","transitionIn":"_Bg63N","showAnimation":"_VMdEP","transitionOut":"_ZGzul","hideAnimation":"_7QZlI"};
5736
- var stylesheet$m="._XFKIn{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _VMdEP{0%{transform:scale3d(.7,.7,.7);opacity:0}}._Bg63N{animation:_VMdEP both;animation-duration:.2s}@keyframes _7QZlI{to{transform:scale3d(.7,.7,.7);opacity:0}}._ZGzul{animation:_7QZlI both;animation-duration:.2s}";
5767
+ var css_248z$m = "._46s5L{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _jNA2r{0%{transform:scale3d(.7,.7,.7);opacity:0}}._GnAV3{animation:_jNA2r both;animation-duration:.2s}@keyframes _FaBW-{to{transform:scale3d(.7,.7,.7);opacity:0}}._wEFcZ{animation:_FaBW- both;animation-duration:.2s}";
5768
+ var styles$m = {"dialog":"_46s5L","transitionIn":"_GnAV3","showAnimation":"_jNA2r","transitionOut":"_wEFcZ","hideAnimation":"_FaBW-"};
5769
+ var stylesheet$m="._46s5L{position:fixed;left:0;top:0;width:100vw;height:100vh;background-color:#fff;overflow:auto}@keyframes _jNA2r{0%{transform:scale3d(.7,.7,.7);opacity:0}}._GnAV3{animation:_jNA2r both;animation-duration:.2s}@keyframes _FaBW-{to{transform:scale3d(.7,.7,.7);opacity:0}}._wEFcZ{animation:_FaBW- both;animation-duration:.2s}";
5737
5770
  icons_index.styleInject(css_248z$m);
5738
5771
 
5739
5772
  const FullScreenTakeover = /*#__PURE__*/React.forwardRef((_ref, ref) => {
@@ -5766,14 +5799,16 @@ const FullScreenTakeover = /*#__PURE__*/React.forwardRef((_ref, ref) => {
5766
5799
  React.useEffect(() => {
5767
5800
  // If `focusedElementWhenDialogOpened` has been set, then we know that the element has been opened at least once. Without this check, the component will focus `elementRefToFocusOnClose` on page load.
5768
5801
  if (!isInDOM && focusedElementWhenDialogOpened) {
5769
- const elementToFocus = elementRefToFocusOnClose?.current ?? focusedElementWhenDialogOpened;
5770
- elementToFocus?.focus();
5802
+ var _elementRefToFocusOnC;
5803
+ const elementToFocus = (_elementRefToFocusOnC = elementRefToFocusOnClose === null || elementRefToFocusOnClose === void 0 ? void 0 : elementRefToFocusOnClose.current) !== null && _elementRefToFocusOnC !== void 0 ? _elementRefToFocusOnC : focusedElementWhenDialogOpened;
5804
+ elementToFocus === null || elementToFocus === void 0 ? void 0 : elementToFocus.focus();
5771
5805
  }
5772
5806
  // eslint-disable-next-line react-hooks/exhaustive-deps
5773
5807
  }, [isInDOM, focusedElementWhenDialogOpened]);
5774
5808
  const handleAnimationEnd = () => {
5775
5809
  if (isOpen) {
5776
- (elementRefToFocusOnOpen?.current ?? dialogRef?.current)?.focus();
5810
+ var _ref2, _elementRefToFocusOnO;
5811
+ (_ref2 = (_elementRefToFocusOnO = elementRefToFocusOnOpen === null || elementRefToFocusOnOpen === void 0 ? void 0 : elementRefToFocusOnOpen.current) !== null && _elementRefToFocusOnO !== void 0 ? _elementRefToFocusOnO : dialogRef === null || dialogRef === void 0 ? void 0 : dialogRef.current) === null || _ref2 === void 0 ? void 0 : _ref2.focus();
5777
5812
  } else {
5778
5813
  setIsInDOM(false);
5779
5814
  }
@@ -5816,7 +5851,7 @@ const deprecated = {
5816
5851
  function deprecationWarning(type) {
5817
5852
  if (deprecated[type]) {
5818
5853
  // eslint-disable-next-line no-console
5819
- console.warn(`"IconTypes.${type}" has been deprecated! Use "IconTypes.${deprecated[type]}" instead.`);
5854
+ console.warn("\"IconTypes.".concat(type, "\" has been deprecated! Use \"IconTypes.").concat(deprecated[type], "\" instead."));
5820
5855
  }
5821
5856
  }
5822
5857
  const Icon = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
@@ -5826,7 +5861,7 @@ const Icon = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
5826
5861
  ...rest
5827
5862
  } = _ref;
5828
5863
  // eslint-disable-next-line no-console
5829
- console.warn(`<Icon> component is deprecated! Use individual icon components from the @qualtrics/ui-react/icons import path instead`, type);
5864
+ console.warn("<Icon> component is deprecated! Use individual icon components from the @qualtrics/ui-react/icons import path instead", type);
5830
5865
  deprecationWarning(type);
5831
5866
  const svgContent = componentStyles.IconData[deprecated[type] || type];
5832
5867
  const pixels = IconSizes[size];
@@ -6314,9 +6349,9 @@ var IconTypes = {
6314
6349
  WorkingFromHome: 'WorkingFromHome'
6315
6350
  };
6316
6351
 
6317
- var css_248z$l = "._N-Gm4{display:inline-block}._-CuK1{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._-CuK1::-moz-selection{background-color:rgba(11,110,208,.11)}._-CuK1::selection{background-color:rgba(11,110,208,.11)}._-CuK1:focus,._-CuK1:hover{background-color:#f5f5f5}._-CuK1:focus{border:2px solid #0a3f88;padding:3px}._-CuK1:focus._BElH7{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
6318
- var styles$l = {"container":"_N-Gm4","inlineInput":"_-CuK1","isEditing":"_BElH7"};
6319
- var stylesheet$l="._N-Gm4{display:inline-block}._-CuK1{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._-CuK1::-moz-selection{background-color:rgba(11,110,208,.11)}._-CuK1::selection{background-color:rgba(11,110,208,.11)}._-CuK1:focus,._-CuK1:hover{background-color:#f5f5f5}._-CuK1:focus{border:2px solid #0a3f88;padding:3px}._-CuK1:focus._BElH7{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
6352
+ var css_248z$l = "._Zad4U{display:inline-block}._h-Q9X{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._h-Q9X::-moz-selection{background-color:rgba(11,110,208,.11)}._h-Q9X::selection{background-color:rgba(11,110,208,.11)}._h-Q9X:focus,._h-Q9X:hover{background-color:#f5f5f5}._h-Q9X:focus{border:2px solid #0a3f88;padding:3px}._h-Q9X:focus._oauQC{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
6353
+ var styles$l = {"container":"_Zad4U","inlineInput":"_h-Q9X","isEditing":"_oauQC"};
6354
+ var stylesheet$l="._Zad4U{display:inline-block}._h-Q9X{color:#085caf;cursor:pointer;font-size:14px;box-sizing:border-box;padding:4px;margin:-5px;outline:0;border:1px solid transparent;border-radius:4px;background-clip:padding-box;display:block}._h-Q9X::-moz-selection{background-color:rgba(11,110,208,.11)}._h-Q9X::selection{background-color:rgba(11,110,208,.11)}._h-Q9X:focus,._h-Q9X:hover{background-color:#f5f5f5}._h-Q9X:focus{border:2px solid #0a3f88;padding:3px}._h-Q9X:focus._oauQC{background-color:#fafafa;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 1px 8px hsla(0,0%,66.7%,.5)}";
6320
6355
  icons_index.styleInject(css_248z$l);
6321
6356
 
6322
6357
  const InlineInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
@@ -6341,19 +6376,19 @@ const InlineInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
6341
6376
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
6342
6377
  // @ts-ignore: Property 'value' does not exist on type 'HTMLSpanElement'
6343
6378
  e.target.value = newVal;
6344
- onChange?.(e);
6379
+ onChange === null || onChange === void 0 ? void 0 : onChange(e);
6345
6380
  setLastVal(newVal);
6346
6381
  }
6347
6382
  });
6348
6383
  const handleBlur = e => {
6349
6384
  setIsEditing(false);
6350
6385
  e.target.value = e.target.innerText;
6351
- onBlur?.(e);
6386
+ onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
6352
6387
  };
6353
6388
  const handleFocus = e => {
6354
6389
  setIsEditing(true);
6355
6390
  e.target.value = e.target.innerText;
6356
- onFocus?.(e);
6391
+ onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
6357
6392
  };
6358
6393
  const handleKeyDown = e => {
6359
6394
  if (e.key === 'Enter') {
@@ -6364,13 +6399,13 @@ const InlineInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
6364
6399
  e.stopPropagation(); // prevent event from closing modals or popovers
6365
6400
  setIsEditing(false);
6366
6401
  }
6367
- onKeyDown?.(e);
6402
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
6368
6403
  };
6369
6404
  const handleMouseDown = e => {
6370
6405
  if (isFocused) {
6371
6406
  setIsEditing(true);
6372
6407
  }
6373
- onMouseDown?.(e);
6408
+ onMouseDown === null || onMouseDown === void 0 ? void 0 : onMouseDown(e);
6374
6409
  };
6375
6410
  const handlePaste = e => {
6376
6411
  // Strip formatting and newlines from pasted data
@@ -6378,7 +6413,7 @@ const InlineInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
6378
6413
  e.preventDefault(); // prevent paste and manually insert text after stripping formatting
6379
6414
  const text = e.clipboardData.getData('text').replace(/[\n\r]/g, ' ');
6380
6415
  const selection = window.getSelection();
6381
- const range = selection?.getRangeAt(0);
6416
+ const range = selection === null || selection === void 0 ? void 0 : selection.getRangeAt(0);
6382
6417
  if (range && selection) {
6383
6418
  range.deleteContents();
6384
6419
  const textNode = document.createTextNode(text);
@@ -6393,13 +6428,16 @@ const InlineInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
6393
6428
  };
6394
6429
  useDidUpdate(() => {
6395
6430
  if (typeof window !== 'undefined') {
6431
+ var _window$getSelection2;
6396
6432
  if (isEditing && isFocused && internalRef.current) {
6397
- window.getSelection()?.selectAllChildren(internalRef.current);
6433
+ var _window$getSelection;
6434
+ (_window$getSelection = window.getSelection()) === null || _window$getSelection === void 0 ? void 0 : _window$getSelection.selectAllChildren(internalRef.current);
6398
6435
  }
6399
6436
  // Clear window selection only if it is on the InlineInput. Without this check, we would mistakenly clear the
6400
6437
  // selection after focus moves from this component to an Input or another component that sets the window selection.
6401
- else if (internalRef.current && window.getSelection()?.containsNode(internalRef.current, true)) {
6402
- window.getSelection()?.removeAllRanges();
6438
+ else if (internalRef.current && (_window$getSelection2 = window.getSelection()) !== null && _window$getSelection2 !== void 0 && _window$getSelection2.containsNode(internalRef.current, true)) {
6439
+ var _window$getSelection3;
6440
+ (_window$getSelection3 = window.getSelection()) === null || _window$getSelection3 === void 0 ? void 0 : _window$getSelection3.removeAllRanges();
6403
6441
  }
6404
6442
  }
6405
6443
  }, [isEditing, isFocused]);
@@ -6434,9 +6472,9 @@ const InlineInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
6434
6472
  }), defaultValue));
6435
6473
  });
6436
6474
 
6437
- var css_248z$k = "._CT103{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._CT103._Q2Xhh{height:26px;min-height:26px;padding:5px 8px}._wFX9z{display:flex;align-items:stretch}._wFX9z._c3Zd-{width:100%}._wFX9z ._pzkOZ{margin:0;position:relative;flex-shrink:0;z-index:10}._wFX9z ._pzkOZ:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._wFX9z ._pzkOZ:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._wFX9z ._pzkOZ:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._wFX9z ._pzkOZ:last-child,._wFX9z ._pzkOZ:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._wFX9z ._pzkOZ:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._wFX9z ._pzkOZ._6AQf3{flex-shrink:1;min-width:40px;z-index:0}._wFX9z ._pzkOZ._6AQf3._c3Zd-{flex-grow:1}._wFX9z ._pzkOZ:focus{z-index:20}";
6438
- var styles$k = {"addon":"_CT103","small":"_Q2Xhh","inputGroup":"_wFX9z","full":"_c3Zd-","inputGroupElement":"_pzkOZ","input":"_6AQf3"};
6439
- var stylesheet$k="._CT103{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._CT103._Q2Xhh{height:26px;min-height:26px;padding:5px 8px}._wFX9z{display:flex;align-items:stretch}._wFX9z._c3Zd-{width:100%}._wFX9z ._pzkOZ{margin:0;position:relative;flex-shrink:0;z-index:10}._wFX9z ._pzkOZ:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._wFX9z ._pzkOZ:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._wFX9z ._pzkOZ:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._wFX9z ._pzkOZ:last-child,._wFX9z ._pzkOZ:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._wFX9z ._pzkOZ:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._wFX9z ._pzkOZ._6AQf3{flex-shrink:1;min-width:40px;z-index:0}._wFX9z ._pzkOZ._6AQf3._c3Zd-{flex-grow:1}._wFX9z ._pzkOZ:focus{z-index:20}";
6475
+ var css_248z$k = "._nqeU0{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._nqeU0._PtJ4X{height:26px;min-height:26px;padding:5px 8px}._lxped{display:flex;align-items:stretch}._lxped._h6tUf{width:100%}._lxped ._D3saP{margin:0;position:relative;flex-shrink:0;z-index:10}._lxped ._D3saP:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._lxped ._D3saP:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._lxped ._D3saP:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._lxped ._D3saP:last-child,._lxped ._D3saP:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._lxped ._D3saP:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._lxped ._D3saP._GPjFc{flex-shrink:1;min-width:40px;z-index:0}._lxped ._D3saP._GPjFc._h6tUf{flex-grow:1}._lxped ._D3saP:focus{z-index:20}";
6476
+ var styles$k = {"addon":"_nqeU0","small":"_PtJ4X","inputGroup":"_lxped","full":"_h6tUf","inputGroupElement":"_D3saP","input":"_GPjFc"};
6477
+ var stylesheet$k="._nqeU0{border:1px solid #898989;border-radius:4px;height:36px;min-height:36px;color:#6a6d70;fill:#6a6d70;background-color:#fafafa;font-size:14px;display:inline-flex;justify-content:center;align-items:center;line-height:1;padding:0 13px}._nqeU0._PtJ4X{height:26px;min-height:26px;padding:5px 8px}._lxped{display:flex;align-items:stretch}._lxped._h6tUf{width:100%}._lxped ._D3saP{margin:0;position:relative;flex-shrink:0;z-index:10}._lxped ._D3saP:first-child{margin:0 -1px 0 0;border-top-left-radius:4px;border-bottom-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0}._lxped ._D3saP:not(:last-child):not(:first-child){margin:0 -1px 0 0;border-radius:0}._lxped ._D3saP:last-child{border-top-left-radius:0;border-bottom-left-radius:0}._lxped ._D3saP:last-child,._lxped ._D3saP:only-child{margin:0;border-top-right-radius:4px;border-bottom-right-radius:4px}._lxped ._D3saP:only-child{border-top-left-radius:4px;border-bottom-left-radius:4px}._lxped ._D3saP._GPjFc{flex-shrink:1;min-width:40px;z-index:0}._lxped ._D3saP._GPjFc._h6tUf{flex-grow:1}._lxped ._D3saP:focus{z-index:20}";
6440
6478
  icons_index.styleInject(css_248z$k);
6441
6479
 
6442
6480
  const InputGroup = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
@@ -6481,9 +6519,9 @@ const InputGroupAddon = /*#__PURE__*/React__default["default"].forwardRef((_ref,
6481
6519
  }), children);
6482
6520
  });
6483
6521
 
6484
- var css_248z$j = "._P2cCU{color:#0b6ed0;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto;text-underline-offset:3px;border-radius:1px}._P2cCU:active:focus,._P2cCU:focus{outline:none}._P2cCU:visited{color:#0854a1}._P2cCU:hover{color:#085caf}._P2cCU:active{color:#0854a1}body.keyboard-user ._P2cCU:active:focus,body.keyboard-user ._P2cCU:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
6485
- var styles$j = {"link":"_P2cCU"};
6486
- var stylesheet$j="._P2cCU{color:#0b6ed0;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto;text-underline-offset:3px;border-radius:1px}._P2cCU:active:focus,._P2cCU:focus{outline:none}._P2cCU:visited{color:#0854a1}._P2cCU:hover{color:#085caf}._P2cCU:active{color:#0854a1}body.keyboard-user ._P2cCU:active:focus,body.keyboard-user ._P2cCU:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
6522
+ var css_248z$j = "._ryU-6{color:#0b6ed0;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto;text-underline-offset:3px;border-radius:1px}._ryU-6:active:focus,._ryU-6:focus{outline:none}._ryU-6:visited{color:#0854a1}._ryU-6:hover{color:#085caf}._ryU-6:active{color:#0854a1}._ryU-6.focus-visible,._ryU-6:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
6523
+ var styles$j = {"link":"_ryU-6"};
6524
+ var stylesheet$j="._ryU-6{color:#0b6ed0;cursor:pointer;text-decoration:underline;text-decoration-thickness:1px;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto;text-underline-offset:3px;border-radius:1px}._ryU-6:active:focus,._ryU-6:focus{outline:none}._ryU-6:visited{color:#0854a1}._ryU-6:hover{color:#085caf}._ryU-6:active{color:#0854a1}._ryU-6.focus-visible,._ryU-6:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
6487
6525
  icons_index.styleInject(css_248z$j);
6488
6526
 
6489
6527
  const Link = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
@@ -6505,9 +6543,9 @@ const Link = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
6505
6543
  }), children);
6506
6544
  });
6507
6545
 
6508
- var css_248z$i = "._K-1V1{width:100%}._132Vd{display:flex;align-items:center}._1pLtQ{display:flex;flex-wrap:wrap;grid-gap:4px}._1pLtQ :nth-last-child(2){margin-right:42px}._aoa-3{position:relative;padding-left:32px;padding-top:16px;display:flex}._Ms-Uj ._aoa-3{padding-top:0;padding-left:16px}._Ms-Uj ._aoa-3+._aoa-3{margin-top:16px}._GSq7X{position:absolute;left:16px;top:0;height:34px;width:16px;border-left:1px solid #c2c2c2;border-bottom:1px solid #c2c2c2;border-bottom-left-radius:4px}._Ms-Uj ._aoa-3:first-of-type ._GSq7X{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._Ms-Uj ._GSq7X{top:-16px;left:0}._Ms-Uj ._aoa-3:not(:first-of-type):not(:last-of-type) ._GSq7X{border-bottom-left-radius:0}._x1xR0{margin-left:-46px}._pHBCw{margin:0 2px 0 4px}body._VHviF ._pHBCw{outline-width:2px}._GOCCp{margin-left:4px}";
6509
- var styles$i = {"set":"_K-1V1","setWrapper":"_132Vd","condition":"_1pLtQ","branch":"_aoa-3","fixedSet":"_Ms-Uj","connection":"_GSq7X","conditionControlsContainer":"_x1xR0","controls":"_pHBCw","keyboard-user":"_VHviF","controlMenuItem":"_GOCCp"};
6510
- var stylesheet$i="._K-1V1{width:100%}._132Vd{display:flex;align-items:center}._1pLtQ{display:flex;flex-wrap:wrap;grid-gap:4px}._1pLtQ :nth-last-child(2){margin-right:42px}._aoa-3{position:relative;padding-left:32px;padding-top:16px;display:flex}._Ms-Uj ._aoa-3{padding-top:0;padding-left:16px}._Ms-Uj ._aoa-3+._aoa-3{margin-top:16px}._GSq7X{position:absolute;left:16px;top:0;height:34px;width:16px;border-left:1px solid #c2c2c2;border-bottom:1px solid #c2c2c2;border-bottom-left-radius:4px}._Ms-Uj ._aoa-3:first-of-type ._GSq7X{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._Ms-Uj ._GSq7X{top:-16px;left:0}._Ms-Uj ._aoa-3:not(:first-of-type):not(:last-of-type) ._GSq7X{border-bottom-left-radius:0}._x1xR0{margin-left:-46px}._pHBCw{margin:0 2px 0 4px}body._VHviF ._pHBCw{outline-width:2px}._GOCCp{margin-left:4px}";
6546
+ var css_248z$i = "._anGvB{width:100%}._GkeQO{display:flex;align-items:center}._ihMVI{display:flex;flex-wrap:wrap;grid-gap:4px}._ihMVI :nth-last-child(2){margin-right:42px}._Lh4xl{position:relative;padding-left:32px;padding-top:16px;display:flex}._dTAXK ._Lh4xl{padding-top:0;padding-left:16px}._dTAXK ._Lh4xl+._Lh4xl{margin-top:16px}._Cvd5Y{position:absolute;left:16px;top:0;height:34px;width:16px;border-left:1px solid #c2c2c2;border-bottom:1px solid #c2c2c2;border-bottom-left-radius:4px}._dTAXK ._Lh4xl:first-of-type ._Cvd5Y{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._dTAXK ._Cvd5Y{top:-16px;left:0}._dTAXK ._Lh4xl:not(:first-of-type):not(:last-of-type) ._Cvd5Y{border-bottom-left-radius:0}._BUIhz{margin-left:-46px}._AAChe{margin:0 2px 0 4px}._AAChe.focus-visible,._AAChe:focus-visible{outline-width:2px}._2DHUW{margin-left:4px}";
6547
+ var styles$i = {"set":"_anGvB","setWrapper":"_GkeQO","condition":"_ihMVI","branch":"_Lh4xl","fixedSet":"_dTAXK","connection":"_Cvd5Y","conditionControlsContainer":"_BUIhz","controls":"_AAChe","controlMenuItem":"_2DHUW"};
6548
+ var stylesheet$i="._anGvB{width:100%}._GkeQO{display:flex;align-items:center}._ihMVI{display:flex;flex-wrap:wrap;grid-gap:4px}._ihMVI :nth-last-child(2){margin-right:42px}._Lh4xl{position:relative;padding-left:32px;padding-top:16px;display:flex}._dTAXK ._Lh4xl{padding-top:0;padding-left:16px}._dTAXK ._Lh4xl+._Lh4xl{margin-top:16px}._Cvd5Y{position:absolute;left:16px;top:0;height:34px;width:16px;border-left:1px solid #c2c2c2;border-bottom:1px solid #c2c2c2;border-bottom-left-radius:4px}._dTAXK ._Lh4xl:first-of-type ._Cvd5Y{top:16px;border-bottom:none;border-bottom-left-radius:0;border-top:1px solid #c2c2c2;border-top-left-radius:4px}._dTAXK ._Cvd5Y{top:-16px;left:0}._dTAXK ._Lh4xl:not(:first-of-type):not(:last-of-type) ._Cvd5Y{border-bottom-left-radius:0}._BUIhz{margin-left:-46px}._AAChe{margin:0 2px 0 4px}._AAChe.focus-visible,._AAChe:focus-visible{outline-width:2px}._2DHUW{margin-left:4px}";
6511
6549
  icons_index.styleInject(css_248z$i);
6512
6550
 
6513
6551
  /* eslint-disable @typescript-eslint/no-use-before-define */
@@ -6538,7 +6576,8 @@ function constructValidDefaultState(_ref) {
6538
6576
  return clone;
6539
6577
  }
6540
6578
  function fixedSetHasNoConditions(defaultValue, fixedSet) {
6541
- return fixedSet && defaultValue && (!defaultValue?.conditions || !(defaultValue?.conditions?.length >= 1));
6579
+ var _defaultValue$conditi;
6580
+ return fixedSet && defaultValue && (!(defaultValue !== null && defaultValue !== void 0 && defaultValue.conditions) || !((defaultValue === null || defaultValue === void 0 ? void 0 : (_defaultValue$conditi = defaultValue.conditions) === null || _defaultValue$conditi === void 0 ? void 0 : _defaultValue$conditi.length) >= 1));
6542
6581
  }
6543
6582
  function ensureFixedSetHasOneCondition(defaultValue, fixedSet) {
6544
6583
  if (fixedSetHasNoConditions(defaultValue, fixedSet)) {
@@ -6680,9 +6719,9 @@ const ConditionContainer = function ConditionContainer(_ref) {
6680
6719
  }), conditionControls);
6681
6720
  };
6682
6721
 
6683
- var css_248z$h = "._U1XkP._U1XkP{min-width:0;max-width:100%;padding:0 4px 0 12px;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;justify-content:space-between;text-align:left;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559}._U1XkP._U1XkP,._U1XkP._U1XkP ._H1cdY{display:inline-flex;align-items:center}._U1XkP._U1XkP ._H1cdY{overflow:hidden;text-overflow:ellipsis}._U1XkP._U1XkP._9RUCO{min-height:26px;height:26px}._U1XkP._U1XkP._wUaej{color:#32363a}._U1XkP._U1XkP:hover:not([aria-disabled=true]){background-color:#f5f5f5}._U1XkP._U1XkP:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._U1XkP._U1XkP[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._U1XkP._U1XkP[aria-disabled=true]>svg{fill:#515559;opacity:.4}._U1XkP._U1XkP[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._U1XkP._U1XkP._0EWcW{padding-left:0}._U1XkP._U1XkP._qNWqL{margin-top:4px}._U1XkP._U1XkP ._8QH9d{fill:#515559}._U1XkP._U1XkP ._8QH9d._9RUCO{top:0}._U1XkP._U1XkP ._8QH9d._lNePL{transform:rotate(-180deg)}._-84p-{margin:0;font-size:14px;color:#32363a;fill:#32363a;list-style:none;min-width:160px;max-width:350px;min-height:10px;max-height:99%;background:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._-84p-::-webkit-scrollbar,._-84p-::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._-84p-::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._-84p-::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._-84p-:hover::-webkit-scrollbar,._-84p-:hover::-webkit-scrollbar-thumb,._-84p-[focus-within]::-webkit-scrollbar,._-84p-[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._-84p-:focus-within::-webkit-scrollbar,._-84p-:focus-within::-webkit-scrollbar-thumb,._-84p-:hover::-webkit-scrollbar,._-84p-:hover::-webkit-scrollbar-thumb{visibility:visible}._gzq-c{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._gzq-c[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._gzq-c._gYQhA{background-color:#efefef}._gzq-c._AtFuS{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._gzq-c._wUaej{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._gzq-c._wUaej._gYQhA{background-color:#e4effa}._gzq-c._wr-Vf{cursor:default}._gzq-c:active:not(._Pe3pU):not(._wUaej):not([aria-disabled=true]):not(._wr-Vf){background-color:#e8e9e9}._Pe3pU{padding-right:32px}._Pe3pU ._8QH9d{position:absolute;top:8px;right:3px;fill:#515559}._MlTkS{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;position:sticky;top:0;z-index:20;background-color:#fff}._LV2hf{position:absolute;top:13px;left:13px}._pECLP._pECLP{padding-left:32px}._7Xd-e{margin:2px 12px 2px 0;flex-shrink:0}._7Xd-e._epHWn>svg{border-color:#0b6ed0}._5-tu4{display:flex;justify-self:center;margin:8px}";
6684
- var styles$h = {"menuBtn":"_U1XkP","menuBtnLabel":"_H1cdY","small":"_9RUCO","selected":"_wUaej","unlabelledButton":"_0EWcW","formLabelled":"_qNWqL","rightIcon":"_8QH9d","open":"_lNePL","contentPane":"_-84p-","menuItem":"_gzq-c","active":"_gYQhA","focus":"_AtFuS","noMenuItems":"_wr-Vf","subMenu":"_Pe3pU","searchBox":"_MlTkS","searchBoxIcon":"_LV2hf","searchBoxInput":"_pECLP","checkbox":"_7Xd-e","highlighted":"_epHWn","menuSpinner":"_5-tu4"};
6685
- var stylesheet$h="._U1XkP._U1XkP{min-width:0;max-width:100%;padding:0 4px 0 12px;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;justify-content:space-between;text-align:left;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559}._U1XkP._U1XkP,._U1XkP._U1XkP ._H1cdY{display:inline-flex;align-items:center}._U1XkP._U1XkP ._H1cdY{overflow:hidden;text-overflow:ellipsis}._U1XkP._U1XkP._9RUCO{min-height:26px;height:26px}._U1XkP._U1XkP._wUaej{color:#32363a}._U1XkP._U1XkP:hover:not([aria-disabled=true]){background-color:#f5f5f5}._U1XkP._U1XkP:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._U1XkP._U1XkP[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._U1XkP._U1XkP[aria-disabled=true]>svg{fill:#515559;opacity:.4}._U1XkP._U1XkP[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._U1XkP._U1XkP._0EWcW{padding-left:0}._U1XkP._U1XkP._qNWqL{margin-top:4px}._U1XkP._U1XkP ._8QH9d{fill:#515559}._U1XkP._U1XkP ._8QH9d._9RUCO{top:0}._U1XkP._U1XkP ._8QH9d._lNePL{transform:rotate(-180deg)}._-84p-{margin:0;font-size:14px;color:#32363a;fill:#32363a;list-style:none;min-width:160px;max-width:350px;min-height:10px;max-height:99%;background:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._-84p-::-webkit-scrollbar,._-84p-::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._-84p-::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._-84p-::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._-84p-:hover::-webkit-scrollbar,._-84p-:hover::-webkit-scrollbar-thumb,._-84p-[focus-within]::-webkit-scrollbar,._-84p-[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._-84p-:focus-within::-webkit-scrollbar,._-84p-:focus-within::-webkit-scrollbar-thumb,._-84p-:hover::-webkit-scrollbar,._-84p-:hover::-webkit-scrollbar-thumb{visibility:visible}._gzq-c{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._gzq-c[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._gzq-c._gYQhA{background-color:#efefef}._gzq-c._AtFuS{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._gzq-c._wUaej{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._gzq-c._wUaej._gYQhA{background-color:#e4effa}._gzq-c._wr-Vf{cursor:default}._gzq-c:active:not(._Pe3pU):not(._wUaej):not([aria-disabled=true]):not(._wr-Vf){background-color:#e8e9e9}._Pe3pU{padding-right:32px}._Pe3pU ._8QH9d{position:absolute;top:8px;right:3px;fill:#515559}._MlTkS{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;position:sticky;top:0;z-index:20;background-color:#fff}._LV2hf{position:absolute;top:13px;left:13px}._pECLP._pECLP{padding-left:32px}._7Xd-e{margin:2px 12px 2px 0;flex-shrink:0}._7Xd-e._epHWn>svg{border-color:#0b6ed0}._5-tu4{display:flex;justify-self:center;margin:8px}";
6722
+ var css_248z$h = "._60mfK._60mfK{min-width:0;max-width:100%;padding:0 4px 0 12px;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;justify-content:space-between;text-align:left;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559}._60mfK._60mfK,._60mfK._60mfK ._wGBb3{display:inline-flex;align-items:center}._60mfK._60mfK ._wGBb3{overflow:hidden;text-overflow:ellipsis}._60mfK._60mfK._naGrE{min-height:26px;height:26px}._60mfK._60mfK._ZvVGR{color:#32363a}._60mfK._60mfK:hover:not([aria-disabled=true]){background-color:#f5f5f5}._60mfK._60mfK:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._60mfK._60mfK[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._60mfK._60mfK[aria-disabled=true]>svg{fill:#515559;opacity:.4}._60mfK._60mfK[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._60mfK._60mfK._cikaT{padding-left:0}._60mfK._60mfK._xR8IM{margin-top:4px}._60mfK._60mfK ._hmZF5{fill:#515559}._60mfK._60mfK ._hmZF5._naGrE{top:0}._60mfK._60mfK ._hmZF5._SBAGM{transform:rotate(-180deg)}._-g0t4{margin:0;font-size:14px;color:#32363a;fill:#32363a;list-style:none;min-width:160px;max-width:350px;min-height:10px;max-height:99%;background:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._-g0t4::-webkit-scrollbar,._-g0t4::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._-g0t4::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._-g0t4::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._-g0t4:hover::-webkit-scrollbar,._-g0t4:hover::-webkit-scrollbar-thumb,._-g0t4[focus-within]::-webkit-scrollbar,._-g0t4[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._-g0t4:focus-within::-webkit-scrollbar,._-g0t4:focus-within::-webkit-scrollbar-thumb,._-g0t4:hover::-webkit-scrollbar,._-g0t4:hover::-webkit-scrollbar-thumb{visibility:visible}._RsVxs{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._RsVxs[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._RsVxs._DKBC6{background-color:#efefef}._RsVxs._M70bO{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._RsVxs._ZvVGR{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._RsVxs._ZvVGR._DKBC6{background-color:#e4effa}._RsVxs._TJUMw{cursor:default}._RsVxs:active:not(._-DBWB):not(._ZvVGR):not([aria-disabled=true]):not(._TJUMw){background-color:#e8e9e9}._-DBWB{padding-right:32px}._-DBWB ._hmZF5{position:absolute;top:8px;right:3px;fill:#515559}._AYlq7{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;position:-webkit-sticky;position:sticky;top:0;z-index:20;background-color:#fff}._AAP-Y{position:absolute;top:13px;left:13px}._jHpj7._jHpj7{padding-left:32px}._xsdFo{margin:2px 12px 2px 0;flex-shrink:0}._xsdFo._rwIGj>svg{border-color:#0b6ed0}._GOSTK{display:flex;justify-self:center;margin:8px}";
6723
+ var styles$h = {"menuBtn":"_60mfK","menuBtnLabel":"_wGBb3","small":"_naGrE","selected":"_ZvVGR","unlabelledButton":"_cikaT","formLabelled":"_xR8IM","rightIcon":"_hmZF5","open":"_SBAGM","contentPane":"_-g0t4","menuItem":"_RsVxs","active":"_DKBC6","focus":"_M70bO","noMenuItems":"_TJUMw","subMenu":"_-DBWB","searchBox":"_AYlq7","searchBoxIcon":"_AAP-Y","searchBoxInput":"_jHpj7","checkbox":"_xsdFo","highlighted":"_rwIGj","menuSpinner":"_GOSTK"};
6724
+ var stylesheet$h="._60mfK._60mfK{min-width:0;max-width:100%;padding:0 4px 0 12px;white-space:nowrap;line-height:20px;font-size:14px;cursor:pointer;justify-content:space-between;text-align:left;outline:none;background-color:#fafafa;border:none;box-shadow:inset 0 0 0 1px #898989;border-radius:4px;height:36px;color:#515559;fill:#515559}._60mfK._60mfK,._60mfK._60mfK ._wGBb3{display:inline-flex;align-items:center}._60mfK._60mfK ._wGBb3{overflow:hidden;text-overflow:ellipsis}._60mfK._60mfK._naGrE{min-height:26px;height:26px}._60mfK._60mfK._ZvVGR{color:#32363a}._60mfK._60mfK:hover:not([aria-disabled=true]){background-color:#f5f5f5}._60mfK._60mfK:focus{background-color:#fafafa;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._60mfK._60mfK[aria-disabled=true]{box-shadow:inset 0 0 0 1px #e5e5e5;color:#74777a;cursor:not-allowed}._60mfK._60mfK[aria-disabled=true]>svg{fill:#515559;opacity:.4}._60mfK._60mfK[aria-disabled=true]:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._60mfK._60mfK._cikaT{padding-left:0}._60mfK._60mfK._xR8IM{margin-top:4px}._60mfK._60mfK ._hmZF5{fill:#515559}._60mfK._60mfK ._hmZF5._naGrE{top:0}._60mfK._60mfK ._hmZF5._SBAGM{transform:rotate(-180deg)}._-g0t4{margin:0;font-size:14px;color:#32363a;fill:#32363a;list-style:none;min-width:160px;max-width:350px;min-height:10px;max-height:99%;background:#fff;border:1px solid #eee;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._-g0t4::-webkit-scrollbar,._-g0t4::-webkit-scrollbar-thumb{visibility:hidden;width:8px;border-radius:4px}._-g0t4::-webkit-scrollbar{background-color:rgba(0,0,0,.06)}._-g0t4::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.4)}._-g0t4:hover::-webkit-scrollbar,._-g0t4:hover::-webkit-scrollbar-thumb,._-g0t4[focus-within]::-webkit-scrollbar,._-g0t4[focus-within]::-webkit-scrollbar-thumb{visibility:visible}._-g0t4:focus-within::-webkit-scrollbar,._-g0t4:focus-within::-webkit-scrollbar-thumb,._-g0t4:hover::-webkit-scrollbar,._-g0t4:hover::-webkit-scrollbar-thumb{visibility:visible}._RsVxs{position:relative;padding:10px 12px;min-height:40px;display:flex;flex-direction:row;align-items:center;cursor:pointer;outline:none;word-break:break-word}._RsVxs[aria-disabled=true]{cursor:not-allowed;color:rgba(50,54,58,.65);fill:rgba(50,54,58,.65)}._RsVxs._DKBC6{background-color:#efefef}._RsVxs._M70bO{box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._RsVxs._ZvVGR{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._RsVxs._ZvVGR._DKBC6{background-color:#e4effa}._RsVxs._TJUMw{cursor:default}._RsVxs:active:not(._-DBWB):not(._ZvVGR):not([aria-disabled=true]):not(._TJUMw){background-color:#e8e9e9}._-DBWB{padding-right:32px}._-DBWB ._hmZF5{position:absolute;top:8px;right:3px;fill:#515559}._AYlq7{padding:8px;border-bottom:1px solid #e8e8e8;border-radius:4px 4px 0 0;position:-webkit-sticky;position:sticky;top:0;z-index:20;background-color:#fff}._AAP-Y{position:absolute;top:13px;left:13px}._jHpj7._jHpj7{padding-left:32px}._xsdFo{margin:2px 12px 2px 0;flex-shrink:0}._xsdFo._rwIGj>svg{border-color:#0b6ed0}._GOSTK{display:flex;justify-self:center;margin:8px}";
6686
6725
  icons_index.styleInject(css_248z$h);
6687
6726
 
6688
6727
  const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
@@ -6713,7 +6752,7 @@ const MenuItem = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
6713
6752
  // eslint-disable-next-line jsx-a11y/no-static-element-interactions
6714
6753
  React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
6715
6754
  ref: ref,
6716
- role: role ?? defaultRole,
6755
+ role: role !== null && role !== void 0 ? role : defaultRole,
6717
6756
  tabIndex: tabIndex,
6718
6757
  "aria-disabled": disabled,
6719
6758
  "aria-checked": isSelectable ? isSelected : undefined,
@@ -6877,17 +6916,19 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
6877
6916
  'aria-labelledby': ariaLabelledBy,
6878
6917
  ...rest
6879
6918
  } = _ref;
6880
- const [isKeyboardUser, setIsKeyboardUser] = React.useState(false);
6881
6919
  const containerRef = React.useRef(null);
6882
6920
  const menuId = useId();
6921
+ const {
6922
+ isFocusVisible
6923
+ } = interactions.useFocusVisible({
6924
+ isTextInput: true
6925
+ });
6883
6926
  const [refs, allChildren] = useChildrenRefs(children, (child, index) => ({
6884
6927
  tabIndex: -1,
6885
6928
  onMouseEnter: wrapEvent(child.props.onMouseEnter, () => {
6886
- setIsKeyboardUser(false);
6887
6929
  onHighlightedIndexChange(index);
6888
6930
  })
6889
6931
  }), isNavItem, searchable);
6890
- const isKeyboardUserRef = useLatest(isKeyboardUser);
6891
6932
 
6892
6933
  // Update the focused menu item when the highlighted index changes
6893
6934
  React.useEffect(() => {
@@ -6896,7 +6937,7 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
6896
6937
  // Scroll the item into view when navigating with a keyboard
6897
6938
  const element = refs.current[highlightedIndex];
6898
6939
  const searchInputSize = searchable ? 53 : 0;
6899
- if (isKeyboardUserRef.current && containerRef.current) {
6940
+ if (containerRef.current && isFocusVisible) {
6900
6941
  const scrollBottom = containerRef.current.clientHeight + containerRef.current.scrollTop;
6901
6942
  const elementBottom = element.offsetTop + element.offsetHeight;
6902
6943
  if (elementBottom > scrollBottom) {
@@ -6913,17 +6954,17 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
6913
6954
  preventScroll: true
6914
6955
  });
6915
6956
  } else if (highlightedIndex === 0 && searchable) {
6916
- searchBoxRef?.current.focus();
6957
+ searchBoxRef === null || searchBoxRef === void 0 ? void 0 : searchBoxRef.current.focus();
6917
6958
  } else {
6918
- anchorRef?.current?.focus();
6959
+ var _anchorRef$current;
6960
+ anchorRef === null || anchorRef === void 0 ? void 0 : (_anchorRef$current = anchorRef.current) === null || _anchorRef$current === void 0 ? void 0 : _anchorRef$current.focus();
6919
6961
  }
6920
6962
  }
6921
6963
  }, [highlightedIndex, refs, searchable, allChildren.length,
6922
6964
  // Needed to prevent QuickSearch from losing focus in some cases when items are loaded asynchronously while the user is navigating
6923
- isPopperReady, isKeyboardUserRef, searchBoxRef, anchorRef]);
6965
+ isPopperReady, searchBoxRef, anchorRef]);
6924
6966
  const numChildren = refs.current.length;
6925
6967
  const handleKeyDown = e => {
6926
- setIsKeyboardUser(true);
6927
6968
  if (e.key === 'ArrowDown') {
6928
6969
  e.preventDefault(); // prevent scroll
6929
6970
  if (highlightedIndex !== -1) {
@@ -6935,14 +6976,16 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
6935
6976
  onHighlightedIndexChange((highlightedIndex - 1 + numChildren) % numChildren);
6936
6977
  }
6937
6978
  } else if (e.key === 'PageUp' || e.key === 'Home') {
6979
+ var _containerRef$current;
6938
6980
  // Only call the highlighted index change handler for the current nav list (i.e. if the event bubbles up to a parent nav list, don't call the highlighted index change handler on the parent nav list)
6939
- if (containerRef.current?.contains(e.target)) {
6981
+ if ((_containerRef$current = containerRef.current) !== null && _containerRef$current !== void 0 && _containerRef$current.contains(e.target)) {
6940
6982
  e.preventDefault();
6941
6983
  onHighlightedIndexChange(0);
6942
6984
  }
6943
6985
  } else if (e.key === 'PageDown' || e.key === 'End') {
6986
+ var _containerRef$current2;
6944
6987
  // Only call the highlighted index change handler for the current nav list (i.e. if the event bubbles up to a parent nav list, don't call the highlighted index change handler on the parent nav list)
6945
- if (containerRef.current?.contains(e.target)) {
6988
+ if ((_containerRef$current2 = containerRef.current) !== null && _containerRef$current2 !== void 0 && _containerRef$current2.contains(e.target)) {
6946
6989
  e.preventDefault();
6947
6990
  const lastIndex = numChildren - 1;
6948
6991
  onHighlightedIndexChange(lastIndex);
@@ -6960,20 +7003,20 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
6960
7003
  style: {
6961
7004
  ...style,
6962
7005
  minWidth,
6963
- maxHeight: maxHeight ??
7006
+ maxHeight: maxHeight !== null && maxHeight !== void 0 ? maxHeight :
6964
7007
  // This logic is located here instead of BaseMenu.js so the maxHeight will update with screen resizing (Popper has a resize listener that causes this to rerender)
6965
7008
  Math.min(350, (isSubmenu ?
6966
7009
  // Submenus: window height - submenu popper offset - 8px of container padding - half of anchor height (fallback to default 18px))
6967
7010
  document.documentElement.clientHeight - SUBMENU_POPPER_OFFSET[0] :
6968
7011
  // Menus: half of window height - menu popper offset - 8px of container padding - half of anchor height (fallback to default 18px)
6969
- document.documentElement.clientHeight / 2 - FLYOUT_POPPER_OFFSET[1]) - 8 - (anchorRef?.current ? anchorRef.current.offsetHeight / 2 : 18))
7012
+ document.documentElement.clientHeight / 2 - FLYOUT_POPPER_OFFSET[1]) - 8 - (anchorRef !== null && anchorRef !== void 0 && anchorRef.current ? anchorRef.current.offsetHeight / 2 : 18))
6970
7013
  }
6971
7014
  }, rest), searchable && /*#__PURE__*/React__default["default"].createElement(MenuSearchBox, {
6972
7015
  "aria-controls": menuId,
6973
7016
  value: searchTerm,
6974
7017
  ref: searchBoxRef,
6975
7018
  onChange: e => {
6976
- setSearchTerm?.(e.target.value);
7019
+ setSearchTerm === null || setSearchTerm === void 0 ? void 0 : setSearchTerm(e.target.value);
6977
7020
  },
6978
7021
  onFocus: () => onHighlightedIndexChange(0)
6979
7022
  }), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -6988,6 +7031,7 @@ const ArrowNav = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
6988
7031
  });
6989
7032
 
6990
7033
  const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
7034
+ var _externalAnchor$props, _externalAnchor$props2, _useMenuContext, _externalAnchor$props3, _externalAnchor$props4, _externalAnchor$props5, _externalAnchor$props6, _externalAnchor$props7, _externalAnchor$props8, _externalAnchor$props9, _anchorRef$current;
6991
7035
  let {
6992
7036
  anchor: externalAnchor,
6993
7037
  'aria-label': externalAriaLabel,
@@ -7028,9 +7072,9 @@ const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
7028
7072
  private_isFirstElementHighlightedOnUserActivatedOpen = true,
7029
7073
  ...rest
7030
7074
  } = _ref;
7031
- const anchorId = useId(externalAnchor?.props?.id ?? externalId);
7032
- const arrowNavId = `${anchorId}-menu`;
7033
- const parentCloseAndFocusAnchor = useMenuContext()?.closeAndFocusAnchor;
7075
+ const anchorId = useId((_externalAnchor$props = externalAnchor === null || externalAnchor === void 0 ? void 0 : (_externalAnchor$props2 = externalAnchor.props) === null || _externalAnchor$props2 === void 0 ? void 0 : _externalAnchor$props2.id) !== null && _externalAnchor$props !== void 0 ? _externalAnchor$props : externalId);
7076
+ const arrowNavId = "".concat(anchorId, "-menu");
7077
+ const parentCloseAndFocusAnchor = (_useMenuContext = useMenuContext()) === null || _useMenuContext === void 0 ? void 0 : _useMenuContext.closeAndFocusAnchor;
7034
7078
  const isSubmenu = Boolean(parentCloseAndFocusAnchor);
7035
7079
  const {
7036
7080
  translate
@@ -7049,20 +7093,23 @@ const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
7049
7093
  // Call onIsOpenChange whenever externalIsOpen changes
7050
7094
  useDidUpdate(() => {
7051
7095
  if (isSubmenu) {
7052
- onIsOpenChangeRef.current?.(externalIsOpen);
7096
+ var _onIsOpenChangeRef$cu;
7097
+ (_onIsOpenChangeRef$cu = onIsOpenChangeRef.current) === null || _onIsOpenChangeRef$cu === void 0 ? void 0 : _onIsOpenChangeRef$cu.call(onIsOpenChangeRef, externalIsOpen);
7053
7098
  }
7054
7099
  }, [externalIsOpen, onIsOpenChangeRef, isSubmenu]);
7055
7100
  // Call onIsOpenChange if open on mount or on unmount
7056
7101
  React.useEffect(() => {
7057
7102
  if (isSubmenu) {
7058
7103
  if (externalIsOpenRef.current) {
7059
- onIsOpenChangeRef.current?.(true);
7104
+ var _onIsOpenChangeRef$cu2;
7105
+ (_onIsOpenChangeRef$cu2 = onIsOpenChangeRef.current) === null || _onIsOpenChangeRef$cu2 === void 0 ? void 0 : _onIsOpenChangeRef$cu2.call(onIsOpenChangeRef, true);
7060
7106
  }
7061
7107
  return () => {
7062
7108
  // eslint-disable-next-line react-hooks/exhaustive-deps
7063
7109
  if (externalIsOpenRef.current) {
7110
+ var _onIsOpenChangeRef$cu3;
7064
7111
  // eslint-disable-next-line react-hooks/exhaustive-deps
7065
- onIsOpenChangeRef.current?.(false);
7112
+ (_onIsOpenChangeRef$cu3 = onIsOpenChangeRef.current) === null || _onIsOpenChangeRef$cu3 === void 0 ? void 0 : _onIsOpenChangeRef$cu3.call(onIsOpenChangeRef, false);
7066
7113
  }
7067
7114
  };
7068
7115
  }
@@ -7076,11 +7123,15 @@ const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
7076
7123
  }, [setHighlightedIndex, setIsOpen, setSearchTerm]);
7077
7124
  const handleMultiSelectChange = item => {
7078
7125
  let arr = selectedValue || selectedValue === 0 ? [].concat(selectedValue) : [];
7079
- const i = arr.findIndex(v => v === item?.props?.value);
7126
+ const i = arr.findIndex(v => {
7127
+ var _item$props;
7128
+ return v === (item === null || item === void 0 ? void 0 : (_item$props = item.props) === null || _item$props === void 0 ? void 0 : _item$props.value);
7129
+ });
7080
7130
  if (i !== -1) {
7081
7131
  arr.splice(i, 1);
7082
7132
  } else {
7083
- arr = union(arr, item?.props?.value);
7133
+ var _item$props2;
7134
+ arr = union(arr, item === null || item === void 0 ? void 0 : (_item$props2 = item.props) === null || _item$props2 === void 0 ? void 0 : _item$props2.value);
7084
7135
  }
7085
7136
  setSelectedValue(arr, getLabelFromValue(children, arr), item);
7086
7137
  };
@@ -7093,11 +7144,12 @@ const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
7093
7144
  setSelectedValue(value, getLabelFromValue(children, value), item);
7094
7145
  };
7095
7146
  const handleItemSelected = item => {
7147
+ var _item$props3;
7096
7148
  if (!selectable) {
7097
7149
  closeAndFocusAnchor();
7098
7150
  return;
7099
7151
  }
7100
- const value = item?.props?.value;
7152
+ const value = item === null || item === void 0 ? void 0 : (_item$props3 = item.props) === null || _item$props3 === void 0 ? void 0 : _item$props3.value;
7101
7153
  if (!value && value !== 0) {
7102
7154
  // eslint-disable-next-line no-console
7103
7155
  console.warn('<MenuItem> should have a "value" prop when used in a <SelectMenu>', item);
@@ -7163,12 +7215,12 @@ const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
7163
7215
  onSelectedValueChange: handleSubmenuOnSelectedValueChange
7164
7216
  });
7165
7217
  }
7166
- if (child?.type === MenuItem) {
7167
- var _context;
7218
+ if ((child === null || child === void 0 ? void 0 : child.type) === MenuItem) {
7219
+ var _context, _child$props, _child$props2;
7168
7220
  menuItemIndex += 1;
7169
7221
  return /*#__PURE__*/React__default["default"].cloneElement(child, {
7170
7222
  isHighlighted: actualIndex === highlightedIndex,
7171
- isSelected: selectable && typeof selectedValue !== 'undefined' && Array.isArray(selectedValue) ? _includesInstanceProperty__default["default"](_context = selectedValue).call(_context, child?.props?.value) : child?.props?.value === selectedValue,
7223
+ isSelected: selectable && typeof selectedValue !== 'undefined' && Array.isArray(selectedValue) ? _includesInstanceProperty__default["default"](_context = selectedValue).call(_context, child === null || child === void 0 ? void 0 : (_child$props = child.props) === null || _child$props === void 0 ? void 0 : _child$props.value) : (child === null || child === void 0 ? void 0 : (_child$props2 = child.props) === null || _child$props2 === void 0 ? void 0 : _child$props2.value) === selectedValue,
7172
7224
  onSelect: wrapEvent(child.props.onSelect, () => {
7173
7225
  handleItemSelected(child);
7174
7226
  }),
@@ -7178,21 +7230,21 @@ const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
7178
7230
  }
7179
7231
  return child;
7180
7232
  });
7181
- const anchorLabel = label ?? getLabelFromValue(children, selectedValue);
7182
- const menuAnchorLabel = anchorLabel ?? defaultLabel;
7233
+ const anchorLabel = label !== null && label !== void 0 ? label : getLabelFromValue(children, selectedValue);
7234
+ const menuAnchorLabel = anchorLabel !== null && anchorLabel !== void 0 ? anchorLabel : defaultLabel;
7183
7235
  const announceToScreenReader = useScreenReaderAnnouncement('assertive');
7184
- const ariaLabelledBy = externalAnchor?.props?.['aria-labelledby'] ?? (externalAriaLabelledBy ? `${externalAriaLabelledBy} ${anchorId}` : undefined);
7185
- const ariaLabel = externalAnchor?.props?.['aria-label'] ?? (externalAriaLabel && typeof menuAnchorLabel === 'string' ? `${externalAriaLabel} ${menuAnchorLabel}` : externalAriaLabel);
7186
- const ariaExpanded = externalAnchor?.props['aria-expanded'] !== undefined ? externalAnchor.props['aria-expanded'] : isOpen ? true : undefined;
7236
+ const ariaLabelledBy = (_externalAnchor$props3 = externalAnchor === null || externalAnchor === void 0 ? void 0 : (_externalAnchor$props4 = externalAnchor.props) === null || _externalAnchor$props4 === void 0 ? void 0 : _externalAnchor$props4['aria-labelledby']) !== null && _externalAnchor$props3 !== void 0 ? _externalAnchor$props3 : externalAriaLabelledBy ? "".concat(externalAriaLabelledBy, " ").concat(anchorId) : undefined;
7237
+ const ariaLabel = (_externalAnchor$props5 = externalAnchor === null || externalAnchor === void 0 ? void 0 : (_externalAnchor$props6 = externalAnchor.props) === null || _externalAnchor$props6 === void 0 ? void 0 : _externalAnchor$props6['aria-label']) !== null && _externalAnchor$props5 !== void 0 ? _externalAnchor$props5 : externalAriaLabel && typeof menuAnchorLabel === 'string' ? "".concat(externalAriaLabel, " ").concat(menuAnchorLabel) : externalAriaLabel;
7238
+ const ariaExpanded = (externalAnchor === null || externalAnchor === void 0 ? void 0 : externalAnchor.props['aria-expanded']) !== undefined ? externalAnchor.props['aria-expanded'] : isOpen ? true : undefined;
7187
7239
  const actualAnchor = externalAnchor !== undefined ? /*#__PURE__*/React__default["default"].cloneElement(externalAnchor, {
7188
7240
  ref: mergeRefs(ref, anchorRef, externalAnchor.ref),
7189
- tabIndex: externalAnchor.props.tabIndex ?? 0,
7190
- role: externalAnchor.props.role ?? 'button',
7241
+ tabIndex: (_externalAnchor$props7 = externalAnchor.props.tabIndex) !== null && _externalAnchor$props7 !== void 0 ? _externalAnchor$props7 : 0,
7242
+ role: (_externalAnchor$props8 = externalAnchor.props.role) !== null && _externalAnchor$props8 !== void 0 ? _externalAnchor$props8 : 'button',
7191
7243
  id: anchorId,
7192
7244
  'aria-controls': isOpen ? arrowNavId : undefined,
7193
7245
  'aria-expanded': ariaExpanded,
7194
7246
  'aria-haspopup': 'menu',
7195
- 'aria-disabled': externalAnchor.props['aria-disabled'] ?? disabled,
7247
+ 'aria-disabled': (_externalAnchor$props9 = externalAnchor.props['aria-disabled']) !== null && _externalAnchor$props9 !== void 0 ? _externalAnchor$props9 : disabled,
7196
7248
  'aria-labelledby': ariaLabelledBy,
7197
7249
  'aria-label': ariaLabel,
7198
7250
  onMouseDown: preventClickOutside,
@@ -7273,17 +7325,17 @@ const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
7273
7325
  id: arrowNavId,
7274
7326
  role: "menu",
7275
7327
  "aria-labelledby": anchorId,
7276
- isNavItem: child => child?.type === MenuItem || child?.type === MenuSearchBox || isType(child, menuType),
7328
+ isNavItem: child => (child === null || child === void 0 ? void 0 : child.type) === MenuItem || (child === null || child === void 0 ? void 0 : child.type) === MenuSearchBox || isType(child, menuType),
7277
7329
  style: {
7278
7330
  zIndex,
7279
- maxWidth: maxFlyoutWidth ?? undefined,
7280
- width: maxFlyoutWidth ?? undefined
7331
+ maxWidth: maxFlyoutWidth !== null && maxFlyoutWidth !== void 0 ? maxFlyoutWidth : undefined,
7332
+ width: maxFlyoutWidth !== null && maxFlyoutWidth !== void 0 ? maxFlyoutWidth : undefined
7281
7333
  },
7282
7334
  onMouseDown: preventClickOutside,
7283
7335
  className: classNames__default["default"](styles$h.contentPane, flyoutClassName),
7284
7336
  highlightedIndex: highlightedIndex,
7285
7337
  maxHeight: maxHeight,
7286
- minWidth: isSubmenu ? undefined : Math.min(350, Math.max(160, anchorRef?.current?.offsetWidth)),
7338
+ minWidth: isSubmenu ? undefined : Math.min(350, Math.max(160, anchorRef === null || anchorRef === void 0 ? void 0 : (_anchorRef$current = anchorRef.current) === null || _anchorRef$current === void 0 ? void 0 : _anchorRef$current.offsetWidth)),
7287
7339
  searchable: searchable,
7288
7340
  onHighlightedIndexChange: i => setHighlightedIndex(i),
7289
7341
  searchTerm: searchTerm,
@@ -7302,8 +7354,9 @@ const BaseMenu = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
7302
7354
  // (not menu container) so we focus anchor before browser moves focus
7303
7355
  closeAndFocusAnchor();
7304
7356
  } else if (e.key === 'ArrowLeft' && isSubmenu) {
7357
+ var _arrowNavRef$current;
7305
7358
  // Only update the highlighted index for the current menu (i.e. if the event bubbles up to a parent menu, don't update the highlighted index for the parent menu)
7306
- if (arrowNavRef.current?.contains(e.target) && e.target !== searchBoxRef.current) {
7359
+ if ((_arrowNavRef$current = arrowNavRef.current) !== null && _arrowNavRef$current !== void 0 && _arrowNavRef$current.contains(e.target) && e.target !== searchBoxRef.current) {
7307
7360
  setHighlightedIndex(-1);
7308
7361
  }
7309
7362
  }
@@ -7330,8 +7383,7 @@ function filterItems(valueToFilterBy, items) {
7330
7383
  return _includesInstanceProperty__default["default"](_context3 = item.props.children.toLowerCase()).call(_context3, searchTermLowerCase);
7331
7384
  }
7332
7385
  // eslint-disable-next-line no-console
7333
- console.warn(`<MenuItem> not included in search results!
7334
- Ensure prop "children" is of type "string" or provide a "label" prop!`, item);
7386
+ console.warn("<MenuItem> not included in search results!\n Ensure prop \"children\" is of type \"string\" or provide a \"label\" prop!", item);
7335
7387
  return false;
7336
7388
  });
7337
7389
  return result;
@@ -7350,11 +7402,12 @@ function getDescendent(children, value) {
7350
7402
  if (value === undefined) return null;
7351
7403
  const childArray = React__default["default"].Children.toArray(children);
7352
7404
  for (let i = 0; i < childArray.length; i += 1) {
7405
+ var _child$props3, _child$props4;
7353
7406
  const child = childArray[i];
7354
- if (child?.type === MenuItem && child?.props?.value === value) {
7407
+ if ((child === null || child === void 0 ? void 0 : child.type) === MenuItem && (child === null || child === void 0 ? void 0 : (_child$props3 = child.props) === null || _child$props3 === void 0 ? void 0 : _child$props3.value) === value) {
7355
7408
  return child;
7356
7409
  }
7357
- if (child?.type !== MenuItem && child?.props?.children) {
7410
+ if ((child === null || child === void 0 ? void 0 : child.type) !== MenuItem && child !== null && child !== void 0 && (_child$props4 = child.props) !== null && _child$props4 !== void 0 && _child$props4.children) {
7358
7411
  const descendent = getDescendent(child.props.children, value);
7359
7412
  if (descendent) {
7360
7413
  return descendent;
@@ -7364,7 +7417,8 @@ function getDescendent(children, value) {
7364
7417
  return null;
7365
7418
  }
7366
7419
  function getLabel(menuOptionNode) {
7367
- if ( /*#__PURE__*/React.isValidElement(menuOptionNode)) return getLabel(menuOptionNode?.props?.children);
7420
+ var _menuOptionNode$props;
7421
+ if ( /*#__PURE__*/React.isValidElement(menuOptionNode)) return getLabel(menuOptionNode === null || menuOptionNode === void 0 ? void 0 : (_menuOptionNode$props = menuOptionNode.props) === null || _menuOptionNode$props === void 0 ? void 0 : _menuOptionNode$props.children);
7368
7422
  return menuOptionNode;
7369
7423
  }
7370
7424
  function union(arr1, arr2) {
@@ -7414,8 +7468,8 @@ const SelectMenu = /*#__PURE__*/React__default["default"].forwardRef(function Se
7414
7468
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
7415
7469
  args[_key - 1] = arguments[_key];
7416
7470
  }
7417
- onSelectedValueChange?.(value, ...args);
7418
- onChange?.(value);
7471
+ onSelectedValueChange === null || onSelectedValueChange === void 0 ? void 0 : onSelectedValueChange(value, ...args);
7472
+ onChange === null || onChange === void 0 ? void 0 : onChange(value);
7419
7473
  }
7420
7474
  }, rest));
7421
7475
  });
@@ -7526,11 +7580,11 @@ const ConditionSet = function ConditionSet(_ref) {
7526
7580
  }
7527
7581
  }
7528
7582
  if (fixedSet) {
7529
- lastConnectionRef.current.style.height = `${height - 38}px`;
7530
- lastConnectionRef.current.style.top = `-${height - 56}px`;
7583
+ lastConnectionRef.current.style.height = "".concat(height - 38, "px");
7584
+ lastConnectionRef.current.style.top = "-".concat(height - 56, "px");
7531
7585
  } else {
7532
- lastConnectionRef.current.style.height = `${height - 18}px`;
7533
- lastConnectionRef.current.style.top = `-${height - 52}px`;
7586
+ lastConnectionRef.current.style.height = "".concat(height - 18, "px");
7587
+ lastConnectionRef.current.style.top = "-".concat(height - 52, "px");
7534
7588
  }
7535
7589
  }
7536
7590
  }
@@ -7560,7 +7614,7 @@ const ConditionSet = function ConditionSet(_ref) {
7560
7614
  if (fixedSet) {
7561
7615
  indices.shift();
7562
7616
  }
7563
- return getSubDataTestId(rootDataTestId, `${prefix}-${indices.join('-')}`);
7617
+ return getSubDataTestId(rootDataTestId, "".concat(prefix, "-").concat(indices.join('-')));
7564
7618
  }, [fixedSet, rootDataTestId]);
7565
7619
  function renderControls(itemType, itemPosition, itemIndex, itemLevel, numberOfSetItems, itemId) {
7566
7620
  return /*#__PURE__*/React__default["default"].createElement(Controls, {
@@ -7687,7 +7741,7 @@ const LogicEditor = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
7687
7741
  const classes = classNames__default["default"](className, styles$i.editor);
7688
7742
  function update(newState) {
7689
7743
  setState(newState);
7690
- onChange?.(newState);
7744
+ onChange === null || onChange === void 0 ? void 0 : onChange(newState);
7691
7745
  }
7692
7746
  const handleNewLogicItem = (item, position) => {
7693
7747
  const newState = shallowCopy(state);
@@ -7756,9 +7810,9 @@ const LogicEditor = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
7756
7810
  })));
7757
7811
  });
7758
7812
 
7759
- var css_248z$g = "._8WUau{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._8WUau,._H6q9M{display:flex;overflow:auto}._H6q9M{flex-direction:column;box-shadow:0 12px 35px -8px rgba(0,0,0,.12);border-radius:8px;background-color:#fff;min-width:450px;min-height:198px;max-width:85%;max-height:85%;margin:auto;outline:none}:not(._99Fdp)._bLlWH{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._99Fdp)._bLlWH{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._99Fdp)._gkdSu{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._99Fdp)._gkdSu{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._99Fdp)._gkdSu{max-width:700px}}:not(._99Fdp)._0HOr1{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._99Fdp)._0HOr1{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._99Fdp)._0HOr1{max-width:700px}}@media screen and (min-width:1024px){:not(._99Fdp)._0HOr1{max-width:1000px}}:not(._99Fdp)._mQJuP{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._99Fdp)._mQJuP{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._99Fdp)._mQJuP{max-width:700px}}@media screen and (min-width:1024px){:not(._99Fdp)._mQJuP{max-width:1000px}}@media screen and (min-width:1632px){:not(._99Fdp)._mQJuP{max-width:1600px;max-height:calc(100vh - 32px)}}._99Fdp{min-width:200px;width:calc(100% - 48px)}._99Fdp,._99Fdp._bLlWH{max-height:calc(100vh - 80px)}._99Fdp._bLlWH{max-width:480px;border-radius:8px}._99Fdp._gkdSu{max-width:700px}._99Fdp._0HOr1{max-width:1000px}._99Fdp._mQJuP{max-width:1600px;max-height:calc(100vh - 32px)}._mc9R7{height:calc(100vh - 80px)}@media screen and (max-width:479px){._mc9R7{height:100vh}}@media screen and (min-width:1632px){._mc9R7{height:calc(100vh - 32px)}}._wBfkM{position:relative;display:flex;flex-direction:row;flex-shrink:0;min-height:65px;padding:20px 24px;align-items:center;font-size:18px;font-weight:400;line-height:24px;color:#32363a;border-bottom:1px solid #eee}._kz6xj{padding-right:64px}._zJSBY{position:absolute;top:14px;right:14px}._ILWbA{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._ILWbA,._rzRn8{padding:20px 24px}._rzRn8{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._rzRn8>*{margin:0 4px}._rzRn8>:first-child{margin-left:0}._rzRn8>:last-child{margin-right:0}@keyframes _BEpgs{0%{opacity:0}}._BEpgs{animation:_BEpgs ease-in both;animation-duration:.2s}@keyframes _YdHZ9{to{opacity:0}}._YdHZ9{animation:_YdHZ9 ease-out both;animation-duration:.2s}@keyframes _n8Cl2{0%{transform:scale3d(.7,.7,.7);opacity:0}}._n8Cl2{animation:_n8Cl2 both;animation-duration:.2s}@keyframes _GCFVE{to{transform:scale3d(.7,.7,.7);opacity:0}}._GCFVE{animation:_GCFVE both;animation-duration:.2s}";
7760
- var styles$g = {"backdrop":"_8WUau","modal":"_H6q9M","responsive":"_99Fdp","dialogSmall":"_bLlWH","dialogMedium":"_gkdSu","dialogLarge":"_0HOr1","dialogExtraLarge":"_mQJuP","growToMaxHeight":"_mc9R7","modalHeader":"_wBfkM","modalHeaderWithCloseButton":"_kz6xj","modalHeaderCloseButton":"_zJSBY","modalBody":"_ILWbA","modalFooter":"_rzRn8","fadeEnter":"_BEpgs","fadeLeave":"_YdHZ9","zoomEnter":"_n8Cl2","zoomLeave":"_GCFVE"};
7761
- var stylesheet$g="._8WUau{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._8WUau,._H6q9M{display:flex;overflow:auto}._H6q9M{flex-direction:column;box-shadow:0 12px 35px -8px rgba(0,0,0,.12);border-radius:8px;background-color:#fff;min-width:450px;min-height:198px;max-width:85%;max-height:85%;margin:auto;outline:none}:not(._99Fdp)._bLlWH{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._99Fdp)._bLlWH{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._99Fdp)._gkdSu{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._99Fdp)._gkdSu{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._99Fdp)._gkdSu{max-width:700px}}:not(._99Fdp)._0HOr1{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._99Fdp)._0HOr1{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._99Fdp)._0HOr1{max-width:700px}}@media screen and (min-width:1024px){:not(._99Fdp)._0HOr1{max-width:1000px}}:not(._99Fdp)._mQJuP{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._99Fdp)._mQJuP{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._99Fdp)._mQJuP{max-width:700px}}@media screen and (min-width:1024px){:not(._99Fdp)._mQJuP{max-width:1000px}}@media screen and (min-width:1632px){:not(._99Fdp)._mQJuP{max-width:1600px;max-height:calc(100vh - 32px)}}._99Fdp{min-width:200px;width:calc(100% - 48px)}._99Fdp,._99Fdp._bLlWH{max-height:calc(100vh - 80px)}._99Fdp._bLlWH{max-width:480px;border-radius:8px}._99Fdp._gkdSu{max-width:700px}._99Fdp._0HOr1{max-width:1000px}._99Fdp._mQJuP{max-width:1600px;max-height:calc(100vh - 32px)}._mc9R7{height:calc(100vh - 80px)}@media screen and (max-width:479px){._mc9R7{height:100vh}}@media screen and (min-width:1632px){._mc9R7{height:calc(100vh - 32px)}}._wBfkM{position:relative;display:flex;flex-direction:row;flex-shrink:0;min-height:65px;padding:20px 24px;align-items:center;font-size:18px;font-weight:400;line-height:24px;color:#32363a;border-bottom:1px solid #eee}._kz6xj{padding-right:64px}._zJSBY{position:absolute;top:14px;right:14px}._ILWbA{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._ILWbA,._rzRn8{padding:20px 24px}._rzRn8{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._rzRn8>*{margin:0 4px}._rzRn8>:first-child{margin-left:0}._rzRn8>:last-child{margin-right:0}@keyframes _BEpgs{0%{opacity:0}}._BEpgs{animation:_BEpgs ease-in both;animation-duration:.2s}@keyframes _YdHZ9{to{opacity:0}}._YdHZ9{animation:_YdHZ9 ease-out both;animation-duration:.2s}@keyframes _n8Cl2{0%{transform:scale3d(.7,.7,.7);opacity:0}}._n8Cl2{animation:_n8Cl2 both;animation-duration:.2s}@keyframes _GCFVE{to{transform:scale3d(.7,.7,.7);opacity:0}}._GCFVE{animation:_GCFVE both;animation-duration:.2s}";
7813
+ var css_248z$g = "._h5tul{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._7beAG,._h5tul{display:flex;overflow:auto}._7beAG{flex-direction:column;box-shadow:0 12px 35px -8px rgba(0,0,0,.12);border-radius:8px;background-color:#fff;min-width:450px;min-height:198px;max-width:85%;max-height:85%;margin:auto;outline:none}:not(._tCWzE)._vr26K{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._tCWzE)._vr26K{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._tCWzE)._2qTEv{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._tCWzE)._2qTEv{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._tCWzE)._2qTEv{max-width:700px}}:not(._tCWzE)._JNefC{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._tCWzE)._JNefC{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._tCWzE)._JNefC{max-width:700px}}@media screen and (min-width:1024px){:not(._tCWzE)._JNefC{max-width:1000px}}:not(._tCWzE)._JIQr-{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._tCWzE)._JIQr-{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._tCWzE)._JIQr-{max-width:700px}}@media screen and (min-width:1024px){:not(._tCWzE)._JIQr-{max-width:1000px}}@media screen and (min-width:1632px){:not(._tCWzE)._JIQr-{max-width:1600px;max-height:calc(100vh - 32px)}}._tCWzE{min-width:200px;width:calc(100% - 48px)}._tCWzE,._tCWzE._vr26K{max-height:calc(100vh - 80px)}._tCWzE._vr26K{max-width:480px;border-radius:8px}._tCWzE._2qTEv{max-width:700px}._tCWzE._JNefC{max-width:1000px}._tCWzE._JIQr-{max-width:1600px;max-height:calc(100vh - 32px)}._2ITiD{height:calc(100vh - 80px)}@media screen and (max-width:479px){._2ITiD{height:100vh}}@media screen and (min-width:1632px){._2ITiD{height:calc(100vh - 32px)}}._nX1A7{position:relative;display:flex;flex-direction:row;flex-shrink:0;min-height:65px;padding:20px 24px;align-items:center;font-size:18px;font-weight:400;line-height:24px;color:#32363a;border-bottom:1px solid #eee}._qHVZB{padding-right:64px}._kdxcl{position:absolute;top:14px;right:14px}._Qamfr{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._NIuoR,._Qamfr{padding:20px 24px}._NIuoR{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._NIuoR>*{margin:0 4px}._NIuoR>:first-child{margin-left:0}._NIuoR>:last-child{margin-right:0}@keyframes _dNAdg{0%{opacity:0}}._dNAdg{animation:_dNAdg ease-in both;animation-duration:.2s}@keyframes _iW3DP{to{opacity:0}}._iW3DP{animation:_iW3DP ease-out both;animation-duration:.2s}@keyframes _Wq-zi{0%{transform:scale3d(.7,.7,.7);opacity:0}}._Wq-zi{animation:_Wq-zi both;animation-duration:.2s}@keyframes _OsXp2{to{transform:scale3d(.7,.7,.7);opacity:0}}._OsXp2{animation:_OsXp2 both;animation-duration:.2s}";
7814
+ var styles$g = {"backdrop":"_h5tul","modal":"_7beAG","responsive":"_tCWzE","dialogSmall":"_vr26K","dialogMedium":"_2qTEv","dialogLarge":"_JNefC","dialogExtraLarge":"_JIQr-","growToMaxHeight":"_2ITiD","modalHeader":"_nX1A7","modalHeaderWithCloseButton":"_qHVZB","modalHeaderCloseButton":"_kdxcl","modalBody":"_Qamfr","modalFooter":"_NIuoR","fadeEnter":"_dNAdg","fadeLeave":"_iW3DP","zoomEnter":"_Wq-zi","zoomLeave":"_OsXp2"};
7815
+ var stylesheet$g="._h5tul{position:fixed;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.3);align-items:flex-start}._7beAG,._h5tul{display:flex;overflow:auto}._7beAG{flex-direction:column;box-shadow:0 12px 35px -8px rgba(0,0,0,.12);border-radius:8px;background-color:#fff;min-width:450px;min-height:198px;max-width:85%;max-height:85%;margin:auto;outline:none}:not(._tCWzE)._vr26K{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._tCWzE)._vr26K{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}:not(._tCWzE)._2qTEv{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._tCWzE)._2qTEv{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._tCWzE)._2qTEv{max-width:700px}}:not(._tCWzE)._JNefC{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._tCWzE)._JNefC{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._tCWzE)._JNefC{max-width:700px}}@media screen and (min-width:1024px){:not(._tCWzE)._JNefC{max-width:1000px}}:not(._tCWzE)._JIQr-{width:100vw;min-width:200px;max-width:none;max-height:100vh;border-radius:0}@media screen and (min-width:480px){:not(._tCWzE)._JIQr-{max-width:480px;max-height:calc(100vh - 80px);border-radius:8px}}@media screen and (min-width:768px){:not(._tCWzE)._JIQr-{max-width:700px}}@media screen and (min-width:1024px){:not(._tCWzE)._JIQr-{max-width:1000px}}@media screen and (min-width:1632px){:not(._tCWzE)._JIQr-{max-width:1600px;max-height:calc(100vh - 32px)}}._tCWzE{min-width:200px;width:calc(100% - 48px)}._tCWzE,._tCWzE._vr26K{max-height:calc(100vh - 80px)}._tCWzE._vr26K{max-width:480px;border-radius:8px}._tCWzE._2qTEv{max-width:700px}._tCWzE._JNefC{max-width:1000px}._tCWzE._JIQr-{max-width:1600px;max-height:calc(100vh - 32px)}._2ITiD{height:calc(100vh - 80px)}@media screen and (max-width:479px){._2ITiD{height:100vh}}@media screen and (min-width:1632px){._2ITiD{height:calc(100vh - 32px)}}._nX1A7{position:relative;display:flex;flex-direction:row;flex-shrink:0;min-height:65px;padding:20px 24px;align-items:center;font-size:18px;font-weight:400;line-height:24px;color:#32363a;border-bottom:1px solid #eee}._qHVZB{padding-right:64px}._kdxcl{position:absolute;top:14px;right:14px}._Qamfr{flex-grow:1;font-size:14px;overflow:auto;color:#32363a}._NIuoR,._Qamfr{padding:20px 24px}._NIuoR{display:flex;flex-direction:row;flex-shrink:0;align-items:center;justify-content:flex-end;border-top:1px solid #eee}._NIuoR>*{margin:0 4px}._NIuoR>:first-child{margin-left:0}._NIuoR>:last-child{margin-right:0}@keyframes _dNAdg{0%{opacity:0}}._dNAdg{animation:_dNAdg ease-in both;animation-duration:.2s}@keyframes _iW3DP{to{opacity:0}}._iW3DP{animation:_iW3DP ease-out both;animation-duration:.2s}@keyframes _Wq-zi{0%{transform:scale3d(.7,.7,.7);opacity:0}}._Wq-zi{animation:_Wq-zi both;animation-duration:.2s}@keyframes _OsXp2{to{transform:scale3d(.7,.7,.7);opacity:0}}._OsXp2{animation:_OsXp2 both;animation-duration:.2s}";
7762
7816
  icons_index.styleInject(css_248z$g);
7763
7817
 
7764
7818
  const {
@@ -7773,7 +7827,7 @@ const OverlayContainer = /*#__PURE__*/React__default["default"].forwardRef((_ref
7773
7827
  } = _ref;
7774
7828
  return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
7775
7829
  ref: ref
7776
- }), children, /*#__PURE__*/React__default["default"].createElement("style", null, `body { overflow: hidden; }`));
7830
+ }), children, /*#__PURE__*/React__default["default"].createElement("style", null, "body { overflow: hidden; }"));
7777
7831
  });
7778
7832
  const Overlay = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref) => {
7779
7833
  let {
@@ -7801,14 +7855,14 @@ const Overlay = /*#__PURE__*/React__default["default"].forwardRef((_ref2, ref) =
7801
7855
  // Ensure that when a user clicks on the dialog and drags and lifts out on the overlay,
7802
7856
  // the modal does not fire onDismiss.
7803
7857
  if (e.target === mouseDownTarget.current && e.target === overlay.current) {
7804
- onDismiss?.(e);
7858
+ onDismiss === null || onDismiss === void 0 ? void 0 : onDismiss(e);
7805
7859
  }
7806
7860
  };
7807
7861
  const handleKeyDown = e => {
7808
7862
  if (e.key === 'Escape') {
7809
7863
  e.stopPropagation(); // prevent event from closing modals or popovers
7810
- onDismiss?.(e);
7811
- onClose?.(e);
7864
+ onDismiss === null || onDismiss === void 0 ? void 0 : onDismiss(e);
7865
+ onClose === null || onClose === void 0 ? void 0 : onClose(e);
7812
7866
  }
7813
7867
  };
7814
7868
  const handleBodyKeyDown = e => {
@@ -7851,13 +7905,13 @@ const Dialog = /*#__PURE__*/React__default["default"].forwardRef((_ref3, ref) =>
7851
7905
  const prefix = 'dialog';
7852
7906
  switch (maxSize) {
7853
7907
  case 'small':
7854
- return `${prefix}Small`;
7908
+ return "".concat(prefix, "Small");
7855
7909
  case 'medium':
7856
- return `${prefix}Medium`;
7910
+ return "".concat(prefix, "Medium");
7857
7911
  case 'large':
7858
- return `${prefix}Large`;
7912
+ return "".concat(prefix, "Large");
7859
7913
  case 'xl':
7860
- return `${prefix}ExtraLarge`;
7914
+ return "".concat(prefix, "ExtraLarge");
7861
7915
  default:
7862
7916
  return '';
7863
7917
  }
@@ -7921,21 +7975,22 @@ const Modal = /*#__PURE__*/React__default["default"].forwardRef((_ref4, ref) =>
7921
7975
  // This effect should only run when the Modal is added or removed from the DOM
7922
7976
  useDidUpdate(() => {
7923
7977
  if (isInDOM) {
7924
- if (elementRefToFocusOnOpen?.current) {
7978
+ if (elementRefToFocusOnOpen !== null && elementRefToFocusOnOpen !== void 0 && elementRefToFocusOnOpen.current) {
7925
7979
  elementRefToFocusOnOpen.current.focus();
7926
7980
  } else if (typeof onClose === 'function' && closeIconButtonRef.current) {
7927
7981
  closeIconButtonRef.current.focus();
7928
7982
  } else {
7929
- dialogRef.current?.focus();
7983
+ var _dialogRef$current;
7984
+ (_dialogRef$current = dialogRef.current) === null || _dialogRef$current === void 0 ? void 0 : _dialogRef$current.focus();
7930
7985
  }
7931
- } else if (elementRefToFocusOnClose?.current) {
7986
+ } else if (elementRefToFocusOnClose !== null && elementRefToFocusOnClose !== void 0 && elementRefToFocusOnClose.current) {
7932
7987
  elementRefToFocusOnClose.current.focus();
7933
7988
  } else {
7934
7989
  /*
7935
7990
  * This replaces the `returnFocus` prop of `react-focus-lock`.
7936
7991
  * The logic is done in this effect instead because `elementRefToFocusOnClose.current` is not available until after the `Overlay` is unmounted.
7937
7992
  */
7938
- elementUsedToOpenModal?.focus();
7993
+ elementUsedToOpenModal === null || elementUsedToOpenModal === void 0 ? void 0 : elementUsedToOpenModal.focus();
7939
7994
  }
7940
7995
  // eslint-disable-next-line react-hooks/exhaustive-deps
7941
7996
  }, [isInDOM]);
@@ -7955,7 +8010,7 @@ const Modal = /*#__PURE__*/React__default["default"].forwardRef((_ref4, ref) =>
7955
8010
  onDismiss: onDismiss
7956
8011
  }, /*#__PURE__*/React__default["default"].createElement(Dialog, _extends__default["default"]({}, rest, {
7957
8012
  onAnimationEnd: e => {
7958
- externalOnAnimationEnd?.(e);
8013
+ externalOnAnimationEnd === null || externalOnAnimationEnd === void 0 ? void 0 : externalOnAnimationEnd(e);
7959
8014
  if (!open) setIsInDOM(false);
7960
8015
  },
7961
8016
  maxSize: maxSize,
@@ -8015,9 +8070,9 @@ const ModalFooter = /*#__PURE__*/React__default["default"].forwardRef((_ref7, re
8015
8070
  }), children);
8016
8071
  });
8017
8072
 
8018
- var css_248z$f = "._yj8Jv{display:inline-flex;width:127px}._EKjRE{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._EKjRE:hover:not(._5GNhm){cursor:pointer;background:#f5f5f5}._EKjRE._J4Rap{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._EKjRE._5GNhm{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._EKjRE._5GNhm>svg{opacity:.4}._EKjRE::-webkit-inner-spin-button,._EKjRE::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._EKjRE:focus{z-index:0;border:none;border-radius:4px}._EKjRE:focus:not(._J4Rap){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._EKjRE:focus:not(._5GNhm),._rKdxu{background:#fafafa}._rKdxu{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._rKdxu:hover:not(._5GNhm){cursor:pointer;background:#f5f5f5}._rKdxu:active:not(._5GNhm){background:#e5e5e5}._rKdxu._5GNhm{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._rKdxu._5GNhm>svg{opacity:.4}._-hxQn{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._-hxQn:hover:not(._5GNhm){cursor:pointer;background:#f5f5f5}._-hxQn:active:not(._5GNhm){background:#e5e5e5}._-hxQn._5GNhm{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._-hxQn._5GNhm>svg{opacity:.4}";
8019
- var styles$f = {"numberStepperContainer":"_yj8Jv","numberStepperInput":"_EKjRE","disabled":"_5GNhm","invalid":"_J4Rap","decrementBtn":"_rKdxu","incrementBtn":"_-hxQn"};
8020
- var stylesheet$f="._yj8Jv{display:inline-flex;width:127px}._EKjRE{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._EKjRE:hover:not(._5GNhm){cursor:pointer;background:#f5f5f5}._EKjRE._J4Rap{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._EKjRE._5GNhm{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._EKjRE._5GNhm>svg{opacity:.4}._EKjRE::-webkit-inner-spin-button,._EKjRE::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._EKjRE:focus{z-index:0;border:none;border-radius:4px}._EKjRE:focus:not(._J4Rap){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._EKjRE:focus:not(._5GNhm),._rKdxu{background:#fafafa}._rKdxu{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._rKdxu:hover:not(._5GNhm){cursor:pointer;background:#f5f5f5}._rKdxu:active:not(._5GNhm){background:#e5e5e5}._rKdxu._5GNhm{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._rKdxu._5GNhm>svg{opacity:.4}._-hxQn{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._-hxQn:hover:not(._5GNhm){cursor:pointer;background:#f5f5f5}._-hxQn:active:not(._5GNhm){background:#e5e5e5}._-hxQn._5GNhm{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._-hxQn._5GNhm>svg{opacity:.4}";
8073
+ var css_248z$f = "._ILS2Z{display:inline-flex;width:127px}._ss4RT{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._ss4RT:hover:not(._-KXK0){cursor:pointer;background:#f5f5f5}._ss4RT._EFVaO{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._ss4RT._-KXK0{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._ss4RT._-KXK0>svg{opacity:.4}._ss4RT::-webkit-inner-spin-button,._ss4RT::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._ss4RT:focus{z-index:0;border:none;border-radius:4px}._ss4RT:focus:not(._EFVaO){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._-9-Fm,._ss4RT:focus:not(._-KXK0){background:#fafafa}._-9-Fm{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._-9-Fm:hover:not(._-KXK0){cursor:pointer;background:#f5f5f5}._-9-Fm:active:not(._-KXK0){background:#e5e5e5}._-9-Fm._-KXK0{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._-9-Fm._-KXK0>svg{opacity:.4}._MUars{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._MUars:hover:not(._-KXK0){cursor:pointer;background:#f5f5f5}._MUars:active:not(._-KXK0){background:#e5e5e5}._MUars._-KXK0{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._MUars._-KXK0>svg{opacity:.4}";
8074
+ var styles$f = {"numberStepperContainer":"_ILS2Z","numberStepperInput":"_ss4RT","disabled":"_-KXK0","invalid":"_EFVaO","decrementBtn":"_-9-Fm","incrementBtn":"_MUars"};
8075
+ var stylesheet$f="._ILS2Z{display:inline-flex;width:127px}._ss4RT{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._ss4RT:hover:not(._-KXK0){cursor:pointer;background:#f5f5f5}._ss4RT._EFVaO{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._ss4RT._-KXK0{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._ss4RT._-KXK0>svg{opacity:.4}._ss4RT::-webkit-inner-spin-button,._ss4RT::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._ss4RT:focus{z-index:0;border:none;border-radius:4px}._ss4RT:focus:not(._EFVaO){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._-9-Fm,._ss4RT:focus:not(._-KXK0){background:#fafafa}._-9-Fm{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._-9-Fm:hover:not(._-KXK0){cursor:pointer;background:#f5f5f5}._-9-Fm:active:not(._-KXK0){background:#e5e5e5}._-9-Fm._-KXK0{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._-9-Fm._-KXK0>svg{opacity:.4}._MUars{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._MUars:hover:not(._-KXK0){cursor:pointer;background:#f5f5f5}._MUars:active:not(._-KXK0){background:#e5e5e5}._MUars._-KXK0{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._MUars._-KXK0>svg{opacity:.4}";
8021
8076
  icons_index.styleInject(css_248z$f);
8022
8077
 
8023
8078
  const {
@@ -8072,7 +8127,7 @@ const NumberStepperInput$1 = /*#__PURE__*/React__default["default"].forwardRef((
8072
8127
  * depending on the key that was pressed.
8073
8128
  */
8074
8129
  const handleKeyDown = e => {
8075
- onKeyDown?.(e);
8130
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
8076
8131
  if (isExternallyDisabled) return;
8077
8132
  if (e.key === 'ArrowUp') {
8078
8133
  // Prevents browser's default increment
@@ -8107,7 +8162,7 @@ const NumberStepperInput$1 = /*#__PURE__*/React__default["default"].forwardRef((
8107
8162
  * Selects the DOM element
8108
8163
  */
8109
8164
  const handleFocus = e => {
8110
- onFocus?.(e);
8165
+ onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
8111
8166
  if (isExternallyDisabled) return;
8112
8167
  e.target.select();
8113
8168
  };
@@ -8117,7 +8172,7 @@ const NumberStepperInput$1 = /*#__PURE__*/React__default["default"].forwardRef((
8117
8172
  * Calls `handleInputBlur`
8118
8173
  */
8119
8174
  const handleBlur = e => {
8120
- onBlur?.(e);
8175
+ onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
8121
8176
  if (isExternallyDisabled) return;
8122
8177
  handleInputBlur(e);
8123
8178
  };
@@ -8182,7 +8237,7 @@ const NumberStepperIncrement$1 = /*#__PURE__*/React__default["default"].forwardR
8182
8237
  */
8183
8238
  const handleClick = e => {
8184
8239
  if (!isDisabled) {
8185
- onClick?.(e);
8240
+ onClick === null || onClick === void 0 ? void 0 : onClick(e);
8186
8241
  increment(true);
8187
8242
  }
8188
8243
  };
@@ -8235,7 +8290,7 @@ const NumberStepperDecrement$1 = /*#__PURE__*/React__default["default"].forwardR
8235
8290
  */
8236
8291
  const handleClick = e => {
8237
8292
  if (!isDisabled) {
8238
- onClick?.(e);
8293
+ onClick === null || onClick === void 0 ? void 0 : onClick(e);
8239
8294
  decrement(true);
8240
8295
  }
8241
8296
  };
@@ -8406,15 +8461,16 @@ const NumberStepper$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref,
8406
8461
  }
8407
8462
  }
8408
8463
  if (regex.test(val)) {
8464
+ var _val$split;
8409
8465
  const currentIsSeparatedByComma = isSeparatedByComma(val);
8410
8466
  const currentDecimalSeparator = currentIsSeparatedByComma ? ',' : '.';
8411
- const decimalPortion = val.split(currentDecimalSeparator)?.[1];
8412
- if (decimalPortion?.length > 2) {
8467
+ const decimalPortion = (_val$split = val.split(currentDecimalSeparator)) === null || _val$split === void 0 ? void 0 : _val$split[1];
8468
+ if ((decimalPortion === null || decimalPortion === void 0 ? void 0 : decimalPortion.length) > 2) {
8413
8469
  let rounded = String(roundToTwoDecimalPlaces(convertToNumber$1(val)));
8414
8470
 
8415
8471
  // If a user types a number that rounds out to a whole number, such as '23.000' or `1.999`, the '.' is rounded away, causing the user to lose their place in the input.
8416
8472
  if (rounded.indexOf('.') === -1) {
8417
- rounded += `${currentDecimalSeparator}00`;
8473
+ rounded += "".concat(currentDecimalSeparator, "00");
8418
8474
  }
8419
8475
  setInputValue(localizeNumber(rounded, currentIsSeparatedByComma));
8420
8476
  } else {
@@ -8465,7 +8521,7 @@ const NumberStepper$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref,
8465
8521
  } = e;
8466
8522
  if (!componentHasFocus.current && currentTarget.contains(document.activeElement)) {
8467
8523
  componentHasFocus.current = true;
8468
- onFocus?.(e);
8524
+ onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
8469
8525
  }
8470
8526
  },
8471
8527
  onBlur: e => {
@@ -8478,7 +8534,7 @@ const NumberStepper$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref,
8478
8534
  // Check if the new focused element is a child of the original container
8479
8535
  if (!currentTarget.contains(document.activeElement)) {
8480
8536
  componentHasFocus.current = false;
8481
- onBlur?.(e);
8537
+ onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
8482
8538
  }
8483
8539
  });
8484
8540
  }
@@ -8494,7 +8550,7 @@ function convertToNumber$1(value) {
8494
8550
  if (typeof value === 'number') {
8495
8551
  return value;
8496
8552
  }
8497
- const num = Number(value?.replace(',', '.'));
8553
+ const num = Number(value === null || value === void 0 ? void 0 : value.replace(',', '.'));
8498
8554
  if (Number.isNaN(num)) {
8499
8555
  return 0;
8500
8556
  }
@@ -8527,9 +8583,9 @@ function clampMinMax$1(value, _ref2) {
8527
8583
  return value;
8528
8584
  }
8529
8585
 
8530
- var css_248z$e = "._ekOf9{height:100vh;width:100vw;display:grid;grid-template-rows:auto 1fr;grid-template-columns:auto auto 1fr;grid-template-areas:\"pageHeader pageHeader pageHeader\" \"sidebarNav configPane mainContent\"}._tKJhJ{grid-area:pageHeader}._Ie1Mi{grid-area:mainContent;height:100%;overflow:auto}";
8531
- var styles$e = {"pageContainer":"_ekOf9","pageHeader":"_tKJhJ","mainContent":"_Ie1Mi"};
8532
- var stylesheet$e="._ekOf9{height:100vh;width:100vw;display:grid;grid-template-rows:auto 1fr;grid-template-columns:auto auto 1fr;grid-template-areas:\"pageHeader pageHeader pageHeader\" \"sidebarNav configPane mainContent\"}._tKJhJ{grid-area:pageHeader}._Ie1Mi{grid-area:mainContent;height:100%;overflow:auto}";
8586
+ var css_248z$e = "._tBHRX{height:100vh;width:100vw;display:grid;grid-template-rows:auto 1fr;grid-template-columns:auto auto 1fr;grid-template-areas:\"pageHeader pageHeader pageHeader\" \"sidebarNav configPane mainContent\"}._QIS0t{grid-area:pageHeader}._UVTe-{grid-area:mainContent;height:100%;overflow:auto}";
8587
+ var styles$e = {"pageContainer":"_tBHRX","pageHeader":"_QIS0t","mainContent":"_UVTe-"};
8588
+ var stylesheet$e="._tBHRX{height:100vh;width:100vw;display:grid;grid-template-rows:auto 1fr;grid-template-columns:auto auto 1fr;grid-template-areas:\"pageHeader pageHeader pageHeader\" \"sidebarNav configPane mainContent\"}._QIS0t{grid-area:pageHeader}._UVTe-{grid-area:mainContent;height:100%;overflow:auto}";
8533
8589
  icons_index.styleInject(css_248z$e);
8534
8590
 
8535
8591
  const PageContainer = /*#__PURE__*/React.forwardRef((_ref, ref) => {
@@ -8565,9 +8621,9 @@ const MainContent = /*#__PURE__*/React.forwardRef((_ref, ref) => {
8565
8621
  }));
8566
8622
  });
8567
8623
 
8568
- var css_248z$d = "._g398R{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._mj9SD{margin-right:8px}._ZIDAz{margin-left:8px}._f3PjI{margin:-10px -15px}._69sY9{width:100%;text-align:center}";
8569
- var styles$d = {"pagination":"_g398R","previousButton":"_mj9SD","nextButton":"_ZIDAz","btnIcon":"_f3PjI","input":"_69sY9"};
8570
- var stylesheet$d="._g398R{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._mj9SD{margin-right:8px}._ZIDAz{margin-left:8px}._f3PjI{margin:-10px -15px}._69sY9{width:100%;text-align:center}";
8624
+ var css_248z$d = "._cNhXA{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._dS7rP{margin-right:8px}._5xY-E{margin-left:8px}._9Zz4n{margin:-10px -15px}._0Iz9k{width:100%;text-align:center}";
8625
+ var styles$d = {"pagination":"_cNhXA","previousButton":"_dS7rP","nextButton":"_5xY-E","btnIcon":"_9Zz4n","input":"_0Iz9k"};
8626
+ var stylesheet$d="._cNhXA{display:flex;align-items:center;justify-content:center;font-size:14px;white-space:pre}._dS7rP{margin-right:8px}._5xY-E{margin-left:8px}._9Zz4n{margin:-10px -15px}._0Iz9k{width:100%;text-align:center}";
8571
8627
  icons_index.styleInject(css_248z$d);
8572
8628
 
8573
8629
  const {
@@ -8606,19 +8662,19 @@ const PaginationPreviousButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
8606
8662
  */
8607
8663
  const decrement = () => {
8608
8664
  const newPage = pageInputValue - 1;
8609
- setPageInputValue?.(newPage);
8610
- handlePageChange?.(newPage);
8665
+ setPageInputValue === null || setPageInputValue === void 0 ? void 0 : setPageInputValue(newPage);
8666
+ handlePageChange === null || handlePageChange === void 0 ? void 0 : handlePageChange(newPage);
8611
8667
  };
8612
8668
  return /*#__PURE__*/React__default["default"].createElement(Button, _extends__default["default"]({}, rest, {
8613
- disabled: disabled ?? pageInputValue === 1,
8669
+ disabled: disabled !== null && disabled !== void 0 ? disabled : pageInputValue === 1,
8614
8670
  ref: ref,
8615
8671
  kind: "tertiary",
8616
8672
  onClick: e => {
8617
- onClick?.(e);
8673
+ onClick === null || onClick === void 0 ? void 0 : onClick(e);
8618
8674
  decrement();
8619
8675
  },
8620
8676
  className: classNames__default["default"](className, styles$d.previousButton),
8621
- "data-testid": dataTestIdFromProps ?? getSubDataTestId(dataTestId, 'PreviousButton'),
8677
+ "data-testid": dataTestIdFromProps !== null && dataTestIdFromProps !== void 0 ? dataTestIdFromProps : getSubDataTestId(dataTestId, 'PreviousButton'),
8622
8678
  "aria-label": buttonLabel
8623
8679
  }), /*#__PURE__*/React__default["default"].createElement(icons_index.ChevronLeftIcon, {
8624
8680
  className: styles$d.btnIcon,
@@ -8659,19 +8715,19 @@ const PaginationNextButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
8659
8715
  */
8660
8716
  const increment = () => {
8661
8717
  const newPage = pageInputValue + 1;
8662
- setPageInputValue?.(newPage);
8663
- handlePageChange?.(newPage);
8718
+ setPageInputValue === null || setPageInputValue === void 0 ? void 0 : setPageInputValue(newPage);
8719
+ handlePageChange === null || handlePageChange === void 0 ? void 0 : handlePageChange(newPage);
8664
8720
  };
8665
8721
  return /*#__PURE__*/React__default["default"].createElement(Button, _extends__default["default"]({}, rest, {
8666
- disabled: disabled ?? pageInputValue === numPages,
8722
+ disabled: disabled !== null && disabled !== void 0 ? disabled : pageInputValue === numPages,
8667
8723
  ref: ref,
8668
8724
  kind: "tertiary",
8669
8725
  onClick: e => {
8670
- onClick?.(e);
8726
+ onClick === null || onClick === void 0 ? void 0 : onClick(e);
8671
8727
  increment();
8672
8728
  },
8673
8729
  className: classNames__default["default"](className, styles$d.nextButton),
8674
- "data-testid": dataTestIdFromProps ?? getSubDataTestId(dataTestId, 'NextButton'),
8730
+ "data-testid": dataTestIdFromProps !== null && dataTestIdFromProps !== void 0 ? dataTestIdFromProps : getSubDataTestId(dataTestId, 'NextButton'),
8675
8731
  "aria-label": buttonLabel
8676
8732
  }), /*#__PURE__*/React__default["default"].createElement(icons_index.ChevronRightIcon, {
8677
8733
  className: styles$d.btnIcon,
@@ -8717,7 +8773,8 @@ const PaginationPageInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
8717
8773
  * Computes the width of the input based on the number of characters entered
8718
8774
  */
8719
8775
  const inputWidth = React.useMemo(() => {
8720
- const numDigits = currentPage?.toString().length ?? 0;
8776
+ var _currentPage$toString;
8777
+ const numDigits = (_currentPage$toString = currentPage === null || currentPage === void 0 ? void 0 : currentPage.toString().length) !== null && _currentPage$toString !== void 0 ? _currentPage$toString : 0;
8721
8778
  const minWidth = 36;
8722
8779
  return numDigits > 2 ? 9 * (numDigits - 2) + minWidth : minWidth;
8723
8780
  }, [currentPage]);
@@ -8727,7 +8784,7 @@ const PaginationPageInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
8727
8784
  */
8728
8785
  const handleBlur = () => {
8729
8786
  if (pageInputValue !== currentPage && currentPage !== undefined) {
8730
- setPageInputValue?.(currentPage);
8787
+ setPageInputValue === null || setPageInputValue === void 0 ? void 0 : setPageInputValue(currentPage);
8731
8788
  }
8732
8789
  };
8733
8790
 
@@ -8738,11 +8795,11 @@ const PaginationPageInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
8738
8795
  */
8739
8796
  const handleInputChange = newValue => {
8740
8797
  if (newValue === '' || !Number.isInteger(Number(newValue))) {
8741
- setPageInputValue?.(newValue);
8798
+ setPageInputValue === null || setPageInputValue === void 0 ? void 0 : setPageInputValue(newValue);
8742
8799
  } else {
8743
8800
  const newPage = Math.min(Math.max(1, newValue), numPages || Number.MAX_SAFE_INTEGER);
8744
- setPageInputValue?.(newPage);
8745
- handlePageChange?.(newPage);
8801
+ setPageInputValue === null || setPageInputValue === void 0 ? void 0 : setPageInputValue(newPage);
8802
+ handlePageChange === null || handlePageChange === void 0 ? void 0 : handlePageChange(newPage);
8746
8803
  }
8747
8804
  };
8748
8805
 
@@ -8750,7 +8807,8 @@ const PaginationPageInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
8750
8807
  * If there is a ref to the input, selects all text within the input
8751
8808
  */
8752
8809
  const handleFocus = () => {
8753
- inputRef.current?.select();
8810
+ var _inputRef$current;
8811
+ (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.select();
8754
8812
  };
8755
8813
  return /*#__PURE__*/React__default["default"].createElement(Translate, {
8756
8814
  messageKey: "pagination",
@@ -8768,15 +8826,15 @@ const PaginationPageInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
8768
8826
  max: numPages,
8769
8827
  value: pageInputValue,
8770
8828
  onChange: e => {
8771
- onChange?.(e);
8829
+ onChange === null || onChange === void 0 ? void 0 : onChange(e);
8772
8830
  handleInputChange(e.target.value);
8773
8831
  },
8774
8832
  onBlur: e => {
8775
- onBlur?.(e);
8833
+ onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
8776
8834
  handleBlur();
8777
8835
  },
8778
8836
  onFocus: e => {
8779
- onFocus?.(e);
8837
+ onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
8780
8838
  handleFocus();
8781
8839
  },
8782
8840
  style: {
@@ -8835,7 +8893,7 @@ const Pagination = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
8835
8893
  * @param {Number} newPage - The value entered into the input
8836
8894
  */
8837
8895
  const handlePageChange = React.useCallback(newPage => {
8838
- onPageChange?.({
8896
+ onPageChange === null || onPageChange === void 0 ? void 0 : onPageChange({
8839
8897
  page: newPage
8840
8898
  });
8841
8899
  }, [onPageChange]);
@@ -8861,9 +8919,9 @@ const Pagination = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
8861
8919
  }, children || /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(PaginationPreviousButton, null), Number(numPages) > 0 ? /*#__PURE__*/React__default["default"].createElement(PaginationPageInput, null) : null, /*#__PURE__*/React__default["default"].createElement(PaginationNextButton, null))));
8862
8920
  });
8863
8921
 
8864
- var css_248z$c = "._z4Wmc{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._z4Wmc:focus{outline:none}._RToxB,._RToxB>div{position:absolute;width:8px;height:8px;background:inherit}._RToxB{visibility:hidden;z-index:1000}._RToxB>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._RToxB{bottom:-4px}[data-popper-placement^=top]>._RToxB>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._RToxB{left:-5px}[data-popper-placement^=right]>._RToxB>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._RToxB{top:-5px}[data-popper-placement^=bottom]>._RToxB>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._RToxB{right:-4px}[data-popper-placement^=left]>._RToxB>div{border-bottom-color:transparent;border-left-color:transparent}";
8865
- var styles$c = {"popover":"_z4Wmc","arrow":"_RToxB"};
8866
- var stylesheet$c="._z4Wmc{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._z4Wmc:focus{outline:none}._RToxB,._RToxB>div{position:absolute;width:8px;height:8px;background:inherit}._RToxB{visibility:hidden;z-index:1000}._RToxB>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._RToxB{bottom:-4px}[data-popper-placement^=top]>._RToxB>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._RToxB{left:-5px}[data-popper-placement^=right]>._RToxB>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._RToxB{top:-5px}[data-popper-placement^=bottom]>._RToxB>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._RToxB{right:-4px}[data-popper-placement^=left]>._RToxB>div{border-bottom-color:transparent;border-left-color:transparent}";
8922
+ var css_248z$c = "._tG9Z6{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._tG9Z6:focus{outline:none}._309Re,._309Re>div{position:absolute;width:8px;height:8px;background:inherit}._309Re{visibility:hidden;z-index:1000}._309Re>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._309Re{bottom:-4px}[data-popper-placement^=top]>._309Re>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._309Re{left:-5px}[data-popper-placement^=right]>._309Re>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._309Re{top:-5px}[data-popper-placement^=bottom]>._309Re>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._309Re{right:-4px}[data-popper-placement^=left]>._309Re>div{border-bottom-color:transparent;border-left-color:transparent}";
8923
+ var styles$c = {"popover":"_tG9Z6","arrow":"_309Re"};
8924
+ var stylesheet$c="._tG9Z6{position:absolute;z-index:1000;background-color:#fff;border-radius:4px;display:inline-block;box-shadow:0 3px 4px 0 rgba(0,0,0,.05),0 6px 10px 0 rgba(0,0,0,.05);border:1px solid #898989}._tG9Z6:focus{outline:none}._309Re,._309Re>div{position:absolute;width:8px;height:8px;background:inherit}._309Re{visibility:hidden;z-index:1000}._309Re>div{visibility:visible;border:1px solid #898989;transform:rotate(45deg)}[data-popper-placement^=top]>._309Re{bottom:-4px}[data-popper-placement^=top]>._309Re>div{border-top-color:transparent;border-left-color:transparent}[data-popper-placement^=right]>._309Re{left:-5px}[data-popper-placement^=right]>._309Re>div{border-top-color:transparent;border-right-color:transparent}[data-popper-placement^=bottom]>._309Re{top:-5px}[data-popper-placement^=bottom]>._309Re>div{border-bottom-color:transparent;border-right-color:transparent}[data-popper-placement^=left]>._309Re{right:-4px}[data-popper-placement^=left]>._309Re>div{border-bottom-color:transparent;border-left-color:transparent}";
8867
8925
  icons_index.styleInject(css_248z$c);
8868
8926
 
8869
8927
  const Popover = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
@@ -8887,7 +8945,7 @@ const Popover = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
8887
8945
  const classes = classNames__default["default"](styles$c.popover, className);
8888
8946
  const anchorRef = React.useRef();
8889
8947
  const popperRef = React.useRef(null);
8890
- const preventClickOutside = useClickOutsidePortals(e => show && onClickOutside?.(e));
8948
+ const preventClickOutside = useClickOutsidePortals(e => show && (onClickOutside === null || onClickOutside === void 0 ? void 0 : onClickOutside(e)));
8891
8949
  const [isInDOM, setIsInDOM] = React.useState(false);
8892
8950
  const popoverId = useId(externalId);
8893
8951
 
@@ -8904,22 +8962,23 @@ const Popover = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
8904
8962
  * 2. A user in Safari clicks on 1 or more `Popover` anchor elements and then presses the `Escape` key. This is because buttons aren't focused on `click` or `mousedown` in Safari by default.
8905
8963
  */
8906
8964
  if (!show && isInDOM) {
8965
+ var _anchorRef$current;
8907
8966
  // Prevents scroll so that the page does not scroll to the anchor element if the anchor element is out of view
8908
- anchorRef.current?.focus({
8967
+ (_anchorRef$current = anchorRef.current) === null || _anchorRef$current === void 0 ? void 0 : _anchorRef$current.focus({
8909
8968
  preventScroll: true
8910
8969
  });
8911
8970
  }
8912
8971
  setIsInDOM(show);
8913
8972
  }, [show, isInDOM]);
8914
8973
  const handlePopoverContainerClick = e => {
8915
- onClick?.(e);
8974
+ onClick === null || onClick === void 0 ? void 0 : onClick(e);
8916
8975
  };
8917
8976
  const handlePopoverContainerKeyDown = e => {
8918
8977
  if (e.key === 'Escape') {
8919
8978
  e.stopPropagation(); // prevent event from closing modals or popovers
8920
- onClose?.(e);
8979
+ onClose === null || onClose === void 0 ? void 0 : onClose(e);
8921
8980
  }
8922
- onKeyDown?.(e);
8981
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
8923
8982
  };
8924
8983
  return /*#__PURE__*/React__default["default"].createElement(Popper, {
8925
8984
  open: show,
@@ -8932,6 +8991,7 @@ const Popover = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
8932
8991
  'aria-expanded': show,
8933
8992
  'aria-controls': show ? popoverId : undefined,
8934
8993
  onMouseDown: e => {
8994
+ var _children$props$onMou, _children$props;
8935
8995
  /*
8936
8996
  * Prevents the anchor element from getting focus (only in some browsers).
8937
8997
  * If a Popover is open and out of view, and another button is clicked, this prevents the browser from scrolling to the open Popover.
@@ -8939,9 +8999,9 @@ const Popover = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
8939
8999
  */
8940
9000
  e.preventDefault();
8941
9001
  preventClickOutside();
8942
- children.props.onMouseDown?.(e);
9002
+ (_children$props$onMou = (_children$props = children.props).onMouseDown) === null || _children$props$onMou === void 0 ? void 0 : _children$props$onMou.call(_children$props, e);
8943
9003
  },
8944
- ref: mergeRefs(anchorRef, children?.ref)
9004
+ ref: mergeRefs(anchorRef, children === null || children === void 0 ? void 0 : children.ref)
8945
9005
  }),
8946
9006
  popper: /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
8947
9007
  ref: mergeRefs(ref, popperRef),
@@ -8977,9 +9037,9 @@ const Popover = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
8977
9037
  });
8978
9038
  });
8979
9039
 
8980
- var css_248z$b = "._Y0haa{display:flex;height:32px}";
8981
- var styles$b = {"loadingSpinner":"_Y0haa"};
8982
- var stylesheet$b="._Y0haa{display:flex;height:32px}";
9040
+ var css_248z$b = "._NqJ-J{display:flex;height:32px}";
9041
+ var styles$b = {"loadingSpinner":"_NqJ-J"};
9042
+ var stylesheet$b="._NqJ-J{display:flex;height:32px}";
8983
9043
  icons_index.styleInject(css_248z$b);
8984
9044
 
8985
9045
  const QuickSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
@@ -9015,11 +9075,11 @@ const QuickSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
9015
9075
  if (!open) {
9016
9076
  setIsLoading(true);
9017
9077
  }
9018
- setIsOpen?.(true);
9078
+ setIsOpen === null || setIsOpen === void 0 ? void 0 : setIsOpen(true);
9019
9079
  };
9020
9080
  const closeMenu = React.useCallback(() => {
9021
9081
  setItems([]);
9022
- internalCloseMenu?.();
9082
+ internalCloseMenu === null || internalCloseMenu === void 0 ? void 0 : internalCloseMenu();
9023
9083
  setIsLoading(true);
9024
9084
  }, [setItems, internalCloseMenu, setIsLoading]);
9025
9085
  const onSearchRef = useLatest(onSearch);
@@ -9049,14 +9109,14 @@ const QuickSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
9049
9109
  if (e.key === 'Enter' || e.key === 'ArrowDown') {
9050
9110
  e.preventDefault(); // prevent scroll
9051
9111
  openMenu();
9052
- setHighlightedIndex?.(0);
9112
+ setHighlightedIndex === null || setHighlightedIndex === void 0 ? void 0 : setHighlightedIndex(0);
9053
9113
  if (!open) {
9054
9114
  handleSearch(value);
9055
9115
  }
9056
9116
  } else if (e.key === 'ArrowUp') {
9057
9117
  e.preventDefault(); // prevent scroll
9058
9118
  openMenu();
9059
- setHighlightedIndex?.(items.length - 1);
9119
+ setHighlightedIndex === null || setHighlightedIndex === void 0 ? void 0 : setHighlightedIndex(items.length - 1);
9060
9120
  if (!open) {
9061
9121
  handleSearch(value);
9062
9122
  }
@@ -9104,6 +9164,7 @@ const QuickSearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
9104
9164
  });
9105
9165
 
9106
9166
  const QuickSearch = /*#__PURE__*/React.forwardRef((_ref, ref) => {
9167
+ var _anchorRef$current;
9107
9168
  let {
9108
9169
  maxHeight: externalMaxHeight,
9109
9170
  menuProps,
@@ -9119,7 +9180,7 @@ const QuickSearch = /*#__PURE__*/React.forwardRef((_ref, ref) => {
9119
9180
  const [items, setItems] = React.useState([]);
9120
9181
  const maxHeight = items.length > 10 ? 500 : undefined;
9121
9182
  const anchorRef = React.useRef(null);
9122
- const anchorWidth = anchorRef?.current?.clientWidth;
9183
+ const anchorWidth = anchorRef === null || anchorRef === void 0 ? void 0 : (_anchorRef$current = anchorRef.current) === null || _anchorRef$current === void 0 ? void 0 : _anchorRef$current.clientWidth;
9123
9184
  const {
9124
9185
  translate
9125
9186
  } = useTranslation();
@@ -9132,7 +9193,7 @@ const QuickSearch = /*#__PURE__*/React.forwardRef((_ref, ref) => {
9132
9193
  portalTarget: portalTarget,
9133
9194
  zIndex: zIndex,
9134
9195
  anchor: /*#__PURE__*/React__default["default"].createElement(QuickSearchInput, _extends__default["default"]({}, rest, {
9135
- role: role ?? 'searchbox',
9196
+ role: role !== null && role !== void 0 ? role : 'searchbox',
9136
9197
  ref: mergeRefs(ref, anchorRef),
9137
9198
  setIsLoading: setIsLoading,
9138
9199
  items: items,
@@ -9149,14 +9210,14 @@ const QuickSearch = /*#__PURE__*/React.forwardRef((_ref, ref) => {
9149
9210
  return /*#__PURE__*/React__default["default"].createElement(MenuItem, {
9150
9211
  key: index,
9151
9212
  value: value,
9152
- onSelect: () => onSelect?.(item)
9213
+ onSelect: () => onSelect === null || onSelect === void 0 ? void 0 : onSelect(item)
9153
9214
  }, label);
9154
9215
  }));
9155
9216
  });
9156
9217
 
9157
- var css_248z$a = "._O-huZ{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._jKXT7,._O-huZ{cursor:pointer;height:16px;width:16px}._jKXT7{position:absolute;opacity:0;z-index:10}._jKXT7:checked~._Ti-9d>._x9ZqQ{fill-opacity:1}._jKXT7:checked:enabled~._Ti-9d{border-color:transparent;background-color:#0b6ed0}._jKXT7:checked:enabled~._Ti-9d>._x9ZqQ{fill:#fff}._jKXT7:checked:enabled:hover~._Ti-9d{background-color:#085caf}._jKXT7:not(:checked):enabled:hover~._Ti-9d{border-color:#0b6ed0}._jKXT7:disabled{cursor:not-allowed}._jKXT7:disabled~._Ti-9d{opacity:.4}._jKXT7:checked~._Ti-9d:after{content:\"\"}._cPOqC{color:#32363a;display:flex;align-items:center;cursor:pointer}._Z-T6v{cursor:auto;color:hsla(0,0%,53.7%,.4)}._z4YN1{margin-right:12px;flex-shrink:0}._Ti-9d{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._x9ZqQ{fill:#0b6ed0;fill-opacity:0}._Ti-9d:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._P8UaC{border:none;padding:0;margin:0}._YroML{padding:0;margin:0 0 14px;color:#01213f}body.keyboard-user ._jKXT7:active:focus~._Ti-9d,body.keyboard-user ._jKXT7:focus~._Ti-9d{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9158
- var styles$a = {"radio":"_O-huZ","input":"_jKXT7","check":"_Ti-9d","checkIcon":"_x9ZqQ","label":"_cPOqC","labelDisabled":"_Z-T6v","wrappedInput":"_z4YN1","radioGroup":"_P8UaC","legend":"_YroML"};
9159
- var stylesheet$a="._O-huZ{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._jKXT7,._O-huZ{cursor:pointer;height:16px;width:16px}._jKXT7{position:absolute;opacity:0;z-index:10}._jKXT7:checked~._Ti-9d>._x9ZqQ{fill-opacity:1}._jKXT7:checked:enabled~._Ti-9d{border-color:transparent;background-color:#0b6ed0}._jKXT7:checked:enabled~._Ti-9d>._x9ZqQ{fill:#fff}._jKXT7:checked:enabled:hover~._Ti-9d{background-color:#085caf}._jKXT7:not(:checked):enabled:hover~._Ti-9d{border-color:#0b6ed0}._jKXT7:disabled{cursor:not-allowed}._jKXT7:disabled~._Ti-9d{opacity:.4}._jKXT7:checked~._Ti-9d:after{content:\"\"}._cPOqC{color:#32363a;display:flex;align-items:center;cursor:pointer}._Z-T6v{cursor:auto;color:hsla(0,0%,53.7%,.4)}._z4YN1{margin-right:12px;flex-shrink:0}._Ti-9d{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._x9ZqQ{fill:#0b6ed0;fill-opacity:0}._Ti-9d:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._P8UaC{border:none;padding:0;margin:0}._YroML{padding:0;margin:0 0 14px;color:#01213f}body.keyboard-user ._jKXT7:active:focus~._Ti-9d,body.keyboard-user ._jKXT7:focus~._Ti-9d{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9218
+ var css_248z$a = "._GCX7x{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._BBMH-,._GCX7x{cursor:pointer;height:16px;width:16px}._BBMH-{position:absolute;opacity:0;z-index:10}._BBMH-:checked~._Zfh1d>._n-ueu{fill-opacity:1}._BBMH-:checked:enabled~._Zfh1d{border-color:transparent;background-color:#0b6ed0}._BBMH-:checked:enabled~._Zfh1d>._n-ueu{fill:#fff}._BBMH-:checked:enabled:hover~._Zfh1d{background-color:#085caf}._BBMH-:not(:checked):enabled:hover~._Zfh1d{border-color:#0b6ed0}._BBMH-:disabled{cursor:not-allowed}._BBMH-:disabled~._Zfh1d{opacity:.4}._BBMH-:checked~._Zfh1d:after{content:\"\"}._dYvpr{color:#32363a;display:flex;align-items:center;cursor:pointer}._NVj-m{cursor:auto;color:hsla(0,0%,53.7%,.4)}._HjVM0{margin-right:12px;flex-shrink:0}._Zfh1d{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._n-ueu{fill:#0b6ed0;fill-opacity:0}._Zfh1d:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._fOKka{border:none;padding:0;margin:0}._M8DXu{padding:0;margin:0 0 14px;color:#01213f}._BBMH-.focus-visible~._Zfh1d,._BBMH-:focus-visible~._Zfh1d{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9219
+ var styles$a = {"radio":"_GCX7x","input":"_BBMH-","check":"_Zfh1d","checkIcon":"_n-ueu","label":"_dYvpr","labelDisabled":"_NVj-m","wrappedInput":"_HjVM0","radioGroup":"_fOKka","legend":"_M8DXu"};
9220
+ var stylesheet$a="._GCX7x{display:inline-flex;position:relative;margin-top:6px;margin-bottom:6px}._BBMH-,._GCX7x{cursor:pointer;height:16px;width:16px}._BBMH-{position:absolute;opacity:0;z-index:10}._BBMH-:checked~._Zfh1d>._n-ueu{fill-opacity:1}._BBMH-:checked:enabled~._Zfh1d{border-color:transparent;background-color:#0b6ed0}._BBMH-:checked:enabled~._Zfh1d>._n-ueu{fill:#fff}._BBMH-:checked:enabled:hover~._Zfh1d{background-color:#085caf}._BBMH-:not(:checked):enabled:hover~._Zfh1d{border-color:#0b6ed0}._BBMH-:disabled{cursor:not-allowed}._BBMH-:disabled~._Zfh1d{opacity:.4}._BBMH-:checked~._Zfh1d:after{content:\"\"}._dYvpr{color:#32363a;display:flex;align-items:center;cursor:pointer}._NVj-m{cursor:auto;color:hsla(0,0%,53.7%,.4)}._HjVM0{margin-right:12px;flex-shrink:0}._Zfh1d{display:flex;align-items:center;justify-content:center;position:absolute;top:0;left:0;height:16px;width:16px;background-color:#fff;border-radius:4px;border:1px solid #898989;z-index:0;border-radius:50%;background-color:transparent!important;border-color:#898989!important}._n-ueu{fill:#0b6ed0;fill-opacity:0}._Zfh1d:after{position:absolute;z-index:0;background-color:#0b6ed0;border-radius:50%;height:10px;width:10px;top:2px;left:2px}._fOKka{border:none;padding:0;margin:0}._M8DXu{padding:0;margin:0 0 14px;color:#01213f}._BBMH-.focus-visible~._Zfh1d,._BBMH-:focus-visible~._Zfh1d{border-color:#0b6ed0;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9160
9221
  icons_index.styleInject(css_248z$a);
9161
9222
 
9162
9223
  const {
@@ -9165,6 +9226,7 @@ const {
9165
9226
  } = createContextUtilities({});
9166
9227
 
9167
9228
  const Radio = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
9229
+ var _ref2;
9168
9230
  let {
9169
9231
  id,
9170
9232
  className,
@@ -9189,25 +9251,25 @@ const Radio = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
9189
9251
  helperTextId: formFieldHelperTextId,
9190
9252
  errorTextId: formFieldErrorTextId
9191
9253
  } = useFormFieldContext();
9192
- const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps?.['aria-describedby']);
9193
- const checked = groupValue !== undefined ? value === groupValue : radioChecked ?? inputProps?.checked;
9194
- const defaultChecked = groupDefaultValue !== undefined ? value === groupDefaultValue : radioDefaultChecked ?? inputProps?.defaultChecked;
9195
- const onChange = radioGroupOnChange ?? radioOnChange ?? inputProps?.onChange;
9254
+ const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-describedby']);
9255
+ const checked = groupValue !== undefined ? value === groupValue : radioChecked !== null && radioChecked !== void 0 ? radioChecked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.checked;
9256
+ const defaultChecked = groupDefaultValue !== undefined ? value === groupDefaultValue : radioDefaultChecked !== null && radioDefaultChecked !== void 0 ? radioDefaultChecked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.defaultChecked;
9257
+ const onChange = (_ref2 = radioGroupOnChange !== null && radioGroupOnChange !== void 0 ? radioGroupOnChange : radioOnChange) !== null && _ref2 !== void 0 ? _ref2 : inputProps === null || inputProps === void 0 ? void 0 : inputProps.onChange;
9196
9258
  return /*#__PURE__*/React__default["default"].createElement("span", _extends__default["default"]({}, rest, {
9197
9259
  ref: ref,
9198
9260
  className: classNames__default["default"](className, styles$a.radio)
9199
9261
  }), /*#__PURE__*/React__default["default"].createElement("input", _extends__default["default"]({}, inputProps, {
9200
- className: classNames__default["default"](styles$a.input, inputProps?.className),
9262
+ className: classNames__default["default"](styles$a.input, inputProps === null || inputProps === void 0 ? void 0 : inputProps.className),
9201
9263
  type: "radio",
9202
- id: id ?? inputProps?.id,
9264
+ id: id !== null && id !== void 0 ? id : inputProps === null || inputProps === void 0 ? void 0 : inputProps.id,
9203
9265
  checked: checked,
9204
9266
  defaultChecked: defaultChecked,
9205
- disabled: disabled ?? inputProps?.disabled,
9206
- name: name ?? inputProps?.name,
9207
- value: value ?? inputProps?.value,
9267
+ disabled: disabled !== null && disabled !== void 0 ? disabled : inputProps === null || inputProps === void 0 ? void 0 : inputProps.disabled,
9268
+ name: name !== null && name !== void 0 ? name : inputProps === null || inputProps === void 0 ? void 0 : inputProps.name,
9269
+ value: value !== null && value !== void 0 ? value : inputProps === null || inputProps === void 0 ? void 0 : inputProps.value,
9208
9270
  onChange: disabled ? undefined : onChange,
9209
- "aria-label": ariaLabel ?? inputProps?.['aria-label'],
9210
- "aria-labelledby": ariaLabelledBy ?? inputProps?.['aria-labelledby'],
9271
+ "aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-label'],
9272
+ "aria-labelledby": ariaLabelledBy !== null && ariaLabelledBy !== void 0 ? ariaLabelledBy : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-labelledby'],
9211
9273
  "aria-describedby": internalAriaDescribedby
9212
9274
  })), /*#__PURE__*/React__default["default"].createElement("span", {
9213
9275
  className: styles$a.check
@@ -9268,9 +9330,9 @@ const RadioGroup = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
9268
9330
  }, label), children));
9269
9331
  });
9270
9332
 
9271
- var css_248z$9 = "._-UKkr{display:inline-block;position:relative}._Wh0w4._Wh0w4{padding-left:36px;padding-right:36px;width:100%}._Wh0w4._Wh0w4:disabled+._BkV5r{fill-opacity:.6}._BkV5r{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._BkV5r._rdySt{z-index:20}._2I4-4{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._2I4-4:hover{cursor:pointer}._2I4-4:hover>._ghlGl{fill:#32363a}._2I4-4:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._ghlGl{fill:#515559}";
9272
- var styles$9 = {"searchInput":"_-UKkr","searchInputInput":"_Wh0w4","searchInputSearchIcon":"_BkV5r","usedWithinInputGroup":"_rdySt","searchInputClearButton":"_2I4-4","searchInputClearButtonIcon":"_ghlGl"};
9273
- var stylesheet$9="._-UKkr{display:inline-block;position:relative}._Wh0w4._Wh0w4{padding-left:36px;padding-right:36px;width:100%}._Wh0w4._Wh0w4:disabled+._BkV5r{fill-opacity:.6}._BkV5r{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._BkV5r._rdySt{z-index:20}._2I4-4{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._2I4-4:hover{cursor:pointer}._2I4-4:hover>._ghlGl{fill:#32363a}._2I4-4:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._ghlGl{fill:#515559}";
9333
+ var css_248z$9 = "._Jbgi9{display:inline-block;position:relative}._JNIVg._JNIVg{padding-left:36px;padding-right:36px;width:100%}._JNIVg._JNIVg:disabled+._krW5u{fill-opacity:.6}._krW5u{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._krW5u._Plcgi{z-index:20}._wJ2-D{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._wJ2-D:hover{cursor:pointer}._wJ2-D:hover>._zmD87{fill:#32363a}._wJ2-D:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._zmD87{fill:#515559}";
9334
+ var styles$9 = {"searchInput":"_Jbgi9","searchInputInput":"_JNIVg","searchInputSearchIcon":"_krW5u","usedWithinInputGroup":"_Plcgi","searchInputClearButton":"_wJ2-D","searchInputClearButtonIcon":"_zmD87"};
9335
+ var stylesheet$9="._Jbgi9{display:inline-block;position:relative}._JNIVg._JNIVg{padding-left:36px;padding-right:36px;width:100%}._JNIVg._JNIVg:disabled+._krW5u{fill-opacity:.6}._krW5u{position:absolute;top:50%;left:0;transform:translateY(-50%);margin-left:6px;fill:#515559;pointer-events:none}._krW5u._Plcgi{z-index:20}._wJ2-D{position:absolute;top:0;right:0;width:36px;height:100%;background-color:transparent;line-height:0;border:none;border-radius:4px}._wJ2-D:hover{cursor:pointer}._wJ2-D:hover>._zmD87{fill:#32363a}._wJ2-D:focus{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._zmD87{fill:#515559}";
9274
9336
  icons_index.styleInject(css_248z$9);
9275
9337
 
9276
9338
  const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
@@ -9304,7 +9366,8 @@ const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
9304
9366
  // Focuses the input after the input value is cleared so that screen readers see that the input doesn't have a value
9305
9367
  React.useEffect(() => {
9306
9368
  if (wasInputValueCleared) {
9307
- inputRef.current?.focus();
9369
+ var _inputRef$current;
9370
+ (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus();
9308
9371
  setWasInputValueCleared(false);
9309
9372
  }
9310
9373
  }, [wasInputValueCleared]);
@@ -9323,7 +9386,7 @@ const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
9323
9386
 
9324
9387
  clearInputText();
9325
9388
  }
9326
- onKeyDown?.(e);
9389
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
9327
9390
  };
9328
9391
  return /*#__PURE__*/React__default["default"].createElement("span", {
9329
9392
  className: classNames__default["default"](styles$9.searchInput, className),
@@ -9332,7 +9395,7 @@ const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
9332
9395
  role: "searchbox",
9333
9396
  id: id,
9334
9397
  className: styles$9.searchInputInput,
9335
- placeholder: placeholder ?? translate('searchText'),
9398
+ placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : translate('searchText'),
9336
9399
  value: inputValue,
9337
9400
  onChange: handleInputChange,
9338
9401
  onKeyDown: handleInputKeyDown,
@@ -9370,9 +9433,9 @@ const SearchInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
9370
9433
 
9371
9434
  /* eslint-disable import/prefer-default-export */
9372
9435
 
9373
- var css_248z$8 = "._LGkaS{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._LGkaS._Bxgpn{width:69px;min-width:auto;max-width:none}._z-O8n{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._jna5Z{margin-bottom:12px;background-color:transparent!important}._jna5Z:hover{background-color:rgba(11,110,208,.08)!important}._jna5Z:hover ._fTIOX{fill:#085caf}._jna5Z:hover ._fGGNs{color:#085caf}._jna5Z:active{background-color:rgba(11,110,208,.12)!important}._jna5Z:active ._fTIOX{fill:#0854a1}._jna5Z:active ._fGGNs{color:#0854a1}._jna5Z._ZlTiD{background-color:rgba(11,110,208,.08)!important}._jna5Z._ZlTiD ._fTIOX{fill:#0b6ed0}._jna5Z._ZlTiD ._fGGNs{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._jna5Z._ZlTiD:hover{background-color:rgba(11,110,208,.08)!important}._jna5Z._ZlTiD:hover ._fTIOX{fill:#085caf}._jna5Z._ZlTiD:hover ._fGGNs{color:#085caf}._jna5Z._ZlTiD:active{background-color:rgba(11,110,208,.12)!important}._jna5Z._ZlTiD:active ._fTIOX{fill:#0854a1}._jna5Z._ZlTiD:active ._fGGNs{color:#0854a1}._FH7AR{border-radius:6px}._FH7AR ._fTIOX{display:block;fill:#515559}._MQeHp{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._44K8R,._qaPJ7{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._44K8R ._fTIOX,._qaPJ7 ._fTIOX{fill:#515559}._44K8R ._fGGNs,._qaPJ7 ._fGGNs{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}body.keyboard-user ._jna5Z:active:focus,body.keyboard-user ._jna5Z:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9374
- var styles$8 = {"sideBarNav":"_LGkaS","collapsed":"_Bxgpn","navItems":"_z-O8n","sidebarNavItem":"_jna5Z","icon":"_fTIOX","label":"_fGGNs","selected":"_ZlTiD","sidebarNavItemIconButton":"_FH7AR","expandCollapseButtonContainer":"_MQeHp","navLink":"_44K8R","iconButtonWithLabel":"_qaPJ7"};
9375
- var stylesheet$8="._LGkaS{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._LGkaS._Bxgpn{width:69px;min-width:auto;max-width:none}._z-O8n{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._jna5Z{margin-bottom:12px;background-color:transparent!important}._jna5Z:hover{background-color:rgba(11,110,208,.08)!important}._jna5Z:hover ._fTIOX{fill:#085caf}._jna5Z:hover ._fGGNs{color:#085caf}._jna5Z:active{background-color:rgba(11,110,208,.12)!important}._jna5Z:active ._fTIOX{fill:#0854a1}._jna5Z:active ._fGGNs{color:#0854a1}._jna5Z._ZlTiD{background-color:rgba(11,110,208,.08)!important}._jna5Z._ZlTiD ._fTIOX{fill:#0b6ed0}._jna5Z._ZlTiD ._fGGNs{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._jna5Z._ZlTiD:hover{background-color:rgba(11,110,208,.08)!important}._jna5Z._ZlTiD:hover ._fTIOX{fill:#085caf}._jna5Z._ZlTiD:hover ._fGGNs{color:#085caf}._jna5Z._ZlTiD:active{background-color:rgba(11,110,208,.12)!important}._jna5Z._ZlTiD:active ._fTIOX{fill:#0854a1}._jna5Z._ZlTiD:active ._fGGNs{color:#0854a1}._FH7AR{border-radius:6px}._FH7AR ._fTIOX{display:block;fill:#515559}._MQeHp{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._44K8R,._qaPJ7{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._44K8R ._fTIOX,._qaPJ7 ._fTIOX{fill:#515559}._44K8R ._fGGNs,._qaPJ7 ._fGGNs{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}body.keyboard-user ._jna5Z:active:focus,body.keyboard-user ._jna5Z:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9436
+ var css_248z$8 = "._CiJpK{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._CiJpK._DsuOE{width:69px;min-width:auto;max-width:none}._gJL0p{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._kEHOq{margin-bottom:12px;background-color:transparent!important}._kEHOq:hover{background-color:rgba(11,110,208,.08)!important}._kEHOq:hover ._0UMT3{fill:#085caf}._kEHOq:hover ._Lc88m{color:#085caf}._kEHOq:active{background-color:rgba(11,110,208,.12)!important}._kEHOq:active ._0UMT3{fill:#0854a1}._kEHOq:active ._Lc88m{color:#0854a1}._kEHOq._H-fOT{background-color:rgba(11,110,208,.08)!important}._kEHOq._H-fOT ._0UMT3{fill:#0b6ed0}._kEHOq._H-fOT ._Lc88m{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._kEHOq._H-fOT:hover{background-color:rgba(11,110,208,.08)!important}._kEHOq._H-fOT:hover ._0UMT3{fill:#085caf}._kEHOq._H-fOT:hover ._Lc88m{color:#085caf}._kEHOq._H-fOT:active{background-color:rgba(11,110,208,.12)!important}._kEHOq._H-fOT:active ._0UMT3{fill:#0854a1}._kEHOq._H-fOT:active ._Lc88m{color:#0854a1}._IG59P{border-radius:6px}._IG59P ._0UMT3{display:block;fill:#515559}._cmeyb{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._G2ZLt,._NskbF{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._G2ZLt ._0UMT3,._NskbF ._0UMT3{fill:#515559}._G2ZLt ._Lc88m,._NskbF ._Lc88m{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}._kEHOq.focus-visible,._kEHOq:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9437
+ var styles$8 = {"sideBarNav":"_CiJpK","collapsed":"_DsuOE","navItems":"_gJL0p","sidebarNavItem":"_kEHOq","icon":"_0UMT3","label":"_Lc88m","selected":"_H-fOT","sidebarNavItemIconButton":"_IG59P","expandCollapseButtonContainer":"_cmeyb","navLink":"_G2ZLt","iconButtonWithLabel":"_NskbF"};
9438
+ var stylesheet$8="._CiJpK{grid-area:sidebarNav;height:100%;display:flex;flex-direction:column;align-items:center;min-width:165px;max-width:240px;background-color:#fff;border-right:1px solid #eee;overflow:hidden}._CiJpK._DsuOE{width:69px;min-width:auto;max-width:none}._gJL0p{margin:12px 0 28px;width:100%;overflow:auto;padding:4px 16px 0}._kEHOq{margin-bottom:12px;background-color:transparent!important}._kEHOq:hover{background-color:rgba(11,110,208,.08)!important}._kEHOq:hover ._0UMT3{fill:#085caf}._kEHOq:hover ._Lc88m{color:#085caf}._kEHOq:active{background-color:rgba(11,110,208,.12)!important}._kEHOq:active ._0UMT3{fill:#0854a1}._kEHOq:active ._Lc88m{color:#0854a1}._kEHOq._H-fOT{background-color:rgba(11,110,208,.08)!important}._kEHOq._H-fOT ._0UMT3{fill:#0b6ed0}._kEHOq._H-fOT ._Lc88m{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._kEHOq._H-fOT:hover{background-color:rgba(11,110,208,.08)!important}._kEHOq._H-fOT:hover ._0UMT3{fill:#085caf}._kEHOq._H-fOT:hover ._Lc88m{color:#085caf}._kEHOq._H-fOT:active{background-color:rgba(11,110,208,.12)!important}._kEHOq._H-fOT:active ._0UMT3{fill:#0854a1}._kEHOq._H-fOT:active ._Lc88m{color:#0854a1}._IG59P{border-radius:6px}._IG59P ._0UMT3{display:block;fill:#515559}._cmeyb{width:100%;padding:0 16px;margin-top:auto;margin-bottom:0}._G2ZLt,._NskbF{width:100%;display:flex;align-items:start;border:1px solid transparent;border-radius:6px;outline:none;cursor:pointer;padding:5px 11px 5px 5px;text-decoration:none}._G2ZLt ._0UMT3,._NskbF ._0UMT3{fill:#515559}._G2ZLt ._Lc88m,._NskbF ._Lc88m{font-size:14px;line-height:19px;color:#515559;overflow:hidden;overflow-wrap:break-word;margin:2.5px 0 2.5px 6px}._kEHOq.focus-visible,._kEHOq:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9376
9439
  icons_index.styleInject(css_248z$8);
9377
9440
 
9378
9441
  const {
@@ -9449,7 +9512,8 @@ const SidebarNav = /*#__PURE__*/React.forwardRef((_ref, ref) => {
9449
9512
  */
9450
9513
  React.useEffect(() => {
9451
9514
  if (isExpandCollapseButtonFocused) {
9452
- expandCollapseButtonRef.current?.focus();
9515
+ var _expandCollapseButton;
9516
+ (_expandCollapseButton = expandCollapseButtonRef.current) === null || _expandCollapseButton === void 0 ? void 0 : _expandCollapseButton.focus();
9453
9517
  }
9454
9518
  }, [isCollapsed, isExpandCollapseButtonFocused]);
9455
9519
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -9495,7 +9559,7 @@ const SidebarNavLink = /*#__PURE__*/React.forwardRef((_ref, ref) => {
9495
9559
  isCollapsed,
9496
9560
  NavLink
9497
9561
  } = useSidebarNavContext();
9498
- const Icon = isCollapsed ? icon ?? icons_index.ExcludeIcon : icon;
9562
+ const Icon = isCollapsed ? icon !== null && icon !== void 0 ? icon : icons_index.ExcludeIcon : icon;
9499
9563
  const link = /*#__PURE__*/React__default["default"].createElement(NavLink, {
9500
9564
  className: isActive => classNames__default["default"](styles$8.sidebarNavItem, styles$8.navLink, {
9501
9565
  [styles$8.noIcon]: !Icon,
@@ -9526,9 +9590,9 @@ const SidebarNavLink = /*#__PURE__*/React.forwardRef((_ref, ref) => {
9526
9590
  return link;
9527
9591
  });
9528
9592
 
9529
- var css_248z$7 = "._iG7eX{height:auto;width:200px;padding:5px 10px}._EruyG{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._GvPet{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._GvPet,._hdVHd{position:absolute}._hdVHd{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._hdVHd:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}body.keyboard-user ._hdVHd:active:focus,body.keyboard-user ._hdVHd:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9530
- var styles$7 = {"slider":"_iG7eX","track":"_EruyG","fill":"_GvPet","button":"_hdVHd"};
9531
- var stylesheet$7="._iG7eX{height:auto;width:200px;padding:5px 10px}._EruyG{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._GvPet{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._GvPet,._hdVHd{position:absolute}._hdVHd{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._hdVHd:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}body.keyboard-user ._hdVHd:active:focus,body.keyboard-user ._hdVHd:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9593
+ var css_248z$7 = "._fNSYs{height:auto;width:200px;padding:5px 10px}._yrqeQ{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._lNOmF{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._C83EQ,._lNOmF{position:absolute}._C83EQ{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._C83EQ:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}._C83EQ.focus-visible,._C83EQ:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9594
+ var styles$7 = {"slider":"_fNSYs","track":"_yrqeQ","fill":"_lNOmF","button":"_C83EQ"};
9595
+ var stylesheet$7="._fNSYs{height:auto;width:200px;padding:5px 10px}._yrqeQ{position:relative;height:10px;border:1px solid #898989;border-radius:5px;background:#fafafa}._lNOmF{top:-1px;bottom:-1px;background-color:#007ac0;border:1px solid #007ac0;border-radius:5px}._C83EQ,._lNOmF{position:absolute}._C83EQ{top:-5px;left:-10px;border:1px solid #007ac0;overflow:visible;width:18px;height:18px;padding:0;margin:0;border-radius:9px;cursor:pointer;display:inline-block;text-align:center;background:#fff;text-decoration:none;outline:none}._C83EQ:before{content:\"\";position:absolute;top:4px;left:4px;background:#007ac0;width:8px;height:8px;border-radius:10px}._C83EQ.focus-visible,._C83EQ:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9532
9596
  icons_index.styleInject(css_248z$7);
9533
9597
 
9534
9598
  const buttonOffset = -10;
@@ -9575,7 +9639,7 @@ const SliderButton = _ref => {
9575
9639
  const anchorButton = /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
9576
9640
  className: styles$7.button,
9577
9641
  style: {
9578
- left: `calc(${buttonPosition}% + ${buttonOffset}px`
9642
+ left: "calc(".concat(buttonPosition, "% + ").concat(buttonOffset, "px")
9579
9643
  },
9580
9644
  onMouseDown: handleMouseDown,
9581
9645
  onKeyDown: onKeyDown,
@@ -9712,7 +9776,7 @@ const Slider = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
9712
9776
  className: styles$7.fill,
9713
9777
  style: {
9714
9778
  left: -1,
9715
- right: `${100 - buttonPosition}%`
9779
+ right: "".concat(100 - buttonPosition, "%")
9716
9780
  }
9717
9781
  }), /*#__PURE__*/React__default["default"].createElement(SliderButton, {
9718
9782
  "aria-valuemin": min,
@@ -9833,8 +9897,8 @@ const RangeSlider = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
9833
9897
  }, /*#__PURE__*/React__default["default"].createElement("span", {
9834
9898
  className: styles$7.fill,
9835
9899
  style: {
9836
- left: `${buttonPositions[0]}%`,
9837
- right: `${100 - buttonPositions[1]}%`
9900
+ left: "".concat(buttonPositions[0], "%"),
9901
+ right: "".concat(100 - buttonPositions[1], "%")
9838
9902
  }
9839
9903
  }), values.map((value, index) => /*#__PURE__*/React__default["default"].createElement(SliderButton, {
9840
9904
  key: index,
@@ -9856,9 +9920,9 @@ const RangeSlider = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
9856
9920
  }))));
9857
9921
  });
9858
9922
 
9859
- var css_248z$6 = "._-n78T{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._-n78T._8dD5S{cursor:not-allowed}._a0S5k{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._a0S5k:disabled{cursor:not-allowed}._a0S5k:disabled~._hAzRE{opacity:.4}._a0S5k:checked~._hAzRE{background-color:#0b6ed0}._a0S5k:checked~._hAzRE:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._a0S5k:hover:not(:disabled):not(:checked)~._hAzRE{background-color:#6a6a6a}._a0S5k:hover:not(:disabled):checked~._hAzRE{background-color:#085caf}._a0S5k:hover:not(:disabled):checked~._hAzRE:before{border-color:#085caf}._hAzRE{width:32px;background-color:#898989;border-radius:34px}._hAzRE,._hAzRE:before{height:16px;transition:.2s}._hAzRE:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._z-5xx{color:#32363a;display:flex;align-items:center;cursor:pointer}._VtArn{cursor:auto;color:hsla(0,0%,53.7%,.4)}._S5732{margin-right:12px;flex-shrink:0}body.keyboard-user ._-n78T ._a0S5k:active:focus~._hAzRE,body.keyboard-user ._-n78T ._a0S5k:focus~._hAzRE{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9860
- var styles$6 = {"switch":"_-n78T","disabled":"_8dD5S","input":"_a0S5k","slider":"_hAzRE","label":"_z-5xx","labelDisabled":"_VtArn","wrappedInput":"_S5732"};
9861
- var stylesheet$6="._-n78T{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._-n78T._8dD5S{cursor:not-allowed}._a0S5k{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._a0S5k:disabled{cursor:not-allowed}._a0S5k:disabled~._hAzRE{opacity:.4}._a0S5k:checked~._hAzRE{background-color:#0b6ed0}._a0S5k:checked~._hAzRE:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._a0S5k:hover:not(:disabled):not(:checked)~._hAzRE{background-color:#6a6a6a}._a0S5k:hover:not(:disabled):checked~._hAzRE{background-color:#085caf}._a0S5k:hover:not(:disabled):checked~._hAzRE:before{border-color:#085caf}._hAzRE{width:32px;background-color:#898989;border-radius:34px}._hAzRE,._hAzRE:before{height:16px;transition:.2s}._hAzRE:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._z-5xx{color:#32363a;display:flex;align-items:center;cursor:pointer}._VtArn{cursor:auto;color:hsla(0,0%,53.7%,.4)}._S5732{margin-right:12px;flex-shrink:0}body.keyboard-user ._-n78T ._a0S5k:active:focus~._hAzRE,body.keyboard-user ._-n78T ._a0S5k:focus~._hAzRE{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9923
+ var css_248z$6 = "._6ksuV{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._6ksuV._rXGZW{cursor:not-allowed}._BMiaS{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._BMiaS:disabled{cursor:not-allowed}._BMiaS:disabled~._0E-IL{opacity:.4}._BMiaS:checked~._0E-IL{background-color:#0b6ed0}._BMiaS:checked~._0E-IL:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._BMiaS:hover:not(:disabled):not(:checked)~._0E-IL{background-color:#6a6a6a}._BMiaS:hover:not(:disabled):checked~._0E-IL{background-color:#085caf}._BMiaS:hover:not(:disabled):checked~._0E-IL:before{border-color:#085caf}._0E-IL{width:32px;background-color:#898989;border-radius:34px}._0E-IL,._0E-IL:before{height:16px;transition:.2s}._0E-IL:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._m1NjK{color:#32363a;display:flex;align-items:center;cursor:pointer}._WFhwb{cursor:auto;color:hsla(0,0%,53.7%,.4)}._zNEWp{margin-right:12px;flex-shrink:0}._BMiaS.focus-visible~._0E-IL,._BMiaS:focus-visible~._0E-IL{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9924
+ var styles$6 = {"switch":"_6ksuV","disabled":"_rXGZW","input":"_BMiaS","slider":"_0E-IL","label":"_m1NjK","labelDisabled":"_WFhwb","wrappedInput":"_zNEWp"};
9925
+ var stylesheet$6="._6ksuV{cursor:pointer;display:inline-flex;position:relative;align-items:center;margin-top:6px;margin-bottom:6px}._6ksuV._rXGZW{cursor:not-allowed}._BMiaS{cursor:pointer;position:absolute;top:0;opacity:0;height:16px;width:32px;border-radius:34px;z-index:10}._BMiaS:disabled{cursor:not-allowed}._BMiaS:disabled~._0E-IL{opacity:.4}._BMiaS:checked~._0E-IL{background-color:#0b6ed0}._BMiaS:checked~._0E-IL:before{transform:translateX(16px);background-color:#fff;border-color:#0b6ed0}._BMiaS:hover:not(:disabled):not(:checked)~._0E-IL{background-color:#6a6a6a}._BMiaS:hover:not(:disabled):checked~._0E-IL{background-color:#085caf}._BMiaS:hover:not(:disabled):checked~._0E-IL:before{border-color:#085caf}._0E-IL{width:32px;background-color:#898989;border-radius:34px}._0E-IL,._0E-IL:before{height:16px;transition:.2s}._0E-IL:before{box-sizing:border-box;position:absolute;left:0;content:\"\";width:16px;background-color:#fff;border-radius:50%;border:1px solid #898989;z-index:0}._m1NjK{color:#32363a;display:flex;align-items:center;cursor:pointer}._WFhwb{cursor:auto;color:hsla(0,0%,53.7%,.4)}._zNEWp{margin-right:12px;flex-shrink:0}._BMiaS.focus-visible~._0E-IL,._BMiaS:focus-visible~._0E-IL{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
9862
9926
  icons_index.styleInject(css_248z$6);
9863
9927
 
9864
9928
  const Switch = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
@@ -9881,26 +9945,26 @@ const Switch = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
9881
9945
  helperTextId: formFieldHelperTextId,
9882
9946
  errorTextId: formFieldErrorTextId
9883
9947
  } = useFormFieldContext();
9884
- const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps?.['aria-describedby']);
9948
+ const internalAriaDescribedby = concatIds(externalAriaDescribedBy, formFieldHelperTextId, formFieldErrorTextId, inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-describedby']);
9885
9949
  return /*#__PURE__*/React__default["default"].createElement("span", _extends__default["default"]({}, rest, {
9886
9950
  ref: ref,
9887
9951
  className: classNames__default["default"](className, styles$6.switch, {
9888
9952
  [styles$6.disabled]: disabled
9889
9953
  })
9890
9954
  }), /*#__PURE__*/React__default["default"].createElement("input", _extends__default["default"]({}, inputProps, {
9891
- className: classNames__default["default"](styles$6.input, inputProps?.className),
9955
+ className: classNames__default["default"](styles$6.input, inputProps === null || inputProps === void 0 ? void 0 : inputProps.className),
9892
9956
  type: "checkbox",
9893
9957
  role: "switch",
9894
- id: id ?? inputProps?.id,
9895
- checked: checked ?? inputProps?.checked,
9896
- defaultChecked: defaultChecked ?? inputProps?.defaultChecked,
9897
- disabled: disabled ?? inputProps?.disabled,
9898
- onChange: disabled ? undefined : onChange ?? inputProps?.onChange,
9899
- value: value ?? inputProps?.value,
9900
- "aria-label": ariaLabel ?? inputProps?.['aria-label'],
9901
- "aria-labelledby": ariaLabelledBy ?? inputProps?.['aria-labelledby'],
9958
+ id: id !== null && id !== void 0 ? id : inputProps === null || inputProps === void 0 ? void 0 : inputProps.id,
9959
+ checked: checked !== null && checked !== void 0 ? checked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.checked,
9960
+ defaultChecked: defaultChecked !== null && defaultChecked !== void 0 ? defaultChecked : inputProps === null || inputProps === void 0 ? void 0 : inputProps.defaultChecked,
9961
+ disabled: disabled !== null && disabled !== void 0 ? disabled : inputProps === null || inputProps === void 0 ? void 0 : inputProps.disabled,
9962
+ onChange: disabled ? undefined : onChange !== null && onChange !== void 0 ? onChange : inputProps === null || inputProps === void 0 ? void 0 : inputProps.onChange,
9963
+ value: value !== null && value !== void 0 ? value : inputProps === null || inputProps === void 0 ? void 0 : inputProps.value,
9964
+ "aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-label'],
9965
+ "aria-labelledby": ariaLabelledBy !== null && ariaLabelledBy !== void 0 ? ariaLabelledBy : inputProps === null || inputProps === void 0 ? void 0 : inputProps['aria-labelledby'],
9902
9966
  "aria-describedby": internalAriaDescribedby,
9903
- tabIndex: tabIndex ?? inputProps?.tabIndex
9967
+ tabIndex: tabIndex !== null && tabIndex !== void 0 ? tabIndex : inputProps === null || inputProps === void 0 ? void 0 : inputProps.tabIndex
9904
9968
  })), /*#__PURE__*/React__default["default"].createElement("span", {
9905
9969
  className: styles$6.slider
9906
9970
  }));
@@ -9939,9 +10003,9 @@ const SwitchField = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
9939
10003
  }), label);
9940
10004
  });
9941
10005
 
9942
- var css_248z$5 = "._YVxy7{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._YVxy7 ._aZjY-:first-child,._YVxy7 ._fzWwu:first-child{padding-left:16px}._TTM6D{font-size:12px}._aZjY-{padding:12px 8px;text-align:left;font-weight:700}._gNEss ._VQeS2{border-top:1px solid #ededed}._gNEss ._VQeS2:hover{background-color:#fafafa}._VQeS2{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._fzWwu{padding:16px 8px;word-break:break-word;text-align:left}";
9943
- var styles$5 = {"table":"_YVxy7","tableCell":"_fzWwu","tableHeaderCell":"_aZjY-","tableHead":"_TTM6D","tableBody":"_gNEss","tableRow":"_VQeS2"};
9944
- var stylesheet$5="._YVxy7{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._YVxy7 ._aZjY-:first-child,._YVxy7 ._fzWwu:first-child{padding-left:16px}._TTM6D{font-size:12px}._aZjY-{padding:12px 8px;text-align:left;font-weight:700}._gNEss ._VQeS2{border-top:1px solid #ededed}._gNEss ._VQeS2:hover{background-color:#fafafa}._VQeS2{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._fzWwu{padding:16px 8px;word-break:break-word;text-align:left}";
10006
+ var css_248z$5 = "._VQYYc{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._VQYYc ._cTjiR:first-child,._VQYYc ._MTFAz:first-child{padding-left:16px}._-VfRz{font-size:12px}._cTjiR{padding:12px 8px;text-align:left;font-weight:700}._aitRC ._YlVgb{border-top:1px solid #ededed}._aitRC ._YlVgb:hover{background-color:#fafafa}._YlVgb{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._MTFAz{padding:16px 8px;word-break:break-word;text-align:left}";
10007
+ var styles$5 = {"table":"_VQYYc","tableCell":"_MTFAz","tableHeaderCell":"_cTjiR","tableHead":"_-VfRz","tableBody":"_aitRC","tableRow":"_YlVgb"};
10008
+ var stylesheet$5="._VQYYc{font-size:14px;color:#32363a;width:100%;max-width:100%;border-collapse:collapse;background-color:#fff;border:none}._VQYYc ._cTjiR:first-child,._VQYYc ._MTFAz:first-child{padding-left:16px}._-VfRz{font-size:12px}._cTjiR{padding:12px 8px;text-align:left;font-weight:700}._aitRC ._YlVgb{border-top:1px solid #ededed}._aitRC ._YlVgb:hover{background-color:#fafafa}._YlVgb{transition:background-color 125ms ease-in;border-bottom:1px solid #ededed}._MTFAz{padding:16px 8px;word-break:break-word;text-align:left}";
9945
10009
  icons_index.styleInject(css_248z$5);
9946
10010
 
9947
10011
  const Table = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
@@ -10073,9 +10137,9 @@ const Tabs$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =>
10073
10137
  }, children));
10074
10138
  });
10075
10139
 
10076
- var css_248z$4 = "._7f8Y-{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._7f8Y-._9O3XX ._1lM4s{flex:1 1 0px;max-width:none}._1lM4s{background:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._1lM4s:hover{color:#32363a}._1lM4s._Er0hF{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._CsvDs{padding-top:32px}._CsvDs._PKFdK{display:none}body.keyboard-user ._1lM4s:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
10077
- var styles$4 = {"tablist":"_7f8Y-","grow":"_9O3XX","tab":"_1lM4s","selected":"_Er0hF","tabpanel":"_CsvDs","inactive":"_PKFdK"};
10078
- var stylesheet$4="._7f8Y-{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._7f8Y-._9O3XX ._1lM4s{flex:1 1 0px;max-width:none}._1lM4s{background:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._1lM4s:hover{color:#32363a}._1lM4s._Er0hF{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._CsvDs{padding-top:32px}._CsvDs._PKFdK{display:none}body.keyboard-user ._1lM4s:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
10140
+ var css_248z$4 = "._YBYEv{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._YBYEv._m0zX- ._uHVG4{flex:1 1 0px;max-width:none}._uHVG4{background:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._uHVG4:hover{color:#32363a}._uHVG4._pQ79r{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._HaA-r{padding-top:32px}._HaA-r._vQmhw{display:none}._uHVG4.focus-visible,._uHVG4:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
10141
+ var styles$4 = {"tablist":"_YBYEv","grow":"_m0zX-","tab":"_uHVG4","selected":"_pQ79r","tabpanel":"_HaA-r","inactive":"_vQmhw"};
10142
+ var stylesheet$4="._YBYEv{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._YBYEv._m0zX- ._uHVG4{flex:1 1 0px;max-width:none}._uHVG4{background:inherit;font-family:inherit;font-size:100%;line-height:1.15;margin:0;-webkit-appearance:button;-moz-appearance:button;appearance:button;text-transform:none;text-align:center;color:#6a6d70;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border:none;border-bottom:2px solid transparent;border-radius:1px;display:block;outline:none;cursor:pointer}._uHVG4:hover{color:#32363a}._uHVG4._pQ79r{border-bottom-color:#0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._HaA-r{padding-top:32px}._HaA-r._vQmhw{display:none}._uHVG4.focus-visible,._uHVG4:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
10079
10143
  icons_index.styleInject(css_248z$4);
10080
10144
 
10081
10145
  const Tab$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
@@ -10093,8 +10157,8 @@ const Tab$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
10093
10157
  rootTestId,
10094
10158
  isTabListFocused
10095
10159
  } = useTabContext$1();
10096
- const tabId = getSubDataTestId(rootId, `tab-${value}`);
10097
- const tabTestId = getSubDataTestId(rootTestId, `tab-${value}`);
10160
+ const tabId = getSubDataTestId(rootId, "tab-".concat(value));
10161
+ const tabTestId = getSubDataTestId(rootTestId, "tab-".concat(value));
10098
10162
  const isSelected = activeTab === value;
10099
10163
  const onClick = React__default["default"].useCallback(() => {
10100
10164
  setActiveTab(value);
@@ -10110,7 +10174,7 @@ const Tab$1 = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
10110
10174
  [styles$4.selected]: isSelected
10111
10175
  }),
10112
10176
  "aria-selected": isSelected,
10113
- "aria-controls": `${rootId}-tabpanel-${value}`,
10177
+ "aria-controls": "".concat(rootId, "-tabpanel-").concat(value),
10114
10178
  "aria-label": ariaLabel,
10115
10179
  onClick: onClick,
10116
10180
  ref: ref,
@@ -10134,8 +10198,8 @@ const TabsList = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
10134
10198
  isTabListFocused,
10135
10199
  setIsTabListFocused
10136
10200
  } = useTabContext$1();
10137
- const tabListId = getSubDataTestId(rootId, `tablist`);
10138
- const tabListTestId = getSubDataTestId(rootTestId, `tablist`);
10201
+ const tabListId = getSubDataTestId(rootId, "tablist");
10202
+ const tabListTestId = getSubDataTestId(rootTestId, "tablist");
10139
10203
  const tabListRef = React.useRef(null);
10140
10204
  // We use this map of tab element to index to allow constant time index
10141
10205
  // lookup when we handle an event from a child tab
@@ -10197,10 +10261,11 @@ const TabsList = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
10197
10261
  ref: mergeRefs(ref, tabListRef),
10198
10262
  tabIndex: -1 // Needed to satisfy the jsx-a11y/interactive-supports-focus rule
10199
10263
  }), React__default["default"].Children.map(children, (child, index) => {
10200
- if (child?.type === Tab$1) {
10264
+ if ((child === null || child === void 0 ? void 0 : child.type) === Tab$1) {
10265
+ var _child$props$value;
10201
10266
  return /*#__PURE__*/React__default["default"].cloneElement(child, {
10202
- value: child.props.value ?? index,
10203
- ref: mergeRefs(child?.ref, node => {
10267
+ value: (_child$props$value = child.props.value) !== null && _child$props$value !== void 0 ? _child$props$value : index,
10268
+ ref: mergeRefs(child === null || child === void 0 ? void 0 : child.ref, node => {
10204
10269
  // Store a reverse node/index map for
10205
10270
  // constant time index lookups from event handlers
10206
10271
  if (node) {
@@ -10226,14 +10291,14 @@ const TabPanel = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) =
10226
10291
  rootId,
10227
10292
  rootTestId
10228
10293
  } = useTabContext$1();
10229
- const tabPanelId = getSubDataTestId(rootId, `tabpanel-${value}`);
10230
- const tabPanelTestId = getSubDataTestId(rootTestId, `tabpanel-${value}`);
10294
+ const tabPanelId = getSubDataTestId(rootId, "tabpanel-".concat(value));
10295
+ const tabPanelTestId = getSubDataTestId(rootTestId, "tabpanel-".concat(value));
10231
10296
  return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
10232
10297
  ref: ref,
10233
10298
  "data-testid": tabPanelTestId,
10234
10299
  id: tabPanelId,
10235
10300
  role: "tabpanel",
10236
- "aria-labelledby": `${rootId}-tab-${value}`,
10301
+ "aria-labelledby": "".concat(rootId, "-tab-").concat(value),
10237
10302
  className: classNames__default["default"](styles$4.tabpanel, className, {
10238
10303
  [styles$4.inactive]: value !== activeTab
10239
10304
  })
@@ -10262,15 +10327,15 @@ const UIProvider = _ref => {
10262
10327
  config = {}
10263
10328
  } = _ref;
10264
10329
  return /*#__PURE__*/React__default["default"].createElement(TranslationProvider, {
10265
- localizedText: config?.localizedText
10330
+ localizedText: config === null || config === void 0 ? void 0 : config.localizedText
10266
10331
  }, /*#__PURE__*/React__default["default"].createElement(PortalTargetProvider, {
10267
- target: portalTarget ?? null
10332
+ target: portalTarget !== null && portalTarget !== void 0 ? portalTarget : null
10268
10333
  }, children));
10269
10334
  };
10270
10335
 
10271
- var css_248z$3 = "._sK-RJ{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._uJ64f{margin-right:-12px;margin-left:4px}._uJMBh{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._QR1hM{margin:8px 8px 0;display:flex}._nMFGw,._o1cuG{margin-left:4px}._yJ8-p{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._vjDWP{margin:0 4px 4px 0}._vjDWP:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._3xKD3{margin:4px 8px 8px}._MiW2g{position:relative;width:96px;height:96px;outline:0}body.keyboard-user ._MiW2g:active:focus ._DkwTD,body.keyboard-user ._MiW2g:focus ._DkwTD{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._lG7T7{background:linear-gradient(90deg,#fff,transparent)}._IHy99,._lG7T7{position:absolute;top:0;right:0;bottom:0;left:0}._IHy99{background:linear-gradient(0deg,#000,transparent)}._DkwTD{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._LO80Z{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}body.keyboard-user ._LO80Z:active:focus ._iicaf,body.keyboard-user ._LO80Z:focus ._iicaf{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._iicaf{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._1kUR1{position:relative;width:16px;height:96px}._ybv-b{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._ScrTl,._ybv-b{position:absolute}._ScrTl{top:0;right:0;bottom:0;left:0;outline:0}body.keyboard-user ._ScrTl:active:focus ._ybv-b,body.keyboard-user ._ScrTl:focus ._ybv-b{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._Bogjj{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._peq6K{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._peq6K:active:focus,._peq6K:focus{outline:none}body.keyboard-user ._peq6K:active:focus,body.keyboard-user ._peq6K:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._ZPVky{display:flex}._ZPVky ._G0Hee{position:relative;flex-shrink:0;width:26px;height:26px}._ZPVky ._9citq{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._ZPVky ._V4laY{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
10272
- var styles$3 = {"colorPickerBtnColor":"_sK-RJ","colorPickerBtnIcon":"_uJ64f","colorPicker":"_uJMBh","colorPickerSliderContainer":"_QR1hM","colorPickerHue":"_o1cuG","colorPickerAlpha":"_nMFGw","colorPickerSwatches":"_yJ8-p","colorPickerSwatch":"_vjDWP","colorPickerHex":"_3xKD3","saturation":"_MiW2g","saturationCircle":"_DkwTD","saturationWhite":"_lG7T7","saturationBlack":"_IHy99","hue":"_LO80Z","hueSlider":"_iicaf","alpha":"_1kUR1","alphaSlider":"_ybv-b","alphaGradient":"_ScrTl","alphaCheckerboard":"_Bogjj","swatch":"_peq6K","hex":"_ZPVky","hexSwatch":"_G0Hee","hexSwatchColor":"_9citq","hexInput":"_V4laY"};
10273
- var stylesheet$3="._sK-RJ{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._uJ64f{margin-right:-12px;margin-left:4px}._uJMBh{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._QR1hM{margin:8px 8px 0;display:flex}._nMFGw,._o1cuG{margin-left:4px}._yJ8-p{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._vjDWP{margin:0 4px 4px 0}._vjDWP:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._3xKD3{margin:4px 8px 8px}._MiW2g{position:relative;width:96px;height:96px;outline:0}body.keyboard-user ._MiW2g:active:focus ._DkwTD,body.keyboard-user ._MiW2g:focus ._DkwTD{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._lG7T7{background:linear-gradient(90deg,#fff,transparent)}._IHy99,._lG7T7{position:absolute;top:0;right:0;bottom:0;left:0}._IHy99{background:linear-gradient(0deg,#000,transparent)}._DkwTD{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._LO80Z{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}body.keyboard-user ._LO80Z:active:focus ._iicaf,body.keyboard-user ._LO80Z:focus ._iicaf{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._iicaf{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._1kUR1{position:relative;width:16px;height:96px}._ybv-b{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._ScrTl,._ybv-b{position:absolute}._ScrTl{top:0;right:0;bottom:0;left:0;outline:0}body.keyboard-user ._ScrTl:active:focus ._ybv-b,body.keyboard-user ._ScrTl:focus ._ybv-b{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._Bogjj{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._peq6K{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._peq6K:active:focus,._peq6K:focus{outline:none}body.keyboard-user ._peq6K:active:focus,body.keyboard-user ._peq6K:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._ZPVky{display:flex}._ZPVky ._G0Hee{position:relative;flex-shrink:0;width:26px;height:26px}._ZPVky ._9citq{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._ZPVky ._V4laY{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
10336
+ var css_248z$3 = "._v5e6-{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._Vj6hg{margin-right:-12px;margin-left:4px}._0rF0N{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._nXRmT{margin:8px 8px 0;display:flex}._9Qm8U,._pD1Vi{margin-left:4px}._kHIiz{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._dJTaJ{margin:0 4px 4px 0}._dJTaJ:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._igKAB{margin:4px 8px 8px}._1Bfmq{position:relative;width:96px;height:96px;outline:0}._1Bfmq.focus-visible ._-Wj5R,._1Bfmq:focus-visible ._-Wj5R{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._VQsAf{background:linear-gradient(90deg,#fff,transparent)}._MZcWR,._VQsAf{position:absolute;top:0;right:0;bottom:0;left:0}._MZcWR{background:linear-gradient(0deg,#000,transparent)}._-Wj5R{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._kHcvZ{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._kHcvZ.focus-visible ._FTVt-,._kHcvZ:focus-visible ._FTVt-{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._FTVt-{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._gciko{position:relative;width:16px;height:96px}._k-XIk{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._k-XIk,._Vox9e{position:absolute}._Vox9e{top:0;right:0;bottom:0;left:0;outline:0}._Vox9e.focus-visible ._k-XIk,._Vox9e:focus-visible ._k-XIk{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._DvbNT{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._FRHtS{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._FRHtS.focus-visible,._FRHtS:focus-visible{outline:none}._FRHtS.focus-visible,._FRHtS:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._E3RIk{display:flex}._E3RIk ._hveoR{position:relative;flex-shrink:0;width:26px;height:26px}._E3RIk ._CSvzS{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._E3RIk ._LJNQL{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
10337
+ var styles$3 = {"colorPickerBtnColor":"_v5e6-","colorPickerBtnIcon":"_Vj6hg","colorPicker":"_0rF0N","colorPickerSliderContainer":"_nXRmT","colorPickerHue":"_9Qm8U","colorPickerAlpha":"_pD1Vi","colorPickerSwatches":"_kHIiz","colorPickerSwatch":"_dJTaJ","colorPickerHex":"_igKAB","saturation":"_1Bfmq","saturationCircle":"_-Wj5R","saturationWhite":"_VQsAf","saturationBlack":"_MZcWR","hue":"_kHcvZ","hueSlider":"_FTVt-","alpha":"_gciko","alphaSlider":"_k-XIk","alphaGradient":"_Vox9e","alphaCheckerboard":"_DvbNT","swatch":"_FRHtS","hex":"_E3RIk","hexSwatch":"_hveoR","hexSwatchColor":"_CSvzS","hexInput":"_LJNQL"};
10338
+ var stylesheet$3="._v5e6-{margin-left:-6px;height:16px;width:16px;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._Vj6hg{margin-right:-12px;margin-left:4px}._0rF0N{background-color:#fff;border-radius:4px;box-shadow:0 4px 24px -4px rgba(0,0,0,.5);width:156px}._nXRmT{margin:8px 8px 0;display:flex}._9Qm8U,._pD1Vi{margin-left:4px}._kHIiz{margin:8px 4px 0 8px;display:flex;flex-wrap:wrap}._dJTaJ{margin:0 4px 4px 0}._dJTaJ:hover{width:18px;height:18px;margin:-1px 3px 3px -1px}._igKAB{margin:4px 8px 8px}._1Bfmq{position:relative;width:96px;height:96px;outline:0}._1Bfmq.focus-visible ._-Wj5R,._1Bfmq:focus-visible ._-Wj5R{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._VQsAf{background:linear-gradient(90deg,#fff,transparent)}._MZcWR,._VQsAf{position:absolute;top:0;right:0;bottom:0;left:0}._MZcWR{background:linear-gradient(0deg,#000,transparent)}._-Wj5R{position:absolute;border:2px solid #fff;border-radius:5px;height:8px;width:8px;margin:0 0 -4px -4px;box-shadow:0 0 1px 1px rgba(0,0,0,.4),inset 0 0 1px #000}._kHcvZ{position:relative;background:linear-gradient(0deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);width:16px;height:96px;outline:0}._kHcvZ.focus-visible ._FTVt-,._kHcvZ:focus-visible ._FTVt-{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._FTVt-{width:16px;height:4px;background:#fff;border-radius:50%;position:absolute;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._gciko{position:relative;width:16px;height:96px}._k-XIk{width:16px;height:4px;background:#fff;border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.4);transform:translateY(2px)}._k-XIk,._Vox9e{position:absolute}._Vox9e{top:0;right:0;bottom:0;left:0;outline:0}._Vox9e.focus-visible ._k-XIk,._Vox9e:focus-visible ._k-XIk{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._DvbNT{position:absolute;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(45deg,#d9dadb 25%,transparent 0),linear-gradient(-45deg,#d9dadb 25%,transparent 0),linear-gradient(45deg,transparent 75%,#d9dadb 0),linear-gradient(-45deg,transparent 75%,#d9dadb 0);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}._FRHtS{border-radius:2px;height:16px;width:16px;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}._FRHtS.focus-visible,._FRHtS:focus-visible{outline:none}._FRHtS.focus-visible,._FRHtS:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._E3RIk{display:flex}._E3RIk ._hveoR{position:relative;flex-shrink:0;width:26px;height:26px}._E3RIk ._CSvzS{position:absolute;top:0;right:0;bottom:0;left:0;border-top-left-radius:4px;border-bottom-left-radius:4px;border:1px solid #c6c6c6}._E3RIk ._LJNQL{flex-basis:100%;min-width:0;border-top-left-radius:0;border-bottom-left-radius:0}";
10274
10339
  icons_index.styleInject(css_248z$3);
10275
10340
 
10276
10341
  function useMouseDrag(handleChange) {
@@ -10367,13 +10432,13 @@ const Saturation = function Saturation(_ref) {
10367
10432
  } = _ref;
10368
10433
  const containerRef = React__default["default"].useRef(null);
10369
10434
  const handleChange = useEventCallback(e => {
10370
- onChange?.(getMouseChange$2(e, hsb, containerRef.current), e);
10435
+ onChange === null || onChange === void 0 ? void 0 : onChange(getMouseChange$2(e, hsb, containerRef.current), e);
10371
10436
  });
10372
10437
  const handleMouseDown = useMouseDrag(handleChange);
10373
10438
  function handleKeyDown(e) {
10374
10439
  if (Object.keys(KEY_CHANGES$2).indexOf(e.key) > -1) {
10375
10440
  const change = getKeyChange$2(e, hsb);
10376
- onChange?.(change, e);
10441
+ onChange === null || onChange === void 0 ? void 0 : onChange(change, e);
10377
10442
  }
10378
10443
  }
10379
10444
  return (
@@ -10382,7 +10447,7 @@ const Saturation = function Saturation(_ref) {
10382
10447
  React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
10383
10448
  ref: containerRef,
10384
10449
  style: {
10385
- backgroundColor: `hsl(${hsb.h}, 100%, 50%)`
10450
+ backgroundColor: "hsl(".concat(hsb.h, ", 100%, 50%)")
10386
10451
  },
10387
10452
  className: classNames__default["default"](styles$3.saturation, className),
10388
10453
  onMouseDown: handleMouseDown,
@@ -10399,8 +10464,8 @@ const Saturation = function Saturation(_ref) {
10399
10464
  }, /*#__PURE__*/React__default["default"].createElement("div", {
10400
10465
  className: styles$3.saturationCircle,
10401
10466
  style: {
10402
- bottom: `${hsb.b * 100}%`,
10403
- left: `${hsb.s * 100}%`
10467
+ bottom: "".concat(hsb.b * 100, "%"),
10468
+ left: "".concat(hsb.s * 100, "%")
10404
10469
  }
10405
10470
  }))))
10406
10471
  );
@@ -10434,7 +10499,7 @@ const HexInput = function HexInput(_ref) {
10434
10499
  function handleChange(e) {
10435
10500
  setValue(e.target.value);
10436
10501
  if (isValid(e.target.value)) {
10437
- onChange?.(e.target.value, e);
10502
+ onChange === null || onChange === void 0 ? void 0 : onChange(e.target.value, e);
10438
10503
  }
10439
10504
  }
10440
10505
  function handleBlur() {
@@ -10473,9 +10538,9 @@ const Swatch = function Swatch(_ref) {
10473
10538
  ...rest
10474
10539
  } = _ref;
10475
10540
  function handleClick(e) {
10476
- onClick?.(color, e);
10541
+ onClick === null || onClick === void 0 ? void 0 : onClick(color, e);
10477
10542
  }
10478
- const handleKeyDown = e => e.keyCode === ENTER && onClick?.(color, e);
10543
+ const handleKeyDown = e => e.keyCode === ENTER && (onClick === null || onClick === void 0 ? void 0 : onClick(color, e));
10479
10544
  return /*#__PURE__*/React__default["default"].createElement("span", _extends__default["default"]({}, rest, {
10480
10545
  role: "button",
10481
10546
  tabIndex: 0,
@@ -10532,13 +10597,13 @@ const Hue = function Hue(_ref) {
10532
10597
  const containerRef = React__default["default"].useRef(null);
10533
10598
  const handleChange = useEventCallback(e => {
10534
10599
  const change = getMouseChange$1(e, hsb, containerRef.current);
10535
- onChange?.(change, e);
10600
+ onChange === null || onChange === void 0 ? void 0 : onChange(change, e);
10536
10601
  });
10537
10602
  const handleMouseDown = useMouseDrag(handleChange);
10538
10603
  function handleKeyDown(e) {
10539
10604
  if (Object.keys(KEY_CHANGES$1).indexOf(e.key) > -1) {
10540
10605
  const change = getKeyChange$1(e, hsb);
10541
- onChange?.(change, e);
10606
+ onChange === null || onChange === void 0 ? void 0 : onChange(change, e);
10542
10607
  }
10543
10608
  }
10544
10609
  return (
@@ -10559,7 +10624,7 @@ const Hue = function Hue(_ref) {
10559
10624
  }), /*#__PURE__*/React__default["default"].createElement("div", {
10560
10625
  className: styles$3.hueSlider,
10561
10626
  style: {
10562
- bottom: `${hsb.h / 360 * 100}%`
10627
+ bottom: "".concat(hsb.h / 360 * 100, "%")
10563
10628
  }
10564
10629
  }))
10565
10630
  );
@@ -10609,13 +10674,13 @@ const Alpha = function Alpha(_ref) {
10609
10674
  const containerRef = React__default["default"].useRef(null);
10610
10675
  const handleChange = useEventCallback(e => {
10611
10676
  const change = getMouseChange(e, hsl, alpha, containerRef.current);
10612
- onChange?.(change, e);
10677
+ onChange === null || onChange === void 0 ? void 0 : onChange(change, e);
10613
10678
  });
10614
10679
  const handleMouseDown = useMouseDrag(handleChange);
10615
10680
  function handleKeyDown(e) {
10616
10681
  if (Object.keys(KEY_CHANGES).indexOf(e.key) > -1) {
10617
10682
  const change = getKeyChange(e, hsl);
10618
- onChange?.(change, e);
10683
+ onChange === null || onChange === void 0 ? void 0 : onChange(change, e);
10619
10684
  }
10620
10685
  }
10621
10686
  return /*#__PURE__*/React__default["default"].createElement("div", {
@@ -10630,7 +10695,7 @@ const Alpha = function Alpha(_ref) {
10630
10695
  onTouchMove: handleChange,
10631
10696
  onTouchStart: handleChange,
10632
10697
  style: {
10633
- background: `linear-gradient(to top, hsla(${hsl.h}, ${hsl.s * 100}%, ${hsl.l * 100}%, 0) 0%, hsla(${hsl.h}, ${hsl.s * 100}%, ${hsl.l * 100}%, 1) 100%)`
10698
+ background: "linear-gradient(to top, hsla(".concat(hsl.h, ", ").concat(hsl.s * 100, "%, ").concat(hsl.l * 100, "%, 0) 0%, hsla(").concat(hsl.h, ", ").concat(hsl.s * 100, "%, ").concat(hsl.l * 100, "%, 1) 100%)")
10634
10699
  },
10635
10700
  role: "slider",
10636
10701
  "aria-valuemin": 0,
@@ -10640,7 +10705,7 @@ const Alpha = function Alpha(_ref) {
10640
10705
  }), /*#__PURE__*/React__default["default"].createElement("div", {
10641
10706
  className: styles$3.alphaSlider,
10642
10707
  style: {
10643
- bottom: `${alpha * 100}%`
10708
+ bottom: "".concat(alpha * 100, "%")
10644
10709
  }
10645
10710
  })));
10646
10711
  };
@@ -10738,7 +10803,7 @@ class Color {
10738
10803
  setColor(strVal) {
10739
10804
  strVal = strVal.toLowerCase();
10740
10805
  if (strVal.charAt(0) !== '#') {
10741
- strVal = `#${strVal}`;
10806
+ strVal = "#".concat(strVal);
10742
10807
  }
10743
10808
  this.value = this.stringToHSB(strVal) || {
10744
10809
  h: 0,
@@ -10795,7 +10860,7 @@ class Color {
10795
10860
  }
10796
10861
  toHex(h, s, b, a) {
10797
10862
  const rgb = this.toRGB(Number(h), Number(s), Number(b), Number(a));
10798
- return `#${(1 << 24 | parseInt(String(rgb.r), 10) << 16 | parseInt(String(rgb.g), 10) << 8 | parseInt(String(rgb.b), 10)).toString(16).substr(1)}`;
10863
+ return "#".concat((1 << 24 | parseInt(String(rgb.r), 10) << 16 | parseInt(String(rgb.g), 10) << 8 | parseInt(String(rgb.b), 10)).toString(16).substr(1));
10799
10864
  }
10800
10865
  toHSL(h, s, b, a) {
10801
10866
  h = h || this.value.h;
@@ -10901,16 +10966,16 @@ class Color {
10901
10966
  switch (format) {
10902
10967
  case 'rgb':
10903
10968
  rgb = this.toRGB();
10904
- return `rgb(${rgb.r},${rgb.g},${rgb.b})`;
10969
+ return "rgb(".concat(rgb.r, ",").concat(rgb.g, ",").concat(rgb.b, ")");
10905
10970
  case 'rgba':
10906
10971
  rgb = this.toRGB();
10907
- return `rgba(${rgb.r},${rgb.g},${rgb.b},${rgb.a})`;
10972
+ return "rgba(".concat(rgb.r, ",").concat(rgb.g, ",").concat(rgb.b, ",").concat(rgb.a, ")");
10908
10973
  case 'hsl':
10909
10974
  hsl = this.toHSL();
10910
- return `hsl(${Math.round(hsl.h)},${Math.round(hsl.s * 100)}%,${Math.round(hsl.l * 100)}%)`;
10975
+ return "hsl(".concat(Math.round(hsl.h), ",").concat(Math.round(hsl.s * 100), "%,").concat(Math.round(hsl.l * 100), "%)");
10911
10976
  case 'hsla':
10912
10977
  hsl = this.toHSL();
10913
- return `hsla(${Math.round(hsl.h)},${Math.round(hsl.s * 100)}%,${Math.round(hsl.l * 100)}%,${hsl.a})`;
10978
+ return "hsla(".concat(Math.round(hsl.h), ",").concat(Math.round(hsl.s * 100), "%,").concat(Math.round(hsl.l * 100), "%,").concat(hsl.a, ")");
10914
10979
  case 'hex':
10915
10980
  return this.toHex();
10916
10981
  default:
@@ -10941,14 +11006,14 @@ const ColorPicker = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
10941
11006
  ...rest
10942
11007
  } = _ref;
10943
11008
  const [show, setShow] = React__default["default"].useState(false);
10944
- const [color, setColor] = React__default["default"].useState(new Color(externalColor ?? defaultColor));
11009
+ const [color, setColor] = React__default["default"].useState(new Color(externalColor !== null && externalColor !== void 0 ? externalColor : defaultColor));
10945
11010
  React.useEffect(() => {
10946
11011
  if (externalColor) setColor(new Color(externalColor));
10947
11012
  }, [externalColor]);
10948
11013
  function handleChange(rawColor, e) {
10949
11014
  const nextColor = new Color(rawColor);
10950
11015
  setColor(nextColor);
10951
- onChange?.(nextColor.getValue(), e);
11016
+ onChange === null || onChange === void 0 ? void 0 : onChange(nextColor.getValue(), e);
10952
11017
  }
10953
11018
  let alpha;
10954
11019
  let width = 136;
@@ -11029,9 +11094,9 @@ const ColorPicker = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref
11029
11094
 
11030
11095
  /* eslint-disable camelcase */
11031
11096
 
11032
- var css_248z$2 = "._qVcn7{display:inline-flex}._HYvQZ{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._HYvQZ:hover:not(._QetOJ){cursor:pointer;background:#f5f5f5}._HYvQZ._kKXcG{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._HYvQZ._QetOJ{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._HYvQZ._QetOJ>svg{opacity:.4}._HYvQZ::-webkit-inner-spin-button,._HYvQZ::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._HYvQZ:focus{z-index:0;border:none;border-radius:4px}._HYvQZ:focus:not(._kKXcG){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._d-GH0,._HYvQZ:focus:not(._QetOJ){background:#fafafa}._d-GH0{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._d-GH0:hover:not(._QetOJ){cursor:pointer;background:#f5f5f5}._d-GH0:active:not(._QetOJ){background:#e5e5e5}._d-GH0._QetOJ{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._d-GH0._QetOJ>svg{opacity:.4}._JCVSo{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._JCVSo:hover:not(._QetOJ){cursor:pointer;background:#f5f5f5}._JCVSo:active:not(._QetOJ){background:#e5e5e5}._JCVSo._QetOJ{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._JCVSo._QetOJ>svg{opacity:.4}._wy6g8{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
11033
- var styles$2 = {"numberStepperContainer":"_qVcn7","numberStepperInput":"_HYvQZ","disabled":"_QetOJ","invalid":"_kKXcG","decrementBtn":"_d-GH0","incrementBtn":"_JCVSo","inputValueAlert":"_wy6g8"};
11034
- var stylesheet$2="._qVcn7{display:inline-flex}._HYvQZ{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._HYvQZ:hover:not(._QetOJ){cursor:pointer;background:#f5f5f5}._HYvQZ._kKXcG{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._HYvQZ._QetOJ{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._HYvQZ._QetOJ>svg{opacity:.4}._HYvQZ::-webkit-inner-spin-button,._HYvQZ::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._HYvQZ:focus{z-index:0;border:none;border-radius:4px}._HYvQZ:focus:not(._kKXcG){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._d-GH0,._HYvQZ:focus:not(._QetOJ){background:#fafafa}._d-GH0{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._d-GH0:hover:not(._QetOJ){cursor:pointer;background:#f5f5f5}._d-GH0:active:not(._QetOJ){background:#e5e5e5}._d-GH0._QetOJ{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._d-GH0._QetOJ>svg{opacity:.4}._JCVSo{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._JCVSo:hover:not(._QetOJ){cursor:pointer;background:#f5f5f5}._JCVSo:active:not(._QetOJ){background:#e5e5e5}._JCVSo._QetOJ{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._JCVSo._QetOJ>svg{opacity:.4}._wy6g8{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
11097
+ var css_248z$2 = "._GidcL{display:inline-flex}._K2MhI{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._K2MhI:hover:not(._YCfBM){cursor:pointer;background:#f5f5f5}._K2MhI._zhyPg{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._K2MhI._YCfBM{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._K2MhI._YCfBM>svg{opacity:.4}._K2MhI::-webkit-inner-spin-button,._K2MhI::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._K2MhI:focus{z-index:0;border:none;border-radius:4px}._K2MhI:focus:not(._zhyPg){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._K2MhI:focus:not(._YCfBM),._rEFWh{background:#fafafa}._rEFWh{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._rEFWh:hover:not(._YCfBM){cursor:pointer;background:#f5f5f5}._rEFWh:active:not(._YCfBM){background:#e5e5e5}._rEFWh._YCfBM{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._rEFWh._YCfBM>svg{opacity:.4}._Gf4NH{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._Gf4NH:hover:not(._YCfBM){cursor:pointer;background:#f5f5f5}._Gf4NH:active:not(._YCfBM){background:#e5e5e5}._Gf4NH._YCfBM{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._Gf4NH._YCfBM>svg{opacity:.4}._2V-z2{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
11098
+ var styles$2 = {"numberStepperContainer":"_GidcL","numberStepperInput":"_K2MhI","disabled":"_YCfBM","invalid":"_zhyPg","decrementBtn":"_rEFWh","incrementBtn":"_Gf4NH","inputValueAlert":"_2V-z2"};
11099
+ var stylesheet$2="._GidcL{display:inline-flex}._K2MhI{color:#32363a;background:#fafafa;outline:none;text-align:center;padding:0 12px;min-width:55px;width:100%;font-size:14px;border:1px solid #898989;border-radius:0;-moz-appearance:textfield}._K2MhI:hover:not(._YCfBM){cursor:pointer;background:#f5f5f5}._K2MhI._zhyPg{box-shadow:0 0 0 2px #fff,0 0 0 4px #900000}._K2MhI._YCfBM{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._K2MhI._YCfBM>svg{opacity:.4}._K2MhI::-webkit-inner-spin-button,._K2MhI::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._K2MhI:focus{z-index:0;border:none;border-radius:4px}._K2MhI:focus:not(._zhyPg){box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._K2MhI:focus:not(._YCfBM),._rEFWh{background:#fafafa}._rEFWh{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;fill:#515559;outline:none;border-radius:4px 0 0 4px;border:1px solid #898989;border-right-width:0}._rEFWh:hover:not(._YCfBM){cursor:pointer;background:#f5f5f5}._rEFWh:active:not(._YCfBM){background:#e5e5e5}._rEFWh._YCfBM{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._rEFWh._YCfBM>svg{opacity:.4}._Gf4NH{padding:0;display:flex;justify-content:center;align-items:center;flex-shrink:0;width:36px;height:36px;background:#fafafa;fill:#515559;outline:none;border-radius:0 4px 4px 0;border:1px solid #898989;border-left-width:0}._Gf4NH:hover:not(._YCfBM){cursor:pointer;background:#f5f5f5}._Gf4NH:active:not(._YCfBM){background:#e5e5e5}._Gf4NH._YCfBM{cursor:not-allowed;fill:#74777a;color:#74777a;border-color:#e5e5e5}._Gf4NH._YCfBM>svg{opacity:.4}._2V-z2{position:absolute;top:0;left:0;width:0;height:0;margin:0;overflow:hidden}";
11035
11100
  icons_index.styleInject(css_248z$2);
11036
11101
 
11037
11102
  const {
@@ -11086,7 +11151,7 @@ const NumberStepperInput = /*#__PURE__*/React__default["default"].forwardRef((_r
11086
11151
  helperTextId: formFieldHelperTextId,
11087
11152
  errorTextId: formFieldErrorTextId
11088
11153
  } = useFormFieldControl();
11089
- const internalAriaDescribedby = concatIds(ariaDescribedByFromProps ?? ariaDescribedBy, formFieldHelperTextId, formFieldErrorTextId);
11154
+ const internalAriaDescribedby = concatIds(ariaDescribedByFromProps !== null && ariaDescribedByFromProps !== void 0 ? ariaDescribedByFromProps : ariaDescribedBy, formFieldHelperTextId, formFieldErrorTextId);
11090
11155
 
11091
11156
  // Indicates if the `inputValue` is invalid
11092
11157
  const isInputValueInvalid = typeof inputValue === 'number' && (inputValue > inputMax || inputValue < inputMin);
@@ -11097,7 +11162,7 @@ const NumberStepperInput = /*#__PURE__*/React__default["default"].forwardRef((_r
11097
11162
  * depending on the key that was pressed.
11098
11163
  */
11099
11164
  const handleKeyDown = e => {
11100
- onKeyDown?.(e);
11165
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
11101
11166
  if (isExternallyDisabled) return;
11102
11167
  if (e.key === 'ArrowUp') {
11103
11168
  // Prevents browser's default increment
@@ -11132,7 +11197,7 @@ const NumberStepperInput = /*#__PURE__*/React__default["default"].forwardRef((_r
11132
11197
  * Selects the DOM element
11133
11198
  */
11134
11199
  const handleFocus = e => {
11135
- onFocus?.(e);
11200
+ onFocus === null || onFocus === void 0 ? void 0 : onFocus(e);
11136
11201
  if (isExternallyDisabled) return;
11137
11202
  e.target.select();
11138
11203
  };
@@ -11142,15 +11207,15 @@ const NumberStepperInput = /*#__PURE__*/React__default["default"].forwardRef((_r
11142
11207
  * Calls `handleInputBlur`
11143
11208
  */
11144
11209
  const handleBlur = e => {
11145
- onBlur?.(e);
11210
+ onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
11146
11211
  if (isExternallyDisabled) return;
11147
11212
  handleInputBlur(e);
11148
11213
  };
11149
11214
  return /*#__PURE__*/React__default["default"].createElement("input", _extends__default["default"]({}, rest, {
11150
11215
  // `type`, `step`, `min`, `max`, `onChange`, and `value` are purposely overwritten
11151
11216
  ref: ref,
11152
- "data-testid": dataTestIdFromProps ?? getSubDataTestId(dataTestId, 'Input'),
11153
- id: idFromProps ?? inputId,
11217
+ "data-testid": dataTestIdFromProps !== null && dataTestIdFromProps !== void 0 ? dataTestIdFromProps : getSubDataTestId(dataTestId, 'Input'),
11218
+ id: idFromProps !== null && idFromProps !== void 0 ? idFromProps : inputId,
11154
11219
  className: classNames__default["default"](className, styles$2.numberStepperInput, {
11155
11220
  [styles$2.invalid]: isInputValueInvalid,
11156
11221
  [styles$2.disabled]: isExternallyDisabled
@@ -11163,8 +11228,8 @@ const NumberStepperInput = /*#__PURE__*/React__default["default"].forwardRef((_r
11163
11228
  "aria-valuemin": inputMin,
11164
11229
  "aria-valuemax": inputMax,
11165
11230
  "aria-valuenow": Number(inputValue),
11166
- "aria-label": ariaLabelFromProps ?? ariaLabel,
11167
- "aria-labelledby": ariaLabelledByFromProps ?? ariaLabelledBy,
11231
+ "aria-label": ariaLabelFromProps !== null && ariaLabelFromProps !== void 0 ? ariaLabelFromProps : ariaLabel,
11232
+ "aria-labelledby": ariaLabelledByFromProps !== null && ariaLabelledByFromProps !== void 0 ? ariaLabelledByFromProps : ariaLabelledBy,
11168
11233
  "aria-describedby": internalAriaDescribedby,
11169
11234
  "aria-invalid": isInputValueInvalid,
11170
11235
  "aria-disabled": isExternallyDisabled,
@@ -11213,12 +11278,12 @@ const NumberStepperIncrement = /*#__PURE__*/React__default["default"].forwardRef
11213
11278
  */
11214
11279
  const handleClick = e => {
11215
11280
  if (!isDisabled) {
11216
- onClick?.(e);
11281
+ onClick === null || onClick === void 0 ? void 0 : onClick(e);
11217
11282
  increment(true);
11218
11283
  }
11219
11284
  };
11220
11285
  return /*#__PURE__*/React__default["default"].createElement("button", _extends__default["default"]({}, rest, {
11221
- "data-testid": dataTestIdFromProps ?? getSubDataTestId(dataTestId, 'Increment'),
11286
+ "data-testid": dataTestIdFromProps !== null && dataTestIdFromProps !== void 0 ? dataTestIdFromProps : getSubDataTestId(dataTestId, 'Increment'),
11222
11287
  ref: ref,
11223
11288
  type: "button",
11224
11289
  className: classNames__default["default"](className, styles$2.incrementBtn, {
@@ -11272,12 +11337,12 @@ const NumberStepperDecrement = /*#__PURE__*/React__default["default"].forwardRef
11272
11337
  */
11273
11338
  const handleClick = e => {
11274
11339
  if (!isDisabled) {
11275
- onClick?.(e);
11340
+ onClick === null || onClick === void 0 ? void 0 : onClick(e);
11276
11341
  decrement(true);
11277
11342
  }
11278
11343
  };
11279
11344
  return /*#__PURE__*/React__default["default"].createElement("button", _extends__default["default"]({}, rest, {
11280
- "data-testid": dataTestIdFromProps ?? getSubDataTestId(dataTestId, 'Decrement'),
11345
+ "data-testid": dataTestIdFromProps !== null && dataTestIdFromProps !== void 0 ? dataTestIdFromProps : getSubDataTestId(dataTestId, 'Decrement'),
11281
11346
  ref: ref,
11282
11347
  type: "button",
11283
11348
  className: classNames__default["default"](className, styles$2.decrementBtn, {
@@ -11478,9 +11543,9 @@ function clampMinMax(value, _ref2) {
11478
11543
 
11479
11544
  /* eslint-disable camelcase */
11480
11545
 
11481
- var css_248z$1 = "._BmzdT{display:block}._14-Jf{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._Ihnf8{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._Ihnf8:hover{color:#32363a}._Ihnf8:focus{outline:none}._Ihnf8._zVsp3{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._0aVvy{padding-top:32px}._0aVvy._SDNuX{display:none}body.keyboard-user ._Ihnf8:active:focus,body.keyboard-user ._Ihnf8:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
11482
- var styles$1 = {"tabs":"_BmzdT","bar":"_14-Jf","tab":"_Ihnf8","active":"_zVsp3","panel":"_0aVvy","inactive":"_SDNuX"};
11483
- var stylesheet$1="._BmzdT{display:block}._14-Jf{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._Ihnf8{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._Ihnf8:hover{color:#32363a}._Ihnf8:focus{outline:none}._Ihnf8._zVsp3{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._0aVvy{padding-top:32px}._0aVvy._SDNuX{display:none}body.keyboard-user ._Ihnf8:active:focus,body.keyboard-user ._Ihnf8:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
11546
+ var css_248z$1 = "._2RhG4{display:block}._hBCPj{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._Sv870{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._Sv870:hover{color:#32363a}._Sv870:focus{outline:none}._Sv870._OMkgT{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._oyqMP{padding-top:32px}._oyqMP._HdD4M{display:none}._Sv870.focus-visible,._Sv870:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
11547
+ var styles$1 = {"tabs":"_2RhG4","bar":"_hBCPj","tab":"_Sv870","active":"_OMkgT","panel":"_oyqMP","inactive":"_HdD4M"};
11548
+ var stylesheet$1="._2RhG4{display:block}._hBCPj{display:flex;justify-content:left;border-bottom:1px solid #e5e5e5;height:52px}._Sv870{color:#6a6d70;cursor:pointer;height:52px;padding:16px 12px;max-width:200px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-bottom:1px solid transparent;border-radius:1px}._Sv870:hover{color:#32363a}._Sv870:focus{outline:none}._Sv870._OMkgT{margin-bottom:-1px;border-bottom:2px solid #0b6ed0;color:#32363a;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._oyqMP{padding-top:32px}._oyqMP._HdD4M{display:none}._Sv870.focus-visible,._Sv870:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}";
11484
11549
  icons_index.styleInject(css_248z$1);
11485
11550
 
11486
11551
  const {
@@ -11504,8 +11569,8 @@ const Tabs = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
11504
11569
  ...rest
11505
11570
  } = _ref;
11506
11571
  const tabsId = useId(externalId);
11507
- const tabIdPrefix = `${tabsId}-tab-`;
11508
- const tabPanelIdPrefix = `${tabsId}-tab-panel-`;
11572
+ const tabIdPrefix = "".concat(tabsId, "-tab-");
11573
+ const tabPanelIdPrefix = "".concat(tabsId, "-tab-panel-");
11509
11574
  const tabRefs = React.useRef({});
11510
11575
  const [tabIndexOfActiveTab, setTabIndexOfActiveTab] = React.useState(0);
11511
11576
  const focusOnIndex = index => {
@@ -11520,7 +11585,7 @@ const Tabs = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
11520
11585
  setTabIndexOfActiveTab(0);
11521
11586
  };
11522
11587
  const handleSelect = key => {
11523
- onChange?.(key);
11588
+ onChange === null || onChange === void 0 ? void 0 : onChange(key);
11524
11589
  };
11525
11590
  const handleKeyDown = (event, tabElementKey, index) => {
11526
11591
  if (event.key === 'Enter' || event.key === ' ') {
@@ -11542,6 +11607,7 @@ const Tabs = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
11542
11607
  const tabs = [];
11543
11608
  React__default["default"].Children.forEach(children, (child, index) => {
11544
11609
  if (child) {
11610
+ var _child$props$id;
11545
11611
  const key = child.key || String(index);
11546
11612
  const active = key === activeKey;
11547
11613
  const context = {
@@ -11553,17 +11619,19 @@ const Tabs = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
11553
11619
  value: context
11554
11620
  }, /*#__PURE__*/React__default["default"].cloneElement(child, {
11555
11621
  key,
11556
- id: child.props.id ?? tabIdPrefix + key,
11622
+ id: (_child$props$id = child.props.id) !== null && _child$props$id !== void 0 ? _child$props$id : tabIdPrefix + key,
11557
11623
  children: child.props.children,
11558
11624
  ref: mergeRefs(child.ref, node => {
11559
11625
  tabRefs.current[index] = node;
11560
11626
  }),
11561
11627
  onKeyDown: event => {
11562
- child.props.onKeyDown?.();
11628
+ var _child$props$onKeyDow, _child$props;
11629
+ (_child$props$onKeyDow = (_child$props = child.props).onKeyDown) === null || _child$props$onKeyDow === void 0 ? void 0 : _child$props$onKeyDow.call(_child$props);
11563
11630
  handleKeyDown(event, key, index);
11564
11631
  },
11565
11632
  onClick: () => {
11566
- child.props.onClick?.();
11633
+ var _child$props$onClick, _child$props2;
11634
+ (_child$props$onClick = (_child$props2 = child.props).onClick) === null || _child$props$onClick === void 0 ? void 0 : _child$props$onClick.call(_child$props2);
11567
11635
  handleSelect(key);
11568
11636
  },
11569
11637
  'aria-controls': tabPanelIdPrefix + key
@@ -11576,6 +11644,7 @@ const Tabs = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
11576
11644
  const panels = [];
11577
11645
  React__default["default"].Children.forEach(children, (child, index) => {
11578
11646
  if (child) {
11647
+ var _child$props$id2;
11579
11648
  const key = child.key || String(index);
11580
11649
  const isActive = key === activeKey;
11581
11650
  const panelClasses = classNames__default["default"](styles$1.panel, {
@@ -11584,7 +11653,7 @@ const Tabs = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
11584
11653
  panels.push( /*#__PURE__*/React__default["default"].createElement("div", {
11585
11654
  key: key,
11586
11655
  role: "tabpanel",
11587
- "aria-labelledby": child.props.id ?? tabIdPrefix + key,
11656
+ "aria-labelledby": (_child$props$id2 = child.props.id) !== null && _child$props$id2 !== void 0 ? _child$props$id2 : tabIdPrefix + key,
11588
11657
  className: panelClasses,
11589
11658
  id: tabPanelIdPrefix + key
11590
11659
  }, isActive ? child.props.children : null));
@@ -11633,9 +11702,9 @@ const Tab = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref) => {
11633
11702
 
11634
11703
  /* eslint-disable camelcase */
11635
11704
 
11636
- var css_248z = "._HLMC9,._PzRDt{display:flex}._HLMC9{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._bBdAx{width:69px;min-width:auto;max-width:none}._6dxNm{width:100%}._AKbaj{margin-bottom:12px;background-color:transparent!important}._AKbaj:hover{background-color:rgba(11,110,208,.08)!important}._AKbaj:hover>svg{fill:#085caf}._AKbaj:hover>span{color:#085caf}._AKbaj:active{background-color:rgba(11,110,208,.12)!important}._AKbaj:active>svg{fill:#0854a1}._AKbaj:active>span{color:#0854a1}._AKbaj._I3nMr{background-color:rgba(11,110,208,.08)!important}._AKbaj._I3nMr>svg{fill:#0b6ed0}._AKbaj._I3nMr>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._AKbaj._I3nMr:hover{background-color:rgba(11,110,208,.08)!important}._AKbaj._I3nMr:hover>svg{fill:#085caf}._AKbaj._I3nMr:hover>span{color:#085caf}._AKbaj._I3nMr:active{background-color:rgba(11,110,208,.12)!important}._AKbaj._I3nMr:active>svg{fill:#0854a1}._AKbaj._I3nMr:active>span{color:#0854a1}._rgbMe{border-radius:6px}._rgbMe>._fnmHF{display:block;fill:#515559}._UU6yL{margin-top:auto;margin-bottom:0}._smfSc{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._smfSc:hover>._3hN7y{opacity:1}._8JlQY{width:0;border-width:0;padding:0}._pU59G{border-radius:4px;min-width:100%;min-height:100%;outline:none}._UGa30{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._3hN7y{opacity:0}._3hN7y:hover,._k-jtM,._UGa30._4j5M7._4j5M7{opacity:1}._UGa30._8G8p5._8G8p5{opacity:0}._UGa30>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._UGa30>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._UGa30>span:hover>svg{fill:#fff}._UGa30>span:active{background-color:#0854a1;border-color:#0854a1}._UGa30>span:active>svg{fill:#fff}._UGa30>span>svg{fill:#515559;border-radius:50%}._pU59G._yHe4d{display:none!important}._KGIN5{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._8VSG8{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._CFdUx{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._Si-fq{fill:#515559}._H-Eui{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}body.keyboard-user ._CFdUx:active:focus,body.keyboard-user ._CFdUx:focus,body.keyboard-user ._KGIN5:active:focus,body.keyboard-user ._KGIN5:focus,body.keyboard-user ._pU59G:active:focus,body.keyboard-user ._pU59G:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}body.keyboard-user ._UGa30:focus{border-color:#0a3f88}body.keyboard-user ._UGa30:active>span{background-color:#0854a1;border-color:#0854a1}body.keyboard-user ._UGa30:active>span>svg{fill:#fff}body.keyboard-user ._3hN7y:focus{opacity:1}";
11637
- var styles = {"toolbar":"_PzRDt","toolbarNav":"_HLMC9","toolbarNavCollapsed":"_bBdAx","toolbarTabs":"_6dxNm","toolbarTab":"_AKbaj","selected":"_I3nMr","toolbarTabIconButton":"_rgbMe","icon":"_fnmHF","tabsExpandCollapseButton":"_UU6yL","toolbarPanels":"_smfSc","toolbarPanelExpandCollapseButtonDefaultHidden":"_3hN7y","toolbarPanelsCollapsed":"_8JlQY","toolbarPanel":"_pU59G","toolbarPanelExpandCollapseButton":"_UGa30","toolbarPanelExpandCollapseButtonDefaultShown":"_k-jtM","overrideShow":"_4j5M7","overrideHide":"_8G8p5","notSelected":"_yHe4d","buttonWithLabel":"_KGIN5","buttonWithLabelLabel":"_8VSG8","iconButtonWithLabel":"_CFdUx","iconButtonWithLabelIcon":"_Si-fq","iconButtonWithLabelLabel":"_H-Eui"};
11638
- var stylesheet="._HLMC9,._PzRDt{display:flex}._HLMC9{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._bBdAx{width:69px;min-width:auto;max-width:none}._6dxNm{width:100%}._AKbaj{margin-bottom:12px;background-color:transparent!important}._AKbaj:hover{background-color:rgba(11,110,208,.08)!important}._AKbaj:hover>svg{fill:#085caf}._AKbaj:hover>span{color:#085caf}._AKbaj:active{background-color:rgba(11,110,208,.12)!important}._AKbaj:active>svg{fill:#0854a1}._AKbaj:active>span{color:#0854a1}._AKbaj._I3nMr{background-color:rgba(11,110,208,.08)!important}._AKbaj._I3nMr>svg{fill:#0b6ed0}._AKbaj._I3nMr>span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._AKbaj._I3nMr:hover{background-color:rgba(11,110,208,.08)!important}._AKbaj._I3nMr:hover>svg{fill:#085caf}._AKbaj._I3nMr:hover>span{color:#085caf}._AKbaj._I3nMr:active{background-color:rgba(11,110,208,.12)!important}._AKbaj._I3nMr:active>svg{fill:#0854a1}._AKbaj._I3nMr:active>span{color:#0854a1}._rgbMe{border-radius:6px}._rgbMe>._fnmHF{display:block;fill:#515559}._UU6yL{margin-top:auto;margin-bottom:0}._smfSc{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._smfSc:hover>._3hN7y{opacity:1}._8JlQY{width:0;border-width:0;padding:0}._pU59G{border-radius:4px;min-width:100%;min-height:100%;outline:none}._UGa30{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._3hN7y{opacity:0}._3hN7y:hover,._k-jtM,._UGa30._4j5M7._4j5M7{opacity:1}._UGa30._8G8p5._8G8p5{opacity:0}._UGa30>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._UGa30>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._UGa30>span:hover>svg{fill:#fff}._UGa30>span:active{background-color:#0854a1;border-color:#0854a1}._UGa30>span:active>svg{fill:#fff}._UGa30>span>svg{fill:#515559;border-radius:50%}._pU59G._yHe4d{display:none!important}._KGIN5{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._8VSG8{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._CFdUx{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._Si-fq{fill:#515559}._H-Eui{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}body.keyboard-user ._CFdUx:active:focus,body.keyboard-user ._CFdUx:focus,body.keyboard-user ._KGIN5:active:focus,body.keyboard-user ._KGIN5:focus,body.keyboard-user ._pU59G:active:focus,body.keyboard-user ._pU59G:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}body.keyboard-user ._UGa30:focus{border-color:#0a3f88}body.keyboard-user ._UGa30:active>span{background-color:#0854a1;border-color:#0854a1}body.keyboard-user ._UGa30:active>span>svg{fill:#fff}body.keyboard-user ._3hN7y:focus{opacity:1}";
11705
+ var css_248z = "._KhOvN,._zPwEY{display:flex}._zPwEY{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._P7as0{width:69px;min-width:auto;max-width:none}._sXJS6{width:100%}._QFK81{margin-bottom:12px;background-color:transparent!important}._QFK81:hover{background-color:rgba(11,110,208,.08)!important}._QFK81:hover>svg{fill:#085caf}._QFK81:hover>span{color:#085caf}._QFK81:active{background-color:rgba(11,110,208,.12)!important}._QFK81:active>svg{fill:#0854a1}._QFK81:active>span{color:#0854a1}._QFK81._nYvQ-{background-color:rgba(11,110,208,.08)!important}._QFK81._nYvQ->svg{fill:#0b6ed0}._QFK81._nYvQ->span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._QFK81._nYvQ-:hover{background-color:rgba(11,110,208,.08)!important}._QFK81._nYvQ-:hover>svg{fill:#085caf}._QFK81._nYvQ-:hover>span{color:#085caf}._QFK81._nYvQ-:active{background-color:rgba(11,110,208,.12)!important}._QFK81._nYvQ-:active>svg{fill:#0854a1}._QFK81._nYvQ-:active>span{color:#0854a1}._b4DZT{border-radius:6px}._b4DZT>._gfwIU{display:block;fill:#515559}._OOfjF{margin-top:auto;margin-bottom:0}._x92-d{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._x92-d:hover>._uVYKu{opacity:1}._EnHZg{width:0;border-width:0;padding:0}._DxsXO{border-radius:4px;min-width:100%;min-height:100%;outline:none}._rGBKQ{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._uVYKu{opacity:0}._L8MRF,._rGBKQ._fwCoo._fwCoo,._uVYKu:hover{opacity:1}._rGBKQ._vq1e3._vq1e3{opacity:0}._rGBKQ>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._rGBKQ>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._rGBKQ>span:hover>svg{fill:#fff}._rGBKQ>span:active{background-color:#0854a1;border-color:#0854a1}._rGBKQ>span:active>svg{fill:#fff}._rGBKQ>span>svg{fill:#515559;border-radius:50%}._DxsXO._PCFRJ{display:none!important}._QVewo{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._e-ZYn{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._BvQ8F{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._RMcXt{fill:#515559}._KUvBA{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._BvQ8F.focus-visible,._BvQ8F:focus-visible,._DxsXO.focus-visible,._DxsXO:focus-visible,._QVewo.focus-visible,._QVewo:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._rGBKQ.focus-visible,._rGBKQ:focus-visible{border-color:#0a3f88}._rGBKQ:active>span{background-color:#0854a1;border-color:#0854a1}._rGBKQ:active>span>svg{fill:#fff}._uVYKu.focus-visible,._uVYKu:focus-visible{opacity:1}";
11706
+ var styles = {"toolbar":"_KhOvN","toolbarNav":"_zPwEY","toolbarNavCollapsed":"_P7as0","toolbarTabs":"_sXJS6","toolbarTab":"_QFK81","selected":"_nYvQ-","toolbarTabIconButton":"_b4DZT","icon":"_gfwIU","tabsExpandCollapseButton":"_OOfjF","toolbarPanels":"_x92-d","toolbarPanelExpandCollapseButtonDefaultHidden":"_uVYKu","toolbarPanelsCollapsed":"_EnHZg","toolbarPanel":"_DxsXO","toolbarPanelExpandCollapseButton":"_rGBKQ","toolbarPanelExpandCollapseButtonDefaultShown":"_L8MRF","overrideShow":"_fwCoo","overrideHide":"_vq1e3","notSelected":"_PCFRJ","buttonWithLabel":"_QVewo","buttonWithLabelLabel":"_e-ZYn","iconButtonWithLabel":"_BvQ8F","iconButtonWithLabelIcon":"_RMcXt","iconButtonWithLabelLabel":"_KUvBA"};
11707
+ var stylesheet="._KhOvN,._zPwEY{display:flex}._zPwEY{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._P7as0{width:69px;min-width:auto;max-width:none}._sXJS6{width:100%}._QFK81{margin-bottom:12px;background-color:transparent!important}._QFK81:hover{background-color:rgba(11,110,208,.08)!important}._QFK81:hover>svg{fill:#085caf}._QFK81:hover>span{color:#085caf}._QFK81:active{background-color:rgba(11,110,208,.12)!important}._QFK81:active>svg{fill:#0854a1}._QFK81:active>span{color:#0854a1}._QFK81._nYvQ-{background-color:rgba(11,110,208,.08)!important}._QFK81._nYvQ->svg{fill:#0b6ed0}._QFK81._nYvQ->span{color:#0b6ed0;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif;font-weight:500}._QFK81._nYvQ-:hover{background-color:rgba(11,110,208,.08)!important}._QFK81._nYvQ-:hover>svg{fill:#085caf}._QFK81._nYvQ-:hover>span{color:#085caf}._QFK81._nYvQ-:active{background-color:rgba(11,110,208,.12)!important}._QFK81._nYvQ-:active>svg{fill:#0854a1}._QFK81._nYvQ-:active>span{color:#0854a1}._b4DZT{border-radius:6px}._b4DZT>._gfwIU{display:block;fill:#515559}._OOfjF{margin-top:auto;margin-bottom:0}._x92-d{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._x92-d:hover>._uVYKu{opacity:1}._EnHZg{width:0;border-width:0;padding:0}._DxsXO{border-radius:4px;min-width:100%;min-height:100%;outline:none}._rGBKQ{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._uVYKu{opacity:0}._L8MRF,._rGBKQ._fwCoo._fwCoo,._uVYKu:hover{opacity:1}._rGBKQ._vq1e3._vq1e3{opacity:0}._rGBKQ>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._rGBKQ>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._rGBKQ>span:hover>svg{fill:#fff}._rGBKQ>span:active{background-color:#0854a1;border-color:#0854a1}._rGBKQ>span:active>svg{fill:#fff}._rGBKQ>span>svg{fill:#515559;border-radius:50%}._DxsXO._PCFRJ{display:none!important}._QVewo{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._e-ZYn{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._BvQ8F{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._RMcXt{fill:#515559}._KUvBA{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}._BvQ8F.focus-visible,._BvQ8F:focus-visible,._DxsXO.focus-visible,._DxsXO:focus-visible,._QVewo.focus-visible,._QVewo:focus-visible{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}._rGBKQ.focus-visible,._rGBKQ:focus-visible{border-color:#0a3f88}._rGBKQ:active>span{background-color:#0854a1;border-color:#0854a1}._rGBKQ:active>span>svg{fill:#fff}._uVYKu.focus-visible,._uVYKu:focus-visible{opacity:1}";
11639
11708
  icons_index.styleInject(css_248z);
11640
11709
 
11641
11710
  const {
@@ -11732,9 +11801,11 @@ const ToolbarTabs = /*#__PURE__*/React.forwardRef((_ref, ref) => {
11732
11801
  React.useEffect(() => {
11733
11802
  if (isExpandCollapseButtonFocused) {
11734
11803
  if (isCollapsed) {
11735
- expandToolbarTabsIconButtonRef.current?.focus();
11804
+ var _expandToolbarTabsIco;
11805
+ (_expandToolbarTabsIco = expandToolbarTabsIconButtonRef.current) === null || _expandToolbarTabsIco === void 0 ? void 0 : _expandToolbarTabsIco.focus();
11736
11806
  } else {
11737
- collapseToolbarTabsIconButtonWithLabelRef.current?.focus();
11807
+ var _collapseToolbarTabsI;
11808
+ (_collapseToolbarTabsI = collapseToolbarTabsIconButtonWithLabelRef.current) === null || _collapseToolbarTabsI === void 0 ? void 0 : _collapseToolbarTabsI.focus();
11738
11809
  }
11739
11810
  }
11740
11811
  }, [isCollapsed, isExpandCollapseButtonFocused]);
@@ -11747,7 +11818,8 @@ const ToolbarTabs = /*#__PURE__*/React.forwardRef((_ref, ref) => {
11747
11818
  const [focusedIndex, setFocusedIndex] = React.useState(selectedIndex);
11748
11819
  const numTabs = React__default["default"].Children.count(children);
11749
11820
  const focusTab = index => {
11750
- tabRefs.current?.[index]?.focus();
11821
+ var _tabRefs$current, _tabRefs$current$inde;
11822
+ (_tabRefs$current = tabRefs.current) === null || _tabRefs$current === void 0 ? void 0 : (_tabRefs$current$inde = _tabRefs$current[index]) === null || _tabRefs$current$inde === void 0 ? void 0 : _tabRefs$current$inde.focus();
11751
11823
  setFocusedIndex(index);
11752
11824
  };
11753
11825
 
@@ -11857,7 +11929,7 @@ const ToolbarTab = /*#__PURE__*/React.forwardRef((_ref, ref) => {
11857
11929
  const isFocused = focusedIndex === index;
11858
11930
  const isSelected = selectedIndex === index;
11859
11931
  const handleSelect = () => {
11860
- setSelectedIndex?.(Number(index));
11932
+ setSelectedIndex === null || setSelectedIndex === void 0 ? void 0 : setSelectedIndex(Number(index));
11861
11933
  };
11862
11934
  const handleClick = e => {
11863
11935
  /*
@@ -11876,22 +11948,22 @@ const ToolbarTab = /*#__PURE__*/React.forwardRef((_ref, ref) => {
11876
11948
  case 'ArrowDown':
11877
11949
  case 'ArrowRight':
11878
11950
  e.preventDefault(); // Prevent page scroll
11879
- focusTab?.(getNextIndex(focusedIndex, numTabs));
11951
+ focusTab === null || focusTab === void 0 ? void 0 : focusTab(getNextIndex(focusedIndex, numTabs));
11880
11952
  break;
11881
11953
  case 'ArrowUp':
11882
11954
  case 'ArrowLeft':
11883
11955
  e.preventDefault(); // Prevent page scroll
11884
- focusTab?.(getPrevIndex(focusedIndex, numTabs));
11956
+ focusTab === null || focusTab === void 0 ? void 0 : focusTab(getPrevIndex(focusedIndex, numTabs));
11885
11957
  break;
11886
11958
  case 'PageUp':
11887
11959
  case 'Home':
11888
11960
  e.preventDefault(); // Prevent page scroll
11889
- focusTab?.(0);
11961
+ focusTab === null || focusTab === void 0 ? void 0 : focusTab(0);
11890
11962
  break;
11891
11963
  case 'PageDown':
11892
11964
  case 'End':
11893
11965
  e.preventDefault(); // Prevent page scroll
11894
- focusTab?.(Number(numTabs) - 1);
11966
+ focusTab === null || focusTab === void 0 ? void 0 : focusTab(Number(numTabs) - 1);
11895
11967
  break;
11896
11968
  default:
11897
11969
  }
@@ -11901,13 +11973,13 @@ const ToolbarTab = /*#__PURE__*/React.forwardRef((_ref, ref) => {
11901
11973
  ref,
11902
11974
  role: 'tab',
11903
11975
  'aria-selected': isSelected,
11904
- 'aria-controls': ariaControls || `toolbar-${toolbarId}-panel-${index}`,
11905
- id: id || `toolbar-${toolbarId}-tab-${index}`,
11976
+ 'aria-controls': ariaControls || "toolbar-".concat(toolbarId, "-panel-").concat(index),
11977
+ id: id || "toolbar-".concat(toolbarId, "-tab-").concat(index),
11906
11978
  // Exsures the correct tab is focused when tabbing into the Toolbar
11907
11979
  tabIndex: isFocused ? 0 : -1,
11908
11980
  onClick: handleClick,
11909
11981
  onKeyDown: handleKeyDown,
11910
- 'data-testid': dataTestId || getSubDataTestId(rootDataTestId, `tab-${index}`)
11982
+ 'data-testid': dataTestId || getSubDataTestId(rootDataTestId, "tab-".concat(index))
11911
11983
  };
11912
11984
  const iconButtonClassName = classNames__default["default"](className, styles.toolbarTab, styles.toolbarTabIconButton, {
11913
11985
  [styles.selected]: isSelected
@@ -12010,6 +12082,7 @@ const ExpandCollapseButton = /*#__PURE__*/React.forwardRef((_ref, ref) => {
12010
12082
  * ```
12011
12083
  */
12012
12084
  const ToolbarPanels = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
12085
+ var _props$id, _React$Children$toArr, _React$Children$toArr2, _React$Children$toArr3;
12013
12086
  let {
12014
12087
  isCollapsible = true,
12015
12088
  defaultIsCollapsed = false,
@@ -12020,7 +12093,6 @@ const ToolbarPanels = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
12020
12093
  ...rest
12021
12094
  } = _ref2;
12022
12095
  const expandCollapseButtonRef = React.useRef(null);
12023
- const [isExpandCollapseButtonKeyboardFocused, setIsExpandCollapseButtonKeyboardFocused] = React.useState(false);
12024
12096
  const [wasExpandCollapseButtonClicked, setWasExpandCollapseButtonClicked] = React.useState(false);
12025
12097
  const [isCollapsed, setIsCollapsed] = useControllableState(isCollapsible && defaultIsCollapsed, isCollapsible ? onIsCollapsedChange : undefined, isCollapsible && externalIsCollapsed);
12026
12098
  const {
@@ -12032,41 +12104,20 @@ const ToolbarPanels = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
12032
12104
  React.useEffect(() => {
12033
12105
  /*
12034
12106
  * The expand/collapse button is re-rendered when the `isCollapsed` value changes.
12035
- * The re-render hides the tooltip.
12036
- * This needs to happen because the `Tooltip`'s `mouseleave` event does not get triggered when the button element moves (this is expected behavior).
12037
- * Since the button is re-rendered, if there is keyboard focus, we need to programmatically re-focus the button because React doesn't know that it's the same button.
12038
- */
12039
- if (isExpandCollapseButtonKeyboardFocused) {
12040
- expandCollapseButtonRef.current?.focus();
12041
- }
12042
- }, [isCollapsed, isExpandCollapseButtonKeyboardFocused]);
12043
- React.useEffect(() => {
12044
- /*
12045
- * Similar to the above `useEffect`, the expand/collapse button is re-rendered when the `isCollapsed` value changes.
12046
12107
  * If the button is clicked, we need to programmatically re-focus the button.
12047
12108
  * This allows a screen reader user to click the expand/collapse button using their keyboard and have focus stay on the same button.
12048
12109
  */
12049
12110
  if (wasExpandCollapseButtonClicked) {
12050
- expandCollapseButtonRef.current?.focus();
12111
+ var _expandCollapseButton;
12112
+ (_expandCollapseButton = expandCollapseButtonRef.current) === null || _expandCollapseButton === void 0 ? void 0 : _expandCollapseButton.focus();
12051
12113
  setWasExpandCollapseButtonClicked(false);
12052
12114
  }
12053
12115
  }, [wasExpandCollapseButtonClicked]);
12054
- const onExpandCollapseButtonMouseDown = () => {
12055
- setIsExpandCollapseButtonKeyboardFocused(false);
12056
- };
12057
12116
  const onExpandCollapseButtonClick = () => {
12058
12117
  setIsCollapsed(currentIsCollapsed => !currentIsCollapsed);
12059
12118
  setWasExpandCollapseButtonClicked(true);
12060
12119
  };
12061
- const onExpandCollapseButtonFocus = () => {
12062
- if (getIsKeyboardUser()) {
12063
- setIsExpandCollapseButtonKeyboardFocused(true);
12064
- }
12065
- };
12066
- const onExpandCollapseButtonBlur = () => {
12067
- setIsExpandCollapseButtonKeyboardFocused(false);
12068
- };
12069
- const selectedTabPanelId = React__default["default"].Children.toArray(children)?.[Number(selectedIndex)]?.props?.id ?? `toolbar-${toolbarId}-panel-${selectedIndex}`;
12120
+ const selectedTabPanelId = (_props$id = (_React$Children$toArr = React__default["default"].Children.toArray(children)) === null || _React$Children$toArr === void 0 ? void 0 : (_React$Children$toArr2 = _React$Children$toArr[Number(selectedIndex)]) === null || _React$Children$toArr2 === void 0 ? void 0 : (_React$Children$toArr3 = _React$Children$toArr2.props) === null || _React$Children$toArr3 === void 0 ? void 0 : _React$Children$toArr3.id) !== null && _props$id !== void 0 ? _props$id : "toolbar-".concat(toolbarId, "-panel-").concat(selectedIndex);
12070
12121
  return /*#__PURE__*/React__default["default"].createElement("div", _extends__default["default"]({}, rest, {
12071
12122
  ref: mergeRefs(ref, isToolbarPanelsContainerHoveredRef),
12072
12123
  className: classNames__default["default"](className, styles.toolbarPanels, {
@@ -12076,10 +12127,7 @@ const ToolbarPanels = /*#__PURE__*/React.forwardRef((_ref2, ref) => {
12076
12127
  key: String(isCollapsed),
12077
12128
  isCollapsed: isCollapsed,
12078
12129
  selectedTabPanelId: selectedTabPanelId,
12079
- onMouseDown: onExpandCollapseButtonMouseDown,
12080
12130
  onClick: onExpandCollapseButtonClick,
12081
- onFocus: onExpandCollapseButtonFocus,
12082
- onBlur: onExpandCollapseButtonBlur,
12083
12131
  isContainerHovered: isToolbarPanelsContainerHovered,
12084
12132
  "data-testid": getSubDataTestId(rootDataTestId, 'panels-expand-collapse-button'),
12085
12133
  ref: expandCollapseButtonRef
@@ -12125,9 +12173,9 @@ const ToolbarPanel = _ref => {
12125
12173
  [styles.notSelected]: !isSelected
12126
12174
  }),
12127
12175
  tabIndex: isFocusable && isContainerInTabOrder ? 0 : -1,
12128
- "aria-labelledby": ariaLabelledby || `toolbar-${toolbarId}-tab-${index}`,
12129
- id: id || `toolbar-${toolbarId}-panel-${index}`,
12130
- "data-testid": dataTestId || getSubDataTestId(rootDataTestId, `panel-${index}`)
12176
+ "aria-labelledby": ariaLabelledby || "toolbar-".concat(toolbarId, "-tab-").concat(index),
12177
+ id: id || "toolbar-".concat(toolbarId, "-panel-").concat(index),
12178
+ "data-testid": dataTestId || getSubDataTestId(rootDataTestId, "panel-".concat(index))
12131
12179
  }), isFocusable ? children : null);
12132
12180
  };
12133
12181
 
@@ -12243,11 +12291,8 @@ exports.UIProvider = UIProvider;
12243
12291
  exports.buttonStyles = buttonStyles;
12244
12292
  exports.concatIds = concatIds;
12245
12293
  exports.createContextUtilities = createContextUtilities;
12246
- exports.enableKeyboardUserClass = enableKeyboardUserClass;
12247
- exports.getIsKeyboardUser = getIsKeyboardUser;
12248
12294
  exports.getSubDataTestId = getSubDataTestId;
12249
12295
  exports.mergeRefs = mergeRefs;
12250
- exports.setIsKeyboardUser = setIsKeyboardUser;
12251
12296
  exports.useBreakpoints = useBreakpoints;
12252
12297
  exports.useChildIndex = useChildIndex;
12253
12298
  exports.useClickOutside = useClickOutside;