@arc-ui/components 11.4.2 → 11.5.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 (205) hide show
  1. package/dist/Alert/Alert.cjs.d.ts +57 -0
  2. package/dist/Alert/Alert.cjs.js +142 -0
  3. package/dist/Alert/Alert.esm.d.ts +57 -0
  4. package/dist/Alert/Alert.esm.js +134 -0
  5. package/dist/Alert/package.json +7 -0
  6. package/dist/Align/Align.cjs.js +6 -6
  7. package/dist/Align/Align.esm.js +2 -2
  8. package/dist/Badge/Badge.cjs.js +7 -7
  9. package/dist/Badge/Badge.esm.js +4 -4
  10. package/dist/Base/Base.cjs.d.ts +1 -1
  11. package/dist/Base/Base.cjs.js +2 -2
  12. package/dist/Base/Base.esm.d.ts +1 -1
  13. package/dist/Base/Base.esm.js +2 -2
  14. package/dist/BrandLogo/BrandLogo.cjs.d.ts +1 -1
  15. package/dist/BrandLogo/BrandLogo.cjs.js +4 -4
  16. package/dist/BrandLogo/BrandLogo.esm.d.ts +1 -1
  17. package/dist/BrandLogo/BrandLogo.esm.js +4 -4
  18. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +8 -8
  19. package/dist/Breadcrumbs/Breadcrumbs.esm.js +4 -4
  20. package/dist/Button/Button.cjs.d.ts +1 -1
  21. package/dist/Button/Button.cjs.js +5 -5
  22. package/dist/Button/Button.esm.d.ts +1 -1
  23. package/dist/Button/Button.esm.js +5 -5
  24. package/dist/Card/Card.cjs.js +14 -14
  25. package/dist/Card/Card.esm.js +6 -6
  26. package/dist/Checkbox/Checkbox.cjs.d.ts +6 -1
  27. package/dist/Checkbox/Checkbox.cjs.js +22 -15
  28. package/dist/Checkbox/Checkbox.esm.d.ts +6 -1
  29. package/dist/Checkbox/Checkbox.esm.js +18 -11
  30. package/dist/Clock/Clock.cjs.js +6 -6
  31. package/dist/Clock/Clock.esm.js +1 -1
  32. package/dist/Columns/Columns.cjs.js +9 -9
  33. package/dist/Columns/Columns.esm.js +2 -2
  34. package/dist/Curve/Curve.cjs.d.ts +1 -1
  35. package/dist/Curve/Curve.cjs.js +3 -3
  36. package/dist/Curve/Curve.esm.d.ts +1 -1
  37. package/dist/Curve/Curve.esm.js +3 -3
  38. package/dist/Disclosure/Disclosure.cjs.d.ts +1 -1
  39. package/dist/Disclosure/Disclosure.cjs.js +8 -8
  40. package/dist/Disclosure/Disclosure.esm.d.ts +1 -1
  41. package/dist/Disclosure/Disclosure.esm.js +4 -4
  42. package/dist/DisclosureMini/DisclosureMini.cjs.d.ts +1 -0
  43. package/dist/DisclosureMini/DisclosureMini.cjs.js +16 -0
  44. package/dist/DisclosureMini/DisclosureMini.esm.d.ts +1 -0
  45. package/dist/DisclosureMini/DisclosureMini.esm.js +8 -0
  46. package/dist/DisclosureMini/package.json +7 -0
  47. package/dist/Elevation/Elevation.cjs.d.ts +4 -0
  48. package/dist/Elevation/Elevation.cjs.js +7 -5
  49. package/dist/Elevation/Elevation.esm.d.ts +4 -0
  50. package/dist/Elevation/Elevation.esm.js +4 -2
  51. package/dist/FormControl/FormControl.cjs.d.ts +1 -1
  52. package/dist/FormControl/FormControl.cjs.js +9 -6
  53. package/dist/FormControl/FormControl.esm.d.ts +1 -1
  54. package/dist/FormControl/FormControl.esm.js +9 -6
  55. package/dist/Group/Group.cjs.js +9 -9
  56. package/dist/Group/Group.esm.js +2 -2
  57. package/dist/Heading/Heading.cjs.d.ts +1 -1
  58. package/dist/Heading/Heading.cjs.js +4 -4
  59. package/dist/Heading/Heading.esm.d.ts +1 -1
  60. package/dist/Heading/Heading.esm.js +4 -4
  61. package/dist/Icon/Icon.cjs.d.ts +1 -1
  62. package/dist/Icon/Icon.cjs.js +4 -4
  63. package/dist/Icon/Icon.esm.d.ts +1 -1
  64. package/dist/Icon/Icon.esm.js +4 -4
  65. package/dist/Image/Image.cjs.d.ts +1 -1
  66. package/dist/Image/Image.cjs.js +3 -3
  67. package/dist/Image/Image.esm.d.ts +1 -1
  68. package/dist/Image/Image.esm.js +3 -3
  69. package/dist/Markup/Markup.cjs.js +6 -6
  70. package/dist/Markup/Markup.esm.js +2 -2
  71. package/dist/Poster/Poster.cjs.d.ts +1 -1
  72. package/dist/Poster/Poster.cjs.js +13 -13
  73. package/dist/Poster/Poster.esm.d.ts +1 -1
  74. package/dist/Poster/Poster.esm.js +4 -4
  75. package/dist/ProgressBar/ProgressBar.cjs.js +22 -41
  76. package/dist/ProgressBar/ProgressBar.esm.js +13 -32
  77. package/dist/RadioGroup/RadioGroup.cjs.d.ts +1 -1
  78. package/dist/RadioGroup/RadioGroup.cjs.js +15 -12
  79. package/dist/RadioGroup/RadioGroup.esm.d.ts +1 -1
  80. package/dist/RadioGroup/RadioGroup.esm.js +9 -6
  81. package/dist/Rule/Rule.cjs.js +5 -5
  82. package/dist/Rule/Rule.esm.js +2 -2
  83. package/dist/Section/Section.cjs.d.ts +1 -1
  84. package/dist/Section/Section.cjs.js +2 -2
  85. package/dist/Section/Section.esm.d.ts +1 -1
  86. package/dist/Section/Section.esm.js +2 -2
  87. package/dist/Select/Select.cjs.d.ts +1 -1
  88. package/dist/Select/Select.cjs.js +10 -8
  89. package/dist/Select/Select.esm.d.ts +1 -1
  90. package/dist/Select/Select.esm.js +10 -8
  91. package/dist/SiteFooter/SiteFooter.cjs.js +13 -13
  92. package/dist/SiteFooter/SiteFooter.esm.js +6 -6
  93. package/dist/SiteHeader/SiteHeader.cjs.d.ts +9 -1
  94. package/dist/SiteHeader/SiteHeader.cjs.js +57 -49
  95. package/dist/SiteHeader/SiteHeader.esm.d.ts +9 -1
  96. package/dist/SiteHeader/SiteHeader.esm.js +15 -7
  97. package/dist/Surface/Surface.cjs.d.ts +1 -1
  98. package/dist/Surface/Surface.cjs.js +2 -2
  99. package/dist/Surface/Surface.esm.d.ts +1 -1
  100. package/dist/Surface/Surface.esm.js +2 -2
  101. package/dist/Switch/Switch.cjs.d.ts +1 -1
  102. package/dist/Switch/Switch.cjs.js +10 -8
  103. package/dist/Switch/Switch.esm.d.ts +1 -1
  104. package/dist/Switch/Switch.esm.js +10 -8
  105. package/dist/Tag/Tag.cjs.js +39 -18
  106. package/dist/Tag/Tag.esm.js +31 -10
  107. package/dist/Text/Text.cjs.d.ts +1 -1
  108. package/dist/Text/Text.cjs.js +4 -4
  109. package/dist/Text/Text.esm.d.ts +1 -1
  110. package/dist/Text/Text.esm.js +4 -4
  111. package/dist/TextInput/TextInput.cjs.d.ts +1 -1
  112. package/dist/TextInput/TextInput.cjs.js +14 -11
  113. package/dist/TextInput/TextInput.esm.d.ts +1 -1
  114. package/dist/TextInput/TextInput.esm.js +9 -6
  115. package/dist/UniversalHeader/UniversalHeader.cjs.js +6 -6
  116. package/dist/UniversalHeader/UniversalHeader.esm.js +2 -2
  117. package/dist/VerticalSpace/VerticalSpace.cjs.d.ts +1 -1
  118. package/dist/VerticalSpace/VerticalSpace.cjs.js +2 -2
  119. package/dist/VerticalSpace/VerticalSpace.esm.d.ts +1 -1
  120. package/dist/VerticalSpace/VerticalSpace.esm.js +2 -2
  121. package/dist/_shared/cjs/{Base-e2b846fe.js → Base-569e4334.js} +3 -3
  122. package/dist/_shared/cjs/{BrandLogo-3c6102ef.js → BrandLogo-8008f0c4.js} +7 -7
  123. package/dist/_shared/cjs/BtIconAlert-637db790.js +38 -0
  124. package/dist/_shared/cjs/BtIconCrossAlt2Px-30dc2688.js +29 -0
  125. package/dist/_shared/cjs/{Button-1af6868c.js → Button-5dff284a.js} +10 -10
  126. package/dist/_shared/cjs/{Curve-e72ce25b.js → Curve-b05589d8.js} +6 -6
  127. package/dist/_shared/cjs/DisclosureMini-5af13d3c.d.ts +37 -0
  128. package/dist/_shared/cjs/DisclosureMini-5af13d3c.js +42 -0
  129. package/dist/_shared/cjs/{FormControl-d4d9c665.d.ts → FormControl-42360ae8.d.ts} +2 -29
  130. package/dist/_shared/cjs/{FormControl-d4d9c665.js → FormControl-42360ae8.js} +18 -70
  131. package/dist/_shared/cjs/{Heading-cc38c3ec.js → Heading-d45f6a7f.js} +7 -7
  132. package/dist/_shared/cjs/{Icon-719d13d4.js → Icon-9ae8dbe1.js} +7 -7
  133. package/dist/_shared/cjs/{Image-fe760a06.js → Image-3bf4b4f3.js} +8 -8
  134. package/dist/_shared/cjs/{Section-780f2377.js → Section-48aca5f5.js} +5 -5
  135. package/dist/_shared/cjs/{Surface-d6b8010e.js → Surface-6da0a78e.js} +8 -8
  136. package/dist/_shared/cjs/{Text-1d3844be.js → Text-6f2827e6.js} +7 -7
  137. package/dist/_shared/cjs/{VerticalSpace-7aed88ab.js → VerticalSpace-86f697e7.js} +5 -5
  138. package/dist/_shared/cjs/{index-78b35bc1.js → filter-data-attrs-a30dcf5f.js} +12 -12
  139. package/dist/_shared/cjs/index-9483ad5f.d.ts +2 -2
  140. package/dist/_shared/cjs/index-c81c9401.d.ts +1 -1
  141. package/dist/_shared/cjs/{suffix-modifier-edf7851e.js → suffix-modifier-1ee2da04.js} +2 -2
  142. package/dist/_shared/esm/{Base-c235dc45.js → Base-6c01e0ec.js} +1 -1
  143. package/dist/_shared/esm/{BrandLogo-4f13fe85.js → BrandLogo-56699561.js} +3 -3
  144. package/dist/_shared/esm/BtIconAlert-55a6ed5c.js +32 -0
  145. package/dist/_shared/esm/BtIconCrossAlt2Px-a6a9f431.js +23 -0
  146. package/dist/_shared/esm/{Button-10700df4.js → Button-61241dd0.js} +4 -4
  147. package/dist/_shared/esm/{Curve-50697f7e.js → Curve-3e87b1bc.js} +2 -2
  148. package/dist/_shared/esm/DisclosureMini-322fccc0.d.ts +37 -0
  149. package/dist/_shared/esm/DisclosureMini-322fccc0.js +36 -0
  150. package/dist/_shared/esm/{FormControl-2cb96de7.d.ts → FormControl-0744f93f.d.ts} +2 -29
  151. package/dist/_shared/esm/{FormControl-2cb96de7.js → FormControl-0744f93f.js} +10 -61
  152. package/dist/_shared/esm/{Heading-eb1e42db.js → Heading-b61432fb.js} +3 -3
  153. package/dist/_shared/esm/{Icon-61f7237a.js → Icon-fd247973.js} +3 -3
  154. package/dist/_shared/esm/{Image-c0f3d42f.js → Image-3596ce55.js} +2 -2
  155. package/dist/_shared/esm/{Section-7bc71e26.js → Section-b8038d66.js} +1 -1
  156. package/dist/_shared/esm/{Surface-bf201530.js → Surface-bb100ef8.js} +1 -1
  157. package/dist/_shared/esm/{Text-6b958ad8.js → Text-00e9743b.js} +3 -3
  158. package/dist/_shared/esm/{VerticalSpace-3579b20e.js → VerticalSpace-93980c9c.js} +1 -1
  159. package/dist/_shared/esm/{index-229fc864.js → filter-data-attrs-afdb7d32.js} +12 -12
  160. package/dist/_shared/esm/index-9483ad5f.d.ts +2 -2
  161. package/dist/_shared/esm/index-c81c9401.d.ts +1 -1
  162. package/dist/_shared/esm/{suffix-modifier-f5e28822.js → suffix-modifier-7e640670.js} +1 -1
  163. package/dist/index.es.js +166 -126
  164. package/dist/index.es.js.map +1 -1
  165. package/dist/index.js +395 -355
  166. package/dist/index.js.map +1 -1
  167. package/dist/styles.css +1 -1
  168. package/dist/types/components/Alert/Alert.d.ts +56 -0
  169. package/dist/types/components/Alert/index.d.ts +1 -0
  170. package/dist/types/components/Checkbox/Checkbox.d.ts +6 -1
  171. package/dist/types/components/DisclosureMini/DisclosureMini.d.ts +36 -0
  172. package/dist/types/components/DisclosureMini/index.d.ts +1 -0
  173. package/dist/types/components/Elevation/Elevation.d.ts +4 -0
  174. package/dist/types/components/SiteHeader/SiteHeader.d.ts +2 -0
  175. package/dist/types/components/SiteHeader/components/NodeItem/NodeItem.d.ts +8 -0
  176. package/dist/types/styles.d.ts +3 -2
  177. package/package.json +4 -4
  178. package/dist/types/components/FormControl/FormControlDisclosure/FormControlDisclosure.d.ts +0 -28
  179. package/dist/types/components/FormControl/FormControlDisclosure/index.d.ts +0 -1
  180. /package/dist/_shared/cjs/{Base-e2b846fe.d.ts → Base-569e4334.d.ts} +0 -0
  181. /package/dist/_shared/cjs/{BrandLogo-3c6102ef.d.ts → BrandLogo-8008f0c4.d.ts} +0 -0
  182. /package/dist/_shared/cjs/{Button-1af6868c.d.ts → Button-5dff284a.d.ts} +0 -0
  183. /package/dist/_shared/cjs/{Curve-e72ce25b.d.ts → Curve-b05589d8.d.ts} +0 -0
  184. /package/dist/_shared/cjs/{Heading-cc38c3ec.d.ts → Heading-d45f6a7f.d.ts} +0 -0
  185. /package/dist/_shared/cjs/{Icon-719d13d4.d.ts → Icon-9ae8dbe1.d.ts} +0 -0
  186. /package/dist/_shared/cjs/{Image-fe760a06.d.ts → Image-3bf4b4f3.d.ts} +0 -0
  187. /package/dist/_shared/cjs/{Section-780f2377.d.ts → Section-48aca5f5.d.ts} +0 -0
  188. /package/dist/_shared/cjs/{Surface-d6b8010e.d.ts → Surface-6da0a78e.d.ts} +0 -0
  189. /package/dist/_shared/cjs/{Text-1d3844be.d.ts → Text-6f2827e6.d.ts} +0 -0
  190. /package/dist/_shared/cjs/{VerticalSpace-7aed88ab.d.ts → VerticalSpace-86f697e7.d.ts} +0 -0
  191. /package/dist/_shared/cjs/{index-78b35bc1.d.ts → filter-data-attrs-a30dcf5f.d.ts} +0 -0
  192. /package/dist/_shared/cjs/{suffix-modifier-edf7851e.d.ts → suffix-modifier-1ee2da04.d.ts} +0 -0
  193. /package/dist/_shared/esm/{Base-c235dc45.d.ts → Base-6c01e0ec.d.ts} +0 -0
  194. /package/dist/_shared/esm/{BrandLogo-4f13fe85.d.ts → BrandLogo-56699561.d.ts} +0 -0
  195. /package/dist/_shared/esm/{Button-10700df4.d.ts → Button-61241dd0.d.ts} +0 -0
  196. /package/dist/_shared/esm/{Curve-50697f7e.d.ts → Curve-3e87b1bc.d.ts} +0 -0
  197. /package/dist/_shared/esm/{Heading-eb1e42db.d.ts → Heading-b61432fb.d.ts} +0 -0
  198. /package/dist/_shared/esm/{Icon-61f7237a.d.ts → Icon-fd247973.d.ts} +0 -0
  199. /package/dist/_shared/esm/{Image-c0f3d42f.d.ts → Image-3596ce55.d.ts} +0 -0
  200. /package/dist/_shared/esm/{Section-7bc71e26.d.ts → Section-b8038d66.d.ts} +0 -0
  201. /package/dist/_shared/esm/{Surface-bf201530.d.ts → Surface-bb100ef8.d.ts} +0 -0
  202. /package/dist/_shared/esm/{Text-6b958ad8.d.ts → Text-00e9743b.d.ts} +0 -0
  203. /package/dist/_shared/esm/{VerticalSpace-3579b20e.d.ts → VerticalSpace-93980c9c.d.ts} +0 -0
  204. /package/dist/_shared/esm/{index-229fc864.d.ts → filter-data-attrs-afdb7d32.d.ts} +0 -0
  205. /package/dist/_shared/esm/{suffix-modifier-f5e28822.d.ts → suffix-modifier-7e640670.d.ts} +0 -0
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var React$a = require('react');
5
+ var React$b = require('react');
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -24,8 +24,8 @@ function _interopNamespace(e) {
24
24
  return Object.freeze(n);
25
25
  }
26
26
 
27
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React$a);
28
- var React__namespace = /*#__PURE__*/_interopNamespace(React$a);
27
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React$b);
28
+ var React__namespace = /*#__PURE__*/_interopNamespace(React$b);
29
29
 
30
30
  /*! *****************************************************************************
31
31
  Copyright (c) Microsoft Corporation.
@@ -329,7 +329,7 @@ var AlignItem = function (_a) {
329
329
  return React__default["default"].createElement("div", { className: "arc-Align-item" }, children);
330
330
  };
331
331
 
332
- var ArcRootElementContext = React$a.createContext(null);
332
+ var ArcRootElementContext = React$b.createContext(null);
333
333
  /**
334
334
  * Use `Base` as the root component of the arc system.
335
335
  */
@@ -879,9 +879,9 @@ function debounce(func, wait, options) {
879
879
 
880
880
  var debounce_1 = debounce;
881
881
 
882
- const React$9 = React__default["default"];
882
+ const React$a = React__default["default"];
883
883
  const BtIconChevronLeft2Px = props =>
884
- /*#__PURE__*/ React$9.createElement(
884
+ /*#__PURE__*/ React$a.createElement(
885
885
  "svg",
886
886
  Object.assign(
887
887
  {
@@ -890,8 +890,8 @@ const BtIconChevronLeft2Px = props =>
890
890
  },
891
891
  props
892
892
  ),
893
- /*#__PURE__*/ React$9.createElement("defs", null),
894
- /*#__PURE__*/ React$9.createElement("path", {
893
+ /*#__PURE__*/ React$a.createElement("defs", null),
894
+ /*#__PURE__*/ React$a.createElement("path", {
895
895
  d:
896
896
  "M22.5,29.99854a.99676.99676,0,0,1-.707-.293L8.08594,15.99268,21.793,2.294A1.00023,1.00023,0,0,1,23.207,3.709l-12.293,12.28467L23.207,28.2915a1,1,0,0,1-.707,1.707Z",
897
897
  fill: "currentColor"
@@ -899,9 +899,9 @@ const BtIconChevronLeft2Px = props =>
899
899
  );
900
900
  var BtIconChevronLeft2Px_2 = BtIconChevronLeft2Px;
901
901
 
902
- const React$8 = React__default["default"];
902
+ const React$9 = React__default["default"];
903
903
  const BtIconChevronRight2Px = props =>
904
- /*#__PURE__*/ React$8.createElement(
904
+ /*#__PURE__*/ React$9.createElement(
905
905
  "svg",
906
906
  Object.assign(
907
907
  {
@@ -910,8 +910,8 @@ const BtIconChevronRight2Px = props =>
910
910
  },
911
911
  props
912
912
  ),
913
- /*#__PURE__*/ React$8.createElement("defs", null),
914
- /*#__PURE__*/ React$8.createElement("path", {
913
+ /*#__PURE__*/ React$9.createElement("defs", null),
914
+ /*#__PURE__*/ React$9.createElement("path", {
915
915
  d:
916
916
  "M9.5,29.99854A1.00025,1.00025,0,0,1,8.793,28.291l12.293-12.28467L8.793,3.7085A.99989.99989,0,0,1,10.207,2.29443l13.707,13.71289L10.207,29.70605A.99827.99827,0,0,1,9.5,29.99854Z",
917
917
  fill: "currentColor"
@@ -919,9 +919,9 @@ const BtIconChevronRight2Px = props =>
919
919
  );
920
920
  var BtIconChevronRight2Px_2 = BtIconChevronRight2Px;
921
921
 
922
- const React$7 = React__default["default"];
922
+ const React$8 = React__default["default"];
923
923
  const ArcIconArc = props =>
924
- /*#__PURE__*/ React$7.createElement(
924
+ /*#__PURE__*/ React$8.createElement(
925
925
  "svg",
926
926
  Object.assign(
927
927
  {
@@ -930,7 +930,7 @@ const ArcIconArc = props =>
930
930
  },
931
931
  props
932
932
  ),
933
- /*#__PURE__*/ React$7.createElement("path", {
933
+ /*#__PURE__*/ React$8.createElement("path", {
934
934
  fill: "none",
935
935
  d: "M3.472 11.69a6.5 6.5 0 012.321-6.839A6.5 6.5 0 0113 4.38",
936
936
  stroke: "currentColor"
@@ -939,7 +939,7 @@ const ArcIconArc = props =>
939
939
  var ArcIconArc_2 = ArcIconArc;
940
940
 
941
941
  var defaultContext$3 = { surface: "light" };
942
- var Context$3 = React$a.createContext(defaultContext$3);
942
+ var Context$3 = React$b.createContext(defaultContext$3);
943
943
  var Provider$4 = Context$3.Provider;
944
944
  /**
945
945
  * Use `Surface` to compose content using the Arc system.
@@ -988,7 +988,7 @@ __spreadArray$1([], backgroundsShared, true);
988
988
  var Icon = function (_a) {
989
989
  var _b;
990
990
  var testId = _a.testId, _c = _a.color, color = _c === void 0 ? "auto" : _c, _d = _a.icon, icon = _d === void 0 ? ArcIconArc_2 : _d, _e = _a.isInline, isInline = _e === void 0 ? false : _e, label = _a.label, size = _a.size, props = __rest$2(_a, ["testId", "color", "icon", "isInline", "label", "size"]);
991
- var surface = React$a.useContext(Context$3).surface;
991
+ var surface = React$b.useContext(Context$3).surface;
992
992
  var Icon = icon;
993
993
  return (React__default["default"].createElement("span", __assign$2({ "data-testid": testId, "aria-label": label, className: classNames((_b = {},
994
994
  _b["arc-Icon"] = true,
@@ -1037,17 +1037,17 @@ var BreadcrumbsLink = React__default["default"].forwardRef(function (_a, ref) {
1037
1037
  /** Use `Breadcrumbs` to add a secondary navigation scheme that reveals the user’s location. Each item should be wrapped with `Breadcrumbs.Item` */
1038
1038
  var Breadcrumbs = function (_a) {
1039
1039
  var isLight = _a.isLight, children = _a.children;
1040
- var breadcrumbsList = React$a.useRef(null);
1041
- var _b = React$a.useState(false), isCompressed = _b[0], setIsCompressed = _b[1];
1042
- var _c = React$a.useState(false), showBackTrail = _c[0], setShowBackTrail = _c[1];
1043
- React$a.useEffect(function () {
1040
+ var breadcrumbsList = React$b.useRef(null);
1041
+ var _b = React$b.useState(false), isCompressed = _b[0], setIsCompressed = _b[1];
1042
+ var _c = React$b.useState(false), showBackTrail = _c[0], setShowBackTrail = _c[1];
1043
+ React$b.useEffect(function () {
1044
1044
  React__default["default"].Children.map(children, function (item) {
1045
1045
  if (item && item.type !== BreadcrumbsItem) {
1046
1046
  throw new Error("Illegal child passed to <Breadcrumbs />. Ensure to only use <Breadcrumbs.Item />");
1047
1047
  }
1048
1048
  });
1049
1049
  }, [children]);
1050
- React$a.useEffect(function () {
1050
+ React$b.useEffect(function () {
1051
1051
  var handleResize = debounce_1(function () {
1052
1052
  var _a;
1053
1053
  setShowBackTrail(false);
@@ -1111,7 +1111,7 @@ Breadcrumbs.Link = BreadcrumbsLink;
1111
1111
  var BrandLogo = function (_a) {
1112
1112
  var _b;
1113
1113
  var _c = _a.color, color = _c === void 0 ? "auto" : _c, label = _a.label, _d = _a.size, size = _d === void 0 ? 34 : _d, subBrand = _a.subBrand, props = __rest$2(_a, ["color", "label", "size", "subBrand"]);
1114
- var surface = React$a.useContext(Context$3).surface;
1114
+ var surface = React$b.useContext(Context$3).surface;
1115
1115
  return (React__default["default"].createElement("div", __assign$2({ className: classNames((_b = {
1116
1116
  "arc-BrandLogo": true,
1117
1117
  "arc-BrandLogo--colorBrand": color === "brand",
@@ -1123,9 +1123,9 @@ var BrandLogo = function (_a) {
1123
1123
  } }, filterDataAttrs(props)), label ? React__default["default"].createElement("span", { className: "arc-BrandLogo-text" }, label) : null));
1124
1124
  };
1125
1125
 
1126
- const React$6 = React__default["default"];
1126
+ const React$7 = React__default["default"];
1127
1127
  const BtIconChevronLeftMid = props =>
1128
- /*#__PURE__*/ React$6.createElement(
1128
+ /*#__PURE__*/ React$7.createElement(
1129
1129
  "svg",
1130
1130
  Object.assign(
1131
1131
  {
@@ -1135,7 +1135,7 @@ const BtIconChevronLeftMid = props =>
1135
1135
  },
1136
1136
  props
1137
1137
  ),
1138
- /*#__PURE__*/ React$6.createElement("path", {
1138
+ /*#__PURE__*/ React$7.createElement("path", {
1139
1139
  fillRule: "evenodd",
1140
1140
  clipRule: "evenodd",
1141
1141
  d:
@@ -1145,9 +1145,9 @@ const BtIconChevronLeftMid = props =>
1145
1145
  );
1146
1146
  var BtIconChevronLeftMid_2 = BtIconChevronLeftMid;
1147
1147
 
1148
- const React$5 = React__default["default"];
1148
+ const React$6 = React__default["default"];
1149
1149
  const BtIconChevronRightMid = props =>
1150
- /*#__PURE__*/ React$5.createElement(
1150
+ /*#__PURE__*/ React$6.createElement(
1151
1151
  "svg",
1152
1152
  Object.assign(
1153
1153
  {
@@ -1157,7 +1157,7 @@ const BtIconChevronRightMid = props =>
1157
1157
  },
1158
1158
  props
1159
1159
  ),
1160
- /*#__PURE__*/ React$5.createElement("path", {
1160
+ /*#__PURE__*/ React$6.createElement("path", {
1161
1161
  fillRule: "evenodd",
1162
1162
  clipRule: "evenodd",
1163
1163
  d:
@@ -1170,10 +1170,10 @@ var BtIconChevronRightMid_2 = BtIconChevronRightMid;
1170
1170
  /**
1171
1171
  * Use `Button` to allow users to take actions with clicks and taps.
1172
1172
  */
1173
- var Button = React$a.forwardRef(function (_a, ref) {
1173
+ var Button = React$b.forwardRef(function (_a, ref) {
1174
1174
  var _b;
1175
1175
  var ariaLabel = _a.ariaLabel, _c = _a.fill, fill = _c === void 0 ? "solid" : _c, href = _a.href, icon = _a.icon, _d = _a.iconPosition, iconPosition = _d === void 0 ? "afterText" : _d, id = _a.id, _e = _a.isDisabled, isDisabled = _e === void 0 ? false : _e, _f = _a.isDisplayBlock, isDisplayBlock = _f === void 0 ? false : _f, _g = _a.isFullWidth, isFullWidth = _g === void 0 ? false : _g, label = _a.label, onClick = _a.onClick, rel = _a.rel, supportingText = _a.supportingText, target = _a.target, type = _a.type, props = __rest$2(_a, ["ariaLabel", "fill", "href", "icon", "iconPosition", "id", "isDisabled", "isDisplayBlock", "isFullWidth", "label", "onClick", "rel", "supportingText", "target", "type"]);
1176
- var surface = React$a.useContext(Context$3).surface;
1176
+ var surface = React$b.useContext(Context$3).surface;
1177
1177
  var buttonClasses = classNames((_b = {
1178
1178
  "arc-Button": true,
1179
1179
  "arc-Button--displayBlock": isDisplayBlock
@@ -1214,7 +1214,7 @@ var ButtonIcon = function (_a) {
1214
1214
  var Image = function (_a) {
1215
1215
  var _b;
1216
1216
  var alt = _a.alt, _c = _a.anchor, anchor = _c === void 0 ? "C" : _c, children = _a.children, fillColor = _a.fillColor, fit = _a.fit, height = _a.height, loading = _a.loading, overlay = _a.overlay, sizes = _a.sizes, src = _a.src, srcSet = _a.srcSet, width = _a.width, props = __rest$2(_a, ["alt", "anchor", "children", "fillColor", "fit", "height", "loading", "overlay", "sizes", "src", "srcSet", "width"]);
1217
- React$a.useEffect(function () {
1217
+ React$b.useEffect(function () {
1218
1218
  React__default["default"].Children.map(children, function (item) {
1219
1219
  if (item && item.type !== ImageSource) {
1220
1220
  throw new Error("Illegal child passed to <Image />. Ensure to only use <Image.Source />.");
@@ -1246,7 +1246,7 @@ Image.Source = ImageSource;
1246
1246
  var Heading = function (_a) {
1247
1247
  var _b;
1248
1248
  var _c = _a.align, align = _c === void 0 ? "left" : _c, _d = _a.casing, casing = _d === void 0 ? "auto" : _d, children = _a.children, _e = _a.color, color = _e === void 0 ? "auto" : _e, level = _a.level, size = _a.size, props = __rest$2(_a, ["align", "casing", "children", "color", "level", "size"]);
1249
- var surface = React$a.useContext(Context$3).surface;
1249
+ var surface = React$b.useContext(Context$3).surface;
1250
1250
  var Element = "span";
1251
1251
  if (level) {
1252
1252
  Element = "h".concat(level);
@@ -1299,8 +1299,8 @@ var useAriaDescribedby = function (_a) {
1299
1299
  * Detect interaction mode
1300
1300
  */
1301
1301
  var useInteractionMode = function () {
1302
- var _a = React$a.useState("pointer"), interactionMode = _a[0], setInteractionMode = _a[1];
1303
- React$a.useEffect(function () {
1302
+ var _a = React$b.useState("pointer"), interactionMode = _a[0], setInteractionMode = _a[1];
1303
+ React$b.useEffect(function () {
1304
1304
  var onKeyDown = function (event) {
1305
1305
  if (event.altKey || event.ctrlKey || event.metaKey) {
1306
1306
  return;
@@ -1343,13 +1343,13 @@ var useInteractionMode = function () {
1343
1343
  */
1344
1344
  var useMediaQuery = function (mediaQuery) {
1345
1345
  var mediaQueryList = typeof window !== "undefined" ? window.matchMedia(mediaQuery) : undefined;
1346
- var _a = React$a.useState(false), matches = _a[0], setMatches = _a[1];
1347
- React$a.useEffect(function () {
1346
+ var _a = React$b.useState(false), matches = _a[0], setMatches = _a[1];
1347
+ React$b.useEffect(function () {
1348
1348
  setMatches(typeof window !== "undefined"
1349
1349
  ? window.matchMedia(mediaQuery).matches
1350
1350
  : false);
1351
1351
  }, [mediaQuery]);
1352
- React$a.useEffect(function () {
1352
+ React$b.useEffect(function () {
1353
1353
  var onMatchMedia = function (event) { return setMatches(event.matches); };
1354
1354
  // Using deprecated addListener methods here for IE & Safari 13 support
1355
1355
  if (mediaQueryList) {
@@ -1393,7 +1393,7 @@ var useNumericInput = function (props) {
1393
1393
  var Card = function (_a) {
1394
1394
  var _b;
1395
1395
  var actionId = _a.actionId, _c = _a.actionLabel, actionLabel = _c === void 0 ? "Read more" : _c, children = _a.children, _d = _a.fill, fill = _d === void 0 ? "solid" : _d, href = _a.href, imageAlt = _a.imageAlt, imageHeight = _a.imageHeight, imageLoading = _a.imageLoading, imageSrc = _a.imageSrc, imageSrcSet = _a.imageSrcSet, linkData = _a.linkData, minHeight = _a.minHeight, onClick = _a.onClick, target = _a.target, title = _a.title, _e = _a.titleSize, titleSize = _e === void 0 ? "s" : _e, props = __rest$2(_a, ["actionId", "actionLabel", "children", "fill", "href", "imageAlt", "imageHeight", "imageLoading", "imageSrc", "imageSrcSet", "linkData", "minHeight", "onClick", "target", "title", "titleSize"]);
1396
- var surface = React$a.useContext(Context$3).surface;
1396
+ var surface = React$b.useContext(Context$3).surface;
1397
1397
  var interactionMode = useInteractionMode().interactionMode;
1398
1398
  var Wrapper = function (_a) {
1399
1399
  var children = _a.children;
@@ -1452,7 +1452,7 @@ Card.Image = CardImage;
1452
1452
  */
1453
1453
  var CardLink = function (_a) {
1454
1454
  var actionId = _a.actionId, isButton = _a.isButton, children = _a.children, fill = _a.fill, href = _a.href, _b = _a.linkData, linkData = _b === void 0 ? {} : _b, onClick = _a.onClick, stretch = _a.stretch, target = _a.target;
1455
- var surface = React$a.useContext(Context$3).surface;
1455
+ var surface = React$b.useContext(Context$3).surface;
1456
1456
  return (React__default["default"].createElement("a", __assign$2({ onClick: handleLinkClick({ handler: onClick }), "aria-describedby": actionId, className: classNames({
1457
1457
  "arc-Card-link": true,
1458
1458
  "arc-Card-link--button": isButton,
@@ -1464,9 +1464,9 @@ var CardLink = function (_a) {
1464
1464
  React__default["default"].createElement(Icon, { testId: "cardIcon", icon: BtIconChevronRightMid_2, size: 24 })))));
1465
1465
  };
1466
1466
 
1467
- const React$4 = React__default["default"];
1467
+ const React$5 = React__default["default"];
1468
1468
  const BtIconTickAlt2Px = props =>
1469
- /*#__PURE__*/ React$4.createElement(
1469
+ /*#__PURE__*/ React$5.createElement(
1470
1470
  "svg",
1471
1471
  Object.assign(
1472
1472
  {
@@ -1475,8 +1475,8 @@ const BtIconTickAlt2Px = props =>
1475
1475
  },
1476
1476
  props
1477
1477
  ),
1478
- /*#__PURE__*/ React$4.createElement("defs", null),
1479
- /*#__PURE__*/ React$4.createElement("path", {
1478
+ /*#__PURE__*/ React$5.createElement("defs", null),
1479
+ /*#__PURE__*/ React$5.createElement("path", {
1480
1480
  d:
1481
1481
  "M13.49963,21.91418l-4.707-4.707a1.0014,1.0014,0,0,1,0-1.41406,1.02353,1.02353,0,0,1,1.41406,0l3.293,3.293,8.293-8.293a.99989.99989,0,1,1,1.41406,1.41406Z",
1482
1482
  fill: "currentColor"
@@ -1484,9 +1484,9 @@ const BtIconTickAlt2Px = props =>
1484
1484
  );
1485
1485
  var BtIconTickAlt2Px_2 = BtIconTickAlt2Px;
1486
1486
 
1487
- const React$3 = React__default["default"];
1487
+ const React$4 = React__default["default"];
1488
1488
  const BtIconAlert = props =>
1489
- /*#__PURE__*/ React$3.createElement(
1489
+ /*#__PURE__*/ React$4.createElement(
1490
1490
  "svg",
1491
1491
  Object.assign(
1492
1492
  {
@@ -1495,17 +1495,17 @@ const BtIconAlert = props =>
1495
1495
  },
1496
1496
  props
1497
1497
  ),
1498
- /*#__PURE__*/ React$3.createElement("defs", null),
1499
- /*#__PURE__*/ React$3.createElement("path", {
1498
+ /*#__PURE__*/ React$4.createElement("defs", null),
1499
+ /*#__PURE__*/ React$4.createElement("path", {
1500
1500
  d:
1501
1501
  "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,27A13,13,0,1,1,29,16,13.01474,13.01474,0,0,1,16,29Z",
1502
1502
  fill: "currentColor"
1503
1503
  }),
1504
- /*#__PURE__*/ React$3.createElement("path", {
1504
+ /*#__PURE__*/ React$4.createElement("path", {
1505
1505
  fill: "currentColor",
1506
1506
  d: "M16 20.99335A1 1 0 1 0 16 22.99335 1 1 0 1 0 16 20.99335z"
1507
1507
  }),
1508
- /*#__PURE__*/ React$3.createElement("path", {
1508
+ /*#__PURE__*/ React$4.createElement("path", {
1509
1509
  d:
1510
1510
  "M16.00488,19.00977a.49972.49972,0,0,0,.5-.5L16.50684,9.5a.5.5,0,0,0-1,0l-.002,9.00977A.5.5,0,0,0,16.00488,19.00977Z",
1511
1511
  fill: "currentColor"
@@ -1513,13 +1513,33 @@ const BtIconAlert = props =>
1513
1513
  );
1514
1514
  var BtIconAlert_2 = BtIconAlert;
1515
1515
 
1516
+ const React$3 = React__default["default"];
1517
+ const BtIconChevronDown2Px = props =>
1518
+ /*#__PURE__*/ React$3.createElement(
1519
+ "svg",
1520
+ Object.assign(
1521
+ {
1522
+ xmlns: "http://www.w3.org/2000/svg",
1523
+ viewBox: "0 0 32 32"
1524
+ },
1525
+ props
1526
+ ),
1527
+ /*#__PURE__*/ React$3.createElement("defs", null),
1528
+ /*#__PURE__*/ React$3.createElement("path", {
1529
+ d:
1530
+ "M15.99316,23.91406,2.294,10.207A.99989.99989,0,1,1,3.708,8.793l12.28515,12.293L28.292,8.793A.99989.99989,0,1,1,29.70605,10.207Z",
1531
+ fill: "currentColor"
1532
+ })
1533
+ );
1534
+ var BtIconChevronDown2Px_2 = BtIconChevronDown2Px;
1535
+
1516
1536
  /**
1517
1537
  * Use `Text` to display text.
1518
1538
  */
1519
1539
  var Text = function (_a) {
1520
1540
  var _b;
1521
1541
  var _c = _a.align, align = _c === void 0 ? "left" : _c, children = _a.children, _d = _a.isInline, isInline = _d === void 0 ? false : _d, _e = _a.isMeasured, isMeasured = _e === void 0 ? false : _e, _f = _a.size, size = _f === void 0 ? "m" : _f, _g = _a.tone, tone = _g === void 0 ? "default" : _g, props = __rest$2(_a, ["align", "children", "isInline", "isMeasured", "size", "tone"]);
1522
- var surface = React$a.useContext(Context$3).surface;
1542
+ var surface = React$b.useContext(Context$3).surface;
1523
1543
  return (React__default["default"].createElement("span", __assign$2({ className: classNames((_b = {
1524
1544
  "arc-Text": true
1525
1545
  },
@@ -1533,41 +1553,62 @@ var Text = function (_a) {
1533
1553
  };
1534
1554
 
1535
1555
  /**
1536
- * Use `FormControlDisclosure` to display content that is only visible when toggled into
1556
+ * Use `DisclosureMini` to display content that is only visible when toggled into
1537
1557
  * an "open" state.
1538
1558
  */
1539
- var FormControlDisclosure = function (_a) {
1540
- var children = _a.children, summary = _a.summary, onClick = _a.onClick, _b = _a.size, size = _b === void 0 ? "l" : _b, id = _a.id, props = __rest$2(_a, ["children", "summary", "onClick", "size", "id"]);
1541
- var surface = React$a.useContext(Context$3).surface;
1542
- var _c = React$a.useState(false), disclousreState = _c[0], setDisclosureState = _c[1];
1559
+ var DisclosureMini = function (_a) {
1560
+ var children = _a.children, summary = _a.summary, onClick = _a.onClick, id = _a.id, _b = _a.isOpen, isOpen = _b === void 0 ? false : _b, _c = _a.iconPosition, iconPosition = _c === void 0 ? "left" : _c, _d = _a.size, size = _d === void 0 ? "l" : _d, props = __rest$2(_a, ["children", "summary", "onClick", "id", "isOpen", "iconPosition", "size"]);
1561
+ var surface = React$b.useContext(Context$3).surface;
1562
+ var _e = React$b.useState(false), disclousreState = _e[0], setDisclosureState = _e[1];
1543
1563
  var handleOnClick = function () {
1544
1564
  onClick && onClick();
1545
1565
  setDisclosureState(function (prevState) { return !prevState; });
1546
1566
  };
1547
- return (React__default["default"].createElement("details", __assign$2({ className: classNames({
1548
- "arc-FormControlDisclosure": true,
1549
- "arc-FormControlDisclosure--onDarkSurface": surface === "dark"
1550
- }) }, filterDataAttrs(props), { "data-testid": "FormControlDisclosure" }),
1551
- React__default["default"].createElement("summary", { className: "arc-FormControlDisclosure-summary", onClick: handleOnClick, "aria-expanded": disclousreState },
1552
- React__default["default"].createElement("span", { className: "arc-FormControlDisclosure-summary-icon" },
1553
- React__default["default"].createElement(BtIconChevronRightMid_2, null)),
1567
+ return (React__default["default"].createElement("details", __assign$2({ "data-testid": "DisclosureMini", className: classNames({
1568
+ "arc-DisclosureMini": true,
1569
+ "arc-DisclosureMini--onDarkSurface": surface === "dark"
1570
+ }), open: isOpen }, filterDataAttrs(props)),
1571
+ React__default["default"].createElement("summary", { "data-testid": "DisclosureMiniSummary", className: classNames("arc-DisclosureMini-summary", {
1572
+ "arc-DisclosureMini-summary--icon-left": iconPosition === "left",
1573
+ "arc-DisclosureMini-summary--icon-right": iconPosition === "right"
1574
+ }), onClick: handleOnClick, "aria-expanded": disclousreState },
1575
+ React__default["default"].createElement("span", { className: "arc-DisclosureMini-summary-icon" },
1576
+ React__default["default"].createElement(BtIconChevronDown2Px_2, null)),
1554
1577
  React__default["default"].createElement(Text, { size: size === "l" ? "m" : "s" }, summary)),
1555
- React__default["default"].createElement("div", { className: "arc-FormControlDisclosure-details" },
1578
+ React__default["default"].createElement("div", { className: "arc-DisclosureMini-details" },
1556
1579
  React__default["default"].createElement(Text, { size: size === "l" ? "m" : "s" },
1557
1580
  React__default["default"].createElement("span", { id: id }, children)))));
1558
1581
  };
1559
1582
 
1583
+ /**
1584
+ * Use `VerticalSpace` to create vertical space between components.
1585
+ */
1586
+ var VerticalSpace = function (_a) {
1587
+ var _b;
1588
+ var _c = _a.isDebugVisible, isDebugVisible = _c === void 0 ? false : _c, _d = _a.size, size = _d === void 0 ? "24" : _d, sizeS = _a.sizeS, sizeM = _a.sizeM, sizeL = _a.sizeL, sizeXL = _a.sizeXL, props = __rest$2(_a, ["isDebugVisible", "size", "sizeS", "sizeM", "sizeL", "sizeXL"]);
1589
+ return (React__default["default"].createElement("div", __assign$2({ className: classNames((_b = {
1590
+ "arc-VerticalSpace": true
1591
+ },
1592
+ _b["arc-VerticalSpace--size".concat(size)] = size,
1593
+ _b["arc-VerticalSpace--sizeS".concat(sizeS)] = sizeS && sizeS,
1594
+ _b["arc-VerticalSpace--sizeM".concat(sizeM)] = sizeM && sizeM,
1595
+ _b["arc-VerticalSpace--sizeL".concat(sizeL)] = sizeL && sizeL,
1596
+ _b["arc-VerticalSpace--sizeXL".concat(sizeXL)] = sizeXL && sizeXL,
1597
+ _b["arc-VerticalSpace--debugVisible"] = isDebugVisible,
1598
+ _b)) }, filterDataAttrs(props))));
1599
+ };
1600
+
1560
1601
  var defaultContext$2 = {
1561
1602
  requirementStatus: null
1562
1603
  };
1563
- var Context$2 = React$a.createContext(defaultContext$2);
1604
+ var Context$2 = React$b.createContext(defaultContext$2);
1564
1605
  var Provider$3 = Context$2.Provider;
1565
1606
  /**
1566
1607
  * Use `FormControl` to provide inputs with labels, helper text and error messages
1567
1608
  */
1568
1609
  var FormControl = function (_a) {
1569
1610
  var children = _a.children, _b = _a.elementType, ElementType = _b === void 0 ? "div" : _b, errorMessage = _a.errorMessage, helper = _a.helper, htmlFor = _a.htmlFor, id = _a.id, label = _a.label, _c = _a.labelSize, labelSize = _c === void 0 ? "l" : _c, _d = _a.requirementStatus, requirementStatus = _d === void 0 ? "optional" : _d, _e = _a.helperUnderLabel, helperUnderLabel = _e === void 0 ? false : _e, isDisabled = _a.isDisabled, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure, props = __rest$2(_a, ["children", "elementType", "errorMessage", "helper", "htmlFor", "id", "label", "labelSize", "requirementStatus", "helperUnderLabel", "isDisabled", "disclosureTitle", "disclosureText", "onClickDisclosure"]);
1570
- var surface = React$a.useContext(Context$3).surface;
1611
+ var surface = React$b.useContext(Context$3).surface;
1571
1612
  var _f = useAriaDescribedby({
1572
1613
  disclosureText: disclosureText,
1573
1614
  errorMessage: errorMessage,
@@ -1604,20 +1645,22 @@ var FormControl = function (_a) {
1604
1645
  !helperUnderLabel && (React__default["default"].createElement(React__default["default"].Fragment, null, errorMessage ? (React__default["default"].createElement("div", { className: "arc-FormControl-error", id: idError },
1605
1646
  React__default["default"].createElement("span", { className: "arc-FormControl-error--icon" },
1606
1647
  React__default["default"].createElement(BtIconAlert_2, null)),
1607
- errorMessage)) : disclosureTitle ? (React__default["default"].createElement(FormControlDisclosure, { onClick: onClickDisclosure, summary: disclosureTitle, size: labelSize, id: idDisclosure }, disclosureText)) : (helper && (React__default["default"].createElement("div", { className: "arc-FormControl-helper", id: idHelper }, helper))))))));
1648
+ errorMessage)) : disclosureTitle ? (React__default["default"].createElement(React__default["default"].Fragment, null,
1649
+ React__default["default"].createElement(VerticalSpace, { size: "12" }),
1650
+ React__default["default"].createElement(DisclosureMini, { onClick: onClickDisclosure, summary: disclosureTitle, size: labelSize, id: idDisclosure }, disclosureText))) : (helper && (React__default["default"].createElement("div", { className: "arc-FormControl-helper", id: idHelper }, helper))))))));
1608
1651
  };
1609
1652
 
1610
1653
  /**
1611
1654
  * Use `Checkbox` to allow users to select individual options.
1612
1655
  */
1613
- var Checkbox = React$a.forwardRef(function (_a, ref) {
1614
- var _b = _a.checked, checked = _b === void 0 ? false : _b, errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.isRequired, isRequired = _d === void 0 ? false : _d, label = _a.label, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _e = _a.size, size = _e === void 0 ? "l" : _e, value = _a.value, props = __rest$2(_a, ["checked", "errorMessage", "helper", "id", "isDisabled", "isRequired", "label", "name", "onBlur", "onChange", "size", "value"]);
1615
- var requirementStatus = React$a.useContext(Context$2).requirementStatus;
1616
- var surface = React$a.useContext(Context$3).surface;
1617
- var _f = useAriaDescribedby({
1656
+ var Checkbox = React$b.forwardRef(function (_a, ref) {
1657
+ var _b = _a.checked, checked = _b === void 0 ? false : _b, errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.isRequired, isRequired = _d === void 0 ? false : _d, label = _a.label, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _e = _a.size, size = _e === void 0 ? "l" : _e, value = _a.value, _f = _a.checkboxAlignment, checkboxAlignment = _f === void 0 ? "center" : _f, props = __rest$2(_a, ["checked", "errorMessage", "helper", "id", "isDisabled", "isRequired", "label", "name", "onBlur", "onChange", "size", "value", "checkboxAlignment"]);
1658
+ var requirementStatus = React$b.useContext(Context$2).requirementStatus;
1659
+ var surface = React$b.useContext(Context$3).surface;
1660
+ var _g = useAriaDescribedby({
1618
1661
  id: id,
1619
1662
  errorMessage: errorMessage
1620
- }), ariaDescribedby = _f.ariaDescribedby, idError = _f.idError;
1663
+ }), ariaDescribedby = _g.ariaDescribedby, idError = _g.idError;
1621
1664
  var idLabel = "".concat(id, "-label");
1622
1665
  var checkedProps = {};
1623
1666
  if (typeof onChange === "function") {
@@ -1636,11 +1679,15 @@ var Checkbox = React$a.forwardRef(function (_a, ref) {
1636
1679
  "arc-Checkbox--small": size === "s",
1637
1680
  "arc-Checkbox--onDarkSurface": surface === "dark"
1638
1681
  }) },
1639
- React__default["default"].createElement("label", { id: idLabel, htmlFor: id, className: "arc-Checkbox-label" },
1682
+ React__default["default"].createElement("label", { id: idLabel, htmlFor: id, className: classNames("arc-Checkbox-label", {
1683
+ "arc-Checkbox-label--top": checkboxAlignment === "top"
1684
+ }) },
1640
1685
  React__default["default"].createElement("input", __assign$2({ "aria-describedby": ariaDescribedby, "aria-invalid": errorMessage ? "true" : "false", className: "arc-Checkbox-input" }, checkedProps, { disabled: isDisabled, id: id, name: name, onBlur: onBlur, onChange: onChange, ref: ref, required: isRequired, type: "checkbox", value: value }, filterDataAttrs(props))),
1641
1686
  React__default["default"].createElement("span", { className: "arc-Checkbox-box" },
1642
1687
  React__default["default"].createElement(BtIconTickAlt2Px_2, null)),
1643
- React__default["default"].createElement("span", null,
1688
+ React__default["default"].createElement("span", __assign$2({}, (checkboxAlignment === "top" && {
1689
+ className: "arc-Checkbox-content--marginTop"
1690
+ })),
1644
1691
  label,
1645
1692
  !isRequired && requirementStatus !== "optional" ? (React__default["default"].createElement("span", { className: "arc-Checkbox-labelOptional" }, "(optional)")) : null,
1646
1693
  helper && React__default["default"].createElement("span", { className: "arc-Checkbox-helper" }, helper))),
@@ -1655,9 +1702,9 @@ var Checkbox = React$a.forwardRef(function (_a, ref) {
1655
1702
  */
1656
1703
  var Clock = function (_a) {
1657
1704
  var _b = _a.locale, locale = _b === void 0 ? "en-GB" : _b, props = __rest$2(_a, ["locale"]);
1658
- var _c = React$a.useState(new Date()), time = _c[0], setTime = _c[1];
1659
- var _d = React$a.useState(time.toLocaleTimeString(locale)), humanTime = _d[0], setHumanTime = _d[1];
1660
- React$a.useEffect(function () {
1705
+ var _c = React$b.useState(new Date()), time = _c[0], setTime = _c[1];
1706
+ var _d = React$b.useState(time.toLocaleTimeString(locale)), humanTime = _d[0], setHumanTime = _d[1];
1707
+ React$b.useEffect(function () {
1661
1708
  var tick = function () {
1662
1709
  var newTime = new Date();
1663
1710
  setTime(newTime);
@@ -1685,7 +1732,7 @@ var Clock_rehydrator = (function (el) { return __awaiter(void 0, void 0, void 0,
1685
1732
  */
1686
1733
  var Columns = function (_a) {
1687
1734
  var children = _a.children, _b = _a.isGutterless, isGutterless = _b === void 0 ? false : _b, props = __rest$2(_a, ["children", "isGutterless"]);
1688
- React$a.useEffect(function () {
1735
+ React$b.useEffect(function () {
1689
1736
  React__default["default"].Children.map(children, function (item) {
1690
1737
  if (item && item.type !== Col) {
1691
1738
  throw new Error("Illegal child passed to <Columns />. Ensure to only use <Columns.Col />.");
@@ -1743,33 +1790,13 @@ var Curve = function (_a) {
1743
1790
  _b)) }, filterDataAttrs(props))));
1744
1791
  };
1745
1792
 
1746
- const React$2 = React__default["default"];
1747
- const BtIconChevronDown2Px = props =>
1748
- /*#__PURE__*/ React$2.createElement(
1749
- "svg",
1750
- Object.assign(
1751
- {
1752
- xmlns: "http://www.w3.org/2000/svg",
1753
- viewBox: "0 0 32 32"
1754
- },
1755
- props
1756
- ),
1757
- /*#__PURE__*/ React$2.createElement("defs", null),
1758
- /*#__PURE__*/ React$2.createElement("path", {
1759
- d:
1760
- "M15.99316,23.91406,2.294,10.207A.99989.99989,0,1,1,3.708,8.793l12.28515,12.293L28.292,8.793A.99989.99989,0,1,1,29.70605,10.207Z",
1761
- fill: "currentColor"
1762
- })
1763
- );
1764
- var BtIconChevronDown2Px_2 = BtIconChevronDown2Px;
1765
-
1766
1793
  /**
1767
1794
  * Use `Disclosure` to display content that is only visible when toggled into
1768
1795
  * an "open" state.
1769
1796
  */
1770
1797
  var Disclosure = function (_a) {
1771
1798
  var children = _a.children, headingLevel = _a.headingLevel, _b = _a.indentDetails, indentDetails = _b === void 0 ? false : _b, _c = _a.isOpen, isOpen = _c === void 0 ? false : _c, summary = _a.summary, props = __rest$2(_a, ["children", "headingLevel", "indentDetails", "isOpen", "summary"]);
1772
- var surface = React$a.useContext(Context$3).surface;
1799
+ var surface = React$b.useContext(Context$3).surface;
1773
1800
  return (React__default["default"].createElement("details", __assign$2({ className: classNames({
1774
1801
  "arc-Disclosure": true,
1775
1802
  "arc-Disclosure--indentDetails": indentDetails,
@@ -1787,9 +1814,11 @@ var Disclosure = function (_a) {
1787
1814
  */
1788
1815
  var Elevation = function (_a) {
1789
1816
  var _b;
1790
- var children = _a.children, _c = _a.isFullWidth, isFullWidth = _c === void 0 ? false : _c, props = __rest$2(_a, ["children", "isFullWidth"]);
1817
+ var children = _a.children, _c = _a.elevationLevel, elevationLevel = _c === void 0 ? "2" : _c, _d = _a.isFullWidth, isFullWidth = _d === void 0 ? false : _d, props = __rest$2(_a, ["children", "elevationLevel", "isFullWidth"]);
1791
1818
  return (React__default["default"].createElement("div", __assign$2({ className: classNames((_b = {},
1792
1819
  _b["arc-Elevation"] = true,
1820
+ _b["arc-Elevation--levelOne"] = elevationLevel === "1",
1821
+ _b["arc-Elevation--levelTwo"] = elevationLevel === "2",
1793
1822
  _b["arc-Elevation--fullWidth"] = isFullWidth,
1794
1823
  _b)) }, filterDataAttrs(props)), children));
1795
1824
  };
@@ -1800,8 +1829,8 @@ var Elevation = function (_a) {
1800
1829
  var Group = function (_a) {
1801
1830
  var _b;
1802
1831
  var children = _a.children, _c = _a.grow, grow = _c === void 0 ? false : _c, _d = _a.growEqual, growEqual = _d === void 0 ? false : _d, _e = _a.gutterBorder, gutterBorder = _e === void 0 ? false : _e, _f = _a.noWrap, noWrap = _f === void 0 ? false : _f, props = __rest$2(_a, ["children", "grow", "growEqual", "gutterBorder", "noWrap"]);
1803
- var surface = React$a.useContext(Context$3).surface;
1804
- React$a.useEffect(function () {
1832
+ var surface = React$b.useContext(Context$3).surface;
1833
+ React$b.useEffect(function () {
1805
1834
  React__default["default"].Children.map(children, function (item) {
1806
1835
  if (item && item.type !== GroupItem) {
1807
1836
  throw new Error("Illegal child passed to <Group />. Ensure to only use <Group.Item />.");
@@ -1835,7 +1864,7 @@ Group.Item = GroupItem;
1835
1864
  */
1836
1865
  var Markup = function (_a) {
1837
1866
  var children = _a.children, _b = _a.isMeasured, isMeasured = _b === void 0 ? false : _b, props = __rest$2(_a, ["children", "isMeasured"]);
1838
- var surface = React$a.useContext(Context$3).surface;
1867
+ var surface = React$b.useContext(Context$3).surface;
1839
1868
  return (React__default["default"].createElement("div", __assign$2({ className: classNames({
1840
1869
  "arc-Markup": true,
1841
1870
  "arc-Markup--measured": isMeasured,
@@ -1848,7 +1877,7 @@ var Markup = function (_a) {
1848
1877
  */
1849
1878
  var UniversalHeader = function (_a) {
1850
1879
  var children = _a.children, props = __rest$2(_a, ["children"]);
1851
- React$a.useEffect(function () {
1880
+ React$b.useEffect(function () {
1852
1881
  React__default["default"].Children.map(children, function (item) {
1853
1882
  if (item && item.type !== UniversalHeaderItem) {
1854
1883
  throw new Error("Illegal child passed to <UniversalHeader />. Ensure to only use <UniversalHeader.Item />.");
@@ -1903,20 +1932,20 @@ Poster.Image = PosterImage;
1903
1932
  PosterVideo.displayName = "Poster.Video";
1904
1933
  Poster.Video = PosterVideo;
1905
1934
 
1906
- var RadioContext = React$a.createContext({});
1935
+ var RadioContext = React$b.createContext({});
1907
1936
  var Provider$2 = RadioContext.Provider;
1908
1937
  var useRadioContext = function () {
1909
- var context = React$a.useContext(RadioContext);
1938
+ var context = React$b.useContext(RadioContext);
1910
1939
  return context;
1911
1940
  };
1912
1941
 
1913
1942
  /**
1914
1943
  * Radio Button component.
1915
1944
  */
1916
- var RadioButton = React$a.forwardRef(function (_a, ref) {
1945
+ var RadioButton = React$b.forwardRef(function (_a, ref) {
1917
1946
  var helper = _a.helper, id = _a.id, isDisabled = _a.isDisabled, label = _a.label, value = _a.value, props = __rest$2(_a, ["helper", "id", "isDisabled", "label", "value"]);
1918
1947
  var _b = useRadioContext(), blurEvent = _b.blurEvent, changeEvent = _b.changeEvent, groupDisabled = _b.groupDisabled, checkedValue = _b.checkedValue, labelSize = _b.labelSize, name = _b.name, size = _b.size;
1919
- var surface = React$a.useContext(Context$3).surface;
1948
+ var surface = React$b.useContext(Context$3).surface;
1920
1949
  var idLabel = "".concat(id, "-label");
1921
1950
  var checked = checkedValue === value ? true : false;
1922
1951
  return (React__default["default"].createElement("div", __assign$2({ className: classNames({
@@ -1938,7 +1967,7 @@ var RadioButton = React$a.forwardRef(function (_a, ref) {
1938
1967
  */
1939
1968
  var RadioGroup = function (_a) {
1940
1969
  var children = _a.children, checkedValue = _a.checkedValue, _b = _a.isDisabled, isDisabled = _b === void 0 ? false : _b, id = _a.id, helper = _a.helper, label = _a.label, _c = _a.labelSize, labelSize = _c === void 0 ? "l" : _c, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, _d = _a.size, size = _d === void 0 ? "l" : _d, props = __rest$2(_a, ["children", "checkedValue", "isDisabled", "id", "helper", "label", "labelSize", "name", "onBlur", "onChange", "size"]);
1941
- React$a.useEffect(function () {
1970
+ React$b.useEffect(function () {
1942
1971
  React__default["default"].Children.map(children, function (item) {
1943
1972
  if (item && item.type !== RadioButton) {
1944
1973
  throw new Error("Illegal child passed to <RadioGroup />. Ensure to only use <RadioGroup.RadioButton />.");
@@ -1964,7 +1993,7 @@ RadioGroup.RadioButton = RadioButton;
1964
1993
  * Use `Rule` to display a horizontal rule.
1965
1994
  */
1966
1995
  var Rule = function (props) {
1967
- var surface = React$a.useContext(Context$3).surface;
1996
+ var surface = React$b.useContext(Context$3).surface;
1968
1997
  return (React__default["default"].createElement("hr", __assign$2({ className: classNames({
1969
1998
  "arc-Rule": true,
1970
1999
  "arc-Rule--onDarkSurface": surface === "dark"
@@ -32880,7 +32909,7 @@ function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEven
32880
32909
  /* -----------------------------------------------------------------------------------------------
32881
32910
  * createContext
32882
32911
  * ---------------------------------------------------------------------------------------------*/ function $c512c27ab02ef895$export$fd42f52fd3ae1109(rootComponentName, defaultContext) {
32883
- const BaseContext = /*#__PURE__*/ React$a.createContext(defaultContext);
32912
+ const BaseContext = /*#__PURE__*/ React$b.createContext(defaultContext);
32884
32913
  const index = defaultContexts.length;
32885
32914
  defaultContexts = [
32886
32915
  ...defaultContexts,
@@ -32890,15 +32919,15 @@ function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEven
32890
32919
  const { scope: scope , children: children , ...context } = props;
32891
32920
  const Context = (scope === null || scope === void 0 ? void 0 : scope[scopeName][index]) || BaseContext; // Only re-memoize when prop values change
32892
32921
  // eslint-disable-next-line react-hooks/exhaustive-deps
32893
- const value = React$a.useMemo(()=>context
32922
+ const value = React$b.useMemo(()=>context
32894
32923
  , Object.values(context));
32895
- return /*#__PURE__*/ React$a.createElement(Context.Provider, {
32924
+ return /*#__PURE__*/ React$b.createElement(Context.Provider, {
32896
32925
  value: value
32897
32926
  }, children);
32898
32927
  }
32899
32928
  function useContext(consumerName, scope) {
32900
32929
  const Context = (scope === null || scope === void 0 ? void 0 : scope[scopeName][index]) || BaseContext;
32901
- const context = React$a.useContext(Context);
32930
+ const context = React$b.useContext(Context);
32902
32931
  if (context) return context;
32903
32932
  if (defaultContext !== undefined) return defaultContext; // if a defaultContext wasn't specified, it's a required context.
32904
32933
  throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``);
@@ -32913,11 +32942,11 @@ function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEven
32913
32942
  * createScope
32914
32943
  * ---------------------------------------------------------------------------------------------*/ const createScope = ()=>{
32915
32944
  const scopeContexts = defaultContexts.map((defaultContext)=>{
32916
- return /*#__PURE__*/ React$a.createContext(defaultContext);
32945
+ return /*#__PURE__*/ React$b.createContext(defaultContext);
32917
32946
  });
32918
32947
  return function useScope(scope) {
32919
32948
  const contexts = (scope === null || scope === void 0 ? void 0 : scope[scopeName]) || scopeContexts;
32920
- return React$a.useMemo(()=>({
32949
+ return React$b.useMemo(()=>({
32921
32950
  [`__scope${scopeName}`]: {
32922
32951
  ...scope,
32923
32952
  [scopeName]: contexts
@@ -32958,7 +32987,7 @@ function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEven
32958
32987
  ...currentScope
32959
32988
  };
32960
32989
  }, {});
32961
- return React$a.useMemo(()=>({
32990
+ return React$b.useMemo(()=>({
32962
32991
  [`__scope${baseScope.scopeName}`]: nextScopes1
32963
32992
  })
32964
32993
  , [
@@ -32990,14 +33019,14 @@ function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEven
32990
33019
  * Accepts callback refs and RefObject(s)
32991
33020
  */ function $6ed0406888f73fc4$export$c7b2cbe3552a0d05(...refs) {
32992
33021
  // eslint-disable-next-line react-hooks/exhaustive-deps
32993
- return React$a.useCallback($6ed0406888f73fc4$export$43e446d32b3d21af(...refs), refs);
33022
+ return React$b.useCallback($6ed0406888f73fc4$export$43e446d32b3d21af(...refs), refs);
32994
33023
  }
32995
33024
 
32996
33025
  /* -------------------------------------------------------------------------------------------------
32997
33026
  * Slot
32998
- * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
33027
+ * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
32999
33028
  const { children: children , ...slotProps } = props;
33000
- const childrenArray = React$a.Children.toArray(children);
33029
+ const childrenArray = React$b.Children.toArray(children);
33001
33030
  const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);
33002
33031
  if (slottable) {
33003
33032
  // the new element to render is the one passed as a child of `Slottable`
@@ -33006,37 +33035,37 @@ function $e42e1063c40fb3ef$export$b9ecd428b558ff10(originalEventHandler, ourEven
33006
33035
  if (child === slottable) {
33007
33036
  // because the new element will be the one rendered, we are only interested
33008
33037
  // in grabbing its children (`newElement.props.children`)
33009
- if (React$a.Children.count(newElement) > 1) return React$a.Children.only(null);
33010
- return /*#__PURE__*/ React$a.isValidElement(newElement) ? newElement.props.children : null;
33038
+ if (React$b.Children.count(newElement) > 1) return React$b.Children.only(null);
33039
+ return /*#__PURE__*/ React$b.isValidElement(newElement) ? newElement.props.children : null;
33011
33040
  } else return child;
33012
33041
  });
33013
- return /*#__PURE__*/ React$a.createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
33042
+ return /*#__PURE__*/ React$b.createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
33014
33043
  ref: forwardedRef
33015
- }), /*#__PURE__*/ React$a.isValidElement(newElement) ? /*#__PURE__*/ React$a.cloneElement(newElement, undefined, newChildren) : null);
33044
+ }), /*#__PURE__*/ React$b.isValidElement(newElement) ? /*#__PURE__*/ React$b.cloneElement(newElement, undefined, newChildren) : null);
33016
33045
  }
33017
- return /*#__PURE__*/ React$a.createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
33046
+ return /*#__PURE__*/ React$b.createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
33018
33047
  ref: forwardedRef
33019
33048
  }), children);
33020
33049
  });
33021
33050
  $5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = 'Slot';
33022
33051
  /* -------------------------------------------------------------------------------------------------
33023
33052
  * SlotClone
33024
- * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$var$SlotClone = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
33053
+ * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$var$SlotClone = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
33025
33054
  const { children: children , ...slotProps } = props;
33026
- if (/*#__PURE__*/ React$a.isValidElement(children)) return /*#__PURE__*/ React$a.cloneElement(children, {
33055
+ if (/*#__PURE__*/ React$b.isValidElement(children)) return /*#__PURE__*/ React$b.cloneElement(children, {
33027
33056
  ...$5e63c961fc1ce211$var$mergeProps(slotProps, children.props),
33028
33057
  ref: $6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef, children.ref)
33029
33058
  });
33030
- return React$a.Children.count(children) > 1 ? React$a.Children.only(null) : null;
33059
+ return React$b.Children.count(children) > 1 ? React$b.Children.only(null) : null;
33031
33060
  });
33032
33061
  $5e63c961fc1ce211$var$SlotClone.displayName = 'SlotClone';
33033
33062
  /* -------------------------------------------------------------------------------------------------
33034
33063
  * Slottable
33035
33064
  * -----------------------------------------------------------------------------------------------*/ const $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children: children })=>{
33036
- return /*#__PURE__*/ React$a.createElement(React$a.Fragment, null, children);
33065
+ return /*#__PURE__*/ React$b.createElement(React$b.Fragment, null, children);
33037
33066
  };
33038
33067
  /* ---------------------------------------------------------------------------------------------- */ function $5e63c961fc1ce211$var$isSlottable(child) {
33039
- return /*#__PURE__*/ React$a.isValidElement(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
33068
+ return /*#__PURE__*/ React$b.isValidElement(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
33040
33069
  }
33041
33070
  function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
33042
33071
  // all child props should override
@@ -33156,9 +33185,9 @@ function $e02a7d9cb1dc128c$export$c74125a8e3af6bb2(name) {
33156
33185
  ];
33157
33186
  }
33158
33187
 
33159
- const $f631663db3294ace$var$DirectionContext = /*#__PURE__*/ React$a.createContext(undefined);
33188
+ const $f631663db3294ace$var$DirectionContext = /*#__PURE__*/ React$b.createContext(undefined);
33160
33189
  /* -----------------------------------------------------------------------------------------------*/ function $f631663db3294ace$export$b39126d51d94e6f3(localDir) {
33161
- const globalDir = React$a.useContext($f631663db3294ace$var$DirectionContext);
33190
+ const globalDir = React$b.useContext($f631663db3294ace$var$DirectionContext);
33162
33191
  return localDir || globalDir || 'ltr';
33163
33192
  }
33164
33193
 
@@ -33183,13 +33212,13 @@ const $8927f6f2acc4f386$var$NODES = [
33183
33212
  /* -------------------------------------------------------------------------------------------------
33184
33213
  * Primitive
33185
33214
  * -----------------------------------------------------------------------------------------------*/ const $8927f6f2acc4f386$export$250ffa63cdc0d034 = $8927f6f2acc4f386$var$NODES.reduce((primitive, node)=>{
33186
- const Node = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
33215
+ const Node = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
33187
33216
  const { asChild: asChild , ...primitiveProps } = props;
33188
33217
  const Comp = asChild ? $5e63c961fc1ce211$export$8c6ed5c666ac1360 : node;
33189
- React$a.useEffect(()=>{
33218
+ React$b.useEffect(()=>{
33190
33219
  window[Symbol.for('radix-ui')] = true;
33191
33220
  }, []);
33192
- return /*#__PURE__*/ React$a.createElement(Comp, _extends({}, primitiveProps, {
33221
+ return /*#__PURE__*/ React$b.createElement(Comp, _extends({}, primitiveProps, {
33193
33222
  ref: forwardedRef
33194
33223
  }));
33195
33224
  });
@@ -33245,11 +33274,11 @@ const $8927f6f2acc4f386$var$NODES = [
33245
33274
  * A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a
33246
33275
  * prop or avoid re-executing effects when passed as a dependency
33247
33276
  */ function $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(callback) {
33248
- const callbackRef = React$a.useRef(callback);
33249
- React$a.useEffect(()=>{
33277
+ const callbackRef = React$b.useRef(callback);
33278
+ React$b.useEffect(()=>{
33250
33279
  callbackRef.current = callback;
33251
33280
  }); // https://github.com/facebook/react/issues/19240
33252
- return React$a.useMemo(()=>(...args)=>{
33281
+ return React$b.useMemo(()=>(...args)=>{
33253
33282
  var _callbackRef$current;
33254
33283
  return (_callbackRef$current = callbackRef.current) === null || _callbackRef$current === void 0 ? void 0 : _callbackRef$current.call(callbackRef, ...args);
33255
33284
  }
@@ -33260,7 +33289,7 @@ const $8927f6f2acc4f386$var$NODES = [
33260
33289
  * Listens for when the escape key is down
33261
33290
  */ function $addc16e1bbe58fd0$export$3a72a57244d6e765(onEscapeKeyDownProp, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) {
33262
33291
  const onEscapeKeyDown = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onEscapeKeyDownProp);
33263
- React$a.useEffect(()=>{
33292
+ React$b.useEffect(()=>{
33264
33293
  const handleKeyDown = (event)=>{
33265
33294
  if (event.key === 'Escape') onEscapeKeyDown(event);
33266
33295
  };
@@ -33277,18 +33306,18 @@ const $5cb92bef7577960e$var$CONTEXT_UPDATE = 'dismissableLayer.update';
33277
33306
  const $5cb92bef7577960e$var$POINTER_DOWN_OUTSIDE = 'dismissableLayer.pointerDownOutside';
33278
33307
  const $5cb92bef7577960e$var$FOCUS_OUTSIDE = 'dismissableLayer.focusOutside';
33279
33308
  let $5cb92bef7577960e$var$originalBodyPointerEvents;
33280
- const $5cb92bef7577960e$var$DismissableLayerContext = /*#__PURE__*/ React$a.createContext({
33309
+ const $5cb92bef7577960e$var$DismissableLayerContext = /*#__PURE__*/ React$b.createContext({
33281
33310
  layers: new Set(),
33282
33311
  layersWithOutsidePointerEventsDisabled: new Set(),
33283
33312
  branches: new Set()
33284
33313
  });
33285
- const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
33314
+ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
33286
33315
  var _node$ownerDocument;
33287
33316
  const { disableOutsidePointerEvents: disableOutsidePointerEvents = false , onEscapeKeyDown: onEscapeKeyDown , onPointerDownOutside: onPointerDownOutside , onFocusOutside: onFocusOutside , onInteractOutside: onInteractOutside , onDismiss: onDismiss , ...layerProps } = props;
33288
- const context = React$a.useContext($5cb92bef7577960e$var$DismissableLayerContext);
33289
- const [node1, setNode] = React$a.useState(null);
33317
+ const context = React$b.useContext($5cb92bef7577960e$var$DismissableLayerContext);
33318
+ const [node1, setNode] = React$b.useState(null);
33290
33319
  const ownerDocument = (_node$ownerDocument = node1 === null || node1 === void 0 ? void 0 : node1.ownerDocument) !== null && _node$ownerDocument !== void 0 ? _node$ownerDocument : globalThis === null || globalThis === void 0 ? void 0 : globalThis.document;
33291
- const [, force] = React$a.useState({});
33320
+ const [, force] = React$b.useState({});
33292
33321
  const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, (node)=>setNode(node)
33293
33322
  );
33294
33323
  const layers = Array.from(context.layers);
@@ -33330,7 +33359,7 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /*#__PURE__*/ React$a.forwardR
33330
33359
  onDismiss();
33331
33360
  }
33332
33361
  }, ownerDocument);
33333
- React$a.useEffect(()=>{
33362
+ React$b.useEffect(()=>{
33334
33363
  if (!node1) return;
33335
33364
  if (disableOutsidePointerEvents) {
33336
33365
  if (context.layersWithOutsidePointerEventsDisabled.size === 0) {
@@ -33355,7 +33384,7 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /*#__PURE__*/ React$a.forwardR
33355
33384
  * because a change to `disableOutsidePointerEvents` would remove this layer from the stack
33356
33385
  * and add it to the end again so the layering order wouldn't be _creation order_.
33357
33386
  * We only want them to be removed from context stacks when unmounted.
33358
- */ React$a.useEffect(()=>{
33387
+ */ React$b.useEffect(()=>{
33359
33388
  return ()=>{
33360
33389
  if (!node1) return;
33361
33390
  context.layers.delete(node1);
@@ -33366,14 +33395,14 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /*#__PURE__*/ React$a.forwardR
33366
33395
  node1,
33367
33396
  context
33368
33397
  ]);
33369
- React$a.useEffect(()=>{
33398
+ React$b.useEffect(()=>{
33370
33399
  const handleUpdate = ()=>force({})
33371
33400
  ;
33372
33401
  document.addEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate);
33373
33402
  return ()=>document.removeEventListener($5cb92bef7577960e$var$CONTEXT_UPDATE, handleUpdate)
33374
33403
  ;
33375
33404
  }, []);
33376
- return /*#__PURE__*/ React$a.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, layerProps, {
33405
+ return /*#__PURE__*/ React$b.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, layerProps, {
33377
33406
  ref: composedRefs,
33378
33407
  style: {
33379
33408
  pointerEvents: isBodyPointerEventsDisabled ? isPointerEventsEnabled ? 'auto' : 'none' : undefined,
@@ -33390,9 +33419,9 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /*#__PURE__*/ React$a.forwardR
33390
33419
  * Returns props to pass to the node we want to check for outside events.
33391
33420
  */ function $5cb92bef7577960e$var$usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) {
33392
33421
  const handlePointerDownOutside = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onPointerDownOutside);
33393
- const isPointerInsideReactTreeRef = React$a.useRef(false);
33394
- const handleClickRef = React$a.useRef(()=>{});
33395
- React$a.useEffect(()=>{
33422
+ const isPointerInsideReactTreeRef = React$b.useRef(false);
33423
+ const handleClickRef = React$b.useRef(()=>{});
33424
+ React$b.useEffect(()=>{
33396
33425
  const handlePointerDown = (event)=>{
33397
33426
  if (event.target && !isPointerInsideReactTreeRef.current) {
33398
33427
  const eventDetail = {
@@ -33458,8 +33487,8 @@ const $5cb92bef7577960e$export$177fb62ff3ec1f22 = /*#__PURE__*/ React$a.forwardR
33458
33487
  * Returns props to pass to the root (node) of the subtree we want to check.
33459
33488
  */ function $5cb92bef7577960e$var$useFocusOutside(onFocusOutside, ownerDocument = globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) {
33460
33489
  const handleFocusOutside = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onFocusOutside);
33461
- const isFocusInsideReactTreeRef = React$a.useRef(false);
33462
- React$a.useEffect(()=>{
33490
+ const isFocusInsideReactTreeRef = React$b.useRef(false);
33491
+ React$b.useEffect(()=>{
33463
33492
  const handleFocus = (event)=>{
33464
33493
  if (event.target && !isFocusInsideReactTreeRef.current) {
33465
33494
  const eventDetail = {
@@ -33506,7 +33535,7 @@ function $5cb92bef7577960e$var$handleAndDispatchCustomEvent(name, handler, detai
33506
33535
  * Injects a pair of focus guards at the edges of the whole DOM tree
33507
33536
  * to ensure `focusin` & `focusout` events can be caught consistently.
33508
33537
  */ function $3db38b7d1fb3fe6a$export$b7ece24a22aeda8c() {
33509
- React$a.useEffect(()=>{
33538
+ React$b.useEffect(()=>{
33510
33539
  var _edgeGuards$, _edgeGuards$2;
33511
33540
  const edgeGuards = document.querySelectorAll('[data-radix-focus-guard]');
33512
33541
  document.body.insertAdjacentElement('afterbegin', (_edgeGuards$ = edgeGuards[0]) !== null && _edgeGuards$ !== void 0 ? _edgeGuards$ : $3db38b7d1fb3fe6a$var$createFocusGuard());
@@ -33533,15 +33562,15 @@ const $d3863c46a17e8a28$var$EVENT_OPTIONS = {
33533
33562
  bubbles: false,
33534
33563
  cancelable: true
33535
33564
  };
33536
- const $d3863c46a17e8a28$export$20e40289641fbbb6 = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
33565
+ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
33537
33566
  const { loop: loop = false , trapped: trapped = false , onMountAutoFocus: onMountAutoFocusProp , onUnmountAutoFocus: onUnmountAutoFocusProp , ...scopeProps } = props;
33538
- const [container1, setContainer] = React$a.useState(null);
33567
+ const [container1, setContainer] = React$b.useState(null);
33539
33568
  const onMountAutoFocus = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onMountAutoFocusProp);
33540
33569
  const onUnmountAutoFocus = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onUnmountAutoFocusProp);
33541
- const lastFocusedElementRef = React$a.useRef(null);
33570
+ const lastFocusedElementRef = React$b.useRef(null);
33542
33571
  const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, (node)=>setContainer(node)
33543
33572
  );
33544
- const focusScope = React$a.useRef({
33573
+ const focusScope = React$b.useRef({
33545
33574
  paused: false,
33546
33575
  pause () {
33547
33576
  this.paused = true;
@@ -33550,7 +33579,7 @@ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /*#__PURE__*/ React$a.forwardR
33550
33579
  this.paused = false;
33551
33580
  }
33552
33581
  }).current; // Takes care of trapping focus if focus is moved outside programmatically for example
33553
- React$a.useEffect(()=>{
33582
+ React$b.useEffect(()=>{
33554
33583
  if (trapped) {
33555
33584
  function handleFocusIn(event) {
33556
33585
  if (focusScope.paused || !container1) return;
@@ -33578,7 +33607,7 @@ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /*#__PURE__*/ React$a.forwardR
33578
33607
  container1,
33579
33608
  focusScope.paused
33580
33609
  ]);
33581
- React$a.useEffect(()=>{
33610
+ React$b.useEffect(()=>{
33582
33611
  if (container1) {
33583
33612
  $d3863c46a17e8a28$var$focusScopesStack.add(focusScope);
33584
33613
  const previouslyFocusedElement = document.activeElement;
@@ -33617,7 +33646,7 @@ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /*#__PURE__*/ React$a.forwardR
33617
33646
  onUnmountAutoFocus,
33618
33647
  focusScope
33619
33648
  ]); // Takes care of looping focus (when tabbing whilst at the edges)
33620
- const handleKeyDown = React$a.useCallback((event)=>{
33649
+ const handleKeyDown = React$b.useCallback((event)=>{
33621
33650
  if (!loop && !trapped) return;
33622
33651
  if (focusScope.paused) return;
33623
33652
  const isTabKey = event.key === 'Tab' && !event.altKey && !event.ctrlKey && !event.metaKey;
@@ -33647,7 +33676,7 @@ const $d3863c46a17e8a28$export$20e40289641fbbb6 = /*#__PURE__*/ React$a.forwardR
33647
33676
  trapped,
33648
33677
  focusScope.paused
33649
33678
  ]);
33650
- return /*#__PURE__*/ React$a.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
33679
+ return /*#__PURE__*/ React$b.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
33651
33680
  tabIndex: -1
33652
33681
  }, scopeProps, {
33653
33682
  ref: composedRefs,
@@ -33777,7 +33806,7 @@ function $d3863c46a17e8a28$var$removeLinks(items) {
33777
33806
  * We use this safe version which suppresses the warning by replacing it with a noop on the server.
33778
33807
  *
33779
33808
  * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
33780
- */ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? React$a.useLayoutEffect : ()=>{};
33809
+ */ const $9f79659886946c16$export$e5c5a5f917a5871c = Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.document) ? React$b.useLayoutEffect : ()=>{};
33781
33810
 
33782
33811
  const $1746a345f3d73bb7$var$useReactId = React__namespace['useId'.toString()] || (()=>undefined
33783
33812
  );
@@ -33793,10 +33822,10 @@ function $1746a345f3d73bb7$export$f680877a34711e37(deterministicId) {
33793
33822
  return deterministicId || (id ? `radix-${id}` : '');
33794
33823
  }
33795
33824
 
33796
- const $f1701beae083dbae$export$602eac185826482c = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
33825
+ const $f1701beae083dbae$export$602eac185826482c = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
33797
33826
  var _globalThis$document;
33798
33827
  const { container: container = globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : _globalThis$document.body , ...portalProps } = props;
33799
- return container ? /*#__PURE__*/ $7SXl2$reactdom.createPortal(/*#__PURE__*/ React$a.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, portalProps, {
33828
+ return container ? /*#__PURE__*/ $7SXl2$reactdom.createPortal(/*#__PURE__*/ React$b.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({}, portalProps, {
33800
33829
  ref: forwardedRef
33801
33830
  })), container) : null;
33802
33831
  });
@@ -33809,7 +33838,7 @@ function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop: prop , defaultProp: de
33809
33838
  const isControlled = prop !== undefined;
33810
33839
  const value1 = isControlled ? prop : uncontrolledProp;
33811
33840
  const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
33812
- const setValue = React$a.useCallback((nextValue)=>{
33841
+ const setValue = React$b.useCallback((nextValue)=>{
33813
33842
  if (isControlled) {
33814
33843
  const setter = nextValue;
33815
33844
  const value = typeof nextValue === 'function' ? setter(prop) : nextValue;
@@ -33827,11 +33856,11 @@ function $71cd76cc60e0454e$export$6f32135080cb4c3({ prop: prop , defaultProp: de
33827
33856
  ];
33828
33857
  }
33829
33858
  function $71cd76cc60e0454e$var$useUncontrolledState({ defaultProp: defaultProp , onChange: onChange }) {
33830
- const uncontrolledState = React$a.useState(defaultProp);
33859
+ const uncontrolledState = React$b.useState(defaultProp);
33831
33860
  const [value] = uncontrolledState;
33832
- const prevValueRef = React$a.useRef(value);
33861
+ const prevValueRef = React$b.useRef(value);
33833
33862
  const handleChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onChange);
33834
- React$a.useEffect(()=>{
33863
+ React$b.useEffect(()=>{
33835
33864
  if (prevValueRef.current !== value) {
33836
33865
  handleChange(value);
33837
33866
  prevValueRef.current = value;
@@ -33845,13 +33874,13 @@ function $71cd76cc60e0454e$var$useUncontrolledState({ defaultProp: defaultProp ,
33845
33874
  }
33846
33875
 
33847
33876
  function $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {
33848
- const ref = React$a.useRef({
33877
+ const ref = React$b.useRef({
33849
33878
  value: value,
33850
33879
  previous: value
33851
33880
  }); // We compare values before making an update to ensure that
33852
33881
  // a change has been made. This ensures the previous value is
33853
33882
  // persisted correctly between renders.
33854
- return React$a.useMemo(()=>{
33883
+ return React$b.useMemo(()=>{
33855
33884
  if (ref.current.value !== value) {
33856
33885
  ref.current.previous = ref.current.value;
33857
33886
  ref.current.value = value;
@@ -33862,8 +33891,8 @@ function $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {
33862
33891
  ]);
33863
33892
  }
33864
33893
 
33865
- const $ea1ef594cf570d83$export$439d29a4e110a164 = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
33866
- return /*#__PURE__*/ React$a.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({}, props, {
33894
+ const $ea1ef594cf570d83$export$439d29a4e110a164 = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
33895
+ return /*#__PURE__*/ React$b.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({}, props, {
33867
33896
  ref: forwardedRef,
33868
33897
  style: {
33869
33898
  // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
@@ -34105,7 +34134,7 @@ function assignRef(ref, value) {
34105
34134
  * @returns {MutableRefObject}
34106
34135
  */
34107
34136
  function useCallbackRef(initialValue, callback) {
34108
- var ref = React$a.useState(function () { return ({
34137
+ var ref = React$b.useState(function () { return ({
34109
34138
  // value
34110
34139
  value: initialValue,
34111
34140
  // last callback
@@ -34746,9 +34775,9 @@ const [$cc7e05a45900e73f$var$SelectProvider, $cc7e05a45900e73f$var$useSelectCont
34746
34775
  const [$cc7e05a45900e73f$var$SelectNativeOptionsProvider, $cc7e05a45900e73f$var$useSelectNativeOptionsContext] = $cc7e05a45900e73f$var$createSelectContext($cc7e05a45900e73f$var$SELECT_NAME);
34747
34776
  const $cc7e05a45900e73f$export$ef9b1a59e592288f = (props)=>{
34748
34777
  const { __scopeSelect: __scopeSelect , children: children , open: openProp , defaultOpen: defaultOpen , onOpenChange: onOpenChange , value: valueProp , defaultValue: defaultValue , onValueChange: onValueChange , dir: dir , name: name , autoComplete: autoComplete , disabled: disabled , required: required } = props;
34749
- const [trigger, setTrigger] = React$a.useState(null);
34750
- const [valueNode, setValueNode] = React$a.useState(null);
34751
- const [valueNodeHasChildren, setValueNodeHasChildren] = React$a.useState(false);
34778
+ const [trigger, setTrigger] = React$b.useState(null);
34779
+ const [valueNode, setValueNode] = React$b.useState(null);
34780
+ const [valueNodeHasChildren, setValueNodeHasChildren] = React$b.useState(false);
34752
34781
  const direction = $f631663db3294ace$export$b39126d51d94e6f3(dir);
34753
34782
  const [open = false, setOpen] = $71cd76cc60e0454e$export$6f32135080cb4c3({
34754
34783
  prop: openProp,
@@ -34760,16 +34789,16 @@ const $cc7e05a45900e73f$export$ef9b1a59e592288f = (props)=>{
34760
34789
  defaultProp: defaultValue,
34761
34790
  onChange: onValueChange
34762
34791
  });
34763
- const triggerPointerDownPosRef = React$a.useRef(null); // We set this to true by default so that events bubble to forms without JS (SSR)
34792
+ const triggerPointerDownPosRef = React$b.useRef(null); // We set this to true by default so that events bubble to forms without JS (SSR)
34764
34793
  const isFormControl = trigger ? Boolean(trigger.closest('form')) : true;
34765
- const [nativeOptionsSet, setNativeOptionsSet] = React$a.useState(new Set()); // The native `select` only associates the correct default value if the corresponding
34794
+ const [nativeOptionsSet, setNativeOptionsSet] = React$b.useState(new Set()); // The native `select` only associates the correct default value if the corresponding
34766
34795
  // `option` is rendered as a child **at the same time** as itself.
34767
34796
  // Because it might take a few renders for our items to gather the information to build
34768
34797
  // the native `option`(s), we generate a key on the `select` to make sure React re-builds it
34769
34798
  // each time the options change.
34770
34799
  const nativeSelectKey = Array.from(nativeOptionsSet).map((option)=>option.props.value
34771
34800
  ).join(';');
34772
- return /*#__PURE__*/ React$a.createElement($cc7e05a45900e73f$var$SelectProvider, {
34801
+ return /*#__PURE__*/ React$b.createElement($cc7e05a45900e73f$var$SelectProvider, {
34773
34802
  required: required,
34774
34803
  scope: __scopeSelect,
34775
34804
  trigger: trigger,
@@ -34786,22 +34815,22 @@ const $cc7e05a45900e73f$export$ef9b1a59e592288f = (props)=>{
34786
34815
  dir: direction,
34787
34816
  triggerPointerDownPosRef: triggerPointerDownPosRef,
34788
34817
  disabled: disabled
34789
- }, /*#__PURE__*/ React$a.createElement($cc7e05a45900e73f$var$Collection.Provider, {
34818
+ }, /*#__PURE__*/ React$b.createElement($cc7e05a45900e73f$var$Collection.Provider, {
34790
34819
  scope: __scopeSelect
34791
- }, /*#__PURE__*/ React$a.createElement($cc7e05a45900e73f$var$SelectNativeOptionsProvider, {
34820
+ }, /*#__PURE__*/ React$b.createElement($cc7e05a45900e73f$var$SelectNativeOptionsProvider, {
34792
34821
  scope: props.__scopeSelect,
34793
- onNativeOptionAdd: React$a.useCallback((option)=>{
34822
+ onNativeOptionAdd: React$b.useCallback((option)=>{
34794
34823
  setNativeOptionsSet((prev)=>new Set(prev).add(option)
34795
34824
  );
34796
34825
  }, []),
34797
- onNativeOptionRemove: React$a.useCallback((option)=>{
34826
+ onNativeOptionRemove: React$b.useCallback((option)=>{
34798
34827
  setNativeOptionsSet((prev)=>{
34799
34828
  const optionsSet = new Set(prev);
34800
34829
  optionsSet.delete(option);
34801
34830
  return optionsSet;
34802
34831
  });
34803
34832
  }, [])
34804
- }, children)), isFormControl ? /*#__PURE__*/ React$a.createElement($cc7e05a45900e73f$var$BubbleSelect, {
34833
+ }, children)), isFormControl ? /*#__PURE__*/ React$b.createElement($cc7e05a45900e73f$var$BubbleSelect, {
34805
34834
  key: nativeSelectKey,
34806
34835
  "aria-hidden": true,
34807
34836
  required: required,
@@ -34813,14 +34842,14 @@ const $cc7e05a45900e73f$export$ef9b1a59e592288f = (props)=>{
34813
34842
  onChange: (event)=>setValue(event.target.value)
34814
34843
  ,
34815
34844
  disabled: disabled
34816
- }, value === undefined ? /*#__PURE__*/ React$a.createElement("option", {
34845
+ }, value === undefined ? /*#__PURE__*/ React$b.createElement("option", {
34817
34846
  value: ""
34818
34847
  }) : null, Array.from(nativeOptionsSet)) : null);
34819
34848
  };
34820
34849
  /* -------------------------------------------------------------------------------------------------
34821
34850
  * SelectTrigger
34822
34851
  * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$TRIGGER_NAME = 'SelectTrigger';
34823
- const $cc7e05a45900e73f$export$3ac1e88a1c0b9f1 = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
34852
+ const $cc7e05a45900e73f$export$3ac1e88a1c0b9f1 = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
34824
34853
  const { __scopeSelect: __scopeSelect , disabled: disabled = false , ...triggerProps } = props;
34825
34854
  const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$TRIGGER_NAME, __scopeSelect);
34826
34855
  const isDisabled = context.disabled || disabled;
@@ -34840,7 +34869,7 @@ const $cc7e05a45900e73f$export$3ac1e88a1c0b9f1 = /*#__PURE__*/ React$a.forwardRe
34840
34869
  resetTypeahead();
34841
34870
  }
34842
34871
  };
34843
- return /*#__PURE__*/ React$a.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
34872
+ return /*#__PURE__*/ React$b.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
34844
34873
  type: "button",
34845
34874
  role: "combobox",
34846
34875
  "aria-controls": context.contentId,
@@ -34894,7 +34923,7 @@ const $cc7e05a45900e73f$export$3ac1e88a1c0b9f1 = /*#__PURE__*/ React$a.forwardRe
34894
34923
  /* -------------------------------------------------------------------------------------------------
34895
34924
  * SelectValue
34896
34925
  * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$VALUE_NAME = 'SelectValue';
34897
- const $cc7e05a45900e73f$export$e288731fd71264f0 = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
34926
+ const $cc7e05a45900e73f$export$e288731fd71264f0 = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
34898
34927
  // We ignore `className` and `style` as this part shouldn't be styled.
34899
34928
  const { __scopeSelect: __scopeSelect , className: className , style: style , children: children , placeholder: placeholder , ...valueProps } = props;
34900
34929
  const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$VALUE_NAME, __scopeSelect);
@@ -34907,7 +34936,7 @@ const $cc7e05a45900e73f$export$e288731fd71264f0 = /*#__PURE__*/ React$a.forwardR
34907
34936
  onValueNodeHasChildrenChange,
34908
34937
  hasChildren
34909
34938
  ]);
34910
- return /*#__PURE__*/ React$a.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({}, valueProps, {
34939
+ return /*#__PURE__*/ React$b.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({}, valueProps, {
34911
34940
  ref: composedRefs // we don't want events from the portalled `SelectValue` children to bubble
34912
34941
  ,
34913
34942
  style: {
@@ -34915,67 +34944,67 @@ const $cc7e05a45900e73f$export$e288731fd71264f0 = /*#__PURE__*/ React$a.forwardR
34915
34944
  }
34916
34945
  }), context.value === undefined && placeholder !== undefined ? placeholder : children);
34917
34946
  });
34918
- const $cc7e05a45900e73f$export$99b400cabb58c515 = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
34947
+ const $cc7e05a45900e73f$export$99b400cabb58c515 = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
34919
34948
  const { __scopeSelect: __scopeSelect , children: children , ...iconProps } = props;
34920
- return /*#__PURE__*/ React$a.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
34949
+ return /*#__PURE__*/ React$b.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
34921
34950
  "aria-hidden": true
34922
34951
  }, iconProps, {
34923
34952
  ref: forwardedRef
34924
34953
  }), children || '▼');
34925
34954
  });
34926
34955
  const $cc7e05a45900e73f$export$b2af6c9944296213 = (props)=>{
34927
- return /*#__PURE__*/ React$a.createElement($f1701beae083dbae$export$602eac185826482c, _extends({
34956
+ return /*#__PURE__*/ React$b.createElement($f1701beae083dbae$export$602eac185826482c, _extends({
34928
34957
  asChild: true
34929
34958
  }, props));
34930
34959
  };
34931
34960
  /* -------------------------------------------------------------------------------------------------
34932
34961
  * SelectContent
34933
34962
  * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$CONTENT_NAME = 'SelectContent';
34934
- const $cc7e05a45900e73f$export$c973a4b3cb86a03d = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
34963
+ const $cc7e05a45900e73f$export$c973a4b3cb86a03d = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
34935
34964
  const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$CONTENT_NAME, props.__scopeSelect);
34936
- const [fragment, setFragment] = React$a.useState(); // setting the fragment in `useLayoutEffect` as `DocumentFragment` doesn't exist on the server
34965
+ const [fragment, setFragment] = React$b.useState(); // setting the fragment in `useLayoutEffect` as `DocumentFragment` doesn't exist on the server
34937
34966
  $9f79659886946c16$export$e5c5a5f917a5871c(()=>{
34938
34967
  setFragment(new DocumentFragment());
34939
34968
  }, []);
34940
- return /*#__PURE__*/ React$a.createElement(React$a.Fragment, null, context.open ? /*#__PURE__*/ React$a.createElement($cc7e05a45900e73f$var$SelectContentImpl, _extends({}, props, {
34969
+ return /*#__PURE__*/ React$b.createElement(React$b.Fragment, null, context.open ? /*#__PURE__*/ React$b.createElement($cc7e05a45900e73f$var$SelectContentImpl, _extends({}, props, {
34941
34970
  ref: forwardedRef
34942
- })) : fragment ? /*#__PURE__*/ reactDom.exports.createPortal(/*#__PURE__*/ React$a.createElement($cc7e05a45900e73f$var$SelectContentProvider, {
34971
+ })) : fragment ? /*#__PURE__*/ reactDom.exports.createPortal(/*#__PURE__*/ React$b.createElement($cc7e05a45900e73f$var$SelectContentProvider, {
34943
34972
  scope: props.__scopeSelect
34944
- }, /*#__PURE__*/ React$a.createElement($cc7e05a45900e73f$var$Collection.Slot, {
34973
+ }, /*#__PURE__*/ React$b.createElement($cc7e05a45900e73f$var$Collection.Slot, {
34945
34974
  scope: props.__scopeSelect
34946
- }, /*#__PURE__*/ React$a.createElement("div", null, props.children))), fragment) : null);
34975
+ }, /*#__PURE__*/ React$b.createElement("div", null, props.children))), fragment) : null);
34947
34976
  });
34948
34977
  const $cc7e05a45900e73f$var$CONTENT_MARGIN = 10;
34949
34978
  const [$cc7e05a45900e73f$var$SelectContentProvider, $cc7e05a45900e73f$var$useSelectContentContext] = $cc7e05a45900e73f$var$createSelectContext($cc7e05a45900e73f$var$CONTENT_NAME);
34950
- const $cc7e05a45900e73f$var$SelectContentImpl = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
34979
+ const $cc7e05a45900e73f$var$SelectContentImpl = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
34951
34980
  const { __scopeSelect: __scopeSelect , onCloseAutoFocus: onCloseAutoFocus , ...contentProps } = props;
34952
34981
  const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$CONTENT_NAME, __scopeSelect);
34953
- const [contentWrapper, setContentWrapper] = React$a.useState(null);
34954
- const [content, setContent] = React$a.useState(null);
34955
- const [viewport, setViewport] = React$a.useState(null);
34982
+ const [contentWrapper, setContentWrapper] = React$b.useState(null);
34983
+ const [content, setContent] = React$b.useState(null);
34984
+ const [viewport, setViewport] = React$b.useState(null);
34956
34985
  const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, (node)=>setContent(node)
34957
34986
  );
34958
- const [selectedItem, setSelectedItem] = React$a.useState(null);
34959
- const [selectedItemText, setSelectedItemText] = React$a.useState(null);
34987
+ const [selectedItem, setSelectedItem] = React$b.useState(null);
34988
+ const [selectedItemText, setSelectedItemText] = React$b.useState(null);
34960
34989
  const getItems = $cc7e05a45900e73f$var$useCollection(__scopeSelect);
34961
- const [isPositioned, setIsPositioned] = React$a.useState(false);
34962
- const shouldRepositionRef = React$a.useRef(true);
34963
- const shouldExpandOnScrollRef = React$a.useRef(false);
34964
- const firstValidItemFoundRef = React$a.useRef(false); // aria-hide everything except the content (better supported equivalent to setting aria-modal)
34965
- React$a.useEffect(()=>{
34990
+ const [isPositioned, setIsPositioned] = React$b.useState(false);
34991
+ const shouldRepositionRef = React$b.useRef(true);
34992
+ const shouldExpandOnScrollRef = React$b.useRef(false);
34993
+ const firstValidItemFoundRef = React$b.useRef(false); // aria-hide everything except the content (better supported equivalent to setting aria-modal)
34994
+ React$b.useEffect(()=>{
34966
34995
  if (content) return hideOthers(content);
34967
34996
  }, [
34968
34997
  content
34969
34998
  ]); // Make sure the whole tree has focus guards as our `Select` may be
34970
34999
  // the last element in the DOM (because of the `Portal`)
34971
35000
  $3db38b7d1fb3fe6a$export$b7ece24a22aeda8c();
34972
- const [contentZIndex, setContentZIndex] = React$a.useState();
35001
+ const [contentZIndex, setContentZIndex] = React$b.useState();
34973
35002
  $9f79659886946c16$export$e5c5a5f917a5871c(()=>{
34974
35003
  if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
34975
35004
  }, [
34976
35005
  content
34977
35006
  ]);
34978
- const focusFirst = React$a.useCallback((candidates)=>{
35007
+ const focusFirst = React$b.useCallback((candidates)=>{
34979
35008
  const [firstItem, ...restItems] = getItems().map((item)=>item.ref.current
34980
35009
  );
34981
35010
  const [lastItem] = restItems.slice(-1);
@@ -34995,7 +35024,7 @@ const $cc7e05a45900e73f$var$SelectContentImpl = /*#__PURE__*/ React$a.forwardRef
34995
35024
  getItems,
34996
35025
  viewport
34997
35026
  ]);
34998
- const position = React$a.useCallback(()=>{
35027
+ const position = React$b.useCallback(()=>{
34999
35028
  if (context.trigger && context.valueNode && contentWrapper && content && viewport && selectedItem && selectedItemText) {
35000
35029
  const triggerRect = context.trigger.getBoundingClientRect(); // -----------------------------------------------------------------------------------------
35001
35030
  // Horizontal positioning
@@ -35090,7 +35119,7 @@ const $cc7e05a45900e73f$var$SelectContentImpl = /*#__PURE__*/ React$a.forwardRef
35090
35119
  , [
35091
35120
  position
35092
35121
  ]);
35093
- const focusSelectedItem = React$a.useCallback(()=>focusFirst([
35122
+ const focusSelectedItem = React$b.useCallback(()=>focusFirst([
35094
35123
  selectedItem,
35095
35124
  content
35096
35125
  ])
@@ -35100,7 +35129,7 @@ const $cc7e05a45900e73f$var$SelectContentImpl = /*#__PURE__*/ React$a.forwardRef
35100
35129
  content
35101
35130
  ]); // Since this is not dependent on layout, we want to ensure this runs at the same time as
35102
35131
  // other effects across components. Hence why we don't call `focusSelectedItem` inside `position`.
35103
- React$a.useEffect(()=>{
35132
+ React$b.useEffect(()=>{
35104
35133
  if (isPositioned) focusSelectedItem();
35105
35134
  }, [
35106
35135
  isPositioned,
@@ -35109,7 +35138,7 @@ const $cc7e05a45900e73f$var$SelectContentImpl = /*#__PURE__*/ React$a.forwardRef
35109
35138
  // Because it is part of the normal flow, it will push down the viewport, thus throwing our
35110
35139
  // trigger => selectedItem alignment off by the amount the viewport was pushed down.
35111
35140
  // We wait for this to happen and then re-run the positining logic one more time to account for it.
35112
- const handleScrollButtonChange = React$a.useCallback((node)=>{
35141
+ const handleScrollButtonChange = React$b.useCallback((node)=>{
35113
35142
  if (node && shouldRepositionRef.current === true) {
35114
35143
  position();
35115
35144
  focusSelectedItem();
@@ -35121,7 +35150,7 @@ const $cc7e05a45900e73f$var$SelectContentImpl = /*#__PURE__*/ React$a.forwardRef
35121
35150
  ]); // prevent selecting items on `pointerup` in some cases after opening from `pointerdown`
35122
35151
  // and close on `pointerup` outside.
35123
35152
  const { onOpenChange: onOpenChange , triggerPointerDownPosRef: triggerPointerDownPosRef } = context;
35124
- React$a.useEffect(()=>{
35153
+ React$b.useEffect(()=>{
35125
35154
  if (content) {
35126
35155
  let pointerMoveDelta = {
35127
35156
  x: 0,
@@ -35161,7 +35190,7 @@ const $cc7e05a45900e73f$var$SelectContentImpl = /*#__PURE__*/ React$a.forwardRef
35161
35190
  onOpenChange,
35162
35191
  triggerPointerDownPosRef
35163
35192
  ]);
35164
- React$a.useEffect(()=>{
35193
+ React$b.useEffect(()=>{
35165
35194
  const close = ()=>onOpenChange(false)
35166
35195
  ;
35167
35196
  window.addEventListener('blur', close);
@@ -35185,7 +35214,7 @@ const $cc7e05a45900e73f$var$SelectContentImpl = /*#__PURE__*/ React$a.forwardRef
35185
35214
  */ setTimeout(()=>nextItem.ref.current.focus()
35186
35215
  );
35187
35216
  });
35188
- const itemRefCallback = React$a.useCallback((node, value, disabled)=>{
35217
+ const itemRefCallback = React$b.useCallback((node, value, disabled)=>{
35189
35218
  const isFirstValidItem = !firstValidItemFoundRef.current && !disabled;
35190
35219
  const isSelectedItem = context.value !== undefined && context.value === value;
35191
35220
  if (isSelectedItem || isFirstValidItem) {
@@ -35195,18 +35224,18 @@ const $cc7e05a45900e73f$var$SelectContentImpl = /*#__PURE__*/ React$a.forwardRef
35195
35224
  }, [
35196
35225
  context.value
35197
35226
  ]);
35198
- const handleItemLeave = React$a.useCallback(()=>content === null || content === void 0 ? void 0 : content.focus()
35227
+ const handleItemLeave = React$b.useCallback(()=>content === null || content === void 0 ? void 0 : content.focus()
35199
35228
  , [
35200
35229
  content
35201
35230
  ]);
35202
- const itemTextRefCallback = React$a.useCallback((node, value, disabled)=>{
35231
+ const itemTextRefCallback = React$b.useCallback((node, value, disabled)=>{
35203
35232
  const isFirstValidItem = !firstValidItemFoundRef.current && !disabled;
35204
35233
  const isSelectedItem = context.value !== undefined && context.value === value;
35205
35234
  if (isSelectedItem || isFirstValidItem) setSelectedItemText(node);
35206
35235
  }, [
35207
35236
  context.value
35208
35237
  ]);
35209
- return /*#__PURE__*/ React$a.createElement($cc7e05a45900e73f$var$SelectContentProvider, {
35238
+ return /*#__PURE__*/ React$b.createElement($cc7e05a45900e73f$var$SelectContentProvider, {
35210
35239
  scope: __scopeSelect,
35211
35240
  contentWrapper: contentWrapper,
35212
35241
  content: content,
@@ -35221,10 +35250,10 @@ const $cc7e05a45900e73f$var$SelectContentImpl = /*#__PURE__*/ React$a.forwardRef
35221
35250
  isPositioned: isPositioned,
35222
35251
  shouldExpandOnScrollRef: shouldExpandOnScrollRef,
35223
35252
  searchRef: searchRef
35224
- }, /*#__PURE__*/ React$a.createElement($01b9c$RemoveScroll, {
35253
+ }, /*#__PURE__*/ React$b.createElement($01b9c$RemoveScroll, {
35225
35254
  as: $5e63c961fc1ce211$export$8c6ed5c666ac1360,
35226
35255
  allowPinchZoom: true
35227
- }, /*#__PURE__*/ React$a.createElement("div", {
35256
+ }, /*#__PURE__*/ React$b.createElement("div", {
35228
35257
  ref: setContentWrapper,
35229
35258
  style: {
35230
35259
  display: 'flex',
@@ -35232,7 +35261,7 @@ const $cc7e05a45900e73f$var$SelectContentImpl = /*#__PURE__*/ React$a.forwardRef
35232
35261
  position: 'fixed',
35233
35262
  zIndex: contentZIndex
35234
35263
  }
35235
- }, /*#__PURE__*/ React$a.createElement($d3863c46a17e8a28$export$20e40289641fbbb6, {
35264
+ }, /*#__PURE__*/ React$b.createElement($d3863c46a17e8a28$export$20e40289641fbbb6, {
35236
35265
  asChild: true // we make sure we're not trapping once it's been closed
35237
35266
  ,
35238
35267
  trapped: context.open,
@@ -35247,7 +35276,7 @@ const $cc7e05a45900e73f$var$SelectContentImpl = /*#__PURE__*/ React$a.forwardRef
35247
35276
  });
35248
35277
  event.preventDefault();
35249
35278
  })
35250
- }, /*#__PURE__*/ React$a.createElement($5cb92bef7577960e$export$177fb62ff3ec1f22, _extends({
35279
+ }, /*#__PURE__*/ React$b.createElement($5cb92bef7577960e$export$177fb62ff3ec1f22, _extends({
35251
35280
  role: "listbox",
35252
35281
  id: context.contentId,
35253
35282
  "data-state": context.open ? 'open' : 'closed',
@@ -35310,18 +35339,18 @@ const $cc7e05a45900e73f$var$SelectContentImpl = /*#__PURE__*/ React$a.forwardRef
35310
35339
  /* -------------------------------------------------------------------------------------------------
35311
35340
  * SelectViewport
35312
35341
  * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$VIEWPORT_NAME = 'SelectViewport';
35313
- const $cc7e05a45900e73f$export$9ed6e7b40248d36d = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
35342
+ const $cc7e05a45900e73f$export$9ed6e7b40248d36d = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
35314
35343
  const { __scopeSelect: __scopeSelect , ...viewportProps } = props;
35315
35344
  const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$VIEWPORT_NAME, __scopeSelect);
35316
35345
  const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, contentContext.onViewportChange);
35317
- const prevScrollTopRef = React$a.useRef(0);
35318
- return /*#__PURE__*/ React$a.createElement(React$a.Fragment, null, /*#__PURE__*/ React$a.createElement("style", {
35346
+ const prevScrollTopRef = React$b.useRef(0);
35347
+ return /*#__PURE__*/ React$b.createElement(React$b.Fragment, null, /*#__PURE__*/ React$b.createElement("style", {
35319
35348
  dangerouslySetInnerHTML: {
35320
35349
  __html: `[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}`
35321
35350
  }
35322
- }), /*#__PURE__*/ React$a.createElement($cc7e05a45900e73f$var$Collection.Slot, {
35351
+ }), /*#__PURE__*/ React$b.createElement($cc7e05a45900e73f$var$Collection.Slot, {
35323
35352
  scope: __scopeSelect
35324
- }, /*#__PURE__*/ React$a.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
35353
+ }, /*#__PURE__*/ React$b.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
35325
35354
  "data-radix-select-viewport": "",
35326
35355
  role: "presentation"
35327
35356
  }, viewportProps, {
@@ -35369,13 +35398,13 @@ $cc7e05a45900e73f$var$createSelectContext($cc7e05a45900e73f$var$GROUP_NAME);
35369
35398
  * SelectItem
35370
35399
  * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$ITEM_NAME = 'SelectItem';
35371
35400
  const [$cc7e05a45900e73f$var$SelectItemContextProvider, $cc7e05a45900e73f$var$useSelectItemContext] = $cc7e05a45900e73f$var$createSelectContext($cc7e05a45900e73f$var$ITEM_NAME);
35372
- const $cc7e05a45900e73f$export$13ef48a934230896 = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
35401
+ const $cc7e05a45900e73f$export$13ef48a934230896 = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
35373
35402
  const { __scopeSelect: __scopeSelect , value: value , disabled: disabled = false , textValue: textValueProp , ...itemProps } = props;
35374
35403
  const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$ITEM_NAME, __scopeSelect);
35375
35404
  const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$ITEM_NAME, __scopeSelect);
35376
35405
  const isSelected = context.value === value;
35377
- const [textValue, setTextValue] = React$a.useState(textValueProp !== null && textValueProp !== void 0 ? textValueProp : '');
35378
- const [isFocused, setIsFocused] = React$a.useState(false);
35406
+ const [textValue, setTextValue] = React$b.useState(textValueProp !== null && textValueProp !== void 0 ? textValueProp : '');
35407
+ const [isFocused, setIsFocused] = React$b.useState(false);
35379
35408
  const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, (node)=>{
35380
35409
  var _contentContext$itemR;
35381
35410
  return (_contentContext$itemR = contentContext.itemRefCallback) === null || _contentContext$itemR === void 0 ? void 0 : _contentContext$itemR.call(contentContext, node, value, disabled);
@@ -35387,24 +35416,24 @@ const $cc7e05a45900e73f$export$13ef48a934230896 = /*#__PURE__*/ React$a.forwardR
35387
35416
  context.onOpenChange(false);
35388
35417
  }
35389
35418
  };
35390
- return /*#__PURE__*/ React$a.createElement($cc7e05a45900e73f$var$SelectItemContextProvider, {
35419
+ return /*#__PURE__*/ React$b.createElement($cc7e05a45900e73f$var$SelectItemContextProvider, {
35391
35420
  scope: __scopeSelect,
35392
35421
  value: value,
35393
35422
  disabled: disabled,
35394
35423
  textId: textId,
35395
35424
  isSelected: isSelected,
35396
- onItemTextChange: React$a.useCallback((node)=>{
35425
+ onItemTextChange: React$b.useCallback((node)=>{
35397
35426
  setTextValue((prevTextValue)=>{
35398
35427
  var _node$textContent;
35399
35428
  return prevTextValue || ((_node$textContent = node === null || node === void 0 ? void 0 : node.textContent) !== null && _node$textContent !== void 0 ? _node$textContent : '').trim();
35400
35429
  });
35401
35430
  }, [])
35402
- }, /*#__PURE__*/ React$a.createElement($cc7e05a45900e73f$var$Collection.ItemSlot, {
35431
+ }, /*#__PURE__*/ React$b.createElement($cc7e05a45900e73f$var$Collection.ItemSlot, {
35403
35432
  scope: __scopeSelect,
35404
35433
  value: value,
35405
35434
  disabled: disabled,
35406
35435
  textValue: textValue
35407
- }, /*#__PURE__*/ React$a.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
35436
+ }, /*#__PURE__*/ React$b.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
35408
35437
  role: "option",
35409
35438
  "aria-labelledby": textId,
35410
35439
  "data-highlighted": isFocused ? '' : undefined // `isFocused` caveat fixes stuttering in VoiceOver
@@ -35449,21 +35478,21 @@ const $cc7e05a45900e73f$export$13ef48a934230896 = /*#__PURE__*/ React$a.forwardR
35449
35478
  /* -------------------------------------------------------------------------------------------------
35450
35479
  * SelectItemText
35451
35480
  * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$ITEM_TEXT_NAME = 'SelectItemText';
35452
- const $cc7e05a45900e73f$export$3572fb0fb821ff49 = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
35481
+ const $cc7e05a45900e73f$export$3572fb0fb821ff49 = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
35453
35482
  // We ignore `className` and `style` as this part shouldn't be styled.
35454
35483
  const { __scopeSelect: __scopeSelect , className: className , style: style , ...itemTextProps } = props;
35455
35484
  const context = $cc7e05a45900e73f$var$useSelectContext($cc7e05a45900e73f$var$ITEM_TEXT_NAME, __scopeSelect);
35456
35485
  const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$ITEM_TEXT_NAME, __scopeSelect);
35457
35486
  const itemContext = $cc7e05a45900e73f$var$useSelectItemContext($cc7e05a45900e73f$var$ITEM_TEXT_NAME, __scopeSelect);
35458
35487
  const nativeOptionsContext = $cc7e05a45900e73f$var$useSelectNativeOptionsContext($cc7e05a45900e73f$var$ITEM_TEXT_NAME, __scopeSelect);
35459
- const [itemTextNode, setItemTextNode] = React$a.useState(null);
35488
+ const [itemTextNode, setItemTextNode] = React$b.useState(null);
35460
35489
  const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, (node)=>setItemTextNode(node)
35461
35490
  , itemContext.onItemTextChange, (node)=>{
35462
35491
  var _contentContext$itemT;
35463
35492
  return (_contentContext$itemT = contentContext.itemTextRefCallback) === null || _contentContext$itemT === void 0 ? void 0 : _contentContext$itemT.call(contentContext, node, itemContext.value, itemContext.disabled);
35464
35493
  });
35465
35494
  const textContent = itemTextNode === null || itemTextNode === void 0 ? void 0 : itemTextNode.textContent;
35466
- const nativeOption = React$a.useMemo(()=>/*#__PURE__*/ React$a.createElement("option", {
35495
+ const nativeOption = React$b.useMemo(()=>/*#__PURE__*/ React$b.createElement("option", {
35467
35496
  key: itemContext.value,
35468
35497
  value: itemContext.value,
35469
35498
  disabled: itemContext.disabled
@@ -35483,7 +35512,7 @@ const $cc7e05a45900e73f$export$3572fb0fb821ff49 = /*#__PURE__*/ React$a.forwardR
35483
35512
  onNativeOptionRemove,
35484
35513
  nativeOption
35485
35514
  ]);
35486
- return /*#__PURE__*/ React$a.createElement(React$a.Fragment, null, /*#__PURE__*/ React$a.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
35515
+ return /*#__PURE__*/ React$b.createElement(React$b.Fragment, null, /*#__PURE__*/ React$b.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
35487
35516
  id: itemContext.textId
35488
35517
  }, itemTextProps, {
35489
35518
  ref: composedRefs
@@ -35492,10 +35521,10 @@ const $cc7e05a45900e73f$export$3572fb0fb821ff49 = /*#__PURE__*/ React$a.forwardR
35492
35521
  /* -------------------------------------------------------------------------------------------------
35493
35522
  * SelectItemIndicator
35494
35523
  * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$ITEM_INDICATOR_NAME = 'SelectItemIndicator';
35495
- const $cc7e05a45900e73f$export$6b9198de19accfe6 = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
35524
+ const $cc7e05a45900e73f$export$6b9198de19accfe6 = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
35496
35525
  const { __scopeSelect: __scopeSelect , ...itemIndicatorProps } = props;
35497
35526
  const itemContext = $cc7e05a45900e73f$var$useSelectItemContext($cc7e05a45900e73f$var$ITEM_INDICATOR_NAME, __scopeSelect);
35498
- return itemContext.isSelected ? /*#__PURE__*/ React$a.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
35527
+ return itemContext.isSelected ? /*#__PURE__*/ React$b.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
35499
35528
  "aria-hidden": true
35500
35529
  }, itemIndicatorProps, {
35501
35530
  ref: forwardedRef
@@ -35504,9 +35533,9 @@ const $cc7e05a45900e73f$export$6b9198de19accfe6 = /*#__PURE__*/ React$a.forwardR
35504
35533
  /* -------------------------------------------------------------------------------------------------
35505
35534
  * SelectScrollUpButton
35506
35535
  * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$SCROLL_UP_BUTTON_NAME = 'SelectScrollUpButton';
35507
- const $cc7e05a45900e73f$export$d8117927658af6d7 = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
35536
+ const $cc7e05a45900e73f$export$d8117927658af6d7 = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
35508
35537
  const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$SCROLL_UP_BUTTON_NAME, props.__scopeSelect);
35509
- const [canScrollUp1, setCanScrollUp] = React$a.useState(false);
35538
+ const [canScrollUp1, setCanScrollUp] = React$b.useState(false);
35510
35539
  const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, contentContext.onScrollButtonChange);
35511
35540
  $9f79659886946c16$export$e5c5a5f917a5871c(()=>{
35512
35541
  if (contentContext.viewport && contentContext.isPositioned) {
@@ -35524,7 +35553,7 @@ const $cc7e05a45900e73f$export$d8117927658af6d7 = /*#__PURE__*/ React$a.forwardR
35524
35553
  contentContext.viewport,
35525
35554
  contentContext.isPositioned
35526
35555
  ]);
35527
- return canScrollUp1 ? /*#__PURE__*/ React$a.createElement($cc7e05a45900e73f$var$SelectScrollButtonImpl, _extends({}, props, {
35556
+ return canScrollUp1 ? /*#__PURE__*/ React$b.createElement($cc7e05a45900e73f$var$SelectScrollButtonImpl, _extends({}, props, {
35528
35557
  ref: composedRefs,
35529
35558
  onAutoScroll: ()=>{
35530
35559
  const { viewport: viewport , selectedItem: selectedItem } = contentContext;
@@ -35535,9 +35564,9 @@ const $cc7e05a45900e73f$export$d8117927658af6d7 = /*#__PURE__*/ React$a.forwardR
35535
35564
  /* -------------------------------------------------------------------------------------------------
35536
35565
  * SelectScrollDownButton
35537
35566
  * -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$SCROLL_DOWN_BUTTON_NAME = 'SelectScrollDownButton';
35538
- const $cc7e05a45900e73f$export$ff951e476c12189 = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
35567
+ const $cc7e05a45900e73f$export$ff951e476c12189 = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
35539
35568
  const contentContext = $cc7e05a45900e73f$var$useSelectContentContext($cc7e05a45900e73f$var$SCROLL_DOWN_BUTTON_NAME, props.__scopeSelect);
35540
- const [canScrollDown1, setCanScrollDown] = React$a.useState(false);
35569
+ const [canScrollDown1, setCanScrollDown] = React$b.useState(false);
35541
35570
  const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, contentContext.onScrollButtonChange);
35542
35571
  $9f79659886946c16$export$e5c5a5f917a5871c(()=>{
35543
35572
  if (contentContext.viewport && contentContext.isPositioned) {
@@ -35557,7 +35586,7 @@ const $cc7e05a45900e73f$export$ff951e476c12189 = /*#__PURE__*/ React$a.forwardRe
35557
35586
  contentContext.viewport,
35558
35587
  contentContext.isPositioned
35559
35588
  ]);
35560
- return canScrollDown1 ? /*#__PURE__*/ React$a.createElement($cc7e05a45900e73f$var$SelectScrollButtonImpl, _extends({}, props, {
35589
+ return canScrollDown1 ? /*#__PURE__*/ React$b.createElement($cc7e05a45900e73f$var$SelectScrollButtonImpl, _extends({}, props, {
35561
35590
  ref: composedRefs,
35562
35591
  onAutoScroll: ()=>{
35563
35592
  const { viewport: viewport , selectedItem: selectedItem } = contentContext;
@@ -35565,18 +35594,18 @@ const $cc7e05a45900e73f$export$ff951e476c12189 = /*#__PURE__*/ React$a.forwardRe
35565
35594
  }
35566
35595
  })) : null;
35567
35596
  });
35568
- const $cc7e05a45900e73f$var$SelectScrollButtonImpl = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
35597
+ const $cc7e05a45900e73f$var$SelectScrollButtonImpl = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
35569
35598
  const { __scopeSelect: __scopeSelect , onAutoScroll: onAutoScroll , ...scrollIndicatorProps } = props;
35570
35599
  const contentContext = $cc7e05a45900e73f$var$useSelectContentContext('SelectScrollButton', __scopeSelect);
35571
- const autoScrollTimerRef = React$a.useRef(null);
35600
+ const autoScrollTimerRef = React$b.useRef(null);
35572
35601
  const getItems = $cc7e05a45900e73f$var$useCollection(__scopeSelect);
35573
- const clearAutoScrollTimer = React$a.useCallback(()=>{
35602
+ const clearAutoScrollTimer = React$b.useCallback(()=>{
35574
35603
  if (autoScrollTimerRef.current !== null) {
35575
35604
  window.clearInterval(autoScrollTimerRef.current);
35576
35605
  autoScrollTimerRef.current = null;
35577
35606
  }
35578
35607
  }, []);
35579
- React$a.useEffect(()=>{
35608
+ React$b.useEffect(()=>{
35580
35609
  return ()=>clearAutoScrollTimer()
35581
35610
  ;
35582
35611
  }, [
@@ -35595,7 +35624,7 @@ const $cc7e05a45900e73f$var$SelectScrollButtonImpl = /*#__PURE__*/ React$a.forwa
35595
35624
  }, [
35596
35625
  getItems
35597
35626
  ]);
35598
- return /*#__PURE__*/ React$a.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
35627
+ return /*#__PURE__*/ React$b.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.div, _extends({
35599
35628
  "aria-hidden": true
35600
35629
  }, scrollIndicatorProps, {
35601
35630
  ref: forwardedRef,
@@ -35613,12 +35642,12 @@ const $cc7e05a45900e73f$var$SelectScrollButtonImpl = /*#__PURE__*/ React$a.forwa
35613
35642
  })
35614
35643
  }));
35615
35644
  });
35616
- /* -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$BubbleSelect = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
35645
+ /* -----------------------------------------------------------------------------------------------*/ const $cc7e05a45900e73f$var$BubbleSelect = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
35617
35646
  const { value: value , ...selectProps } = props;
35618
- const ref = React$a.useRef(null);
35647
+ const ref = React$b.useRef(null);
35619
35648
  const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, ref);
35620
35649
  const prevValue = $010c2913dbd2fe3d$export$5cae361ad82dce8b(value); // Bubble value change to parents (e.g form change event)
35621
- React$a.useEffect(()=>{
35650
+ React$b.useEffect(()=>{
35622
35651
  const select = ref.current;
35623
35652
  const selectProto = window.HTMLSelectElement.prototype;
35624
35653
  const descriptor = Object.getOwnPropertyDescriptor(selectProto, 'value');
@@ -35645,9 +35674,9 @@ const $cc7e05a45900e73f$var$SelectScrollButtonImpl = /*#__PURE__*/ React$a.forwa
35645
35674
  *
35646
35675
  * We use `VisuallyHidden` rather than `display: "none"` because Safari autofill
35647
35676
  * won't work otherwise.
35648
- */ return /*#__PURE__*/ React$a.createElement($ea1ef594cf570d83$export$439d29a4e110a164, {
35677
+ */ return /*#__PURE__*/ React$b.createElement($ea1ef594cf570d83$export$439d29a4e110a164, {
35649
35678
  asChild: true
35650
- }, /*#__PURE__*/ React$a.createElement("select", _extends({}, selectProps, {
35679
+ }, /*#__PURE__*/ React$b.createElement("select", _extends({}, selectProps, {
35651
35680
  ref: composedRefs,
35652
35681
  defaultValue: value
35653
35682
  })));
@@ -35655,9 +35684,9 @@ const $cc7e05a45900e73f$var$SelectScrollButtonImpl = /*#__PURE__*/ React$a.forwa
35655
35684
  $cc7e05a45900e73f$var$BubbleSelect.displayName = 'BubbleSelect';
35656
35685
  function $cc7e05a45900e73f$var$useTypeaheadSearch(onSearchChange) {
35657
35686
  const handleSearchChange = $b1b2314f5f9a1d84$export$25bec8c6f54ee79a(onSearchChange);
35658
- const searchRef = React$a.useRef('');
35659
- const timerRef = React$a.useRef(0);
35660
- const handleTypeaheadSearch = React$a.useCallback((key)=>{
35687
+ const searchRef = React$b.useRef('');
35688
+ const timerRef = React$b.useRef(0);
35689
+ const handleTypeaheadSearch = React$b.useCallback((key)=>{
35661
35690
  const search = searchRef.current + key;
35662
35691
  handleSearchChange(search);
35663
35692
  (function updateSearch(value) {
@@ -35669,11 +35698,11 @@ function $cc7e05a45900e73f$var$useTypeaheadSearch(onSearchChange) {
35669
35698
  }, [
35670
35699
  handleSearchChange
35671
35700
  ]);
35672
- const resetTypeahead = React$a.useCallback(()=>{
35701
+ const resetTypeahead = React$b.useCallback(()=>{
35673
35702
  searchRef.current = '';
35674
35703
  window.clearTimeout(timerRef.current);
35675
35704
  }, []);
35676
- React$a.useEffect(()=>{
35705
+ React$b.useEffect(()=>{
35677
35706
  return ()=>window.clearTimeout(timerRef.current)
35678
35707
  ;
35679
35708
  }, []);
@@ -35732,9 +35761,9 @@ const $cc7e05a45900e73f$export$c3468e2714d175fa = $cc7e05a45900e73f$export$6b919
35732
35761
  const $cc7e05a45900e73f$export$2f60d3ec9ad468f2 = $cc7e05a45900e73f$export$d8117927658af6d7;
35733
35762
  const $cc7e05a45900e73f$export$bf1aedc3039c8d63 = $cc7e05a45900e73f$export$ff951e476c12189;
35734
35763
 
35735
- const React$1 = React__default["default"];
35764
+ const React$2 = React__default["default"];
35736
35765
  const BtIconChevronUp2Px = props =>
35737
- /*#__PURE__*/ React$1.createElement(
35766
+ /*#__PURE__*/ React$2.createElement(
35738
35767
  "svg",
35739
35768
  Object.assign(
35740
35769
  {
@@ -35743,8 +35772,8 @@ const BtIconChevronUp2Px = props =>
35743
35772
  },
35744
35773
  props
35745
35774
  ),
35746
- /*#__PURE__*/ React$1.createElement("defs", null),
35747
- /*#__PURE__*/ React$1.createElement("path", {
35775
+ /*#__PURE__*/ React$2.createElement("defs", null),
35776
+ /*#__PURE__*/ React$2.createElement("path", {
35748
35777
  d:
35749
35778
  "M28.999,23.5a.99676.99676,0,0,1-.707-.293l-12.28515-12.293L3.708,23.207A.99989.99989,0,0,1,2.294,21.793l13.71289-13.707L29.70605,21.793a.99976.99976,0,0,1-.707,1.707Z",
35750
35779
  fill: "currentColor"
@@ -35755,10 +35784,10 @@ var BtIconChevronUp2Px_2 = BtIconChevronUp2Px;
35755
35784
  /** Use `Select` to choose from a dropdown list of options. */
35756
35785
  var Select = function (_a) {
35757
35786
  var isRequired = _a.isRequired, isDisabled = _a.isDisabled, placeholder = _a.placeholder, label = _a.label, options = _a.options, onOpenChange = _a.onOpenChange, isDefaultOpen = _a.isDefaultOpen, defaultValue = _a.defaultValue, errorMessage = _a.errorMessage, labelSize = _a.labelSize, helper = _a.helper, name = _a.name, isFluid = _a.isFluid, onBlur = _a.onBlur, onChange = _a.onChange, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, onClickDisclosure = _a.onClickDisclosure;
35758
- var id = React$a.useId();
35759
- var arcRootElement = React$a.useContext(ArcRootElementContext);
35760
- var surface = React$a.useContext(Context$3).surface;
35761
- var _b = React$a.useState(defaultValue), selectedValue = _b[0], setSelectedValue = _b[1];
35787
+ var id = React$b.useId();
35788
+ var arcRootElement = React$b.useContext(ArcRootElementContext);
35789
+ var surface = React$b.useContext(Context$3).surface;
35790
+ var _b = React$b.useState(defaultValue), selectedValue = _b[0], setSelectedValue = _b[1];
35762
35791
  var onValueChange = function (value) {
35763
35792
  onChange && onChange(value);
35764
35793
  setSelectedValue(value);
@@ -35808,7 +35837,7 @@ var ArcBreakpointL = 1024;
35808
35837
  */
35809
35838
  var SiteFooter = function (_a) {
35810
35839
  var children = _a.children, currentYear = _a.currentYear, _b = _a.curve, curve = _b === void 0 ? true : _b, logoLabel = _a.logoLabel, main = _a.main, siteName = _a.siteName, props = __rest$2(_a, ["children", "currentYear", "curve", "logoLabel", "main", "siteName"]);
35811
- React$a.useEffect(function () {
35840
+ React$b.useEffect(function () {
35812
35841
  React__default["default"].Children.map(children, function (item) {
35813
35842
  if (item && item.type !== SiteFooterItem) {
35814
35843
  throw new Error("Illegal child passed to <SiteFooter />. Ensure to only use <SiteFooter.Item />.");
@@ -35835,9 +35864,9 @@ var SiteFooter = function (_a) {
35835
35864
  var SiteFooterItemGroup = function (_a) {
35836
35865
  var children = _a.children, title = _a.title;
35837
35866
  var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcBreakpointM, "px)"));
35838
- React$a.useEffect(function () {
35867
+ React$b.useEffect(function () {
35839
35868
  React__default["default"].Children.map(children, function (item) {
35840
- if (item && item.type !== SiteFooterItem && item.type !== React$a.Fragment) {
35869
+ if (item && item.type !== SiteFooterItem && item.type !== React$b.Fragment) {
35841
35870
  throw new Error("Illegal child passed to <SiteFooterItemGroup />. Ensure to only use <SiteFooter.Item />.");
35842
35871
  }
35843
35872
  });
@@ -35895,16 +35924,16 @@ var Item = function (_a) {
35895
35924
 
35896
35925
  var ItemGroup = function (_a) {
35897
35926
  var children = _a.children, href = _a.href, title = _a.title, onClick = _a.onClick, viewAllTitle = _a.viewAllTitle, props = __rest$2(_a, ["children", "href", "title", "onClick", "viewAllTitle"]);
35898
- var _b = React$a.useState(false), hasClientSideJavaScript = _b[0], setHasClientSideJavaScript = _b[1];
35927
+ var _b = React$b.useState(false), hasClientSideJavaScript = _b[0], setHasClientSideJavaScript = _b[1];
35899
35928
  var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcBreakpointL, "px)"));
35900
- React$a.useEffect(function () {
35929
+ React$b.useEffect(function () {
35901
35930
  React__default["default"].Children.map(children, function (item) {
35902
- if (item && item.type !== Item && item.type !== React$a.Fragment) {
35931
+ if (item && item.type !== Item && item.type !== React$b.Fragment) {
35903
35932
  throw new Error("Illegal child passed to <SiteHeader.ItemGroup />. Ensure to only use <SiteHeader.Item />.");
35904
35933
  }
35905
35934
  });
35906
35935
  }, [children]);
35907
- React$a.useEffect(function () {
35936
+ React$b.useEffect(function () {
35908
35937
  // useEffect does not run in ReactDomServer renders
35909
35938
  setHasClientSideJavaScript(true);
35910
35939
  }, [setHasClientSideJavaScript]);
@@ -35960,7 +35989,7 @@ var ItemGroupRehydrator = (function (el, hydrate) { return __awaiter(void 0, voi
35960
35989
 
35961
35990
  var Column = function (_a) {
35962
35991
  var children = _a.children, props = __rest$2(_a, ["children"]);
35963
- React$a.useEffect(function () {
35992
+ React$b.useEffect(function () {
35964
35993
  React__default["default"].Children.map(children, function (item) {
35965
35994
  if (item && item.type !== ItemGroup) {
35966
35995
  throw new Error("Illegal child passed to <SiteHeader.Column />. Ensure to only use <SiteHeader.ItemGroup />.");
@@ -35984,8 +36013,8 @@ var BackButton = function (_a) {
35984
36013
  var Panel = function (_a) {
35985
36014
  var _b;
35986
36015
  var children = _a.children, navItemRef = _a.navItemRef, open = _a.open, promo = _a.promo, setOpen = _a.setOpen, subNavItemRef = _a.subNavItemRef, _c = _a.subNavLink, subNavLink = _c === void 0 ? "" : _c, title = _a.title, viewAll = _a.viewAll, withSubNav = _a.withSubNav, props = __rest$2(_a, ["children", "navItemRef", "open", "promo", "setOpen", "subNavItemRef", "subNavLink", "title", "viewAll", "withSubNav"]);
35987
- var transparent = React$a.useContext(Context).transparent;
35988
- React$a.useEffect(function () {
36016
+ var transparent = React$b.useContext(Context).transparent;
36017
+ React$b.useEffect(function () {
35989
36018
  // Where appropriate, close the Panel when clicking outside of it,
35990
36019
  // by listening to clicks on the entire document and acting accordingly.
35991
36020
  var handleClick = function (e) {
@@ -36021,7 +36050,7 @@ var Panel = function (_a) {
36021
36050
  document.removeEventListener("click", handleClick);
36022
36051
  };
36023
36052
  }, [navItemRef, setOpen, subNavItemRef, subNavLink]);
36024
- React$a.useEffect(function () {
36053
+ React$b.useEffect(function () {
36025
36054
  var handleKeydown = function (e) {
36026
36055
  // Check the viewport width at time of press
36027
36056
  var isMinWidthArcBreakpointL = window.matchMedia("(min-width: ".concat(ArcBreakpointL, "px)")).matches;
@@ -36069,15 +36098,15 @@ Panel.ViewAll = ViewAll;
36069
36098
  var NavItem = function (_a) {
36070
36099
  var _b, _c;
36071
36100
  var children = _a.children, href = _a.href, isCurrent = _a.isCurrent, onClick = _a.onClick, promo = _a.promo, title = _a.title, viewAllTitle = _a.viewAllTitle, props = __rest$2(_a, ["children", "href", "isCurrent", "onClick", "promo", "title", "viewAllTitle"]);
36072
- var navItem = React$a.useRef();
36073
- var _d = React$a.useState(false), panelOpen = _d[0], setPanelOpen = _d[1];
36101
+ var navItem = React$b.useRef();
36102
+ var _d = React$b.useState(false), panelOpen = _d[0], setPanelOpen = _d[1];
36074
36103
  var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcBreakpointL, "px)"));
36075
- React$a.useEffect(function () {
36104
+ React$b.useEffect(function () {
36076
36105
  React__default["default"].Children.map(children, function (item) {
36077
36106
  if (item &&
36078
36107
  item.type !== ItemGroup &&
36079
36108
  item.type !== Column &&
36080
- item.type !== React$a.Fragment) {
36109
+ item.type !== React$b.Fragment) {
36081
36110
  throw new Error("Illegal child passed to <SiteHeader.NavItem />. Ensure to only use <SiteHeader.ItemGroup /> or <SiteHeader.Column />.");
36082
36111
  }
36083
36112
  });
@@ -36145,21 +36174,21 @@ var NavItemRehydrator = (function (el, hydrate) { return __awaiter(void 0, void
36145
36174
  var SubNavItem = function (_a) {
36146
36175
  var _b, _c;
36147
36176
  var children = _a.children, _d = _a.isDefaultItem, isDefaultItem = _d === void 0 ? false : _d, href = _a.href, onClick = _a.onClick, offsetXL = _a.offsetXL, promo = _a.promo, subTitle = _a.subTitle, title = _a.title, viewAllTitle = _a.viewAllTitle, props = __rest$2(_a, ["children", "isDefaultItem", "href", "onClick", "offsetXL", "promo", "subTitle", "title", "viewAllTitle"]);
36148
- var navItem = React$a.useContext(Context$1).navItem;
36149
- var subNavItem = React$a.useRef();
36150
- var _e = React$a.useState(false), panelOpen = _e[0], setPanelOpen = _e[1];
36177
+ var navItem = React$b.useContext(Context$1).navItem;
36178
+ var subNavItem = React$b.useRef();
36179
+ var _e = React$b.useState(false), panelOpen = _e[0], setPanelOpen = _e[1];
36151
36180
  var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcBreakpointL, "px)"));
36152
- React$a.useEffect(function () {
36181
+ React$b.useEffect(function () {
36153
36182
  React__default["default"].Children.map(children, function (item) {
36154
36183
  if (item &&
36155
36184
  item.type !== ItemGroup &&
36156
36185
  item.type !== Column &&
36157
- item.type !== React$a.Fragment) {
36186
+ item.type !== React$b.Fragment) {
36158
36187
  throw new Error("Illegal child passed to <SiteHeader.SubNavItem />. Ensure to only use <SiteHeader.ItemGroup /> or <SiteHeader.Column />.");
36159
36188
  }
36160
36189
  });
36161
36190
  }, [children]);
36162
- React$a.useEffect(function () {
36191
+ React$b.useEffect(function () {
36163
36192
  if (isDefaultItem && isMinWidthArcBreakpointL) {
36164
36193
  setPanelOpen(true);
36165
36194
  }
@@ -36246,18 +36275,18 @@ var SubNavItemRehydrator = (function (el, hydrate) { return __awaiter(void 0, vo
36246
36275
  }); });
36247
36276
 
36248
36277
  var defaultContext$1 = { navItem: null, subTitle: null };
36249
- var Context$1 = React$a.createContext(defaultContext$1);
36278
+ var Context$1 = React$b.createContext(defaultContext$1);
36250
36279
  var Provider$1 = Context$1.Provider;
36251
36280
  var NavItemWithSubNav = function (_a) {
36252
36281
  var _b, _c;
36253
36282
  var href = _a.href, slot1 = _a.slot1, slot2 = _a.slot2, slot3 = _a.slot3, _d = _a.subTitle, subTitle = _d === void 0 ? null : _d, title = _a.title, onViewAllClick = _a.onViewAllClick, viewAllTitle = _a.viewAllTitle, props = __rest$2(_a, ["href", "slot1", "slot2", "slot3", "subTitle", "title", "onViewAllClick", "viewAllTitle"]);
36254
- var navItem = React$a.useRef();
36255
- var _e = React$a.useState(true), defaultItem = _e[0], setDefaultItem = _e[1];
36256
- var _f = React$a.useState(false), panelOpen = _f[0], setPanelOpen = _f[1];
36283
+ var navItem = React$b.useRef();
36284
+ var _e = React$b.useState(true), defaultItem = _e[0], setDefaultItem = _e[1];
36285
+ var _f = React$b.useState(false), panelOpen = _f[0], setPanelOpen = _f[1];
36257
36286
  var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcBreakpointL, "px)"));
36258
- React$a.useEffect(function () {
36287
+ React$b.useEffect(function () {
36259
36288
  React__default["default"].Children.map(slot1, function (item) {
36260
- if (item && item.type !== SubNavItem && item.type !== React$a.Fragment) {
36289
+ if (item && item.type !== SubNavItem && item.type !== React$b.Fragment) {
36261
36290
  throw new Error("Illegal child passed to <SiteHeader.NavItemWithSubNav /> `slot1` prop. Ensure to only use <SiteHeader.SubNavItem />.");
36262
36291
  }
36263
36292
  if (item.props.isDefaultItem) {
@@ -36265,7 +36294,7 @@ var NavItemWithSubNav = function (_a) {
36265
36294
  }
36266
36295
  });
36267
36296
  React__default["default"].Children.map(slot2, function (item) {
36268
- if (item && item.type !== SubNavItem && item.type !== React$a.Fragment) {
36297
+ if (item && item.type !== SubNavItem && item.type !== React$b.Fragment) {
36269
36298
  throw new Error("Illegal child passed to <SiteHeader.NavItemWithSubNav /> `slot2` prop. Ensure to only use <SiteHeader.SubNavItem />.");
36270
36299
  }
36271
36300
  if (item.props.isDefaultItem) {
@@ -36273,7 +36302,7 @@ var NavItemWithSubNav = function (_a) {
36273
36302
  }
36274
36303
  });
36275
36304
  React__default["default"].Children.map(slot3, function (item) {
36276
- if (item && item.type !== SubNavItem && item.type !== React$a.Fragment) {
36305
+ if (item && item.type !== SubNavItem && item.type !== React$b.Fragment) {
36277
36306
  throw new Error("Illegal child passed to <SiteHeader.NavItemWithSubNav /> `slot3` prop. Ensure to only use <SiteHeader.SubNavItem />.");
36278
36307
  }
36279
36308
  if (item.props.isDefaultItem) {
@@ -36358,6 +36387,11 @@ var NavItemWithSubNavRehydrator = (function (el, hydrate) { return __awaiter(voi
36358
36387
  });
36359
36388
  }); });
36360
36389
 
36390
+ var NodeItem = function (_a) {
36391
+ var children = _a.children, props = __rest$2(_a, ["children"]);
36392
+ return (React__default["default"].createElement(React__default["default"].Fragment, __assign$2({}, filterDataAttrs(props)), children));
36393
+ };
36394
+
36361
36395
  var MenuButton = function (_a) {
36362
36396
  var _b;
36363
36397
  var menuOpen = _a.menuOpen, setMenuOpen = _a.setMenuOpen;
@@ -36373,7 +36407,7 @@ var MenuButton = function (_a) {
36373
36407
  };
36374
36408
 
36375
36409
  var defaultContext = { transparent: false };
36376
- var Context = React$a.createContext(defaultContext);
36410
+ var Context = React$b.createContext(defaultContext);
36377
36411
  var Provider = Context.Provider;
36378
36412
  /**
36379
36413
  * Use `SiteHeader` to display brand logo and navigation at the top of a page.
@@ -36381,20 +36415,21 @@ var Provider = Context.Provider;
36381
36415
  var SiteHeader = function (_a) {
36382
36416
  var _b;
36383
36417
  var children = _a.children, basket = _a.basket, _c = _a.hasLogin, hasLogin = _c === void 0 ? true : _c, _d = _a.isTransparent, isTransparent = _d === void 0 ? false : _d, _e = _a.loginHref, loginHref = _e === void 0 ? "/login" : _e, logoOnClick = _a.logoOnClick, loginOnClick = _a.loginOnClick, _f = _a.loginTitle, loginTitle = _f === void 0 ? "Log in / Register" : _f, _g = _a.logoHref, logoHref = _g === void 0 ? "/" : _g, _h = _a.logoLabel, logoLabel = _h === void 0 ? "Home" : _h, search = _a.search, subBrand = _a.subBrand, props = __rest$2(_a, ["children", "basket", "hasLogin", "isTransparent", "loginHref", "logoOnClick", "loginOnClick", "loginTitle", "logoHref", "logoLabel", "search", "subBrand"]);
36384
- var _j = React$a.useState(false), hasClientSideJavaScript = _j[0], setHasClientSideJavaScript = _j[1];
36385
- var _k = React$a.useState(false), menuOpen = _k[0], setMenuOpen = _k[1];
36418
+ var _j = React$b.useState(false), hasClientSideJavaScript = _j[0], setHasClientSideJavaScript = _j[1];
36419
+ var _k = React$b.useState(false), menuOpen = _k[0], setMenuOpen = _k[1];
36386
36420
  var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcBreakpointL, "px)"));
36387
- React$a.useEffect(function () {
36421
+ React$b.useEffect(function () {
36388
36422
  React__default["default"].Children.map(children, function (item) {
36389
36423
  if (item &&
36424
+ item.type !== NodeItem &&
36390
36425
  item.type !== NavItem &&
36391
36426
  item.type !== NavItemWithSubNav &&
36392
- item.type !== React$a.Fragment) {
36427
+ item.type !== React$b.Fragment) {
36393
36428
  throw new Error("Illegal child passed to <SiteHeader />. Ensure to only use <SiteHeader.NavItem /> or <SiteHeader.NavItemWithSubNav />");
36394
36429
  }
36395
36430
  });
36396
36431
  }, [children]);
36397
- React$a.useEffect(function () {
36432
+ React$b.useEffect(function () {
36398
36433
  if (!isMinWidthArcBreakpointL && menuOpen) {
36399
36434
  document.body.classList.add("arc-body--overflowHidden");
36400
36435
  }
@@ -36405,7 +36440,7 @@ var SiteHeader = function (_a) {
36405
36440
  document.body.classList.remove("arc-body--overflowHidden");
36406
36441
  };
36407
36442
  }, [isMinWidthArcBreakpointL, menuOpen]);
36408
- React$a.useEffect(function () {
36443
+ React$b.useEffect(function () {
36409
36444
  var handleKeydown = function (e) {
36410
36445
  if (e.key === "Escape" || e.keyCode === 27) {
36411
36446
  setMenuOpen(false);
@@ -36416,7 +36451,7 @@ var SiteHeader = function (_a) {
36416
36451
  window.removeEventListener("keydown", handleKeydown);
36417
36452
  };
36418
36453
  }, [setMenuOpen]);
36419
- React$a.useEffect(function () {
36454
+ React$b.useEffect(function () {
36420
36455
  var handleClick = function (e) {
36421
36456
  if (e.target.getAttribute("href")) {
36422
36457
  setMenuOpen(false);
@@ -36427,7 +36462,7 @@ var SiteHeader = function (_a) {
36427
36462
  document.removeEventListener("click", handleClick);
36428
36463
  };
36429
36464
  }, [setMenuOpen]);
36430
- React$a.useEffect(function () {
36465
+ React$b.useEffect(function () {
36431
36466
  // useEffect does not run in ReactDomServer renders
36432
36467
  setHasClientSideJavaScript(true);
36433
36468
  }, [setHasClientSideJavaScript]);
@@ -36462,12 +36497,14 @@ Column.displayName = "SiteHeader.Column";
36462
36497
  Item.displayName = "SiteHeader.Item";
36463
36498
  ItemGroup.displayName = "SiteHeader.ItemGroup";
36464
36499
  NavItem.displayName = "SiteHeader.NavItem";
36500
+ NodeItem.displayName = "SiteHeader.NodeItem";
36465
36501
  NavItemWithSubNav.displayName = "SiteHeader.NavItemWithSubNav";
36466
36502
  SubNavItem.displayName = "SiteHeader.SubNavItem";
36467
36503
  SiteHeader.Column = Column;
36468
36504
  SiteHeader.Item = Item;
36469
36505
  SiteHeader.ItemGroup = ItemGroup;
36470
36506
  SiteHeader.NavItem = NavItem;
36507
+ SiteHeader.NodeItem = NodeItem;
36471
36508
  SiteHeader.NavItemWithSubNav = NavItemWithSubNav;
36472
36509
  SiteHeader.SubNavItem = SubNavItem;
36473
36510
 
@@ -36525,7 +36562,7 @@ SiteHeaderRehydrator.NavItemWithSubNavRehydrator = NavItemWithSubNavRehydrator;
36525
36562
  SiteHeaderRehydrator.SubNavItemRehydrator = SubNavItemRehydrator;
36526
36563
 
36527
36564
  function $db6c3485150b8e66$export$1ab7ae714698c4b8(element) {
36528
- const [size, setSize] = React$a.useState(undefined);
36565
+ const [size, setSize] = React$b.useState(undefined);
36529
36566
  $9f79659886946c16$export$e5c5a5f917a5871c(()=>{
36530
36567
  if (element) {
36531
36568
  // provide size as early as possible
@@ -36576,23 +36613,23 @@ function $db6c3485150b8e66$export$1ab7ae714698c4b8(element) {
36576
36613
  * -----------------------------------------------------------------------------------------------*/ const $6be4966fd9bbc698$var$SWITCH_NAME = 'Switch';
36577
36614
  const [$6be4966fd9bbc698$var$createSwitchContext, $6be4966fd9bbc698$export$cf7f5f17f69cbd43] = $c512c27ab02ef895$export$50c7b4e9d9f19c1($6be4966fd9bbc698$var$SWITCH_NAME);
36578
36615
  const [$6be4966fd9bbc698$var$SwitchProvider, $6be4966fd9bbc698$var$useSwitchContext] = $6be4966fd9bbc698$var$createSwitchContext($6be4966fd9bbc698$var$SWITCH_NAME);
36579
- const $6be4966fd9bbc698$export$b5d5cf8927ab7262 = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
36616
+ const $6be4966fd9bbc698$export$b5d5cf8927ab7262 = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
36580
36617
  const { __scopeSwitch: __scopeSwitch , name: name , checked: checkedProp , defaultChecked: defaultChecked , required: required , disabled: disabled , value: value = 'on' , onCheckedChange: onCheckedChange , ...switchProps } = props;
36581
- const [button, setButton] = React$a.useState(null);
36618
+ const [button, setButton] = React$b.useState(null);
36582
36619
  const composedRefs = $6ed0406888f73fc4$export$c7b2cbe3552a0d05(forwardedRef, (node)=>setButton(node)
36583
36620
  );
36584
- const hasConsumerStoppedPropagationRef = React$a.useRef(false); // We set this to true by default so that events bubble to forms without JS (SSR)
36621
+ const hasConsumerStoppedPropagationRef = React$b.useRef(false); // We set this to true by default so that events bubble to forms without JS (SSR)
36585
36622
  const isFormControl = button ? Boolean(button.closest('form')) : true;
36586
36623
  const [checked = false, setChecked] = $71cd76cc60e0454e$export$6f32135080cb4c3({
36587
36624
  prop: checkedProp,
36588
36625
  defaultProp: defaultChecked,
36589
36626
  onChange: onCheckedChange
36590
36627
  });
36591
- return /*#__PURE__*/ React$a.createElement($6be4966fd9bbc698$var$SwitchProvider, {
36628
+ return /*#__PURE__*/ React$b.createElement($6be4966fd9bbc698$var$SwitchProvider, {
36592
36629
  scope: __scopeSwitch,
36593
36630
  checked: checked,
36594
36631
  disabled: disabled
36595
- }, /*#__PURE__*/ React$a.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
36632
+ }, /*#__PURE__*/ React$b.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.button, _extends({
36596
36633
  type: "button",
36597
36634
  role: "switch",
36598
36635
  "aria-checked": checked,
@@ -36613,7 +36650,7 @@ const $6be4966fd9bbc698$export$b5d5cf8927ab7262 = /*#__PURE__*/ React$a.forwardR
36613
36650
  if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();
36614
36651
  }
36615
36652
  })
36616
- })), isFormControl && /*#__PURE__*/ React$a.createElement($6be4966fd9bbc698$var$BubbleInput, {
36653
+ })), isFormControl && /*#__PURE__*/ React$b.createElement($6be4966fd9bbc698$var$BubbleInput, {
36617
36654
  control: button,
36618
36655
  bubbles: !hasConsumerStoppedPropagationRef.current,
36619
36656
  name: name,
@@ -36630,10 +36667,10 @@ const $6be4966fd9bbc698$export$b5d5cf8927ab7262 = /*#__PURE__*/ React$a.forwardR
36630
36667
  /* -------------------------------------------------------------------------------------------------
36631
36668
  * SwitchThumb
36632
36669
  * -----------------------------------------------------------------------------------------------*/ const $6be4966fd9bbc698$var$THUMB_NAME = 'SwitchThumb';
36633
- const $6be4966fd9bbc698$export$4d07bf653ea69106 = /*#__PURE__*/ React$a.forwardRef((props, forwardedRef)=>{
36670
+ const $6be4966fd9bbc698$export$4d07bf653ea69106 = /*#__PURE__*/ React$b.forwardRef((props, forwardedRef)=>{
36634
36671
  const { __scopeSwitch: __scopeSwitch , ...thumbProps } = props;
36635
36672
  const context = $6be4966fd9bbc698$var$useSwitchContext($6be4966fd9bbc698$var$THUMB_NAME, __scopeSwitch);
36636
- return /*#__PURE__*/ React$a.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
36673
+ return /*#__PURE__*/ React$b.createElement($8927f6f2acc4f386$export$250ffa63cdc0d034.span, _extends({
36637
36674
  "data-state": $6be4966fd9bbc698$var$getState(context.checked),
36638
36675
  "data-disabled": context.disabled ? '' : undefined
36639
36676
  }, thumbProps, {
@@ -36642,10 +36679,10 @@ const $6be4966fd9bbc698$export$4d07bf653ea69106 = /*#__PURE__*/ React$a.forwardR
36642
36679
  });
36643
36680
  /* ---------------------------------------------------------------------------------------------- */ const $6be4966fd9bbc698$var$BubbleInput = (props)=>{
36644
36681
  const { control: control , checked: checked , bubbles: bubbles = true , ...inputProps } = props;
36645
- const ref = React$a.useRef(null);
36682
+ const ref = React$b.useRef(null);
36646
36683
  const prevChecked = $010c2913dbd2fe3d$export$5cae361ad82dce8b(checked);
36647
36684
  const controlSize = $db6c3485150b8e66$export$1ab7ae714698c4b8(control); // Bubble checked change to parents (e.g form change event)
36648
- React$a.useEffect(()=>{
36685
+ React$b.useEffect(()=>{
36649
36686
  const input = ref.current;
36650
36687
  const inputProto = window.HTMLInputElement.prototype;
36651
36688
  const descriptor = Object.getOwnPropertyDescriptor(inputProto, 'checked');
@@ -36662,7 +36699,7 @@ const $6be4966fd9bbc698$export$4d07bf653ea69106 = /*#__PURE__*/ React$a.forwardR
36662
36699
  checked,
36663
36700
  bubbles
36664
36701
  ]);
36665
- return /*#__PURE__*/ React$a.createElement("input", _extends({
36702
+ return /*#__PURE__*/ React$b.createElement("input", _extends({
36666
36703
  type: "checkbox",
36667
36704
  "aria-hidden": true,
36668
36705
  defaultChecked: checked
@@ -36685,28 +36722,10 @@ function $6be4966fd9bbc698$var$getState(checked) {
36685
36722
  const $6be4966fd9bbc698$export$be92b6f5f03c0fe9 = $6be4966fd9bbc698$export$b5d5cf8927ab7262;
36686
36723
  const $6be4966fd9bbc698$export$6521433ed15a34db = $6be4966fd9bbc698$export$4d07bf653ea69106;
36687
36724
 
36688
- /**
36689
- * Use `VerticalSpace` to create vertical space between components.
36690
- */
36691
- var VerticalSpace = function (_a) {
36692
- var _b;
36693
- var _c = _a.isDebugVisible, isDebugVisible = _c === void 0 ? false : _c, _d = _a.size, size = _d === void 0 ? "24" : _d, sizeS = _a.sizeS, sizeM = _a.sizeM, sizeL = _a.sizeL, sizeXL = _a.sizeXL, props = __rest$2(_a, ["isDebugVisible", "size", "sizeS", "sizeM", "sizeL", "sizeXL"]);
36694
- return (React__default["default"].createElement("div", __assign$2({ className: classNames((_b = {
36695
- "arc-VerticalSpace": true
36696
- },
36697
- _b["arc-VerticalSpace--size".concat(size)] = size,
36698
- _b["arc-VerticalSpace--sizeS".concat(sizeS)] = sizeS && sizeS,
36699
- _b["arc-VerticalSpace--sizeM".concat(sizeM)] = sizeM && sizeM,
36700
- _b["arc-VerticalSpace--sizeL".concat(sizeL)] = sizeL && sizeL,
36701
- _b["arc-VerticalSpace--sizeXL".concat(sizeXL)] = sizeXL && sizeXL,
36702
- _b["arc-VerticalSpace--debugVisible"] = isDebugVisible,
36703
- _b)) }, filterDataAttrs(props))));
36704
- };
36705
-
36706
36725
  /** Use `Switch` to toggle between checked and not checked. */
36707
36726
  var Switch = function (_a) {
36708
36727
  var defaultChecked = _a.defaultChecked, onCheckedChange = _a.onCheckedChange, label = _a.label, name = _a.name, onBlur = _a.onBlur, value = _a.value, _b = _a.isDisabled, isDisabled = _b === void 0 ? false : _b, errorMessage = _a.errorMessage, id = _a.id, _c = _a.labelSize, labelSize = _c === void 0 ? "s" : _c, statusText = _a.statusText, _d = _a.hideLabel, hideLabel = _d === void 0 ? false : _d;
36709
- var surface = React$a.useContext(Context$3).surface;
36728
+ var surface = React$b.useContext(Context$3).surface;
36710
36729
  return (React__default["default"].createElement(FormControl, { errorMessage: errorMessage, htmlFor: id, isDisabled: isDisabled, label: hideLabel ? "" : label, labelSize: labelSize, requirementStatus: "not-applicable" },
36711
36730
  !hideLabel && React__default["default"].createElement(VerticalSpace, { size: "8" }),
36712
36731
  React__default["default"].createElement("div", { className: "arc-Switch-container" },
@@ -36734,7 +36753,7 @@ var Switch = function (_a) {
36734
36753
  var Badge = function (_a) {
36735
36754
  var _b, _c;
36736
36755
  var children = _a.children, _d = _a.state, state = _d === void 0 ? "default" : _d, _e = _a.size, size = _e === void 0 ? "default" : _e, _f = _a.fill, fill = _f === void 0 ? "solid" : _f, ariaLabel = _a.ariaLabel;
36737
- var surface = React$a.useContext(Context$3).surface;
36756
+ var surface = React$b.useContext(Context$3).surface;
36738
36757
  return (React__default["default"].createElement("div", __assign$2({}, (ariaLabel && { "aria-label": ariaLabel }), { className: classNames((_b = {
36739
36758
  "arc-Badge": true,
36740
36759
  "arc-Badge--onDarkSurface": surface === "dark",
@@ -36751,9 +36770,9 @@ var Badge = function (_a) {
36751
36770
  React__default["default"].createElement(Text, { size: size === "default" ? "xs" : "m" }, children))));
36752
36771
  };
36753
36772
 
36754
- const React = React__default["default"];
36773
+ const React$1 = React__default["default"];
36755
36774
  const BtIconCross = props =>
36756
- /*#__PURE__*/ React.createElement(
36775
+ /*#__PURE__*/ React$1.createElement(
36757
36776
  "svg",
36758
36777
  Object.assign(
36759
36778
  {
@@ -36762,13 +36781,13 @@ const BtIconCross = props =>
36762
36781
  },
36763
36782
  props
36764
36783
  ),
36765
- /*#__PURE__*/ React.createElement("defs", null),
36766
- /*#__PURE__*/ React.createElement("path", {
36784
+ /*#__PURE__*/ React$1.createElement("defs", null),
36785
+ /*#__PURE__*/ React$1.createElement("path", {
36767
36786
  d:
36768
36787
  "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,27A13,13,0,1,1,29,16,13.01474,13.01474,0,0,1,16,29Z",
36769
36788
  fill: "currentColor"
36770
36789
  }),
36771
- /*#__PURE__*/ React.createElement("path", {
36790
+ /*#__PURE__*/ React$1.createElement("path", {
36772
36791
  d:
36773
36792
  "M20.85352,11.14648a.49983.49983,0,0,0-.707,0L16,15.293l-4.14648-4.14649a.5.5,0,0,0-.707.707L15.293,16l-4.14649,4.14648a.5.5,0,1,0,.707.707L16,16.707l4.14648,4.14649a.5.5,0,0,0,.707-.707L16.707,16l4.14649-4.14648A.49983.49983,0,0,0,20.85352,11.14648Z",
36774
36793
  fill: "currentColor"
@@ -36776,13 +36795,33 @@ const BtIconCross = props =>
36776
36795
  );
36777
36796
  var BtIconCross_2 = BtIconCross;
36778
36797
 
36798
+ const React = React__default["default"];
36799
+ const BtIconCrossFill = props =>
36800
+ /*#__PURE__*/ React.createElement(
36801
+ "svg",
36802
+ Object.assign(
36803
+ {
36804
+ xmlns: "http://www.w3.org/2000/svg",
36805
+ viewBox: "0 0 32 32"
36806
+ },
36807
+ props
36808
+ ),
36809
+ /*#__PURE__*/ React.createElement("defs", null),
36810
+ /*#__PURE__*/ React.createElement("path", {
36811
+ d:
36812
+ "M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm4.85352,18.14648a.5.5,0,1,1-.707.707L16,16.707l-4.14648,4.14649a.5.5,0,0,1-.707-.707L15.293,16l-4.14649-4.14648a.5.5,0,0,1,.707-.707L16,15.293l4.14648-4.14649a.5.5,0,0,1,.707.707L16.707,16Z",
36813
+ fill: "currentColor"
36814
+ })
36815
+ );
36816
+ var BtIconCrossFill_2 = BtIconCrossFill;
36817
+
36779
36818
  /**
36780
36819
  * use `Tag` to promote features and manage filtering.
36781
36820
  */
36782
36821
  var Tag = function (_a) {
36783
36822
  var children = _a.children, isRemovable = _a.isRemovable, link = _a.link, icon = _a.icon, onClick = _a.onClick, onRemove = _a.onRemove, props = __rest$2(_a, ["children", "isRemovable", "link", "icon", "onClick", "onRemove"]);
36784
- var surface = React$a.useContext(Context$3).surface;
36785
- var _b = React$a.useState(false), isRemoved = _b[0], setIsRemoved = _b[1];
36823
+ var surface = React$b.useContext(Context$3).surface;
36824
+ var _b = React$b.useState(false), isRemoved = _b[0], setIsRemoved = _b[1];
36786
36825
  var onRemoveHandler = function () {
36787
36826
  setIsRemoved(function (p) { return !p; });
36788
36827
  onRemove && onRemove();
@@ -36805,7 +36844,8 @@ var Tag = function (_a) {
36805
36844
  React__default["default"].createElement(Icon, { "data-testid": "arc-Tag-icon", icon: icon, size: 16 }))),
36806
36845
  React__default["default"].createElement("div", { className: "arc-Tag-label" }, children))))),
36807
36846
  isRemovable && (React__default["default"].createElement("button", { className: "arc-Tag-icon arc-Tag-icon--removable", onClick: onRemoveHandler, "data-testid": "arc-Tag-icon-removable", "aria-live": "polite", "aria-roledescription": "remove tag" },
36808
- React__default["default"].createElement(Icon, { icon: BtIconCross_2, color: "brand", size: 20 })))));
36847
+ React__default["default"].createElement(Icon, { icon: BtIconCross_2, color: "brand", size: 20 }),
36848
+ React__default["default"].createElement(Icon, { icon: BtIconCrossFill_2, color: "brand", size: 20 })))));
36809
36849
  };
36810
36850
 
36811
36851
  /**
@@ -36819,10 +36859,10 @@ var VisuallyHidden = function (_a) {
36819
36859
  /**
36820
36860
  * Use `TextInput` to allow custom user text entry with a keyboard.
36821
36861
  */
36822
- var TextInput = React$a.forwardRef(function (_a, ref) {
36862
+ var TextInput = React$b.forwardRef(function (_a, ref) {
36823
36863
  var _b = _a.defaultValue, defaultValue = _b === void 0 ? "" : _b, errorMessage = _a.errorMessage, helper = _a.helper, id = _a.id, inputMode = _a.inputMode, _c = _a.isDisabled, isDisabled = _c === void 0 ? false : _c, _d = _a.isReadOnly, isReadOnly = _d === void 0 ? false : _d, _e = _a.isRequired, isRequired = _e === void 0 ? false : _e, label = _a.label, _f = _a.labelSize, labelSize = _f === void 0 ? "l" : _f, maxLength = _a.maxLength, minLength = _a.minLength, name = _a.name, onBlur = _a.onBlur, onChange = _a.onChange, onClickDisclosure = _a.onClickDisclosure, pattern = _a.pattern, _g = _a.type, type = _g === void 0 ? "text" : _g, _h = _a.showPassword, showPassword = _h === void 0 ? false : _h, value = _a.value, disclosureTitle = _a.disclosureTitle, disclosureText = _a.disclosureText, props = __rest$2(_a, ["defaultValue", "errorMessage", "helper", "id", "inputMode", "isDisabled", "isReadOnly", "isRequired", "label", "labelSize", "maxLength", "minLength", "name", "onBlur", "onChange", "onClickDisclosure", "pattern", "type", "showPassword", "value", "disclosureTitle", "disclosureText"]);
36824
- var surface = React$a.useContext(Context$3).surface;
36825
- var _j = React$a.useState(false), showPasswordToggle = _j[0], setShowPasswordToggle = _j[1];
36864
+ var surface = React$b.useContext(Context$3).surface;
36865
+ var _j = React$b.useState(false), showPasswordToggle = _j[0], setShowPasswordToggle = _j[1];
36826
36866
  var inferredInputProps = useNumericInput({
36827
36867
  inputMode: inputMode,
36828
36868
  pattern: pattern,