@alma-oss/spirit-web-react 4.2.1 → 4.4.2

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 (3951) hide show
  1. package/CHANGELOG.md +3393 -0
  2. package/DEPRECATIONS.md +69 -0
  3. package/LICENSE.md +21 -0
  4. package/MIGRATIONS.md +14 -0
  5. package/README.md +67 -12
  6. package/dist/bundles/web-react.umd.js +16329 -0
  7. package/dist/bundles/web-react.umd.js.map +1 -0
  8. package/dist/bundles/web-react.umd.min.js +2 -0
  9. package/dist/bundles/web-react.umd.min.js.map +1 -0
  10. package/dist/common/constants/environments.cjs +2 -0
  11. package/dist/common/constants/environments.cjs.map +1 -0
  12. package/dist/common/constants/environments.js +12 -0
  13. package/dist/common/constants/environments.js.map +1 -0
  14. package/dist/common/constants/index.cjs +2 -0
  15. package/dist/common/constants/index.cjs.map +1 -0
  16. package/dist/common/constants/index.js +8 -0
  17. package/dist/common/constants/index.js.map +1 -0
  18. package/dist/common/constants.d.ts +2 -0
  19. package/dist/common/index.cjs +2 -0
  20. package/dist/common/index.cjs.map +1 -0
  21. package/dist/common/index.js +12 -0
  22. package/dist/common/index.js.map +1 -0
  23. package/dist/common/utilities/index.cjs +2 -0
  24. package/dist/common/utilities/index.cjs.map +1 -0
  25. package/dist/common/utilities/index.js +7 -0
  26. package/dist/common/utilities/index.js.map +1 -0
  27. package/dist/common/utilities/info.cjs +2 -0
  28. package/dist/common/utilities/info.cjs.map +1 -0
  29. package/dist/common/utilities/info.js +13 -0
  30. package/dist/common/utilities/info.js.map +1 -0
  31. package/dist/common/utilities/warning.cjs +2 -0
  32. package/dist/common/utilities/warning.cjs.map +1 -0
  33. package/dist/common/utilities/warning.js +17 -0
  34. package/dist/common/utilities/warning.js.map +1 -0
  35. package/dist/common/utilities.d.ts +2 -0
  36. package/dist/common.d.ts +2 -0
  37. package/dist/components/Accordion/Accordion.cjs +2 -0
  38. package/dist/components/Accordion/Accordion.cjs.map +1 -0
  39. package/dist/components/Accordion/Accordion.d.ts +3 -0
  40. package/dist/components/Accordion/Accordion.js +22 -0
  41. package/dist/components/Accordion/Accordion.js.map +1 -0
  42. package/dist/components/Accordion/AccordionContent.cjs +2 -0
  43. package/dist/components/Accordion/AccordionContent.cjs.map +1 -0
  44. package/dist/components/Accordion/AccordionContent.d.ts +7 -0
  45. package/dist/components/Accordion/AccordionContent.js +18 -0
  46. package/dist/components/Accordion/AccordionContent.js.map +1 -0
  47. package/dist/components/Accordion/AccordionContext.cjs +2 -0
  48. package/dist/components/Accordion/AccordionContext.cjs.map +1 -0
  49. package/dist/components/Accordion/AccordionContext.d.ts +7 -0
  50. package/dist/components/Accordion/AccordionContext.js +14 -0
  51. package/dist/components/Accordion/AccordionContext.js.map +1 -0
  52. package/dist/components/Accordion/AccordionHeader.cjs +2 -0
  53. package/dist/components/Accordion/AccordionHeader.cjs.map +1 -0
  54. package/dist/components/Accordion/AccordionHeader.d.ts +3 -0
  55. package/dist/components/Accordion/AccordionHeader.js +36 -0
  56. package/dist/components/Accordion/AccordionHeader.js.map +1 -0
  57. package/dist/components/Accordion/AccordionItem.cjs +2 -0
  58. package/dist/components/Accordion/AccordionItem.cjs.map +1 -0
  59. package/dist/components/Accordion/AccordionItem.d.ts +3 -0
  60. package/dist/components/Accordion/AccordionItem.js +19 -0
  61. package/dist/components/Accordion/AccordionItem.js.map +1 -0
  62. package/dist/components/Accordion/AccordionItemContext.cjs +2 -0
  63. package/dist/components/Accordion/AccordionItemContext.cjs.map +1 -0
  64. package/dist/components/Accordion/AccordionItemContext.d.ts +7 -0
  65. package/dist/components/Accordion/AccordionItemContext.js +13 -0
  66. package/dist/components/Accordion/AccordionItemContext.js.map +1 -0
  67. package/dist/components/Accordion/UncontrolledAccordion.cjs +2 -0
  68. package/dist/components/Accordion/UncontrolledAccordion.cjs.map +1 -0
  69. package/dist/components/Accordion/UncontrolledAccordion.d.ts +8 -0
  70. package/dist/components/Accordion/UncontrolledAccordion.js +14 -0
  71. package/dist/components/Accordion/UncontrolledAccordion.js.map +1 -0
  72. package/dist/components/Accordion/index.cjs +2 -0
  73. package/dist/components/Accordion/index.cjs.map +1 -0
  74. package/dist/components/Accordion/index.js +25 -0
  75. package/dist/components/Accordion/index.js.map +1 -0
  76. package/dist/components/Accordion/useAccordion.cjs +2 -0
  77. package/dist/components/Accordion/useAccordion.cjs.map +1 -0
  78. package/dist/components/Accordion/useAccordion.d.ts +2 -0
  79. package/dist/components/Accordion/useAccordion.js +15 -0
  80. package/dist/components/Accordion/useAccordion.js.map +1 -0
  81. package/dist/components/Accordion/useAccordionAriaProps.cjs +2 -0
  82. package/dist/components/Accordion/useAccordionAriaProps.cjs.map +1 -0
  83. package/dist/components/Accordion/useAccordionAriaProps.d.ts +23 -0
  84. package/dist/components/Accordion/useAccordionAriaProps.js +20 -0
  85. package/dist/components/Accordion/useAccordionAriaProps.js.map +1 -0
  86. package/dist/components/Accordion/useAccordionStyleProps.cjs +2 -0
  87. package/dist/components/Accordion/useAccordionStyleProps.cjs.map +1 -0
  88. package/dist/components/Accordion/useAccordionStyleProps.d.ts +12 -0
  89. package/dist/components/Accordion/useAccordionStyleProps.js +20 -0
  90. package/dist/components/Accordion/useAccordionStyleProps.js.map +1 -0
  91. package/dist/components/Accordion/useOpenItem.cjs +2 -0
  92. package/dist/components/Accordion/useOpenItem.cjs.map +1 -0
  93. package/dist/components/Accordion/useOpenItem.js +11 -0
  94. package/dist/components/Accordion/useOpenItem.js.map +1 -0
  95. package/dist/components/Accordion.d.ts +2 -0
  96. package/dist/components/ActionGroup/ActionGroup.cjs +2 -0
  97. package/dist/components/ActionGroup/ActionGroup.cjs.map +1 -0
  98. package/dist/components/ActionGroup/ActionGroup.d.ts +7 -0
  99. package/dist/components/ActionGroup/ActionGroup.js +23 -0
  100. package/dist/components/ActionGroup/ActionGroup.js.map +1 -0
  101. package/dist/components/ActionGroup/index.cjs +2 -0
  102. package/dist/components/ActionGroup/index.cjs.map +1 -0
  103. package/dist/components/ActionGroup/index.js +5 -0
  104. package/dist/components/ActionGroup/index.js.map +1 -0
  105. package/dist/components/ActionGroup.d.ts +2 -0
  106. package/dist/components/Alert/Alert.cjs +2 -0
  107. package/dist/components/Alert/Alert.cjs.map +1 -0
  108. package/dist/components/Alert/Alert.d.ts +3 -0
  109. package/dist/components/Alert/Alert.js +25 -0
  110. package/dist/components/Alert/Alert.js.map +1 -0
  111. package/dist/components/Alert/index.cjs +2 -0
  112. package/dist/components/Alert/index.cjs.map +1 -0
  113. package/dist/components/Alert/index.js +7 -0
  114. package/dist/components/Alert/index.js.map +1 -0
  115. package/dist/components/Alert/useAlertIcon.cjs +2 -0
  116. package/dist/components/Alert/useAlertIcon.cjs.map +1 -0
  117. package/dist/components/Alert/useAlertIcon.d.ts +3 -0
  118. package/dist/components/Alert/useAlertIcon.js +15 -0
  119. package/dist/components/Alert/useAlertIcon.js.map +1 -0
  120. package/dist/components/Alert/useAlertStyleProps.cjs +2 -0
  121. package/dist/components/Alert/useAlertStyleProps.cjs.map +1 -0
  122. package/dist/components/Alert/useAlertStyleProps.d.ts +6 -0
  123. package/dist/components/Alert/useAlertStyleProps.js +16 -0
  124. package/dist/components/Alert/useAlertStyleProps.js.map +1 -0
  125. package/dist/components/Alert.d.ts +2 -0
  126. package/dist/components/Avatar/Avatar.cjs +2 -0
  127. package/dist/components/Avatar/Avatar.cjs.map +1 -0
  128. package/dist/components/Avatar/Avatar.d.ts +3 -0
  129. package/dist/components/Avatar/Avatar.js +21 -0
  130. package/dist/components/Avatar/Avatar.js.map +1 -0
  131. package/dist/components/Avatar/index.cjs +2 -0
  132. package/dist/components/Avatar/index.cjs.map +1 -0
  133. package/dist/components/Avatar/index.js +7 -0
  134. package/dist/components/Avatar/index.js.map +1 -0
  135. package/dist/components/Avatar/useAvatarStyleProps.cjs +2 -0
  136. package/dist/components/Avatar/useAvatarStyleProps.cjs.map +1 -0
  137. package/dist/components/Avatar/useAvatarStyleProps.d.ts +6 -0
  138. package/dist/components/Avatar/useAvatarStyleProps.js +16 -0
  139. package/dist/components/Avatar/useAvatarStyleProps.js.map +1 -0
  140. package/dist/components/Avatar.d.ts +2 -0
  141. package/dist/components/Box/Box.cjs +2 -0
  142. package/dist/components/Box/Box.cjs.map +1 -0
  143. package/dist/components/Box/Box.d.ts +4 -0
  144. package/dist/components/Box/Box.js +25 -0
  145. package/dist/components/Box/Box.js.map +1 -0
  146. package/dist/components/Box/index.cjs +2 -0
  147. package/dist/components/Box/index.cjs.map +1 -0
  148. package/dist/components/Box/index.js +7 -0
  149. package/dist/components/Box/index.js.map +1 -0
  150. package/dist/components/Box/useBoxStyleProps.cjs +2 -0
  151. package/dist/components/Box/useBoxStyleProps.cjs.map +1 -0
  152. package/dist/components/Box/useBoxStyleProps.d.ts +7 -0
  153. package/dist/components/Box/useBoxStyleProps.js +18 -0
  154. package/dist/components/Box/useBoxStyleProps.js.map +1 -0
  155. package/dist/components/Box.d.ts +2 -0
  156. package/dist/components/Breadcrumbs/Breadcrumbs.cjs +2 -0
  157. package/dist/components/Breadcrumbs/Breadcrumbs.cjs.map +1 -0
  158. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +7 -0
  159. package/dist/components/Breadcrumbs/Breadcrumbs.js +22 -0
  160. package/dist/components/Breadcrumbs/Breadcrumbs.js.map +1 -0
  161. package/dist/components/Breadcrumbs/BreadcrumbsItem.cjs +2 -0
  162. package/dist/components/Breadcrumbs/BreadcrumbsItem.cjs.map +1 -0
  163. package/dist/components/Breadcrumbs/BreadcrumbsItem.d.ts +7 -0
  164. package/dist/components/Breadcrumbs/BreadcrumbsItem.js +34 -0
  165. package/dist/components/Breadcrumbs/BreadcrumbsItem.js.map +1 -0
  166. package/dist/components/Breadcrumbs/index.cjs +2 -0
  167. package/dist/components/Breadcrumbs/index.cjs.map +1 -0
  168. package/dist/components/Breadcrumbs/index.js +9 -0
  169. package/dist/components/Breadcrumbs/index.js.map +1 -0
  170. package/dist/components/Breadcrumbs/useBreadcrumbsStyleProps.cjs +2 -0
  171. package/dist/components/Breadcrumbs/useBreadcrumbsStyleProps.cjs.map +1 -0
  172. package/dist/components/Breadcrumbs/useBreadcrumbsStyleProps.d.ts +9 -0
  173. package/dist/components/Breadcrumbs/useBreadcrumbsStyleProps.js +20 -0
  174. package/dist/components/Breadcrumbs/useBreadcrumbsStyleProps.js.map +1 -0
  175. package/dist/components/Breadcrumbs.d.ts +2 -0
  176. package/dist/components/Button/Button.cjs +2 -0
  177. package/dist/components/Button/Button.cjs.map +1 -0
  178. package/dist/components/Button/Button.d.ts +3 -0
  179. package/dist/components/Button/Button.js +37 -0
  180. package/dist/components/Button/Button.js.map +1 -0
  181. package/dist/components/Button/index.cjs +2 -0
  182. package/dist/components/Button/index.cjs.map +1 -0
  183. package/dist/components/Button/index.js +15 -0
  184. package/dist/components/Button/index.js.map +1 -0
  185. package/dist/components/Button/useButtonProps.cjs +2 -0
  186. package/dist/components/Button/useButtonProps.cjs.map +1 -0
  187. package/dist/components/Button/useButtonProps.d.ts +6 -0
  188. package/dist/components/Button/useButtonProps.js +17 -0
  189. package/dist/components/Button/useButtonProps.js.map +1 -0
  190. package/dist/components/Button/useButtonStyleProps.cjs +2 -0
  191. package/dist/components/Button/useButtonStyleProps.cjs.map +1 -0
  192. package/dist/components/Button/useButtonStyleProps.d.ts +20 -0
  193. package/dist/components/Button/useButtonStyleProps.js +38 -0
  194. package/dist/components/Button/useButtonStyleProps.js.map +1 -0
  195. package/dist/components/Button.d.ts +2 -0
  196. package/dist/components/ButtonLink/ButtonLink.cjs +2 -0
  197. package/dist/components/ButtonLink/ButtonLink.cjs.map +1 -0
  198. package/dist/components/ButtonLink/ButtonLink.d.ts +3 -0
  199. package/dist/components/ButtonLink/ButtonLink.js +35 -0
  200. package/dist/components/ButtonLink/ButtonLink.js.map +1 -0
  201. package/dist/components/ButtonLink/index.cjs +2 -0
  202. package/dist/components/ButtonLink/index.cjs.map +1 -0
  203. package/dist/components/ButtonLink/index.js +9 -0
  204. package/dist/components/ButtonLink/index.js.map +1 -0
  205. package/dist/components/ButtonLink/useButtonLinkProps.cjs +2 -0
  206. package/dist/components/ButtonLink/useButtonLinkProps.cjs.map +1 -0
  207. package/dist/components/ButtonLink/useButtonLinkProps.d.ts +12 -0
  208. package/dist/components/ButtonLink/useButtonLinkProps.js +20 -0
  209. package/dist/components/ButtonLink/useButtonLinkProps.js.map +1 -0
  210. package/dist/components/ButtonLink/useButtonLinkStyleProps.cjs +2 -0
  211. package/dist/components/ButtonLink/useButtonLinkStyleProps.cjs.map +1 -0
  212. package/dist/components/ButtonLink/useButtonLinkStyleProps.d.ts +20 -0
  213. package/dist/components/ButtonLink/useButtonLinkStyleProps.js +38 -0
  214. package/dist/components/ButtonLink/useButtonLinkStyleProps.js.map +1 -0
  215. package/dist/components/ButtonLink.d.ts +2 -0
  216. package/dist/components/Card/Card.cjs +2 -0
  217. package/dist/components/Card/Card.cjs.map +1 -0
  218. package/dist/components/Card/Card.d.ts +7 -0
  219. package/dist/components/Card/Card.js +26 -0
  220. package/dist/components/Card/Card.js.map +1 -0
  221. package/dist/components/Card/CardArtwork.cjs +2 -0
  222. package/dist/components/Card/CardArtwork.cjs.map +1 -0
  223. package/dist/components/Card/CardArtwork.d.ts +7 -0
  224. package/dist/components/Card/CardArtwork.js +17 -0
  225. package/dist/components/Card/CardArtwork.js.map +1 -0
  226. package/dist/components/Card/CardBody.cjs +2 -0
  227. package/dist/components/Card/CardBody.cjs.map +1 -0
  228. package/dist/components/Card/CardBody.d.ts +7 -0
  229. package/dist/components/Card/CardBody.js +16 -0
  230. package/dist/components/Card/CardBody.js.map +1 -0
  231. package/dist/components/Card/CardEyebrow.cjs +2 -0
  232. package/dist/components/Card/CardEyebrow.cjs.map +1 -0
  233. package/dist/components/Card/CardEyebrow.d.ts +7 -0
  234. package/dist/components/Card/CardEyebrow.js +14 -0
  235. package/dist/components/Card/CardEyebrow.js.map +1 -0
  236. package/dist/components/Card/CardFooter.cjs +2 -0
  237. package/dist/components/Card/CardFooter.cjs.map +1 -0
  238. package/dist/components/Card/CardFooter.d.ts +7 -0
  239. package/dist/components/Card/CardFooter.js +17 -0
  240. package/dist/components/Card/CardFooter.js.map +1 -0
  241. package/dist/components/Card/CardLink.cjs +2 -0
  242. package/dist/components/Card/CardLink.cjs.map +1 -0
  243. package/dist/components/Card/CardLink.d.ts +3 -0
  244. package/dist/components/Card/CardLink.js +23 -0
  245. package/dist/components/Card/CardLink.js.map +1 -0
  246. package/dist/components/Card/CardLogo.cjs +2 -0
  247. package/dist/components/Card/CardLogo.cjs.map +1 -0
  248. package/dist/components/Card/CardLogo.d.ts +7 -0
  249. package/dist/components/Card/CardLogo.js +14 -0
  250. package/dist/components/Card/CardLogo.js.map +1 -0
  251. package/dist/components/Card/CardMedia.cjs +2 -0
  252. package/dist/components/Card/CardMedia.cjs.map +1 -0
  253. package/dist/components/Card/CardMedia.d.ts +7 -0
  254. package/dist/components/Card/CardMedia.js +32 -0
  255. package/dist/components/Card/CardMedia.js.map +1 -0
  256. package/dist/components/Card/CardTitle.cjs +2 -0
  257. package/dist/components/Card/CardTitle.cjs.map +1 -0
  258. package/dist/components/Card/CardTitle.d.ts +7 -0
  259. package/dist/components/Card/CardTitle.js +17 -0
  260. package/dist/components/Card/CardTitle.js.map +1 -0
  261. package/dist/components/Card/index.cjs +2 -0
  262. package/dist/components/Card/index.cjs.map +1 -0
  263. package/dist/components/Card/index.js +23 -0
  264. package/dist/components/Card/index.js.map +1 -0
  265. package/dist/components/Card/useCardMediaStyleProps.cjs +2 -0
  266. package/dist/components/Card/useCardMediaStyleProps.cjs.map +1 -0
  267. package/dist/components/Card/useCardMediaStyleProps.d.ts +7 -0
  268. package/dist/components/Card/useCardMediaStyleProps.js +13 -0
  269. package/dist/components/Card/useCardMediaStyleProps.js.map +1 -0
  270. package/dist/components/Card/useCardStyleProps.cjs +2 -0
  271. package/dist/components/Card/useCardStyleProps.cjs.map +1 -0
  272. package/dist/components/Card/useCardStyleProps.d.ts +28 -0
  273. package/dist/components/Card/useCardStyleProps.js +52 -0
  274. package/dist/components/Card/useCardStyleProps.js.map +1 -0
  275. package/dist/components/Card.d.ts +2 -0
  276. package/dist/components/Checkbox/Checkbox.cjs +2 -0
  277. package/dist/components/Checkbox/Checkbox.cjs.map +1 -0
  278. package/dist/components/Checkbox/Checkbox.d.ts +3 -0
  279. package/dist/components/Checkbox/Checkbox.js +77 -0
  280. package/dist/components/Checkbox/Checkbox.js.map +1 -0
  281. package/dist/components/Checkbox/index.cjs +2 -0
  282. package/dist/components/Checkbox/index.cjs.map +1 -0
  283. package/dist/components/Checkbox/index.js +7 -0
  284. package/dist/components/Checkbox/index.js.map +1 -0
  285. package/dist/components/Checkbox/useCheckboxStyleProps.cjs +2 -0
  286. package/dist/components/Checkbox/useCheckboxStyleProps.cjs.map +1 -0
  287. package/dist/components/Checkbox/useCheckboxStyleProps.d.ts +13 -0
  288. package/dist/components/Checkbox/useCheckboxStyleProps.js +33 -0
  289. package/dist/components/Checkbox/useCheckboxStyleProps.js.map +1 -0
  290. package/dist/components/Checkbox.d.ts +2 -0
  291. package/dist/components/Collapse/Collapse.cjs +2 -0
  292. package/dist/components/Collapse/Collapse.cjs.map +1 -0
  293. package/dist/components/Collapse/Collapse.d.ts +7 -0
  294. package/dist/components/Collapse/Collapse.js +54 -0
  295. package/dist/components/Collapse/Collapse.js.map +1 -0
  296. package/dist/components/Collapse/UncontrolledCollapse.cjs +2 -0
  297. package/dist/components/Collapse/UncontrolledCollapse.cjs.map +1 -0
  298. package/dist/components/Collapse/UncontrolledCollapse.d.ts +7 -0
  299. package/dist/components/Collapse/UncontrolledCollapse.js +30 -0
  300. package/dist/components/Collapse/UncontrolledCollapse.js.map +1 -0
  301. package/dist/components/Collapse/index.cjs +2 -0
  302. package/dist/components/Collapse/index.cjs.map +1 -0
  303. package/dist/components/Collapse/index.js +13 -0
  304. package/dist/components/Collapse/index.js.map +1 -0
  305. package/dist/components/Collapse/useCollapse.cjs +2 -0
  306. package/dist/components/Collapse/useCollapse.cjs.map +1 -0
  307. package/dist/components/Collapse/useCollapse.d.ts +7 -0
  308. package/dist/components/Collapse/useCollapse.js +16 -0
  309. package/dist/components/Collapse/useCollapse.js.map +1 -0
  310. package/dist/components/Collapse/useCollapseAriaProps.cjs +2 -0
  311. package/dist/components/Collapse/useCollapseAriaProps.cjs.map +1 -0
  312. package/dist/components/Collapse/useCollapseAriaProps.d.ts +18 -0
  313. package/dist/components/Collapse/useCollapseAriaProps.js +25 -0
  314. package/dist/components/Collapse/useCollapseAriaProps.js.map +1 -0
  315. package/dist/components/Collapse/useCollapseStyleProps.cjs +2 -0
  316. package/dist/components/Collapse/useCollapseStyleProps.cjs.map +1 -0
  317. package/dist/components/Collapse/useCollapseStyleProps.d.ts +11 -0
  318. package/dist/components/Collapse/useCollapseStyleProps.js +17 -0
  319. package/dist/components/Collapse/useCollapseStyleProps.js.map +1 -0
  320. package/dist/components/Collapse/useResizeHeight.cjs +2 -0
  321. package/dist/components/Collapse/useResizeHeight.cjs.map +1 -0
  322. package/dist/components/Collapse/useResizeHeight.d.ts +2 -0
  323. package/dist/components/Collapse/useResizeHeight.js +14 -0
  324. package/dist/components/Collapse/useResizeHeight.js.map +1 -0
  325. package/dist/components/Collapse.d.ts +2 -0
  326. package/dist/components/Container/Container.cjs +2 -0
  327. package/dist/components/Container/Container.cjs.map +1 -0
  328. package/dist/components/Container/Container.d.ts +6 -0
  329. package/dist/components/Container/Container.js +21 -0
  330. package/dist/components/Container/Container.js.map +1 -0
  331. package/dist/components/Container/index.cjs +2 -0
  332. package/dist/components/Container/index.cjs.map +1 -0
  333. package/dist/components/Container/index.js +7 -0
  334. package/dist/components/Container/index.js.map +1 -0
  335. package/dist/components/Container/useContainerStyleProps.cjs +2 -0
  336. package/dist/components/Container/useContainerStyleProps.cjs.map +1 -0
  337. package/dist/components/Container/useContainerStyleProps.d.ts +6 -0
  338. package/dist/components/Container/useContainerStyleProps.js +16 -0
  339. package/dist/components/Container/useContainerStyleProps.js.map +1 -0
  340. package/dist/components/Container.d.ts +2 -0
  341. package/dist/components/ControlButton/ControlButton.cjs +2 -0
  342. package/dist/components/ControlButton/ControlButton.cjs.map +1 -0
  343. package/dist/components/ControlButton/ControlButton.d.ts +3 -0
  344. package/dist/components/ControlButton/ControlButton.js +27 -0
  345. package/dist/components/ControlButton/ControlButton.js.map +1 -0
  346. package/dist/components/ControlButton/index.cjs +2 -0
  347. package/dist/components/ControlButton/index.cjs.map +1 -0
  348. package/dist/components/ControlButton/index.js +9 -0
  349. package/dist/components/ControlButton/index.js.map +1 -0
  350. package/dist/components/ControlButton/useControlButtonProps.cjs +2 -0
  351. package/dist/components/ControlButton/useControlButtonProps.cjs.map +1 -0
  352. package/dist/components/ControlButton/useControlButtonProps.d.ts +6 -0
  353. package/dist/components/ControlButton/useControlButtonProps.js +17 -0
  354. package/dist/components/ControlButton/useControlButtonProps.js.map +1 -0
  355. package/dist/components/ControlButton/useControlButtonStyleProps.cjs +2 -0
  356. package/dist/components/ControlButton/useControlButtonStyleProps.cjs.map +1 -0
  357. package/dist/components/ControlButton/useControlButtonStyleProps.d.ts +20 -0
  358. package/dist/components/ControlButton/useControlButtonStyleProps.js +28 -0
  359. package/dist/components/ControlButton/useControlButtonStyleProps.js.map +1 -0
  360. package/dist/components/ControlButton.d.ts +2 -0
  361. package/dist/components/Dialog/Dialog.cjs +2 -0
  362. package/dist/components/Dialog/Dialog.cjs.map +1 -0
  363. package/dist/components/Dialog/Dialog.d.ts +3 -0
  364. package/dist/components/Dialog/Dialog.js +43 -0
  365. package/dist/components/Dialog/Dialog.js.map +1 -0
  366. package/dist/components/Dialog/constants.cjs +2 -0
  367. package/dist/components/Dialog/constants.cjs.map +1 -0
  368. package/dist/components/Dialog/constants.d.ts +1 -0
  369. package/dist/components/Dialog/constants.js +5 -0
  370. package/dist/components/Dialog/constants.js.map +1 -0
  371. package/dist/components/Dialog/index.cjs +2 -0
  372. package/dist/components/Dialog/index.cjs.map +1 -0
  373. package/dist/components/Dialog/index.js +7 -0
  374. package/dist/components/Dialog/index.js.map +1 -0
  375. package/dist/components/Dialog/useDialog.cjs +2 -0
  376. package/dist/components/Dialog/useDialog.cjs.map +1 -0
  377. package/dist/components/Dialog/useDialog.d.ts +6 -0
  378. package/dist/components/Dialog/useDialog.js +51 -0
  379. package/dist/components/Dialog/useDialog.js.map +1 -0
  380. package/dist/components/Dialog.d.ts +2 -0
  381. package/dist/components/Divider/Divider.cjs +2 -0
  382. package/dist/components/Divider/Divider.cjs.map +1 -0
  383. package/dist/components/Divider/Divider.d.ts +6 -0
  384. package/dist/components/Divider/Divider.js +14 -0
  385. package/dist/components/Divider/Divider.js.map +1 -0
  386. package/dist/components/Divider/index.cjs +2 -0
  387. package/dist/components/Divider/index.cjs.map +1 -0
  388. package/dist/components/Divider/index.js +7 -0
  389. package/dist/components/Divider/index.js.map +1 -0
  390. package/dist/components/Divider/useDividerStyleProps.cjs +2 -0
  391. package/dist/components/Divider/useDividerStyleProps.cjs.map +1 -0
  392. package/dist/components/Divider/useDividerStyleProps.d.ts +6 -0
  393. package/dist/components/Divider/useDividerStyleProps.js +11 -0
  394. package/dist/components/Divider/useDividerStyleProps.js.map +1 -0
  395. package/dist/components/Divider.d.ts +2 -0
  396. package/dist/components/Drawer/Drawer.cjs +2 -0
  397. package/dist/components/Drawer/Drawer.cjs.map +1 -0
  398. package/dist/components/Drawer/Drawer.d.ts +7 -0
  399. package/dist/components/Drawer/Drawer.js +33 -0
  400. package/dist/components/Drawer/Drawer.js.map +1 -0
  401. package/dist/components/Drawer/DrawerCloseButton.cjs +2 -0
  402. package/dist/components/Drawer/DrawerCloseButton.cjs.map +1 -0
  403. package/dist/components/Drawer/DrawerCloseButton.d.ts +7 -0
  404. package/dist/components/Drawer/DrawerCloseButton.js +42 -0
  405. package/dist/components/Drawer/DrawerCloseButton.js.map +1 -0
  406. package/dist/components/Drawer/DrawerContext.cjs +2 -0
  407. package/dist/components/Drawer/DrawerContext.cjs.map +1 -0
  408. package/dist/components/Drawer/DrawerContext.d.ts +10 -0
  409. package/dist/components/Drawer/DrawerContext.js +13 -0
  410. package/dist/components/Drawer/DrawerContext.js.map +1 -0
  411. package/dist/components/Drawer/DrawerPanel.cjs +2 -0
  412. package/dist/components/Drawer/DrawerPanel.cjs.map +1 -0
  413. package/dist/components/Drawer/DrawerPanel.d.ts +4 -0
  414. package/dist/components/Drawer/DrawerPanel.js +18 -0
  415. package/dist/components/Drawer/DrawerPanel.js.map +1 -0
  416. package/dist/components/Drawer/constants.cjs +2 -0
  417. package/dist/components/Drawer/constants.cjs.map +1 -0
  418. package/dist/components/Drawer/constants.d.ts +1 -0
  419. package/dist/components/Drawer/constants.js +6 -0
  420. package/dist/components/Drawer/constants.js.map +1 -0
  421. package/dist/components/Drawer/index.cjs +2 -0
  422. package/dist/components/Drawer/index.cjs.map +1 -0
  423. package/dist/components/Drawer/index.js +15 -0
  424. package/dist/components/Drawer/index.js.map +1 -0
  425. package/dist/components/Drawer/useDrawerStyleProps.cjs +2 -0
  426. package/dist/components/Drawer/useDrawerStyleProps.cjs.map +1 -0
  427. package/dist/components/Drawer/useDrawerStyleProps.d.ts +14 -0
  428. package/dist/components/Drawer/useDrawerStyleProps.js +24 -0
  429. package/dist/components/Drawer/useDrawerStyleProps.js.map +1 -0
  430. package/dist/components/Drawer.d.ts +2 -0
  431. package/dist/components/Dropdown/Dropdown.cjs +2 -0
  432. package/dist/components/Dropdown/Dropdown.cjs.map +1 -0
  433. package/dist/components/Dropdown/Dropdown.d.ts +7 -0
  434. package/dist/components/Dropdown/Dropdown.js +38 -0
  435. package/dist/components/Dropdown/Dropdown.js.map +1 -0
  436. package/dist/components/Dropdown/DropdownContext.cjs +2 -0
  437. package/dist/components/Dropdown/DropdownContext.cjs.map +1 -0
  438. package/dist/components/Dropdown/DropdownContext.d.ts +19 -0
  439. package/dist/components/Dropdown/DropdownContext.js +22 -0
  440. package/dist/components/Dropdown/DropdownContext.js.map +1 -0
  441. package/dist/components/Dropdown/DropdownPopover.cjs +2 -0
  442. package/dist/components/Dropdown/DropdownPopover.cjs.map +1 -0
  443. package/dist/components/Dropdown/DropdownPopover.d.ts +9 -0
  444. package/dist/components/Dropdown/DropdownPopover.js +25 -0
  445. package/dist/components/Dropdown/DropdownPopover.js.map +1 -0
  446. package/dist/components/Dropdown/DropdownTrigger.cjs +2 -0
  447. package/dist/components/Dropdown/DropdownTrigger.cjs.map +1 -0
  448. package/dist/components/Dropdown/DropdownTrigger.d.ts +7 -0
  449. package/dist/components/Dropdown/DropdownTrigger.js +18 -0
  450. package/dist/components/Dropdown/DropdownTrigger.js.map +1 -0
  451. package/dist/components/Dropdown/UncontrolledDropdown.cjs +2 -0
  452. package/dist/components/Dropdown/UncontrolledDropdown.cjs.map +1 -0
  453. package/dist/components/Dropdown/UncontrolledDropdown.d.ts +7 -0
  454. package/dist/components/Dropdown/UncontrolledDropdown.js +26 -0
  455. package/dist/components/Dropdown/UncontrolledDropdown.js.map +1 -0
  456. package/dist/components/Dropdown/index.cjs +2 -0
  457. package/dist/components/Dropdown/index.cjs.map +1 -0
  458. package/dist/components/Dropdown/index.js +20 -0
  459. package/dist/components/Dropdown/index.js.map +1 -0
  460. package/dist/components/Dropdown/useDropdown.cjs +2 -0
  461. package/dist/components/Dropdown/useDropdown.cjs.map +1 -0
  462. package/dist/components/Dropdown/useDropdown.d.ts +13 -0
  463. package/dist/components/Dropdown/useDropdown.js +23 -0
  464. package/dist/components/Dropdown/useDropdown.js.map +1 -0
  465. package/dist/components/Dropdown/useDropdownAriaProps.cjs +2 -0
  466. package/dist/components/Dropdown/useDropdownAriaProps.cjs.map +1 -0
  467. package/dist/components/Dropdown/useDropdownAriaProps.d.ts +31 -0
  468. package/dist/components/Dropdown/useDropdownAriaProps.js +23 -0
  469. package/dist/components/Dropdown/useDropdownAriaProps.js.map +1 -0
  470. package/dist/components/Dropdown/useDropdownStyleProps.cjs +2 -0
  471. package/dist/components/Dropdown/useDropdownStyleProps.cjs.map +1 -0
  472. package/dist/components/Dropdown/useDropdownStyleProps.d.ts +10 -0
  473. package/dist/components/Dropdown/useDropdownStyleProps.js +22 -0
  474. package/dist/components/Dropdown/useDropdownStyleProps.js.map +1 -0
  475. package/dist/components/Dropdown.d.ts +2 -0
  476. package/dist/components/EmptyState/EmptyState.cjs +2 -0
  477. package/dist/components/EmptyState/EmptyState.cjs.map +1 -0
  478. package/dist/components/EmptyState/EmptyState.d.ts +7 -0
  479. package/dist/components/EmptyState/EmptyState.js +23 -0
  480. package/dist/components/EmptyState/EmptyState.js.map +1 -0
  481. package/dist/components/EmptyState/EmptyStateSection.cjs +2 -0
  482. package/dist/components/EmptyState/EmptyStateSection.cjs.map +1 -0
  483. package/dist/components/EmptyState/EmptyStateSection.d.ts +7 -0
  484. package/dist/components/EmptyState/EmptyStateSection.js +23 -0
  485. package/dist/components/EmptyState/EmptyStateSection.js.map +1 -0
  486. package/dist/components/EmptyState/index.cjs +2 -0
  487. package/dist/components/EmptyState/index.cjs.map +1 -0
  488. package/dist/components/EmptyState/index.js +9 -0
  489. package/dist/components/EmptyState/index.js.map +1 -0
  490. package/dist/components/EmptyState/useEmptyStateStyleProps.cjs +2 -0
  491. package/dist/components/EmptyState/useEmptyStateStyleProps.cjs.map +1 -0
  492. package/dist/components/EmptyState/useEmptyStateStyleProps.d.ts +9 -0
  493. package/dist/components/EmptyState/useEmptyStateStyleProps.js +15 -0
  494. package/dist/components/EmptyState/useEmptyStateStyleProps.js.map +1 -0
  495. package/dist/components/EmptyState.d.ts +2 -0
  496. package/dist/components/Field/HelperText.cjs +2 -0
  497. package/dist/components/Field/HelperText.cjs.map +1 -0
  498. package/dist/components/Field/HelperText.d.ts +7 -0
  499. package/dist/components/Field/HelperText.js +26 -0
  500. package/dist/components/Field/HelperText.js.map +1 -0
  501. package/dist/components/Field/Label.cjs +2 -0
  502. package/dist/components/Field/Label.cjs.map +1 -0
  503. package/dist/components/Field/Label.d.ts +7 -0
  504. package/dist/components/Field/Label.js +21 -0
  505. package/dist/components/Field/Label.js.map +1 -0
  506. package/dist/components/Field/ValidationText.cjs +2 -0
  507. package/dist/components/Field/ValidationText.cjs.map +1 -0
  508. package/dist/components/Field/ValidationText.d.ts +7 -0
  509. package/dist/components/Field/ValidationText.js +37 -0
  510. package/dist/components/Field/ValidationText.js.map +1 -0
  511. package/dist/components/Field/constants.cjs +2 -0
  512. package/dist/components/Field/constants.cjs.map +1 -0
  513. package/dist/components/Field/constants.js +5 -0
  514. package/dist/components/Field/constants.js.map +1 -0
  515. package/dist/components/Field/index.cjs +2 -0
  516. package/dist/components/Field/index.cjs.map +1 -0
  517. package/dist/components/Field/index.js +11 -0
  518. package/dist/components/Field/index.js.map +1 -0
  519. package/dist/components/Field/types.d.ts +15 -0
  520. package/dist/components/Field/useAriaIds.cjs +2 -0
  521. package/dist/components/Field/useAriaIds.cjs.map +1 -0
  522. package/dist/components/Field/useAriaIds.js +15 -0
  523. package/dist/components/Field/useAriaIds.js.map +1 -0
  524. package/dist/components/Field/useValidationIcon.cjs +2 -0
  525. package/dist/components/Field/useValidationIcon.cjs.map +1 -0
  526. package/dist/components/Field/useValidationIcon.d.ts +2 -0
  527. package/dist/components/Field/useValidationIcon.js +12 -0
  528. package/dist/components/Field/useValidationIcon.js.map +1 -0
  529. package/dist/components/Field/useValidationTextRole.cjs +2 -0
  530. package/dist/components/Field/useValidationTextRole.cjs.map +1 -0
  531. package/dist/components/Field/useValidationTextRole.d.ts +5 -0
  532. package/dist/components/Field/useValidationTextRole.js +16 -0
  533. package/dist/components/Field/useValidationTextRole.js.map +1 -0
  534. package/dist/components/Field.d.ts +2 -0
  535. package/dist/components/FieldGroup/FieldGroup.cjs +2 -0
  536. package/dist/components/FieldGroup/FieldGroup.cjs.map +1 -0
  537. package/dist/components/FieldGroup/FieldGroup.d.ts +7 -0
  538. package/dist/components/FieldGroup/FieldGroup.js +71 -0
  539. package/dist/components/FieldGroup/FieldGroup.js.map +1 -0
  540. package/dist/components/FieldGroup/index.cjs +2 -0
  541. package/dist/components/FieldGroup/index.cjs.map +1 -0
  542. package/dist/components/FieldGroup/index.js +5 -0
  543. package/dist/components/FieldGroup/index.js.map +1 -0
  544. package/dist/components/FieldGroup/useFieldGroupStyleProps.cjs +2 -0
  545. package/dist/components/FieldGroup/useFieldGroupStyleProps.cjs.map +1 -0
  546. package/dist/components/FieldGroup/useFieldGroupStyleProps.d.ts +14 -0
  547. package/dist/components/FieldGroup/useFieldGroupStyleProps.js +27 -0
  548. package/dist/components/FieldGroup/useFieldGroupStyleProps.js.map +1 -0
  549. package/dist/components/FieldGroup.d.ts +2 -0
  550. package/dist/components/FileUploader/AttachmentActionButton.cjs +2 -0
  551. package/dist/components/FileUploader/AttachmentActionButton.cjs.map +1 -0
  552. package/dist/components/FileUploader/AttachmentActionButton.d.ts +7 -0
  553. package/dist/components/FileUploader/AttachmentActionButton.js +28 -0
  554. package/dist/components/FileUploader/AttachmentActionButton.js.map +1 -0
  555. package/dist/components/FileUploader/AttachmentDismissButton.cjs +2 -0
  556. package/dist/components/FileUploader/AttachmentDismissButton.cjs.map +1 -0
  557. package/dist/components/FileUploader/AttachmentDismissButton.d.ts +7 -0
  558. package/dist/components/FileUploader/AttachmentDismissButton.js +28 -0
  559. package/dist/components/FileUploader/AttachmentDismissButton.js.map +1 -0
  560. package/dist/components/FileUploader/AttachmentImagePreview.cjs +2 -0
  561. package/dist/components/FileUploader/AttachmentImagePreview.cjs.map +1 -0
  562. package/dist/components/FileUploader/AttachmentImagePreview.d.ts +7 -0
  563. package/dist/components/FileUploader/AttachmentImagePreview.js +25 -0
  564. package/dist/components/FileUploader/AttachmentImagePreview.js.map +1 -0
  565. package/dist/components/FileUploader/FileUploader.cjs +2 -0
  566. package/dist/components/FileUploader/FileUploader.cjs.map +1 -0
  567. package/dist/components/FileUploader/FileUploader.d.ts +7 -0
  568. package/dist/components/FileUploader/FileUploader.js +42 -0
  569. package/dist/components/FileUploader/FileUploader.js.map +1 -0
  570. package/dist/components/FileUploader/FileUploaderAttachment.cjs +2 -0
  571. package/dist/components/FileUploader/FileUploaderAttachment.cjs.map +1 -0
  572. package/dist/components/FileUploader/FileUploaderAttachment.d.ts +7 -0
  573. package/dist/components/FileUploader/FileUploaderAttachment.js +60 -0
  574. package/dist/components/FileUploader/FileUploaderAttachment.js.map +1 -0
  575. package/dist/components/FileUploader/FileUploaderContext.cjs +2 -0
  576. package/dist/components/FileUploader/FileUploaderContext.cjs.map +1 -0
  577. package/dist/components/FileUploader/FileUploaderContext.d.ts +9 -0
  578. package/dist/components/FileUploader/FileUploaderContext.js +23 -0
  579. package/dist/components/FileUploader/FileUploaderContext.js.map +1 -0
  580. package/dist/components/FileUploader/FileUploaderInput.cjs +2 -0
  581. package/dist/components/FileUploader/FileUploaderInput.cjs.map +1 -0
  582. package/dist/components/FileUploader/FileUploaderInput.d.ts +7 -0
  583. package/dist/components/FileUploader/FileUploaderInput.js +136 -0
  584. package/dist/components/FileUploader/FileUploaderInput.js.map +1 -0
  585. package/dist/components/FileUploader/FileUploaderList.cjs +2 -0
  586. package/dist/components/FileUploader/FileUploaderList.cjs.map +1 -0
  587. package/dist/components/FileUploader/FileUploaderList.d.ts +7 -0
  588. package/dist/components/FileUploader/FileUploaderList.js +39 -0
  589. package/dist/components/FileUploader/FileUploaderList.js.map +1 -0
  590. package/dist/components/FileUploader/UncontrolledFileUploader.cjs +2 -0
  591. package/dist/components/FileUploader/UncontrolledFileUploader.cjs.map +1 -0
  592. package/dist/components/FileUploader/UncontrolledFileUploader.d.ts +7 -0
  593. package/dist/components/FileUploader/UncontrolledFileUploader.js +83 -0
  594. package/dist/components/FileUploader/UncontrolledFileUploader.js.map +1 -0
  595. package/dist/components/FileUploader/constants.cjs +2 -0
  596. package/dist/components/FileUploader/constants.cjs.map +1 -0
  597. package/dist/components/FileUploader/constants.d.ts +15 -0
  598. package/dist/components/FileUploader/constants.js +19 -0
  599. package/dist/components/FileUploader/constants.js.map +1 -0
  600. package/dist/components/FileUploader/index.cjs +2 -0
  601. package/dist/components/FileUploader/index.cjs.map +1 -0
  602. package/dist/components/FileUploader/index.js +41 -0
  603. package/dist/components/FileUploader/index.js.map +1 -0
  604. package/dist/components/FileUploader/useFileQueue.cjs +2 -0
  605. package/dist/components/FileUploader/useFileQueue.cjs.map +1 -0
  606. package/dist/components/FileUploader/useFileQueue.d.ts +4 -0
  607. package/dist/components/FileUploader/useFileQueue.js +28 -0
  608. package/dist/components/FileUploader/useFileQueue.js.map +1 -0
  609. package/dist/components/FileUploader/useFileUploaderAttachment.cjs +2 -0
  610. package/dist/components/FileUploader/useFileUploaderAttachment.cjs.map +1 -0
  611. package/dist/components/FileUploader/useFileUploaderAttachment.d.ts +10 -0
  612. package/dist/components/FileUploader/useFileUploaderAttachment.js +24 -0
  613. package/dist/components/FileUploader/useFileUploaderAttachment.js.map +1 -0
  614. package/dist/components/FileUploader/useFileUploaderInput.cjs +2 -0
  615. package/dist/components/FileUploader/useFileUploaderInput.cjs.map +1 -0
  616. package/dist/components/FileUploader/useFileUploaderInput.d.ts +17 -0
  617. package/dist/components/FileUploader/useFileUploaderInput.js +80 -0
  618. package/dist/components/FileUploader/useFileUploaderInput.js.map +1 -0
  619. package/dist/components/FileUploader/useFileUploaderStyleProps.cjs +2 -0
  620. package/dist/components/FileUploader/useFileUploaderStyleProps.cjs.map +1 -0
  621. package/dist/components/FileUploader/useFileUploaderStyleProps.d.ts +55 -0
  622. package/dist/components/FileUploader/useFileUploaderStyleProps.js +63 -0
  623. package/dist/components/FileUploader/useFileUploaderStyleProps.js.map +1 -0
  624. package/dist/components/FileUploader/utils.cjs +2 -0
  625. package/dist/components/FileUploader/utils.cjs.map +1 -0
  626. package/dist/components/FileUploader/utils.d.ts +6 -0
  627. package/dist/components/FileUploader/utils.js +37 -0
  628. package/dist/components/FileUploader/utils.js.map +1 -0
  629. package/dist/components/FileUploader.d.ts +2 -0
  630. package/dist/components/Flex/Flex.cjs +2 -0
  631. package/dist/components/Flex/Flex.cjs.map +1 -0
  632. package/dist/components/Flex/Flex.d.ts +3 -0
  633. package/dist/components/Flex/Flex.js +33 -0
  634. package/dist/components/Flex/Flex.js.map +1 -0
  635. package/dist/components/Flex/index.cjs +2 -0
  636. package/dist/components/Flex/index.cjs.map +1 -0
  637. package/dist/components/Flex/index.js +7 -0
  638. package/dist/components/Flex/index.js.map +1 -0
  639. package/dist/components/Flex/useFlexStyleProps.cjs +2 -0
  640. package/dist/components/Flex/useFlexStyleProps.cjs.map +1 -0
  641. package/dist/components/Flex/useFlexStyleProps.d.ts +12 -0
  642. package/dist/components/Flex/useFlexStyleProps.js +37 -0
  643. package/dist/components/Flex/useFlexStyleProps.js.map +1 -0
  644. package/dist/components/Flex.d.ts +2 -0
  645. package/dist/components/Footer/Footer.cjs +2 -0
  646. package/dist/components/Footer/Footer.cjs.map +1 -0
  647. package/dist/components/Footer/Footer.d.ts +3 -0
  648. package/dist/components/Footer/Footer.js +28 -0
  649. package/dist/components/Footer/Footer.js.map +1 -0
  650. package/dist/components/Footer/constants.cjs +2 -0
  651. package/dist/components/Footer/constants.cjs.map +1 -0
  652. package/dist/components/Footer/constants.js +6 -0
  653. package/dist/components/Footer/constants.js.map +1 -0
  654. package/dist/components/Footer/index.cjs +2 -0
  655. package/dist/components/Footer/index.cjs.map +1 -0
  656. package/dist/components/Footer/index.js +5 -0
  657. package/dist/components/Footer/index.js.map +1 -0
  658. package/dist/components/Footer/useFooterStyleProps.cjs +2 -0
  659. package/dist/components/Footer/useFooterStyleProps.cjs.map +1 -0
  660. package/dist/components/Footer/useFooterStyleProps.d.ts +5 -0
  661. package/dist/components/Footer/useFooterStyleProps.js +14 -0
  662. package/dist/components/Footer/useFooterStyleProps.js.map +1 -0
  663. package/dist/components/Footer.d.ts +2 -0
  664. package/dist/components/Grid/Grid.cjs +2 -0
  665. package/dist/components/Grid/Grid.cjs.map +1 -0
  666. package/dist/components/Grid/Grid.d.ts +3 -0
  667. package/dist/components/Grid/Grid.js +21 -0
  668. package/dist/components/Grid/Grid.js.map +1 -0
  669. package/dist/components/Grid/GridItem.cjs +2 -0
  670. package/dist/components/Grid/GridItem.cjs.map +1 -0
  671. package/dist/components/Grid/GridItem.d.ts +3 -0
  672. package/dist/components/Grid/GridItem.js +18 -0
  673. package/dist/components/Grid/GridItem.js.map +1 -0
  674. package/dist/components/Grid/index.cjs +2 -0
  675. package/dist/components/Grid/index.cjs.map +1 -0
  676. package/dist/components/Grid/index.js +9 -0
  677. package/dist/components/Grid/index.js.map +1 -0
  678. package/dist/components/Grid/useGridItemStyleProps.cjs +2 -0
  679. package/dist/components/Grid/useGridItemStyleProps.cjs.map +1 -0
  680. package/dist/components/Grid/useGridItemStyleProps.d.ts +12 -0
  681. package/dist/components/Grid/useGridItemStyleProps.js +35 -0
  682. package/dist/components/Grid/useGridItemStyleProps.js.map +1 -0
  683. package/dist/components/Grid/useGridStyleProps.cjs +2 -0
  684. package/dist/components/Grid/useGridStyleProps.cjs.map +1 -0
  685. package/dist/components/Grid/useGridStyleProps.d.ts +12 -0
  686. package/dist/components/Grid/useGridStyleProps.js +32 -0
  687. package/dist/components/Grid/useGridStyleProps.js.map +1 -0
  688. package/dist/components/Grid.d.ts +2 -0
  689. package/dist/components/Header/Header.cjs +3 -0
  690. package/dist/components/Header/Header.cjs.map +1 -0
  691. package/dist/components/Header/Header.d.ts +7 -0
  692. package/dist/components/Header/Header.js +22 -0
  693. package/dist/components/Header/Header.js.map +1 -0
  694. package/dist/components/Header/HeaderButton.cjs +2 -0
  695. package/dist/components/Header/HeaderButton.cjs.map +1 -0
  696. package/dist/components/Header/HeaderButton.d.ts +7 -0
  697. package/dist/components/Header/HeaderButton.js +22 -0
  698. package/dist/components/Header/HeaderButton.js.map +1 -0
  699. package/dist/components/Header/HeaderDesktopActions.cjs +2 -0
  700. package/dist/components/Header/HeaderDesktopActions.cjs.map +1 -0
  701. package/dist/components/Header/HeaderDesktopActions.d.ts +7 -0
  702. package/dist/components/Header/HeaderDesktopActions.js +23 -0
  703. package/dist/components/Header/HeaderDesktopActions.js.map +1 -0
  704. package/dist/components/Header/HeaderDialog.cjs +2 -0
  705. package/dist/components/Header/HeaderDialog.cjs.map +1 -0
  706. package/dist/components/Header/HeaderDialog.d.ts +7 -0
  707. package/dist/components/Header/HeaderDialog.js +28 -0
  708. package/dist/components/Header/HeaderDialog.js.map +1 -0
  709. package/dist/components/Header/HeaderDialogActions.cjs +2 -0
  710. package/dist/components/Header/HeaderDialogActions.cjs.map +1 -0
  711. package/dist/components/Header/HeaderDialogActions.d.ts +7 -0
  712. package/dist/components/Header/HeaderDialogActions.js +22 -0
  713. package/dist/components/Header/HeaderDialogActions.js.map +1 -0
  714. package/dist/components/Header/HeaderDialogButton.cjs +2 -0
  715. package/dist/components/Header/HeaderDialogButton.cjs.map +1 -0
  716. package/dist/components/Header/HeaderDialogButton.d.ts +7 -0
  717. package/dist/components/Header/HeaderDialogButton.js +22 -0
  718. package/dist/components/Header/HeaderDialogButton.js.map +1 -0
  719. package/dist/components/Header/HeaderDialogCloseButton.cjs +2 -0
  720. package/dist/components/Header/HeaderDialogCloseButton.cjs.map +1 -0
  721. package/dist/components/Header/HeaderDialogCloseButton.d.ts +7 -0
  722. package/dist/components/Header/HeaderDialogCloseButton.js +35 -0
  723. package/dist/components/Header/HeaderDialogCloseButton.js.map +1 -0
  724. package/dist/components/Header/HeaderDialogContext.cjs +2 -0
  725. package/dist/components/Header/HeaderDialogContext.cjs.map +1 -0
  726. package/dist/components/Header/HeaderDialogContext.d.ts +12 -0
  727. package/dist/components/Header/HeaderDialogContext.js +13 -0
  728. package/dist/components/Header/HeaderDialogContext.js.map +1 -0
  729. package/dist/components/Header/HeaderDialogLink.cjs +2 -0
  730. package/dist/components/Header/HeaderDialogLink.cjs.map +1 -0
  731. package/dist/components/Header/HeaderDialogLink.d.ts +3 -0
  732. package/dist/components/Header/HeaderDialogLink.js +22 -0
  733. package/dist/components/Header/HeaderDialogLink.js.map +1 -0
  734. package/dist/components/Header/HeaderDialogNav.cjs +2 -0
  735. package/dist/components/Header/HeaderDialogNav.cjs.map +1 -0
  736. package/dist/components/Header/HeaderDialogNav.d.ts +7 -0
  737. package/dist/components/Header/HeaderDialogNav.js +21 -0
  738. package/dist/components/Header/HeaderDialogNav.js.map +1 -0
  739. package/dist/components/Header/HeaderDialogNavItem.cjs +2 -0
  740. package/dist/components/Header/HeaderDialogNavItem.cjs.map +1 -0
  741. package/dist/components/Header/HeaderDialogNavItem.d.ts +7 -0
  742. package/dist/components/Header/HeaderDialogNavItem.js +21 -0
  743. package/dist/components/Header/HeaderDialogNavItem.js.map +1 -0
  744. package/dist/components/Header/HeaderDialogText.cjs +2 -0
  745. package/dist/components/Header/HeaderDialogText.cjs.map +1 -0
  746. package/dist/components/Header/HeaderDialogText.d.ts +7 -0
  747. package/dist/components/Header/HeaderDialogText.js +21 -0
  748. package/dist/components/Header/HeaderDialogText.js.map +1 -0
  749. package/dist/components/Header/HeaderLink.cjs +2 -0
  750. package/dist/components/Header/HeaderLink.cjs.map +1 -0
  751. package/dist/components/Header/HeaderLink.d.ts +3 -0
  752. package/dist/components/Header/HeaderLink.js +22 -0
  753. package/dist/components/Header/HeaderLink.js.map +1 -0
  754. package/dist/components/Header/HeaderMobileActions.cjs +2 -0
  755. package/dist/components/Header/HeaderMobileActions.cjs.map +1 -0
  756. package/dist/components/Header/HeaderMobileActions.d.ts +7 -0
  757. package/dist/components/Header/HeaderMobileActions.js +39 -0
  758. package/dist/components/Header/HeaderMobileActions.js.map +1 -0
  759. package/dist/components/Header/HeaderNav.cjs +2 -0
  760. package/dist/components/Header/HeaderNav.cjs.map +1 -0
  761. package/dist/components/Header/HeaderNav.d.ts +7 -0
  762. package/dist/components/Header/HeaderNav.js +14 -0
  763. package/dist/components/Header/HeaderNav.js.map +1 -0
  764. package/dist/components/Header/HeaderNavItem.cjs +2 -0
  765. package/dist/components/Header/HeaderNavItem.cjs.map +1 -0
  766. package/dist/components/Header/HeaderNavItem.d.ts +7 -0
  767. package/dist/components/Header/HeaderNavItem.js +21 -0
  768. package/dist/components/Header/HeaderNavItem.js.map +1 -0
  769. package/dist/components/Header/constants.cjs +2 -0
  770. package/dist/components/Header/constants.cjs.map +1 -0
  771. package/dist/components/Header/constants.js +8 -0
  772. package/dist/components/Header/constants.js.map +1 -0
  773. package/dist/components/Header/index.cjs +2 -0
  774. package/dist/components/Header/index.cjs.map +1 -0
  775. package/dist/components/Header/index.js +44 -0
  776. package/dist/components/Header/index.js.map +1 -0
  777. package/dist/components/Header/useHeaderStyleProps.cjs +2 -0
  778. package/dist/components/Header/useHeaderStyleProps.cjs.map +1 -0
  779. package/dist/components/Header/useHeaderStyleProps.d.ts +32 -0
  780. package/dist/components/Header/useHeaderStyleProps.js +45 -0
  781. package/dist/components/Header/useHeaderStyleProps.js.map +1 -0
  782. package/dist/components/Header.d.ts +2 -0
  783. package/dist/components/Heading/Heading.cjs +2 -0
  784. package/dist/components/Heading/Heading.cjs.map +1 -0
  785. package/dist/components/Heading/Heading.d.ts +7 -0
  786. package/dist/components/Heading/Heading.js +27 -0
  787. package/dist/components/Heading/Heading.js.map +1 -0
  788. package/dist/components/Heading/index.cjs +2 -0
  789. package/dist/components/Heading/index.cjs.map +1 -0
  790. package/dist/components/Heading/index.js +7 -0
  791. package/dist/components/Heading/index.js.map +1 -0
  792. package/dist/components/Heading/useHeadingStyleProps.cjs +2 -0
  793. package/dist/components/Heading/useHeadingStyleProps.cjs.map +1 -0
  794. package/dist/components/Heading/useHeadingStyleProps.d.ts +7 -0
  795. package/dist/components/Heading/useHeadingStyleProps.js +15 -0
  796. package/dist/components/Heading/useHeadingStyleProps.js.map +1 -0
  797. package/dist/components/Heading.d.ts +2 -0
  798. package/dist/components/Hidden/Hidden.cjs +2 -0
  799. package/dist/components/Hidden/Hidden.cjs.map +1 -0
  800. package/dist/components/Hidden/Hidden.d.ts +3 -0
  801. package/dist/components/Hidden/Hidden.js +21 -0
  802. package/dist/components/Hidden/Hidden.js.map +1 -0
  803. package/dist/components/Hidden/index.cjs +2 -0
  804. package/dist/components/Hidden/index.cjs.map +1 -0
  805. package/dist/components/Hidden/index.js +5 -0
  806. package/dist/components/Hidden/index.js.map +1 -0
  807. package/dist/components/Hidden.d.ts +2 -0
  808. package/dist/components/Icon/Icon.cjs +2 -0
  809. package/dist/components/Icon/Icon.cjs.map +1 -0
  810. package/dist/components/Icon/Icon.d.ts +3 -0
  811. package/dist/components/Icon/Icon.js +43 -0
  812. package/dist/components/Icon/Icon.js.map +1 -0
  813. package/dist/components/Icon/constants.cjs +2 -0
  814. package/dist/components/Icon/constants.cjs.map +1 -0
  815. package/dist/components/Icon/constants.js +5 -0
  816. package/dist/components/Icon/constants.js.map +1 -0
  817. package/dist/components/Icon/index.cjs +2 -0
  818. package/dist/components/Icon/index.cjs.map +1 -0
  819. package/dist/components/Icon/index.js +7 -0
  820. package/dist/components/Icon/index.js.map +1 -0
  821. package/dist/components/Icon/useIconBoxSize.cjs +2 -0
  822. package/dist/components/Icon/useIconBoxSize.cjs.map +1 -0
  823. package/dist/components/Icon/useIconBoxSize.d.ts +2 -0
  824. package/dist/components/Icon/useIconBoxSize.js +6 -0
  825. package/dist/components/Icon/useIconBoxSize.js.map +1 -0
  826. package/dist/components/Icon/useIconStyleProps.cjs +2 -0
  827. package/dist/components/Icon/useIconStyleProps.cjs.map +1 -0
  828. package/dist/components/Icon/useIconStyleProps.d.ts +8 -0
  829. package/dist/components/Icon/useIconStyleProps.js +26 -0
  830. package/dist/components/Icon/useIconStyleProps.js.map +1 -0
  831. package/dist/components/Icon/utils.d.ts +4 -0
  832. package/dist/components/Icon.d.ts +2 -0
  833. package/dist/components/IconBox/IconBox.cjs +2 -0
  834. package/dist/components/IconBox/IconBox.cjs.map +1 -0
  835. package/dist/components/IconBox/IconBox.d.ts +3 -0
  836. package/dist/components/IconBox/IconBox.js +56 -0
  837. package/dist/components/IconBox/IconBox.js.map +1 -0
  838. package/dist/components/IconBox/constants.cjs +2 -0
  839. package/dist/components/IconBox/constants.cjs.map +1 -0
  840. package/dist/components/IconBox/constants.js +22 -0
  841. package/dist/components/IconBox/constants.js.map +1 -0
  842. package/dist/components/IconBox/index.cjs +2 -0
  843. package/dist/components/IconBox/index.cjs.map +1 -0
  844. package/dist/components/IconBox/index.js +9 -0
  845. package/dist/components/IconBox/index.js.map +1 -0
  846. package/dist/components/IconBox/useIconBoxColors.cjs +2 -0
  847. package/dist/components/IconBox/useIconBoxColors.cjs.map +1 -0
  848. package/dist/components/IconBox/useIconBoxColors.d.ts +9 -0
  849. package/dist/components/IconBox/useIconBoxColors.js +17 -0
  850. package/dist/components/IconBox/useIconBoxColors.js.map +1 -0
  851. package/dist/components/IconBox/useIconBoxStyleProps.cjs +2 -0
  852. package/dist/components/IconBox/useIconBoxStyleProps.cjs.map +1 -0
  853. package/dist/components/IconBox/useIconBoxStyleProps.d.ts +13 -0
  854. package/dist/components/IconBox/useIconBoxStyleProps.js +31 -0
  855. package/dist/components/IconBox/useIconBoxStyleProps.js.map +1 -0
  856. package/dist/components/IconBox.d.ts +2 -0
  857. package/dist/components/Item/Item.cjs +2 -0
  858. package/dist/components/Item/Item.cjs.map +1 -0
  859. package/dist/components/Item/Item.d.ts +7 -0
  860. package/dist/components/Item/Item.js +37 -0
  861. package/dist/components/Item/Item.js.map +1 -0
  862. package/dist/components/Item/index.cjs +2 -0
  863. package/dist/components/Item/index.cjs.map +1 -0
  864. package/dist/components/Item/index.js +7 -0
  865. package/dist/components/Item/index.js.map +1 -0
  866. package/dist/components/Item/useItemStyleProps.cjs +2 -0
  867. package/dist/components/Item/useItemStyleProps.cjs.map +1 -0
  868. package/dist/components/Item/useItemStyleProps.d.ts +15 -0
  869. package/dist/components/Item/useItemStyleProps.js +26 -0
  870. package/dist/components/Item/useItemStyleProps.js.map +1 -0
  871. package/dist/components/Item.d.ts +2 -0
  872. package/dist/components/Link/Link.cjs +2 -0
  873. package/dist/components/Link/Link.cjs.map +1 -0
  874. package/dist/components/Link/Link.d.ts +3 -0
  875. package/dist/components/Link/Link.js +21 -0
  876. package/dist/components/Link/Link.js.map +1 -0
  877. package/dist/components/Link/constants.cjs +2 -0
  878. package/dist/components/Link/constants.cjs.map +1 -0
  879. package/dist/components/Link/constants.d.ts +3 -0
  880. package/dist/components/Link/constants.js +7 -0
  881. package/dist/components/Link/constants.js.map +1 -0
  882. package/dist/components/Link/index.cjs +2 -0
  883. package/dist/components/Link/index.cjs.map +1 -0
  884. package/dist/components/Link/index.d.ts +3 -0
  885. package/dist/components/Link/index.js +9 -0
  886. package/dist/components/Link/index.js.map +1 -0
  887. package/dist/components/Link/useLinkStyleProps.cjs +2 -0
  888. package/dist/components/Link/useLinkStyleProps.cjs.map +1 -0
  889. package/dist/components/Link/useLinkStyleProps.d.ts +5 -0
  890. package/dist/components/Link/useLinkStyleProps.js +19 -0
  891. package/dist/components/Link/useLinkStyleProps.js.map +1 -0
  892. package/dist/components/Link.d.ts +2 -0
  893. package/dist/components/Matrix/Matrix.cjs +2 -0
  894. package/dist/components/Matrix/Matrix.cjs.map +1 -0
  895. package/dist/components/Matrix/Matrix.d.ts +7 -0
  896. package/dist/components/Matrix/Matrix.js +30 -0
  897. package/dist/components/Matrix/Matrix.js.map +1 -0
  898. package/dist/components/Matrix/constants.cjs +2 -0
  899. package/dist/components/Matrix/constants.cjs.map +1 -0
  900. package/dist/components/Matrix/constants.js +9 -0
  901. package/dist/components/Matrix/constants.js.map +1 -0
  902. package/dist/components/Matrix/index.cjs +2 -0
  903. package/dist/components/Matrix/index.cjs.map +1 -0
  904. package/dist/components/Matrix/index.js +8 -0
  905. package/dist/components/Matrix/index.js.map +1 -0
  906. package/dist/components/Matrix/useMatrixStyleProps.cjs +2 -0
  907. package/dist/components/Matrix/useMatrixStyleProps.cjs.map +1 -0
  908. package/dist/components/Matrix/useMatrixStyleProps.d.ts +9 -0
  909. package/dist/components/Matrix/useMatrixStyleProps.js +36 -0
  910. package/dist/components/Matrix/useMatrixStyleProps.js.map +1 -0
  911. package/dist/components/Matrix.d.ts +2 -0
  912. package/dist/components/Modal/Modal.cjs +2 -0
  913. package/dist/components/Modal/Modal.cjs.map +1 -0
  914. package/dist/components/Modal/Modal.d.ts +7 -0
  915. package/dist/components/Modal/Modal.js +34 -0
  916. package/dist/components/Modal/Modal.js.map +1 -0
  917. package/dist/components/Modal/ModalBody.cjs +2 -0
  918. package/dist/components/Modal/ModalBody.cjs.map +1 -0
  919. package/dist/components/Modal/ModalBody.d.ts +7 -0
  920. package/dist/components/Modal/ModalBody.js +14 -0
  921. package/dist/components/Modal/ModalBody.js.map +1 -0
  922. package/dist/components/Modal/ModalCloseButton.cjs +2 -0
  923. package/dist/components/Modal/ModalCloseButton.cjs.map +1 -0
  924. package/dist/components/Modal/ModalCloseButton.d.ts +7 -0
  925. package/dist/components/Modal/ModalCloseButton.js +18 -0
  926. package/dist/components/Modal/ModalCloseButton.js.map +1 -0
  927. package/dist/components/Modal/ModalContext.cjs +2 -0
  928. package/dist/components/Modal/ModalContext.cjs.map +1 -0
  929. package/dist/components/Modal/ModalContext.d.ts +10 -0
  930. package/dist/components/Modal/ModalContext.js +13 -0
  931. package/dist/components/Modal/ModalContext.js.map +1 -0
  932. package/dist/components/Modal/ModalDialog.cjs +2 -0
  933. package/dist/components/Modal/ModalDialog.cjs.map +1 -0
  934. package/dist/components/Modal/ModalDialog.d.ts +4 -0
  935. package/dist/components/Modal/ModalDialog.js +24 -0
  936. package/dist/components/Modal/ModalDialog.js.map +1 -0
  937. package/dist/components/Modal/ModalFooter.cjs +2 -0
  938. package/dist/components/Modal/ModalFooter.cjs.map +1 -0
  939. package/dist/components/Modal/ModalFooter.d.ts +7 -0
  940. package/dist/components/Modal/ModalFooter.js +18 -0
  941. package/dist/components/Modal/ModalFooter.js.map +1 -0
  942. package/dist/components/Modal/ModalHeader.cjs +2 -0
  943. package/dist/components/Modal/ModalHeader.cjs.map +1 -0
  944. package/dist/components/Modal/ModalHeader.d.ts +7 -0
  945. package/dist/components/Modal/ModalHeader.js +22 -0
  946. package/dist/components/Modal/ModalHeader.js.map +1 -0
  947. package/dist/components/Modal/index.cjs +2 -0
  948. package/dist/components/Modal/index.cjs.map +1 -0
  949. package/dist/components/Modal/index.js +21 -0
  950. package/dist/components/Modal/index.js.map +1 -0
  951. package/dist/components/Modal/useModalDialogStyleProps.cjs +2 -0
  952. package/dist/components/Modal/useModalDialogStyleProps.cjs.map +1 -0
  953. package/dist/components/Modal/useModalDialogStyleProps.d.ts +11 -0
  954. package/dist/components/Modal/useModalDialogStyleProps.js +20 -0
  955. package/dist/components/Modal/useModalDialogStyleProps.js.map +1 -0
  956. package/dist/components/Modal/useModalStyleProps.cjs +2 -0
  957. package/dist/components/Modal/useModalStyleProps.cjs.map +1 -0
  958. package/dist/components/Modal/useModalStyleProps.d.ts +24 -0
  959. package/dist/components/Modal/useModalStyleProps.js +47 -0
  960. package/dist/components/Modal/useModalStyleProps.js.map +1 -0
  961. package/dist/components/Modal.d.ts +2 -0
  962. package/dist/components/Navigation/Navigation.cjs +2 -0
  963. package/dist/components/Navigation/Navigation.cjs.map +1 -0
  964. package/dist/components/Navigation/Navigation.d.ts +7 -0
  965. package/dist/components/Navigation/Navigation.js +17 -0
  966. package/dist/components/Navigation/Navigation.js.map +1 -0
  967. package/dist/components/Navigation/NavigationAction.cjs +2 -0
  968. package/dist/components/Navigation/NavigationAction.cjs.map +1 -0
  969. package/dist/components/Navigation/NavigationAction.d.ts +4 -0
  970. package/dist/components/Navigation/NavigationAction.js +23 -0
  971. package/dist/components/Navigation/NavigationAction.js.map +1 -0
  972. package/dist/components/Navigation/NavigationAvatar.cjs +2 -0
  973. package/dist/components/Navigation/NavigationAvatar.cjs.map +1 -0
  974. package/dist/components/Navigation/NavigationAvatar.d.ts +4 -0
  975. package/dist/components/Navigation/NavigationAvatar.js +34 -0
  976. package/dist/components/Navigation/NavigationAvatar.js.map +1 -0
  977. package/dist/components/Navigation/NavigationItem.cjs +2 -0
  978. package/dist/components/Navigation/NavigationItem.cjs.map +1 -0
  979. package/dist/components/Navigation/NavigationItem.d.ts +7 -0
  980. package/dist/components/Navigation/NavigationItem.js +17 -0
  981. package/dist/components/Navigation/NavigationItem.js.map +1 -0
  982. package/dist/components/Navigation/index.cjs +2 -0
  983. package/dist/components/Navigation/index.cjs.map +1 -0
  984. package/dist/components/Navigation/index.js +15 -0
  985. package/dist/components/Navigation/index.js.map +1 -0
  986. package/dist/components/Navigation/useNavigationActionProps.cjs +2 -0
  987. package/dist/components/Navigation/useNavigationActionProps.cjs.map +1 -0
  988. package/dist/components/Navigation/useNavigationActionProps.d.ts +6 -0
  989. package/dist/components/Navigation/useNavigationActionProps.js +14 -0
  990. package/dist/components/Navigation/useNavigationActionProps.js.map +1 -0
  991. package/dist/components/Navigation/useNavigationStyleProps.cjs +2 -0
  992. package/dist/components/Navigation/useNavigationStyleProps.cjs.map +1 -0
  993. package/dist/components/Navigation/useNavigationStyleProps.d.ts +19 -0
  994. package/dist/components/Navigation/useNavigationStyleProps.js +36 -0
  995. package/dist/components/Navigation/useNavigationStyleProps.js.map +1 -0
  996. package/dist/components/Navigation.d.ts +2 -0
  997. package/dist/components/NoSsr/NoSsr.cjs +2 -0
  998. package/dist/components/NoSsr/NoSsr.cjs.map +1 -0
  999. package/dist/components/NoSsr/NoSsr.d.ts +8 -0
  1000. package/dist/components/NoSsr/NoSsr.js +13 -0
  1001. package/dist/components/NoSsr/NoSsr.js.map +1 -0
  1002. package/dist/components/NoSsr/index.cjs +2 -0
  1003. package/dist/components/NoSsr/index.cjs.map +1 -0
  1004. package/dist/components/NoSsr/index.js +5 -0
  1005. package/dist/components/NoSsr/index.js.map +1 -0
  1006. package/dist/components/NoSsr.d.ts +2 -0
  1007. package/dist/components/Pagination/Pagination.cjs +2 -0
  1008. package/dist/components/Pagination/Pagination.cjs.map +1 -0
  1009. package/dist/components/Pagination/Pagination.d.ts +7 -0
  1010. package/dist/components/Pagination/Pagination.js +14 -0
  1011. package/dist/components/Pagination/Pagination.js.map +1 -0
  1012. package/dist/components/Pagination/PaginationButtonLink.cjs +2 -0
  1013. package/dist/components/Pagination/PaginationButtonLink.cjs.map +1 -0
  1014. package/dist/components/Pagination/PaginationButtonLink.d.ts +3 -0
  1015. package/dist/components/Pagination/PaginationButtonLink.js +25 -0
  1016. package/dist/components/Pagination/PaginationButtonLink.js.map +1 -0
  1017. package/dist/components/Pagination/PaginationItem.cjs +2 -0
  1018. package/dist/components/Pagination/PaginationItem.cjs.map +1 -0
  1019. package/dist/components/Pagination/PaginationItem.d.ts +7 -0
  1020. package/dist/components/Pagination/PaginationItem.js +14 -0
  1021. package/dist/components/Pagination/PaginationItem.js.map +1 -0
  1022. package/dist/components/Pagination/PaginationLink.cjs +2 -0
  1023. package/dist/components/Pagination/PaginationLink.cjs.map +1 -0
  1024. package/dist/components/Pagination/PaginationLink.d.ts +4 -0
  1025. package/dist/components/Pagination/PaginationLink.js +23 -0
  1026. package/dist/components/Pagination/PaginationLink.js.map +1 -0
  1027. package/dist/components/Pagination/PaginationLinkNext.cjs +2 -0
  1028. package/dist/components/Pagination/PaginationLinkNext.cjs.map +1 -0
  1029. package/dist/components/Pagination/PaginationLinkNext.d.ts +3 -0
  1030. package/dist/components/Pagination/PaginationLinkNext.js +17 -0
  1031. package/dist/components/Pagination/PaginationLinkNext.js.map +1 -0
  1032. package/dist/components/Pagination/PaginationLinkPrevious.cjs +2 -0
  1033. package/dist/components/Pagination/PaginationLinkPrevious.cjs.map +1 -0
  1034. package/dist/components/Pagination/PaginationLinkPrevious.d.ts +3 -0
  1035. package/dist/components/Pagination/PaginationLinkPrevious.js +17 -0
  1036. package/dist/components/Pagination/PaginationLinkPrevious.js.map +1 -0
  1037. package/dist/components/Pagination/UncontrolledPagination.cjs +2 -0
  1038. package/dist/components/Pagination/UncontrolledPagination.cjs.map +1 -0
  1039. package/dist/components/Pagination/UncontrolledPagination.d.ts +6 -0
  1040. package/dist/components/Pagination/UncontrolledPagination.js +63 -0
  1041. package/dist/components/Pagination/UncontrolledPagination.js.map +1 -0
  1042. package/dist/components/Pagination/index.cjs +2 -0
  1043. package/dist/components/Pagination/index.cjs.map +1 -0
  1044. package/dist/components/Pagination/index.d.ts +8 -0
  1045. package/dist/components/Pagination/index.js +19 -0
  1046. package/dist/components/Pagination/index.js.map +1 -0
  1047. package/dist/components/Pagination/usePagination.cjs +2 -0
  1048. package/dist/components/Pagination/usePagination.cjs.map +1 -0
  1049. package/dist/components/Pagination/usePagination.d.ts +7 -0
  1050. package/dist/components/Pagination/usePagination.js +36 -0
  1051. package/dist/components/Pagination/usePagination.js.map +1 -0
  1052. package/dist/components/Pagination/usePaginationStyleProps.cjs +2 -0
  1053. package/dist/components/Pagination/usePaginationStyleProps.cjs.map +1 -0
  1054. package/dist/components/Pagination/usePaginationStyleProps.js +16 -0
  1055. package/dist/components/Pagination/usePaginationStyleProps.js.map +1 -0
  1056. package/dist/components/Pagination.d.ts +2 -0
  1057. package/dist/components/PartnerLogo/PartnerLogo.cjs +2 -0
  1058. package/dist/components/PartnerLogo/PartnerLogo.cjs.map +1 -0
  1059. package/dist/components/PartnerLogo/PartnerLogo.d.ts +7 -0
  1060. package/dist/components/PartnerLogo/PartnerLogo.js +19 -0
  1061. package/dist/components/PartnerLogo/PartnerLogo.js.map +1 -0
  1062. package/dist/components/PartnerLogo/index.cjs +2 -0
  1063. package/dist/components/PartnerLogo/index.cjs.map +1 -0
  1064. package/dist/components/PartnerLogo/index.js +7 -0
  1065. package/dist/components/PartnerLogo/index.js.map +1 -0
  1066. package/dist/components/PartnerLogo/usePartnerLogoStyleProps.cjs +2 -0
  1067. package/dist/components/PartnerLogo/usePartnerLogoStyleProps.cjs.map +1 -0
  1068. package/dist/components/PartnerLogo/usePartnerLogoStyleProps.d.ts +6 -0
  1069. package/dist/components/PartnerLogo/usePartnerLogoStyleProps.js +21 -0
  1070. package/dist/components/PartnerLogo/usePartnerLogoStyleProps.js.map +1 -0
  1071. package/dist/components/PartnerLogo.d.ts +2 -0
  1072. package/dist/components/Pill/Pill.cjs +2 -0
  1073. package/dist/components/Pill/Pill.cjs.map +1 -0
  1074. package/dist/components/Pill/Pill.d.ts +7 -0
  1075. package/dist/components/Pill/Pill.js +18 -0
  1076. package/dist/components/Pill/Pill.js.map +1 -0
  1077. package/dist/components/Pill/constants.cjs +2 -0
  1078. package/dist/components/Pill/constants.cjs.map +1 -0
  1079. package/dist/components/Pill/constants.js +8 -0
  1080. package/dist/components/Pill/constants.js.map +1 -0
  1081. package/dist/components/Pill/index.cjs +2 -0
  1082. package/dist/components/Pill/index.cjs.map +1 -0
  1083. package/dist/components/Pill/index.js +9 -0
  1084. package/dist/components/Pill/index.js.map +1 -0
  1085. package/dist/components/Pill/usePillStyleProps.cjs +2 -0
  1086. package/dist/components/Pill/usePillStyleProps.cjs.map +1 -0
  1087. package/dist/components/Pill/usePillStyleProps.d.ts +7 -0
  1088. package/dist/components/Pill/usePillStyleProps.js +13 -0
  1089. package/dist/components/Pill/usePillStyleProps.js.map +1 -0
  1090. package/dist/components/Pill.d.ts +2 -0
  1091. package/dist/components/PricingPlan/PricingPlan.cjs +2 -0
  1092. package/dist/components/PricingPlan/PricingPlan.cjs.map +1 -0
  1093. package/dist/components/PricingPlan/PricingPlan.d.ts +7 -0
  1094. package/dist/components/PricingPlan/PricingPlan.js +24 -0
  1095. package/dist/components/PricingPlan/PricingPlan.js.map +1 -0
  1096. package/dist/components/PricingPlan/PricingPlanBody.cjs +2 -0
  1097. package/dist/components/PricingPlan/PricingPlanBody.cjs.map +1 -0
  1098. package/dist/components/PricingPlan/PricingPlanBody.d.ts +7 -0
  1099. package/dist/components/PricingPlan/PricingPlanBody.js +30 -0
  1100. package/dist/components/PricingPlan/PricingPlanBody.js.map +1 -0
  1101. package/dist/components/PricingPlan/PricingPlanFeatureTitle.cjs +2 -0
  1102. package/dist/components/PricingPlan/PricingPlanFeatureTitle.cjs.map +1 -0
  1103. package/dist/components/PricingPlan/PricingPlanFeatureTitle.d.ts +10 -0
  1104. package/dist/components/PricingPlan/PricingPlanFeatureTitle.js +69 -0
  1105. package/dist/components/PricingPlan/PricingPlanFeatureTitle.js.map +1 -0
  1106. package/dist/components/PricingPlan/PricingPlanFooter.cjs +2 -0
  1107. package/dist/components/PricingPlan/PricingPlanFooter.cjs.map +1 -0
  1108. package/dist/components/PricingPlan/PricingPlanFooter.d.ts +7 -0
  1109. package/dist/components/PricingPlan/PricingPlanFooter.js +14 -0
  1110. package/dist/components/PricingPlan/PricingPlanFooter.js.map +1 -0
  1111. package/dist/components/PricingPlan/PricingPlanHeader.cjs +2 -0
  1112. package/dist/components/PricingPlan/PricingPlanHeader.cjs.map +1 -0
  1113. package/dist/components/PricingPlan/PricingPlanHeader.d.ts +7 -0
  1114. package/dist/components/PricingPlan/PricingPlanHeader.js +34 -0
  1115. package/dist/components/PricingPlan/PricingPlanHeader.js.map +1 -0
  1116. package/dist/components/PricingPlan/constants.cjs +2 -0
  1117. package/dist/components/PricingPlan/constants.cjs.map +1 -0
  1118. package/dist/components/PricingPlan/constants.js +5 -0
  1119. package/dist/components/PricingPlan/constants.js.map +1 -0
  1120. package/dist/components/PricingPlan/index.cjs +2 -0
  1121. package/dist/components/PricingPlan/index.cjs.map +1 -0
  1122. package/dist/components/PricingPlan/index.js +13 -0
  1123. package/dist/components/PricingPlan/index.js.map +1 -0
  1124. package/dist/components/PricingPlan/usePricingPlanStyleProps.cjs +2 -0
  1125. package/dist/components/PricingPlan/usePricingPlanStyleProps.cjs.map +1 -0
  1126. package/dist/components/PricingPlan/usePricingPlanStyleProps.d.ts +35 -0
  1127. package/dist/components/PricingPlan/usePricingPlanStyleProps.js +41 -0
  1128. package/dist/components/PricingPlan/usePricingPlanStyleProps.js.map +1 -0
  1129. package/dist/components/PricingPlan.d.ts +2 -0
  1130. package/dist/components/ProductLogo/ProductLogo.cjs +2 -0
  1131. package/dist/components/ProductLogo/ProductLogo.cjs.map +1 -0
  1132. package/dist/components/ProductLogo/ProductLogo.d.ts +7 -0
  1133. package/dist/components/ProductLogo/ProductLogo.js +14 -0
  1134. package/dist/components/ProductLogo/ProductLogo.js.map +1 -0
  1135. package/dist/components/ProductLogo/index.cjs +2 -0
  1136. package/dist/components/ProductLogo/index.cjs.map +1 -0
  1137. package/dist/components/ProductLogo/index.js +5 -0
  1138. package/dist/components/ProductLogo/index.js.map +1 -0
  1139. package/dist/components/ProductLogo.d.ts +2 -0
  1140. package/dist/components/Radio/Radio.cjs +2 -0
  1141. package/dist/components/Radio/Radio.cjs.map +1 -0
  1142. package/dist/components/Radio/Radio.d.ts +3 -0
  1143. package/dist/components/Radio/Radio.js +58 -0
  1144. package/dist/components/Radio/Radio.js.map +1 -0
  1145. package/dist/components/Radio/index.cjs +2 -0
  1146. package/dist/components/Radio/index.cjs.map +1 -0
  1147. package/dist/components/Radio/index.js +7 -0
  1148. package/dist/components/Radio/index.js.map +1 -0
  1149. package/dist/components/Radio/useRadioStyleProps.cjs +2 -0
  1150. package/dist/components/Radio/useRadioStyleProps.cjs.map +1 -0
  1151. package/dist/components/Radio/useRadioStyleProps.d.ts +12 -0
  1152. package/dist/components/Radio/useRadioStyleProps.js +28 -0
  1153. package/dist/components/Radio/useRadioStyleProps.js.map +1 -0
  1154. package/dist/components/Radio.d.ts +2 -0
  1155. package/dist/components/ScrollView/ScrollView.cjs +2 -0
  1156. package/dist/components/ScrollView/ScrollView.cjs.map +1 -0
  1157. package/dist/components/ScrollView/ScrollView.d.ts +7 -0
  1158. package/dist/components/ScrollView/ScrollView.js +49 -0
  1159. package/dist/components/ScrollView/ScrollView.js.map +1 -0
  1160. package/dist/components/ScrollView/ScrollViewArrows.cjs +2 -0
  1161. package/dist/components/ScrollView/ScrollViewArrows.cjs.map +1 -0
  1162. package/dist/components/ScrollView/ScrollViewArrows.d.ts +7 -0
  1163. package/dist/components/ScrollView/ScrollViewArrows.js +21 -0
  1164. package/dist/components/ScrollView/ScrollViewArrows.js.map +1 -0
  1165. package/dist/components/ScrollView/constants.cjs +2 -0
  1166. package/dist/components/ScrollView/constants.cjs.map +1 -0
  1167. package/dist/components/ScrollView/constants.js +14 -0
  1168. package/dist/components/ScrollView/constants.js.map +1 -0
  1169. package/dist/components/ScrollView/index.cjs +2 -0
  1170. package/dist/components/ScrollView/index.cjs.map +1 -0
  1171. package/dist/components/ScrollView/index.js +25 -0
  1172. package/dist/components/ScrollView/index.js.map +1 -0
  1173. package/dist/components/ScrollView/useScrollCallback.cjs +2 -0
  1174. package/dist/components/ScrollView/useScrollCallback.cjs.map +1 -0
  1175. package/dist/components/ScrollView/useScrollCallback.d.ts +10 -0
  1176. package/dist/components/ScrollView/useScrollCallback.js +36 -0
  1177. package/dist/components/ScrollView/useScrollCallback.js.map +1 -0
  1178. package/dist/components/ScrollView/useScrollPosition.cjs +2 -0
  1179. package/dist/components/ScrollView/useScrollPosition.cjs.map +1 -0
  1180. package/dist/components/ScrollView/useScrollPosition.d.ts +16 -0
  1181. package/dist/components/ScrollView/useScrollPosition.js +42 -0
  1182. package/dist/components/ScrollView/useScrollPosition.js.map +1 -0
  1183. package/dist/components/ScrollView/useScrollViewArrows.cjs +2 -0
  1184. package/dist/components/ScrollView/useScrollViewArrows.cjs.map +1 -0
  1185. package/dist/components/ScrollView/useScrollViewArrows.d.ts +9 -0
  1186. package/dist/components/ScrollView/useScrollViewArrows.js +26 -0
  1187. package/dist/components/ScrollView/useScrollViewArrows.js.map +1 -0
  1188. package/dist/components/ScrollView/useScrollViewStyleProps.cjs +2 -0
  1189. package/dist/components/ScrollView/useScrollViewStyleProps.cjs.map +1 -0
  1190. package/dist/components/ScrollView/useScrollViewStyleProps.d.ts +18 -0
  1191. package/dist/components/ScrollView/useScrollViewStyleProps.js +33 -0
  1192. package/dist/components/ScrollView/useScrollViewStyleProps.js.map +1 -0
  1193. package/dist/components/ScrollView.d.ts +2 -0
  1194. package/dist/components/Section/Section.cjs +2 -0
  1195. package/dist/components/Section/Section.cjs.map +1 -0
  1196. package/dist/components/Section/Section.d.ts +3 -0
  1197. package/dist/components/Section/Section.js +37 -0
  1198. package/dist/components/Section/Section.js.map +1 -0
  1199. package/dist/components/Section/index.cjs +2 -0
  1200. package/dist/components/Section/index.cjs.map +1 -0
  1201. package/dist/components/Section/index.js +9 -0
  1202. package/dist/components/Section/index.js.map +1 -0
  1203. package/dist/components/Section/useSectionSizeProps.cjs +2 -0
  1204. package/dist/components/Section/useSectionSizeProps.cjs.map +1 -0
  1205. package/dist/components/Section/useSectionSizeProps.d.ts +4 -0
  1206. package/dist/components/Section/useSectionSizeProps.js +17 -0
  1207. package/dist/components/Section/useSectionSizeProps.js.map +1 -0
  1208. package/dist/components/Section/useSectionStyleProps.cjs +2 -0
  1209. package/dist/components/Section/useSectionStyleProps.cjs.map +1 -0
  1210. package/dist/components/Section/useSectionStyleProps.d.ts +4 -0
  1211. package/dist/components/Section/useSectionStyleProps.js +14 -0
  1212. package/dist/components/Section/useSectionStyleProps.js.map +1 -0
  1213. package/dist/components/Section.d.ts +2 -0
  1214. package/dist/components/SegmentedControl/SegmentedControl.cjs +2 -0
  1215. package/dist/components/SegmentedControl/SegmentedControl.cjs.map +1 -0
  1216. package/dist/components/SegmentedControl/SegmentedControl.d.ts +7 -0
  1217. package/dist/components/SegmentedControl/SegmentedControl.js +30 -0
  1218. package/dist/components/SegmentedControl/SegmentedControl.js.map +1 -0
  1219. package/dist/components/SegmentedControl/SegmentedControlContext.cjs +2 -0
  1220. package/dist/components/SegmentedControl/SegmentedControlContext.cjs.map +1 -0
  1221. package/dist/components/SegmentedControl/SegmentedControlContext.d.ts +12 -0
  1222. package/dist/components/SegmentedControl/SegmentedControlContext.js +16 -0
  1223. package/dist/components/SegmentedControl/SegmentedControlContext.js.map +1 -0
  1224. package/dist/components/SegmentedControl/SegmentedControlItem.cjs +2 -0
  1225. package/dist/components/SegmentedControl/SegmentedControlItem.cjs.map +1 -0
  1226. package/dist/components/SegmentedControl/SegmentedControlItem.d.ts +3 -0
  1227. package/dist/components/SegmentedControl/SegmentedControlItem.js +47 -0
  1228. package/dist/components/SegmentedControl/SegmentedControlItem.js.map +1 -0
  1229. package/dist/components/SegmentedControl/UncontrolledSegmentedControl.d.ts +7 -0
  1230. package/dist/components/SegmentedControl/index.cjs +2 -0
  1231. package/dist/components/SegmentedControl/index.cjs.map +1 -0
  1232. package/dist/components/SegmentedControl/index.js +11 -0
  1233. package/dist/components/SegmentedControl/index.js.map +1 -0
  1234. package/dist/components/SegmentedControl/useSegmentedControl.cjs +2 -0
  1235. package/dist/components/SegmentedControl/useSegmentedControl.cjs.map +1 -0
  1236. package/dist/components/SegmentedControl/useSegmentedControl.d.ts +9 -0
  1237. package/dist/components/SegmentedControl/useSegmentedControl.js +15 -0
  1238. package/dist/components/SegmentedControl/useSegmentedControl.js.map +1 -0
  1239. package/dist/components/SegmentedControl/useSegmentedControlStyleProps.cjs +2 -0
  1240. package/dist/components/SegmentedControl/useSegmentedControlStyleProps.cjs.map +1 -0
  1241. package/dist/components/SegmentedControl/useSegmentedControlStyleProps.d.ts +12 -0
  1242. package/dist/components/SegmentedControl/useSegmentedControlStyleProps.js +20 -0
  1243. package/dist/components/SegmentedControl/useSegmentedControlStyleProps.js.map +1 -0
  1244. package/dist/components/SegmentedControl.d.ts +2 -0
  1245. package/dist/components/Select/Select.cjs +2 -0
  1246. package/dist/components/Select/Select.cjs.map +1 -0
  1247. package/dist/components/Select/Select.d.ts +3 -0
  1248. package/dist/components/Select/Select.js +87 -0
  1249. package/dist/components/Select/Select.js.map +1 -0
  1250. package/dist/components/Select/index.cjs +2 -0
  1251. package/dist/components/Select/index.cjs.map +1 -0
  1252. package/dist/components/Select/index.js +7 -0
  1253. package/dist/components/Select/index.js.map +1 -0
  1254. package/dist/components/Select/useSelectStyleProps.cjs +2 -0
  1255. package/dist/components/Select/useSelectStyleProps.cjs.map +1 -0
  1256. package/dist/components/Select/useSelectStyleProps.d.ts +19 -0
  1257. package/dist/components/Select/useSelectStyleProps.js +35 -0
  1258. package/dist/components/Select/useSelectStyleProps.js.map +1 -0
  1259. package/dist/components/Select.d.ts +2 -0
  1260. package/dist/components/Skeleton/SkeletonHeading.cjs +2 -0
  1261. package/dist/components/Skeleton/SkeletonHeading.cjs.map +1 -0
  1262. package/dist/components/Skeleton/SkeletonHeading.d.ts +7 -0
  1263. package/dist/components/Skeleton/SkeletonHeading.js +26 -0
  1264. package/dist/components/Skeleton/SkeletonHeading.js.map +1 -0
  1265. package/dist/components/Skeleton/SkeletonItem.cjs +2 -0
  1266. package/dist/components/Skeleton/SkeletonItem.cjs.map +1 -0
  1267. package/dist/components/Skeleton/SkeletonItem.d.ts +6 -0
  1268. package/dist/components/Skeleton/SkeletonItem.js +13 -0
  1269. package/dist/components/Skeleton/SkeletonItem.js.map +1 -0
  1270. package/dist/components/Skeleton/SkeletonShape.cjs +2 -0
  1271. package/dist/components/Skeleton/SkeletonShape.cjs.map +1 -0
  1272. package/dist/components/Skeleton/SkeletonShape.d.ts +7 -0
  1273. package/dist/components/Skeleton/SkeletonShape.js +23 -0
  1274. package/dist/components/Skeleton/SkeletonShape.js.map +1 -0
  1275. package/dist/components/Skeleton/SkeletonText.cjs +2 -0
  1276. package/dist/components/Skeleton/SkeletonText.cjs.map +1 -0
  1277. package/dist/components/Skeleton/SkeletonText.d.ts +7 -0
  1278. package/dist/components/Skeleton/SkeletonText.js +26 -0
  1279. package/dist/components/Skeleton/SkeletonText.js.map +1 -0
  1280. package/dist/components/Skeleton/constants.cjs +2 -0
  1281. package/dist/components/Skeleton/constants.cjs.map +1 -0
  1282. package/dist/components/Skeleton/constants.js +5 -0
  1283. package/dist/components/Skeleton/constants.js.map +1 -0
  1284. package/dist/components/Skeleton/index.cjs +2 -0
  1285. package/dist/components/Skeleton/index.cjs.map +1 -0
  1286. package/dist/components/Skeleton/index.js +13 -0
  1287. package/dist/components/Skeleton/index.js.map +1 -0
  1288. package/dist/components/Skeleton/useSkeletonShapeStyleProps.cjs +2 -0
  1289. package/dist/components/Skeleton/useSkeletonShapeStyleProps.cjs.map +1 -0
  1290. package/dist/components/Skeleton/useSkeletonShapeStyleProps.d.ts +12 -0
  1291. package/dist/components/Skeleton/useSkeletonShapeStyleProps.js +25 -0
  1292. package/dist/components/Skeleton/useSkeletonShapeStyleProps.js.map +1 -0
  1293. package/dist/components/Skeleton/useSkeletonStyleProps.cjs +2 -0
  1294. package/dist/components/Skeleton/useSkeletonStyleProps.cjs.map +1 -0
  1295. package/dist/components/Skeleton/useSkeletonStyleProps.d.ts +12 -0
  1296. package/dist/components/Skeleton/useSkeletonStyleProps.js +20 -0
  1297. package/dist/components/Skeleton/useSkeletonStyleProps.js.map +1 -0
  1298. package/dist/components/Skeleton.d.ts +2 -0
  1299. package/dist/components/SkipLink/SkipLink.cjs +2 -0
  1300. package/dist/components/SkipLink/SkipLink.cjs.map +1 -0
  1301. package/dist/components/SkipLink/SkipLink.d.ts +4 -0
  1302. package/dist/components/SkipLink/SkipLink.js +24 -0
  1303. package/dist/components/SkipLink/SkipLink.js.map +1 -0
  1304. package/dist/components/SkipLink/index.cjs +2 -0
  1305. package/dist/components/SkipLink/index.cjs.map +1 -0
  1306. package/dist/components/SkipLink/index.js +7 -0
  1307. package/dist/components/SkipLink/index.js.map +1 -0
  1308. package/dist/components/SkipLink/useSkipLinkStyleProps.cjs +2 -0
  1309. package/dist/components/SkipLink/useSkipLinkStyleProps.cjs.map +1 -0
  1310. package/dist/components/SkipLink/useSkipLinkStyleProps.d.ts +6 -0
  1311. package/dist/components/SkipLink/useSkipLinkStyleProps.js +12 -0
  1312. package/dist/components/SkipLink/useSkipLinkStyleProps.js.map +1 -0
  1313. package/dist/components/SkipLink.d.ts +2 -0
  1314. package/dist/components/Slider/Slider.cjs +2 -0
  1315. package/dist/components/Slider/Slider.cjs.map +1 -0
  1316. package/dist/components/Slider/Slider.d.ts +3 -0
  1317. package/dist/components/Slider/Slider.js +88 -0
  1318. package/dist/components/Slider/Slider.js.map +1 -0
  1319. package/dist/components/Slider/UncontrolledSlider.d.ts +7 -0
  1320. package/dist/components/Slider/constants.cjs +2 -0
  1321. package/dist/components/Slider/constants.cjs.map +1 -0
  1322. package/dist/components/Slider/constants.js +12 -0
  1323. package/dist/components/Slider/constants.js.map +1 -0
  1324. package/dist/components/Slider/index.cjs +2 -0
  1325. package/dist/components/Slider/index.cjs.map +1 -0
  1326. package/dist/components/Slider/index.js +7 -0
  1327. package/dist/components/Slider/index.js.map +1 -0
  1328. package/dist/components/Slider/useSlider.d.ts +6 -0
  1329. package/dist/components/Slider/useSliderStyleProps.cjs +2 -0
  1330. package/dist/components/Slider/useSliderStyleProps.cjs.map +1 -0
  1331. package/dist/components/Slider/useSliderStyleProps.d.ts +14 -0
  1332. package/dist/components/Slider/useSliderStyleProps.js +25 -0
  1333. package/dist/components/Slider/useSliderStyleProps.js.map +1 -0
  1334. package/dist/components/Slider.d.ts +2 -0
  1335. package/dist/components/Spinner/Spinner.cjs +2 -0
  1336. package/dist/components/Spinner/Spinner.cjs.map +1 -0
  1337. package/dist/components/Spinner/Spinner.d.ts +6 -0
  1338. package/dist/components/Spinner/Spinner.js +26 -0
  1339. package/dist/components/Spinner/Spinner.js.map +1 -0
  1340. package/dist/components/Spinner/index.cjs +2 -0
  1341. package/dist/components/Spinner/index.cjs.map +1 -0
  1342. package/dist/components/Spinner/index.js +7 -0
  1343. package/dist/components/Spinner/index.js.map +1 -0
  1344. package/dist/components/Spinner/useSpinnerStyleProps.cjs +2 -0
  1345. package/dist/components/Spinner/useSpinnerStyleProps.cjs.map +1 -0
  1346. package/dist/components/Spinner/useSpinnerStyleProps.d.ts +6 -0
  1347. package/dist/components/Spinner/useSpinnerStyleProps.js +13 -0
  1348. package/dist/components/Spinner/useSpinnerStyleProps.js.map +1 -0
  1349. package/dist/components/Spinner.d.ts +2 -0
  1350. package/dist/components/SplitButton/SplitButton.cjs +2 -0
  1351. package/dist/components/SplitButton/SplitButton.cjs.map +1 -0
  1352. package/dist/components/SplitButton/SplitButton.d.ts +4 -0
  1353. package/dist/components/SplitButton/SplitButton.js +18 -0
  1354. package/dist/components/SplitButton/SplitButton.js.map +1 -0
  1355. package/dist/components/SplitButton/UncontrolledSplitButton.cjs +2 -0
  1356. package/dist/components/SplitButton/UncontrolledSplitButton.cjs.map +1 -0
  1357. package/dist/components/SplitButton/UncontrolledSplitButton.d.ts +4 -0
  1358. package/dist/components/SplitButton/UncontrolledSplitButton.js +56 -0
  1359. package/dist/components/SplitButton/UncontrolledSplitButton.js.map +1 -0
  1360. package/dist/components/SplitButton/index.cjs +2 -0
  1361. package/dist/components/SplitButton/index.cjs.map +1 -0
  1362. package/dist/components/SplitButton/index.js +9 -0
  1363. package/dist/components/SplitButton/index.js.map +1 -0
  1364. package/dist/components/SplitButton/useSplitButtonStyleProps.cjs +2 -0
  1365. package/dist/components/SplitButton/useSplitButtonStyleProps.cjs.map +1 -0
  1366. package/dist/components/SplitButton/useSplitButtonStyleProps.js +10 -0
  1367. package/dist/components/SplitButton/useSplitButtonStyleProps.js.map +1 -0
  1368. package/dist/components/SplitButton.d.ts +2 -0
  1369. package/dist/components/Stack/Stack.cjs +2 -0
  1370. package/dist/components/Stack/Stack.cjs.map +1 -0
  1371. package/dist/components/Stack/Stack.d.ts +3 -0
  1372. package/dist/components/Stack/Stack.js +28 -0
  1373. package/dist/components/Stack/Stack.js.map +1 -0
  1374. package/dist/components/Stack/StackItem.cjs +2 -0
  1375. package/dist/components/Stack/StackItem.cjs.map +1 -0
  1376. package/dist/components/Stack/StackItem.d.ts +3 -0
  1377. package/dist/components/Stack/StackItem.js +25 -0
  1378. package/dist/components/Stack/StackItem.js.map +1 -0
  1379. package/dist/components/Stack/index.cjs +2 -0
  1380. package/dist/components/Stack/index.cjs.map +1 -0
  1381. package/dist/components/Stack/index.js +7 -0
  1382. package/dist/components/Stack/index.js.map +1 -0
  1383. package/dist/components/Stack/useStackStyleProps.cjs +2 -0
  1384. package/dist/components/Stack/useStackStyleProps.cjs.map +1 -0
  1385. package/dist/components/Stack/useStackStyleProps.d.ts +23 -0
  1386. package/dist/components/Stack/useStackStyleProps.js +23 -0
  1387. package/dist/components/Stack/useStackStyleProps.js.map +1 -0
  1388. package/dist/components/Stack.d.ts +2 -0
  1389. package/dist/components/Tabs/TabContent.cjs +2 -0
  1390. package/dist/components/Tabs/TabContent.cjs.map +1 -0
  1391. package/dist/components/Tabs/TabContent.d.ts +6 -0
  1392. package/dist/components/Tabs/TabContent.js +12 -0
  1393. package/dist/components/Tabs/TabContent.js.map +1 -0
  1394. package/dist/components/Tabs/TabContext.cjs +2 -0
  1395. package/dist/components/Tabs/TabContext.cjs.map +1 -0
  1396. package/dist/components/Tabs/TabContext.d.ts +8 -0
  1397. package/dist/components/Tabs/TabContext.js +18 -0
  1398. package/dist/components/Tabs/TabContext.js.map +1 -0
  1399. package/dist/components/Tabs/TabItem.cjs +2 -0
  1400. package/dist/components/Tabs/TabItem.cjs.map +1 -0
  1401. package/dist/components/Tabs/TabItem.d.ts +6 -0
  1402. package/dist/components/Tabs/TabItem.js +31 -0
  1403. package/dist/components/Tabs/TabItem.js.map +1 -0
  1404. package/dist/components/Tabs/TabLink.cjs +2 -0
  1405. package/dist/components/Tabs/TabLink.cjs.map +1 -0
  1406. package/dist/components/Tabs/TabLink.d.ts +3 -0
  1407. package/dist/components/Tabs/TabLink.js +28 -0
  1408. package/dist/components/Tabs/TabLink.js.map +1 -0
  1409. package/dist/components/Tabs/TabList.cjs +2 -0
  1410. package/dist/components/Tabs/TabList.cjs.map +1 -0
  1411. package/dist/components/Tabs/TabList.d.ts +7 -0
  1412. package/dist/components/Tabs/TabList.js +29 -0
  1413. package/dist/components/Tabs/TabList.js.map +1 -0
  1414. package/dist/components/Tabs/TabPane.cjs +2 -0
  1415. package/dist/components/Tabs/TabPane.cjs.map +1 -0
  1416. package/dist/components/Tabs/TabPane.d.ts +6 -0
  1417. package/dist/components/Tabs/TabPane.js +26 -0
  1418. package/dist/components/Tabs/TabPane.js.map +1 -0
  1419. package/dist/components/Tabs/Tabs.cjs +2 -0
  1420. package/dist/components/Tabs/Tabs.cjs.map +1 -0
  1421. package/dist/components/Tabs/Tabs.d.ts +6 -0
  1422. package/dist/components/Tabs/Tabs.js +9 -0
  1423. package/dist/components/Tabs/Tabs.js.map +1 -0
  1424. package/dist/components/Tabs/UncontrolledTabs.cjs +2 -0
  1425. package/dist/components/Tabs/UncontrolledTabs.cjs.map +1 -0
  1426. package/dist/components/Tabs/UncontrolledTabs.d.ts +6 -0
  1427. package/dist/components/Tabs/UncontrolledTabs.js +18 -0
  1428. package/dist/components/Tabs/UncontrolledTabs.js.map +1 -0
  1429. package/dist/components/Tabs/index.cjs +2 -0
  1430. package/dist/components/Tabs/index.cjs.map +1 -0
  1431. package/dist/components/Tabs/index.js +26 -0
  1432. package/dist/components/Tabs/index.js.map +1 -0
  1433. package/dist/components/Tabs/useTabs.cjs +2 -0
  1434. package/dist/components/Tabs/useTabs.cjs.map +1 -0
  1435. package/dist/components/Tabs/useTabs.d.ts +5 -0
  1436. package/dist/components/Tabs/useTabs.js +12 -0
  1437. package/dist/components/Tabs/useTabs.js.map +1 -0
  1438. package/dist/components/Tabs/useTabsStyleProps.cjs +2 -0
  1439. package/dist/components/Tabs/useTabsStyleProps.cjs.map +1 -0
  1440. package/dist/components/Tabs/useTabsStyleProps.d.ts +15 -0
  1441. package/dist/components/Tabs/useTabsStyleProps.js +25 -0
  1442. package/dist/components/Tabs/useTabsStyleProps.js.map +1 -0
  1443. package/dist/components/Tabs.d.ts +2 -0
  1444. package/dist/components/Tag/Tag.cjs +2 -0
  1445. package/dist/components/Tag/Tag.cjs.map +1 -0
  1446. package/dist/components/Tag/Tag.d.ts +4 -0
  1447. package/dist/components/Tag/Tag.js +23 -0
  1448. package/dist/components/Tag/Tag.js.map +1 -0
  1449. package/dist/components/Tag/constants.cjs +2 -0
  1450. package/dist/components/Tag/constants.cjs.map +1 -0
  1451. package/dist/components/Tag/constants.js +7 -0
  1452. package/dist/components/Tag/constants.js.map +1 -0
  1453. package/dist/components/Tag/index.cjs +2 -0
  1454. package/dist/components/Tag/index.cjs.map +1 -0
  1455. package/dist/components/Tag/index.js +9 -0
  1456. package/dist/components/Tag/index.js.map +1 -0
  1457. package/dist/components/Tag/useTagStyleProps.cjs +2 -0
  1458. package/dist/components/Tag/useTagStyleProps.cjs.map +1 -0
  1459. package/dist/components/Tag/useTagStyleProps.d.ts +7 -0
  1460. package/dist/components/Tag/useTagStyleProps.js +17 -0
  1461. package/dist/components/Tag/useTagStyleProps.js.map +1 -0
  1462. package/dist/components/Tag.d.ts +2 -0
  1463. package/dist/components/Text/Text.cjs +2 -0
  1464. package/dist/components/Text/Text.cjs.map +1 -0
  1465. package/dist/components/Text/Text.d.ts +7 -0
  1466. package/dist/components/Text/Text.js +25 -0
  1467. package/dist/components/Text/Text.js.map +1 -0
  1468. package/dist/components/Text/index.cjs +2 -0
  1469. package/dist/components/Text/index.cjs.map +1 -0
  1470. package/dist/components/Text/index.js +7 -0
  1471. package/dist/components/Text/index.js.map +1 -0
  1472. package/dist/components/Text/useTextStyleProps.cjs +2 -0
  1473. package/dist/components/Text/useTextStyleProps.cjs.map +1 -0
  1474. package/dist/components/Text/useTextStyleProps.d.ts +7 -0
  1475. package/dist/components/Text/useTextStyleProps.js +15 -0
  1476. package/dist/components/Text/useTextStyleProps.js.map +1 -0
  1477. package/dist/components/Text.d.ts +2 -0
  1478. package/dist/components/TextArea/TextArea.cjs +2 -0
  1479. package/dist/components/TextArea/TextArea.cjs.map +1 -0
  1480. package/dist/components/TextArea/TextArea.d.ts +3 -0
  1481. package/dist/components/TextArea/TextArea.js +29 -0
  1482. package/dist/components/TextArea/TextArea.js.map +1 -0
  1483. package/dist/components/TextArea/index.cjs +2 -0
  1484. package/dist/components/TextArea/index.cjs.map +1 -0
  1485. package/dist/components/TextArea/index.js +5 -0
  1486. package/dist/components/TextArea/index.js.map +1 -0
  1487. package/dist/components/TextArea/useAdjustHeight.cjs +2 -0
  1488. package/dist/components/TextArea/useAdjustHeight.cjs.map +1 -0
  1489. package/dist/components/TextArea/useAdjustHeight.d.ts +13 -0
  1490. package/dist/components/TextArea/useAdjustHeight.js +33 -0
  1491. package/dist/components/TextArea/useAdjustHeight.js.map +1 -0
  1492. package/dist/components/TextArea.d.ts +2 -0
  1493. package/dist/components/TextField/TextField.cjs +2 -0
  1494. package/dist/components/TextField/TextField.cjs.map +1 -0
  1495. package/dist/components/TextField/TextField.d.ts +3 -0
  1496. package/dist/components/TextField/TextField.js +11 -0
  1497. package/dist/components/TextField/TextField.js.map +1 -0
  1498. package/dist/components/TextField/index.cjs +2 -0
  1499. package/dist/components/TextField/index.cjs.map +1 -0
  1500. package/dist/components/TextField/index.js +5 -0
  1501. package/dist/components/TextField/index.js.map +1 -0
  1502. package/dist/components/TextField.d.ts +2 -0
  1503. package/dist/components/TextFieldBase/TextFieldBase.cjs +2 -0
  1504. package/dist/components/TextFieldBase/TextFieldBase.cjs.map +1 -0
  1505. package/dist/components/TextFieldBase/TextFieldBase.d.ts +3 -0
  1506. package/dist/components/TextFieldBase/TextFieldBase.js +71 -0
  1507. package/dist/components/TextFieldBase/TextFieldBase.js.map +1 -0
  1508. package/dist/components/TextFieldBase/TextFieldBaseInput.cjs +2 -0
  1509. package/dist/components/TextFieldBase/TextFieldBaseInput.cjs.map +1 -0
  1510. package/dist/components/TextFieldBase/TextFieldBaseInput.d.ts +3 -0
  1511. package/dist/components/TextFieldBase/TextFieldBaseInput.js +29 -0
  1512. package/dist/components/TextFieldBase/TextFieldBaseInput.js.map +1 -0
  1513. package/dist/components/TextFieldBase/TextFieldBasePasswordToggle.cjs +2 -0
  1514. package/dist/components/TextFieldBase/TextFieldBasePasswordToggle.cjs.map +1 -0
  1515. package/dist/components/TextFieldBase/TextFieldBasePasswordToggle.d.ts +6 -0
  1516. package/dist/components/TextFieldBase/TextFieldBasePasswordToggle.js +30 -0
  1517. package/dist/components/TextFieldBase/TextFieldBasePasswordToggle.js.map +1 -0
  1518. package/dist/components/TextFieldBase/index.cjs +2 -0
  1519. package/dist/components/TextFieldBase/index.cjs.map +1 -0
  1520. package/dist/components/TextFieldBase/index.js +5 -0
  1521. package/dist/components/TextFieldBase/index.js.map +1 -0
  1522. package/dist/components/TextFieldBase/usePasswordToggle.cjs +2 -0
  1523. package/dist/components/TextFieldBase/usePasswordToggle.cjs.map +1 -0
  1524. package/dist/components/TextFieldBase/usePasswordToggle.js +13 -0
  1525. package/dist/components/TextFieldBase/usePasswordToggle.js.map +1 -0
  1526. package/dist/components/TextFieldBase/useTextFieldBaseInputStyleProps.cjs +2 -0
  1527. package/dist/components/TextFieldBase/useTextFieldBaseInputStyleProps.cjs.map +1 -0
  1528. package/dist/components/TextFieldBase/useTextFieldBaseInputStyleProps.d.ts +8 -0
  1529. package/dist/components/TextFieldBase/useTextFieldBaseInputStyleProps.js +18 -0
  1530. package/dist/components/TextFieldBase/useTextFieldBaseInputStyleProps.js.map +1 -0
  1531. package/dist/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.cjs +2 -0
  1532. package/dist/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.cjs.map +1 -0
  1533. package/dist/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.js +15 -0
  1534. package/dist/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.js.map +1 -0
  1535. package/dist/components/TextFieldBase/useTextFieldBaseStyleProps.cjs +2 -0
  1536. package/dist/components/TextFieldBase/useTextFieldBaseStyleProps.cjs.map +1 -0
  1537. package/dist/components/TextFieldBase/useTextFieldBaseStyleProps.d.ts +15 -0
  1538. package/dist/components/TextFieldBase/useTextFieldBaseStyleProps.js +33 -0
  1539. package/dist/components/TextFieldBase/useTextFieldBaseStyleProps.js.map +1 -0
  1540. package/dist/components/TextFieldBase/withPasswordToggle.cjs +2 -0
  1541. package/dist/components/TextFieldBase/withPasswordToggle.cjs.map +1 -0
  1542. package/dist/components/TextFieldBase/withPasswordToggle.d.ts +10 -0
  1543. package/dist/components/TextFieldBase/withPasswordToggle.js +33 -0
  1544. package/dist/components/TextFieldBase/withPasswordToggle.js.map +1 -0
  1545. package/dist/components/TextFieldBase.d.ts +2 -0
  1546. package/dist/components/Timeline/Timeline.cjs +2 -0
  1547. package/dist/components/Timeline/Timeline.cjs.map +1 -0
  1548. package/dist/components/Timeline/Timeline.d.ts +7 -0
  1549. package/dist/components/Timeline/Timeline.js +18 -0
  1550. package/dist/components/Timeline/Timeline.js.map +1 -0
  1551. package/dist/components/Timeline/TimelineContent.cjs +2 -0
  1552. package/dist/components/Timeline/TimelineContent.cjs.map +1 -0
  1553. package/dist/components/Timeline/TimelineContent.d.ts +7 -0
  1554. package/dist/components/Timeline/TimelineContent.js +14 -0
  1555. package/dist/components/Timeline/TimelineContent.js.map +1 -0
  1556. package/dist/components/Timeline/TimelineHeading.cjs +2 -0
  1557. package/dist/components/Timeline/TimelineHeading.cjs.map +1 -0
  1558. package/dist/components/Timeline/TimelineHeading.d.ts +7 -0
  1559. package/dist/components/Timeline/TimelineHeading.js +14 -0
  1560. package/dist/components/Timeline/TimelineHeading.js.map +1 -0
  1561. package/dist/components/Timeline/TimelineMarker.cjs +2 -0
  1562. package/dist/components/Timeline/TimelineMarker.cjs.map +1 -0
  1563. package/dist/components/Timeline/TimelineMarker.d.ts +7 -0
  1564. package/dist/components/Timeline/TimelineMarker.js +31 -0
  1565. package/dist/components/Timeline/TimelineMarker.js.map +1 -0
  1566. package/dist/components/Timeline/TimelineStep.cjs +2 -0
  1567. package/dist/components/Timeline/TimelineStep.cjs.map +1 -0
  1568. package/dist/components/Timeline/TimelineStep.d.ts +7 -0
  1569. package/dist/components/Timeline/TimelineStep.js +16 -0
  1570. package/dist/components/Timeline/TimelineStep.js.map +1 -0
  1571. package/dist/components/Timeline/constants.cjs +2 -0
  1572. package/dist/components/Timeline/constants.cjs.map +1 -0
  1573. package/dist/components/Timeline/constants.js +10 -0
  1574. package/dist/components/Timeline/constants.js.map +1 -0
  1575. package/dist/components/Timeline/index.cjs +2 -0
  1576. package/dist/components/Timeline/index.cjs.map +1 -0
  1577. package/dist/components/Timeline/index.js +15 -0
  1578. package/dist/components/Timeline/index.js.map +1 -0
  1579. package/dist/components/Timeline/useTimelineStyleProps.cjs +2 -0
  1580. package/dist/components/Timeline/useTimelineStyleProps.cjs.map +1 -0
  1581. package/dist/components/Timeline/useTimelineStyleProps.d.ts +20 -0
  1582. package/dist/components/Timeline/useTimelineStyleProps.js +33 -0
  1583. package/dist/components/Timeline/useTimelineStyleProps.js.map +1 -0
  1584. package/dist/components/Timeline.d.ts +2 -0
  1585. package/dist/components/Toast/Toast.cjs +2 -0
  1586. package/dist/components/Toast/Toast.cjs.map +1 -0
  1587. package/dist/components/Toast/Toast.d.ts +7 -0
  1588. package/dist/components/Toast/Toast.js +19 -0
  1589. package/dist/components/Toast/Toast.js.map +1 -0
  1590. package/dist/components/Toast/ToastBar.cjs +2 -0
  1591. package/dist/components/Toast/ToastBar.cjs.map +1 -0
  1592. package/dist/components/Toast/ToastBar.d.ts +7 -0
  1593. package/dist/components/Toast/ToastBar.js +62 -0
  1594. package/dist/components/Toast/ToastBar.js.map +1 -0
  1595. package/dist/components/Toast/ToastBarLink.cjs +2 -0
  1596. package/dist/components/Toast/ToastBarLink.cjs.map +1 -0
  1597. package/dist/components/Toast/ToastBarLink.d.ts +3 -0
  1598. package/dist/components/Toast/ToastBarLink.js +18 -0
  1599. package/dist/components/Toast/ToastBarLink.js.map +1 -0
  1600. package/dist/components/Toast/ToastBarMessage.cjs +2 -0
  1601. package/dist/components/Toast/ToastBarMessage.cjs.map +1 -0
  1602. package/dist/components/Toast/ToastBarMessage.d.ts +7 -0
  1603. package/dist/components/Toast/ToastBarMessage.js +22 -0
  1604. package/dist/components/Toast/ToastBarMessage.js.map +1 -0
  1605. package/dist/components/Toast/ToastCloseButton.cjs +2 -0
  1606. package/dist/components/Toast/ToastCloseButton.cjs.map +1 -0
  1607. package/dist/components/Toast/ToastCloseButton.d.ts +7 -0
  1608. package/dist/components/Toast/ToastCloseButton.js +31 -0
  1609. package/dist/components/Toast/ToastCloseButton.js.map +1 -0
  1610. package/dist/components/Toast/ToastContext.cjs +2 -0
  1611. package/dist/components/Toast/ToastContext.cjs.map +1 -0
  1612. package/dist/components/Toast/ToastContext.d.ts +43 -0
  1613. package/dist/components/Toast/ToastContext.js +18 -0
  1614. package/dist/components/Toast/ToastContext.js.map +1 -0
  1615. package/dist/components/Toast/UncontrolledToast.cjs +2 -0
  1616. package/dist/components/Toast/UncontrolledToast.cjs.map +1 -0
  1617. package/dist/components/Toast/UncontrolledToast.d.ts +7 -0
  1618. package/dist/components/Toast/UncontrolledToast.js +37 -0
  1619. package/dist/components/Toast/UncontrolledToast.js.map +1 -0
  1620. package/dist/components/Toast/constants.cjs +2 -0
  1621. package/dist/components/Toast/constants.cjs.map +1 -0
  1622. package/dist/components/Toast/constants.d.ts +8 -0
  1623. package/dist/components/Toast/constants.js +17 -0
  1624. package/dist/components/Toast/constants.js.map +1 -0
  1625. package/dist/components/Toast/index.cjs +2 -0
  1626. package/dist/components/Toast/index.cjs.map +1 -0
  1627. package/dist/components/Toast/index.js +22 -0
  1628. package/dist/components/Toast/index.js.map +1 -0
  1629. package/dist/components/Toast/useToast.cjs +2 -0
  1630. package/dist/components/Toast/useToast.cjs.map +1 -0
  1631. package/dist/components/Toast/useToast.d.ts +1 -0
  1632. package/dist/components/Toast/useToast.js +13 -0
  1633. package/dist/components/Toast/useToast.js.map +1 -0
  1634. package/dist/components/Toast/useToastBarStyleProps.cjs +2 -0
  1635. package/dist/components/Toast/useToastBarStyleProps.cjs.map +1 -0
  1636. package/dist/components/Toast/useToastBarStyleProps.d.ts +31 -0
  1637. package/dist/components/Toast/useToastBarStyleProps.js +21 -0
  1638. package/dist/components/Toast/useToastBarStyleProps.js.map +1 -0
  1639. package/dist/components/Toast/useToastIcon.cjs +2 -0
  1640. package/dist/components/Toast/useToastIcon.cjs.map +1 -0
  1641. package/dist/components/Toast/useToastIcon.d.ts +2 -0
  1642. package/dist/components/Toast/useToastIcon.js +20 -0
  1643. package/dist/components/Toast/useToastIcon.js.map +1 -0
  1644. package/dist/components/Toast/useToastStyleProps.cjs +2 -0
  1645. package/dist/components/Toast/useToastStyleProps.cjs.map +1 -0
  1646. package/dist/components/Toast/useToastStyleProps.d.ts +9 -0
  1647. package/dist/components/Toast/useToastStyleProps.js +25 -0
  1648. package/dist/components/Toast/useToastStyleProps.js.map +1 -0
  1649. package/dist/components/Toast.d.ts +2 -0
  1650. package/dist/components/Toggle/Toggle.cjs +2 -0
  1651. package/dist/components/Toggle/Toggle.cjs.map +1 -0
  1652. package/dist/components/Toggle/Toggle.d.ts +3 -0
  1653. package/dist/components/Toggle/Toggle.js +80 -0
  1654. package/dist/components/Toggle/Toggle.js.map +1 -0
  1655. package/dist/components/Toggle/index.cjs +2 -0
  1656. package/dist/components/Toggle/index.cjs.map +1 -0
  1657. package/dist/components/Toggle/index.js +7 -0
  1658. package/dist/components/Toggle/index.js.map +1 -0
  1659. package/dist/components/Toggle/useToggleStyleProps.cjs +2 -0
  1660. package/dist/components/Toggle/useToggleStyleProps.cjs.map +1 -0
  1661. package/dist/components/Toggle/useToggleStyleProps.d.ts +13 -0
  1662. package/dist/components/Toggle/useToggleStyleProps.js +41 -0
  1663. package/dist/components/Toggle/useToggleStyleProps.js.map +1 -0
  1664. package/dist/components/Toggle.d.ts +2 -0
  1665. package/dist/components/Tooltip/Tooltip.cjs +2 -0
  1666. package/dist/components/Tooltip/Tooltip.cjs.map +1 -0
  1667. package/dist/components/Tooltip/Tooltip.d.ts +3 -0
  1668. package/dist/components/Tooltip/Tooltip.js +93 -0
  1669. package/dist/components/Tooltip/Tooltip.js.map +1 -0
  1670. package/dist/components/Tooltip/TooltipCloseButton.cjs +2 -0
  1671. package/dist/components/Tooltip/TooltipCloseButton.cjs.map +1 -0
  1672. package/dist/components/Tooltip/TooltipCloseButton.d.ts +7 -0
  1673. package/dist/components/Tooltip/TooltipCloseButton.js +30 -0
  1674. package/dist/components/Tooltip/TooltipCloseButton.js.map +1 -0
  1675. package/dist/components/Tooltip/TooltipContext.cjs +2 -0
  1676. package/dist/components/Tooltip/TooltipContext.cjs.map +1 -0
  1677. package/dist/components/Tooltip/TooltipContext.d.ts +29 -0
  1678. package/dist/components/Tooltip/TooltipContext.js +40 -0
  1679. package/dist/components/Tooltip/TooltipContext.js.map +1 -0
  1680. package/dist/components/Tooltip/TooltipPopover.cjs +2 -0
  1681. package/dist/components/Tooltip/TooltipPopover.cjs.map +1 -0
  1682. package/dist/components/Tooltip/TooltipPopover.d.ts +7 -0
  1683. package/dist/components/Tooltip/TooltipPopover.js +91 -0
  1684. package/dist/components/Tooltip/TooltipPopover.js.map +1 -0
  1685. package/dist/components/Tooltip/TooltipTrigger.cjs +2 -0
  1686. package/dist/components/Tooltip/TooltipTrigger.cjs.map +1 -0
  1687. package/dist/components/Tooltip/TooltipTrigger.d.ts +7 -0
  1688. package/dist/components/Tooltip/TooltipTrigger.js +17 -0
  1689. package/dist/components/Tooltip/TooltipTrigger.js.map +1 -0
  1690. package/dist/components/Tooltip/UncontrolledTooltip.cjs +2 -0
  1691. package/dist/components/Tooltip/UncontrolledTooltip.cjs.map +1 -0
  1692. package/dist/components/Tooltip/UncontrolledTooltip.d.ts +7 -0
  1693. package/dist/components/Tooltip/UncontrolledTooltip.js +13 -0
  1694. package/dist/components/Tooltip/UncontrolledTooltip.js.map +1 -0
  1695. package/dist/components/Tooltip/index.cjs +2 -0
  1696. package/dist/components/Tooltip/index.cjs.map +1 -0
  1697. package/dist/components/Tooltip/index.js +17 -0
  1698. package/dist/components/Tooltip/index.js.map +1 -0
  1699. package/dist/components/Tooltip/useFloating.cjs +2 -0
  1700. package/dist/components/Tooltip/useFloating.cjs.map +1 -0
  1701. package/dist/components/Tooltip/useFloating.d.ts +58 -0
  1702. package/dist/components/Tooltip/useFloating.js +104 -0
  1703. package/dist/components/Tooltip/useFloating.js.map +1 -0
  1704. package/dist/components/Tooltip/useTooltip.cjs +2 -0
  1705. package/dist/components/Tooltip/useTooltip.cjs.map +1 -0
  1706. package/dist/components/Tooltip/useTooltip.js +13 -0
  1707. package/dist/components/Tooltip/useTooltip.js.map +1 -0
  1708. package/dist/components/Tooltip/useTooltipStyleProps.cjs +2 -0
  1709. package/dist/components/Tooltip/useTooltipStyleProps.cjs.map +1 -0
  1710. package/dist/components/Tooltip/useTooltipStyleProps.d.ts +28 -0
  1711. package/dist/components/Tooltip/useTooltipStyleProps.js +23 -0
  1712. package/dist/components/Tooltip/useTooltipStyleProps.js.map +1 -0
  1713. package/dist/components/Tooltip.d.ts +2 -0
  1714. package/dist/components/Truncate/Truncate.cjs +2 -0
  1715. package/dist/components/Truncate/Truncate.cjs.map +1 -0
  1716. package/dist/components/Truncate/Truncate.d.ts +7 -0
  1717. package/dist/components/Truncate/Truncate.js +33 -0
  1718. package/dist/components/Truncate/Truncate.js.map +1 -0
  1719. package/dist/components/Truncate/index.cjs +2 -0
  1720. package/dist/components/Truncate/index.cjs.map +1 -0
  1721. package/dist/components/Truncate/index.js +12 -0
  1722. package/dist/components/Truncate/index.js.map +1 -0
  1723. package/dist/components/Truncate/useTruncateStyleProps.cjs +2 -0
  1724. package/dist/components/Truncate/useTruncateStyleProps.cjs.map +1 -0
  1725. package/dist/components/Truncate/useTruncateStyleProps.d.ts +14 -0
  1726. package/dist/components/Truncate/useTruncateStyleProps.js +16 -0
  1727. package/dist/components/Truncate/useTruncateStyleProps.js.map +1 -0
  1728. package/dist/components/Truncate/useTruncatedText.cjs +2 -0
  1729. package/dist/components/Truncate/useTruncatedText.cjs.map +1 -0
  1730. package/dist/components/Truncate/useTruncatedText.d.ts +6 -0
  1731. package/dist/components/Truncate/useTruncatedText.js +26 -0
  1732. package/dist/components/Truncate/useTruncatedText.js.map +1 -0
  1733. package/dist/components/Truncate.d.ts +2 -0
  1734. package/dist/components/UNSTABLE_Attachment/UNSTABLE_Attachment.cjs +2 -0
  1735. package/dist/components/UNSTABLE_Attachment/UNSTABLE_Attachment.cjs.map +1 -0
  1736. package/dist/components/UNSTABLE_Attachment/UNSTABLE_Attachment.d.ts +8 -0
  1737. package/dist/components/UNSTABLE_Attachment/UNSTABLE_Attachment.js +42 -0
  1738. package/dist/components/UNSTABLE_Attachment/UNSTABLE_Attachment.js.map +1 -0
  1739. package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentActionButton.cjs +2 -0
  1740. package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentActionButton.cjs.map +1 -0
  1741. package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentActionButton.d.ts +8 -0
  1742. package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentActionButton.js +30 -0
  1743. package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentActionButton.js.map +1 -0
  1744. package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentDismissButton.cjs +2 -0
  1745. package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentDismissButton.cjs.map +1 -0
  1746. package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentDismissButton.d.ts +8 -0
  1747. package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentDismissButton.js +29 -0
  1748. package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentDismissButton.js.map +1 -0
  1749. package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentImagePreview.cjs +2 -0
  1750. package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentImagePreview.cjs.map +1 -0
  1751. package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentImagePreview.d.ts +8 -0
  1752. package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentImagePreview.js +29 -0
  1753. package/dist/components/UNSTABLE_Attachment/UNSTABLE_AttachmentImagePreview.js.map +1 -0
  1754. package/dist/components/UNSTABLE_Attachment/constants.cjs +2 -0
  1755. package/dist/components/UNSTABLE_Attachment/constants.cjs.map +1 -0
  1756. package/dist/components/UNSTABLE_Attachment/constants.d.ts +9 -0
  1757. package/dist/components/UNSTABLE_Attachment/constants.js +13 -0
  1758. package/dist/components/UNSTABLE_Attachment/constants.js.map +1 -0
  1759. package/dist/components/UNSTABLE_Attachment/index.cjs +2 -0
  1760. package/dist/components/UNSTABLE_Attachment/index.cjs.map +1 -0
  1761. package/dist/components/UNSTABLE_Attachment/index.d.ts +8 -0
  1762. package/dist/components/UNSTABLE_Attachment/index.js +20 -0
  1763. package/dist/components/UNSTABLE_Attachment/index.js.map +1 -0
  1764. package/dist/components/UNSTABLE_Attachment/types.d.ts +42 -0
  1765. package/dist/components/UNSTABLE_Attachment/useAttachmentImageStyles.cjs +2 -0
  1766. package/dist/components/UNSTABLE_Attachment/useAttachmentImageStyles.cjs.map +1 -0
  1767. package/dist/components/UNSTABLE_Attachment/useAttachmentImageStyles.d.ts +18 -0
  1768. package/dist/components/UNSTABLE_Attachment/useAttachmentImageStyles.js +22 -0
  1769. package/dist/components/UNSTABLE_Attachment/useAttachmentImageStyles.js.map +1 -0
  1770. package/dist/components/UNSTABLE_Attachment/useAttachmentStyleProps.cjs +2 -0
  1771. package/dist/components/UNSTABLE_Attachment/useAttachmentStyleProps.cjs.map +1 -0
  1772. package/dist/components/UNSTABLE_Attachment/useAttachmentStyleProps.d.ts +21 -0
  1773. package/dist/components/UNSTABLE_Attachment/useAttachmentStyleProps.js +24 -0
  1774. package/dist/components/UNSTABLE_Attachment/useAttachmentStyleProps.js.map +1 -0
  1775. package/dist/components/UNSTABLE_Attachment.d.ts +2 -0
  1776. package/dist/components/UNSTABLE_FileUpload/UNSTABLE_FileUpload.cjs +2 -0
  1777. package/dist/components/UNSTABLE_FileUpload/UNSTABLE_FileUpload.cjs.map +1 -0
  1778. package/dist/components/UNSTABLE_FileUpload/UNSTABLE_FileUpload.d.ts +8 -0
  1779. package/dist/components/UNSTABLE_FileUpload/UNSTABLE_FileUpload.js +121 -0
  1780. package/dist/components/UNSTABLE_FileUpload/UNSTABLE_FileUpload.js.map +1 -0
  1781. package/dist/components/UNSTABLE_FileUpload/index.cjs +2 -0
  1782. package/dist/components/UNSTABLE_FileUpload/index.cjs.map +1 -0
  1783. package/dist/components/UNSTABLE_FileUpload/index.d.ts +4 -0
  1784. package/dist/components/UNSTABLE_FileUpload/index.js +9 -0
  1785. package/dist/components/UNSTABLE_FileUpload/index.js.map +1 -0
  1786. package/dist/components/UNSTABLE_FileUpload/types.d.ts +30 -0
  1787. package/dist/components/UNSTABLE_FileUpload/useFileUploadState.cjs +2 -0
  1788. package/dist/components/UNSTABLE_FileUpload/useFileUploadState.cjs.map +1 -0
  1789. package/dist/components/UNSTABLE_FileUpload/useFileUploadState.d.ts +11 -0
  1790. package/dist/components/UNSTABLE_FileUpload/useFileUploadState.js +29 -0
  1791. package/dist/components/UNSTABLE_FileUpload/useFileUploadState.js.map +1 -0
  1792. package/dist/components/UNSTABLE_FileUpload/useFileUploadStyleProps.cjs +2 -0
  1793. package/dist/components/UNSTABLE_FileUpload/useFileUploadStyleProps.cjs.map +1 -0
  1794. package/dist/components/UNSTABLE_FileUpload/useFileUploadStyleProps.d.ts +29 -0
  1795. package/dist/components/UNSTABLE_FileUpload/useFileUploadStyleProps.js +36 -0
  1796. package/dist/components/UNSTABLE_FileUpload/useFileUploadStyleProps.js.map +1 -0
  1797. package/dist/components/UNSTABLE_FileUpload.d.ts +2 -0
  1798. package/dist/components/UNSTABLE_Header/UNSTABLE_Header.cjs +2 -0
  1799. package/dist/components/UNSTABLE_Header/UNSTABLE_Header.cjs.map +1 -0
  1800. package/dist/components/UNSTABLE_Header/UNSTABLE_Header.d.ts +7 -0
  1801. package/dist/components/UNSTABLE_Header/UNSTABLE_Header.js +14 -0
  1802. package/dist/components/UNSTABLE_Header/UNSTABLE_Header.js.map +1 -0
  1803. package/dist/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.cjs +2 -0
  1804. package/dist/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.cjs.map +1 -0
  1805. package/dist/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.d.ts +3 -0
  1806. package/dist/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.js +20 -0
  1807. package/dist/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.js.map +1 -0
  1808. package/dist/components/UNSTABLE_Header/index.cjs +2 -0
  1809. package/dist/components/UNSTABLE_Header/index.cjs.map +1 -0
  1810. package/dist/components/UNSTABLE_Header/index.js +9 -0
  1811. package/dist/components/UNSTABLE_Header/index.js.map +1 -0
  1812. package/dist/components/UNSTABLE_Header/useUnstableHeaderStyleProps.cjs +2 -0
  1813. package/dist/components/UNSTABLE_Header/useUnstableHeaderStyleProps.cjs.map +1 -0
  1814. package/dist/components/UNSTABLE_Header/useUnstableHeaderStyleProps.d.ts +9 -0
  1815. package/dist/components/UNSTABLE_Header/useUnstableHeaderStyleProps.js +18 -0
  1816. package/dist/components/UNSTABLE_Header/useUnstableHeaderStyleProps.js.map +1 -0
  1817. package/dist/components/UNSTABLE_Header.d.ts +2 -0
  1818. package/dist/components/VisuallyHidden/VisuallyHidden.cjs +2 -0
  1819. package/dist/components/VisuallyHidden/VisuallyHidden.cjs.map +1 -0
  1820. package/dist/components/VisuallyHidden/VisuallyHidden.d.ts +7 -0
  1821. package/dist/components/VisuallyHidden/VisuallyHidden.js +14 -0
  1822. package/dist/components/VisuallyHidden/VisuallyHidden.js.map +1 -0
  1823. package/dist/components/VisuallyHidden/index.cjs +2 -0
  1824. package/dist/components/VisuallyHidden/index.cjs.map +1 -0
  1825. package/dist/components/VisuallyHidden/index.js +5 -0
  1826. package/dist/components/VisuallyHidden/index.js.map +1 -0
  1827. package/dist/components/VisuallyHidden/useVisuallyHiddenProps.cjs +2 -0
  1828. package/dist/components/VisuallyHidden/useVisuallyHiddenProps.cjs.map +1 -0
  1829. package/dist/components/VisuallyHidden/useVisuallyHiddenProps.d.ts +7 -0
  1830. package/dist/components/VisuallyHidden/useVisuallyHiddenProps.js +12 -0
  1831. package/dist/components/VisuallyHidden/useVisuallyHiddenProps.js.map +1 -0
  1832. package/dist/components/VisuallyHidden.d.ts +2 -0
  1833. package/dist/components/index.cjs +2 -0
  1834. package/dist/components/index.cjs.map +1 -0
  1835. package/dist/components/index.d.ts +65 -0
  1836. package/dist/components/index.js +550 -0
  1837. package/dist/components/index.js.map +1 -0
  1838. package/dist/components.d.ts +2 -0
  1839. package/dist/constants/classes.cjs +2 -0
  1840. package/dist/constants/classes.cjs.map +1 -0
  1841. package/dist/constants/classes.js +5 -0
  1842. package/dist/constants/classes.js.map +1 -0
  1843. package/dist/constants/colors.cjs +2 -0
  1844. package/dist/constants/colors.cjs.map +1 -0
  1845. package/dist/constants/colors.js +8 -0
  1846. package/dist/constants/colors.js.map +1 -0
  1847. package/dist/constants/dictionaries.cjs +2 -0
  1848. package/dist/constants/dictionaries.cjs.map +1 -0
  1849. package/dist/constants/dictionaries.js +120 -0
  1850. package/dist/constants/dictionaries.js.map +1 -0
  1851. package/dist/constants/direction.cjs +2 -0
  1852. package/dist/constants/direction.cjs.map +1 -0
  1853. package/dist/constants/direction.d.ts +15 -0
  1854. package/dist/constants/direction.js +16 -0
  1855. package/dist/constants/direction.js.map +1 -0
  1856. package/dist/constants/index.cjs +2 -0
  1857. package/dist/constants/index.cjs.map +1 -0
  1858. package/dist/constants/index.js +55 -0
  1859. package/dist/constants/index.js.map +1 -0
  1860. package/dist/constants/inputs.cjs +2 -0
  1861. package/dist/constants/inputs.cjs.map +1 -0
  1862. package/dist/constants/inputs.js +8 -0
  1863. package/dist/constants/inputs.js.map +1 -0
  1864. package/dist/constants/media.cjs +2 -0
  1865. package/dist/constants/media.cjs.map +1 -0
  1866. package/dist/constants/media.js +8 -0
  1867. package/dist/constants/media.js.map +1 -0
  1868. package/dist/constants/position.cjs +2 -0
  1869. package/dist/constants/position.cjs.map +1 -0
  1870. package/dist/constants/position.js +10 -0
  1871. package/dist/constants/position.js.map +1 -0
  1872. package/dist/constants/style.cjs +2 -0
  1873. package/dist/constants/style.cjs.map +1 -0
  1874. package/dist/constants/style.js +44 -0
  1875. package/dist/constants/style.js.map +1 -0
  1876. package/dist/constants/text.cjs +2 -0
  1877. package/dist/constants/text.cjs.map +1 -0
  1878. package/dist/constants/text.js +14 -0
  1879. package/dist/constants/text.js.map +1 -0
  1880. package/dist/constants.d.ts +2 -0
  1881. package/dist/context/ClassNamePrefixContext.cjs +2 -0
  1882. package/dist/context/ClassNamePrefixContext.cjs.map +1 -0
  1883. package/dist/context/ClassNamePrefixContext.js +9 -0
  1884. package/dist/context/ClassNamePrefixContext.js.map +1 -0
  1885. package/dist/context/IconsContext.cjs +2 -0
  1886. package/dist/context/IconsContext.cjs.map +1 -0
  1887. package/dist/context/IconsContext.js +9 -0
  1888. package/dist/context/IconsContext.js.map +1 -0
  1889. package/dist/context/PropsContext.cjs +2 -0
  1890. package/dist/context/PropsContext.cjs.map +1 -0
  1891. package/dist/context/PropsContext.d.ts +11 -0
  1892. package/dist/context/PropsContext.js +15 -0
  1893. package/dist/context/PropsContext.js.map +1 -0
  1894. package/dist/context/index.cjs +2 -0
  1895. package/dist/context/index.cjs.map +1 -0
  1896. package/dist/context/index.js +13 -0
  1897. package/dist/context/index.js.map +1 -0
  1898. package/dist/context.d.ts +2 -0
  1899. package/dist/hooks/index.cjs +2 -0
  1900. package/dist/hooks/index.cjs.map +1 -0
  1901. package/dist/hooks/index.d.ts +22 -0
  1902. package/dist/hooks/index.js +47 -0
  1903. package/dist/hooks/index.js.map +1 -0
  1904. package/dist/hooks/styleProps.cjs +2 -0
  1905. package/dist/hooks/styleProps.cjs.map +1 -0
  1906. package/dist/hooks/styleProps.d.ts +7 -0
  1907. package/dist/hooks/styleProps.js +30 -0
  1908. package/dist/hooks/styleProps.js.map +1 -0
  1909. package/dist/hooks/useAlignmentClass.cjs +2 -0
  1910. package/dist/hooks/useAlignmentClass.cjs.map +1 -0
  1911. package/dist/hooks/useAlignmentClass.d.ts +3 -0
  1912. package/dist/hooks/useAlignmentClass.js +10 -0
  1913. package/dist/hooks/useAlignmentClass.js.map +1 -0
  1914. package/dist/hooks/useAriaDescribedBy.cjs +2 -0
  1915. package/dist/hooks/useAriaDescribedBy.cjs.map +1 -0
  1916. package/dist/hooks/useAriaDescribedBy.js +7 -0
  1917. package/dist/hooks/useAriaDescribedBy.js.map +1 -0
  1918. package/dist/hooks/useCancelEvent.cjs +2 -0
  1919. package/dist/hooks/useCancelEvent.cjs.map +1 -0
  1920. package/dist/hooks/useCancelEvent.d.ts +2 -0
  1921. package/dist/hooks/useCancelEvent.js +27 -0
  1922. package/dist/hooks/useCancelEvent.js.map +1 -0
  1923. package/dist/hooks/useClassNamePrefix.cjs +2 -0
  1924. package/dist/hooks/useClassNamePrefix.cjs.map +1 -0
  1925. package/dist/hooks/useClassNamePrefix.js +13 -0
  1926. package/dist/hooks/useClassNamePrefix.js.map +1 -0
  1927. package/dist/hooks/useClick.cjs +2 -0
  1928. package/dist/hooks/useClick.cjs.map +1 -0
  1929. package/dist/hooks/useClick.d.ts +2 -0
  1930. package/dist/hooks/useClick.js +16 -0
  1931. package/dist/hooks/useClick.js.map +1 -0
  1932. package/dist/hooks/useClickOutside.cjs +2 -0
  1933. package/dist/hooks/useClickOutside.cjs.map +1 -0
  1934. package/dist/hooks/useClickOutside.d.ts +6 -0
  1935. package/dist/hooks/useClickOutside.js +31 -0
  1936. package/dist/hooks/useClickOutside.js.map +1 -0
  1937. package/dist/hooks/useDeprecationMessage.cjs +2 -0
  1938. package/dist/hooks/useDeprecationMessage.cjs.map +1 -0
  1939. package/dist/hooks/useDeprecationMessage.js +33 -0
  1940. package/dist/hooks/useDeprecationMessage.js.map +1 -0
  1941. package/dist/hooks/useDimensionStyle.cjs +2 -0
  1942. package/dist/hooks/useDimensionStyle.cjs.map +1 -0
  1943. package/dist/hooks/useDimensionStyle.d.ts +5 -0
  1944. package/dist/hooks/useDimensionStyle.js +11 -0
  1945. package/dist/hooks/useDimensionStyle.js.map +1 -0
  1946. package/dist/hooks/useDragAndDrop.cjs +2 -0
  1947. package/dist/hooks/useDragAndDrop.cjs.map +1 -0
  1948. package/dist/hooks/useDragAndDrop.d.ts +7 -0
  1949. package/dist/hooks/useDragAndDrop.js +24 -0
  1950. package/dist/hooks/useDragAndDrop.js.map +1 -0
  1951. package/dist/hooks/useI18n.cjs +2 -0
  1952. package/dist/hooks/useI18n.cjs.map +1 -0
  1953. package/dist/hooks/useI18n.d.ts +6 -0
  1954. package/dist/hooks/useI18n.js +11 -0
  1955. package/dist/hooks/useI18n.js.map +1 -0
  1956. package/dist/hooks/useIcon.cjs +2 -0
  1957. package/dist/hooks/useIcon.cjs.map +1 -0
  1958. package/dist/hooks/useIcon.js +15 -0
  1959. package/dist/hooks/useIcon.js.map +1 -0
  1960. package/dist/hooks/useIconName.cjs +2 -0
  1961. package/dist/hooks/useIconName.cjs.map +1 -0
  1962. package/dist/hooks/useIconName.js +7 -0
  1963. package/dist/hooks/useIconName.js.map +1 -0
  1964. package/dist/hooks/useInputPositionClass.cjs +2 -0
  1965. package/dist/hooks/useInputPositionClass.cjs.map +1 -0
  1966. package/dist/hooks/useInputPositionClass.d.ts +2 -0
  1967. package/dist/hooks/useInputPositionClass.js +8 -0
  1968. package/dist/hooks/useInputPositionClass.js.map +1 -0
  1969. package/dist/hooks/useIsMounted.cjs +2 -0
  1970. package/dist/hooks/useIsMounted.cjs.map +1 -0
  1971. package/dist/hooks/useIsMounted.js +12 -0
  1972. package/dist/hooks/useIsMounted.js.map +1 -0
  1973. package/dist/hooks/useIsomorphicLayoutEffect.cjs +2 -0
  1974. package/dist/hooks/useIsomorphicLayoutEffect.cjs.map +1 -0
  1975. package/dist/hooks/useIsomorphicLayoutEffect.js +8 -0
  1976. package/dist/hooks/useIsomorphicLayoutEffect.js.map +1 -0
  1977. package/dist/hooks/useLastActiveFocus.cjs +2 -0
  1978. package/dist/hooks/useLastActiveFocus.cjs.map +1 -0
  1979. package/dist/hooks/useLastActiveFocus.js +12 -0
  1980. package/dist/hooks/useLastActiveFocus.js.map +1 -0
  1981. package/dist/hooks/useResizeObserver.cjs +2 -0
  1982. package/dist/hooks/useResizeObserver.cjs.map +1 -0
  1983. package/dist/hooks/useResizeObserver.d.ts +12 -0
  1984. package/dist/hooks/useResizeObserver.js +39 -0
  1985. package/dist/hooks/useResizeObserver.js.map +1 -0
  1986. package/dist/hooks/useScrollControl.cjs +2 -0
  1987. package/dist/hooks/useScrollControl.cjs.map +1 -0
  1988. package/dist/hooks/useScrollControl.d.ts +2 -0
  1989. package/dist/hooks/useScrollControl.js +17 -0
  1990. package/dist/hooks/useScrollControl.js.map +1 -0
  1991. package/dist/hooks/useSpacingStyle.cjs +2 -0
  1992. package/dist/hooks/useSpacingStyle.cjs.map +1 -0
  1993. package/dist/hooks/useSpacingStyle.d.ts +3 -0
  1994. package/dist/hooks/useSpacingStyle.js +12 -0
  1995. package/dist/hooks/useSpacingStyle.js.map +1 -0
  1996. package/dist/hooks/useStyleUtilities.cjs +2 -0
  1997. package/dist/hooks/useStyleUtilities.cjs.map +1 -0
  1998. package/dist/hooks/useStyleUtilities.d.ts +10 -0
  1999. package/dist/hooks/useStyleUtilities.js +67 -0
  2000. package/dist/hooks/useStyleUtilities.js.map +1 -0
  2001. package/dist/hooks/useSymmetry.cjs +2 -0
  2002. package/dist/hooks/useSymmetry.cjs.map +1 -0
  2003. package/dist/hooks/useSymmetry.d.ts +7 -0
  2004. package/dist/hooks/useSymmetry.js +40 -0
  2005. package/dist/hooks/useSymmetry.js.map +1 -0
  2006. package/dist/hooks/useToggle.cjs +2 -0
  2007. package/dist/hooks/useToggle.cjs.map +1 -0
  2008. package/dist/hooks/useToggle.js +10 -0
  2009. package/dist/hooks/useToggle.js.map +1 -0
  2010. package/dist/hooks/useWrapClass.cjs +2 -0
  2011. package/dist/hooks/useWrapClass.cjs.map +1 -0
  2012. package/dist/hooks/useWrapClass.js +11 -0
  2013. package/dist/hooks/useWrapClass.js.map +1 -0
  2014. package/dist/hooks.d.ts +2 -0
  2015. package/dist/index.cjs +2 -0
  2016. package/dist/index.cjs.map +1 -0
  2017. package/dist/index.d.ts +7 -0
  2018. package/dist/index.js +733 -0
  2019. package/dist/index.js.map +1 -0
  2020. package/dist/translations/defaults.cjs +2 -0
  2021. package/dist/translations/defaults.cjs.map +1 -0
  2022. package/dist/translations/defaults.d.ts +33 -0
  2023. package/dist/translations/defaults.js +37 -0
  2024. package/dist/translations/defaults.js.map +1 -0
  2025. package/dist/translations/index.cjs +2 -0
  2026. package/dist/translations/index.cjs.map +1 -0
  2027. package/dist/translations/index.d.ts +3 -0
  2028. package/dist/translations/index.js +9 -0
  2029. package/dist/translations/index.js.map +1 -0
  2030. package/dist/translations/replaceTranslationParams.cjs +2 -0
  2031. package/dist/translations/replaceTranslationParams.cjs.map +1 -0
  2032. package/dist/translations/replaceTranslationParams.d.ts +1 -0
  2033. package/dist/translations/replaceTranslationParams.js +8 -0
  2034. package/dist/translations/replaceTranslationParams.js.map +1 -0
  2035. package/dist/translations/resolveTranslationKey.cjs +2 -0
  2036. package/dist/translations/resolveTranslationKey.cjs.map +1 -0
  2037. package/dist/translations/resolveTranslationKey.d.ts +10 -0
  2038. package/dist/translations/resolveTranslationKey.js +14 -0
  2039. package/dist/translations/resolveTranslationKey.js.map +1 -0
  2040. package/dist/translations.d.ts +2 -0
  2041. package/dist/types/accordion.d.ts +32 -0
  2042. package/dist/types/actionGroup.d.ts +4 -0
  2043. package/dist/types/alert.d.ts +10 -0
  2044. package/dist/types/avatar.d.ts +11 -0
  2045. package/dist/types/box.d.ts +20 -0
  2046. package/dist/types/breadcrumbs.d.ts +25 -0
  2047. package/dist/types/button.d.ts +19 -0
  2048. package/dist/types/card.cjs +2 -0
  2049. package/dist/types/card.cjs.map +1 -0
  2050. package/dist/types/card.d.ts +67 -0
  2051. package/dist/types/card.js +9 -0
  2052. package/dist/types/card.js.map +1 -0
  2053. package/dist/types/checkbox.d.ts +12 -0
  2054. package/dist/types/collapse.d.ts +29 -0
  2055. package/dist/types/container.d.ts +11 -0
  2056. package/dist/types/controlButton.d.ts +15 -0
  2057. package/dist/types/divider.d.ts +3 -0
  2058. package/dist/types/drawer.d.ts +29 -0
  2059. package/dist/types/dropdown.cjs +2 -0
  2060. package/dist/types/dropdown.cjs.map +1 -0
  2061. package/dist/types/dropdown.d.ts +48 -0
  2062. package/dist/types/dropdown.js +9 -0
  2063. package/dist/types/dropdown.js.map +1 -0
  2064. package/dist/types/emptyState.d.ts +4 -0
  2065. package/dist/types/fieldGroup.d.ts +13 -0
  2066. package/dist/types/fileUploader.d.ts +118 -0
  2067. package/dist/types/flex.d.ts +29 -0
  2068. package/dist/types/footer.d.ts +13 -0
  2069. package/dist/types/grid.d.ts +48 -0
  2070. package/dist/types/header.d.ts +58 -0
  2071. package/dist/types/heading.d.ts +10 -0
  2072. package/dist/types/hidden.d.ts +11 -0
  2073. package/dist/types/icon.d.ts +15 -0
  2074. package/dist/types/iconBox.d.ts +19 -0
  2075. package/dist/types/index.cjs +2 -0
  2076. package/dist/types/index.cjs.map +1 -0
  2077. package/dist/types/index.js +23 -0
  2078. package/dist/types/index.js.map +1 -0
  2079. package/dist/types/item.cjs +2 -0
  2080. package/dist/types/item.cjs.map +1 -0
  2081. package/dist/types/item.d.ts +22 -0
  2082. package/dist/types/item.js +7 -0
  2083. package/dist/types/item.js.map +1 -0
  2084. package/dist/types/label.d.ts +12 -0
  2085. package/dist/types/link.cjs +2 -0
  2086. package/dist/types/link.cjs.map +1 -0
  2087. package/dist/types/link.d.ts +24 -0
  2088. package/dist/types/link.js +9 -0
  2089. package/dist/types/link.js.map +1 -0
  2090. package/dist/types/matrix.d.ts +17 -0
  2091. package/dist/types/modal.d.ts +46 -0
  2092. package/dist/types/navigation.d.ts +41 -0
  2093. package/dist/types/pagination.d.ts +44 -0
  2094. package/dist/types/partnerLogo.d.ts +7 -0
  2095. package/dist/types/pill.d.ts +13 -0
  2096. package/dist/types/pricingPlan.d.ts +32 -0
  2097. package/dist/types/productLogo.d.ts +3 -0
  2098. package/dist/types/radio.d.ts +11 -0
  2099. package/dist/types/scrollView.d.ts +30 -0
  2100. package/dist/types/section.d.ts +18 -0
  2101. package/dist/types/segmentedControl.d.ts +25 -0
  2102. package/dist/types/select.d.ts +15 -0
  2103. package/dist/types/shared/colors.d.ts +23 -0
  2104. package/dist/types/shared/dialogs.d.ts +10 -0
  2105. package/dist/types/shared/dictionaries.d.ts +57 -0
  2106. package/dist/types/shared/directions.d.ts +5 -0
  2107. package/dist/types/shared/dragAndDrop.d.ts +7 -0
  2108. package/dist/types/shared/element.d.ts +51 -0
  2109. package/dist/types/shared/events.d.ts +8 -0
  2110. package/dist/types/shared/index.cjs +2 -0
  2111. package/dist/types/shared/index.cjs.map +1 -0
  2112. package/dist/types/shared/index.d.ts +35 -0
  2113. package/dist/types/shared/index.js +9 -0
  2114. package/dist/types/shared/index.js.map +1 -0
  2115. package/dist/types/shared/inputs.d.ts +34 -0
  2116. package/dist/types/shared/polymorphic.d.ts +13 -0
  2117. package/dist/types/shared/positions.d.ts +3 -0
  2118. package/dist/types/shared/radii.d.ts +2 -0
  2119. package/dist/types/shared/refs.d.ts +5 -0
  2120. package/dist/types/shared/responsive.d.ts +4 -0
  2121. package/dist/types/shared/sizes.d.ts +3 -0
  2122. package/dist/types/shared/style.cjs +2 -0
  2123. package/dist/types/shared/style.cjs.map +1 -0
  2124. package/dist/types/shared/style.d.ts +35 -0
  2125. package/dist/types/shared/style.js +5 -0
  2126. package/dist/types/shared/style.js.map +1 -0
  2127. package/dist/types/shared/text.d.ts +14 -0
  2128. package/dist/types/shared/tokens.cjs +2 -0
  2129. package/dist/types/shared/tokens.cjs.map +1 -0
  2130. package/dist/types/shared/tokens.d.ts +8 -0
  2131. package/dist/types/shared/tokens.js +5 -0
  2132. package/dist/types/shared/tokens.js.map +1 -0
  2133. package/dist/types/shared.d.ts +2 -0
  2134. package/dist/types/skeleton.d.ts +21 -0
  2135. package/dist/types/skipLink.d.ts +11 -0
  2136. package/dist/types/slider.d.ts +19 -0
  2137. package/dist/types/spinner.d.ts +7 -0
  2138. package/dist/types/splitButton.d.ts +26 -0
  2139. package/dist/types/stack.d.ts +20 -0
  2140. package/dist/types/tabs.d.ts +40 -0
  2141. package/dist/types/tag.d.ts +15 -0
  2142. package/dist/types/text.d.ts +9 -0
  2143. package/dist/types/textArea.d.ts +12 -0
  2144. package/dist/types/textField.d.ts +12 -0
  2145. package/dist/types/textFieldBase.d.ts +26 -0
  2146. package/dist/types/timeline.d.ts +29 -0
  2147. package/dist/types/toast.d.ts +50 -0
  2148. package/dist/types/toggle.d.ts +17 -0
  2149. package/dist/types/tooltip.cjs +2 -0
  2150. package/dist/types/tooltip.cjs.map +1 -0
  2151. package/dist/types/tooltip.d.ts +52 -0
  2152. package/dist/types/tooltip.js +12 -0
  2153. package/dist/types/tooltip.js.map +1 -0
  2154. package/dist/types/truncate.cjs +2 -0
  2155. package/dist/types/truncate.cjs.map +1 -0
  2156. package/dist/types/truncate.d.ts +13 -0
  2157. package/dist/types/truncate.js +9 -0
  2158. package/dist/types/truncate.js.map +1 -0
  2159. package/dist/types/unstableHeader.d.ts +16 -0
  2160. package/dist/types/visuallyHidden.d.ts +9 -0
  2161. package/dist/types.d.ts +2 -0
  2162. package/dist/utils/assert.cjs +2 -0
  2163. package/dist/utils/assert.cjs.map +1 -0
  2164. package/dist/utils/assert.js +17 -0
  2165. package/dist/utils/assert.js.map +1 -0
  2166. package/dist/utils/classname.cjs +2 -0
  2167. package/dist/utils/classname.cjs.map +1 -0
  2168. package/dist/utils/classname.js +8 -0
  2169. package/dist/utils/classname.js.map +1 -0
  2170. package/dist/utils/colorObjectGenerators.cjs +2 -0
  2171. package/dist/utils/colorObjectGenerators.cjs.map +1 -0
  2172. package/dist/utils/colorObjectGenerators.d.ts +13 -0
  2173. package/dist/utils/colorObjectGenerators.js +32 -0
  2174. package/dist/utils/colorObjectGenerators.js.map +1 -0
  2175. package/dist/utils/compose.cjs +2 -0
  2176. package/dist/utils/compose.cjs.map +1 -0
  2177. package/dist/utils/compose.js +8 -0
  2178. package/dist/utils/compose.js.map +1 -0
  2179. package/dist/utils/debounce.cjs +2 -0
  2180. package/dist/utils/debounce.cjs.map +1 -0
  2181. package/dist/utils/debounce.js +12 -0
  2182. package/dist/utils/debounce.js.map +1 -0
  2183. package/dist/utils/delayedCallback.cjs +2 -0
  2184. package/dist/utils/delayedCallback.cjs.map +1 -0
  2185. package/dist/utils/delayedCallback.js +9 -0
  2186. package/dist/utils/delayedCallback.js.map +1 -0
  2187. package/dist/utils/htmlReactParser.cjs +2 -0
  2188. package/dist/utils/htmlReactParser.cjs.map +1 -0
  2189. package/dist/utils/htmlReactParser.d.ts +2 -0
  2190. package/dist/utils/htmlReactParser.js +14 -0
  2191. package/dist/utils/htmlReactParser.js.map +1 -0
  2192. package/dist/utils/index.cjs +2 -0
  2193. package/dist/utils/index.cjs.map +1 -0
  2194. package/dist/utils/index.js +54 -0
  2195. package/dist/utils/index.js.map +1 -0
  2196. package/dist/utils/mergeStyleProps.cjs +2 -0
  2197. package/dist/utils/mergeStyleProps.cjs.map +1 -0
  2198. package/dist/utils/mergeStyleProps.d.ts +18 -0
  2199. package/dist/utils/mergeStyleProps.js +16 -0
  2200. package/dist/utils/mergeStyleProps.js.map +1 -0
  2201. package/dist/utils/responsive.cjs +2 -0
  2202. package/dist/utils/responsive.cjs.map +1 -0
  2203. package/dist/utils/responsive.d.ts +3 -0
  2204. package/dist/utils/responsive.js +11 -0
  2205. package/dist/utils/responsive.js.map +1 -0
  2206. package/dist/utils/ssr.cjs +2 -0
  2207. package/dist/utils/ssr.cjs.map +1 -0
  2208. package/dist/utils/ssr.js +5 -0
  2209. package/dist/utils/ssr.js.map +1 -0
  2210. package/dist/utils/string.cjs +2 -0
  2211. package/dist/utils/string.cjs.map +1 -0
  2212. package/dist/utils/string.js +16 -0
  2213. package/dist/utils/string.js.map +1 -0
  2214. package/dist/utils/stylePropsClassesGenerator.cjs +2 -0
  2215. package/dist/utils/stylePropsClassesGenerator.cjs.map +1 -0
  2216. package/dist/utils/stylePropsClassesGenerator.js +22 -0
  2217. package/dist/utils/stylePropsClassesGenerator.js.map +1 -0
  2218. package/dist/utils/toPascalCase.cjs +2 -0
  2219. package/dist/utils/toPascalCase.cjs.map +1 -0
  2220. package/dist/utils/toPascalCase.js +7 -0
  2221. package/dist/utils/toPascalCase.js.map +1 -0
  2222. package/dist/utils.d.ts +2 -0
  2223. package/package.json +606 -57
  2224. package/bundles/web-react.umd.js +0 -35667
  2225. package/bundles/web-react.umd.js.map +0 -1
  2226. package/bundles/web-react.umd.min.js +0 -16
  2227. package/bundles/web-react.umd.min.js.map +0 -1
  2228. package/common/common.cjs +0 -47
  2229. package/common/common.cjs.map +0 -1
  2230. package/common/constants/constants.cjs +0 -16
  2231. package/common/constants/constants.cjs.map +0 -1
  2232. package/common/constants/environments.js +0 -9
  2233. package/common/constants/environments.js.map +0 -1
  2234. package/common/constants/index.js +0 -2
  2235. package/common/constants/index.js.map +0 -1
  2236. package/common/constants/package.json +0 -8
  2237. package/common/index.js +0 -3
  2238. package/common/index.js.map +0 -1
  2239. package/common/package.json +0 -8
  2240. package/common/utilities/index.js +0 -3
  2241. package/common/utilities/index.js.map +0 -1
  2242. package/common/utilities/info.js +0 -14
  2243. package/common/utilities/info.js.map +0 -1
  2244. package/common/utilities/package.json +0 -8
  2245. package/common/utilities/utilities.cjs +0 -39
  2246. package/common/utilities/utilities.cjs.map +0 -1
  2247. package/common/utilities/warning.js +0 -19
  2248. package/common/utilities/warning.js.map +0 -1
  2249. package/components/Accordion/Accordion.cjs +0 -916
  2250. package/components/Accordion/Accordion.cjs.map +0 -1
  2251. package/components/Accordion/Accordion.d.ts +0 -9
  2252. package/components/Accordion/Accordion.js +0 -34
  2253. package/components/Accordion/Accordion.js.map +0 -1
  2254. package/components/Accordion/AccordionContent.d.ts +0 -7
  2255. package/components/Accordion/AccordionContent.js +0 -33
  2256. package/components/Accordion/AccordionContent.js.map +0 -1
  2257. package/components/Accordion/AccordionContext.d.ts +0 -7
  2258. package/components/Accordion/AccordionContext.js +0 -13
  2259. package/components/Accordion/AccordionContext.js.map +0 -1
  2260. package/components/Accordion/AccordionHeader.d.ts +0 -9
  2261. package/components/Accordion/AccordionHeader.js +0 -54
  2262. package/components/Accordion/AccordionHeader.js.map +0 -1
  2263. package/components/Accordion/AccordionItem.d.ts +0 -9
  2264. package/components/Accordion/AccordionItem.js +0 -31
  2265. package/components/Accordion/AccordionItem.js.map +0 -1
  2266. package/components/Accordion/AccordionItemContext.d.ts +0 -7
  2267. package/components/Accordion/AccordionItemContext.js +0 -12
  2268. package/components/Accordion/AccordionItemContext.js.map +0 -1
  2269. package/components/Accordion/UncontrolledAccordion.d.ts +0 -9
  2270. package/components/Accordion/UncontrolledAccordion.js +0 -25
  2271. package/components/Accordion/UncontrolledAccordion.js.map +0 -1
  2272. package/components/Accordion/index.js +0 -12
  2273. package/components/Accordion/index.js.map +0 -1
  2274. package/components/Accordion/package.json +0 -8
  2275. package/components/Accordion/useAccordion.d.ts +0 -2
  2276. package/components/Accordion/useAccordion.js +0 -31
  2277. package/components/Accordion/useAccordion.js.map +0 -1
  2278. package/components/Accordion/useAccordionAriaProps.d.ts +0 -23
  2279. package/components/Accordion/useAccordionAriaProps.js +0 -24
  2280. package/components/Accordion/useAccordionAriaProps.js.map +0 -1
  2281. package/components/Accordion/useAccordionStyleProps.d.ts +0 -13
  2282. package/components/Accordion/useAccordionStyleProps.js +0 -24
  2283. package/components/Accordion/useAccordionStyleProps.js.map +0 -1
  2284. package/components/Accordion/useOpenItem.js +0 -14
  2285. package/components/Accordion/useOpenItem.js.map +0 -1
  2286. package/components/ActionGroup/ActionGroup.cjs +0 -543
  2287. package/components/ActionGroup/ActionGroup.cjs.map +0 -1
  2288. package/components/ActionGroup/ActionGroup.d.ts +0 -7
  2289. package/components/ActionGroup/ActionGroup.js +0 -33
  2290. package/components/ActionGroup/ActionGroup.js.map +0 -1
  2291. package/components/ActionGroup/index.js +0 -2
  2292. package/components/ActionGroup/index.js.map +0 -1
  2293. package/components/ActionGroup/package.json +0 -8
  2294. package/components/Alert/Alert.cjs +0 -490
  2295. package/components/Alert/Alert.cjs.map +0 -1
  2296. package/components/Alert/Alert.d.ts +0 -7
  2297. package/components/Alert/Alert.js +0 -36
  2298. package/components/Alert/Alert.js.map +0 -1
  2299. package/components/Alert/index.js +0 -3
  2300. package/components/Alert/index.js.map +0 -1
  2301. package/components/Alert/package.json +0 -8
  2302. package/components/Alert/useAlertIcon.d.ts +0 -3
  2303. package/components/Alert/useAlertIcon.js +0 -12
  2304. package/components/Alert/useAlertIcon.js.map +0 -1
  2305. package/components/Alert/useAlertStyleProps.d.ts +0 -7
  2306. package/components/Alert/useAlertStyleProps.js +0 -28
  2307. package/components/Alert/useAlertStyleProps.js.map +0 -1
  2308. package/components/Avatar/Avatar.cjs +0 -379
  2309. package/components/Avatar/Avatar.cjs.map +0 -1
  2310. package/components/Avatar/Avatar.d.ts +0 -6
  2311. package/components/Avatar/Avatar.js +0 -36
  2312. package/components/Avatar/Avatar.js.map +0 -1
  2313. package/components/Avatar/constants.js +0 -19
  2314. package/components/Avatar/constants.js.map +0 -1
  2315. package/components/Avatar/index.js +0 -3
  2316. package/components/Avatar/index.js.map +0 -1
  2317. package/components/Avatar/package.json +0 -8
  2318. package/components/Avatar/useAvatarStyleProps.d.ts +0 -6
  2319. package/components/Avatar/useAvatarStyleProps.js +0 -28
  2320. package/components/Avatar/useAvatarStyleProps.js.map +0 -1
  2321. package/components/Box/Box.cjs +0 -404
  2322. package/components/Box/Box.cjs.map +0 -1
  2323. package/components/Box/Box.d.ts +0 -9
  2324. package/components/Box/Box.js +0 -34
  2325. package/components/Box/Box.js.map +0 -1
  2326. package/components/Box/index.js +0 -3
  2327. package/components/Box/index.js.map +0 -1
  2328. package/components/Box/package.json +0 -8
  2329. package/components/Box/useBoxStyleProps.d.ts +0 -7
  2330. package/components/Box/useBoxStyleProps.js +0 -38
  2331. package/components/Box/useBoxStyleProps.js.map +0 -1
  2332. package/components/Breadcrumbs/Breadcrumbs.cjs +0 -575
  2333. package/components/Breadcrumbs/Breadcrumbs.cjs.map +0 -1
  2334. package/components/Breadcrumbs/Breadcrumbs.d.ts +0 -7
  2335. package/components/Breadcrumbs/Breadcrumbs.js +0 -37
  2336. package/components/Breadcrumbs/Breadcrumbs.js.map +0 -1
  2337. package/components/Breadcrumbs/BreadcrumbsItem.d.ts +0 -7
  2338. package/components/Breadcrumbs/BreadcrumbsItem.js +0 -37
  2339. package/components/Breadcrumbs/BreadcrumbsItem.js.map +0 -1
  2340. package/components/Breadcrumbs/index.js +0 -4
  2341. package/components/Breadcrumbs/index.js.map +0 -1
  2342. package/components/Breadcrumbs/package.json +0 -8
  2343. package/components/Breadcrumbs/useBreadcrumbsStyleProps.d.ts +0 -9
  2344. package/components/Breadcrumbs/useBreadcrumbsStyleProps.js +0 -32
  2345. package/components/Breadcrumbs/useBreadcrumbsStyleProps.js.map +0 -1
  2346. package/components/Button/Button.cjs +0 -733
  2347. package/components/Button/Button.cjs.map +0 -1
  2348. package/components/Button/Button.d.ts +0 -3
  2349. package/components/Button/Button.js +0 -45
  2350. package/components/Button/Button.js.map +0 -1
  2351. package/components/Button/index.js +0 -7
  2352. package/components/Button/index.js.map +0 -1
  2353. package/components/Button/package.json +0 -8
  2354. package/components/Button/useButtonProps.d.ts +0 -6
  2355. package/components/Button/useButtonProps.js +0 -13
  2356. package/components/Button/useButtonProps.js.map +0 -1
  2357. package/components/Button/useButtonStyleProps.d.ts +0 -7
  2358. package/components/Button/useButtonStyleProps.js +0 -46
  2359. package/components/Button/useButtonStyleProps.js.map +0 -1
  2360. package/components/ButtonLink/ButtonLink.d.ts +0 -3
  2361. package/components/ButtonLink/ButtonLink.js +0 -42
  2362. package/components/ButtonLink/ButtonLink.js.map +0 -1
  2363. package/components/ButtonLink/index.js +0 -4
  2364. package/components/ButtonLink/index.js.map +0 -1
  2365. package/components/ButtonLink/useButtonLinkProps.d.ts +0 -6
  2366. package/components/ButtonLink/useButtonLinkProps.js +0 -16
  2367. package/components/ButtonLink/useButtonLinkProps.js.map +0 -1
  2368. package/components/ButtonLink/useButtonLinkStyleProps.d.ts +0 -7
  2369. package/components/ButtonLink/useButtonLinkStyleProps.js +0 -46
  2370. package/components/ButtonLink/useButtonLinkStyleProps.js.map +0 -1
  2371. package/components/Card/Card.cjs +0 -681
  2372. package/components/Card/Card.cjs.map +0 -1
  2373. package/components/Card/Card.d.ts +0 -7
  2374. package/components/Card/Card.js +0 -33
  2375. package/components/Card/Card.js.map +0 -1
  2376. package/components/Card/CardArtwork.d.ts +0 -7
  2377. package/components/Card/CardArtwork.js +0 -30
  2378. package/components/Card/CardArtwork.js.map +0 -1
  2379. package/components/Card/CardBody.d.ts +0 -7
  2380. package/components/Card/CardBody.js +0 -29
  2381. package/components/Card/CardBody.js.map +0 -1
  2382. package/components/Card/CardEyebrow.d.ts +0 -7
  2383. package/components/Card/CardEyebrow.js +0 -25
  2384. package/components/Card/CardEyebrow.js.map +0 -1
  2385. package/components/Card/CardFooter.d.ts +0 -7
  2386. package/components/Card/CardFooter.js +0 -30
  2387. package/components/Card/CardFooter.js.map +0 -1
  2388. package/components/Card/CardLink.d.ts +0 -5
  2389. package/components/Card/CardLink.js +0 -31
  2390. package/components/Card/CardLink.js.map +0 -1
  2391. package/components/Card/CardLogo.d.ts +0 -7
  2392. package/components/Card/CardLogo.js +0 -25
  2393. package/components/Card/CardLogo.js.map +0 -1
  2394. package/components/Card/CardMedia.d.ts +0 -7
  2395. package/components/Card/CardMedia.js +0 -45
  2396. package/components/Card/CardMedia.js.map +0 -1
  2397. package/components/Card/CardTitle.d.ts +0 -7
  2398. package/components/Card/CardTitle.js +0 -31
  2399. package/components/Card/CardTitle.js.map +0 -1
  2400. package/components/Card/index.js +0 -11
  2401. package/components/Card/index.js.map +0 -1
  2402. package/components/Card/package.json +0 -8
  2403. package/components/Card/useCardMediaStyleProps.d.ts +0 -7
  2404. package/components/Card/useCardMediaStyleProps.js +0 -15
  2405. package/components/Card/useCardMediaStyleProps.js.map +0 -1
  2406. package/components/Card/useCardStyleProps.d.ts +0 -27
  2407. package/components/Card/useCardStyleProps.js +0 -58
  2408. package/components/Card/useCardStyleProps.js.map +0 -1
  2409. package/components/Checkbox/Checkbox.cjs +0 -683
  2410. package/components/Checkbox/Checkbox.cjs.map +0 -1
  2411. package/components/Checkbox/Checkbox.d.ts +0 -4
  2412. package/components/Checkbox/Checkbox.js +0 -39
  2413. package/components/Checkbox/Checkbox.js.map +0 -1
  2414. package/components/Checkbox/index.js +0 -3
  2415. package/components/Checkbox/index.js.map +0 -1
  2416. package/components/Checkbox/package.json +0 -8
  2417. package/components/Checkbox/useCheckboxStyleProps.d.ts +0 -13
  2418. package/components/Checkbox/useCheckboxStyleProps.js +0 -52
  2419. package/components/Checkbox/useCheckboxStyleProps.js.map +0 -1
  2420. package/components/Collapse/Collapse.cjs +0 -601
  2421. package/components/Collapse/Collapse.cjs.map +0 -1
  2422. package/components/Collapse/Collapse.d.ts +0 -7
  2423. package/components/Collapse/Collapse.js +0 -60
  2424. package/components/Collapse/Collapse.js.map +0 -1
  2425. package/components/Collapse/UncontrolledCollapse.d.ts +0 -7
  2426. package/components/Collapse/UncontrolledCollapse.js +0 -38
  2427. package/components/Collapse/UncontrolledCollapse.js.map +0 -1
  2428. package/components/Collapse/index.js +0 -6
  2429. package/components/Collapse/index.js.map +0 -1
  2430. package/components/Collapse/package.json +0 -8
  2431. package/components/Collapse/useCollapse.d.ts +0 -7
  2432. package/components/Collapse/useCollapse.js +0 -15
  2433. package/components/Collapse/useCollapse.js.map +0 -1
  2434. package/components/Collapse/useCollapseAriaProps.d.ts +0 -18
  2435. package/components/Collapse/useCollapseAriaProps.js +0 -37
  2436. package/components/Collapse/useCollapseAriaProps.js.map +0 -1
  2437. package/components/Collapse/useCollapseStyleProps.d.ts +0 -11
  2438. package/components/Collapse/useCollapseStyleProps.js +0 -19
  2439. package/components/Collapse/useCollapseStyleProps.js.map +0 -1
  2440. package/components/Collapse/useResizeHeight.d.ts +0 -2
  2441. package/components/Collapse/useResizeHeight.js +0 -13
  2442. package/components/Collapse/useResizeHeight.js.map +0 -1
  2443. package/components/Container/Container.cjs +0 -341
  2444. package/components/Container/Container.cjs.map +0 -1
  2445. package/components/Container/Container.d.ts +0 -6
  2446. package/components/Container/Container.js +0 -33
  2447. package/components/Container/Container.js.map +0 -1
  2448. package/components/Container/index.js +0 -3
  2449. package/components/Container/index.js.map +0 -1
  2450. package/components/Container/package.json +0 -8
  2451. package/components/Container/useContainerStyleProps.d.ts +0 -6
  2452. package/components/Container/useContainerStyleProps.js +0 -28
  2453. package/components/Container/useContainerStyleProps.js.map +0 -1
  2454. package/components/ControlButton/ControlButton.d.ts +0 -3
  2455. package/components/ControlButton/ControlButton.js +0 -39
  2456. package/components/ControlButton/ControlButton.js.map +0 -1
  2457. package/components/ControlButton/index.js +0 -4
  2458. package/components/ControlButton/index.js.map +0 -1
  2459. package/components/ControlButton/useControlButtonProps.d.ts +0 -6
  2460. package/components/ControlButton/useControlButtonProps.js +0 -13
  2461. package/components/ControlButton/useControlButtonProps.js.map +0 -1
  2462. package/components/ControlButton/useControlButtonStyleProps.d.ts +0 -7
  2463. package/components/ControlButton/useControlButtonStyleProps.js +0 -35
  2464. package/components/ControlButton/useControlButtonStyleProps.js.map +0 -1
  2465. package/components/Dialog/Dialog.cjs +0 -275
  2466. package/components/Dialog/Dialog.cjs.map +0 -1
  2467. package/components/Dialog/Dialog.d.ts +0 -4
  2468. package/components/Dialog/Dialog.js +0 -41
  2469. package/components/Dialog/Dialog.js.map +0 -1
  2470. package/components/Dialog/index.js +0 -3
  2471. package/components/Dialog/index.js.map +0 -1
  2472. package/components/Dialog/package.json +0 -8
  2473. package/components/Dialog/useDialog.d.ts +0 -6
  2474. package/components/Dialog/useDialog.js +0 -54
  2475. package/components/Dialog/useDialog.js.map +0 -1
  2476. package/components/Divider/Divider.cjs +0 -302
  2477. package/components/Divider/Divider.cjs.map +0 -1
  2478. package/components/Divider/Divider.d.ts +0 -6
  2479. package/components/Divider/Divider.js +0 -13
  2480. package/components/Divider/Divider.js.map +0 -1
  2481. package/components/Divider/index.js +0 -3
  2482. package/components/Divider/index.js.map +0 -1
  2483. package/components/Divider/package.json +0 -8
  2484. package/components/Divider/useDividerStyleProps.d.ts +0 -6
  2485. package/components/Divider/useDividerStyleProps.js +0 -9
  2486. package/components/Divider/useDividerStyleProps.js.map +0 -1
  2487. package/components/Drawer/Drawer.cjs +0 -1085
  2488. package/components/Drawer/Drawer.cjs.map +0 -1
  2489. package/components/Drawer/Drawer.d.ts +0 -7
  2490. package/components/Drawer/Drawer.js +0 -35
  2491. package/components/Drawer/Drawer.js.map +0 -1
  2492. package/components/Drawer/DrawerCloseButton.d.ts +0 -7
  2493. package/components/Drawer/DrawerCloseButton.js +0 -42
  2494. package/components/Drawer/DrawerCloseButton.js.map +0 -1
  2495. package/components/Drawer/DrawerContext.d.ts +0 -10
  2496. package/components/Drawer/DrawerContext.js +0 -14
  2497. package/components/Drawer/DrawerContext.js.map +0 -1
  2498. package/components/Drawer/DrawerPanel.d.ts +0 -4
  2499. package/components/Drawer/DrawerPanel.js +0 -28
  2500. package/components/Drawer/DrawerPanel.js.map +0 -1
  2501. package/components/Drawer/constants.d.ts +0 -2
  2502. package/components/Drawer/constants.js +0 -4
  2503. package/components/Drawer/constants.js.map +0 -1
  2504. package/components/Drawer/index.js +0 -6
  2505. package/components/Drawer/index.js.map +0 -1
  2506. package/components/Drawer/package.json +0 -8
  2507. package/components/Drawer/useDrawerStyleProps.d.ts +0 -14
  2508. package/components/Drawer/useDrawerStyleProps.js +0 -27
  2509. package/components/Drawer/useDrawerStyleProps.js.map +0 -1
  2510. package/components/Dropdown/Dropdown.cjs +0 -611
  2511. package/components/Dropdown/Dropdown.cjs.map +0 -1
  2512. package/components/Dropdown/Dropdown.d.ts +0 -7
  2513. package/components/Dropdown/Dropdown.js +0 -42
  2514. package/components/Dropdown/Dropdown.js.map +0 -1
  2515. package/components/Dropdown/DropdownContext.d.ts +0 -19
  2516. package/components/Dropdown/DropdownContext.js +0 -20
  2517. package/components/Dropdown/DropdownContext.js.map +0 -1
  2518. package/components/Dropdown/DropdownPopover.d.ts +0 -9
  2519. package/components/Dropdown/DropdownPopover.js +0 -29
  2520. package/components/Dropdown/DropdownPopover.js.map +0 -1
  2521. package/components/Dropdown/DropdownTrigger.d.ts +0 -7
  2522. package/components/Dropdown/DropdownTrigger.js +0 -34
  2523. package/components/Dropdown/DropdownTrigger.js.map +0 -1
  2524. package/components/Dropdown/UncontrolledDropdown.d.ts +0 -7
  2525. package/components/Dropdown/UncontrolledDropdown.js +0 -31
  2526. package/components/Dropdown/UncontrolledDropdown.js.map +0 -1
  2527. package/components/Dropdown/index.js +0 -9
  2528. package/components/Dropdown/index.js.map +0 -1
  2529. package/components/Dropdown/package.json +0 -8
  2530. package/components/Dropdown/useDropdown.d.ts +0 -13
  2531. package/components/Dropdown/useDropdown.js +0 -29
  2532. package/components/Dropdown/useDropdown.js.map +0 -1
  2533. package/components/Dropdown/useDropdownAriaProps.d.ts +0 -31
  2534. package/components/Dropdown/useDropdownAriaProps.js +0 -29
  2535. package/components/Dropdown/useDropdownAriaProps.js.map +0 -1
  2536. package/components/Dropdown/useDropdownStyleProps.d.ts +0 -10
  2537. package/components/Dropdown/useDropdownStyleProps.js +0 -36
  2538. package/components/Dropdown/useDropdownStyleProps.js.map +0 -1
  2539. package/components/EmptyState/EmptyState.cjs +0 -472
  2540. package/components/EmptyState/EmptyState.cjs.map +0 -1
  2541. package/components/EmptyState/EmptyState.d.ts +0 -7
  2542. package/components/EmptyState/EmptyState.js +0 -26
  2543. package/components/EmptyState/EmptyState.js.map +0 -1
  2544. package/components/EmptyState/EmptyStateSection.d.ts +0 -7
  2545. package/components/EmptyState/EmptyStateSection.js +0 -26
  2546. package/components/EmptyState/EmptyStateSection.js.map +0 -1
  2547. package/components/EmptyState/index.js +0 -4
  2548. package/components/EmptyState/index.js.map +0 -1
  2549. package/components/EmptyState/package.json +0 -8
  2550. package/components/EmptyState/useEmptyStateStyleProps.d.ts +0 -9
  2551. package/components/EmptyState/useEmptyStateStyleProps.js +0 -13
  2552. package/components/EmptyState/useEmptyStateStyleProps.js.map +0 -1
  2553. package/components/Field/Field.cjs +0 -545
  2554. package/components/Field/Field.cjs.map +0 -1
  2555. package/components/Field/HelperText.d.ts +0 -7
  2556. package/components/Field/HelperText.js +0 -39
  2557. package/components/Field/HelperText.js.map +0 -1
  2558. package/components/Field/Label.d.ts +0 -7
  2559. package/components/Field/Label.js +0 -24
  2560. package/components/Field/Label.js.map +0 -1
  2561. package/components/Field/ValidationText.d.ts +0 -7
  2562. package/components/Field/ValidationText.js +0 -46
  2563. package/components/Field/ValidationText.js.map +0 -1
  2564. package/components/Field/constants.js +0 -2
  2565. package/components/Field/constants.js.map +0 -1
  2566. package/components/Field/index.js +0 -6
  2567. package/components/Field/index.js.map +0 -1
  2568. package/components/Field/package.json +0 -8
  2569. package/components/Field/types.d.ts +0 -15
  2570. package/components/Field/types.js +0 -2
  2571. package/components/Field/types.js.map +0 -1
  2572. package/components/Field/useAriaIds.js +0 -20
  2573. package/components/Field/useAriaIds.js.map +0 -1
  2574. package/components/Field/useValidationIcon.d.ts +0 -2
  2575. package/components/Field/useValidationIcon.js +0 -10
  2576. package/components/Field/useValidationIcon.js.map +0 -1
  2577. package/components/Field/useValidationTextRole.d.ts +0 -5
  2578. package/components/Field/useValidationTextRole.js +0 -17
  2579. package/components/Field/useValidationTextRole.js.map +0 -1
  2580. package/components/FieldGroup/FieldGroup.cjs +0 -648
  2581. package/components/FieldGroup/FieldGroup.cjs.map +0 -1
  2582. package/components/FieldGroup/FieldGroup.d.ts +0 -7
  2583. package/components/FieldGroup/FieldGroup.js +0 -39
  2584. package/components/FieldGroup/FieldGroup.js.map +0 -1
  2585. package/components/FieldGroup/index.js +0 -2
  2586. package/components/FieldGroup/index.js.map +0 -1
  2587. package/components/FieldGroup/package.json +0 -8
  2588. package/components/FieldGroup/useFieldGroupStyleProps.d.ts +0 -14
  2589. package/components/FieldGroup/useFieldGroupStyleProps.js +0 -27
  2590. package/components/FieldGroup/useFieldGroupStyleProps.js.map +0 -1
  2591. package/components/FileUploader/AttachmentActionButton.d.ts +0 -7
  2592. package/components/FileUploader/AttachmentActionButton.js +0 -29
  2593. package/components/FileUploader/AttachmentActionButton.js.map +0 -1
  2594. package/components/FileUploader/AttachmentDismissButton.d.ts +0 -7
  2595. package/components/FileUploader/AttachmentDismissButton.js +0 -29
  2596. package/components/FileUploader/AttachmentDismissButton.js.map +0 -1
  2597. package/components/FileUploader/AttachmentImagePreview.d.ts +0 -7
  2598. package/components/FileUploader/AttachmentImagePreview.js +0 -19
  2599. package/components/FileUploader/AttachmentImagePreview.js.map +0 -1
  2600. package/components/FileUploader/FileUploader.cjs +0 -1314
  2601. package/components/FileUploader/FileUploader.cjs.map +0 -1
  2602. package/components/FileUploader/FileUploader.d.ts +0 -7
  2603. package/components/FileUploader/FileUploader.js +0 -37
  2604. package/components/FileUploader/FileUploader.js.map +0 -1
  2605. package/components/FileUploader/FileUploaderAttachment.d.ts +0 -7
  2606. package/components/FileUploader/FileUploaderAttachment.js +0 -51
  2607. package/components/FileUploader/FileUploaderAttachment.js.map +0 -1
  2608. package/components/FileUploader/FileUploaderContext.d.ts +0 -9
  2609. package/components/FileUploader/FileUploaderContext.js +0 -23
  2610. package/components/FileUploader/FileUploaderContext.js.map +0 -1
  2611. package/components/FileUploader/FileUploaderInput.d.ts +0 -7
  2612. package/components/FileUploader/FileUploaderInput.js +0 -69
  2613. package/components/FileUploader/FileUploaderInput.js.map +0 -1
  2614. package/components/FileUploader/FileUploaderList.d.ts +0 -7
  2615. package/components/FileUploader/FileUploaderList.js +0 -43
  2616. package/components/FileUploader/FileUploaderList.js.map +0 -1
  2617. package/components/FileUploader/UncontrolledFileUploader.d.ts +0 -7
  2618. package/components/FileUploader/UncontrolledFileUploader.js +0 -32
  2619. package/components/FileUploader/UncontrolledFileUploader.js.map +0 -1
  2620. package/components/FileUploader/constants.d.ts +0 -18
  2621. package/components/FileUploader/constants.js +0 -19
  2622. package/components/FileUploader/constants.js.map +0 -1
  2623. package/components/FileUploader/index.js +0 -14
  2624. package/components/FileUploader/index.js.map +0 -1
  2625. package/components/FileUploader/package.json +0 -8
  2626. package/components/FileUploader/useFileQueue.d.ts +0 -4
  2627. package/components/FileUploader/useFileQueue.js +0 -51
  2628. package/components/FileUploader/useFileQueue.js.map +0 -1
  2629. package/components/FileUploader/useFileUploaderAttachment.d.ts +0 -10
  2630. package/components/FileUploader/useFileUploaderAttachment.js +0 -18
  2631. package/components/FileUploader/useFileUploaderAttachment.js.map +0 -1
  2632. package/components/FileUploader/useFileUploaderInput.d.ts +0 -17
  2633. package/components/FileUploader/useFileUploaderInput.js +0 -161
  2634. package/components/FileUploader/useFileUploaderInput.js.map +0 -1
  2635. package/components/FileUploader/useFileUploaderStyleProps.d.ts +0 -55
  2636. package/components/FileUploader/useFileUploaderStyleProps.js +0 -92
  2637. package/components/FileUploader/useFileUploaderStyleProps.js.map +0 -1
  2638. package/components/FileUploader/utils.d.ts +0 -6
  2639. package/components/FileUploader/utils.js +0 -61
  2640. package/components/FileUploader/utils.js.map +0 -1
  2641. package/components/Flex/Flex.cjs +0 -516
  2642. package/components/Flex/Flex.cjs.map +0 -1
  2643. package/components/Flex/Flex.d.ts +0 -9
  2644. package/components/Flex/Flex.js +0 -37
  2645. package/components/Flex/Flex.js.map +0 -1
  2646. package/components/Flex/index.js +0 -3
  2647. package/components/Flex/index.js.map +0 -1
  2648. package/components/Flex/package.json +0 -8
  2649. package/components/Flex/useFlexStyleProps.d.ts +0 -12
  2650. package/components/Flex/useFlexStyleProps.js +0 -38
  2651. package/components/Flex/useFlexStyleProps.js.map +0 -1
  2652. package/components/Footer/Footer.cjs +0 -374
  2653. package/components/Footer/Footer.cjs.map +0 -1
  2654. package/components/Footer/Footer.d.ts +0 -7
  2655. package/components/Footer/Footer.js +0 -39
  2656. package/components/Footer/Footer.js.map +0 -1
  2657. package/components/Footer/constants.js +0 -3
  2658. package/components/Footer/constants.js.map +0 -1
  2659. package/components/Footer/index.js +0 -2
  2660. package/components/Footer/index.js.map +0 -1
  2661. package/components/Footer/package.json +0 -8
  2662. package/components/Footer/useFooterStyleProps.d.ts +0 -5
  2663. package/components/Footer/useFooterStyleProps.js +0 -14
  2664. package/components/Footer/useFooterStyleProps.js.map +0 -1
  2665. package/components/Grid/Grid.cjs +0 -504
  2666. package/components/Grid/Grid.cjs.map +0 -1
  2667. package/components/Grid/Grid.d.ts +0 -9
  2668. package/components/Grid/Grid.js +0 -35
  2669. package/components/Grid/Grid.js.map +0 -1
  2670. package/components/Grid/GridItem.d.ts +0 -9
  2671. package/components/Grid/GridItem.js +0 -28
  2672. package/components/Grid/GridItem.js.map +0 -1
  2673. package/components/Grid/index.js +0 -4
  2674. package/components/Grid/index.js.map +0 -1
  2675. package/components/Grid/package.json +0 -8
  2676. package/components/Grid/useGridItemStyleProps.d.ts +0 -12
  2677. package/components/Grid/useGridItemStyleProps.js +0 -37
  2678. package/components/Grid/useGridItemStyleProps.js.map +0 -1
  2679. package/components/Grid/useGridStyleProps.d.ts +0 -12
  2680. package/components/Grid/useGridStyleProps.js +0 -42
  2681. package/components/Grid/useGridStyleProps.js.map +0 -1
  2682. package/components/Header/Header.cjs +0 -1298
  2683. package/components/Header/Header.cjs.map +0 -1
  2684. package/components/Header/Header.d.ts +0 -7
  2685. package/components/Header/Header.js +0 -33
  2686. package/components/Header/Header.js.map +0 -1
  2687. package/components/Header/HeaderButton.d.ts +0 -7
  2688. package/components/Header/HeaderButton.js +0 -13
  2689. package/components/Header/HeaderButton.js.map +0 -1
  2690. package/components/Header/HeaderDesktopActions.d.ts +0 -7
  2691. package/components/Header/HeaderDesktopActions.js +0 -29
  2692. package/components/Header/HeaderDesktopActions.js.map +0 -1
  2693. package/components/Header/HeaderDialog.d.ts +0 -7
  2694. package/components/Header/HeaderDialog.js +0 -32
  2695. package/components/Header/HeaderDialog.js.map +0 -1
  2696. package/components/Header/HeaderDialogActions.d.ts +0 -7
  2697. package/components/Header/HeaderDialogActions.js +0 -26
  2698. package/components/Header/HeaderDialogActions.js.map +0 -1
  2699. package/components/Header/HeaderDialogButton.d.ts +0 -7
  2700. package/components/Header/HeaderDialogButton.js +0 -13
  2701. package/components/Header/HeaderDialogButton.js.map +0 -1
  2702. package/components/Header/HeaderDialogCloseButton.d.ts +0 -7
  2703. package/components/Header/HeaderDialogCloseButton.js +0 -37
  2704. package/components/Header/HeaderDialogCloseButton.js.map +0 -1
  2705. package/components/Header/HeaderDialogContext.d.ts +0 -12
  2706. package/components/Header/HeaderDialogContext.js +0 -14
  2707. package/components/Header/HeaderDialogContext.js.map +0 -1
  2708. package/components/Header/HeaderDialogLink.d.ts +0 -4
  2709. package/components/Header/HeaderDialogLink.js +0 -31
  2710. package/components/Header/HeaderDialogLink.js.map +0 -1
  2711. package/components/Header/HeaderDialogNav.d.ts +0 -7
  2712. package/components/Header/HeaderDialogNav.js +0 -13
  2713. package/components/Header/HeaderDialogNav.js.map +0 -1
  2714. package/components/Header/HeaderDialogNavItem.d.ts +0 -7
  2715. package/components/Header/HeaderDialogNavItem.js +0 -13
  2716. package/components/Header/HeaderDialogNavItem.js.map +0 -1
  2717. package/components/Header/HeaderDialogText.d.ts +0 -7
  2718. package/components/Header/HeaderDialogText.js +0 -13
  2719. package/components/Header/HeaderDialogText.js.map +0 -1
  2720. package/components/Header/HeaderLink.d.ts +0 -4
  2721. package/components/Header/HeaderLink.js +0 -31
  2722. package/components/Header/HeaderLink.js.map +0 -1
  2723. package/components/Header/HeaderMobileActions.d.ts +0 -7
  2724. package/components/Header/HeaderMobileActions.js +0 -33
  2725. package/components/Header/HeaderMobileActions.js.map +0 -1
  2726. package/components/Header/HeaderNav.d.ts +0 -7
  2727. package/components/Header/HeaderNav.js +0 -13
  2728. package/components/Header/HeaderNav.js.map +0 -1
  2729. package/components/Header/HeaderNavItem.d.ts +0 -7
  2730. package/components/Header/HeaderNavItem.js +0 -13
  2731. package/components/Header/HeaderNavItem.js.map +0 -1
  2732. package/components/Header/constants.js +0 -5
  2733. package/components/Header/constants.js.map +0 -1
  2734. package/components/Header/index.js +0 -19
  2735. package/components/Header/index.js.map +0 -1
  2736. package/components/Header/package.json +0 -8
  2737. package/components/Header/useHeaderStyleProps.d.ts +0 -32
  2738. package/components/Header/useHeaderStyleProps.js +0 -57
  2739. package/components/Header/useHeaderStyleProps.js.map +0 -1
  2740. package/components/Heading/Heading.cjs +0 -386
  2741. package/components/Heading/Heading.cjs.map +0 -1
  2742. package/components/Heading/Heading.d.ts +0 -7
  2743. package/components/Heading/Heading.js +0 -37
  2744. package/components/Heading/Heading.js.map +0 -1
  2745. package/components/Heading/index.js +0 -3
  2746. package/components/Heading/index.js.map +0 -1
  2747. package/components/Heading/package.json +0 -8
  2748. package/components/Heading/useHeadingStyleProps.d.ts +0 -7
  2749. package/components/Heading/useHeadingStyleProps.js +0 -26
  2750. package/components/Heading/useHeadingStyleProps.js.map +0 -1
  2751. package/components/Hidden/Hidden.d.ts +0 -9
  2752. package/components/Hidden/Hidden.js +0 -31
  2753. package/components/Hidden/Hidden.js.map +0 -1
  2754. package/components/Hidden/index.js +0 -2
  2755. package/components/Hidden/index.js.map +0 -1
  2756. package/components/Icon/Icon.cjs +0 -418
  2757. package/components/Icon/Icon.cjs.map +0 -1
  2758. package/components/Icon/Icon.d.ts +0 -4
  2759. package/components/Icon/Icon.js +0 -43
  2760. package/components/Icon/Icon.js.map +0 -1
  2761. package/components/Icon/constants.js +0 -2
  2762. package/components/Icon/constants.js.map +0 -1
  2763. package/components/Icon/index.js +0 -3
  2764. package/components/Icon/index.js.map +0 -1
  2765. package/components/Icon/package.json +0 -8
  2766. package/components/Icon/useIconBoxSize.d.ts +0 -2
  2767. package/components/Icon/useIconBoxSize.js +0 -3
  2768. package/components/Icon/useIconBoxSize.js.map +0 -1
  2769. package/components/Icon/useIconStyleProps.d.ts +0 -1324
  2770. package/components/Icon/useIconStyleProps.js +0 -43
  2771. package/components/Icon/useIconStyleProps.js.map +0 -1
  2772. package/components/Icon/utils.d.ts +0 -4
  2773. package/components/Icon/utils.js +0 -6
  2774. package/components/Icon/utils.js.map +0 -1
  2775. package/components/IconBox/IconBox.cjs +0 -634
  2776. package/components/IconBox/IconBox.cjs.map +0 -1
  2777. package/components/IconBox/IconBox.d.ts +0 -7
  2778. package/components/IconBox/IconBox.js +0 -42
  2779. package/components/IconBox/IconBox.js.map +0 -1
  2780. package/components/IconBox/constants.js +0 -19
  2781. package/components/IconBox/constants.js.map +0 -1
  2782. package/components/IconBox/index.js +0 -4
  2783. package/components/IconBox/index.js.map +0 -1
  2784. package/components/IconBox/package.json +0 -8
  2785. package/components/IconBox/useIconBoxColors.d.ts +0 -9
  2786. package/components/IconBox/useIconBoxColors.js +0 -22
  2787. package/components/IconBox/useIconBoxColors.js.map +0 -1
  2788. package/components/IconBox/useIconBoxStyleProps.d.ts +0 -13
  2789. package/components/IconBox/useIconBoxStyleProps.js +0 -46
  2790. package/components/IconBox/useIconBoxStyleProps.js.map +0 -1
  2791. package/components/Item/Item.cjs +0 -545
  2792. package/components/Item/Item.cjs.map +0 -1
  2793. package/components/Item/Item.d.ts +0 -7
  2794. package/components/Item/Item.js +0 -35
  2795. package/components/Item/Item.js.map +0 -1
  2796. package/components/Item/index.js +0 -3
  2797. package/components/Item/index.js.map +0 -1
  2798. package/components/Item/package.json +0 -8
  2799. package/components/Item/useItemStyleProps.d.ts +0 -15
  2800. package/components/Item/useItemStyleProps.js +0 -42
  2801. package/components/Item/useItemStyleProps.js.map +0 -1
  2802. package/components/Link/Link.cjs +0 -386
  2803. package/components/Link/Link.cjs.map +0 -1
  2804. package/components/Link/Link.d.ts +0 -4
  2805. package/components/Link/Link.js +0 -34
  2806. package/components/Link/Link.js.map +0 -1
  2807. package/components/Link/index.d.ts +0 -2
  2808. package/components/Link/index.js +0 -3
  2809. package/components/Link/index.js.map +0 -1
  2810. package/components/Link/package.json +0 -8
  2811. package/components/Link/useLinkStyleProps.d.ts +0 -7
  2812. package/components/Link/useLinkStyleProps.js +0 -34
  2813. package/components/Link/useLinkStyleProps.js.map +0 -1
  2814. package/components/Matrix/Matrix.cjs +0 -429
  2815. package/components/Matrix/Matrix.cjs.map +0 -1
  2816. package/components/Matrix/Matrix.d.ts +0 -7
  2817. package/components/Matrix/Matrix.js +0 -37
  2818. package/components/Matrix/Matrix.js.map +0 -1
  2819. package/components/Matrix/constant.js +0 -6
  2820. package/components/Matrix/constant.js.map +0 -1
  2821. package/components/Matrix/index.js +0 -4
  2822. package/components/Matrix/index.js.map +0 -1
  2823. package/components/Matrix/package.json +0 -8
  2824. package/components/Matrix/useMatrixStyleProps.d.ts +0 -9
  2825. package/components/Matrix/useMatrixStyleProps.js +0 -41
  2826. package/components/Matrix/useMatrixStyleProps.js.map +0 -1
  2827. package/components/Modal/Modal.cjs +0 -1205
  2828. package/components/Modal/Modal.cjs.map +0 -1
  2829. package/components/Modal/Modal.d.ts +0 -7
  2830. package/components/Modal/Modal.js +0 -35
  2831. package/components/Modal/Modal.js.map +0 -1
  2832. package/components/Modal/ModalBody.d.ts +0 -7
  2833. package/components/Modal/ModalBody.js +0 -25
  2834. package/components/Modal/ModalBody.js.map +0 -1
  2835. package/components/Modal/ModalCloseButton.d.ts +0 -7
  2836. package/components/Modal/ModalCloseButton.js +0 -26
  2837. package/components/Modal/ModalCloseButton.js.map +0 -1
  2838. package/components/Modal/ModalContext.d.ts +0 -10
  2839. package/components/Modal/ModalContext.js +0 -14
  2840. package/components/Modal/ModalContext.js.map +0 -1
  2841. package/components/Modal/ModalDialog.d.ts +0 -3
  2842. package/components/Modal/ModalDialog.js +0 -33
  2843. package/components/Modal/ModalDialog.js.map +0 -1
  2844. package/components/Modal/ModalFooter.d.ts +0 -7
  2845. package/components/Modal/ModalFooter.js +0 -28
  2846. package/components/Modal/ModalFooter.js.map +0 -1
  2847. package/components/Modal/ModalHeader.d.ts +0 -7
  2848. package/components/Modal/ModalHeader.js +0 -35
  2849. package/components/Modal/ModalHeader.js.map +0 -1
  2850. package/components/Modal/constants.d.ts +0 -1
  2851. package/components/Modal/constants.js +0 -2
  2852. package/components/Modal/constants.js.map +0 -1
  2853. package/components/Modal/index.js +0 -9
  2854. package/components/Modal/index.js.map +0 -1
  2855. package/components/Modal/package.json +0 -8
  2856. package/components/Modal/useModalDialogStyleProps.d.ts +0 -833
  2857. package/components/Modal/useModalDialogStyleProps.js +0 -34
  2858. package/components/Modal/useModalDialogStyleProps.js.map +0 -1
  2859. package/components/Modal/useModalStyleProps.d.ts +0 -24
  2860. package/components/Modal/useModalStyleProps.js +0 -49
  2861. package/components/Modal/useModalStyleProps.js.map +0 -1
  2862. package/components/Navigation/Navigation.cjs +0 -580
  2863. package/components/Navigation/Navigation.cjs.map +0 -1
  2864. package/components/Navigation/Navigation.d.ts +0 -7
  2865. package/components/Navigation/Navigation.js +0 -31
  2866. package/components/Navigation/Navigation.js.map +0 -1
  2867. package/components/Navigation/NavigationAction.d.ts +0 -4
  2868. package/components/Navigation/NavigationAction.js +0 -36
  2869. package/components/Navigation/NavigationAction.js.map +0 -1
  2870. package/components/Navigation/NavigationAvatar.d.ts +0 -4
  2871. package/components/Navigation/NavigationAvatar.js +0 -36
  2872. package/components/Navigation/NavigationAvatar.js.map +0 -1
  2873. package/components/Navigation/NavigationItem.d.ts +0 -7
  2874. package/components/Navigation/NavigationItem.js +0 -30
  2875. package/components/Navigation/NavigationItem.js.map +0 -1
  2876. package/components/Navigation/index.js +0 -7
  2877. package/components/Navigation/index.js.map +0 -1
  2878. package/components/Navigation/package.json +0 -8
  2879. package/components/Navigation/useNavigationActionProps.d.ts +0 -6
  2880. package/components/Navigation/useNavigationActionProps.js +0 -12
  2881. package/components/Navigation/useNavigationActionProps.js.map +0 -1
  2882. package/components/Navigation/useNavigationStyleProps.d.ts +0 -19
  2883. package/components/Navigation/useNavigationStyleProps.js +0 -45
  2884. package/components/Navigation/useNavigationStyleProps.js.map +0 -1
  2885. package/components/NoSsr/NoSsr.cjs +0 -15
  2886. package/components/NoSsr/NoSsr.cjs.map +0 -1
  2887. package/components/NoSsr/NoSsr.d.ts +0 -8
  2888. package/components/NoSsr/NoSsr.js +0 -12
  2889. package/components/NoSsr/NoSsr.js.map +0 -1
  2890. package/components/NoSsr/index.js +0 -2
  2891. package/components/NoSsr/index.js.map +0 -1
  2892. package/components/NoSsr/package.json +0 -8
  2893. package/components/Pagination/Pagination.cjs +0 -991
  2894. package/components/Pagination/Pagination.cjs.map +0 -1
  2895. package/components/Pagination/Pagination.d.ts +0 -7
  2896. package/components/Pagination/Pagination.js +0 -27
  2897. package/components/Pagination/Pagination.js.map +0 -1
  2898. package/components/Pagination/PaginationButtonLink.d.ts +0 -4
  2899. package/components/Pagination/PaginationButtonLink.js +0 -33
  2900. package/components/Pagination/PaginationButtonLink.js.map +0 -1
  2901. package/components/Pagination/PaginationItem.d.ts +0 -7
  2902. package/components/Pagination/PaginationItem.js +0 -25
  2903. package/components/Pagination/PaginationItem.js.map +0 -1
  2904. package/components/Pagination/PaginationLink.d.ts +0 -4
  2905. package/components/Pagination/PaginationLink.js +0 -32
  2906. package/components/Pagination/PaginationLink.js.map +0 -1
  2907. package/components/Pagination/PaginationLinkNext.d.ts +0 -4
  2908. package/components/Pagination/PaginationLinkNext.js +0 -23
  2909. package/components/Pagination/PaginationLinkNext.js.map +0 -1
  2910. package/components/Pagination/PaginationLinkPrevious.d.ts +0 -4
  2911. package/components/Pagination/PaginationLinkPrevious.js +0 -23
  2912. package/components/Pagination/PaginationLinkPrevious.js.map +0 -1
  2913. package/components/Pagination/UncontrolledPagination.d.ts +0 -6
  2914. package/components/Pagination/UncontrolledPagination.js +0 -46
  2915. package/components/Pagination/UncontrolledPagination.js.map +0 -1
  2916. package/components/Pagination/constants.d.ts +0 -3
  2917. package/components/Pagination/constants.js +0 -4
  2918. package/components/Pagination/constants.js.map +0 -1
  2919. package/components/Pagination/index.d.ts +0 -9
  2920. package/components/Pagination/index.js +0 -10
  2921. package/components/Pagination/index.js.map +0 -1
  2922. package/components/Pagination/package.json +0 -8
  2923. package/components/Pagination/usePagination.d.ts +0 -7
  2924. package/components/Pagination/usePagination.js +0 -35
  2925. package/components/Pagination/usePagination.js.map +0 -1
  2926. package/components/Pagination/usePaginationStyleProps.js +0 -16
  2927. package/components/Pagination/usePaginationStyleProps.js.map +0 -1
  2928. package/components/PartnerLogo/PartnerLogo.cjs +0 -362
  2929. package/components/PartnerLogo/PartnerLogo.cjs.map +0 -1
  2930. package/components/PartnerLogo/PartnerLogo.d.ts +0 -7
  2931. package/components/PartnerLogo/PartnerLogo.js +0 -32
  2932. package/components/PartnerLogo/PartnerLogo.js.map +0 -1
  2933. package/components/PartnerLogo/index.js +0 -4
  2934. package/components/PartnerLogo/index.js.map +0 -1
  2935. package/components/PartnerLogo/package.json +0 -8
  2936. package/components/PartnerLogo/usePartnerLogoStyleProps.d.ts +0 -6
  2937. package/components/PartnerLogo/usePartnerLogoStyleProps.js +0 -30
  2938. package/components/PartnerLogo/usePartnerLogoStyleProps.js.map +0 -1
  2939. package/components/Pill/Pill.cjs +0 -375
  2940. package/components/Pill/Pill.cjs.map +0 -1
  2941. package/components/Pill/Pill.d.ts +0 -7
  2942. package/components/Pill/Pill.js +0 -32
  2943. package/components/Pill/Pill.js.map +0 -1
  2944. package/components/Pill/constants.js +0 -5
  2945. package/components/Pill/constants.js.map +0 -1
  2946. package/components/Pill/index.js +0 -4
  2947. package/components/Pill/index.js.map +0 -1
  2948. package/components/Pill/package.json +0 -8
  2949. package/components/Pill/usePillStyleProps.d.ts +0 -7
  2950. package/components/Pill/usePillStyleProps.js +0 -24
  2951. package/components/Pill/usePillStyleProps.js.map +0 -1
  2952. package/components/PricingPlan/PricingPlan.cjs +0 -1821
  2953. package/components/PricingPlan/PricingPlan.cjs.map +0 -1
  2954. package/components/PricingPlan/PricingPlan.d.ts +0 -7
  2955. package/components/PricingPlan/PricingPlan.js +0 -39
  2956. package/components/PricingPlan/PricingPlan.js.map +0 -1
  2957. package/components/PricingPlan/PricingPlanBody.d.ts +0 -7
  2958. package/components/PricingPlan/PricingPlanBody.js +0 -43
  2959. package/components/PricingPlan/PricingPlanBody.js.map +0 -1
  2960. package/components/PricingPlan/PricingPlanFeatureTitle.d.ts +0 -10
  2961. package/components/PricingPlan/PricingPlanFeatureTitle.js +0 -48
  2962. package/components/PricingPlan/PricingPlanFeatureTitle.js.map +0 -1
  2963. package/components/PricingPlan/PricingPlanFooter.d.ts +0 -7
  2964. package/components/PricingPlan/PricingPlanFooter.js +0 -26
  2965. package/components/PricingPlan/PricingPlanFooter.js.map +0 -1
  2966. package/components/PricingPlan/PricingPlanHeader.d.ts +0 -7
  2967. package/components/PricingPlan/PricingPlanHeader.js +0 -47
  2968. package/components/PricingPlan/PricingPlanHeader.js.map +0 -1
  2969. package/components/PricingPlan/constants.js +0 -2
  2970. package/components/PricingPlan/constants.js.map +0 -1
  2971. package/components/PricingPlan/index.js +0 -6
  2972. package/components/PricingPlan/index.js.map +0 -1
  2973. package/components/PricingPlan/package.json +0 -8
  2974. package/components/PricingPlan/usePricingPlanStyleProps.d.ts +0 -35
  2975. package/components/PricingPlan/usePricingPlanStyleProps.js +0 -73
  2976. package/components/PricingPlan/usePricingPlanStyleProps.js.map +0 -1
  2977. package/components/ProductLogo/ProductLogo.cjs +0 -305
  2978. package/components/ProductLogo/ProductLogo.cjs.map +0 -1
  2979. package/components/ProductLogo/ProductLogo.d.ts +0 -7
  2980. package/components/ProductLogo/ProductLogo.js +0 -24
  2981. package/components/ProductLogo/ProductLogo.js.map +0 -1
  2982. package/components/ProductLogo/index.js +0 -3
  2983. package/components/ProductLogo/index.js.map +0 -1
  2984. package/components/ProductLogo/package.json +0 -8
  2985. package/components/Radio/Radio.cjs +0 -618
  2986. package/components/Radio/Radio.cjs.map +0 -1
  2987. package/components/Radio/Radio.d.ts +0 -4
  2988. package/components/Radio/Radio.js +0 -33
  2989. package/components/Radio/Radio.js.map +0 -1
  2990. package/components/Radio/index.js +0 -3
  2991. package/components/Radio/index.js.map +0 -1
  2992. package/components/Radio/package.json +0 -8
  2993. package/components/Radio/useRadioStyleProps.d.ts +0 -12
  2994. package/components/Radio/useRadioStyleProps.js +0 -48
  2995. package/components/Radio/useRadioStyleProps.js.map +0 -1
  2996. package/components/ScrollView/ScrollView.cjs +0 -877
  2997. package/components/ScrollView/ScrollView.cjs.map +0 -1
  2998. package/components/ScrollView/ScrollView.d.ts +0 -7
  2999. package/components/ScrollView/ScrollView.js +0 -45
  3000. package/components/ScrollView/ScrollView.js.map +0 -1
  3001. package/components/ScrollView/ScrollViewArrows.d.ts +0 -7
  3002. package/components/ScrollView/ScrollViewArrows.js +0 -37
  3003. package/components/ScrollView/ScrollViewArrows.js.map +0 -1
  3004. package/components/ScrollView/constants.js +0 -11
  3005. package/components/ScrollView/constants.js.map +0 -1
  3006. package/components/ScrollView/index.js +0 -8
  3007. package/components/ScrollView/index.js.map +0 -1
  3008. package/components/ScrollView/package.json +0 -8
  3009. package/components/ScrollView/useScrollCallback.d.ts +0 -10
  3010. package/components/ScrollView/useScrollCallback.js +0 -41
  3011. package/components/ScrollView/useScrollCallback.js.map +0 -1
  3012. package/components/ScrollView/useScrollPosition.d.ts +0 -16
  3013. package/components/ScrollView/useScrollPosition.js +0 -52
  3014. package/components/ScrollView/useScrollPosition.js.map +0 -1
  3015. package/components/ScrollView/useScrollViewArrows.d.ts +0 -9
  3016. package/components/ScrollView/useScrollViewArrows.js +0 -33
  3017. package/components/ScrollView/useScrollViewArrows.js.map +0 -1
  3018. package/components/ScrollView/useScrollViewStyleProps.d.ts +0 -18
  3019. package/components/ScrollView/useScrollViewStyleProps.js +0 -34
  3020. package/components/ScrollView/useScrollViewStyleProps.js.map +0 -1
  3021. package/components/Section/Section.cjs +0 -442
  3022. package/components/Section/Section.cjs.map +0 -1
  3023. package/components/Section/Section.d.ts +0 -7
  3024. package/components/Section/Section.js +0 -42
  3025. package/components/Section/Section.js.map +0 -1
  3026. package/components/Section/index.js +0 -4
  3027. package/components/Section/index.js.map +0 -1
  3028. package/components/Section/package.json +0 -8
  3029. package/components/Section/useSectionSizeProps.d.ts +0 -6
  3030. package/components/Section/useSectionSizeProps.js +0 -16
  3031. package/components/Section/useSectionSizeProps.js.map +0 -1
  3032. package/components/Section/useSectionStyleProps.d.ts +0 -6
  3033. package/components/Section/useSectionStyleProps.js +0 -14
  3034. package/components/Section/useSectionStyleProps.js.map +0 -1
  3035. package/components/SegmentedControl/SegmentedControl.cjs +0 -509
  3036. package/components/SegmentedControl/SegmentedControl.cjs.map +0 -1
  3037. package/components/SegmentedControl/SegmentedControl.d.ts +0 -7
  3038. package/components/SegmentedControl/SegmentedControl.js +0 -44
  3039. package/components/SegmentedControl/SegmentedControl.js.map +0 -1
  3040. package/components/SegmentedControl/SegmentedControlContext.d.ts +0 -12
  3041. package/components/SegmentedControl/SegmentedControlContext.js +0 -15
  3042. package/components/SegmentedControl/SegmentedControlContext.js.map +0 -1
  3043. package/components/SegmentedControl/SegmentedControlItem.d.ts +0 -4
  3044. package/components/SegmentedControl/SegmentedControlItem.js +0 -48
  3045. package/components/SegmentedControl/SegmentedControlItem.js.map +0 -1
  3046. package/components/SegmentedControl/UncontrolledSegmentedControl.d.ts +0 -7
  3047. package/components/SegmentedControl/UncontrolledSegmentedControl.js +0 -49
  3048. package/components/SegmentedControl/UncontrolledSegmentedControl.js.map +0 -1
  3049. package/components/SegmentedControl/index.js +0 -5
  3050. package/components/SegmentedControl/index.js.map +0 -1
  3051. package/components/SegmentedControl/package.json +0 -8
  3052. package/components/SegmentedControl/useSegmentedControl.d.ts +0 -9
  3053. package/components/SegmentedControl/useSegmentedControl.js +0 -25
  3054. package/components/SegmentedControl/useSegmentedControl.js.map +0 -1
  3055. package/components/SegmentedControl/useSegmentedControlStyleProps.d.ts +0 -12
  3056. package/components/SegmentedControl/useSegmentedControlStyleProps.js +0 -35
  3057. package/components/SegmentedControl/useSegmentedControlStyleProps.js.map +0 -1
  3058. package/components/Select/Select.cjs +0 -636
  3059. package/components/Select/Select.cjs.map +0 -1
  3060. package/components/Select/Select.d.ts +0 -4
  3061. package/components/Select/Select.js +0 -51
  3062. package/components/Select/Select.js.map +0 -1
  3063. package/components/Select/index.js +0 -3
  3064. package/components/Select/index.js.map +0 -1
  3065. package/components/Select/package.json +0 -8
  3066. package/components/Select/useSelectStyleProps.d.ts +0 -19
  3067. package/components/Select/useSelectStyleProps.js +0 -37
  3068. package/components/Select/useSelectStyleProps.js.map +0 -1
  3069. package/components/Skeleton/Skeleton.cjs +0 -507
  3070. package/components/Skeleton/Skeleton.cjs.map +0 -1
  3071. package/components/Skeleton/SkeletonHeading.d.ts +0 -7
  3072. package/components/Skeleton/SkeletonHeading.js +0 -41
  3073. package/components/Skeleton/SkeletonHeading.js.map +0 -1
  3074. package/components/Skeleton/SkeletonItem.d.ts +0 -6
  3075. package/components/Skeleton/SkeletonItem.js +0 -11
  3076. package/components/Skeleton/SkeletonItem.js.map +0 -1
  3077. package/components/Skeleton/SkeletonShape.d.ts +0 -7
  3078. package/components/Skeleton/SkeletonShape.js +0 -37
  3079. package/components/Skeleton/SkeletonShape.js.map +0 -1
  3080. package/components/Skeleton/SkeletonText.d.ts +0 -7
  3081. package/components/Skeleton/SkeletonText.js +0 -41
  3082. package/components/Skeleton/SkeletonText.js.map +0 -1
  3083. package/components/Skeleton/constants.js +0 -2
  3084. package/components/Skeleton/constants.js.map +0 -1
  3085. package/components/Skeleton/index.js +0 -6
  3086. package/components/Skeleton/index.js.map +0 -1
  3087. package/components/Skeleton/package.json +0 -8
  3088. package/components/Skeleton/useSkeletonShapeStyleProps.d.ts +0 -850
  3089. package/components/Skeleton/useSkeletonShapeStyleProps.js +0 -49
  3090. package/components/Skeleton/useSkeletonShapeStyleProps.js.map +0 -1
  3091. package/components/Skeleton/useSkeletonStyleProps.d.ts +0 -12
  3092. package/components/Skeleton/useSkeletonStyleProps.js +0 -34
  3093. package/components/Skeleton/useSkeletonStyleProps.js.map +0 -1
  3094. package/components/SkipLink/SkipLink.cjs +0 -364
  3095. package/components/SkipLink/SkipLink.cjs.map +0 -1
  3096. package/components/SkipLink/SkipLink.d.ts +0 -4
  3097. package/components/SkipLink/SkipLink.js +0 -31
  3098. package/components/SkipLink/SkipLink.js.map +0 -1
  3099. package/components/SkipLink/index.js +0 -3
  3100. package/components/SkipLink/index.js.map +0 -1
  3101. package/components/SkipLink/package.json +0 -8
  3102. package/components/SkipLink/useSkipLinkStyleProps.d.ts +0 -6
  3103. package/components/SkipLink/useSkipLinkStyleProps.js +0 -21
  3104. package/components/SkipLink/useSkipLinkStyleProps.js.map +0 -1
  3105. package/components/Slider/Slider.cjs +0 -648
  3106. package/components/Slider/Slider.cjs.map +0 -1
  3107. package/components/Slider/Slider.d.ts +0 -4
  3108. package/components/Slider/Slider.js +0 -49
  3109. package/components/Slider/Slider.js.map +0 -1
  3110. package/components/Slider/UncontrolledSlider.d.ts +0 -7
  3111. package/components/Slider/UncontrolledSlider.js +0 -14
  3112. package/components/Slider/UncontrolledSlider.js.map +0 -1
  3113. package/components/Slider/constants.js +0 -8
  3114. package/components/Slider/constants.js.map +0 -1
  3115. package/components/Slider/index.js +0 -3
  3116. package/components/Slider/index.js.map +0 -1
  3117. package/components/Slider/package.json +0 -8
  3118. package/components/Slider/useSlider.d.ts +0 -6
  3119. package/components/Slider/useSlider.js +0 -13
  3120. package/components/Slider/useSlider.js.map +0 -1
  3121. package/components/Slider/useSliderStyleProps.d.ts +0 -14
  3122. package/components/Slider/useSliderStyleProps.js +0 -43
  3123. package/components/Slider/useSliderStyleProps.js.map +0 -1
  3124. package/components/Spinner/Spinner.cjs +0 -448
  3125. package/components/Spinner/Spinner.cjs.map +0 -1
  3126. package/components/Spinner/Spinner.d.ts +0 -6
  3127. package/components/Spinner/Spinner.js +0 -14
  3128. package/components/Spinner/Spinner.js.map +0 -1
  3129. package/components/Spinner/index.js +0 -3
  3130. package/components/Spinner/index.js.map +0 -1
  3131. package/components/Spinner/package.json +0 -8
  3132. package/components/Spinner/useSpinnerStyleProps.d.ts +0 -6
  3133. package/components/Spinner/useSpinnerStyleProps.js +0 -25
  3134. package/components/Spinner/useSpinnerStyleProps.js.map +0 -1
  3135. package/components/SplitButton/SplitButton.cjs +0 -1080
  3136. package/components/SplitButton/SplitButton.cjs.map +0 -1
  3137. package/components/SplitButton/SplitButton.d.ts +0 -4
  3138. package/components/SplitButton/SplitButton.js +0 -32
  3139. package/components/SplitButton/SplitButton.js.map +0 -1
  3140. package/components/SplitButton/UncontrolledSplitButton.d.ts +0 -4
  3141. package/components/SplitButton/UncontrolledSplitButton.js +0 -40
  3142. package/components/SplitButton/UncontrolledSplitButton.js.map +0 -1
  3143. package/components/SplitButton/constants.d.ts +0 -1
  3144. package/components/SplitButton/constants.js +0 -2
  3145. package/components/SplitButton/constants.js.map +0 -1
  3146. package/components/SplitButton/index.js +0 -4
  3147. package/components/SplitButton/index.js.map +0 -1
  3148. package/components/SplitButton/package.json +0 -8
  3149. package/components/SplitButton/useSplitButtonStyleProps.js +0 -8
  3150. package/components/SplitButton/useSplitButtonStyleProps.js.map +0 -1
  3151. package/components/Stack/Stack.cjs +0 -433
  3152. package/components/Stack/Stack.cjs.map +0 -1
  3153. package/components/Stack/Stack.d.ts +0 -7
  3154. package/components/Stack/Stack.js +0 -39
  3155. package/components/Stack/Stack.js.map +0 -1
  3156. package/components/Stack/StackItem.d.ts +0 -7
  3157. package/components/Stack/StackItem.js +0 -30
  3158. package/components/Stack/StackItem.js.map +0 -1
  3159. package/components/Stack/index.js +0 -3
  3160. package/components/Stack/index.js.map +0 -1
  3161. package/components/Stack/package.json +0 -8
  3162. package/components/Stack/useStackStyleProps.d.ts +0 -14
  3163. package/components/Stack/useStackStyleProps.js +0 -38
  3164. package/components/Stack/useStackStyleProps.js.map +0 -1
  3165. package/components/Tabs/TabContent.d.ts +0 -6
  3166. package/components/Tabs/TabContent.js +0 -22
  3167. package/components/Tabs/TabContent.js.map +0 -1
  3168. package/components/Tabs/TabContext.d.ts +0 -8
  3169. package/components/Tabs/TabContext.js +0 -14
  3170. package/components/Tabs/TabContext.js.map +0 -1
  3171. package/components/Tabs/TabItem.d.ts +0 -6
  3172. package/components/Tabs/TabItem.js +0 -37
  3173. package/components/Tabs/TabItem.js.map +0 -1
  3174. package/components/Tabs/TabLink.d.ts +0 -4
  3175. package/components/Tabs/TabLink.js +0 -33
  3176. package/components/Tabs/TabLink.js.map +0 -1
  3177. package/components/Tabs/TabList.d.ts +0 -7
  3178. package/components/Tabs/TabList.js +0 -28
  3179. package/components/Tabs/TabList.js.map +0 -1
  3180. package/components/Tabs/TabPane.d.ts +0 -6
  3181. package/components/Tabs/TabPane.js +0 -27
  3182. package/components/Tabs/TabPane.js.map +0 -1
  3183. package/components/Tabs/Tabs.cjs +0 -530
  3184. package/components/Tabs/Tabs.cjs.map +0 -1
  3185. package/components/Tabs/Tabs.d.ts +0 -6
  3186. package/components/Tabs/Tabs.js +0 -7
  3187. package/components/Tabs/Tabs.js.map +0 -1
  3188. package/components/Tabs/UncontrolledTabs.d.ts +0 -6
  3189. package/components/Tabs/UncontrolledTabs.js +0 -11
  3190. package/components/Tabs/UncontrolledTabs.js.map +0 -1
  3191. package/components/Tabs/index.js +0 -12
  3192. package/components/Tabs/index.js.map +0 -1
  3193. package/components/Tabs/package.json +0 -8
  3194. package/components/Tabs/useTabs.d.ts +0 -5
  3195. package/components/Tabs/useTabs.js +0 -10
  3196. package/components/Tabs/useTabs.js.map +0 -1
  3197. package/components/Tabs/useTabsStyleProps.d.ts +0 -15
  3198. package/components/Tabs/useTabsStyleProps.js +0 -39
  3199. package/components/Tabs/useTabsStyleProps.js.map +0 -1
  3200. package/components/Tag/Tag.cjs +0 -383
  3201. package/components/Tag/Tag.cjs.map +0 -1
  3202. package/components/Tag/Tag.d.ts +0 -4
  3203. package/components/Tag/Tag.js +0 -36
  3204. package/components/Tag/Tag.js.map +0 -1
  3205. package/components/Tag/constants.js +0 -4
  3206. package/components/Tag/constants.js.map +0 -1
  3207. package/components/Tag/index.js +0 -4
  3208. package/components/Tag/index.js.map +0 -1
  3209. package/components/Tag/package.json +0 -8
  3210. package/components/Tag/useTagStyleProps.d.ts +0 -7
  3211. package/components/Tag/useTagStyleProps.js +0 -30
  3212. package/components/Tag/useTagStyleProps.js.map +0 -1
  3213. package/components/Text/Text.cjs +0 -385
  3214. package/components/Text/Text.cjs.map +0 -1
  3215. package/components/Text/Text.d.ts +0 -7
  3216. package/components/Text/Text.js +0 -38
  3217. package/components/Text/Text.js.map +0 -1
  3218. package/components/Text/index.js +0 -3
  3219. package/components/Text/index.js.map +0 -1
  3220. package/components/Text/package.json +0 -8
  3221. package/components/Text/useTextStyleProps.d.ts +0 -7
  3222. package/components/Text/useTextStyleProps.js +0 -26
  3223. package/components/Text/useTextStyleProps.js.map +0 -1
  3224. package/components/TextArea/TextArea.cjs +0 -816
  3225. package/components/TextArea/TextArea.cjs.map +0 -1
  3226. package/components/TextArea/TextArea.d.ts +0 -4
  3227. package/components/TextArea/TextArea.js +0 -30
  3228. package/components/TextArea/TextArea.js.map +0 -1
  3229. package/components/TextArea/index.js +0 -2
  3230. package/components/TextArea/index.js.map +0 -1
  3231. package/components/TextArea/package.json +0 -8
  3232. package/components/TextArea/useAdjustHeight.d.ts +0 -13
  3233. package/components/TextArea/useAdjustHeight.js +0 -37
  3234. package/components/TextArea/useAdjustHeight.js.map +0 -1
  3235. package/components/TextField/TextField.cjs +0 -760
  3236. package/components/TextField/TextField.cjs.map +0 -1
  3237. package/components/TextField/TextField.d.ts +0 -4
  3238. package/components/TextField/TextField.js +0 -8
  3239. package/components/TextField/TextField.js.map +0 -1
  3240. package/components/TextField/index.js +0 -2
  3241. package/components/TextField/index.js.map +0 -1
  3242. package/components/TextField/package.json +0 -8
  3243. package/components/TextFieldBase/TextFieldBase.cjs +0 -756
  3244. package/components/TextFieldBase/TextFieldBase.cjs.map +0 -1
  3245. package/components/TextFieldBase/TextFieldBase.d.ts +0 -7
  3246. package/components/TextFieldBase/TextFieldBase.js +0 -44
  3247. package/components/TextFieldBase/TextFieldBase.js.map +0 -1
  3248. package/components/TextFieldBase/TextFieldBaseInput.d.ts +0 -4
  3249. package/components/TextFieldBase/TextFieldBaseInput.js +0 -27
  3250. package/components/TextFieldBase/TextFieldBaseInput.js.map +0 -1
  3251. package/components/TextFieldBase/TextFieldBasePasswordToggle.d.ts +0 -6
  3252. package/components/TextFieldBase/TextFieldBasePasswordToggle.js +0 -21
  3253. package/components/TextFieldBase/TextFieldBasePasswordToggle.js.map +0 -1
  3254. package/components/TextFieldBase/constants.d.ts +0 -2
  3255. package/components/TextFieldBase/constants.js +0 -3
  3256. package/components/TextFieldBase/constants.js.map +0 -1
  3257. package/components/TextFieldBase/index.js +0 -2
  3258. package/components/TextFieldBase/index.js.map +0 -1
  3259. package/components/TextFieldBase/package.json +0 -8
  3260. package/components/TextFieldBase/usePasswordToggle.js +0 -11
  3261. package/components/TextFieldBase/usePasswordToggle.js.map +0 -1
  3262. package/components/TextFieldBase/useTextFieldBaseInputStyleProps.d.ts +0 -8
  3263. package/components/TextFieldBase/useTextFieldBaseInputStyleProps.js +0 -25
  3264. package/components/TextFieldBase/useTextFieldBaseInputStyleProps.js.map +0 -1
  3265. package/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.js +0 -15
  3266. package/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.js.map +0 -1
  3267. package/components/TextFieldBase/useTextFieldBaseStyleProps.d.ts +0 -15
  3268. package/components/TextFieldBase/useTextFieldBaseStyleProps.js +0 -55
  3269. package/components/TextFieldBase/useTextFieldBaseStyleProps.js.map +0 -1
  3270. package/components/TextFieldBase/withPasswordToggle.d.ts +0 -10
  3271. package/components/TextFieldBase/withPasswordToggle.js +0 -29
  3272. package/components/TextFieldBase/withPasswordToggle.js.map +0 -1
  3273. package/components/Timeline/Timeline.cjs +0 -514
  3274. package/components/Timeline/Timeline.cjs.map +0 -1
  3275. package/components/Timeline/Timeline.d.ts +0 -7
  3276. package/components/Timeline/Timeline.js +0 -32
  3277. package/components/Timeline/Timeline.js.map +0 -1
  3278. package/components/Timeline/TimelineContent.d.ts +0 -7
  3279. package/components/Timeline/TimelineContent.js +0 -25
  3280. package/components/Timeline/TimelineContent.js.map +0 -1
  3281. package/components/Timeline/TimelineHeading.d.ts +0 -7
  3282. package/components/Timeline/TimelineHeading.js +0 -25
  3283. package/components/Timeline/TimelineHeading.js.map +0 -1
  3284. package/components/Timeline/TimelineMarker.d.ts +0 -7
  3285. package/components/Timeline/TimelineMarker.js +0 -35
  3286. package/components/Timeline/TimelineMarker.js.map +0 -1
  3287. package/components/Timeline/TimelineStep.d.ts +0 -7
  3288. package/components/Timeline/TimelineStep.js +0 -30
  3289. package/components/Timeline/TimelineStep.js.map +0 -1
  3290. package/components/Timeline/constants.js +0 -8
  3291. package/components/Timeline/constants.js.map +0 -1
  3292. package/components/Timeline/index.js +0 -7
  3293. package/components/Timeline/index.js.map +0 -1
  3294. package/components/Timeline/package.json +0 -8
  3295. package/components/Timeline/useTimelineStyleProps.d.ts +0 -20
  3296. package/components/Timeline/useTimelineStyleProps.js +0 -49
  3297. package/components/Timeline/useTimelineStyleProps.js.map +0 -1
  3298. package/components/Toast/Toast.cjs +0 -736
  3299. package/components/Toast/Toast.cjs.map +0 -1
  3300. package/components/Toast/Toast.d.ts +0 -7
  3301. package/components/Toast/Toast.js +0 -33
  3302. package/components/Toast/Toast.js.map +0 -1
  3303. package/components/Toast/ToastBar.d.ts +0 -7
  3304. package/components/Toast/ToastBar.js +0 -38
  3305. package/components/Toast/ToastBar.js.map +0 -1
  3306. package/components/Toast/ToastBarLink.d.ts +0 -4
  3307. package/components/Toast/ToastBarLink.js +0 -31
  3308. package/components/Toast/ToastBarLink.js.map +0 -1
  3309. package/components/Toast/ToastBarMessage.d.ts +0 -7
  3310. package/components/Toast/ToastBarMessage.js +0 -23
  3311. package/components/Toast/ToastBarMessage.js.map +0 -1
  3312. package/components/Toast/ToastCloseButton.d.ts +0 -7
  3313. package/components/Toast/ToastCloseButton.js +0 -32
  3314. package/components/Toast/ToastCloseButton.js.map +0 -1
  3315. package/components/Toast/ToastContext.d.ts +0 -43
  3316. package/components/Toast/ToastContext.js +0 -102
  3317. package/components/Toast/ToastContext.js.map +0 -1
  3318. package/components/Toast/UncontrolledToast.d.ts +0 -7
  3319. package/components/Toast/UncontrolledToast.js +0 -32
  3320. package/components/Toast/UncontrolledToast.js.map +0 -1
  3321. package/components/Toast/constants.d.ts +0 -9
  3322. package/components/Toast/constants.js +0 -15
  3323. package/components/Toast/constants.js.map +0 -1
  3324. package/components/Toast/index.js +0 -8
  3325. package/components/Toast/index.js.map +0 -1
  3326. package/components/Toast/package.json +0 -8
  3327. package/components/Toast/useToast.d.ts +0 -1
  3328. package/components/Toast/useToast.js +0 -11
  3329. package/components/Toast/useToast.js.map +0 -1
  3330. package/components/Toast/useToastBarStyleProps.d.ts +0 -31
  3331. package/components/Toast/useToastBarStyleProps.js +0 -40
  3332. package/components/Toast/useToastBarStyleProps.js.map +0 -1
  3333. package/components/Toast/useToastIcon.d.ts +0 -2
  3334. package/components/Toast/useToastIcon.js +0 -13
  3335. package/components/Toast/useToastIcon.js.map +0 -1
  3336. package/components/Toast/useToastStyleProps.d.ts +0 -9
  3337. package/components/Toast/useToastStyleProps.js +0 -37
  3338. package/components/Toast/useToastStyleProps.js.map +0 -1
  3339. package/components/Toggle/Toggle.cjs +0 -692
  3340. package/components/Toggle/Toggle.cjs.map +0 -1
  3341. package/components/Toggle/Toggle.d.ts +0 -4
  3342. package/components/Toggle/Toggle.js +0 -44
  3343. package/components/Toggle/Toggle.js.map +0 -1
  3344. package/components/Toggle/index.js +0 -3
  3345. package/components/Toggle/index.js.map +0 -1
  3346. package/components/Toggle/package.json +0 -8
  3347. package/components/Toggle/useToggleStyleProps.d.ts +0 -13
  3348. package/components/Toggle/useToggleStyleProps.js +0 -55
  3349. package/components/Toggle/useToggleStyleProps.js.map +0 -1
  3350. package/components/Tooltip/Tooltip.cjs +0 -867
  3351. package/components/Tooltip/Tooltip.cjs.map +0 -1
  3352. package/components/Tooltip/Tooltip.d.ts +0 -7
  3353. package/components/Tooltip/Tooltip.js +0 -90
  3354. package/components/Tooltip/Tooltip.js.map +0 -1
  3355. package/components/Tooltip/TooltipCloseButton.d.ts +0 -7
  3356. package/components/Tooltip/TooltipCloseButton.js +0 -29
  3357. package/components/Tooltip/TooltipCloseButton.js.map +0 -1
  3358. package/components/Tooltip/TooltipContext.d.ts +0 -29
  3359. package/components/Tooltip/TooltipContext.js +0 -34
  3360. package/components/Tooltip/TooltipContext.js.map +0 -1
  3361. package/components/Tooltip/TooltipPopover.d.ts +0 -7
  3362. package/components/Tooltip/TooltipPopover.js +0 -63
  3363. package/components/Tooltip/TooltipPopover.js.map +0 -1
  3364. package/components/Tooltip/TooltipTrigger.d.ts +0 -7
  3365. package/components/Tooltip/TooltipTrigger.js +0 -31
  3366. package/components/Tooltip/TooltipTrigger.js.map +0 -1
  3367. package/components/Tooltip/UncontrolledTooltip.d.ts +0 -7
  3368. package/components/Tooltip/UncontrolledTooltip.js +0 -23
  3369. package/components/Tooltip/UncontrolledTooltip.js.map +0 -1
  3370. package/components/Tooltip/index.js +0 -8
  3371. package/components/Tooltip/index.js.map +0 -1
  3372. package/components/Tooltip/package.json +0 -8
  3373. package/components/Tooltip/useFloating.d.ts +0 -58
  3374. package/components/Tooltip/useFloating.js +0 -123
  3375. package/components/Tooltip/useFloating.js.map +0 -1
  3376. package/components/Tooltip/useTooltip.js +0 -10
  3377. package/components/Tooltip/useTooltip.js.map +0 -1
  3378. package/components/Tooltip/useTooltipStyleProps.d.ts +0 -16
  3379. package/components/Tooltip/useTooltipStyleProps.js +0 -39
  3380. package/components/Tooltip/useTooltipStyleProps.js.map +0 -1
  3381. package/components/Truncate/Truncate.cjs +0 -421
  3382. package/components/Truncate/Truncate.cjs.map +0 -1
  3383. package/components/Truncate/Truncate.d.ts +0 -7
  3384. package/components/Truncate/Truncate.js +0 -36
  3385. package/components/Truncate/Truncate.js.map +0 -1
  3386. package/components/Truncate/index.js +0 -4
  3387. package/components/Truncate/index.js.map +0 -1
  3388. package/components/Truncate/package.json +0 -8
  3389. package/components/Truncate/useTruncateStyleProps.d.ts +0 -14
  3390. package/components/Truncate/useTruncateStyleProps.js +0 -30
  3391. package/components/Truncate/useTruncateStyleProps.js.map +0 -1
  3392. package/components/Truncate/useTruncatedText.d.ts +0 -6
  3393. package/components/Truncate/useTruncatedText.js +0 -36
  3394. package/components/Truncate/useTruncatedText.js.map +0 -1
  3395. package/components/UNSTABLE_Header/UNSTABLE_Header.cjs +0 -400
  3396. package/components/UNSTABLE_Header/UNSTABLE_Header.cjs.map +0 -1
  3397. package/components/UNSTABLE_Header/UNSTABLE_Header.d.ts +0 -7
  3398. package/components/UNSTABLE_Header/UNSTABLE_Header.js +0 -25
  3399. package/components/UNSTABLE_Header/UNSTABLE_Header.js.map +0 -1
  3400. package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.d.ts +0 -4
  3401. package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.js +0 -31
  3402. package/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.js.map +0 -1
  3403. package/components/UNSTABLE_Header/index.js +0 -4
  3404. package/components/UNSTABLE_Header/index.js.map +0 -1
  3405. package/components/UNSTABLE_Header/package.json +0 -8
  3406. package/components/UNSTABLE_Header/useUnstableHeaderStyleProps.d.ts +0 -9
  3407. package/components/UNSTABLE_Header/useUnstableHeaderStyleProps.js +0 -30
  3408. package/components/UNSTABLE_Header/useUnstableHeaderStyleProps.js.map +0 -1
  3409. package/components/VisuallyHidden/VisuallyHidden.cjs +0 -361
  3410. package/components/VisuallyHidden/VisuallyHidden.cjs.map +0 -1
  3411. package/components/VisuallyHidden/VisuallyHidden.d.ts +0 -7
  3412. package/components/VisuallyHidden/VisuallyHidden.js +0 -26
  3413. package/components/VisuallyHidden/VisuallyHidden.js.map +0 -1
  3414. package/components/VisuallyHidden/index.js +0 -2
  3415. package/components/VisuallyHidden/index.js.map +0 -1
  3416. package/components/VisuallyHidden/package.json +0 -8
  3417. package/components/VisuallyHidden/useVisuallyHiddenProps.d.ts +0 -7
  3418. package/components/VisuallyHidden/useVisuallyHiddenProps.js +0 -21
  3419. package/components/VisuallyHidden/useVisuallyHiddenProps.js.map +0 -1
  3420. package/components/components.cjs +0 -8595
  3421. package/components/components.cjs.map +0 -1
  3422. package/components/index.d.ts +0 -63
  3423. package/components/index.js +0 -64
  3424. package/components/index.js.map +0 -1
  3425. package/components/package.json +0 -8
  3426. package/constants/classes.js +0 -2
  3427. package/constants/classes.js.map +0 -1
  3428. package/constants/colors.js +0 -5
  3429. package/constants/colors.js.map +0 -1
  3430. package/constants/constants.cjs +0 -250
  3431. package/constants/constants.cjs.map +0 -1
  3432. package/constants/dictionaries.js +0 -117
  3433. package/constants/dictionaries.js.map +0 -1
  3434. package/constants/direction.d.ts +0 -15
  3435. package/constants/direction.js +0 -12
  3436. package/constants/direction.js.map +0 -1
  3437. package/constants/index.js +0 -10
  3438. package/constants/index.js.map +0 -1
  3439. package/constants/inputs.js +0 -5
  3440. package/constants/inputs.js.map +0 -1
  3441. package/constants/media.js +0 -5
  3442. package/constants/media.js.map +0 -1
  3443. package/constants/package.json +0 -8
  3444. package/constants/position.js +0 -7
  3445. package/constants/position.js.map +0 -1
  3446. package/constants/style.js +0 -41
  3447. package/constants/style.js.map +0 -1
  3448. package/constants/text.js +0 -11
  3449. package/constants/text.js.map +0 -1
  3450. package/context/ClassNamePrefixContext.js +0 -9
  3451. package/context/ClassNamePrefixContext.js.map +0 -1
  3452. package/context/IconsContext.js +0 -9
  3453. package/context/IconsContext.js.map +0 -1
  3454. package/context/PropsContext.d.ts +0 -7
  3455. package/context/PropsContext.js +0 -12
  3456. package/context/PropsContext.js.map +0 -1
  3457. package/context/context.cjs +0 -30
  3458. package/context/context.cjs.map +0 -1
  3459. package/context/index.js +0 -4
  3460. package/context/index.js.map +0 -1
  3461. package/context/package.json +0 -8
  3462. package/hooks/__mocks__/useIcon.js +0 -2
  3463. package/hooks/__mocks__/useIcon.js.map +0 -1
  3464. package/hooks/hooks.cjs +0 -725
  3465. package/hooks/hooks.cjs.map +0 -1
  3466. package/hooks/index.d.ts +0 -21
  3467. package/hooks/index.js +0 -22
  3468. package/hooks/index.js.map +0 -1
  3469. package/hooks/package.json +0 -8
  3470. package/hooks/styleProps.d.ts +0 -7
  3471. package/hooks/styleProps.js +0 -46
  3472. package/hooks/styleProps.js.map +0 -1
  3473. package/hooks/useAlignmentClass.d.ts +0 -3
  3474. package/hooks/useAlignmentClass.js +0 -7
  3475. package/hooks/useAlignmentClass.js.map +0 -1
  3476. package/hooks/useAriaDescribedBy.js +0 -4
  3477. package/hooks/useAriaDescribedBy.js.map +0 -1
  3478. package/hooks/useCancelEvent.d.ts +0 -2
  3479. package/hooks/useCancelEvent.js +0 -39
  3480. package/hooks/useCancelEvent.js.map +0 -1
  3481. package/hooks/useClassNamePrefix.js +0 -16
  3482. package/hooks/useClassNamePrefix.js.map +0 -1
  3483. package/hooks/useClick.d.ts +0 -2
  3484. package/hooks/useClick.js +0 -12
  3485. package/hooks/useClick.js.map +0 -1
  3486. package/hooks/useClickOutside.d.ts +0 -6
  3487. package/hooks/useClickOutside.js +0 -34
  3488. package/hooks/useClickOutside.js.map +0 -1
  3489. package/hooks/useDeprecationMessage.js +0 -43
  3490. package/hooks/useDeprecationMessage.js.map +0 -1
  3491. package/hooks/useDimensionStyle.d.ts +0 -5
  3492. package/hooks/useDimensionStyle.js +0 -16
  3493. package/hooks/useDimensionStyle.js.map +0 -1
  3494. package/hooks/useDragAndDrop.d.ts +0 -7
  3495. package/hooks/useDragAndDrop.js +0 -38
  3496. package/hooks/useDragAndDrop.js.map +0 -1
  3497. package/hooks/useIcon.js +0 -13
  3498. package/hooks/useIcon.js.map +0 -1
  3499. package/hooks/useIconName.js +0 -4
  3500. package/hooks/useIconName.js.map +0 -1
  3501. package/hooks/useInputPositionClass.d.ts +0 -2
  3502. package/hooks/useInputPositionClass.js +0 -8
  3503. package/hooks/useInputPositionClass.js.map +0 -1
  3504. package/hooks/useIsMounted.js +0 -13
  3505. package/hooks/useIsMounted.js.map +0 -1
  3506. package/hooks/useIsomorphicLayoutEffect.js +0 -5
  3507. package/hooks/useIsomorphicLayoutEffect.js.map +0 -1
  3508. package/hooks/useLastActiveFocus.js +0 -14
  3509. package/hooks/useLastActiveFocus.js.map +0 -1
  3510. package/hooks/useResizeObserver.d.ts +0 -12
  3511. package/hooks/useResizeObserver.js +0 -66
  3512. package/hooks/useResizeObserver.js.map +0 -1
  3513. package/hooks/useScrollControl.d.ts +0 -2
  3514. package/hooks/useScrollControl.js +0 -28
  3515. package/hooks/useScrollControl.js.map +0 -1
  3516. package/hooks/useSpacingStyle.d.ts +0 -3
  3517. package/hooks/useSpacingStyle.js +0 -19
  3518. package/hooks/useSpacingStyle.js.map +0 -1
  3519. package/hooks/useStyleUtilities.d.ts +0 -10
  3520. package/hooks/useStyleUtilities.js +0 -85
  3521. package/hooks/useStyleUtilities.js.map +0 -1
  3522. package/hooks/useSymmetry.d.ts +0 -7
  3523. package/hooks/useSymmetry.js +0 -39
  3524. package/hooks/useSymmetry.js.map +0 -1
  3525. package/hooks/useToggle.js +0 -8
  3526. package/hooks/useToggle.js.map +0 -1
  3527. package/hooks/useWrapClass.js +0 -14
  3528. package/hooks/useWrapClass.js.map +0 -1
  3529. package/index.cjs +0 -8818
  3530. package/index.cjs.map +0 -1
  3531. package/index.d.ts +0 -6
  3532. package/index.js +0 -7
  3533. package/index.js.map +0 -1
  3534. package/spirit-web-react.cjs +0 -8813
  3535. package/spirit-web-react.cjs.map +0 -1
  3536. package/spirit-web-react.min.cjs +0 -1
  3537. package/types/accordion.d.ts +0 -32
  3538. package/types/accordion.js +0 -2
  3539. package/types/accordion.js.map +0 -1
  3540. package/types/actionGroup.d.ts +0 -4
  3541. package/types/actionGroup.js +0 -2
  3542. package/types/actionGroup.js.map +0 -1
  3543. package/types/alert.d.ts +0 -12
  3544. package/types/alert.js +0 -2
  3545. package/types/alert.js.map +0 -1
  3546. package/types/avatar.d.ts +0 -11
  3547. package/types/avatar.js +0 -2
  3548. package/types/avatar.js.map +0 -1
  3549. package/types/box.d.ts +0 -22
  3550. package/types/box.js +0 -2
  3551. package/types/box.js.map +0 -1
  3552. package/types/breadcrumbs.d.ts +0 -25
  3553. package/types/breadcrumbs.js +0 -2
  3554. package/types/breadcrumbs.js.map +0 -1
  3555. package/types/button.d.ts +0 -21
  3556. package/types/button.js +0 -2
  3557. package/types/button.js.map +0 -1
  3558. package/types/card.d.ts +0 -67
  3559. package/types/card.js +0 -3
  3560. package/types/card.js.map +0 -1
  3561. package/types/checkbox.d.ts +0 -12
  3562. package/types/checkbox.js +0 -2
  3563. package/types/checkbox.js.map +0 -1
  3564. package/types/collapse.d.ts +0 -29
  3565. package/types/collapse.js +0 -2
  3566. package/types/collapse.js.map +0 -1
  3567. package/types/container.d.ts +0 -11
  3568. package/types/container.js +0 -2
  3569. package/types/container.js.map +0 -1
  3570. package/types/controlButton.d.ts +0 -14
  3571. package/types/controlButton.js +0 -2
  3572. package/types/controlButton.js.map +0 -1
  3573. package/types/divider.d.ts +0 -3
  3574. package/types/divider.js +0 -2
  3575. package/types/divider.js.map +0 -1
  3576. package/types/drawer.d.ts +0 -29
  3577. package/types/drawer.js +0 -2
  3578. package/types/drawer.js.map +0 -1
  3579. package/types/dropdown.d.ts +0 -48
  3580. package/types/dropdown.js +0 -6
  3581. package/types/dropdown.js.map +0 -1
  3582. package/types/emptyState.d.ts +0 -4
  3583. package/types/emptyState.js +0 -2
  3584. package/types/emptyState.js.map +0 -1
  3585. package/types/fieldGroup.d.ts +0 -13
  3586. package/types/fieldGroup.js +0 -2
  3587. package/types/fieldGroup.js.map +0 -1
  3588. package/types/fileUploader.d.ts +0 -118
  3589. package/types/fileUploader.js +0 -2
  3590. package/types/fileUploader.js.map +0 -1
  3591. package/types/flex.d.ts +0 -30
  3592. package/types/flex.js +0 -2
  3593. package/types/flex.js.map +0 -1
  3594. package/types/footer.d.ts +0 -14
  3595. package/types/footer.js +0 -2
  3596. package/types/footer.js.map +0 -1
  3597. package/types/grid.d.ts +0 -46
  3598. package/types/grid.js +0 -2
  3599. package/types/grid.js.map +0 -1
  3600. package/types/header.d.ts +0 -60
  3601. package/types/header.js +0 -2
  3602. package/types/header.js.map +0 -1
  3603. package/types/heading.d.ts +0 -10
  3604. package/types/heading.js +0 -2
  3605. package/types/heading.js.map +0 -1
  3606. package/types/hidden.d.ts +0 -10
  3607. package/types/hidden.js +0 -2
  3608. package/types/hidden.js.map +0 -1
  3609. package/types/icon.d.ts +0 -13
  3610. package/types/icon.js +0 -2
  3611. package/types/icon.js.map +0 -1
  3612. package/types/iconBox.d.ts +0 -18
  3613. package/types/iconBox.js +0 -2
  3614. package/types/iconBox.js.map +0 -1
  3615. package/types/index.js +0 -62
  3616. package/types/index.js.map +0 -1
  3617. package/types/item.d.ts +0 -16
  3618. package/types/item.js +0 -2
  3619. package/types/item.js.map +0 -1
  3620. package/types/label.d.ts +0 -12
  3621. package/types/label.js +0 -2
  3622. package/types/label.js.map +0 -1
  3623. package/types/link.d.ts +0 -20
  3624. package/types/link.js +0 -6
  3625. package/types/link.js.map +0 -1
  3626. package/types/matrix.d.ts +0 -17
  3627. package/types/matrix.js +0 -2
  3628. package/types/matrix.js.map +0 -1
  3629. package/types/modal.d.ts +0 -44
  3630. package/types/modal.js +0 -2
  3631. package/types/modal.js.map +0 -1
  3632. package/types/navigation.d.ts +0 -36
  3633. package/types/navigation.js +0 -2
  3634. package/types/navigation.js.map +0 -1
  3635. package/types/package.json +0 -8
  3636. package/types/pagination.d.ts +0 -44
  3637. package/types/pagination.js +0 -2
  3638. package/types/pagination.js.map +0 -1
  3639. package/types/partnerLogo.d.ts +0 -7
  3640. package/types/partnerLogo.js +0 -2
  3641. package/types/partnerLogo.js.map +0 -1
  3642. package/types/pill.d.ts +0 -13
  3643. package/types/pill.js +0 -2
  3644. package/types/pill.js.map +0 -1
  3645. package/types/pricingPlan.d.ts +0 -32
  3646. package/types/pricingPlan.js +0 -2
  3647. package/types/pricingPlan.js.map +0 -1
  3648. package/types/productLogo.d.ts +0 -3
  3649. package/types/productLogo.js +0 -2
  3650. package/types/productLogo.js.map +0 -1
  3651. package/types/radio.d.ts +0 -11
  3652. package/types/radio.js +0 -2
  3653. package/types/radio.js.map +0 -1
  3654. package/types/scrollView.d.ts +0 -30
  3655. package/types/scrollView.js +0 -2
  3656. package/types/scrollView.js.map +0 -1
  3657. package/types/section.d.ts +0 -17
  3658. package/types/section.js +0 -2
  3659. package/types/section.js.map +0 -1
  3660. package/types/segmentedControl.d.ts +0 -25
  3661. package/types/segmentedControl.js +0 -2
  3662. package/types/segmentedControl.js.map +0 -1
  3663. package/types/select.d.ts +0 -15
  3664. package/types/select.js +0 -2
  3665. package/types/select.js.map +0 -1
  3666. package/types/shared/adornments.js +0 -2
  3667. package/types/shared/adornments.js.map +0 -1
  3668. package/types/shared/buttons.js +0 -2
  3669. package/types/shared/buttons.js.map +0 -1
  3670. package/types/shared/colors.d.ts +0 -23
  3671. package/types/shared/colors.js +0 -2
  3672. package/types/shared/colors.js.map +0 -1
  3673. package/types/shared/columns.js +0 -2
  3674. package/types/shared/columns.js.map +0 -1
  3675. package/types/shared/dialogs.d.ts +0 -7
  3676. package/types/shared/dialogs.js +0 -2
  3677. package/types/shared/dialogs.js.map +0 -1
  3678. package/types/shared/dictionaries.d.ts +0 -57
  3679. package/types/shared/dictionaries.js +0 -2
  3680. package/types/shared/dictionaries.js.map +0 -1
  3681. package/types/shared/directions.d.ts +0 -5
  3682. package/types/shared/directions.js +0 -2
  3683. package/types/shared/directions.js.map +0 -1
  3684. package/types/shared/dragAndDrop.d.ts +0 -7
  3685. package/types/shared/dragAndDrop.js +0 -2
  3686. package/types/shared/dragAndDrop.js.map +0 -1
  3687. package/types/shared/element.d.ts +0 -53
  3688. package/types/shared/element.js +0 -2
  3689. package/types/shared/element.js.map +0 -1
  3690. package/types/shared/events.d.ts +0 -8
  3691. package/types/shared/events.js +0 -2
  3692. package/types/shared/events.js.map +0 -1
  3693. package/types/shared/index.d.ts +0 -34
  3694. package/types/shared/index.js +0 -27
  3695. package/types/shared/index.js.map +0 -1
  3696. package/types/shared/inputs.d.ts +0 -34
  3697. package/types/shared/inputs.js +0 -2
  3698. package/types/shared/inputs.js.map +0 -1
  3699. package/types/shared/item.js +0 -2
  3700. package/types/shared/item.js.map +0 -1
  3701. package/types/shared/package.json +0 -8
  3702. package/types/shared/positions.d.ts +0 -3
  3703. package/types/shared/positions.js +0 -2
  3704. package/types/shared/positions.js.map +0 -1
  3705. package/types/shared/radii.d.ts +0 -2
  3706. package/types/shared/radii.js +0 -2
  3707. package/types/shared/radii.js.map +0 -1
  3708. package/types/shared/refs.d.ts +0 -5
  3709. package/types/shared/refs.js +0 -2
  3710. package/types/shared/refs.js.map +0 -1
  3711. package/types/shared/responsive.d.ts +0 -4
  3712. package/types/shared/responsive.js +0 -2
  3713. package/types/shared/responsive.js.map +0 -1
  3714. package/types/shared/rest.js +0 -2
  3715. package/types/shared/rest.js.map +0 -1
  3716. package/types/shared/shared.cjs +0 -15
  3717. package/types/shared/shared.cjs.map +0 -1
  3718. package/types/shared/sizes.d.ts +0 -3
  3719. package/types/shared/sizes.js +0 -2
  3720. package/types/shared/sizes.js.map +0 -1
  3721. package/types/shared/style.d.ts +0 -35
  3722. package/types/shared/style.js +0 -2
  3723. package/types/shared/style.js.map +0 -1
  3724. package/types/shared/text.d.ts +0 -14
  3725. package/types/shared/text.js +0 -2
  3726. package/types/shared/text.js.map +0 -1
  3727. package/types/shared/tokens.d.ts +0 -8
  3728. package/types/shared/tokens.js +0 -2
  3729. package/types/shared/tokens.js.map +0 -1
  3730. package/types/skeleton.d.ts +0 -18
  3731. package/types/skeleton.js +0 -2
  3732. package/types/skeleton.js.map +0 -1
  3733. package/types/skipLink.d.ts +0 -11
  3734. package/types/skipLink.js +0 -2
  3735. package/types/skipLink.js.map +0 -1
  3736. package/types/slider.d.ts +0 -19
  3737. package/types/slider.js +0 -2
  3738. package/types/slider.js.map +0 -1
  3739. package/types/spinner.d.ts +0 -7
  3740. package/types/spinner.js +0 -2
  3741. package/types/spinner.js.map +0 -1
  3742. package/types/splitButton.d.ts +0 -26
  3743. package/types/splitButton.js +0 -2
  3744. package/types/splitButton.js.map +0 -1
  3745. package/types/stack.d.ts +0 -18
  3746. package/types/stack.js +0 -2
  3747. package/types/stack.js.map +0 -1
  3748. package/types/tabs.d.ts +0 -39
  3749. package/types/tabs.js +0 -2
  3750. package/types/tabs.js.map +0 -1
  3751. package/types/tag.d.ts +0 -15
  3752. package/types/tag.js +0 -2
  3753. package/types/tag.js.map +0 -1
  3754. package/types/text.d.ts +0 -9
  3755. package/types/text.js +0 -2
  3756. package/types/text.js.map +0 -1
  3757. package/types/textArea.d.ts +0 -12
  3758. package/types/textArea.js +0 -2
  3759. package/types/textArea.js.map +0 -1
  3760. package/types/textField.d.ts +0 -12
  3761. package/types/textField.js +0 -2
  3762. package/types/textField.js.map +0 -1
  3763. package/types/textFieldBase.d.ts +0 -26
  3764. package/types/textFieldBase.js +0 -2
  3765. package/types/textFieldBase.js.map +0 -1
  3766. package/types/timeline.d.ts +0 -29
  3767. package/types/timeline.js +0 -2
  3768. package/types/timeline.js.map +0 -1
  3769. package/types/toast.d.ts +0 -50
  3770. package/types/toast.js +0 -2
  3771. package/types/toast.js.map +0 -1
  3772. package/types/toggle.d.ts +0 -17
  3773. package/types/toggle.js +0 -2
  3774. package/types/toggle.js.map +0 -1
  3775. package/types/tooltip.d.ts +0 -50
  3776. package/types/tooltip.js +0 -9
  3777. package/types/tooltip.js.map +0 -1
  3778. package/types/truncate.d.ts +0 -13
  3779. package/types/truncate.js +0 -6
  3780. package/types/truncate.js.map +0 -1
  3781. package/types/types.cjs +0 -99
  3782. package/types/types.cjs.map +0 -1
  3783. package/types/unstableHeader.d.ts +0 -14
  3784. package/types/unstableHeader.js +0 -2
  3785. package/types/unstableHeader.js.map +0 -1
  3786. package/types/visuallyHidden.d.ts +0 -9
  3787. package/types/visuallyHidden.js +0 -2
  3788. package/types/visuallyHidden.js.map +0 -1
  3789. package/utils/assert.js +0 -33
  3790. package/utils/assert.js.map +0 -1
  3791. package/utils/classname.js +0 -5
  3792. package/utils/classname.js.map +0 -1
  3793. package/utils/colorObjectGenerators.d.ts +0 -13
  3794. package/utils/colorObjectGenerators.js +0 -32
  3795. package/utils/colorObjectGenerators.js.map +0 -1
  3796. package/utils/compose.js +0 -2
  3797. package/utils/compose.js.map +0 -1
  3798. package/utils/debounce.js +0 -17
  3799. package/utils/debounce.js.map +0 -1
  3800. package/utils/delayedCallback.js +0 -7
  3801. package/utils/delayedCallback.js.map +0 -1
  3802. package/utils/htmlReactParser.d.ts +0 -2
  3803. package/utils/htmlReactParser.js +0 -14
  3804. package/utils/htmlReactParser.js.map +0 -1
  3805. package/utils/index.js +0 -14
  3806. package/utils/index.js.map +0 -1
  3807. package/utils/mergeStyleProps.d.ts +0 -18
  3808. package/utils/mergeStyleProps.js +0 -35
  3809. package/utils/mergeStyleProps.js.map +0 -1
  3810. package/utils/package.json +0 -8
  3811. package/utils/responsive.d.ts +0 -3
  3812. package/utils/responsive.js +0 -23
  3813. package/utils/responsive.js.map +0 -1
  3814. package/utils/ssr.js +0 -2
  3815. package/utils/ssr.js.map +0 -1
  3816. package/utils/string.js +0 -22
  3817. package/utils/string.js.map +0 -1
  3818. package/utils/stylePropsClassesGenerator.js +0 -23
  3819. package/utils/stylePropsClassesGenerator.js.map +0 -1
  3820. package/utils/toPascalCase.js +0 -10
  3821. package/utils/toPascalCase.js.map +0 -1
  3822. package/utils/utils.cjs +0 -266
  3823. package/utils/utils.cjs.map +0 -1
  3824. /package/{common → dist/common}/constants/environments.d.ts +0 -0
  3825. /package/{common → dist/common}/constants/index.d.ts +0 -0
  3826. /package/{common → dist/common}/index.d.ts +0 -0
  3827. /package/{common → dist/common}/utilities/index.d.ts +0 -0
  3828. /package/{common → dist/common}/utilities/info.d.ts +0 -0
  3829. /package/{common → dist/common}/utilities/warning.d.ts +0 -0
  3830. /package/{components → dist/components}/Accordion/index.d.ts +0 -0
  3831. /package/{components → dist/components}/Accordion/useOpenItem.d.ts +0 -0
  3832. /package/{components → dist/components}/ActionGroup/index.d.ts +0 -0
  3833. /package/{components → dist/components}/Alert/index.d.ts +0 -0
  3834. /package/{components → dist/components}/Avatar/constants.d.ts +0 -0
  3835. /package/{components → dist/components}/Avatar/index.d.ts +0 -0
  3836. /package/{components → dist/components}/Box/index.d.ts +0 -0
  3837. /package/{components → dist/components}/Breadcrumbs/index.d.ts +0 -0
  3838. /package/{components → dist/components}/Button/index.d.ts +0 -0
  3839. /package/{components → dist/components}/ButtonLink/index.d.ts +0 -0
  3840. /package/{components → dist/components}/Card/index.d.ts +0 -0
  3841. /package/{components → dist/components}/Checkbox/index.d.ts +0 -0
  3842. /package/{components → dist/components}/Collapse/index.d.ts +0 -0
  3843. /package/{components → dist/components}/Container/index.d.ts +0 -0
  3844. /package/{components → dist/components}/ControlButton/index.d.ts +0 -0
  3845. /package/{components → dist/components}/Dialog/index.d.ts +0 -0
  3846. /package/{components → dist/components}/Divider/index.d.ts +0 -0
  3847. /package/{components → dist/components}/Drawer/index.d.ts +0 -0
  3848. /package/{components → dist/components}/Dropdown/index.d.ts +0 -0
  3849. /package/{components → dist/components}/EmptyState/index.d.ts +0 -0
  3850. /package/{components → dist/components}/Field/constants.d.ts +0 -0
  3851. /package/{components → dist/components}/Field/index.d.ts +0 -0
  3852. /package/{components → dist/components}/Field/useAriaIds.d.ts +0 -0
  3853. /package/{components → dist/components}/FieldGroup/index.d.ts +0 -0
  3854. /package/{components → dist/components}/FileUploader/index.d.ts +0 -0
  3855. /package/{components → dist/components}/Flex/index.d.ts +0 -0
  3856. /package/{components → dist/components}/Footer/constants.d.ts +0 -0
  3857. /package/{components → dist/components}/Footer/index.d.ts +0 -0
  3858. /package/{components → dist/components}/Grid/index.d.ts +0 -0
  3859. /package/{components → dist/components}/Header/constants.d.ts +0 -0
  3860. /package/{components → dist/components}/Header/index.d.ts +0 -0
  3861. /package/{components → dist/components}/Heading/index.d.ts +0 -0
  3862. /package/{components → dist/components}/Hidden/index.d.ts +0 -0
  3863. /package/{components → dist/components}/Icon/constants.d.ts +0 -0
  3864. /package/{components → dist/components}/Icon/index.d.ts +0 -0
  3865. /package/{components → dist/components}/IconBox/constants.d.ts +0 -0
  3866. /package/{components → dist/components}/IconBox/index.d.ts +0 -0
  3867. /package/{components → dist/components}/Item/index.d.ts +0 -0
  3868. /package/{components/Matrix/constant.d.ts → dist/components/Matrix/constants.d.ts} +0 -0
  3869. /package/{components → dist/components}/Matrix/index.d.ts +0 -0
  3870. /package/{components → dist/components}/Modal/index.d.ts +0 -0
  3871. /package/{components → dist/components}/Navigation/index.d.ts +0 -0
  3872. /package/{components → dist/components}/NoSsr/index.d.ts +0 -0
  3873. /package/{components → dist/components}/Pagination/usePaginationStyleProps.d.ts +0 -0
  3874. /package/{components → dist/components}/PartnerLogo/index.d.ts +0 -0
  3875. /package/{components → dist/components}/Pill/constants.d.ts +0 -0
  3876. /package/{components → dist/components}/Pill/index.d.ts +0 -0
  3877. /package/{components → dist/components}/PricingPlan/constants.d.ts +0 -0
  3878. /package/{components → dist/components}/PricingPlan/index.d.ts +0 -0
  3879. /package/{components → dist/components}/ProductLogo/index.d.ts +0 -0
  3880. /package/{components → dist/components}/Radio/index.d.ts +0 -0
  3881. /package/{components → dist/components}/ScrollView/constants.d.ts +0 -0
  3882. /package/{components → dist/components}/ScrollView/index.d.ts +0 -0
  3883. /package/{components → dist/components}/Section/index.d.ts +0 -0
  3884. /package/{components → dist/components}/SegmentedControl/index.d.ts +0 -0
  3885. /package/{components → dist/components}/Select/index.d.ts +0 -0
  3886. /package/{components → dist/components}/Skeleton/constants.d.ts +0 -0
  3887. /package/{components → dist/components}/Skeleton/index.d.ts +0 -0
  3888. /package/{components → dist/components}/SkipLink/index.d.ts +0 -0
  3889. /package/{components → dist/components}/Slider/constants.d.ts +0 -0
  3890. /package/{components → dist/components}/Slider/index.d.ts +0 -0
  3891. /package/{components → dist/components}/Spinner/index.d.ts +0 -0
  3892. /package/{components → dist/components}/SplitButton/index.d.ts +0 -0
  3893. /package/{components → dist/components}/SplitButton/useSplitButtonStyleProps.d.ts +0 -0
  3894. /package/{components → dist/components}/Stack/index.d.ts +0 -0
  3895. /package/{components → dist/components}/Tabs/index.d.ts +0 -0
  3896. /package/{components → dist/components}/Tag/constants.d.ts +0 -0
  3897. /package/{components → dist/components}/Tag/index.d.ts +0 -0
  3898. /package/{components → dist/components}/Text/index.d.ts +0 -0
  3899. /package/{components → dist/components}/TextArea/index.d.ts +0 -0
  3900. /package/{components → dist/components}/TextField/index.d.ts +0 -0
  3901. /package/{components → dist/components}/TextFieldBase/index.d.ts +0 -0
  3902. /package/{components → dist/components}/TextFieldBase/usePasswordToggle.d.ts +0 -0
  3903. /package/{components → dist/components}/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.d.ts +0 -0
  3904. /package/{components → dist/components}/Timeline/constants.d.ts +0 -0
  3905. /package/{components → dist/components}/Timeline/index.d.ts +0 -0
  3906. /package/{components → dist/components}/Toast/index.d.ts +0 -0
  3907. /package/{components → dist/components}/Toggle/index.d.ts +0 -0
  3908. /package/{components → dist/components}/Tooltip/index.d.ts +0 -0
  3909. /package/{components → dist/components}/Tooltip/useTooltip.d.ts +0 -0
  3910. /package/{components → dist/components}/Truncate/index.d.ts +0 -0
  3911. /package/{components → dist/components}/UNSTABLE_Header/index.d.ts +0 -0
  3912. /package/{components → dist/components}/VisuallyHidden/index.d.ts +0 -0
  3913. /package/{constants → dist/constants}/classes.d.ts +0 -0
  3914. /package/{constants → dist/constants}/colors.d.ts +0 -0
  3915. /package/{constants → dist/constants}/dictionaries.d.ts +0 -0
  3916. /package/{constants → dist/constants}/index.d.ts +0 -0
  3917. /package/{constants → dist/constants}/inputs.d.ts +0 -0
  3918. /package/{constants → dist/constants}/media.d.ts +0 -0
  3919. /package/{constants → dist/constants}/position.d.ts +0 -0
  3920. /package/{constants → dist/constants}/style.d.ts +0 -0
  3921. /package/{constants → dist/constants}/text.d.ts +0 -0
  3922. /package/{context → dist/context}/ClassNamePrefixContext.d.ts +0 -0
  3923. /package/{context → dist/context}/IconsContext.d.ts +0 -0
  3924. /package/{context → dist/context}/index.d.ts +0 -0
  3925. /package/{hooks → dist/hooks}/__mocks__/useIcon.d.ts +0 -0
  3926. /package/{hooks → dist/hooks}/useAriaDescribedBy.d.ts +0 -0
  3927. /package/{hooks → dist/hooks}/useClassNamePrefix.d.ts +0 -0
  3928. /package/{hooks → dist/hooks}/useDeprecationMessage.d.ts +0 -0
  3929. /package/{hooks → dist/hooks}/useIcon.d.ts +0 -0
  3930. /package/{hooks → dist/hooks}/useIconName.d.ts +0 -0
  3931. /package/{hooks → dist/hooks}/useIsMounted.d.ts +0 -0
  3932. /package/{hooks → dist/hooks}/useIsomorphicLayoutEffect.d.ts +0 -0
  3933. /package/{hooks → dist/hooks}/useLastActiveFocus.d.ts +0 -0
  3934. /package/{hooks → dist/hooks}/useToggle.d.ts +0 -0
  3935. /package/{hooks → dist/hooks}/useWrapClass.d.ts +0 -0
  3936. /package/{types → dist/types}/index.d.ts +0 -0
  3937. /package/{types → dist/types}/shared/adornments.d.ts +0 -0
  3938. /package/{types → dist/types}/shared/buttons.d.ts +0 -0
  3939. /package/{types → dist/types}/shared/columns.d.ts +0 -0
  3940. /package/{types → dist/types}/shared/item.d.ts +0 -0
  3941. /package/{types → dist/types}/shared/rest.d.ts +0 -0
  3942. /package/{utils → dist/utils}/assert.d.ts +0 -0
  3943. /package/{utils → dist/utils}/classname.d.ts +0 -0
  3944. /package/{utils → dist/utils}/compose.d.ts +0 -0
  3945. /package/{utils → dist/utils}/debounce.d.ts +0 -0
  3946. /package/{utils → dist/utils}/delayedCallback.d.ts +0 -0
  3947. /package/{utils → dist/utils}/index.d.ts +0 -0
  3948. /package/{utils → dist/utils}/ssr.d.ts +0 -0
  3949. /package/{utils → dist/utils}/string.d.ts +0 -0
  3950. /package/{utils → dist/utils}/stylePropsClassesGenerator.d.ts +0 -0
  3951. /package/{utils → dist/utils}/toPascalCase.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"web-react.umd.min.js","sources":["../../src/components/Accordion/useAccordion.ts","../../src/components/Accordion/useAccordionAriaProps.ts","../../../../node_modules/classnames/index.js","../../src/common/constants/environments.ts","../../src/common/utilities/warning.ts","../../src/constants/classes.ts","../../src/constants/colors.ts","../../../design-tokens/esm/index.js","../../src/constants/dictionaries.ts","../../src/constants/direction.ts","../../src/constants/inputs.ts","../../src/constants/media.ts","../../src/constants/position.ts","../../src/constants/style.ts","../../src/context/ClassNamePrefixContext.ts","../../src/types/card.ts","../../src/types/item.ts","../../src/types/link.ts","../../src/types/shared/style.ts","../../src/types/shared/tokens.ts","../../src/types/shared/index.ts","../../src/types/tooltip.ts","../../src/types/truncate.ts","../../src/utils/assert.ts","../../src/utils/classname.ts","../../src/utils/colorObjectGenerators.ts","../../src/utils/compose.ts","../../src/utils/debounce.ts","../../../../node_modules/domelementtype/lib/index.js","../../../../node_modules/domhandler/lib/node.js","../../../../node_modules/domhandler/lib/index.js","../../../../node_modules/html-dom-parser/lib/client/utilities.js","../../../../node_modules/html-dom-parser/lib/client/constants.js","../../../../node_modules/html-dom-parser/lib/client/html-to-dom.js","../../../../node_modules/html-dom-parser/lib/client/domparser.js","../../../../node_modules/html-dom-parser/esm/client/html-to-dom.mjs","../../../../node_modules/react-property/lib/index.js","../../../../node_modules/react-property/lib/possibleStandardNamesOptimized.js","../../../../node_modules/style-to-object/cjs/index.js","../../../../node_modules/inline-style-parser/index.js","../../../../node_modules/style-to-js/cjs/utilities.js","../../../../node_modules/html-react-parser/lib/utilities.js","../../../../node_modules/style-to-js/cjs/index.js","../../../../node_modules/html-react-parser/lib/dom-to-react.js","../../../../node_modules/html-react-parser/lib/attributes-to-props.js","../../../../node_modules/html-react-parser/esm/dom-to-react.mjs","../../src/utils/htmlReactParser.ts","../../src/utils/mergeStyleProps.ts","../../src/utils/responsive.ts","../../src/utils/ssr.ts","../../src/utils/string.ts","../../src/utils/toPascalCase.ts","../../src/utils/stylePropsClassesGenerator.ts","../../src/hooks/useStyleUtilities.ts","../../src/hooks/styleProps.ts","../../src/hooks/useAlignmentClass.ts","../../src/hooks/useAriaDescribedBy.ts","../../src/hooks/useIsomorphicLayoutEffect.ts","../../src/hooks/useCancelEvent.ts","../../src/hooks/useClassNamePrefix.ts","../../src/hooks/useClick.ts","../../src/hooks/useClickOutside.ts","../../src/hooks/useDeprecationMessage.ts","../../src/hooks/useDimensionStyle.ts","../../src/hooks/useDragAndDrop.ts","../../src/translations/defaults.ts","../../src/translations/replaceTranslationParams.ts","../../src/translations/resolveTranslationKey.ts","../../src/hooks/useI18n.ts","../../src/context/IconsContext.ts","../../src/hooks/useIcon.ts","../../src/hooks/useIconName.ts","../../src/hooks/useInputPositionClass.ts","../../src/hooks/useLastActiveFocus.ts","../../src/hooks/useResizeObserver.ts","../../src/hooks/useIsMounted.ts","../../src/hooks/useScrollControl.ts","../../src/hooks/useSpacingStyle.ts","../../src/hooks/useSymmetry.ts","../../src/hooks/useToggle.ts","../../src/hooks/useWrapClass.ts","../../src/components/Accordion/useAccordionStyleProps.ts","../../src/components/Accordion/AccordionContext.ts","../../src/components/Accordion/useOpenItem.ts","../../../../node_modules/react/cjs/react-jsx-runtime.development.js","../../../../node_modules/react/jsx-runtime.js","../../../../node_modules/react/cjs/react-jsx-runtime.production.js","../../src/components/Accordion/Accordion.tsx","../../src/components/Accordion/AccordionItemContext.ts","../../src/components/Accordion/AccordionItem.tsx","../../src/components/Icon/constants.ts","../../src/components/Icon/useIconStyleProps.ts","../../src/components/Icon/Icon.tsx","../../src/components/Icon/useIconBoxSize.ts","../../src/components/Accordion/AccordionHeader.tsx","../../../../node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../../../../node_modules/prop-types/node_modules/react-is/index.js","../../../../node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js","../../../../node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js","../../../../node_modules/object-assign/index.js","../../../../node_modules/prop-types/lib/ReactPropTypesSecret.js","../../../../node_modules/prop-types/lib/has.js","../../../../node_modules/prop-types/checkPropTypes.js","../../../../node_modules/prop-types/factoryWithTypeCheckers.js","../../../../node_modules/prop-types/factoryWithThrowingShims.js","../../../../node_modules/prop-types/index.js","../../../../node_modules/react-transition-group/esm/config.js","../../../../node_modules/react-transition-group/esm/utils/PropTypes.js","../../../../node_modules/react-transition-group/esm/TransitionGroupContext.js","../../../../node_modules/react-transition-group/esm/utils/reflow.js","../../../../node_modules/react-transition-group/esm/Transition.js","../../../../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","../../../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../src/components/Collapse/useCollapseAriaProps.ts","../../src/components/Collapse/useCollapseStyleProps.ts","../../src/components/Collapse/Collapse.tsx","../../src/components/Collapse/useResizeHeight.ts","../../src/components/Collapse/useCollapse.ts","../../src/components/Collapse/UncontrolledCollapse.tsx","../../src/components/Accordion/AccordionContent.tsx","../../src/components/Accordion/UncontrolledAccordion.tsx","../../src/components/Flex/useFlexStyleProps.ts","../../src/components/Flex/Flex.tsx","../../src/components/ActionGroup/ActionGroup.tsx","../../src/components/Alert/useAlertStyleProps.ts","../../src/components/Alert/Alert.tsx","../../src/components/Alert/useAlertIcon.ts","../../src/components/Avatar/useAvatarStyleProps.ts","../../src/components/Avatar/Avatar.tsx","../../src/components/Box/useBoxStyleProps.ts","../../src/components/Box/Box.tsx","../../src/components/Link/useLinkStyleProps.ts","../../src/components/Link/Link.tsx","../../src/components/Breadcrumbs/useBreadcrumbsStyleProps.ts","../../src/components/Breadcrumbs/BreadcrumbsItem.tsx","../../src/components/Breadcrumbs/Breadcrumbs.tsx","../../src/components/Button/useButtonProps.ts","../../src/components/Button/useButtonStyleProps.ts","../../src/context/PropsContext.ts","../../src/components/Spinner/useSpinnerStyleProps.ts","../../src/components/Spinner/Spinner.tsx","../../src/components/Button/Button.tsx","../../src/components/ButtonLink/useButtonLinkProps.ts","../../src/components/ButtonLink/useButtonLinkStyleProps.ts","../../src/components/ButtonLink/ButtonLink.tsx","../../src/components/Card/useCardStyleProps.ts","../../src/components/Card/Card.tsx","../../src/components/Card/CardArtwork.tsx","../../src/components/Card/CardBody.tsx","../../src/components/Card/CardEyebrow.tsx","../../src/components/Card/CardFooter.tsx","../../src/components/Card/CardLink.tsx","../../src/components/Card/CardLogo.tsx","../../src/components/Card/useCardMediaStyleProps.ts","../../src/components/Card/CardMedia.tsx","../../src/components/Card/CardTitle.tsx","../../src/components/Field/HelperText.tsx","../../src/components/Field/Label.tsx","../../src/components/Field/useAriaIds.tsx","../../src/components/Field/ValidationText.tsx","../../src/components/Field/useValidationIcon.ts","../../src/components/Field/constants.ts","../../src/components/Field/useValidationTextRole.tsx","../../src/components/Checkbox/useCheckboxStyleProps.ts","../../src/components/Checkbox/Checkbox.tsx","../../src/components/Container/useContainerStyleProps.ts","../../src/components/Container/Container.tsx","../../src/components/ControlButton/useControlButtonProps.ts","../../src/components/ControlButton/useControlButtonStyleProps.ts","../../src/components/ControlButton/ControlButton.tsx","../../src/components/Dialog/constants.ts","../../src/components/Dialog/useDialog.ts","../../src/components/Dialog/Dialog.tsx","../../src/components/Divider/useDividerStyleProps.ts","../../src/components/Divider/Divider.tsx","../../src/components/Drawer/constants.ts","../../src/components/Drawer/DrawerContext.ts","../../src/components/Drawer/useDrawerStyleProps.ts","../../src/components/Drawer/Drawer.tsx","../../src/components/VisuallyHidden/VisuallyHidden.tsx","../../src/components/VisuallyHidden/useVisuallyHiddenProps.ts","../../src/components/Drawer/DrawerCloseButton.tsx","../../src/components/Drawer/DrawerPanel.tsx","../../src/components/Dropdown/useDropdownAriaProps.ts","../../src/components/Dropdown/DropdownContext.ts","../../src/components/Dropdown/useDropdownStyleProps.ts","../../src/components/Dropdown/Dropdown.tsx","../../src/components/Dropdown/DropdownTrigger.tsx","../../src/components/Dropdown/DropdownPopover.tsx","../../src/components/Dropdown/useDropdown.ts","../../src/components/Dropdown/UncontrolledDropdown.tsx","../../src/components/Stack/useStackStyleProps.ts","../../src/components/Stack/Stack.tsx","../../src/components/Stack/StackItem.tsx","../../src/components/EmptyState/useEmptyStateStyleProps.ts","../../src/components/EmptyState/EmptyState.tsx","../../src/components/EmptyState/EmptyStateSection.tsx","../../src/components/FieldGroup/useFieldGroupStyleProps.ts","../../src/components/FieldGroup/FieldGroup.tsx","../../src/components/FileUploader/constants.ts","../../src/components/FileUploader/FileUploaderContext.ts","../../src/components/FileUploader/useFileUploaderStyleProps.ts","../../src/components/FileUploader/FileUploader.tsx","../../src/components/FileUploader/useFileUploaderInput.ts","../../src/components/FileUploader/FileUploaderInput.tsx","../../src/components/FileUploader/FileUploaderList.tsx","../../src/components/FileUploader/AttachmentActionButton.tsx","../../src/components/FileUploader/AttachmentDismissButton.tsx","../../src/components/FileUploader/AttachmentImagePreview.tsx","../../src/components/FileUploader/utils.ts","../../src/components/FileUploader/useFileUploaderAttachment.ts","../../src/components/FileUploader/FileUploaderAttachment.tsx","../../src/components/FileUploader/useFileQueue.ts","../../src/components/FileUploader/UncontrolledFileUploader.tsx","../../src/components/Footer/constants.ts","../../src/components/Footer/Footer.tsx","../../src/components/Footer/useFooterStyleProps.ts","../../src/components/Grid/useGridStyleProps.ts","../../src/components/Grid/Grid.tsx","../../src/components/Grid/useGridItemStyleProps.ts","../../src/components/Grid/GridItem.tsx","../../src/components/Header/constants.ts","../../src/components/Header/useHeaderStyleProps.ts","../../src/components/Header/Header.tsx","../../src/components/Header/HeaderButton.tsx","../../src/components/Header/HeaderDesktopActions.tsx","../../src/components/Header/HeaderDialogContext.ts","../../src/components/Header/HeaderDialog.tsx","../../src/components/Header/HeaderDialogActions.tsx","../../src/components/Header/HeaderDialogButton.tsx","../../src/components/Header/HeaderDialogCloseButton.tsx","../../src/components/Header/HeaderDialogLink.tsx","../../src/components/Header/HeaderDialogNav.tsx","../../src/components/Header/HeaderDialogNavItem.tsx","../../src/components/Header/HeaderDialogText.tsx","../../src/components/Header/HeaderLink.tsx","../../src/components/Header/HeaderMobileActions.tsx","../../src/components/Header/HeaderNav.tsx","../../src/components/Header/HeaderNavItem.tsx","../../src/components/Heading/useHeadingStyleProps.ts","../../src/components/Heading/Heading.tsx","../../src/components/Hidden/Hidden.tsx","../../src/components/IconBox/constants.ts","../../src/components/IconBox/useIconBoxColors.ts","../../src/components/IconBox/useIconBoxStyleProps.ts","../../src/components/IconBox/IconBox.tsx","../../src/components/Item/useItemStyleProps.ts","../../src/components/Item/Item.tsx","../../src/components/Matrix/constants.ts","../../src/components/Matrix/useMatrixStyleProps.ts","../../src/components/Matrix/Matrix.tsx","../../src/components/Modal/ModalContext.ts","../../src/components/Modal/useModalStyleProps.ts","../../src/components/Modal/Modal.tsx","../../src/components/Modal/ModalBody.tsx","../../src/components/Modal/ModalCloseButton.tsx","../../src/components/Modal/useModalDialogStyleProps.ts","../../src/components/Modal/ModalDialog.tsx","../../src/components/Modal/ModalFooter.tsx","../../src/components/Modal/ModalHeader.tsx","../../src/components/Navigation/useNavigationStyleProps.ts","../../src/components/Navigation/Navigation.tsx","../../src/components/Navigation/useNavigationActionProps.ts","../../src/components/Navigation/NavigationAction.tsx","../../src/components/Navigation/NavigationAvatar.tsx","../../src/components/Navigation/NavigationItem.tsx","../../src/components/NoSsr/NoSsr.tsx","../../src/components/Pagination/usePaginationStyleProps.ts","../../src/components/Pagination/Pagination.tsx","../../src/components/Pagination/PaginationButtonLink.tsx","../../src/components/Pagination/PaginationItem.tsx","../../src/components/Pagination/PaginationLink.tsx","../../src/components/Pagination/PaginationLinkNext.tsx","../../src/components/Pagination/PaginationLinkPrevious.tsx","../../src/components/Pagination/usePagination.tsx","../../src/components/Pagination/UncontrolledPagination.tsx","../../src/components/PartnerLogo/usePartnerLogoStyleProps.ts","../../src/components/PartnerLogo/PartnerLogo.tsx","../../src/components/Pill/constants.ts","../../src/components/Pill/usePillStyleProps.ts","../../src/components/Pill/Pill.tsx","../../src/components/PricingPlan/constants.ts","../../src/components/PricingPlan/usePricingPlanStyleProps.ts","../../src/components/PricingPlan/PricingPlan.tsx","../../src/components/PricingPlan/PricingPlanHeader.tsx","../../src/components/Tooltip/TooltipContext.ts","../../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs","../../../../node_modules/@floating-ui/react/dist/floating-ui.react.utils.mjs","../../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs","../../../../node_modules/@floating-ui/core/dist/floating-ui.core.mjs","../../../../node_modules/@floating-ui/react-dom/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs","../../../../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs","../../../../node_modules/@floating-ui/react/dist/floating-ui.react.mjs","../../src/components/Tooltip/useFloating.ts","../../src/components/Tooltip/useTooltipStyleProps.ts","../../src/components/Tooltip/Tooltip.tsx","../../src/components/Tooltip/TooltipCloseButton.tsx","../../src/components/Tooltip/TooltipPopover.tsx","../../src/components/Tooltip/TooltipTrigger.tsx","../../src/components/Tooltip/useTooltip.ts","../../src/components/Tooltip/UncontrolledTooltip.tsx","../../src/components/PricingPlan/PricingPlanFeatureTitle.tsx","../../src/components/PricingPlan/PricingPlanBody.tsx","../../src/components/PricingPlan/PricingPlanFooter.tsx","../../src/components/ProductLogo/ProductLogo.tsx","../../src/components/Radio/useRadioStyleProps.ts","../../src/components/Radio/Radio.tsx","../../src/components/ScrollView/constants.ts","../../src/components/ScrollView/useScrollCallback.ts","../../src/components/ScrollView/useScrollViewArrows.ts","../../src/components/ScrollView/useScrollViewStyleProps.ts","../../src/components/ScrollView/ScrollViewArrows.tsx","../../src/components/ScrollView/useScrollPosition.ts","../../src/components/ScrollView/ScrollView.tsx","../../src/components/Section/useSectionSizeProps.ts","../../src/components/Section/useSectionStyleProps.ts","../../src/components/Section/Section.tsx","../../src/components/SegmentedControl/SegmentedControlContext.tsx","../../src/components/SegmentedControl/useSegmentedControlStyleProps.ts","../../src/components/SegmentedControl/SegmentedControl.tsx","../../src/components/SegmentedControl/SegmentedControlItem.tsx","../../src/components/SegmentedControl/useSegmentedControl.ts","../../src/components/Select/useSelectStyleProps.ts","../../src/components/Select/Select.tsx","../../src/components/Skeleton/useSkeletonStyleProps.ts","../../src/components/Skeleton/constants.ts","../../src/components/Skeleton/SkeletonItem.tsx","../../src/components/Skeleton/SkeletonText.tsx","../../src/components/Skeleton/SkeletonHeading.tsx","../../src/components/Skeleton/useSkeletonShapeStyleProps.ts","../../src/components/Skeleton/SkeletonShape.tsx","../../src/components/SkipLink/useSkipLinkStyleProps.ts","../../src/components/SkipLink/SkipLink.tsx","../../src/components/Slider/useSliderStyleProps.ts","../../src/components/Slider/Slider.tsx","../../src/components/Slider/constants.ts","../../src/components/SplitButton/useSplitButtonStyleProps.ts","../../src/components/SplitButton/SplitButton.tsx","../../src/components/SplitButton/UncontrolledSplitButton.tsx","../../src/components/Tabs/TabContent.tsx","../../src/components/Tabs/TabContext.tsx","../../src/components/Tabs/useTabsStyleProps.ts","../../src/components/Tabs/TabItem.tsx","../../src/components/Tabs/TabLink.tsx","../../src/components/Tabs/TabList.tsx","../../src/components/Tabs/TabPane.tsx","../../src/components/Tabs/Tabs.tsx","../../src/components/Tabs/useTabs.ts","../../src/components/Tabs/UncontrolledTabs.tsx","../../src/components/Tag/constants.ts","../../src/components/Tag/useTagStyleProps.ts","../../src/components/Tag/Tag.tsx","../../src/components/Text/useTextStyleProps.ts","../../src/components/Text/Text.tsx","../../src/components/TextFieldBase/TextFieldBaseInput.tsx","../../src/components/TextFieldBase/useTextFieldBaseInputStyleProps.ts","../../src/components/TextFieldBase/TextFieldBasePasswordToggle.tsx","../../src/components/TextFieldBase/useTextFieldBasePasswordToggleStyleProps.ts","../../src/components/TextFieldBase/withPasswordToggle.tsx","../../src/components/TextFieldBase/usePasswordToggle.ts","../../src/components/TextFieldBase/TextFieldBase.tsx","../../src/components/TextFieldBase/useTextFieldBaseStyleProps.ts","../../src/components/TextArea/useAdjustHeight.ts","../../src/components/TextArea/TextArea.tsx","../../src/components/TextField/TextField.tsx","../../src/components/Timeline/constants.ts","../../src/components/Timeline/useTimelineStyleProps.ts","../../src/components/Timeline/Timeline.tsx","../../src/components/Timeline/TimelineContent.tsx","../../src/components/Timeline/TimelineHeading.tsx","../../src/components/Timeline/TimelineMarker.tsx","../../src/components/Timeline/TimelineStep.tsx","../../src/components/Toast/Toast.tsx","../../src/components/Toast/useToastStyleProps.ts","../../src/components/Toast/constants.ts","../../src/components/Toast/useToastBarStyleProps.ts","../../src/components/Toast/ToastCloseButton.tsx","../../src/components/Toast/ToastBar.tsx","../../src/components/Toast/useToastIcon.ts","../../src/components/Toast/ToastBarMessage.tsx","../../src/components/Toast/ToastBarLink.tsx","../../src/components/Toast/ToastContext.tsx","../../src/components/Toast/useToast.ts","../../src/components/Toast/UncontrolledToast.tsx","../../src/components/Toggle/useToggleStyleProps.ts","../../src/components/Toggle/Toggle.tsx","../../src/components/Truncate/useTruncatedText.ts","../../src/components/Truncate/useTruncateStyleProps.ts","../../src/components/Truncate/Truncate.tsx","../../src/components/UNSTABLE_Attachment/constants.ts","../../src/components/UNSTABLE_Attachment/useAttachmentImageStyles.ts","../../src/components/UNSTABLE_Attachment/useAttachmentStyleProps.ts","../../src/components/UNSTABLE_Attachment/UNSTABLE_AttachmentActionButton.tsx","../../src/components/UNSTABLE_Attachment/UNSTABLE_AttachmentDismissButton.tsx","../../src/components/UNSTABLE_Attachment/UNSTABLE_Attachment.tsx","../../src/components/UNSTABLE_Attachment/UNSTABLE_AttachmentImagePreview.tsx","../../src/components/UNSTABLE_FileUpload/useFileUploadState.ts","../../src/components/UNSTABLE_FileUpload/useFileUploadStyleProps.ts","../../src/components/UNSTABLE_FileUpload/UNSTABLE_FileUpload.tsx","../../src/components/UNSTABLE_Header/useUnstableHeaderStyleProps.ts","../../src/components/UNSTABLE_Header/UNSTABLE_Header.tsx","../../src/components/UNSTABLE_Header/UNSTABLE_HeaderLogo.tsx","../../src/types/dropdown.ts","../../src/components/Link/constants.ts","../../src/constants/text.ts","../../src/utils/delayedCallback.ts"],"sourcesContent":["'use client';\n\nimport { useState } from 'react';\nimport { type AccordionOpenStateType, type AccordionState, type AccordionStateProps } from '../../types';\n\nexport const useAccordion = ({ defaultOpen, stayOpen }: AccordionStateProps): AccordionState => {\n const [open, setOpen] = useState<AccordionOpenStateType>(defaultOpen);\n\n const toggle = (id: string) => {\n if (stayOpen) {\n if (Array.isArray(open)) {\n if (open?.includes(id)) {\n setOpen(open.filter((accordionId) => accordionId !== id));\n } else {\n setOpen([...open, id]);\n }\n } else {\n setOpen([id]);\n }\n } else if (open === id) {\n setOpen(undefined);\n } else {\n setOpen(id);\n }\n };\n\n return {\n open,\n toggle,\n };\n};\n","import { type Booleanish } from '../../types';\n\nconst NAME_ARIA_EXPANDED = 'aria-expanded';\nconst NAME_ARIA_CONTROLS = 'aria-controls';\nconst NAME_ARIA_LABELEDBY = 'aria-labelledby';\n\nexport interface AccordionAriaProps {\n /** AccordionItem ID */\n id: string | undefined;\n /** open state */\n isOpen: boolean;\n}\n\nexport interface AccordionAriaPropsReturn {\n /** item header returned props */\n headerProps: {\n id: string;\n };\n /** item header trigger returned props */\n triggerProps: {\n [NAME_ARIA_EXPANDED]: Booleanish;\n [NAME_ARIA_CONTROLS]: string;\n };\n /** item content returned props */\n contentProps: {\n id: string;\n [NAME_ARIA_LABELEDBY]: string;\n };\n}\n\nexport const useAccordionAriaProps = ({ id, isOpen }: AccordionAriaProps): AccordionAriaPropsReturn => {\n const headerId = `${id}_Header`;\n const contentId = `${id}_Content`;\n\n const headerProps = {\n id: headerId,\n };\n const triggerProps = {\n [NAME_ARIA_EXPANDED]: isOpen,\n [NAME_ARIA_CONTROLS]: contentId,\n };\n const contentProps = {\n id: contentId,\n [NAME_ARIA_LABELEDBY]: headerId,\n };\n\n return {\n headerProps,\n triggerProps,\n contentProps,\n };\n};\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","export const ENVIRONMENTS = {\n DEVELOPMENT: 'development',\n TESTING: 'testing',\n PRODUCTION: 'production',\n};\n\nexport const isDevelopment = () => process.env.NODE_ENV === ENVIRONMENTS.DEVELOPMENT;\nexport const isTesting = () => process.env.NODE_ENV === ENVIRONMENTS.TESTING;\nexport const isProduction = () => process.env.NODE_ENV === ENVIRONMENTS.PRODUCTION;\n","import { isProduction } from '../constants/environments';\n\nconst warning = (condition: unknown, message: string): void => {\n // don't do anything in production\n // wrapping in production check for better dead code elimination\n if (!isProduction()) {\n // condition passed: do not log\n if (condition) {\n return;\n }\n\n // Condition not passed\n const text = `Warning: ${message}`;\n\n if (typeof console !== 'undefined') {\n // eslint-disable-next-line no-console -- we want to log a warning; so usage of Console is required\n console.warn(text);\n }\n\n // Throwing an error and catching it immediately\n // to improve debugging\n // A consumer can use 'pause on caught exceptions'\n // https://github.com/facebook/react/issues/4216\n try {\n throw Error(text);\n } catch (x) {\n // empty\n }\n }\n};\n\nexport default warning;\n","export const CLASS_NAME_OPEN = 'is-open';\n","export const ColorPrefixes = {\n ACCENT: 'accent',\n EMOTION: 'emotion',\n} as const;\n","const Hf = \"8px\", Ff = \"8px\", Cf = \"8px\", Df = \"8px\", If = \"8px\", xf = \"8px\", Pf = \"8px\", Af = \"8px\", Wf = \"8px\", Tf = 0, t = \"768px\", e = \"1280px\", o = \"9999px\", n = \"9999px\", a = \"9999px\", r = \"9999px\", c = \"9999px\", i = \"9999px\", s = \"9999px\", l = \"9999px\", d = \"9999px\", zf = {\n large: {\n radius: {\n mobile: \"8px\",\n tablet: \"8px\",\n desktop: \"8px\"\n }\n },\n medium: {\n radius: {\n mobile: \"8px\",\n tablet: \"8px\",\n desktop: \"8px\"\n }\n },\n small: {\n radius: {\n mobile: \"8px\",\n tablet: \"8px\",\n desktop: \"8px\"\n }\n }\n}, wf = {\n mobile: 0,\n tablet: t,\n desktop: e\n}, Uf = {\n large: {\n radius: {\n mobile: o,\n tablet: r,\n desktop: s\n }\n },\n medium: {\n radius: {\n mobile: n,\n tablet: c,\n desktop: l\n }\n },\n small: {\n radius: {\n mobile: a,\n tablet: i,\n desktop: d\n }\n }\n}, Rf = 0, Mf = \"1px\", Lf = \"2px\", f = \"linear-gradient(var(--gradient-angle, 90deg), var(--spirit-color-gradient-basic-overlay-color-01, #fff) 0%, var(--spirit-color-gradient-basic-overlay-color-02, #fff0) 100%)\", m = \"linear-gradient(var(--gradient-angle, 180deg), var(--spirit-color-gradient-primary-color-01, #eae3ff) 0%, var(--spirit-color-gradient-primary-color-02, #cebcff) 100%)\", S = \"linear-gradient(var(--gradient-angle, 180deg), var(--spirit-color-gradient-secondary-color-01, #fff) 0%, var(--spirit-color-gradient-secondary-color-02, #a7d9e2) 100%)\", u = \"linear-gradient(var(--gradient-angle, 135deg), var(--spirit-color-gradient-skeleton-color-01, #e5e5e5) 33%, var(--spirit-color-gradient-skeleton-color-02, #fff) 48.5%, var(--spirit-color-gradient-skeleton-color-03, #e5e5e5) 66%)\", Of = {\n basicOverlay: f,\n primary: m,\n secondary: S,\n skeleton: u\n}, g = \"480px\", p = \"640px\", b = \"768px\", v = \"1024px\", B = \"1280px\", y = \"16px\", $ = \"32px\", k = \"32px\", h = \"12\", Xf = \"spirit-\", H = \"16px\", F = \"32px\", C = \"32px\", D = \"1280px\", _f = {\n xsmall: {\n maxWidth: g\n },\n small: {\n maxWidth: p\n },\n medium: {\n maxWidth: b\n },\n large: {\n maxWidth: v\n },\n xlarge: {\n maxWidth: B\n },\n padding: {\n mobile: H,\n tablet: F,\n desktop: C\n },\n maxWidth: D\n}, Vf = {\n spacing: {\n mobile: y,\n desktop: $,\n tablet: k\n },\n columns: h\n}, I = 0, x = \"2px\", P = \"4px\", A = \"8px\", W = \"12px\", T = \"16px\", z = \"9999px\", jf = {\n 0: I,\n 100: x,\n 200: P,\n 300: A,\n 400: W,\n 500: T,\n full: z\n}, w = \"0 0 0 2px var(--spirit-color-focus-focus-ring-color-01, #d2c2ffb2)\", U = \"0 2px 8px 0 var(--spirit-color-shadow-shadow-100-color-01, #0000001a)\", R = \"0 4px 12px 0 var(--spirit-color-shadow-shadow-200-color-01, #0003)\", M = \"0 8px 24px 0 var(--spirit-color-shadow-shadow-300-color-01, #00000040)\", L = \"0 12px 32px 0 var(--spirit-color-shadow-shadow-400-color-01, #00000040)\", qf = {\n focusRing: w\n}, Ef = {\n 100: U,\n 200: R,\n 300: M,\n 400: L\n}, O = 0, X = \"1px\", _ = \"2px\", V = \"4px\", j = \"6px\", q = \"8px\", E = \"12px\", G = \"16px\", J = \"20px\", K = \"24px\", N = \"32px\", Q = \"40px\", Y = \"48px\", Z = \"56px\", tt = \"64px\", et = \"72px\", ot = \"80px\", nt = \"96px\", Gf = {\n 0: O,\n 100: X,\n 200: _,\n 300: V,\n 400: j,\n 500: q,\n 600: E,\n 700: G,\n 800: J,\n 900: K,\n 1e3: N,\n 1100: Q,\n 1200: Y,\n 1300: Z,\n 1400: tt,\n 1500: et,\n 1600: ot,\n 1700: nt\n}, at = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.5\n }\n}, rt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, ct = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, it = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.5\n }\n}, st = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"16px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.5\n }\n}, lt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"16px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, dt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"16px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, ft = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"16px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.5\n }\n}, mt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"14px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.5\n }\n}, St = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"14px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, ut = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"14px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, gt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"14px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.5\n }\n}, pt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.5\n }\n}, bt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, vt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, Bt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.5\n }\n}, yt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"12px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.5\n }\n}, $t = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"12px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, kt = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"12px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.5\n }\n}, ht = {\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"12px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.5\n }\n}, Ht = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.2\n }\n}, Ft = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.2\n }\n}, Ct = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.2\n }\n}, Dt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"40px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.2\n }\n}, It = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.3\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.3\n }\n}, xt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.3\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.3\n }\n}, Pt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.3\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.3\n }\n}, At = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.3\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"32px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.3\n }\n}, Wt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.4\n }\n}, Tt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.4\n }\n}, zt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.4\n }\n}, wt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"24px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.4\n }\n}, Ut = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"36px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.2\n }\n}, Rt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"36px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.2\n }\n}, Mt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"36px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.2\n }\n}, Lt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.2\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"36px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.2\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"48px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.2\n }\n}, Ot = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 700,\n lineHeight: 1.4\n }\n}, Xt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n lineHeight: 1.4\n }\n}, _t = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 400,\n lineHeight: 1.4\n }\n}, Vt = {\n desktop: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.4\n },\n mobile: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"18px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.4\n },\n tablet: {\n fontFamily: \"'Inter', sans-serif\",\n fontSize: \"20px\",\n fontStyle: \"normal\",\n fontWeight: 600,\n lineHeight: 1.4\n }\n}, Jf = {\n bodyLargeBold: at,\n bodyLargeItalic: rt,\n bodyLargeRegular: ct,\n bodyLargeSemibold: it,\n bodyMediumBold: st,\n bodyMediumItalic: lt,\n bodyMediumRegular: dt,\n bodyMediumSemibold: ft,\n bodySmallBold: mt,\n bodySmallItalic: St,\n bodySmallRegular: ut,\n bodySmallSemibold: gt,\n bodyXlargeBold: pt,\n bodyXlargeItalic: bt,\n bodyXlargeRegular: vt,\n bodyXlargeSemibold: Bt,\n bodyXsmallBold: yt,\n bodyXsmallItalic: $t,\n bodyXsmallRegular: kt,\n bodyXsmallSemibold: ht,\n headingLargeBold: Ht,\n headingLargeItalic: Ft,\n headingLargeRegular: Ct,\n headingLargeSemibold: Dt,\n headingMediumBold: It,\n headingMediumItalic: xt,\n headingMediumRegular: Pt,\n headingMediumSemibold: At,\n headingSmallBold: Wt,\n headingSmallItalic: Tt,\n headingSmallRegular: zt,\n headingSmallSemibold: wt,\n headingXlargeBold: Ut,\n headingXlargeItalic: Rt,\n headingXlargeRegular: Mt,\n headingXlargeSemibold: Lt,\n headingXsmallBold: Ot,\n headingXsmallItalic: Xt,\n headingXsmallRegular: _t,\n headingXsmallSemibold: Vt\n}, jt = \"#d80090\", qt = \"#fdf2f9\", Et = \"#d80090\", Gt = \"#f7cce9\", Jt = \"#d80090\", Kt = \"#fbe5f4\", Nt = \"#ad0073\", Qt = \"#d80090\", Yt = \"#c30082\", Zt = \"#7847ff\", te = \"#f8f6ff\", ee = \"#7847ff\", oe = \"#e4daff\", ne = \"#6039cc\", ae = \"#f1edff\", re = \"#936cff\", ce = \"#ae91ff\", ie = \"#a07eff\", se = \"#1a1b1b80\", le = \"#f1edff\", de = \"#fff0\", fe = \"#f8f6ff\", me = \"#fdfdfc\", Se = \"#f4f4f4\", ue = \"#f1edff\", ge = \"#d9d9d9\", pe = \"#7847ff\", be = \"#a5a5a5\", ve = \"#bfbfbf\", Be = \"#b2b2b2\", ye = \"#7847ff\", $e = \"#fff0\", ke = \"#6039cc\", he = \"#e4daff\", He = \"#fff0\", Fe = \"#f1edff\", Ce = \"#4e2ea6\", De = \"#fdfdfc\", Ie = \"#6039cc\", xe = \"#7847ff\", Pe = \"#6c40e5\", Ae = \"#7847ff\", We = \"#6039cc\", Te = \"#e4daff\", ze = \"#fdfdfc\", we = \"#f1edff\", Ue = \"#e5e5e5\", Re = \"#202020\", Me = \"#d9d9d9\", Le = \"#f4f4f4\", Oe = \"#e5e5e5\", Xe = \"#fdfdfc\", _e = \"#e5e5e5\", Ve = \"#f1edff\", je = \"#fff0\", qe = \"#f8f6ff\", Ee = \"#f8f6ff\", Ge = \"#4e2ea6\", Je = \"#404040\", Ke = \"#6039cc\", Ne = \"#6039cc\", Qe = \"#ffbe00\", Ye = \"#e4daff\", Ze = \"#7847ff\", to = \"#fdfdfc\", eo = \"#6039cc\", oo = \"#7847ff\", no = \"#6c40e5\", ao = \"#d9d9d9\", ro = \"#535353\", co = \"#f4f4f4\", io = \"#fdfdfc\", so = \"#f9f9f9\", lo = \"#f2f7fd\", fo = \"#80b2eb\", mo = \"#00428c\", So = \"#327c3f\", uo = \"#fdfdfc\", go = \"#3e9b4f\", po = \"#327c3f\", bo = \"#388b47\", vo = \"#a5a5a5\", Bo = \"#404040\", yo = \"#f4f4f4\", $o = \"#fdfdfc\", ko = \"#f9f9f9\", ho = \"#f9f9f9\", Ho = \"#e5e5e5\", Fo = \"#a5a5a5\", Co = \"#d9d9d9\", Do = \"#b60000\", Io = \"#fef2f2\", xo = \"#b60000\", Po = \"#f18080\", Ao = \"#940000\", Wo = \"#fdfdfc\", To = \"#e40000\", zo = \"#b60000\", wo = \"#cd0000\", Uo = \"#0052ad\", Ro = \"#f2f7fd\", Mo = \"#0052ad\", Lo = \"#80b2eb\", Oo = \"#00428c\", Xo = \"#fdfdfc\", _o = \"#0066d8\", Vo = \"#0052ad\", jo = \"#005cc2\", qo = \"#327c3f\", Eo = \"#f5faf6\", Go = \"#327c3f\", Jo = \"#9ecda7\", Ko = \"#286533\", No = \"#fdfdfc\", Qo = \"#3e9b4f\", Yo = \"#327c3f\", Zo = \"#388b47\", tn = \"#c26400\", en = \"#fef8f2\", on = \"#c26400\", nn = \"#f9be80\", an = \"#9d5100\", rn = \"#fdfdfc\", cn = \"#f27d00\", sn = \"#c26400\", ln = \"#da7100\", dn = \"#d2c2ffb2\", fn = \"#b60000\", mn = \"#fdfdfc\", Sn = \"#fdfdfc\", un = \"#f9f9f9\", gn = \"#7f7f7f\", pn = \"#a5a5a5\", bn = \"#999\", vn = \"#7847ff\", Bn = \"#202020\", yn = \"#666\", $n = \"#535353\", kn = \"#202020\", hn = \"#327c3f\", Hn = \"#c26400\", Fn = \"#fff\", Cn = \"#fff0\", Dn = \"#eae3ff\", In = \"#cebcff\", xn = \"#fff\", Pn = \"#a7d9e2\", An = \"#e5e5e5\", Wn = \"#fff\", Tn = \"#e5e5e5\", zn = \"#3c2480\", wn = \"#6039cc\", Un = \"#4e2ea6\", Rn = \"#3c2480\", Mn = \"#535353\", Ln = \"#4e2ea6\", On = \"#3c2480\", Xn = \"#3c2480\", _n = \"#7f7f7f\", Vn = \"#4e2ea6\", jn = \"#202020\", qn = \"#f4f4f4\", En = \"#202020\", Gn = \"#bfbfbf\", Jn = \"#202020\", Kn = \"#fdfdfc\", Nn = \"#535353\", Qn = \"#202020\", Yn = \"#404040\", Zn = \"#7847ff\", ta = \"#f1edff\", ea = \"#7847ff\", oa = \"#f1edff\", na = \"#7847ff\", aa = \"#fdfdfc\", ra = \"#6039cc\", ca = \"#7847ff\", ia = \"#6c40e5\", sa = \"#0000001a\", la = \"#0003\", da = \"#00000040\", fa = \"#00000040\", ma = \"#202020\", Sa = \"#535353\", ua = \"#7f7f7f\", ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n accent01BackgroundBasic: jt,\n accent01BackgroundSubtle: qt,\n accent01BorderBasic: Et,\n accent01BorderSubtle: Gt,\n accent01ContentBasic: Jt,\n accent01ContentSubtle: Kt,\n accent01StateActive: Nt,\n accent01StateDefault: Qt,\n accent01StateHover: Yt,\n accent02BackgroundBasic: Zt,\n accent02BackgroundSubtle: te,\n accent02BorderBasic: ee,\n accent02BorderSubtle: oe,\n accent02ContentBasic: ne,\n accent02ContentSubtle: ae,\n accent02StateActive: re,\n accent02StateDefault: ce,\n accent02StateHover: ie,\n backgroundBackdrop: se,\n backgroundInteractiveStateActive: le,\n backgroundInteractiveStateDefault: de,\n backgroundInteractiveStateHover: fe,\n backgroundPrimary: me,\n backgroundSecondary: Se,\n backgroundTertiary: ue,\n borderBasic: ge,\n borderFocus: pe,\n borderInteractiveStateActive: be,\n borderInteractiveStateDefault: ve,\n borderInteractiveStateHover: Be,\n borderInteractiveStateSelected: ye,\n componentButtonPlainBorder: $e,\n componentButtonPlainContent: ke,\n componentButtonPlainStateActive: he,\n componentButtonPlainStateDefault: He,\n componentButtonPlainStateHover: Fe,\n componentButtonPrimaryBorder: Ce,\n componentButtonPrimaryContent: De,\n componentButtonPrimaryStateActive: Ie,\n componentButtonPrimaryStateDefault: xe,\n componentButtonPrimaryStateHover: Pe,\n componentButtonSecondaryBorder: Ae,\n componentButtonSecondaryContent: We,\n componentButtonSecondaryStateActive: Te,\n componentButtonSecondaryStateDefault: ze,\n componentButtonSecondaryStateHover: we,\n componentButtonTertiaryBorder: Ue,\n componentButtonTertiaryContent: Re,\n componentButtonTertiaryStateActive: Me,\n componentButtonTertiaryStateDefault: Le,\n componentButtonTertiaryStateHover: Oe,\n componentHeaderBackground: Xe,\n componentHeaderBorder: _e,\n componentHeaderItemBackgroundStateActive: Ve,\n componentHeaderItemBackgroundStateDefault: je,\n componentHeaderItemBackgroundStateHover: qe,\n componentHeaderItemBackgroundStateSelected: Ee,\n componentHeaderItemStateActive: Ge,\n componentHeaderItemStateDefault: Je,\n componentHeaderItemStateHover: Ke,\n componentHeaderItemStateSelected: Ne,\n componentHeaderStripeStateSelected: Qe,\n componentHeaderStripeStateUnselected: Ye,\n componentPaginationSelectedBorder: Ze,\n componentPaginationSelectedContent: to,\n componentPaginationSelectedStateActive: eo,\n componentPaginationSelectedStateDefault: oo,\n componentPaginationSelectedStateHover: no,\n componentPaginationUnselectedBorder: ao,\n componentPaginationUnselectedContent: ro,\n componentPaginationUnselectedStateActive: co,\n componentPaginationUnselectedStateDefault: io,\n componentPaginationUnselectedStateHover: so,\n componentPricingPlanHighlightedBackground: lo,\n componentPricingPlanHighlightedBorder: fo,\n componentPricingPlanHighlightedContent: mo,\n componentToggleSelectedBorder: So,\n componentToggleSelectedContent: uo,\n componentToggleSelectedStateActive: go,\n componentToggleSelectedStateDefault: po,\n componentToggleSelectedStateHover: bo,\n componentToggleUnselectedBorder: vo,\n componentToggleUnselectedContent: Bo,\n componentToggleUnselectedStateActive: yo,\n componentToggleUnselectedStateDefault: $o,\n componentToggleUnselectedStateHover: ko,\n disabledBackground: ho,\n disabledBorder: Ho,\n disabledContent: Fo,\n disabledForeground: Co,\n emotionDangerBackgroundBasic: Do,\n emotionDangerBackgroundSubtle: Io,\n emotionDangerBorderBasic: xo,\n emotionDangerBorderSubtle: Po,\n emotionDangerContentBasic: Ao,\n emotionDangerContentSubtle: Wo,\n emotionDangerStateActive: To,\n emotionDangerStateDefault: zo,\n emotionDangerStateHover: wo,\n emotionInformativeBackgroundBasic: Uo,\n emotionInformativeBackgroundSubtle: Ro,\n emotionInformativeBorderBasic: Mo,\n emotionInformativeBorderSubtle: Lo,\n emotionInformativeContentBasic: Oo,\n emotionInformativeContentSubtle: Xo,\n emotionInformativeStateActive: _o,\n emotionInformativeStateDefault: Vo,\n emotionInformativeStateHover: jo,\n emotionSuccessBackgroundBasic: qo,\n emotionSuccessBackgroundSubtle: Eo,\n emotionSuccessBorderBasic: Go,\n emotionSuccessBorderSubtle: Jo,\n emotionSuccessContentBasic: Ko,\n emotionSuccessContentSubtle: No,\n emotionSuccessStateActive: Qo,\n emotionSuccessStateDefault: Yo,\n emotionSuccessStateHover: Zo,\n emotionWarningBackgroundBasic: tn,\n emotionWarningBackgroundSubtle: en,\n emotionWarningBorderBasic: on,\n emotionWarningBorderSubtle: nn,\n emotionWarningContentBasic: an,\n emotionWarningContentSubtle: rn,\n emotionWarningStateActive: cn,\n emotionWarningStateDefault: sn,\n emotionWarningStateHover: ln,\n focusFocusRingColor01: dn,\n formFieldDanger: fn,\n formFieldFilledBackgroundStateActive: mn,\n formFieldFilledBackgroundStateDefault: Sn,\n formFieldFilledBackgroundStateHover: un,\n formFieldFilledBorderStateActive: gn,\n formFieldFilledBorderStateDefault: pn,\n formFieldFilledBorderStateHover: bn,\n formFieldFilledBorderStateSelected: vn,\n formFieldFilledContent: Bn,\n formFieldFilledPlaceholder: yn,\n formFieldHelperText: $n,\n formFieldLabel: kn,\n formFieldSuccess: hn,\n formFieldWarning: Hn,\n gradientBasicOverlayColor01: Fn,\n gradientBasicOverlayColor02: Cn,\n gradientPrimaryColor01: Dn,\n gradientPrimaryColor02: In,\n gradientSecondaryColor01: xn,\n gradientSecondaryColor02: Pn,\n gradientSkeletonColor01: An,\n gradientSkeletonColor02: Wn,\n gradientSkeletonColor03: Tn,\n linkPrimaryStateActive: zn,\n linkPrimaryStateDefault: wn,\n linkPrimaryStateHover: Un,\n linkSecondaryStateActive: Rn,\n linkSecondaryStateDefault: Mn,\n linkSecondaryStateHover: Ln,\n linkStateVisited: On,\n linkTertiaryStateActive: Xn,\n linkTertiaryStateDefault: _n,\n linkTertiaryStateHover: Vn,\n neutralBackgroundBasic: jn,\n neutralBackgroundSubtle: qn,\n neutralBorderBasic: En,\n neutralBorderSubtle: Gn,\n neutralContentBasic: Jn,\n neutralContentSubtle: Kn,\n neutralStateActive: Nn,\n neutralStateDefault: Qn,\n neutralStateHover: Yn,\n selectedBackgroundBasic: Zn,\n selectedBackgroundSubtle: ta,\n selectedBorderBasic: ea,\n selectedBorderSubtle: oa,\n selectedContentBasic: na,\n selectedContentSubtle: aa,\n selectedStateActive: ra,\n selectedStateDefault: ca,\n selectedStateHover: ia,\n shadowShadow100Color01: sa,\n shadowShadow200Color01: la,\n shadowShadow300Color01: da,\n shadowShadow400Color01: fa,\n textPrimary: ma,\n textSecondary: Sa,\n textTertiary: ua\n}, Symbol.toStringTag, { value: \"Module\" })), pa = \"#d80090\", ba = \"#fdf2f9\", va = \"#8d005e\", Ba = \"#f7cce9\", ya = \"#d80090\", $a = \"#fbe5f4\", ka = \"#ad0073\", ha = \"#d80090\", Ha = \"#c30082\", Fa = \"#7847ff\", Ca = \"#f8f6ff\", Da = \"#7847ff\", Ia = \"#e4daff\", xa = \"#6039cc\", Pa = \"#f1edff\", Aa = \"#936cff\", Wa = \"#ae91ff\", Ta = \"#a07eff\", za = \"#1a1b1b80\", wa = \"#ffffff1a\", Ua = \"#fff0\", Ra = \"#ffffff0d\", Ma = \"#6039cc\", La = \"#3c2480\", Oa = \"#1e1240\", Xa = \"#a07eff\", _a = \"#1e1240\", Va = \"#bba3ff\", ja = \"#a07eff\", qa = \"#ae91ff\", Ea = \"#ffbe00\", Ga = \"#fff0\", Ja = \"#fff\", Ka = \"#ffffff26\", Na = \"#fff0\", Qa = \"#ffffff1a\", Ya = \"#1e1240\", Za = \"#3c2480\", tr = \"#e4daff\", er = \"#fff\", or = \"#f1edff\", nr = \"#f8f6ff\", ar = \"#fff\", rr = \"#1a1b1b26\", cr = \"#1a1b1b00\", ir = \"#1a1b1b1a\", sr = \"#1a1b1b00\", lr = \"#fff\", dr = \"#1a1b1b4d\", fr = \"#1a1b1b33\", mr = \"#1a1b1b40\", Sr = \"#6039cc\", ur = \"#936cff\", gr = \"#1a1b1b26\", pr = \"#fff0\", br = \"#1a1b1b1a\", vr = \"#4e2ea6\", Br = \"#e5e5e5\", yr = \"#fff\", $r = \"#f2f2f2\", kr = \"#fff\", hr = \"#fff\", Hr = \"#ffffff40\", Fr = \"#fff\", Cr = \"#6039cc\", Dr = \"#c9b5ff\", Ir = \"#f8f6ff\", xr = \"#e4daff\", Pr = \"#f8f6ff\", Ar = \"#f8f6ff\", Wr = \"#7847ff\", Tr = \"#6039cc\", zr = \"#6c40e5\", wr = \"#4e2ea6\", Ur = \"#e4daff\", Rr = \"#ffcb33\", Mr = \"#a07eff\", Lr = \"#fff\", Or = \"#3e9b4f\", Xr = \"#327c3f\", _r = \"#388b47\", Vr = \"#a07eff\", jr = \"#4e2ea6\", qr = \"#e4daff\", Er = \"#fff\", Gr = \"#f1edff\", Jr = \"#ffffff1a\", Kr = \"#fff3\", Nr = \"#ffffff80\", Qr = \"#fff3\", Yr = \"#e40000\", Zr = \"#fce5e5\", tc = \"#e93333\", ec = \"#ef6666\", oc = \"#720000\", nc = \"#fff\", ac = \"#ec4d4d\", rc = \"#e40000\", cc = \"#e93333\", ic = \"#0066d8\", sc = \"#e5f0fb\", lc = \"#3385e0\", dc = \"#66a3e8\", fc = \"#00336c\", mc = \"#fff\", Sc = \"#4d94e4\", uc = \"#0066d8\", gc = \"#3385e0\", pc = \"#3e9b4f\", bc = \"#ecf5ed\", vc = \"#65af72\", Bc = \"#8bc395\", yc = \"#1f4e28\", $c = \"#fff\", kc = \"#78b984\", hc = \"#3e9b4f\", Hc = \"#65af72\", Fc = \"#f27d00\", Cc = \"#fef2e5\", Dc = \"#f59733\", Ic = \"#f7b166\", xc = \"#793f00\", Pc = \"#fff\", Ac = \"#f6a44d\", Wc = \"#f27d00\", Tc = \"#f59733\", zc = \"#d2c2ffb2\", wc = \"#ec4d4d\", Uc = \"#fff\", Rc = \"#f9f9f9\", Mc = \"#f1edff\", Lc = \"#936cff\", Oc = \"#ae91ff\", Xc = \"#a07eff\", _c = \"#ffbe00\", Vc = \"#202020\", jc = \"#666\", qc = \"#c9b5ff\", Ec = \"#fff\", Gc = \"#78b984\", Jc = \"#f6a44d\", Kc = \"#606060\", Nc = \"#60606000\", Qc = \"#7847ff\", Yc = \"#482b99\", Zc = \"#35818e\", ti = \"#482b99\", ei = \"#6c40e5\", oi = \"#936cff\", ni = \"#6c40e5\", ai = \"#e5e5e5\", ri = \"#fff\", ci = \"#f2f2f2\", ii = \"#e5e5e5\", si = \"#d6c8ff\", li = \"#f2f2f2\", di = \"#ffbe00\", fi = \"#e5e5e5\", mi = \"#bba3ff\", Si = \"#f2f2f2\", ui = \"#202020\", gi = \"#f2f2f2\", pi = \"#202020\", bi = \"#bfbfbf\", vi = \"#202020\", Bi = \"#fff\", yi = \"#535353\", $i = \"#202020\", ki = \"#404040\", hi = \"#fff\", Hi = \"#fff\", Fi = \"#fff\", Ci = \"#fff\", Di = \"#fff\", Ii = \"#3c2480\", xi = \"#ffd24d\", Pi = \"#ffbe00\", Ai = \"#ffcb33\", Wi = \"#00000026\", Ti = \"#0003\", zi = \"#00000040\", wi = \"#00000040\", Ui = \"#f9f9f9\", Ri = \"#d9d9d9\", Mi = \"#b2b2b2\", Li = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n accent01BackgroundBasic: pa,\n accent01BackgroundSubtle: ba,\n accent01BorderBasic: va,\n accent01BorderSubtle: Ba,\n accent01ContentBasic: ya,\n accent01ContentSubtle: $a,\n accent01StateActive: ka,\n accent01StateDefault: ha,\n accent01StateHover: Ha,\n accent02BackgroundBasic: Fa,\n accent02BackgroundSubtle: Ca,\n accent02BorderBasic: Da,\n accent02BorderSubtle: Ia,\n accent02ContentBasic: xa,\n accent02ContentSubtle: Pa,\n accent02StateActive: Aa,\n accent02StateDefault: Wa,\n accent02StateHover: Ta,\n backgroundBackdrop: za,\n backgroundInteractiveStateActive: wa,\n backgroundInteractiveStateDefault: Ua,\n backgroundInteractiveStateHover: Ra,\n backgroundPrimary: Ma,\n backgroundSecondary: La,\n backgroundTertiary: Oa,\n borderBasic: Xa,\n borderFocus: _a,\n borderInteractiveStateActive: Va,\n borderInteractiveStateDefault: ja,\n borderInteractiveStateHover: qa,\n borderInteractiveStateSelected: Ea,\n componentButtonPlainBorder: Ga,\n componentButtonPlainContent: Ja,\n componentButtonPlainStateActive: Ka,\n componentButtonPlainStateDefault: Na,\n componentButtonPlainStateHover: Qa,\n componentButtonPrimaryBorder: Ya,\n componentButtonPrimaryContent: Za,\n componentButtonPrimaryStateActive: tr,\n componentButtonPrimaryStateDefault: er,\n componentButtonPrimaryStateHover: or,\n componentButtonSecondaryBorder: nr,\n componentButtonSecondaryContent: ar,\n componentButtonSecondaryStateActive: rr,\n componentButtonSecondaryStateDefault: cr,\n componentButtonSecondaryStateHover: ir,\n componentButtonTertiaryBorder: sr,\n componentButtonTertiaryContent: lr,\n componentButtonTertiaryStateActive: dr,\n componentButtonTertiaryStateDefault: fr,\n componentButtonTertiaryStateHover: mr,\n componentHeaderBackground: Sr,\n componentHeaderBorder: ur,\n componentHeaderItemBackgroundStateActive: gr,\n componentHeaderItemBackgroundStateDefault: pr,\n componentHeaderItemBackgroundStateHover: br,\n componentHeaderItemBackgroundStateSelected: vr,\n componentHeaderItemStateActive: Br,\n componentHeaderItemStateDefault: yr,\n componentHeaderItemStateHover: $r,\n componentHeaderItemStateSelected: kr,\n componentHeaderStripeStateSelected: hr,\n componentHeaderStripeStateUnselected: Hr,\n componentPaginationSelectedBorder: Fr,\n componentPaginationSelectedContent: Cr,\n componentPaginationSelectedStateActive: Dr,\n componentPaginationSelectedStateDefault: Ir,\n componentPaginationSelectedStateHover: xr,\n componentPaginationUnselectedBorder: Pr,\n componentPaginationUnselectedContent: Ar,\n componentPaginationUnselectedStateActive: Wr,\n componentPaginationUnselectedStateDefault: Tr,\n componentPaginationUnselectedStateHover: zr,\n componentPricingPlanHighlightedBackground: wr,\n componentPricingPlanHighlightedBorder: Ur,\n componentPricingPlanHighlightedContent: Rr,\n componentToggleSelectedBorder: Mr,\n componentToggleSelectedContent: Lr,\n componentToggleSelectedStateActive: Or,\n componentToggleSelectedStateDefault: Xr,\n componentToggleSelectedStateHover: _r,\n componentToggleUnselectedBorder: Vr,\n componentToggleUnselectedContent: jr,\n componentToggleUnselectedStateActive: qr,\n componentToggleUnselectedStateDefault: Er,\n componentToggleUnselectedStateHover: Gr,\n disabledBackground: Jr,\n disabledBorder: Kr,\n disabledContent: Nr,\n disabledForeground: Qr,\n emotionDangerBackgroundBasic: Yr,\n emotionDangerBackgroundSubtle: Zr,\n emotionDangerBorderBasic: tc,\n emotionDangerBorderSubtle: ec,\n emotionDangerContentBasic: oc,\n emotionDangerContentSubtle: nc,\n emotionDangerStateActive: ac,\n emotionDangerStateDefault: rc,\n emotionDangerStateHover: cc,\n emotionInformativeBackgroundBasic: ic,\n emotionInformativeBackgroundSubtle: sc,\n emotionInformativeBorderBasic: lc,\n emotionInformativeBorderSubtle: dc,\n emotionInformativeContentBasic: fc,\n emotionInformativeContentSubtle: mc,\n emotionInformativeStateActive: Sc,\n emotionInformativeStateDefault: uc,\n emotionInformativeStateHover: gc,\n emotionSuccessBackgroundBasic: pc,\n emotionSuccessBackgroundSubtle: bc,\n emotionSuccessBorderBasic: vc,\n emotionSuccessBorderSubtle: Bc,\n emotionSuccessContentBasic: yc,\n emotionSuccessContentSubtle: $c,\n emotionSuccessStateActive: kc,\n emotionSuccessStateDefault: hc,\n emotionSuccessStateHover: Hc,\n emotionWarningBackgroundBasic: Fc,\n emotionWarningBackgroundSubtle: Cc,\n emotionWarningBorderBasic: Dc,\n emotionWarningBorderSubtle: Ic,\n emotionWarningContentBasic: xc,\n emotionWarningContentSubtle: Pc,\n emotionWarningStateActive: Ac,\n emotionWarningStateDefault: Wc,\n emotionWarningStateHover: Tc,\n focusFocusRingColor01: zc,\n formFieldDanger: wc,\n formFieldFilledBackgroundStateActive: Uc,\n formFieldFilledBackgroundStateDefault: Rc,\n formFieldFilledBackgroundStateHover: Mc,\n formFieldFilledBorderStateActive: Lc,\n formFieldFilledBorderStateDefault: Oc,\n formFieldFilledBorderStateHover: Xc,\n formFieldFilledBorderStateSelected: _c,\n formFieldFilledContent: Vc,\n formFieldFilledPlaceholder: jc,\n formFieldHelperText: qc,\n formFieldLabel: Ec,\n formFieldSuccess: Gc,\n formFieldWarning: Jc,\n gradientBasicOverlayColor01: Kc,\n gradientBasicOverlayColor02: Nc,\n gradientPrimaryColor01: Qc,\n gradientPrimaryColor02: Yc,\n gradientSecondaryColor01: Zc,\n gradientSecondaryColor02: ti,\n gradientSkeletonColor01: ei,\n gradientSkeletonColor02: oi,\n gradientSkeletonColor03: ni,\n linkPrimaryStateActive: ai,\n linkPrimaryStateDefault: ri,\n linkPrimaryStateHover: ci,\n linkSecondaryStateActive: ii,\n linkSecondaryStateDefault: si,\n linkSecondaryStateHover: li,\n linkStateVisited: di,\n linkTertiaryStateActive: fi,\n linkTertiaryStateDefault: mi,\n linkTertiaryStateHover: Si,\n neutralBackgroundBasic: ui,\n neutralBackgroundSubtle: gi,\n neutralBorderBasic: pi,\n neutralBorderSubtle: bi,\n neutralContentBasic: vi,\n neutralContentSubtle: Bi,\n neutralStateActive: yi,\n neutralStateDefault: $i,\n neutralStateHover: ki,\n selectedBackgroundBasic: hi,\n selectedBackgroundSubtle: Hi,\n selectedBorderBasic: Fi,\n selectedBorderSubtle: Ci,\n selectedContentBasic: Di,\n selectedContentSubtle: Ii,\n selectedStateActive: xi,\n selectedStateDefault: Pi,\n selectedStateHover: Ai,\n shadowShadow100Color01: Wi,\n shadowShadow200Color01: Ti,\n shadowShadow300Color01: zi,\n shadowShadow400Color01: wi,\n textPrimary: Ui,\n textSecondary: Ri,\n textTertiary: Mi\n}, Symbol.toStringTag, { value: \"Module\" })), Oi = \"var(--spirit-color-accent-01-background-basic)\", Xi = \"var(--spirit-color-accent-01-background-subtle)\", _i = \"var(--spirit-color-accent-01-border-basic)\", Vi = \"var(--spirit-color-accent-01-border-subtle)\", ji = \"var(--spirit-color-accent-01-content-basic)\", qi = \"var(--spirit-color-accent-01-content-subtle)\", Ei = \"var(--spirit-color-accent-01-state-active)\", Gi = \"var(--spirit-color-accent-01-state-default)\", Ji = \"var(--spirit-color-accent-01-state-hover)\", Ki = \"var(--spirit-color-accent-02-background-basic)\", Ni = \"var(--spirit-color-accent-02-background-subtle)\", Qi = \"var(--spirit-color-accent-02-border-basic)\", Yi = \"var(--spirit-color-accent-02-border-subtle)\", Zi = \"var(--spirit-color-accent-02-content-basic)\", ts = \"var(--spirit-color-accent-02-content-subtle)\", es = \"var(--spirit-color-accent-02-state-active)\", os = \"var(--spirit-color-accent-02-state-default)\", ns = \"var(--spirit-color-accent-02-state-hover)\", as = \"var(--spirit-color-background-backdrop)\", rs = \"var(--spirit-color-background-interactive-state-active)\", cs = \"var(--spirit-color-background-interactive-state-default)\", is = \"var(--spirit-color-background-interactive-state-hover)\", ss = \"var(--spirit-color-background-primary)\", ls = \"var(--spirit-color-background-secondary)\", ds = \"var(--spirit-color-background-tertiary)\", fs = \"var(--spirit-color-border-basic)\", ms = \"var(--spirit-color-border-focus)\", Ss = \"var(--spirit-color-border-interactive-state-active)\", us = \"var(--spirit-color-border-interactive-state-default)\", gs = \"var(--spirit-color-border-interactive-state-hover)\", ps = \"var(--spirit-color-border-interactive-state-selected)\", bs = \"var(--spirit-color-component-button-plain-border)\", vs = \"var(--spirit-color-component-button-plain-content)\", Bs = \"var(--spirit-color-component-button-plain-state-active)\", ys = \"var(--spirit-color-component-button-plain-state-default)\", $s = \"var(--spirit-color-component-button-plain-state-hover)\", ks = \"var(--spirit-color-component-button-primary-border)\", hs = \"var(--spirit-color-component-button-primary-content)\", Hs = \"var(--spirit-color-component-button-primary-state-active)\", Fs = \"var(--spirit-color-component-button-primary-state-default)\", Cs = \"var(--spirit-color-component-button-primary-state-hover)\", Ds = \"var(--spirit-color-component-button-secondary-border)\", Is = \"var(--spirit-color-component-button-secondary-content)\", xs = \"var(--spirit-color-component-button-secondary-state-active)\", Ps = \"var(--spirit-color-component-button-secondary-state-default)\", As = \"var(--spirit-color-component-button-secondary-state-hover)\", Ws = \"var(--spirit-color-component-button-tertiary-border)\", Ts = \"var(--spirit-color-component-button-tertiary-content)\", zs = \"var(--spirit-color-component-button-tertiary-state-active)\", ws = \"var(--spirit-color-component-button-tertiary-state-default)\", Us = \"var(--spirit-color-component-button-tertiary-state-hover)\", Rs = \"var(--spirit-color-component-header-background)\", Ms = \"var(--spirit-color-component-header-border)\", Ls = \"var(--spirit-color-component-header-item-background-state-active)\", Os = \"var(--spirit-color-component-header-item-background-state-default)\", Xs = \"var(--spirit-color-component-header-item-background-state-hover)\", _s = \"var(--spirit-color-component-header-item-background-state-selected)\", Vs = \"var(--spirit-color-component-header-item-state-active)\", js = \"var(--spirit-color-component-header-item-state-default)\", qs = \"var(--spirit-color-component-header-item-state-hover)\", Es = \"var(--spirit-color-component-header-item-state-selected)\", Gs = \"var(--spirit-color-component-header-stripe-state-selected)\", Js = \"var(--spirit-color-component-header-stripe-state-unselected)\", Ks = \"var(--spirit-color-component-pagination-selected-border)\", Ns = \"var(--spirit-color-component-pagination-selected-content)\", Qs = \"var(--spirit-color-component-pagination-selected-state-active)\", Ys = \"var(--spirit-color-component-pagination-selected-state-default)\", Zs = \"var(--spirit-color-component-pagination-selected-state-hover)\", tl = \"var(--spirit-color-component-pagination-unselected-border)\", el = \"var(--spirit-color-component-pagination-unselected-content)\", ol = \"var(--spirit-color-component-pagination-unselected-state-active)\", nl = \"var(--spirit-color-component-pagination-unselected-state-default)\", al = \"var(--spirit-color-component-pagination-unselected-state-hover)\", rl = \"var(--spirit-color-component-pricing-plan-highlighted-background)\", cl = \"var(--spirit-color-component-pricing-plan-highlighted-border)\", il = \"var(--spirit-color-component-pricing-plan-highlighted-content)\", sl = \"var(--spirit-color-component-toggle-selected-border)\", ll = \"var(--spirit-color-component-toggle-selected-content)\", dl = \"var(--spirit-color-component-toggle-selected-state-active)\", fl = \"var(--spirit-color-component-toggle-selected-state-default)\", ml = \"var(--spirit-color-component-toggle-selected-state-hover)\", Sl = \"var(--spirit-color-component-toggle-unselected-border)\", ul = \"var(--spirit-color-component-toggle-unselected-content)\", gl = \"var(--spirit-color-component-toggle-unselected-state-active)\", pl = \"var(--spirit-color-component-toggle-unselected-state-default)\", bl = \"var(--spirit-color-component-toggle-unselected-state-hover)\", vl = \"var(--spirit-color-disabled-background)\", Bl = \"var(--spirit-color-disabled-border)\", yl = \"var(--spirit-color-disabled-content)\", $l = \"var(--spirit-color-disabled-foreground)\", kl = \"var(--spirit-color-emotion-danger-background-basic)\", hl = \"var(--spirit-color-emotion-danger-background-subtle)\", Hl = \"var(--spirit-color-emotion-danger-border-basic)\", Fl = \"var(--spirit-color-emotion-danger-border-subtle)\", Cl = \"var(--spirit-color-emotion-danger-content-basic)\", Dl = \"var(--spirit-color-emotion-danger-content-subtle)\", Il = \"var(--spirit-color-emotion-danger-state-active)\", xl = \"var(--spirit-color-emotion-danger-state-default)\", Pl = \"var(--spirit-color-emotion-danger-state-hover)\", Al = \"var(--spirit-color-emotion-informative-background-basic)\", Wl = \"var(--spirit-color-emotion-informative-background-subtle)\", Tl = \"var(--spirit-color-emotion-informative-border-basic)\", zl = \"var(--spirit-color-emotion-informative-border-subtle)\", wl = \"var(--spirit-color-emotion-informative-content-basic)\", Ul = \"var(--spirit-color-emotion-informative-content-subtle)\", Rl = \"var(--spirit-color-emotion-informative-state-active)\", Ml = \"var(--spirit-color-emotion-informative-state-default)\", Ll = \"var(--spirit-color-emotion-informative-state-hover)\", Ol = \"var(--spirit-color-emotion-success-background-basic)\", Xl = \"var(--spirit-color-emotion-success-background-subtle)\", _l = \"var(--spirit-color-emotion-success-border-basic)\", Vl = \"var(--spirit-color-emotion-success-border-subtle)\", jl = \"var(--spirit-color-emotion-success-content-basic)\", ql = \"var(--spirit-color-emotion-success-content-subtle)\", El = \"var(--spirit-color-emotion-success-state-active)\", Gl = \"var(--spirit-color-emotion-success-state-default)\", Jl = \"var(--spirit-color-emotion-success-state-hover)\", Kl = \"var(--spirit-color-emotion-warning-background-basic)\", Nl = \"var(--spirit-color-emotion-warning-background-subtle)\", Ql = \"var(--spirit-color-emotion-warning-border-basic)\", Yl = \"var(--spirit-color-emotion-warning-border-subtle)\", Zl = \"var(--spirit-color-emotion-warning-content-basic)\", td = \"var(--spirit-color-emotion-warning-content-subtle)\", ed = \"var(--spirit-color-emotion-warning-state-active)\", od = \"var(--spirit-color-emotion-warning-state-default)\", nd = \"var(--spirit-color-emotion-warning-state-hover)\", ad = \"var(--spirit-color-focus-focus-ring-color-01)\", rd = \"var(--spirit-color-form-field-danger)\", cd = \"var(--spirit-color-form-field-filled-background-state-active)\", id = \"var(--spirit-color-form-field-filled-background-state-default)\", sd = \"var(--spirit-color-form-field-filled-background-state-hover)\", ld = \"var(--spirit-color-form-field-filled-border-state-active)\", dd = \"var(--spirit-color-form-field-filled-border-state-default)\", fd = \"var(--spirit-color-form-field-filled-border-state-hover)\", md = \"var(--spirit-color-form-field-filled-border-state-selected)\", Sd = \"var(--spirit-color-form-field-filled-content)\", ud = \"var(--spirit-color-form-field-filled-placeholder)\", gd = \"var(--spirit-color-form-field-helper-text)\", pd = \"var(--spirit-color-form-field-label)\", bd = \"var(--spirit-color-form-field-success)\", vd = \"var(--spirit-color-form-field-warning)\", Bd = \"var(--spirit-color-gradient-basic-overlay-color-01)\", yd = \"var(--spirit-color-gradient-basic-overlay-color-02)\", $d = \"var(--spirit-color-gradient-primary-color-01)\", kd = \"var(--spirit-color-gradient-primary-color-02)\", hd = \"var(--spirit-color-gradient-secondary-color-01)\", Hd = \"var(--spirit-color-gradient-secondary-color-02)\", Fd = \"var(--spirit-color-gradient-skeleton-color-01)\", Cd = \"var(--spirit-color-gradient-skeleton-color-02)\", Dd = \"var(--spirit-color-gradient-skeleton-color-03)\", Id = \"var(--spirit-color-link-primary-state-active)\", xd = \"var(--spirit-color-link-primary-state-default)\", Pd = \"var(--spirit-color-link-primary-state-hover)\", Ad = \"var(--spirit-color-link-secondary-state-active)\", Wd = \"var(--spirit-color-link-secondary-state-default)\", Td = \"var(--spirit-color-link-secondary-state-hover)\", zd = \"var(--spirit-color-link-state-visited)\", wd = \"var(--spirit-color-link-tertiary-state-active)\", Ud = \"var(--spirit-color-link-tertiary-state-default)\", Rd = \"var(--spirit-color-link-tertiary-state-hover)\", Md = \"var(--spirit-color-neutral-background-basic)\", Ld = \"var(--spirit-color-neutral-background-subtle)\", Od = \"var(--spirit-color-neutral-border-basic)\", Xd = \"var(--spirit-color-neutral-border-subtle)\", _d = \"var(--spirit-color-neutral-content-basic)\", Vd = \"var(--spirit-color-neutral-content-subtle)\", jd = \"var(--spirit-color-neutral-state-active)\", qd = \"var(--spirit-color-neutral-state-default)\", Ed = \"var(--spirit-color-neutral-state-hover)\", Gd = \"var(--spirit-color-selected-background-basic)\", Jd = \"var(--spirit-color-selected-background-subtle)\", Kd = \"var(--spirit-color-selected-border-basic)\", Nd = \"var(--spirit-color-selected-border-subtle)\", Qd = \"var(--spirit-color-selected-content-basic)\", Yd = \"var(--spirit-color-selected-content-subtle)\", Zd = \"var(--spirit-color-selected-state-active)\", tf = \"var(--spirit-color-selected-state-default)\", ef = \"var(--spirit-color-selected-state-hover)\", of = \"var(--spirit-color-shadow-shadow-100-color-01)\", nf = \"var(--spirit-color-shadow-shadow-200-color-01)\", af = \"var(--spirit-color-shadow-shadow-300-color-01)\", rf = \"var(--spirit-color-shadow-shadow-400-color-01)\", cf = \"var(--spirit-color-text-primary)\", sf = \"var(--spirit-color-text-secondary)\", lf = \"var(--spirit-color-text-tertiary)\", df = {\n \"01\": {\n backgroundBasic: Oi,\n backgroundSubtle: Xi,\n borderBasic: _i,\n borderSubtle: Vi,\n contentBasic: ji,\n contentSubtle: qi,\n stateActive: Ei,\n stateDefault: Gi,\n stateHover: Ji\n },\n \"02\": {\n backgroundBasic: Ki,\n backgroundSubtle: Ni,\n borderBasic: Qi,\n borderSubtle: Yi,\n contentBasic: Zi,\n contentSubtle: ts,\n stateActive: es,\n stateDefault: os,\n stateHover: ns\n }\n}, ff = {\n backdrop: as,\n interactive: {\n stateActive: rs,\n stateDefault: cs,\n stateHover: is\n },\n primary: ss,\n secondary: ls,\n tertiary: ds\n}, mf = {\n basic: fs,\n focus: ms,\n interactive: {\n stateActive: Ss,\n stateDefault: us,\n stateHover: gs,\n stateSelected: ps\n }\n}, Sf = {\n button: {\n plain: {\n border: bs,\n content: vs,\n stateActive: Bs,\n stateDefault: ys,\n stateHover: $s\n },\n primary: {\n border: ks,\n content: hs,\n stateActive: Hs,\n stateDefault: Fs,\n stateHover: Cs\n },\n secondary: {\n border: Ds,\n content: Is,\n stateActive: xs,\n stateDefault: Ps,\n stateHover: As\n },\n tertiary: {\n border: Ws,\n content: Ts,\n stateActive: zs,\n stateDefault: ws,\n stateHover: Us\n }\n },\n header: {\n background: Rs,\n border: Ms,\n itemBackgroundStateActive: Ls,\n itemBackgroundStateDefault: Os,\n itemBackgroundStateHover: Xs,\n itemBackgroundStateSelected: _s,\n itemStateActive: Vs,\n itemStateDefault: js,\n itemStateHover: qs,\n itemStateSelected: Es,\n stripeStateSelected: Gs,\n stripeStateUnselected: Js\n },\n pagination: {\n selectedBorder: Ks,\n selectedContent: Ns,\n selectedStateActive: Qs,\n selectedStateDefault: Ys,\n selectedStateHover: Zs,\n unselectedBorder: tl,\n unselectedContent: el,\n unselectedStateActive: ol,\n unselectedStateDefault: nl,\n unselectedStateHover: al\n },\n pricingPlan: {\n highlightedBackground: rl,\n highlightedBorder: cl,\n highlightedContent: il\n },\n toggle: {\n selectedBorder: sl,\n selectedContent: ll,\n selectedStateActive: dl,\n selectedStateDefault: fl,\n selectedStateHover: ml,\n unselectedBorder: Sl,\n unselectedContent: ul,\n unselectedStateActive: gl,\n unselectedStateDefault: pl,\n unselectedStateHover: bl\n }\n}, uf = {\n background: vl,\n border: Bl,\n content: yl,\n foreground: $l\n}, gf = {\n danger: {\n backgroundBasic: kl,\n backgroundSubtle: hl,\n borderBasic: Hl,\n borderSubtle: Fl,\n contentBasic: Cl,\n contentSubtle: Dl,\n stateActive: Il,\n stateDefault: xl,\n stateHover: Pl\n },\n informative: {\n backgroundBasic: Al,\n backgroundSubtle: Wl,\n borderBasic: Tl,\n borderSubtle: zl,\n contentBasic: wl,\n contentSubtle: Ul,\n stateActive: Rl,\n stateDefault: Ml,\n stateHover: Ll\n },\n success: {\n backgroundBasic: Ol,\n backgroundSubtle: Xl,\n borderBasic: _l,\n borderSubtle: Vl,\n contentBasic: jl,\n contentSubtle: ql,\n stateActive: El,\n stateDefault: Gl,\n stateHover: Jl\n },\n warning: {\n backgroundBasic: Kl,\n backgroundSubtle: Nl,\n borderBasic: Ql,\n borderSubtle: Yl,\n contentBasic: Zl,\n contentSubtle: td,\n stateActive: ed,\n stateDefault: od,\n stateHover: nd\n }\n}, pf = {\n focusRing: {\n color01: ad\n }\n}, bf = {\n danger: rd,\n filled: {\n backgroundStateActive: cd,\n backgroundStateDefault: id,\n backgroundStateHover: sd,\n borderStateActive: ld,\n borderStateDefault: dd,\n borderStateHover: fd,\n borderStateSelected: md,\n content: Sd,\n placeholder: ud\n },\n helperText: gd,\n label: pd,\n success: bd,\n warning: vd\n}, vf = {\n basicOverlay: {\n color01: Bd,\n color02: yd\n },\n primary: {\n color01: $d,\n color02: kd\n },\n secondary: {\n color01: hd,\n color02: Hd\n },\n skeleton: {\n color01: Fd,\n color02: Cd,\n color03: Dd\n }\n}, Bf = {\n primary: {\n stateActive: Id,\n stateDefault: xd,\n stateHover: Pd\n },\n secondary: {\n stateActive: Ad,\n stateDefault: Wd,\n stateHover: Td\n },\n stateVisited: zd,\n tertiary: {\n stateActive: wd,\n stateDefault: Ud,\n stateHover: Rd\n }\n}, yf = {\n backgroundBasic: Md,\n backgroundSubtle: Ld,\n borderBasic: Od,\n borderSubtle: Xd,\n contentBasic: _d,\n contentSubtle: Vd,\n stateActive: jd,\n stateDefault: qd,\n stateHover: Ed\n}, $f = {\n backgroundBasic: Gd,\n backgroundSubtle: Jd,\n borderBasic: Kd,\n borderSubtle: Nd,\n contentBasic: Qd,\n contentSubtle: Yd,\n stateActive: Zd,\n stateDefault: tf,\n stateHover: ef\n}, kf = {\n shadow100: {\n color01: of\n },\n shadow200: {\n color01: nf\n },\n shadow300: {\n color01: af\n },\n shadow400: {\n color01: rf\n }\n}, hf = {\n primary: cf,\n secondary: sf,\n tertiary: lf\n}, Kf = {\n accent: df,\n background: ff,\n border: mf,\n component: Sf,\n disabled: uf,\n emotion: gf,\n focus: pf,\n formField: bf,\n gradient: vf,\n link: Bf,\n neutral: yf,\n selected: $f,\n shadow: kf,\n text: hf\n}, Nf = {\n themeLightDefault: {\n tokens: ga\n },\n themeLightOnBrand: {\n tokens: Li\n }\n};\nexport {\n Oi as accent01BackgroundBasic,\n Xi as accent01BackgroundSubtle,\n _i as accent01BorderBasic,\n Vi as accent01BorderSubtle,\n ji as accent01ContentBasic,\n qi as accent01ContentSubtle,\n Ei as accent01StateActive,\n Gi as accent01StateDefault,\n Ji as accent01StateHover,\n Ki as accent02BackgroundBasic,\n Ni as accent02BackgroundSubtle,\n Qi as accent02BorderBasic,\n Yi as accent02BorderSubtle,\n Zi as accent02ContentBasic,\n ts as accent02ContentSubtle,\n es as accent02StateActive,\n os as accent02StateDefault,\n ns as accent02StateHover,\n df as accentColors,\n as as backgroundBackdrop,\n ff as backgroundColors,\n rs as backgroundInteractiveStateActive,\n cs as backgroundInteractiveStateDefault,\n is as backgroundInteractiveStateHover,\n ss as backgroundPrimary,\n ls as backgroundSecondary,\n ds as backgroundTertiary,\n at as bodyLargeBold,\n rt as bodyLargeItalic,\n ct as bodyLargeRegular,\n it as bodyLargeSemibold,\n st as bodyMediumBold,\n lt as bodyMediumItalic,\n dt as bodyMediumRegular,\n ft as bodyMediumSemibold,\n mt as bodySmallBold,\n St as bodySmallItalic,\n ut as bodySmallRegular,\n gt as bodySmallSemibold,\n pt as bodyXlargeBold,\n bt as bodyXlargeItalic,\n vt as bodyXlargeRegular,\n Bt as bodyXlargeSemibold,\n yt as bodyXsmallBold,\n $t as bodyXsmallItalic,\n kt as bodyXsmallRegular,\n ht as bodyXsmallSemibold,\n fs as borderBasic,\n mf as borderColors,\n ms as borderFocus,\n Ss as borderInteractiveStateActive,\n us as borderInteractiveStateDefault,\n gs as borderInteractiveStateHover,\n ps as borderInteractiveStateSelected,\n Rf as borderWidth0,\n Mf as borderWidth100,\n Lf as borderWidth200,\n e as breakpointDesktop,\n Tf as breakpointMobile,\n t as breakpointTablet,\n wf as breakpoints,\n s as buttonLargeRadiusDesktop,\n o as buttonLargeRadiusMobile,\n r as buttonLargeRadiusTablet,\n l as buttonMediumRadiusDesktop,\n n as buttonMediumRadiusMobile,\n c as buttonMediumRadiusTablet,\n d as buttonSmallRadiusDesktop,\n a as buttonSmallRadiusMobile,\n i as buttonSmallRadiusTablet,\n Uf as buttons,\n Kf as colors,\n bs as componentButtonPlainBorder,\n vs as componentButtonPlainContent,\n Bs as componentButtonPlainStateActive,\n ys as componentButtonPlainStateDefault,\n $s as componentButtonPlainStateHover,\n ks as componentButtonPrimaryBorder,\n hs as componentButtonPrimaryContent,\n Hs as componentButtonPrimaryStateActive,\n Fs as componentButtonPrimaryStateDefault,\n Cs as componentButtonPrimaryStateHover,\n Ds as componentButtonSecondaryBorder,\n Is as componentButtonSecondaryContent,\n xs as componentButtonSecondaryStateActive,\n Ps as componentButtonSecondaryStateDefault,\n As as componentButtonSecondaryStateHover,\n Ws as componentButtonTertiaryBorder,\n Ts as componentButtonTertiaryContent,\n zs as componentButtonTertiaryStateActive,\n ws as componentButtonTertiaryStateDefault,\n Us as componentButtonTertiaryStateHover,\n Sf as componentColors,\n Rs as componentHeaderBackground,\n Ms as componentHeaderBorder,\n Ls as componentHeaderItemBackgroundStateActive,\n Os as componentHeaderItemBackgroundStateDefault,\n Xs as componentHeaderItemBackgroundStateHover,\n _s as componentHeaderItemBackgroundStateSelected,\n Vs as componentHeaderItemStateActive,\n js as componentHeaderItemStateDefault,\n qs as componentHeaderItemStateHover,\n Es as componentHeaderItemStateSelected,\n Gs as componentHeaderStripeStateSelected,\n Js as componentHeaderStripeStateUnselected,\n Ks as componentPaginationSelectedBorder,\n Ns as componentPaginationSelectedContent,\n Qs as componentPaginationSelectedStateActive,\n Ys as componentPaginationSelectedStateDefault,\n Zs as componentPaginationSelectedStateHover,\n tl as componentPaginationUnselectedBorder,\n el as componentPaginationUnselectedContent,\n ol as componentPaginationUnselectedStateActive,\n nl as componentPaginationUnselectedStateDefault,\n al as componentPaginationUnselectedStateHover,\n rl as componentPricingPlanHighlightedBackground,\n cl as componentPricingPlanHighlightedBorder,\n il as componentPricingPlanHighlightedContent,\n sl as componentToggleSelectedBorder,\n ll as componentToggleSelectedContent,\n dl as componentToggleSelectedStateActive,\n fl as componentToggleSelectedStateDefault,\n ml as componentToggleSelectedStateHover,\n Sl as componentToggleUnselectedBorder,\n ul as componentToggleUnselectedContent,\n gl as componentToggleUnselectedStateActive,\n pl as componentToggleUnselectedStateDefault,\n bl as componentToggleUnselectedStateHover,\n v as containerLargeMaxWidth,\n D as containerMaxWidth,\n b as containerMediumMaxWidth,\n C as containerPaddingDesktop,\n H as containerPaddingMobile,\n F as containerPaddingTablet,\n p as containerSmallMaxWidth,\n B as containerXlargeMaxWidth,\n g as containerXsmallMaxWidth,\n _f as containers,\n Xf as cssVariablePrefix,\n vl as disabledBackground,\n Bl as disabledBorder,\n uf as disabledColors,\n yl as disabledContent,\n $l as disabledForeground,\n gf as emotionColors,\n kl as emotionDangerBackgroundBasic,\n hl as emotionDangerBackgroundSubtle,\n Hl as emotionDangerBorderBasic,\n Fl as emotionDangerBorderSubtle,\n Cl as emotionDangerContentBasic,\n Dl as emotionDangerContentSubtle,\n Il as emotionDangerStateActive,\n xl as emotionDangerStateDefault,\n Pl as emotionDangerStateHover,\n Al as emotionInformativeBackgroundBasic,\n Wl as emotionInformativeBackgroundSubtle,\n Tl as emotionInformativeBorderBasic,\n zl as emotionInformativeBorderSubtle,\n wl as emotionInformativeContentBasic,\n Ul as emotionInformativeContentSubtle,\n Rl as emotionInformativeStateActive,\n Ml as emotionInformativeStateDefault,\n Ll as emotionInformativeStateHover,\n Ol as emotionSuccessBackgroundBasic,\n Xl as emotionSuccessBackgroundSubtle,\n _l as emotionSuccessBorderBasic,\n Vl as emotionSuccessBorderSubtle,\n jl as emotionSuccessContentBasic,\n ql as emotionSuccessContentSubtle,\n El as emotionSuccessStateActive,\n Gl as emotionSuccessStateDefault,\n Jl as emotionSuccessStateHover,\n Kl as emotionWarningBackgroundBasic,\n Nl as emotionWarningBackgroundSubtle,\n Ql as emotionWarningBorderBasic,\n Yl as emotionWarningBorderSubtle,\n Zl as emotionWarningContentBasic,\n td as emotionWarningContentSubtle,\n ed as emotionWarningStateActive,\n od as emotionWarningStateDefault,\n nd as emotionWarningStateHover,\n qf as focus,\n pf as focusColors,\n ad as focusFocusRingColor01,\n w as focusRing,\n bf as formFieldColors,\n rd as formFieldDanger,\n cd as formFieldFilledBackgroundStateActive,\n id as formFieldFilledBackgroundStateDefault,\n sd as formFieldFilledBackgroundStateHover,\n ld as formFieldFilledBorderStateActive,\n dd as formFieldFilledBorderStateDefault,\n fd as formFieldFilledBorderStateHover,\n md as formFieldFilledBorderStateSelected,\n Sd as formFieldFilledContent,\n ud as formFieldFilledPlaceholder,\n gd as formFieldHelperText,\n pd as formFieldLabel,\n Pf as formFieldLargeRadiusDesktop,\n Hf as formFieldLargeRadiusMobile,\n Df as formFieldLargeRadiusTablet,\n Af as formFieldMediumRadiusDesktop,\n Ff as formFieldMediumRadiusMobile,\n If as formFieldMediumRadiusTablet,\n Wf as formFieldSmallRadiusDesktop,\n Cf as formFieldSmallRadiusMobile,\n xf as formFieldSmallRadiusTablet,\n bd as formFieldSuccess,\n vd as formFieldWarning,\n zf as formFields,\n f as gradientBasicOverlay,\n Bd as gradientBasicOverlayColor01,\n yd as gradientBasicOverlayColor02,\n vf as gradientColors,\n m as gradientPrimary,\n $d as gradientPrimaryColor01,\n kd as gradientPrimaryColor02,\n S as gradientSecondary,\n hd as gradientSecondaryColor01,\n Hd as gradientSecondaryColor02,\n u as gradientSkeleton,\n Fd as gradientSkeletonColor01,\n Cd as gradientSkeletonColor02,\n Dd as gradientSkeletonColor03,\n Of as gradients,\n h as gridColumns,\n $ as gridSpacingDesktop,\n y as gridSpacingMobile,\n k as gridSpacingTablet,\n Vf as grids,\n Ht as headingLargeBold,\n Ft as headingLargeItalic,\n Ct as headingLargeRegular,\n Dt as headingLargeSemibold,\n It as headingMediumBold,\n xt as headingMediumItalic,\n Pt as headingMediumRegular,\n At as headingMediumSemibold,\n Wt as headingSmallBold,\n Tt as headingSmallItalic,\n zt as headingSmallRegular,\n wt as headingSmallSemibold,\n Ut as headingXlargeBold,\n Rt as headingXlargeItalic,\n Mt as headingXlargeRegular,\n Lt as headingXlargeSemibold,\n Ot as headingXsmallBold,\n Xt as headingXsmallItalic,\n _t as headingXsmallRegular,\n Vt as headingXsmallSemibold,\n Bf as linkColors,\n Id as linkPrimaryStateActive,\n xd as linkPrimaryStateDefault,\n Pd as linkPrimaryStateHover,\n Ad as linkSecondaryStateActive,\n Wd as linkSecondaryStateDefault,\n Td as linkSecondaryStateHover,\n zd as linkStateVisited,\n wd as linkTertiaryStateActive,\n Ud as linkTertiaryStateDefault,\n Rd as linkTertiaryStateHover,\n Md as neutralBackgroundBasic,\n Ld as neutralBackgroundSubtle,\n Od as neutralBorderBasic,\n Xd as neutralBorderSubtle,\n yf as neutralColors,\n _d as neutralContentBasic,\n Vd as neutralContentSubtle,\n jd as neutralStateActive,\n qd as neutralStateDefault,\n Ed as neutralStateHover,\n jf as radii,\n I as radius0,\n x as radius100,\n P as radius200,\n A as radius300,\n W as radius400,\n T as radius500,\n z as radiusFull,\n Gd as selectedBackgroundBasic,\n Jd as selectedBackgroundSubtle,\n Kd as selectedBorderBasic,\n Nd as selectedBorderSubtle,\n $f as selectedColors,\n Qd as selectedContentBasic,\n Yd as selectedContentSubtle,\n Zd as selectedStateActive,\n tf as selectedStateDefault,\n ef as selectedStateHover,\n U as shadow100,\n R as shadow200,\n M as shadow300,\n L as shadow400,\n kf as shadowColors,\n of as shadowShadow100Color01,\n nf as shadowShadow200Color01,\n af as shadowShadow300Color01,\n rf as shadowShadow400Color01,\n Ef as shadows,\n O as space0,\n X as space100,\n N as space1000,\n Q as space1100,\n Y as space1200,\n Z as space1300,\n tt as space1400,\n et as space1500,\n ot as space1600,\n nt as space1700,\n _ as space200,\n V as space300,\n j as space400,\n q as space500,\n E as space600,\n G as space700,\n J as space800,\n K as space900,\n Gf as spaces,\n Jf as styles,\n hf as textColors,\n cf as textPrimary,\n sf as textSecondary,\n lf as textTertiary,\n Nf as themes\n};\n","import { componentColors, containers, emotionColors, textColors } from '@alma-oss/spirit-design-tokens';\n\nfunction createUppercaseKeyDictionary<T extends Record<string, unknown>>(obj: T) {\n return Object.fromEntries(Object.keys(obj).map((key) => [key.toUpperCase(), key])) as {\n [K in keyof T as Uppercase<string & K>]: K;\n };\n}\n\n/* Alignment */\nexport const AlignmentX = {\n LEFT: 'left',\n CENTER: 'center',\n RIGHT: 'right',\n} as const;\n\nexport const AlignmentXExtended = {\n SPACE_BETWEEN: 'space-between',\n STRETCH: 'stretch',\n ...AlignmentX,\n} as const;\n\nexport const AlignmentY = {\n TOP: 'top',\n CENTER: 'center',\n BOTTOM: 'bottom',\n} as const;\n\nexport const AlignmentYExtended = {\n BASELINE: 'baseline',\n STRETCH: 'stretch',\n ...AlignmentY,\n} as const;\n\nexport const TextAlignments = {\n LEFT: 'left',\n CENTER: 'center',\n RIGHT: 'right',\n} as const;\n\n/* Border */\nexport const BorderColors = {\n BASIC: 'basic',\n} as const;\n\nexport const BorderRadii = {\n 0: '0',\n 100: '100',\n 200: '200',\n 300: '300',\n 400: '400',\n 500: '500',\n FULL: 'full',\n} as const;\n\nexport const BorderStyles = {\n SOLID: 'solid',\n DOTTED: 'dotted',\n DASHED: 'dashed',\n} as const;\n\nexport const BorderWidths = {\n 0: '0',\n 100: '100',\n 200: '200',\n} as const;\n\n/* Color */\nexport const BackgroundColors = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n TERTIARY: 'tertiary',\n} as const;\n\nexport const ComponentButtonColors = createUppercaseKeyDictionary(componentColors.button);\n\nexport const EmotionColors = createUppercaseKeyDictionary(emotionColors);\n\nexport const LinkColors = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n TERTIARY: 'tertiary',\n} as const;\n\nexport const TextColors = createUppercaseKeyDictionary(textColors);\n\n/* Intensity */\nexport const Intensity = {\n BASIC: 'basic',\n SUBTLE: 'subtle',\n} as const;\n\n/* Emphasis */\nexport const Emphasis = {\n REGULAR: 'regular',\n SEMIBOLD: 'semibold',\n BOLD: 'bold',\n ITALIC: 'italic',\n} as const;\n\n/* Gradient */\nexport const BackgroundGradients = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n} as const;\n\n/* Placement */\nexport const Placements = {\n TOP: 'top',\n TOP_START: 'top-start',\n TOP_END: 'top-end',\n BOTTOM: 'bottom',\n BOTTOM_START: 'bottom-start',\n BOTTOM_END: 'bottom-end',\n LEFT: 'left',\n LEFT_START: 'left-start',\n LEFT_END: 'left-end',\n RIGHT: 'right',\n RIGHT_START: 'right-start',\n RIGHT_END: 'right-end',\n} as const;\n\n/* Size */\nexport const Sizes = {\n SMALL: 'small',\n MEDIUM: 'medium',\n LARGE: 'large',\n} as const;\n\nexport const SizesExtended = {\n XSMALL: 'xsmall',\n ...Sizes,\n XLARGE: 'xlarge',\n} as const;\n\n// Exclude unwanted tokens so we can iterate over Container sizes.\n// Max-width and padding will be moved out of this map in the future.\n// @see https://jira.almacareer.tech/browse/DS-2142\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst { MAXWIDTH, PADDING, ...ContainerTokenSizes } = createUppercaseKeyDictionary(containers);\nexport { ContainerTokenSizes };\n\n/* Validation */\nexport const ValidationStates = {\n SUCCESS: 'success',\n WARNING: 'warning',\n DANGER: 'danger',\n} as const;\n\n/* Variant */\nexport const FillVariants = {\n FILL: 'fill',\n OUTLINE: 'outline',\n} as const;\n\nexport const ShapeVariants = {\n BOX: 'box',\n PILL: 'pill',\n} as const;\n","import { type DirectionDictionaryType } from '../types';\n\nexport const Direction = {\n HORIZONTAL: 'horizontal',\n VERTICAL: 'vertical',\n} as const;\n\nexport const DirectionExtended = {\n ...Direction,\n HORIZONTAL_REVERSED: 'horizontal-reversed',\n} as const;\n\nexport enum DirectionAxis {\n X = 'x',\n Y = 'y',\n}\n\nexport const isDirectionHorizontal = (direction: DirectionDictionaryType): boolean =>\n direction === Direction.HORIZONTAL;\n","export const InputPositions = {\n START: 'start',\n END: 'end',\n} as const;\n","export const ObjectFit = {\n CONTAIN: 'contain',\n COVER: 'cover',\n} as const;\n","export const Position = {\n LEFT: 'left',\n RIGHT: 'right',\n TOP: 'top',\n BOTTOM: 'bottom',\n} as const;\n","export const BackgroundStyleProps = {\n backgroundGradient: 'bg-gradient',\n} as const;\n\nexport const BorderRadiusStyleProps = {\n borderRadius: 'rounded',\n} as const;\n\nexport const SpacingStyleProp = {\n margin: 'm',\n marginTop: 'mt',\n marginRight: 'mr',\n marginBottom: 'mb',\n marginLeft: 'ml',\n marginX: 'mx',\n marginY: 'my',\n} as const;\n\nexport const PaddingStyleProps = {\n padding: 'p',\n paddingBottom: 'pb',\n paddingLeft: 'pl',\n paddingRight: 'pr',\n paddingTop: 'pt',\n paddingX: 'px',\n paddingY: 'py',\n} as const;\n\nexport const TextStyleProps = {\n isTextBalanced: 'text-wrap-pretty',\n textAlignment: 'text',\n textHyphens: 'text-hyphens',\n textWordBreak: 'text-word-break',\n} as const;\n\nexport const HeadingStyleProps = {\n isTextBalanced: 'text-wrap-balance',\n};\n\nexport const DisplayStyleProps = {\n hideOn: 'd',\n hideFrom: 'd',\n} as const;\n\nexport const ThemeStyleProps = {\n theme: '',\n} as const;\n","'use client';\n\nimport { createContext } from 'react';\n\ntype ClassNamePrefixContextType = string | null | undefined;\n\nconst defaultContext: ClassNamePrefixContextType = undefined;\n\nconst ClassNamePrefixContext = createContext<ClassNamePrefixContextType>(defaultContext);\nconst ClassNamePrefixProvider = ClassNamePrefixContext.Provider;\nconst ClassNamePrefixConsumer = ClassNamePrefixContext.Consumer;\n\nexport default ClassNamePrefixContext;\nexport { ClassNamePrefixConsumer, ClassNamePrefixProvider };\nexport type { ClassNamePrefixContextType };\n","import { type ElementType } from 'react';\nimport { type ObjectFit, Sizes } from '../constants';\nimport {\n type AlignmentXDictionaryType,\n type AlignmentYDictionaryType,\n type BackgroundAccentColorsType,\n type BackgroundColorsDictionaryType,\n type BackgroundEmotionColorsType,\n type ChildrenProps,\n type DirectionExtendedDictionaryType,\n type SingleOrResponsive,\n type StyleProps,\n type TransferProps,\n} from './shared';\n\nexport const CardSizes = {\n ...Sizes,\n AUTO: 'auto',\n} as const;\n\nexport type CardSizesDictionaryKeys = keyof typeof CardSizes;\nexport type CardSizesDictionaryType<C = undefined> = (typeof CardSizes)[CardSizesDictionaryKeys] | C;\n\nexport type CardAlignmentXType = SingleOrResponsive<NonNullable<AlignmentXDictionaryType>>;\n\nexport type CardAlignmentYType = SingleOrResponsive<NonNullable<AlignmentYDictionaryType>>;\n\nexport interface CardElementTypeProps<E extends ElementType = 'article'> {\n /**\n * The HTML element or React element used to render the Card, e.g. 'div'.\n *\n * @default 'article'\n */\n elementType?: E;\n}\n\n// Card types\nexport type CardDirectionType =\n | NonNullable<DirectionExtendedDictionaryType>\n | { [key: string]: NonNullable<DirectionExtendedDictionaryType> };\n\nexport interface CardProps<E extends ElementType = 'article'> extends CardElementTypeProps<E> {\n alignmentY?: CardAlignmentYType;\n direction?: CardDirectionType;\n isBoxed?: boolean;\n}\n\nexport interface SpiritCardProps<T extends ElementType = 'article'>\n extends CardProps<T>, ChildrenProps, StyleProps, TransferProps {}\n\nexport type CardMediaBackgroundColorsType =\n | BackgroundColorsDictionaryType\n | BackgroundAccentColorsType\n | BackgroundEmotionColorsType;\n\nexport type CardMediaObjectFitType = (typeof ObjectFit)[keyof typeof ObjectFit];\n\nexport interface CardMediaProps {\n backgroundColor?: CardMediaBackgroundColorsType;\n fit?: CardMediaObjectFitType;\n hasFilledHeight?: boolean;\n isExpanded?: boolean;\n size?: CardSizesDictionaryType;\n}\n\nexport interface SpiritCardMediaProps extends CardMediaProps, ChildrenProps, StyleProps, TransferProps {}\n\n// CardLogo types\nexport interface SpiritCardLogoProps extends ChildrenProps, StyleProps, TransferProps {}\n\n// CardArtwork types\nexport interface CardArtworkProps {\n alignmentX?: CardAlignmentXType;\n}\nexport interface SpiritCardArtworkProps extends CardArtworkProps, ChildrenProps, StyleProps, TransferProps {}\n\n// CardBody types\nexport interface CardBodyProps {\n isSelectable?: boolean;\n}\n\nexport interface SpiritCardBodyProps extends CardBodyProps, ChildrenProps, StyleProps, TransferProps {}\n\n// CardEyebrow types\nexport interface SpiritCardEyebrowProps extends ChildrenProps, StyleProps, TransferProps {}\n\n// CardTitle types\nexport interface CardTitleProps {\n isHeading?: boolean;\n}\n\nexport interface SpiritCardTitleProps<T extends ElementType = 'h4'>\n extends CardTitleProps, CardElementTypeProps<T>, ChildrenProps, StyleProps, TransferProps {}\n\n// CardFooter types\nexport interface CardFooterProps {\n alignmentX?: CardAlignmentXType;\n}\n\nexport interface SpiritCardFooterProps extends CardFooterProps, ChildrenProps, StyleProps, TransferProps {}\n\n// CardLink types\nexport type CardLinkProps<E extends ElementType = 'a'> = {\n /**\n * The HTML element or React element used to render the Link, e.g. 'a'.\n *\n * @default 'a'\n */\n elementType?: E;\n};\n\nexport type SpiritCardLinkProps<E extends ElementType = 'a'> = CardLinkProps<E> &\n ChildrenProps & {\n href: string;\n };\n","import { type ElementType, type ReactNode } from 'react';\nimport { type StyleProps, type TransferProps } from './shared';\n\nexport const ITEM_SELECTION_DECORATOR_BACKGROUND = 'background';\nexport const ITEM_SELECTION_DECORATOR_BOTH = 'both';\nexport const ITEM_SELECTION_DECORATOR_ICON = 'icon';\n\nexport type ItemSelectionDecorator =\n | typeof ITEM_SELECTION_DECORATOR_BACKGROUND\n | typeof ITEM_SELECTION_DECORATOR_BOTH\n | typeof ITEM_SELECTION_DECORATOR_ICON;\n\nexport interface AriaItemElementTypeProps<E extends ElementType = 'button'> {\n /**\n * The HTML element or React element used to render the item, e.g. 'div', 'span'.\n *\n * @default 'button'\n */\n elementType?: E;\n}\n\nexport interface ItemStyleProps extends StyleProps, TransferProps {\n isDisabled?: boolean;\n isSelected?: boolean;\n selectionDecorator?: ItemSelectionDecorator;\n}\n\nexport interface SpiritItemProps<T extends ElementType = 'button'>\n extends AriaItemElementTypeProps<T>, StyleProps, TransferProps {\n helperText?: string;\n iconName?: string;\n isDisabled?: boolean;\n isSelected?: boolean;\n label: string | ReactNode;\n selectionDecorator?: ItemSelectionDecorator;\n}\n","import { type ElementType } from 'react';\nimport { type LinkColorsExtended } from '..';\nimport type {\n ChildrenProps,\n LinkColorsDictionaryType,\n PolymorphicComponentProps,\n StyleProps,\n TransferProps,\n} from './shared';\n\n/** ===== BASE API ===== */\nexport const UNDERLINED_OPTIONS = {\n ALWAYS: 'always',\n HOVER: 'hover',\n NEVER: 'never',\n} as const;\n\nexport type LinkTarget = '_blank' | '_self' | '_parent' | '_top';\n\nexport type UnderlineOptions = (typeof UNDERLINED_OPTIONS)[keyof typeof UNDERLINED_OPTIONS];\n\nexport type LinkColorsExtendedNamesType = (typeof LinkColorsExtended)[keyof typeof LinkColorsExtended];\n\nexport type LinkColor<C> = LinkColorsDictionaryType | LinkColorsExtendedNamesType | C;\n\nexport interface LinkBaseProps extends ChildrenProps, StyleProps, TransferProps {}\n\n/** ===== STYLE API ===== */\nexport interface LinkStyleProps<C = void> extends LinkBaseProps {\n /** Color of the Link */\n color?: LinkColor<C>;\n /** When is the Link underlined */\n underlined?: UnderlineOptions;\n /** Whether is the Link disabled */\n isDisabled?: boolean;\n}\n\n/** ===== INTERNAL API ===== */\nexport interface LinkProps<C = void> extends LinkStyleProps<C> {\n /** Link's href attribute */\n href?: string;\n /** Link's target attribute */\n target?: LinkTarget;\n}\n\n/** ===== PUBLIC API ===== */\nexport type SpiritLinkProps<E extends ElementType = 'a', C = void> = PolymorphicComponentProps<E, LinkProps<C>>;\n","import { type CSSProperties, type ElementType } from 'react';\nimport { type SpacingStyleProp } from '../../constants';\nimport { type TextAlignmentDictionaryType } from './dictionaries';\nimport { type BreakpointToken, type SingleOrResponsive } from './responsive';\nimport { type TextHyphensDictionaryType, type TextWordBreakDictionaryType } from './text';\nimport { type SpaceToken, type ThemeNameType } from './tokens';\n\nexport const STYLE_SPACING_AUTO = 'auto' as const;\nexport type StyleSpacingAuto = typeof STYLE_SPACING_AUTO;\n\nexport type SpacingProps = {\n [key in keyof typeof SpacingStyleProp]?: SingleOrResponsive<SpaceToken | StyleSpacingAuto>;\n};\n\nexport type SpacingType = SingleOrResponsive<SpaceToken>;\n\nexport interface SpacingProp {\n spacing?: SpacingType;\n}\n\nexport interface SpacingCSSProperties extends CSSProperties {\n [index: `--${string}`]: string | undefined | number;\n}\n\nexport type DimensionType = SingleOrResponsive<number>;\n\nexport type ElementTypeProp = string | ElementType;\n\nexport type DisplayProps = {\n hideOn?: BreakpointToken | BreakpointToken[];\n hideFrom?: BreakpointToken;\n};\n\nexport interface StyleProps extends SpacingProps, DisplayProps {\n /** Applies a theme class based on the defined design tokens. */\n theme?: ThemeNameType;\n // For backward compatibility!\n /** Sets the CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. Only use as a **last resort**. Use style props instead. */\n UNSAFE_className?: string;\n /** Sets inline [style](https://developer.mozilla.org/en-US/docs/Web/API/Element/style) for the element. Only use as a **last resort**. Use style props instead. */\n UNSAFE_style?: CSSProperties;\n}\n\nexport type TextAlignmentType = SingleOrResponsive<TextAlignmentDictionaryType>;\n\nexport type TextHyphensType = TextHyphensDictionaryType;\n\nexport type TextWordBreakType = TextWordBreakDictionaryType;\n\nexport type UnsafeStyleProps = 'style' | 'className';\n\nexport type OmittedExtendedUnsafeStyleProps<E, P> = Omit<E, UnsafeStyleProps & P>;\n\nexport type OverloadStyleProps<E> = Omit<E, UnsafeStyleProps> & StyleProps;\n","import { type spaces, type themes } from '@alma-oss/spirit-design-tokens';\n\nexport const BREAKPOINT_MOBILE = 'mobile';\n\nexport type SpaceToken = `space-${keyof typeof spaces}` | `space-${number}`;\n\ntype CamelCaseToKebabCaseHelper<S extends string> = S extends `${infer First}${infer Rest}`\n ? First extends Lowercase<First>\n ? `${First}${CamelCaseToKebabCaseHelper<Rest>}`\n : `-${Lowercase<First>}${CamelCaseToKebabCaseHelper<Rest>}`\n : '';\n\ntype CamelCaseToKebabCase<S extends string> = S extends `${infer First}${infer Rest}`\n ? `${Lowercase<First>}${CamelCaseToKebabCaseHelper<Rest>}`\n : S;\n\nexport type ThemeName = keyof typeof themes;\nexport type ThemeNameType = CamelCaseToKebabCase<ThemeName>;\n","import { type ElementType, type ReactNode } from 'react';\n\nexport * from './adornments';\nexport * from './buttons';\nexport * from './colors';\nexport * from './columns';\nexport * from './dialogs';\nexport * from './dictionaries';\nexport * from './directions';\nexport * from './dragAndDrop';\nexport * from './element';\nexport * from './events';\nexport * from './inputs';\nexport * from './item';\nexport * from './polymorphic';\nexport * from './positions';\nexport * from './radii';\nexport * from './refs';\nexport * from './responsive';\nexport * from './rest';\nexport * from './sizes';\nexport * from './style';\nexport * from './text';\nexport * from './tokens';\n\nexport interface ChildrenProps {\n /** The content to display in the component. */\n children?: ReactNode | string;\n}\n\nexport interface ElementTypeProps<E extends ElementType = 'div'> {\n /**\n * The HTML element or React element used to render the component.\n *\n * @default 'div'\n */\n elementType?: E;\n}\n\nexport enum SpiritBreakpoints {\n TABLET = 'tablet',\n DESKTOP = 'desktop',\n}\n\n/**\n * This is actual type for all aria-* props which have value 'true' or 'false' is called Booleanish.\n * Unfortunately it is not exported, and you must create it manually.\n */\nexport type Booleanish = boolean | 'true' | 'false';\n\n/**\n * Represents a non-negative integer.\n *\n * @template T - The type of the number.\n */\n/* eslint-disable @typescript-eslint/no-explicit-any -- we don't care about the type here */\nexport type PositiveInteger<T extends number> = `${T}` extends '0' | `-${any}` | `${any}.${any}` ? never : T;\n/* eslint-enable @typescript-eslint/no-explicit-any */\n","import { type Placement, type Strategy } from '@floating-ui/react';\nimport type { ElementType, ReactNode } from 'react';\nimport type {\n ChildrenProps,\n ClickEvent,\n ElementTypeProp,\n PolymorphicComponentProps,\n StyleProps,\n TransferProps,\n} from './shared';\n\n/** ===== BASE API ===== */\nexport const TOOLTIP_TRIGGER = {\n CLICK: 'click',\n HOVER: 'hover',\n FOCUS: 'focus',\n MANUAL: 'manual',\n OUTSIDE_PRESS: 'outside-press',\n ESCAPE_KEY: 'escape-key',\n} as const;\n\nexport type TooltipTriggerType = 'click' | 'hover' | 'focus' | 'manual';\n\nexport interface TooltipCloseButtonProps extends StyleProps {\n onClick?: (event: ClickEvent) => void;\n label?: string;\n}\n\nexport interface TooltipState {\n isOpen?: boolean;\n onToggle: (isOpen: boolean) => void;\n}\n\nexport interface TooltipBaseProps extends ChildrenProps, StyleProps {\n closeLabel?: string;\n id: string;\n}\n\nexport interface TooltipStateProps {\n enableFlipping?: boolean;\n enableFlippingCrossAxis?: boolean;\n enableShifting?: boolean;\n enableSizing?: boolean;\n flipFallbackAxisSideDirection?: 'none' | 'start' | 'end';\n flipFallbackPlacements?: Placement | Placement[];\n isFocusableOnHover?: boolean;\n positionStrategy?: Strategy;\n trigger?: TooltipTriggerType[];\n placement?: Placement;\n}\n\n/** ===== STYLE API ===== */\nexport interface TooltipStyleProps extends TooltipBaseProps, TooltipState, TooltipStateProps {\n isDismissible?: boolean;\n}\n\n/** ===== INTERNAL API ===== */\nexport interface TooltipProps extends TooltipStyleProps {}\n\n// Sub-components receive props from JSX, but get state/handlers from context\nexport interface TooltipPopoverProps extends ChildrenProps, StyleProps, TransferProps {}\nexport interface TooltipTriggerProps extends StyleProps, TransferProps {\n elementType?: ElementTypeProp;\n children?: string | ReactNode | ((props: { isOpen: boolean }) => ReactNode);\n}\n\nexport interface UncontrolledTooltipProps extends TooltipStyleProps {}\n\n/** ===== PUBLIC API ===== */\nexport type SpiritTooltipProps<E extends ElementType = 'div'> = PolymorphicComponentProps<E, TooltipProps>;\n","import { type ElementType } from 'react';\nimport { type ChildrenProps, type PositiveInteger, type StyleProps } from './shared';\n\n/**\n * The modes of truncation.\n *\n * LINES: Truncate text to a specific number of lines.\n * WORDS: Truncate text to a specific number of words.\n * CHARACTERS: Truncate text to a specific number of characters.\n */\nexport const TruncateModes = {\n LINES: 'lines',\n WORDS: 'words',\n CHARACTERS: 'characters',\n} as const;\n\nexport type TruncateMode = (typeof TruncateModes)[keyof typeof TruncateModes];\n\nexport interface SpiritTruncateProps<E extends ElementType> extends StyleProps, ChildrenProps {\n elementType?: E;\n /**\n * The limit for the truncation (lines, words, or characters).\n *\n * @see PositiveInteger\n */\n limit?: PositiveInteger<number>;\n /**\n * The type of truncation to apply.\n *\n * @see TruncateModes\n *\n * @default 'lines'\n */\n mode?: TruncateMode;\n}\n","/**\n * Check if the value is `null` or `undefined`.\n *\n * @param {unknown} value - The value to check.\n * @returns {boolean} - `true` if the value is `null` or `undefined`, `false` otherwise.\n */\nexport const isNullish = (value: unknown): value is null | undefined => value == null;\n\n/**\n * Check if the value is an empty string.\n *\n * @param {unknown} value - The value to check.\n * @returns {boolean} - `true` if the value is an empty string, `false` otherwise.\n */\nexport const isEmptyString = (value: unknown): boolean => typeof value === 'string' && value.trim() === '';\n\n/**\n * Check if the value is an empty array.\n *\n * @param {unknown} value - The value to check.\n * @returns {boolean} - `true` if the value is an empty array, `false` otherwise.\n */\nexport const isEmptyArray = (value: unknown): boolean => Array.isArray(value) && value.length === 0;\n\n/**\n * Check if the value is an empty object.\n *\n * @param {unknown} value - The value to check.\n * @returns {boolean} - `true` if the value is an empty object, `false` otherwise.\n */\nexport const isEmptyObject = (value: unknown): boolean =>\n typeof value === 'object' && value !== null && Object.keys(value).length === 0;\n\n/**\n * Check if the value is an object with at least one own enumerable property.\n *\n * @param {unknown} value - The value to check.\n * @returns {boolean} - `true` if the object has own enumerable properties, `false` otherwise.\n */\nexport const isEnumerable = (value: unknown): boolean => {\n if (typeof value === 'object' && value !== null) {\n for (const key in value) {\n if (Object.hasOwnProperty.call(value, key)) {\n return true;\n }\n }\n }\n\n return false;\n};\n\n/**\n * Check if the value is empty.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n * Arrays are considered empty if they have a length of 0.\n * Strings are considered empty if they are empty or contain only whitespace.\n * Nullish values are considered empty.\n *\n * @param {unknown} value - The value to check.\n * @returns {boolean} - `true` if the value is empty, `false` otherwise.\n * @example\n * ```js\n * isEmpty(null); // => true\n * isEmpty(undefined); // => true\n * isEmpty(''); // => true\n * isEmpty([]); // => true\n * isEmpty({}); // => true\n * isEmpty('hello'); // => false\n * isEmpty(1); // => false\n * isEmpty(true); // => false\n * isEmpty(false); // => false\n * isEmpty([1, 2, 3]); // => false\n * isEmpty({ key: 'value' }); // => false\n * ```\n */\nexport const isEmpty = (value: unknown): boolean => {\n if (isNullish(value)) {\n return true;\n }\n\n if (isEmptyString(value)) {\n return true;\n }\n\n if (isEmptyArray(value)) {\n return true;\n }\n\n if (isEmptyObject(value)) {\n return true;\n }\n\n if (isEnumerable(value)) {\n return false;\n }\n\n return false;\n};\n","export const applyClassNamePrefix =\n (prefix: string | null | undefined) =>\n (className: string): string =>\n prefix != null && prefix !== '' ? `${prefix}-${className}` : className;\nexport const applyColor =\n <Color>(color: Color) =>\n (className: string): string =>\n `${className}--${color}`;\nexport const applySize =\n <Size>(size: Size) =>\n (className: string): string =>\n `${className}--${size}`;\nexport const applyTheme =\n <Theme>(theme: Theme) =>\n (className: string): string =>\n `${className}--${theme}`;\n","import { accentColors, emotionColors, textColors } from '@alma-oss/spirit-design-tokens';\nimport {\n type AccentColorNamesType,\n type BackgroundAccentColorsType,\n type BackgroundEmotionColorsType,\n type BackgroundNeutralColorsType,\n type BorderAccentColorsType,\n type BorderEmotionColorsType,\n type EmotionColorNamesType,\n type TextAccentColorsType,\n type TextColorsDictionaryType,\n type TextEmotionColorsType,\n type TextNeutralColorsType,\n} from '../types';\n\n/**\n * Generates a color object by processing a set of colors and filtering their keys based on type.\n *\n * @template T - The type of the keys in the resulting record.\n * @param {Record<string, Record<string, string>>} colors - A record of color categories and their properties.\n * @param {string} type - The type of property to filter (e.g., \"content\", \"border\", \"background\").\n * @param {string} prefix - A string prefix to prepend to the generated keys.\n * @returns {Record<T, T>} A record where the keys are formatted strings and the values are identical to the keys.\n */\nexport const generateColorsObject = <T extends string>(\n colors: Record<string, Record<string, string>>,\n type: string,\n prefix: string,\n): Record<T, T> => {\n const result: Record<string, string> = {};\n\n for (const [key, properties] of Object.entries(colors)) {\n for (const [property] of Object.entries(properties)) {\n if (property.startsWith(type)) {\n const formattedValue = `${prefix}-${key}-${property.replace(type, '').toLowerCase()}`;\n const formattedKey = formattedValue.replace(/-/g, '_').toUpperCase();\n result[formattedKey] = formattedValue;\n }\n }\n }\n\n return result as Record<T, T>;\n};\n\n/**\n * Generates an object containing formatted keys for accent text colors.\n *\n * @returns {Record<string, TextAccentColorsType>} A record of formatted accent color keys.\n */\nexport const getAccentTextColors = (): Record<string, TextAccentColorsType> =>\n generateColorsObject(accentColors, 'content', 'accent');\n\n/**\n * Generates an object containing formatted keys for emotion text colors.\n *\n * @returns {Record<string, TextEmotionColorsType>} A record of formatted emotion color keys.\n */\nexport const getEmotionTextColors = (): Record<string, TextEmotionColorsType> =>\n generateColorsObject(emotionColors, 'content', 'emotion');\n\n/**\n * Generates an object containing formatted keys for accent background colors.\n *\n * @returns {Record<string, BackgroundAccentColorsType>} A record of formatted accent color keys.\n */\nexport const getAccentBackgroundColors = (): Record<string, BackgroundAccentColorsType> =>\n generateColorsObject(accentColors, 'background', 'accent');\n\n/**\n * Generates an object containing formatted keys for emotion background colors.\n *\n * @returns {Record<string, BackgroundEmotionColorsType>} A record of formatted accent color keys.\n */\nexport const getEmotionBackgroundColors = (): Record<string, BackgroundEmotionColorsType> =>\n generateColorsObject(emotionColors, 'background', 'emotion');\n\n/**\n * Generates an object containing formatted keys for accent border colors.\n *\n * @returns {Record<string, BorderAccentColorsType>} A record of formatted accent color keys.\n */\nexport const getAccentBorderColors = (): Record<string, BorderAccentColorsType> =>\n generateColorsObject(accentColors, 'border', 'accent');\n\n/**\n * Generates an object containing formatted keys for emotion border colors.\n *\n * @returns {Record<string, BackgroundEmotionColorsType>} A record of formatted emotion color keys.\n */\nexport const getEmotionBorderColors = (): Record<string, BorderEmotionColorsType> =>\n generateColorsObject(emotionColors, 'border', 'emotion');\n\n/**\n * Generates an object containing formatted keys for neutral text colors.\n *\n * @returns {Record<string, TextNeutralColorsType>} A record of formatted neutral color keys.\n */\nexport const getNeutralTextColors = (): Record<string, TextNeutralColorsType> =>\n ({\n NEUTRAL_BASIC: 'neutral-basic',\n NEUTRAL_SUBTLE: 'neutral-subtle',\n }) as Record<string, TextNeutralColorsType>;\n\n/**\n * Generates an object containing formatted keys for neutral background colors.\n *\n * @returns {Record<string, BackgroundNeutralColorsType>} A record of formatted neutral color keys.\n */\nexport const getNeutralBackgroundColors = (): Record<string, BackgroundNeutralColorsType> =>\n ({\n NEUTRAL_BASIC: 'neutral-basic',\n NEUTRAL_SUBTLE: 'neutral-subtle',\n }) as Record<string, BackgroundNeutralColorsType>;\n\nexport const getAccentColorNames = () => Object.keys(accentColors) as AccentColorNamesType[];\nexport const getEmotionColorNames = () => Object.keys(emotionColors) as EmotionColorNamesType[];\nexport const getTextColorNames = () => Object.keys(textColors) as TextColorsDictionaryType[];\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n\nexport const compose = (...functions: any[]) =>\n functions.reduceRight(\n (prevFunction: any, nextFunction: any) =>\n (...args: any[]) =>\n nextFunction(prevFunction(...args)),\n (value: unknown) => value,\n );\n","export const debounce = <T>(callback: (props: T) => void, delay: number) => {\n let timeout: NodeJS.Timeout;\n let isThrottled = false;\n\n return (args: T): void => {\n if (!isThrottled) {\n isThrottled = true;\n\n if (timeout) {\n clearTimeout(timeout);\n }\n\n timeout = setTimeout(() => {\n callback(args);\n isThrottled = false;\n }, delay);\n }\n };\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Doctype = exports.CDATA = exports.Tag = exports.Style = exports.Script = exports.Comment = exports.Directive = exports.Text = exports.Root = exports.isTag = exports.ElementType = void 0;\n/** Types of elements found in htmlparser2's DOM */\nvar ElementType;\n(function (ElementType) {\n /** Type for the root element of a document */\n ElementType[\"Root\"] = \"root\";\n /** Type for Text */\n ElementType[\"Text\"] = \"text\";\n /** Type for <? ... ?> */\n ElementType[\"Directive\"] = \"directive\";\n /** Type for <!-- ... --> */\n ElementType[\"Comment\"] = \"comment\";\n /** Type for <script> tags */\n ElementType[\"Script\"] = \"script\";\n /** Type for <style> tags */\n ElementType[\"Style\"] = \"style\";\n /** Type for Any tag */\n ElementType[\"Tag\"] = \"tag\";\n /** Type for <![CDATA[ ... ]]> */\n ElementType[\"CDATA\"] = \"cdata\";\n /** Type for <!doctype ...> */\n ElementType[\"Doctype\"] = \"doctype\";\n})(ElementType = exports.ElementType || (exports.ElementType = {}));\n/**\n * Tests whether an element is a tag or not.\n *\n * @param elem Element to test\n */\nfunction isTag(elem) {\n return (elem.type === ElementType.Tag ||\n elem.type === ElementType.Script ||\n elem.type === ElementType.Style);\n}\nexports.isTag = isTag;\n// Exports for backwards compatibility\n/** Type for the root element of a document */\nexports.Root = ElementType.Root;\n/** Type for Text */\nexports.Text = ElementType.Text;\n/** Type for <? ... ?> */\nexports.Directive = ElementType.Directive;\n/** Type for <!-- ... --> */\nexports.Comment = ElementType.Comment;\n/** Type for <script> tags */\nexports.Script = ElementType.Script;\n/** Type for <style> tags */\nexports.Style = ElementType.Style;\n/** Type for Any tag */\nexports.Tag = ElementType.Tag;\n/** Type for <![CDATA[ ... ]]> */\nexports.CDATA = ElementType.CDATA;\n/** Type for <!doctype ...> */\nexports.Doctype = ElementType.Doctype;\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.cloneNode = exports.hasChildren = exports.isDocument = exports.isDirective = exports.isComment = exports.isText = exports.isCDATA = exports.isTag = exports.Element = exports.Document = exports.CDATA = exports.NodeWithChildren = exports.ProcessingInstruction = exports.Comment = exports.Text = exports.DataNode = exports.Node = void 0;\nvar domelementtype_1 = require(\"domelementtype\");\n/**\n * This object will be used as the prototype for Nodes when creating a\n * DOM-Level-1-compliant structure.\n */\nvar Node = /** @class */ (function () {\n function Node() {\n /** Parent of the node */\n this.parent = null;\n /** Previous sibling */\n this.prev = null;\n /** Next sibling */\n this.next = null;\n /** The start index of the node. Requires `withStartIndices` on the handler to be `true. */\n this.startIndex = null;\n /** The end index of the node. Requires `withEndIndices` on the handler to be `true. */\n this.endIndex = null;\n }\n Object.defineProperty(Node.prototype, \"parentNode\", {\n // Read-write aliases for properties\n /**\n * Same as {@link parent}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.parent;\n },\n set: function (parent) {\n this.parent = parent;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Node.prototype, \"previousSibling\", {\n /**\n * Same as {@link prev}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.prev;\n },\n set: function (prev) {\n this.prev = prev;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Node.prototype, \"nextSibling\", {\n /**\n * Same as {@link next}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.next;\n },\n set: function (next) {\n this.next = next;\n },\n enumerable: false,\n configurable: true\n });\n /**\n * Clone this node, and optionally its children.\n *\n * @param recursive Clone child nodes as well.\n * @returns A clone of the node.\n */\n Node.prototype.cloneNode = function (recursive) {\n if (recursive === void 0) { recursive = false; }\n return cloneNode(this, recursive);\n };\n return Node;\n}());\nexports.Node = Node;\n/**\n * A node that contains some data.\n */\nvar DataNode = /** @class */ (function (_super) {\n __extends(DataNode, _super);\n /**\n * @param data The content of the data node\n */\n function DataNode(data) {\n var _this = _super.call(this) || this;\n _this.data = data;\n return _this;\n }\n Object.defineProperty(DataNode.prototype, \"nodeValue\", {\n /**\n * Same as {@link data}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.data;\n },\n set: function (data) {\n this.data = data;\n },\n enumerable: false,\n configurable: true\n });\n return DataNode;\n}(Node));\nexports.DataNode = DataNode;\n/**\n * Text within the document.\n */\nvar Text = /** @class */ (function (_super) {\n __extends(Text, _super);\n function Text() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = domelementtype_1.ElementType.Text;\n return _this;\n }\n Object.defineProperty(Text.prototype, \"nodeType\", {\n get: function () {\n return 3;\n },\n enumerable: false,\n configurable: true\n });\n return Text;\n}(DataNode));\nexports.Text = Text;\n/**\n * Comments within the document.\n */\nvar Comment = /** @class */ (function (_super) {\n __extends(Comment, _super);\n function Comment() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = domelementtype_1.ElementType.Comment;\n return _this;\n }\n Object.defineProperty(Comment.prototype, \"nodeType\", {\n get: function () {\n return 8;\n },\n enumerable: false,\n configurable: true\n });\n return Comment;\n}(DataNode));\nexports.Comment = Comment;\n/**\n * Processing instructions, including doc types.\n */\nvar ProcessingInstruction = /** @class */ (function (_super) {\n __extends(ProcessingInstruction, _super);\n function ProcessingInstruction(name, data) {\n var _this = _super.call(this, data) || this;\n _this.name = name;\n _this.type = domelementtype_1.ElementType.Directive;\n return _this;\n }\n Object.defineProperty(ProcessingInstruction.prototype, \"nodeType\", {\n get: function () {\n return 1;\n },\n enumerable: false,\n configurable: true\n });\n return ProcessingInstruction;\n}(DataNode));\nexports.ProcessingInstruction = ProcessingInstruction;\n/**\n * A `Node` that can have children.\n */\nvar NodeWithChildren = /** @class */ (function (_super) {\n __extends(NodeWithChildren, _super);\n /**\n * @param children Children of the node. Only certain node types can have children.\n */\n function NodeWithChildren(children) {\n var _this = _super.call(this) || this;\n _this.children = children;\n return _this;\n }\n Object.defineProperty(NodeWithChildren.prototype, \"firstChild\", {\n // Aliases\n /** First child of the node. */\n get: function () {\n var _a;\n return (_a = this.children[0]) !== null && _a !== void 0 ? _a : null;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(NodeWithChildren.prototype, \"lastChild\", {\n /** Last child of the node. */\n get: function () {\n return this.children.length > 0\n ? this.children[this.children.length - 1]\n : null;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(NodeWithChildren.prototype, \"childNodes\", {\n /**\n * Same as {@link children}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.children;\n },\n set: function (children) {\n this.children = children;\n },\n enumerable: false,\n configurable: true\n });\n return NodeWithChildren;\n}(Node));\nexports.NodeWithChildren = NodeWithChildren;\nvar CDATA = /** @class */ (function (_super) {\n __extends(CDATA, _super);\n function CDATA() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = domelementtype_1.ElementType.CDATA;\n return _this;\n }\n Object.defineProperty(CDATA.prototype, \"nodeType\", {\n get: function () {\n return 4;\n },\n enumerable: false,\n configurable: true\n });\n return CDATA;\n}(NodeWithChildren));\nexports.CDATA = CDATA;\n/**\n * The root node of the document.\n */\nvar Document = /** @class */ (function (_super) {\n __extends(Document, _super);\n function Document() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = domelementtype_1.ElementType.Root;\n return _this;\n }\n Object.defineProperty(Document.prototype, \"nodeType\", {\n get: function () {\n return 9;\n },\n enumerable: false,\n configurable: true\n });\n return Document;\n}(NodeWithChildren));\nexports.Document = Document;\n/**\n * An element within the DOM.\n */\nvar Element = /** @class */ (function (_super) {\n __extends(Element, _super);\n /**\n * @param name Name of the tag, eg. `div`, `span`.\n * @param attribs Object mapping attribute names to attribute values.\n * @param children Children of the node.\n */\n function Element(name, attribs, children, type) {\n if (children === void 0) { children = []; }\n if (type === void 0) { type = name === \"script\"\n ? domelementtype_1.ElementType.Script\n : name === \"style\"\n ? domelementtype_1.ElementType.Style\n : domelementtype_1.ElementType.Tag; }\n var _this = _super.call(this, children) || this;\n _this.name = name;\n _this.attribs = attribs;\n _this.type = type;\n return _this;\n }\n Object.defineProperty(Element.prototype, \"nodeType\", {\n get: function () {\n return 1;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Element.prototype, \"tagName\", {\n // DOM Level 1 aliases\n /**\n * Same as {@link name}.\n * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.\n */\n get: function () {\n return this.name;\n },\n set: function (name) {\n this.name = name;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(Element.prototype, \"attributes\", {\n get: function () {\n var _this = this;\n return Object.keys(this.attribs).map(function (name) {\n var _a, _b;\n return ({\n name: name,\n value: _this.attribs[name],\n namespace: (_a = _this[\"x-attribsNamespace\"]) === null || _a === void 0 ? void 0 : _a[name],\n prefix: (_b = _this[\"x-attribsPrefix\"]) === null || _b === void 0 ? void 0 : _b[name],\n });\n });\n },\n enumerable: false,\n configurable: true\n });\n return Element;\n}(NodeWithChildren));\nexports.Element = Element;\n/**\n * @param node Node to check.\n * @returns `true` if the node is a `Element`, `false` otherwise.\n */\nfunction isTag(node) {\n return (0, domelementtype_1.isTag)(node);\n}\nexports.isTag = isTag;\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `CDATA`, `false` otherwise.\n */\nfunction isCDATA(node) {\n return node.type === domelementtype_1.ElementType.CDATA;\n}\nexports.isCDATA = isCDATA;\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `Text`, `false` otherwise.\n */\nfunction isText(node) {\n return node.type === domelementtype_1.ElementType.Text;\n}\nexports.isText = isText;\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `Comment`, `false` otherwise.\n */\nfunction isComment(node) {\n return node.type === domelementtype_1.ElementType.Comment;\n}\nexports.isComment = isComment;\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise.\n */\nfunction isDirective(node) {\n return node.type === domelementtype_1.ElementType.Directive;\n}\nexports.isDirective = isDirective;\n/**\n * @param node Node to check.\n * @returns `true` if the node has the type `ProcessingInstruction`, `false` otherwise.\n */\nfunction isDocument(node) {\n return node.type === domelementtype_1.ElementType.Root;\n}\nexports.isDocument = isDocument;\n/**\n * @param node Node to check.\n * @returns `true` if the node has children, `false` otherwise.\n */\nfunction hasChildren(node) {\n return Object.prototype.hasOwnProperty.call(node, \"children\");\n}\nexports.hasChildren = hasChildren;\n/**\n * Clone a node, and optionally its children.\n *\n * @param recursive Clone child nodes as well.\n * @returns A clone of the node.\n */\nfunction cloneNode(node, recursive) {\n if (recursive === void 0) { recursive = false; }\n var result;\n if (isText(node)) {\n result = new Text(node.data);\n }\n else if (isComment(node)) {\n result = new Comment(node.data);\n }\n else if (isTag(node)) {\n var children = recursive ? cloneChildren(node.children) : [];\n var clone_1 = new Element(node.name, __assign({}, node.attribs), children);\n children.forEach(function (child) { return (child.parent = clone_1); });\n if (node.namespace != null) {\n clone_1.namespace = node.namespace;\n }\n if (node[\"x-attribsNamespace\"]) {\n clone_1[\"x-attribsNamespace\"] = __assign({}, node[\"x-attribsNamespace\"]);\n }\n if (node[\"x-attribsPrefix\"]) {\n clone_1[\"x-attribsPrefix\"] = __assign({}, node[\"x-attribsPrefix\"]);\n }\n result = clone_1;\n }\n else if (isCDATA(node)) {\n var children = recursive ? cloneChildren(node.children) : [];\n var clone_2 = new CDATA(children);\n children.forEach(function (child) { return (child.parent = clone_2); });\n result = clone_2;\n }\n else if (isDocument(node)) {\n var children = recursive ? cloneChildren(node.children) : [];\n var clone_3 = new Document(children);\n children.forEach(function (child) { return (child.parent = clone_3); });\n if (node[\"x-mode\"]) {\n clone_3[\"x-mode\"] = node[\"x-mode\"];\n }\n result = clone_3;\n }\n else if (isDirective(node)) {\n var instruction = new ProcessingInstruction(node.name, node.data);\n if (node[\"x-name\"] != null) {\n instruction[\"x-name\"] = node[\"x-name\"];\n instruction[\"x-publicId\"] = node[\"x-publicId\"];\n instruction[\"x-systemId\"] = node[\"x-systemId\"];\n }\n result = instruction;\n }\n else {\n throw new Error(\"Not implemented yet: \".concat(node.type));\n }\n result.startIndex = node.startIndex;\n result.endIndex = node.endIndex;\n if (node.sourceCodeLocation != null) {\n result.sourceCodeLocation = node.sourceCodeLocation;\n }\n return result;\n}\nexports.cloneNode = cloneNode;\nfunction cloneChildren(childs) {\n var children = childs.map(function (child) { return cloneNode(child, true); });\n for (var i = 1; i < children.length; i++) {\n children[i].prev = children[i - 1];\n children[i - 1].next = children[i];\n }\n return children;\n}\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DomHandler = void 0;\nvar domelementtype_1 = require(\"domelementtype\");\nvar node_js_1 = require(\"./node.js\");\n__exportStar(require(\"./node.js\"), exports);\n// Default options\nvar defaultOpts = {\n withStartIndices: false,\n withEndIndices: false,\n xmlMode: false,\n};\nvar DomHandler = /** @class */ (function () {\n /**\n * @param callback Called once parsing has completed.\n * @param options Settings for the handler.\n * @param elementCB Callback whenever a tag is closed.\n */\n function DomHandler(callback, options, elementCB) {\n /** The elements of the DOM */\n this.dom = [];\n /** The root element for the DOM */\n this.root = new node_js_1.Document(this.dom);\n /** Indicated whether parsing has been completed. */\n this.done = false;\n /** Stack of open tags. */\n this.tagStack = [this.root];\n /** A data node that is still being written to. */\n this.lastNode = null;\n /** Reference to the parser instance. Used for location information. */\n this.parser = null;\n // Make it possible to skip arguments, for backwards-compatibility\n if (typeof options === \"function\") {\n elementCB = options;\n options = defaultOpts;\n }\n if (typeof callback === \"object\") {\n options = callback;\n callback = undefined;\n }\n this.callback = callback !== null && callback !== void 0 ? callback : null;\n this.options = options !== null && options !== void 0 ? options : defaultOpts;\n this.elementCB = elementCB !== null && elementCB !== void 0 ? elementCB : null;\n }\n DomHandler.prototype.onparserinit = function (parser) {\n this.parser = parser;\n };\n // Resets the handler back to starting state\n DomHandler.prototype.onreset = function () {\n this.dom = [];\n this.root = new node_js_1.Document(this.dom);\n this.done = false;\n this.tagStack = [this.root];\n this.lastNode = null;\n this.parser = null;\n };\n // Signals the handler that parsing is done\n DomHandler.prototype.onend = function () {\n if (this.done)\n return;\n this.done = true;\n this.parser = null;\n this.handleCallback(null);\n };\n DomHandler.prototype.onerror = function (error) {\n this.handleCallback(error);\n };\n DomHandler.prototype.onclosetag = function () {\n this.lastNode = null;\n var elem = this.tagStack.pop();\n if (this.options.withEndIndices) {\n elem.endIndex = this.parser.endIndex;\n }\n if (this.elementCB)\n this.elementCB(elem);\n };\n DomHandler.prototype.onopentag = function (name, attribs) {\n var type = this.options.xmlMode ? domelementtype_1.ElementType.Tag : undefined;\n var element = new node_js_1.Element(name, attribs, undefined, type);\n this.addNode(element);\n this.tagStack.push(element);\n };\n DomHandler.prototype.ontext = function (data) {\n var lastNode = this.lastNode;\n if (lastNode && lastNode.type === domelementtype_1.ElementType.Text) {\n lastNode.data += data;\n if (this.options.withEndIndices) {\n lastNode.endIndex = this.parser.endIndex;\n }\n }\n else {\n var node = new node_js_1.Text(data);\n this.addNode(node);\n this.lastNode = node;\n }\n };\n DomHandler.prototype.oncomment = function (data) {\n if (this.lastNode && this.lastNode.type === domelementtype_1.ElementType.Comment) {\n this.lastNode.data += data;\n return;\n }\n var node = new node_js_1.Comment(data);\n this.addNode(node);\n this.lastNode = node;\n };\n DomHandler.prototype.oncommentend = function () {\n this.lastNode = null;\n };\n DomHandler.prototype.oncdatastart = function () {\n var text = new node_js_1.Text(\"\");\n var node = new node_js_1.CDATA([text]);\n this.addNode(node);\n text.parent = node;\n this.lastNode = text;\n };\n DomHandler.prototype.oncdataend = function () {\n this.lastNode = null;\n };\n DomHandler.prototype.onprocessinginstruction = function (name, data) {\n var node = new node_js_1.ProcessingInstruction(name, data);\n this.addNode(node);\n };\n DomHandler.prototype.handleCallback = function (error) {\n if (typeof this.callback === \"function\") {\n this.callback(error, this.dom);\n }\n else if (error) {\n throw error;\n }\n };\n DomHandler.prototype.addNode = function (node) {\n var parent = this.tagStack[this.tagStack.length - 1];\n var previousSibling = parent.children[parent.children.length - 1];\n if (this.options.withStartIndices) {\n node.startIndex = this.parser.startIndex;\n }\n if (this.options.withEndIndices) {\n node.endIndex = this.parser.endIndex;\n }\n parent.children.push(node);\n if (previousSibling) {\n node.prev = previousSibling;\n previousSibling.next = node;\n }\n node.parent = parent;\n this.lastNode = null;\n };\n return DomHandler;\n}());\nexports.DomHandler = DomHandler;\nexports.default = DomHandler;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.formatAttributes = formatAttributes;\nexports.escapeSpecialCharacters = escapeSpecialCharacters;\nexports.revertEscapedCharacters = revertEscapedCharacters;\nexports.formatDOM = formatDOM;\nvar domhandler_1 = require(\"domhandler\");\nvar constants_1 = require(\"./constants\");\n/**\n * Gets case-sensitive tag name.\n *\n * @param tagName - Tag name in lowercase.\n * @returns - Case-sensitive tag name.\n */\nfunction getCaseSensitiveTagName(tagName) {\n return constants_1.CASE_SENSITIVE_TAG_NAMES_MAP[tagName];\n}\n/**\n * Formats DOM attributes to a hash map.\n *\n * @param attributes - List of attributes.\n * @returns - Map of attribute name to value.\n */\nfunction formatAttributes(attributes) {\n var map = {};\n var index = 0;\n var attributesLength = attributes.length;\n // `NamedNodeMap` is array-like\n for (; index < attributesLength; index++) {\n var attribute = attributes[index];\n map[attribute.name] = attribute.value;\n }\n return map;\n}\n/**\n * Corrects the tag name if it is case-sensitive (SVG).\n * Otherwise, returns the lowercase tag name (HTML).\n *\n * @param tagName - Lowercase tag name.\n * @returns - Formatted tag name.\n */\nfunction formatTagName(tagName) {\n tagName = tagName.toLowerCase();\n var caseSensitiveTagName = getCaseSensitiveTagName(tagName);\n if (caseSensitiveTagName) {\n return caseSensitiveTagName;\n }\n return tagName;\n}\n/**\n * Escapes special characters before parsing.\n *\n * @param html - The HTML string.\n * @returns - HTML string with escaped special characters.\n */\nfunction escapeSpecialCharacters(html) {\n return html.replace(constants_1.CARRIAGE_RETURN_REGEX, constants_1.CARRIAGE_RETURN_PLACEHOLDER);\n}\n/**\n * Reverts escaped special characters back to actual characters.\n *\n * @param text - The text with escaped characters.\n * @returns - Text with escaped characters reverted.\n */\nfunction revertEscapedCharacters(text) {\n return text.replace(constants_1.CARRIAGE_RETURN_PLACEHOLDER_REGEX, constants_1.CARRIAGE_RETURN);\n}\n/**\n * Transforms DOM nodes to `domhandler` nodes.\n *\n * @param nodes - DOM nodes.\n * @param parent - Parent node.\n * @param directive - Directive.\n * @returns - Nodes.\n */\nfunction formatDOM(nodes, parent, directive) {\n if (parent === void 0) { parent = null; }\n var domNodes = [];\n var current;\n var index = 0;\n var nodesLength = nodes.length;\n for (; index < nodesLength; index++) {\n var node = nodes[index];\n // set the node data given the type\n switch (node.nodeType) {\n case 1: {\n var tagName = formatTagName(node.nodeName);\n // script, style, or tag\n current = new domhandler_1.Element(tagName, formatAttributes(node.attributes));\n current.children = formatDOM(\n // template children are on content\n tagName === 'template'\n ? node.content.childNodes\n : node.childNodes, current);\n break;\n }\n case 3:\n current = new domhandler_1.Text(revertEscapedCharacters(node.nodeValue));\n break;\n case 8:\n current = new domhandler_1.Comment(node.nodeValue);\n break;\n default:\n continue;\n }\n // set previous node next\n var prev = domNodes[index - 1] || null;\n if (prev) {\n prev.next = current;\n }\n // set properties for current node\n current.parent = parent;\n current.prev = prev;\n current.next = null;\n domNodes.push(current);\n }\n if (directive) {\n current = new domhandler_1.ProcessingInstruction(directive.substring(0, directive.indexOf(' ')).toLowerCase(), directive);\n current.next = domNodes[0] || null;\n current.parent = parent;\n domNodes.unshift(current);\n if (domNodes[1]) {\n domNodes[1].prev = domNodes[0];\n }\n }\n return domNodes;\n}\n//# sourceMappingURL=utilities.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CARRIAGE_RETURN_PLACEHOLDER_REGEX = exports.CARRIAGE_RETURN_PLACEHOLDER = exports.CARRIAGE_RETURN_REGEX = exports.CARRIAGE_RETURN = exports.CASE_SENSITIVE_TAG_NAMES_MAP = exports.CASE_SENSITIVE_TAG_NAMES = void 0;\n/**\n * SVG elements are case-sensitive.\n *\n * @see https://developer.mozilla.org/docs/Web/SVG/Element#svg_elements_a_to_z\n */\nexports.CASE_SENSITIVE_TAG_NAMES = [\n 'animateMotion',\n 'animateTransform',\n 'clipPath',\n 'feBlend',\n 'feColorMatrix',\n 'feComponentTransfer',\n 'feComposite',\n 'feConvolveMatrix',\n 'feDiffuseLighting',\n 'feDisplacementMap',\n 'feDropShadow',\n 'feFlood',\n 'feFuncA',\n 'feFuncB',\n 'feFuncG',\n 'feFuncR',\n 'feGaussianBlur',\n 'feImage',\n 'feMerge',\n 'feMergeNode',\n 'feMorphology',\n 'feOffset',\n 'fePointLight',\n 'feSpecularLighting',\n 'feSpotLight',\n 'feTile',\n 'feTurbulence',\n 'foreignObject',\n 'linearGradient',\n 'radialGradient',\n 'textPath',\n];\nexports.CASE_SENSITIVE_TAG_NAMES_MAP = exports.CASE_SENSITIVE_TAG_NAMES.reduce(function (accumulator, tagName) {\n accumulator[tagName.toLowerCase()] = tagName;\n return accumulator;\n}, {});\nexports.CARRIAGE_RETURN = '\\r';\nexports.CARRIAGE_RETURN_REGEX = new RegExp(exports.CARRIAGE_RETURN, 'g');\nexports.CARRIAGE_RETURN_PLACEHOLDER = \"__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_\".concat(Date.now(), \"__\");\nexports.CARRIAGE_RETURN_PLACEHOLDER_REGEX = new RegExp(exports.CARRIAGE_RETURN_PLACEHOLDER, 'g');\n//# sourceMappingURL=constants.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = HTMLDOMParser;\nvar domparser_1 = __importDefault(require(\"./domparser\"));\nvar utilities_1 = require(\"./utilities\");\nvar DIRECTIVE_REGEX = /<(![a-zA-Z\\s]+)>/; // e.g., <!doctype html>\n/**\n * Parses HTML string to DOM nodes in browser.\n *\n * @param html - HTML markup.\n * @returns - DOM elements.\n */\nfunction HTMLDOMParser(html) {\n if (typeof html !== 'string') {\n throw new TypeError('First argument must be a string');\n }\n if (!html) {\n return [];\n }\n // match directive\n var match = html.match(DIRECTIVE_REGEX);\n var directive = match ? match[1] : undefined;\n return (0, utilities_1.formatDOM)((0, domparser_1.default)(html), null, directive);\n}\n//# sourceMappingURL=html-to-dom.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = domparser;\nvar utilities_1 = require(\"./utilities\");\n// constants\nvar HTML = 'html';\nvar HEAD = 'head';\nvar BODY = 'body';\nvar FIRST_TAG_REGEX = /<([a-zA-Z]+[0-9]?)/; // e.g., <h1>\n// match-all-characters in case of newlines (DOTALL)\nvar HEAD_TAG_REGEX = /<head[^]*>/i;\nvar BODY_TAG_REGEX = /<body[^]*>/i;\n// falls back to `parseFromString` if `createHTMLDocument` cannot be used\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nvar parseFromDocument = function (html, tagName) {\n /* istanbul ignore next */\n throw new Error('This browser does not support `document.implementation.createHTMLDocument`');\n};\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nvar parseFromString = function (html, tagName) {\n /* istanbul ignore next */\n throw new Error('This browser does not support `DOMParser.prototype.parseFromString`');\n};\nvar DOMParser = typeof window === 'object' && window.DOMParser;\n/**\n * DOMParser (performance: slow).\n *\n * @see https://developer.mozilla.org/docs/Web/API/DOMParser#Parsing_an_SVG_or_HTML_document\n */\nif (typeof DOMParser === 'function') {\n var domParser_1 = new DOMParser();\n var mimeType_1 = 'text/html';\n /**\n * Creates an HTML document using `DOMParser.parseFromString`.\n *\n * @param html - The HTML string.\n * @param tagName - The element to render the HTML (with 'body' as fallback).\n * @returns - Document.\n */\n parseFromString = function (html, tagName) {\n if (tagName) {\n /* istanbul ignore next */\n html = \"<\".concat(tagName, \">\").concat(html, \"</\").concat(tagName, \">\");\n }\n return domParser_1.parseFromString(html, mimeType_1);\n };\n parseFromDocument = parseFromString;\n}\n/**\n * DOMImplementation (performance: fair).\n *\n * @see https://developer.mozilla.org/docs/Web/API/DOMImplementation/createHTMLDocument\n */\nif (typeof document === 'object' && document.implementation) {\n var htmlDocument_1 = document.implementation.createHTMLDocument();\n /**\n * Use HTML document created by `document.implementation.createHTMLDocument`.\n *\n * @param html - The HTML string.\n * @param tagName - The element to render the HTML (with 'body' as fallback).\n * @returns - Document\n */\n parseFromDocument = function (html, tagName) {\n if (tagName) {\n var element = htmlDocument_1.documentElement.querySelector(tagName);\n if (element) {\n element.innerHTML = html;\n }\n return htmlDocument_1;\n }\n htmlDocument_1.documentElement.innerHTML = html;\n return htmlDocument_1;\n };\n}\n/**\n * Template (performance: fast).\n *\n * @see https://developer.mozilla.org/docs/Web/HTML/Element/template\n */\nvar template = typeof document === 'object' && document.createElement('template');\nvar parseFromTemplate;\nif (template && template.content) {\n /**\n * Uses a template element (content fragment) to parse HTML.\n *\n * @param html - HTML string.\n * @returns - Nodes.\n */\n parseFromTemplate = function (html) {\n template.innerHTML = html;\n return template.content.childNodes;\n };\n}\n/**\n * Parses HTML string to DOM nodes.\n *\n * @param html - HTML markup.\n * @returns - DOM nodes.\n */\nfunction domparser(html) {\n var _a, _b;\n // Escape special characters before parsing\n html = (0, utilities_1.escapeSpecialCharacters)(html);\n var match = html.match(FIRST_TAG_REGEX);\n var firstTagName = match && match[1] ? match[1].toLowerCase() : '';\n switch (firstTagName) {\n case HTML: {\n var doc = parseFromString(html);\n // the created document may come with filler head/body elements,\n // so make sure to remove them if they don't actually exist\n if (!HEAD_TAG_REGEX.test(html)) {\n var element = doc.querySelector(HEAD);\n (_a = element === null || element === void 0 ? void 0 : element.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(element);\n }\n if (!BODY_TAG_REGEX.test(html)) {\n var element = doc.querySelector(BODY);\n (_b = element === null || element === void 0 ? void 0 : element.parentNode) === null || _b === void 0 ? void 0 : _b.removeChild(element);\n }\n return doc.querySelectorAll(HTML);\n }\n case HEAD:\n case BODY: {\n var elements = parseFromDocument(html).querySelectorAll(firstTagName);\n // if there's a sibling element, then return both elements\n if (BODY_TAG_REGEX.test(html) && HEAD_TAG_REGEX.test(html)) {\n return elements[0].parentNode.childNodes;\n }\n return elements;\n }\n // low-level tag or text\n default: {\n if (parseFromTemplate) {\n return parseFromTemplate(html);\n }\n var element = parseFromDocument(html, BODY).querySelector(BODY);\n return element.childNodes;\n }\n }\n}\n//# sourceMappingURL=domparser.js.map","import ClientParser from '../../lib/client/html-to-dom.js';\n\nexport default ClientParser.default || ClientParser;\n","'use strict';\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n\n\n\n// A reserved attribute.\n// It is handled by React separately and shouldn't be written to the DOM.\nconst RESERVED = 0;\n\n// A simple string attribute.\n// Attributes that aren't in the filter are presumed to have this type.\nconst STRING = 1;\n\n// A string attribute that accepts booleans in React. In HTML, these are called\n// \"enumerated\" attributes with \"true\" and \"false\" as possible values.\n// When true, it should be set to a \"true\" string.\n// When false, it should be set to a \"false\" string.\nconst BOOLEANISH_STRING = 2;\n\n// A real boolean attribute.\n// When true, it should be present (set either to an empty string or its name).\n// When false, it should be omitted.\nconst BOOLEAN = 3;\n\n// An attribute that can be used as a flag as well as with a value.\n// When true, it should be present (set either to an empty string or its name).\n// When false, it should be omitted.\n// For any other value, should be present with that value.\nconst OVERLOADED_BOOLEAN = 4;\n\n// An attribute that must be numeric or parse as a numeric.\n// When falsy, it should be removed.\nconst NUMERIC = 5;\n\n// An attribute that must be positive numeric or parse as a positive numeric.\n// When falsy, it should be removed.\nconst POSITIVE_NUMERIC = 6;\n\nfunction getPropertyInfo(name) {\n return properties.hasOwnProperty(name) ? properties[name] : null;\n}\n\nfunction PropertyInfoRecord(\n name,\n type,\n mustUseProperty,\n attributeName,\n attributeNamespace,\n sanitizeURL,\n removeEmptyString,\n) {\n this.acceptsBooleans =\n type === BOOLEANISH_STRING ||\n type === BOOLEAN ||\n type === OVERLOADED_BOOLEAN;\n this.attributeName = attributeName;\n this.attributeNamespace = attributeNamespace;\n this.mustUseProperty = mustUseProperty;\n this.propertyName = name;\n this.type = type;\n this.sanitizeURL = sanitizeURL;\n this.removeEmptyString = removeEmptyString;\n}\n\n// When adding attributes to this list, be sure to also add them to\n// the `possibleStandardNames` module to ensure casing and incorrect\n// name warnings.\nconst properties = {};\n\n// These props are reserved by React. They shouldn't be written to the DOM.\nconst reservedProps = [\n 'children',\n 'dangerouslySetInnerHTML',\n // TODO: This prevents the assignment of defaultValue to regular\n // elements (not just inputs). Now that ReactDOMInput assigns to the\n // defaultValue property -- do we need this?\n 'defaultValue',\n 'defaultChecked',\n 'innerHTML',\n 'suppressContentEditableWarning',\n 'suppressHydrationWarning',\n 'style',\n];\n\nreservedProps.forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n RESERVED,\n false, // mustUseProperty\n name, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// A few React string attributes have a different name.\n// This is a mapping from React prop names to the attribute names.\n[\n ['acceptCharset', 'accept-charset'],\n ['className', 'class'],\n ['htmlFor', 'for'],\n ['httpEquiv', 'http-equiv'],\n].forEach(([name, attributeName]) => {\n properties[name] = new PropertyInfoRecord(\n name,\n STRING,\n false, // mustUseProperty\n attributeName, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These are \"enumerated\" HTML attributes that accept \"true\" and \"false\".\n// In React, we let users pass `true` and `false` even though technically\n// these aren't boolean attributes (they are coerced to strings).\n['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n BOOLEANISH_STRING,\n false, // mustUseProperty\n name.toLowerCase(), // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These are \"enumerated\" SVG attributes that accept \"true\" and \"false\".\n// In React, we let users pass `true` and `false` even though technically\n// these aren't boolean attributes (they are coerced to strings).\n// Since these are SVG attributes, their attribute names are case-sensitive.\n[\n 'autoReverse',\n 'externalResourcesRequired',\n 'focusable',\n 'preserveAlpha',\n].forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n BOOLEANISH_STRING,\n false, // mustUseProperty\n name, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These are HTML boolean attributes.\n[\n 'allowFullScreen',\n 'async',\n // Note: there is a special case that prevents it from being written to the DOM\n // on the client side because the browsers are inconsistent. Instead we call focus().\n 'autoFocus',\n 'autoPlay',\n 'controls',\n 'default',\n 'defer',\n 'disabled',\n 'disablePictureInPicture',\n 'disableRemotePlayback',\n 'formNoValidate',\n 'hidden',\n 'loop',\n 'noModule',\n 'noValidate',\n 'open',\n 'playsInline',\n 'readOnly',\n 'required',\n 'reversed',\n 'scoped',\n 'seamless',\n // Microdata\n 'itemScope',\n].forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n BOOLEAN,\n false, // mustUseProperty\n name.toLowerCase(), // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These are the few React props that we set as DOM properties\n// rather than attributes. These are all booleans.\n[\n 'checked',\n // Note: `option.selected` is not updated if `select.multiple` is\n // disabled with `removeAttribute`. We have special logic for handling this.\n 'multiple',\n 'muted',\n 'selected',\n\n // NOTE: if you add a camelCased prop to this list,\n // you'll need to set attributeName to name.toLowerCase()\n // instead in the assignment below.\n].forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n BOOLEAN,\n true, // mustUseProperty\n name, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These are HTML attributes that are \"overloaded booleans\": they behave like\n// booleans, but can also accept a string value.\n[\n 'capture',\n 'download',\n\n // NOTE: if you add a camelCased prop to this list,\n // you'll need to set attributeName to name.toLowerCase()\n // instead in the assignment below.\n].forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n OVERLOADED_BOOLEAN,\n false, // mustUseProperty\n name, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These are HTML attributes that must be positive numbers.\n[\n 'cols',\n 'rows',\n 'size',\n 'span',\n\n // NOTE: if you add a camelCased prop to this list,\n // you'll need to set attributeName to name.toLowerCase()\n // instead in the assignment below.\n].forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n POSITIVE_NUMERIC,\n false, // mustUseProperty\n name, // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These are HTML attributes that must be numbers.\n['rowSpan', 'start'].forEach(name => {\n properties[name] = new PropertyInfoRecord(\n name,\n NUMERIC,\n false, // mustUseProperty\n name.toLowerCase(), // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\nconst CAMELIZE = /[\\-\\:]([a-z])/g;\nconst capitalize = token => token[1].toUpperCase();\n\n// This is a list of all SVG attributes that need special casing, namespacing,\n// or boolean value assignment. Regular attributes that just accept strings\n// and have the same names are omitted, just like in the HTML attribute filter.\n// Some of these attributes can be hard to find. This list was created by\n// scraping the MDN documentation.\n[\n 'accent-height',\n 'alignment-baseline',\n 'arabic-form',\n 'baseline-shift',\n 'cap-height',\n 'clip-path',\n 'clip-rule',\n 'color-interpolation',\n 'color-interpolation-filters',\n 'color-profile',\n 'color-rendering',\n 'dominant-baseline',\n 'enable-background',\n 'fill-opacity',\n 'fill-rule',\n 'flood-color',\n 'flood-opacity',\n 'font-family',\n 'font-size',\n 'font-size-adjust',\n 'font-stretch',\n 'font-style',\n 'font-variant',\n 'font-weight',\n 'glyph-name',\n 'glyph-orientation-horizontal',\n 'glyph-orientation-vertical',\n 'horiz-adv-x',\n 'horiz-origin-x',\n 'image-rendering',\n 'letter-spacing',\n 'lighting-color',\n 'marker-end',\n 'marker-mid',\n 'marker-start',\n 'overline-position',\n 'overline-thickness',\n 'paint-order',\n 'panose-1',\n 'pointer-events',\n 'rendering-intent',\n 'shape-rendering',\n 'stop-color',\n 'stop-opacity',\n 'strikethrough-position',\n 'strikethrough-thickness',\n 'stroke-dasharray',\n 'stroke-dashoffset',\n 'stroke-linecap',\n 'stroke-linejoin',\n 'stroke-miterlimit',\n 'stroke-opacity',\n 'stroke-width',\n 'text-anchor',\n 'text-decoration',\n 'text-rendering',\n 'underline-position',\n 'underline-thickness',\n 'unicode-bidi',\n 'unicode-range',\n 'units-per-em',\n 'v-alphabetic',\n 'v-hanging',\n 'v-ideographic',\n 'v-mathematical',\n 'vector-effect',\n 'vert-adv-y',\n 'vert-origin-x',\n 'vert-origin-y',\n 'word-spacing',\n 'writing-mode',\n 'xmlns:xlink',\n 'x-height',\n\n // NOTE: if you add a camelCased prop to this list,\n // you'll need to set attributeName to name.toLowerCase()\n // instead in the assignment below.\n].forEach(attributeName => {\n const name = attributeName.replace(CAMELIZE, capitalize);\n properties[name] = new PropertyInfoRecord(\n name,\n STRING,\n false, // mustUseProperty\n attributeName,\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// String SVG attributes with the xlink namespace.\n[\n 'xlink:actuate',\n 'xlink:arcrole',\n 'xlink:role',\n 'xlink:show',\n 'xlink:title',\n 'xlink:type',\n\n // NOTE: if you add a camelCased prop to this list,\n // you'll need to set attributeName to name.toLowerCase()\n // instead in the assignment below.\n].forEach(attributeName => {\n const name = attributeName.replace(CAMELIZE, capitalize);\n properties[name] = new PropertyInfoRecord(\n name,\n STRING,\n false, // mustUseProperty\n attributeName,\n 'http://www.w3.org/1999/xlink',\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// String SVG attributes with the xml namespace.\n[\n 'xml:base',\n 'xml:lang',\n 'xml:space',\n\n // NOTE: if you add a camelCased prop to this list,\n // you'll need to set attributeName to name.toLowerCase()\n // instead in the assignment below.\n].forEach(attributeName => {\n const name = attributeName.replace(CAMELIZE, capitalize);\n properties[name] = new PropertyInfoRecord(\n name,\n STRING,\n false, // mustUseProperty\n attributeName,\n 'http://www.w3.org/XML/1998/namespace',\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These attribute exists both in HTML and SVG.\n// The attribute name is case-sensitive in SVG so we can't just use\n// the React name like we do for attributes that exist only in HTML.\n['tabIndex', 'crossOrigin'].forEach(attributeName => {\n properties[attributeName] = new PropertyInfoRecord(\n attributeName,\n STRING,\n false, // mustUseProperty\n attributeName.toLowerCase(), // attributeName\n null, // attributeNamespace\n false, // sanitizeURL\n false, // removeEmptyString\n );\n});\n\n// These attributes accept URLs. These must not allow javascript: URLS.\n// These will also need to accept Trusted Types object in the future.\nconst xlinkHref = 'xlinkHref';\nproperties[xlinkHref] = new PropertyInfoRecord(\n 'xlinkHref',\n STRING,\n false, // mustUseProperty\n 'xlink:href',\n 'http://www.w3.org/1999/xlink',\n true, // sanitizeURL\n false, // removeEmptyString\n);\n\n['src', 'href', 'action', 'formAction'].forEach(attributeName => {\n properties[attributeName] = new PropertyInfoRecord(\n attributeName,\n STRING,\n false, // mustUseProperty\n attributeName.toLowerCase(), // attributeName\n null, // attributeNamespace\n true, // sanitizeURL\n true, // removeEmptyString\n );\n});\n\n// \nconst {\n CAMELCASE,\n SAME,\n possibleStandardNames: possibleStandardNamesOptimized\n} = require('../lib/possibleStandardNamesOptimized');\n\nconst ATTRIBUTE_NAME_START_CHAR =\n ':A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD';\n\nconst ATTRIBUTE_NAME_CHAR =\n ATTRIBUTE_NAME_START_CHAR + '\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040';\n\n/**\n * Checks whether a property name is a custom attribute.\n *\n * @see https://github.com/facebook/react/blob/15-stable/src/renderers/dom/shared/HTMLDOMPropertyConfig.js#L23-L25\n *\n * @type {(attribute: string) => boolean}\n */\nconst isCustomAttribute =\n RegExp.prototype.test.bind(\n // eslint-disable-next-line no-misleading-character-class\n new RegExp('^(data|aria)-[' + ATTRIBUTE_NAME_CHAR + ']*$')\n );\n\n/**\n * @type {Record<string, string>}\n */\nconst possibleStandardNames = Object.keys(\n possibleStandardNamesOptimized\n).reduce((accumulator, standardName) => {\n const propName = possibleStandardNamesOptimized[standardName];\n if (propName === SAME) {\n accumulator[standardName] = standardName;\n } else if (propName === CAMELCASE) {\n accumulator[standardName.toLowerCase()] = standardName;\n } else {\n accumulator[standardName] = propName;\n }\n return accumulator;\n}, {});\n\nexports.BOOLEAN = BOOLEAN;\nexports.BOOLEANISH_STRING = BOOLEANISH_STRING;\nexports.NUMERIC = NUMERIC;\nexports.OVERLOADED_BOOLEAN = OVERLOADED_BOOLEAN;\nexports.POSITIVE_NUMERIC = POSITIVE_NUMERIC;\nexports.RESERVED = RESERVED;\nexports.STRING = STRING;\nexports.getPropertyInfo = getPropertyInfo;\nexports.isCustomAttribute = isCustomAttribute;\nexports.possibleStandardNames = possibleStandardNames;\n","// An attribute in which the DOM/SVG standard name is the same as the React prop name (e.g., 'accept').\nvar SAME = 0;\nexports.SAME = SAME;\n\n// An attribute in which the React prop name is the camelcased version of the DOM/SVG standard name (e.g., 'acceptCharset').\nvar CAMELCASE = 1;\nexports.CAMELCASE = CAMELCASE;\n\nexports.possibleStandardNames = {\n accept: 0,\n acceptCharset: 1,\n 'accept-charset': 'acceptCharset',\n accessKey: 1,\n action: 0,\n allowFullScreen: 1,\n alt: 0,\n as: 0,\n async: 0,\n autoCapitalize: 1,\n autoComplete: 1,\n autoCorrect: 1,\n autoFocus: 1,\n autoPlay: 1,\n autoSave: 1,\n capture: 0,\n cellPadding: 1,\n cellSpacing: 1,\n challenge: 0,\n charSet: 1,\n checked: 0,\n children: 0,\n cite: 0,\n class: 'className',\n classID: 1,\n className: 1,\n cols: 0,\n colSpan: 1,\n content: 0,\n contentEditable: 1,\n contextMenu: 1,\n controls: 0,\n controlsList: 1,\n coords: 0,\n crossOrigin: 1,\n dangerouslySetInnerHTML: 1,\n data: 0,\n dateTime: 1,\n default: 0,\n defaultChecked: 1,\n defaultValue: 1,\n defer: 0,\n dir: 0,\n disabled: 0,\n disablePictureInPicture: 1,\n disableRemotePlayback: 1,\n download: 0,\n draggable: 0,\n encType: 1,\n enterKeyHint: 1,\n for: 'htmlFor',\n form: 0,\n formMethod: 1,\n formAction: 1,\n formEncType: 1,\n formNoValidate: 1,\n formTarget: 1,\n frameBorder: 1,\n headers: 0,\n height: 0,\n hidden: 0,\n high: 0,\n href: 0,\n hrefLang: 1,\n htmlFor: 1,\n httpEquiv: 1,\n 'http-equiv': 'httpEquiv',\n icon: 0,\n id: 0,\n innerHTML: 1,\n inputMode: 1,\n integrity: 0,\n is: 0,\n itemID: 1,\n itemProp: 1,\n itemRef: 1,\n itemScope: 1,\n itemType: 1,\n keyParams: 1,\n keyType: 1,\n kind: 0,\n label: 0,\n lang: 0,\n list: 0,\n loop: 0,\n low: 0,\n manifest: 0,\n marginWidth: 1,\n marginHeight: 1,\n max: 0,\n maxLength: 1,\n media: 0,\n mediaGroup: 1,\n method: 0,\n min: 0,\n minLength: 1,\n multiple: 0,\n muted: 0,\n name: 0,\n noModule: 1,\n nonce: 0,\n noValidate: 1,\n open: 0,\n optimum: 0,\n pattern: 0,\n placeholder: 0,\n playsInline: 1,\n poster: 0,\n preload: 0,\n profile: 0,\n radioGroup: 1,\n readOnly: 1,\n referrerPolicy: 1,\n rel: 0,\n required: 0,\n reversed: 0,\n role: 0,\n rows: 0,\n rowSpan: 1,\n sandbox: 0,\n scope: 0,\n scoped: 0,\n scrolling: 0,\n seamless: 0,\n selected: 0,\n shape: 0,\n size: 0,\n sizes: 0,\n span: 0,\n spellCheck: 1,\n src: 0,\n srcDoc: 1,\n srcLang: 1,\n srcSet: 1,\n start: 0,\n step: 0,\n style: 0,\n summary: 0,\n tabIndex: 1,\n target: 0,\n title: 0,\n type: 0,\n useMap: 1,\n value: 0,\n width: 0,\n wmode: 0,\n wrap: 0,\n about: 0,\n accentHeight: 1,\n 'accent-height': 'accentHeight',\n accumulate: 0,\n additive: 0,\n alignmentBaseline: 1,\n 'alignment-baseline': 'alignmentBaseline',\n allowReorder: 1,\n alphabetic: 0,\n amplitude: 0,\n arabicForm: 1,\n 'arabic-form': 'arabicForm',\n ascent: 0,\n attributeName: 1,\n attributeType: 1,\n autoReverse: 1,\n azimuth: 0,\n baseFrequency: 1,\n baselineShift: 1,\n 'baseline-shift': 'baselineShift',\n baseProfile: 1,\n bbox: 0,\n begin: 0,\n bias: 0,\n by: 0,\n calcMode: 1,\n capHeight: 1,\n 'cap-height': 'capHeight',\n clip: 0,\n clipPath: 1,\n 'clip-path': 'clipPath',\n clipPathUnits: 1,\n clipRule: 1,\n 'clip-rule': 'clipRule',\n color: 0,\n colorInterpolation: 1,\n 'color-interpolation': 'colorInterpolation',\n colorInterpolationFilters: 1,\n 'color-interpolation-filters': 'colorInterpolationFilters',\n colorProfile: 1,\n 'color-profile': 'colorProfile',\n colorRendering: 1,\n 'color-rendering': 'colorRendering',\n contentScriptType: 1,\n contentStyleType: 1,\n cursor: 0,\n cx: 0,\n cy: 0,\n d: 0,\n datatype: 0,\n decelerate: 0,\n descent: 0,\n diffuseConstant: 1,\n direction: 0,\n display: 0,\n divisor: 0,\n dominantBaseline: 1,\n 'dominant-baseline': 'dominantBaseline',\n dur: 0,\n dx: 0,\n dy: 0,\n edgeMode: 1,\n elevation: 0,\n enableBackground: 1,\n 'enable-background': 'enableBackground',\n end: 0,\n exponent: 0,\n externalResourcesRequired: 1,\n fill: 0,\n fillOpacity: 1,\n 'fill-opacity': 'fillOpacity',\n fillRule: 1,\n 'fill-rule': 'fillRule',\n filter: 0,\n filterRes: 1,\n filterUnits: 1,\n floodOpacity: 1,\n 'flood-opacity': 'floodOpacity',\n floodColor: 1,\n 'flood-color': 'floodColor',\n focusable: 0,\n fontFamily: 1,\n 'font-family': 'fontFamily',\n fontSize: 1,\n 'font-size': 'fontSize',\n fontSizeAdjust: 1,\n 'font-size-adjust': 'fontSizeAdjust',\n fontStretch: 1,\n 'font-stretch': 'fontStretch',\n fontStyle: 1,\n 'font-style': 'fontStyle',\n fontVariant: 1,\n 'font-variant': 'fontVariant',\n fontWeight: 1,\n 'font-weight': 'fontWeight',\n format: 0,\n from: 0,\n fx: 0,\n fy: 0,\n g1: 0,\n g2: 0,\n glyphName: 1,\n 'glyph-name': 'glyphName',\n glyphOrientationHorizontal: 1,\n 'glyph-orientation-horizontal': 'glyphOrientationHorizontal',\n glyphOrientationVertical: 1,\n 'glyph-orientation-vertical': 'glyphOrientationVertical',\n glyphRef: 1,\n gradientTransform: 1,\n gradientUnits: 1,\n hanging: 0,\n horizAdvX: 1,\n 'horiz-adv-x': 'horizAdvX',\n horizOriginX: 1,\n 'horiz-origin-x': 'horizOriginX',\n ideographic: 0,\n imageRendering: 1,\n 'image-rendering': 'imageRendering',\n in2: 0,\n in: 0,\n inlist: 0,\n intercept: 0,\n k1: 0,\n k2: 0,\n k3: 0,\n k4: 0,\n k: 0,\n kernelMatrix: 1,\n kernelUnitLength: 1,\n kerning: 0,\n keyPoints: 1,\n keySplines: 1,\n keyTimes: 1,\n lengthAdjust: 1,\n letterSpacing: 1,\n 'letter-spacing': 'letterSpacing',\n lightingColor: 1,\n 'lighting-color': 'lightingColor',\n limitingConeAngle: 1,\n local: 0,\n markerEnd: 1,\n 'marker-end': 'markerEnd',\n markerHeight: 1,\n markerMid: 1,\n 'marker-mid': 'markerMid',\n markerStart: 1,\n 'marker-start': 'markerStart',\n markerUnits: 1,\n markerWidth: 1,\n mask: 0,\n maskContentUnits: 1,\n maskUnits: 1,\n mathematical: 0,\n mode: 0,\n numOctaves: 1,\n offset: 0,\n opacity: 0,\n operator: 0,\n order: 0,\n orient: 0,\n orientation: 0,\n origin: 0,\n overflow: 0,\n overlinePosition: 1,\n 'overline-position': 'overlinePosition',\n overlineThickness: 1,\n 'overline-thickness': 'overlineThickness',\n paintOrder: 1,\n 'paint-order': 'paintOrder',\n panose1: 0,\n 'panose-1': 'panose1',\n pathLength: 1,\n patternContentUnits: 1,\n patternTransform: 1,\n patternUnits: 1,\n pointerEvents: 1,\n 'pointer-events': 'pointerEvents',\n points: 0,\n pointsAtX: 1,\n pointsAtY: 1,\n pointsAtZ: 1,\n prefix: 0,\n preserveAlpha: 1,\n preserveAspectRatio: 1,\n primitiveUnits: 1,\n property: 0,\n r: 0,\n radius: 0,\n refX: 1,\n refY: 1,\n renderingIntent: 1,\n 'rendering-intent': 'renderingIntent',\n repeatCount: 1,\n repeatDur: 1,\n requiredExtensions: 1,\n requiredFeatures: 1,\n resource: 0,\n restart: 0,\n result: 0,\n results: 0,\n rotate: 0,\n rx: 0,\n ry: 0,\n scale: 0,\n security: 0,\n seed: 0,\n shapeRendering: 1,\n 'shape-rendering': 'shapeRendering',\n slope: 0,\n spacing: 0,\n specularConstant: 1,\n specularExponent: 1,\n speed: 0,\n spreadMethod: 1,\n startOffset: 1,\n stdDeviation: 1,\n stemh: 0,\n stemv: 0,\n stitchTiles: 1,\n stopColor: 1,\n 'stop-color': 'stopColor',\n stopOpacity: 1,\n 'stop-opacity': 'stopOpacity',\n strikethroughPosition: 1,\n 'strikethrough-position': 'strikethroughPosition',\n strikethroughThickness: 1,\n 'strikethrough-thickness': 'strikethroughThickness',\n string: 0,\n stroke: 0,\n strokeDasharray: 1,\n 'stroke-dasharray': 'strokeDasharray',\n strokeDashoffset: 1,\n 'stroke-dashoffset': 'strokeDashoffset',\n strokeLinecap: 1,\n 'stroke-linecap': 'strokeLinecap',\n strokeLinejoin: 1,\n 'stroke-linejoin': 'strokeLinejoin',\n strokeMiterlimit: 1,\n 'stroke-miterlimit': 'strokeMiterlimit',\n strokeWidth: 1,\n 'stroke-width': 'strokeWidth',\n strokeOpacity: 1,\n 'stroke-opacity': 'strokeOpacity',\n suppressContentEditableWarning: 1,\n suppressHydrationWarning: 1,\n surfaceScale: 1,\n systemLanguage: 1,\n tableValues: 1,\n targetX: 1,\n targetY: 1,\n textAnchor: 1,\n 'text-anchor': 'textAnchor',\n textDecoration: 1,\n 'text-decoration': 'textDecoration',\n textLength: 1,\n textRendering: 1,\n 'text-rendering': 'textRendering',\n to: 0,\n transform: 0,\n typeof: 0,\n u1: 0,\n u2: 0,\n underlinePosition: 1,\n 'underline-position': 'underlinePosition',\n underlineThickness: 1,\n 'underline-thickness': 'underlineThickness',\n unicode: 0,\n unicodeBidi: 1,\n 'unicode-bidi': 'unicodeBidi',\n unicodeRange: 1,\n 'unicode-range': 'unicodeRange',\n unitsPerEm: 1,\n 'units-per-em': 'unitsPerEm',\n unselectable: 0,\n vAlphabetic: 1,\n 'v-alphabetic': 'vAlphabetic',\n values: 0,\n vectorEffect: 1,\n 'vector-effect': 'vectorEffect',\n version: 0,\n vertAdvY: 1,\n 'vert-adv-y': 'vertAdvY',\n vertOriginX: 1,\n 'vert-origin-x': 'vertOriginX',\n vertOriginY: 1,\n 'vert-origin-y': 'vertOriginY',\n vHanging: 1,\n 'v-hanging': 'vHanging',\n vIdeographic: 1,\n 'v-ideographic': 'vIdeographic',\n viewBox: 1,\n viewTarget: 1,\n visibility: 0,\n vMathematical: 1,\n 'v-mathematical': 'vMathematical',\n vocab: 0,\n widths: 0,\n wordSpacing: 1,\n 'word-spacing': 'wordSpacing',\n writingMode: 1,\n 'writing-mode': 'writingMode',\n x1: 0,\n x2: 0,\n x: 0,\n xChannelSelector: 1,\n xHeight: 1,\n 'x-height': 'xHeight',\n xlinkActuate: 1,\n 'xlink:actuate': 'xlinkActuate',\n xlinkArcrole: 1,\n 'xlink:arcrole': 'xlinkArcrole',\n xlinkHref: 1,\n 'xlink:href': 'xlinkHref',\n xlinkRole: 1,\n 'xlink:role': 'xlinkRole',\n xlinkShow: 1,\n 'xlink:show': 'xlinkShow',\n xlinkTitle: 1,\n 'xlink:title': 'xlinkTitle',\n xlinkType: 1,\n 'xlink:type': 'xlinkType',\n xmlBase: 1,\n 'xml:base': 'xmlBase',\n xmlLang: 1,\n 'xml:lang': 'xmlLang',\n xmlns: 0,\n 'xml:space': 'xmlSpace',\n xmlnsXlink: 1,\n 'xmlns:xlink': 'xmlnsXlink',\n xmlSpace: 1,\n y1: 0,\n y2: 0,\n y: 0,\n yChannelSelector: 1,\n z: 0,\n zoomAndPan: 1\n};\n","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar inline_style_parser_1 = __importDefault(require(\"inline-style-parser\"));\n/**\n * Parses inline style to object.\n *\n * @param style - Inline style.\n * @param iterator - Iterator.\n * @returns - Style object or null.\n *\n * @example Parsing inline style to object:\n *\n * ```js\n * import parse from 'style-to-object';\n * parse('line-height: 42;'); // { 'line-height': '42' }\n * ```\n */\nfunction StyleToObject(style, iterator) {\n var styleObject = null;\n if (!style || typeof style !== 'string') {\n return styleObject;\n }\n var declarations = (0, inline_style_parser_1.default)(style);\n var hasIterator = typeof iterator === 'function';\n declarations.forEach(function (declaration) {\n if (declaration.type !== 'declaration') {\n return;\n }\n var property = declaration.property, value = declaration.value;\n if (hasIterator) {\n iterator(property, value, declaration);\n }\n else if (value) {\n styleObject = styleObject || {};\n styleObject[property] = value;\n }\n });\n return styleObject;\n}\nexports.default = StyleToObject;\n//# sourceMappingURL=index.js.map","// http://www.w3.org/TR/CSS21/grammar.html\n// https://github.com/visionmedia/css-parse/pull/49#issuecomment-30088027\nvar COMMENT_REGEX = /\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\//g;\n\nvar NEWLINE_REGEX = /\\n/g;\nvar WHITESPACE_REGEX = /^\\s*/;\n\n// declaration\nvar PROPERTY_REGEX = /^(\\*?[-#/*\\\\\\w]+(\\[[0-9a-z_-]+\\])?)\\s*/;\nvar COLON_REGEX = /^:\\s*/;\nvar VALUE_REGEX = /^((?:'(?:\\\\'|.)*?'|\"(?:\\\\\"|.)*?\"|\\([^)]*?\\)|[^};])+)/;\nvar SEMICOLON_REGEX = /^[;\\s]*/;\n\n// https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/Trim#Polyfill\nvar TRIM_REGEX = /^\\s+|\\s+$/g;\n\n// strings\nvar NEWLINE = '\\n';\nvar FORWARD_SLASH = '/';\nvar ASTERISK = '*';\nvar EMPTY_STRING = '';\n\n// types\nvar TYPE_COMMENT = 'comment';\nvar TYPE_DECLARATION = 'declaration';\n\n/**\n * @param {String} style\n * @param {Object} [options]\n * @return {Object[]}\n * @throws {TypeError}\n * @throws {Error}\n */\nmodule.exports = function (style, options) {\n if (typeof style !== 'string') {\n throw new TypeError('First argument must be a string');\n }\n\n if (!style) return [];\n\n options = options || {};\n\n /**\n * Positional.\n */\n var lineno = 1;\n var column = 1;\n\n /**\n * Update lineno and column based on `str`.\n *\n * @param {String} str\n */\n function updatePosition(str) {\n var lines = str.match(NEWLINE_REGEX);\n if (lines) lineno += lines.length;\n var i = str.lastIndexOf(NEWLINE);\n column = ~i ? str.length - i : column + str.length;\n }\n\n /**\n * Mark position and patch `node.position`.\n *\n * @return {Function}\n */\n function position() {\n var start = { line: lineno, column: column };\n return function (node) {\n node.position = new Position(start);\n whitespace();\n return node;\n };\n }\n\n /**\n * Store position information for a node.\n *\n * @constructor\n * @property {Object} start\n * @property {Object} end\n * @property {undefined|String} source\n */\n function Position(start) {\n this.start = start;\n this.end = { line: lineno, column: column };\n this.source = options.source;\n }\n\n /**\n * Non-enumerable source string.\n */\n Position.prototype.content = style;\n\n var errorsList = [];\n\n /**\n * Error `msg`.\n *\n * @param {String} msg\n * @throws {Error}\n */\n function error(msg) {\n var err = new Error(\n options.source + ':' + lineno + ':' + column + ': ' + msg\n );\n err.reason = msg;\n err.filename = options.source;\n err.line = lineno;\n err.column = column;\n err.source = style;\n\n if (options.silent) {\n errorsList.push(err);\n } else {\n throw err;\n }\n }\n\n /**\n * Match `re` and return captures.\n *\n * @param {RegExp} re\n * @return {undefined|Array}\n */\n function match(re) {\n var m = re.exec(style);\n if (!m) return;\n var str = m[0];\n updatePosition(str);\n style = style.slice(str.length);\n return m;\n }\n\n /**\n * Parse whitespace.\n */\n function whitespace() {\n match(WHITESPACE_REGEX);\n }\n\n /**\n * Parse comments.\n *\n * @param {Object[]} [rules]\n * @return {Object[]}\n */\n function comments(rules) {\n var c;\n rules = rules || [];\n while ((c = comment())) {\n if (c !== false) {\n rules.push(c);\n }\n }\n return rules;\n }\n\n /**\n * Parse comment.\n *\n * @return {Object}\n * @throws {Error}\n */\n function comment() {\n var pos = position();\n if (FORWARD_SLASH != style.charAt(0) || ASTERISK != style.charAt(1)) return;\n\n var i = 2;\n while (\n EMPTY_STRING != style.charAt(i) &&\n (ASTERISK != style.charAt(i) || FORWARD_SLASH != style.charAt(i + 1))\n ) {\n ++i;\n }\n i += 2;\n\n if (EMPTY_STRING === style.charAt(i - 1)) {\n return error('End of comment missing');\n }\n\n var str = style.slice(2, i - 2);\n column += 2;\n updatePosition(str);\n style = style.slice(i);\n column += 2;\n\n return pos({\n type: TYPE_COMMENT,\n comment: str\n });\n }\n\n /**\n * Parse declaration.\n *\n * @return {Object}\n * @throws {Error}\n */\n function declaration() {\n var pos = position();\n\n // prop\n var prop = match(PROPERTY_REGEX);\n if (!prop) return;\n comment();\n\n // :\n if (!match(COLON_REGEX)) return error(\"property missing ':'\");\n\n // val\n var val = match(VALUE_REGEX);\n\n var ret = pos({\n type: TYPE_DECLARATION,\n property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)),\n value: val\n ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING))\n : EMPTY_STRING\n });\n\n // ;\n match(SEMICOLON_REGEX);\n\n return ret;\n }\n\n /**\n * Parse declarations.\n *\n * @return {Object[]}\n */\n function declarations() {\n var decls = [];\n\n comments(decls);\n\n // declarations\n var decl;\n while ((decl = declaration())) {\n if (decl !== false) {\n decls.push(decl);\n comments(decls);\n }\n }\n\n return decls;\n }\n\n whitespace();\n return declarations();\n};\n\n/**\n * Trim `str`.\n *\n * @param {String} str\n * @return {String}\n */\nfunction trim(str) {\n return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING;\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.camelCase = void 0;\nvar CUSTOM_PROPERTY_REGEX = /^--[a-zA-Z0-9-]+$/;\nvar HYPHEN_REGEX = /-([a-z])/g;\nvar NO_HYPHEN_REGEX = /^[^-]+$/;\nvar VENDOR_PREFIX_REGEX = /^-(webkit|moz|ms|o|khtml)-/;\nvar MS_VENDOR_PREFIX_REGEX = /^-(ms)-/;\n/**\n * Checks whether to skip camelCase.\n */\nvar skipCamelCase = function (property) {\n return !property ||\n NO_HYPHEN_REGEX.test(property) ||\n CUSTOM_PROPERTY_REGEX.test(property);\n};\n/**\n * Replacer that capitalizes first character.\n */\nvar capitalize = function (match, character) {\n return character.toUpperCase();\n};\n/**\n * Replacer that removes beginning hyphen of vendor prefix property.\n */\nvar trimHyphen = function (match, prefix) { return \"\".concat(prefix, \"-\"); };\n/**\n * CamelCases a CSS property.\n */\nvar camelCase = function (property, options) {\n if (options === void 0) { options = {}; }\n if (skipCamelCase(property)) {\n return property;\n }\n property = property.toLowerCase();\n if (options.reactCompat) {\n // `-ms` vendor prefix should not be capitalized\n property = property.replace(MS_VENDOR_PREFIX_REGEX, trimHyphen);\n }\n else {\n // for non-React, remove first hyphen so vendor prefix is not capitalized\n property = property.replace(VENDOR_PREFIX_REGEX, trimHyphen);\n }\n return property.replace(HYPHEN_REGEX, capitalize);\n};\nexports.camelCase = camelCase;\n//# sourceMappingURL=utilities.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.returnFirstArg = exports.canTextBeChildOfNode = exports.ELEMENTS_WITH_NO_TEXT_CHILDREN = exports.PRESERVE_CUSTOM_ATTRIBUTES = exports.setStyleProp = exports.isCustomComponent = void 0;\nvar react_1 = require(\"react\");\nvar style_to_js_1 = __importDefault(require(\"style-to-js\"));\nvar RESERVED_SVG_MATHML_ELEMENTS = new Set([\n 'annotation-xml',\n 'color-profile',\n 'font-face',\n 'font-face-src',\n 'font-face-uri',\n 'font-face-format',\n 'font-face-name',\n 'missing-glyph',\n]);\n/**\n * Check if a tag is a custom component.\n *\n * @see {@link https://github.com/facebook/react/blob/v16.6.3/packages/react-dom/src/shared/isCustomComponent.js}\n *\n * @param tagName - Tag name.\n * @param props - Props passed to the element.\n * @returns - Whether the tag is custom component.\n */\nfunction isCustomComponent(tagName, props) {\n if (!tagName.includes('-')) {\n return Boolean(props && typeof props.is === 'string');\n }\n // These are reserved SVG and MathML elements.\n // We don't mind this whitelist too much because we expect it to never grow.\n // The alternative is to track the namespace in a few places which is convoluted.\n // https://w3c.github.io/webcomponents/spec/custom/#custom-elements-core-concepts\n if (RESERVED_SVG_MATHML_ELEMENTS.has(tagName)) {\n return false;\n }\n return true;\n}\nexports.isCustomComponent = isCustomComponent;\nvar styleOptions = {\n reactCompat: true,\n};\n/**\n * Sets style prop.\n *\n * @param style - Inline style.\n * @param props - Props object.\n */\nfunction setStyleProp(style, props) {\n if (typeof style !== 'string') {\n return;\n }\n if (!style.trim()) {\n props.style = {};\n return;\n }\n try {\n props.style = (0, style_to_js_1.default)(style, styleOptions);\n }\n catch (error) {\n props.style = {};\n }\n}\nexports.setStyleProp = setStyleProp;\n/**\n * @see https://reactjs.org/blog/2017/09/08/dom-attributes-in-react-16.html\n */\nexports.PRESERVE_CUSTOM_ATTRIBUTES = Number(react_1.version.split('.')[0]) >= 16;\n/**\n * @see https://github.com/facebook/react/blob/cae635054e17a6f107a39d328649137b83f25972/packages/react-dom/src/client/validateDOMNesting.js#L213\n */\nexports.ELEMENTS_WITH_NO_TEXT_CHILDREN = new Set([\n 'tr',\n 'tbody',\n 'thead',\n 'tfoot',\n 'colgroup',\n 'table',\n 'head',\n 'html',\n 'frameset',\n]);\n/**\n * Checks if the given node can contain text nodes\n *\n * @param node - Element node.\n * @returns - Whether the node can contain text nodes.\n */\nvar canTextBeChildOfNode = function (node) {\n return !exports.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(node.name);\n};\nexports.canTextBeChildOfNode = canTextBeChildOfNode;\n/**\n * Returns the first argument as is.\n *\n * @param arg - The argument to be returned.\n * @returns - The input argument `arg`.\n */\nvar returnFirstArg = function (arg) { return arg; };\nexports.returnFirstArg = returnFirstArg;\n//# sourceMappingURL=utilities.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar style_to_object_1 = __importDefault(require(\"style-to-object\"));\nvar utilities_1 = require(\"./utilities\");\n/**\n * Parses CSS inline style to JavaScript object (camelCased).\n */\nfunction StyleToJS(style, options) {\n var output = {};\n if (!style || typeof style !== 'string') {\n return output;\n }\n (0, style_to_object_1.default)(style, function (property, value) {\n // skip CSS comment\n if (property && value) {\n output[(0, utilities_1.camelCase)(property, options)] = value;\n }\n });\n return output;\n}\nexports.default = StyleToJS;\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar react_1 = require(\"react\");\nvar attributes_to_props_1 = __importDefault(require(\"./attributes-to-props\"));\nvar utilities_1 = require(\"./utilities\");\nvar React = {\n cloneElement: react_1.cloneElement,\n createElement: react_1.createElement,\n isValidElement: react_1.isValidElement,\n};\n/**\n * Converts DOM nodes to JSX element(s).\n *\n * @param nodes - DOM nodes.\n * @param options - Options.\n * @returns - String or JSX element(s).\n */\nfunction domToReact(nodes, options) {\n var reactElements = [];\n var hasReplace = typeof (options === null || options === void 0 ? void 0 : options.replace) === 'function';\n var transform = (options === null || options === void 0 ? void 0 : options.transform) || utilities_1.returnFirstArg;\n var _a = (options === null || options === void 0 ? void 0 : options.library) || React, cloneElement = _a.cloneElement, createElement = _a.createElement, isValidElement = _a.isValidElement;\n var nodesLength = nodes.length;\n for (var index = 0; index < nodesLength; index++) {\n var node = nodes[index];\n // replace with custom React element (if present)\n if (hasReplace) {\n var replaceElement = options.replace(node, index);\n if (isValidElement(replaceElement)) {\n // set \"key\" prop for sibling elements\n // https://react.dev/learn/rendering-lists#rules-of-keys\n if (nodesLength > 1) {\n replaceElement = cloneElement(replaceElement, {\n key: replaceElement.key || index,\n });\n }\n reactElements.push(transform(replaceElement, node, index));\n continue;\n }\n }\n if (node.type === 'text') {\n var isWhitespace = !node.data.trim().length;\n // We have a whitespace node that can't be nested in its parent\n // so skip it\n if (isWhitespace &&\n node.parent &&\n !(0, utilities_1.canTextBeChildOfNode)(node.parent)) {\n continue;\n }\n // Trim is enabled and we have a whitespace node\n // so skip it\n if ((options === null || options === void 0 ? void 0 : options.trim) && isWhitespace) {\n continue;\n }\n // We have a text node that's not whitespace and it can be nested\n // in its parent so add it to the results\n reactElements.push(transform(node.data, node, index));\n continue;\n }\n var element = node;\n var props = {};\n if (skipAttributesToProps(element)) {\n (0, utilities_1.setStyleProp)(element.attribs.style, element.attribs);\n props = element.attribs;\n }\n else if (element.attribs) {\n props = (0, attributes_to_props_1.default)(element.attribs, element.name);\n }\n var children = void 0;\n switch (node.type) {\n case 'script':\n case 'style':\n // prevent text in <script> or <style> from being escaped\n // https://react.dev/reference/react-dom/components/common#dangerously-setting-the-inner-html\n if (node.children[0]) {\n props.dangerouslySetInnerHTML = {\n __html: node.children[0].data,\n };\n }\n break;\n case 'tag':\n // setting textarea value in children is an antipattern in React\n // https://react.dev/reference/react-dom/components/textarea#caveats\n if (node.name === 'textarea' && node.children[0]) {\n props.defaultValue = node.children[0].data;\n }\n else if (node.children && node.children.length) {\n // continue recursion of creating React elements (if applicable)\n children = domToReact(node.children, options);\n }\n break;\n // skip all other cases (e.g., comment)\n default:\n continue;\n }\n // set \"key\" prop for sibling elements\n // https://react.dev/learn/rendering-lists#rules-of-keys\n if (nodesLength > 1) {\n props.key = index;\n }\n reactElements.push(transform(createElement(node.name, props, children), node, index));\n }\n return reactElements.length === 1 ? reactElements[0] : reactElements;\n}\nexports.default = domToReact;\n/**\n * Determines whether DOM element attributes should be transformed to props.\n * Web Components should not have their attributes transformed except for `style`.\n *\n * @param node - Element node.\n * @returns - Whether the node attributes should be converted to props.\n */\nfunction skipAttributesToProps(node) {\n return (utilities_1.PRESERVE_CUSTOM_ATTRIBUTES &&\n node.type === 'tag' &&\n (0, utilities_1.isCustomComponent)(node.name, node.attribs));\n}\n//# sourceMappingURL=dom-to-react.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar react_property_1 = require(\"react-property\");\nvar utilities_1 = require(\"./utilities\");\n// https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components\n// https://developer.mozilla.org/docs/Web/HTML/Attributes\nvar UNCONTROLLED_COMPONENT_ATTRIBUTES = ['checked', 'value'];\nvar UNCONTROLLED_COMPONENT_NAMES = ['input', 'select', 'textarea'];\nvar valueOnlyInputs = {\n reset: true,\n submit: true,\n};\n/**\n * Converts HTML/SVG DOM attributes to React props.\n *\n * @param attributes - HTML/SVG DOM attributes.\n * @param nodeName - DOM node name.\n * @returns - React props.\n */\nfunction attributesToProps(attributes, nodeName) {\n if (attributes === void 0) { attributes = {}; }\n var props = {};\n var isInputValueOnly = Boolean(attributes.type && valueOnlyInputs[attributes.type]);\n for (var attributeName in attributes) {\n var attributeValue = attributes[attributeName];\n // ARIA (aria-*) or custom data (data-*) attribute\n if ((0, react_property_1.isCustomAttribute)(attributeName)) {\n props[attributeName] = attributeValue;\n continue;\n }\n // convert HTML/SVG attribute to React prop\n var attributeNameLowerCased = attributeName.toLowerCase();\n var propName = getPropName(attributeNameLowerCased);\n if (propName) {\n var propertyInfo = (0, react_property_1.getPropertyInfo)(propName);\n // convert attribute to uncontrolled component prop (e.g., `value` to `defaultValue`)\n if (UNCONTROLLED_COMPONENT_ATTRIBUTES.includes(propName) &&\n UNCONTROLLED_COMPONENT_NAMES.includes(nodeName) &&\n !isInputValueOnly) {\n propName = getPropName('default' + attributeNameLowerCased);\n }\n props[propName] = attributeValue;\n switch (propertyInfo && propertyInfo.type) {\n case react_property_1.BOOLEAN:\n props[propName] = true;\n break;\n case react_property_1.OVERLOADED_BOOLEAN:\n if (attributeValue === '') {\n props[propName] = true;\n }\n break;\n }\n continue;\n }\n // preserve custom attribute if React >=16\n if (utilities_1.PRESERVE_CUSTOM_ATTRIBUTES) {\n props[attributeName] = attributeValue;\n }\n }\n // transform inline style to object\n (0, utilities_1.setStyleProp)(attributes.style, props);\n return props;\n}\nexports.default = attributesToProps;\n/**\n * Gets prop name from lowercased attribute name.\n *\n * @param attributeName - Lowercased attribute name.\n * @returns - Prop name.\n */\nfunction getPropName(attributeName) {\n return react_property_1.possibleStandardNames[attributeName];\n}\n//# sourceMappingURL=attributes-to-props.js.map","import domToReact from '../lib/dom-to-react.js';\n\nexport default domToReact.default || domToReact;\n","/**\n * This is a workaround for the `html-react-parser` package.\n * The package weirdly exports the default function as `HTMLReactParser` and it is not working in our CJS builds.\n *\n * @see { @link https://github.com/remarkablemark/html-react-parser/issues/1329 }\n */\nimport htmlDomParser from 'html-dom-parser';\nimport domToReactLib from 'html-react-parser/lib/dom-to-react';\n\nexport const htmlReactParser = (html: string): ReturnType<typeof domToReactLib> => {\n if (typeof html !== 'string') {\n throw new TypeError('First argument must be a string');\n }\n\n if (!html) {\n return [];\n }\n\n // support backwards compatibility for ES Module\n // @ts-expect-error Property 'default' does not exists on type -- exactly, we need to check it first\n const htmlToDOM = typeof htmlDomParser.default === 'function' ? htmlDomParser.default : htmlDomParser;\n // @ts-expect-error Property 'default' does not exists on type -- exactly, we need to check it first\n const domToReact = typeof domToReactLib.default === 'function' ? domToReactLib.default : domToReactLib;\n\n return domToReact(htmlToDOM(html));\n};\n","import { type CSSProperties, type ElementType, type HTMLAttributes } from 'react';\nimport { type ElementTypeProp } from '../types';\nimport { type ComponentStaticProps } from '../types/shared/polymorphic';\n\ntype MergedStyleProps = {\n className?: string;\n UNSAFE_className?: string;\n style?: CSSProperties;\n UNSAFE_style?: CSSProperties;\n};\n\ntype StylePropValue =\n | string\n | HTMLAttributes<HTMLElement>\n | {\n className?: string;\n UNSAFE_className?: string;\n style?: CSSProperties;\n UNSAFE_style?: CSSProperties;\n [key: string]: string | CSSProperties | unknown;\n }\n | unknown;\n\ntype StyleProp = Record<string, StylePropValue>;\n\n/**\n * Type guard to check if a component is a Spirit component.\n * Spirit components have the `spiritComponent` static property.\n *\n * @param elementTag - The element type to check\n * @returns {boolean} true if the tag is a Spirit component with ComponentStaticProps\n */\nfunction hasSpiritComponent(elementTag: ElementTypeProp): elementTag is ElementType & ComponentStaticProps {\n return typeof elementTag !== 'string' && elementTag !== null && 'spiritComponent' in (elementTag as object);\n}\n\n/**\n * Merges class names, styles, and CSS variables from the given properties\n * and determines whether to use standard (`className`, `style`) or unsafe\n * (`UNSAFE_className`, `UNSAFE_style`) attributes based on the component type.\n *\n * @param {ElementTypeProp} ElementTag - The React element type, either a string (HTML tag) or a component.\n * @param {StyleProp} styleProps - An object containing potential class names, styles, and CSS variables.\n * @returns {MergedStyleProps} An object containing either `{ className, style }` or `{ UNSAFE_className, UNSAFE_style }`.\n */\nexport function mergeStyleProps(ElementTag: ElementTypeProp, styleProps: StyleProp): MergedStyleProps {\n const isSpiritComponent = hasSpiritComponent(ElementTag);\n\n const isNonNullableObject = (styleProp: StylePropValue): styleProp is StyleProp =>\n typeof styleProp === 'object' && styleProp !== null;\n\n // Extract class names from the given properties\n const extractClassNames = (styleProp: StylePropValue): string[] => {\n if (typeof styleProp === 'string') {\n return [styleProp];\n }\n\n if (isNonNullableObject(styleProp)) {\n return [styleProp.className, styleProp.UNSAFE_className].filter(Boolean) as string[];\n }\n\n return [];\n };\n\n // Extract CSS variables from the given properties\n const extractCssVariables = (styleProp: StylePropValue): Record<string, string> =>\n isNonNullableObject(styleProp)\n ? Object.entries(styleProp)\n .filter(([key]) => key.startsWith('--'))\n .reduce((extractedCssVariable, [key, value]) => ({ ...extractedCssVariable, [key]: value }), {})\n : {};\n\n // Extract styles and CSS variables from the given properties\n const extractCssStylesAndVariables = (cssProperties: CSSProperties, styleProp: StylePropValue) => {\n if (!isNonNullableObject(styleProp)) {\n return cssProperties;\n }\n\n const typedStyleProp = styleProp as { style?: CSSProperties; UNSAFE_style?: CSSProperties };\n const styles = typedStyleProp.style || typedStyleProp.UNSAFE_style || {};\n const cssVariables = extractCssVariables(styleProp);\n\n return { ...cssProperties, ...styles, ...cssVariables };\n };\n\n // Merge class names from all relevant properties\n const mergedClasses = Object.values(styleProps).flatMap(extractClassNames).filter(Boolean).join(' ');\n\n // Merge styles and CSS variables from all relevant properties\n const mergedStyles = Object.values(styleProps)\n .filter(isNonNullableObject)\n .reduce(extractCssStylesAndVariables, {} as CSSProperties);\n\n return isSpiritComponent\n ? { UNSAFE_className: mergedClasses, UNSAFE_style: mergedStyles }\n : { className: mergedClasses, style: mergedStyles };\n}\n","import type { Responsive } from '../types';\n\n/**\n * Checks if a value is a responsive object (has breakpoint keys).\n *\n * @param value - The value to check.\n * @returns {boolean} True if the value is a responsive object, false otherwise.\n */\nexport function isResponsive<T>(value: unknown): value is Responsive<T> {\n return typeof value === 'object' && value !== null && !Array.isArray(value);\n}\n\n/**\n * Generates responsive class names for a component.\n *\n * @param componentClass - The base component class name.\n * @param value - The responsive value or single value.\n * @returns {string[]} Array of class names.\n */\nexport function generateResponsiveClassNames<T extends string>(\n componentClass: string,\n value: T | Responsive<T> | undefined,\n): string[] {\n if (!value) {\n return [];\n }\n\n if (isResponsive(value)) {\n return Object.entries(value)\n .map(([breakpoint, breakpointValue]) => {\n if (breakpointValue === undefined) {\n return '';\n }\n\n if (breakpoint === 'mobile') {\n return `${componentClass}--${breakpointValue}`;\n }\n\n return `${componentClass}--${breakpoint}--${breakpointValue}`;\n })\n .filter((className) => className !== '');\n }\n\n return [`${componentClass}--${value}`];\n}\n","// Helper to detect if running on the server\nexport const isSSR = typeof window === 'undefined';\n","/**\n * Converts a camelCase or PascalCase string to kebab-case.\n *\n * @param {string} input - The camelCase string to be converted.\n * @returns {string} The kebab-case version of the input string.\n */\nexport const camelCaseToKebabCase = (input: string): string =>\n input.replace(/([a-z0-9])([A-Z])/g, '$1-$2').toLowerCase();\n\n/**\n * Converts a kebab-case string to camelCase.\n *\n * @param {string} input - The kebab-case string to be converted.\n * @returns {string} The camelCase version of the input string.\n */\nexport const kebabCaseToCamelCase = (input: string): string => input.replace(/-([a-z])/g, (g) => g[1].toUpperCase());\n\n/**\n * Converts an object with kebab-case string values to camelCase.\n *\n * @param {Record<string, string>} input - The input to be converted.\n * @returns {Record<string, string>} The converted input.\n */\nexport const kebabCaseToCamelCaseValues = (input: Record<string, string>): Record<string, string> => {\n if (typeof input === 'object' && input !== null) {\n const result: Record<string, string> = {};\n for (const [key, value] of Object.entries(input)) {\n result[key] = typeof value === 'string' ? kebabCaseToCamelCase(value) : value;\n }\n\n return result;\n }\n\n return input;\n};\n\n/**\n * Converts a kebab-case string or an object with kebab-case values to camelCase.\n *\n * @param {string | Record<string, string>} input - The input to be converted.\n * @returns {string | Record<string, string>} The converted input.\n */\nexport const stringOrObjectKebabCaseToCamelCase = (\n input: string | Record<string, string>,\n): string | Record<string, string> => {\n if (typeof input === 'string') {\n return kebabCaseToCamelCase(input);\n }\n if (typeof input === 'object' && input !== null) {\n return kebabCaseToCamelCaseValues(input);\n }\n\n return input;\n};\n","export function toPascalCase(str: string): string {\n if (typeof str !== 'string') {\n return str;\n }\n\n return str\n .split('-') // Split the string by hyphen\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1)) // Capitalize the first letter of each word\n .join(''); // Join the words back together without any hyphens\n}\n","import { toPascalCase } from './toPascalCase';\n\ntype Breakpoints = 'mobile' | 'tablet' | 'desktop';\ntype ResponsiveProp = {\n [key in Breakpoints]: string;\n};\ntype StaticProp = string;\n\nexport function generateStaticStylePropsClasses(componentClass: string, property: StaticProp, type?: string): string {\n return `${componentClass}--${type || ''}${type ? toPascalCase(property) : property}`;\n}\n\nexport function generateResponsiveStylePropsClasses(\n componentClass: string,\n property: ResponsiveProp,\n type?: string,\n): string {\n return Object.keys(property)\n .map((key) => {\n const infix = key === 'mobile' ? '' : `--${key}`;\n const responsiveProperty = property[key as Breakpoints];\n\n return `${componentClass}${infix}--${type || ''}${type ? toPascalCase(responsiveProperty) : responsiveProperty}`;\n })\n .join(' ');\n}\n\nfunction isResponsiveProperty<P>(property: P) {\n return property && typeof property === 'object';\n}\n\nexport function generateStylePropsClassNames<P>(componentClass: string, property: P, type?: string): string {\n const generate = isResponsiveProperty<P>(property)\n ? generateResponsiveStylePropsClasses\n : generateStaticStylePropsClasses;\n\n return generate(componentClass, property as unknown as ResponsiveProp & StaticProp, type);\n}\n","import { SpacingStyleProp as DefaultSpacingStyleProp, DisplayStyleProps, ThemeStyleProps } from '../constants';\nimport {\n BREAKPOINT_MOBILE,\n type BreakpointToken,\n type Responsive,\n STYLE_SPACING_AUTO,\n type SpaceToken,\n type StyleProps,\n type StyleSpacingAuto,\n type ThemeNameType,\n} from '../types';\nimport { applyClassNamePrefix, camelCaseToKebabCase, isEmpty } from '../utils';\n\ntype SpacingStyleProp = string | SpaceToken | StyleSpacingAuto;\n\n/** The breakpoint property value. */\ntype BreakpointPropValue = Responsive<SpacingStyleProp>;\n\n/** The nullable string. */\ntype NullableString = string | null | undefined;\n\n/** The prefix for the class name. */\ntype ClassNamePrefix = NullableString;\n\n/** The utility name. */\ntype UtilityName = string;\n\n/** The props shape. */\ntype PropsShape = Record<string, string>;\n\n/** The style utilities result. */\nexport type StyleUtilitiesResult = {\n /** The parsed style utilities. */\n styleUtilities: string[];\n /** The updated props. */\n props: StyleProps;\n};\n\nconst CLASS_SEPARATOR = '-';\n\n/**\n * Normalize the spacing value.\n *\n * @param {string} value - The value to normalize.\n * @returns {string} - Just a number from the value if not `auto.\n */\nconst normalizeSpacingValue = (value: string): string =>\n value === STYLE_SPACING_AUTO ? STYLE_SPACING_AUTO : value.replace(/[^0-9]/g, '');\n\nconst isSpaceToken = (value: unknown): value is SpaceToken => typeof value === 'string' && value.startsWith('space-');\n\nconst getUtilityValue = (value: string): string => (isSpaceToken(value) ? normalizeSpacingValue(value) : value);\n\n/**\n * Check if the key is included in the object.\n *\n * @param {object} object - The object to check in.\n * @param {string} key - The key to find.\n * @returns {boolean} - `true` if the key is included, `false` otherwise.\n */\nconst isKeyIncluded = (object: Record<string, unknown>, key: string): boolean => Object.keys(object).includes(key);\n\nconst processBreakpointProperties = (\n utilityName: UtilityName,\n propValue: BreakpointPropValue,\n prefix: ClassNamePrefix,\n): string[] =>\n Object.keys(propValue).reduce((accumulatedBreakpointUtilities: string[], breakpoint: string) => {\n const breakpointValue = propValue[breakpoint as keyof typeof propValue];\n\n if (typeof breakpointValue === 'string') {\n const utilityValue = getUtilityValue(breakpointValue);\n const infix = breakpoint === BREAKPOINT_MOBILE ? '' : `${CLASS_SEPARATOR}${breakpoint}`;\n accumulatedBreakpointUtilities.push(\n applyClassNamePrefix(prefix)(`${utilityName}${infix}${CLASS_SEPARATOR}${utilityValue}`),\n );\n }\n\n return accumulatedBreakpointUtilities;\n }, []);\n\n/**\n * Process the hideOn property.\n *\n * @param {UtilityName} utilityName - The utility name.\n * @param {BreakpointToken | BreakpointToken[]} propValue - The prop value.\n * @param {ClassNamePrefix} prefix - The prefix.\n * @returns {string[]} - The processed utilities.\n */\nconst processHideOnProperty = (\n utilityName: UtilityName,\n propValue: BreakpointToken | BreakpointToken[],\n prefix: ClassNamePrefix,\n): string[] => {\n const breakpoints = Array.isArray(propValue) ? propValue : [propValue];\n\n return breakpoints.map((breakpoint) =>\n applyClassNamePrefix(prefix)(\n `${utilityName}${CLASS_SEPARATOR}only${CLASS_SEPARATOR}${breakpoint}${CLASS_SEPARATOR}none`,\n ),\n );\n};\n\n/**\n * Process the hideFrom property.\n *\n * @param {UtilityName} utilityName - The utility name.\n * @param {BreakpointToken | BreakpointToken[]} propValue - The prop value.\n * @param {ClassNamePrefix} prefix - The prefix.\n * @returns {string[]} - The processed utilities.\n */\nconst processHideFromProperty = (\n utilityName: UtilityName,\n propValue: BreakpointToken | BreakpointToken[],\n prefix: ClassNamePrefix,\n): string[] => {\n const breakpoint = propValue;\n const infix = breakpoint === BREAKPOINT_MOBILE ? '' : `${CLASS_SEPARATOR}${breakpoint}`;\n\n return [applyClassNamePrefix(prefix)(`${utilityName}${infix}${CLASS_SEPARATOR}none`)];\n};\n\n/**\n * Process the display properties.\n *\n * @param {keyof typeof DisplayStyleProps} utilityKey - The utility key.\n * @param {UtilityName} utilityName - The utility name.\n * @param {BreakpointToken | BreakpointToken[]} propValue - The prop value.\n * @param {ClassNamePrefix} prefix - The prefix.\n * @returns {string[]} - The processed utilities.\n */\nconst processDisplayProperties = (\n utilityKey: keyof typeof DisplayStyleProps,\n utilityName: UtilityName,\n propValue: BreakpointToken | BreakpointToken[],\n prefix: ClassNamePrefix,\n): string[] => {\n switch (utilityKey) {\n case 'hideOn':\n return processHideOnProperty(utilityName, propValue, prefix);\n case 'hideFrom':\n return processHideFromProperty(utilityName, propValue, prefix);\n default:\n return [];\n }\n};\n\n/**\n * Process the properties.\n *\n * @param {keyof typeof DefaultSpacingStyleProp | keyof typeof DisplayStyleProps | keyof typeof ThemeStyleProps} utilityKey - The utility key.\n * @param {UtilityName} utilityName - The utility name.\n * @param {string | BreakpointPropValue | BreakpointToken | BreakpointToken[]} propValue - The prop value.\n * @param {ClassNamePrefix} prefix - The prefix.\n * @returns {string[]} - The processed utilities.\n */\nconst processProperties = (\n utilityKey: keyof typeof DefaultSpacingStyleProp | keyof typeof DisplayStyleProps | keyof typeof ThemeStyleProps,\n utilityName: UtilityName,\n propValue: string | boolean | BreakpointPropValue | BreakpointToken | BreakpointToken[],\n prefix: ClassNamePrefix,\n): string[] => {\n if (utilityName === ThemeStyleProps.theme) {\n if (typeof propValue !== 'string') {\n return [];\n }\n\n const themeClassName = camelCaseToKebabCase(propValue) as ThemeNameType;\n\n return [applyClassNamePrefix(prefix)(themeClassName)];\n }\n\n if (utilityKey in DisplayStyleProps) {\n return processDisplayProperties(\n utilityKey as keyof typeof DisplayStyleProps,\n utilityName,\n propValue as BreakpointToken | BreakpointToken[],\n prefix,\n );\n }\n\n if (typeof propValue === 'boolean') {\n return propValue ? [applyClassNamePrefix(prefix)(utilityName)] : [];\n }\n\n if (typeof propValue === 'string') {\n return [applyClassNamePrefix(prefix)(`${utilityName}-${getUtilityValue(propValue)}`)];\n }\n\n return processBreakpointProperties(utilityName, propValue as BreakpointPropValue, prefix);\n};\n\ntype IsStylePropProcessableOptions = {\n /** The flag to check if the key should be included in the styleProp or not. */\n includesKey?: boolean;\n};\n\n/**\n * Check if a style prop should be processed based on key presence and value emptiness.\n *\n * When `includesKey` is `true` (default): Returns `true` if the key exists in styleProps\n * AND the value is not empty (using `isEmpty()` check for null, undefined, empty strings,\n * empty arrays, empty objects).\n *\n * When `includesKey` is `false`: Returns `true` if the key does NOT exist in styleProps.\n * Used to filter non-style props that should pass through to the component. Skips emptiness\n * checks entirely in this mode.\n *\n * Beware of disabling style props using `undefined` value.\n * Setting the value conditionally in React is not that simple.\n *\n * @example\n * ```diff\n * --- marginBottom={!showTogglerAfterCollapse ? 'space-300' : undefined} // Incorrect\n * +++ {...(!showTogglerAfterCollapse && { marginBottom: 'space-300' })} // Correct\n * ```\n * @param {PropsShape} styleProps - The style props object.\n * @param {string} stylePropKey - The style prop key.\n * @param {NullableString} stylePropValue - The style prop value (can be string, boolean, object, array, null, undefined).\n * @param {IsStylePropProcessableOptions} options - The options object.\n * @param {boolean} options.includesKey - When true, checks if key is in styleProps and value is not empty. When false, checks if key is NOT in styleProps (no emptiness check).\n * @returns {boolean} - `true` if the style prop should be processed, `false` otherwise.\n */\nconst isStylePropProcessable = (\n styleProps: PropsShape,\n stylePropKey: string,\n stylePropValue: NullableString,\n options: IsStylePropProcessableOptions = { includesKey: true },\n): boolean => {\n const isStylePropKeyIncluded = isKeyIncluded(styleProps, stylePropKey);\n\n if (options.includesKey) {\n return isStylePropKeyIncluded && !isEmpty(stylePropValue);\n }\n\n return !isStylePropKeyIncluded;\n};\n\nexport const useStyleUtilities = (\n props: StyleProps,\n prefix: ClassNamePrefix = '',\n additionalProps: PropsShape = {},\n): StyleUtilitiesResult => {\n const styleProps = { ...DefaultSpacingStyleProp, ...DisplayStyleProps, ...ThemeStyleProps, ...additionalProps };\n\n const propEntries = Object.entries(props);\n const styleUtilities = propEntries.reduce((accumulatedUtilities: string[], [key, propValue]) => {\n if (isStylePropProcessable(styleProps, key, propValue)) {\n const utilityName = styleProps[key as keyof typeof styleProps];\n\n return [\n ...accumulatedUtilities,\n ...processProperties(key as keyof typeof styleProps, utilityName, propValue, prefix),\n ];\n }\n\n return accumulatedUtilities;\n }, []);\n\n const updatedProps = propEntries.reduce((accumulatedProps: StyleProps, [key, propValue]) => {\n if (isStylePropProcessable(styleProps, key, propValue, { includesKey: false })) {\n return { ...accumulatedProps, [key]: propValue };\n }\n\n return accumulatedProps;\n }, {} as StyleProps);\n\n return {\n styleUtilities,\n props: updatedProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport { type CSSProperties, type HTMLAttributes, useContext } from 'react';\nimport { warning } from '../common/utilities';\nimport { ThemeStyleProps } from '../constants';\nimport ClassNamePrefixContext from '../context/ClassNamePrefixContext';\nimport { type StyleProps } from '../types';\nimport { useStyleUtilities } from './useStyleUtilities';\n\nexport type StylePropsResult = {\n styleProps: HTMLAttributes<HTMLElement>;\n props: HTMLAttributes<HTMLElement>;\n};\n\nexport function useStyleProps<T extends StyleProps>(\n props: T,\n additionalUtilities?: Record<string, string>,\n): StylePropsResult {\n const classNamePrefix = useContext(ClassNamePrefixContext);\n const { UNSAFE_className, UNSAFE_style, ...otherProps } = props;\n const styleUtilitiesConfig: Record<string, string> = {\n theme: ThemeStyleProps.theme,\n ...(additionalUtilities ?? {}),\n };\n const { styleUtilities, props: modifiedProps } = useStyleUtilities(otherProps, classNamePrefix, styleUtilitiesConfig);\n\n const style: CSSProperties = { ...UNSAFE_style };\n\n // Want to check if className prop exists, but not to define it in StyleProps type\n // @ts-expect-error Property 'className' does not exist on type 'Omit<T, \"UNSAFE_className\" | \"UNSAFE_style\">'.\n if (modifiedProps.className) {\n warning(\n false,\n 'The className prop is unsafe and is unsupported in Spirit Web React. ' +\n 'Please use style props with Spirit Design Tokens, or UNSAFE_className if you absolutely must do something custom. ' +\n 'Note that this may break in future versions due to DOM structure changes.',\n );\n\n // @ts-expect-error same as above, let me live my life\n delete modifiedProps.className;\n }\n\n // Want to check if style prop exists, but not to define it in StyleProps type\n // @ts-expect-error Property 'style' does not exist on type 'Omit<T, \"UNSAFE_className\" | \"UNSAFE_style\">'.\n if (modifiedProps.style) {\n warning(\n false,\n 'The style prop is unsafe and is unsupported in Spirit Web React. ' +\n 'Please use style props with Spirit Design Tokens, or UNSAFE_style if you absolutely must do something custom. ' +\n 'Note that this may break in future versions due to DOM structure changes.',\n );\n\n // @ts-expect-error same as above, let me live my life\n delete modifiedProps.style;\n }\n\n const styleProps = {\n style: Object.keys(style).length > 0 ? style : undefined,\n className: classNames(UNSAFE_className, ...styleUtilities) || undefined,\n };\n\n return {\n styleProps,\n props: modifiedProps as HTMLAttributes<HTMLElement>,\n };\n}\n","import { type FlexAlignmentXType, type FlexAlignmentYType } from '../types';\nimport { generateStylePropsClassNames } from '../utils';\n\nexport type AlignmentPropertyType = FlexAlignmentXType | FlexAlignmentYType;\n\nconst DEFAULT_MOBILE_ALIGNMENT = 'stretch';\n\nexport function useAlignmentClass(componentClass: string, property: AlignmentPropertyType, type?: string) {\n const responsiveProperty =\n property && typeof property === 'object' ? { mobile: DEFAULT_MOBILE_ALIGNMENT, ...property } : property;\n\n return generateStylePropsClassNames(componentClass, responsiveProperty as AlignmentPropertyType, type);\n}\n","'use client';\n\nimport { useMemo } from 'react';\n\nexport const useAriaDescribedBy = (ids: string[]) =>\n useMemo(() => (ids.length ? { 'aria-describedby': ids.join(' ') } : {}), [ids]);\n","'use client';\n\n/**\n * This file fixes the problem of using useLayoutEffect hook on the server side.\n *\n * @see https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85\n * @see https://medium.com/@alexandereardon/uselayouteffect-and-ssr-192986cdcf7a\n */\n/* eslint-disable no-restricted-imports */\nimport { useEffect, useLayoutEffect } from 'react';\nimport { isSSR } from '../utils';\n\nexport const useIsomorphicLayoutEffect = !isSSR ? useLayoutEffect : useEffect;\n","'use client';\n\nimport { type MutableRefObject, useCallback } from 'react';\nimport { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect';\n\n// TODO: Remove `isOpen` and listeners with `handleKeyDown` when Chrome fixes the bug,\n// right now Chrome is bugged and sends un-cancelable events, so closing modal based on\n// `cancel` event is not possible in Chrome.\n// Firefox and Safari are working fine.\n// @see: https://issues.chromium.org/issues/351867704\n\nconst EVENT_CANCEL = 'cancel';\nconst EVENT_KEYDOWN = 'keydown';\nconst EVENT_KEY = 'Escape';\n\nexport const useCancelEvent = (\n ref: MutableRefObject<HTMLElement | null>,\n callback: (event: Event) => void,\n closeOnEscapeKeyDown: boolean = true,\n isOpen: boolean = false,\n) => {\n const handleCancel = useCallback(\n (event: Event) => {\n // Do nothing if there is no reference or no callback\n if (!ref || !callback) {\n return;\n }\n\n // Do nothing if the event was already processed.\n if (event.defaultPrevented) {\n return;\n }\n\n event.preventDefault();\n\n if (callback && closeOnEscapeKeyDown) {\n callback(event);\n }\n },\n [ref, callback, closeOnEscapeKeyDown],\n );\n\n const handleKeyDown = useCallback(\n (event: KeyboardEvent) => {\n if (event.key === EVENT_KEY && !closeOnEscapeKeyDown && isOpen) {\n event.preventDefault();\n }\n },\n [closeOnEscapeKeyDown, isOpen],\n );\n\n useIsomorphicLayoutEffect(() => {\n const node = ref?.current;\n\n if (node) {\n node.addEventListener(EVENT_CANCEL, handleCancel);\n document.addEventListener(EVENT_KEYDOWN, handleKeyDown);\n\n return () => {\n node.removeEventListener(EVENT_CANCEL, handleCancel);\n document.removeEventListener(EVENT_KEYDOWN, handleKeyDown);\n };\n }\n\n return () => undefined;\n }, [ref, handleCancel]);\n\n return handleCancel;\n};\n","'use client';\n\nimport { useContext } from 'react';\nimport ClassNamePrefixContext from '../context/ClassNamePrefixContext';\nimport { applyClassNamePrefix } from '../utils/classname';\n\nexport const useClassNamePrefix = (className: string): string => {\n const classNamePrefix = useContext(ClassNamePrefixContext);\n let prefixedClassName = className;\n\n if (className && classNamePrefix) {\n prefixedClassName = applyClassNamePrefix(classNamePrefix)(className);\n } else if (classNamePrefix) {\n prefixedClassName = classNamePrefix;\n }\n\n return prefixedClassName;\n};\n","'use client';\n\nimport { useCallback } from 'react';\nimport { type ClickEvent } from '../types';\n\nexport const useClick = (isDisabled?: boolean, onClick?: (event: ClickEvent) => void) =>\n useCallback(\n (event: ClickEvent) => {\n if (isDisabled) {\n event.preventDefault();\n\n return;\n }\n\n if (onClick) {\n onClick(event);\n }\n },\n [isDisabled, onClick],\n );\n","'use client';\n\nimport { type MutableRefObject, useCallback, useRef } from 'react';\nimport { useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect';\n\nexport interface UseClickOutsideProps {\n ref: MutableRefObject<HTMLElement | null>;\n callback?: (event: Event) => void;\n}\n\nexport const useClickOutside = ({ ref, callback }: UseClickOutsideProps): void => {\n const stateRef = useRef<{\n mouseDownTarget: EventTarget | null;\n }>({\n mouseDownTarget: null,\n });\n\n const clickHandler = useCallback(\n (event: Event) => {\n const state = stateRef.current;\n // Do nothing (do not close the Dialog) if\n if (\n // there is no reference\n !ref ||\n // or no callback\n !callback ||\n // or the event was already processed\n event.defaultPrevented ||\n // or the click (mouse down) started inside the Dialog\n (ref.current && ref.current.contains(state.mouseDownTarget as Node))\n ) {\n return;\n }\n\n // we can call callback only when\n if (\n // reference to current element exists\n ref.current &&\n // and the user not clicked into the container,\n // e. g. the user clicked outside of the Dialog (click on backdrop)\n !ref.current.contains(event?.target as Node) &&\n // and callback should exits, of course\n callback\n ) {\n callback(event);\n }\n },\n [ref, callback],\n );\n\n const onMouseDown = (event: Event) => {\n stateRef.current.mouseDownTarget = event.target;\n };\n\n useIsomorphicLayoutEffect(() => {\n document.addEventListener('mousedown', onMouseDown, { capture: true });\n document.addEventListener('click', clickHandler, { capture: true });\n\n return () => {\n document.removeEventListener('mousedown', onMouseDown, { capture: true });\n document.removeEventListener('click', clickHandler, { capture: true });\n };\n }, [clickHandler]);\n};\n","'use client';\n\nimport { useEffect } from 'react';\nimport { warning } from '../common/utilities';\n\nexport interface UseDeprecationMessageProps {\n method?: 'component' | 'property' | 'custom';\n trigger: boolean;\n componentName: string;\n componentProps?: {\n newName?: string;\n delete?: boolean;\n };\n propertyProps?: {\n // Use for property name\n deprecatedName?: string;\n newName?: string;\n delete?: boolean;\n // Use for property value\n deprecatedValue?: string;\n newValue?: string;\n propertyName?: string;\n };\n customText?: string;\n}\n\nexport const useDeprecationMessage = ({\n method = 'component',\n trigger,\n componentName,\n componentProps,\n propertyProps,\n customText,\n}: UseDeprecationMessageProps) => {\n const messageBase = `Deprecation warning (${componentName}):`;\n\n useEffect(() => {\n const isExecutable = trigger && componentName && process.env.NODE_ENV === 'development';\n\n let message: string | undefined;\n let hasProps: boolean;\n\n switch (method) {\n case 'property':\n if (propertyProps?.delete) {\n message = `${messageBase} \"${propertyProps?.deprecatedName}\" property will be deleted in the next major version.`;\n } else if (propertyProps?.deprecatedValue && propertyProps?.newValue && propertyProps?.propertyName) {\n message = `${messageBase} The \"${propertyProps?.deprecatedValue}\" value for \"${propertyProps?.propertyName}\" property will be renamed to \"${propertyProps?.newValue}\" in the next major version.`;\n } else {\n message = `${messageBase} \"${propertyProps?.deprecatedName}\" property will be replaced in the next major version. Please use \"${propertyProps?.newName}\" instead. ♻️️`;\n }\n hasProps = !!propertyProps;\n break;\n\n case 'custom':\n message = `${messageBase} ${customText}`;\n hasProps = true;\n break;\n\n case 'component':\n default:\n if (componentProps?.delete) {\n message = `${messageBase} The component and its subcomponents will be deleted in the next major version.`;\n } else {\n message = `${messageBase} The component and its subcomponents will be renamed to \"${componentProps?.newName}\" in the next major version.`;\n }\n hasProps = !!componentProps;\n break;\n }\n\n if (message && isExecutable && hasProps) {\n warning(false, message);\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps -- We want to call this hook only once\n }, []);\n};\n","import { type CSSProperties } from 'react';\nimport { type DimensionType, type SpacingCSSProperties } from '../types';\n\nexport interface DimensionCSSProperties extends SpacingCSSProperties {}\n\n/**\n * Generates CSS style properties for a given dimension (e.g., columns, rows) based on breakpoints or a single value.\n *\n * @param property - The dimension property, which can be an object with breakpoints or a single number.\n * @param prefix - The CSS variable prefix to use for the generated styles.\n * @returns {CSSProperties} Object containing the generated styles.\n */\nexport const useDimensionStyle = (property: DimensionType | undefined, prefix: string): CSSProperties => {\n const style: DimensionCSSProperties = {};\n const cssPrefix: string = `--${prefix}`;\n\n if (typeof property === 'object' && property !== null) {\n Object.keys(property).forEach((key) => {\n const breakpointSuffix = key === 'mobile' ? '' : `-${key}`;\n const value = (property as Record<string, string | undefined>)[key];\n (style as Record<string, string | undefined>)[`${cssPrefix}${breakpointSuffix}`] = `${value?.toString()}`;\n });\n } else if (property) {\n (style as Record<string, string | undefined>)[`${cssPrefix}`] = `${property?.toString()}`;\n }\n\n return style;\n};\n","'use client';\n\nimport { type DragEvent, useState } from 'react';\nimport { type DragAndDropHandlingProps } from '../types';\n\nexport interface UseDragAndDropProps<E = HTMLElement> extends Partial<DragAndDropHandlingProps<E>> {}\n\nexport interface UseDragAndDropReturn<E = HTMLElement> extends DragAndDropHandlingProps<E> {\n isDragging: boolean;\n}\n\nexport const useDragAndDrop = <E = HTMLElement>(props?: UseDragAndDropProps<E>): UseDragAndDropReturn<E> => {\n const [isDragging, setDragging] = useState(false);\n\n const onDragOverHandler = (event: DragEvent<E>) => {\n event.preventDefault();\n if (props?.onDragOver) {\n props.onDragOver(event);\n }\n };\n\n const onDragEnterHandler = (event: DragEvent<E>) => {\n setDragging(true);\n if (props?.onDragEnter) {\n props.onDragEnter(event);\n }\n };\n\n const onDragLeaveHandler = (event: DragEvent<E>) => {\n setDragging(false);\n if (props?.onDragLeave) {\n props.onDragLeave(event);\n }\n };\n\n const onDropHandler = (event: DragEvent<E>) => {\n event.preventDefault();\n if (props?.onDrop) {\n props.onDrop(event);\n }\n setDragging(false);\n };\n\n return {\n isDragging,\n onDragOver: onDragOverHandler,\n onDragEnter: onDragEnterHandler,\n onDragLeave: onDragLeaveHandler,\n onDrop: onDropHandler,\n };\n};\n","export const defaultLabels = {\n common: {\n close: 'Close',\n edit: 'Edit',\n remove: 'Remove',\n },\n attachment: {\n edit: 'Edit',\n remove: 'Remove',\n },\n breadcrumbs: {\n back: 'Go back',\n },\n fileUploader: {\n edit: 'Edit',\n remove: 'Remove',\n attachments: 'Attachments',\n },\n pagination: {\n next: 'Next',\n previous: 'Previous',\n goToPage: 'Go to page',\n },\n textField: {\n password: {\n show: 'Show password',\n hide: 'Hide password',\n },\n },\n splitButton: {\n dropdown: 'More',\n },\n};\n","/**\n * Replaces placeholders like {name} or {count} in translation with values from params.\n *\n * @param translation - String that may contain placeholders, e.g. \"Hello, {name}!\"\n * @param params - Record; each key replaces every occurrence of '{key}' in translation.\n * @returns {string} Translation with placeholders replaced.\n *\n * @example\n * replaceTranslationParams('Hello, {name}!', { name: 'World' }); // 'Hello, World!'\n * replaceTranslationParams('Page {current} of {total}', { current: 2, total: 10 }); // 'Page 2 of 10'\n */\nexport const replaceTranslationParams = (translation: string, params: Record<string, unknown>): string =>\n Object.entries(params).reduce((result, [paramKey, value]) => {\n const safeParamKey = paramKey.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n\n return result.replace(new RegExp(`\\\\{${safeParamKey}\\\\}`, 'g'), String(value));\n }, translation);\n","type Segment = string;\ntype TwoSegments = `${Segment}.${Segment}`;\ntype ThreeSegments = `${TwoSegments}.${Segment}`;\ntype FourSegments = `${ThreeSegments}.${Segment}`;\ntype DotPath = Segment | TwoSegments | ThreeSegments | FourSegments;\ntype Translations = { [key: string]: string | Translations };\n\n/**\n * Resolves a translation key from a dot-notation path in a translations object.\n *\n * @param obj - Translations object with string values at leaf nodes\n * @param path - Dot-separated path (e.g. `'common.close'`, `'textField.password.show'`)\n * @returns {string} The value at the path, or the path string if the path is not found\n *\n * @example\n * resolveTranslationKey({ common: { close: 'Close' } }, 'common.close') // 'Close'\n * resolveTranslationKey({ a: { b: { c: 'value' } } }, 'a.b.c') // 'value'\n * resolveTranslationKey({ common: {} }, 'common.missing') // 'common.missing'\n */\nexport const resolveTranslationKey = (obj: Translations, path: DotPath): string => {\n const keys = path.split('.');\n let current: string | Translations = obj;\n\n for (const key of keys) {\n if (typeof current === 'object' && current !== null && key in current) {\n current = current[key];\n } else {\n return path;\n }\n }\n\n return typeof current === 'string' ? current : path;\n};\n","import { defaultLabels, replaceTranslationParams, resolveTranslationKey } from '../translations';\n\ntype TranslateFunction = (key: string, params?: Record<string, unknown>) => string;\n\nexport interface UseI18nReturn {\n t: TranslateFunction;\n}\n\n/**\n * Hook that provides a translation function with built-in default labels.\n * The returned `t` function looks up keys (e.g. `'common.close'`) in the default labels\n * and optionally replaces placeholders like `{name}` with values from the params object.\n *\n * @returns {UseI18nReturn} Object with `t` function for translating keys to default strings\n *\n * @example\n * const { t } = useI18n();\n * t('common.close'); // 'Close'\n * t('unknown.key'); // 'unknown.key'\n * t('greeting', { name: 'World' }); // replaces '{name}' in translation\n */\nexport const useI18n = (): UseI18nReturn => {\n const t: TranslateFunction = (key, params) => {\n const translation = resolveTranslationKey(defaultLabels, key);\n\n return !params ? translation : replaceTranslationParams(translation, params);\n };\n\n return { t };\n};\n","'use client';\n\nimport { createContext } from 'react';\n\ntype IconsContextType = Record<string, string> | null | undefined;\n\nconst defaultContext: IconsContextType = undefined;\n\nconst IconsContext = createContext<IconsContextType>(defaultContext);\nconst IconsProvider = IconsContext.Provider;\nconst IconsConsumer = IconsContext.Consumer;\n\nexport default IconsContext;\nexport { IconsConsumer, IconsProvider };\nexport type { IconsContextType };\n","'use client';\n\nimport { useContext } from 'react';\nimport warning from '../common/utilities/warning';\nimport IconsContext from '../context/IconsContext';\n\nexport const useIcon = (name: string) => {\n const icons = useContext(IconsContext);\n\n if (icons != null && icons[name] != null) {\n return icons[name];\n }\n\n warning(\n false,\n `The ${name} icon is missing from your assets or icon map provided by the IconsProvider. Please make sure you have provided all icons needed by used components.`,\n );\n\n return '';\n};\n","export function useIconName(key: string | undefined, iconMap: Record<string, string>, defaultKey: string = 'default') {\n return key && iconMap[key] ? iconMap[key] : iconMap[defaultKey];\n}\n","import { type InputPositionType, type Responsive } from '../types';\nimport { generateStylePropsClassNames } from '../utils';\n\nexport function useInputPositionClass(\n componentClass: string,\n property: InputPositionType | Responsive<InputPositionType> | undefined,\n) {\n if (!property) {\n return '';\n }\n\n return generateStylePropsClassNames(componentClass, property, 'inputPosition');\n}\n","'use client';\n\nimport { type MutableRefObject, useEffect, useRef } from 'react';\n\nexport const useLastActiveFocus = (isOpen: boolean) => {\n const lastActiveElement: MutableRefObject<HTMLElement | null> = useRef(null);\n\n useEffect(() => {\n if (isOpen) {\n // casting type from Element to HTMLElement, because Element does not have focus()\n lastActiveElement.current = document.activeElement as HTMLElement;\n } else if (lastActiveElement?.current) {\n lastActiveElement.current.focus();\n }\n }, [isOpen]);\n};\n","'use client';\n\n/**\n * This implementation is a modified copy of the `usehooks-ts` library\n *\n * @see { @link https://usehooks-ts.com/react-hook/use-resize-observer }\n */\nimport { type RefObject, useEffect, useRef, useState } from 'react';\nimport { isSSR } from '../utils';\nimport { useIsMounted } from './useIsMounted';\n\n/** @private */\ntype BoxSizesKey = keyof Pick<ResizeObserverEntry, 'borderBoxSize' | 'contentBoxSize' | 'devicePixelContentBoxSize'>;\n\nfunction extractSize(\n entry: ResizeObserverEntry,\n box: BoxSizesKey,\n sizeType: keyof ResizeObserverSize,\n): number | undefined {\n if (!entry[box]) {\n if (box === 'contentBoxSize') {\n return entry.contentRect[sizeType === 'inlineSize' ? 'width' : 'height'];\n }\n\n return undefined;\n }\n\n return Array.isArray(entry[box])\n ? entry[box][0][sizeType]\n : // Support Firefox's non-standard behavior\n // @ts-expect-error -- Element implicitly has an 'any' type because index expression is not of type 'number'.\n (entry[box][sizeType] as number);\n}\n\n/** The size of the observed element. */\ntype Size = {\n /** The width of the observed element. */\n width: number | undefined;\n /** The height of the observed element. */\n height: number | undefined;\n};\n\n/** The options for the ResizeObserver. */\ntype UseResizeObserverOptions<T extends HTMLElement = HTMLElement> = {\n /** The ref of the element to observe. */\n ref: RefObject<T>;\n /**\n * When using `onResize`, the hook doesn't re-render on element size changes; it delegates handling to the provided callback.\n *\n * @default undefined\n */\n onResize?: (size: Size) => void;\n /**\n * The box model to use for the ResizeObserver.\n *\n * @default 'border-box'\n */\n box?: 'border-box' | 'content-box' | 'device-pixel-content-box';\n};\n\nconst initialSize: Size = {\n width: undefined,\n height: undefined,\n};\n\n/**\n * Custom hook that observes the size of an element using the [`ResizeObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).\n *\n * @template T - The type of the element to observe.\n * @param {UseResizeObserverOptions<T>} options - The options for the ResizeObserver.\n * @returns {Size} - The size of the observed element.\n * @public\n * @example\n * ```tsx\n * const myRef = useRef(null);\n * const { width = 0, height = 0 } = useResizeObserver({\n * ref: myRef,\n * box: 'border-box',\n * });\n *\n * <div ref={myRef}>Hello, world!</div>\n * ```\n */\nexport function useResizeObserver<T extends HTMLElement = HTMLElement>(options: UseResizeObserverOptions<T>): Size {\n const { ref, box = 'border-box' } = options;\n const [{ width, height }, setSize] = useState<Size>(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef<Size>({ ...initialSize });\n const onResize = useRef<((size: Size) => void) | undefined>(undefined);\n onResize.current = options.onResize;\n\n useEffect(() => {\n // Prevent execution on the server\n if (isSSR) {\n return;\n }\n if (!('ResizeObserver' in window)) {\n return;\n }\n if (!ref.current) {\n return;\n }\n\n const observer = new ResizeObserver(([entry]) => {\n const boxProp =\n // eslint-disable-next-line no-nested-ternary\n box === 'border-box'\n ? 'borderBoxSize'\n : box === 'device-pixel-content-box'\n ? 'devicePixelContentBoxSize'\n : 'contentBoxSize';\n\n const newWidth = extractSize(entry, boxProp, 'inlineSize');\n const newHeight = extractSize(entry, boxProp, 'blockSize');\n\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n\n if (hasChanged) {\n const newSize: Size = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n\n if (onResize.current) {\n onResize.current(newSize);\n } else if (isMounted()) {\n setSize(newSize);\n }\n }\n });\n\n observer.observe(ref.current, { box });\n\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n\n return { width, height };\n}\n","'use client';\n\n/**\n * This implementation is a modified copy of the `usehooks-ts` library\n *\n * @see { @link https://usehooks-ts.com/react-hook/use-is-mounted }\n */\nimport { useCallback, useEffect, useRef } from 'react';\n\n/**\n * Custom hook that determines if the component is currently mounted.\n *\n * @returns {() => boolean} A function that returns a boolean value indicating whether the component is mounted.\n * @public\n * @example\n * ```tsx\n * const isComponentMounted = useIsMounted();\n * // Use isComponentMounted() to check if the component is currently mounted before performing certain actions.\n * ```\n */\nexport function useIsMounted(): () => boolean {\n const isMounted = useRef(false);\n\n useEffect(() => {\n isMounted.current = true;\n\n return () => {\n isMounted.current = false;\n };\n }, []);\n\n return useCallback(() => isMounted.current, []);\n}\n","'use client';\n\nimport { type MutableRefObject, useEffect } from 'react';\n\nconst CLASSNAME_SCROLLING_DISABLED = 'is-scrolling-disabled';\n\nconst disableScroll = () => {\n const { body } = document;\n const scrollBarWidth = window.innerWidth - body.clientWidth;\n\n body.style.paddingRight = `${scrollBarWidth}px`;\n body.classList.add(CLASSNAME_SCROLLING_DISABLED);\n};\n\nconst enableScroll = () => {\n const { body } = document;\n body.style.paddingRight = '';\n body.classList.remove(CLASSNAME_SCROLLING_DISABLED);\n};\n\nexport const useScrollControl = (ref: MutableRefObject<HTMLDialogElement | null>, isOpen: boolean) => {\n useEffect(() => {\n if (isOpen) {\n disableScroll();\n } else if (ref.current && !ref.current.open) {\n enableScroll();\n }\n\n /**\n * Cleanup scrolling when unmounting\n *\n * @see https://jira.almacareer.tech/browse/DS-1126\n *\n * When the use of the Dialog in page is optimized by the condition like\n * `isOpen && <Dialog />`, the Dialog component will be unmounted sooner\n * than the Dialog is closed correctly and all side effects are fulfilled.\n * In this case, the class and style attributes added to the body element\n * will not be removed, and the page will be scrolled.\n */\n return () => {\n enableScroll();\n };\n }, [isOpen, ref]);\n};\n","import { cssVariablePrefix } from '@alma-oss/spirit-design-tokens';\nimport { type DirectionAxis } from '../constants';\nimport { type SpacingCSSProperties, type SpacingType } from '../types';\n\nexport function useSpacingStyle(\n spacing: SpacingType | undefined,\n prefix: string,\n direction: undefined | (typeof DirectionAxis)[keyof typeof DirectionAxis] = undefined,\n): SpacingCSSProperties {\n const style: SpacingCSSProperties = {};\n const directionSuffix = direction ? `-${direction}` : '';\n\n if (typeof spacing === 'object' && spacing !== null) {\n Object.keys(spacing).forEach((key) => {\n const breakpointSuffix = key === 'mobile' ? '' : `-${key}`;\n (style as Record<string, string | undefined>)[`--${prefix}-spacing${directionSuffix}${breakpointSuffix}`] =\n `var(--${cssVariablePrefix}${spacing[key as keyof typeof spacing]?.toString()})`;\n });\n } else if (spacing) {\n (style as Record<string, string | undefined>)[`--${prefix}-spacing${directionSuffix}`] =\n `var(--${cssVariablePrefix}${spacing})`;\n }\n\n return style;\n}\n","import { breakpoints } from '@alma-oss/spirit-design-tokens';\nimport { BREAKPOINT_MOBILE, type BreakpointToken, type SingleOrResponsive } from '../types';\n\nconst SYMMETRICAL_CLASS_SUFFIX = '--symmetrical';\nconst NON_SYMMETRICAL_CLASS_SUFFIX = '--asymmetrical';\n\ninterface SymmetryReturn {\n isSymmetricalActive: boolean;\n symmetricalClassName: string;\n}\n\ninterface ReducerAccumulator {\n classes: string[];\n wasSymmetrical: boolean;\n}\n\nfunction getSymmetryClassNamesReducer(componentClass: string, isSymmetrical: Record<string, boolean>) {\n return (acc: ReducerAccumulator, breakpoint: BreakpointToken): ReducerAccumulator => {\n if (breakpoint in isSymmetrical) {\n const value = isSymmetrical[breakpoint];\n const infix = breakpoint === BREAKPOINT_MOBILE ? '' : `--${breakpoint}`;\n if (value) {\n return {\n classes: [...acc.classes, `${componentClass}${infix}${SYMMETRICAL_CLASS_SUFFIX}`],\n wasSymmetrical: true,\n };\n }\n if (acc.wasSymmetrical) {\n return {\n classes: [...acc.classes, `${componentClass}${infix}${NON_SYMMETRICAL_CLASS_SUFFIX}`],\n wasSymmetrical: acc.wasSymmetrical,\n };\n }\n }\n\n return acc;\n };\n}\n\nexport function useSymmetry(\n componentClass: string,\n isSymmetrical: SingleOrResponsive<boolean> | undefined,\n): SymmetryReturn {\n if (typeof isSymmetrical !== 'object' || isSymmetrical === null) {\n return {\n isSymmetricalActive: isSymmetrical === true,\n symmetricalClassName: isSymmetrical ? `${componentClass}${SYMMETRICAL_CLASS_SUFFIX}` : '',\n };\n }\n\n const { classes } = (Object.keys(breakpoints) as BreakpointToken[]).reduce(\n getSymmetryClassNamesReducer(componentClass, isSymmetrical),\n { classes: [] as string[], wasSymmetrical: false },\n );\n\n return {\n isSymmetricalActive: Object.values(isSymmetrical).includes(true),\n symmetricalClassName: classes.join(' '),\n };\n}\n","'use client';\n\nimport { useCallback, useState } from 'react';\n\nexport const useToggle = (initialState = false): [boolean, () => void] => {\n const [state, setState] = useState<boolean>(initialState);\n\n // Define and memorize toggler function in case we pass down the component,\n const toggle = useCallback((): void => setState((prevState) => !prevState), []);\n\n return [state, toggle];\n};\n","type WrappingType = boolean | Record<string, boolean> | undefined;\n\nconst WRAP_CLASS = '--wrap';\nconst NO_WRAP_CLASS = '--noWrap';\n\nexport function useWrapClass(componentClass: string, property: WrappingType) {\n if (typeof property === 'object' && property !== null) {\n return Object.entries(property)\n .map(([key, responsiveProperty]) => {\n const infix = key === 'mobile' ? '' : `--${key}`;\n\n return `${componentClass}${infix}${responsiveProperty ? WRAP_CLASS : NO_WRAP_CLASS}`;\n })\n .join(' ');\n }\n\n return `${componentClass}${property ? WRAP_CLASS : NO_WRAP_CLASS}`;\n}\n","import { useClassNamePrefix } from '../../hooks';\n\nexport const useAccordionStyleProps = () => {\n const accordionClass = useClassNamePrefix('Accordion');\n const accordionItemClass = `${accordionClass}__item`;\n const accordionItemHeaderClass = `${accordionClass}__itemHeader`;\n const accordionItemToggleClass = `${accordionClass}__itemToggle`;\n const accordionItemSideClass = `${accordionClass}__itemSide`;\n const accordionItemSlotClass = `${accordionClass}__itemSlot`;\n const accordionItemIconClass = `${accordionClass}__itemIcon`;\n const accordionItemContentClass = `${accordionClass}__content`;\n\n return {\n classProps: {\n root: accordionClass,\n item: accordionItemClass,\n header: accordionItemHeaderClass,\n toggle: accordionItemToggleClass,\n side: accordionItemSideClass,\n slot: accordionItemSlotClass,\n icon: accordionItemIconClass,\n content: accordionItemContentClass,\n },\n };\n};\n","'use client';\n\nimport { createContext, useContext } from 'react';\nimport { type AccordionState } from '../../types';\n\nconst defaultContext: AccordionState = {\n open: undefined,\n toggle: () => null,\n};\n\nconst AccordionContext = createContext<AccordionState>(defaultContext);\nconst AccordionProvider = AccordionContext.Provider;\nconst AccordionConsumer = AccordionContext.Consumer;\nconst useAccordionContext = (): AccordionState => useContext(AccordionContext);\n\nexport default AccordionContext;\nexport { AccordionProvider, AccordionConsumer, useAccordionContext };\n","import { useAccordionContext } from './AccordionContext';\n\nexport const useOpenItem = (\n id: string | undefined,\n): {\n isOpen: boolean;\n} => {\n const { open } = useAccordionContext();\n\n const isOpen = (iid: string | undefined): boolean => {\n if (iid) {\n return !!(iid === open || open?.includes(iid));\n }\n\n return false;\n };\n\n return {\n isOpen: isOpen(id),\n };\n};\n","/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE$2\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Provider\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function disabledLog() {}\n function disableLogs() {\n if (0 === disabledDepth) {\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd;\n var props = {\n configurable: !0,\n enumerable: !0,\n value: disabledLog,\n writable: !0\n };\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n }\n disabledDepth++;\n }\n function reenableLogs() {\n disabledDepth--;\n if (0 === disabledDepth) {\n var props = { configurable: !0, enumerable: !0, writable: !0 };\n Object.defineProperties(console, {\n log: assign({}, props, { value: prevLog }),\n info: assign({}, props, { value: prevInfo }),\n warn: assign({}, props, { value: prevWarn }),\n error: assign({}, props, { value: prevError }),\n group: assign({}, props, { value: prevGroup }),\n groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),\n groupEnd: assign({}, props, { value: prevGroupEnd })\n });\n }\n 0 > disabledDepth &&\n console.error(\n \"disabledDepth fell below zero. This is a bug in React. Please file an issue.\"\n );\n }\n function describeBuiltInComponentFrame(name) {\n if (void 0 === prefix)\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = (match && match[1]) || \"\";\n suffix =\n -1 < x.stack.indexOf(\"\\n at\")\n ? \" (<anonymous>)\"\n : -1 < x.stack.indexOf(\"@\")\n ? \"@unknown:0:0\"\n : \"\";\n }\n return \"\\n\" + prefix + name + suffix;\n }\n function describeNativeComponentFrame(fn, construct) {\n if (!fn || reentry) return \"\";\n var frame = componentFrameCache.get(fn);\n if (void 0 !== frame) return frame;\n reentry = !0;\n frame = Error.prepareStackTrace;\n Error.prepareStackTrace = void 0;\n var previousDispatcher = null;\n previousDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = null;\n disableLogs();\n try {\n var RunInRootFrame = {\n DetermineComponentFrameRoot: function () {\n try {\n if (construct) {\n var Fake = function () {\n throw Error();\n };\n Object.defineProperty(Fake.prototype, \"props\", {\n set: function () {\n throw Error();\n }\n });\n if (\"object\" === typeof Reflect && Reflect.construct) {\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n var control = x;\n }\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x$0) {\n control = x$0;\n }\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x$1) {\n control = x$1;\n }\n (Fake = fn()) &&\n \"function\" === typeof Fake.catch &&\n Fake.catch(function () {});\n }\n } catch (sample) {\n if (sample && control && \"string\" === typeof sample.stack)\n return [sample.stack, control.stack];\n }\n return [null, null];\n }\n };\n RunInRootFrame.DetermineComponentFrameRoot.displayName =\n \"DetermineComponentFrameRoot\";\n var namePropDescriptor = Object.getOwnPropertyDescriptor(\n RunInRootFrame.DetermineComponentFrameRoot,\n \"name\"\n );\n namePropDescriptor &&\n namePropDescriptor.configurable &&\n Object.defineProperty(\n RunInRootFrame.DetermineComponentFrameRoot,\n \"name\",\n { value: \"DetermineComponentFrameRoot\" }\n );\n var _RunInRootFrame$Deter =\n RunInRootFrame.DetermineComponentFrameRoot(),\n sampleStack = _RunInRootFrame$Deter[0],\n controlStack = _RunInRootFrame$Deter[1];\n if (sampleStack && controlStack) {\n var sampleLines = sampleStack.split(\"\\n\"),\n controlLines = controlStack.split(\"\\n\");\n for (\n _RunInRootFrame$Deter = namePropDescriptor = 0;\n namePropDescriptor < sampleLines.length &&\n !sampleLines[namePropDescriptor].includes(\n \"DetermineComponentFrameRoot\"\n );\n\n )\n namePropDescriptor++;\n for (\n ;\n _RunInRootFrame$Deter < controlLines.length &&\n !controlLines[_RunInRootFrame$Deter].includes(\n \"DetermineComponentFrameRoot\"\n );\n\n )\n _RunInRootFrame$Deter++;\n if (\n namePropDescriptor === sampleLines.length ||\n _RunInRootFrame$Deter === controlLines.length\n )\n for (\n namePropDescriptor = sampleLines.length - 1,\n _RunInRootFrame$Deter = controlLines.length - 1;\n 1 <= namePropDescriptor &&\n 0 <= _RunInRootFrame$Deter &&\n sampleLines[namePropDescriptor] !==\n controlLines[_RunInRootFrame$Deter];\n\n )\n _RunInRootFrame$Deter--;\n for (\n ;\n 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;\n namePropDescriptor--, _RunInRootFrame$Deter--\n )\n if (\n sampleLines[namePropDescriptor] !==\n controlLines[_RunInRootFrame$Deter]\n ) {\n if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {\n do\n if (\n (namePropDescriptor--,\n _RunInRootFrame$Deter--,\n 0 > _RunInRootFrame$Deter ||\n sampleLines[namePropDescriptor] !==\n controlLines[_RunInRootFrame$Deter])\n ) {\n var _frame =\n \"\\n\" +\n sampleLines[namePropDescriptor].replace(\n \" at new \",\n \" at \"\n );\n fn.displayName &&\n _frame.includes(\"<anonymous>\") &&\n (_frame = _frame.replace(\"<anonymous>\", fn.displayName));\n \"function\" === typeof fn &&\n componentFrameCache.set(fn, _frame);\n return _frame;\n }\n while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);\n }\n break;\n }\n }\n } finally {\n (reentry = !1),\n (ReactSharedInternals.H = previousDispatcher),\n reenableLogs(),\n (Error.prepareStackTrace = frame);\n }\n sampleLines = (sampleLines = fn ? fn.displayName || fn.name : \"\")\n ? describeBuiltInComponentFrame(sampleLines)\n : \"\";\n \"function\" === typeof fn && componentFrameCache.set(fn, sampleLines);\n return sampleLines;\n }\n function describeUnknownElementTypeFrameInDEV(type) {\n if (null == type) return \"\";\n if (\"function\" === typeof type) {\n var prototype = type.prototype;\n return describeNativeComponentFrame(\n type,\n !(!prototype || !prototype.isReactComponent)\n );\n }\n if (\"string\" === typeof type) return describeBuiltInComponentFrame(type);\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame(\"Suspense\");\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame(\"SuspenseList\");\n }\n if (\"object\" === typeof type)\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return (type = describeNativeComponentFrame(type.render, !1)), type;\n case REACT_MEMO_TYPE:\n return describeUnknownElementTypeFrameInDEV(type.type);\n case REACT_LAZY_TYPE:\n prototype = type._payload;\n type = type._init;\n try {\n return describeUnknownElementTypeFrameInDEV(type(prototype));\n } catch (x) {}\n }\n return \"\";\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, self, source, owner, props) {\n self = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== self ? self : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n source,\n self\n ) {\n if (\n \"string\" === typeof type ||\n \"function\" === typeof type ||\n type === REACT_FRAGMENT_TYPE ||\n type === REACT_PROFILER_TYPE ||\n type === REACT_STRICT_MODE_TYPE ||\n type === REACT_SUSPENSE_TYPE ||\n type === REACT_SUSPENSE_LIST_TYPE ||\n type === REACT_OFFSCREEN_TYPE ||\n (\"object\" === typeof type &&\n null !== type &&\n (type.$$typeof === REACT_LAZY_TYPE ||\n type.$$typeof === REACT_MEMO_TYPE ||\n type.$$typeof === REACT_CONTEXT_TYPE ||\n type.$$typeof === REACT_CONSUMER_TYPE ||\n type.$$typeof === REACT_FORWARD_REF_TYPE ||\n type.$$typeof === REACT_CLIENT_REFERENCE$1 ||\n void 0 !== type.getModuleId))\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren], type);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children, type);\n } else {\n children = \"\";\n if (\n void 0 === type ||\n (\"object\" === typeof type &&\n null !== type &&\n 0 === Object.keys(type).length)\n )\n children +=\n \" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.\";\n null === type\n ? (isStaticChildren = \"null\")\n : isArrayImpl(type)\n ? (isStaticChildren = \"array\")\n : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE\n ? ((isStaticChildren =\n \"<\" +\n (getComponentNameFromType(type.type) || \"Unknown\") +\n \" />\"),\n (children =\n \" Did you accidentally export a JSX literal instead of a component?\"))\n : (isStaticChildren = typeof type);\n console.error(\n \"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s\",\n isStaticChildren,\n children\n );\n }\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(type, children, self, source, getOwner(), maybeKey);\n }\n function validateChildKeys(node, parentType) {\n if (\n \"object\" === typeof node &&\n node &&\n node.$$typeof !== REACT_CLIENT_REFERENCE\n )\n if (isArrayImpl(node))\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n isValidElement(child) && validateExplicitKey(child, parentType);\n }\n else if (isValidElement(node))\n node._store && (node._store.validated = 1);\n else if (\n (null === node || \"object\" !== typeof node\n ? (i = null)\n : ((i =\n (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||\n node[\"@@iterator\"]),\n (i = \"function\" === typeof i ? i : null)),\n \"function\" === typeof i &&\n i !== node.entries &&\n ((i = i.call(node)), i !== node))\n )\n for (; !(node = i.next()).done; )\n isValidElement(node.value) &&\n validateExplicitKey(node.value, parentType);\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n function validateExplicitKey(element, parentType) {\n if (\n element._store &&\n !element._store.validated &&\n null == element.key &&\n ((element._store.validated = 1),\n (parentType = getCurrentComponentErrorInfo(parentType)),\n !ownerHasKeyUseWarning[parentType])\n ) {\n ownerHasKeyUseWarning[parentType] = !0;\n var childOwner = \"\";\n element &&\n null != element._owner &&\n element._owner !== getOwner() &&\n ((childOwner = null),\n \"number\" === typeof element._owner.tag\n ? (childOwner = getComponentNameFromType(element._owner.type))\n : \"string\" === typeof element._owner.name &&\n (childOwner = element._owner.name),\n (childOwner = \" It was passed a child from \" + childOwner + \".\"));\n var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;\n ReactSharedInternals.getCurrentStack = function () {\n var stack = describeUnknownElementTypeFrameInDEV(element.type);\n prevGetCurrentStack && (stack += prevGetCurrentStack() || \"\");\n return stack;\n };\n console.error(\n 'Each child in a list should have a unique \"key\" prop.%s%s See https://react.dev/link/warning-keys for more information.',\n parentType,\n childOwner\n );\n ReactSharedInternals.getCurrentStack = prevGetCurrentStack;\n }\n }\n function getCurrentComponentErrorInfo(parentType) {\n var info = \"\",\n owner = getOwner();\n owner &&\n (owner = getComponentNameFromType(owner.type)) &&\n (info = \"\\n\\nCheck the render method of `\" + owner + \"`.\");\n info ||\n ((parentType = getComponentNameFromType(parentType)) &&\n (info =\n \"\\n\\nCheck the top-level render call using <\" + parentType + \">.\"));\n return info;\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n Symbol.for(\"react.provider\");\n var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_OFFSCREEN_TYPE = Symbol.for(\"react.offscreen\"),\n MAYBE_ITERATOR_SYMBOL = Symbol.iterator,\n REACT_CLIENT_REFERENCE$2 = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n assign = Object.assign,\n REACT_CLIENT_REFERENCE$1 = Symbol.for(\"react.client.reference\"),\n isArrayImpl = Array.isArray,\n disabledDepth = 0,\n prevLog,\n prevInfo,\n prevWarn,\n prevError,\n prevGroup,\n prevGroupCollapsed,\n prevGroupEnd;\n disabledLog.__reactDisabledLog = !0;\n var prefix,\n suffix,\n reentry = !1;\n var componentFrameCache = new (\n \"function\" === typeof WeakMap ? WeakMap : Map\n )();\n var REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var didWarnAboutKeySpread = {},\n ownerHasKeyUseWarning = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey, source, self) {\n return jsxDEVImpl(type, config, maybeKey, !1, source, self);\n };\n exports.jsxs = function (type, config, maybeKey, source, self) {\n return jsxDEVImpl(type, config, maybeKey, !0, source, self);\n };\n })();\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n var key = null;\n void 0 !== maybeKey && (key = \"\" + maybeKey);\n void 0 !== config.key && (key = \"\" + config.key);\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n config = maybeKey.ref;\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n ref: void 0 !== config ? config : null,\n props: maybeKey\n };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport {\n type AccordionProps,\n type PolymorphicComponent,\n type PolymorphicRef,\n type SpiritAccordionProps,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { AccordionProvider } from './AccordionContext';\nimport { useAccordionStyleProps } from './useAccordionStyleProps';\n\nconst _Accordion = <E extends ElementType = 'section'>(props: SpiritAccordionProps<E>, ref: PolymorphicRef<E>) => {\n const { children, elementType = 'section', open, toggle, ...restProps } = props;\n\n const Component = elementType as ElementType;\n\n const { classProps } = useAccordionStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps: classProps.root, styleProps });\n\n const contextValue = {\n open,\n toggle,\n };\n\n return (\n <Component {...transferProps} {...mergedStyleProps} ref={ref}>\n <AccordionProvider value={contextValue}>{children}</AccordionProvider>\n </Component>\n );\n};\n\nconst Accordion = forwardRef<HTMLElement, SpiritAccordionProps<'section'>>(\n _Accordion,\n) as unknown as PolymorphicComponent<'section', AccordionProps>;\n\nAccordion.spiritComponent = 'Accordion';\nAccordion.displayName = 'Accordion';\n\nexport default Accordion;\n","'use client';\n\nimport { createContext, useContext } from 'react';\nimport { type AccordionItemContextProps } from '../../types';\n\nconst defaultContext: AccordionItemContextProps = {\n id: '',\n};\n\nconst AccordionItemContext = createContext(defaultContext);\nconst AccordionItemProvider = AccordionItemContext.Provider;\nconst AccordionItemConsumer = AccordionItemContext.Consumer;\nconst useAccordionItemContext = (): AccordionItemContextProps => useContext(AccordionItemContext);\n\nexport default AccordionItemContext;\nexport { AccordionItemProvider, AccordionItemConsumer, useAccordionItemContext };\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport {\n type AccordionItemProps,\n type PolymorphicComponent,\n type PolymorphicRef,\n type SpiritAccordionItemProps,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { AccordionItemProvider } from './AccordionItemContext';\nimport { useAccordionStyleProps } from './useAccordionStyleProps';\n\nconst _AccordionItem = <E extends ElementType = 'article'>(\n props: SpiritAccordionItemProps<E>,\n ref: PolymorphicRef<E>,\n) => {\n const { children, elementType = 'article', id, ...restProps } = props;\n\n const Component = elementType as ElementType;\n\n const { classProps } = useAccordionStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps: classProps.item, styleProps });\n\n const contextValue = { id };\n\n return (\n <Component {...transferProps} id={id} {...mergedStyleProps} ref={ref}>\n <AccordionItemProvider value={contextValue}>{children}</AccordionItemProvider>\n </Component>\n );\n};\n\nconst AccordionItem = forwardRef<HTMLElement, SpiritAccordionItemProps<'article'>>(\n _AccordionItem,\n) as unknown as PolymorphicComponent<'article', AccordionItemProps>;\n\nAccordionItem.spiritComponent = 'AccordionItem';\nAccordionItem.displayName = 'AccordionItem';\n\nexport default AccordionItem;\n","export const DEFAULT_BOX_SIZE = 24;\n","import { cssVariablePrefix } from '@alma-oss/spirit-design-tokens';\nimport classNames from 'classnames';\nimport { type CSSProperties } from 'react';\nimport { TextColors } from '../../constants';\nimport { useClassNamePrefix } from '../../hooks';\nimport type { IconBoxSize, IconStyleProps, SpiritIconProps } from '../../types';\n\nconst setCustomDimension = (prefix: string, size: IconBoxSize): CSSProperties => {\n const style: CSSProperties = {};\n\n if (typeof size === 'object') {\n Object.entries(size).forEach(([breakpoint, breakpointSize]) => {\n const breakpointSuffix = breakpoint === 'mobile' ? '' : `-${breakpoint}`;\n\n (style as Record<string, string | undefined>)[`${prefix}${breakpointSuffix}`] = `${breakpointSize?.toString()}px`;\n });\n }\n\n return style;\n};\n\nexport interface IconStyles {\n classProps: string;\n iconStyleProps: CSSProperties;\n props: Omit<SpiritIconProps, keyof IconStyleProps>;\n}\n\nexport const useIconStyleProps = (props: SpiritIconProps): IconStyles => {\n const { boxSize, color, name, ...otherProps } = props;\n const stylePrefix: string = `--${cssVariablePrefix}icon`;\n const isDualtoneIcon = String(name).includes('-dualtone');\n const dualtoneColorWithDefault = isDualtoneIcon && !color ? TextColors.PRIMARY : color;\n\n const iconClass = useClassNamePrefix('Icon');\n const iconDualtoneColorClass = `${iconClass}--${dualtoneColorWithDefault}`;\n const classProps = classNames(iconClass, {\n [iconDualtoneColorClass]: color || dualtoneColorWithDefault,\n });\n\n const customizedIconStyle = {\n ...(boxSize ? setCustomDimension(`${stylePrefix}-size`, boxSize) : {}),\n };\n\n return {\n classProps,\n iconStyleProps: customizedIconStyle,\n props: otherProps,\n };\n};\n","'use client';\n\nimport React, { type ForwardedRef, type ReactElement, forwardRef } from 'react';\nimport { useIcon, useStyleProps } from '../../hooks';\nimport { type ForwardRefComponent, type SpiritIconProps } from '../../types';\nimport { htmlReactParser, mergeStyleProps } from '../../utils';\nimport { DEFAULT_BOX_SIZE } from './constants';\nimport { useIconBoxSize } from './useIconBoxSize';\nimport { useIconStyleProps } from './useIconStyleProps';\n\nconst defaultProps = {\n ariaHidden: true,\n boxSize: DEFAULT_BOX_SIZE,\n};\n\nconst _Icon = (props: SpiritIconProps, ref: ForwardedRef<SVGSVGElement>): ReactElement => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { boxSize, name, title, ariaHidden, ...restProps } = propsWithDefaults;\n\n let icon = useIcon(name);\n const iconSize = useIconBoxSize(boxSize);\n\n const { classProps, iconStyleProps, props: modifiedProps } = useIconStyleProps({ boxSize, name, ...restProps });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps('svg', {\n classProps,\n iconStyleProps,\n styleProps,\n });\n\n if (title) {\n icon = `<title>${title}</title>${icon}`;\n }\n\n return (\n // @ts-ignore: Incompatible HTMLElement and SVGSVGElement\n <svg\n {...otherProps}\n {...mergedStyleProps}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n width={iconSize}\n height={iconSize}\n aria-hidden={ariaHidden}\n ref={ref}\n >\n {htmlReactParser(icon)}\n </svg>\n );\n};\n\nconst Icon = forwardRef<SVGSVGElement, SpiritIconProps>(_Icon) as ForwardRefComponent<SVGSVGElement, SpiritIconProps>;\n\nIcon.spiritComponent = 'Icon';\nIcon.displayName = 'Icon';\n\nexport default Icon;\n","import { type IconBoxSize } from '../../types';\nimport { DEFAULT_BOX_SIZE } from './constants';\n\nexport const useIconBoxSize = (boxSize: IconBoxSize | undefined) =>\n typeof boxSize === 'object' ? (boxSize.mobile ?? DEFAULT_BOX_SIZE) : (boxSize ?? DEFAULT_BOX_SIZE);\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport {\n type AccordionHeaderProps,\n type PolymorphicComponent,\n type PolymorphicRef,\n type SpiritAccordionHeaderProps,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { Icon } from '../Icon';\nimport { useAccordionContext } from './AccordionContext';\nimport { useAccordionItemContext } from './AccordionItemContext';\nimport { useAccordionAriaProps } from './useAccordionAriaProps';\nimport { useAccordionStyleProps } from './useAccordionStyleProps';\nimport { useOpenItem } from './useOpenItem';\n\nconst defaultProps: Partial<SpiritAccordionHeaderProps> = {\n elementType: 'h3',\n};\n\nconst _AccordionHeader = <E extends ElementType = 'h3'>(\n props: SpiritAccordionHeaderProps<E>,\n ref: PolymorphicRef<E>,\n) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType = 'h3', children, slot, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { classProps } = useAccordionStyleProps();\n const { toggle } = useAccordionContext();\n const { id } = useAccordionItemContext();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const { isOpen } = useOpenItem(id);\n const { triggerProps, headerProps } = useAccordionAriaProps({ id, isOpen });\n const mergedStyleProps = mergeStyleProps(Component, {\n classProps: classProps.header,\n styleProps,\n });\n\n const itemToggle = () => {\n if (toggle && id) {\n toggle(id);\n }\n };\n\n return (\n <Component {...transferProps} {...mergedStyleProps} {...headerProps} ref={ref}>\n <button type=\"button\" className={classProps.toggle} onClick={itemToggle} {...triggerProps}>\n {children}\n </button>\n <span className={classProps.side}>\n {slot && <span className={classProps.slot}>{slot}</span>}\n <span className={classProps.icon}>\n <Icon name=\"chevron-down\" />\n </span>\n </span>\n </Component>\n );\n};\n\nconst AccordionHeader = forwardRef<HTMLHeadingElement, SpiritAccordionHeaderProps<'h3'>>(\n _AccordionHeader,\n) as unknown as PolymorphicComponent<'h3', AccordionHeaderProps>;\n\nAccordionHeader.spiritComponent = 'AccordionHeader';\nAccordionHeader.displayName = 'AccordionHeader';\n\nexport default AccordionHeader;\n","function _setPrototypeOf(t, e) {\n return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {\n return t.__proto__ = e, t;\n }, _setPrototypeOf(t, e);\n}\nexport { _setPrototypeOf as default };","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","module.exports = Function.call.bind(Object.prototype.hasOwnProperty);\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = require('./lib/has');\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) { /**/ }\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar has = require('./lib/has');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bigint: createPrimitiveTypeChecker('bigint'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message, data) {\n this.message = message;\n this.data = data && typeof data === 'object' ? data: {};\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),\n {expectedType: expectedType}\n );\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var expectedTypes = [];\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);\n if (checkerResult == null) {\n return null;\n }\n if (checkerResult.data && has(checkerResult.data, 'expectedType')) {\n expectedTypes.push(checkerResult.data.expectedType);\n }\n }\n var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function invalidValidatorError(componentName, location, propFullName, key, type) {\n return new PropTypeError(\n (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'\n );\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (has(shapeTypes, key) && typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","export default {\n disabled: false\n};","import PropTypes from 'prop-types';\nexport var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n enter: PropTypes.number,\n exit: PropTypes.number,\n appear: PropTypes.number\n}).isRequired]) : null;\nexport var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({\n enter: PropTypes.string,\n exit: PropTypes.string,\n active: PropTypes.string\n}), PropTypes.shape({\n enter: PropTypes.string,\n enterDone: PropTypes.string,\n enterActive: PropTypes.string,\n exit: PropTypes.string,\n exitDone: PropTypes.string,\n exitActive: PropTypes.string\n})]) : null;","import React from 'react';\nexport default React.createContext(null);","export var forceReflow = function forceReflow(node) {\n return node.scrollTop;\n};","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { forceReflow } from './utils/reflow';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * <Transition in={inProp} timeout={duration}>\n * {state => (\n * <div style={{\n * ...defaultStyle,\n * ...transitionStyles[state]\n * }}>\n * I'm a fade Transition!\n * </div>\n * )}\n * </Transition>\n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * <div>\n * <Transition in={inProp} timeout={500}>\n * {state => (\n * // ...\n * )}\n * </Transition>\n * <button onClick={() => setInProp(true)}>\n * Click to Enter\n * </button>\n * </div>\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n if (this.props.unmountOnExit || this.props.mountOnEnter) {\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749\n // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.\n // To make the animation happen, we have to separate each rendering and avoid being processed as batched.\n\n if (node) forceReflow(node);\n }\n\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A React reference to DOM element that need to transition:\n * https://stackoverflow.com/a/51127130/4671932\n *\n * - When `nodeRef` prop is used, `node` is not passed to callback functions\n * (e.g. `onEnter`) because user already has direct access to the node.\n * - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n * `nodeRef` need to be provided to `Transition` with changed `key` prop\n * (see\n * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n */\n nodeRef: PropTypes.shape({\n current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n var value = propValue[key];\n return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n }\n }),\n\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * <Transition in={this.state.in} timeout={150}>\n * {state => (\n * <MyComponent className={`fade fade-${state}`} />\n * )}\n * </Transition>\n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `<CSSTransition>` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. Timeouts are still used as a fallback if provided.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;","import setPrototypeOf from \"./setPrototypeOf.js\";\nfunction _inheritsLoose(t, o) {\n t.prototype = Object.create(o.prototype), t.prototype.constructor = t, setPrototypeOf(t, o);\n}\nexport { _inheritsLoose as default };","function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (-1 !== e.indexOf(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","import { useDeprecationMessage } from '../../hooks';\nimport { type BaseCollapseProps, type Booleanish, type CollapseProps } from '../../types';\n\nconst ATTRIBUTE_ARIA_EXPANDED = 'aria-expanded';\nconst ATTRIBUTE_ARIA_CONTROLS = 'aria-controls';\nconst ATTRIBUTE_DATA_BREAKPOINT = 'data-spirit-breakpoint';\n\nexport interface CollapseAria {\n ariaProps: {\n /** wrapper returned props */\n root: {\n [ATTRIBUTE_DATA_BREAKPOINT]: CollapseProps['collapsibleToBreakpoint'];\n };\n /** trigger returned props */\n trigger: {\n [ATTRIBUTE_ARIA_EXPANDED]: Booleanish;\n [ATTRIBUTE_ARIA_CONTROLS]: string;\n };\n };\n props: BaseCollapseProps;\n}\n\nexport const useCollapseAriaProps = (props: CollapseProps): CollapseAria => {\n const { isOpen, collapsibleToBreakpoint, ...modifiedProps } = props;\n\n useDeprecationMessage({\n method: 'custom',\n trigger: !modifiedProps.id,\n componentName: 'Collapse',\n customText: 'The \"id\" property will be required instead of optional starting from the next major version.',\n });\n\n return {\n ariaProps: {\n root: {\n [ATTRIBUTE_DATA_BREAKPOINT]: collapsibleToBreakpoint,\n },\n trigger: {\n [ATTRIBUTE_ARIA_EXPANDED]: isOpen,\n [ATTRIBUTE_ARIA_CONTROLS]: String(modifiedProps.id),\n },\n },\n props: modifiedProps,\n };\n};\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { CLASS_NAME_OPEN } from '../../constants';\nimport { useClassNamePrefix } from '../../hooks';\n\nexport interface CollapseStyles {\n /** className props */\n classProps: {\n root: string;\n content: string;\n };\n /** style props */\n styleProps?: {\n height?: string | number;\n };\n}\n\nexport const useCollapseStyleProps = (\n isOpen: boolean,\n elementType: ElementType,\n collapseHeight?: string,\n): CollapseStyles => {\n const collapseClass = useClassNamePrefix('Collapse');\n const collapseContentClass = `${collapseClass}__content`;\n const openClass = isOpen ? CLASS_NAME_OPEN : '';\n const rootClass = classNames(collapseClass, openClass);\n\n // For span elements, don't use height-based transitions as they use display: none/inline\n const isSpanElement = elementType === 'span';\n const styleProps = isSpanElement ? {} : { height: isOpen ? collapseHeight : 0 };\n\n return {\n classProps: {\n root: rootClass,\n content: collapseContentClass,\n },\n styleProps,\n };\n};\n","'use client';\n\nimport React, { type ElementType, type MutableRefObject, useRef } from 'react';\nimport { Transition, type TransitionStatus } from 'react-transition-group';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCollapseProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useCollapseAriaProps } from './useCollapseAriaProps';\nimport { useCollapseStyleProps } from './useCollapseStyleProps';\nimport { useResizeHeight } from './useResizeHeight';\n\nconst TRANSITION_DURATION = 250;\n\nconst transitioningStyles = {\n entering: 'is-transitioning',\n entered: '',\n exiting: 'is-transitioning',\n exited: '',\n};\n\nconst defaultProps: Partial<SpiritCollapseProps> = {\n elementType: 'div',\n isOpen: false,\n collapsibleToBreakpoint: undefined,\n transitionDuration: TRANSITION_DURATION,\n};\n\nconst Collapse = (props: SpiritCollapseProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n children,\n transitionDuration = TRANSITION_DURATION,\n ...restProps\n } = propsWithDefaults;\n\n const rootElementRef: MutableRefObject<HTMLDivElement | null> = useRef(null);\n const collapseElementRef: MutableRefObject<HTMLDivElement | null> = useRef(null);\n const collapseHeight = useResizeHeight(collapseElementRef);\n\n const { classProps, styleProps: collapseStyleProps } = useCollapseStyleProps(\n restProps.isOpen,\n ElementTag,\n collapseHeight,\n );\n const { ariaProps, props: otherProps } = useCollapseAriaProps(restProps);\n const { styleProps, props: transferProps } = useStyleProps(otherProps);\n\n const mergedCollapseStyleProps = {\n className: styleProps.className,\n style: { ...collapseStyleProps, ...styleProps.style },\n };\n\n // For inline elements, when open, render content outside the collapse element\n const isInlineElement = ElementTag === 'span';\n if (isInlineElement && restProps.isOpen) {\n return children;\n }\n\n return (\n <Transition in={restProps.isOpen} nodeRef={rootElementRef} timeout={transitionDuration}>\n {(transitionState: TransitionStatus) => (\n <ElementTag\n {...transferProps}\n {...ariaProps.root}\n {...mergeStyleProps(ElementTag, {\n classProps: classProps.root,\n styleProps,\n collapseStyleProps: mergedCollapseStyleProps,\n transitioningStyles: transitioningStyles[transitionState as keyof typeof transitioningStyles],\n })}\n ref={rootElementRef}\n >\n <ElementTag ref={collapseElementRef} className={classProps.content}>\n {children}\n </ElementTag>\n </ElementTag>\n )}\n </Transition>\n );\n};\n\nCollapse.spiritComponent = 'Collapse';\n\nexport default Collapse;\n","'use client';\n\nimport { type RefObject, useState } from 'react';\nimport { useResizeObserver } from '../../hooks/useResizeObserver';\n\ntype Size = {\n height: number | undefined;\n};\n\nexport const useResizeHeight = (ref: RefObject<HTMLElement>): string | undefined => {\n const [height, setHeight] = useState<string | undefined>(undefined);\n\n const onResize = (size: Size) => {\n const currentHeight = size.height;\n setHeight(`${currentHeight}px`);\n };\n\n useResizeObserver({ ref, onResize });\n\n return height;\n};\n","'use client';\n\nimport { useState } from 'react';\nimport { type ClickEvent } from '../../types';\n\nexport interface CollapseReturn {\n /** collapse event handler */\n toggleHandler: (event: ClickEvent) => void;\n /** collapse toggle */\n toggle: (isOpen: boolean) => void;\n /** collapsed state */\n isOpen: boolean;\n}\n\nexport const useCollapse = (defaultOpenState: boolean): CollapseReturn => {\n const [isOpen, toggle] = useState<boolean>(defaultOpenState);\n\n const toggleHandler = (event: ClickEvent) => {\n event.preventDefault();\n toggle(!isOpen);\n };\n\n return {\n toggleHandler,\n toggle,\n isOpen,\n };\n};\n","'use client';\n\nimport React from 'react';\nimport { type SpiritUncontrolledCollapseProps } from '../../types';\nimport Collapse from './Collapse';\nimport { useCollapse } from './useCollapse';\nimport { useCollapseAriaProps } from './useCollapseAriaProps';\n\nconst defaultProps = {\n isOpen: false,\n};\n\nconst UncontrolledCollapse = (props: SpiritUncontrolledCollapseProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n children,\n /** @deprecated \"hideOnCollapse\" property will be replaced in the next major version. Please use \"isDisposable\" instead. */\n hideOnCollapse,\n isDisposable,\n renderTrigger,\n ...restProps\n } = propsWithDefaults;\n const { isOpen, toggleHandler } = useCollapse(restProps.isOpen);\n const { ariaProps } = useCollapseAriaProps({ ...restProps, isOpen });\n\n const isDisposed = hideOnCollapse || isDisposable;\n\n const triggerRenderHandler = () => {\n const showTrigger = isDisposed ? !(isDisposed && isOpen) : true;\n\n return renderTrigger && showTrigger\n ? renderTrigger({\n isOpen,\n onClick: toggleHandler,\n ...ariaProps.trigger,\n })\n : null;\n };\n\n return (\n <>\n {triggerRenderHandler()}\n {isDisposed && isOpen ? (\n children\n ) : (\n <Collapse {...restProps} isOpen={isOpen}>\n {children}\n </Collapse>\n )}\n </>\n );\n};\n\nUncontrolledCollapse.spiritComponent = 'UncontrolledCollapse';\n\nexport default UncontrolledCollapse;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type AccordionContentProps } from '../../types';\nimport { Collapse } from '../Collapse';\nimport { useAccordionItemContext } from './AccordionItemContext';\nimport { useAccordionAriaProps } from './useAccordionAriaProps';\nimport { useAccordionStyleProps } from './useAccordionStyleProps';\nimport { useOpenItem } from './useOpenItem';\n\nconst AccordionContent = ({ children, ...restProps }: AccordionContentProps) => {\n const { classProps } = useAccordionStyleProps();\n const { id } = useAccordionItemContext();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const { isOpen } = useOpenItem(id);\n const { contentProps } = useAccordionAriaProps({ id, isOpen });\n\n return (\n <Collapse isOpen={isOpen} {...contentProps}>\n <div {...transferProps} {...styleProps} className={classNames(classProps.content, styleProps.className)}>\n {children}\n </div>\n </Collapse>\n );\n};\n\nAccordionContent.spiritComponent = 'AccordionContent';\n\nexport default AccordionContent;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { type SpiritAccordionProps, type SpiritUncontrolledAccordionProps } from '../../types';\nimport Accordion from './Accordion';\nimport { useAccordion } from './useAccordion';\n\nconst UncontrolledAccordion = <E extends ElementType = 'section'>(props: SpiritUncontrolledAccordionProps<E>) => {\n const { defaultOpen, stayOpen, ...restProps } = props;\n\n const { open, toggle } = useAccordion({ defaultOpen, stayOpen });\n\n return <Accordion {...(restProps as SpiritAccordionProps<E>)} open={open} toggle={toggle} />;\n};\n\nUncontrolledAccordion.spiritComponent = 'UncontrolledAccordion';\nUncontrolledAccordion.displayName = 'UncontrolledAccordion';\n\nexport default UncontrolledAccordion;\n","import classNames from 'classnames';\nimport { type CSSProperties } from 'react';\nimport { DirectionAxis } from '../../constants';\nimport {\n useAlignmentClass,\n useClassNamePrefix,\n useDeprecationMessage,\n useSpacingStyle,\n useWrapClass,\n} from '../../hooks';\nimport { type FlexAlignmentXType, type FlexAlignmentYType, type FlexStyleProps, type SpacingType } from '../../types';\nimport { generateStylePropsClassNames, stringOrObjectKebabCaseToCamelCase } from '../../utils';\n\ninterface FlexCSSProperties extends CSSProperties {\n [key: string]: string | undefined | number;\n}\n\nexport interface FlexStyle<T> {\n /** className props */\n classProps: string;\n /** Props for the flex element. */\n props: T;\n /** Style props for the element */\n styleProps: FlexCSSProperties;\n}\n\nexport function useFlexStyleProps(props: FlexStyleProps): FlexStyle<FlexStyleProps> {\n const { alignmentX, alignmentY, direction, spacing, spacingX, spacingY, isWrapping, ...restProps } = props;\n\n // @see https://jira.almacareer.tech/browse/DS-1629\n useDeprecationMessage({\n method: 'custom',\n trigger: direction === 'row' || direction === 'column',\n componentName: 'Flex',\n customText:\n 'Direction values `row` and `column` are deprecated and will be removed in the next major release. Use `horizontal` and `vertical` values instead.',\n });\n\n const flexClass = useClassNamePrefix('Flex');\n\n const flexStyle = {\n ...useSpacingStyle(spacing as SpacingType, 'flex', DirectionAxis.X),\n ...useSpacingStyle(spacing as SpacingType, 'flex', DirectionAxis.Y),\n ...useSpacingStyle(spacingX as SpacingType, 'flex', DirectionAxis.X),\n ...useSpacingStyle(spacingY as SpacingType, 'flex', DirectionAxis.Y),\n };\n\n const directionClass = generateStylePropsClassNames(flexClass, stringOrObjectKebabCaseToCamelCase(direction!));\n\n const classes = classNames(flexClass, useWrapClass(flexClass, isWrapping), {\n [useAlignmentClass(flexClass, alignmentX as FlexAlignmentXType, 'alignmentX')]: alignmentX,\n [useAlignmentClass(flexClass, alignmentY as FlexAlignmentYType, 'alignmentY')]: alignmentY,\n [directionClass]: direction,\n });\n\n return {\n classProps: classes,\n props: restProps,\n styleProps: flexStyle,\n };\n}\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { AlignmentXExtended, AlignmentYExtended, DirectionExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type FlexProps, type PolymorphicComponent, type PolymorphicRef, type SpiritFlexProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useFlexStyleProps } from './useFlexStyleProps';\n\nconst defaultProps = {\n alignmentX: AlignmentXExtended.STRETCH,\n alignmentY: AlignmentYExtended.STRETCH,\n direction: DirectionExtended.HORIZONTAL,\n elementType: 'div',\n isWrapping: false,\n};\n\nconst _Flex = <E extends ElementType = 'div'>(props: SpiritFlexProps<E>, ref: PolymorphicRef<E>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType = defaultProps.elementType,\n /**\n * @deprecated \"row\" and \"column\" values will be removed in the next major version. Please use \"horizontal\" and \"vertical\" instead.\n * @see https://jira.almacareer.tech/browse/DS-1629\n */\n direction,\n children,\n ...restProps\n } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { classProps, props: modifiedProps, styleProps: flexStyle } = useFlexStyleProps({ direction, ...restProps });\n const { styleProps, props: otherProps } = useStyleProps({ ...modifiedProps });\n const mergedStyleProps = mergeStyleProps(Component, { classProps, flexStyle, styleProps, otherProps });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </Component>\n );\n};\n\nconst Flex = forwardRef<HTMLDivElement, SpiritFlexProps<'div'>>(_Flex) as unknown as PolymorphicComponent<\n 'div',\n FlexProps\n>;\n\nFlex.spiritComponent = 'Flex';\nFlex.displayName = 'Flex';\n\nexport default Flex;\n","'use client';\n\nimport React, { type ReactElement } from 'react';\nimport { AlignmentXExtended, DirectionExtended } from '../../constants';\nimport { type SpiritActionGroupProps } from '../../types';\nimport { Flex } from '../Flex';\n\nconst defaultProps: Partial<SpiritActionGroupProps> = {\n alignmentX: {\n mobile: AlignmentXExtended.STRETCH,\n tablet: AlignmentXExtended.LEFT,\n },\n direction: {\n mobile: DirectionExtended.VERTICAL,\n tablet: DirectionExtended.HORIZONTAL,\n },\n};\n\nconst ActionGroup = (props: SpiritActionGroupProps): ReactElement => {\n const { children, ...restProps } = props;\n const propsWithDefaults = { ...defaultProps, ...restProps };\n\n return <Flex {...propsWithDefaults}>{children}</Flex>;\n};\n\nActionGroup.spiritComponent = 'ActionGroup';\n\nexport default ActionGroup;\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type AlertBaseProps, type AlertProps } from '../../types';\n\nexport interface AlertStyle {\n /** className props */\n classProps: string;\n /** props to be passed to the element */\n props: AlertBaseProps;\n}\n\nexport function useAlertStyleProps<C = void>(props: AlertProps<C>): AlertStyle {\n const { color, isCentered, ...modifiedProps } = props;\n\n const alertClass = useClassNamePrefix('Alert');\n const alertColorClass = `${alertClass}--${color}`;\n const alertCenteredClass = `${alertClass}--center`;\n const classProps = classNames(alertClass, {\n [alertColorClass]: color,\n [alertCenteredClass]: isCentered,\n });\n\n return {\n classProps,\n props: modifiedProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type AlertProps, type PolymorphicComponent, type PolymorphicRef, type SpiritAlertProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { Icon } from '../Icon';\nimport { useAlertIcon } from './useAlertIcon';\nimport { useAlertStyleProps } from './useAlertStyleProps';\n\nconst defaultProps = {\n color: 'success',\n isCentered: false,\n elementType: 'div',\n};\n\nconst _Alert = <E extends ElementType = 'div', C = void>(props: SpiritAlertProps<E, C>, ref: PolymorphicRef<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType, children, color, iconName, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { classProps, props: modifiedProps } = useAlertStyleProps({ color, ...restProps });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps, styleProps, otherProps });\n const alertIconName = useAlertIcon({ color, iconName, ...otherProps });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n <Icon name={alertIconName} />\n <div>{children}</div>\n </Component>\n );\n};\n\nconst Alert = forwardRef<HTMLDivElement, AlertProps>(_Alert) as unknown as PolymorphicComponent<'div', AlertProps>;\n\nAlert.spiritComponent = 'Alert';\nAlert.displayName = 'Alert';\n\nexport default Alert;\n","import { type ElementType } from 'react';\nimport { useIconName } from '../../hooks/useIconName';\nimport { type SpiritAlertProps } from '../../types';\n\nexport function useAlertIcon<E extends ElementType = 'div', C = void>({ color, iconName }: SpiritAlertProps<E, C>) {\n const iconNameValue = useIconName(color as string, {\n default: 'info',\n success: 'check-plain',\n informative: 'info',\n warning: 'warning',\n danger: 'danger',\n });\n\n return iconName || iconNameValue;\n}\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type AvatarStyleProps } from '../../types';\nimport { generateResponsiveClassNames } from '../../utils';\n\nexport interface AvatarStyles<T> {\n classProps: string;\n props: T;\n}\n\nexport const useAvatarStyleProps = (props: AvatarStyleProps): AvatarStyles<AvatarStyleProps> => {\n const { isSquare, size, ...restProps } = props;\n\n const avatarClass = useClassNamePrefix('Avatar');\n const avatarSquareClass = `${avatarClass}--square`;\n const avatarSizeClass = generateResponsiveClassNames(avatarClass, size);\n\n const classProps = classNames(avatarClass, ...avatarSizeClass, {\n [avatarSquareClass]: isSquare,\n });\n\n return {\n classProps,\n props: restProps,\n };\n};\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { SizesExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type AvatarProps, type PolymorphicComponent, type PolymorphicRef, type SpiritAvatarProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useAvatarStyleProps } from './useAvatarStyleProps';\n\nconst defaultProps = {\n elementType: 'div',\n isSquare: false,\n size: SizesExtended.MEDIUM,\n};\n\nconst _Avatar = <E extends ElementType = 'div'>(props: SpiritAvatarProps<E>, ref: PolymorphicRef<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType = defaultProps.elementType, children, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { classProps, props: modifiedProps } = useAvatarStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps, styleProps });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </Component>\n );\n};\n\nconst Avatar = forwardRef<HTMLDivElement, AvatarProps<'div'>>(_Avatar) as unknown as PolymorphicComponent<\n 'div',\n AvatarProps<string>\n>;\n\nAvatar.spiritComponent = 'Avatar';\nAvatar.displayName = 'Avatar';\n\nexport default Avatar;\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { BorderColors } from '../../constants';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritBoxProps } from '../../types';\n\nexport interface UseBoxStyleProps<E> {\n /** className props */\n classProps: string;\n /** Props for the box element. */\n props: E;\n}\n\nexport const useBoxStyleProps = (\n props: Partial<SpiritBoxProps<ElementType>>,\n): UseBoxStyleProps<Partial<SpiritBoxProps<ElementType>>> => {\n const { backgroundColor, borderColor, borderStyle, borderWidth, textColor, ...restProps } = props || {};\n const boxBackgroundClassName = useClassNamePrefix(`bg-${backgroundColor}`);\n const boxBorderClassName = useClassNamePrefix('border-');\n\n const boxBackgroundColor = backgroundColor ? boxBackgroundClassName : '';\n let boxBorderColor = borderColor ? borderColor.replace('', boxBorderClassName) : '';\n let boxBorderStyle = '';\n const boxBorderWidth = borderWidth ? borderWidth.replace('', boxBorderClassName) : '';\n\n const boxTextColorClass = useClassNamePrefix(textColor ? `text-${textColor}` : '');\n\n if (borderWidth && parseInt(borderWidth, 10) > 0) {\n boxBorderStyle = `${boxBorderClassName}${borderStyle}`;\n if (!borderColor) {\n boxBorderColor = `${boxBorderClassName}${BorderColors.BASIC}`;\n }\n }\n\n const boxClasses = classNames(boxBackgroundColor, boxBorderColor, boxBorderStyle, boxBorderWidth, {\n [boxTextColorClass]: !!textColor,\n });\n\n return {\n classProps: boxClasses,\n props: restProps,\n };\n};\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { BackgroundStyleProps, BorderRadiusStyleProps, BorderStyles, PaddingStyleProps } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type BoxProps, type PolymorphicComponent, type PolymorphicRef } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useBoxStyleProps } from './useBoxStyleProps';\n\nconst defaultProps = {\n elementType: 'div',\n borderStyle: BorderStyles.SOLID,\n};\n\nconst _Box = <E extends ElementType = 'div'>(props: BoxProps<E>, ref: PolymorphicRef<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType = defaultProps.elementType, children, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { classProps, props: modifiedProps } = useBoxStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {\n ...BackgroundStyleProps,\n ...BorderRadiusStyleProps,\n ...PaddingStyleProps,\n });\n const mergedStyleProps = mergeStyleProps(Component, { classProps, styleProps });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </Component>\n );\n};\n\nconst Box = forwardRef<HTMLDivElement, BoxProps<'div'>>(_Box) as unknown as PolymorphicComponent<\n 'div',\n BoxProps<ElementType>\n>;\n\nBox.spiritComponent = 'Box';\nBox.displayName = 'Box';\n\nexport default Box;\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type LinkProps, type LinkStyleProps, UNDERLINED_OPTIONS } from '../../types';\n\nexport function useLinkStyleProps<C = void>(props: LinkStyleProps<C>) {\n const { color, hasVisitedStyleAllowed, isDisabled, underlined, ...restProps } = props;\n\n const linkClass = useClassNamePrefix('link');\n const linkColorClass = `${linkClass}-${color}`;\n const linkDisabledClass = `${linkClass}-disabled`;\n const linkUnderlinedClass = `${linkClass}-underlined`;\n const linkNotUnderlinedClass = `${linkClass}-not-underlined`;\n const linkVisitedStyleAllowedClass = `${linkClass}-allow-visited-style`;\n\n const className = classNames(linkColorClass, {\n [linkDisabledClass]: isDisabled,\n [linkUnderlinedClass]: underlined === UNDERLINED_OPTIONS.ALWAYS,\n [linkNotUnderlinedClass]: underlined === UNDERLINED_OPTIONS.NEVER,\n [linkVisitedStyleAllowedClass]: hasVisitedStyleAllowed,\n });\n\n return {\n classProps: className,\n props: restProps as Partial<LinkProps<C>>,\n };\n}\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type LinkProps, type PolymorphicComponent, type PolymorphicRef, type SpiritLinkProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useLinkStyleProps } from './useLinkStyleProps';\n\nconst defaultProps = {\n elementType: 'a',\n color: 'primary',\n hasVisitedStyleAllowed: false,\n underlined: 'hover',\n};\n\nconst _Link = <E extends ElementType = 'a', C = void>(\n props: SpiritLinkProps<E, C>,\n ref: PolymorphicRef<E>,\n): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType = defaultProps.elementType, children, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { classProps, props: modifiedProps } = useLinkStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps, styleProps, otherProps });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} href={restProps.href} ref={ref}>\n {children}\n </Component>\n );\n};\n\nconst Link = forwardRef<HTMLAnchorElement, SpiritLinkProps<'a', void>>(_Link) as unknown as PolymorphicComponent<\n 'a',\n LinkProps<void>\n>;\n\nLink.spiritComponent = 'Link';\nLink.displayName = 'Link';\n\nexport default Link;\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks/useClassNamePrefix';\nimport { type BreadcrumbsStyleProps } from '../../types';\n\nexport interface BreadcrumbsStyles {\n /** className props */\n classProps: {\n root: string;\n item: string;\n };\n /** props to be passed to the element */\n props: BreadcrumbsStyleProps;\n}\n\nexport function useBreadcrumbsStyleProps<P extends BreadcrumbsStyleProps>(props: P): BreadcrumbsStyles {\n const { isGoBackOnly, ...restProps } = props;\n const breadcrumbsClass = useClassNamePrefix('Breadcrumbs');\n const displayNoneClassName = useClassNamePrefix('d-none');\n const displayTabletFlexClassName = useClassNamePrefix('d-tablet-flex');\n const displayTabletNoneClassName = useClassNamePrefix('d-tablet-none');\n\n return {\n classProps: {\n root: breadcrumbsClass,\n item: classNames({\n [displayNoneClassName]: !isGoBackOnly,\n [displayTabletFlexClassName]: !isGoBackOnly,\n [displayTabletNoneClassName]: isGoBackOnly,\n }),\n },\n props: restProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritBreadcrumbsItemProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { Link } from '../Link';\nimport { useBreadcrumbsStyleProps } from './useBreadcrumbsStyleProps';\n\nconst defaultProps = {\n iconNameEnd: 'chevron-right',\n iconNameStart: 'chevron-left',\n isCurrent: false,\n isGoBackOnly: false,\n};\n\nconst BreadcrumbsItem = (props: SpiritBreadcrumbsItemProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, href, isCurrent, iconNameStart, iconNameEnd, ...restProps } = propsWithDefaults;\n const { classProps, props: otherProps } = useBreadcrumbsStyleProps({ ...restProps });\n const { styleProps, props: transferProps } = useStyleProps(otherProps);\n\n return (\n <li {...transferProps} {...styleProps} className={classNames(classProps.item, styleProps.className)}>\n {restProps.isGoBackOnly && iconNameStart && <Icon name={iconNameStart} />}\n {!href && isCurrent ? (\n children\n ) : (\n <Link\n href={href}\n color={isCurrent ? 'secondary' : 'primary'}\n underlined={isCurrent ? 'hover' : 'always'}\n aria-current={isCurrent ? 'page' : undefined}\n >\n {children}\n </Link>\n )}\n {!isCurrent && !restProps.isGoBackOnly && iconNameEnd && <Icon name={iconNameEnd} />}\n </li>\n );\n};\n\nBreadcrumbsItem.spiritComponent = 'BreadcrumbsItem';\n\nexport default BreadcrumbsItem;\n","'use client';\n\nimport React, { type ElementType, Fragment } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritBreadcrumbsProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport BreadcrumbsItem from './BreadcrumbsItem';\nimport { useBreadcrumbsStyleProps } from './useBreadcrumbsStyleProps';\n\nconst defaultProps: Partial<SpiritBreadcrumbsProps> = {\n elementType: 'nav',\n items: [],\n};\n\nconst Breadcrumbs = <E extends ElementType = 'nav'>(props: SpiritBreadcrumbsProps<E>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, elementType: ElementTag = 'nav', goBackTitle, items, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useBreadcrumbsStyleProps({ ...restProps });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.root, styleProps });\n\n const isLast = (index: number, itemsCount: number) => index === itemsCount - 1;\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} aria-label=\"Breadcrumb\">\n <ol>\n {children ||\n items?.map((item, index) => (\n <Fragment key={`BreadcrumbsItem_${item.title}`}>\n {index === items.length - 2 && goBackTitle && (\n <BreadcrumbsItem href={item.url || undefined} isGoBackOnly>\n {goBackTitle}\n </BreadcrumbsItem>\n )}\n <BreadcrumbsItem href={item.url || undefined} isCurrent={isLast(index, items?.length)}>\n {item.title}\n </BreadcrumbsItem>\n </Fragment>\n ))}\n </ol>\n </ElementTag>\n );\n};\n\nBreadcrumbs.spiritComponent = 'Breadcrumbs';\n\nexport default Breadcrumbs;\n","import { useClick } from '../../hooks';\nimport { type SpiritButtonProps } from '../../types';\n\nexport type UseButtonProps = Partial<SpiritButtonProps>;\nexport type UseButtonReturn = {\n buttonProps: UseButtonProps;\n};\n\nexport const useButtonProps = (props: UseButtonProps): UseButtonReturn => {\n const { isDisabled, isLoading, onClick, type = 'button' } = props;\n const handleClick = useClick(isDisabled, onClick);\n\n const additionalProps = {\n type,\n disabled: isDisabled || isLoading,\n };\n\n return {\n buttonProps: {\n ...additionalProps,\n onClick: handleClick,\n },\n };\n};\n","import classNames from 'classnames';\nimport { warning } from '../../common/utilities';\nimport { useClassNamePrefix, useDeprecationMessage, useSymmetry } from '../../hooks';\nimport { type ButtonColor, type ButtonSize, type ButtonStyleProps } from '../../types';\nimport { applyColor, applySize } from '../../utils/classname';\nimport { compose } from '../../utils/compose';\n\n// `${componentClassName}--${color}`;\nconst getButtonColorClassname = <C = void>(className: string, color: ButtonColor<C>): string =>\n compose(applyColor<ButtonColor<C>>(color))(className);\n\nconst getButtonSizeClassname = <S = void>(className: string, size: ButtonSize<S>): string =>\n compose(applySize<ButtonSize<S>>(size))(className);\n\nexport function useButtonStyleProps<C = void, S = void>(props: ButtonStyleProps<C, S>) {\n const { color, isBlock, isDisabled, isLoading, isSymmetrical, size, ...restProps } = props;\n\n // @see https://jira.almacareer.tech/browse/DS-1897\n useDeprecationMessage({\n method: 'custom',\n trigger: !!isBlock,\n componentName: 'Button',\n customText:\n \"The `isBlock` property will be deleted in the next major release. Please read component's documentation for more information.\",\n });\n\n const buttonClass = useClassNamePrefix('Button');\n const buttonBlockClass = `${buttonClass}--block`;\n const buttonDisabledClass = `${buttonClass}--disabled`;\n const buttonLoadingClass = `${buttonClass}--loading`;\n\n const { isSymmetricalActive, symmetricalClassName } = useSymmetry(buttonClass, isSymmetrical);\n\n if (isBlock && isSymmetricalActive) {\n warning(false, 'isBlock and isSymmetrical props are mutually exclusive');\n }\n\n // @deprecated \"isBlock\" will be removed in the next major version. Please read component's documentation for more information.\n const shouldApplyBlock = () => isBlock && !isSymmetricalActive;\n\n const classProps = classNames(\n buttonClass,\n getButtonColorClassname(buttonClass, color as ButtonColor<C>),\n getButtonSizeClassname(buttonClass, size as ButtonSize<S>),\n {\n [buttonBlockClass]: shouldApplyBlock(),\n [buttonDisabledClass]: isDisabled || isLoading,\n [buttonLoadingClass]: isLoading,\n },\n symmetricalClassName,\n );\n\n return {\n classProps,\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { createContext, useContext } from 'react';\n\ntype PropsContextType = Record<string, unknown> | null;\n\nconst PropsContext = createContext<PropsContextType>(null);\n\nconst PropsProvider = ({ value, children }: { value: Record<string, unknown>; children: React.ReactNode }) => {\n const parentContext = useContext(PropsContext);\n const mergedValue = parentContext ? { ...parentContext, ...value } : value;\n\n return React.createElement(PropsContext.Provider, { value: mergedValue }, children);\n};\nconst PropsConsumer = PropsContext.Consumer;\n\n/**\n * Merges the props from the context with the provided props.\n * If the context is available, its values will override the corresponding props.\n *\n * @template T - The type of the props object\n * @param {T} props - Props to merge with the context\n * @returns {T} The merged props with context values taking precedence\n */\nconst useContextProps = <T extends PropsContextType>(props: T = {} as T): T => {\n const context = useContext(PropsContext);\n\n return context ? { ...props, ...context } : props;\n};\n\nexport default PropsContext;\nexport { PropsConsumer, PropsProvider, useContextProps };\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpinnerProps, type SpiritSpinnerProps } from '../../types';\n\nexport interface SpinnerStyles {\n /** className props */\n classProps: string | null;\n /** props to be passed to the element */\n props: SpinnerProps;\n}\n\nexport function useSpinnerStyleProps<C extends string | undefined = undefined>(\n props: SpiritSpinnerProps<C>,\n): SpinnerStyles {\n const { color, ...restProps } = props;\n\n const spinnerClass = useClassNamePrefix('text');\n const spinnerColorClass = color ? `${spinnerClass}-${color}` : '';\n const spinnerAnimation = useClassNamePrefix('animation-spin-clockwise');\n\n const className = classNames(spinnerColorClass, spinnerAnimation);\n\n return {\n classProps: className,\n props: restProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritSpinnerProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { useSpinnerStyleProps } from './useSpinnerStyleProps';\n\nconst Spinner = <C extends undefined = undefined>(props: SpiritSpinnerProps<C>): JSX.Element => {\n const { classProps, props: modifiedProps } = useSpinnerStyleProps(props);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n // @ts-ignore: Incompatible HTMLElement and SVGSVGElement\n <Icon\n {...otherProps}\n name=\"spinner\"\n UNSAFE_className={classNames(classProps, styleProps.className)}\n UNSAFE_style={styleProps.style}\n />\n );\n};\n\nSpinner.spiritComponent = 'Spinner';\n\nexport default Spinner;\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useContextProps } from '../../context';\nimport { useStyleProps } from '../../hooks';\nimport { type ButtonProps, type PolymorphicComponent, type PolymorphicRef, type SpiritButtonProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { Spinner } from '../Spinner';\nimport { useButtonProps } from './useButtonProps';\nimport { useButtonStyleProps } from './useButtonStyleProps';\n\nconst defaultProps = {\n color: 'primary',\n /**\n * @deprecated \"isBlock\" property will be removed in the next major version. Please read component's README for more information.\n * @see https://jira.almacareer.tech/browse/DS-1897\n */\n isBlock: false,\n isDisabled: false,\n isLoading: false,\n isSymmetrical: false,\n size: 'medium',\n type: 'button',\n elementType: 'button',\n};\n\nconst _Button = <E extends ElementType = 'button', C = void, S = void>(\n props: SpiritButtonProps<E, C, S>,\n ref: PolymorphicRef<E>,\n) => {\n const propsWithContext = useContextProps();\n const propsWithDefaults = { ...defaultProps, ...props, ...propsWithContext };\n const { elementType = defaultProps.elementType, children, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { buttonProps } = useButtonProps(restProps);\n const { classProps, props: modifiedProps } = useButtonStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps, styleProps, otherProps });\n\n return (\n <Component {...otherProps} {...buttonProps} ref={ref} {...mergedStyleProps}>\n {children}\n {restProps.isLoading && <Spinner />}\n </Component>\n );\n};\n\nconst Button = forwardRef<HTMLButtonElement, SpiritButtonProps<'button', void, void>>(\n _Button,\n) as unknown as PolymorphicComponent<'button', ButtonProps<void, void>>;\n\nButton.spiritComponent = 'Button';\nButton.displayName = 'Button';\n\nexport default Button;\n","import { type ElementType } from 'react';\nimport { useClick } from '../../hooks';\nimport { type SpiritButtonLinkProps } from '../../types';\n\nexport const useButtonLinkProps = <E extends ElementType = 'a', C = void, S = void>(\n props: SpiritButtonLinkProps<E, C, S>,\n) => {\n const { elementType, isDisabled, isLoading, onClick, href, target, rel } = props;\n const handleClick = useClick(isDisabled, onClick);\n\n const additionalProps = {\n role: 'button',\n href: elementType === 'a' && isDisabled ? undefined : href,\n target: elementType === 'a' ? target : undefined,\n disabled: isDisabled || isLoading,\n rel: elementType === 'a' ? rel : undefined,\n };\n\n return {\n buttonLinkProps: {\n ...additionalProps,\n onClick: handleClick,\n },\n };\n};\n","import classNames from 'classnames';\nimport { warning } from '../../common/utilities';\nimport { useClassNamePrefix, useDeprecationMessage, useSymmetry } from '../../hooks';\nimport { type ButtonColor, type ButtonSize, type ButtonStyleProps } from '../../types';\nimport { applyColor, applySize } from '../../utils/classname';\nimport { compose } from '../../utils/compose';\n\n// `${componentClassName}--${color}`;\nconst getButtonLinkColorClassname = <C = void>(className: string, color: ButtonColor<C>): string =>\n compose(applyColor<ButtonColor<C>>(color))(className);\n\nconst getButtonLinkSizeClassname = <S = void>(className: string, size: ButtonSize<S>): string =>\n compose(applySize<ButtonSize<S>>(size))(className);\n\nexport function useButtonLinkStyleProps<C = void, S = void>(props: ButtonStyleProps<C, S>) {\n const { color, isBlock, isDisabled, isLoading, isSymmetrical, size, ...restProps } = props;\n\n // @see https://jira.almacareer.tech/browse/DS-1897\n useDeprecationMessage({\n method: 'custom',\n trigger: !!isBlock,\n componentName: 'ButtonLink',\n customText:\n \"The `isBlock` property will be deleted in the next major release. Please read component's documentation for more information.\",\n });\n\n const buttonClass = useClassNamePrefix('Button');\n const buttonBlockClass = `${buttonClass}--block`;\n const buttonDisabledClass = `${buttonClass}--disabled`;\n const buttonLoadingClass = `${buttonClass}--loading`;\n\n const { isSymmetricalActive, symmetricalClassName } = useSymmetry(buttonClass, isSymmetrical);\n\n if (isBlock && isSymmetricalActive) {\n warning(false, 'isBlock and isSymmetrical props are mutually exclusive');\n }\n\n // @deprecated \"isBlock\" will be removed in the next major version. Please read component's documentation for more information.\n const shouldApplyBlock = () => isBlock && !isSymmetricalActive;\n\n const classProps = classNames(\n buttonClass,\n getButtonLinkColorClassname(buttonClass, color as ButtonColor<C>),\n getButtonLinkSizeClassname(buttonClass, size as ButtonSize<S>),\n {\n [buttonBlockClass]: shouldApplyBlock(),\n [buttonDisabledClass]: isDisabled || isLoading,\n [buttonLoadingClass]: isLoading,\n },\n symmetricalClassName,\n );\n\n return {\n classProps,\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport {\n type ButtonProps,\n type ButtonSizesType,\n type PolymorphicComponent,\n type PolymorphicRef,\n type SpiritButtonLinkProps,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { Spinner } from '../Spinner';\nimport { useButtonLinkProps } from './useButtonLinkProps';\nimport { useButtonLinkStyleProps } from './useButtonLinkStyleProps';\n\nconst defaultProps = {\n color: 'primary',\n elementType: 'a',\n /**\n * @deprecated \"isBlock\" property will be removed in the next major version. Please read component's README for more information.\n * @see https://jira.almacareer.tech/browse/DS-1897\n */\n isBlock: false,\n isDisabled: false,\n isLoading: false,\n isSymmetrical: false,\n size: 'medium' as ButtonSizesType,\n};\n\nconst _ButtonLink = <E extends ElementType = 'a', C = void, S = void>(\n props: SpiritButtonLinkProps<E, C, S>,\n ref: PolymorphicRef<E>,\n) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType = defaultProps.elementType, children, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { buttonLinkProps } = useButtonLinkProps(propsWithDefaults);\n const { classProps, props: modifiedProps } = useButtonLinkStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps, styleProps, otherProps });\n\n return (\n <Component {...otherProps} {...buttonLinkProps} {...mergedStyleProps} ref={ref}>\n {children}\n {restProps.isLoading && <Spinner />}\n </Component>\n );\n};\n\nconst ButtonLink = forwardRef<HTMLAnchorElement, SpiritButtonLinkProps<'a', void, void>>(\n _ButtonLink,\n) as unknown as PolymorphicComponent<'a', Omit<ButtonProps<void, void>, 'type'>>;\n\nButtonLink.spiritComponent = 'ButtonLink';\nButtonLink.displayName = 'ButtonLink';\n\nexport default ButtonLink;\n","import classNames from 'classnames';\nimport { useAlignmentClass, useClassNamePrefix } from '../../hooks';\nimport {\n type CardAlignmentXType,\n type CardAlignmentYType,\n type CardDirectionType,\n type CardSizesDictionaryType,\n} from '../../types';\nimport { generateStylePropsClassNames, stringOrObjectKebabCaseToCamelCase } from '../../utils';\n\nexport interface UseCardStyleProps {\n alignmentY?: CardAlignmentYType;\n artworkAlignmentX?: CardAlignmentXType;\n direction?: CardDirectionType;\n footerAlignmentX?: CardAlignmentXType;\n hasFilledHeight?: boolean;\n isBoxed?: boolean;\n isExpanded?: boolean;\n isHeading?: boolean;\n isSelectable?: boolean;\n size?: CardSizesDictionaryType;\n}\n\nexport interface UseCardStylePropsReturn {\n /** className props */\n classProps: {\n artwork: string;\n body: string;\n eyebrow: string;\n footer: string;\n link: string;\n logo: string;\n media: string;\n mediaCanvas: string;\n root: string;\n title: string;\n };\n}\n\nexport function useCardStyleProps(props?: UseCardStyleProps): UseCardStylePropsReturn {\n const {\n alignmentY,\n artworkAlignmentX,\n direction,\n footerAlignmentX,\n hasFilledHeight,\n isBoxed,\n isExpanded,\n isHeading,\n isSelectable,\n size,\n } = props || {};\n const cardClass = useClassNamePrefix('Card');\n const artworkClass = `${cardClass}Artwork`;\n const bodyClass = `${cardClass}Body`;\n const eyebrowClass = `${cardClass}Eyebrow`;\n const footerClass = `${cardClass}Footer`;\n const linkClass = `${cardClass}Link`;\n const logoClass = `${cardClass}Logo`;\n const mediaClass = `${cardClass}Media`;\n const titleClass = `${cardClass}Title`;\n\n const bodyIsSelectableClass = `${bodyClass}--selectable`;\n\n const directionClass = generateStylePropsClassNames(cardClass, stringOrObjectKebabCaseToCamelCase(direction!));\n\n const isBoxedClass = `${cardClass}--boxed`;\n const mediaCanvasClass = `${mediaClass}__canvas`;\n const mediaHasFilledHeightClass = `${mediaClass}--filledHeight`;\n const mediaIsExpandedClass = `${mediaClass}--expanded`;\n const mediaSizeClass = size ? `${mediaClass}--${size}` : '';\n const titleHeadingClass = `${titleClass}--heading`;\n\n const artworkClasses = classNames(artworkClass, {\n [useAlignmentClass(artworkClass, artworkAlignmentX!, 'alignmentX')]: artworkAlignmentX,\n });\n const bodyClasses = classNames(bodyClass, {\n [bodyIsSelectableClass]: isSelectable,\n });\n const footerClasses = classNames(footerClass, {\n [useAlignmentClass(footerClass, footerAlignmentX!, 'alignmentX')]: footerAlignmentX,\n });\n const mediaClasses = classNames(mediaClass, mediaSizeClass, {\n [mediaIsExpandedClass]: isExpanded,\n [mediaHasFilledHeightClass]: hasFilledHeight,\n });\n const rootClasses = classNames(cardClass, {\n [useAlignmentClass(cardClass, alignmentY!, 'alignmentY')]: alignmentY,\n [directionClass]: direction,\n [isBoxedClass]: isBoxed,\n });\n const titleClasses = classNames(titleClass, {\n [titleHeadingClass]: isHeading,\n });\n\n return {\n classProps: {\n artwork: artworkClasses,\n body: bodyClasses,\n eyebrow: eyebrowClass,\n footer: footerClasses,\n link: linkClass,\n logo: logoClass,\n media: mediaClasses,\n mediaCanvas: mediaCanvasClass,\n root: rootClasses,\n title: titleClasses,\n },\n };\n}\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { DirectionExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCardProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst defaultProps: Partial<SpiritCardProps> = {\n direction: DirectionExtended.VERTICAL,\n elementType: 'article',\n isBoxed: false,\n};\n\nconst Card = <E extends ElementType = 'article'>(props: SpiritCardProps<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = 'article',\n alignmentY,\n direction,\n isBoxed,\n children,\n ...restProps\n } = propsWithDefaults;\n const { classProps } = useCardStyleProps({ alignmentY, direction, isBoxed });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.root, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nCard.spiritComponent = 'Card';\n\nexport default Card;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { AlignmentX } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCardArtworkProps } from '../../types';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst defaultProps: Partial<SpiritCardArtworkProps> = {\n alignmentX: AlignmentX.LEFT,\n};\n\nconst CardArtwork = (props: SpiritCardArtworkProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, alignmentX, ...restProps } = propsWithDefaults;\n const { classProps } = useCardStyleProps({ artworkAlignmentX: alignmentX });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} className={classNames(classProps.artwork, styleProps.className)} style={styleProps.style}>\n {children}\n </div>\n );\n};\n\nCardArtwork.spiritComponent = 'CardArtwork';\n\nexport default CardArtwork;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCardBodyProps } from '../../types';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst defaultProps: Partial<SpiritCardBodyProps> = {\n isSelectable: false,\n};\n\nconst CardBody = (props: SpiritCardBodyProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, isSelectable, ...restProps } = propsWithDefaults;\n const { classProps } = useCardStyleProps({ isSelectable });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} className={classNames(classProps.body, styleProps.className)} style={styleProps.style}>\n {children}\n </div>\n );\n};\n\nCardBody.spiritComponent = 'CardBody';\n\nexport default CardBody;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCardEyebrowProps } from '../../types';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst CardEyebrow = (props: SpiritCardEyebrowProps) => {\n const { children, ...restProps } = props;\n const { classProps } = useCardStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} className={classNames(classProps.eyebrow, styleProps.className)} style={styleProps.style}>\n {children}\n </div>\n );\n};\n\nCardEyebrow.spiritComponent = 'CardEyebrow';\n\nexport default CardEyebrow;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { AlignmentX } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCardFooterProps } from '../../types';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst defaultProps: Partial<SpiritCardFooterProps> = {\n alignmentX: AlignmentX.LEFT,\n};\n\nconst CardFooter = (props: SpiritCardFooterProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, alignmentX, ...restProps } = propsWithDefaults;\n const { classProps } = useCardStyleProps({ footerAlignmentX: alignmentX });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <footer {...otherProps} className={classNames(classProps.footer, styleProps.className)} style={styleProps.style}>\n {children}\n </footer>\n );\n};\n\nCardFooter.spiritComponent = 'CardFooter';\n\nexport default CardFooter;\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type PolymorphicComponent, type PolymorphicRef, type SpiritCardLinkProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst defaultProps: Partial<SpiritCardLinkProps> = {\n elementType: 'a',\n};\n\nconst _CardLink = <E extends ElementType = 'a'>(props: SpiritCardLinkProps<E>, ref: PolymorphicRef<E>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n children,\n href,\n ...restProps\n } = propsWithDefaults;\n const { classProps } = useCardStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.link, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...styleProps} {...mergedStyleProps} href={href} ref={ref}>\n {children}\n </ElementTag>\n );\n};\n\nconst CardLink = forwardRef<HTMLAnchorElement, SpiritCardLinkProps<'a'>>(_CardLink) as unknown as PolymorphicComponent<\n 'a',\n SpiritCardLinkProps<'a'>\n>;\n\nCardLink.spiritComponent = 'CardLink';\nCardLink.displayName = 'CardLink';\n\nexport default CardLink;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCardLogoProps } from '../../types';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst CardLogo = (props: SpiritCardLogoProps) => {\n const { children, ...restProps } = props;\n const { classProps } = useCardStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} className={classNames(classProps.logo, styleProps.className)} style={{ ...styleProps.style }}>\n {children}\n </div>\n );\n};\n\nCardLogo.spiritComponent = 'CardLogo';\n\nexport default CardLogo;\n","import { cssVariablePrefix } from '@alma-oss/spirit-design-tokens';\nimport { type CSSProperties } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritCardMediaProps } from '../../types';\n\nexport interface UseCardMediaStylePropsReturn {\n /** className props */\n classProps: string;\n /** Style object with CSS variables */\n styleProps: CSSProperties;\n}\n\nexport const useCardMediaStyleProps = (props: Partial<SpiritCardMediaProps>): UseCardMediaStylePropsReturn => {\n const { backgroundColor, fit } = props || {};\n const cardMediaBackgroundClassName = useClassNamePrefix(`bg-${backgroundColor}`);\n\n const cardMediaBackgroundColor = backgroundColor ? cardMediaBackgroundClassName : '';\n\n // Generate CSS variable for fit\n const cardMediaStyle: CSSProperties = fit\n ? ({ [`--${cssVariablePrefix}card-media-object-fit`]: fit } as CSSProperties)\n : {};\n\n return {\n classProps: cardMediaBackgroundColor,\n styleProps: cardMediaStyle,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { BackgroundStyleProps, ObjectFit } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { CardSizes, type SpiritCardMediaProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useCardMediaStyleProps } from './useCardMediaStyleProps';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst defaultProps: Partial<SpiritCardMediaProps> = {\n fit: ObjectFit.COVER,\n hasFilledHeight: false,\n isExpanded: false,\n size: CardSizes.AUTO,\n};\n\nconst CardMedia = (props: SpiritCardMediaProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { backgroundColor, children, fit, hasFilledHeight, isExpanded, size, ...restProps } = propsWithDefaults;\n const { classProps } = useCardStyleProps({ size, isExpanded, hasFilledHeight });\n const { classProps: cardMediaClassProps, styleProps: cardMediaStyleProps } = useCardMediaStyleProps({\n backgroundColor,\n fit,\n });\n const { styleProps, props: otherProps } = useStyleProps(restProps, {\n ...BackgroundStyleProps,\n });\n const mergedStyleProps = mergeStyleProps('div', {\n classProps: classNames(classProps.media, cardMediaClassProps, styleProps.className),\n styleProps: { ...cardMediaStyleProps, ...styleProps },\n });\n\n return (\n <div {...otherProps} {...mergedStyleProps}>\n <div className={classProps.mediaCanvas}>{children}</div>\n </div>\n );\n};\n\nCardMedia.spiritComponent = 'CardMedia';\n\nexport default CardMedia;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritCardTitleProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useCardStyleProps } from './useCardStyleProps';\n\nconst defaultProps: Partial<SpiritCardTitleProps> = {\n elementType: 'h4',\n isHeading: true,\n};\n\nconst CardTitle = <E extends ElementType = 'h4'>(props: SpiritCardTitleProps<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'h4', children, isHeading, ...restProps } = propsWithDefaults;\n const { classProps } = useCardStyleProps({ isHeading });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.title, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nCardTitle.spiritComponent = 'CardTitle';\n\nexport default CardTitle;\n","'use client';\n\nimport React, { type ElementType, useEffect } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { mergeStyleProps } from '../../utils';\nimport { type HelperTextProps } from './types';\n\nconst defaultProps: Partial<HelperTextProps> = {\n elementType: 'div',\n id: undefined,\n registerAria: undefined,\n};\n\nconst HelperText = <E extends ElementType = 'div'>(props: HelperTextProps<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n helperText,\n elementType: ElementTag = defaultProps.elementType as ElementType,\n id,\n registerAria,\n ...restProps\n } = propsWithDefaults;\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { styleProps, transferProps });\n\n useEffect(() => {\n helperText && registerAria?.({ add: id });\n\n return () => {\n registerAria?.({ remove: id });\n };\n }, [helperText, id, registerAria]);\n\n if (helperText) {\n return (\n <ElementTag {...transferProps} {...mergedStyleProps} id={id}>\n {helperText}\n </ElementTag>\n );\n }\n\n return null;\n};\n\nHelperText.spiritComponent = 'HelperText';\n\nexport default HelperText;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritLabelProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\n\nconst Label = <E extends ElementType = 'label'>(props: SpiritLabelProps<E>): JSX.Element => {\n const { elementType: ElementTag = 'label', children, htmlFor, for: labelFor, ...restProps } = props;\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { styleProps, otherProps });\n\n return (\n <ElementTag\n {...otherProps}\n {...mergedStyleProps}\n htmlFor={ElementTag === 'label' ? labelFor || htmlFor : undefined}\n >\n {children}\n </ElementTag>\n );\n};\n\nLabel.spiritComponent = 'Label';\n\nexport default Label;\n","'use client';\n\nimport { useCallback, useState } from 'react';\n\nexport type RegisterParams = { add?: string; remove?: string };\nexport type RegisterType = (params: RegisterParams) => void;\nexport type UseAriaIdsHook = (otherAriaIds?: string) => [string[], RegisterType];\n\nconst useAriaIds: UseAriaIdsHook = (otherAriaIds) => {\n const [ids, setIds] = useState<string[]>(otherAriaIds ? otherAriaIds.split(' ') : []);\n\n const register = useCallback(({ add, remove }: RegisterParams) => {\n setIds((prevIds) => {\n let newIds = [...prevIds];\n\n if (remove) {\n newIds = newIds.filter((item) => item !== remove);\n }\n\n if (add) {\n newIds = [...newIds, add];\n }\n\n return newIds;\n });\n }, []);\n\n return [ids, register];\n};\n\nexport default useAriaIds;\n","'use client';\n\nimport React, { type ElementType, useEffect } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { mergeStyleProps } from '../../utils';\nimport { Icon } from '../Icon';\nimport { type ValidationTextProps } from './types';\nimport { useValidationIcon } from './useValidationIcon';\n\nconst defaultProps: Partial<ValidationTextProps> = {\n elementType: 'div',\n id: undefined,\n registerAria: undefined,\n role: undefined,\n};\n\nconst ValidationText = <E extends ElementType = 'div'>(props: ValidationTextProps<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n id,\n hasValidationStateIcon,\n registerAria,\n role,\n validationText,\n ...restProps\n } = propsWithDefaults;\n const validationIconName = useValidationIcon({ hasValidationStateIcon });\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { styleProps, transferProps });\n\n useEffect(() => {\n validationText && registerAria?.({ add: id });\n\n return () => {\n registerAria?.({ remove: id });\n };\n }, [id, registerAria, validationText]);\n\n if (!validationText) {\n return null;\n }\n\n const nonArrayValidationText = hasValidationStateIcon ? <div>{validationText}</div> : validationText;\n\n return (\n <ElementTag {...transferProps} {...mergedStyleProps} id={id} role={role}>\n {hasValidationStateIcon && <Icon name={validationIconName} boxSize={20} />}\n {Array.isArray(validationText) ? (\n <ul>\n {validationText.map((item) => (\n <li key={`validationText_${item}`}>{item}</li>\n ))}\n </ul>\n ) : (\n nonArrayValidationText\n )}\n </ElementTag>\n );\n};\n\nValidationText.spiritComponent = 'ValidationText';\n\nexport default ValidationText;\n","import { useIconName } from '../../hooks';\nimport { type ValidationTextProps } from './types';\n\nexport function useValidationIcon({ hasValidationStateIcon }: ValidationTextProps) {\n const iconNameValue = useIconName(hasValidationStateIcon as string, {\n success: 'check-plain',\n warning: 'warning',\n danger: 'danger',\n });\n\n return iconNameValue;\n}\n","export const A11Y_ALERT_ROLE = 'alert';\n","'use client';\n\nimport { useEffect, useRef, useState } from 'react';\nimport { type ValidationState, type ValidationTextType } from '../../types/shared';\nimport { A11Y_ALERT_ROLE } from './constants';\n\nexport const useValidationTextRole = ({\n validationState,\n validationText,\n}: {\n validationState?: ValidationState;\n validationText?: ValidationTextType;\n}) => {\n const [role, setRole] = useState<string | undefined>();\n const previousValidationText = useRef(validationText);\n const previousValidationState = useRef(validationState);\n\n useEffect(() => {\n if (previousValidationText.current !== validationText || previousValidationState.current !== validationState) {\n setRole(A11Y_ALERT_ROLE);\n }\n previousValidationText.current = validationText;\n previousValidationState.current = validationState;\n }, [validationText, validationState]);\n\n return role;\n};\n","import classNames from 'classnames';\nimport { InputPositions } from '../../constants';\nimport { useClassNamePrefix, useInputPositionClass } from '../../hooks';\nimport { type CheckboxProps, type SpiritCheckboxProps } from '../../types';\n\nexport interface CheckboxStyles {\n /** className props */\n classProps: {\n root: string;\n text: string;\n label: string;\n input: string;\n helperText: string;\n validationText: string;\n };\n /** props to be passed to the input element */\n props: CheckboxProps;\n}\n\nexport function useCheckboxStyleProps(props: SpiritCheckboxProps): CheckboxStyles {\n const { inputPosition = InputPositions.START, isItem, isLabelHidden, validationState, ...restProps } = props;\n const { isDisabled, isRequired } = restProps;\n\n const checkboxClass = useClassNamePrefix('Checkbox');\n const checkboxDisabledClass = `${checkboxClass}--disabled`;\n const checkboxItemClass = `${checkboxClass}--item`;\n const checkboxInputClass = `${checkboxClass}__input`;\n const checkboxInputPositionClass = useInputPositionClass(checkboxClass, inputPosition);\n const checkboxTextClass = `${checkboxClass}__text`;\n const checkboxLabelClass = `${checkboxClass}__label`;\n const checkboxLabelRequiredClass = `${checkboxClass}__label--required`;\n const checkboxLabelHiddenClass = `${checkboxClass}__label--hidden`;\n const checkboxHelperTextClass = `${checkboxClass}__helperText`;\n const checkboxValidationTextClass = `${checkboxClass}__validationText`;\n const checkboxValidationClass = `${checkboxClass}--${validationState}`;\n\n const rootStyles = classNames(checkboxClass, {\n [checkboxInputPositionClass]: checkboxInputPositionClass,\n [checkboxDisabledClass]: isDisabled,\n [checkboxItemClass]: isItem,\n [checkboxValidationClass]: validationState,\n });\n const labelStyles = classNames(checkboxLabelClass, {\n [checkboxLabelRequiredClass]: isRequired,\n [checkboxLabelHiddenClass]: isLabelHidden,\n });\n\n return {\n classProps: {\n root: rootStyles,\n text: checkboxTextClass,\n label: labelStyles,\n input: checkboxInputClass,\n helperText: checkboxHelperTextClass,\n validationText: checkboxValidationTextClass,\n },\n props: {\n ...restProps,\n validationState,\n },\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ForwardedRef, forwardRef } from 'react';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { type ForwardRefComponent, type SpiritCheckboxProps } from '../../types';\nimport { HelperText, Label, ValidationText, useAriaIds } from '../Field';\nimport { useValidationTextRole } from '../Field/useValidationTextRole';\nimport { useCheckboxStyleProps } from './useCheckboxStyleProps';\n\nconst _Checkbox = (props: SpiritCheckboxProps, ref: ForwardedRef<HTMLInputElement>): JSX.Element => {\n const { classProps, props: modifiedProps } = useCheckboxStyleProps(props);\n const {\n 'aria-describedby': ariaDescribedBy = '',\n hasValidationIcon,\n helperText,\n id,\n isChecked,\n isDisabled,\n isRequired,\n label,\n validationState,\n validationText,\n value,\n ...restProps\n } = modifiedProps;\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n const validationTextRole = useValidationTextRole({\n validationState,\n validationText,\n });\n\n return (\n <div style={styleProps.style} className={classNames(classProps.root, styleProps.className)}>\n <input\n {...otherProps}\n {...ariaDescribedByProp}\n type=\"checkbox\"\n id={id}\n className={classProps.input}\n disabled={isDisabled}\n required={isRequired}\n checked={isChecked}\n value={value}\n ref={ref}\n />\n <div className={classProps.text}>\n <Label UNSAFE_className={classProps.label} htmlFor={id}>\n {label}\n </Label>\n <HelperText\n UNSAFE_className={classProps.helperText}\n id={`${id}__helperText`}\n registerAria={register}\n helperText={helperText}\n />\n {validationState && (\n <ValidationText\n UNSAFE_className={classProps.validationText}\n id={`${id}__validationText`}\n {...(hasValidationIcon && { hasValidationStateIcon: validationState })}\n validationText={validationText}\n registerAria={register}\n role={validationTextRole}\n />\n )}\n </div>\n </div>\n );\n};\n\nconst Checkbox = forwardRef<HTMLInputElement, SpiritCheckboxProps>(_Checkbox) as ForwardRefComponent<\n HTMLInputElement,\n SpiritCheckboxProps\n>;\n\nCheckbox.spiritComponent = 'Checkbox';\nCheckbox.displayName = 'Checkbox';\n\nexport default Checkbox;\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type ContainerProps, type SpiritContainerProps } from '../../types';\n\nexport interface ContainerStyles {\n /** className props */\n classProps: string;\n /** props to be passed to the element */\n props: ContainerProps;\n}\n\nexport function useContainerStyleProps(props: SpiritContainerProps): ContainerStyles {\n const { isFluid, size, ...modifiedProps } = props;\n\n const containerClass = useClassNamePrefix('Container');\n const containerFluidClass = `${containerClass}--fluid`;\n const containerSizeClass = `${containerClass}--${size}`;\n\n const classProps = classNames(containerClass, {\n [containerFluidClass]: isFluid,\n [containerSizeClass]: !isFluid && size,\n });\n\n return {\n classProps,\n props: modifiedProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { SizesExtended, TextStyleProps } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritContainerProps } from '../../types';\nimport { useContainerStyleProps } from './useContainerStyleProps';\n\nconst defaultProps: SpiritContainerProps = {\n isFluid: false,\n size: SizesExtended.XLARGE,\n};\n\nconst Container = (props: SpiritContainerProps): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useContainerStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {\n textAlignment: TextStyleProps.textAlignment,\n });\n\n return (\n <div {...otherProps} {...styleProps} className={classNames(classProps, styleProps.className)}>\n {children}\n </div>\n );\n};\n\nContainer.spiritComponent = 'Container';\n\nexport default Container;\n","import { useClick } from '../../hooks';\nimport { type SpiritControlButtonProps } from '../../types';\n\nexport type UseControlButtonProps = Partial<SpiritControlButtonProps>;\nexport type UseControlButtonReturn = {\n controlButtonProps: UseControlButtonProps;\n};\n\nexport const useControlButtonProps = (props: UseControlButtonProps): UseControlButtonReturn => {\n const { isDisabled, onClick, type = 'button' } = props;\n const handleClick = useClick(isDisabled, onClick);\n\n const additionalProps = {\n type,\n disabled: isDisabled,\n };\n\n return {\n controlButtonProps: {\n ...additionalProps,\n onClick: handleClick,\n },\n };\n};\n","import classNames from 'classnames';\nimport { useClassNamePrefix, useSymmetry } from '../../hooks';\nimport { type ControlButtonSize, type ControlButtonStyleProps } from '../../types';\nimport { applySize, compose } from '../../utils';\n\nconst getControlButtonSizeClassname = <S = void>(className: string, size: ControlButtonSize<S>): string =>\n compose(applySize<ControlButtonSize<S>>(size))(className);\n\nexport function useControlButtonStyleProps<S = void>(props: ControlButtonStyleProps<S>) {\n const { isDisabled, isSubtle, isSymmetrical, size, ...restProps } = props;\n\n const controlButtonClass = useClassNamePrefix('ControlButton');\n const controlButtonBackgroundClass = `${controlButtonClass}--hasBackground`;\n const controlButtonDisabledClass = `${controlButtonClass}--disabled`;\n const dynamicColorBackgroundInteractiveClass = useClassNamePrefix('dynamic-color-background-interactive');\n const dynamicColorBorderClass = useClassNamePrefix('dynamic-color-border');\n const accessibilityTapTargetClass = useClassNamePrefix('accessibility-tap-target');\n\n const { symmetricalClassName } = useSymmetry(controlButtonClass, isSymmetrical);\n\n const classProps = classNames(\n controlButtonClass,\n getControlButtonSizeClassname(controlButtonClass, size as ControlButtonSize<S>),\n dynamicColorBackgroundInteractiveClass,\n accessibilityTapTargetClass,\n {\n [controlButtonDisabledClass]: isDisabled,\n [controlButtonBackgroundClass]: !isSubtle,\n [dynamicColorBorderClass]: !isSubtle,\n },\n symmetricalClassName,\n );\n\n return {\n classProps,\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { Sizes } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport {\n type ControlButtonProps,\n type PolymorphicComponent,\n type PolymorphicRef,\n type SpiritControlButtonProps,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useControlButtonProps } from './useControlButtonProps';\nimport { useControlButtonStyleProps } from './useControlButtonStyleProps';\n\nconst defaultProps = {\n elementType: 'button',\n isDisabled: false,\n isSubtle: false,\n isSymmetrical: false,\n size: Sizes.MEDIUM,\n type: 'button',\n};\n\nconst _ControlButton = <E extends ElementType = 'button', S = void>(\n props: SpiritControlButtonProps<E, S>,\n ref: PolymorphicRef<E>,\n) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType = defaultProps.elementType, children, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { controlButtonProps } = useControlButtonProps(restProps);\n const { classProps, props: modifiedProps } = useControlButtonStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps, styleProps, otherProps });\n\n return (\n <Component {...otherProps} {...controlButtonProps} ref={ref} {...mergedStyleProps}>\n {children}\n </Component>\n );\n};\n\nconst ControlButton = forwardRef<HTMLButtonElement, SpiritControlButtonProps<'button', void>>(\n _ControlButton,\n) as unknown as PolymorphicComponent<'button', ControlButtonProps<void>>;\n\nControlButton.spiritComponent = 'ControlButton';\nControlButton.displayName = 'ControlButton';\n\nexport default ControlButton;\n","// Fallback timeout duration in ms, slightly longer than CSS transition (250ms).\n// This ensures the dialog closes even when transitionend doesn't fire on some browsers\nexport const TRANSITION_FALLBACK_TIMEOUT = 300;\n","'use client';\n\nimport { type MutableRefObject, type TransitionEvent, useCallback, useEffect, useRef } from 'react';\nimport { CLASS_NAME_OPEN } from '../../constants';\nimport { useScrollControl } from '../../hooks';\nimport { TRANSITION_FALLBACK_TIMEOUT } from './constants';\n\nexport const useDialog = (ref: MutableRefObject<HTMLDialogElement | null>, isOpen: boolean) => {\n const closeTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n\n const clearCloseTimeout = useCallback(() => {\n if (closeTimeoutRef.current !== null) {\n clearTimeout(closeTimeoutRef.current);\n closeTimeoutRef.current = null;\n }\n }, []);\n\n const scheduleDialogClose = useCallback(\n (dialogNode: HTMLDialogElement) => {\n clearCloseTimeout();\n closeTimeoutRef.current = setTimeout(() => {\n if (dialogNode.open && dialogNode.close) {\n dialogNode.close();\n }\n }, TRANSITION_FALLBACK_TIMEOUT);\n },\n [clearCloseTimeout],\n );\n\n const handleTransitionEnd = useCallback(\n (event: TransitionEvent<HTMLDialogElement>) => {\n const dialogNode = ref?.current;\n\n // Only handle transition end if it's for the dialog element itself (not children)\n if (dialogNode && event.target === dialogNode && !isOpen && dialogNode.open && dialogNode.close) {\n // Clear the fallback timeout since transitionend fired successfully\n clearCloseTimeout();\n // Dialog transition has ended, now close it\n dialogNode.close();\n }\n },\n [isOpen, ref, clearCloseTimeout],\n );\n\n useScrollControl(ref, isOpen);\n\n // Helper function to manage the open class state\n const setOpenClass = useCallback(\n (shouldAdd: boolean) => {\n const dialogNode = ref?.current;\n\n if (dialogNode?.classList) {\n if (shouldAdd) {\n dialogNode.classList.add(CLASS_NAME_OPEN);\n } else {\n dialogNode.classList.remove(CLASS_NAME_OPEN);\n }\n }\n },\n [ref],\n );\n\n // Handle declarative dialog state changes via isOpen prop\n useEffect(() => {\n const dialogNode = ref?.current;\n\n if (dialogNode) {\n // Opening: When isOpen becomes true\n if (isOpen) {\n clearCloseTimeout(); // Clear any pending close timeout\n if (!dialogNode.open && dialogNode.showModal) {\n dialogNode.showModal(); // Show the dialog element\n setOpenClass(true); // Add visual state class for CSS transitions\n }\n }\n // Closing: When isOpen becomes false and dialog is currently open\n else if (!isOpen && dialogNode.open) {\n setOpenClass(false); // Remove visual state class to trigger CSS transition\n // Set fallback timeout in case transitionend doesn't fire\n scheduleDialogClose(dialogNode);\n }\n }\n\n return () => {\n clearCloseTimeout();\n };\n }, [isOpen, ref, setOpenClass, clearCloseTimeout, scheduleDialogClose]);\n\n // Imperative function to open dialog programmatically\n const openDialog = () => {\n const dialogNode = ref?.current;\n\n if (dialogNode) {\n clearCloseTimeout(); // Clear any pending close timeout\n\n if (!dialogNode.open && dialogNode.showModal) {\n dialogNode.showModal(); // Show the dialog element\n setOpenClass(true); // Add visual state class for CSS transitions\n }\n }\n };\n\n // Imperative function to close dialog programmatically\n const closeDialog = () => {\n const dialogNode = ref?.current;\n\n if (dialogNode && dialogNode.open) {\n setOpenClass(false); // Remove visual state class to trigger CSS transition\n // Set fallback timeout in case transitionend doesn't fire\n scheduleDialogClose(dialogNode);\n }\n };\n\n return {\n openDialog,\n closeDialog,\n onTransitionEnd: handleTransitionEnd,\n };\n};\n","'use client';\n\nimport React, {\n Children,\n type ForwardedRef,\n type MutableRefObject,\n type ReactElement,\n cloneElement,\n forwardRef,\n useRef,\n} from 'react';\nimport { useCancelEvent, useClickOutside } from '../../hooks';\nimport { type DialogProps, type ForwardRefComponent } from '../../types';\nimport { useDialog } from './useDialog';\n\nconst _Dialog = (props: DialogProps, ref: ForwardedRef<HTMLDialogElement | null>): JSX.Element => {\n const { children, isOpen, onClose, closeOnBackdropClick = true, closeOnEscapeKeyDown, ...restProps } = props;\n const dialogElementRef: MutableRefObject<ForwardedRef<HTMLDialogElement | null>> = useRef(ref);\n const contentElementRef: MutableRefObject<HTMLElement | null> = useRef(null);\n\n // handles toggling based on state\n const { closeDialog, onTransitionEnd } = useDialog(\n dialogElementRef as MutableRefObject<HTMLDialogElement | null>,\n isOpen,\n );\n const handleClickOutside = (event: Event) => {\n // check if it should be closed on backdrop click and if the click was on backdrop (dialog element, not on dialog content)\n if (closeOnBackdropClick && event.target === dialogElementRef.current) {\n closeDialog();\n onClose(event);\n }\n };\n\n // handles closing by clicking outside the dialog\n useClickOutside({\n ref: contentElementRef,\n callback: isOpen ? handleClickOutside : undefined,\n });\n\n // handles closing using Escape key\n useCancelEvent(\n dialogElementRef as MutableRefObject<HTMLDialogElement | null>,\n onClose,\n closeOnEscapeKeyDown as boolean,\n isOpen,\n );\n\n /**\n * Make sure that there is only one child wrapped in dialog element.\n * Otherwise we cannot distinguish between dialog content and dialog backdrop, which is dialog element itself.\n * useClickOutside hook uses refs to dialog and content elements to find out whether it was clicked on backdrop\n * and dialog should be closed.\n *\n * @see https://reactjs.org/docs/react-api.html#reactchildren\n * @throws Error\n */\n const child = Children.only(children) as ReactElement;\n\n return (\n <dialog\n ref={dialogElementRef as MutableRefObject<HTMLDialogElement | null>}\n onTransitionEnd={onTransitionEnd}\n {...restProps}\n >\n {cloneElement(child, {\n ref: (clonedElementRef: HTMLElement) => {\n contentElementRef.current = clonedElementRef;\n },\n })}\n </dialog>\n );\n};\n\nconst Dialog = forwardRef<HTMLDialogElement | null, DialogProps>(_Dialog) as ForwardRefComponent<\n HTMLDialogElement | null,\n DialogProps\n>;\n\nDialog.spiritComponent = 'Dialog';\nDialog.displayName = 'Dialog';\n\nexport default Dialog;\n","import { useClassNamePrefix } from '../../hooks';\nimport { type SpiritDividerProps } from '../../types';\n\nexport interface DividerStyles {\n /** className props */\n classProps: string;\n /** props to be passed to the element */\n props: SpiritDividerProps;\n}\n\nexport function useDividerStyleProps(props: SpiritDividerProps): DividerStyles {\n const DividerClass = useClassNamePrefix('Divider');\n\n return {\n classProps: DividerClass,\n props,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritDividerProps } from '../../types';\nimport { useDividerStyleProps } from './useDividerStyleProps';\n\nconst Divider = (props: SpiritDividerProps): JSX.Element => {\n const { classProps, props: modifiedProps } = useDividerStyleProps(props);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return <hr {...otherProps} {...styleProps} className={classNames(classProps, styleProps.className)} />;\n};\n\nDivider.spiritComponent = 'Divider';\n\nexport default Divider;\n","import { AlignmentX } from '../../constants';\n\nexport const DRAWER_ALIGNMENT_DEFAULT = AlignmentX.RIGHT;\n","'use client';\n\nimport { createContext, useContext } from 'react';\nimport { type DrawerPanelHandlingProps } from '../../types';\n\nexport type DrawerContextProps = {\n id: string;\n} & DrawerPanelHandlingProps;\n\nconst defaultContext: DrawerContextProps = {\n id: '',\n isOpen: false,\n onClose: () => null,\n};\n\nconst DrawerContext = createContext<DrawerContextProps>(defaultContext);\nconst DrawerProvider = DrawerContext.Provider;\nconst DrawerConsumer = DrawerContext.Consumer;\nconst useDrawerContext = (): DrawerContextProps => useContext(DrawerContext);\n\nexport default DrawerContext;\nexport { DrawerProvider, DrawerConsumer, useDrawerContext };\n","import classNames from 'classnames';\nimport { CLASS_NAME_OPEN } from '../../constants';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type DrawerAlignmentXType, type DrawerPanelProps } from '../../types';\nimport { DRAWER_ALIGNMENT_DEFAULT } from './constants';\n\nexport interface UseDrawerStylesProps extends DrawerPanelProps {\n drawerAlignmentX?: DrawerAlignmentXType;\n isOpen?: boolean;\n}\n\nexport interface UseDrawerStylesReturn {\n /** className props */\n classProps: {\n root: string;\n panel: string;\n content: string;\n closeButton: string;\n };\n}\n\nexport const useDrawerStyleProps = (props: UseDrawerStylesProps = {}): UseDrawerStylesReturn => {\n const { drawerAlignmentX = DRAWER_ALIGNMENT_DEFAULT, isOpen = false } = props;\n\n const drawerClass = useClassNamePrefix('Drawer');\n const drawerAlignXClasses: Record<DrawerAlignmentXType, string> = {\n left: `${drawerClass}--left`,\n right: `${drawerClass}--right`,\n };\n const drawerPanelClass = `${drawerClass}Panel`;\n const drawerContentClass = `${drawerPanelClass}__content`;\n const drawerCloseButtonClass = `${drawerClass}CloseButton`;\n\n const classProps = {\n root: classNames(drawerClass, drawerAlignXClasses[drawerAlignmentX], {\n [CLASS_NAME_OPEN]: isOpen,\n }),\n panel: drawerPanelClass,\n content: drawerContentClass,\n closeButton: drawerCloseButtonClass,\n };\n\n return {\n classProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useLastActiveFocus, useStyleProps } from '../../hooks';\nimport { type SpiritDrawerProps } from '../../types';\nimport { Dialog } from '../Dialog';\nimport { DRAWER_ALIGNMENT_DEFAULT } from './constants';\nimport { DrawerProvider } from './DrawerContext';\nimport { useDrawerStyleProps } from './useDrawerStyleProps';\n\nconst Drawer = (props: SpiritDrawerProps) => {\n const { children, alignmentX = DRAWER_ALIGNMENT_DEFAULT, isOpen, onClose, id, ...restProps } = props;\n const { classProps } = useDrawerStyleProps({ drawerAlignmentX: alignmentX });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n const contextValue = {\n id,\n isOpen,\n onClose,\n };\n\n useLastActiveFocus(isOpen);\n\n return (\n <DrawerProvider value={contextValue}>\n <Dialog\n {...otherProps}\n {...styleProps}\n id={id}\n isOpen={isOpen}\n onClose={onClose}\n className={classNames(classProps.root, styleProps.className)}\n >\n {children}\n </Dialog>\n </DrawerProvider>\n );\n};\n\nDrawer.spiritComponent = 'Drawer';\n\nexport default Drawer;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritVisuallyHiddenProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useVisuallyHiddenProps } from './useVisuallyHiddenProps';\n\nconst VisuallyHidden = <E extends ElementType = 'span'>(props: SpiritVisuallyHiddenProps<E>): JSX.Element => {\n const { children, elementType: ElementTag = 'span', ...rest } = props;\n const { classProps, props: modifiedProps } = useVisuallyHiddenProps(rest);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nVisuallyHidden.spiritComponent = 'VisuallyHidden';\n\nexport default VisuallyHidden;\n","import { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritVisuallyHiddenProps, type VisuallyHiddenProps } from '../../types';\n\nexport interface VisuallyHiddenStyles<E extends ElementType = 'span'> {\n /** className props */\n classProps: string | null;\n /** props to be passed to the element */\n props: VisuallyHiddenProps<E>;\n}\n\nexport function useVisuallyHiddenProps<E extends ElementType = 'span'>(\n props: SpiritVisuallyHiddenProps<E>,\n): VisuallyHiddenStyles<E> {\n const { ...restProps } = props;\n\n const visuallyHiddenClass = useClassNamePrefix('accessibility-hidden');\n\n return {\n classProps: visuallyHiddenClass,\n props: restProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { ComponentButtonColors, Sizes } from '../../constants';\nimport { useI18n, useStyleProps } from '../../hooks';\nimport { type DrawerCloseButtonProps } from '../../types';\nimport { Button } from '../Button';\nimport { Icon } from '../Icon';\nimport { DEFAULT_BOX_SIZE } from '../Icon/constants';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { useDrawerContext } from './DrawerContext';\nimport { useDrawerStyleProps } from './useDrawerStyleProps';\n\nconst defaultProps: Partial<DrawerCloseButtonProps> = {\n color: ComponentButtonColors.TERTIARY,\n iconBoxSize: DEFAULT_BOX_SIZE,\n size: Sizes.MEDIUM,\n};\n\nconst DrawerCloseButton = (props: DrawerCloseButtonProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { color, iconBoxSize, label, size, ...restProps } = propsWithDefaults;\n const { t } = useI18n();\n const closeLabel = label ?? t('common.close');\n const { id, isOpen, onClose } = useDrawerContext();\n\n const { classProps } = useDrawerStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <Button\n {...otherProps}\n aria-expanded={isOpen}\n aria-controls={id}\n onClick={onClose}\n color={color}\n size={size}\n UNSAFE_className={classNames(classProps.closeButton, styleProps.className)}\n UNSAFE_style={styleProps.style}\n isSymmetrical\n >\n <Icon name=\"close\" boxSize={iconBoxSize} />\n <VisuallyHidden>{closeLabel}</VisuallyHidden>\n </Button>\n );\n};\n\nDrawerCloseButton.spiritComponent = 'DrawerCloseButton';\n\nexport default DrawerCloseButton;\n","'use client';\n\nimport React, { type ElementType, type HTMLAttributes, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport {\n type DrawerPanelElementType,\n type DrawerPanelProps,\n type PolymorphicComponent,\n type PolymorphicRef,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useDrawerStyleProps } from './useDrawerStyleProps';\n\nconst _DrawerPanel = <E extends ElementType = DrawerPanelElementType>(\n props: DrawerPanelProps<E>,\n ref: PolymorphicRef<E>,\n) => {\n const { elementType = 'div', children, ...restProps } = props;\n\n const Component = elementType as ElementType;\n\n const { classProps } = useDrawerStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps: classProps.panel, styleProps, otherProps });\n\n return (\n <Component {...(otherProps as HTMLAttributes<HTMLElement>)} {...mergedStyleProps} ref={ref}>\n <div className={classProps.content}>{children}</div>\n </Component>\n );\n};\n\nconst DrawerPanel = forwardRef<HTMLDivElement, DrawerPanelProps<'div'>>(\n _DrawerPanel,\n) as unknown as PolymorphicComponent<'div', DrawerPanelProps<ElementType>>;\n\nDrawerPanel.spiritComponent = 'DrawerPanel';\nDrawerPanel.displayName = 'DrawerPanel';\n\nexport default DrawerPanel;\n","import { Placements } from '../../constants';\nimport {\n type Booleanish,\n type ClickEvent,\n type DropdownFullWidthMode,\n type PlacementDictionaryType,\n} from '../../types';\n\nconst NAME_ARIA_EXPANDED = 'aria-expanded';\nconst NAME_ARIA_CONTROLS = 'aria-controls';\nconst NAME_DATA_FULLWIDTHMODE = 'data-spirit-fullwidthmode';\nconst NAME_DATA_PLACEMENT = 'data-spirit-placement';\n\nexport enum fullWidthModeKeys {\n 'off' = 'off',\n 'mobile-only' = 'mobile-only',\n 'all' = 'all',\n}\nexport interface UseDropdownAriaPropsProps {\n /** element ID */\n id: string;\n /** open state */\n isOpen: boolean;\n /** fullWidthMode */\n fullWidthMode: DropdownFullWidthMode | undefined;\n /** placement */\n placement?: PlacementDictionaryType;\n /** toggle callback */\n toggleHandler: (event: ClickEvent) => void;\n}\n\nexport interface UseDropdownAriaPropsReturn {\n /** content returned props */\n contentProps: {\n id: string;\n [NAME_DATA_FULLWIDTHMODE]?: keyof typeof fullWidthModeKeys | undefined;\n [NAME_DATA_PLACEMENT]?: PlacementDictionaryType;\n };\n /** trigger returned props */\n triggerProps: {\n [NAME_ARIA_EXPANDED]: Booleanish;\n [NAME_ARIA_CONTROLS]: string;\n onClick: (event: ClickEvent) => void;\n };\n}\n\nexport const useDropdownAriaProps = (props: UseDropdownAriaPropsProps): UseDropdownAriaPropsReturn => {\n const { fullWidthMode, id, isOpen, placement = Placements.BOTTOM_START, toggleHandler } = props;\n\n const triggerProps = {\n [NAME_ARIA_EXPANDED]: isOpen,\n [NAME_ARIA_CONTROLS]: String(id),\n onClick: toggleHandler,\n };\n const contentProps = {\n id,\n [NAME_DATA_FULLWIDTHMODE]: fullWidthMode,\n [NAME_DATA_PLACEMENT]: placement,\n };\n\n return {\n contentProps,\n triggerProps,\n };\n};\n","'use client';\n\nimport { type MutableRefObject, createContext, useContext } from 'react';\nimport { Placements } from '../../constants';\nimport { type ClickEvent, type PlacementDictionaryType } from '../../types';\nimport { fullWidthModeKeys } from './useDropdownAriaProps';\n\ntype DropdownContextType = {\n dropdownRef: MutableRefObject<HTMLElement | null>;\n fullWidthMode?: keyof typeof fullWidthModeKeys;\n id: string;\n isOpen: boolean;\n onToggle: (event: ClickEvent) => void;\n placement?: PlacementDictionaryType;\n triggerRef: MutableRefObject<HTMLElement | undefined>;\n};\n\nconst defaultContext: DropdownContextType = {\n dropdownRef: { current: null },\n fullWidthMode: fullWidthModeKeys.off,\n id: '',\n isOpen: false,\n onToggle: () => {},\n placement: Placements.BOTTOM_START,\n triggerRef: { current: undefined },\n};\n\nconst DropdownContext = createContext<DropdownContextType>(defaultContext);\nconst DropdownProvider = DropdownContext.Provider;\nconst DropdownConsumer = DropdownContext.Consumer;\nconst useDropdownContext = (): DropdownContextType => useContext(DropdownContext);\n\nexport default DropdownContext;\nexport { DropdownConsumer, DropdownProvider, useDropdownContext };\nexport type { DropdownContextType };\n","import classNames from 'classnames';\nimport { CLASS_NAME_OPEN } from '../../constants';\nimport { type AlignmentPropertyType, useAlignmentClass, useClassNamePrefix } from '../../hooks';\nimport { type DropdownStyleProps } from '../../types';\n\nexport interface UseDropdownStylePropsReturn {\n classProps: {\n root: string;\n trigger: string;\n popover: string;\n };\n props: DropdownStyleProps;\n}\n\nexport const useDropdownStyleProps = (props: DropdownStyleProps = { isOpen: false }): UseDropdownStylePropsReturn => {\n const { alignmentX, alignmentY, isOpen, ...modifiedProps } = props;\n\n const dropdownRootClass = useClassNamePrefix('Dropdown');\n const dropdownPopoverClass = `${dropdownRootClass}Popover`;\n const expandedClass = isOpen ? 'is-expanded' : '';\n const openClass = isOpen ? CLASS_NAME_OPEN : '';\n\n const rootClass = classNames(dropdownRootClass, {\n [useAlignmentClass(dropdownRootClass, alignmentX as AlignmentPropertyType, 'alignmentX')]: alignmentX,\n [useAlignmentClass(dropdownRootClass, alignmentY as AlignmentPropertyType, 'alignmentY')]: alignmentY,\n });\n\n const popoverClass = classNames(dropdownPopoverClass, openClass);\n const triggerClass = classNames(expandedClass);\n\n return {\n classProps: {\n root: rootClass,\n trigger: triggerClass,\n popover: popoverClass,\n },\n props: modifiedProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { useRef } from 'react';\nimport { useClickOutside, useStyleProps } from '../../hooks';\nimport { type SpiritDropdownProps } from '../../types';\nimport { DropdownProvider } from './DropdownContext';\nimport { useDropdownStyleProps } from './useDropdownStyleProps';\n\nconst Dropdown = (props: SpiritDropdownProps) => {\n const {\n children,\n enableAutoClose = true,\n fullWidthMode,\n id,\n isOpen = false,\n onAutoClose,\n onToggle,\n placement,\n ...rest\n } = props;\n const { classProps, props: modifiedProps } = useDropdownStyleProps({ isOpen, ...rest });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n const dropdownRef = useRef<HTMLDivElement>(null);\n const triggerRef = useRef<HTMLDivElement>();\n\n const closeHandler = (event: Event) => {\n if (!enableAutoClose) {\n return;\n }\n\n if (!triggerRef?.current?.contains(event?.target as Node)) {\n if (onAutoClose) {\n onAutoClose(event);\n }\n\n onToggle && isOpen && onToggle();\n }\n };\n\n useClickOutside({ ref: dropdownRef, callback: closeHandler });\n\n return (\n <DropdownProvider value={{ id, isOpen, fullWidthMode, placement, onToggle, dropdownRef, triggerRef }}>\n <div\n ref={dropdownRef}\n className={classNames(classProps.root, styleProps.className)}\n style={styleProps.style}\n {...otherProps}\n >\n {children}\n </div>\n </DropdownProvider>\n );\n};\n\nDropdown.spiritComponent = 'Dropdown';\n\nexport default Dropdown;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type DropdownTriggerProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useDropdownContext } from './DropdownContext';\nimport { useDropdownAriaProps } from './useDropdownAriaProps';\nimport { useDropdownStyleProps } from './useDropdownStyleProps';\n\nconst defaultProps = {\n elementType: 'button',\n};\n\nconst DropdownTrigger = <E extends ElementType = 'button'>(props: DropdownTriggerProps<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'button', children, ...rest } = propsWithDefaults;\n const { id, isOpen, onToggle, fullWidthMode, triggerRef } = useDropdownContext();\n const { classProps, props: modifiedProps } = useDropdownStyleProps({ isOpen, ...rest });\n const { styleProps: triggerStyleProps, props: transferProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.trigger, triggerStyleProps });\n const { triggerProps } = useDropdownAriaProps({ id, isOpen, toggleHandler: onToggle, fullWidthMode });\n\n return (\n <ElementTag {...transferProps} {...triggerProps} {...mergedStyleProps} ref={triggerRef}>\n {typeof children === 'function' ? children({ isOpen }) : children}\n </ElementTag>\n );\n};\n\nDropdownTrigger.spiritComponent = 'DropdownTrigger';\n\nexport default DropdownTrigger;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ChildrenProps, type StyleProps } from '../../types';\nimport { useDropdownContext } from './DropdownContext';\nimport { useDropdownAriaProps } from './useDropdownAriaProps';\nimport { useDropdownStyleProps } from './useDropdownStyleProps';\n\ninterface DropdownPopoverProps extends ChildrenProps, StyleProps {}\n\nconst DropdownPopover = (props: DropdownPopoverProps) => {\n const { children, ...rest } = props;\n const { id, isOpen, onToggle, fullWidthMode, placement } = useDropdownContext();\n const { classProps, props: modifiedProps } = useDropdownStyleProps({ isOpen, ...rest });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const { contentProps } = useDropdownAriaProps({ id, isOpen, toggleHandler: onToggle, placement, fullWidthMode });\n\n return (\n <div\n className={classNames(classProps.popover, styleProps.className)}\n style={styleProps.style}\n {...contentProps}\n {...otherProps}\n >\n {children}\n </div>\n );\n};\n\nDropdownPopover.spiritComponent = 'DropdownPopover';\n\nexport default DropdownPopover;\n","'use client';\n\nimport { type MutableRefObject, useState } from 'react';\nimport { useClickOutside } from '../../hooks';\nimport { type ClickEvent } from '../../types';\n\nexport interface UseDropdownProps {\n /** dropdown element reference */\n dropdownRef: MutableRefObject<HTMLElement | null>;\n /** enabled click outside event */\n enableAutoClose?: boolean;\n /** on close callback */\n onAutoClose?: (event: Event) => void;\n /** trigger element reference */\n triggerRef: MutableRefObject<HTMLElement | undefined>;\n}\n\nexport interface UseDropdownReturn {\n /** collapse handler */\n toggleHandler: (event: ClickEvent) => void;\n /** collapsed state */\n isOpen: boolean;\n}\n\nexport const useDropdown = ({\n dropdownRef,\n triggerRef,\n enableAutoClose,\n onAutoClose,\n}: UseDropdownProps): UseDropdownReturn => {\n const [open, setOpen] = useState<boolean>(false);\n\n const collapseHandler = () => setOpen(!open);\n\n const toggleHandler = (event: ClickEvent) => {\n event.preventDefault();\n collapseHandler();\n };\n\n const closeHandler = (event: Event) => {\n if (!enableAutoClose) {\n return;\n }\n\n if (!triggerRef?.current?.contains(event?.target as Node)) {\n if (onAutoClose) {\n onAutoClose(event);\n }\n\n setOpen(false);\n }\n };\n\n useClickOutside({ ref: dropdownRef, callback: closeHandler });\n\n return {\n toggleHandler,\n isOpen: open,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { useRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type UncontrolledDropdownProps } from '../../types';\nimport { DropdownProvider } from './DropdownContext';\nimport { useDropdown } from './useDropdown';\nimport { useDropdownStyleProps } from './useDropdownStyleProps';\n\nconst UncontrolledDropdown = (props: UncontrolledDropdownProps) => {\n const { children, enableAutoClose = true, fullWidthMode, id, onAutoClose, placement, ...rest } = props;\n const { classProps, props: modifiedProps } = useDropdownStyleProps(rest);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n const dropdownRef = useRef<HTMLDivElement>(null);\n const triggerRef = useRef<HTMLDivElement>();\n\n const { isOpen, toggleHandler: onToggle } = useDropdown({ dropdownRef, triggerRef, enableAutoClose, onAutoClose });\n\n return (\n <DropdownProvider value={{ id, isOpen, fullWidthMode, placement, onToggle, dropdownRef, triggerRef }}>\n <div\n ref={dropdownRef}\n {...styleProps}\n {...otherProps}\n className={classNames(classProps.root, styleProps.className)}\n >\n {children}\n </div>\n </DropdownProvider>\n );\n};\n\nUncontrolledDropdown.spiritComponent = 'UncontrolledDropdown';\n\nexport default UncontrolledDropdown;\n","import classNames from 'classnames';\nimport { useClassNamePrefix, useSpacingStyle } from '../../hooks';\nimport { type StackStyleProps } from '../../types';\n\nexport function useStackStyleProps(props: StackStyleProps) {\n const { hasEndDivider, hasIntermediateDividers, hasSpacing, hasStartDivider, spacing, ...restProps } = props;\n\n const StackClass = useClassNamePrefix('Stack');\n const StackBottomDividerClass = `${StackClass}--hasEndDivider`;\n const StackMiddleDividersClass = `${StackClass}--hasIntermediateDividers`;\n const StackSpacingClass = `${StackClass}--hasSpacing`;\n const StackTopDividerClass = `${StackClass}--hasStartDivider`;\n const rootProps = classNames(StackClass, {\n [StackBottomDividerClass]: hasEndDivider,\n [StackMiddleDividersClass]: hasIntermediateDividers,\n [StackSpacingClass]: hasSpacing || spacing,\n [StackTopDividerClass]: hasStartDivider,\n });\n const itemProps = classNames(`${StackClass}Item`);\n const stackStyle = useSpacingStyle(spacing, 'stack');\n\n return {\n classProps: {\n root: rootProps,\n item: itemProps,\n },\n props: restProps,\n styleProps: stackStyle,\n };\n}\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { PropsProvider } from '../../context';\nimport { useStyleProps } from '../../hooks';\nimport { type PolymorphicComponent, type PolymorphicRef, type SpiritStackProps, type StackProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useStackStyleProps } from './useStackStyleProps';\n\nconst LIST_ELEMENT_TYPES = ['ul', 'ol'];\n\nconst defaultProps = {\n elementType: 'div',\n hasSpacing: false,\n hasEndDivider: false,\n hasIntermediateDividers: false,\n hasStartDivider: false,\n};\n\nconst _Stack = <E extends ElementType = 'div'>(props: SpiritStackProps<E>, ref: PolymorphicRef<E>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType = defaultProps.elementType, children, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { classProps, props: modifiedProps, styleProps: stackStyle } = useStackStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(Component, {\n classProps: classProps.root,\n stackStyle,\n styleProps,\n otherProps,\n });\n const itemElementType = LIST_ELEMENT_TYPES.includes(elementType as string) ? ('li' as const) : undefined;\n\n return (\n <PropsProvider value={{ elementType: itemElementType }}>\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </Component>\n </PropsProvider>\n );\n};\n\nconst Stack = forwardRef<HTMLDivElement, SpiritStackProps<'div'>>(_Stack) as unknown as PolymorphicComponent<\n 'div',\n StackProps\n>;\n\nStack.spiritComponent = 'Stack';\nStack.displayName = 'Stack';\n\nexport default Stack;\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { PropsProvider, useContextProps } from '../../context';\nimport { useStyleProps } from '../../hooks';\nimport {\n type PolymorphicComponent,\n type PolymorphicRef,\n type SpiritStackItemProps,\n type StackItemProps,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useStackStyleProps } from './useStackStyleProps';\n\nconst defaultProps = {\n elementType: 'div',\n};\n\nconst _StackItem = <E extends ElementType = 'div'>(\n props: SpiritStackItemProps<E>,\n ref: PolymorphicRef<E>,\n): JSX.Element => {\n const { elementType: propsElementType } = props;\n const contextProps = useContextProps(props);\n const { children, elementType: contextElementType, ...restProps } = contextProps;\n const elementType = propsElementType ?? contextElementType ?? defaultProps.elementType;\n\n const Component = elementType as ElementType;\n\n const { classProps, props: modifiedProps } = useStackStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(Component, {\n classProps: classProps.item,\n styleProps,\n otherProps,\n });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n <PropsProvider value={{ elementType: undefined }}>{children}</PropsProvider>\n </Component>\n );\n};\n\nconst StackItem = forwardRef<HTMLDivElement, SpiritStackItemProps<'div'>>(\n _StackItem,\n) as unknown as PolymorphicComponent<'div', StackItemProps>;\n\nStackItem.spiritComponent = 'StackItem';\nStackItem.displayName = 'StackItem';\n\nexport default StackItem;\n","import { useClassNamePrefix } from '../../hooks';\nimport { type SpiritEmptyStateProps } from '../../types/emptyState';\n\nexport interface EmptyStateStyles<T> {\n classProps: {\n root: string;\n section: string;\n };\n props: T;\n}\n\nexport function useEmptyStateStyleProps(props: SpiritEmptyStateProps): EmptyStateStyles<SpiritEmptyStateProps> {\n const emptyStateClass = useClassNamePrefix('EmptyState');\n const sectionClass = `${emptyStateClass}__section`;\n\n return {\n classProps: {\n root: emptyStateClass,\n section: sectionClass,\n },\n props,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ReactElement } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritEmptyStateProps } from '../../types/emptyState';\nimport { Stack } from '../Stack';\nimport { useEmptyStateStyleProps } from './useEmptyStateStyleProps';\n\nconst EmptyState = (props: SpiritEmptyStateProps): ReactElement => {\n const { children, ...restProps } = props;\n const { classProps, props: modifiedProps } = useEmptyStateStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <Stack\n {...otherProps}\n UNSAFE_className={classNames(classProps.root, styleProps.className)}\n UNSAFE_style={styleProps.style}\n >\n {children}\n </Stack>\n );\n};\n\nEmptyState.spiritComponent = 'EmptyState';\n\nexport default EmptyState;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ReactElement } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritEmptyStateProps } from '../../types/emptyState';\nimport { Stack } from '../Stack';\nimport { useEmptyStateStyleProps } from './useEmptyStateStyleProps';\n\nconst EmptyStateSection = (props: SpiritEmptyStateProps): ReactElement => {\n const { children, ...restProps } = props;\n const { classProps, props: modifiedProps } = useEmptyStateStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <Stack\n {...otherProps}\n UNSAFE_className={classNames(classProps.section, styleProps.className)}\n UNSAFE_style={styleProps.style}\n >\n {children}\n </Stack>\n );\n};\n\nEmptyStateSection.spiritComponent = 'EmptyStateSection';\n\nexport default EmptyStateSection;\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type Validation } from '../../types';\n\nexport interface UseFieldGroupStyleProps extends Validation {\n isFluid?: boolean;\n}\n\nexport interface UseFieldGroupStyleReturn {\n /** className props */\n classProps: {\n root: string;\n label: string;\n fields: string;\n validationText: string;\n helperText: string;\n };\n}\n\nexport const useFieldGroupStyleProps = ({\n isFluid,\n isRequired,\n validationState,\n}: UseFieldGroupStyleProps): UseFieldGroupStyleReturn => {\n const fieldGroupRootClass = useClassNamePrefix('FieldGroup');\n const fieldGroupRootFluidClass = `${fieldGroupRootClass}--fluid`;\n const fieldGroupRootValidationClass = `${fieldGroupRootClass}--${validationState}`;\n const fieldGroupLabelClass = `${fieldGroupRootClass}__label`;\n const fieldGroupLabelRequiredClass = `${fieldGroupLabelClass}--required`;\n const fieldGroupFieldsClass = `${fieldGroupRootClass}__fields`;\n const fieldGroupValidationTextClass = `${fieldGroupRootClass}__validationText`;\n const fieldGroupHelperTextClass = `${fieldGroupRootClass}__helperText`;\n\n return {\n classProps: {\n root: classNames(fieldGroupRootClass, {\n [fieldGroupRootFluidClass]: isFluid,\n [fieldGroupRootValidationClass]: validationState,\n }),\n label: classNames(fieldGroupLabelClass, {\n [fieldGroupLabelRequiredClass]: isRequired,\n }),\n fields: fieldGroupFieldsClass,\n validationText: fieldGroupValidationTextClass,\n helperText: fieldGroupHelperTextClass,\n },\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { type SpiritFieldGroupProps } from '../../types';\nimport { HelperText, ValidationText, useAriaIds } from '../Field';\nimport { useValidationTextRole } from '../Field/useValidationTextRole';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { useFieldGroupStyleProps } from './useFieldGroupStyleProps';\n\nconst FieldGroup = (props: SpiritFieldGroupProps) => {\n const {\n 'aria-describedby': ariaDescribedBy = '',\n children,\n helperText,\n hasValidationIcon,\n id,\n isDisabled,\n isFluid,\n isLabelHidden,\n isRequired,\n label,\n validationState,\n validationText,\n ...rest\n } = props;\n\n const { classProps } = useFieldGroupStyleProps({ hasValidationIcon, isFluid, isRequired, validationState });\n const { styleProps, props: transferProps } = useStyleProps(rest);\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n const validationTextRole = useValidationTextRole({\n validationState,\n validationText,\n });\n\n return (\n <fieldset\n {...transferProps}\n {...styleProps}\n {...ariaDescribedByProp}\n className={classNames(classProps.root, styleProps.className)}\n disabled={isDisabled}\n >\n <VisuallyHidden elementType=\"legend\">{label}</VisuallyHidden>\n {!isLabelHidden && (\n <div className={classProps.label} aria-hidden=\"true\">\n {label}\n </div>\n )}\n <div className={classProps.fields}>{children}</div>\n <HelperText\n UNSAFE_className={classProps.helperText}\n id={`${id}__helperText`}\n registerAria={register}\n helperText={helperText}\n />\n {validationState && (\n <ValidationText\n UNSAFE_className={classProps.validationText}\n {...(hasValidationIcon && { hasValidationStateIcon: validationState })}\n id={`${id}__helperText`}\n validationText={validationText}\n registerAria={register}\n role={validationTextRole}\n />\n )}\n </fieldset>\n );\n};\n\nFieldGroup.spiritComponent = 'FieldGroup';\n\nexport default FieldGroup;\n","export const DEFAULT_FILE_SIZE_LIMIT = 10000000; // = 10 MB\nexport const DEFAULT_FILE_QUEUE_LIMIT = 1;\nexport const IMAGE_DIMENSION = 54; // px; @see: CSS class `.FileUploaderAttachment__image` in _FileUploaderAttachment.scss\nexport const IMAGE_PREVIEW_BASE64_MAX_WIDTH = 500; // px\n\nexport const DEFAULT_ERROR_MESSAGE_MAX_FILE_SIZE = 'The file size limit has been exceeded';\nexport const DEFAULT_ERROR_MESSAGE_QUEUE_DUPLICITY = 'This file already exists in the queue';\nexport const DEFAULT_ERROR_MESSAGE_QUEUE_LIMIT = 'You have exceeded the number of files allowed in the queue';\nexport const DEFAULT_ERROR_MESSAGE_UNSUPPORTED_FILE = 'This file type is not supported';\nexport const DEFAULT_ICON_NAME = 'file';\n\nexport const FileUploaderCropCSS = {\n TOP: '--file-uploader-attachment-image-top',\n LEFT: '--file-uploader-attachment-image-left',\n WIDTH: '--file-uploader-attachment-image-width',\n HEIGHT: '--file-uploader-attachment-image-height',\n} as const;\n","'use client';\n\nimport { createContext, useContext } from 'react';\nimport { type FileUploaderErrorMessagesProps, type FileUploaderHandlingProps } from '../../types';\n\nexport interface FileUploaderContextProps extends FileUploaderHandlingProps, FileUploaderErrorMessagesProps {}\n\nconst defaultContext: FileUploaderContextProps = {\n addToQueue: () => new Map(),\n clearQueue: () => null,\n fileQueue: new Map(),\n onDismiss: () => new Map(),\n findInQueue: () => null,\n updateQueue: () => new Map(),\n errorMessages: {\n errorFileDuplicity: '',\n errorFileNotSupported: '',\n errorMaxFileSize: '',\n errorMaxUploadedFiles: '',\n },\n};\n\nconst FileUploaderContext = createContext<FileUploaderContextProps>(defaultContext);\nconst FileUploaderProvider = FileUploaderContext.Provider;\nconst FileUploaderConsumer = FileUploaderContext.Consumer;\nconst useFileUploaderContext = (): FileUploaderContextProps => useContext(FileUploaderContext);\n\nexport default FileUploaderContext;\nexport { FileUploaderProvider, FileUploaderConsumer, useFileUploaderContext };\n","import classNames from 'classnames';\nimport { type CSSProperties } from 'react';\nimport { type ObjectFit } from '../../constants';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type FileMetadata, type FileUploaderQueueLimitBehaviorType, type Validation } from '../../types';\nimport { FileUploaderCropCSS, IMAGE_DIMENSION } from './constants';\n\nexport interface FileUploaderStyleProps extends Validation {\n imageObjectFit?: (typeof ObjectFit)[keyof typeof ObjectFit];\n isDisabled?: boolean;\n isDisabledByQueueLimitBehavior?: boolean;\n isDragAndDropSupported?: boolean;\n isDragging?: boolean;\n isDropZoneHidden?: boolean;\n isFluid?: boolean;\n isLabelHidden?: boolean;\n meta?: FileMetadata;\n queueLimitBehavior?: FileUploaderQueueLimitBehaviorType;\n}\n\ntype ImageCropCSS = {\n [FileUploaderCropCSS.TOP]?: string;\n [FileUploaderCropCSS.LEFT]?: string;\n [FileUploaderCropCSS.WIDTH]?: string;\n [FileUploaderCropCSS.HEIGHT]?: string;\n} & CSSProperties;\n\ntype ImageObjectFit = {\n '--file-uploader-attachment-image-object-fit': string;\n};\n\ntype ImageCropMeta = {\n x: number;\n y: number;\n cropWidth: number;\n cropHeight: number;\n originalWidth: number;\n originalHeight: number;\n};\n\nexport interface FileUploaderStyleReturn {\n /** className props */\n classProps: {\n root: string;\n input: {\n root: string;\n label: string;\n input: string;\n dropLabel: string;\n helper: string;\n link: string;\n validationText: string;\n dropZone: {\n root: string;\n label: string;\n };\n };\n list: string;\n attachment: {\n root: string;\n button: string;\n name: string;\n image: string;\n slot: string;\n };\n imageCropStyles?: ImageCropCSS;\n attachmentStyles?: ImageObjectFit;\n };\n}\n\nexport const useFileUploaderStyleProps = (props?: FileUploaderStyleProps): FileUploaderStyleReturn => {\n const fileUploaderClass = useClassNamePrefix('FileUploader');\n const fileUploaderHasDragAndDropClass = 'has-drag-and-drop';\n const fileUploaderFluidClass = `${fileUploaderClass}--fluid`;\n const fileUploaderInputClass = `${fileUploaderClass}Input`;\n const fileUploaderInputDisabledClass = `${fileUploaderInputClass}--disabled`;\n const fileUploaderInputValidationClass = `${fileUploaderInputClass}--${props?.validationState}`;\n const fileUploaderInputDraggingClass = 'is-dragging';\n const fileUploaderInputDropLabelClass = `${fileUploaderInputClass}__dragAndDropLabel`;\n const fileUploaderInputDropZoneClass = `${fileUploaderInputClass}__dropZone`;\n const fileUploaderInputDropZoneLabelClass = `${fileUploaderInputDropZoneClass}Label`;\n const fileUploaderInputHelperClass = `${fileUploaderInputClass}__helperText`;\n const fileUploaderInputHiddenClass = 'd-none';\n const fileUploaderInputInputClass = `${fileUploaderInputClass}__input`;\n const fileUploaderInputLabelClass = `${fileUploaderInputClass}__label`;\n const fileUploaderInputLabelHiddenClass = `${fileUploaderInputClass}__label--hidden`;\n const fileUploaderInputLabelRequiredClass = `${fileUploaderInputClass}__label--required`;\n const fileUploaderInputLinkClass = `${fileUploaderInputClass}__link`;\n const fileUploaderInputLinkUtilityClasses = ['link-primary', 'link-underlined'];\n const fileUploaderInputValidationTextClass = `${fileUploaderInputClass}__validationText`;\n const fileUploaderListClass = `${fileUploaderClass}List`;\n const fileUploaderAttachmentClass = `${fileUploaderClass}Attachment`;\n const fileUploaderAttachmentNameClass = `${fileUploaderAttachmentClass}__name`;\n const fileUploaderAttachmentButtonClass = `${fileUploaderAttachmentClass}__action`;\n const fileUploaderAttachmentImageClass = `${fileUploaderAttachmentClass}__image`;\n const fileUploaderAttachmentSlotClass = `${fileUploaderAttachmentClass}__slot`;\n\n const { meta, imageObjectFit } = props || {};\n let imageCropCSS: ImageCropCSS | undefined;\n let imageObjectFitCSS: ImageObjectFit | undefined;\n const hasCoordsInMeta =\n meta != null &&\n ['x', 'y', 'cropWidth', 'cropHeight', 'originalWidth', 'originalHeight'].every((coord) => meta[coord] != null);\n\n if (hasCoordsInMeta) {\n const { x, y, cropWidth, cropHeight, originalWidth, originalHeight } = meta as ImageCropMeta;\n const previewHeight = IMAGE_DIMENSION;\n let scale;\n if (cropHeight > cropWidth) {\n // scale for portrait images\n scale = previewHeight / cropWidth;\n } else {\n // scale for landscape images\n scale = previewHeight / cropHeight;\n }\n\n const cropX = Math.round(x * scale);\n const cropY = Math.round(y * scale);\n const imageWidth = Math.round(originalWidth * scale);\n const imageHeight = Math.round(originalHeight * scale);\n\n imageCropCSS = {\n [FileUploaderCropCSS.TOP]: `-${cropY}px`,\n [FileUploaderCropCSS.LEFT]: `-${cropX}px`,\n [FileUploaderCropCSS.WIDTH]: `${imageWidth}px`,\n [FileUploaderCropCSS.HEIGHT]: `${imageHeight}px`,\n };\n }\n\n if (imageObjectFit) {\n imageObjectFitCSS = {\n '--file-uploader-attachment-image-object-fit': imageObjectFit,\n };\n }\n\n return {\n classProps: {\n root: classNames(fileUploaderClass, { [fileUploaderFluidClass]: props?.isFluid }),\n input: {\n root: classNames(fileUploaderInputClass, {\n [fileUploaderHasDragAndDropClass]: props?.isDragAndDropSupported,\n [fileUploaderInputDisabledClass]:\n props?.isDisabled || (props?.isDisabledByQueueLimitBehavior && props?.queueLimitBehavior === 'disable'),\n [fileUploaderInputDraggingClass]: props?.isDragging,\n [fileUploaderInputHiddenClass]: props?.isDropZoneHidden && props.queueLimitBehavior === 'hide',\n [fileUploaderInputValidationClass]: props?.validationState,\n }),\n label: classNames(fileUploaderInputLabelClass, {\n [fileUploaderInputLabelRequiredClass]: props?.isRequired,\n [fileUploaderInputLabelHiddenClass]: props?.isLabelHidden,\n }),\n input: fileUploaderInputInputClass,\n dropLabel: fileUploaderInputDropLabelClass,\n helper: fileUploaderInputHelperClass,\n link: classNames(fileUploaderInputLinkClass, ...fileUploaderInputLinkUtilityClasses),\n validationText: fileUploaderInputValidationTextClass,\n dropZone: {\n root: fileUploaderInputDropZoneClass,\n label: fileUploaderInputDropZoneLabelClass,\n },\n },\n list: fileUploaderListClass,\n attachment: {\n root: fileUploaderAttachmentClass,\n button: fileUploaderAttachmentButtonClass,\n name: fileUploaderAttachmentNameClass,\n image: fileUploaderAttachmentImageClass,\n slot: fileUploaderAttachmentSlotClass,\n },\n ...(hasCoordsInMeta && { imageCropStyles: imageCropCSS }),\n ...(imageObjectFit && { attachmentStyles: imageObjectFitCSS }),\n },\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritFileUploaderProps } from '../../types';\nimport {\n DEFAULT_ERROR_MESSAGE_MAX_FILE_SIZE,\n DEFAULT_ERROR_MESSAGE_QUEUE_DUPLICITY,\n DEFAULT_ERROR_MESSAGE_QUEUE_LIMIT,\n DEFAULT_ERROR_MESSAGE_UNSUPPORTED_FILE,\n} from './constants';\nimport { FileUploaderProvider } from './FileUploaderContext';\nimport { useFileUploaderStyleProps } from './useFileUploaderStyleProps';\n\nconst FileUploader = (props: SpiritFileUploaderProps) => {\n const {\n addToQueue,\n children,\n clearQueue,\n errorMessages,\n fileQueue,\n findInQueue,\n id,\n isFluid,\n onDismiss,\n updateQueue,\n ...restProps\n } = props;\n\n const { classProps } = useFileUploaderStyleProps({ isFluid });\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n const contextValue = {\n addToQueue,\n clearQueue,\n fileQueue,\n onDismiss,\n findInQueue,\n updateQueue,\n errorMessages: {\n errorFileDuplicity: DEFAULT_ERROR_MESSAGE_QUEUE_DUPLICITY,\n errorFileNotSupported: DEFAULT_ERROR_MESSAGE_UNSUPPORTED_FILE,\n errorMaxFileSize: DEFAULT_ERROR_MESSAGE_MAX_FILE_SIZE,\n errorMaxUploadedFiles: DEFAULT_ERROR_MESSAGE_QUEUE_LIMIT,\n ...errorMessages,\n },\n };\n\n return (\n <FileUploaderProvider value={contextValue}>\n <div id={id} {...transferProps} {...styleProps} className={classNames(classProps.root, styleProps.className)}>\n {children}\n </div>\n </FileUploaderProvider>\n );\n};\n\nFileUploader.spiritComponent = 'FileUploader';\n\nexport default FileUploader;\n","'use client';\n\nimport { type ChangeEvent, type DragEvent, useEffect, useState } from 'react';\nimport { warning } from '../../common/utilities';\nimport { useDragAndDrop } from '../../hooks';\nimport {\n type DragAndDropHandlingProps,\n type FileQueueMapType,\n type FileUploaderQueueLimitBehaviorType,\n} from '../../types';\nimport { useFileUploaderContext } from './FileUploaderContext';\n\nexport interface UseFileUploaderInputProps {\n accept?: string;\n queueLimitBehavior?: FileUploaderQueueLimitBehaviorType;\n isMultiple?: boolean;\n maxFileSize: number;\n maxUploadedFiles: number;\n onError?: (error: string | Error) => void;\n}\n\nexport interface UseFileUploaderInputReturn extends DragAndDropHandlingProps<HTMLDivElement> {\n isDragging: boolean;\n isDropZoneHidden: boolean;\n isDisabledByQueueLimitBehavior: boolean;\n onChange: (event: ChangeEvent<HTMLInputElement>) => void;\n}\n\nexport const useFileUploaderInput = (props: UseFileUploaderInputProps): UseFileUploaderInputReturn => {\n const { maxFileSize, maxUploadedFiles, queueLimitBehavior, isMultiple, onError, accept } = props;\n\n const [disabledByQueueLimitBehavior, setDisabledByQueueLimitBehavior] = useState(false);\n const [dropZoneHidden, setDropZoneHidden] = useState(false);\n\n const { fileQueue, addToQueue, clearQueue, errorMessages } = useFileUploaderContext();\n\n const getUpdatedFileName = (name: string): string => `file__${name.replace(/\\./g, '_').replace(/\\s/g, '_')}`;\n\n const checkAllowedFileSize = (file: File) => {\n if (file.size > maxFileSize) {\n throw new Error(`${file.name}: ${errorMessages?.errorMaxFileSize}`);\n }\n };\n\n const checkIsMultiple = () => {\n if (maxUploadedFiles > 1 && !isMultiple) {\n throw new Error('`isMultiple` props must be set when maxUploadedFiles is greater than `1`');\n }\n };\n\n const checkFileDuplicity = (file: File) => {\n if (isMultiple && fileQueue.has(getUpdatedFileName(file.name))) {\n throw new Error(`${file.name}: ${errorMessages?.errorFileDuplicity}`);\n }\n };\n\n const checkQueueSize = () => {\n if (fileQueue.size >= maxUploadedFiles) {\n throw new Error(errorMessages?.errorMaxUploadedFiles);\n }\n };\n\n const checkAllowedFileType = (file: File) => {\n const fileExtension = file.name.split('.').pop()?.toLowerCase() as string;\n const fileType = file.type;\n const shouldValidate = accept && !(accept === '' || accept === '*' || accept === '*/*');\n let isTypeSupported;\n\n if (!shouldValidate) {\n isTypeSupported = true;\n } else {\n const acceptArray = accept.replace(/ /g, '').split(',');\n const acceptExtensions = acceptArray.filter((exp) => exp.match(/\\./g));\n const acceptTypes = acceptArray.filter((exp) => exp.match(/\\//g));\n\n acceptExtensions.forEach((acceptExtension) => {\n const expression = acceptExtension.replace('.', '').replace('*', '');\n\n if (fileExtension.match(expression)) {\n isTypeSupported = true;\n }\n });\n\n acceptTypes.forEach((acceptType) => {\n const expression = acceptType.replace('*', '');\n\n if (fileType.match(expression)) {\n isTypeSupported = true;\n }\n });\n }\n\n if (!isTypeSupported) {\n throw new Error(`${file.name}: ${errorMessages?.errorFileNotSupported}`);\n }\n };\n\n const updateDropZoneVisibility = (queue: FileQueueMapType) => {\n if (!queueLimitBehavior) {\n return;\n }\n\n if (queueLimitBehavior === 'hide') {\n setDropZoneHidden(queue?.size >= maxUploadedFiles);\n } else {\n setDisabledByQueueLimitBehavior(queue?.size >= maxUploadedFiles);\n }\n };\n\n const clearQueueHandler = () => {\n if (!isMultiple) {\n clearQueue();\n }\n };\n\n const fileProcessHandler = (file: File) => {\n try {\n clearQueueHandler();\n checkFileDuplicity(file);\n checkAllowedFileSize(file);\n checkAllowedFileType(file);\n checkQueueSize();\n checkIsMultiple();\n addToQueue(getUpdatedFileName(file.name), file);\n } catch (error) {\n if (onError) {\n onError(error);\n } else {\n warning(false, error);\n }\n }\n };\n\n const onDropHandler = (event: DragEvent<HTMLDivElement>) => {\n const transferItems = Array.from(event.dataTransfer.items);\n const transferFiles = Array.from(event.dataTransfer.files);\n\n let counter = 0;\n let overLimit;\n counter += fileQueue.size;\n\n if (event.dataTransfer.items) {\n transferItems.forEach((item) => {\n if (item.kind === 'file') {\n const file = item.getAsFile();\n if (file && counter < maxUploadedFiles) {\n fileProcessHandler(file);\n counter += 1;\n } else {\n overLimit = true;\n }\n }\n });\n } else {\n transferFiles.forEach((file) => {\n if (counter < maxUploadedFiles) {\n fileProcessHandler(file);\n counter += 1;\n } else {\n overLimit = true;\n }\n });\n }\n\n if (overLimit && onError && errorMessages?.errorMaxUploadedFiles) {\n onError(new Error(errorMessages?.errorMaxUploadedFiles));\n }\n };\n\n const onChangeHandler = (event: ChangeEvent<HTMLInputElement>) => {\n const { files } = event.target;\n const filesArray = Array.prototype.slice.call(files);\n\n let counter = 0;\n let overLimit;\n counter += fileQueue.size;\n\n filesArray.forEach((file: File) => {\n if (counter < maxUploadedFiles) {\n fileProcessHandler(file);\n counter += 1;\n } else {\n overLimit = true;\n }\n });\n\n if (overLimit && onError && errorMessages?.errorMaxUploadedFiles) {\n onError(new Error(errorMessages?.errorMaxUploadedFiles));\n }\n\n event.target.blur();\n // eslint-disable-next-line no-param-reassign -- Resetting input value is required for file inputs\n event.target.value = '';\n };\n\n useEffect(() => {\n updateDropZoneVisibility(fileQueue);\n // We only want a dependency for fileQueue\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [fileQueue]);\n\n const dragAndDropProps = useDragAndDrop({\n onDrop: onDropHandler,\n });\n\n return {\n isDropZoneHidden: dropZoneHidden,\n isDisabledByQueueLimitBehavior: disabledByQueueLimitBehavior,\n onChange: onChangeHandler,\n ...dragAndDropProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { useEffect, useState } from 'react';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { type SpiritFileUploaderInputProps } from '../../types';\nimport { HelperText, Label, ValidationText, useAriaIds } from '../Field';\nimport { useValidationTextRole } from '../Field/useValidationTextRole';\nimport { Icon } from '../Icon';\nimport { DEFAULT_FILE_QUEUE_LIMIT, DEFAULT_FILE_SIZE_LIMIT } from './constants';\nimport { useFileUploaderInput } from './useFileUploaderInput';\nimport { useFileUploaderStyleProps } from './useFileUploaderStyleProps';\n\nconst FileUploaderInput = (props: SpiritFileUploaderInputProps) => {\n const [isDragAndDropSupported, setIsDragAndDropSupported] = useState(false);\n const {\n accept,\n 'aria-describedby': ariaDescribedBy = '',\n dropZoneRef,\n hasValidationIcon,\n helperText,\n iconName = 'upload',\n id,\n inputRef,\n isDisabled,\n isLabelHidden,\n isMultiple,\n isRequired,\n label,\n labelText,\n linkText,\n maxFileSize = DEFAULT_FILE_SIZE_LIMIT,\n maxUploadedFiles = DEFAULT_FILE_QUEUE_LIMIT,\n onError,\n queueLimitBehavior = 'none',\n validationState,\n validationText,\n ...restProps\n } = props;\n const {\n isDisabledByQueueLimitBehavior,\n isDragging,\n isDropZoneHidden,\n onChange,\n onDragEnter,\n onDragLeave,\n onDragOver,\n onDrop,\n } = useFileUploaderInput({\n accept,\n isMultiple,\n maxFileSize,\n maxUploadedFiles,\n onError,\n queueLimitBehavior,\n });\n const { classProps } = useFileUploaderStyleProps({\n hasValidationIcon,\n isDisabled,\n isDisabledByQueueLimitBehavior,\n isDragAndDropSupported,\n isDragging,\n isDropZoneHidden,\n isLabelHidden,\n isRequired,\n queueLimitBehavior,\n validationState,\n });\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n const validationTextRole = useValidationTextRole({\n validationState,\n validationText,\n });\n\n useEffect(() => {\n setIsDragAndDropSupported('draggable' in document.createElement('span'));\n }, []);\n\n return (\n <div\n {...transferProps}\n {...styleProps}\n onDragOver={!isDisabled && isDragAndDropSupported ? onDragOver : undefined}\n onDragEnter={!isDisabled && isDragAndDropSupported ? onDragEnter : undefined}\n onDragLeave={!isDisabled && isDragAndDropSupported ? onDragLeave : undefined}\n onDrop={!isDisabled && isDragAndDropSupported ? onDrop : undefined}\n className={classNames(classProps.input.root, styleProps.className)}\n >\n <Label htmlFor={id} UNSAFE_className={classProps.input.label}>\n {label}\n </Label>\n <input\n {...ariaDescribedByProp}\n type=\"file\"\n accept={accept}\n id={id}\n ref={inputRef}\n className={classProps.input.input}\n onChange={onChange}\n multiple={isMultiple}\n disabled={isDisabled || isDisabledByQueueLimitBehavior}\n {...restProps}\n />\n <div ref={dropZoneRef} className={classProps.input.dropZone.root}>\n <Icon name={iconName} aria-hidden=\"true\" />\n <Label htmlFor={id} UNSAFE_className={classProps.input.dropZone.label}>\n <span className={classProps.input.link}>{linkText}</span>\n &nbsp;\n <span className={classProps.input.dropLabel}>{labelText}</span>\n </Label>\n <HelperText\n UNSAFE_className={classProps.input.helper}\n id={`${id}__helperText`}\n registerAria={register}\n helperText={helperText}\n />\n </div>\n {validationState && (\n <ValidationText\n UNSAFE_className={classProps.input.validationText}\n elementType=\"span\"\n {...(hasValidationIcon && { hasValidationStateIcon: validationState })}\n id={`${id}__validationText`}\n validationText={validationText}\n registerAria={register}\n role={validationTextRole}\n />\n )}\n </div>\n );\n};\n\nFileUploaderInput.spiritComponent = 'FileUploaderInput';\n\nexport default FileUploaderInput;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { useMemo } from 'react';\nimport { useI18n, useStyleProps } from '../../hooks';\nimport { type SpiritFileUploaderListProps } from '../../types';\nimport { useFileUploaderContext } from './FileUploaderContext';\nimport { useFileUploaderStyleProps } from './useFileUploaderStyleProps';\n\nconst FileUploaderList = (props: SpiritFileUploaderListProps) => {\n const { t } = useI18n();\n const { label, id, attachmentComponent, inputName, hasImagePreview, ...restProps } = props;\n const attachmentsLabel = label ?? t('fileUploader.attachments');\n\n const { classProps } = useFileUploaderStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const { fileQueue, onDismiss } = useFileUploaderContext();\n\n const renderAttachments = useMemo(() => {\n const fileArray = Array.from(fileQueue, (entry) => ({ key: entry[0], file: entry[1].file, meta: entry[1].meta }));\n\n return fileArray.map(\n ({ key, file, meta }) =>\n attachmentComponent &&\n attachmentComponent({\n id: key,\n label: file.name,\n name: inputName,\n file,\n meta,\n onDismiss,\n hasImagePreview,\n }),\n );\n }, [attachmentComponent, fileQueue, inputName, onDismiss, hasImagePreview]);\n\n return (\n <>\n <h3 id={id} hidden>\n {attachmentsLabel}\n </h3>\n <ul\n aria-labelledby={id}\n {...transferProps}\n {...styleProps}\n className={classNames(classProps.list, styleProps.className)}\n >\n {renderAttachments}\n </ul>\n </>\n );\n};\n\nFileUploaderList.spiritComponent = 'FileUploaderList';\n\nexport default FileUploaderList;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritAttachmentActionButtonProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { useFileUploaderStyleProps } from './useFileUploaderStyleProps';\n\nconst AttachmentActionButton = (props: SpiritAttachmentActionButtonProps) => {\n const { name = 'edit', children, ...restProps } = props;\n\n const { classProps } = useFileUploaderStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n return (\n <button\n type=\"button\"\n {...transferProps}\n {...styleProps}\n className={classNames(classProps.attachment.button, styleProps.className)}\n >\n <VisuallyHidden>{children}</VisuallyHidden>\n <Icon name={name} aria-hidden=\"true\" />\n </button>\n );\n};\n\nAttachmentActionButton.spiritComponent = 'AttachmentActionButton';\n\nexport default AttachmentActionButton;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritAttachmentDismissButtonProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { useFileUploaderStyleProps } from './useFileUploaderStyleProps';\n\nconst AttachmentDismissButton = (props: SpiritAttachmentDismissButtonProps) => {\n const { children, ...restProps } = props;\n\n const { classProps } = useFileUploaderStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n return (\n <button\n type=\"button\"\n {...transferProps}\n {...styleProps}\n className={classNames(classProps.attachment.button, styleProps.className)}\n >\n <VisuallyHidden>{children}</VisuallyHidden>\n <Icon name=\"close\" aria-hidden=\"true\" />\n </button>\n );\n};\n\nAttachmentDismissButton.spiritComponent = 'AttachmentDismissButton';\n\nexport default AttachmentDismissButton;\n","'use client';\n\nimport React from 'react';\nimport { type AttachmentImagePreviewProps } from '../../types';\nimport { IMAGE_DIMENSION } from './constants';\nimport { useFileUploaderStyleProps } from './useFileUploaderStyleProps';\n\nconst defaultProps: Partial<AttachmentImagePreviewProps> = {\n meta: undefined,\n imageObjectFit: 'cover',\n};\n\nconst AttachmentImagePreview = (props: AttachmentImagePreviewProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { label, imagePreview, meta, imageObjectFit } = propsWithDefaults;\n const { classProps } = useFileUploaderStyleProps({ meta, imageObjectFit });\n const { imageCropStyles, attachmentStyles } = classProps;\n\n return (\n <span className={classProps.attachment.image}>\n <img\n src={imagePreview}\n width={IMAGE_DIMENSION}\n height={IMAGE_DIMENSION}\n alt={label}\n style={{ ...imageCropStyles, ...attachmentStyles }}\n />\n </span>\n );\n};\n\nAttachmentImagePreview.spiritComponent = 'AttachmentImagePreview';\n\nexport default AttachmentImagePreview;\n","import { warning } from '../../common/utilities';\nimport { type FileMetadata } from '../../types/fileUploader';\n\nconst getAttachmentInput = (\n file: File,\n name: string,\n onError?: (error: string) => void,\n): HTMLInputElement | undefined => {\n const attachmentInputElement = document.createElement('input');\n const dataContainer = new DataTransfer();\n\n if (file) {\n dataContainer.items?.add(file);\n } else {\n if (onError) {\n onError('File not found');\n } else {\n warning(false, 'File not found');\n }\n\n return;\n }\n\n attachmentInputElement.setAttribute('type', 'file');\n attachmentInputElement.setAttribute('name', `${name}[]`);\n attachmentInputElement.setAttribute('hidden', '');\n\n attachmentInputElement.files = dataContainer.files;\n\n return attachmentInputElement;\n};\n\nconst getAttachmentMetaInput = (file: File, name: string, meta: FileMetadata): HTMLInputElement => {\n const attachmentInputElement = document.createElement('input');\n\n attachmentInputElement.setAttribute('type', 'text');\n attachmentInputElement.setAttribute('name', `${name}_meta`);\n attachmentInputElement.setAttribute('value', JSON.stringify(meta));\n attachmentInputElement.setAttribute('hidden', '');\n\n return attachmentInputElement;\n};\n\nconst image2Base64Preview = (file: File, maxWidth: number, callback: (base64Preview: string) => void) => {\n const reader = new FileReader();\n\n reader.onload = (event) => {\n const image = new Image();\n image.onload = () => {\n const canvas = document.createElement('canvas');\n const context = canvas.getContext('2d');\n canvas.width = maxWidth;\n canvas.height = (image.height / image.width) * maxWidth;\n context?.drawImage(image, 0, 0, canvas.width, canvas.height);\n const compressedDataURL = canvas.toDataURL('image/jpeg', 0.8);\n callback(compressedDataURL);\n };\n\n if (event.target && event.target.result) {\n image.src = event.target.result.toString();\n }\n };\n\n reader.readAsDataURL(file);\n};\n\nconst base64ToByteArray = (base64Image: string) => {\n const byteCharacters = atob(base64Image);\n const byteNumbers = new Array(byteCharacters.length);\n for (let i = 0; i < byteCharacters.length; i++) {\n byteNumbers[i] = byteCharacters.charCodeAt(i);\n }\n const byteArray = new Uint8Array(byteNumbers);\n\n return byteArray;\n};\n\nexport { base64ToByteArray, getAttachmentInput, getAttachmentMetaInput, image2Base64Preview };\n","import { type RefObject } from 'react';\nimport { useIsomorphicLayoutEffect } from '../../hooks';\nimport { type FileMetadata } from '../../types/fileUploader';\nimport { getAttachmentInput, getAttachmentMetaInput } from './utils';\n\nexport interface UseFileUploaderAttachmentProps {\n attachmentRef: RefObject<HTMLLIElement>;\n file: File;\n meta?: FileMetadata;\n name: string;\n onError?: (error: string) => void;\n}\n\nexport const useFileUploaderAttachment = ({\n attachmentRef,\n file,\n name,\n meta,\n onError,\n}: UseFileUploaderAttachmentProps) => {\n useIsomorphicLayoutEffect(() => {\n const createAttachmentInput = (metadata?: FileMetadata) => {\n attachmentRef.current?.querySelectorAll('input').forEach((element) => element.remove());\n const attachmentInputElement = getAttachmentInput(file, name, onError);\n attachmentInputElement && attachmentRef.current?.appendChild(attachmentInputElement);\n\n if (metadata) {\n const attachmentInputMetaElement = getAttachmentMetaInput(file, name, metadata);\n attachmentRef.current?.appendChild(attachmentInputMetaElement);\n }\n };\n\n createAttachmentInput(meta);\n }, [attachmentRef, file, name, meta, onError]);\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type MouseEvent, type RefObject, useRef, useState } from 'react';\nimport { useClassNamePrefix, useI18n, useStyleProps } from '../../hooks';\nimport { type SpiritFileUploaderAttachmentProps } from '../../types';\nimport { Icon } from '../Icon';\nimport AttachmentActionButton from './AttachmentActionButton';\nimport AttachmentDismissButton from './AttachmentDismissButton';\nimport AttachmentImagePreview from './AttachmentImagePreview';\nimport { DEFAULT_ICON_NAME, IMAGE_PREVIEW_BASE64_MAX_WIDTH } from './constants';\nimport { useFileUploaderAttachment } from './useFileUploaderAttachment';\nimport { useFileUploaderStyleProps } from './useFileUploaderStyleProps';\nimport { image2Base64Preview } from './utils';\n\nconst FileUploaderAttachment = (props: SpiritFileUploaderAttachmentProps) => {\n const { t } = useI18n();\n const {\n editText,\n file,\n hasImagePreview,\n iconName = DEFAULT_ICON_NAME,\n id,\n imageObjectFit,\n label,\n meta,\n name,\n onDismiss,\n onEdit,\n onError,\n removeText,\n ...restProps\n } = props;\n const resolvedEditText = editText ?? t('fileUploader.edit');\n const resolvedRemoveText = removeText ?? t('fileUploader.remove');\n const [imagePreview, setImagePreview] = useState<string>('');\n\n const { classProps } = useFileUploaderStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n const isFileImage = file.type.includes('image');\n\n const attachmentRef = useRef() as RefObject<HTMLLIElement>;\n\n const dismissHandler = () => {\n if (onDismiss) {\n onDismiss(id);\n }\n };\n\n const onEditHandler = (event: MouseEvent) => onEdit && onEdit(event, file);\n\n if (isFileImage) {\n image2Base64Preview(file, IMAGE_PREVIEW_BASE64_MAX_WIDTH, (compressedDataURL) =>\n setImagePreview(compressedDataURL),\n );\n }\n\n useFileUploaderAttachment({ attachmentRef, file, name, meta, onError });\n\n return (\n <li\n id={id}\n ref={attachmentRef}\n {...transferProps}\n {...styleProps}\n className={classNames(classProps.attachment.root, styleProps.className)}\n >\n {hasImagePreview && imagePreview ? (\n <AttachmentImagePreview label={label} imagePreview={imagePreview} meta={meta} imageObjectFit={imageObjectFit} />\n ) : (\n <Icon name={iconName} aria-hidden=\"true\" />\n )}\n <span className={classProps.attachment.name}>\n <span className={useClassNamePrefix('text-truncate')}>{label}</span>\n </span>\n {onEdit && (\n <span className={classProps.attachment.slot}>\n <AttachmentActionButton onClick={onEditHandler}>{resolvedEditText}</AttachmentActionButton>\n </span>\n )}\n <AttachmentDismissButton onClick={dismissHandler}>{resolvedRemoveText}</AttachmentDismissButton>\n </li>\n );\n};\n\nFileUploaderAttachment.spiritComponent = 'FileUploaderAttachment';\n\nexport default FileUploaderAttachment;\n","'use client';\n\nimport { useState } from 'react';\nimport { type FileMetadata, type FileQueueValueType, type FileUploaderHandlingProps } from '../../types';\n\nexport interface FileQueueReturn extends FileUploaderHandlingProps {}\n\nexport const useFileQueue = (): FileQueueReturn => {\n const [queue, setQueue] = useState<Map<string, FileQueueValueType>>(new Map());\n\n const onDismissHandler = (name: string) => {\n setQueue((prev) => {\n const newState = new Map(prev);\n newState.delete(name);\n\n return newState;\n });\n\n return queue;\n };\n\n const addToQueueHandler = (key: string, file: File, meta?: FileMetadata) => {\n setQueue((prev) => {\n const newValue: FileQueueValueType = { file };\n if (meta != null) {\n newValue.meta = meta;\n }\n\n return new Map(prev.set(key, newValue));\n });\n\n return queue;\n };\n\n const findInQueueHandler = (key: string) => queue.get(key) || null;\n\n const updateQueueHandler = (key: string, file: File, meta?: FileMetadata) => {\n setQueue((prev) => {\n const newState = new Map(prev);\n const newValue: FileQueueValueType = { file };\n\n if (meta != null) {\n newValue.meta = meta;\n }\n\n newState.set(key, newValue);\n\n return newState;\n });\n\n return queue;\n };\n\n const clearQueueHandler = () => {\n setQueue((prev) => {\n prev.clear();\n\n return new Map(prev);\n });\n };\n\n return {\n addToQueue: addToQueueHandler,\n clearQueue: clearQueueHandler,\n fileQueue: queue,\n findInQueue: findInQueueHandler,\n onDismiss: onDismissHandler,\n updateQueue: updateQueueHandler,\n };\n};\n","'use client';\n\nimport React, { useEffect } from 'react';\nimport { type SpiritUncontrolledFileUploaderProps } from '../../types';\nimport FileUploader from './FileUploader';\nimport FileUploaderInput from './FileUploaderInput';\nimport FileUploaderList from './FileUploaderList';\nimport { useFileQueue } from './useFileQueue';\n\nconst UncontrolledFileUploader = (props: SpiritUncontrolledFileUploaderProps) => {\n const {\n attachmentComponent,\n maxFileSize,\n maxUploadedFiles,\n helperText,\n iconName,\n inputId,\n inputLabel,\n inputName,\n inputProps,\n isLabelHidden,\n isDisabled,\n isFluid,\n queueLimitBehavior,\n isMultiple,\n isRequired,\n labelText,\n linkText,\n listId,\n listProps,\n onInputError,\n onChange,\n errorMessages,\n validationState,\n validationText,\n ...restProps\n } = props;\n\n const { fileQueue, addToQueue, clearQueue, onDismiss, findInQueue, updateQueue } = useFileQueue();\n\n useEffect(() => {\n if (onChange) {\n onChange(fileQueue);\n }\n // We only want a dependency for fileQueue\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [fileQueue]);\n\n return (\n <FileUploader\n fileQueue={fileQueue}\n onDismiss={onDismiss}\n addToQueue={addToQueue}\n clearQueue={clearQueue}\n findInQueue={findInQueue}\n updateQueue={updateQueue}\n errorMessages={errorMessages}\n isFluid={isFluid}\n {...restProps}\n >\n <FileUploaderInput\n maxFileSize={maxFileSize}\n maxUploadedFiles={maxUploadedFiles}\n helperText={helperText}\n iconName={iconName}\n id={inputId}\n isLabelHidden={isLabelHidden}\n isDisabled={isDisabled}\n queueLimitBehavior={queueLimitBehavior}\n isMultiple={isMultiple}\n isRequired={isRequired}\n label={inputLabel}\n labelText={labelText}\n linkText={linkText}\n name={inputName}\n onError={onInputError}\n validationState={validationState}\n validationText={validationText}\n {...inputProps}\n />\n <FileUploaderList id={listId} inputName={inputName} attachmentComponent={attachmentComponent} {...listProps} />\n </FileUploader>\n );\n};\n\nUncontrolledFileUploader.spiritComponent = 'UncontrolledFileUploader';\n\nexport default UncontrolledFileUploader;\n","export const PADDING_BOTTOM = 'space-1200';\nexport const PADDING_TOP = 'space-1400';\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { BackgroundColors, PaddingStyleProps, TextStyleProps } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type FooterProps, type PolymorphicComponent, type PolymorphicRef, type SpiritFooterProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { PADDING_BOTTOM, PADDING_TOP } from './constants';\nimport { useFooterStyleProps } from './useFooterStyleProps';\n\nconst defaultProps = {\n backgroundColor: BackgroundColors.SECONDARY,\n elementType: 'footer',\n paddingBottom: PADDING_BOTTOM,\n paddingTop: PADDING_TOP,\n};\n\nconst _Footer = <E extends ElementType = 'footer'>(\n props: SpiritFooterProps<E>,\n ref: PolymorphicRef<E>,\n): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType = defaultProps.elementType, children, backgroundColor, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { classProps } = useFooterStyleProps({ backgroundColor });\n const { styleProps, props: otherProps } = useStyleProps(restProps, {\n paddingBottom: PaddingStyleProps.paddingBottom,\n paddingTop: PaddingStyleProps.paddingTop,\n textAlignment: TextStyleProps.textAlignment,\n });\n const mergedStyleProps = mergeStyleProps(Component, { classProps, styleProps, otherProps });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </Component>\n );\n};\n\nconst Footer = forwardRef<HTMLElement, SpiritFooterProps<'footer'>>(_Footer) as unknown as PolymorphicComponent<\n 'footer',\n FooterProps\n>;\n\nFooter.spiritComponent = 'Footer';\nFooter.displayName = 'Footer';\n\nexport default Footer;\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritFooterProps } from '../../types';\n\nexport interface FooterStyle {\n classProps: string;\n}\n\nexport const useFooterStyleProps = (props: SpiritFooterProps): FooterStyle => {\n const { backgroundColor } = props;\n const footerBackgroundClassName = useClassNamePrefix(`bg-${backgroundColor}`);\n\n const footerBackgroundColor = backgroundColor ? footerBackgroundClassName : '';\n\n const classProps = classNames({\n [footerBackgroundColor]: backgroundColor,\n });\n\n return {\n classProps,\n };\n};\n","import classNames from 'classnames';\nimport { type CSSProperties, type ElementType } from 'react';\nimport { DirectionAxis } from '../../constants';\nimport { useAlignmentClass, useClassNamePrefix, useSpacingStyle } from '../../hooks';\nimport {\n type GridAlignmentXType,\n type GridAlignmentYType,\n type GridColsBreakpoints,\n type SpiritGridProps,\n} from '../../types';\n\ninterface GridCSSProperties extends CSSProperties {\n [key: string]: string | undefined | number;\n}\n\nexport interface GridStyle<T> {\n /** className props */\n classProps: string;\n /** Props for the grid element. */\n props: T;\n /** Style props for the element */\n styleProps: GridCSSProperties;\n}\n\nexport function useGridStyleProps(props: SpiritGridProps<ElementType>): GridStyle<SpiritGridProps<ElementType>> {\n const { alignmentX, alignmentY, cols, spacing, spacingX, spacingY, ...restProps } = props;\n\n const gridClass = useClassNamePrefix('Grid');\n\n const gridStyle: GridCSSProperties = {\n ...useSpacingStyle(spacing, 'grid', DirectionAxis.X),\n ...useSpacingStyle(spacing, 'grid', DirectionAxis.Y),\n ...useSpacingStyle(spacingX, 'grid', DirectionAxis.X),\n ...useSpacingStyle(spacingY, 'grid', DirectionAxis.Y),\n };\n\n function generateColsClasses(\n componentClass: string,\n property: number | GridColsBreakpoints | undefined,\n type: string,\n ) {\n if (typeof property === 'object' && property !== null) {\n // We map over the object and generate the classes for each breakpoint\n return Object.keys(property)\n .map((key) => {\n const infix = key === 'mobile' ? '' : `--${key}`;\n const responsiveProperty = (property as Record<string, string>)[key];\n\n return `${componentClass}${infix}--${type}-${responsiveProperty}`;\n })\n .join(' ');\n }\n\n return `${componentClass}--${type}-${property}`;\n }\n\n const classes = classNames(gridClass, {\n [useAlignmentClass(gridClass, alignmentX as GridAlignmentXType, 'alignmentX')]: alignmentX,\n [useAlignmentClass(gridClass, alignmentY as GridAlignmentYType, 'alignmentY')]: alignmentY,\n [generateColsClasses(gridClass, cols, 'cols')]: cols,\n });\n\n return {\n classProps: classes,\n props: restProps,\n styleProps: gridStyle,\n };\n}\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { AlignmentXExtended, AlignmentYExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type GridProps, type PolymorphicComponent, type PolymorphicRef, type SpiritGridProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useGridStyleProps } from './useGridStyleProps';\n\nconst defaultProps = {\n alignmentX: AlignmentXExtended.STRETCH,\n alignmentY: AlignmentYExtended.STRETCH,\n elementType: 'div',\n};\n\nconst _Grid = <E extends ElementType = 'div'>(props: SpiritGridProps<E>, ref: PolymorphicRef<E>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n\n const { elementType = defaultProps.elementType, children, ...restProps } = propsWithDefaults;\n const Component = elementType as ElementType;\n\n const { classProps, props: modifiedProps, styleProps: gridStyle } = useGridStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps, styleProps, otherProps, gridStyle });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </Component>\n );\n};\n\nconst Grid = forwardRef<HTMLDivElement, SpiritGridProps<'div'>>(_Grid) as unknown as PolymorphicComponent<\n 'div',\n GridProps\n>;\n\nGrid.spiritComponent = 'Grid';\nGrid.displayName = 'Grid';\n\nexport default Grid;\n","import { type CSSProperties, type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type GridItemPosition, type GridItemPositionBreakpoints, type SpiritGridItemProps } from '../../types';\n\ninterface GridItemCSSProperties extends CSSProperties {\n [key: string]: string | undefined | number;\n}\n\nconst setStyleProperty = (styleObject: GridItemCSSProperties, propertyName: string, value: string | undefined) => {\n // eslint-disable-next-line no-param-reassign -- Intentional mutation for style object building\n (styleObject as Record<string, string | undefined>)[propertyName] = value;\n};\n\nconst setGridItemStyle = (styleObject: GridItemCSSProperties, baseVarName: string, propValue: GridItemPosition) => {\n if (typeof propValue === 'object' && propValue !== null) {\n Object.keys(propValue).forEach((key) => {\n const suffix = key === 'mobile' ? '' : `-${key}`;\n const propName = `--${baseVarName}${suffix}`;\n setStyleProperty(styleObject, propName, propValue[key as keyof GridItemPositionBreakpoints]?.toString());\n });\n } else {\n const propName = `--${baseVarName}`;\n setStyleProperty(styleObject, propName, propValue?.toString());\n }\n};\n\nexport interface GridItemStyle<T> {\n /** className props */\n classProps: string;\n /** Props for the grid element. */\n props: T;\n /** Style props for the grid element */\n styleProps: GridItemCSSProperties;\n}\n\nexport function useGridItemStyleProps(\n props: SpiritGridItemProps<ElementType>,\n): GridItemStyle<SpiritGridItemProps<ElementType>> {\n const gridItemClass = useClassNamePrefix('GridItem');\n const gridItemStyle: GridItemCSSProperties = {};\n const mutableProps = { ...props } as Record<string, unknown> & SpiritGridItemProps<ElementType>;\n\n const typePropNames = Object.keys(mutableProps).filter(\n (propName) => propName.startsWith('column') || propName.startsWith('row'),\n );\n\n typePropNames.forEach((propName) => {\n const type = propName.startsWith('column') ? 'column' : 'row';\n const value = mutableProps[propName];\n\n if (value) {\n setGridItemStyle(\n gridItemStyle,\n `grid-item-${type}-${propName.replace(type, '').toLowerCase()}`,\n value as GridItemPosition,\n );\n }\n\n delete mutableProps[propName];\n });\n\n return {\n classProps: gridItemClass,\n props: mutableProps as SpiritGridItemProps<ElementType>,\n styleProps: gridItemStyle,\n };\n}\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport {\n type GridItemProps,\n type PolymorphicComponent,\n type PolymorphicRef,\n type SpiritGridItemProps,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useGridItemStyleProps } from './useGridItemStyleProps';\n\nconst defaultProps = {\n elementType: 'div',\n};\n\nconst _GridItem = <E extends ElementType = 'div'>(\n props: SpiritGridItemProps<E>,\n ref: PolymorphicRef<E>,\n): JSX.Element => {\n const { elementType = defaultProps.elementType, children, ...restProps } = props;\n const Component = elementType as ElementType;\n\n const { classProps, styleProps: gridItemStyle, props: modifiedProps } = useGridItemStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps, styleProps, otherProps, gridItemStyle });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </Component>\n );\n};\n\nconst GridItem = forwardRef<HTMLDivElement, SpiritGridItemProps<'div'>>(_GridItem) as unknown as PolymorphicComponent<\n 'div',\n GridItemProps\n>;\n\nGridItem.spiritComponent = 'GridItem';\nGridItem.displayName = 'GridItem';\n\nexport default GridItem;\n","export const HEADER_COLOR_DEFAULT = 'primary';\nexport const HEADER_ACTIONS_COLOR_DEFAULT = 'primary';\nexport const HEADER_DIALOG_CLOSE_BUTTON_LABEL_DEFAULT = 'Close';\nexport const HEADER_MENU_TOGGLE_LABEL_DEFAULT = 'Menu';\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type HeaderActionsColorType, type HeaderColorType } from '../../types';\nimport { HEADER_ACTIONS_COLOR_DEFAULT, HEADER_COLOR_DEFAULT } from './constants';\n\nexport interface UseHeaderStyleProps {\n color?: HeaderColorType;\n hasActionsAtEnd?: boolean;\n isSimple?: boolean;\n actionsColor?: HeaderActionsColorType;\n isCurrentLink?: boolean;\n}\nexport interface UseHeaderStyleReturn {\n classProps: {\n root: string;\n headerButton: string;\n headerDesktopActions: string;\n headerDialog: {\n root: string;\n panel: string;\n content: string;\n };\n headerDialogActions: string;\n headerDialogButton: string;\n headerDialogCloseButton: string;\n headerDialogLink: string;\n headerDialogNav: string;\n headerDialogNavItem: string;\n headerDialogText: string;\n headerLink: string;\n headerMobileActions: string;\n headerNav: string;\n headerNavItem: string;\n };\n}\n\nexport const useHeaderStyleProps = (\n {\n actionsColor = HEADER_ACTIONS_COLOR_DEFAULT,\n color = HEADER_COLOR_DEFAULT,\n hasActionsAtEnd,\n isCurrentLink,\n isSimple,\n }: UseHeaderStyleProps = {\n actionsColor: HEADER_ACTIONS_COLOR_DEFAULT,\n color: HEADER_COLOR_DEFAULT,\n hasActionsAtEnd: false,\n isCurrentLink: false,\n isSimple: false,\n },\n): UseHeaderStyleReturn => {\n const headerClass = useClassNamePrefix('Header');\n const headerColorClass = `${headerClass}--${color}`;\n const headerSimpleClass = `${headerClass}--simple`;\n const headerNavClass = `${headerClass}Nav`;\n const headerNavItemClass = `${headerClass}NavItem`;\n const headerLinkClass = `${headerClass}Link`;\n const headerLinkCurrentClass = `${headerLinkClass}--current`;\n const headerDesktopActionsClass = `${headerClass}DesktopActions`;\n const headerDesktopActionsAtEndClass = `${headerDesktopActionsClass}--end`;\n const headerMobileActionsClass = `${headerClass}MobileActions`;\n const headerDialogClass = `${headerClass}Dialog`;\n const headerDialogPanelClass = `${headerDialogClass}__panel`;\n const headerDialogContentClass = `${headerDialogClass}__content`;\n const headerDialogActionsClass = `${headerClass}DialogActions`;\n const headerDialogActionsColorClass = `${headerDialogActionsClass}--${actionsColor}`;\n const headerDialogCloseButtonClass = `${headerClass}DialogCloseButton`;\n const headerDialogLinkClass = `${headerClass}DialogLink`;\n const headerDialogLinkCurrentClass = `${headerDialogLinkClass}--current`;\n const headerDialogNavClass = `${headerClass}DialogNav`;\n const headerDialogNavItemClass = `${headerClass}DialogNavItem`;\n const headerDialogTextClass = `${headerClass}DialogText`;\n\n const classProps = {\n root: classNames(headerClass, headerColorClass, { [headerSimpleClass]: isSimple }),\n headerButton: headerLinkClass,\n headerDesktopActions: classNames(headerDesktopActionsClass, { [headerDesktopActionsAtEndClass]: hasActionsAtEnd }),\n headerDialog: {\n root: headerDialogClass,\n panel: headerDialogPanelClass,\n content: headerDialogContentClass,\n },\n headerDialogActions: classNames(headerDialogActionsClass, headerDialogActionsColorClass),\n headerDialogButton: headerDialogLinkClass,\n headerDialogCloseButton: headerDialogCloseButtonClass,\n headerDialogLink: classNames(headerDialogLinkClass, { [headerDialogLinkCurrentClass]: isCurrentLink }),\n headerDialogNav: headerDialogNavClass,\n headerDialogNavItem: headerDialogNavItemClass,\n headerDialogText: headerDialogTextClass,\n headerLink: classNames(headerLinkClass, { [headerLinkCurrentClass]: isCurrentLink }),\n headerMobileActions: headerMobileActionsClass,\n headerNav: headerNavClass,\n headerNavItem: headerNavItemClass,\n };\n\n return {\n classProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useDeprecationMessage, useStyleProps } from '../../hooks';\nimport { type HeaderProps } from '../../types';\nimport { HEADER_COLOR_DEFAULT } from './constants';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst Header = (props: HeaderProps) => {\n const { children, color = HEADER_COLOR_DEFAULT, isSimple, ...restProps } = props;\n\n const { classProps } = useHeaderStyleProps({ color, isSimple });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n useDeprecationMessage({\n method: 'custom',\n trigger: true,\n componentName: 'Header',\n customText: `The component will be removed in the next major version. Component is replaced by the current implementation of UNSTABLE_Header.\n Please see the composition of the UNSTABLE_Header, Drawer and Navigation components.`,\n });\n\n return (\n <header {...otherProps} className={classNames(classProps.root, styleProps.className)} style={styleProps.style}>\n {children}\n </header>\n );\n};\n\nHeader.spiritComponent = 'Header';\n\nexport default Header;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderButtonProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderButton = (props: HeaderButtonProps) => {\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(props);\n\n return (\n <button\n {...otherProps}\n type=\"button\"\n className={classNames(classProps.headerButton, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderButton.spiritComponent = 'HeaderButton';\n\nexport default HeaderButton;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderDesktopActionsProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst defaultProps = {\n isAtEnd: false,\n};\n\nconst HeaderDesktopActions = (props: HeaderDesktopActionsProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { isAtEnd, ...restProps } = propsWithDefaults;\n\n const { classProps } = useHeaderStyleProps({ hasActionsAtEnd: isAtEnd });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <nav\n {...otherProps}\n className={classNames(classProps.headerDesktopActions, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderDesktopActions.spiritComponent = 'HeaderDesktopActions';\n\nexport default HeaderDesktopActions;\n","'use client';\n\nimport { type SyntheticEvent, createContext, useContext } from 'react';\n\nexport interface HeaderDialogContextProps {\n id: string;\n isOpen: boolean;\n onClose: (event: Event | SyntheticEvent) => void;\n}\n\nconst defaultContext: HeaderDialogContextProps = {\n id: '',\n isOpen: false,\n onClose: () => null,\n};\n\nconst HeaderDialogContext = createContext<HeaderDialogContextProps>(defaultContext);\nconst HeaderDialogProvider = HeaderDialogContext.Provider;\nconst HeaderDialogConsumer = HeaderDialogContext.Consumer;\nconst useHeaderDialogContext = (): HeaderDialogContextProps => useContext(HeaderDialogContext);\n\nexport { HeaderDialogConsumer, HeaderDialogProvider, useHeaderDialogContext };\nexport default HeaderDialogContext;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useLastActiveFocus, useStyleProps } from '../../hooks';\nimport { type HeaderDialogProps } from '../../types';\nimport { Dialog } from '../Dialog';\nimport { HeaderDialogProvider } from './HeaderDialogContext';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderDialog = (props: HeaderDialogProps) => {\n const { children, id, isOpen, onClose, ...restProps } = props;\n\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n const providerValue = { id, isOpen, onClose };\n\n useLastActiveFocus(isOpen);\n\n return (\n <HeaderDialogProvider value={providerValue}>\n <Dialog\n {...otherProps}\n id={id}\n isOpen={isOpen}\n onClose={onClose}\n className={classNames(classProps.headerDialog.root, styleProps.className)}\n style={styleProps.style}\n >\n <div className={classProps.headerDialog.panel}>\n <div className={classProps.headerDialog.content}>{children}</div>\n </div>\n </Dialog>\n </HeaderDialogProvider>\n );\n};\n\nHeaderDialog.spiritComponent = 'HeaderDialog';\n\nexport default HeaderDialog;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderDialogActionsProps } from '../../types';\nimport { HEADER_ACTIONS_COLOR_DEFAULT } from './constants';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderDialogActions = (props: HeaderDialogActionsProps) => {\n const { color = HEADER_ACTIONS_COLOR_DEFAULT, ...restProps } = props;\n\n const { classProps } = useHeaderStyleProps({ actionsColor: color });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <nav\n {...otherProps}\n className={classNames(classProps.headerDialogActions, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderDialogActions.spiritComponent = 'HeaderDialogActions';\n\nexport default HeaderDialogActions;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderDialogButtonProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderDialogButton = (props: HeaderDialogButtonProps) => {\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(props);\n\n return (\n <button\n {...otherProps}\n type=\"button\"\n className={classNames(classProps.headerDialogButton, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderDialogButton.spiritComponent = 'HeaderDialogButton';\n\nexport default HeaderDialogButton;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ClickEvent, type HeaderDialogCloseButtonProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { HEADER_DIALOG_CLOSE_BUTTON_LABEL_DEFAULT } from './constants';\nimport { useHeaderDialogContext } from './HeaderDialogContext';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderDialogCloseButton = (props: HeaderDialogCloseButtonProps) => {\n const { label = HEADER_DIALOG_CLOSE_BUTTON_LABEL_DEFAULT, onClick, ...restProps } = props;\n\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const { id, isOpen, onClose } = useHeaderDialogContext();\n\n const clickHandler = (event: ClickEvent) => {\n onClose(event);\n if (onClick) onClick(event);\n };\n\n return (\n <button\n {...otherProps}\n type=\"button\"\n aria-expanded={isOpen}\n aria-controls={id}\n onClick={clickHandler}\n className={classNames(classProps.headerDialogCloseButton, styleProps.className)}\n style={styleProps.style}\n >\n <Icon name=\"close\" />\n <VisuallyHidden>{label}</VisuallyHidden>\n </button>\n );\n};\n\nHeaderDialogCloseButton.spiritComponent = 'HeaderDialogCloseButton';\n\nexport default HeaderDialogCloseButton;\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport {\n type HeaderDialogLinkProps,\n type PolymorphicComponent,\n type PolymorphicRef,\n type SpiritDialogHeaderLinkProps,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst _HeaderDialogLink = <E extends ElementType = 'a'>(\n props: SpiritDialogHeaderLinkProps<E>,\n ref: PolymorphicRef<E>,\n): JSX.Element => {\n const { elementType = 'a', children, isCurrent, ...restProps } = props;\n\n const Component = elementType as ElementType;\n\n const { classProps } = useHeaderStyleProps({ isCurrentLink: isCurrent });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(Component, {\n classProps: classProps.headerDialogLink,\n styleProps,\n otherProps,\n });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </Component>\n );\n};\n\nconst HeaderDialogLink = forwardRef<HTMLAnchorElement, SpiritDialogHeaderLinkProps<'a'>>(\n _HeaderDialogLink,\n) as unknown as PolymorphicComponent<'a', HeaderDialogLinkProps>;\n\nHeaderDialogLink.spiritComponent = 'HeaderDialogLink';\nHeaderDialogLink.displayName = 'HeaderDialogLink';\n\nexport default HeaderDialogLink;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderDialogNavProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderDialogNav = (props: HeaderDialogNavProps) => {\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(props);\n\n return (\n <ul\n {...otherProps}\n className={classNames(classProps.headerDialogNav, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderDialogNav.spiritComponent = 'HeaderDialogNav';\n\nexport default HeaderDialogNav;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderDialogNavItemProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderDialogNavItem = (props: HeaderDialogNavItemProps) => {\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(props);\n\n return (\n <li\n {...otherProps}\n className={classNames(classProps.headerDialogNavItem, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderDialogNavItem.spiritComponent = 'HeaderDialogNavItem';\n\nexport default HeaderDialogNavItem;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderDialogTextProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderDialogText = (props: HeaderDialogTextProps) => {\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(props);\n\n return (\n <span\n {...otherProps}\n className={classNames(classProps.headerDialogText, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderDialogText.spiritComponent = 'HeaderDialogText';\n\nexport default HeaderDialogText;\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport {\n type HeaderLinkProps,\n type PolymorphicComponent,\n type PolymorphicRef,\n type SpiritHeaderLinkProps,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst _HeaderLink = <E extends ElementType = 'a'>(\n props: SpiritHeaderLinkProps<E>,\n ref: PolymorphicRef<E>,\n): JSX.Element => {\n const { elementType = 'a', children, isCurrent, ...restProps } = props;\n\n const Component = elementType as ElementType;\n\n const { classProps } = useHeaderStyleProps({ isCurrentLink: isCurrent });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(Component, {\n classProps: classProps.headerLink,\n styleProps,\n otherProps,\n });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </Component>\n );\n};\n\nconst HeaderLink = forwardRef<HTMLAnchorElement, SpiritHeaderLinkProps<'a'>>(\n _HeaderLink,\n) as unknown as PolymorphicComponent<'a', HeaderLinkProps>;\n\nHeaderLink.spiritComponent = 'HeaderLink';\nHeaderLink.displayName = 'HeaderLink';\n\nexport default HeaderLink;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderMobileActionsProps } from '../../types';\nimport { Button } from '../Button';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { HEADER_MENU_TOGGLE_LABEL_DEFAULT } from './constants';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderMobileActions = (props: HeaderMobileActionsProps) => {\n const {\n children,\n dialogId,\n menuToggleLabel = HEADER_MENU_TOGGLE_LABEL_DEFAULT,\n isOpen,\n onOpen,\n ...restProps\n } = props;\n\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div\n {...otherProps}\n className={classNames(classProps.headerMobileActions, styleProps.className)}\n style={styleProps.style}\n >\n {children}\n <Button aria-controls={dialogId} aria-expanded={isOpen} color=\"secondary\" onClick={onOpen} isSymmetrical>\n <Icon name=\"hamburger\" />\n <VisuallyHidden>{menuToggleLabel}</VisuallyHidden>\n </Button>\n </div>\n );\n};\n\nHeaderMobileActions.spiritComponent = 'HeaderMobileActions';\n\nexport default HeaderMobileActions;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderNavProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderNav = (props: HeaderNavProps) => {\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(props);\n\n return (\n <ul {...otherProps} className={classNames(classProps.headerNav, styleProps.className)} style={styleProps.style} />\n );\n};\n\nHeaderNav.spiritComponent = 'HeaderNav';\n\nexport default HeaderNav;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HeaderNavItemProps } from '../../types';\nimport { useHeaderStyleProps } from './useHeaderStyleProps';\n\nconst HeaderNavItem = (props: HeaderNavItemProps) => {\n const { classProps } = useHeaderStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(props);\n\n return (\n <li\n {...otherProps}\n className={classNames(classProps.headerNavItem, styleProps.className)}\n style={styleProps.style}\n />\n );\n};\n\nHeaderNavItem.spiritComponent = 'HeaderNavItem';\n\nexport default HeaderNavItem;\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type HeadingProps, type SpiritHeadingProps } from '../../types';\n\nexport interface HeadingStyles<E extends ElementType> {\n /** className props */\n classProps: string | null;\n /** props to be passed to the input element */\n props: Omit<HeadingProps<E>, 'elementType'>;\n}\n\nexport function useHeadingStyleProps<E extends ElementType, S = void, Emph = void>(\n props: Omit<SpiritHeadingProps<E, S, Emph>, 'elementType'>,\n): HeadingStyles<E> {\n const { emphasis, size, textColor, ...restProps } = props;\n\n const headingClass = useClassNamePrefix('typography-heading');\n const headingTextColorClass = useClassNamePrefix(textColor ? `text-${textColor}` : '');\n const className = classNames(`${headingClass}-${size}-${emphasis}`, {\n [headingTextColorClass]: !!textColor,\n });\n\n return {\n classProps: className,\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { Emphasis, HeadingStyleProps, SizesExtended, TextStyleProps } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritHeadingProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useHeadingStyleProps } from './useHeadingStyleProps';\n\nconst defaultProps: Partial<SpiritHeadingProps<ElementType, void, void>> = {\n emphasis: Emphasis.BOLD,\n size: SizesExtended.MEDIUM,\n};\n\nconst Heading = <E extends ElementType = 'h1', S = void, Emph = void>(\n props: SpiritHeadingProps<E, S, Emph>,\n): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag, children, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useHeadingStyleProps({ ...restProps });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {\n isTextBalanced: HeadingStyleProps.isTextBalanced,\n textAlignment: TextStyleProps.textAlignment,\n textHyphens: TextStyleProps.textHyphens,\n textWordBreak: TextStyleProps.textWordBreak,\n });\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });\n\n return (\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n <ElementTag {...(otherProps as any)} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nHeading.spiritComponent = 'Heading';\n\nexport default Heading;\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type HiddenProps, type PolymorphicComponent, type PolymorphicRef, type SpiritHiddenProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\n\nconst defaultProps = {\n elementType: 'span',\n};\n\nconst _Hidden = <E extends ElementType = 'span'>(props: SpiritHiddenProps<E>, ref: PolymorphicRef<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType = defaultProps.elementType, children, on, from, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const stylePropsWithMapping = {\n ...restProps,\n hideOn: on || restProps.hideOn,\n hideFrom: from || restProps.hideFrom,\n };\n\n const { styleProps, props: otherProps } = useStyleProps(stylePropsWithMapping);\n const mergedStyleProps = mergeStyleProps(Component, { styleProps });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </Component>\n );\n};\n\nconst Hidden = forwardRef<HTMLSpanElement, SpiritHiddenProps<'span'>>(_Hidden) as unknown as PolymorphicComponent<\n 'span',\n HiddenProps\n>;\n\nHidden.spiritComponent = 'Hidden';\nHidden.displayName = 'Hidden';\n\nexport default Hidden;\n","import { BorderRadii, SizesExtended } from '../../constants';\n\nexport const IconBoxShapes = {\n ROUNDED: 'rounded',\n SQUARE: 'square',\n CIRCLE: 'circle',\n} as const;\n\nexport const IconBoxSizes = {\n [SizesExtended.XSMALL]: { padding: 'space-500', iconSize: 16 },\n [SizesExtended.SMALL]: { padding: 'space-500', iconSize: 20 },\n [SizesExtended.MEDIUM]: { padding: 'space-600', iconSize: 24 },\n [SizesExtended.LARGE]: { padding: 'space-600', iconSize: 28 },\n [SizesExtended.XLARGE]: { padding: 'space-700', iconSize: 28 },\n} as const;\n\nexport const IconBoxShapesRadii = {\n [IconBoxShapes.CIRCLE]: BorderRadii.FULL,\n [IconBoxShapes.ROUNDED]: BorderRadii['300'],\n [IconBoxShapes.SQUARE]: BorderRadii['0'],\n} as const;\n","import { emotionColors } from '@alma-oss/spirit-design-tokens';\nimport { EmotionColors, Intensity } from '../../constants';\nimport { ColorPrefixes } from '../../constants/colors';\nimport type {\n BackgroundAccentColorsType,\n BackgroundEmotionColorsType,\n BorderAccentColorsType,\n BorderEmotionColorsType,\n ColorPrefixesType,\n IconBoxColorsType,\n IntensityDictionaryType,\n TextColorProps,\n} from '../../types';\n\nexport interface UseIconBoxColorsProps {\n colors: {\n background: BackgroundAccentColorsType | BackgroundEmotionColorsType;\n border: BorderAccentColorsType | BorderEmotionColorsType;\n text: TextColorProps['textColor'];\n };\n}\n\nconst setFullColorName = (prefix: ColorPrefixesType, base: string, intensity: IntensityDictionaryType) =>\n `${prefix}-${base}-${intensity}`;\n\nconst derivePrefix = (base: string): ColorPrefixesType =>\n Object.keys(emotionColors).includes(base) ? ColorPrefixes.EMOTION : ColorPrefixes.ACCENT;\n\nexport const useIconBoxColors = (color?: IconBoxColorsType, isSubtle = true): UseIconBoxColorsProps => {\n const intensity: IntensityDictionaryType = isSubtle ? Intensity.SUBTLE : Intensity.BASIC;\n const complementaryIntensity: IntensityDictionaryType =\n intensity === Intensity.BASIC ? Intensity.SUBTLE : Intensity.BASIC;\n const base: IconBoxColorsType = color ?? EmotionColors.INFORMATIVE;\n const prefix: ColorPrefixesType = derivePrefix(base);\n\n const background = setFullColorName(prefix, base, intensity) as\n | BackgroundAccentColorsType\n | BackgroundEmotionColorsType;\n const border = setFullColorName(prefix, base, intensity) as BorderAccentColorsType | BorderEmotionColorsType;\n const text = setFullColorName(prefix, base, complementaryIntensity) as TextColorProps['textColor'];\n\n return {\n colors: {\n background,\n border,\n text,\n },\n };\n};\n","import { cssVariablePrefix } from '@alma-oss/spirit-design-tokens';\nimport { type CSSProperties, type ElementType } from 'react';\nimport { SizesExtended } from '../../constants';\nimport type { Responsive, SpaceToken, SpiritIconBoxProps } from '../../types';\nimport { isResponsive } from '../../utils';\nimport { IconBoxShapes, IconBoxShapesRadii, IconBoxSizes } from './constants';\n\nexport interface UseIconBoxStyleProps<E> {\n iconBoxStyles: CSSProperties;\n props: E;\n shapesProps: (typeof IconBoxShapesRadii)[keyof typeof IconBoxShapesRadii];\n sizeProps:\n | (typeof IconBoxSizes)[keyof typeof IconBoxSizes]\n | {\n padding: Responsive<SpaceToken>;\n iconSize: Responsive<number>;\n };\n}\n\nexport const useIconBoxStyleProps = (\n props: Partial<SpiritIconBoxProps<ElementType>>,\n): UseIconBoxStyleProps<Partial<SpiritIconBoxProps<ElementType>>> => {\n const { shape = IconBoxShapes.ROUNDED, size = SizesExtended.MEDIUM, ...restProps } = props || {};\n const shapesProps = IconBoxShapesRadii[shape];\n const iconBoxStyles: CSSProperties = {\n padding: `calc(var(--${cssVariablePrefix}local-padding) - var(--${cssVariablePrefix}local-border-width, 0px)) !important`,\n };\n\n let sizeProps: UseIconBoxStyleProps<Partial<SpiritIconBoxProps<ElementType>>>['sizeProps'];\n\n if (isResponsive<(typeof SizesExtended)[keyof typeof SizesExtended]>(size)) {\n const responsivePadding: Responsive<SpaceToken> = {};\n const responsiveIconSize: Responsive<number> = {};\n\n Object.entries(size).forEach(([breakpoint, breakpointSize]) => {\n const sizeConfig = IconBoxSizes[breakpointSize as keyof typeof IconBoxSizes];\n responsivePadding[breakpoint as keyof Responsive<SpaceToken>] = sizeConfig.padding as SpaceToken;\n responsiveIconSize[breakpoint as keyof Responsive<number>] = sizeConfig.iconSize;\n });\n\n sizeProps = {\n padding: responsivePadding,\n iconSize: responsiveIconSize,\n };\n } else {\n sizeProps = IconBoxSizes[size as keyof typeof IconBoxSizes];\n }\n\n return {\n iconBoxStyles,\n props: restProps,\n shapesProps,\n sizeProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ElementType, forwardRef } from 'react';\nimport { BorderWidths, EmotionColors, SizesExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport type { IconBoxProps, PolymorphicComponent, PolymorphicRef, SpiritIconBoxProps } from '../../types';\nimport { Box } from '../Box';\nimport { Icon } from '../Icon';\nimport { IconBoxShapes } from './constants';\nimport { useIconBoxColors } from './useIconBoxColors';\nimport { useIconBoxStyleProps } from './useIconBoxStyleProps';\n\nconst defaultProps = {\n shape: IconBoxShapes.ROUNDED,\n color: EmotionColors.INFORMATIVE,\n elementType: 'div',\n hasBorder: true,\n isSubtle: true,\n size: SizesExtended.MEDIUM,\n};\n\nconst _IconBox = <E extends ElementType = 'div'>(props: SpiritIconBoxProps<E>, ref: PolymorphicRef<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType, shape, color, iconName, isSubtle, hasBorder, size, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { colors } = useIconBoxColors(color, isSubtle);\n const {\n iconBoxStyles: iconBoxStyleProps,\n props: modifiedProps,\n shapesProps,\n sizeProps: { padding, iconSize },\n } = useIconBoxStyleProps({\n size,\n shape,\n ...restProps,\n });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <Box\n {...otherProps}\n backgroundColor={colors.background}\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- Polymorphic elementType needs type assertion\n elementType={Component as any}\n borderColor={hasBorder ? colors.border : undefined}\n borderRadius={shapesProps}\n borderWidth={hasBorder ? BorderWidths['100'] : undefined}\n padding={padding}\n textColor={colors.text}\n UNSAFE_className={classNames(styleProps.className, 'd-inline-flex')}\n UNSAFE_style={{\n ...styleProps.style,\n ...iconBoxStyleProps,\n }}\n ref={ref}\n >\n <Icon aria-hidden=\"true\" boxSize={iconSize} name={iconName} />\n </Box>\n );\n};\n\nconst IconBox = forwardRef<HTMLDivElement, SpiritIconBoxProps<'div'>>(_IconBox) as unknown as PolymorphicComponent<\n 'div',\n IconBoxProps\n>;\n\nIconBox.spiritComponent = 'IconBox';\nIconBox.displayName = 'IconBox';\n\nexport default IconBox;\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks/useClassNamePrefix';\nimport { ITEM_SELECTION_DECORATOR_BACKGROUND, ITEM_SELECTION_DECORATOR_BOTH, type ItemStyleProps } from '../../types';\n\nexport interface ItemStyles {\n /** className props */\n classProps: {\n helperText: string;\n icon: {\n root: string;\n start: string;\n end: string;\n };\n label: string;\n root: string;\n };\n /** props to be passed to the element */\n props: ItemStyleProps;\n}\n\nexport function useItemStyleProps<P extends ItemStyleProps>(props: P): ItemStyles {\n const { isDisabled, isSelected, selectionDecorator, ...restProps } = props;\n const itemClass = useClassNamePrefix('Item');\n const itemRootDisabledClass = `${itemClass}--disabled`;\n const itemRootSelectedClass = `${itemClass}--selected`;\n const itemHelperTextClass = `${itemClass}__helperText`;\n const itemLabelClass = `${itemClass}__label`;\n const itemIconClass = `${itemClass}__icon`;\n const itemIconStartClass = `${itemIconClass}--start`;\n const itemIconEndClass = `${itemIconClass}--end`;\n\n const showSelectedBackground =\n isSelected &&\n (selectionDecorator === ITEM_SELECTION_DECORATOR_BACKGROUND ||\n selectionDecorator === ITEM_SELECTION_DECORATOR_BOTH);\n\n const rootStyles = classNames(itemClass, {\n [itemRootDisabledClass]: isDisabled,\n [itemRootSelectedClass]: showSelectedBackground,\n });\n\n return {\n classProps: {\n helperText: itemHelperTextClass,\n icon: {\n root: itemIconClass,\n start: itemIconStartClass,\n end: itemIconEndClass,\n },\n label: itemLabelClass,\n root: rootStyles,\n },\n props: restProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { ITEM_SELECTION_DECORATOR_BOTH, ITEM_SELECTION_DECORATOR_ICON, type SpiritItemProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { HelperText } from '../Field';\nimport { Icon } from '../Icon';\nimport { useItemStyleProps } from './useItemStyleProps';\n\nconst Item = <E extends ElementType = 'button'>(props: SpiritItemProps<E>): JSX.Element => {\n const {\n label,\n elementType: ElementTag = 'button',\n iconName,\n helperText,\n isSelected,\n isDisabled,\n selectionDecorator = ITEM_SELECTION_DECORATOR_ICON,\n ...restProps\n } = props;\n const { classProps, props: modifiedProps } = useItemStyleProps({\n isSelected,\n isDisabled,\n selectionDecorator,\n ...restProps,\n });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.root, styleProps, otherProps });\n\n const showSelectedIcon =\n isSelected &&\n (selectionDecorator === ITEM_SELECTION_DECORATOR_ICON || selectionDecorator === ITEM_SELECTION_DECORATOR_BOTH);\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} disabled={!!isDisabled && ElementTag === 'button'}>\n {iconName && (\n <span className={classNames(classProps.icon.root, classProps.icon.start)}>\n <Icon name={iconName} />\n </span>\n )}\n <span className={classProps.label}>{label}</span>\n <HelperText UNSAFE_className={classProps.helperText} elementType=\"span\" helperText={helperText} />\n {showSelectedIcon && (\n <span className={classNames(classProps.icon.root, classProps.icon.end)}>\n <Icon name=\"check-plain\" />\n </span>\n )}\n </ElementTag>\n );\n};\n\nItem.spiritComponent = 'Item';\n\nexport default Item;\n","export const MATRIX_COLS_DEFAULT = 3;\nexport const MATRIX_ROWS_DEFAULT = 100;\nexport const MATRIX_ITEM_ROWS_DEFAULT = 100;\nexport const MATRIX_SPACING_X_DEFAULT = 'space-700';\nexport const MATRIX_SPACING_Y_DEFAULT = 'space-0';\n","import { cssVariablePrefix } from '@alma-oss/spirit-design-tokens';\nimport classNames from 'classnames';\nimport { type CSSProperties, type ElementType } from 'react';\nimport { DirectionAxis } from '../../constants';\nimport { type DimensionCSSProperties, useClassNamePrefix, useDimensionStyle, useSpacingStyle } from '../../hooks';\nimport { type DimensionType, type SpiritMatrixProps } from '../../types';\nimport { MATRIX_ROWS_DEFAULT } from './constants';\n\nexport interface MatrixStyles<T> {\n /** className props */\n classProps: string;\n /** Props for the Matrix element. */\n props: T;\n /** Style props for the element */\n styleProps: CSSProperties;\n}\n\n/**\n * Generates default responsive row styles for the Matrix component.\n *\n * @param cols - The column configuration for the Matrix, which can be a dimension type or undefined.\n * @param rows - The row configuration for the Matrix, which can be a dimension type or undefined.\n * @param itemsCount\n * @param prefix - The CSS variable prefix used for generating styles.\n * @returns {CSSProperties} A CSSProperties object containing the calculated row styles.\n */\nexport const useDefaultResponsiveRowsStyle = (\n cols: DimensionType | undefined,\n rows: DimensionType | undefined,\n itemsCount: number,\n prefix: string,\n): CSSProperties => {\n const style: DimensionCSSProperties = {};\n const cssPrefix: string = `--${prefix}`;\n\n if (typeof cols === 'object' && rows === MATRIX_ROWS_DEFAULT && itemsCount > 0) {\n Object.keys(cols).forEach((key) => {\n const breakpointSuffix = key === 'mobile' ? '' : `-${key}`;\n (style as Record<string, string | undefined>)[`${cssPrefix}-items-count`] = `${itemsCount}`;\n (style as Record<string, string | undefined>)[`${cssPrefix}-rows${breakpointSuffix}`] =\n `calc(var(${cssPrefix}-item-rows) * var(${cssPrefix}-items-count) / var(${cssPrefix}-columns${breakpointSuffix}))`;\n });\n }\n\n return style;\n};\n\nexport function useMatrixStyleProps(\n props: SpiritMatrixProps<ElementType>,\n): MatrixStyles<SpiritMatrixProps<ElementType>> {\n const { cols, itemsCount, itemRows, rows, spacing, spacingX, spacingY, ...restProps } = props;\n\n const matrixClass = useClassNamePrefix('Matrix');\n const matrixPrefix: string = `${cssVariablePrefix}matrix`;\n\n const matrixCustomStyle: CSSProperties = {\n ...useDimensionStyle(cols, `${matrixPrefix}-columns`),\n ...useDimensionStyle(rows, `${matrixPrefix}-rows`),\n ...useDimensionStyle(itemRows, `${matrixPrefix}-item-rows`),\n ...useDefaultResponsiveRowsStyle(cols, rows, itemsCount as number, matrixPrefix),\n ...useSpacingStyle(spacing, matrixPrefix, DirectionAxis.X),\n ...useSpacingStyle(spacing, matrixPrefix, DirectionAxis.Y),\n ...useSpacingStyle(spacingX, matrixPrefix, DirectionAxis.X),\n ...useSpacingStyle(spacingY, matrixPrefix, DirectionAxis.Y),\n };\n\n return {\n classProps: classNames(matrixClass),\n props: restProps,\n styleProps: matrixCustomStyle,\n };\n}\n","'use client';\n\nimport React, { Children, type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritMatrixProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport {\n MATRIX_COLS_DEFAULT,\n MATRIX_ITEM_ROWS_DEFAULT,\n MATRIX_ROWS_DEFAULT,\n MATRIX_SPACING_X_DEFAULT,\n MATRIX_SPACING_Y_DEFAULT,\n} from './constants';\nimport { useMatrixStyleProps } from './useMatrixStyleProps';\n\nconst defaultProps: Partial<SpiritMatrixProps> = {\n cols: MATRIX_COLS_DEFAULT,\n elementType: 'div',\n itemRows: MATRIX_ITEM_ROWS_DEFAULT,\n rows: MATRIX_ROWS_DEFAULT,\n spacingX: MATRIX_SPACING_X_DEFAULT,\n spacingY: MATRIX_SPACING_Y_DEFAULT,\n};\n\nconst Matrix = <E extends ElementType = 'div'>(props: SpiritMatrixProps<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n\n const { elementType: ElementTag = 'div', children, ...restProps } = propsWithDefaults;\n const itemsCount: number = Children.count(children);\n const {\n classProps,\n props: modifiedProps,\n styleProps: matrixStyleProps,\n } = useMatrixStyleProps({\n ...restProps,\n itemsCount,\n });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps, matrixStyleProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nMatrix.spiritComponent = 'Matrix';\n\nexport default Matrix;\n","'use client';\n\nimport { createContext, useContext } from 'react';\nimport { type ModalDialogHandlingProps } from '../../types';\n\nexport type ModalContextProps = {\n id: string;\n} & ModalDialogHandlingProps;\n\nconst defaultContext: ModalContextProps = {\n id: '',\n isOpen: false,\n onClose: () => null,\n};\n\nconst ModalContext = createContext<ModalContextProps>(defaultContext);\nconst ModalProvider = ModalContext.Provider;\nconst ModalConsumer = ModalContext.Consumer;\nconst useModalContext = (): ModalContextProps => useContext(ModalContext);\n\nexport default ModalContext;\nexport { ModalProvider, ModalConsumer, useModalContext };\n","import classNames from 'classnames';\nimport { AlignmentX, AlignmentY, CLASS_NAME_OPEN } from '../../constants';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type AlignmentXDictionaryType, type AlignmentYDictionaryType } from '../../types';\n\nexport interface ModalStylesProps {\n footerAlignment?: AlignmentXDictionaryType;\n isDockedOnMobile?: boolean;\n isExpandedOnMobile?: boolean;\n isOpen?: boolean;\n isScrollable?: boolean;\n modalAlignment?: AlignmentYDictionaryType;\n}\n\nexport interface ModalStylesReturn {\n /** className props */\n classProps: {\n root: string;\n dialog: string;\n title: string;\n header: string;\n body: string;\n footer: {\n root: string;\n description: string;\n actions: string;\n };\n };\n}\n\nexport function useModalStyleProps({\n footerAlignment = AlignmentX.RIGHT,\n isDockedOnMobile = false,\n isExpandedOnMobile = false,\n isOpen = false,\n isScrollable = false,\n modalAlignment = AlignmentY.CENTER,\n}: ModalStylesProps = {}): ModalStylesReturn {\n const modalClass = useClassNamePrefix('Modal');\n const modalAlignClasses = {\n top: `${modalClass}--top`,\n center: `${modalClass}--center`,\n bottom: `${modalClass}--bottom`,\n };\n const modalDialogClass = `${modalClass}Dialog`;\n const modalDialogDockedOnMobileClass = `${modalDialogClass}--dockOnMobile`;\n const modalDialogExpandedOnMobileClass = `${modalDialogClass}--expandOnMobile`;\n const modalDialogScrollableClass = `${modalDialogClass}--scrollable`;\n const modalHeaderClass = `${modalClass}Header`;\n const modalTitleClass = `${modalHeaderClass}__title`;\n const modalBodyClass = `${modalClass}Body`;\n const modalFooterClass = `${modalClass}Footer`;\n const modalFooterDescriptionClass = `${modalFooterClass}__description`;\n const modalFooterActionsClass = `${modalFooterClass}__actions`;\n const footerAlignClasses = {\n left: `${modalFooterClass}--left`,\n center: `${modalFooterClass}--center`,\n right: `${modalFooterClass}--right`,\n };\n\n const classProps = {\n root: classNames(modalClass, {\n [modalAlignClasses[modalAlignment]]: modalAlignment,\n [CLASS_NAME_OPEN]: isOpen,\n }),\n dialog: classNames(modalDialogClass, {\n [modalDialogDockedOnMobileClass]: isDockedOnMobile,\n [modalDialogExpandedOnMobileClass]: isExpandedOnMobile,\n [modalDialogScrollableClass]: isScrollable,\n }),\n title: modalTitleClass,\n header: modalHeaderClass,\n body: modalBodyClass,\n footer: {\n root: classNames(modalFooterClass, { [footerAlignClasses[footerAlignment]]: footerAlignment }),\n description: modalFooterDescriptionClass,\n actions: modalFooterActionsClass,\n },\n };\n\n return {\n classProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { AlignmentY } from '../../constants';\nimport { useLastActiveFocus, useStyleProps } from '../../hooks';\nimport { type SpiritModalProps } from '../../types';\nimport Dialog from '../Dialog/Dialog';\nimport { ModalProvider } from './ModalContext';\nimport { useModalStyleProps } from './useModalStyleProps';\n\nconst Modal = (props: SpiritModalProps) => {\n const { children, alignmentY = AlignmentY.CENTER, isOpen, onClose, id, ...restProps } = props;\n const { classProps } = useModalStyleProps({ isOpen, modalAlignment: alignmentY });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n const contextValue = {\n id,\n isOpen,\n onClose,\n };\n\n useLastActiveFocus(isOpen);\n\n return (\n <ModalProvider value={contextValue}>\n <Dialog\n {...otherProps}\n {...styleProps}\n id={id}\n isOpen={isOpen}\n onClose={onClose}\n className={classNames(classProps.root, styleProps.className)}\n aria-labelledby={`${id}__title`}\n >\n {children}\n </Dialog>\n </ModalProvider>\n );\n};\n\nModal.spiritComponent = 'Modal';\n\nexport default Modal;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ModalBodyProps } from '../../types';\nimport { useModalStyleProps } from './useModalStyleProps';\n\nconst ModalBody = ({ children, ...restProps }: ModalBodyProps) => {\n const { classProps } = useModalStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} {...styleProps} className={classNames(classProps.body, styleProps.className)}>\n {children}\n </div>\n );\n};\n\nModalBody.spiritComponent = 'ModalBody';\n\nexport default ModalBody;\n","'use client';\n\nimport React from 'react';\nimport { useI18n } from '../../hooks';\nimport { type ModalCloseButtonProps } from '../../types';\nimport { Button } from '../Button';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\n\nconst ModalCloseButton = ({ label, onClose, id, isOpen, ...restProps }: ModalCloseButtonProps) => {\n const { t } = useI18n();\n const closeLabel = label ?? t('common.close');\n\n return (\n <Button {...restProps} isSymmetrical color=\"tertiary\" onClick={onClose} aria-expanded={isOpen} aria-controls={id}>\n <Icon name=\"close\" />\n <VisuallyHidden>{closeLabel}</VisuallyHidden>\n </Button>\n );\n};\n\nModalCloseButton.spiritComponent = 'ModalCloseButton';\n\nexport default ModalCloseButton;\n","import { type CSSProperties, type ElementType } from 'react';\nimport {\n type ModalDialogCSSHeight,\n type ModalDialogCSSHeightBreakpoints,\n type ModalDialogProps,\n type ModalDialogStyleProps,\n} from '../../types';\n\ninterface CustomizedHeightCSSProperties extends CSSProperties {\n [key: string]: string | undefined | number;\n}\n\nconst setCustomHeight = (\n baseVarName: string,\n propValue: ModalDialogCSSHeight | ModalDialogCSSHeightBreakpoints | undefined,\n): CustomizedHeightCSSProperties => {\n if (!propValue) return {};\n\n if (typeof propValue === 'object') {\n return Object.keys(propValue).reduce((acc, key) => {\n const suffix = key === 'mobile' ? '' : `-${key}`;\n const propName = `--${baseVarName}${suffix}`;\n\n return {\n ...acc,\n [propName]: propValue[key as keyof ModalDialogCSSHeightBreakpoints]?.toString(),\n };\n }, {} as CustomizedHeightCSSProperties);\n }\n const propName = `--${baseVarName}`;\n\n return { [propName]: propValue?.toString() } as CustomizedHeightCSSProperties;\n};\n\nexport interface ModalDialogStyles<E extends ElementType> {\n modalDialogStyleProps: CustomizedHeightCSSProperties;\n props: Omit<ModalDialogProps<E>, keyof ModalDialogStyleProps<E>>;\n}\n\nexport const useModalDialogStyleProps = <E extends ElementType>(props: ModalDialogProps<E>): ModalDialogStyles<E> => {\n const { height, maxHeight, ...otherProps } = props;\n\n const customizedHeightStyle = {\n ...setCustomHeight('modal-dialog-height', height),\n ...setCustomHeight('modal-dialog-max-height', maxHeight),\n };\n\n return {\n modalDialogStyleProps: customizedHeightStyle,\n props: otherProps,\n };\n};\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ModalDialogProps, type PolymorphicComponent, type PolymorphicRef } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useModalDialogStyleProps } from './useModalDialogStyleProps';\nimport { useModalStyleProps } from './useModalStyleProps';\n\nconst _ModalDialog = <E extends ElementType = 'article'>(props: ModalDialogProps<E>, ref: PolymorphicRef<E>) => {\n const { elementType = 'article', children, isDockedOnMobile, isExpandedOnMobile, isScrollable, ...restProps } = props;\n\n const Component = elementType as ElementType;\n\n const { classProps } = useModalStyleProps({ isDockedOnMobile, isExpandedOnMobile, isScrollable });\n const { modalDialogStyleProps, props: modifiedProps } = useModalDialogStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(Component, {\n classProps: classProps.dialog,\n modalDialogStyleProps,\n styleProps,\n otherProps,\n });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </Component>\n );\n};\n\nconst ModalDialog = forwardRef<HTMLElement, ModalDialogProps<'article'>>(\n _ModalDialog,\n) as unknown as PolymorphicComponent<'article', ModalDialogProps<ElementType>>;\n\nModalDialog.spiritComponent = 'ModalDialog';\nModalDialog.displayName = 'ModalDialog';\n\nexport default ModalDialog;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { AlignmentX } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type ModalFooterProps } from '../../types';\nimport { useModalStyleProps } from './useModalStyleProps';\n\nconst ModalFooter = (props: ModalFooterProps) => {\n const { children, alignmentX = AlignmentX.RIGHT, description, ...restProps } = props;\n\n const { classProps } = useModalStyleProps({ footerAlignment: alignmentX });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <footer {...otherProps} {...styleProps} className={classNames(classProps.footer.root, styleProps.className)}>\n {description && <div className={classProps.footer.description}>{description}</div>}\n <div className={classProps.footer.actions}>{children}</div>\n </footer>\n );\n};\n\nModalFooter.spiritComponent = 'ModalFooter';\n\nexport default ModalFooter;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useI18n, useStyleProps } from '../../hooks';\nimport { type ModalHeaderProps } from '../../types';\nimport ModalCloseButton from './ModalCloseButton';\nimport { useModalContext } from './ModalContext';\nimport { useModalStyleProps } from './useModalStyleProps';\n\nconst defaultProps: ModalHeaderProps = {\n hasCloseButton: true,\n};\n\nconst ModalHeader = (props: ModalHeaderProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, closeLabel, hasCloseButton, ...restProps } = propsWithDefaults;\n const { t } = useI18n();\n const resolvedCloseLabel = closeLabel ?? t('common.close');\n const { classProps } = useModalStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const { id, isOpen, onClose } = useModalContext();\n\n return (\n <header {...otherProps} {...styleProps} className={classNames(classProps.header, styleProps.className)}>\n {children && (\n <h2 id={`${id}__title`} className={classProps.title}>\n {children}\n </h2>\n )}\n {hasCloseButton && <ModalCloseButton id={id} isOpen={isOpen} label={resolvedCloseLabel} onClose={onClose} />}\n </header>\n );\n};\n\nModalHeader.spiritComponent = 'ModalHeader';\n\nexport default ModalHeader;\n","import classNames from 'classnames';\nimport { AlignmentYExtended, Direction, ShapeVariants } from '../../constants';\nimport { type AlignmentPropertyType, useAlignmentClass, useClassNamePrefix } from '../../hooks';\nimport {\n type DirectionDictionaryType,\n type NavigationActionVariantsType,\n type SpiritNavigationActionProps,\n type SpiritNavigationItemAlignmentYType,\n type SpiritNavigationItemProps,\n} from '../../types';\n\nexport interface UseNavigationStyleProps {\n alignmentY?: SpiritNavigationItemAlignmentYType;\n direction?: DirectionDictionaryType;\n isDisabled?: boolean;\n isSelected?: boolean;\n isSquare?: boolean;\n variant?: NavigationActionVariantsType;\n}\n\nexport interface UseNavigationStyleReturn {\n classProps: {\n root: string;\n action: string;\n avatar: string;\n item: string;\n };\n props: SpiritNavigationItemProps | SpiritNavigationActionProps;\n}\n\nexport const useNavigationStyleProps = ({\n isDisabled = false,\n isSelected = false,\n isSquare = false,\n alignmentY = AlignmentYExtended.CENTER,\n direction = Direction.HORIZONTAL,\n variant = ShapeVariants.BOX,\n ...restProps\n}: UseNavigationStyleProps): UseNavigationStyleReturn => {\n const navigationClass = useClassNamePrefix('Navigation');\n const navigationActionClass = `${navigationClass}Action`;\n const navigationAvatarClass = `${navigationClass}Avatar`;\n const navigationItemClass = `${navigationClass}Item`;\n\n const navigationDirectionClass = `${navigationClass}--${direction}`;\n const navigationActionDisabledClass = `${navigationActionClass}--disabled`;\n const navigationActionSelectedClass = `${navigationActionClass}--selected`;\n const navigationActionVariantClass = `${navigationActionClass}--${variant}`;\n\n const navigationAvatarSquareClass = `${navigationAvatarClass}--square`;\n\n const navigationItemClasses = classNames(navigationItemClass, {\n [useAlignmentClass(navigationItemClass, alignmentY as AlignmentPropertyType, 'alignmentY')]: alignmentY,\n });\n\n const classProps = {\n root: classNames(navigationClass, navigationDirectionClass),\n action: classNames(navigationActionClass, navigationActionVariantClass, {\n [navigationActionDisabledClass]: isDisabled,\n [navigationActionSelectedClass]: isSelected,\n }),\n avatar: classNames(navigationAvatarClass, {\n [navigationAvatarSquareClass]: isSquare,\n }),\n item: navigationItemClasses,\n };\n\n return {\n classProps,\n props: restProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ReactElement } from 'react';\nimport { Direction } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritNavigationProps } from '../../types';\nimport { useNavigationStyleProps } from './useNavigationStyleProps';\n\nconst defaultProps: Partial<SpiritNavigationProps> = {\n direction: Direction.HORIZONTAL,\n};\n\nconst Navigation = (props: SpiritNavigationProps): ReactElement => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, ...restProps } = propsWithDefaults;\n\n const { classProps, props: modifiedProps } = useNavigationStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <nav {...otherProps} className={classNames(classProps.root, styleProps.className)} style={styleProps.style}>\n <ul>{children}</ul>\n </nav>\n );\n};\n\nNavigation.spiritComponent = 'Navigation';\n\nexport default Navigation;\n","import { type SpiritNavigationActionProps } from '../../types';\n\nexport type UseNavigationActionProps = Partial<SpiritNavigationActionProps>;\n\nexport type UseNavigationActionReturn = {\n navigationActionProps: UseNavigationActionProps;\n};\n\nexport const useNavigationActionProps = (props: UseNavigationActionProps): UseNavigationActionReturn => {\n const { isDisabled, href, target, rel } = props;\n\n const navigationActionProps: Partial<SpiritNavigationActionProps> = {\n href: isDisabled ? undefined : href,\n target: isDisabled ? undefined : target,\n rel: isDisabled ? undefined : rel,\n };\n\n return {\n navigationActionProps,\n };\n};\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { ShapeVariants } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport {\n type NavigationActionProps,\n type PolymorphicComponent,\n type PolymorphicRef,\n type SpiritNavigationActionProps,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useNavigationActionProps } from './useNavigationActionProps';\nimport { useNavigationStyleProps } from './useNavigationStyleProps';\n\nconst defaultProps: Partial<SpiritNavigationActionProps> = {\n elementType: 'a',\n variant: ShapeVariants.BOX,\n};\n\nconst _NavigationAction = <E extends ElementType = 'a'>(\n props: SpiritNavigationActionProps<E>,\n ref: PolymorphicRef<E>,\n) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType = defaultProps.elementType as ElementType, children, ...restProps } = propsWithDefaults;\n const ElementTag = propsWithDefaults.isDisabled ? 'span' : elementType;\n\n const { navigationActionProps } = useNavigationActionProps(propsWithDefaults);\n const { classProps, props: modifiedProps } = useNavigationStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.action, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...navigationActionProps} {...mergedStyleProps} ref={ref}>\n {children}\n </ElementTag>\n );\n};\n\nconst NavigationAction = forwardRef<HTMLAnchorElement, SpiritNavigationActionProps<'a'>>(\n _NavigationAction,\n) as unknown as PolymorphicComponent<'a', NavigationActionProps<ElementType>>;\n\nNavigationAction.spiritComponent = 'NavigationAction';\nNavigationAction.displayName = 'NavigationAction';\n\nexport default NavigationAction;\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { Sizes } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport {\n type NavigationAvatarProps,\n type PolymorphicComponent,\n type PolymorphicRef,\n type SpiritNavigationAvatarProps,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { Avatar } from '../Avatar';\nimport { useNavigationStyleProps } from './useNavigationStyleProps';\n\nconst defaultProps: Partial<SpiritNavigationAvatarProps> = {\n elementType: 'a',\n isSquare: false,\n avatarSize: Sizes.SMALL,\n};\n\nconst _NavigationAvatar = <E extends ElementType = 'a'>(\n props: SpiritNavigationAvatarProps<E>,\n ref: PolymorphicRef<E>,\n) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n avatarContent,\n avatarSize = defaultProps.avatarSize,\n isSquare,\n children,\n ...restProps\n } = propsWithDefaults;\n\n const { classProps, props: modifiedProps } = useNavigationStyleProps({ isSquare, ...restProps });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.avatar, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} ref={ref}>\n <Avatar size={avatarSize} isSquare={isSquare}>\n {avatarContent}\n </Avatar>\n {children}\n </ElementTag>\n );\n};\n\nconst NavigationAvatar = forwardRef<HTMLAnchorElement, SpiritNavigationAvatarProps<'a'>>(\n _NavigationAvatar as never,\n) as unknown as PolymorphicComponent<'a', NavigationAvatarProps<ElementType>>;\n\nNavigationAvatar.spiritComponent = 'NavigationAvatar';\nNavigationAvatar.displayName = 'NavigationAvatar';\n\nexport default NavigationAvatar;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ReactElement } from 'react';\nimport { AlignmentYExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritNavigationItemProps } from '../../types';\nimport { useNavigationStyleProps } from './useNavigationStyleProps';\n\nconst defaultProps: Partial<SpiritNavigationItemProps> = {\n alignmentY: AlignmentYExtended.CENTER,\n};\n\nconst NavigationItem = (props: SpiritNavigationItemProps): ReactElement => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, ...restProps } = propsWithDefaults;\n\n const { classProps, props: modifiedProps } = useNavigationStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <li {...otherProps} className={classNames(classProps.item, styleProps.className)} style={styleProps.style}>\n {children}\n </li>\n );\n};\n\nNavigationItem.spiritComponent = 'NavigationItem';\n\nexport default NavigationItem;\n","'use client';\n\nimport { useEffect, useState } from 'react';\nimport { type ChildrenProps } from '../../types';\n\ninterface NoSsrProps extends ChildrenProps {}\n\nconst NoSsr = ({ children }: NoSsrProps): JSX.Element => {\n const [isMounted, setMount] = useState(false);\n\n useEffect(() => {\n setMount(true);\n }, []);\n\n // @ts-expect-error Type 'ReactNode' is not assignable to type 'Element'.\n return isMounted ? children : null;\n};\n\nNoSsr.spiritComponent = 'NoSsr';\n\nexport default NoSsr;\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\n\nexport interface UsePaginationStyleProps {\n isCurrent?: boolean;\n}\n\nexport interface UsePaginationStyleReturn {\n /** className props */\n classProps: {\n root: string;\n item: string;\n link: string;\n };\n}\n\nexport const usePaginationStyleProps = (props?: UsePaginationStyleProps): UsePaginationStyleReturn => {\n const paginationRootClass = useClassNamePrefix('Pagination');\n const paginationItemClass = `${paginationRootClass}__item`;\n const paginationLinkClass = `${paginationRootClass}__link`;\n const paginationLinkCurrentClass = `${paginationLinkClass}--current`;\n\n return {\n classProps: {\n root: paginationRootClass,\n item: paginationItemClass,\n link: classNames(paginationLinkClass, { [paginationLinkCurrentClass]: props?.isCurrent }),\n },\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritPaginationProps } from '../../types';\nimport { usePaginationStyleProps } from './usePaginationStyleProps';\n\nconst Pagination = (props: SpiritPaginationProps) => {\n const { children, listProps = {}, ...restProps } = props;\n\n const { classProps } = usePaginationStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const { styleProps: listStyleProps, props: listTransferProps } = useStyleProps(listProps);\n\n return (\n <nav {...transferProps} {...styleProps}>\n <ul {...listStyleProps} {...listTransferProps} className={classNames(classProps.root, listStyleProps.className)}>\n {children}\n </ul>\n </nav>\n );\n};\n\nPagination.spiritComponent = 'Pagination';\n\nexport default Pagination;\n","'use client';\n\nimport React, { type ElementType, type ForwardedRef, forwardRef } from 'react';\nimport { useI18n } from '../../hooks';\nimport { type ForwardRefComponent, type SpiritPaginationButtonLinkProps } from '../../types';\nimport { ButtonLink } from '../Button';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\n\nconst _PaginationButtonLink = <E extends ElementType = 'a'>(\n props: SpiritPaginationButtonLinkProps<E>,\n ref: ForwardedRef<HTMLAnchorElement>,\n) => {\n const { t } = useI18n();\n const { direction, accessibilityLabel, ...restProps } = props as unknown as SpiritPaginationButtonLinkProps;\n const directionLabel =\n accessibilityLabel ?? (direction === 'previous' ? t('pagination.previous') : t('pagination.next'));\n\n const iconType = {\n previous: 'chevron-left',\n next: 'chevron-right',\n };\n\n return (\n <ButtonLink color=\"secondary\" isSymmetrical {...restProps} ref={ref}>\n <Icon name={iconType[direction]} />\n <VisuallyHidden>{directionLabel}</VisuallyHidden>\n </ButtonLink>\n );\n};\n\nconst PaginationButtonLink = forwardRef<HTMLAnchorElement, SpiritPaginationButtonLinkProps>(\n _PaginationButtonLink,\n) as ForwardRefComponent<HTMLAnchorElement, SpiritPaginationButtonLinkProps>;\n\nPaginationButtonLink.spiritComponent = 'PaginationButtonLink';\nPaginationButtonLink.displayName = 'PaginationButtonLink';\n\nexport default PaginationButtonLink;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritPaginationItemProps } from '../../types';\nimport { usePaginationStyleProps } from './usePaginationStyleProps';\n\nconst PaginationItem = (props: SpiritPaginationItemProps) => {\n const { children, ...restProps } = props;\n\n const { classProps } = usePaginationStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n return (\n <li {...transferProps} {...styleProps} className={classNames(classProps.item, styleProps.className)}>\n {children}\n </li>\n );\n};\n\nPaginationItem.spiritComponent = 'PaginationItem';\n\nexport default PaginationItem;\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useI18n, useStyleProps } from '../../hooks';\nimport { type PolymorphicComponent, type PolymorphicRef, type SpiritPaginationLinkProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { usePaginationStyleProps } from './usePaginationStyleProps';\n\nconst _PaginationLink = <E extends ElementType = 'a'>(props: SpiritPaginationLinkProps<E>, ref: PolymorphicRef<E>) => {\n const { t } = useI18n();\n const { elementType = 'a', accessibilityLabel, isCurrent, pageNumber, ...restProps } = props;\n const visuallyHiddenLabel = accessibilityLabel || `${t('pagination.goToPage')} ${pageNumber}`;\n\n const Component = elementType as ElementType;\n\n const { classProps } = usePaginationStyleProps({ isCurrent });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps: classProps.link, styleProps, otherProps });\n\n return (\n <Component {...(isCurrent && { 'aria-current': 'page' })} {...otherProps} {...mergedStyleProps} ref={ref}>\n <VisuallyHidden>{visuallyHiddenLabel}</VisuallyHidden>\n <span aria-hidden=\"true\">{pageNumber}</span>\n </Component>\n );\n};\n\nconst PaginationLink = forwardRef<HTMLAnchorElement, SpiritPaginationLinkProps<'a'>>(\n _PaginationLink,\n) as unknown as PolymorphicComponent<'a', SpiritPaginationLinkProps<ElementType>>;\n\nPaginationLink.spiritComponent = 'PaginationLink';\nPaginationLink.displayName = 'PaginationLink';\n\nexport default PaginationLink;\n","'use client';\n\nimport React, { type ElementType, type ForwardedRef, forwardRef } from 'react';\nimport { useI18n } from '../../hooks';\nimport { type ForwardRefComponent, type SpiritPaginationLinkPreviousNextProps } from '../../types';\nimport PaginationButtonLink from './PaginationButtonLink';\n\nconst _PaginationLinkNext = <E extends ElementType = 'a'>(\n { accessibilityLabel, ...restProps }: SpiritPaginationLinkPreviousNextProps<E>,\n ref: ForwardedRef<HTMLAnchorElement>,\n) => {\n const { t } = useI18n();\n const nextLabel = accessibilityLabel ?? t('pagination.next');\n\n return <PaginationButtonLink direction=\"next\" accessibilityLabel={nextLabel} {...restProps} ref={ref} />;\n};\n\nconst PaginationLinkNext = forwardRef<HTMLAnchorElement, SpiritPaginationLinkPreviousNextProps>(\n _PaginationLinkNext,\n) as ForwardRefComponent<HTMLAnchorElement, SpiritPaginationLinkPreviousNextProps>;\n\nPaginationLinkNext.spiritComponent = 'PaginationLinkNext';\nPaginationLinkNext.displayName = 'PaginationLinkNext';\n\nexport default PaginationLinkNext;\n","'use client';\n\nimport React, { type ElementType, type ForwardedRef, forwardRef } from 'react';\nimport { useI18n } from '../../hooks';\nimport { type ForwardRefComponent, type SpiritPaginationLinkPreviousNextProps } from '../../types';\nimport PaginationButtonLink from './PaginationButtonLink';\n\nconst _PaginationLinkPrevious = <E extends ElementType = 'a'>(\n { accessibilityLabel, ...restProps }: SpiritPaginationLinkPreviousNextProps<E>,\n ref: ForwardedRef<HTMLAnchorElement>,\n) => {\n const { t } = useI18n();\n const previousLabel = accessibilityLabel ?? t('pagination.previous');\n\n return <PaginationButtonLink direction=\"previous\" accessibilityLabel={previousLabel} {...restProps} ref={ref} />;\n};\n\nconst PaginationLinkPrevious = forwardRef<HTMLAnchorElement, SpiritPaginationLinkPreviousNextProps>(\n _PaginationLinkPrevious,\n) as ForwardRefComponent<HTMLAnchorElement, SpiritPaginationLinkPreviousNextProps>;\n\nPaginationLinkPrevious.spiritComponent = 'PaginationLinkPrevious';\nPaginationLinkPrevious.displayName = 'PaginationLinkPrevious';\n\nexport default PaginationLinkPrevious;\n","'use client';\n\nimport { useCallback, useMemo, useState } from 'react';\nimport { type UsePaginationProps } from '../../types/pagination';\n\nexport const usePagination = ({ totalPages, onChange, defaultPage, visiblePages }: UsePaginationProps) => {\n const [currentPage, setCurrentPage] = useState(defaultPage <= 0 || defaultPage > totalPages ? 1 : (defaultPage ?? 1));\n const [pages, setPagesArray] = useState([visiblePages]);\n\n useMemo(() => {\n const currentVisiblePages = visiblePages > totalPages ? totalPages : visiblePages;\n const firstPageChapter =\n totalPages - currentPage < currentVisiblePages ? totalPages - (currentVisiblePages - 1) : currentPage;\n\n setPagesArray(Array.from(Array(currentVisiblePages), (_, index) => index + firstPageChapter));\n }, [visiblePages, currentPage, totalPages]);\n\n const handlePageChange = useCallback(\n (pageNumber: number) => {\n setCurrentPage(pageNumber);\n onChange && onChange(pageNumber);\n },\n [onChange],\n );\n\n const getPagination = () => {\n const halfChap = Math.floor(visiblePages / 2);\n let startPage = Math.max(1, currentPage - halfChap);\n const endPage = Math.min(startPage + visiblePages - 1, totalPages);\n\n if (totalPages - visiblePages < startPage - 1) {\n const tmpStartPage = totalPages - visiblePages + 1;\n startPage = tmpStartPage < 1 ? 1 : tmpStartPage;\n }\n\n return Array.from({ length: endPage - startPage + 1 }, (_, i) => startPage + i);\n };\n\n useMemo(() => {\n setPagesArray(getPagination());\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return {\n totalPages,\n currentPage,\n pages,\n handlePageChange,\n };\n};\n","'use client';\n\nimport React from 'react';\nimport { useI18n } from '../../hooks';\nimport { type ClickEvent, type SpiritUncontrolledPaginationProps } from '../../types';\nimport Pagination from './Pagination';\nimport PaginationItem from './PaginationItem';\nimport PaginationLink from './PaginationLink';\nimport PaginationLinkNext from './PaginationLinkNext';\nimport PaginationLinkPrevious from './PaginationLinkPrevious';\nimport { usePagination } from './usePagination';\n\nconst UncontrolledPagination = (props: SpiritUncontrolledPaginationProps): JSX.Element => {\n const { t } = useI18n();\n const {\n accessibilityLabel,\n accessibilityLabelPrevious,\n accessibilityLabelNext,\n defaultPage = 1,\n onChange,\n totalPages = 0,\n visiblePages = 5,\n ...rest\n } = props;\n const resolvedAccessibilityLabel = accessibilityLabel ?? t('pagination.goToPage');\n const resolvedAccessibilityLabelPrevious = accessibilityLabelPrevious ?? t('pagination.previous');\n const resolvedAccessibilityLabelNext = accessibilityLabelNext ?? t('pagination.next');\n const { currentPage, pages, handlePageChange } = usePagination({\n defaultPage,\n onChange,\n totalPages,\n visiblePages,\n });\n\n return (\n <Pagination {...rest}>\n {currentPage !== 1 && (\n <PaginationLinkPrevious\n accessibilityLabel={resolvedAccessibilityLabelPrevious}\n onClick={(event) => {\n event.preventDefault();\n handlePageChange(currentPage - 1);\n }}\n />\n )}\n {pages?.map((pageNumber: number) => (\n <PaginationItem key={pageNumber}>\n <PaginationLink\n accessibilityLabel={`${resolvedAccessibilityLabel} ${pageNumber}`}\n href=\"#\"\n isCurrent={currentPage === pageNumber}\n pageNumber={pageNumber}\n onClick={(event: ClickEvent) => {\n event.preventDefault();\n handlePageChange(pageNumber);\n }}\n />\n </PaginationItem>\n ))}\n {currentPage !== totalPages && (\n <PaginationLinkNext\n accessibilityLabel={resolvedAccessibilityLabelNext}\n onClick={(event) => {\n event.preventDefault();\n handlePageChange(currentPage + 1);\n }}\n />\n )}\n </Pagination>\n );\n};\n\nUncontrolledPagination.spiritComponent = 'UncontrolledPagination';\n\nexport default UncontrolledPagination;\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritPartnerLogoProps } from '../../types';\nimport { generateResponsiveClassNames } from '../../utils';\n\nexport interface PartnerLogoStyles<T> {\n classProps: string;\n props: T;\n}\n\nexport const usePartnerLogoStyleProps = (props: SpiritPartnerLogoProps): PartnerLogoStyles<SpiritPartnerLogoProps> => {\n const { hasSafeArea, isFluid, size, ...restProps } = props;\n\n const partnerLogoClass = useClassNamePrefix('PartnerLogo');\n const partnerLogoFluidClass = `${partnerLogoClass}--fluid`;\n const partnerLogoSafeAreaClass = `${partnerLogoClass}--safeArea`;\n const partnerLogoSizeClass = generateResponsiveClassNames(partnerLogoClass, size);\n\n const classProps = classNames(\n partnerLogoClass,\n {\n [partnerLogoFluidClass]: isFluid,\n [partnerLogoSafeAreaClass]: hasSafeArea,\n },\n partnerLogoSizeClass,\n );\n\n return {\n classProps,\n props: restProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { Sizes } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritPartnerLogoProps } from '../../types/partnerLogo';\nimport { usePartnerLogoStyleProps } from './usePartnerLogoStyleProps';\n\nconst defaultProps: Partial<SpiritPartnerLogoProps> = {\n hasSafeArea: true,\n isFluid: false,\n size: Sizes.MEDIUM,\n};\n\nconst PartnerLogo = (props: SpiritPartnerLogoProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, ...restProps } = propsWithDefaults;\n\n const { classProps, props: modifiedProps } = usePartnerLogoStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <div {...otherProps} className={classNames(classProps, styleProps.className)} style={styleProps.style}>\n {children}\n </div>\n );\n};\n\nPartnerLogo.spiritComponent = 'PartnerLogo';\n\nexport default PartnerLogo;\n","export const PillColorsExtended = {\n SELECTED: 'selected',\n NEUTRAL: 'neutral',\n} as const;\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritPillProps } from '../../types';\n\nexport interface PillStyles {\n /** className props */\n classProps: string;\n /** props to be passed to the element */\n props: Partial<SpiritPillProps>;\n}\n\nexport function usePillStyleProps<E extends ElementType = 'span', C = void>(props: SpiritPillProps<E, C>): PillStyles {\n const { color, ...modifiedProps } = props;\n\n const pillClass = useClassNamePrefix('Pill');\n const pillColorClass = `${pillClass}--${color}`;\n const classProps = classNames(pillClass, { [pillColorClass]: color });\n\n return {\n classProps,\n props: modifiedProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritPillProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { PillColorsExtended } from './constants';\nimport { usePillStyleProps } from './usePillStyleProps';\n\nconst defaultProps: Partial<SpiritPillProps> = {\n color: PillColorsExtended.SELECTED,\n elementType: 'span',\n};\n\nconst Pill = <E extends ElementType = 'span', C = void>(props: SpiritPillProps<E, C>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'span', children, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = usePillStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nPill.spiritComponent = 'Pill';\n\nexport default Pill;\n","export const NUMBER_OF_PLAN_ROWS_DEFAULT = 100;\n","import { cssVariablePrefix } from '@alma-oss/spirit-design-tokens';\nimport classNames from 'classnames';\nimport type { CSSProperties, ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport type {\n SpiritPricingPlanBodyProps,\n SpiritPricingPlanFooterProps,\n SpiritPricingPlanHeaderProps,\n SpiritPricingPlanProps,\n} from '../../types';\nimport { NUMBER_OF_PLAN_ROWS_DEFAULT } from './constants';\n\ntype PricingPlanStyleProps = Partial<SpiritPricingPlanProps<ElementType>> &\n Partial<SpiritPricingPlanHeaderProps<ElementType>> &\n Partial<SpiritPricingPlanBodyProps<ElementType>> &\n Partial<SpiritPricingPlanFooterProps<ElementType>>;\n\ninterface PricingPlanCSSProperties extends CSSProperties {\n [key: string]: string | undefined | number;\n}\n\nexport interface PricingPlanReturnStyles<T> {\n classProps: {\n root: string;\n layout: string;\n header: {\n root: string;\n badge?: string;\n content: string;\n title?: string;\n subtitle?: string;\n price?: string;\n action?: string;\n note?: string;\n };\n body: {\n root: string;\n featureList: string;\n featureItem: string;\n featureTitle: string;\n featureTitleText: string;\n featureDescription: string;\n };\n footer: string;\n };\n props: Omit<T, keyof PricingPlanStyleProps>;\n styleProps: PricingPlanCSSProperties;\n}\n\nexport const usePricingPlanStyleProps = <T extends PricingPlanStyleProps>(props: T): PricingPlanReturnStyles<T> => {\n const { hasComparableFeatures, isHighlighted, action, badge, title, subtitle, note, price, rows, ...restProps } =\n props;\n\n const pricingPlanClass = useClassNamePrefix('PricingPlan');\n const pricingPlanComparableClass = `${pricingPlanClass}--comparableFeatures`;\n const pricingPlanLayoutClass = `${pricingPlanClass}__layout`;\n const pricingPlanHighlightedClass = `${pricingPlanClass}--highlighted`;\n\n const pricingPlanHeaderClass = useClassNamePrefix('PricingPlanHeader');\n const pricingPlanHeaderBadgeClassName = `${pricingPlanHeaderClass}__badge`;\n const pricingPlanHeaderTitleClassName = `${pricingPlanHeaderClass}__title`;\n const pricingPlanHeaderSubtitleClassName = `${pricingPlanHeaderClass}__subtitle`;\n const pricingPlanHeaderPriceClassName = `${pricingPlanHeaderClass}__price`;\n const pricingPlanHeaderActionClassName = `${pricingPlanHeaderClass}__action`;\n const pricingPlanHeaderNoteClassName = `${pricingPlanHeaderClass}__note`;\n const pricingPlanHeaderContentClassName = `${pricingPlanHeaderClass}__content`;\n\n const pricingPlanBodyClass = useClassNamePrefix('PricingPlanBody');\n const pricingPlanBodyFeatureListClassName = `${pricingPlanBodyClass}__featureList`;\n const pricingPlanBodyFeatureItemClassName = `${pricingPlanBodyClass}__featureItem`;\n const pricingPlanBodyFeatureTitleClassName = `${pricingPlanBodyClass}__featureTitle`;\n const pricingPlanBodyFeatureTitleTextClassName = `${pricingPlanBodyClass}__featureTitleText`;\n const pricingPlanBodyFeatureDescriptionClassName = `${pricingPlanBodyClass}__featureDescription`;\n\n const pricingPlanFooterClass = useClassNamePrefix('PricingPlanFooter');\n\n const rootClassProps = classNames(pricingPlanClass, {\n [pricingPlanComparableClass]: hasComparableFeatures,\n [pricingPlanHighlightedClass]: isHighlighted,\n });\n\n const pricingPlanStyle: PricingPlanCSSProperties = {};\n\n if (rows !== NUMBER_OF_PLAN_ROWS_DEFAULT) {\n pricingPlanStyle[`--${cssVariablePrefix}pricing-plan-rows`] = rows?.toString();\n }\n\n return {\n classProps: {\n root: rootClassProps,\n layout: pricingPlanLayoutClass,\n header: {\n root: pricingPlanHeaderClass,\n badge: badge ? pricingPlanHeaderBadgeClassName : undefined,\n content: pricingPlanHeaderContentClassName,\n title: title ? pricingPlanHeaderTitleClassName : undefined,\n subtitle: subtitle ? pricingPlanHeaderSubtitleClassName : undefined,\n price: price ? pricingPlanHeaderPriceClassName : undefined,\n action: action ? pricingPlanHeaderActionClassName : undefined,\n note: note ? pricingPlanHeaderNoteClassName : undefined,\n },\n body: {\n root: pricingPlanBodyClass,\n featureList: pricingPlanBodyFeatureListClassName,\n featureItem: pricingPlanBodyFeatureItemClassName,\n featureTitle: pricingPlanBodyFeatureTitleClassName,\n featureTitleText: pricingPlanBodyFeatureTitleTextClassName,\n featureDescription: pricingPlanBodyFeatureDescriptionClassName,\n },\n footer: pricingPlanFooterClass,\n },\n props: restProps as Omit<T, keyof PricingPlanStyleProps>,\n styleProps: pricingPlanStyle,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritPricingPlanProps } from '../../types/pricingPlan';\nimport { mergeStyleProps } from '../../utils';\nimport { NUMBER_OF_PLAN_ROWS_DEFAULT } from './constants';\nimport { usePricingPlanStyleProps } from './usePricingPlanStyleProps';\n\nconst defaultProps: Partial<SpiritPricingPlanProps> = {\n hasComparableFeatures: false,\n isHighlighted: false,\n rows: NUMBER_OF_PLAN_ROWS_DEFAULT,\n};\n\nconst PricingPlan = <E extends ElementType = 'article'>(props: SpiritPricingPlanProps<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'article', children, ...restProps } = propsWithDefaults;\n\n const { classProps, props: modifiedProps, styleProps: pricingPlanStyleProps } = usePricingPlanStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.root,\n pricingPlanStyleProps,\n styleProps,\n });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n <div className={classNames(classProps.layout)}>{children}</div>\n </ElementTag>\n );\n};\n\nPricingPlan.spiritComponent = 'PricingPlan';\n\nexport default PricingPlan;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport type { SpiritPricingPlanHeaderProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { usePricingPlanStyleProps } from './usePricingPlanStyleProps';\n\nconst defaultProps: Partial<SpiritPricingPlanHeaderProps> = {\n action: undefined,\n badge: undefined,\n note: undefined,\n price: undefined,\n subtitle: undefined,\n title: undefined,\n};\n\nconst PricingPlanHeader = <E extends ElementType = 'header'>(props: SpiritPricingPlanHeaderProps<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'header', ...restProps } = propsWithDefaults;\n\n const { classProps, props: modifiedProps } = usePricingPlanStyleProps(restProps);\n const { badge, title, subtitle, price, action, note } = propsWithDefaults;\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.header.root,\n styleProps,\n });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {badge && <div className={classProps.header.badge}>{badge}</div>}\n <div className={classProps.header.content}>\n {title && <h3 className={classProps.header.title}>{title}</h3>}\n {subtitle && <div className={classNames(classProps.header.subtitle)}>{subtitle}</div>}\n {price && <div className={classProps.header.price}>{price}</div>}\n {action && <div className={classProps.header.action}>{action}</div>}\n {note && <div className={classProps.header.note}>{note}</div>}\n </div>\n </ElementTag>\n );\n};\n\nPricingPlanHeader.spiritComponent = 'PricingPlanHeader';\n\nexport default PricingPlanHeader;\n","'use client';\n\nimport { type MiddlewareData, type Placement, type Strategy } from '@floating-ui/react';\nimport { type HTMLProps, type MutableRefObject, createContext, useContext } from 'react';\n\ntype refType = ((node: HTMLElement | null) => void) & ((node: HTMLElement | null) => void);\n\ntype TooltipContextType = {\n anchorRef: refType;\n arrowRef: MutableRefObject<HTMLElement | null>;\n getFloatingProps: (userProps?: HTMLProps<HTMLElement> | undefined) => Record<string, unknown>;\n getReferenceProps: (userProps?: HTMLProps<Element> | undefined) => Record<string, unknown>;\n id: string;\n isDismissible?: boolean;\n isOpen: boolean;\n middlewareData: MiddlewareData;\n onToggle: (isOpen: boolean) => void;\n placement?: Placement | undefined;\n sizeMaxWidth?: number;\n tooltipMaxWidth?: number;\n tooltipRef: refType;\n triggerRef: refType;\n x: number;\n y: number;\n position?: Strategy;\n};\n\nconst defaultContext: TooltipContextType = {\n anchorRef: () => {},\n arrowRef: { current: null },\n getReferenceProps: () => ({\n id: '',\n ref: () => {},\n }),\n getFloatingProps: () => ({\n id: '',\n ref: () => {},\n }),\n id: '',\n isDismissible: false,\n isOpen: false,\n middlewareData: {},\n onToggle: () => {},\n placement: 'bottom',\n sizeMaxWidth: undefined,\n tooltipMaxWidth: undefined,\n tooltipRef: () => {},\n triggerRef: () => {},\n x: 0,\n y: 0,\n position: 'absolute',\n};\n\nconst TooltipContext = createContext<TooltipContextType>(defaultContext);\nconst TooltipProvider = TooltipContext.Provider;\nconst TooltipConsumer = TooltipContext.Consumer;\nconst useTooltipContext = (): TooltipContextType => useContext(TooltipContext);\n\nexport default TooltipContext;\nexport { TooltipConsumer, TooltipProvider, useTooltipContext };\nexport type { TooltipContextType };\n","function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);\n}\nfunction isTableElement(element) {\n return ['table', 'td', 'th'].includes(getNodeName(element));\n}\nfunction isTopLayer(element) {\n return [':popover-open', ':modal'].some(selector => {\n try {\n return element.matches(selector);\n } catch (e) {\n return false;\n }\n });\n}\nfunction isContainingBlock(elementOrCss) {\n const webkit = isWebKit();\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return ['transform', 'translate', 'scale', 'rotate', 'perspective'].some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (typeof CSS === 'undefined' || !CSS.supports) return false;\n return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nfunction isLastTraversableNode(node) {\n return ['html', 'body', '#document'].includes(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n","import { isShadowRoot, isHTMLElement } from '@floating-ui/utils/dom';\n\nfunction activeElement(doc) {\n let activeElement = doc.activeElement;\n while (((_activeElement = activeElement) == null || (_activeElement = _activeElement.shadowRoot) == null ? void 0 : _activeElement.activeElement) != null) {\n var _activeElement;\n activeElement = activeElement.shadowRoot.activeElement;\n }\n return activeElement;\n}\nfunction contains(parent, child) {\n if (!parent || !child) {\n return false;\n }\n const rootNode = child.getRootNode == null ? void 0 : child.getRootNode();\n\n // First, attempt with faster native method\n if (parent.contains(child)) {\n return true;\n }\n\n // then fallback to custom implementation with Shadow DOM support\n if (rootNode && isShadowRoot(rootNode)) {\n let next = child;\n while (next) {\n if (parent === next) {\n return true;\n }\n // @ts-ignore\n next = next.parentNode || next.host;\n }\n }\n\n // Give up, the result is false\n return false;\n}\n// Avoid Chrome DevTools blue warning.\nfunction getPlatform() {\n const uaData = navigator.userAgentData;\n if (uaData != null && uaData.platform) {\n return uaData.platform;\n }\n return navigator.platform;\n}\nfunction getUserAgent() {\n const uaData = navigator.userAgentData;\n if (uaData && Array.isArray(uaData.brands)) {\n return uaData.brands.map(_ref => {\n let {\n brand,\n version\n } = _ref;\n return brand + \"/\" + version;\n }).join(' ');\n }\n return navigator.userAgent;\n}\n\n// License: https://github.com/adobe/react-spectrum/blob/b35d5c02fe900badccd0cf1a8f23bb593419f238/packages/@react-aria/utils/src/isVirtualEvent.ts\nfunction isVirtualClick(event) {\n // FIXME: Firefox is now emitting a deprecation warning for `mozInputSource`.\n // Try to find a workaround for this. `react-aria` source still has the check.\n if (event.mozInputSource === 0 && event.isTrusted) {\n return true;\n }\n if (isAndroid() && event.pointerType) {\n return event.type === 'click' && event.buttons === 1;\n }\n return event.detail === 0 && !event.pointerType;\n}\nfunction isVirtualPointerEvent(event) {\n if (isJSDOM()) return false;\n return !isAndroid() && event.width === 0 && event.height === 0 || isAndroid() && event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'mouse' ||\n // iOS VoiceOver returns 0.333• for width/height.\n event.width < 1 && event.height < 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'touch';\n}\nfunction isSafari() {\n // Chrome DevTools does not complain about navigator.vendor\n return /apple/i.test(navigator.vendor);\n}\nfunction isAndroid() {\n const re = /android/i;\n return re.test(getPlatform()) || re.test(getUserAgent());\n}\nfunction isMac() {\n return getPlatform().toLowerCase().startsWith('mac') && !navigator.maxTouchPoints;\n}\nfunction isJSDOM() {\n return getUserAgent().includes('jsdom/');\n}\nfunction isMouseLikePointerType(pointerType, strict) {\n // On some Linux machines with Chromium, mouse inputs return a `pointerType`\n // of \"pen\": https://github.com/floating-ui/floating-ui/issues/2015\n const values = ['mouse', 'pen'];\n if (!strict) {\n values.push('', undefined);\n }\n return values.includes(pointerType);\n}\nfunction isReactEvent(event) {\n return 'nativeEvent' in event;\n}\nfunction isRootElement(element) {\n return element.matches('html,body');\n}\nfunction getDocument(node) {\n return (node == null ? void 0 : node.ownerDocument) || document;\n}\nfunction isEventTargetWithin(event, node) {\n if (node == null) {\n return false;\n }\n if ('composedPath' in event) {\n return event.composedPath().includes(node);\n }\n\n // TS thinks `event` is of type never as it assumes all browsers support composedPath, but browsers without shadow dom don't\n const e = event;\n return e.target != null && node.contains(e.target);\n}\nfunction getTarget(event) {\n if ('composedPath' in event) {\n return event.composedPath()[0];\n }\n\n // TS thinks `event` is of type never as it assumes all browsers support\n // `composedPath()`, but browsers without shadow DOM don't.\n return event.target;\n}\nconst TYPEABLE_SELECTOR = \"input:not([type='hidden']):not([disabled]),\" + \"[contenteditable]:not([contenteditable='false']),textarea:not([disabled])\";\nfunction isTypeableElement(element) {\n return isHTMLElement(element) && element.matches(TYPEABLE_SELECTOR);\n}\nfunction stopEvent(event) {\n event.preventDefault();\n event.stopPropagation();\n}\nfunction isTypeableCombobox(element) {\n if (!element) return false;\n return element.getAttribute('role') === 'combobox' && isTypeableElement(element);\n}\n\nexport { TYPEABLE_SELECTOR, activeElement, contains, getDocument, getPlatform, getTarget, getUserAgent, isAndroid, isEventTargetWithin, isJSDOM, isMac, isMouseLikePointerType, isReactEvent, isRootElement, isSafari, isTypeableCombobox, isTypeableElement, isVirtualClick, isVirtualPointerEvent, stopEvent };\n","/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n start: 'end',\n end: 'start'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nfunction getSideList(side, isStart, rtl) {\n const lr = ['left', 'right'];\n const rl = ['right', 'left'];\n const tb = ['top', 'bottom'];\n const bt = ['bottom', 'top'];\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rl : lr;\n return isStart ? lr : rl;\n case 'left':\n case 'right':\n return isStart ? tb : bt;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n const {\n x,\n y,\n width,\n height\n } = rect;\n return {\n width,\n height,\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n","import { getSideAxis, getAlignmentAxis, getAxisLength, getSide, getAlignment, evaluate, getPaddingObject, rectToClientRect, min, clamp, placements, getAlignmentSides, getOppositeAlignmentPlacement, getOppositePlacement, getExpandedPlacements, getOppositeAxisPlacements, sides, max, getOppositeAxis } from '@floating-ui/utils';\nexport { rectToClientRect } from '@floating-ui/utils';\n\nfunction computeCoordsFromPlacement(_ref, placement, rtl) {\n let {\n reference,\n floating\n } = _ref;\n const sideAxis = getSideAxis(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const alignLength = getAxisLength(alignmentAxis);\n const side = getSide(placement);\n const isVertical = sideAxis === 'y';\n const commonX = reference.x + reference.width / 2 - floating.width / 2;\n const commonY = reference.y + reference.height / 2 - floating.height / 2;\n const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;\n let coords;\n switch (side) {\n case 'top':\n coords = {\n x: commonX,\n y: reference.y - floating.height\n };\n break;\n case 'bottom':\n coords = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n case 'right':\n coords = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n case 'left':\n coords = {\n x: reference.x - floating.width,\n y: commonY\n };\n break;\n default:\n coords = {\n x: reference.x,\n y: reference.y\n };\n }\n switch (getAlignment(placement)) {\n case 'start':\n coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n case 'end':\n coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n }\n return coords;\n}\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n *\n * This export does not have any `platform` interface logic. You will need to\n * write one for the platform you are using Floating UI with.\n */\nconst computePosition = async (reference, floating, config) => {\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform\n } = config;\n const validMiddleware = middleware.filter(Boolean);\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));\n let rects = await platform.getElementRects({\n reference,\n floating,\n strategy\n });\n let {\n x,\n y\n } = computeCoordsFromPlacement(rects, placement, rtl);\n let statefulPlacement = placement;\n let middlewareData = {};\n let resetCount = 0;\n for (let i = 0; i < validMiddleware.length; i++) {\n const {\n name,\n fn\n } = validMiddleware[i];\n const {\n x: nextX,\n y: nextY,\n data,\n reset\n } = await fn({\n x,\n y,\n initialPlacement: placement,\n placement: statefulPlacement,\n strategy,\n middlewareData,\n rects,\n platform,\n elements: {\n reference,\n floating\n }\n });\n x = nextX != null ? nextX : x;\n y = nextY != null ? nextY : y;\n middlewareData = {\n ...middlewareData,\n [name]: {\n ...middlewareData[name],\n ...data\n }\n };\n if (reset && resetCount <= 50) {\n resetCount++;\n if (typeof reset === 'object') {\n if (reset.placement) {\n statefulPlacement = reset.placement;\n }\n if (reset.rects) {\n rects = reset.rects === true ? await platform.getElementRects({\n reference,\n floating,\n strategy\n }) : reset.rects;\n }\n ({\n x,\n y\n } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));\n }\n i = -1;\n }\n }\n return {\n x,\n y,\n placement: statefulPlacement,\n strategy,\n middlewareData\n };\n};\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nasync function detectOverflow(state, options) {\n var _await$platform$isEle;\n if (options === void 0) {\n options = {};\n }\n const {\n x,\n y,\n platform,\n rects,\n elements,\n strategy\n } = state;\n const {\n boundary = 'clippingAncestors',\n rootBoundary = 'viewport',\n elementContext = 'floating',\n altBoundary = false,\n padding = 0\n } = evaluate(options, state);\n const paddingObject = getPaddingObject(padding);\n const altContext = elementContext === 'floating' ? 'reference' : 'floating';\n const element = elements[altBoundary ? altContext : elementContext];\n const clippingClientRect = rectToClientRect(await platform.getClippingRect({\n element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),\n boundary,\n rootBoundary,\n strategy\n }));\n const rect = elementContext === 'floating' ? {\n x,\n y,\n width: rects.floating.width,\n height: rects.floating.height\n } : rects.reference;\n const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));\n const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {\n x: 1,\n y: 1\n } : {\n x: 1,\n y: 1\n };\n const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({\n elements,\n rect,\n offsetParent,\n strategy\n }) : rect);\n return {\n top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,\n bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,\n left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,\n right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x\n };\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = options => ({\n name: 'arrow',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n platform,\n elements,\n middlewareData\n } = state;\n // Since `element` is required, we don't Partial<> the type.\n const {\n element,\n padding = 0\n } = evaluate(options, state) || {};\n if (element == null) {\n return {};\n }\n const paddingObject = getPaddingObject(padding);\n const coords = {\n x,\n y\n };\n const axis = getAlignmentAxis(placement);\n const length = getAxisLength(axis);\n const arrowDimensions = await platform.getDimensions(element);\n const isYAxis = axis === 'y';\n const minProp = isYAxis ? 'top' : 'left';\n const maxProp = isYAxis ? 'bottom' : 'right';\n const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';\n const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n const startDiff = coords[axis] - rects.reference[axis];\n const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));\n let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;\n\n // DOM platform can return `window` as the `offsetParent`.\n if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {\n clientSize = elements.floating[clientProp] || rects.floating[length];\n }\n const centerToReference = endDiff / 2 - startDiff / 2;\n\n // If the padding is large enough that it causes the arrow to no longer be\n // centered, modify the padding so that it is centered.\n const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;\n const minPadding = min(paddingObject[minProp], largestPossiblePadding);\n const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);\n\n // Make sure the arrow doesn't overflow the floating element if the center\n // point is outside the floating element's bounds.\n const min$1 = minPadding;\n const max = clientSize - arrowDimensions[length] - maxPadding;\n const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n const offset = clamp(min$1, center, max);\n\n // If the reference is small enough that the arrow's padding causes it to\n // to point to nothing for an aligned placement, adjust the offset of the\n // floating element itself. To ensure `shift()` continues to take action,\n // a single reset is performed when this is true.\n const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;\n const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;\n return {\n [axis]: coords[axis] + alignmentOffset,\n data: {\n [axis]: offset,\n centerOffset: center - offset - alignmentOffset,\n ...(shouldAddOffset && {\n alignmentOffset\n })\n },\n reset: shouldAddOffset\n };\n }\n});\n\nfunction getPlacementList(alignment, autoAlignment, allowedPlacements) {\n const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);\n return allowedPlacementsSortedByAlignment.filter(placement => {\n if (alignment) {\n return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);\n }\n return true;\n });\n}\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'autoPlacement',\n options,\n async fn(state) {\n var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;\n const {\n rects,\n middlewareData,\n placement,\n platform,\n elements\n } = state;\n const {\n crossAxis = false,\n alignment,\n allowedPlacements = placements,\n autoAlignment = true,\n ...detectOverflowOptions\n } = evaluate(options, state);\n const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;\n const currentPlacement = placements$1[currentIndex];\n if (currentPlacement == null) {\n return {};\n }\n const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));\n\n // Make `computeCoords` start from the right place.\n if (placement !== currentPlacement) {\n return {\n reset: {\n placement: placements$1[0]\n }\n };\n }\n const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];\n const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {\n placement: currentPlacement,\n overflows: currentOverflows\n }];\n const nextPlacement = placements$1[currentIndex + 1];\n\n // There are more placements to check.\n if (nextPlacement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n const placementsSortedByMostSpace = allOverflows.map(d => {\n const alignment = getAlignment(d.placement);\n return [d.placement, alignment && crossAxis ?\n // Check along the mainAxis and main crossAxis side.\n d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :\n // Check only the mainAxis.\n d.overflows[0], d.overflows];\n }).sort((a, b) => a[1] - b[1]);\n const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,\n // Aligned placements should not check their opposite crossAxis\n // side.\n getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));\n const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];\n if (resetPlacement !== placement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: resetPlacement\n }\n };\n }\n return {};\n }\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'flip',\n options,\n async fn(state) {\n var _middlewareData$arrow, _middlewareData$flip;\n const {\n placement,\n middlewareData,\n rects,\n initialPlacement,\n platform,\n elements\n } = state;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true,\n fallbackPlacements: specifiedFallbackPlacements,\n fallbackStrategy = 'bestFit',\n fallbackAxisSideDirection = 'none',\n flipAlignment = true,\n ...detectOverflowOptions\n } = evaluate(options, state);\n\n // If a reset by the arrow was caused due to an alignment offset being\n // added, we should skip any logic now since `flip()` has already done its\n // work.\n // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643\n if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n return {};\n }\n const side = getSide(placement);\n const initialSideAxis = getSideAxis(initialPlacement);\n const isBasePlacement = getSide(initialPlacement) === initialPlacement;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));\n const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';\n if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {\n fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));\n }\n const placements = [initialPlacement, ...fallbackPlacements];\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const overflows = [];\n let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];\n if (checkMainAxis) {\n overflows.push(overflow[side]);\n }\n if (checkCrossAxis) {\n const sides = getAlignmentSides(placement, rects, rtl);\n overflows.push(overflow[sides[0]], overflow[sides[1]]);\n }\n overflowsData = [...overflowsData, {\n placement,\n overflows\n }];\n\n // One or more sides is overflowing.\n if (!overflows.every(side => side <= 0)) {\n var _middlewareData$flip2, _overflowsData$filter;\n const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;\n const nextPlacement = placements[nextIndex];\n if (nextPlacement) {\n // Try next placement and re-run the lifecycle.\n return {\n data: {\n index: nextIndex,\n overflows: overflowsData\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n\n // First, find the candidates that fit on the mainAxis side of overflow,\n // then find the placement that fits the best on the main crossAxis side.\n let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;\n\n // Otherwise fallback.\n if (!resetPlacement) {\n switch (fallbackStrategy) {\n case 'bestFit':\n {\n var _overflowsData$filter2;\n const placement = (_overflowsData$filter2 = overflowsData.filter(d => {\n if (hasFallbackAxisSideDirection) {\n const currentSideAxis = getSideAxis(d.placement);\n return currentSideAxis === initialSideAxis ||\n // Create a bias to the `y` side axis due to horizontal\n // reading directions favoring greater width.\n currentSideAxis === 'y';\n }\n return true;\n }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];\n if (placement) {\n resetPlacement = placement;\n }\n break;\n }\n case 'initialPlacement':\n resetPlacement = initialPlacement;\n break;\n }\n }\n if (placement !== resetPlacement) {\n return {\n reset: {\n placement: resetPlacement\n }\n };\n }\n }\n return {};\n }\n };\n};\n\nfunction getSideOffsets(overflow, rect) {\n return {\n top: overflow.top - rect.height,\n right: overflow.right - rect.width,\n bottom: overflow.bottom - rect.height,\n left: overflow.left - rect.width\n };\n}\nfunction isAnySideFullyClipped(overflow) {\n return sides.some(side => overflow[side] >= 0);\n}\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'hide',\n options,\n async fn(state) {\n const {\n rects\n } = state;\n const {\n strategy = 'referenceHidden',\n ...detectOverflowOptions\n } = evaluate(options, state);\n switch (strategy) {\n case 'referenceHidden':\n {\n const overflow = await detectOverflow(state, {\n ...detectOverflowOptions,\n elementContext: 'reference'\n });\n const offsets = getSideOffsets(overflow, rects.reference);\n return {\n data: {\n referenceHiddenOffsets: offsets,\n referenceHidden: isAnySideFullyClipped(offsets)\n }\n };\n }\n case 'escaped':\n {\n const overflow = await detectOverflow(state, {\n ...detectOverflowOptions,\n altBoundary: true\n });\n const offsets = getSideOffsets(overflow, rects.floating);\n return {\n data: {\n escapedOffsets: offsets,\n escaped: isAnySideFullyClipped(offsets)\n }\n };\n }\n default:\n {\n return {};\n }\n }\n }\n };\n};\n\nfunction getBoundingRect(rects) {\n const minX = min(...rects.map(rect => rect.left));\n const minY = min(...rects.map(rect => rect.top));\n const maxX = max(...rects.map(rect => rect.right));\n const maxY = max(...rects.map(rect => rect.bottom));\n return {\n x: minX,\n y: minY,\n width: maxX - minX,\n height: maxY - minY\n };\n}\nfunction getRectsByLine(rects) {\n const sortedRects = rects.slice().sort((a, b) => a.y - b.y);\n const groups = [];\n let prevRect = null;\n for (let i = 0; i < sortedRects.length; i++) {\n const rect = sortedRects[i];\n if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {\n groups.push([rect]);\n } else {\n groups[groups.length - 1].push(rect);\n }\n prevRect = rect;\n }\n return groups.map(rect => rectToClientRect(getBoundingRect(rect)));\n}\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'inline',\n options,\n async fn(state) {\n const {\n placement,\n elements,\n rects,\n platform,\n strategy\n } = state;\n // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a\n // ClientRect's bounds, despite the event listener being triggered. A\n // padding of 2 seems to handle this issue.\n const {\n padding = 2,\n x,\n y\n } = evaluate(options, state);\n const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);\n const clientRects = getRectsByLine(nativeClientRects);\n const fallback = rectToClientRect(getBoundingRect(nativeClientRects));\n const paddingObject = getPaddingObject(padding);\n function getBoundingClientRect() {\n // There are two rects and they are disjoined.\n if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {\n // Find the first rect in which the point is fully inside.\n return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;\n }\n\n // There are 2 or more connected rects.\n if (clientRects.length >= 2) {\n if (getSideAxis(placement) === 'y') {\n const firstRect = clientRects[0];\n const lastRect = clientRects[clientRects.length - 1];\n const isTop = getSide(placement) === 'top';\n const top = firstRect.top;\n const bottom = lastRect.bottom;\n const left = isTop ? firstRect.left : lastRect.left;\n const right = isTop ? firstRect.right : lastRect.right;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n const isLeftSide = getSide(placement) === 'left';\n const maxRight = max(...clientRects.map(rect => rect.right));\n const minLeft = min(...clientRects.map(rect => rect.left));\n const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);\n const top = measureRects[0].top;\n const bottom = measureRects[measureRects.length - 1].bottom;\n const left = minLeft;\n const right = maxRight;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n return fallback;\n }\n const resetRects = await platform.getElementRects({\n reference: {\n getBoundingClientRect\n },\n floating: elements.floating,\n strategy\n });\n if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {\n return {\n reset: {\n rects: resetRects\n }\n };\n }\n return {};\n }\n };\n};\n\n// For type backwards-compatibility, the `OffsetOptions` type was also\n// Derivable.\n\nasync function convertValueToCoords(state, options) {\n const {\n placement,\n platform,\n elements\n } = state;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n const isVertical = getSideAxis(placement) === 'y';\n const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;\n const crossAxisMulti = rtl && isVertical ? -1 : 1;\n const rawValue = evaluate(options, state);\n\n // eslint-disable-next-line prefer-const\n let {\n mainAxis,\n crossAxis,\n alignmentAxis\n } = typeof rawValue === 'number' ? {\n mainAxis: rawValue,\n crossAxis: 0,\n alignmentAxis: null\n } : {\n mainAxis: rawValue.mainAxis || 0,\n crossAxis: rawValue.crossAxis || 0,\n alignmentAxis: rawValue.alignmentAxis\n };\n if (alignment && typeof alignmentAxis === 'number') {\n crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;\n }\n return isVertical ? {\n x: crossAxis * crossAxisMulti,\n y: mainAxis * mainAxisMulti\n } : {\n x: mainAxis * mainAxisMulti,\n y: crossAxis * crossAxisMulti\n };\n}\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = function (options) {\n if (options === void 0) {\n options = 0;\n }\n return {\n name: 'offset',\n options,\n async fn(state) {\n var _middlewareData$offse, _middlewareData$arrow;\n const {\n x,\n y,\n placement,\n middlewareData\n } = state;\n const diffCoords = await convertValueToCoords(state, options);\n\n // If the placement is the same and the arrow caused an alignment offset\n // then we don't need to change the positioning coordinates.\n if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n return {};\n }\n return {\n x: x + diffCoords.x,\n y: y + diffCoords.y,\n data: {\n ...diffCoords,\n placement\n }\n };\n }\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'shift',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement\n } = state;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = false,\n limiter = {\n fn: _ref => {\n let {\n x,\n y\n } = _ref;\n return {\n x,\n y\n };\n }\n },\n ...detectOverflowOptions\n } = evaluate(options, state);\n const coords = {\n x,\n y\n };\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const crossAxis = getSideAxis(getSide(placement));\n const mainAxis = getOppositeAxis(crossAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n if (checkMainAxis) {\n const minSide = mainAxis === 'y' ? 'top' : 'left';\n const maxSide = mainAxis === 'y' ? 'bottom' : 'right';\n const min = mainAxisCoord + overflow[minSide];\n const max = mainAxisCoord - overflow[maxSide];\n mainAxisCoord = clamp(min, mainAxisCoord, max);\n }\n if (checkCrossAxis) {\n const minSide = crossAxis === 'y' ? 'top' : 'left';\n const maxSide = crossAxis === 'y' ? 'bottom' : 'right';\n const min = crossAxisCoord + overflow[minSide];\n const max = crossAxisCoord - overflow[maxSide];\n crossAxisCoord = clamp(min, crossAxisCoord, max);\n }\n const limitedCoords = limiter.fn({\n ...state,\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n });\n return {\n ...limitedCoords,\n data: {\n x: limitedCoords.x - x,\n y: limitedCoords.y - y,\n enabled: {\n [mainAxis]: checkMainAxis,\n [crossAxis]: checkCrossAxis\n }\n }\n };\n }\n };\n};\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n options,\n fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n middlewareData\n } = state;\n const {\n offset = 0,\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true\n } = evaluate(options, state);\n const coords = {\n x,\n y\n };\n const crossAxis = getSideAxis(placement);\n const mainAxis = getOppositeAxis(crossAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n const rawOffset = evaluate(offset, state);\n const computedOffset = typeof rawOffset === 'number' ? {\n mainAxis: rawOffset,\n crossAxis: 0\n } : {\n mainAxis: 0,\n crossAxis: 0,\n ...rawOffset\n };\n if (checkMainAxis) {\n const len = mainAxis === 'y' ? 'height' : 'width';\n const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;\n const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;\n if (mainAxisCoord < limitMin) {\n mainAxisCoord = limitMin;\n } else if (mainAxisCoord > limitMax) {\n mainAxisCoord = limitMax;\n }\n }\n if (checkCrossAxis) {\n var _middlewareData$offse, _middlewareData$offse2;\n const len = mainAxis === 'y' ? 'width' : 'height';\n const isOriginSide = ['top', 'left'].includes(getSide(placement));\n const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);\n const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);\n if (crossAxisCoord < limitMin) {\n crossAxisCoord = limitMin;\n } else if (crossAxisCoord > limitMax) {\n crossAxisCoord = limitMax;\n }\n }\n return {\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n };\n }\n };\n};\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'size',\n options,\n async fn(state) {\n var _state$middlewareData, _state$middlewareData2;\n const {\n placement,\n rects,\n platform,\n elements\n } = state;\n const {\n apply = () => {},\n ...detectOverflowOptions\n } = evaluate(options, state);\n const overflow = await detectOverflow(state, detectOverflowOptions);\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n const isYAxis = getSideAxis(placement) === 'y';\n const {\n width,\n height\n } = rects.floating;\n let heightSide;\n let widthSide;\n if (side === 'top' || side === 'bottom') {\n heightSide = side;\n widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';\n } else {\n widthSide = side;\n heightSide = alignment === 'end' ? 'top' : 'bottom';\n }\n const maximumClippingHeight = height - overflow.top - overflow.bottom;\n const maximumClippingWidth = width - overflow.left - overflow.right;\n const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);\n const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);\n const noShift = !state.middlewareData.shift;\n let availableHeight = overflowAvailableHeight;\n let availableWidth = overflowAvailableWidth;\n if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {\n availableWidth = maximumClippingWidth;\n }\n if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {\n availableHeight = maximumClippingHeight;\n }\n if (noShift && !alignment) {\n const xMin = max(overflow.left, 0);\n const xMax = max(overflow.right, 0);\n const yMin = max(overflow.top, 0);\n const yMax = max(overflow.bottom, 0);\n if (isYAxis) {\n availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));\n } else {\n availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));\n }\n }\n await apply({\n ...state,\n availableWidth,\n availableHeight\n });\n const nextDimensions = await platform.getDimensions(elements.floating);\n if (width !== nextDimensions.width || height !== nextDimensions.height) {\n return {\n reset: {\n rects: true\n }\n };\n }\n return {};\n }\n };\n};\n\nexport { arrow, autoPlacement, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, shift, size };\n","import { rectToClientRect, detectOverflow as detectOverflow$1, offset as offset$1, autoPlacement as autoPlacement$1, shift as shift$1, flip as flip$1, size as size$1, hide as hide$1, arrow as arrow$1, inline as inline$1, limitShift as limitShift$1, computePosition as computePosition$1 } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle, isHTMLElement, isElement, getWindow, isWebKit, getFrameElement, getNodeScroll, getDocumentElement, isTopLayer, getNodeName, isOverflowElement, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentWin = win;\n let currentIFrame = getFrameElement(currentWin);\n while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentWin = getWindow(currentIFrame);\n currentIFrame = getFrameElement(currentWin);\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\n// If <html> has a CSS width greater than the viewport, then this will be\n// incorrect for RTL.\nfunction getWindowScrollBarX(element, rect) {\n const leftScroll = getNodeScroll(element).scrollLeft;\n if (!rect) {\n return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n }\n return rect.left + leftScroll;\n}\n\nfunction getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {\n if (ignoreScrollbarX === void 0) {\n ignoreScrollbarX = false;\n }\n const htmlRect = documentElement.getBoundingClientRect();\n const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 :\n // RTL <body> scrollbar.\n getWindowScrollBarX(documentElement, htmlRect));\n const y = htmlRect.top + scroll.scrollTop;\n return {\n x,\n y\n };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isFixed = strategy === 'fixed';\n const documentElement = getDocumentElement(offsetParent);\n const topLayer = elements ? isTopLayer(elements.floating) : false;\n if (offsetParent === documentElement || topLayer && isFixed) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y,\n width: clippingAncestor.width,\n height: clippingAncestor.height\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n // If the <body> scrollbar appears on the left (e.g. RTL systems). Use\n // Firefox with layout.scrollbar.side = 3 in about:config to test this.\n offsets.x = getWindowScrollBarX(documentElement);\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction isStaticPositioned(element) {\n return getComputedStyle(element).position === 'static';\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n let rawOffsetParent = element.offsetParent;\n\n // Firefox returns the <html> element as the offsetParent if it's non-static,\n // while Chrome and Safari return the <body> element. The <body> element must\n // be used to perform the correct calculations even if the <html> element is\n // non-static.\n if (getDocumentElement(element) === rawOffsetParent) {\n rawOffsetParent = rawOffsetParent.ownerDocument.body;\n }\n return rawOffsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const win = getWindow(element);\n if (isTopLayer(element)) {\n return win;\n }\n if (!isHTMLElement(element)) {\n let svgOffsetParent = getParentNode(element);\n while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n return svgOffsetParent;\n }\n svgOffsetParent = getParentNode(svgOffsetParent);\n }\n return win;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n return win;\n }\n return offsetParent || getContainingBlock(element) || win;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n const floatingDimensions = await getDimensionsFn(data.floating);\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n floating: {\n x: 0,\n y: 0,\n width: floatingDimensions.width,\n height: floatingDimensions.height\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\nfunction rectsAreEqual(a, b) {\n return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const elementRectForRootMargin = element.getBoundingClientRect();\n const {\n left,\n top,\n width,\n height\n } = elementRectForRootMargin;\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n // If the reference is clipped, the ratio is 0. Throttle the refresh\n // to prevent an infinite loop of updates.\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 1000);\n } else {\n refresh(false, ratio);\n }\n }\n if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n // It's possible that even though the ratio is reported as 1, the\n // element is not actually fully within the IntersectionObserver's root\n // area anymore. This can happen under performance constraints. This may\n // be a bug in the browser's IntersectionObserver implementation. To\n // work around this, we compare the element's bounding rect now with\n // what it was at the time we created the IntersectionObserver. If they\n // are not equal then the element moved, so we refresh.\n refresh();\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n resizeObserver.observe(floating);\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nconst detectOverflow = detectOverflow$1;\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = offset$1;\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size };\n","import { computePosition, arrow as arrow$2, offset as offset$1, shift as shift$1, limitShift as limitShift$1, flip as flip$1, size as size$1, autoPlacement as autoPlacement$1, hide as hide$1, inline as inline$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect, useEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const openRef = useLatestRef(open);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n // The floating element's position may be recomputed while it's closed\n // but still mounted (such as when transitioning out). To ensure\n // `isPositioned` will be `false` initially on the next open, avoid\n // setting it to `true` when `open === false` (must be specified).\n isPositioned: openRef.current !== false\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$2({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$2({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => ({\n ...offset$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => ({\n ...shift$1(options),\n options: [options, deps]\n});\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => ({\n ...limitShift$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => ({\n ...flip$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => ({\n ...size$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => ({\n ...autoPlacement$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => ({\n ...hide$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => ({\n ...inline$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => ({\n ...arrow$1(options),\n options: [options, deps]\n});\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n","import * as React from 'react';\nimport { useLayoutEffect, useEffect, useRef } from 'react';\nimport { stopEvent, getDocument, isMouseLikePointerType, contains, activeElement, isSafari, isTypeableCombobox, isVirtualClick, isVirtualPointerEvent, getTarget, getPlatform, isTypeableElement, isReactEvent, isRootElement, isEventTargetWithin, isMac, getUserAgent } from '@floating-ui/react/utils';\nimport { floor, evaluate, max, min, round } from '@floating-ui/utils';\nimport { jsx, jsxs, Fragment } from 'react/jsx-runtime';\nimport { getComputedStyle, isElement, getNodeName, isHTMLElement, getWindow, isLastTraversableNode, getParentNode, isWebKit } from '@floating-ui/utils/dom';\nimport { tabbable, isTabbable } from 'tabbable';\nimport * as ReactDOM from 'react-dom';\nimport { getOverflowAncestors, useFloating as useFloating$1, offset, detectOverflow } from '@floating-ui/react-dom';\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, getOverflowAncestors, hide, inline, limitShift, offset, platform, shift, size } from '@floating-ui/react-dom';\n\n/**\n * Merges an array of refs into a single memoized callback ref or `null`.\n * @see https://floating-ui.com/docs/react-utils#usemergerefs\n */\nfunction useMergeRefs(refs) {\n const cleanupRef = React.useRef(undefined);\n const refEffect = React.useCallback(instance => {\n const cleanups = refs.map(ref => {\n if (ref == null) {\n return;\n }\n if (typeof ref === 'function') {\n const refCallback = ref;\n const refCleanup = refCallback(instance);\n return typeof refCleanup === 'function' ? refCleanup : () => {\n refCallback(null);\n };\n }\n ref.current = instance;\n return () => {\n ref.current = null;\n };\n });\n return () => {\n cleanups.forEach(refCleanup => refCleanup == null ? void 0 : refCleanup());\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n return React.useMemo(() => {\n if (refs.every(ref => ref == null)) {\n return null;\n }\n return value => {\n if (cleanupRef.current) {\n cleanupRef.current();\n cleanupRef.current = undefined;\n }\n if (value != null) {\n cleanupRef.current = refEffect(value);\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n}\n\n// https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379\nconst SafeReact = {\n ...React\n};\n\nconst useInsertionEffect = SafeReact.useInsertionEffect;\nconst useSafeInsertionEffect = useInsertionEffect || (fn => fn());\nfunction useEffectEvent(callback) {\n const ref = React.useRef(() => {\n if (process.env.NODE_ENV !== \"production\") {\n throw new Error('Cannot call an event handler while rendering.');\n }\n });\n useSafeInsertionEffect(() => {\n ref.current = callback;\n });\n return React.useCallback(function () {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return ref.current == null ? void 0 : ref.current(...args);\n }, []);\n}\n\nconst ARROW_UP = 'ArrowUp';\nconst ARROW_DOWN = 'ArrowDown';\nconst ARROW_LEFT = 'ArrowLeft';\nconst ARROW_RIGHT = 'ArrowRight';\nfunction isDifferentRow(index, cols, prevRow) {\n return Math.floor(index / cols) !== prevRow;\n}\nfunction isIndexOutOfBounds(listRef, index) {\n return index < 0 || index >= listRef.current.length;\n}\nfunction getMinIndex(listRef, disabledIndices) {\n return findNonDisabledIndex(listRef, {\n disabledIndices\n });\n}\nfunction getMaxIndex(listRef, disabledIndices) {\n return findNonDisabledIndex(listRef, {\n decrement: true,\n startingIndex: listRef.current.length,\n disabledIndices\n });\n}\nfunction findNonDisabledIndex(listRef, _temp) {\n let {\n startingIndex = -1,\n decrement = false,\n disabledIndices,\n amount = 1\n } = _temp === void 0 ? {} : _temp;\n const list = listRef.current;\n let index = startingIndex;\n do {\n index += decrement ? -amount : amount;\n } while (index >= 0 && index <= list.length - 1 && isDisabled(list, index, disabledIndices));\n return index;\n}\nfunction getGridNavigatedIndex(elementsRef, _ref) {\n let {\n event,\n orientation,\n loop,\n rtl,\n cols,\n disabledIndices,\n minIndex,\n maxIndex,\n prevIndex,\n stopEvent: stop = false\n } = _ref;\n let nextIndex = prevIndex;\n if (event.key === ARROW_UP) {\n stop && stopEvent(event);\n if (prevIndex === -1) {\n nextIndex = maxIndex;\n } else {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: nextIndex,\n amount: cols,\n decrement: true,\n disabledIndices\n });\n if (loop && (prevIndex - cols < minIndex || nextIndex < 0)) {\n const col = prevIndex % cols;\n const maxCol = maxIndex % cols;\n const offset = maxIndex - (maxCol - col);\n if (maxCol === col) {\n nextIndex = maxIndex;\n } else {\n nextIndex = maxCol > col ? offset : offset - cols;\n }\n }\n }\n if (isIndexOutOfBounds(elementsRef, nextIndex)) {\n nextIndex = prevIndex;\n }\n }\n if (event.key === ARROW_DOWN) {\n stop && stopEvent(event);\n if (prevIndex === -1) {\n nextIndex = minIndex;\n } else {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex,\n amount: cols,\n disabledIndices\n });\n if (loop && prevIndex + cols > maxIndex) {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex % cols - cols,\n amount: cols,\n disabledIndices\n });\n }\n }\n if (isIndexOutOfBounds(elementsRef, nextIndex)) {\n nextIndex = prevIndex;\n }\n }\n\n // Remains on the same row/column.\n if (orientation === 'both') {\n const prevRow = floor(prevIndex / cols);\n if (event.key === (rtl ? ARROW_LEFT : ARROW_RIGHT)) {\n stop && stopEvent(event);\n if (prevIndex % cols !== cols - 1) {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex,\n disabledIndices\n });\n if (loop && isDifferentRow(nextIndex, cols, prevRow)) {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n }\n } else if (loop) {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n }\n if (isDifferentRow(nextIndex, cols, prevRow)) {\n nextIndex = prevIndex;\n }\n }\n if (event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT)) {\n stop && stopEvent(event);\n if (prevIndex % cols !== 0) {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex,\n decrement: true,\n disabledIndices\n });\n if (loop && isDifferentRow(nextIndex, cols, prevRow)) {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex + (cols - prevIndex % cols),\n decrement: true,\n disabledIndices\n });\n }\n } else if (loop) {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex + (cols - prevIndex % cols),\n decrement: true,\n disabledIndices\n });\n }\n if (isDifferentRow(nextIndex, cols, prevRow)) {\n nextIndex = prevIndex;\n }\n }\n const lastRow = floor(maxIndex / cols) === prevRow;\n if (isIndexOutOfBounds(elementsRef, nextIndex)) {\n if (loop && lastRow) {\n nextIndex = event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT) ? maxIndex : findNonDisabledIndex(elementsRef, {\n startingIndex: prevIndex - prevIndex % cols - 1,\n disabledIndices\n });\n } else {\n nextIndex = prevIndex;\n }\n }\n }\n return nextIndex;\n}\n\n/** For each cell index, gets the item index that occupies that cell */\nfunction buildCellMap(sizes, cols, dense) {\n const cellMap = [];\n let startIndex = 0;\n sizes.forEach((_ref2, index) => {\n let {\n width,\n height\n } = _ref2;\n if (width > cols) {\n if (process.env.NODE_ENV !== \"production\") {\n throw new Error(\"[Floating UI]: Invalid grid - item width at index \" + index + \" is greater than grid columns\");\n }\n }\n let itemPlaced = false;\n if (dense) {\n startIndex = 0;\n }\n while (!itemPlaced) {\n const targetCells = [];\n for (let i = 0; i < width; i++) {\n for (let j = 0; j < height; j++) {\n targetCells.push(startIndex + i + j * cols);\n }\n }\n if (startIndex % cols + width <= cols && targetCells.every(cell => cellMap[cell] == null)) {\n targetCells.forEach(cell => {\n cellMap[cell] = index;\n });\n itemPlaced = true;\n } else {\n startIndex++;\n }\n }\n });\n\n // convert into a non-sparse array\n return [...cellMap];\n}\n\n/** Gets cell index of an item's corner or -1 when index is -1. */\nfunction getCellIndexOfCorner(index, sizes, cellMap, cols, corner) {\n if (index === -1) return -1;\n const firstCellIndex = cellMap.indexOf(index);\n const sizeItem = sizes[index];\n switch (corner) {\n case 'tl':\n return firstCellIndex;\n case 'tr':\n if (!sizeItem) {\n return firstCellIndex;\n }\n return firstCellIndex + sizeItem.width - 1;\n case 'bl':\n if (!sizeItem) {\n return firstCellIndex;\n }\n return firstCellIndex + (sizeItem.height - 1) * cols;\n case 'br':\n return cellMap.lastIndexOf(index);\n }\n}\n\n/** Gets all cell indices that correspond to the specified indices */\nfunction getCellIndices(indices, cellMap) {\n return cellMap.flatMap((index, cellIndex) => indices.includes(index) ? [cellIndex] : []);\n}\nfunction isDisabled(list, index, disabledIndices) {\n if (disabledIndices) {\n return disabledIndices.includes(index);\n }\n const element = list[index];\n return element == null || element.hasAttribute('disabled') || element.getAttribute('aria-disabled') === 'true';\n}\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\nfunction sortByDocumentPosition(a, b) {\n const position = a.compareDocumentPosition(b);\n if (position & Node.DOCUMENT_POSITION_FOLLOWING || position & Node.DOCUMENT_POSITION_CONTAINED_BY) {\n return -1;\n }\n if (position & Node.DOCUMENT_POSITION_PRECEDING || position & Node.DOCUMENT_POSITION_CONTAINS) {\n return 1;\n }\n return 0;\n}\nconst FloatingListContext = /*#__PURE__*/React.createContext({\n register: () => {},\n unregister: () => {},\n map: /*#__PURE__*/new Map(),\n elementsRef: {\n current: []\n }\n});\n/**\n * Provides context for a list of items within the floating element.\n * @see https://floating-ui.com/docs/FloatingList\n */\nfunction FloatingList(props) {\n const {\n children,\n elementsRef,\n labelsRef\n } = props;\n const [nodes, setNodes] = React.useState(() => new Set());\n const register = React.useCallback(node => {\n setNodes(prevSet => new Set(prevSet).add(node));\n }, []);\n const unregister = React.useCallback(node => {\n setNodes(prevSet => {\n const set = new Set(prevSet);\n set.delete(node);\n return set;\n });\n }, []);\n const map = React.useMemo(() => {\n const newMap = new Map();\n const sortedNodes = Array.from(nodes.keys()).sort(sortByDocumentPosition);\n sortedNodes.forEach((node, index) => {\n newMap.set(node, index);\n });\n return newMap;\n }, [nodes]);\n return /*#__PURE__*/jsx(FloatingListContext.Provider, {\n value: React.useMemo(() => ({\n register,\n unregister,\n map,\n elementsRef,\n labelsRef\n }), [register, unregister, map, elementsRef, labelsRef]),\n children: children\n });\n}\n/**\n * Used to register a list item and its index (DOM position) in the\n * `FloatingList`.\n * @see https://floating-ui.com/docs/FloatingList#uselistitem\n */\nfunction useListItem(props) {\n if (props === void 0) {\n props = {};\n }\n const {\n label\n } = props;\n const {\n register,\n unregister,\n map,\n elementsRef,\n labelsRef\n } = React.useContext(FloatingListContext);\n const [index$1, setIndex] = React.useState(null);\n const componentRef = React.useRef(null);\n const ref = React.useCallback(node => {\n componentRef.current = node;\n if (index$1 !== null) {\n elementsRef.current[index$1] = node;\n if (labelsRef) {\n var _node$textContent;\n const isLabelDefined = label !== undefined;\n labelsRef.current[index$1] = isLabelDefined ? label : (_node$textContent = node == null ? void 0 : node.textContent) != null ? _node$textContent : null;\n }\n }\n }, [index$1, elementsRef, labelsRef, label]);\n index(() => {\n const node = componentRef.current;\n if (node) {\n register(node);\n return () => {\n unregister(node);\n };\n }\n }, [register, unregister]);\n index(() => {\n const index = componentRef.current ? map.get(componentRef.current) : null;\n if (index != null) {\n setIndex(index);\n }\n }, [map]);\n return React.useMemo(() => ({\n ref,\n index: index$1 == null ? -1 : index$1\n }), [index$1, ref]);\n}\n\nfunction renderJsx(render, computedProps) {\n if (typeof render === 'function') {\n return render(computedProps);\n }\n if (render) {\n return /*#__PURE__*/React.cloneElement(render, computedProps);\n }\n return /*#__PURE__*/jsx(\"div\", {\n ...computedProps\n });\n}\nconst CompositeContext = /*#__PURE__*/React.createContext({\n activeIndex: 0,\n onNavigate: () => {}\n});\nconst horizontalKeys = [ARROW_LEFT, ARROW_RIGHT];\nconst verticalKeys = [ARROW_UP, ARROW_DOWN];\nconst allKeys = [...horizontalKeys, ...verticalKeys];\n\n/**\n * Creates a single tab stop whose items are navigated by arrow keys, which\n * provides list navigation outside of floating element contexts.\n *\n * This is useful to enable navigation of a list of items that aren’t part of a\n * floating element. A menubar is an example of a composite, with each reference\n * element being an item.\n * @see https://floating-ui.com/docs/Composite\n */\nconst Composite = /*#__PURE__*/React.forwardRef(function Composite(props, forwardedRef) {\n const {\n render,\n orientation = 'both',\n loop = true,\n rtl = false,\n cols = 1,\n disabledIndices,\n activeIndex: externalActiveIndex,\n onNavigate: externalSetActiveIndex,\n itemSizes,\n dense = false,\n ...domProps\n } = props;\n const [internalActiveIndex, internalSetActiveIndex] = React.useState(0);\n const activeIndex = externalActiveIndex != null ? externalActiveIndex : internalActiveIndex;\n const onNavigate = useEffectEvent(externalSetActiveIndex != null ? externalSetActiveIndex : internalSetActiveIndex);\n const elementsRef = React.useRef([]);\n const renderElementProps = render && typeof render !== 'function' ? render.props : {};\n const contextValue = React.useMemo(() => ({\n activeIndex,\n onNavigate\n }), [activeIndex, onNavigate]);\n const isGrid = cols > 1;\n function handleKeyDown(event) {\n if (!allKeys.includes(event.key)) return;\n let nextIndex = activeIndex;\n const minIndex = getMinIndex(elementsRef, disabledIndices);\n const maxIndex = getMaxIndex(elementsRef, disabledIndices);\n const horizontalEndKey = rtl ? ARROW_LEFT : ARROW_RIGHT;\n const horizontalStartKey = rtl ? ARROW_RIGHT : ARROW_LEFT;\n if (isGrid) {\n const sizes = itemSizes || Array.from({\n length: elementsRef.current.length\n }, () => ({\n width: 1,\n height: 1\n }));\n // To calculate movements on the grid, we use hypothetical cell indices\n // as if every item was 1x1, then convert back to real indices.\n const cellMap = buildCellMap(sizes, cols, dense);\n const minGridIndex = cellMap.findIndex(index => index != null && !isDisabled(elementsRef.current, index, disabledIndices));\n // last enabled index\n const maxGridIndex = cellMap.reduce((foundIndex, index, cellIndex) => index != null && !isDisabled(elementsRef.current, index, disabledIndices) ? cellIndex : foundIndex, -1);\n const maybeNextIndex = cellMap[getGridNavigatedIndex({\n current: cellMap.map(itemIndex => itemIndex ? elementsRef.current[itemIndex] : null)\n }, {\n event,\n orientation,\n loop,\n rtl,\n cols,\n // treat undefined (empty grid spaces) as disabled indices so we\n // don't end up in them\n disabledIndices: getCellIndices([...(disabledIndices || elementsRef.current.map((_, index) => isDisabled(elementsRef.current, index) ? index : undefined)), undefined], cellMap),\n minIndex: minGridIndex,\n maxIndex: maxGridIndex,\n prevIndex: getCellIndexOfCorner(activeIndex > maxIndex ? minIndex : activeIndex, sizes, cellMap, cols,\n // use a corner matching the edge closest to the direction we're\n // moving in so we don't end up in the same item. Prefer\n // top/left over bottom/right.\n event.key === ARROW_DOWN ? 'bl' : event.key === horizontalEndKey ? 'tr' : 'tl')\n })];\n if (maybeNextIndex != null) {\n nextIndex = maybeNextIndex;\n }\n }\n const toEndKeys = {\n horizontal: [horizontalEndKey],\n vertical: [ARROW_DOWN],\n both: [horizontalEndKey, ARROW_DOWN]\n }[orientation];\n const toStartKeys = {\n horizontal: [horizontalStartKey],\n vertical: [ARROW_UP],\n both: [horizontalStartKey, ARROW_UP]\n }[orientation];\n const preventedKeys = isGrid ? allKeys : {\n horizontal: horizontalKeys,\n vertical: verticalKeys,\n both: allKeys\n }[orientation];\n if (nextIndex === activeIndex && [...toEndKeys, ...toStartKeys].includes(event.key)) {\n if (loop && nextIndex === maxIndex && toEndKeys.includes(event.key)) {\n nextIndex = minIndex;\n } else if (loop && nextIndex === minIndex && toStartKeys.includes(event.key)) {\n nextIndex = maxIndex;\n } else {\n nextIndex = findNonDisabledIndex(elementsRef, {\n startingIndex: nextIndex,\n decrement: toStartKeys.includes(event.key),\n disabledIndices\n });\n }\n }\n if (nextIndex !== activeIndex && !isIndexOutOfBounds(elementsRef, nextIndex)) {\n var _elementsRef$current$;\n event.stopPropagation();\n if (preventedKeys.includes(event.key)) {\n event.preventDefault();\n }\n onNavigate(nextIndex);\n (_elementsRef$current$ = elementsRef.current[nextIndex]) == null || _elementsRef$current$.focus();\n }\n }\n const computedProps = {\n ...domProps,\n ...renderElementProps,\n ref: forwardedRef,\n 'aria-orientation': orientation === 'both' ? undefined : orientation,\n onKeyDown(e) {\n domProps.onKeyDown == null || domProps.onKeyDown(e);\n renderElementProps.onKeyDown == null || renderElementProps.onKeyDown(e);\n handleKeyDown(e);\n }\n };\n return /*#__PURE__*/jsx(CompositeContext.Provider, {\n value: contextValue,\n children: /*#__PURE__*/jsx(FloatingList, {\n elementsRef: elementsRef,\n children: renderJsx(render, computedProps)\n })\n });\n});\n/**\n * @see https://floating-ui.com/docs/Composite\n */\nconst CompositeItem = /*#__PURE__*/React.forwardRef(function CompositeItem(props, forwardedRef) {\n const {\n render,\n ...domProps\n } = props;\n const renderElementProps = render && typeof render !== 'function' ? render.props : {};\n const {\n activeIndex,\n onNavigate\n } = React.useContext(CompositeContext);\n const {\n ref,\n index\n } = useListItem();\n const mergedRef = useMergeRefs([ref, forwardedRef, renderElementProps.ref]);\n const isActive = activeIndex === index;\n const computedProps = {\n ...domProps,\n ...renderElementProps,\n ref: mergedRef,\n tabIndex: isActive ? 0 : -1,\n 'data-active': isActive ? '' : undefined,\n onFocus(e) {\n domProps.onFocus == null || domProps.onFocus(e);\n renderElementProps.onFocus == null || renderElementProps.onFocus(e);\n onNavigate(index);\n }\n };\n return renderJsx(render, computedProps);\n});\n\nlet serverHandoffComplete = false;\nlet count = 0;\nconst genId = () => // Ensure the id is unique with multiple independent versions of Floating UI\n// on <React 18\n\"floating-ui-\" + Math.random().toString(36).slice(2, 6) + count++;\nfunction useFloatingId() {\n const [id, setId] = React.useState(() => serverHandoffComplete ? genId() : undefined);\n index(() => {\n if (id == null) {\n setId(genId());\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n React.useEffect(() => {\n serverHandoffComplete = true;\n }, []);\n return id;\n}\nconst useReactId = SafeReact.useId;\n\n/**\n * Uses React 18's built-in `useId()` when available, or falls back to a\n * slightly less performant (requiring a double render) implementation for\n * earlier React versions.\n * @see https://floating-ui.com/docs/react-utils#useid\n */\nconst useId = useReactId || useFloatingId;\n\nlet devMessageSet;\nif (process.env.NODE_ENV !== \"production\") {\n devMessageSet = /*#__PURE__*/new Set();\n}\nfunction warn() {\n var _devMessageSet;\n for (var _len = arguments.length, messages = new Array(_len), _key = 0; _key < _len; _key++) {\n messages[_key] = arguments[_key];\n }\n const message = \"Floating UI: \" + messages.join(' ');\n if (!((_devMessageSet = devMessageSet) != null && _devMessageSet.has(message))) {\n var _devMessageSet2;\n (_devMessageSet2 = devMessageSet) == null || _devMessageSet2.add(message);\n console.warn(message);\n }\n}\nfunction error() {\n var _devMessageSet3;\n for (var _len2 = arguments.length, messages = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n messages[_key2] = arguments[_key2];\n }\n const message = \"Floating UI: \" + messages.join(' ');\n if (!((_devMessageSet3 = devMessageSet) != null && _devMessageSet3.has(message))) {\n var _devMessageSet4;\n (_devMessageSet4 = devMessageSet) == null || _devMessageSet4.add(message);\n console.error(message);\n }\n}\n\n/**\n * Renders a pointing arrow triangle.\n * @see https://floating-ui.com/docs/FloatingArrow\n */\nconst FloatingArrow = /*#__PURE__*/React.forwardRef(function FloatingArrow(props, ref) {\n const {\n context: {\n placement,\n elements: {\n floating\n },\n middlewareData: {\n arrow,\n shift\n }\n },\n width = 14,\n height = 7,\n tipRadius = 0,\n strokeWidth = 0,\n staticOffset,\n stroke,\n d,\n style: {\n transform,\n ...restStyle\n } = {},\n ...rest\n } = props;\n if (process.env.NODE_ENV !== \"production\") {\n if (!ref) {\n warn('The `ref` prop is required for `FloatingArrow`.');\n }\n }\n const clipPathId = useId();\n const [isRTL, setIsRTL] = React.useState(false);\n\n // https://github.com/floating-ui/floating-ui/issues/2932\n index(() => {\n if (!floating) return;\n const isRTL = getComputedStyle(floating).direction === 'rtl';\n if (isRTL) {\n setIsRTL(true);\n }\n }, [floating]);\n if (!floating) {\n return null;\n }\n const [side, alignment] = placement.split('-');\n const isVerticalSide = side === 'top' || side === 'bottom';\n let computedStaticOffset = staticOffset;\n if (isVerticalSide && shift != null && shift.x || !isVerticalSide && shift != null && shift.y) {\n computedStaticOffset = null;\n }\n\n // Strokes must be double the border width, this ensures the stroke's width\n // works as you'd expect.\n const computedStrokeWidth = strokeWidth * 2;\n const halfStrokeWidth = computedStrokeWidth / 2;\n const svgX = width / 2 * (tipRadius / -8 + 1);\n const svgY = height / 2 * tipRadius / 4;\n const isCustomShape = !!d;\n const yOffsetProp = computedStaticOffset && alignment === 'end' ? 'bottom' : 'top';\n let xOffsetProp = computedStaticOffset && alignment === 'end' ? 'right' : 'left';\n if (computedStaticOffset && isRTL) {\n xOffsetProp = alignment === 'end' ? 'left' : 'right';\n }\n const arrowX = (arrow == null ? void 0 : arrow.x) != null ? computedStaticOffset || arrow.x : '';\n const arrowY = (arrow == null ? void 0 : arrow.y) != null ? computedStaticOffset || arrow.y : '';\n const dValue = d || 'M0,0' + (\" H\" + width) + (\" L\" + (width - svgX) + \",\" + (height - svgY)) + (\" Q\" + width / 2 + \",\" + height + \" \" + svgX + \",\" + (height - svgY)) + ' Z';\n const rotation = {\n top: isCustomShape ? 'rotate(180deg)' : '',\n left: isCustomShape ? 'rotate(90deg)' : 'rotate(-90deg)',\n bottom: isCustomShape ? '' : 'rotate(180deg)',\n right: isCustomShape ? 'rotate(-90deg)' : 'rotate(90deg)'\n }[side];\n return /*#__PURE__*/jsxs(\"svg\", {\n ...rest,\n \"aria-hidden\": true,\n ref: ref,\n width: isCustomShape ? width : width + computedStrokeWidth,\n height: width,\n viewBox: \"0 0 \" + width + \" \" + (height > width ? height : width),\n style: {\n position: 'absolute',\n pointerEvents: 'none',\n [xOffsetProp]: arrowX,\n [yOffsetProp]: arrowY,\n [side]: isVerticalSide || isCustomShape ? '100%' : \"calc(100% - \" + computedStrokeWidth / 2 + \"px)\",\n transform: [rotation, transform].filter(t => !!t).join(' '),\n ...restStyle\n },\n children: [computedStrokeWidth > 0 && /*#__PURE__*/jsx(\"path\", {\n clipPath: \"url(#\" + clipPathId + \")\",\n fill: \"none\",\n stroke: stroke\n // Account for the stroke on the fill path rendered below.\n ,\n strokeWidth: computedStrokeWidth + (d ? 0 : 1),\n d: dValue\n }), /*#__PURE__*/jsx(\"path\", {\n stroke: computedStrokeWidth && !d ? rest.fill : 'none',\n d: dValue\n }), /*#__PURE__*/jsx(\"clipPath\", {\n id: clipPathId,\n children: /*#__PURE__*/jsx(\"rect\", {\n x: -halfStrokeWidth,\n y: halfStrokeWidth * (isCustomShape ? -1 : 1),\n width: width + computedStrokeWidth,\n height: width\n })\n })]\n });\n});\n\nfunction createPubSub() {\n const map = new Map();\n return {\n emit(event, data) {\n var _map$get;\n (_map$get = map.get(event)) == null || _map$get.forEach(handler => handler(data));\n },\n on(event, listener) {\n map.set(event, [...(map.get(event) || []), listener]);\n },\n off(event, listener) {\n var _map$get2;\n map.set(event, ((_map$get2 = map.get(event)) == null ? void 0 : _map$get2.filter(l => l !== listener)) || []);\n }\n };\n}\n\nconst FloatingNodeContext = /*#__PURE__*/React.createContext(null);\nconst FloatingTreeContext = /*#__PURE__*/React.createContext(null);\n\n/**\n * Returns the parent node id for nested floating elements, if available.\n * Returns `null` for top-level floating elements.\n */\nconst useFloatingParentNodeId = () => {\n var _React$useContext;\n return ((_React$useContext = React.useContext(FloatingNodeContext)) == null ? void 0 : _React$useContext.id) || null;\n};\n\n/**\n * Returns the nearest floating tree context, if available.\n */\nconst useFloatingTree = () => React.useContext(FloatingTreeContext);\n\n/**\n * Registers a node into the `FloatingTree`, returning its id.\n * @see https://floating-ui.com/docs/FloatingTree\n */\nfunction useFloatingNodeId(customParentId) {\n const id = useId();\n const tree = useFloatingTree();\n const reactParentId = useFloatingParentNodeId();\n const parentId = customParentId || reactParentId;\n index(() => {\n if (!id) return;\n const node = {\n id,\n parentId\n };\n tree == null || tree.addNode(node);\n return () => {\n tree == null || tree.removeNode(node);\n };\n }, [tree, id, parentId]);\n return id;\n}\n/**\n * Provides parent node context for nested floating elements.\n * @see https://floating-ui.com/docs/FloatingTree\n */\nfunction FloatingNode(props) {\n const {\n children,\n id\n } = props;\n const parentId = useFloatingParentNodeId();\n return /*#__PURE__*/jsx(FloatingNodeContext.Provider, {\n value: React.useMemo(() => ({\n id,\n parentId\n }), [id, parentId]),\n children: children\n });\n}\n/**\n * Provides context for nested floating elements when they are not children of\n * each other on the DOM.\n * This is not necessary in all cases, except when there must be explicit communication between parent and child floating elements. It is necessary for:\n * - The `bubbles` option in the `useDismiss()` Hook\n * - Nested virtual list navigation\n * - Nested floating elements that each open on hover\n * - Custom communication between parent and child floating elements\n * @see https://floating-ui.com/docs/FloatingTree\n */\nfunction FloatingTree(props) {\n const {\n children\n } = props;\n const nodesRef = React.useRef([]);\n const addNode = React.useCallback(node => {\n nodesRef.current = [...nodesRef.current, node];\n }, []);\n const removeNode = React.useCallback(node => {\n nodesRef.current = nodesRef.current.filter(n => n !== node);\n }, []);\n const events = React.useState(() => createPubSub())[0];\n return /*#__PURE__*/jsx(FloatingTreeContext.Provider, {\n value: React.useMemo(() => ({\n nodesRef,\n addNode,\n removeNode,\n events\n }), [addNode, removeNode, events]),\n children: children\n });\n}\n\nfunction createAttribute(name) {\n return \"data-floating-ui-\" + name;\n}\n\nfunction clearTimeoutIfSet(timeoutRef) {\n if (timeoutRef.current !== -1) {\n clearTimeout(timeoutRef.current);\n timeoutRef.current = -1;\n }\n}\n\nfunction useLatestRef(value) {\n const ref = useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\nconst safePolygonIdentifier = /*#__PURE__*/createAttribute('safe-polygon');\nfunction getDelay(value, prop, pointerType) {\n if (pointerType && !isMouseLikePointerType(pointerType)) {\n return 0;\n }\n if (typeof value === 'number') {\n return value;\n }\n return value == null ? void 0 : value[prop];\n}\n/**\n * Opens the floating element while hovering over the reference element, like\n * CSS `:hover`.\n * @see https://floating-ui.com/docs/useHover\n */\nfunction useHover(context, props) {\n if (props === void 0) {\n props = {};\n }\n const {\n open,\n onOpenChange,\n dataRef,\n events,\n elements\n } = context;\n const {\n enabled = true,\n delay = 0,\n handleClose = null,\n mouseOnly = false,\n restMs = 0,\n move = true\n } = props;\n const tree = useFloatingTree();\n const parentId = useFloatingParentNodeId();\n const handleCloseRef = useLatestRef(handleClose);\n const delayRef = useLatestRef(delay);\n const openRef = useLatestRef(open);\n const pointerTypeRef = React.useRef();\n const timeoutRef = React.useRef(-1);\n const handlerRef = React.useRef();\n const restTimeoutRef = React.useRef(-1);\n const blockMouseMoveRef = React.useRef(true);\n const performedPointerEventsMutationRef = React.useRef(false);\n const unbindMouseMoveRef = React.useRef(() => {});\n const restTimeoutPendingRef = React.useRef(false);\n const isHoverOpen = React.useCallback(() => {\n var _dataRef$current$open;\n const type = (_dataRef$current$open = dataRef.current.openEvent) == null ? void 0 : _dataRef$current$open.type;\n return (type == null ? void 0 : type.includes('mouse')) && type !== 'mousedown';\n }, [dataRef]);\n\n // When closing before opening, clear the delay timeouts to cancel it\n // from showing.\n React.useEffect(() => {\n if (!enabled) return;\n function onOpenChange(_ref) {\n let {\n open\n } = _ref;\n if (!open) {\n clearTimeoutIfSet(timeoutRef);\n clearTimeoutIfSet(restTimeoutRef);\n blockMouseMoveRef.current = true;\n restTimeoutPendingRef.current = false;\n }\n }\n events.on('openchange', onOpenChange);\n return () => {\n events.off('openchange', onOpenChange);\n };\n }, [enabled, events]);\n React.useEffect(() => {\n if (!enabled) return;\n if (!handleCloseRef.current) return;\n if (!open) return;\n function onLeave(event) {\n if (isHoverOpen()) {\n onOpenChange(false, event, 'hover');\n }\n }\n const html = getDocument(elements.floating).documentElement;\n html.addEventListener('mouseleave', onLeave);\n return () => {\n html.removeEventListener('mouseleave', onLeave);\n };\n }, [elements.floating, open, onOpenChange, enabled, handleCloseRef, isHoverOpen]);\n const closeWithDelay = React.useCallback(function (event, runElseBranch, reason) {\n if (runElseBranch === void 0) {\n runElseBranch = true;\n }\n if (reason === void 0) {\n reason = 'hover';\n }\n const closeDelay = getDelay(delayRef.current, 'close', pointerTypeRef.current);\n if (closeDelay && !handlerRef.current) {\n clearTimeoutIfSet(timeoutRef);\n timeoutRef.current = window.setTimeout(() => onOpenChange(false, event, reason), closeDelay);\n } else if (runElseBranch) {\n clearTimeoutIfSet(timeoutRef);\n onOpenChange(false, event, reason);\n }\n }, [delayRef, onOpenChange]);\n const cleanupMouseMoveHandler = useEffectEvent(() => {\n unbindMouseMoveRef.current();\n handlerRef.current = undefined;\n });\n const clearPointerEvents = useEffectEvent(() => {\n if (performedPointerEventsMutationRef.current) {\n const body = getDocument(elements.floating).body;\n body.style.pointerEvents = '';\n body.removeAttribute(safePolygonIdentifier);\n performedPointerEventsMutationRef.current = false;\n }\n });\n const isClickLikeOpenEvent = useEffectEvent(() => {\n return dataRef.current.openEvent ? ['click', 'mousedown'].includes(dataRef.current.openEvent.type) : false;\n });\n\n // Registering the mouse events on the reference directly to bypass React's\n // delegation system. If the cursor was on a disabled element and then entered\n // the reference (no gap), `mouseenter` doesn't fire in the delegation system.\n React.useEffect(() => {\n if (!enabled) return;\n function onMouseEnter(event) {\n clearTimeoutIfSet(timeoutRef);\n blockMouseMoveRef.current = false;\n if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current) || restMs > 0 && !getDelay(delayRef.current, 'open')) {\n return;\n }\n const openDelay = getDelay(delayRef.current, 'open', pointerTypeRef.current);\n if (openDelay) {\n timeoutRef.current = window.setTimeout(() => {\n if (!openRef.current) {\n onOpenChange(true, event, 'hover');\n }\n }, openDelay);\n } else if (!open) {\n onOpenChange(true, event, 'hover');\n }\n }\n function onMouseLeave(event) {\n if (isClickLikeOpenEvent()) return;\n unbindMouseMoveRef.current();\n const doc = getDocument(elements.floating);\n clearTimeoutIfSet(restTimeoutRef);\n restTimeoutPendingRef.current = false;\n if (handleCloseRef.current && dataRef.current.floatingContext) {\n // Prevent clearing `onScrollMouseLeave` timeout.\n if (!open) {\n clearTimeoutIfSet(timeoutRef);\n }\n handlerRef.current = handleCloseRef.current({\n ...dataRef.current.floatingContext,\n tree,\n x: event.clientX,\n y: event.clientY,\n onClose() {\n clearPointerEvents();\n cleanupMouseMoveHandler();\n if (!isClickLikeOpenEvent()) {\n closeWithDelay(event, true, 'safe-polygon');\n }\n }\n });\n const handler = handlerRef.current;\n doc.addEventListener('mousemove', handler);\n unbindMouseMoveRef.current = () => {\n doc.removeEventListener('mousemove', handler);\n };\n return;\n }\n\n // Allow interactivity without `safePolygon` on touch devices. With a\n // pointer, a short close delay is an alternative, so it should work\n // consistently.\n const shouldClose = pointerTypeRef.current === 'touch' ? !contains(elements.floating, event.relatedTarget) : true;\n if (shouldClose) {\n closeWithDelay(event);\n }\n }\n\n // Ensure the floating element closes after scrolling even if the pointer\n // did not move.\n // https://github.com/floating-ui/floating-ui/discussions/1692\n function onScrollMouseLeave(event) {\n if (isClickLikeOpenEvent()) return;\n if (!dataRef.current.floatingContext) return;\n handleCloseRef.current == null || handleCloseRef.current({\n ...dataRef.current.floatingContext,\n tree,\n x: event.clientX,\n y: event.clientY,\n onClose() {\n clearPointerEvents();\n cleanupMouseMoveHandler();\n if (!isClickLikeOpenEvent()) {\n closeWithDelay(event);\n }\n }\n })(event);\n }\n if (isElement(elements.domReference)) {\n var _elements$floating;\n const ref = elements.domReference;\n open && ref.addEventListener('mouseleave', onScrollMouseLeave);\n (_elements$floating = elements.floating) == null || _elements$floating.addEventListener('mouseleave', onScrollMouseLeave);\n move && ref.addEventListener('mousemove', onMouseEnter, {\n once: true\n });\n ref.addEventListener('mouseenter', onMouseEnter);\n ref.addEventListener('mouseleave', onMouseLeave);\n return () => {\n var _elements$floating2;\n open && ref.removeEventListener('mouseleave', onScrollMouseLeave);\n (_elements$floating2 = elements.floating) == null || _elements$floating2.removeEventListener('mouseleave', onScrollMouseLeave);\n move && ref.removeEventListener('mousemove', onMouseEnter);\n ref.removeEventListener('mouseenter', onMouseEnter);\n ref.removeEventListener('mouseleave', onMouseLeave);\n };\n }\n }, [elements, enabled, context, mouseOnly, restMs, move, closeWithDelay, cleanupMouseMoveHandler, clearPointerEvents, onOpenChange, open, openRef, tree, delayRef, handleCloseRef, dataRef, isClickLikeOpenEvent]);\n\n // Block pointer-events of every element other than the reference and floating\n // while the floating element is open and has a `handleClose` handler. Also\n // handles nested floating elements.\n // https://github.com/floating-ui/floating-ui/issues/1722\n index(() => {\n var _handleCloseRef$curre;\n if (!enabled) return;\n if (open && (_handleCloseRef$curre = handleCloseRef.current) != null && _handleCloseRef$curre.__options.blockPointerEvents && isHoverOpen()) {\n performedPointerEventsMutationRef.current = true;\n const floatingEl = elements.floating;\n if (isElement(elements.domReference) && floatingEl) {\n var _tree$nodesRef$curren;\n const body = getDocument(elements.floating).body;\n body.setAttribute(safePolygonIdentifier, '');\n const ref = elements.domReference;\n const parentFloating = tree == null || (_tree$nodesRef$curren = tree.nodesRef.current.find(node => node.id === parentId)) == null || (_tree$nodesRef$curren = _tree$nodesRef$curren.context) == null ? void 0 : _tree$nodesRef$curren.elements.floating;\n if (parentFloating) {\n parentFloating.style.pointerEvents = '';\n }\n body.style.pointerEvents = 'none';\n ref.style.pointerEvents = 'auto';\n floatingEl.style.pointerEvents = 'auto';\n return () => {\n body.style.pointerEvents = '';\n ref.style.pointerEvents = '';\n floatingEl.style.pointerEvents = '';\n };\n }\n }\n }, [enabled, open, parentId, elements, tree, handleCloseRef, isHoverOpen]);\n index(() => {\n if (!open) {\n pointerTypeRef.current = undefined;\n restTimeoutPendingRef.current = false;\n cleanupMouseMoveHandler();\n clearPointerEvents();\n }\n }, [open, cleanupMouseMoveHandler, clearPointerEvents]);\n React.useEffect(() => {\n return () => {\n cleanupMouseMoveHandler();\n clearTimeoutIfSet(timeoutRef);\n clearTimeoutIfSet(restTimeoutRef);\n clearPointerEvents();\n };\n }, [enabled, elements.domReference, cleanupMouseMoveHandler, clearPointerEvents]);\n const reference = React.useMemo(() => {\n function setPointerRef(event) {\n pointerTypeRef.current = event.pointerType;\n }\n return {\n onPointerDown: setPointerRef,\n onPointerEnter: setPointerRef,\n onMouseMove(event) {\n const {\n nativeEvent\n } = event;\n function handleMouseMove() {\n if (!blockMouseMoveRef.current && !openRef.current) {\n onOpenChange(true, nativeEvent, 'hover');\n }\n }\n if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current)) {\n return;\n }\n if (open || restMs === 0) {\n return;\n }\n\n // Ignore insignificant movements to account for tremors.\n if (restTimeoutPendingRef.current && event.movementX ** 2 + event.movementY ** 2 < 2) {\n return;\n }\n clearTimeoutIfSet(restTimeoutRef);\n if (pointerTypeRef.current === 'touch') {\n handleMouseMove();\n } else {\n restTimeoutPendingRef.current = true;\n restTimeoutRef.current = window.setTimeout(handleMouseMove, restMs);\n }\n }\n };\n }, [mouseOnly, onOpenChange, open, openRef, restMs]);\n const floating = React.useMemo(() => ({\n onMouseEnter() {\n clearTimeoutIfSet(timeoutRef);\n },\n onMouseLeave(event) {\n if (!isClickLikeOpenEvent()) {\n closeWithDelay(event.nativeEvent, false);\n }\n }\n }), [closeWithDelay, isClickLikeOpenEvent]);\n return React.useMemo(() => enabled ? {\n reference,\n floating\n } : {}, [enabled, reference, floating]);\n}\n\nconst NOOP = () => {};\nconst FloatingDelayGroupContext = /*#__PURE__*/React.createContext({\n delay: 0,\n initialDelay: 0,\n timeoutMs: 0,\n currentId: null,\n setCurrentId: NOOP,\n setState: NOOP,\n isInstantPhase: false\n});\n\n/**\n * @deprecated\n * Use the return value of `useDelayGroup()` instead.\n */\nconst useDelayGroupContext = () => React.useContext(FloatingDelayGroupContext);\n/**\n * Provides context for a group of floating elements that should share a\n * `delay`.\n * @see https://floating-ui.com/docs/FloatingDelayGroup\n */\nfunction FloatingDelayGroup(props) {\n const {\n children,\n delay,\n timeoutMs = 0\n } = props;\n const [state, setState] = React.useReducer((prev, next) => ({\n ...prev,\n ...next\n }), {\n delay,\n timeoutMs,\n initialDelay: delay,\n currentId: null,\n isInstantPhase: false\n });\n const initialCurrentIdRef = React.useRef(null);\n const setCurrentId = React.useCallback(currentId => {\n setState({\n currentId\n });\n }, []);\n index(() => {\n if (state.currentId) {\n if (initialCurrentIdRef.current === null) {\n initialCurrentIdRef.current = state.currentId;\n } else if (!state.isInstantPhase) {\n setState({\n isInstantPhase: true\n });\n }\n } else {\n if (state.isInstantPhase) {\n setState({\n isInstantPhase: false\n });\n }\n initialCurrentIdRef.current = null;\n }\n }, [state.currentId, state.isInstantPhase]);\n return /*#__PURE__*/jsx(FloatingDelayGroupContext.Provider, {\n value: React.useMemo(() => ({\n ...state,\n setState,\n setCurrentId\n }), [state, setCurrentId]),\n children: children\n });\n}\n/**\n * Enables grouping when called inside a component that's a child of a\n * `FloatingDelayGroup`.\n * @see https://floating-ui.com/docs/FloatingDelayGroup\n */\nfunction useDelayGroup(context, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n open,\n onOpenChange,\n floatingId\n } = context;\n const {\n id: optionId,\n enabled = true\n } = options;\n const id = optionId != null ? optionId : floatingId;\n const groupContext = useDelayGroupContext();\n const {\n currentId,\n setCurrentId,\n initialDelay,\n setState,\n timeoutMs\n } = groupContext;\n index(() => {\n if (!enabled) return;\n if (!currentId) return;\n setState({\n delay: {\n open: 1,\n close: getDelay(initialDelay, 'close')\n }\n });\n if (currentId !== id) {\n onOpenChange(false);\n }\n }, [enabled, id, onOpenChange, setState, currentId, initialDelay]);\n index(() => {\n function unset() {\n onOpenChange(false);\n setState({\n delay: initialDelay,\n currentId: null\n });\n }\n if (!enabled) return;\n if (!currentId) return;\n if (!open && currentId === id) {\n if (timeoutMs) {\n const timeout = window.setTimeout(unset, timeoutMs);\n return () => {\n clearTimeout(timeout);\n };\n }\n unset();\n }\n }, [enabled, open, setState, currentId, id, onOpenChange, initialDelay, timeoutMs]);\n index(() => {\n if (!enabled) return;\n if (setCurrentId === NOOP || !open) return;\n setCurrentId(id);\n }, [enabled, open, setCurrentId, id]);\n return groupContext;\n}\n\nlet rafId = 0;\nfunction enqueueFocus(el, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n preventScroll = false,\n cancelPrevious = true,\n sync = false\n } = options;\n cancelPrevious && cancelAnimationFrame(rafId);\n const exec = () => el == null ? void 0 : el.focus({\n preventScroll\n });\n if (sync) {\n exec();\n } else {\n rafId = requestAnimationFrame(exec);\n }\n}\n\nfunction getAncestors(nodes, id) {\n var _nodes$find;\n let allAncestors = [];\n let currentParentId = (_nodes$find = nodes.find(node => node.id === id)) == null ? void 0 : _nodes$find.parentId;\n while (currentParentId) {\n const currentNode = nodes.find(node => node.id === currentParentId);\n currentParentId = currentNode == null ? void 0 : currentNode.parentId;\n if (currentNode) {\n allAncestors = allAncestors.concat(currentNode);\n }\n }\n return allAncestors;\n}\n\nfunction getChildren(nodes, id) {\n let allChildren = nodes.filter(node => {\n var _node$context;\n return node.parentId === id && ((_node$context = node.context) == null ? void 0 : _node$context.open);\n });\n let currentChildren = allChildren;\n while (currentChildren.length) {\n currentChildren = nodes.filter(node => {\n var _currentChildren;\n return (_currentChildren = currentChildren) == null ? void 0 : _currentChildren.some(n => {\n var _node$context2;\n return node.parentId === n.id && ((_node$context2 = node.context) == null ? void 0 : _node$context2.open);\n });\n });\n allChildren = allChildren.concat(currentChildren);\n }\n return allChildren;\n}\nfunction getDeepestNode(nodes, id) {\n let deepestNodeId;\n let maxDepth = -1;\n function findDeepest(nodeId, depth) {\n if (depth > maxDepth) {\n deepestNodeId = nodeId;\n maxDepth = depth;\n }\n const children = getChildren(nodes, nodeId);\n children.forEach(child => {\n findDeepest(child.id, depth + 1);\n });\n }\n findDeepest(id, 0);\n return nodes.find(node => node.id === deepestNodeId);\n}\n\n// Modified to add conditional `aria-hidden` support:\n// https://github.com/theKashey/aria-hidden/blob/9220c8f4a4fd35f63bee5510a9f41a37264382d4/src/index.ts\nlet counterMap = /*#__PURE__*/new WeakMap();\nlet uncontrolledElementsSet = /*#__PURE__*/new WeakSet();\nlet markerMap = {};\nlet lockCount$1 = 0;\nconst supportsInert = () => typeof HTMLElement !== 'undefined' && 'inert' in HTMLElement.prototype;\nconst unwrapHost = node => node && (node.host || unwrapHost(node.parentNode));\nconst correctElements = (parent, targets) => targets.map(target => {\n if (parent.contains(target)) {\n return target;\n }\n const correctedTarget = unwrapHost(target);\n if (parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n return null;\n}).filter(x => x != null);\nfunction applyAttributeToOthers(uncorrectedAvoidElements, body, ariaHidden, inert) {\n const markerName = 'data-floating-ui-inert';\n const controlAttribute = inert ? 'inert' : ariaHidden ? 'aria-hidden' : null;\n const avoidElements = correctElements(body, uncorrectedAvoidElements);\n const elementsToKeep = new Set();\n const elementsToStop = new Set(avoidElements);\n const hiddenElements = [];\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n const markerCounter = markerMap[markerName];\n avoidElements.forEach(keep);\n deep(body);\n elementsToKeep.clear();\n function keep(el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n el.parentNode && keep(el.parentNode);\n }\n function deep(parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n [].forEach.call(parent.children, node => {\n if (getNodeName(node) === 'script') return;\n if (elementsToKeep.has(node)) {\n deep(node);\n } else {\n const attr = controlAttribute ? node.getAttribute(controlAttribute) : null;\n const alreadyHidden = attr !== null && attr !== 'false';\n const currentCounterValue = counterMap.get(node) || 0;\n const counterValue = controlAttribute ? currentCounterValue + 1 : currentCounterValue;\n const markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenElements.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledElementsSet.add(node);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, '');\n }\n if (!alreadyHidden && controlAttribute) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n });\n }\n lockCount$1++;\n return () => {\n hiddenElements.forEach(element => {\n const currentCounterValue = counterMap.get(element) || 0;\n const counterValue = controlAttribute ? currentCounterValue - 1 : currentCounterValue;\n const markerValue = (markerCounter.get(element) || 0) - 1;\n counterMap.set(element, counterValue);\n markerCounter.set(element, markerValue);\n if (!counterValue) {\n if (!uncontrolledElementsSet.has(element) && controlAttribute) {\n element.removeAttribute(controlAttribute);\n }\n uncontrolledElementsSet.delete(element);\n }\n if (!markerValue) {\n element.removeAttribute(markerName);\n }\n });\n lockCount$1--;\n if (!lockCount$1) {\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledElementsSet = new WeakSet();\n markerMap = {};\n }\n };\n}\nfunction markOthers(avoidElements, ariaHidden, inert) {\n if (ariaHidden === void 0) {\n ariaHidden = false;\n }\n if (inert === void 0) {\n inert = false;\n }\n const body = getDocument(avoidElements[0]).body;\n return applyAttributeToOthers(avoidElements.concat(Array.from(body.querySelectorAll('[aria-live]'))), body, ariaHidden, inert);\n}\n\nconst getTabbableOptions = () => ({\n getShadowRoot: true,\n displayCheck:\n // JSDOM does not support the `tabbable` library. To solve this we can\n // check if `ResizeObserver` is a real function (not polyfilled), which\n // determines if the current environment is JSDOM-like.\n typeof ResizeObserver === 'function' && ResizeObserver.toString().includes('[native code]') ? 'full' : 'none'\n});\nfunction getTabbableIn(container, direction) {\n const allTabbable = tabbable(container, getTabbableOptions());\n if (direction === 'prev') {\n allTabbable.reverse();\n }\n const activeIndex = allTabbable.indexOf(activeElement(getDocument(container)));\n const nextTabbableElements = allTabbable.slice(activeIndex + 1);\n return nextTabbableElements[0];\n}\nfunction getNextTabbable() {\n return getTabbableIn(document.body, 'next');\n}\nfunction getPreviousTabbable() {\n return getTabbableIn(document.body, 'prev');\n}\nfunction isOutsideEvent(event, container) {\n const containerElement = container || event.currentTarget;\n const relatedTarget = event.relatedTarget;\n return !relatedTarget || !contains(containerElement, relatedTarget);\n}\nfunction disableFocusInside(container) {\n const tabbableElements = tabbable(container, getTabbableOptions());\n tabbableElements.forEach(element => {\n element.dataset.tabindex = element.getAttribute('tabindex') || '';\n element.setAttribute('tabindex', '-1');\n });\n}\nfunction enableFocusInside(container) {\n const elements = container.querySelectorAll('[data-tabindex]');\n elements.forEach(element => {\n const tabindex = element.dataset.tabindex;\n delete element.dataset.tabindex;\n if (tabindex) {\n element.setAttribute('tabindex', tabindex);\n } else {\n element.removeAttribute('tabindex');\n }\n });\n}\n\nconst HIDDEN_STYLES = {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n position: 'fixed',\n whiteSpace: 'nowrap',\n width: '1px',\n top: 0,\n left: 0\n};\nconst FocusGuard = /*#__PURE__*/React.forwardRef(function FocusGuard(props, ref) {\n const [role, setRole] = React.useState();\n index(() => {\n if (isSafari()) {\n // Unlike other screen readers such as NVDA and JAWS, the virtual cursor\n // on VoiceOver does trigger the onFocus event, so we can use the focus\n // trap element. On Safari, only buttons trigger the onFocus event.\n // NB: \"group\" role in the Sandbox no longer appears to work, must be a\n // button role.\n setRole('button');\n }\n }, []);\n const restProps = {\n ref,\n tabIndex: 0,\n // Role is only for VoiceOver\n role,\n 'aria-hidden': role ? undefined : true,\n [createAttribute('focus-guard')]: '',\n style: HIDDEN_STYLES\n };\n return /*#__PURE__*/jsx(\"span\", {\n ...props,\n ...restProps\n });\n});\n\nconst PortalContext = /*#__PURE__*/React.createContext(null);\nconst attr = /*#__PURE__*/createAttribute('portal');\n/**\n * @see https://floating-ui.com/docs/FloatingPortal#usefloatingportalnode\n */\nfunction useFloatingPortalNode(props) {\n if (props === void 0) {\n props = {};\n }\n const {\n id,\n root\n } = props;\n const uniqueId = useId();\n const portalContext = usePortalContext();\n const [portalNode, setPortalNode] = React.useState(null);\n const portalNodeRef = React.useRef(null);\n index(() => {\n return () => {\n portalNode == null || portalNode.remove();\n // Allow the subsequent layout effects to create a new node on updates.\n // The portal node will still be cleaned up on unmount.\n // https://github.com/floating-ui/floating-ui/issues/2454\n queueMicrotask(() => {\n portalNodeRef.current = null;\n });\n };\n }, [portalNode]);\n index(() => {\n // Wait for the uniqueId to be generated before creating the portal node in\n // React <18 (using `useFloatingId` instead of the native `useId`).\n // https://github.com/floating-ui/floating-ui/issues/2778\n if (!uniqueId) return;\n if (portalNodeRef.current) return;\n const existingIdRoot = id ? document.getElementById(id) : null;\n if (!existingIdRoot) return;\n const subRoot = document.createElement('div');\n subRoot.id = uniqueId;\n subRoot.setAttribute(attr, '');\n existingIdRoot.appendChild(subRoot);\n portalNodeRef.current = subRoot;\n setPortalNode(subRoot);\n }, [id, uniqueId]);\n index(() => {\n // Wait for the root to exist before creating the portal node. The root must\n // be stored in state, not a ref, for this to work reactively.\n if (root === null) return;\n if (!uniqueId) return;\n if (portalNodeRef.current) return;\n let container = root || (portalContext == null ? void 0 : portalContext.portalNode);\n if (container && !isElement(container)) container = container.current;\n container = container || document.body;\n let idWrapper = null;\n if (id) {\n idWrapper = document.createElement('div');\n idWrapper.id = id;\n container.appendChild(idWrapper);\n }\n const subRoot = document.createElement('div');\n subRoot.id = uniqueId;\n subRoot.setAttribute(attr, '');\n container = idWrapper || container;\n container.appendChild(subRoot);\n portalNodeRef.current = subRoot;\n setPortalNode(subRoot);\n }, [id, root, uniqueId, portalContext]);\n return portalNode;\n}\n/**\n * Portals the floating element into a given container element — by default,\n * outside of the app root and into the body.\n * This is necessary to ensure the floating element can appear outside any\n * potential parent containers that cause clipping (such as `overflow: hidden`),\n * while retaining its location in the React tree.\n * @see https://floating-ui.com/docs/FloatingPortal\n */\nfunction FloatingPortal(props) {\n const {\n children,\n id,\n root,\n preserveTabOrder = true\n } = props;\n const portalNode = useFloatingPortalNode({\n id,\n root\n });\n const [focusManagerState, setFocusManagerState] = React.useState(null);\n const beforeOutsideRef = React.useRef(null);\n const afterOutsideRef = React.useRef(null);\n const beforeInsideRef = React.useRef(null);\n const afterInsideRef = React.useRef(null);\n const modal = focusManagerState == null ? void 0 : focusManagerState.modal;\n const open = focusManagerState == null ? void 0 : focusManagerState.open;\n const shouldRenderGuards =\n // The FocusManager and therefore floating element are currently open/\n // rendered.\n !!focusManagerState &&\n // Guards are only for non-modal focus management.\n !focusManagerState.modal &&\n // Don't render if unmount is transitioning.\n focusManagerState.open && preserveTabOrder && !!(root || portalNode);\n\n // https://codesandbox.io/s/tabbable-portal-f4tng?file=/src/TabbablePortal.tsx\n React.useEffect(() => {\n if (!portalNode || !preserveTabOrder || modal) {\n return;\n }\n\n // Make sure elements inside the portal element are tabbable only when the\n // portal has already been focused, either by tabbing into a focus trap\n // element outside or using the mouse.\n function onFocus(event) {\n if (portalNode && isOutsideEvent(event)) {\n const focusing = event.type === 'focusin';\n const manageFocus = focusing ? enableFocusInside : disableFocusInside;\n manageFocus(portalNode);\n }\n }\n // Listen to the event on the capture phase so they run before the focus\n // trap elements onFocus prop is called.\n portalNode.addEventListener('focusin', onFocus, true);\n portalNode.addEventListener('focusout', onFocus, true);\n return () => {\n portalNode.removeEventListener('focusin', onFocus, true);\n portalNode.removeEventListener('focusout', onFocus, true);\n };\n }, [portalNode, preserveTabOrder, modal]);\n React.useEffect(() => {\n if (!portalNode) return;\n if (open) return;\n enableFocusInside(portalNode);\n }, [open, portalNode]);\n return /*#__PURE__*/jsxs(PortalContext.Provider, {\n value: React.useMemo(() => ({\n preserveTabOrder,\n beforeOutsideRef,\n afterOutsideRef,\n beforeInsideRef,\n afterInsideRef,\n portalNode,\n setFocusManagerState\n }), [preserveTabOrder, portalNode]),\n children: [shouldRenderGuards && portalNode && /*#__PURE__*/jsx(FocusGuard, {\n \"data-type\": \"outside\",\n ref: beforeOutsideRef,\n onFocus: event => {\n if (isOutsideEvent(event, portalNode)) {\n var _beforeInsideRef$curr;\n (_beforeInsideRef$curr = beforeInsideRef.current) == null || _beforeInsideRef$curr.focus();\n } else {\n const prevTabbable = getPreviousTabbable() || (focusManagerState == null ? void 0 : focusManagerState.domReference);\n prevTabbable == null || prevTabbable.focus();\n }\n }\n }), shouldRenderGuards && portalNode && /*#__PURE__*/jsx(\"span\", {\n \"aria-owns\": portalNode.id,\n style: HIDDEN_STYLES\n }), portalNode && /*#__PURE__*/ReactDOM.createPortal(children, portalNode), shouldRenderGuards && portalNode && /*#__PURE__*/jsx(FocusGuard, {\n \"data-type\": \"outside\",\n ref: afterOutsideRef,\n onFocus: event => {\n if (isOutsideEvent(event, portalNode)) {\n var _afterInsideRef$curre;\n (_afterInsideRef$curre = afterInsideRef.current) == null || _afterInsideRef$curre.focus();\n } else {\n const nextTabbable = getNextTabbable() || (focusManagerState == null ? void 0 : focusManagerState.domReference);\n nextTabbable == null || nextTabbable.focus();\n (focusManagerState == null ? void 0 : focusManagerState.closeOnFocusOut) && (focusManagerState == null ? void 0 : focusManagerState.onOpenChange(false, event.nativeEvent, 'focus-out'));\n }\n }\n })]\n });\n}\nconst usePortalContext = () => React.useContext(PortalContext);\n\nconst FOCUSABLE_ATTRIBUTE = 'data-floating-ui-focusable';\nfunction getFloatingFocusElement(floatingElement) {\n if (!floatingElement) {\n return null;\n }\n // Try to find the element that has `{...getFloatingProps()}` spread on it.\n // This indicates the floating element is acting as a positioning wrapper, and\n // so focus should be managed on the child element with the event handlers and\n // aria props.\n return floatingElement.hasAttribute(FOCUSABLE_ATTRIBUTE) ? floatingElement : floatingElement.querySelector(\"[\" + FOCUSABLE_ATTRIBUTE + \"]\") || floatingElement;\n}\n\nfunction useLiteMergeRefs(refs) {\n return React.useMemo(() => {\n return value => {\n refs.forEach(ref => {\n if (ref) {\n ref.current = value;\n }\n });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n}\n\nconst LIST_LIMIT = 20;\nlet previouslyFocusedElements = [];\nfunction addPreviouslyFocusedElement(element) {\n previouslyFocusedElements = previouslyFocusedElements.filter(el => el.isConnected);\n if (element && getNodeName(element) !== 'body') {\n previouslyFocusedElements.push(element);\n if (previouslyFocusedElements.length > LIST_LIMIT) {\n previouslyFocusedElements = previouslyFocusedElements.slice(-LIST_LIMIT);\n }\n }\n}\nfunction getPreviouslyFocusedElement() {\n return previouslyFocusedElements.slice().reverse().find(el => el.isConnected);\n}\nfunction getFirstTabbableElement(container) {\n const tabbableOptions = getTabbableOptions();\n if (isTabbable(container, tabbableOptions)) {\n return container;\n }\n return tabbable(container, tabbableOptions)[0] || container;\n}\nconst VisuallyHiddenDismiss = /*#__PURE__*/React.forwardRef(function VisuallyHiddenDismiss(props, ref) {\n return /*#__PURE__*/jsx(\"button\", {\n ...props,\n type: \"button\",\n ref: ref,\n tabIndex: -1,\n style: HIDDEN_STYLES\n });\n});\n/**\n * Provides focus management for the floating element.\n * @see https://floating-ui.com/docs/FloatingFocusManager\n */\nfunction FloatingFocusManager(props) {\n const {\n context,\n children,\n disabled = false,\n order = ['content'],\n guards: _guards = true,\n initialFocus = 0,\n returnFocus = true,\n restoreFocus = false,\n modal = true,\n visuallyHiddenDismiss = false,\n closeOnFocusOut = true,\n outsideElementsInert = false\n } = props;\n const {\n open,\n onOpenChange,\n events,\n dataRef,\n elements: {\n domReference,\n floating\n }\n } = context;\n const getNodeId = useEffectEvent(() => {\n var _dataRef$current$floa;\n return (_dataRef$current$floa = dataRef.current.floatingContext) == null ? void 0 : _dataRef$current$floa.nodeId;\n });\n const ignoreInitialFocus = typeof initialFocus === 'number' && initialFocus < 0;\n // If the reference is a combobox and is typeable (e.g. input/textarea),\n // there are different focus semantics. The guards should not be rendered, but\n // aria-hidden should be applied to all nodes still. Further, the visually\n // hidden dismiss button should only appear at the end of the list, not the\n // start.\n const isUntrappedTypeableCombobox = isTypeableCombobox(domReference) && ignoreInitialFocus;\n\n // Force the guards to be rendered if the `inert` attribute is not supported.\n const inertSupported = supportsInert();\n const guards = inertSupported ? _guards : true;\n const useInert = !guards || inertSupported && outsideElementsInert;\n const orderRef = useLatestRef(order);\n const initialFocusRef = useLatestRef(initialFocus);\n const returnFocusRef = useLatestRef(returnFocus);\n const tree = useFloatingTree();\n const portalContext = usePortalContext();\n const startDismissButtonRef = React.useRef(null);\n const endDismissButtonRef = React.useRef(null);\n const preventReturnFocusRef = React.useRef(false);\n const isPointerDownRef = React.useRef(false);\n const tabbableIndexRef = React.useRef(-1);\n const isInsidePortal = portalContext != null;\n const floatingFocusElement = getFloatingFocusElement(floating);\n const getTabbableContent = useEffectEvent(function (container) {\n if (container === void 0) {\n container = floatingFocusElement;\n }\n return container ? tabbable(container, getTabbableOptions()) : [];\n });\n const getTabbableElements = useEffectEvent(container => {\n const content = getTabbableContent(container);\n return orderRef.current.map(type => {\n if (domReference && type === 'reference') {\n return domReference;\n }\n if (floatingFocusElement && type === 'floating') {\n return floatingFocusElement;\n }\n return content;\n }).filter(Boolean).flat();\n });\n React.useEffect(() => {\n if (disabled) return;\n if (!modal) return;\n function onKeyDown(event) {\n if (event.key === 'Tab') {\n // The focus guards have nothing to focus, so we need to stop the event.\n if (contains(floatingFocusElement, activeElement(getDocument(floatingFocusElement))) && getTabbableContent().length === 0 && !isUntrappedTypeableCombobox) {\n stopEvent(event);\n }\n const els = getTabbableElements();\n const target = getTarget(event);\n if (orderRef.current[0] === 'reference' && target === domReference) {\n stopEvent(event);\n if (event.shiftKey) {\n enqueueFocus(els[els.length - 1]);\n } else {\n enqueueFocus(els[1]);\n }\n }\n if (orderRef.current[1] === 'floating' && target === floatingFocusElement && event.shiftKey) {\n stopEvent(event);\n enqueueFocus(els[0]);\n }\n }\n }\n const doc = getDocument(floatingFocusElement);\n doc.addEventListener('keydown', onKeyDown);\n return () => {\n doc.removeEventListener('keydown', onKeyDown);\n };\n }, [disabled, domReference, floatingFocusElement, modal, orderRef, isUntrappedTypeableCombobox, getTabbableContent, getTabbableElements]);\n React.useEffect(() => {\n if (disabled) return;\n if (!floating) return;\n function handleFocusIn(event) {\n const target = getTarget(event);\n const tabbableContent = getTabbableContent();\n const tabbableIndex = tabbableContent.indexOf(target);\n if (tabbableIndex !== -1) {\n tabbableIndexRef.current = tabbableIndex;\n }\n }\n floating.addEventListener('focusin', handleFocusIn);\n return () => {\n floating.removeEventListener('focusin', handleFocusIn);\n };\n }, [disabled, floating, getTabbableContent]);\n React.useEffect(() => {\n if (disabled) return;\n if (!closeOnFocusOut) return;\n\n // In Safari, buttons lose focus when pressing them.\n function handlePointerDown() {\n isPointerDownRef.current = true;\n setTimeout(() => {\n isPointerDownRef.current = false;\n });\n }\n function handleFocusOutside(event) {\n const relatedTarget = event.relatedTarget;\n queueMicrotask(() => {\n const nodeId = getNodeId();\n const movedToUnrelatedNode = !(contains(domReference, relatedTarget) || contains(floating, relatedTarget) || contains(relatedTarget, floating) || contains(portalContext == null ? void 0 : portalContext.portalNode, relatedTarget) || relatedTarget != null && relatedTarget.hasAttribute(createAttribute('focus-guard')) || tree && (getChildren(tree.nodesRef.current, nodeId).find(node => {\n var _node$context, _node$context2;\n return contains((_node$context = node.context) == null ? void 0 : _node$context.elements.floating, relatedTarget) || contains((_node$context2 = node.context) == null ? void 0 : _node$context2.elements.domReference, relatedTarget);\n }) || getAncestors(tree.nodesRef.current, nodeId).find(node => {\n var _node$context3, _node$context4, _node$context5;\n return [(_node$context3 = node.context) == null ? void 0 : _node$context3.elements.floating, getFloatingFocusElement((_node$context4 = node.context) == null ? void 0 : _node$context4.elements.floating)].includes(relatedTarget) || ((_node$context5 = node.context) == null ? void 0 : _node$context5.elements.domReference) === relatedTarget;\n })));\n\n // Restore focus to the previous tabbable element index to prevent\n // focus from being lost outside the floating tree.\n if (restoreFocus && movedToUnrelatedNode && activeElement(getDocument(floatingFocusElement)) === getDocument(floatingFocusElement).body) {\n // Let `FloatingPortal` effect knows that focus is still inside the\n // floating tree.\n if (isHTMLElement(floatingFocusElement)) {\n floatingFocusElement.focus();\n }\n const prevTabbableIndex = tabbableIndexRef.current;\n const tabbableContent = getTabbableContent();\n const nodeToFocus = tabbableContent[prevTabbableIndex] || tabbableContent[tabbableContent.length - 1] || floatingFocusElement;\n if (isHTMLElement(nodeToFocus)) {\n nodeToFocus.focus();\n }\n }\n\n // Focus did not move inside the floating tree, and there are no tabbable\n // portal guards to handle closing.\n if ((isUntrappedTypeableCombobox ? true : !modal) && relatedTarget && movedToUnrelatedNode && !isPointerDownRef.current &&\n // Fix React 18 Strict Mode returnFocus due to double rendering.\n relatedTarget !== getPreviouslyFocusedElement()) {\n preventReturnFocusRef.current = true;\n onOpenChange(false, event, 'focus-out');\n }\n });\n }\n if (floating && isHTMLElement(domReference)) {\n domReference.addEventListener('focusout', handleFocusOutside);\n domReference.addEventListener('pointerdown', handlePointerDown);\n floating.addEventListener('focusout', handleFocusOutside);\n return () => {\n domReference.removeEventListener('focusout', handleFocusOutside);\n domReference.removeEventListener('pointerdown', handlePointerDown);\n floating.removeEventListener('focusout', handleFocusOutside);\n };\n }\n }, [disabled, domReference, floating, floatingFocusElement, modal, tree, portalContext, onOpenChange, closeOnFocusOut, restoreFocus, getTabbableContent, isUntrappedTypeableCombobox, getNodeId]);\n const beforeGuardRef = React.useRef(null);\n const afterGuardRef = React.useRef(null);\n const mergedBeforeGuardRef = useLiteMergeRefs([beforeGuardRef, portalContext == null ? void 0 : portalContext.beforeInsideRef]);\n const mergedAfterGuardRef = useLiteMergeRefs([afterGuardRef, portalContext == null ? void 0 : portalContext.afterInsideRef]);\n React.useEffect(() => {\n var _portalContext$portal;\n if (disabled) return;\n if (!floating) return;\n\n // Don't hide portals nested within the parent portal.\n const portalNodes = Array.from((portalContext == null || (_portalContext$portal = portalContext.portalNode) == null ? void 0 : _portalContext$portal.querySelectorAll(\"[\" + createAttribute('portal') + \"]\")) || []);\n const ancestorFloatingNodes = tree && !modal ? getAncestors(tree == null ? void 0 : tree.nodesRef.current, getNodeId()).map(node => {\n var _node$context6;\n return (_node$context6 = node.context) == null ? void 0 : _node$context6.elements.floating;\n }) : [];\n const insideElements = [floating, ...portalNodes, ...ancestorFloatingNodes, startDismissButtonRef.current, endDismissButtonRef.current, beforeGuardRef.current, afterGuardRef.current, portalContext == null ? void 0 : portalContext.beforeOutsideRef.current, portalContext == null ? void 0 : portalContext.afterOutsideRef.current, orderRef.current.includes('reference') || isUntrappedTypeableCombobox ? domReference : null].filter(x => x != null);\n const cleanup = modal || isUntrappedTypeableCombobox ? markOthers(insideElements, !useInert, useInert) : markOthers(insideElements);\n return () => {\n cleanup();\n };\n }, [disabled, domReference, floating, modal, orderRef, portalContext, isUntrappedTypeableCombobox, guards, useInert, tree, getNodeId]);\n index(() => {\n if (disabled || !isHTMLElement(floatingFocusElement)) return;\n const doc = getDocument(floatingFocusElement);\n const previouslyFocusedElement = activeElement(doc);\n\n // Wait for any layout effect state setters to execute to set `tabIndex`.\n queueMicrotask(() => {\n const focusableElements = getTabbableElements(floatingFocusElement);\n const initialFocusValue = initialFocusRef.current;\n const elToFocus = (typeof initialFocusValue === 'number' ? focusableElements[initialFocusValue] : initialFocusValue.current) || floatingFocusElement;\n const focusAlreadyInsideFloatingEl = contains(floatingFocusElement, previouslyFocusedElement);\n if (!ignoreInitialFocus && !focusAlreadyInsideFloatingEl && open) {\n enqueueFocus(elToFocus, {\n preventScroll: elToFocus === floatingFocusElement\n });\n }\n });\n }, [disabled, open, floatingFocusElement, ignoreInitialFocus, getTabbableElements, initialFocusRef]);\n index(() => {\n if (disabled || !floatingFocusElement) return;\n let preventReturnFocusScroll = false;\n let focusReference = false;\n const doc = getDocument(floatingFocusElement);\n const previouslyFocusedElement = activeElement(doc);\n const contextData = dataRef.current;\n let openEvent = contextData.openEvent;\n addPreviouslyFocusedElement(previouslyFocusedElement);\n\n // Dismissing via outside press should always ignore `returnFocus` to\n // prevent unwanted scrolling.\n function onOpenChange(_ref) {\n let {\n open,\n reason,\n event,\n nested\n } = _ref;\n if (open) {\n openEvent = event;\n }\n if (reason === 'escape-key') {\n focusReference = true;\n }\n if (['hover', 'safe-polygon'].includes(reason) && event.type === 'mouseleave') {\n preventReturnFocusRef.current = true;\n }\n if (reason !== 'outside-press') return;\n if (nested) {\n preventReturnFocusRef.current = false;\n preventReturnFocusScroll = true;\n } else if (isVirtualClick(event) || isVirtualPointerEvent(event)) {\n preventReturnFocusRef.current = false;\n } else {\n let isPreventScrollSupported = false;\n document.createElement('div').focus({\n get preventScroll() {\n isPreventScrollSupported = true;\n return false;\n }\n });\n if (isPreventScrollSupported) {\n preventReturnFocusRef.current = false;\n preventReturnFocusScroll = true;\n } else {\n preventReturnFocusRef.current = true;\n }\n }\n }\n events.on('openchange', onOpenChange);\n const fallbackEl = doc.createElement('span');\n fallbackEl.setAttribute('tabindex', '-1');\n fallbackEl.setAttribute('aria-hidden', 'true');\n Object.assign(fallbackEl.style, HIDDEN_STYLES);\n if (isInsidePortal && domReference) {\n domReference.insertAdjacentElement('afterend', fallbackEl);\n }\n function getReturnElement() {\n if (typeof returnFocusRef.current === 'boolean') {\n return focusReference && domReference ? domReference : getPreviouslyFocusedElement() || fallbackEl;\n }\n return returnFocusRef.current.current || fallbackEl;\n }\n return () => {\n events.off('openchange', onOpenChange);\n const activeEl = activeElement(doc);\n const isFocusInsideFloatingTree = contains(floating, activeEl) || tree && getChildren(tree.nodesRef.current, getNodeId()).some(node => {\n var _node$context7;\n return contains((_node$context7 = node.context) == null ? void 0 : _node$context7.elements.floating, activeEl);\n });\n if (isFocusInsideFloatingTree || !!openEvent && ['click', 'mousedown'].includes(openEvent.type)) {\n focusReference = true;\n }\n const returnElement = getReturnElement();\n queueMicrotask(() => {\n // This is `returnElement`, if it's tabbable, or its first tabbable child.\n const tabbableReturnElement = getFirstTabbableElement(returnElement);\n if (\n // eslint-disable-next-line react-hooks/exhaustive-deps\n returnFocusRef.current && !preventReturnFocusRef.current && isHTMLElement(tabbableReturnElement) && (\n // If the focus moved somewhere else after mount, avoid returning focus\n // since it likely entered a different element which should be\n // respected: https://github.com/floating-ui/floating-ui/issues/2607\n tabbableReturnElement !== activeEl && activeEl !== doc.body ? isFocusInsideFloatingTree : true)) {\n tabbableReturnElement.focus({\n preventScroll: preventReturnFocusScroll\n });\n }\n fallbackEl.remove();\n });\n };\n }, [disabled, floating, floatingFocusElement, returnFocusRef, dataRef, events, tree, isInsidePortal, domReference, getNodeId]);\n React.useEffect(() => {\n // The `returnFocus` cleanup behavior is inside a microtask; ensure we\n // wait for it to complete before resetting the flag.\n queueMicrotask(() => {\n preventReturnFocusRef.current = false;\n });\n }, [disabled]);\n\n // Synchronize the `context` & `modal` value to the FloatingPortal context.\n // It will decide whether or not it needs to render its own guards.\n index(() => {\n if (disabled) return;\n if (!portalContext) return;\n portalContext.setFocusManagerState({\n modal,\n closeOnFocusOut,\n open,\n onOpenChange,\n domReference\n });\n return () => {\n portalContext.setFocusManagerState(null);\n };\n }, [disabled, portalContext, modal, open, onOpenChange, closeOnFocusOut, domReference]);\n index(() => {\n if (disabled) return;\n if (!floatingFocusElement) return;\n if (typeof MutationObserver !== 'function') return;\n if (ignoreInitialFocus) return;\n const handleMutation = () => {\n const tabIndex = floatingFocusElement.getAttribute('tabindex');\n const tabbableContent = getTabbableContent();\n const activeEl = activeElement(getDocument(floating));\n const tabbableIndex = tabbableContent.indexOf(activeEl);\n if (tabbableIndex !== -1) {\n tabbableIndexRef.current = tabbableIndex;\n }\n if (orderRef.current.includes('floating') || activeEl !== domReference && tabbableContent.length === 0) {\n if (tabIndex !== '0') {\n floatingFocusElement.setAttribute('tabindex', '0');\n }\n } else if (tabIndex !== '-1') {\n floatingFocusElement.setAttribute('tabindex', '-1');\n }\n };\n handleMutation();\n const observer = new MutationObserver(handleMutation);\n observer.observe(floatingFocusElement, {\n childList: true,\n subtree: true,\n attributes: true\n });\n return () => {\n observer.disconnect();\n };\n }, [disabled, floating, floatingFocusElement, domReference, orderRef, getTabbableContent, ignoreInitialFocus]);\n function renderDismissButton(location) {\n if (disabled || !visuallyHiddenDismiss || !modal) {\n return null;\n }\n return /*#__PURE__*/jsx(VisuallyHiddenDismiss, {\n ref: location === 'start' ? startDismissButtonRef : endDismissButtonRef,\n onClick: event => onOpenChange(false, event.nativeEvent),\n children: typeof visuallyHiddenDismiss === 'string' ? visuallyHiddenDismiss : 'Dismiss'\n });\n }\n const shouldRenderGuards = !disabled && guards && (modal ? !isUntrappedTypeableCombobox : true) && (isInsidePortal || modal);\n return /*#__PURE__*/jsxs(Fragment, {\n children: [shouldRenderGuards && /*#__PURE__*/jsx(FocusGuard, {\n \"data-type\": \"inside\",\n ref: mergedBeforeGuardRef,\n onFocus: event => {\n if (modal) {\n const els = getTabbableElements();\n enqueueFocus(order[0] === 'reference' ? els[0] : els[els.length - 1]);\n } else if (portalContext != null && portalContext.preserveTabOrder && portalContext.portalNode) {\n preventReturnFocusRef.current = false;\n if (isOutsideEvent(event, portalContext.portalNode)) {\n const nextTabbable = getNextTabbable() || domReference;\n nextTabbable == null || nextTabbable.focus();\n } else {\n var _portalContext$before;\n (_portalContext$before = portalContext.beforeOutsideRef.current) == null || _portalContext$before.focus();\n }\n }\n }\n }), !isUntrappedTypeableCombobox && renderDismissButton('start'), children, renderDismissButton('end'), shouldRenderGuards && /*#__PURE__*/jsx(FocusGuard, {\n \"data-type\": \"inside\",\n ref: mergedAfterGuardRef,\n onFocus: event => {\n if (modal) {\n enqueueFocus(getTabbableElements()[0]);\n } else if (portalContext != null && portalContext.preserveTabOrder && portalContext.portalNode) {\n if (closeOnFocusOut) {\n preventReturnFocusRef.current = true;\n }\n if (isOutsideEvent(event, portalContext.portalNode)) {\n const prevTabbable = getPreviousTabbable() || domReference;\n prevTabbable == null || prevTabbable.focus();\n } else {\n var _portalContext$afterO;\n (_portalContext$afterO = portalContext.afterOutsideRef.current) == null || _portalContext$afterO.focus();\n }\n }\n }\n })]\n });\n}\n\nlet lockCount = 0;\nfunction enableScrollLock() {\n const isIOS = /iP(hone|ad|od)|iOS/.test(getPlatform());\n const bodyStyle = document.body.style;\n // RTL <body> scrollbar\n const scrollbarX = Math.round(document.documentElement.getBoundingClientRect().left) + document.documentElement.scrollLeft;\n const paddingProp = scrollbarX ? 'paddingLeft' : 'paddingRight';\n const scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;\n const scrollX = bodyStyle.left ? parseFloat(bodyStyle.left) : window.scrollX;\n const scrollY = bodyStyle.top ? parseFloat(bodyStyle.top) : window.scrollY;\n bodyStyle.overflow = 'hidden';\n if (scrollbarWidth) {\n bodyStyle[paddingProp] = scrollbarWidth + \"px\";\n }\n\n // Only iOS doesn't respect `overflow: hidden` on document.body, and this\n // technique has fewer side effects.\n if (isIOS) {\n var _window$visualViewpor, _window$visualViewpor2;\n // iOS 12 does not support `visualViewport`.\n const offsetLeft = ((_window$visualViewpor = window.visualViewport) == null ? void 0 : _window$visualViewpor.offsetLeft) || 0;\n const offsetTop = ((_window$visualViewpor2 = window.visualViewport) == null ? void 0 : _window$visualViewpor2.offsetTop) || 0;\n Object.assign(bodyStyle, {\n position: 'fixed',\n top: -(scrollY - Math.floor(offsetTop)) + \"px\",\n left: -(scrollX - Math.floor(offsetLeft)) + \"px\",\n right: '0'\n });\n }\n return () => {\n Object.assign(bodyStyle, {\n overflow: '',\n [paddingProp]: ''\n });\n if (isIOS) {\n Object.assign(bodyStyle, {\n position: '',\n top: '',\n left: '',\n right: ''\n });\n window.scrollTo(scrollX, scrollY);\n }\n };\n}\nlet cleanup = () => {};\n\n/**\n * Provides base styling for a fixed overlay element to dim content or block\n * pointer events behind a floating element.\n * It's a regular `<div>`, so it can be styled via any CSS solution you prefer.\n * @see https://floating-ui.com/docs/FloatingOverlay\n */\nconst FloatingOverlay = /*#__PURE__*/React.forwardRef(function FloatingOverlay(props, ref) {\n const {\n lockScroll = false,\n ...rest\n } = props;\n index(() => {\n if (!lockScroll) return;\n lockCount++;\n if (lockCount === 1) {\n cleanup = enableScrollLock();\n }\n return () => {\n lockCount--;\n if (lockCount === 0) {\n cleanup();\n }\n };\n }, [lockScroll]);\n return /*#__PURE__*/jsx(\"div\", {\n ref: ref,\n ...rest,\n style: {\n position: 'fixed',\n overflow: 'auto',\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...rest.style\n }\n });\n});\n\nfunction isButtonTarget(event) {\n return isHTMLElement(event.target) && event.target.tagName === 'BUTTON';\n}\nfunction isSpaceIgnored(element) {\n return isTypeableElement(element);\n}\n/**\n * Opens or closes the floating element when clicking the reference element.\n * @see https://floating-ui.com/docs/useClick\n */\nfunction useClick(context, props) {\n if (props === void 0) {\n props = {};\n }\n const {\n open,\n onOpenChange,\n dataRef,\n elements: {\n domReference\n }\n } = context;\n const {\n enabled = true,\n event: eventOption = 'click',\n toggle = true,\n ignoreMouse = false,\n keyboardHandlers = true,\n stickIfOpen = true\n } = props;\n const pointerTypeRef = React.useRef();\n const didKeyDownRef = React.useRef(false);\n const reference = React.useMemo(() => ({\n onPointerDown(event) {\n pointerTypeRef.current = event.pointerType;\n },\n onMouseDown(event) {\n const pointerType = pointerTypeRef.current;\n\n // Ignore all buttons except for the \"main\" button.\n // https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button\n if (event.button !== 0) return;\n if (eventOption === 'click') return;\n if (isMouseLikePointerType(pointerType, true) && ignoreMouse) return;\n if (open && toggle && (dataRef.current.openEvent && stickIfOpen ? dataRef.current.openEvent.type === 'mousedown' : true)) {\n onOpenChange(false, event.nativeEvent, 'click');\n } else {\n // Prevent stealing focus from the floating element\n event.preventDefault();\n onOpenChange(true, event.nativeEvent, 'click');\n }\n },\n onClick(event) {\n const pointerType = pointerTypeRef.current;\n if (eventOption === 'mousedown' && pointerTypeRef.current) {\n pointerTypeRef.current = undefined;\n return;\n }\n if (isMouseLikePointerType(pointerType, true) && ignoreMouse) return;\n if (open && toggle && (dataRef.current.openEvent && stickIfOpen ? dataRef.current.openEvent.type === 'click' : true)) {\n onOpenChange(false, event.nativeEvent, 'click');\n } else {\n onOpenChange(true, event.nativeEvent, 'click');\n }\n },\n onKeyDown(event) {\n pointerTypeRef.current = undefined;\n if (event.defaultPrevented || !keyboardHandlers || isButtonTarget(event)) {\n return;\n }\n if (event.key === ' ' && !isSpaceIgnored(domReference)) {\n // Prevent scrolling\n event.preventDefault();\n didKeyDownRef.current = true;\n }\n if (event.key === 'Enter') {\n if (open && toggle) {\n onOpenChange(false, event.nativeEvent, 'click');\n } else {\n onOpenChange(true, event.nativeEvent, 'click');\n }\n }\n },\n onKeyUp(event) {\n if (event.defaultPrevented || !keyboardHandlers || isButtonTarget(event) || isSpaceIgnored(domReference)) {\n return;\n }\n if (event.key === ' ' && didKeyDownRef.current) {\n didKeyDownRef.current = false;\n if (open && toggle) {\n onOpenChange(false, event.nativeEvent, 'click');\n } else {\n onOpenChange(true, event.nativeEvent, 'click');\n }\n }\n }\n }), [dataRef, domReference, eventOption, ignoreMouse, keyboardHandlers, onOpenChange, open, stickIfOpen, toggle]);\n return React.useMemo(() => enabled ? {\n reference\n } : {}, [enabled, reference]);\n}\n\nfunction createVirtualElement(domElement, data) {\n let offsetX = null;\n let offsetY = null;\n let isAutoUpdateEvent = false;\n return {\n contextElement: domElement || undefined,\n getBoundingClientRect() {\n var _data$dataRef$current;\n const domRect = (domElement == null ? void 0 : domElement.getBoundingClientRect()) || {\n width: 0,\n height: 0,\n x: 0,\n y: 0\n };\n const isXAxis = data.axis === 'x' || data.axis === 'both';\n const isYAxis = data.axis === 'y' || data.axis === 'both';\n const canTrackCursorOnAutoUpdate = ['mouseenter', 'mousemove'].includes(((_data$dataRef$current = data.dataRef.current.openEvent) == null ? void 0 : _data$dataRef$current.type) || '') && data.pointerType !== 'touch';\n let width = domRect.width;\n let height = domRect.height;\n let x = domRect.x;\n let y = domRect.y;\n if (offsetX == null && data.x && isXAxis) {\n offsetX = domRect.x - data.x;\n }\n if (offsetY == null && data.y && isYAxis) {\n offsetY = domRect.y - data.y;\n }\n x -= offsetX || 0;\n y -= offsetY || 0;\n width = 0;\n height = 0;\n if (!isAutoUpdateEvent || canTrackCursorOnAutoUpdate) {\n width = data.axis === 'y' ? domRect.width : 0;\n height = data.axis === 'x' ? domRect.height : 0;\n x = isXAxis && data.x != null ? data.x : x;\n y = isYAxis && data.y != null ? data.y : y;\n } else if (isAutoUpdateEvent && !canTrackCursorOnAutoUpdate) {\n height = data.axis === 'x' ? domRect.height : height;\n width = data.axis === 'y' ? domRect.width : width;\n }\n isAutoUpdateEvent = true;\n return {\n width,\n height,\n x,\n y,\n top: y,\n right: x + width,\n bottom: y + height,\n left: x\n };\n }\n };\n}\nfunction isMouseBasedEvent(event) {\n return event != null && event.clientX != null;\n}\n/**\n * Positions the floating element relative to a client point (in the viewport),\n * such as the mouse position. By default, it follows the mouse cursor.\n * @see https://floating-ui.com/docs/useClientPoint\n */\nfunction useClientPoint(context, props) {\n if (props === void 0) {\n props = {};\n }\n const {\n open,\n dataRef,\n elements: {\n floating,\n domReference\n },\n refs\n } = context;\n const {\n enabled = true,\n axis = 'both',\n x = null,\n y = null\n } = props;\n const initialRef = React.useRef(false);\n const cleanupListenerRef = React.useRef(null);\n const [pointerType, setPointerType] = React.useState();\n const [reactive, setReactive] = React.useState([]);\n const setReference = useEffectEvent((x, y) => {\n if (initialRef.current) return;\n\n // Prevent setting if the open event was not a mouse-like one\n // (e.g. focus to open, then hover over the reference element).\n // Only apply if the event exists.\n if (dataRef.current.openEvent && !isMouseBasedEvent(dataRef.current.openEvent)) {\n return;\n }\n refs.setPositionReference(createVirtualElement(domReference, {\n x,\n y,\n axis,\n dataRef,\n pointerType\n }));\n });\n const handleReferenceEnterOrMove = useEffectEvent(event => {\n if (x != null || y != null) return;\n if (!open) {\n setReference(event.clientX, event.clientY);\n } else if (!cleanupListenerRef.current) {\n // If there's no cleanup, there's no listener, but we want to ensure\n // we add the listener if the cursor landed on the floating element and\n // then back on the reference (i.e. it's interactive).\n setReactive([]);\n }\n });\n\n // If the pointer is a mouse-like pointer, we want to continue following the\n // mouse even if the floating element is transitioning out. On touch\n // devices, this is undesirable because the floating element will move to\n // the dismissal touch point.\n const openCheck = isMouseLikePointerType(pointerType) ? floating : open;\n const addListener = React.useCallback(() => {\n // Explicitly specified `x`/`y` coordinates shouldn't add a listener.\n if (!openCheck || !enabled || x != null || y != null) return;\n const win = getWindow(floating);\n function handleMouseMove(event) {\n const target = getTarget(event);\n if (!contains(floating, target)) {\n setReference(event.clientX, event.clientY);\n } else {\n win.removeEventListener('mousemove', handleMouseMove);\n cleanupListenerRef.current = null;\n }\n }\n if (!dataRef.current.openEvent || isMouseBasedEvent(dataRef.current.openEvent)) {\n win.addEventListener('mousemove', handleMouseMove);\n const cleanup = () => {\n win.removeEventListener('mousemove', handleMouseMove);\n cleanupListenerRef.current = null;\n };\n cleanupListenerRef.current = cleanup;\n return cleanup;\n }\n refs.setPositionReference(domReference);\n }, [openCheck, enabled, x, y, floating, dataRef, refs, domReference, setReference]);\n React.useEffect(() => {\n return addListener();\n }, [addListener, reactive]);\n React.useEffect(() => {\n if (enabled && !floating) {\n initialRef.current = false;\n }\n }, [enabled, floating]);\n React.useEffect(() => {\n if (!enabled && open) {\n initialRef.current = true;\n }\n }, [enabled, open]);\n index(() => {\n if (enabled && (x != null || y != null)) {\n initialRef.current = false;\n setReference(x, y);\n }\n }, [enabled, x, y, setReference]);\n const reference = React.useMemo(() => {\n function setPointerTypeRef(_ref) {\n let {\n pointerType\n } = _ref;\n setPointerType(pointerType);\n }\n return {\n onPointerDown: setPointerTypeRef,\n onPointerEnter: setPointerTypeRef,\n onMouseMove: handleReferenceEnterOrMove,\n onMouseEnter: handleReferenceEnterOrMove\n };\n }, [handleReferenceEnterOrMove]);\n return React.useMemo(() => enabled ? {\n reference\n } : {}, [enabled, reference]);\n}\n\nconst bubbleHandlerKeys = {\n pointerdown: 'onPointerDown',\n mousedown: 'onMouseDown',\n click: 'onClick'\n};\nconst captureHandlerKeys = {\n pointerdown: 'onPointerDownCapture',\n mousedown: 'onMouseDownCapture',\n click: 'onClickCapture'\n};\nconst normalizeProp = normalizable => {\n var _normalizable$escapeK, _normalizable$outside;\n return {\n escapeKey: typeof normalizable === 'boolean' ? normalizable : (_normalizable$escapeK = normalizable == null ? void 0 : normalizable.escapeKey) != null ? _normalizable$escapeK : false,\n outsidePress: typeof normalizable === 'boolean' ? normalizable : (_normalizable$outside = normalizable == null ? void 0 : normalizable.outsidePress) != null ? _normalizable$outside : true\n };\n};\n/**\n * Closes the floating element when a dismissal is requested — by default, when\n * the user presses the `escape` key or outside of the floating element.\n * @see https://floating-ui.com/docs/useDismiss\n */\nfunction useDismiss(context, props) {\n if (props === void 0) {\n props = {};\n }\n const {\n open,\n onOpenChange,\n elements,\n dataRef\n } = context;\n const {\n enabled = true,\n escapeKey = true,\n outsidePress: unstable_outsidePress = true,\n outsidePressEvent = 'pointerdown',\n referencePress = false,\n referencePressEvent = 'pointerdown',\n ancestorScroll = false,\n bubbles,\n capture\n } = props;\n const tree = useFloatingTree();\n const outsidePressFn = useEffectEvent(typeof unstable_outsidePress === 'function' ? unstable_outsidePress : () => false);\n const outsidePress = typeof unstable_outsidePress === 'function' ? outsidePressFn : unstable_outsidePress;\n const insideReactTreeRef = React.useRef(false);\n const endedOrStartedInsideRef = React.useRef(false);\n const {\n escapeKey: escapeKeyBubbles,\n outsidePress: outsidePressBubbles\n } = normalizeProp(bubbles);\n const {\n escapeKey: escapeKeyCapture,\n outsidePress: outsidePressCapture\n } = normalizeProp(capture);\n const isComposingRef = React.useRef(false);\n const closeOnEscapeKeyDown = useEffectEvent(event => {\n var _dataRef$current$floa;\n if (!open || !enabled || !escapeKey || event.key !== 'Escape') {\n return;\n }\n\n // Wait until IME is settled. Pressing `Escape` while composing should\n // close the compose menu, but not the floating element.\n if (isComposingRef.current) {\n return;\n }\n const nodeId = (_dataRef$current$floa = dataRef.current.floatingContext) == null ? void 0 : _dataRef$current$floa.nodeId;\n const children = tree ? getChildren(tree.nodesRef.current, nodeId) : [];\n if (!escapeKeyBubbles) {\n event.stopPropagation();\n if (children.length > 0) {\n let shouldDismiss = true;\n children.forEach(child => {\n var _child$context;\n if ((_child$context = child.context) != null && _child$context.open && !child.context.dataRef.current.__escapeKeyBubbles) {\n shouldDismiss = false;\n return;\n }\n });\n if (!shouldDismiss) {\n return;\n }\n }\n }\n onOpenChange(false, isReactEvent(event) ? event.nativeEvent : event, 'escape-key');\n });\n const closeOnEscapeKeyDownCapture = useEffectEvent(event => {\n var _getTarget2;\n const callback = () => {\n var _getTarget;\n closeOnEscapeKeyDown(event);\n (_getTarget = getTarget(event)) == null || _getTarget.removeEventListener('keydown', callback);\n };\n (_getTarget2 = getTarget(event)) == null || _getTarget2.addEventListener('keydown', callback);\n });\n const closeOnPressOutside = useEffectEvent(event => {\n var _dataRef$current$floa2;\n // Given developers can stop the propagation of the synthetic event,\n // we can only be confident with a positive value.\n const insideReactTree = insideReactTreeRef.current;\n insideReactTreeRef.current = false;\n\n // When click outside is lazy (`click` event), handle dragging.\n // Don't close if:\n // - The click started inside the floating element.\n // - The click ended inside the floating element.\n const endedOrStartedInside = endedOrStartedInsideRef.current;\n endedOrStartedInsideRef.current = false;\n if (outsidePressEvent === 'click' && endedOrStartedInside) {\n return;\n }\n if (insideReactTree) {\n return;\n }\n if (typeof outsidePress === 'function' && !outsidePress(event)) {\n return;\n }\n const target = getTarget(event);\n const inertSelector = \"[\" + createAttribute('inert') + \"]\";\n const markers = getDocument(elements.floating).querySelectorAll(inertSelector);\n let targetRootAncestor = isElement(target) ? target : null;\n while (targetRootAncestor && !isLastTraversableNode(targetRootAncestor)) {\n const nextParent = getParentNode(targetRootAncestor);\n if (isLastTraversableNode(nextParent) || !isElement(nextParent)) {\n break;\n }\n targetRootAncestor = nextParent;\n }\n\n // Check if the click occurred on a third-party element injected after the\n // floating element rendered.\n if (markers.length && isElement(target) && !isRootElement(target) &&\n // Clicked on a direct ancestor (e.g. FloatingOverlay).\n !contains(target, elements.floating) &&\n // If the target root element contains none of the markers, then the\n // element was injected after the floating element rendered.\n Array.from(markers).every(marker => !contains(targetRootAncestor, marker))) {\n return;\n }\n\n // Check if the click occurred on the scrollbar\n if (isHTMLElement(target) && floating) {\n const lastTraversableNode = isLastTraversableNode(target);\n const style = getComputedStyle(target);\n const scrollRe = /auto|scroll/;\n const isScrollableX = lastTraversableNode || scrollRe.test(style.overflowX);\n const isScrollableY = lastTraversableNode || scrollRe.test(style.overflowY);\n const canScrollX = isScrollableX && target.clientWidth > 0 && target.scrollWidth > target.clientWidth;\n const canScrollY = isScrollableY && target.clientHeight > 0 && target.scrollHeight > target.clientHeight;\n const isRTL = style.direction === 'rtl';\n\n // Check click position relative to scrollbar.\n // In some browsers it is possible to change the <body> (or window)\n // scrollbar to the left side, but is very rare and is difficult to\n // check for. Plus, for modal dialogs with backdrops, it is more\n // important that the backdrop is checked but not so much the window.\n const pressedVerticalScrollbar = canScrollY && (isRTL ? event.offsetX <= target.offsetWidth - target.clientWidth : event.offsetX > target.clientWidth);\n const pressedHorizontalScrollbar = canScrollX && event.offsetY > target.clientHeight;\n if (pressedVerticalScrollbar || pressedHorizontalScrollbar) {\n return;\n }\n }\n const nodeId = (_dataRef$current$floa2 = dataRef.current.floatingContext) == null ? void 0 : _dataRef$current$floa2.nodeId;\n const targetIsInsideChildren = tree && getChildren(tree.nodesRef.current, nodeId).some(node => {\n var _node$context;\n return isEventTargetWithin(event, (_node$context = node.context) == null ? void 0 : _node$context.elements.floating);\n });\n if (isEventTargetWithin(event, elements.floating) || isEventTargetWithin(event, elements.domReference) || targetIsInsideChildren) {\n return;\n }\n const children = tree ? getChildren(tree.nodesRef.current, nodeId) : [];\n if (children.length > 0) {\n let shouldDismiss = true;\n children.forEach(child => {\n var _child$context2;\n if ((_child$context2 = child.context) != null && _child$context2.open && !child.context.dataRef.current.__outsidePressBubbles) {\n shouldDismiss = false;\n return;\n }\n });\n if (!shouldDismiss) {\n return;\n }\n }\n onOpenChange(false, event, 'outside-press');\n });\n const closeOnPressOutsideCapture = useEffectEvent(event => {\n var _getTarget4;\n const callback = () => {\n var _getTarget3;\n closeOnPressOutside(event);\n (_getTarget3 = getTarget(event)) == null || _getTarget3.removeEventListener(outsidePressEvent, callback);\n };\n (_getTarget4 = getTarget(event)) == null || _getTarget4.addEventListener(outsidePressEvent, callback);\n });\n React.useEffect(() => {\n if (!open || !enabled) {\n return;\n }\n dataRef.current.__escapeKeyBubbles = escapeKeyBubbles;\n dataRef.current.__outsidePressBubbles = outsidePressBubbles;\n let compositionTimeout = -1;\n function onScroll(event) {\n onOpenChange(false, event, 'ancestor-scroll');\n }\n function handleCompositionStart() {\n window.clearTimeout(compositionTimeout);\n isComposingRef.current = true;\n }\n function handleCompositionEnd() {\n // Safari fires `compositionend` before `keydown`, so we need to wait\n // until the next tick to set `isComposing` to `false`.\n // https://bugs.webkit.org/show_bug.cgi?id=165004\n compositionTimeout = window.setTimeout(() => {\n isComposingRef.current = false;\n },\n // 0ms or 1ms don't work in Safari. 5ms appears to consistently work.\n // Only apply to WebKit for the test to remain 0ms.\n isWebKit() ? 5 : 0);\n }\n const doc = getDocument(elements.floating);\n if (escapeKey) {\n doc.addEventListener('keydown', escapeKeyCapture ? closeOnEscapeKeyDownCapture : closeOnEscapeKeyDown, escapeKeyCapture);\n doc.addEventListener('compositionstart', handleCompositionStart);\n doc.addEventListener('compositionend', handleCompositionEnd);\n }\n outsidePress && doc.addEventListener(outsidePressEvent, outsidePressCapture ? closeOnPressOutsideCapture : closeOnPressOutside, outsidePressCapture);\n let ancestors = [];\n if (ancestorScroll) {\n if (isElement(elements.domReference)) {\n ancestors = getOverflowAncestors(elements.domReference);\n }\n if (isElement(elements.floating)) {\n ancestors = ancestors.concat(getOverflowAncestors(elements.floating));\n }\n if (!isElement(elements.reference) && elements.reference && elements.reference.contextElement) {\n ancestors = ancestors.concat(getOverflowAncestors(elements.reference.contextElement));\n }\n }\n\n // Ignore the visual viewport for scrolling dismissal (allow pinch-zoom)\n ancestors = ancestors.filter(ancestor => {\n var _doc$defaultView;\n return ancestor !== ((_doc$defaultView = doc.defaultView) == null ? void 0 : _doc$defaultView.visualViewport);\n });\n ancestors.forEach(ancestor => {\n ancestor.addEventListener('scroll', onScroll, {\n passive: true\n });\n });\n return () => {\n if (escapeKey) {\n doc.removeEventListener('keydown', escapeKeyCapture ? closeOnEscapeKeyDownCapture : closeOnEscapeKeyDown, escapeKeyCapture);\n doc.removeEventListener('compositionstart', handleCompositionStart);\n doc.removeEventListener('compositionend', handleCompositionEnd);\n }\n outsidePress && doc.removeEventListener(outsidePressEvent, outsidePressCapture ? closeOnPressOutsideCapture : closeOnPressOutside, outsidePressCapture);\n ancestors.forEach(ancestor => {\n ancestor.removeEventListener('scroll', onScroll);\n });\n window.clearTimeout(compositionTimeout);\n };\n }, [dataRef, elements, escapeKey, outsidePress, outsidePressEvent, open, onOpenChange, ancestorScroll, enabled, escapeKeyBubbles, outsidePressBubbles, closeOnEscapeKeyDown, escapeKeyCapture, closeOnEscapeKeyDownCapture, closeOnPressOutside, outsidePressCapture, closeOnPressOutsideCapture]);\n React.useEffect(() => {\n insideReactTreeRef.current = false;\n }, [outsidePress, outsidePressEvent]);\n const reference = React.useMemo(() => ({\n onKeyDown: closeOnEscapeKeyDown,\n ...(referencePress && {\n [bubbleHandlerKeys[referencePressEvent]]: event => {\n onOpenChange(false, event.nativeEvent, 'reference-press');\n },\n ...(referencePressEvent !== 'click' && {\n onClick(event) {\n onOpenChange(false, event.nativeEvent, 'reference-press');\n }\n })\n })\n }), [closeOnEscapeKeyDown, onOpenChange, referencePress, referencePressEvent]);\n const floating = React.useMemo(() => ({\n onKeyDown: closeOnEscapeKeyDown,\n onMouseDown() {\n endedOrStartedInsideRef.current = true;\n },\n onMouseUp() {\n endedOrStartedInsideRef.current = true;\n },\n [captureHandlerKeys[outsidePressEvent]]: () => {\n insideReactTreeRef.current = true;\n }\n }), [closeOnEscapeKeyDown, outsidePressEvent]);\n return React.useMemo(() => enabled ? {\n reference,\n floating\n } : {}, [enabled, reference, floating]);\n}\n\nfunction useFloatingRootContext(options) {\n const {\n open = false,\n onOpenChange: onOpenChangeProp,\n elements: elementsProp\n } = options;\n const floatingId = useId();\n const dataRef = React.useRef({});\n const [events] = React.useState(() => createPubSub());\n const nested = useFloatingParentNodeId() != null;\n if (process.env.NODE_ENV !== \"production\") {\n const optionDomReference = elementsProp.reference;\n if (optionDomReference && !isElement(optionDomReference)) {\n error('Cannot pass a virtual element to the `elements.reference` option,', 'as it must be a real DOM element. Use `refs.setPositionReference()`', 'instead.');\n }\n }\n const [positionReference, setPositionReference] = React.useState(elementsProp.reference);\n const onOpenChange = useEffectEvent((open, event, reason) => {\n dataRef.current.openEvent = open ? event : undefined;\n events.emit('openchange', {\n open,\n event,\n reason,\n nested\n });\n onOpenChangeProp == null || onOpenChangeProp(open, event, reason);\n });\n const refs = React.useMemo(() => ({\n setPositionReference\n }), []);\n const elements = React.useMemo(() => ({\n reference: positionReference || elementsProp.reference || null,\n floating: elementsProp.floating || null,\n domReference: elementsProp.reference\n }), [positionReference, elementsProp.reference, elementsProp.floating]);\n return React.useMemo(() => ({\n dataRef,\n open,\n onOpenChange,\n elements,\n events,\n floatingId,\n refs\n }), [open, onOpenChange, elements, events, floatingId, refs]);\n}\n\n/**\n * Provides data to position a floating element and context to add interactions.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n nodeId\n } = options;\n const internalRootContext = useFloatingRootContext({\n ...options,\n elements: {\n reference: null,\n floating: null,\n ...options.elements\n }\n });\n const rootContext = options.rootContext || internalRootContext;\n const computedElements = rootContext.elements;\n const [_domReference, setDomReference] = React.useState(null);\n const [positionReference, _setPositionReference] = React.useState(null);\n const optionDomReference = computedElements == null ? void 0 : computedElements.domReference;\n const domReference = optionDomReference || _domReference;\n const domReferenceRef = React.useRef(null);\n const tree = useFloatingTree();\n index(() => {\n if (domReference) {\n domReferenceRef.current = domReference;\n }\n }, [domReference]);\n const position = useFloating$1({\n ...options,\n elements: {\n ...computedElements,\n ...(positionReference && {\n reference: positionReference\n })\n }\n });\n const setPositionReference = React.useCallback(node => {\n const computedPositionReference = isElement(node) ? {\n getBoundingClientRect: () => node.getBoundingClientRect(),\n contextElement: node\n } : node;\n // Store the positionReference in state if the DOM reference is specified externally via the\n // `elements.reference` option. This ensures that it won't be overridden on future renders.\n _setPositionReference(computedPositionReference);\n position.refs.setReference(computedPositionReference);\n }, [position.refs]);\n const setReference = React.useCallback(node => {\n if (isElement(node) || node === null) {\n domReferenceRef.current = node;\n setDomReference(node);\n }\n\n // Backwards-compatibility for passing a virtual element to `reference`\n // after it has set the DOM reference.\n if (isElement(position.refs.reference.current) || position.refs.reference.current === null ||\n // Don't allow setting virtual elements using the old technique back to\n // `null` to support `positionReference` + an unstable `reference`\n // callback ref.\n node !== null && !isElement(node)) {\n position.refs.setReference(node);\n }\n }, [position.refs]);\n const refs = React.useMemo(() => ({\n ...position.refs,\n setReference,\n setPositionReference,\n domReference: domReferenceRef\n }), [position.refs, setReference, setPositionReference]);\n const elements = React.useMemo(() => ({\n ...position.elements,\n domReference: domReference\n }), [position.elements, domReference]);\n const context = React.useMemo(() => ({\n ...position,\n ...rootContext,\n refs,\n elements,\n nodeId\n }), [position, refs, elements, nodeId, rootContext]);\n index(() => {\n rootContext.dataRef.current.floatingContext = context;\n const node = tree == null ? void 0 : tree.nodesRef.current.find(node => node.id === nodeId);\n if (node) {\n node.context = context;\n }\n });\n return React.useMemo(() => ({\n ...position,\n context,\n refs,\n elements\n }), [position, refs, elements, context]);\n}\n\n/**\n * Opens the floating element while the reference element has focus, like CSS\n * `:focus`.\n * @see https://floating-ui.com/docs/useFocus\n */\nfunction useFocus(context, props) {\n if (props === void 0) {\n props = {};\n }\n const {\n open,\n onOpenChange,\n events,\n dataRef,\n elements\n } = context;\n const {\n enabled = true,\n visibleOnly = true\n } = props;\n const blockFocusRef = React.useRef(false);\n const timeoutRef = React.useRef(-1);\n const keyboardModalityRef = React.useRef(true);\n React.useEffect(() => {\n if (!enabled) return;\n const win = getWindow(elements.domReference);\n\n // If the reference was focused and the user left the tab/window, and the\n // floating element was not open, the focus should be blocked when they\n // return to the tab/window.\n function onBlur() {\n if (!open && isHTMLElement(elements.domReference) && elements.domReference === activeElement(getDocument(elements.domReference))) {\n blockFocusRef.current = true;\n }\n }\n function onKeyDown() {\n keyboardModalityRef.current = true;\n }\n win.addEventListener('blur', onBlur);\n win.addEventListener('keydown', onKeyDown, true);\n return () => {\n win.removeEventListener('blur', onBlur);\n win.removeEventListener('keydown', onKeyDown, true);\n };\n }, [elements.domReference, open, enabled]);\n React.useEffect(() => {\n if (!enabled) return;\n function onOpenChange(_ref) {\n let {\n reason\n } = _ref;\n if (reason === 'reference-press' || reason === 'escape-key') {\n blockFocusRef.current = true;\n }\n }\n events.on('openchange', onOpenChange);\n return () => {\n events.off('openchange', onOpenChange);\n };\n }, [events, enabled]);\n React.useEffect(() => {\n return () => {\n clearTimeoutIfSet(timeoutRef);\n };\n }, []);\n const reference = React.useMemo(() => ({\n onPointerDown(event) {\n if (isVirtualPointerEvent(event.nativeEvent)) return;\n keyboardModalityRef.current = false;\n },\n onMouseLeave() {\n blockFocusRef.current = false;\n },\n onFocus(event) {\n if (blockFocusRef.current) return;\n const target = getTarget(event.nativeEvent);\n if (visibleOnly && isElement(target)) {\n try {\n // Mac Safari unreliably matches `:focus-visible` on the reference\n // if focus was outside the page initially - use the fallback\n // instead.\n if (isSafari() && isMac()) throw Error();\n if (!target.matches(':focus-visible')) return;\n } catch (_e) {\n // Old browsers will throw an error when using `:focus-visible`.\n if (!keyboardModalityRef.current && !isTypeableElement(target)) {\n return;\n }\n }\n }\n onOpenChange(true, event.nativeEvent, 'focus');\n },\n onBlur(event) {\n blockFocusRef.current = false;\n const relatedTarget = event.relatedTarget;\n const nativeEvent = event.nativeEvent;\n\n // Hit the non-modal focus management portal guard. Focus will be\n // moved into the floating element immediately after.\n const movedToFocusGuard = isElement(relatedTarget) && relatedTarget.hasAttribute(createAttribute('focus-guard')) && relatedTarget.getAttribute('data-type') === 'outside';\n\n // Wait for the window blur listener to fire.\n timeoutRef.current = window.setTimeout(() => {\n var _dataRef$current$floa;\n const activeEl = activeElement(elements.domReference ? elements.domReference.ownerDocument : document);\n\n // Focus left the page, keep it open.\n if (!relatedTarget && activeEl === elements.domReference) return;\n\n // When focusing the reference element (e.g. regular click), then\n // clicking into the floating element, prevent it from hiding.\n // Note: it must be focusable, e.g. `tabindex=\"-1\"`.\n // We can not rely on relatedTarget to point to the correct element\n // as it will only point to the shadow host of the newly focused element\n // and not the element that actually has received focus if it is located\n // inside a shadow root.\n if (contains((_dataRef$current$floa = dataRef.current.floatingContext) == null ? void 0 : _dataRef$current$floa.refs.floating.current, activeEl) || contains(elements.domReference, activeEl) || movedToFocusGuard) {\n return;\n }\n onOpenChange(false, nativeEvent, 'focus');\n });\n }\n }), [dataRef, elements.domReference, onOpenChange, visibleOnly]);\n return React.useMemo(() => enabled ? {\n reference\n } : {}, [enabled, reference]);\n}\n\nconst ACTIVE_KEY = 'active';\nconst SELECTED_KEY = 'selected';\nfunction mergeProps(userProps, propsList, elementKey) {\n const map = new Map();\n const isItem = elementKey === 'item';\n let domUserProps = userProps;\n if (isItem && userProps) {\n const {\n [ACTIVE_KEY]: _,\n [SELECTED_KEY]: __,\n ...validProps\n } = userProps;\n domUserProps = validProps;\n }\n return {\n ...(elementKey === 'floating' && {\n tabIndex: -1,\n [FOCUSABLE_ATTRIBUTE]: ''\n }),\n ...domUserProps,\n ...propsList.map(value => {\n const propsOrGetProps = value ? value[elementKey] : null;\n if (typeof propsOrGetProps === 'function') {\n return userProps ? propsOrGetProps(userProps) : null;\n }\n return propsOrGetProps;\n }).concat(userProps).reduce((acc, props) => {\n if (!props) {\n return acc;\n }\n Object.entries(props).forEach(_ref => {\n let [key, value] = _ref;\n if (isItem && [ACTIVE_KEY, SELECTED_KEY].includes(key)) {\n return;\n }\n if (key.indexOf('on') === 0) {\n if (!map.has(key)) {\n map.set(key, []);\n }\n if (typeof value === 'function') {\n var _map$get;\n (_map$get = map.get(key)) == null || _map$get.push(value);\n acc[key] = function () {\n var _map$get2;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n return (_map$get2 = map.get(key)) == null ? void 0 : _map$get2.map(fn => fn(...args)).find(val => val !== undefined);\n };\n }\n } else {\n acc[key] = value;\n }\n });\n return acc;\n }, {})\n };\n}\n/**\n * Merges an array of interaction hooks' props into prop getters, allowing\n * event handler functions to be composed together without overwriting one\n * another.\n * @see https://floating-ui.com/docs/useInteractions\n */\nfunction useInteractions(propsList) {\n if (propsList === void 0) {\n propsList = [];\n }\n const referenceDeps = propsList.map(key => key == null ? void 0 : key.reference);\n const floatingDeps = propsList.map(key => key == null ? void 0 : key.floating);\n const itemDeps = propsList.map(key => key == null ? void 0 : key.item);\n const getReferenceProps = React.useCallback(userProps => mergeProps(userProps, propsList, 'reference'),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n referenceDeps);\n const getFloatingProps = React.useCallback(userProps => mergeProps(userProps, propsList, 'floating'),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n floatingDeps);\n const getItemProps = React.useCallback(userProps => mergeProps(userProps, propsList, 'item'),\n // eslint-disable-next-line react-hooks/exhaustive-deps\n itemDeps);\n return React.useMemo(() => ({\n getReferenceProps,\n getFloatingProps,\n getItemProps\n }), [getReferenceProps, getFloatingProps, getItemProps]);\n}\n\nconst ESCAPE = 'Escape';\nfunction doSwitch(orientation, vertical, horizontal) {\n switch (orientation) {\n case 'vertical':\n return vertical;\n case 'horizontal':\n return horizontal;\n default:\n return vertical || horizontal;\n }\n}\nfunction isMainOrientationKey(key, orientation) {\n const vertical = key === ARROW_UP || key === ARROW_DOWN;\n const horizontal = key === ARROW_LEFT || key === ARROW_RIGHT;\n return doSwitch(orientation, vertical, horizontal);\n}\nfunction isMainOrientationToEndKey(key, orientation, rtl) {\n const vertical = key === ARROW_DOWN;\n const horizontal = rtl ? key === ARROW_LEFT : key === ARROW_RIGHT;\n return doSwitch(orientation, vertical, horizontal) || key === 'Enter' || key === ' ' || key === '';\n}\nfunction isCrossOrientationOpenKey(key, orientation, rtl) {\n const vertical = rtl ? key === ARROW_LEFT : key === ARROW_RIGHT;\n const horizontal = key === ARROW_DOWN;\n return doSwitch(orientation, vertical, horizontal);\n}\nfunction isCrossOrientationCloseKey(key, orientation, rtl, cols) {\n const vertical = rtl ? key === ARROW_RIGHT : key === ARROW_LEFT;\n const horizontal = key === ARROW_UP;\n if (orientation === 'both' || orientation === 'horizontal' && cols && cols > 1) {\n return key === ESCAPE;\n }\n return doSwitch(orientation, vertical, horizontal);\n}\n/**\n * Adds arrow key-based navigation of a list of items, either using real DOM\n * focus or virtual focus.\n * @see https://floating-ui.com/docs/useListNavigation\n */\nfunction useListNavigation(context, props) {\n const {\n open,\n onOpenChange,\n elements\n } = context;\n const {\n listRef,\n activeIndex,\n onNavigate: unstable_onNavigate = () => {},\n enabled = true,\n selectedIndex = null,\n allowEscape = false,\n loop = false,\n nested = false,\n rtl = false,\n virtual = false,\n focusItemOnOpen = 'auto',\n focusItemOnHover = true,\n openOnArrowKeyDown = true,\n disabledIndices = undefined,\n orientation = 'vertical',\n cols = 1,\n scrollItemIntoView = true,\n virtualItemRef,\n itemSizes,\n dense = false\n } = props;\n if (process.env.NODE_ENV !== \"production\") {\n if (allowEscape) {\n if (!loop) {\n warn('`useListNavigation` looping must be enabled to allow escaping.');\n }\n if (!virtual) {\n warn('`useListNavigation` must be virtual to allow escaping.');\n }\n }\n if (orientation === 'vertical' && cols > 1) {\n warn('In grid list navigation mode (`cols` > 1), the `orientation` should', 'be either \"horizontal\" or \"both\".');\n }\n }\n const floatingFocusElement = getFloatingFocusElement(elements.floating);\n const floatingFocusElementRef = useLatestRef(floatingFocusElement);\n const parentId = useFloatingParentNodeId();\n const tree = useFloatingTree();\n index(() => {\n context.dataRef.current.orientation = orientation;\n }, [context, orientation]);\n const onNavigate = useEffectEvent(() => {\n unstable_onNavigate(indexRef.current === -1 ? null : indexRef.current);\n });\n const typeableComboboxReference = isTypeableCombobox(elements.domReference);\n const focusItemOnOpenRef = React.useRef(focusItemOnOpen);\n const indexRef = React.useRef(selectedIndex != null ? selectedIndex : -1);\n const keyRef = React.useRef(null);\n const isPointerModalityRef = React.useRef(true);\n const previousOnNavigateRef = React.useRef(onNavigate);\n const previousMountedRef = React.useRef(!!elements.floating);\n const previousOpenRef = React.useRef(open);\n const forceSyncFocusRef = React.useRef(false);\n const forceScrollIntoViewRef = React.useRef(false);\n const disabledIndicesRef = useLatestRef(disabledIndices);\n const latestOpenRef = useLatestRef(open);\n const scrollItemIntoViewRef = useLatestRef(scrollItemIntoView);\n const selectedIndexRef = useLatestRef(selectedIndex);\n const [activeId, setActiveId] = React.useState();\n const [virtualId, setVirtualId] = React.useState();\n const focusItem = useEffectEvent(() => {\n function runFocus(item) {\n if (virtual) {\n setActiveId(item.id);\n tree == null || tree.events.emit('virtualfocus', item);\n if (virtualItemRef) {\n virtualItemRef.current = item;\n }\n } else {\n enqueueFocus(item, {\n sync: forceSyncFocusRef.current,\n preventScroll: true\n });\n }\n }\n const initialItem = listRef.current[indexRef.current];\n if (initialItem) {\n runFocus(initialItem);\n }\n const scheduler = forceSyncFocusRef.current ? v => v() : requestAnimationFrame;\n scheduler(() => {\n const waitedItem = listRef.current[indexRef.current] || initialItem;\n if (!waitedItem) return;\n if (!initialItem) {\n runFocus(waitedItem);\n }\n const scrollIntoViewOptions = scrollItemIntoViewRef.current;\n const shouldScrollIntoView = scrollIntoViewOptions && item && (forceScrollIntoViewRef.current || !isPointerModalityRef.current);\n if (shouldScrollIntoView) {\n // JSDOM doesn't support `.scrollIntoView()` but it's widely supported\n // by all browsers.\n waitedItem.scrollIntoView == null || waitedItem.scrollIntoView(typeof scrollIntoViewOptions === 'boolean' ? {\n block: 'nearest',\n inline: 'nearest'\n } : scrollIntoViewOptions);\n }\n });\n });\n\n // Sync `selectedIndex` to be the `activeIndex` upon opening the floating\n // element. Also, reset `activeIndex` upon closing the floating element.\n index(() => {\n if (!enabled) return;\n if (open && elements.floating) {\n if (focusItemOnOpenRef.current && selectedIndex != null) {\n // Regardless of the pointer modality, we want to ensure the selected\n // item comes into view when the floating element is opened.\n forceScrollIntoViewRef.current = true;\n indexRef.current = selectedIndex;\n onNavigate();\n }\n } else if (previousMountedRef.current) {\n // Since the user can specify `onNavigate` conditionally\n // (onNavigate: open ? setActiveIndex : setSelectedIndex),\n // we store and call the previous function.\n indexRef.current = -1;\n previousOnNavigateRef.current();\n }\n }, [enabled, open, elements.floating, selectedIndex, onNavigate]);\n\n // Sync `activeIndex` to be the focused item while the floating element is\n // open.\n index(() => {\n if (!enabled) return;\n if (!open) return;\n if (!elements.floating) return;\n if (activeIndex == null) {\n forceSyncFocusRef.current = false;\n if (selectedIndexRef.current != null) {\n return;\n }\n\n // Reset while the floating element was open (e.g. the list changed).\n if (previousMountedRef.current) {\n indexRef.current = -1;\n focusItem();\n }\n\n // Initial sync.\n if ((!previousOpenRef.current || !previousMountedRef.current) && focusItemOnOpenRef.current && (keyRef.current != null || focusItemOnOpenRef.current === true && keyRef.current == null)) {\n let runs = 0;\n const waitForListPopulated = () => {\n if (listRef.current[0] == null) {\n // Avoid letting the browser paint if possible on the first try,\n // otherwise use rAF. Don't try more than twice, since something\n // is wrong otherwise.\n if (runs < 2) {\n const scheduler = runs ? requestAnimationFrame : queueMicrotask;\n scheduler(waitForListPopulated);\n }\n runs++;\n } else {\n indexRef.current = keyRef.current == null || isMainOrientationToEndKey(keyRef.current, orientation, rtl) || nested ? getMinIndex(listRef, disabledIndicesRef.current) : getMaxIndex(listRef, disabledIndicesRef.current);\n keyRef.current = null;\n onNavigate();\n }\n };\n waitForListPopulated();\n }\n } else if (!isIndexOutOfBounds(listRef, activeIndex)) {\n indexRef.current = activeIndex;\n focusItem();\n forceScrollIntoViewRef.current = false;\n }\n }, [enabled, open, elements.floating, activeIndex, selectedIndexRef, nested, listRef, orientation, rtl, onNavigate, focusItem, disabledIndicesRef]);\n\n // Ensure the parent floating element has focus when a nested child closes\n // to allow arrow key navigation to work after the pointer leaves the child.\n index(() => {\n var _nodes$find;\n if (!enabled || elements.floating || !tree || virtual || !previousMountedRef.current) {\n return;\n }\n const nodes = tree.nodesRef.current;\n const parent = (_nodes$find = nodes.find(node => node.id === parentId)) == null || (_nodes$find = _nodes$find.context) == null ? void 0 : _nodes$find.elements.floating;\n const activeEl = activeElement(getDocument(elements.floating));\n const treeContainsActiveEl = nodes.some(node => node.context && contains(node.context.elements.floating, activeEl));\n if (parent && !treeContainsActiveEl && isPointerModalityRef.current) {\n parent.focus({\n preventScroll: true\n });\n }\n }, [enabled, elements.floating, tree, parentId, virtual]);\n index(() => {\n if (!enabled) return;\n if (!tree) return;\n if (!virtual) return;\n if (parentId) return;\n function handleVirtualFocus(item) {\n setVirtualId(item.id);\n if (virtualItemRef) {\n virtualItemRef.current = item;\n }\n }\n tree.events.on('virtualfocus', handleVirtualFocus);\n return () => {\n tree.events.off('virtualfocus', handleVirtualFocus);\n };\n }, [enabled, tree, virtual, parentId, virtualItemRef]);\n index(() => {\n previousOnNavigateRef.current = onNavigate;\n previousOpenRef.current = open;\n previousMountedRef.current = !!elements.floating;\n });\n index(() => {\n if (!open) {\n keyRef.current = null;\n }\n }, [open]);\n const hasActiveIndex = activeIndex != null;\n const item = React.useMemo(() => {\n function syncCurrentTarget(currentTarget) {\n if (!open) return;\n const index = listRef.current.indexOf(currentTarget);\n if (index !== -1 && indexRef.current !== index) {\n indexRef.current = index;\n onNavigate();\n }\n }\n const props = {\n onFocus(_ref) {\n let {\n currentTarget\n } = _ref;\n forceSyncFocusRef.current = true;\n syncCurrentTarget(currentTarget);\n },\n onClick: _ref2 => {\n let {\n currentTarget\n } = _ref2;\n return currentTarget.focus({\n preventScroll: true\n });\n },\n // Safari\n ...(focusItemOnHover && {\n onMouseMove(_ref3) {\n let {\n currentTarget\n } = _ref3;\n forceSyncFocusRef.current = true;\n forceScrollIntoViewRef.current = false;\n syncCurrentTarget(currentTarget);\n },\n onPointerLeave(_ref4) {\n let {\n pointerType\n } = _ref4;\n if (!isPointerModalityRef.current || pointerType === 'touch') {\n return;\n }\n forceSyncFocusRef.current = true;\n indexRef.current = -1;\n onNavigate();\n if (!virtual) {\n var _floatingFocusElement;\n (_floatingFocusElement = floatingFocusElementRef.current) == null || _floatingFocusElement.focus({\n preventScroll: true\n });\n }\n }\n })\n };\n return props;\n }, [open, floatingFocusElementRef, focusItemOnHover, listRef, onNavigate, virtual]);\n const commonOnKeyDown = useEffectEvent(event => {\n isPointerModalityRef.current = false;\n forceSyncFocusRef.current = true;\n\n // When composing a character, Chrome fires ArrowDown twice. Firefox/Safari\n // don't appear to suffer from this. `event.isComposing` is avoided due to\n // Safari not supporting it properly (although it's not needed in the first\n // place for Safari, just avoiding any possible issues).\n if (event.which === 229) {\n return;\n }\n\n // If the floating element is animating out, ignore navigation. Otherwise,\n // the `activeIndex` gets set to 0 despite not being open so the next time\n // the user ArrowDowns, the first item won't be focused.\n if (!latestOpenRef.current && event.currentTarget === floatingFocusElementRef.current) {\n return;\n }\n if (nested && isCrossOrientationCloseKey(event.key, orientation, rtl, cols)) {\n stopEvent(event);\n onOpenChange(false, event.nativeEvent, 'list-navigation');\n if (isHTMLElement(elements.domReference)) {\n if (virtual) {\n tree == null || tree.events.emit('virtualfocus', elements.domReference);\n } else {\n elements.domReference.focus();\n }\n }\n return;\n }\n const currentIndex = indexRef.current;\n const minIndex = getMinIndex(listRef, disabledIndices);\n const maxIndex = getMaxIndex(listRef, disabledIndices);\n if (!typeableComboboxReference) {\n if (event.key === 'Home') {\n stopEvent(event);\n indexRef.current = minIndex;\n onNavigate();\n }\n if (event.key === 'End') {\n stopEvent(event);\n indexRef.current = maxIndex;\n onNavigate();\n }\n }\n\n // Grid navigation.\n if (cols > 1) {\n const sizes = itemSizes || Array.from({\n length: listRef.current.length\n }, () => ({\n width: 1,\n height: 1\n }));\n // To calculate movements on the grid, we use hypothetical cell indices\n // as if every item was 1x1, then convert back to real indices.\n const cellMap = buildCellMap(sizes, cols, dense);\n const minGridIndex = cellMap.findIndex(index => index != null && !isDisabled(listRef.current, index, disabledIndices));\n // last enabled index\n const maxGridIndex = cellMap.reduce((foundIndex, index, cellIndex) => index != null && !isDisabled(listRef.current, index, disabledIndices) ? cellIndex : foundIndex, -1);\n const index = cellMap[getGridNavigatedIndex({\n current: cellMap.map(itemIndex => itemIndex != null ? listRef.current[itemIndex] : null)\n }, {\n event,\n orientation,\n loop,\n rtl,\n cols,\n // treat undefined (empty grid spaces) as disabled indices so we\n // don't end up in them\n disabledIndices: getCellIndices([...(disabledIndices || listRef.current.map((_, index) => isDisabled(listRef.current, index) ? index : undefined)), undefined], cellMap),\n minIndex: minGridIndex,\n maxIndex: maxGridIndex,\n prevIndex: getCellIndexOfCorner(indexRef.current > maxIndex ? minIndex : indexRef.current, sizes, cellMap, cols,\n // use a corner matching the edge closest to the direction\n // we're moving in so we don't end up in the same item. Prefer\n // top/left over bottom/right.\n event.key === ARROW_DOWN ? 'bl' : event.key === (rtl ? ARROW_LEFT : ARROW_RIGHT) ? 'tr' : 'tl'),\n stopEvent: true\n })];\n if (index != null) {\n indexRef.current = index;\n onNavigate();\n }\n if (orientation === 'both') {\n return;\n }\n }\n if (isMainOrientationKey(event.key, orientation)) {\n stopEvent(event);\n\n // Reset the index if no item is focused.\n if (open && !virtual && activeElement(event.currentTarget.ownerDocument) === event.currentTarget) {\n indexRef.current = isMainOrientationToEndKey(event.key, orientation, rtl) ? minIndex : maxIndex;\n onNavigate();\n return;\n }\n if (isMainOrientationToEndKey(event.key, orientation, rtl)) {\n if (loop) {\n indexRef.current = currentIndex >= maxIndex ? allowEscape && currentIndex !== listRef.current.length ? -1 : minIndex : findNonDisabledIndex(listRef, {\n startingIndex: currentIndex,\n disabledIndices\n });\n } else {\n indexRef.current = Math.min(maxIndex, findNonDisabledIndex(listRef, {\n startingIndex: currentIndex,\n disabledIndices\n }));\n }\n } else {\n if (loop) {\n indexRef.current = currentIndex <= minIndex ? allowEscape && currentIndex !== -1 ? listRef.current.length : maxIndex : findNonDisabledIndex(listRef, {\n startingIndex: currentIndex,\n decrement: true,\n disabledIndices\n });\n } else {\n indexRef.current = Math.max(minIndex, findNonDisabledIndex(listRef, {\n startingIndex: currentIndex,\n decrement: true,\n disabledIndices\n }));\n }\n }\n if (isIndexOutOfBounds(listRef, indexRef.current)) {\n indexRef.current = -1;\n }\n onNavigate();\n }\n });\n const ariaActiveDescendantProp = React.useMemo(() => {\n return virtual && open && hasActiveIndex && {\n 'aria-activedescendant': virtualId || activeId\n };\n }, [virtual, open, hasActiveIndex, virtualId, activeId]);\n const floating = React.useMemo(() => {\n return {\n 'aria-orientation': orientation === 'both' ? undefined : orientation,\n ...(!typeableComboboxReference ? ariaActiveDescendantProp : {}),\n onKeyDown: commonOnKeyDown,\n onPointerMove() {\n isPointerModalityRef.current = true;\n }\n };\n }, [ariaActiveDescendantProp, commonOnKeyDown, orientation, typeableComboboxReference]);\n const reference = React.useMemo(() => {\n function checkVirtualMouse(event) {\n if (focusItemOnOpen === 'auto' && isVirtualClick(event.nativeEvent)) {\n focusItemOnOpenRef.current = true;\n }\n }\n function checkVirtualPointer(event) {\n // `pointerdown` fires first, reset the state then perform the checks.\n focusItemOnOpenRef.current = focusItemOnOpen;\n if (focusItemOnOpen === 'auto' && isVirtualPointerEvent(event.nativeEvent)) {\n focusItemOnOpenRef.current = true;\n }\n }\n return {\n ...ariaActiveDescendantProp,\n onKeyDown(event) {\n var _tree$nodesRef$curren;\n isPointerModalityRef.current = false;\n const isArrowKey = event.key.startsWith('Arrow');\n const isHomeOrEndKey = ['Home', 'End'].includes(event.key);\n const isMoveKey = isArrowKey || isHomeOrEndKey;\n const parentOrientation = tree == null || (_tree$nodesRef$curren = tree.nodesRef.current.find(node => node.id === parentId)) == null || (_tree$nodesRef$curren = _tree$nodesRef$curren.context) == null || (_tree$nodesRef$curren = _tree$nodesRef$curren.dataRef) == null ? void 0 : _tree$nodesRef$curren.current.orientation;\n const isCrossOpenKey = isCrossOrientationOpenKey(event.key, orientation, rtl);\n const isCrossCloseKey = isCrossOrientationCloseKey(event.key, orientation, rtl, cols);\n const isParentCrossOpenKey = isCrossOrientationOpenKey(event.key, parentOrientation, rtl);\n const isMainKey = isMainOrientationKey(event.key, orientation);\n const isNavigationKey = (nested ? isParentCrossOpenKey : isMainKey) || event.key === 'Enter' || event.key.trim() === '';\n if (virtual && open) {\n const rootNode = tree == null ? void 0 : tree.nodesRef.current.find(node => node.parentId == null);\n const deepestNode = tree && rootNode ? getDeepestNode(tree.nodesRef.current, rootNode.id) : null;\n if (isMoveKey && deepestNode && virtualItemRef) {\n const eventObject = new KeyboardEvent('keydown', {\n key: event.key,\n bubbles: true\n });\n if (isCrossOpenKey || isCrossCloseKey) {\n var _deepestNode$context, _deepestNode$context2;\n const isCurrentTarget = ((_deepestNode$context = deepestNode.context) == null ? void 0 : _deepestNode$context.elements.domReference) === event.currentTarget;\n const dispatchItem = isCrossCloseKey && !isCurrentTarget ? (_deepestNode$context2 = deepestNode.context) == null ? void 0 : _deepestNode$context2.elements.domReference : isCrossOpenKey ? listRef.current.find(item => (item == null ? void 0 : item.id) === activeId) : null;\n if (dispatchItem) {\n stopEvent(event);\n dispatchItem.dispatchEvent(eventObject);\n setVirtualId(undefined);\n }\n }\n if ((isMainKey || isHomeOrEndKey) && deepestNode.context) {\n if (deepestNode.context.open && deepestNode.parentId && event.currentTarget !== deepestNode.context.elements.domReference) {\n var _deepestNode$context$;\n stopEvent(event);\n (_deepestNode$context$ = deepestNode.context.elements.domReference) == null || _deepestNode$context$.dispatchEvent(eventObject);\n return;\n }\n }\n }\n return commonOnKeyDown(event);\n }\n // If a floating element should not open on arrow key down, avoid\n // setting `activeIndex` while it's closed.\n if (!open && !openOnArrowKeyDown && isArrowKey) {\n return;\n }\n if (isNavigationKey) {\n const isParentMainKey = isMainOrientationKey(event.key, parentOrientation);\n keyRef.current = nested && isParentMainKey ? null : event.key;\n }\n if (nested) {\n if (isParentCrossOpenKey) {\n stopEvent(event);\n if (open) {\n indexRef.current = getMinIndex(listRef, disabledIndicesRef.current);\n onNavigate();\n } else {\n onOpenChange(true, event.nativeEvent, 'list-navigation');\n }\n }\n return;\n }\n if (isMainKey) {\n if (selectedIndex != null) {\n indexRef.current = selectedIndex;\n }\n stopEvent(event);\n if (!open && openOnArrowKeyDown) {\n onOpenChange(true, event.nativeEvent, 'list-navigation');\n } else {\n commonOnKeyDown(event);\n }\n if (open) {\n onNavigate();\n }\n }\n },\n onFocus() {\n if (open && !virtual) {\n indexRef.current = -1;\n onNavigate();\n }\n },\n onPointerDown: checkVirtualPointer,\n onPointerEnter: checkVirtualPointer,\n onMouseDown: checkVirtualMouse,\n onClick: checkVirtualMouse\n };\n }, [activeId, ariaActiveDescendantProp, cols, commonOnKeyDown, disabledIndicesRef, focusItemOnOpen, listRef, nested, onNavigate, onOpenChange, open, openOnArrowKeyDown, orientation, parentId, rtl, selectedIndex, tree, virtual, virtualItemRef]);\n return React.useMemo(() => enabled ? {\n reference,\n floating,\n item\n } : {}, [enabled, reference, floating, item]);\n}\n\nconst componentRoleToAriaRoleMap = /*#__PURE__*/new Map([['select', 'listbox'], ['combobox', 'listbox'], ['label', false]]);\n\n/**\n * Adds base screen reader props to the reference and floating elements for a\n * given floating element `role`.\n * @see https://floating-ui.com/docs/useRole\n */\nfunction useRole(context, props) {\n var _componentRoleToAriaR;\n if (props === void 0) {\n props = {};\n }\n const {\n open,\n floatingId\n } = context;\n const {\n enabled = true,\n role = 'dialog'\n } = props;\n const ariaRole = (_componentRoleToAriaR = componentRoleToAriaRoleMap.get(role)) != null ? _componentRoleToAriaR : role;\n const referenceId = useId();\n const parentId = useFloatingParentNodeId();\n const isNested = parentId != null;\n const reference = React.useMemo(() => {\n if (ariaRole === 'tooltip' || role === 'label') {\n return {\n [\"aria-\" + (role === 'label' ? 'labelledby' : 'describedby')]: open ? floatingId : undefined\n };\n }\n return {\n 'aria-expanded': open ? 'true' : 'false',\n 'aria-haspopup': ariaRole === 'alertdialog' ? 'dialog' : ariaRole,\n 'aria-controls': open ? floatingId : undefined,\n ...(ariaRole === 'listbox' && {\n role: 'combobox'\n }),\n ...(ariaRole === 'menu' && {\n id: referenceId\n }),\n ...(ariaRole === 'menu' && isNested && {\n role: 'menuitem'\n }),\n ...(role === 'select' && {\n 'aria-autocomplete': 'none'\n }),\n ...(role === 'combobox' && {\n 'aria-autocomplete': 'list'\n })\n };\n }, [ariaRole, floatingId, isNested, open, referenceId, role]);\n const floating = React.useMemo(() => {\n const floatingProps = {\n id: floatingId,\n ...(ariaRole && {\n role: ariaRole\n })\n };\n if (ariaRole === 'tooltip' || role === 'label') {\n return floatingProps;\n }\n return {\n ...floatingProps,\n ...(ariaRole === 'menu' && {\n 'aria-labelledby': referenceId\n })\n };\n }, [ariaRole, floatingId, referenceId, role]);\n const item = React.useCallback(_ref => {\n let {\n active,\n selected\n } = _ref;\n const commonProps = {\n role: 'option',\n ...(active && {\n id: floatingId + \"-option\"\n })\n };\n\n // For `menu`, we are unable to tell if the item is a `menuitemradio`\n // or `menuitemcheckbox`. For backwards-compatibility reasons, also\n // avoid defaulting to `menuitem` as it may overwrite custom role props.\n switch (role) {\n case 'select':\n return {\n ...commonProps,\n 'aria-selected': active && selected\n };\n case 'combobox':\n {\n return {\n ...commonProps,\n ...(active && {\n 'aria-selected': true\n })\n };\n }\n }\n return {};\n }, [floatingId, role]);\n return React.useMemo(() => enabled ? {\n reference,\n floating,\n item\n } : {}, [enabled, reference, floating, item]);\n}\n\n// Converts a JS style key like `backgroundColor` to a CSS transition-property\n// like `background-color`.\nconst camelCaseToKebabCase = str => str.replace(/[A-Z]+(?![a-z])|[A-Z]/g, ($, ofs) => (ofs ? '-' : '') + $.toLowerCase());\nfunction execWithArgsOrReturn(valueOrFn, args) {\n return typeof valueOrFn === 'function' ? valueOrFn(args) : valueOrFn;\n}\nfunction useDelayUnmount(open, durationMs) {\n const [isMounted, setIsMounted] = React.useState(open);\n if (open && !isMounted) {\n setIsMounted(true);\n }\n React.useEffect(() => {\n if (!open && isMounted) {\n const timeout = setTimeout(() => setIsMounted(false), durationMs);\n return () => clearTimeout(timeout);\n }\n }, [open, isMounted, durationMs]);\n return isMounted;\n}\n/**\n * Provides a status string to apply CSS transitions to a floating element,\n * correctly handling placement-aware transitions.\n * @see https://floating-ui.com/docs/useTransition#usetransitionstatus\n */\nfunction useTransitionStatus(context, props) {\n if (props === void 0) {\n props = {};\n }\n const {\n open,\n elements: {\n floating\n }\n } = context;\n const {\n duration = 250\n } = props;\n const isNumberDuration = typeof duration === 'number';\n const closeDuration = (isNumberDuration ? duration : duration.close) || 0;\n const [status, setStatus] = React.useState('unmounted');\n const isMounted = useDelayUnmount(open, closeDuration);\n if (!isMounted && status === 'close') {\n setStatus('unmounted');\n }\n index(() => {\n if (!floating) return;\n if (open) {\n setStatus('initial');\n const frame = requestAnimationFrame(() => {\n setStatus('open');\n });\n return () => {\n cancelAnimationFrame(frame);\n };\n }\n setStatus('close');\n }, [open, floating]);\n return {\n isMounted,\n status\n };\n}\n/**\n * Provides styles to apply CSS transitions to a floating element, correctly\n * handling placement-aware transitions. Wrapper around `useTransitionStatus`.\n * @see https://floating-ui.com/docs/useTransition#usetransitionstyles\n */\nfunction useTransitionStyles(context, props) {\n if (props === void 0) {\n props = {};\n }\n const {\n initial: unstable_initial = {\n opacity: 0\n },\n open: unstable_open,\n close: unstable_close,\n common: unstable_common,\n duration = 250\n } = props;\n const placement = context.placement;\n const side = placement.split('-')[0];\n const fnArgs = React.useMemo(() => ({\n side,\n placement\n }), [side, placement]);\n const isNumberDuration = typeof duration === 'number';\n const openDuration = (isNumberDuration ? duration : duration.open) || 0;\n const closeDuration = (isNumberDuration ? duration : duration.close) || 0;\n const [styles, setStyles] = React.useState(() => ({\n ...execWithArgsOrReturn(unstable_common, fnArgs),\n ...execWithArgsOrReturn(unstable_initial, fnArgs)\n }));\n const {\n isMounted,\n status\n } = useTransitionStatus(context, {\n duration\n });\n const initialRef = useLatestRef(unstable_initial);\n const openRef = useLatestRef(unstable_open);\n const closeRef = useLatestRef(unstable_close);\n const commonRef = useLatestRef(unstable_common);\n index(() => {\n const initialStyles = execWithArgsOrReturn(initialRef.current, fnArgs);\n const closeStyles = execWithArgsOrReturn(closeRef.current, fnArgs);\n const commonStyles = execWithArgsOrReturn(commonRef.current, fnArgs);\n const openStyles = execWithArgsOrReturn(openRef.current, fnArgs) || Object.keys(initialStyles).reduce((acc, key) => {\n acc[key] = '';\n return acc;\n }, {});\n if (status === 'initial') {\n setStyles(styles => ({\n transitionProperty: styles.transitionProperty,\n ...commonStyles,\n ...initialStyles\n }));\n }\n if (status === 'open') {\n setStyles({\n transitionProperty: Object.keys(openStyles).map(camelCaseToKebabCase).join(','),\n transitionDuration: openDuration + \"ms\",\n ...commonStyles,\n ...openStyles\n });\n }\n if (status === 'close') {\n const styles = closeStyles || initialStyles;\n setStyles({\n transitionProperty: Object.keys(styles).map(camelCaseToKebabCase).join(','),\n transitionDuration: closeDuration + \"ms\",\n ...commonStyles,\n ...styles\n });\n }\n }, [closeDuration, closeRef, initialRef, openRef, commonRef, openDuration, status, fnArgs]);\n return {\n isMounted,\n styles\n };\n}\n\n/**\n * Provides a matching callback that can be used to focus an item as the user\n * types, often used in tandem with `useListNavigation()`.\n * @see https://floating-ui.com/docs/useTypeahead\n */\nfunction useTypeahead(context, props) {\n var _ref;\n const {\n open,\n dataRef\n } = context;\n const {\n listRef,\n activeIndex,\n onMatch: unstable_onMatch,\n onTypingChange: unstable_onTypingChange,\n enabled = true,\n findMatch = null,\n resetMs = 750,\n ignoreKeys = [],\n selectedIndex = null\n } = props;\n const timeoutIdRef = React.useRef(-1);\n const stringRef = React.useRef('');\n const prevIndexRef = React.useRef((_ref = selectedIndex != null ? selectedIndex : activeIndex) != null ? _ref : -1);\n const matchIndexRef = React.useRef(null);\n const onMatch = useEffectEvent(unstable_onMatch);\n const onTypingChange = useEffectEvent(unstable_onTypingChange);\n const findMatchRef = useLatestRef(findMatch);\n const ignoreKeysRef = useLatestRef(ignoreKeys);\n index(() => {\n if (open) {\n clearTimeoutIfSet(timeoutIdRef);\n matchIndexRef.current = null;\n stringRef.current = '';\n }\n }, [open]);\n index(() => {\n // Sync arrow key navigation but not typeahead navigation.\n if (open && stringRef.current === '') {\n var _ref2;\n prevIndexRef.current = (_ref2 = selectedIndex != null ? selectedIndex : activeIndex) != null ? _ref2 : -1;\n }\n }, [open, selectedIndex, activeIndex]);\n const setTypingChange = useEffectEvent(value => {\n if (value) {\n if (!dataRef.current.typing) {\n dataRef.current.typing = value;\n onTypingChange(value);\n }\n } else {\n if (dataRef.current.typing) {\n dataRef.current.typing = value;\n onTypingChange(value);\n }\n }\n });\n const onKeyDown = useEffectEvent(event => {\n function getMatchingIndex(list, orderedList, string) {\n const str = findMatchRef.current ? findMatchRef.current(orderedList, string) : orderedList.find(text => (text == null ? void 0 : text.toLocaleLowerCase().indexOf(string.toLocaleLowerCase())) === 0);\n return str ? list.indexOf(str) : -1;\n }\n const listContent = listRef.current;\n if (stringRef.current.length > 0 && stringRef.current[0] !== ' ') {\n if (getMatchingIndex(listContent, listContent, stringRef.current) === -1) {\n setTypingChange(false);\n } else if (event.key === ' ') {\n stopEvent(event);\n }\n }\n if (listContent == null || ignoreKeysRef.current.includes(event.key) ||\n // Character key.\n event.key.length !== 1 ||\n // Modifier key.\n event.ctrlKey || event.metaKey || event.altKey) {\n return;\n }\n if (open && event.key !== ' ') {\n stopEvent(event);\n setTypingChange(true);\n }\n\n // Bail out if the list contains a word like \"llama\" or \"aaron\". TODO:\n // allow it in this case, too.\n const allowRapidSuccessionOfFirstLetter = listContent.every(text => {\n var _text$, _text$2;\n return text ? ((_text$ = text[0]) == null ? void 0 : _text$.toLocaleLowerCase()) !== ((_text$2 = text[1]) == null ? void 0 : _text$2.toLocaleLowerCase()) : true;\n });\n\n // Allows the user to cycle through items that start with the same letter\n // in rapid succession.\n if (allowRapidSuccessionOfFirstLetter && stringRef.current === event.key) {\n stringRef.current = '';\n prevIndexRef.current = matchIndexRef.current;\n }\n stringRef.current += event.key;\n clearTimeoutIfSet(timeoutIdRef);\n timeoutIdRef.current = window.setTimeout(() => {\n stringRef.current = '';\n prevIndexRef.current = matchIndexRef.current;\n setTypingChange(false);\n }, resetMs);\n const prevIndex = prevIndexRef.current;\n const index = getMatchingIndex(listContent, [...listContent.slice((prevIndex || 0) + 1), ...listContent.slice(0, (prevIndex || 0) + 1)], stringRef.current);\n if (index !== -1) {\n onMatch(index);\n matchIndexRef.current = index;\n } else if (event.key !== ' ') {\n stringRef.current = '';\n setTypingChange(false);\n }\n });\n const reference = React.useMemo(() => ({\n onKeyDown\n }), [onKeyDown]);\n const floating = React.useMemo(() => {\n return {\n onKeyDown,\n onKeyUp(event) {\n if (event.key === ' ') {\n setTypingChange(false);\n }\n }\n };\n }, [onKeyDown, setTypingChange]);\n return React.useMemo(() => enabled ? {\n reference,\n floating\n } : {}, [enabled, reference, floating]);\n}\n\nfunction getArgsWithCustomFloatingHeight(state, height) {\n return {\n ...state,\n rects: {\n ...state.rects,\n floating: {\n ...state.rects.floating,\n height\n }\n }\n };\n}\n/**\n * Positions the floating element such that an inner element inside of it is\n * anchored to the reference element.\n * @see https://floating-ui.com/docs/inner\n * @deprecated\n */\nconst inner = props => ({\n name: 'inner',\n options: props,\n async fn(state) {\n const {\n listRef,\n overflowRef,\n onFallbackChange,\n offset: innerOffset = 0,\n index = 0,\n minItemsVisible = 4,\n referenceOverflowThreshold = 0,\n scrollRef,\n ...detectOverflowOptions\n } = evaluate(props, state);\n const {\n rects,\n elements: {\n floating\n }\n } = state;\n const item = listRef.current[index];\n const scrollEl = (scrollRef == null ? void 0 : scrollRef.current) || floating;\n\n // Valid combinations:\n // 1. Floating element is the scrollRef and has a border (default)\n // 2. Floating element is not the scrollRef, floating element has a border\n // 3. Floating element is not the scrollRef, scrollRef has a border\n // Floating > {...getFloatingProps()} wrapper > scrollRef > items is not\n // allowed as VoiceOver doesn't work.\n const clientTop = floating.clientTop || scrollEl.clientTop;\n const floatingIsBordered = floating.clientTop !== 0;\n const scrollElIsBordered = scrollEl.clientTop !== 0;\n const floatingIsScrollEl = floating === scrollEl;\n if (process.env.NODE_ENV !== \"production\") {\n if (!state.placement.startsWith('bottom')) {\n warn('`placement` side must be \"bottom\" when using the `inner`', 'middleware.');\n }\n }\n if (!item) {\n return {};\n }\n const nextArgs = {\n ...state,\n ...(await offset(-item.offsetTop - floating.clientTop - rects.reference.height / 2 - item.offsetHeight / 2 - innerOffset).fn(state))\n };\n const overflow = await detectOverflow(getArgsWithCustomFloatingHeight(nextArgs, scrollEl.scrollHeight + clientTop + floating.clientTop), detectOverflowOptions);\n const refOverflow = await detectOverflow(nextArgs, {\n ...detectOverflowOptions,\n elementContext: 'reference'\n });\n const diffY = max(0, overflow.top);\n const nextY = nextArgs.y + diffY;\n const isScrollable = scrollEl.scrollHeight > scrollEl.clientHeight;\n const rounder = isScrollable ? v => v : round;\n const maxHeight = rounder(max(0, scrollEl.scrollHeight + (floatingIsBordered && floatingIsScrollEl || scrollElIsBordered ? clientTop * 2 : 0) - diffY - max(0, overflow.bottom)));\n scrollEl.style.maxHeight = maxHeight + \"px\";\n scrollEl.scrollTop = diffY;\n\n // There is not enough space, fallback to standard anchored positioning\n if (onFallbackChange) {\n const shouldFallback = scrollEl.offsetHeight < item.offsetHeight * min(minItemsVisible, listRef.current.length) - 1 || refOverflow.top >= -referenceOverflowThreshold || refOverflow.bottom >= -referenceOverflowThreshold;\n ReactDOM.flushSync(() => onFallbackChange(shouldFallback));\n }\n if (overflowRef) {\n overflowRef.current = await detectOverflow(getArgsWithCustomFloatingHeight({\n ...nextArgs,\n y: nextY\n }, scrollEl.offsetHeight + clientTop + floating.clientTop), detectOverflowOptions);\n }\n return {\n y: nextY\n };\n }\n});\n/**\n * Changes the `inner` middleware's `offset` upon a `wheel` event to\n * expand the floating element's height, revealing more list items.\n * @see https://floating-ui.com/docs/inner\n * @deprecated\n */\nfunction useInnerOffset(context, props) {\n const {\n open,\n elements\n } = context;\n const {\n enabled = true,\n overflowRef,\n scrollRef,\n onChange: unstable_onChange\n } = props;\n const onChange = useEffectEvent(unstable_onChange);\n const controlledScrollingRef = React.useRef(false);\n const prevScrollTopRef = React.useRef(null);\n const initialOverflowRef = React.useRef(null);\n React.useEffect(() => {\n if (!enabled) return;\n function onWheel(e) {\n if (e.ctrlKey || !el || overflowRef.current == null) {\n return;\n }\n const dY = e.deltaY;\n const isAtTop = overflowRef.current.top >= -0.5;\n const isAtBottom = overflowRef.current.bottom >= -0.5;\n const remainingScroll = el.scrollHeight - el.clientHeight;\n const sign = dY < 0 ? -1 : 1;\n const method = dY < 0 ? 'max' : 'min';\n if (el.scrollHeight <= el.clientHeight) {\n return;\n }\n if (!isAtTop && dY > 0 || !isAtBottom && dY < 0) {\n e.preventDefault();\n ReactDOM.flushSync(() => {\n onChange(d => d + Math[method](dY, remainingScroll * sign));\n });\n } else if (/firefox/i.test(getUserAgent())) {\n // Needed to propagate scrolling during momentum scrolling phase once\n // it gets limited by the boundary. UX improvement, not critical.\n el.scrollTop += dY;\n }\n }\n const el = (scrollRef == null ? void 0 : scrollRef.current) || elements.floating;\n if (open && el) {\n el.addEventListener('wheel', onWheel);\n\n // Wait for the position to be ready.\n requestAnimationFrame(() => {\n prevScrollTopRef.current = el.scrollTop;\n if (overflowRef.current != null) {\n initialOverflowRef.current = {\n ...overflowRef.current\n };\n }\n });\n return () => {\n prevScrollTopRef.current = null;\n initialOverflowRef.current = null;\n el.removeEventListener('wheel', onWheel);\n };\n }\n }, [enabled, open, elements.floating, overflowRef, scrollRef, onChange]);\n const floating = React.useMemo(() => ({\n onKeyDown() {\n controlledScrollingRef.current = true;\n },\n onWheel() {\n controlledScrollingRef.current = false;\n },\n onPointerMove() {\n controlledScrollingRef.current = false;\n },\n onScroll() {\n const el = (scrollRef == null ? void 0 : scrollRef.current) || elements.floating;\n if (!overflowRef.current || !el || !controlledScrollingRef.current) {\n return;\n }\n if (prevScrollTopRef.current !== null) {\n const scrollDiff = el.scrollTop - prevScrollTopRef.current;\n if (overflowRef.current.bottom < -0.5 && scrollDiff < -1 || overflowRef.current.top < -0.5 && scrollDiff > 1) {\n ReactDOM.flushSync(() => onChange(d => d + scrollDiff));\n }\n }\n\n // [Firefox] Wait for the height change to have been applied.\n requestAnimationFrame(() => {\n prevScrollTopRef.current = el.scrollTop;\n });\n }\n }), [elements.floating, onChange, overflowRef, scrollRef]);\n return React.useMemo(() => enabled ? {\n floating\n } : {}, [enabled, floating]);\n}\n\nfunction isPointInPolygon(point, polygon) {\n const [x, y] = point;\n let isInside = false;\n const length = polygon.length;\n for (let i = 0, j = length - 1; i < length; j = i++) {\n const [xi, yi] = polygon[i] || [0, 0];\n const [xj, yj] = polygon[j] || [0, 0];\n const intersect = yi >= y !== yj >= y && x <= (xj - xi) * (y - yi) / (yj - yi) + xi;\n if (intersect) {\n isInside = !isInside;\n }\n }\n return isInside;\n}\nfunction isInside(point, rect) {\n return point[0] >= rect.x && point[0] <= rect.x + rect.width && point[1] >= rect.y && point[1] <= rect.y + rect.height;\n}\n/**\n * Generates a safe polygon area that the user can traverse without closing the\n * floating element once leaving the reference element.\n * @see https://floating-ui.com/docs/useHover#safepolygon\n */\nfunction safePolygon(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n buffer = 0.5,\n blockPointerEvents = false,\n requireIntent = true\n } = options;\n let timeoutId;\n let hasLanded = false;\n let lastX = null;\n let lastY = null;\n let lastCursorTime = performance.now();\n function getCursorSpeed(x, y) {\n const currentTime = performance.now();\n const elapsedTime = currentTime - lastCursorTime;\n if (lastX === null || lastY === null || elapsedTime === 0) {\n lastX = x;\n lastY = y;\n lastCursorTime = currentTime;\n return null;\n }\n const deltaX = x - lastX;\n const deltaY = y - lastY;\n const distance = Math.sqrt(deltaX * deltaX + deltaY * deltaY);\n const speed = distance / elapsedTime; // px / ms\n\n lastX = x;\n lastY = y;\n lastCursorTime = currentTime;\n return speed;\n }\n const fn = _ref => {\n let {\n x,\n y,\n placement,\n elements,\n onClose,\n nodeId,\n tree\n } = _ref;\n return function onMouseMove(event) {\n function close() {\n clearTimeout(timeoutId);\n onClose();\n }\n clearTimeout(timeoutId);\n if (!elements.domReference || !elements.floating || placement == null || x == null || y == null) {\n return;\n }\n const {\n clientX,\n clientY\n } = event;\n const clientPoint = [clientX, clientY];\n const target = getTarget(event);\n const isLeave = event.type === 'mouseleave';\n const isOverFloatingEl = contains(elements.floating, target);\n const isOverReferenceEl = contains(elements.domReference, target);\n const refRect = elements.domReference.getBoundingClientRect();\n const rect = elements.floating.getBoundingClientRect();\n const side = placement.split('-')[0];\n const cursorLeaveFromRight = x > rect.right - rect.width / 2;\n const cursorLeaveFromBottom = y > rect.bottom - rect.height / 2;\n const isOverReferenceRect = isInside(clientPoint, refRect);\n const isFloatingWider = rect.width > refRect.width;\n const isFloatingTaller = rect.height > refRect.height;\n const left = (isFloatingWider ? refRect : rect).left;\n const right = (isFloatingWider ? refRect : rect).right;\n const top = (isFloatingTaller ? refRect : rect).top;\n const bottom = (isFloatingTaller ? refRect : rect).bottom;\n if (isOverFloatingEl) {\n hasLanded = true;\n if (!isLeave) {\n return;\n }\n }\n if (isOverReferenceEl) {\n hasLanded = false;\n }\n if (isOverReferenceEl && !isLeave) {\n hasLanded = true;\n return;\n }\n\n // Prevent overlapping floating element from being stuck in an open-close\n // loop: https://github.com/floating-ui/floating-ui/issues/1910\n if (isLeave && isElement(event.relatedTarget) && contains(elements.floating, event.relatedTarget)) {\n return;\n }\n\n // If any nested child is open, abort.\n if (tree && getChildren(tree.nodesRef.current, nodeId).some(_ref2 => {\n let {\n context\n } = _ref2;\n return context == null ? void 0 : context.open;\n })) {\n return;\n }\n\n // If the pointer is leaving from the opposite side, the \"buffer\" logic\n // creates a point where the floating element remains open, but should be\n // ignored.\n // A constant of 1 handles floating point rounding errors.\n if (side === 'top' && y >= refRect.bottom - 1 || side === 'bottom' && y <= refRect.top + 1 || side === 'left' && x >= refRect.right - 1 || side === 'right' && x <= refRect.left + 1) {\n return close();\n }\n\n // Ignore when the cursor is within the rectangular trough between the\n // two elements. Since the triangle is created from the cursor point,\n // which can start beyond the ref element's edge, traversing back and\n // forth from the ref to the floating element can cause it to close. This\n // ensures it always remains open in that case.\n let rectPoly = [];\n switch (side) {\n case 'top':\n rectPoly = [[left, refRect.top + 1], [left, rect.bottom - 1], [right, rect.bottom - 1], [right, refRect.top + 1]];\n break;\n case 'bottom':\n rectPoly = [[left, rect.top + 1], [left, refRect.bottom - 1], [right, refRect.bottom - 1], [right, rect.top + 1]];\n break;\n case 'left':\n rectPoly = [[rect.right - 1, bottom], [rect.right - 1, top], [refRect.left + 1, top], [refRect.left + 1, bottom]];\n break;\n case 'right':\n rectPoly = [[refRect.right - 1, bottom], [refRect.right - 1, top], [rect.left + 1, top], [rect.left + 1, bottom]];\n break;\n }\n function getPolygon(_ref3) {\n let [x, y] = _ref3;\n switch (side) {\n case 'top':\n {\n const cursorPointOne = [isFloatingWider ? x + buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y + buffer + 1];\n const cursorPointTwo = [isFloatingWider ? x - buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y + buffer + 1];\n const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.bottom - buffer : isFloatingWider ? rect.bottom - buffer : rect.top], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.bottom - buffer : rect.top : rect.bottom - buffer]];\n return [cursorPointOne, cursorPointTwo, ...commonPoints];\n }\n case 'bottom':\n {\n const cursorPointOne = [isFloatingWider ? x + buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y - buffer];\n const cursorPointTwo = [isFloatingWider ? x - buffer / 2 : cursorLeaveFromRight ? x + buffer * 4 : x - buffer * 4, y - buffer];\n const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.top + buffer : isFloatingWider ? rect.top + buffer : rect.bottom], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.top + buffer : rect.bottom : rect.top + buffer]];\n return [cursorPointOne, cursorPointTwo, ...commonPoints];\n }\n case 'left':\n {\n const cursorPointOne = [x + buffer + 1, isFloatingTaller ? y + buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];\n const cursorPointTwo = [x + buffer + 1, isFloatingTaller ? y - buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];\n const commonPoints = [[cursorLeaveFromBottom ? rect.right - buffer : isFloatingTaller ? rect.right - buffer : rect.left, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.right - buffer : rect.left : rect.right - buffer, rect.bottom]];\n return [...commonPoints, cursorPointOne, cursorPointTwo];\n }\n case 'right':\n {\n const cursorPointOne = [x - buffer, isFloatingTaller ? y + buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];\n const cursorPointTwo = [x - buffer, isFloatingTaller ? y - buffer / 2 : cursorLeaveFromBottom ? y + buffer * 4 : y - buffer * 4];\n const commonPoints = [[cursorLeaveFromBottom ? rect.left + buffer : isFloatingTaller ? rect.left + buffer : rect.right, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.left + buffer : rect.right : rect.left + buffer, rect.bottom]];\n return [cursorPointOne, cursorPointTwo, ...commonPoints];\n }\n }\n }\n if (isPointInPolygon([clientX, clientY], rectPoly)) {\n return;\n }\n if (hasLanded && !isOverReferenceRect) {\n return close();\n }\n if (!isLeave && requireIntent) {\n const cursorSpeed = getCursorSpeed(event.clientX, event.clientY);\n const cursorSpeedThreshold = 0.1;\n if (cursorSpeed !== null && cursorSpeed < cursorSpeedThreshold) {\n return close();\n }\n }\n if (!isPointInPolygon([clientX, clientY], getPolygon([x, y]))) {\n close();\n } else if (!hasLanded && requireIntent) {\n timeoutId = window.setTimeout(close, 40);\n }\n };\n };\n fn.__options = {\n blockPointerEvents\n };\n return fn;\n}\n\nexport { Composite, CompositeItem, FloatingArrow, FloatingDelayGroup, FloatingFocusManager, FloatingList, FloatingNode, FloatingOverlay, FloatingPortal, FloatingTree, inner, safePolygon, useClick, useClientPoint, useDelayGroup, useDelayGroupContext, useDismiss, useFloating, useFloatingNodeId, useFloatingParentNodeId, useFloatingPortalNode, useFloatingRootContext, useFloatingTree, useFocus, useHover, useId, useInnerOffset, useInteractions, useListItem, useListNavigation, useMergeRefs, useRole, useTransitionStatus, useTransitionStyles, useTypeahead };\n","'use client';\n\nimport {\n type Placement,\n type Strategy,\n arrow,\n autoUpdate,\n flip,\n inline,\n limitShift,\n offset,\n safePolygon,\n shift,\n size,\n useClick,\n useDismiss,\n useFloating as useFloatingUI,\n useFocus,\n useHover,\n useInteractions,\n useRole,\n} from '@floating-ui/react';\nimport { type HTMLProps, type MouseEvent, type MouseEventHandler, type MutableRefObject, useState } from 'react';\nimport { TOOLTIP_TRIGGER, type TooltipTriggerType } from '../../types';\n\ntype UseTooltipUIProps = {\n arrowRef: MutableRefObject<HTMLElement | null>;\n cornerOffset?: number;\n flipCrossAxis: boolean;\n flipFallbackAxisSideDirection: 'none' | 'start' | 'end';\n flipFallbackPlacements?: Placement | Placement[];\n flipProp: boolean;\n isDismissible: boolean;\n isOpen?: boolean;\n offset?: number;\n onToggle: (isOpen: boolean) => void;\n isFocusableOnHover?: boolean;\n shiftProp: boolean;\n sizeProp: boolean;\n positionStrategy?: Strategy;\n tooltipArrowWidth?: number;\n tooltipMaxWidth?: number;\n tooltipPlacement?: Placement;\n trigger?: TooltipTriggerType[];\n};\n\n// Convert a string or array of strings to an array of strings (for placements)\nconst stringToArray = (value: Placement | Placement[]): Placement[] | undefined =>\n Array.isArray(value) ? value : [value];\n\nexport const useFloating = (props: UseTooltipUIProps) => {\n const {\n arrowRef,\n cornerOffset = 0,\n flipCrossAxis,\n flipFallbackAxisSideDirection = 'none',\n flipFallbackPlacements,\n flipProp,\n isDismissible,\n isOpen = false,\n offset: tooltipOffset = 0,\n onToggle,\n isFocusableOnHover,\n shiftProp,\n sizeProp,\n positionStrategy = 'absolute',\n tooltipArrowWidth = 0,\n tooltipPlacement,\n trigger,\n } = props;\n\n const [maxWidth, setMaxWidth] = useState<number | undefined>(undefined);\n const [isClicked, setIsClicked] = useState(false);\n const mainAxisOffset = cornerOffset + tooltipArrowWidth;\n\n const isHoverEnabled = trigger?.includes(TOOLTIP_TRIGGER.HOVER);\n const isClickEnabled = trigger?.includes(TOOLTIP_TRIGGER.CLICK);\n const isFocusEnabled = trigger?.includes(TOOLTIP_TRIGGER.FOCUS);\n\n const useSafePolygons = (isClickable: boolean) =>\n isClickable\n ? safePolygon({\n requireIntent: false,\n })\n : undefined;\n\n // Floating UI library settings\n const { x, y, floatingStyles, refs, context, placement, middlewareData } = useFloatingUI({\n open: isOpen,\n onOpenChange: (open, event, reason) => {\n if (isHoverEnabled) {\n // if tooltip is opened by click, do not close until clicked again or outside press or escape key\n if (reason === TOOLTIP_TRIGGER.CLICK) {\n setIsClicked((prev) => !prev);\n }\n if (isOpen && isClicked && reason === TOOLTIP_TRIGGER.HOVER) {\n return;\n }\n if (\n isOpen &&\n isClicked &&\n (reason === TOOLTIP_TRIGGER.CLICK ||\n reason === TOOLTIP_TRIGGER.OUTSIDE_PRESS ||\n reason === TOOLTIP_TRIGGER.ESCAPE_KEY)\n ) {\n setIsClicked(false);\n onToggle(false);\n\n return;\n }\n }\n\n onToggle(open);\n },\n placement: tooltipPlacement,\n whileElementsMounted: autoUpdate,\n middleware: [\n // order matters for correct behavior, please don't sort by alphabet or change order!\n offset(tooltipOffset), // offset from CSS variable (--tooltip-offset)\n inline(),\n flipProp &&\n flip({\n crossAxis: flipCrossAxis,\n fallbackPlacements: flipFallbackPlacements ? stringToArray(flipFallbackPlacements) : undefined,\n fallbackAxisSideDirection: flipFallbackAxisSideDirection,\n }),\n shiftProp &&\n shift({\n limiter: limitShift({\n offset: () => ({\n mainAxis: mainAxisOffset,\n }),\n }),\n }),\n sizeProp &&\n size({\n apply({ availableWidth }: { availableWidth: number }) {\n setMaxWidth(availableWidth);\n },\n }),\n arrow({ element: arrowRef.current, padding: cornerOffset }), // should be the last middleware\n ],\n strategy: positionStrategy,\n });\n\n // Floating UI library interaction hooks\n const click = useClick(context, { enabled: isClickEnabled });\n const hover = useHover(context, {\n enabled: isHoverEnabled,\n handleClose: useSafePolygons(!!isFocusableOnHover),\n });\n const focus = useFocus(context, { enabled: isFocusEnabled });\n const dismiss = useDismiss(context, { outsidePress: !isDismissible });\n const role = useRole(context, { role: 'tooltip' });\n const { getReferenceProps: originalGetReferenceProps, getFloatingProps } = useInteractions([\n click,\n hover,\n focus,\n dismiss,\n role,\n ]);\n\n // Wrap getReferenceProps to ensure clicking focuses the element when focus trigger is enabled\n // This matches the web JS behavior where clicking a focusable element naturally focuses it\n const getReferenceProps = (userProps?: HTMLProps<Element>) => {\n const referenceProps = originalGetReferenceProps(userProps);\n\n if (isFocusEnabled) {\n const originalOnMouseDown = referenceProps.onMouseDown as ((event: MouseEvent<Element>) => void) | undefined;\n\n referenceProps.onMouseDown = ((event: MouseEvent<Element>) => {\n if (originalOnMouseDown) {\n originalOnMouseDown(event);\n }\n\n const element = event.currentTarget;\n\n if (element && element !== document.activeElement) {\n const isFocusable =\n element instanceof HTMLElement &&\n (element.tabIndex >= 0 ||\n element instanceof HTMLButtonElement ||\n element instanceof HTMLAnchorElement ||\n element instanceof HTMLInputElement ||\n element instanceof HTMLSelectElement ||\n element instanceof HTMLTextAreaElement);\n\n if (isFocusable) {\n (element as HTMLElement).focus();\n }\n }\n }) as MouseEventHandler<Element>;\n }\n\n return referenceProps;\n };\n\n return {\n context,\n getFloatingProps,\n getReferenceProps,\n maxWidth,\n middlewareData,\n placement,\n refs,\n x,\n y,\n position: floatingStyles.position as Strategy,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport { useMemo } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type StyleProps } from '../../types';\n\ninterface UseTooltipStyleProps extends StyleProps {\n isDismissible?: boolean;\n isOpen?: boolean;\n}\n\nexport const useTooltipStyleProps = (props: UseTooltipStyleProps) => {\n const { isDismissible, isOpen, ...modifiedProps } = props;\n const tooltipClass = useClassNamePrefix('Tooltip');\n const tooltipPopoverClass = `${tooltipClass}Popover`;\n const arrowClass = `${tooltipPopoverClass}__arrow`;\n const closeButtonClass = `${tooltipPopoverClass}__close`;\n const rootDismissibleClass = `${tooltipPopoverClass}--dismissible`;\n const rootHiddenClass = 'is-hidden';\n\n const isHiddenClass = useMemo(() => isOpen === false, [isOpen]);\n\n const tooltipPopoverClassName = classNames(tooltipPopoverClass, {\n [rootDismissibleClass]: isDismissible,\n [rootHiddenClass]: isHiddenClass,\n });\n\n return {\n classProps: {\n rootClassName: tooltipClass,\n popoverClassName: tooltipPopoverClassName,\n arrowClassName: arrowClass,\n closeButtonClassName: closeButtonClass,\n },\n props: modifiedProps,\n };\n};\n","'use client';\n\nimport React, { type ElementType, forwardRef, useRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport {\n type PolymorphicComponent,\n type PolymorphicRef,\n type SpiritTooltipProps,\n type TooltipProps,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { TooltipProvider } from './TooltipContext';\nimport { useFloating } from './useFloating';\nimport { useTooltipStyleProps } from './useTooltipStyleProps';\n\nconst _Tooltip = <E extends ElementType = 'div'>(props: SpiritTooltipProps<E>, ref: PolymorphicRef<E>) => {\n const {\n children,\n elementType = 'div',\n enableFlipping: flipProp = true,\n enableFlippingCrossAxis: flipCrossAxis = true,\n enableShifting: shiftProp = true,\n enableSizing: sizeProp = true,\n flipFallbackAxisSideDirection = 'none',\n flipFallbackPlacements = ['bottom', 'top'],\n id,\n isDismissible = false,\n isFocusableOnHover = false,\n isOpen = false,\n onToggle,\n placement: tooltipPlacement,\n positionStrategy = 'absolute',\n trigger = ['click', 'hover'],\n ...restProps\n } = props;\n\n const Component = elementType as ElementType;\n\n const { classProps, props: modifiedProps } = useTooltipStyleProps({\n isDismissible,\n isOpen,\n ...restProps,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any -- incompatible type\n } as any);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(Component, {\n classProps: classProps.rootClassName,\n styleProps,\n });\n\n // Refs for FloatingUI\n const arrowRef = useRef<HTMLSpanElement>(null);\n const tooltipRef = useRef<HTMLDivElement>(ref);\n\n // Get `--tooltip-max-width` and `--tooltip-offset` from CSS variables\n let tooltipMaxWidth;\n let tooltipOffset;\n let tooltipCornerOffset;\n let tooltipArrowWidth;\n const tooltipElement = tooltipRef.current?.querySelector('[data-spirit-element=\"tooltip\"]');\n const tooltipArrowElement = tooltipElement?.querySelector('[data-spirit-element=\"tooltip-arrow\"]');\n\n if (tooltipElement) {\n const tooltipComputedStyle = window.getComputedStyle(tooltipElement);\n const tooltipArrowComputedStyle = tooltipArrowElement && window.getComputedStyle(tooltipArrowElement);\n tooltipMaxWidth = parseInt(tooltipComputedStyle.getPropertyValue('--tooltip-max-width'), 10);\n tooltipOffset = parseInt(tooltipComputedStyle.getPropertyValue('--tooltip-offset'), 10);\n tooltipCornerOffset = tooltipArrowComputedStyle\n ? parseInt(tooltipArrowComputedStyle.getPropertyValue('--tooltip-arrow-corner-offset'), 10)\n : 0;\n tooltipArrowWidth = tooltipArrowComputedStyle ? parseInt(tooltipArrowComputedStyle.width, 10) : 0;\n }\n\n // Get props for the FloatingUI hook\n const { getFloatingProps, getReferenceProps, maxWidth, middlewareData, placement, refs, x, y, position } =\n useFloating({\n arrowRef,\n cornerOffset: tooltipCornerOffset,\n flipCrossAxis,\n flipFallbackAxisSideDirection,\n flipFallbackPlacements,\n flipProp,\n isDismissible,\n isFocusableOnHover,\n isOpen,\n offset: tooltipOffset,\n onToggle,\n shiftProp,\n sizeProp,\n positionStrategy,\n tooltipArrowWidth,\n tooltipMaxWidth,\n tooltipPlacement,\n trigger,\n });\n\n return (\n <TooltipProvider\n value={{\n anchorRef: refs.setPositionReference,\n arrowRef,\n getFloatingProps,\n getReferenceProps,\n id,\n isDismissible,\n isOpen,\n middlewareData,\n onToggle,\n placement,\n sizeMaxWidth: maxWidth,\n tooltipMaxWidth,\n tooltipRef: refs.setFloating,\n triggerRef: refs.setReference,\n x,\n y,\n position,\n }}\n >\n <Component {...otherProps} ref={tooltipRef} {...mergedStyleProps}>\n {children}\n </Component>\n </TooltipProvider>\n );\n};\n\nconst Tooltip = forwardRef<HTMLDivElement, SpiritTooltipProps<'div'>>(_Tooltip) as unknown as PolymorphicComponent<\n 'div',\n TooltipProps\n>;\n\nTooltip.spiritComponent = 'Tooltip';\nTooltip.displayName = 'Tooltip';\n\nexport default Tooltip;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useI18n, useStyleProps } from '../../hooks';\nimport { type TooltipCloseButtonProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { useTooltipStyleProps } from './useTooltipStyleProps';\n\nconst TooltipCloseButton = ({ label, onClick, ...restProps }: TooltipCloseButtonProps) => {\n const { t } = useI18n();\n const closeLabel = label ?? t('common.close');\n const { classProps, props: modifiedProps } = useTooltipStyleProps(restProps);\n const { styleProps } = useStyleProps({ ...modifiedProps });\n\n return (\n <button\n type=\"button\"\n className={classNames(classProps.closeButtonClassName, styleProps.className)}\n style={styleProps.style}\n onClick={onClick}\n aria-expanded=\"true\"\n >\n <Icon name=\"close\" aria-hidden=\"true\" />\n <VisuallyHidden>{closeLabel}</VisuallyHidden>\n </button>\n );\n};\n\nTooltipCloseButton.spiritComponent = 'TooltipCloseButton';\n\nexport default TooltipCloseButton;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { useMemo } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type TooltipPopoverProps } from '../../types';\nimport TooltipCloseButton from './TooltipCloseButton';\nimport { useTooltipContext } from './TooltipContext';\nimport { useTooltipStyleProps } from './useTooltipStyleProps';\n\nconst TooltipPopover = (props: TooltipPopoverProps) => {\n const { children, ...rest } = props;\n const {\n arrowRef,\n getFloatingProps,\n isDismissible,\n isOpen,\n middlewareData,\n onToggle,\n placement,\n tooltipRef,\n x,\n y,\n position,\n sizeMaxWidth,\n tooltipMaxWidth,\n } = useTooltipContext();\n const { classProps, props: modifiedProps } = useTooltipStyleProps({\n isOpen,\n isDismissible,\n ...rest,\n });\n const { styleProps: contentStyleProps, props: contentOtherProps } = useStyleProps(modifiedProps);\n\n const renderCloseButton = useMemo(\n () => isDismissible && <TooltipCloseButton onClick={() => onToggle(false)} label=\"close\" />,\n [isDismissible, onToggle],\n );\n\n const getMaxHeightAndWidth = () => {\n if (isOpen && sizeMaxWidth && tooltipMaxWidth) {\n return {\n maxWidth: tooltipMaxWidth < sizeMaxWidth ? tooltipMaxWidth : sizeMaxWidth,\n };\n }\n\n return undefined;\n };\n\n const getArrowStaticSidePosition = () => {\n if (placement && arrowRef.current) {\n const { arrow } = middlewareData;\n const side = placement.split('-')[0];\n\n const staticSide = {\n top: 'bottom',\n right: 'left',\n bottom: 'top',\n left: 'right',\n }[side] as string;\n\n const arrowEl = arrowRef.current as HTMLElement;\n\n const offset =\n staticSide === 'top' || staticSide === 'bottom'\n ? arrowEl.offsetHeight\n : (arrowEl.offsetHeight + arrowEl.offsetWidth) / 2;\n\n return {\n left: arrow?.x,\n top: arrow?.y,\n [staticSide]: offset && -Math.floor(offset), // remove 0.5 pixels values for arrow offset\n };\n }\n\n return undefined;\n };\n\n return (\n <div\n ref={tooltipRef}\n className={classNames(classProps.popoverClassName, contentStyleProps.className)}\n {...contentOtherProps}\n {...getFloatingProps()}\n style={{\n position,\n top: y ?? 0,\n left: x ?? 0,\n ...getMaxHeightAndWidth(),\n ...contentStyleProps.style,\n }}\n data-spirit-element=\"tooltip\" // This is used to select CSS variables for maxWidth and tooltip offset\n data-spirit-placement={placement} // This attribute is used by the CSS to position the arrow\n >\n {children}\n {renderCloseButton}\n <span\n ref={arrowRef}\n className={classProps.arrowClassName}\n data-spirit-element=\"tooltip-arrow\"\n style={{\n position: 'absolute',\n ...getArrowStaticSidePosition(),\n }}\n />\n </div>\n );\n};\n\nTooltipPopover.spiritComponent = 'TooltipPopover';\n\nexport default TooltipPopover;\n","'use client';\n\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type TooltipTriggerProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useTooltipContext } from './TooltipContext';\n\nconst defaultProps: Partial<TooltipTriggerProps> = {\n elementType: 'button',\n children: null,\n};\n\nconst TooltipTrigger = (props: TooltipTriggerProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'button', children, ...restProps } = propsWithDefaults;\n const { id, isOpen, triggerRef, getReferenceProps } = useTooltipContext();\n const { styleProps: triggerStyleProps, props: transferProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { triggerStyleProps, transferProps });\n\n return (\n <ElementTag {...transferProps} {...mergedStyleProps} id={id} ref={triggerRef} {...getReferenceProps()}>\n {typeof children === 'function' ? children({ isOpen }) : children}\n </ElementTag>\n );\n};\n\nTooltipTrigger.spiritComponent = 'TooltipTrigger';\n\nexport default TooltipTrigger;\n","'use client';\n\nimport { useState } from 'react';\n\nexport interface UseTooltipReturn {\n isOpen: boolean;\n onToggle: (isOpen: boolean) => void;\n}\n\nexport const useTooltip = (isOpenProp: boolean = false): UseTooltipReturn => {\n const [isOpen, setOpen] = useState<boolean>(isOpenProp);\n\n return {\n isOpen,\n onToggle: setOpen,\n };\n};\n","'use client';\n\nimport React from 'react';\nimport { type SpiritTooltipProps } from '../../types';\nimport Tooltip from './Tooltip';\nimport { useTooltip } from './useTooltip';\n\nconst UncontrolledTooltip = (props: Omit<SpiritTooltipProps, 'onToggle'>) => {\n const { children, isOpen: isOpenProp, ...restProps } = props;\n const { isOpen, onToggle } = useTooltip(isOpenProp);\n\n return (\n <Tooltip {...restProps} isOpen={isOpen} onToggle={onToggle}>\n {children}\n </Tooltip>\n );\n};\n\nUncontrolledTooltip.spiritComponent = 'UncontrolledTooltip';\n\nexport default UncontrolledTooltip;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { useState } from 'react';\nimport { useToggle } from '../../hooks';\nimport type { PricingPlanFeature } from '../../types';\nimport { Icon } from '../Icon';\nimport { Modal, ModalBody, ModalDialog, ModalHeader } from '../Modal';\nimport { Tooltip, TooltipPopover, TooltipTrigger } from '../Tooltip';\nimport { usePricingPlanStyleProps } from './usePricingPlanStyleProps';\n\nconst PricingPlanFeatureTitle = ({\n feature,\n featureId,\n ...restProps\n}: {\n feature: PricingPlanFeature;\n featureId: string;\n}) => {\n const { modalContent, title, tooltipContent } = feature;\n const { classProps } = usePricingPlanStyleProps(restProps);\n const [isTooltipOpen, toggleTooltip] = useToggle(false);\n const [isModalOpen, setIsModalOpen] = useState(false);\n\n if (modalContent) {\n return (\n <div className={classProps.body.featureTitle}>\n <Icon name=\"check-plain\" boxSize={16} />\n <button\n type=\"button\"\n onClick={() => setIsModalOpen(true)}\n className={classNames(classProps.body.featureTitleText, 'text-underlined-dotted')}\n >\n {title}\n </button>\n <Modal id={`${featureId}-modal`} isOpen={isModalOpen} onClose={() => setIsModalOpen(false)}>\n <ModalDialog isScrollable>\n <ModalHeader>{title}</ModalHeader>\n <ModalBody>{modalContent}</ModalBody>\n </ModalDialog>\n </Modal>\n </div>\n );\n }\n\n if (tooltipContent) {\n return (\n <Tooltip\n elementType=\"div\"\n id={`${featureId}-tooltip`}\n isDismissible\n isOpen={isTooltipOpen}\n onToggle={toggleTooltip}\n placement=\"top\"\n trigger={['click']}\n UNSAFE_className={classProps.body.featureTitle}\n >\n <Icon name=\"check-plain\" boxSize={16} />\n <TooltipTrigger\n elementType=\"button\"\n UNSAFE_className={classNames(classProps.body.featureTitleText, 'text-underlined-dotted')}\n >\n {title}\n </TooltipTrigger>\n <TooltipPopover>\n <div>{tooltipContent}</div>\n </TooltipPopover>\n </Tooltip>\n );\n }\n\n return (\n <div className={classProps.body.featureTitle}>\n <Icon name=\"check-plain\" boxSize={16} />\n <div className={classProps.body.featureTitleText} id={`${featureId}-title`}>\n {title}\n </div>\n </div>\n );\n};\n\nPricingPlanFeatureTitle.spiritComponent = 'PricingPlanFeatureTitle';\n\nexport default PricingPlanFeatureTitle;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport type { SpiritPricingPlanBodyProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport PricingPlanFeatureTitle from './PricingPlanFeatureTitle';\nimport { usePricingPlanStyleProps } from './usePricingPlanStyleProps';\n\nconst defaultProps: Partial<SpiritPricingPlanBodyProps> = {\n description: undefined,\n features: [],\n};\n\nconst PricingPlanBody = <E extends ElementType = 'div'>(props: SpiritPricingPlanBodyProps<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n\n const { description, elementType: ElementTag = 'div', features = [], id, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = usePricingPlanStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.body.root,\n styleProps,\n });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {description && <div>{description}</div>}\n <ul className={classProps.body.featureList}>\n {features.map((feature, featureIndex) => {\n const featureItemKey = `featureItem-${featureIndex}`;\n const featureId = `${id}-feature-${featureIndex}`;\n\n return (\n <li className={classProps.body.featureItem} key={featureItemKey}>\n <PricingPlanFeatureTitle feature={feature} featureId={featureId} />\n <div className={classProps.body.featureDescription}>{feature.description}</div>\n </li>\n );\n })}\n </ul>\n </ElementTag>\n );\n};\n\nPricingPlanBody.spiritComponent = 'PricingPlanBody';\n\nexport default PricingPlanBody;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport type { SpiritPricingPlanFooterProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { usePricingPlanStyleProps } from './usePricingPlanStyleProps';\n\nconst PricingPlanFooter = <E extends ElementType = 'footer'>(props: SpiritPricingPlanFooterProps<E>) => {\n const { children, elementType: ElementTag = 'footer', ...restProps } = props;\n\n const { classProps, props: modifiedProps } = usePricingPlanStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.footer, styleProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nPricingPlanFooter.spiritComponent = 'PricingPlanFooter';\n\nexport default PricingPlanFooter;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useClassNamePrefix, useStyleProps } from '../../hooks';\nimport { type SpiritProductLogoProps } from '../../types';\n\nconst ProductLogo = (props: SpiritProductLogoProps) => {\n const { children, ...restProps } = props;\n\n const productLogoClass = useClassNamePrefix('ProductLogo');\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} className={classNames(productLogoClass, styleProps.className)} style={styleProps.style}>\n {children}\n </div>\n );\n};\n\nProductLogo.spiritComponent = 'ProductLogo';\n\nexport default ProductLogo;\n","import classNames from 'classnames';\nimport { InputPositions } from '../../constants';\nimport { useClassNamePrefix, useInputPositionClass } from '../../hooks';\nimport { type RadioProps, type SpiritRadioProps } from '../../types';\n\nexport interface RadioStyles {\n /** className props */\n classProps: {\n root: string;\n label: string;\n input: string;\n text: string;\n helperText: string;\n };\n /** props to be passed to the input element */\n props: RadioProps;\n}\n\nexport function useRadioStyleProps(props: SpiritRadioProps): RadioStyles {\n const { inputPosition = InputPositions.START, isItem, isLabelHidden, validationState, ...restProps } = props;\n const { isDisabled } = restProps;\n\n const radioClass = useClassNamePrefix('Radio');\n const radioDisabledClass = `${radioClass}--disabled`;\n const radioItemClass = `${radioClass}--item`;\n const radioInputClass = `${radioClass}__input`;\n const radioInputPositionClass = useInputPositionClass(radioClass, inputPosition);\n const radioLabelClass = `${radioClass}__label`;\n const radioLabelHiddenClass = `${radioClass}__label--hidden`;\n const radioTextClass = `${radioClass}__text`;\n const radioHelperTextClass = `${radioClass}__helperText`;\n const radioValidationClass = `${radioClass}--${validationState}`;\n\n const rootStyles = classNames(radioClass, {\n [radioInputPositionClass]: radioInputPositionClass,\n [radioDisabledClass]: isDisabled,\n [radioItemClass]: isItem,\n [radioValidationClass]: validationState,\n });\n const labelStyles = classNames(radioLabelClass, {\n [radioLabelHiddenClass]: isLabelHidden,\n });\n\n return {\n classProps: {\n root: rootStyles,\n label: labelStyles,\n input: radioInputClass,\n text: radioTextClass,\n helperText: radioHelperTextClass,\n },\n props: restProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ForwardedRef, forwardRef } from 'react';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { type ForwardRefComponent, type SpiritRadioProps } from '../../types';\nimport { HelperText, Label, useAriaIds } from '../Field';\nimport { useRadioStyleProps } from './useRadioStyleProps';\n\nconst _Radio = (props: SpiritRadioProps, ref: ForwardedRef<HTMLInputElement>): JSX.Element => {\n const { classProps, props: modifiedProps } = useRadioStyleProps(props);\n const {\n 'aria-describedby': ariaDescribedBy = '',\n helperText,\n id,\n isChecked,\n isDisabled,\n label,\n onChange,\n value,\n ...restProps\n } = modifiedProps;\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n\n return (\n <div style={styleProps.style} className={classNames(classProps.root, styleProps.className)}>\n <input\n {...otherProps}\n {...ariaDescribedByProp}\n type=\"radio\"\n id={id}\n className={classProps.input}\n disabled={isDisabled}\n checked={isChecked}\n onChange={onChange}\n value={value}\n ref={ref}\n />\n <div className={classProps.text}>\n <Label UNSAFE_className={classProps.label} htmlFor={id}>\n {label}\n </Label>\n <HelperText\n UNSAFE_className={classProps.helperText}\n id={`${id}__helperText`}\n registerAria={register}\n helperText={helperText}\n />\n </div>\n </div>\n );\n};\n\nconst Radio = forwardRef<HTMLInputElement, SpiritRadioProps>(_Radio) as ForwardRefComponent<\n HTMLInputElement,\n SpiritRadioProps\n>;\n\nRadio.spiritComponent = 'Radio';\nRadio.displayName = 'Radio';\n\nexport default Radio;\n","import { Direction } from '../../constants';\n\nexport const DEBOUNCE_DELAY = 50; // Debounce delay in milliseconds\nexport const EDGE_DETECTION_INACCURACY_PX = 1;\nexport const SCROLL_CANCEL_DELAY = 10; // Scroll cancel delay in milliseconds\nexport const SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_END = 'Scroll right';\nexport const SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_START = 'Scroll left';\nexport const SCROLL_VIEW_ARROWS_LABEL_VERTICAL_END = 'Scroll down';\nexport const SCROLL_VIEW_ARROWS_LABEL_VERTICAL_START = 'Scroll up';\nexport const SCROLL_VIEW_DEFAULT_DIRECTION = Direction.VERTICAL;\nexport const SCROLL_VIEW_DEFAULT_OVERFLOW_DECORATOR = 'shadows';\n","'use client';\n\nimport { type MutableRefObject, useCallback, useEffect, useRef } from 'react';\nimport { Position, isDirectionHorizontal } from '../../constants';\nimport { type ScrollViewArrowsScrollStepType, type ScrollViewDirectionType } from '../../types';\nimport { SCROLL_CANCEL_DELAY } from './constants';\n\nexport interface UseScrollCallbackProps {\n viewportRef: MutableRefObject<HTMLDivElement | null>;\n direction: ScrollViewDirectionType;\n}\n\nexport interface UseScrollCallbackReturn {\n handleScroll: (step: ScrollViewArrowsScrollStepType) => void;\n}\n\nexport const useScrollCallback = ({ viewportRef, direction }: UseScrollCallbackProps): UseScrollCallbackReturn => {\n const scrollTimeoutRef = useRef<NodeJS.Timeout | null>(null);\n\n // Cleanup timeout on unmount\n useEffect(\n () => () => {\n if (scrollTimeoutRef.current) {\n clearTimeout(scrollTimeoutRef.current);\n }\n },\n [],\n );\n\n const handleScroll = useCallback(\n (step: ScrollViewArrowsScrollStepType) => {\n if (!viewportRef.current) {\n return;\n }\n\n const isHorizontal = isDirectionHorizontal(direction);\n const scrollToDirection = isHorizontal ? Position.LEFT : Position.TOP;\n const currentScrollPosition = isHorizontal ? viewportRef.current.scrollLeft : viewportRef.current.scrollTop;\n const maxScroll = isHorizontal\n ? viewportRef.current.scrollWidth - viewportRef.current.clientWidth\n : viewportRef.current.scrollHeight - viewportRef.current.clientHeight;\n\n // Cancel any ongoing smooth scroll animation by instantly jumping to current position\n // This prevents accumulation of scroll animations on iOS when clicking rapidly\n viewportRef.current.scrollTo({\n [scrollToDirection]: currentScrollPosition,\n behavior: 'auto',\n });\n\n // Clear any existing timeout\n if (scrollTimeoutRef.current) {\n clearTimeout(scrollTimeoutRef.current);\n }\n\n // Calculate target position and clamp it to valid scroll bounds\n const targetPosition = Math.max(0, Math.min(currentScrollPosition + step, maxScroll));\n\n // Start new scroll after a small delay to ensure the cancel takes effect\n scrollTimeoutRef.current = setTimeout(() => {\n if (viewportRef.current) {\n viewportRef.current.scrollTo({\n [scrollToDirection]: targetPosition,\n behavior: 'smooth',\n });\n }\n }, SCROLL_CANCEL_DELAY);\n },\n [viewportRef, direction],\n );\n\n return { handleScroll };\n};\n","import { type ScrollViewArrowsAriaLabelType, type ScrollViewArrowsScrollStepType } from '../../types';\nimport {\n SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_END,\n SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_START,\n SCROLL_VIEW_ARROWS_LABEL_VERTICAL_END,\n SCROLL_VIEW_ARROWS_LABEL_VERTICAL_START,\n} from './constants';\n\nconst getDefaultArrowLabels = (\n isHorizontal: boolean,\n): {\n start?: string;\n end?: string;\n top?: string;\n bottom?: string;\n} =>\n isHorizontal\n ? {\n start: SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_START,\n end: SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_END,\n }\n : {\n top: SCROLL_VIEW_ARROWS_LABEL_VERTICAL_START,\n bottom: SCROLL_VIEW_ARROWS_LABEL_VERTICAL_END,\n };\n\nexport interface UseScrollViewArrowsReturn {\n arrows: Array<{\n icon: string;\n label: string;\n step: ScrollViewArrowsScrollStepType;\n }>;\n}\n\nexport const useScrollViewArrows = (\n isHorizontal: boolean,\n ariaLabelArrows?: ScrollViewArrowsAriaLabelType,\n scrollStep: ScrollViewArrowsScrollStepType = 300,\n): UseScrollViewArrowsReturn => {\n const defaultArrowLabels = getDefaultArrowLabels(isHorizontal);\n const mergedArrowLabels = { ...defaultArrowLabels, ...ariaLabelArrows };\n\n const arrows = [\n {\n icon: isHorizontal ? 'chevron-left' : 'chevron-up',\n label: (isHorizontal\n ? (mergedArrowLabels.start ?? defaultArrowLabels.start)\n : (mergedArrowLabels.top ?? defaultArrowLabels.top)) as string,\n step: -scrollStep,\n },\n {\n icon: isHorizontal ? 'chevron-right' : 'chevron-down',\n label: (isHorizontal\n ? (mergedArrowLabels.end ?? defaultArrowLabels.end)\n : (mergedArrowLabels.bottom ?? defaultArrowLabels.bottom)) as string,\n step: scrollStep,\n },\n ];\n\n return { arrows };\n};\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type ScrollViewDirectionType, type ScrollViewOverflowDecoratorsType } from '../../types';\nimport { SCROLL_VIEW_DEFAULT_OVERFLOW_DECORATOR } from './constants';\n\nexport interface UseScrollViewStyleProps {\n direction: ScrollViewDirectionType;\n isScrollbarDisabled?: boolean;\n isScrolledAtEnd: boolean;\n isScrolledAtStart: boolean;\n overflowDecorators: ScrollViewOverflowDecoratorsType;\n}\n\nexport interface UseScrollViewStyleReturn {\n /** className props */\n classProps: {\n root: string;\n viewport: string;\n content: string;\n overflowDecorators: string;\n arrows: string;\n };\n}\n\nexport const useScrollViewStyleProps = ({\n direction,\n isScrollbarDisabled,\n isScrolledAtEnd,\n isScrolledAtStart,\n overflowDecorators = SCROLL_VIEW_DEFAULT_OVERFLOW_DECORATOR,\n}: Partial<UseScrollViewStyleProps>): UseScrollViewStyleReturn => {\n const scrollViewRootClass = useClassNamePrefix('ScrollView');\n const scrollViewRootDirectionClass = `${scrollViewRootClass}--${direction}`;\n const scrollViewRootScrollbarDisabledClass = `${scrollViewRootClass}--scrollbarDisabled`;\n const scrollViewViewportClass = `${scrollViewRootClass}__viewport`;\n const scrollViewContentClass = `${scrollViewRootClass}__content`;\n const scrollViewOverflowDecoratorsClass = `${scrollViewRootClass}__overflowDecorators`;\n const scrollViewRootOverflowDecoratorsClasses = {\n shadows: `${scrollViewOverflowDecoratorsClass}--shadows`,\n borders: `${scrollViewOverflowDecoratorsClass}--borders`,\n both: classNames(`${scrollViewOverflowDecoratorsClass}--shadows`, `${scrollViewOverflowDecoratorsClass}--borders`),\n };\n const scrollViewRootOverflowDecoratorsClass = scrollViewRootOverflowDecoratorsClasses[overflowDecorators];\n const scrollViewAtStartClass = 'is-scrolled-at-start';\n const scrollViewAtEndClass = 'is-scrolled-at-end';\n const scrollViewArrowsClass = `${scrollViewRootClass}__arrows`;\n\n return {\n classProps: {\n root: classNames(scrollViewRootClass, scrollViewRootDirectionClass, {\n [scrollViewRootScrollbarDisabledClass]: isScrollbarDisabled,\n [scrollViewAtEndClass]: isScrolledAtEnd,\n [scrollViewAtStartClass]: isScrolledAtStart,\n }),\n viewport: scrollViewViewportClass,\n content: scrollViewContentClass,\n overflowDecorators: classNames(scrollViewOverflowDecoratorsClass, scrollViewRootOverflowDecoratorsClass),\n arrows: scrollViewArrowsClass,\n },\n };\n};\n","'use client';\n\nimport React from 'react';\nimport { isDirectionHorizontal } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritScrollViewArrowsProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { ControlButton } from '../ControlButton';\nimport { Icon } from '../Icon';\nimport { useScrollCallback } from './useScrollCallback';\nimport { useScrollViewArrows } from './useScrollViewArrows';\nimport { useScrollViewStyleProps } from './useScrollViewStyleProps';\n\nconst ScrollViewArrows = (props: SpiritScrollViewArrowsProps) => {\n const { ariaLabelArrows, direction, scrollStep, viewportRef, ...restProps } = props;\n const { classProps } = useScrollViewStyleProps({\n direction,\n });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps('button', { classProps: classProps.arrows, styleProps });\n const isHorizontal = isDirectionHorizontal(direction);\n const { arrows } = useScrollViewArrows(isHorizontal, ariaLabelArrows, scrollStep);\n const { handleScroll } = useScrollCallback({ viewportRef, direction });\n\n return (\n <div {...otherProps} {...mergedStyleProps}>\n {arrows.map(({ icon, label, step }) => (\n <ControlButton key={icon} aria-label={label} onClick={() => handleScroll(step)} size=\"small\" isSymmetrical>\n <Icon name={icon} />\n </ControlButton>\n ))}\n </div>\n );\n};\n\nScrollViewArrows.spiritComponent = 'ScrollViewArrows';\n\nexport default ScrollViewArrows;\n","'use client';\n\nimport { type MutableRefObject, type UIEvent, useCallback, useEffect, useState } from 'react';\nimport { Position, isDirectionHorizontal } from '../../constants';\nimport { useResizeObserver } from '../../hooks';\nimport { type PositionType, type ScrollViewDirectionType } from '../../types';\nimport { debounce } from '../../utils';\nimport { DEBOUNCE_DELAY, EDGE_DETECTION_INACCURACY_PX } from './constants';\n\nexport interface UseScrollPositionProps {\n viewportReference: MutableRefObject<HTMLDivElement | null>;\n contentReference: MutableRefObject<HTMLDivElement | null>;\n direction: ScrollViewDirectionType;\n}\n\nexport interface UseScrollPositionReturn {\n isScrolledAtEnd: boolean;\n isScrolledAtStart: boolean;\n onScroll: (event: UIEvent) => void;\n}\n\nexport type CurrentPositionProps = {\n [key in PositionType]: number;\n};\n\nexport const useScrollPosition = ({\n viewportReference,\n contentReference,\n direction,\n}: UseScrollPositionProps): UseScrollPositionReturn => {\n const [isScrolledAtStart, setScrolledStart] = useState<boolean>(false);\n const [isScrolledAtEnd, setScrolledAtEnd] = useState<boolean>(false);\n\n const getElementsPositionDifference = (): CurrentPositionProps | null => {\n if (!(contentReference.current && viewportReference.current)) {\n return null;\n }\n\n const contentPosition: DOMRect = contentReference.current.getBoundingClientRect();\n const viewportPosition: DOMRect = viewportReference.current.getBoundingClientRect();\n\n return {\n [Position.BOTTOM]: contentPosition.bottom - viewportPosition.bottom,\n [Position.LEFT]: contentPosition.left - viewportPosition.left,\n [Position.RIGHT]: contentPosition.right - viewportPosition.right,\n [Position.TOP]: contentPosition.top - viewportPosition.top,\n };\n };\n\n const handleScrollViewState = () => {\n const isHorizontal = isDirectionHorizontal(direction);\n const scrollPositionStart = isHorizontal ? Position.LEFT : Position.TOP;\n const scrollPositionEnd = isHorizontal ? Position.RIGHT : Position.BOTTOM;\n const currentPosition = getElementsPositionDifference();\n\n if (!currentPosition) {\n return;\n }\n\n const isScrolledAtStartActive = currentPosition[scrollPositionStart] <= -1 * EDGE_DETECTION_INACCURACY_PX;\n const isScrolledAtEndActive = currentPosition[scrollPositionEnd] >= EDGE_DETECTION_INACCURACY_PX;\n\n if (isScrolledAtStartActive !== isScrolledAtStart) {\n setScrolledStart(isScrolledAtStartActive);\n }\n\n if (isScrolledAtEndActive !== isScrolledAtEnd) {\n setScrolledAtEnd(isScrolledAtEndActive);\n }\n };\n\n // eslint-disable-next-line react-hooks/exhaustive-deps -- debounce is stable\n const debouncedHandler = useCallback(debounce(handleScrollViewState, DEBOUNCE_DELAY), [handleScrollViewState]);\n\n useResizeObserver({\n ref: viewportReference,\n onResize: debouncedHandler,\n });\n\n /* We want to call this hook only once */\n // eslint-disable-next-line react-hooks/exhaustive-deps\n useEffect(handleScrollViewState, []);\n\n return {\n isScrolledAtEnd,\n isScrolledAtStart,\n onScroll: debounce(handleScrollViewState, DEBOUNCE_DELAY),\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { useRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritScrollViewProps } from '../../types';\nimport { SCROLL_VIEW_DEFAULT_DIRECTION, SCROLL_VIEW_DEFAULT_OVERFLOW_DECORATOR } from './constants';\nimport ScrollViewArrows from './ScrollViewArrows';\nimport { useScrollPosition } from './useScrollPosition';\nimport { useScrollViewStyleProps } from './useScrollViewStyleProps';\n\nconst ScrollView = (props: SpiritScrollViewProps) => {\n const {\n ariaLabelArrows,\n arrowsScrollStep = 300,\n children,\n direction = SCROLL_VIEW_DEFAULT_DIRECTION,\n hasArrows = false,\n isScrollbarDisabled,\n overflowDecorators = SCROLL_VIEW_DEFAULT_OVERFLOW_DECORATOR,\n ...restProps\n } = props;\n\n const contentReference = useRef(null);\n const viewportReference = useRef<HTMLDivElement>(null);\n\n const { isScrolledAtEnd, isScrolledAtStart, onScroll } = useScrollPosition({\n contentReference,\n direction,\n viewportReference,\n });\n const { classProps } = useScrollViewStyleProps({\n direction,\n isScrollbarDisabled,\n isScrolledAtStart,\n isScrolledAtEnd,\n overflowDecorators,\n });\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n return (\n <div {...transferProps} {...styleProps} className={classNames(classProps.root, styleProps.className)}>\n {/* To make scrollable element keyboard accessible, we need to add tabindex to it. */}\n {/* This is recommended solution, both by the eslint plugin and by WAI. */}\n {/* https://www.w3.org/WAI/standards-guidelines/act/rules/0ssw9k/ */}\n {/* https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/docs/rules/no-noninteractive-tabindex.md#case-shouldnt-i-add-a-tabindex-so-that-users-can-navigate-to-this-item */}\n {/* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex */}\n <div className={classProps.viewport} onScroll={onScroll} ref={viewportReference} tabIndex={0}>\n <div className={classProps.content} ref={contentReference}>\n {children}\n </div>\n </div>\n <div className={classProps.overflowDecorators} aria-hidden=\"true\" />\n\n {hasArrows && (\n <ScrollViewArrows\n ariaLabelArrows={ariaLabelArrows}\n direction={direction}\n scrollStep={arrowsScrollStep}\n viewportRef={viewportReference}\n />\n )}\n </div>\n );\n};\n\nScrollView.spiritComponent = 'ScrollView';\n\nexport default ScrollView;\n","import { SizesExtended } from '../../constants';\nimport { type Responsive, type SectionProps, type SizeExtendedDictionaryType, type SpaceToken } from '../../types';\n\nconst sizePaddingMapping: Record<SizeExtendedDictionaryType<never>, { paddingY: Responsive<SpaceToken> }> = {\n [SizesExtended.XSMALL]: { paddingY: { mobile: 'space-900', tablet: 'space-1000' } },\n [SizesExtended.SMALL]: { paddingY: { mobile: 'space-1000', tablet: 'space-1100' } },\n [SizesExtended.MEDIUM]: { paddingY: { mobile: 'space-1100', tablet: 'space-1300' } },\n [SizesExtended.LARGE]: { paddingY: { mobile: 'space-1200', tablet: 'space-1400' } },\n [SizesExtended.XLARGE]: { paddingY: { mobile: 'space-1400', tablet: 'space-1600' } },\n};\n\nexport const useSectionSizeProps = (props: SectionProps = {}) => {\n const { size } = props;\n\n const modifiedProps = size ? { ...sizePaddingMapping[size], ...props } : props;\n\n return {\n modifiedProps,\n };\n};\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SectionStyleProps } from '../../types';\n\nexport const useSectionStyleProps = (props: SectionStyleProps) => {\n const { backgroundColor } = props || {};\n\n const sectionBackgroundClassName = useClassNamePrefix(`bg-${backgroundColor}`);\n\n const sectionBackgroundColor = backgroundColor ? sectionBackgroundClassName : '';\n\n const classProps = classNames({\n [sectionBackgroundColor]: backgroundColor,\n });\n\n return {\n classProps,\n };\n};\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { PaddingStyleProps, TextStyleProps } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport {\n type PolymorphicComponent,\n type PolymorphicRef,\n type SectionProps,\n type SpiritSectionProps,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { Container } from '../Container';\nimport { useSectionSizeProps } from './useSectionSizeProps';\nimport { useSectionStyleProps } from './useSectionStyleProps';\n\nconst defaultProps = {\n elementType: 'section',\n hasContainer: true,\n size: undefined,\n};\n\nconst _Section = <E extends ElementType = 'section', S = void>(\n props: SpiritSectionProps<E, S>,\n ref: PolymorphicRef<E>,\n) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n elementType = defaultProps.elementType,\n backgroundColor,\n children,\n containerProps,\n hasContainer,\n ...restProps\n } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { classProps } = useSectionStyleProps({ backgroundColor });\n const { modifiedProps } = useSectionSizeProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {\n paddingTop: PaddingStyleProps.paddingTop,\n paddingBottom: PaddingStyleProps.paddingBottom,\n paddingY: PaddingStyleProps.paddingY,\n textAlignment: TextStyleProps.textAlignment,\n });\n const mergedStyleProps = mergeStyleProps(Component, { classProps, styleProps });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n {hasContainer ? <Container {...containerProps}>{children}</Container> : children}\n </Component>\n );\n};\n\nconst Section = forwardRef<HTMLElement, SpiritSectionProps<'section', void>>(\n _Section,\n) as unknown as PolymorphicComponent<'section', SectionProps<void>>;\n\nSection.spiritComponent = 'Section';\nSection.displayName = 'Section';\n\nexport default Section;\n","'use client';\n\nimport { createContext, useContext } from 'react';\nimport { type SegmentedControlMultiselectProps } from '../../types/segmentedControl';\n\nexport type SegmentedControlContextProps = SegmentedControlMultiselectProps & {\n name: string;\n selectedValue: string | string[];\n setSelectedValue: (value: string | string[]) => void;\n onSelectionChange?: (value: string | string[]) => void;\n};\n\nconst defaultContext: SegmentedControlContextProps = {\n isMultiselect: false,\n name: '',\n selectedValue: [],\n setSelectedValue: () => {},\n onSelectionChange: () => {},\n};\n\nconst SegmentedControlContext = createContext<SegmentedControlContextProps>(defaultContext);\nconst SegmentedControlProvider = SegmentedControlContext.Provider;\nconst useSegmentedControlContext = (): SegmentedControlContextProps => useContext(SegmentedControlContext);\n\nexport default SegmentedControlContext;\n// eslint-disable-next-line react-refresh/only-export-components -- Context file exports context alongside hooks\nexport { SegmentedControlProvider, useSegmentedControlContext };\n","import classNames from 'classnames';\nimport { FillVariants } from '../../constants';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritSegmentedControlProps } from '../../types/segmentedControl';\n\nexport interface UseSegmentedControlStylesProps extends Omit<SpiritSegmentedControlProps, 'name'> {}\n\nexport interface UseSegmentedControlStylesReturn {\n /** className props */\n classProps: {\n root: string;\n input: string;\n label: string;\n };\n /** props to be passed to the element */\n props: Omit<SpiritSegmentedControlProps, 'name'>;\n}\n\nexport const useSegmentedControlStyleProps = (\n props: UseSegmentedControlStylesProps,\n): UseSegmentedControlStylesReturn => {\n const { isFluid, variant = FillVariants.OUTLINE, ...restProps } = props;\n\n const segmentedControlClass = useClassNamePrefix('SegmentedControl');\n const segmentedControlVariantClass = `${segmentedControlClass}--${variant}`;\n const segmentedControlFluidClass = `${segmentedControlClass}--fluid`;\n const segmentedControlItemClass = `${segmentedControlClass}Item`;\n const segmentedControlItemInputClass = `${segmentedControlItemClass}__input`;\n const segmentedControlItemLabelClass = `${segmentedControlItemClass}__label`;\n\n const classProps = {\n root: classNames(segmentedControlClass, segmentedControlVariantClass, {\n [segmentedControlFluidClass]: isFluid,\n }),\n input: segmentedControlItemInputClass,\n label: segmentedControlItemLabelClass,\n };\n\n return {\n classProps,\n props: restProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { FillVariants } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritSegmentedControlProps } from '../../types/segmentedControl';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { SegmentedControlProvider } from './SegmentedControlContext';\nimport { useSegmentedControlStyleProps } from './useSegmentedControlStyleProps';\n\nconst defaultProps: Partial<SpiritSegmentedControlProps> = {\n isFluid: false,\n isMultiselect: false,\n variant: FillVariants.OUTLINE,\n};\n\nconst SegmentedControl = (props: SpiritSegmentedControlProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, isMultiselect, label, name, onSelectionChange, selectedValue, setSelectedValue, ...restProps } =\n propsWithDefaults;\n const { classProps, props: modifiedProps } = useSegmentedControlStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n const contextValue = {\n isMultiselect,\n name,\n selectedValue,\n setSelectedValue,\n onSelectionChange,\n };\n\n return (\n <SegmentedControlProvider value={contextValue}>\n <fieldset {...otherProps} {...styleProps} className={classNames(classProps.root, styleProps.className)}>\n <VisuallyHidden elementType=\"legend\">{label}</VisuallyHidden>\n {children}\n </fieldset>\n </SegmentedControlProvider>\n );\n};\n\nSegmentedControl.spiritComponent = 'SegmentedControl';\n\nexport default SegmentedControl;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ForwardedRef, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ForwardRefComponent, type SpiritSegmentedControlItemProps } from '../../types';\nimport { useSegmentedControlContext } from './SegmentedControlContext';\nimport { type UseSegmentedControlStylesProps, useSegmentedControlStyleProps } from './useSegmentedControlStyleProps';\n\nconst _SegmentedControlItem = (props: SpiritSegmentedControlItemProps, ref: ForwardedRef<HTMLLabelElement>) => {\n const { isMultiselect, name, onSelectionChange, selectedValue, setSelectedValue } = useSegmentedControlContext();\n const { id, isDisabled, value, children, ...restProps } = props as SpiritSegmentedControlItemProps;\n const { classProps, props: modifiedProps } = useSegmentedControlStyleProps(\n restProps as UseSegmentedControlStylesProps,\n );\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n const handleSetSelectedValue = (v: string) => {\n if (isDisabled) return;\n\n let newValue;\n\n if (isMultiselect) {\n const prevArray = Array.isArray(selectedValue) ? selectedValue : [];\n newValue = prevArray.includes(v) ? prevArray.filter((item) => item !== v) : [...prevArray, v];\n } else {\n newValue = v;\n }\n\n setSelectedValue(newValue);\n\n if (onSelectionChange) {\n onSelectionChange(newValue);\n }\n };\n\n const isChecked = isMultiselect\n ? Array.isArray(selectedValue) && selectedValue.includes(String(value))\n : selectedValue === String(value);\n\n return (\n <>\n <input\n {...otherProps}\n {...styleProps}\n {...(isDisabled && { disabled: true })}\n className={classNames(classProps.input, styleProps.className)}\n type={isMultiselect ? 'checkbox' : 'radio'}\n name={name}\n id={id}\n value={value}\n checked={isChecked}\n onChange={() => handleSetSelectedValue(String(value))}\n />\n <label ref={ref} htmlFor={id} {...styleProps} className={classNames(classProps.label, styleProps.className)}>\n {children}\n </label>\n </>\n );\n};\n\nconst SegmentedControlItem = forwardRef<HTMLLabelElement, SpiritSegmentedControlItemProps>(\n _SegmentedControlItem,\n) as ForwardRefComponent<HTMLLabelElement, SpiritSegmentedControlItemProps>;\n\nSegmentedControlItem.spiritComponent = 'SegmentedControlItem';\nSegmentedControlItem.displayName = 'SegmentedControlItem';\n\nexport default SegmentedControlItem;\n","'use client';\n\nimport { useState } from 'react';\nimport { type SegmentedControlMultiselectProps } from '../../types/segmentedControl';\n\ntype UseSegmentedControlProps = SegmentedControlMultiselectProps & {\n defaultSelectedValue?: string | string[];\n};\n\nexport const useSegmentedControl = ({ defaultSelectedValue, isMultiselect }: UseSegmentedControlProps) => {\n let initialValue: string | string[];\n\n if (isMultiselect) {\n if (Array.isArray(defaultSelectedValue)) {\n initialValue = defaultSelectedValue;\n } else if (defaultSelectedValue !== undefined) {\n initialValue = [defaultSelectedValue];\n } else {\n initialValue = [];\n }\n } else {\n initialValue = defaultSelectedValue ?? '';\n }\n\n const [selectedValue, setSelectedValue] = useState<string | string[]>(initialValue);\n\n return {\n selectedValue,\n setSelectedValue,\n };\n};\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SizesDictionaryType, type Validation } from '../../types';\n\nexport interface UseSelectStyleProps<S = void> extends Validation {\n isDisabled?: boolean;\n isFluid?: boolean;\n isLabelHidden?: boolean;\n size?: SizesDictionaryType<S>;\n}\n\nexport interface UseSelectStyleReturn {\n /** className props */\n classProps: {\n root: string;\n label: string;\n container: string;\n input: string;\n icon: string;\n validationText: string;\n helperText: string;\n };\n}\n\nexport const useSelectStyleProps = ({\n isDisabled,\n isFluid,\n isLabelHidden,\n isRequired,\n size,\n validationState,\n}: UseSelectStyleProps): UseSelectStyleReturn => {\n const selectRootClass = useClassNamePrefix('Select');\n const selectRootFluidClass = `${selectRootClass}--fluid`;\n const selectRootDisabledClass = `${selectRootClass}--disabled`;\n const selectRootSizeClass = `${selectRootClass}--${size}`;\n const selectRootValidationClass = `${selectRootClass}--${validationState}`;\n const selectLabelClass = `${selectRootClass}__label`;\n const selectLabelRequiredClass = `${selectLabelClass}--required`;\n const selectLabelHiddenClass = `${selectLabelClass}--hidden`;\n const selectContainerClass = `${selectRootClass}__inputContainer`;\n const selectInputClass = `${selectRootClass}__input`;\n const selectIconClass = `${selectRootClass}__icon`;\n const selectValidationTextClass = `${selectRootClass}__validationText`;\n const selectHelperTextClass = `${selectRootClass}__helperText`;\n\n return {\n classProps: {\n root: classNames(selectRootClass, {\n [selectRootDisabledClass]: isDisabled,\n [selectRootFluidClass]: isFluid,\n [selectRootSizeClass]: size,\n [selectRootValidationClass]: validationState,\n }),\n label: classNames(selectLabelClass, {\n [selectLabelRequiredClass]: isRequired,\n [selectLabelHiddenClass]: isLabelHidden,\n }),\n container: selectContainerClass,\n input: selectInputClass,\n icon: selectIconClass,\n validationText: selectValidationTextClass,\n helperText: selectHelperTextClass,\n },\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ForwardedRef, forwardRef } from 'react';\nimport { Sizes } from '../../constants';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { type ForwardRefComponent, type SpiritSelectProps } from '../../types';\nimport { HelperText, Label, ValidationText, useAriaIds } from '../Field';\nimport { useValidationTextRole } from '../Field/useValidationTextRole';\nimport { Icon } from '../Icon';\nimport { useSelectStyleProps } from './useSelectStyleProps';\n\nconst _Select = (props: SpiritSelectProps, ref: ForwardedRef<HTMLSelectElement>) => {\n const {\n 'aria-describedby': ariaDescribedBy = '',\n children,\n hasValidationIcon,\n helperText,\n id,\n isDisabled,\n isFluid,\n isLabelHidden,\n isRequired,\n label,\n size = Sizes.MEDIUM,\n validationState,\n validationText,\n ...restProps\n } = props;\n const { classProps } = useSelectStyleProps({\n hasValidationIcon,\n isDisabled,\n isFluid,\n isLabelHidden,\n isRequired,\n size,\n validationState,\n });\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n const validationTextRole = useValidationTextRole({\n validationState,\n validationText,\n });\n\n return (\n <div {...styleProps} className={classNames(classProps.root, styleProps.className)}>\n <Label htmlFor={id} UNSAFE_className={classProps.label}>\n {label}\n </Label>\n <div className={classProps.container}>\n <select\n {...transferProps}\n {...ariaDescribedByProp}\n id={id}\n className={classProps.input}\n disabled={isDisabled}\n required={isRequired}\n ref={ref}\n >\n {children}\n </select>\n <div className={classProps.icon}>\n <Icon name=\"chevron-down\" boxSize={size === Sizes.SMALL ? 16 : 20} />\n </div>\n </div>\n <HelperText\n UNSAFE_className={classProps.helperText}\n id={`${id}__helperText`}\n registerAria={register}\n helperText={helperText}\n />\n {validationState && (\n <ValidationText\n UNSAFE_className={classProps.validationText}\n {...(hasValidationIcon && { hasValidationStateIcon: validationState })}\n id={`${id}__validationText`}\n validationText={validationText}\n registerAria={register}\n role={validationTextRole}\n />\n )}\n </div>\n );\n};\n\nconst Select = forwardRef<HTMLSelectElement, SpiritSelectProps>(_Select) as ForwardRefComponent<\n HTMLSelectElement,\n SpiritSelectProps\n>;\n\nSelect.spiritComponent = 'Select';\nSelect.displayName = 'Select';\n\nexport default Select;\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SkeletonProps, type SpiritSkeletonProps } from '../../types';\n\nexport interface SkeletonStyles {\n /** className props */\n classProps: {\n root: string;\n text: string;\n heading: string;\n item: string;\n };\n /** props to be passed to the element */\n props: SkeletonProps;\n}\n\nexport function useSkeletonStyleProps<E extends ElementType = 'div', C = void>(\n props?: SpiritSkeletonProps<E, C>,\n): SkeletonStyles {\n const { size, ...restProps } = props || {};\n\n const skeletonClass = useClassNamePrefix('Skeleton');\n const skeletonSizeClass = `${skeletonClass}--${size}`;\n const skeletonTextClass = `${skeletonClass}--text`;\n const skeletonHeadingClass = `${skeletonClass}--heading`;\n const skeletonItemClass = `${skeletonClass}__item`;\n\n const classProps = classNames(skeletonClass, {\n [skeletonSizeClass]: size,\n });\n\n return {\n classProps: {\n root: classProps,\n text: skeletonTextClass,\n heading: skeletonHeadingClass,\n item: skeletonItemClass,\n },\n props: restProps,\n };\n}\n","export const LINES_COUNT_DEFAULT = 1;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ReactElement } from 'react';\nimport { useSkeletonStyleProps } from './useSkeletonStyleProps';\n\nconst SkeletonItem = (): ReactElement => {\n const { classProps } = useSkeletonStyleProps();\n\n return <div className={classNames(classProps.item)} aria-hidden=\"true\" />;\n};\n\nSkeletonItem.spiritComponent = 'SkeletonItem';\n\nexport default SkeletonItem;\n","'use client';\n\nimport React, { type ElementType, type ReactElement } from 'react';\nimport { SizesExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritSkeletonProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { LINES_COUNT_DEFAULT } from './constants';\nimport SkeletonItem from './SkeletonItem';\nimport { useSkeletonStyleProps } from './useSkeletonStyleProps';\n\nconst defaultProps: Partial<SpiritSkeletonProps> = {\n size: SizesExtended.MEDIUM,\n lines: LINES_COUNT_DEFAULT,\n elementType: 'div',\n};\nconst SkeletonText = <E extends ElementType = 'div', C = void>(props: SpiritSkeletonProps<E, C>): ReactElement => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'div', lines, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useSkeletonStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.root,\n classPropsText: classProps.text,\n styleProps,\n otherProps,\n });\n const linesToRender = [...Array(lines ?? LINES_COUNT_DEFAULT).keys()];\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {linesToRender.map((lineNumber) => (\n <SkeletonItem key={`skeleton-item-${lineNumber.toString()}`} />\n ))}\n </ElementTag>\n );\n};\n\nSkeletonText.spiritComponent = 'SkeletonText';\n\nexport default SkeletonText;\n","'use client';\n\nimport React, { type ElementType, type ReactElement } from 'react';\nimport { SizesExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritSkeletonProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { LINES_COUNT_DEFAULT } from './constants';\nimport SkeletonItem from './SkeletonItem';\nimport { useSkeletonStyleProps } from './useSkeletonStyleProps';\n\nconst defaultProps: Partial<SpiritSkeletonProps> = {\n size: SizesExtended.MEDIUM,\n lines: LINES_COUNT_DEFAULT,\n elementType: 'div',\n};\nconst SkeletonHeading = <E extends ElementType = 'div', C = void>(props: SpiritSkeletonProps<E, C>): ReactElement => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'div', lines, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useSkeletonStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps: classProps.root,\n classPropsHeading: classProps.heading,\n styleProps,\n otherProps,\n });\n const linesToRender = [...Array(lines ?? LINES_COUNT_DEFAULT).keys()];\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {linesToRender.map((lineNumber) => (\n <SkeletonItem key={`skeleton-item-${lineNumber.toString()}`} />\n ))}\n </ElementTag>\n );\n};\n\nSkeletonHeading.spiritComponent = 'SkeletonHeading';\n\nexport default SkeletonHeading;\n","import { cssVariablePrefix } from '@alma-oss/spirit-design-tokens';\nimport classNames from 'classnames';\nimport { type CSSProperties, type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SkeletonShapeStyleProps, type SpiritSkeletonShapeProps } from '../../types';\n\ninterface CustomizedCSSProperties extends CSSProperties {\n [key: string]: string | undefined | number;\n}\n\nconst setCustomDimension = (prefix: string, size: number | undefined): CustomizedCSSProperties => {\n if (!size) return {};\n\n const propName = `--${prefix}`;\n\n return { [propName]: `${size?.toString()}px` } as CustomizedCSSProperties;\n};\n\nconst setCustomBorderRadius = (\n prefix: string,\n radius: object | number | string | undefined,\n): CustomizedCSSProperties => {\n const style: CustomizedCSSProperties = {};\n const cssPrefix: string = `--${cssVariablePrefix}radius-`;\n\n if (typeof radius === 'object' && radius !== null) {\n Object.keys(radius).forEach((key) => {\n const breakpointSuffix = key === 'mobile' ? '' : `-${key}`;\n const value = (radius as Record<string, string | undefined>)[key];\n (style as Record<string, string | undefined>)[`--${prefix}${breakpointSuffix}`] = `var(${cssPrefix}${value})`;\n });\n } else if (radius) {\n (style as Record<string, string | undefined>)[`--${prefix}`] = `var(${cssPrefix}${radius})`;\n }\n\n return style;\n};\n\nexport interface SkeletonShapeStyles<T extends ElementType = 'div', E = void> {\n classProps: string;\n skeletonShapeStyleProps: CustomizedCSSProperties;\n props: Omit<SpiritSkeletonShapeProps<T, E>, keyof SkeletonShapeStyleProps<T, E>>;\n}\n\nexport const useSkeletonShapeStyleProps = <T extends ElementType = 'div', E = void>(\n props: SpiritSkeletonShapeProps<T, E>,\n): SkeletonShapeStyles<T, E> => {\n const { height, width, borderRadius, ...otherProps } = props;\n\n const skeletonClass = useClassNamePrefix('Skeleton');\n const skeletonItemClass = `${skeletonClass}--shape`;\n\n const classProps = classNames(skeletonClass, skeletonItemClass);\n const stylePrefix: string = `${cssVariablePrefix}skeleton-shape`;\n\n const customizedShapeStyle = {\n ...setCustomDimension(`${stylePrefix}-width`, width),\n ...setCustomDimension(`${stylePrefix}-height`, height),\n ...(borderRadius ? setCustomBorderRadius(`${stylePrefix}-radius`, borderRadius) : {}),\n };\n\n return {\n classProps,\n skeletonShapeStyleProps: customizedShapeStyle,\n props: otherProps,\n };\n};\n","'use client';\n\nimport React, { type ElementType, type ReactElement } from 'react';\nimport { BorderRadii } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritSkeletonShapeProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useSkeletonShapeStyleProps } from './useSkeletonShapeStyleProps';\n\nconst defaultProps: Partial<SpiritSkeletonShapeProps> = {\n borderRadius: BorderRadii[400],\n elementType: 'div',\n};\nconst SkeletonShape = <E extends ElementType = 'div', C = void>(\n props: SpiritSkeletonShapeProps<E, C>,\n): ReactElement => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'div', ...restProps } = propsWithDefaults;\n const { classProps, skeletonShapeStyleProps, props: modifiedProps } = useSkeletonShapeStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, {\n classProps,\n styleProps,\n skeletonShapeStyleProps,\n otherProps,\n });\n\n return <ElementTag {...otherProps} {...mergedStyleProps} />;\n};\n\nSkeletonShape.spiritComponent = 'SkeletonShape';\n\nexport default SkeletonShape;\n","import { useClassNamePrefix } from '../../hooks';\nimport { type SpiritSkipLinkProps } from '../../types';\n\nexport interface SkipLinkStyles {\n /** className props */\n classProps: string | null;\n /** props to be passed to the skip link element */\n props: Partial<SpiritSkipLinkProps>;\n}\n\nexport function useSkipLinkStyleProps(props: SpiritSkipLinkProps): SkipLinkStyles {\n const { ...restProps } = props;\n\n const skipLinkClass = useClassNamePrefix('SkipLink');\n\n return {\n classProps: skipLinkClass,\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type PolymorphicComponent, type PolymorphicRef, type SpiritSkipLinkProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useSkipLinkStyleProps } from './useSkipLinkStyleProps';\n\nconst defaultProps: Partial<SpiritSkipLinkProps> = {\n elementType: 'a',\n};\n\nconst _SkipLink = <E extends ElementType = 'a'>(props: SpiritSkipLinkProps<E>, ref: PolymorphicRef<E>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n\n const {\n elementType: ElementTag = defaultProps.elementType as ElementType,\n children,\n ...restProps\n } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useSkipLinkStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps('a', { classProps, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps} href={restProps.href} ref={ref}>\n {children}\n </ElementTag>\n );\n};\n\nconst SkipLink = forwardRef<HTMLAnchorElement, SpiritSkipLinkProps<ElementType>>(\n _SkipLink,\n) as unknown as PolymorphicComponent<'a', SpiritSkipLinkProps<ElementType>>;\n\nSkipLink.spiritComponent = 'SkipLink';\nSkipLink.displayName = 'SkipLink';\n\nexport default SkipLink;\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritSliderProps } from '../../types';\n\ntype UseSliderStyleProps = Omit<SpiritSliderProps, 'id' | 'value' | 'label'>;\n\nexport interface SliderStyles {\n classProps: {\n root: string;\n label: string;\n input: string;\n helperText: string;\n validationText: string;\n };\n props: UseSliderStyleProps;\n}\n\nexport function useSliderStyleProps(props: UseSliderStyleProps): SliderStyles {\n const { isDisabled, isFluid, isLabelHidden, validationState, ...restProps } = props;\n\n const sliderClass = useClassNamePrefix('Slider');\n const rootClass = classNames(sliderClass);\n const isDisabledClass = `${sliderClass}--disabled`;\n const isFluidClass = `${sliderClass}--fluid`;\n const validationStateClass = `${sliderClass}--${validationState}`;\n const labelClass = classNames(`${sliderClass}__label`);\n const isLabelHiddenClass = `${sliderClass}__label--hidden`;\n const inputClass = `${sliderClass}__input`;\n const helperTextClass = `${sliderClass}__helperText`;\n const validationTextClass = `${sliderClass}__validationText`;\n\n return {\n classProps: {\n root: classNames(rootClass, {\n [isDisabledClass]: isDisabled,\n [isFluidClass]: isFluid,\n [validationStateClass]: validationState,\n }),\n label: classNames(labelClass, {\n [isLabelHiddenClass]: isLabelHidden,\n }),\n input: inputClass,\n helperText: helperTextClass,\n validationText: validationTextClass,\n },\n props: restProps,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type CSSProperties, type ChangeEvent, type FormEvent, type ForwardedRef, forwardRef } from 'react';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { type ForwardRefComponent, type SpiritSliderProps } from '../../types';\nimport { HelperText, Label, ValidationText, useAriaIds } from '../Field';\nimport { useValidationTextRole } from '../Field/useValidationTextRole';\nimport { SLIDER_DEFAULT_PROPS } from './constants';\nimport { useSliderStyleProps } from './useSliderStyleProps';\n\nconst defaultProps = {\n ...SLIDER_DEFAULT_PROPS,\n};\n\nconst _Slider = (props: SpiritSliderProps, ref: ForwardedRef<HTMLInputElement>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n 'aria-describedby': ariaDescribedBy,\n hasValidationIcon,\n helperText,\n id,\n isDisabled,\n label,\n max,\n min,\n step,\n validationState,\n validationText,\n value,\n ...restProps\n } = propsWithDefaults;\n\n const { classProps, props: modifiedProps } = useSliderStyleProps({\n ...restProps,\n isDisabled,\n validationState,\n });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n const validationTextRole = useValidationTextRole({\n validationState,\n validationText,\n });\n\n const CSSVariable = '--slider-position';\n\n const getSliderPosition = (num: number) => `${Math.round((100 * (num - min)) / (max - min))}%`;\n\n const handleInput = (event: FormEvent<HTMLInputElement>) => {\n const { target } = event as ChangeEvent<HTMLInputElement>;\n const { value: inputValue } = target;\n\n target.style.setProperty(CSSVariable, getSliderPosition(Number(inputValue)));\n };\n\n return (\n <div {...styleProps} {...otherProps} className={classNames(classProps.root, styleProps.className)}>\n <Label htmlFor={id} UNSAFE_className={classProps.label}>\n {label}\n </Label>\n <input\n {...ariaDescribedByProp}\n className={classProps.input}\n id={id}\n onInput={handleInput}\n style={{ [CSSVariable]: `${getSliderPosition(value)}` } as CSSProperties}\n type=\"range\"\n min={min}\n max={max}\n step={step}\n value={value}\n disabled={isDisabled}\n ref={ref}\n />\n <HelperText\n UNSAFE_className={classProps.helperText}\n helperText={helperText}\n id={`${id}__helperText`}\n registerAria={register}\n />\n {validationState && (\n <ValidationText\n UNSAFE_className={classProps.validationText}\n {...(hasValidationIcon && { hasValidationStateIcon: validationState })}\n id={`${id}__validationText`}\n registerAria={register}\n validationText={validationText}\n role={validationTextRole}\n />\n )}\n </div>\n );\n};\n\nconst Slider = forwardRef<HTMLInputElement, SpiritSliderProps>(_Slider) as ForwardRefComponent<\n HTMLInputElement,\n SpiritSliderProps\n>;\n\nSlider.spiritComponent = 'Slider';\nSlider.displayName = 'Slider';\n\nexport default Slider;\n","export const DEMO_SLIDER_DEFAULT_VALUE = 30;\nexport const DEMO_SLIDER_STEPS_VALUE = 9;\n\nexport const SLIDER_DEFAULT_PROPS = {\n max: 100, // @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range#specifying_the_minimum_and_maximum\n min: 0, // @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range#specifying_the_minimum_and_maximum\n step: 1, // @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range#setting_the_values_granularity\n};\n","import { useClassNamePrefix } from '../../hooks';\n\nexport interface SplitButtonStyles {\n /** className props */\n classProps: string;\n}\n\nexport function useSplitButtonStyleProps(): SplitButtonStyles {\n const SplitButtonClass = useClassNamePrefix('SplitButton');\n\n return {\n classProps: SplitButtonClass,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { ComponentButtonColors, Sizes } from '../../constants';\nimport { PropsProvider } from '../../context';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritSplitButtonProps } from '../../types';\nimport { useSplitButtonStyleProps } from './useSplitButtonStyleProps';\n\nconst defaultProps: Partial<SpiritSplitButtonProps> = {\n color: ComponentButtonColors.PRIMARY,\n size: Sizes.MEDIUM,\n};\n\nconst SplitButton = (props: SpiritSplitButtonProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, color, size, isDisabled, ...restProps } = propsWithDefaults;\n const { classProps } = useSplitButtonStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <PropsProvider value={{ color, size, isDisabled }}>\n <div {...styleProps} {...otherProps} className={classNames(classProps, styleProps.className)}>\n {children}\n </div>\n </PropsProvider>\n );\n};\n\nexport default SplitButton;\n","'use client';\n\nimport React, { useState } from 'react';\nimport { useI18n } from '../../hooks';\nimport { type UncontrolledSplitButtonProps } from '../../types';\nimport { Button } from '../Button';\nimport { Dropdown, DropdownPopover, DropdownTrigger } from '../Dropdown';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport SplitButton from './SplitButton';\n\nconst defaultProps: Partial<UncontrolledSplitButtonProps> = {\n dropdownPlacement: 'bottom-end',\n dropdownTriggerIconName: 'chevron-down',\n};\n\nconst UncontrolledSplitButton = (props: UncontrolledSplitButtonProps) => {\n const { t } = useI18n();\n const propsWithDefaults = { ...defaultProps, ...props };\n const {\n buttonIconName,\n buttonLabel,\n buttonOnClick,\n children,\n dropdownTriggerIconName,\n dropdownTriggerLabel,\n dropdownPlacement,\n id,\n isButtonLabelHidden,\n isDisabled,\n isDropdownTriggerLabelHidden,\n ...restProps\n } = propsWithDefaults;\n const resolvedDropdownTriggerLabel = dropdownTriggerLabel ?? t('splitButton.dropdown');\n const [openDropdownState, setOpenDropdownState] = useState(false);\n\n return (\n <SplitButton {...restProps} id={id} isDisabled={isDisabled}>\n <Button onClick={buttonOnClick}>\n {buttonIconName && <Icon name={buttonIconName} {...(!isButtonLabelHidden && { marginRight: 'space-400' })} />}\n {isButtonLabelHidden ? <VisuallyHidden>{buttonLabel}</VisuallyHidden> : buttonLabel}\n </Button>\n <Dropdown\n id={`${id}-dropdown`}\n isOpen={openDropdownState}\n onToggle={() => setOpenDropdownState(!openDropdownState)}\n placement={dropdownPlacement}\n >\n <DropdownTrigger elementType={Button}>\n {isDropdownTriggerLabelHidden ? (\n <VisuallyHidden>{resolvedDropdownTriggerLabel}</VisuallyHidden>\n ) : (\n resolvedDropdownTriggerLabel\n )}\n <Icon name={dropdownTriggerIconName!} {...(!isDropdownTriggerLabelHidden && { marginLeft: 'space-400' })} />\n </DropdownTrigger>\n <DropdownPopover>{children}</DropdownPopover>\n </Dropdown>\n </SplitButton>\n );\n};\n\nexport default UncontrolledSplitButton;\n","'use client';\n\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type TabContentProps } from '../../types';\n\nconst TabContent = ({ children, ...restProps }: TabContentProps): JSX.Element => {\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n return (\n <div {...transferProps} {...styleProps}>\n {children}\n </div>\n );\n};\n\nTabContent.spiritComponent = 'TabContent';\n\nexport default TabContent;\n","'use client';\n\nimport { createContext, useContext } from 'react';\nimport { type TabId, type TabsContextType, type TabsToggler } from '../../types';\n\nconst defaultContext: TabsContextType = {\n selectedId: '',\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n selectTab: (id: TabId) => {},\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n onSelectionChange: (previousId, currentId) => {},\n};\n\nconst TabsContext = createContext<TabsContextType>(defaultContext);\nconst TabsProvider = TabsContext.Provider;\nconst TabsConsumer = TabsContext.Consumer;\nconst useTabContext = (): TabsContextType => useContext(TabsContext);\n\nexport default TabsContext;\n// eslint-disable-next-line react-refresh/only-export-components -- Context file exports context alongside hooks\nexport { TabsConsumer, TabsProvider, useTabContext };\nexport type { TabsContextType, TabsToggler };\n","import classNames from 'classnames';\nimport { useClassNamePrefix, useSpacingStyle } from '../../hooks';\nimport { type SpacingCSSProperties, type SpiritTabsProps } from '../../types';\nimport { useTabContext } from './TabContext';\n\nexport interface TabsStyles {\n /** className props */\n classProps: {\n item: string;\n link: string;\n pane: string;\n root: string;\n };\n /** props to be passed to the element */\n props: unknown;\n styleProps: TabsCSSProperties;\n}\n\ninterface TabsCSSProperties extends SpacingCSSProperties {}\n\nexport function useTabsStyleProps(props: SpiritTabsProps = { selectedId: '', forTabPane: '', id: '' }): TabsStyles {\n const { spacing } = useTabContext();\n const { selectedId, forTabPane, id, ...modifiedProps } = props;\n\n const tabsClass = useClassNamePrefix('Tabs');\n const tabsItemClass = `${tabsClass}__item`;\n const tabsLinkClass = `${tabsClass}__link`;\n const tabsPaneClass = `${tabsClass}Pane`;\n const tabsSelectedClass = 'is-selected';\n\n const tabsStyle = useSpacingStyle(spacing, 'tabs');\n\n return {\n classProps: {\n item: tabsItemClass,\n link: classNames(tabsLinkClass, {\n [tabsSelectedClass]: !!forTabPane && !!selectedId && selectedId === forTabPane,\n }),\n pane: classNames(tabsPaneClass, {\n [tabsSelectedClass]: !!id && !!selectedId && selectedId === id,\n }),\n root: tabsClass,\n },\n props: modifiedProps,\n styleProps: tabsStyle,\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ClickEvent, type TabItemProps } from '../../types';\nimport { useTabContext } from './TabContext';\nimport { useTabsStyleProps } from './useTabsStyleProps';\n\nconst TabItem = ({ children, forTabPane, onClick, ...restProps }: TabItemProps): JSX.Element => {\n const { selectTab, selectedId, onSelectionChange } = useTabContext();\n const { classProps } = useTabsStyleProps({ forTabPane, selectedId });\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n const handleClick = (event: ClickEvent) => {\n selectTab(forTabPane);\n\n if (onClick) {\n onClick(event);\n }\n\n if (onSelectionChange) {\n onSelectionChange(selectedId, forTabPane);\n }\n };\n\n return (\n <li className={classProps.item} role=\"presentation\">\n <button\n {...transferProps}\n {...styleProps}\n type=\"button\"\n className={classNames(classProps.link, styleProps.className)}\n role=\"tab\"\n aria-selected={selectedId === forTabPane}\n id={`${forTabPane}-tab`}\n aria-controls={forTabPane.toString()}\n onClick={handleClick}\n >\n {children}\n </button>\n </li>\n );\n};\n\nTabItem.spiritComponent = 'TabItem';\n\nexport default TabItem;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport {\n type PolymorphicComponent,\n type PolymorphicRef,\n type SpiritTabLinkProps,\n type TabLinkProps,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useTabsStyleProps } from './useTabsStyleProps';\n\nconst defaultProps: TabLinkProps = {\n itemProps: {},\n};\n\nconst _TabLink = <E extends ElementType = 'a'>(props: SpiritTabLinkProps<E>, ref: PolymorphicRef<E>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType = 'a', children, itemProps = {}, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { classProps } = useTabsStyleProps();\n const { styleProps: itemStyleProps, props: itemTransferProps } = useStyleProps(itemProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps: classProps.link });\n\n return (\n <li\n {...itemStyleProps}\n {...itemTransferProps}\n className={classNames(classProps.item, itemStyleProps.className)}\n role=\"presentation\"\n >\n <Component {...restProps} {...mergedStyleProps} ref={ref}>\n {children}\n </Component>\n </li>\n );\n};\n\nconst TabLink = forwardRef<HTMLAnchorElement, SpiritTabLinkProps<'a'>>(_TabLink) as unknown as PolymorphicComponent<\n 'a',\n TabLinkProps\n>;\n\nTabLink.spiritComponent = 'TabLink';\nTabLink.displayName = 'TabLink';\n\nexport default TabLink;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ReactElement } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type TabListProps } from '../../types';\nimport { useTabsStyleProps } from './useTabsStyleProps';\n\nconst TabList = ({ children, ...restProps }: TabListProps): ReactElement => {\n const { classProps, styleProps: tabsStyle } = useTabsStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n const tabsStyleProps = {\n style: {\n ...styleProps.style,\n ...tabsStyle,\n },\n };\n\n return (\n <ul\n {...transferProps}\n {...styleProps}\n {...tabsStyleProps}\n className={classNames(classProps.root, styleProps.className)}\n role=\"tablist\"\n >\n {children}\n </ul>\n );\n};\n\nTabList.spiritComponent = 'TabList';\n\nexport default TabList;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type TabPaneProps } from '../../types';\nimport { useTabContext } from './TabContext';\nimport { useTabsStyleProps } from './useTabsStyleProps';\n\nconst TabPane = ({ children, id, ...restProps }: TabPaneProps): JSX.Element | null => {\n const { selectedId } = useTabContext();\n const { classProps } = useTabsStyleProps({ id, selectedId });\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n return selectedId === id ? (\n <div\n {...transferProps}\n {...styleProps}\n id={id.toString()}\n className={classNames(classProps.pane, styleProps.className)}\n role=\"tabpanel\"\n aria-labelledby={`${id}-tab`}\n >\n {children}\n </div>\n ) : null;\n};\n\nTabPane.spiritComponent = 'TabPane';\n\nexport default TabPane;\n","'use client';\n\nimport React from 'react';\nimport { type TabsProps } from '../../types';\nimport { TabsProvider } from './TabContext';\n\nconst Tabs = ({ children, selectedTab, toggle: selectTab, onSelectionChange, spacing }: TabsProps): JSX.Element => (\n <TabsProvider value={{ selectedId: selectedTab, selectTab, onSelectionChange, spacing }}>{children}</TabsProvider>\n);\n\nTabs.spiritComponent = 'Tabs';\n\nexport default Tabs;\n","'use client';\n\nimport { useCallback, useState } from 'react';\nimport { type TabId } from '../../types';\n\nexport const useTab = (initialId: TabId) => {\n const [selectedId, setState] = useState<TabId>(initialId);\n\n // Define and memorize toggler function in case we pass down the component,\n const selectTab = useCallback((id: TabId) => {\n setState(id);\n }, []);\n\n return { selectedId, selectTab };\n};\n","'use client';\n\nimport React from 'react';\nimport { type UncontrolledTabsProps } from '../../types';\nimport { TabsProvider } from './TabContext';\nimport { useTab } from './useTabs';\n\nconst UncontrolledTabs = ({\n children,\n defaultSelectedTab,\n onSelectionChange,\n spacing,\n}: UncontrolledTabsProps): JSX.Element => {\n const { selectedId, selectTab } = useTab(defaultSelectedTab);\n\n return <TabsProvider value={{ selectedId, selectTab, onSelectionChange, spacing }}>{children}</TabsProvider>;\n};\n\nUncontrolledTabs.spiritComponent = 'UncontrolledTabs';\n\nexport default UncontrolledTabs;\n","export const TagColorsExtended = {\n NEUTRAL: 'neutral',\n} as const;\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritTagProps } from '../../types';\n\nexport interface TagStyles {\n /** className props */\n classProps: string;\n /** props to be passed to the element */\n props: Partial<SpiritTagProps>;\n}\n\nexport function useTagStyleProps<E extends ElementType = 'span', C = void, S = void>(\n props: SpiritTagProps<E, C, S>,\n): TagStyles {\n const { color, isSubtle, size, ...modifiedProps } = props;\n\n const TagClass = useClassNamePrefix('Tag');\n const TagColorClass = `${TagClass}--${color}`;\n const TagSizeClass = `${TagClass}--${size}`;\n const TagSubtleClass = `${TagClass}--subtle`;\n const classProps = classNames(TagClass, {\n [TagColorClass]: color,\n [TagSizeClass]: size,\n [TagSubtleClass]: isSubtle,\n });\n\n return {\n classProps,\n props: modifiedProps as Partial<SpiritTagProps>,\n };\n}\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { SizesExtended } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type PolymorphicComponent, type PolymorphicRef, type SpiritTagProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { TagColorsExtended } from './constants';\nimport { useTagStyleProps } from './useTagStyleProps';\n\nconst defaultProps = {\n color: TagColorsExtended.NEUTRAL,\n elementType: 'span',\n isSubtle: false,\n size: SizesExtended.MEDIUM,\n};\n\nconst _Tag = <E extends ElementType = 'span', C = void, S = void>(\n props: SpiritTagProps<E, C, S>,\n ref: PolymorphicRef<E>,\n): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType = defaultProps.elementType, children, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { classProps, props: modifiedProps } = useTagStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps, styleProps, otherProps });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n {children}\n </Component>\n );\n};\n\nconst Tag = forwardRef<HTMLSpanElement, SpiritTagProps<'span', void, void>>(_Tag) as unknown as PolymorphicComponent<\n 'span',\n SpiritTagProps<ElementType, void, void>\n>;\n\nTag.spiritComponent = 'Tag';\nTag.displayName = 'Tag';\n\nexport default Tag;\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritTextProps, type TextProps } from '../../types';\n\nexport interface TextStyles<E extends ElementType = 'p'> {\n /** className props */\n classProps: string | null;\n /** props to be passed to the input element */\n props: TextProps<E>;\n}\n\nexport function useTextStyleProps<E extends ElementType = 'p', S = void, Emph = void, C = void>(\n props: SpiritTextProps<E, S, Emph, C>,\n): TextStyles<E> {\n const { emphasis, size, textColor, ...restProps } = props;\n\n const textClass = useClassNamePrefix('typography-body');\n const textColorClass = useClassNamePrefix(textColor ? `text-${textColor}` : '');\n const className = classNames(`${textClass}-${size}-${emphasis}`, {\n [textColorClass]: !!textColor,\n });\n\n return {\n classProps: className,\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { Emphasis, SizesExtended, TextStyleProps } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTextProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useTextStyleProps } from './useTextStyleProps';\n\nconst defaultProps: Partial<SpiritTextProps> = {\n elementType: 'p',\n emphasis: Emphasis.REGULAR,\n size: SizesExtended.MEDIUM,\n};\n\nconst Text = <E extends ElementType = 'p', S = void, Emph = void, C = void>(\n props: SpiritTextProps<E, S, Emph, C>,\n): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'p', children, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useTextStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps, {\n isTextBalanced: TextStyleProps.isTextBalanced,\n textAlignment: TextStyleProps.textAlignment,\n textHyphens: TextStyleProps.textHyphens,\n textWordBreak: TextStyleProps.textWordBreak,\n });\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nText.spiritComponent = 'Text';\n\nexport default Text;\n","'use client';\n\nimport React, { type ElementType, type ForwardedRef, type RefObject, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ForwardRefComponent, type SpiritTextFieldBaseInputProps } from '../../types';\nimport { useTextFieldBaseInputStyleProps } from './useTextFieldBaseInputStyleProps';\n\nconst _TextFieldBaseInput = (\n props: SpiritTextFieldBaseInputProps,\n ref: ForwardedRef<HTMLInputElement | HTMLTextAreaElement>,\n) => {\n const { classProps, props: modifiedProps } = useTextFieldBaseInputStyleProps(props);\n const { id, isDisabled, isMultiline, isRequired, inputWidth, type, ...restProps } = modifiedProps;\n const { props: otherProps } = useStyleProps(restProps);\n\n const Component: ElementType = isMultiline ? 'textarea' : 'input';\n const inputType = isMultiline ? undefined : type;\n\n return (\n <Component\n {...otherProps}\n className={classProps.input}\n disabled={isDisabled}\n id={id}\n required={isRequired}\n size={inputWidth}\n type={inputType}\n ref={ref as RefObject<HTMLInputElement & HTMLTextAreaElement>}\n />\n );\n};\n\nconst TextFieldBaseInput = forwardRef<HTMLInputElement | HTMLTextAreaElement, SpiritTextFieldBaseInputProps>(\n _TextFieldBaseInput,\n) as unknown as ForwardRefComponent<HTMLInputElement | HTMLTextAreaElement, SpiritTextFieldBaseInputProps>;\n\nTextFieldBaseInput.spiritComponent = 'TextFieldBaseInput';\nTextFieldBaseInput.displayName = 'TextFieldBaseInput';\n\nexport default TextFieldBaseInput;\n","import { useClassNamePrefix } from '../../hooks';\nimport { type SpiritTextFieldBaseInputProps, type TextFieldBaseProps } from '../../types';\n\nexport interface TextFieldBaseInputStyles {\n /** className props */\n classProps: {\n input: string;\n };\n /** props to be passed to the input element */\n props: TextFieldBaseProps;\n}\n\nexport function useTextFieldBaseInputStyleProps(props: SpiritTextFieldBaseInputProps): TextFieldBaseInputStyles {\n const { isMultiline, id, ...restProps } = props;\n\n const TextFieldBaseClass = useClassNamePrefix(isMultiline ? 'TextArea' : 'TextField');\n const TextFieldBaseInputClass = `${TextFieldBaseClass}__input`;\n\n return {\n classProps: {\n input: TextFieldBaseInputClass,\n },\n props: {\n ...restProps,\n isMultiline,\n id,\n },\n };\n}\n","'use client';\n\nimport React from 'react';\nimport { Sizes } from '../../constants';\nimport { useI18n } from '../../hooks';\nimport { type SpiritTextFieldBasePasswordToggleProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { useTextFieldBasePasswordToggleStyleProps } from './useTextFieldBasePasswordToggleStyleProps';\n\nconst TextFieldBasePasswordToggle = (props: SpiritTextFieldBasePasswordToggleProps): JSX.Element => {\n const { t } = useI18n();\n const { children, isPasswordShown, onToggleClick, isDisabled, size } = props;\n const { classProps } = useTextFieldBasePasswordToggleStyleProps();\n const ariaLabel = isPasswordShown ? t('textField.password.hide') : t('textField.password.show');\n\n return (\n <div className={classProps.passwordToggle}>\n {children}\n <button\n className={classProps.passwordToggleButton}\n type=\"button\"\n role=\"switch\"\n aria-checked={!!isPasswordShown}\n aria-label={ariaLabel}\n onClick={() => onToggleClick()}\n disabled={isDisabled}\n >\n <span className={classProps.passwordToggleIcon}>\n <Icon name={`visibility-${isPasswordShown ? 'off' : 'on'}`} boxSize={size === Sizes.SMALL ? 16 : 20} />\n </span>\n </button>\n </div>\n );\n};\n\nTextFieldBasePasswordToggle.spiritComponent = 'TextFieldBasePasswordToggle';\n\nexport default TextFieldBasePasswordToggle;\n","import { useClassNamePrefix } from '../../hooks';\n\nexport interface TextFieldBasePasswordToggleStyles {\n /** className props */\n classProps: {\n passwordToggle: string;\n passwordToggleButton: string;\n passwordToggleIcon: string;\n };\n}\n\nexport function useTextFieldBasePasswordToggleStyleProps(): TextFieldBasePasswordToggleStyles {\n const TextFieldBaseClass = useClassNamePrefix('TextField');\n const TextFieldBasePasswordToggleClass = `${TextFieldBaseClass}__passwordToggle`;\n const TextFieldBasePasswordToggleButtonClass = `${TextFieldBaseClass}__passwordToggle__button`;\n const TextFieldBasePasswordToggleIconClass = `${TextFieldBaseClass}__passwordToggle__icon`;\n\n return {\n classProps: {\n passwordToggle: TextFieldBasePasswordToggleClass,\n passwordToggleButton: TextFieldBasePasswordToggleButtonClass,\n passwordToggleIcon: TextFieldBasePasswordToggleIconClass,\n },\n };\n}\n","// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-nocheck\n/*\nerror TS2322: Type 'Omit<T, \"hasPasswordToggle\"> & { type: string; }' is not assignable to type 'IntrinsicAttributes & T'.\n Type 'Omit<T, \"hasPasswordToggle\"> & { type: string; }' is not assignable to type 'T'.\n 'T' could be instantiated with an arbitrary type which could be unrelated to 'Omit<T, \"hasPasswordToggle\"> & { type: string; }'.\n*/\n\n'use client';\n\nimport React, { type ComponentType, type ForwardedRef } from 'react';\nimport { type PasswordToggleAdornmentProp } from '../../types/shared/adornments';\nimport TextFieldBasePasswordToggle from './TextFieldBasePasswordToggle';\nimport { usePasswordToggle } from './usePasswordToggle';\n\nfunction withPasswordToggle<T extends PasswordToggleAdornmentProp>(WrappedComponent: ComponentType<T>) {\n const displayName = WrappedComponent.displayName || WrappedComponent.name || 'Component';\n\n const ComponentWithPasswordToggle = (props: T, ref: ForwardedRef<HTMLInputElement | HTMLTextAreaElement>) => {\n const { isPasswordShown, passwordToggle } = usePasswordToggle();\n const { hasPasswordToggle, isDisabled, size, ...restProps } = props;\n\n return hasPasswordToggle ? (\n <TextFieldBasePasswordToggle\n isDisabled={isDisabled}\n isPasswordShown={isPasswordShown}\n onToggleClick={passwordToggle}\n size={size}\n >\n <WrappedComponent\n {...restProps}\n type={isPasswordShown ? 'text' : 'password'}\n isDisabled={isDisabled}\n ref={ref}\n />\n </TextFieldBasePasswordToggle>\n ) : (\n <WrappedComponent {...restProps} isDisabled={isDisabled} ref={ref} />\n );\n };\n\n ComponentWithPasswordToggle.displayName = `withPasswordToggle(${displayName})`;\n\n return ComponentWithPasswordToggle;\n}\n\nwithPasswordToggle.spiritComponent = 'withPasswordToggle';\n\nexport default withPasswordToggle;\n","'use client';\n\nimport { useState } from 'react';\n\nexport const usePasswordToggle = () => {\n const [isPasswordShown, setIsPasswordShown] = useState<boolean>(false);\n const passwordToggle = () => setIsPasswordShown(!isPasswordShown);\n\n return {\n isPasswordShown,\n passwordToggle,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ForwardedRef, forwardRef } from 'react';\nimport { Sizes } from '../../constants';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport {\n type ForwardRefComponent,\n type SpiritTextFieldBaseProps,\n type TextFieldBasePasswordToggleProps,\n} from '../../types';\nimport { HelperText, Label, ValidationText, useAriaIds } from '../Field';\nimport { useValidationTextRole } from '../Field/useValidationTextRole';\nimport TextFieldBaseInput from './TextFieldBaseInput';\nimport { useTextFieldBaseStyleProps } from './useTextFieldBaseStyleProps';\nimport withPasswordToggle from './withPasswordToggle';\n\nconst TextFieldBaseInputWithPasswordToggle = forwardRef(\n withPasswordToggle<TextFieldBasePasswordToggleProps>(TextFieldBaseInput),\n);\n\nconst _TextFieldBase = (props: SpiritTextFieldBaseProps, ref: ForwardedRef<HTMLInputElement | HTMLTextAreaElement>) => {\n const {\n 'aria-describedby': ariaDescribedBy = '',\n hasValidationIcon,\n helperText,\n id,\n label,\n size = Sizes.MEDIUM,\n validationState,\n validationText,\n ...restProps\n } = props;\n const { classProps, props: modifiedProps } = useTextFieldBaseStyleProps({\n id,\n size,\n validationState,\n ...restProps,\n });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n const validationTextRole = useValidationTextRole({\n validationState,\n validationText,\n });\n\n return (\n <div {...styleProps} className={classNames(classProps.root, styleProps.className)}>\n <Label htmlFor={id} UNSAFE_className={classProps.label}>\n {label}\n </Label>\n <TextFieldBaseInputWithPasswordToggle {...otherProps} {...ariaDescribedByProp} id={id} ref={ref} size={size} />\n <HelperText\n UNSAFE_className={classProps.helperText}\n id={`${id}__helperText`}\n registerAria={register}\n helperText={helperText}\n />\n {validationState && (\n <ValidationText\n UNSAFE_className={classProps.validationText}\n elementType=\"span\"\n {...(hasValidationIcon && { hasValidationStateIcon: validationState })}\n id={`${id}__validationText`}\n validationText={validationText}\n registerAria={register}\n role={validationTextRole}\n />\n )}\n </div>\n );\n};\n\nconst TextFieldBase = forwardRef<HTMLInputElement | HTMLTextAreaElement, SpiritTextFieldBaseProps>(\n _TextFieldBase,\n) as ForwardRefComponent<HTMLInputElement | HTMLTextAreaElement, SpiritTextFieldBaseProps>;\n\nTextFieldBase.spiritComponent = 'TextFieldBase';\nTextFieldBase.displayName = 'TextFieldBase';\n\nexport default TextFieldBase;\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritTextFieldBaseProps, type TextFieldBaseProps } from '../../types';\n\nexport interface TextFieldBaseStyles {\n /** className props */\n classProps: {\n root: string;\n label: string;\n input: string;\n helperText: string;\n validationText: string;\n passwordToggle: string;\n passwordToggleButton: string;\n passwordToggleIcon: string;\n };\n /** props to be passed to the input element */\n props: Omit<TextFieldBaseProps, 'label'>;\n}\n\nexport function useTextFieldBaseStyleProps(props: Omit<SpiritTextFieldBaseProps, 'label'>): TextFieldBaseStyles {\n const { isFluid, isMultiline, isLabelHidden, size, validationState, ...restProps } = props;\n const { isDisabled, isRequired } = restProps;\n\n const TextFieldBaseClass = useClassNamePrefix(isMultiline ? 'TextArea' : 'TextField');\n const TextFieldBaseDisabledClass = `${TextFieldBaseClass}--disabled`;\n const TextFieldBaseFluidClass = `${TextFieldBaseClass}--fluid`;\n const TextFieldBaseSizeClass = `${TextFieldBaseClass}--${size}`;\n const TextFieldBaseValidationClass = `${TextFieldBaseClass}--${validationState}`;\n const TextFieldBaseInputClass = `${TextFieldBaseClass}__input`;\n const TextFieldBaseLabelClass = `${TextFieldBaseClass}__label`;\n const TextFieldBaseLabelRequiredClass = `${TextFieldBaseClass}__label--required`;\n const TextFieldBaseLabelHiddenClass = `${TextFieldBaseClass}__label--hidden`;\n const TextFieldBaseValidationTextClass = `${TextFieldBaseClass}__validationText`;\n const TextFieldBasePasswordToggleClass = `${TextFieldBaseClass}__passwordToggle`;\n const TextFieldBasePasswordToggleButtonClass = `${TextFieldBaseClass}__passwordToggle__button`;\n const TextFieldBasePasswordToggleIconClass = `${TextFieldBaseClass}__passwordToggle__icon`;\n const TextFieldBaseHelperTextClass = `${TextFieldBaseClass}__helperText`;\n\n const rootStyles = classNames(TextFieldBaseClass, {\n [TextFieldBaseDisabledClass]: isDisabled,\n [TextFieldBaseFluidClass]: isFluid,\n [TextFieldBaseValidationClass]: validationState,\n [TextFieldBaseSizeClass]: size,\n });\n const labelStyles = classNames(TextFieldBaseLabelClass, {\n [TextFieldBaseLabelRequiredClass]: isRequired,\n [TextFieldBaseLabelHiddenClass]: isLabelHidden,\n });\n\n return {\n classProps: {\n root: rootStyles,\n label: labelStyles,\n input: TextFieldBaseInputClass,\n helperText: TextFieldBaseHelperTextClass,\n validationText: TextFieldBaseValidationTextClass,\n passwordToggle: TextFieldBasePasswordToggleClass,\n passwordToggleButton: TextFieldBasePasswordToggleButtonClass,\n passwordToggleIcon: TextFieldBasePasswordToggleIconClass,\n },\n props: {\n ...restProps,\n isMultiline,\n },\n };\n}\n","'use client';\n\n/* eslint-disable no-param-reassign -- DOM manipulation is required for dynamic height adjustment */\nimport { type FormEvent, type FormEventHandler, type ForwardedRef, type MutableRefObject, useEffect } from 'react';\n\nexport interface UseAdjustHeightProps {\n elementReference?: MutableRefObject<ForwardedRef<HTMLTextAreaElement>>;\n maxHeight: number;\n onInput?: FormEventHandler<HTMLTextAreaElement>;\n isAutoResizing?: boolean;\n}\n\nexport interface UseAdjustHeightReturn {\n adjustHeight: (element: HTMLTextAreaElement) => void;\n adjustHeightOnAutoresize: () => void;\n onInput: FormEventHandler<HTMLTextAreaElement>;\n}\n\nexport const useAdjustHeight = ({\n elementReference,\n maxHeight,\n onInput,\n isAutoResizing,\n}: UseAdjustHeightProps): UseAdjustHeightReturn => {\n const adjustHeight = (element: HTMLTextAreaElement) => {\n const borderTopWidth = parseFloat(getComputedStyle(element).getPropertyValue('border-top-width')) || 0;\n const borderBottomWidth = parseFloat(getComputedStyle(element).getPropertyValue('border-bottom-width')) || 0;\n const totalBorderWidth = borderTopWidth + borderBottomWidth;\n\n element.style.height = 'auto';\n element.style.overflow = 'auto';\n\n const totalHeight = element.scrollHeight + totalBorderWidth;\n\n element.style.height = `${totalHeight < maxHeight ? totalHeight : maxHeight}px`;\n element.style.overflow = totalHeight < maxHeight ? 'hidden' : 'auto';\n };\n\n const adjustHeightOnAutoresize = () => {\n if (isAutoResizing) {\n // Because of mixed props for input and textarea\n const textArea = elementReference?.current as unknown as HTMLTextAreaElement;\n\n if (textArea) {\n adjustHeight(textArea);\n }\n }\n };\n\n const inputHandler = (event: FormEvent<HTMLTextAreaElement>) => {\n adjustHeightOnAutoresize();\n\n if (onInput) {\n onInput(event);\n }\n };\n\n /**\n * This is the equivalent of the initialization function\n * It will run only once when the component is mounted\n */\n useEffect(() => {\n adjustHeightOnAutoresize();\n // eslint-disable-next-line react-hooks/exhaustive-deps -- Empty deps array to run only once\n }, []);\n\n return {\n adjustHeight,\n adjustHeightOnAutoresize,\n onInput: inputHandler,\n };\n};\n","'use client';\n\nimport React, { type ForwardedRef, type RefObject, forwardRef, useRef } from 'react';\nimport { type ForwardRefComponent, type SpiritTextAreaProps } from '../../types';\nimport { TextFieldBase } from '../TextFieldBase';\nimport { useAdjustHeight } from './useAdjustHeight';\n\nconst _TextArea = (props: SpiritTextAreaProps, ref: ForwardedRef<HTMLTextAreaElement>): JSX.Element => {\n const { onInput, isAutoResizing, autoResizingMaxHeight = 400, ...restProps } = props;\n const elementReference = useRef(ref);\n const { adjustHeightOnAutoresize, onInput: onInputHandler } = useAdjustHeight({\n elementReference,\n onInput,\n isAutoResizing,\n maxHeight: autoResizingMaxHeight,\n });\n\n return (\n <TextFieldBase\n isMultiline\n ref={elementReference as RefObject<HTMLTextAreaElement>}\n onInput={onInputHandler}\n onFocus={adjustHeightOnAutoresize}\n {...restProps}\n />\n );\n};\n\nconst TextArea = forwardRef<HTMLTextAreaElement, SpiritTextAreaProps>(_TextArea) as ForwardRefComponent<\n HTMLTextAreaElement,\n SpiritTextAreaProps\n>;\n\nTextArea.spiritComponent = 'TextArea';\nTextArea.displayName = 'TextArea';\n\nexport default TextArea;\n","'use client';\n\nimport React, { type ForwardedRef, forwardRef } from 'react';\nimport { type ForwardRefComponent, type SpiritTextFieldProps } from '../../types';\nimport { TextFieldBase } from '../TextFieldBase';\n\nconst _TextField = (props: SpiritTextFieldProps, ref: ForwardedRef<HTMLInputElement>): JSX.Element => (\n <TextFieldBase type=\"text\" {...props} ref={ref} />\n);\n\nconst TextField = forwardRef<HTMLInputElement, SpiritTextFieldProps>(_TextField) as ForwardRefComponent<\n HTMLInputElement,\n SpiritTextFieldProps\n>;\n\nTextField.spiritComponent = 'TextField';\nTextField.displayName = 'TextField';\n\nexport default TextField;\n","import { Sizes } from '../../constants';\n\nexport const TIMELINE_MARKER = {\n DOT: 'dot',\n NUMBER: 'number',\n ICON: 'icon',\n};\n\nexport const TIMELINE_SIZE_DEFAULT = Sizes.SMALL;\n","import classNames from 'classnames';\nimport { type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport type { SingleOrResponsive, SizesDictionaryType, SpiritTimelineProps, TimelineMarkerProps } from '../../types';\nimport { generateResponsiveClassNames } from '../../utils';\nimport { TIMELINE_MARKER, TIMELINE_SIZE_DEFAULT } from './constants';\n\nexport interface UseTimelineStyleProps {\n markerVariant?: TimelineMarkerProps['variant'];\n markerBackgroundColor?: TimelineMarkerProps['backgroundColor'];\n markerBorderColor?: TimelineMarkerProps['borderColor'];\n markerTextColor?: TimelineMarkerProps['textColor'];\n markerSize?: SingleOrResponsive<SizesDictionaryType>;\n}\n\nexport interface TimelineStyles<T> {\n /** className props */\n classProps: {\n content: string;\n heading: string;\n marker: string;\n root: string;\n step: string;\n };\n /** props to be passed to the element */\n props: T;\n}\n\nexport function useTimelineStyleProps(props?: UseTimelineStyleProps): TimelineStyles<SpiritTimelineProps<ElementType>> {\n const {\n markerBackgroundColor,\n markerBorderColor,\n markerTextColor,\n markerVariant,\n markerSize = TIMELINE_SIZE_DEFAULT,\n ...restProps\n } = props || {};\n const timelineClass = useClassNamePrefix('Timeline');\n const contentClass = `${timelineClass}Content`;\n const headingClass = `${timelineClass}Heading`;\n const markerClass = `${timelineClass}Marker`;\n const stepClass = `${timelineClass}Step`;\n const shouldApplyBackgroundAndBorderColors =\n markerVariant === TIMELINE_MARKER.DOT || markerVariant === TIMELINE_MARKER.NUMBER;\n const markerBackgroundPrefix = useClassNamePrefix(`bg-${markerBackgroundColor}`);\n const markerBorderClassPrefix = useClassNamePrefix(`border-${markerBorderColor}`);\n const markerTextColorClassPrefix = useClassNamePrefix(`text-${markerTextColor}`);\n const markerBackgroundClass = markerBackgroundColor ? markerBackgroundPrefix : '';\n const markerBorderClass = markerBorderColor ? markerBorderClassPrefix : '';\n const markerTextColorClass = markerTextColor ? markerTextColorClassPrefix : '';\n\n const markerClasses = classNames(markerClass, {\n [`${markerClass}--${markerVariant}`]: !!markerVariant,\n [markerBackgroundClass]: shouldApplyBackgroundAndBorderColors,\n [markerBorderClass]: shouldApplyBackgroundAndBorderColors,\n [markerTextColorClass]: !!markerTextColor,\n });\n\n const sizeClassNames = generateResponsiveClassNames(timelineClass, markerSize);\n const rootClasses = classNames(timelineClass, ...sizeClassNames);\n\n return {\n classProps: {\n content: contentClass,\n heading: headingClass,\n marker: markerClasses,\n root: rootClasses,\n step: stepClass,\n },\n props: restProps,\n };\n}\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTimelineProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { TIMELINE_SIZE_DEFAULT } from './constants';\nimport { useTimelineStyleProps } from './useTimelineStyleProps';\n\nconst defaultProps: Partial<SpiritTimelineProps> = {\n elementType: 'ol',\n size: TIMELINE_SIZE_DEFAULT,\n};\n\nconst Timeline = <E extends ElementType = 'ol'>(props: SpiritTimelineProps<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'ol', children, size, ...restProps } = propsWithDefaults;\n const { classProps } = useTimelineStyleProps({ markerSize: size });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.root, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nTimeline.spiritComponent = 'Timeline';\n\nexport default Timeline;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTimelineContentProps } from '../../types';\nimport { useTimelineStyleProps } from './useTimelineStyleProps';\n\nconst TimelineContent = (props: SpiritTimelineContentProps) => {\n const { children, ...restProps } = props;\n const { classProps } = useTimelineStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} className={classNames(classProps.content, styleProps.className)} style={styleProps.style}>\n {children}\n </div>\n );\n};\n\nTimelineContent.spiritComponent = 'TimelineContent';\n\nexport default TimelineContent;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTimelineHeadingProps } from '../../types';\nimport { useTimelineStyleProps } from './useTimelineStyleProps';\n\nconst TimelineHeading = (props: SpiritTimelineHeadingProps) => {\n const { children, ...restProps } = props;\n const { classProps } = useTimelineStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div {...otherProps} className={classNames(classProps.heading, styleProps.className)} style={styleProps.style}>\n {children}\n </div>\n );\n};\n\nTimelineHeading.spiritComponent = 'TimelineHeading';\n\nexport default TimelineHeading;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTimelineMarkerProps } from '../../types';\nimport { TIMELINE_MARKER } from './constants';\nimport { useTimelineStyleProps } from './useTimelineStyleProps';\n\nconst defaultProps: Partial<SpiritTimelineMarkerProps> = {\n variant: 'number',\n};\n\nconst TimelineMarker = (props: SpiritTimelineMarkerProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { backgroundColor, borderColor, children, textColor, variant, ...restProps } = propsWithDefaults;\n const { classProps } = useTimelineStyleProps({\n markerBackgroundColor: backgroundColor,\n markerBorderColor: borderColor,\n markerTextColor: textColor,\n markerVariant: variant,\n });\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div\n {...otherProps}\n className={classNames(classProps.marker, styleProps.className)}\n style={styleProps.style}\n aria-hidden=\"true\"\n >\n {variant !== TIMELINE_MARKER.DOT && children}\n </div>\n );\n};\n\nTimelineMarker.spiritComponent = 'TimelineMarker';\n\nexport default TimelineMarker;\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTimelineStepProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useTimelineStyleProps } from './useTimelineStyleProps';\n\nconst defaultProps: Partial<SpiritTimelineStepProps> = {\n elementType: 'li',\n};\n\nconst TimelineStep = <E extends ElementType = 'li'>(props: SpiritTimelineStepProps<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType: ElementTag = 'li', children, ...restProps } = propsWithDefaults;\n const { classProps } = useTimelineStyleProps();\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps: classProps.step, styleProps, otherProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {children}\n </ElementTag>\n );\n};\n\nTimelineStep.spiritComponent = 'TimelineStep';\n\nexport default TimelineStep;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { AlignmentX, AlignmentY } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritToastProps } from '../../types';\nimport { useToastStyleProps } from './useToastStyleProps';\n\nconst defaultProps: SpiritToastProps = {\n alignmentX: AlignmentX.CENTER,\n alignmentY: AlignmentY.BOTTOM,\n isCollapsible: true,\n};\n\nconst Toast = (props: SpiritToastProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, alignmentX, alignmentY, ...restProps } = propsWithDefaults;\n const { classProps, props: modifiedProps } = useToastStyleProps({ ...restProps, alignmentX, alignmentY });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <div {...otherProps} {...styleProps} className={classNames(classProps.root, styleProps.className)} role=\"log\">\n <div className={classProps.queue}>{children}</div>\n </div>\n );\n};\n\nToast.spiritComponent = 'Toast';\n\nexport default Toast;\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritToastProps } from '../../types';\n\nexport interface ToastStyles<T> {\n classProps: {\n root: string;\n queue: string;\n };\n props: T;\n}\n\nexport function useToastStyleProps(props: SpiritToastProps): ToastStyles<SpiritToastProps> {\n const { alignmentX, alignmentY, isCollapsible, ...restProps } = props;\n\n const toastClass = useClassNamePrefix('Toast');\n\n function processAlignments(alignments: Array<SpiritToastProps['alignmentX'] | SpiritToastProps['alignmentY']>) {\n return alignments.map((alignment) =>\n typeof alignment === 'object' && alignment !== null\n ? Object.keys(alignment).reduce<string[]>((acc, key) => {\n const infix = key === 'mobile' ? '' : `--${key}`;\n\n return [...acc, `${toastClass}${infix}--${alignment[key as keyof typeof alignment]}`];\n }, [])\n : [`${toastClass}--${alignment}`],\n );\n }\n\n const alignmentClasses = [...processAlignments([alignmentX, alignmentY])];\n const collapsibleClass = `${toastClass}--collapsible`;\n\n const toastRootClass = classNames(toastClass, isCollapsible && collapsibleClass, ...alignmentClasses);\n const toastQueueClass = `${toastClass}__queue`;\n\n return {\n classProps: {\n root: toastRootClass,\n queue: toastQueueClass,\n },\n props: restProps,\n };\n}\n","export const TRANSITION_DURATION = 250;\n\nexport const TRANSITIONING_STYLES: Record<string, string> = {\n entering: 'is-open is-transitioning',\n entered: 'is-open',\n exiting: 'is-hidden is-transitioning',\n exited: 'is-hidden',\n};\n\nexport const ICON_BOX_SIZE = 20;\n\nexport const DEFAULT_TOAST_COLOR = 'neutral';\n\nexport const DEFAULT_TOAST_AUTO_CLOSE_INTERVAL = 3000; // milliseconds\n\nexport const ToastColorsExtended = {\n NEUTRAL: 'neutral',\n} as const;\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type ToastBarProps } from '../../types';\nimport { ToastColorsExtended } from '.';\n\nexport const useToastBarStyleProps = (props: ToastBarProps) => {\n const { color, isDismissible, ...restProps } = props;\n\n const toastBarClass = useClassNamePrefix('ToastBar');\n const toastBarBoxClass = `${toastBarClass}__box`;\n const toastBarCloseClass = `${toastBarClass}__close`;\n const toastBarContainerClass = `${toastBarClass}__container`;\n const toastBarContentClass = `${toastBarClass}__content`;\n const toastBarLinkClass = `${toastBarClass}__link`;\n const toastBarLinkUnderlinedClass = useClassNamePrefix('link-underlined');\n const toastBarColorClass = `${toastBarClass}--${color || ToastColorsExtended.NEUTRAL}`;\n const toastBarDismissibleClass = `${toastBarClass}--dismissible`;\n const toastBarRootClasses = classNames(toastBarClass, toastBarColorClass, isDismissible && toastBarDismissibleClass);\n const toastBarLinkClasses = classNames(toastBarLinkClass, toastBarLinkUnderlinedClass);\n\n return {\n classProps: {\n root: toastBarRootClasses,\n box: toastBarBoxClass,\n close: toastBarCloseClass,\n container: toastBarContainerClass,\n content: toastBarContentClass,\n link: toastBarLinkClasses,\n },\n props: restProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type ToastCloseButtonProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { useToastBarStyleProps } from './useToastBarStyleProps';\n\nconst ToastCloseButton = (props: ToastCloseButtonProps) => {\n const { onClose, isOpen, id, closeLabel, isDismissible, ...restProps } = props;\n const { classProps, props: modifiedProps } = useToastBarStyleProps({ ...restProps });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n if (isDismissible && onClose) {\n return (\n <button\n {...otherProps}\n {...styleProps}\n type=\"button\"\n className={classNames(classProps.close, styleProps.className)}\n onClick={onClose}\n aria-expanded={isOpen}\n aria-controls={id}\n >\n <Icon name=\"close\" />\n <VisuallyHidden>{closeLabel}</VisuallyHidden>\n </button>\n );\n }\n\n return null;\n};\n\nToastCloseButton.spiritComponent = 'ToastCloseButton';\n\nexport default ToastCloseButton;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type MutableRefObject, useRef } from 'react';\nimport { Transition, type TransitionStatus } from 'react-transition-group';\nimport { useI18n, useStyleProps } from '../../hooks';\nimport { type SpiritToastBarProps } from '../../types';\nimport { Icon } from '../Icon';\nimport { DEFAULT_TOAST_COLOR, ICON_BOX_SIZE, TRANSITIONING_STYLES, TRANSITION_DURATION } from './constants';\nimport ToastCloseButton from './ToastCloseButton';\nimport { useToastBarStyleProps } from './useToastBarStyleProps';\nimport { useToastIcon } from './useToastIcon';\n\nconst ToastBar = (props: SpiritToastBarProps) => {\n const { t } = useI18n();\n const {\n id,\n children,\n closeLabel,\n color = DEFAULT_TOAST_COLOR,\n hasIcon,\n iconName,\n isDismissible,\n isOpen = true,\n onClose = () => {},\n ...restProps\n } = props;\n const resolvedCloseLabel = closeLabel ?? t('common.close');\n const rootElementRef: MutableRefObject<HTMLDivElement | null> = useRef(null);\n const toastIconName = useToastIcon({ color, iconName });\n const { classProps, props: modifiedProps } = useToastBarStyleProps({\n ...restProps,\n color,\n isDismissible,\n });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <Transition in={isOpen} nodeRef={rootElementRef} timeout={TRANSITION_DURATION} unmountOnExit>\n {(transitionState: TransitionStatus) => (\n <div\n {...styleProps}\n {...otherProps}\n id={id}\n className={classNames(classProps.root, TRANSITIONING_STYLES[transitionState], styleProps.className)}\n ref={rootElementRef}\n >\n <div className={classProps.box}>\n <div className={classProps.container}>\n {(hasIcon || iconName) && <Icon name={toastIconName} boxSize={ICON_BOX_SIZE} />}\n <div className={classProps.content}>{children}</div>\n </div>\n <ToastCloseButton\n id={id}\n isOpen={isOpen}\n closeLabel={resolvedCloseLabel}\n onClose={onClose}\n isDismissible={isDismissible}\n />\n </div>\n </div>\n )}\n </Transition>\n );\n};\n\nToastBar.spiritComponent = 'ToastBar';\n\nexport default ToastBar;\n","import { useIconName } from '../../hooks/useIconName';\nimport { type SpiritToastBarProps } from '../../types';\nimport { DEFAULT_TOAST_COLOR } from './constants';\n\nexport function useToastIcon({ color, iconName }: Partial<SpiritToastBarProps>) {\n const iconNameValue = useIconName(\n color as string,\n {\n danger: 'danger',\n informative: 'info',\n neutral: 'info',\n success: 'check-plain',\n warning: 'warning',\n },\n DEFAULT_TOAST_COLOR,\n );\n\n return iconName || iconNameValue;\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useClassNamePrefix, useStyleProps } from '../../hooks';\nimport { type ChildrenProps } from '../../types';\n\nconst ToastBarMessage = (props: ChildrenProps) => {\n const { children, ...restProps } = props;\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n\n return (\n <div\n {...styleProps}\n {...otherProps}\n className={classNames(useClassNamePrefix('text-truncate-multiline'), styleProps.className)}\n >\n {children}\n </div>\n );\n};\n\nToastBarMessage.spiritComponent = 'ToastBarMessage';\n\nexport default ToastBarMessage;\n","'use client';\n\nimport React, { type ElementType, type ReactNode, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type PolymorphicComponent, type PolymorphicRef, type ToastLinkProps } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useToastBarStyleProps } from './useToastBarStyleProps';\n\nconst defaultProps: Partial<ToastLinkProps> = {\n elementType: 'a',\n};\n\nconst _ToastBarLink = <E extends ElementType = 'a'>(props: ToastLinkProps, ref: PolymorphicRef<E>) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType = defaultProps.elementType, children, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { classProps, props: modifiedProps } = useToastBarStyleProps({ ...restProps });\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps: classProps.link, styleProps, otherProps });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} ref={ref}>\n {children as ReactNode}\n </Component>\n );\n};\n\nconst ToastBarLink = forwardRef<HTMLAnchorElement, ToastLinkProps>(_ToastBarLink) as unknown as PolymorphicComponent<\n 'a',\n ToastLinkProps\n>;\n\nToastBarLink.spiritComponent = 'ToastBarLink';\nToastBarLink.displayName = 'ToastBarLink';\n\nexport default ToastBarLink;\n","'use client';\n\nimport React, { type FC, type ReactNode, createContext, useCallback, useMemo, useReducer } from 'react';\nimport { type ToastColorType, type ToastLinkProps } from '../../types';\nimport { delayedCallback } from '../../utils';\nimport { DEFAULT_TOAST_AUTO_CLOSE_INTERVAL } from './constants';\n\ntype ToastState = {\n queue: ToastItem[];\n};\n\nexport interface ToastItem {\n autoCloseInterval?: number;\n color?: ToastColorType;\n enableAutoClose?: boolean;\n hasIcon: boolean;\n iconName?: string;\n id: string;\n isDismissible: boolean;\n isOpen: boolean;\n linkProps: ToastLinkProps;\n content: {\n message: JSX.Element | string;\n link?: JSX.Element | string;\n };\n}\n\nexport interface ToastContextType extends ToastState {\n clear: () => void;\n hide: (id: string) => void;\n setQueue: (newQueue: ToastItem[]) => void;\n show: (\n content: {\n message: JSX.Element | string;\n link?: JSX.Element | string;\n },\n id: string,\n options?: {\n autoCloseInterval?: number;\n color?: ToastColorType;\n enableAutoClose?: boolean;\n hasIcon?: boolean;\n iconName?: string;\n isDismissible?: boolean;\n linkProps: ToastLinkProps;\n },\n ) => void;\n}\n\nconst defaultToastContext: ToastContextType = {\n clear: () => {},\n hide: () => {},\n queue: [],\n setQueue: () => {},\n show: () => {},\n};\n\n// eslint-disable-next-line react-refresh/only-export-components\nexport const ToastContext = createContext<ToastContextType>(defaultToastContext);\n\ntype ActionType =\n | {\n type: 'show';\n payload: {\n content: {\n message: JSX.Element | string;\n link?: JSX.Element | string;\n };\n toastId: string;\n options?: {\n autoCloseInterval?: number;\n color?: ToastColorType;\n enableAutoClose?: boolean;\n hasIcon?: boolean;\n iconName?: string;\n isDismissible?: boolean;\n linkProps: ToastLinkProps;\n };\n };\n }\n | { type: 'hide'; payload: { id: string } }\n | { type: 'clear'; payload: null }\n | { type: 'setQueue'; payload: { newQueue: ToastItem[] } };\n\nconst reducer = (state: ToastState, action: ActionType): ToastState => {\n const { type, payload } = action;\n const { queue: currentQueue } = state;\n\n switch (type) {\n case 'show': {\n const newQueue = [\n ...currentQueue,\n {\n autoCloseInterval: payload.options?.autoCloseInterval || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL,\n color: payload.options?.color || undefined,\n enableAutoClose: payload.options?.enableAutoClose || true,\n hasIcon: payload.options?.hasIcon || false,\n iconName: payload.options?.iconName,\n id: payload.toastId,\n isDismissible: payload.options?.isDismissible || false,\n linkProps: payload.options?.linkProps || {},\n isOpen: true,\n content: {\n message: payload.content.message,\n link: payload.content.link || undefined,\n },\n },\n ];\n\n return { queue: newQueue };\n }\n\n case 'hide': {\n return { queue: currentQueue.filter((item) => item.id !== payload.id) };\n }\n\n case 'clear':\n return { queue: [] };\n\n default:\n throw new Error();\n }\n};\n\ninterface ToastProviderProps {\n children: ReactNode;\n}\n\nconst initialToastState: ToastState = {\n queue: [],\n};\n\nexport const ToastProvider: FC<ToastProviderProps> = ({ children }) => {\n const [state, dispatch] = useReducer(reducer, initialToastState);\n const { queue } = state;\n\n const hide = useCallback((id: string) => {\n dispatch({ type: 'hide', payload: { id } });\n }, []);\n\n const clear = useCallback(() => {\n dispatch({ type: 'clear', payload: null });\n }, []);\n\n const show = useCallback(\n (\n content: {\n message: JSX.Element | string;\n link?: JSX.Element | string;\n },\n toastId: string,\n options?: {\n autoCloseInterval?: number;\n color?: ToastColorType;\n enableAutoClose?: boolean;\n hasIcon?: boolean;\n iconName?: string;\n isDismissible?: boolean;\n linkProps: ToastLinkProps;\n },\n ) => {\n dispatch({ type: 'show', payload: { content, toastId, options } });\n\n options?.enableAutoClose &&\n delayedCallback(() => hide(toastId), options?.autoCloseInterval || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL);\n },\n [hide],\n );\n const setQueue = useCallback(\n (newQueue: ToastItem[]) => {\n dispatch({ type: 'clear', payload: null });\n\n newQueue.forEach((item) => {\n const enableAutoClose = item.enableAutoClose ?? true;\n const autoCloseInterval = item.autoCloseInterval || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL;\n\n dispatch({\n type: 'show',\n payload: {\n content: {\n message: item.content.message,\n link: item.content.link ?? undefined,\n },\n toastId: item.id,\n options: {\n autoCloseInterval,\n enableAutoClose,\n color: item.color,\n hasIcon: item.hasIcon || false,\n iconName: item.iconName,\n isDismissible: item.isDismissible || false,\n linkProps: item.linkProps || {},\n },\n },\n });\n\n enableAutoClose && delayedCallback(() => hide(item.id), autoCloseInterval || DEFAULT_TOAST_AUTO_CLOSE_INTERVAL);\n });\n },\n [hide],\n );\n\n const contextValue = useMemo(\n () => ({\n clear,\n hide,\n queue,\n setQueue,\n show,\n }),\n // recreated the context value when the number of items changed\n // not when individual items were modified\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [hide, show, clear, queue.length, setQueue],\n );\n\n return <ToastContext.Provider value={contextValue}>{children}</ToastContext.Provider>;\n};\n","'use client';\n\nimport { useContext } from 'react';\nimport { ToastContext } from './ToastContext';\n\nexport const useToast = () => {\n const currentToastContext = useContext(ToastContext);\n\n if (!currentToastContext) {\n throw new Error('useToast has to be used within <ToastProvider>');\n }\n\n return currentToastContext;\n};\n","'use client';\n\nimport React from 'react';\nimport { useI18n } from '../../hooks';\nimport { type UncontrolledToastProps } from '../../types';\nimport Toast from './Toast';\nimport ToastBar from './ToastBar';\nimport ToastBarLink from './ToastBarLink';\nimport ToastBarMessage from './ToastBarMessage';\nimport { useToast } from './useToast';\n\nconst UncontrolledToast = (props: UncontrolledToastProps) => {\n const { t } = useI18n();\n const { alignmentX, alignmentY, isCollapsible, closeLabel, ...restProps } = props;\n const resolvedCloseLabel = closeLabel ?? t('common.close');\n const { hide, queue } = useToast();\n\n return (\n <Toast alignmentX={alignmentX} alignmentY={alignmentY} isCollapsible={isCollapsible}>\n {queue.map((item) => {\n const { color, iconName, id, isOpen, content, hasIcon, isDismissible, linkProps } = item;\n\n return (\n <ToastBar\n {...restProps}\n key={id}\n id={id}\n closeLabel={resolvedCloseLabel}\n color={color}\n hasIcon={hasIcon}\n iconName={iconName}\n isDismissible={isDismissible}\n onClose={() => hide(id)}\n isOpen={isOpen && !!content}\n >\n <ToastBarMessage>{content.message}</ToastBarMessage>\n {content.link && <ToastBarLink {...linkProps}>{content.link}</ToastBarLink>}\n </ToastBar>\n );\n })}\n </Toast>\n );\n};\n\nUncontrolledToast.spiritComponent = 'UncontrolledToast';\n\nexport default UncontrolledToast;\n","import classNames from 'classnames';\nimport { InputPositions } from '../../constants';\nimport { useClassNamePrefix, useInputPositionClass } from '../../hooks';\nimport { type SpiritToggleProps } from '../../types';\n\nexport interface ToggleStyles<T> {\n classProps: {\n root: string;\n label: string;\n text: string;\n helperText: string;\n input: string;\n validationText: string;\n };\n props: T;\n}\n\nexport function useToggleStyleProps(props: SpiritToggleProps): ToggleStyles<SpiritToggleProps> {\n const {\n hasIndicators = false,\n inputPosition = InputPositions.END,\n isDisabled = false,\n isFluid = false,\n isLabelHidden = false,\n isRequired = false,\n validationState,\n ...restProps\n } = props;\n\n const toggleClass = useClassNamePrefix('Toggle');\n const toggleFluidClass = `${toggleClass}--fluid`;\n const toggleDisabledClass = `${toggleClass}--disabled`;\n const toggleTextClass = `${toggleClass}__text`;\n const toggleLabelClass = `${toggleClass}__label`;\n const toggleHiddenLabelClass = `${toggleLabelClass}--hidden`;\n const toggleValidationClass = `${toggleClass}--${validationState}`;\n const toggleRequiredClass = `${toggleLabelClass}--required`;\n const toggleInputClass = `${toggleClass}__input`;\n const toggleInputIndicatorsClass = `${toggleInputClass}--indicators`;\n const toggleInputPositionClass = useInputPositionClass(toggleClass, inputPosition);\n const toggleHelperTextClass = `${toggleClass}__helperText`;\n const toggleValidationTextClass = `${toggleClass}__validationText`;\n\n const rootClass = classNames(toggleClass, {\n [toggleInputPositionClass]: toggleInputPositionClass,\n [toggleFluidClass]: isFluid,\n [toggleDisabledClass]: isDisabled,\n [toggleValidationClass]: validationState,\n });\n const labelClass = classNames(toggleLabelClass, {\n [toggleRequiredClass]: isRequired,\n [toggleHiddenLabelClass]: isLabelHidden,\n });\n const inputClass = classNames(toggleInputClass, {\n [toggleInputIndicatorsClass]: hasIndicators,\n });\n\n return {\n classProps: {\n root: rootClass,\n label: labelClass,\n text: toggleTextClass,\n helperText: toggleHelperTextClass,\n input: inputClass,\n validationText: toggleValidationTextClass,\n },\n props: { ...restProps, validationState, isDisabled, isRequired },\n };\n}\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ChangeEvent, type ForwardedRef, forwardRef, useState } from 'react';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { type ForwardRefComponent, type SpiritToggleProps } from '../../types';\nimport { HelperText, Label, ValidationText, useAriaIds } from '../Field';\nimport { useValidationTextRole } from '../Field/useValidationTextRole';\nimport { useToggleStyleProps } from './useToggleStyleProps';\n\nconst _Toggle = (props: SpiritToggleProps, ref: ForwardedRef<HTMLInputElement>) => {\n const { classProps, props: modifiedProps } = useToggleStyleProps(props);\n const {\n 'aria-describedby': ariaDescribedBy = '',\n hasValidationIcon,\n id,\n isDisabled,\n isChecked = false,\n isRequired,\n label,\n helperText,\n onChange = () => {},\n validationState,\n validationText,\n ...restProps\n } = modifiedProps;\n const { styleProps, props: otherProps } = useStyleProps(restProps);\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n const [checked, setChecked] = useState(isChecked);\n const validationTextRole = useValidationTextRole({\n validationState,\n validationText,\n });\n\n const handleOnChange = (event: ChangeEvent<HTMLInputElement>) => {\n setChecked(event.target.checked);\n onChange(event);\n };\n\n return (\n <div style={styleProps.style} className={classNames(classProps.root, styleProps.className)}>\n <div className={classProps.text}>\n <Label UNSAFE_className={classProps.label} htmlFor={id}>\n {label}\n </Label>\n <HelperText\n UNSAFE_className={classProps.helperText}\n id={`${id}__helperText`}\n registerAria={register}\n helperText={helperText}\n />\n {validationState && (\n <ValidationText\n UNSAFE_className={classProps.validationText}\n {...(hasValidationIcon && { hasValidationStateIcon: validationState })}\n id={`${id}__validationText`}\n validationText={validationText}\n registerAria={register}\n role={validationTextRole}\n />\n )}\n </div>\n <input\n {...otherProps}\n {...ariaDescribedByProp}\n type=\"checkbox\"\n id={id}\n className={classProps.input}\n disabled={isDisabled}\n checked={checked}\n required={isRequired}\n onChange={handleOnChange}\n ref={ref}\n />\n </div>\n );\n};\n\nconst Toggle = forwardRef<HTMLInputElement, SpiritToggleProps>(_Toggle) as ForwardRefComponent<\n HTMLInputElement,\n SpiritToggleProps\n>;\n\nToggle.spiritComponent = 'Toggle';\nToggle.displayName = 'Toggle';\n\nexport default Toggle;\n","'use client';\n\nimport { type ReactNode, useMemo } from 'react';\nimport { type TruncateMode, TruncateModes } from '../../types';\n\nconst ELLIPSIS = '…';\n\nexport const truncateByWords = (content: string, limit: number): string => {\n const words = content.trim().split(/\\s+/);\n if (words.length <= limit) {\n return content;\n }\n\n return `${words.slice(0, limit).join(' ')}${ELLIPSIS}`;\n};\n\nexport const truncateByCharacters = (content: string, limit: number): string => {\n if (content.length <= limit) {\n return content;\n }\n\n return `${content.slice(0, limit)}${ELLIPSIS}`;\n};\n\nexport const truncateByLines = (content: string): string => content;\n\nexport const useTruncatedText = (content: ReactNode, mode: TruncateMode, limit?: number): ReactNode =>\n useMemo(() => {\n if (typeof content !== 'string') {\n return content;\n }\n\n if (!limit || limit <= 0) {\n return content;\n }\n\n switch (mode) {\n case TruncateModes.WORDS:\n return truncateByWords(content, limit);\n case TruncateModes.CHARACTERS:\n return truncateByCharacters(content, limit);\n case TruncateModes.LINES:\n default:\n return truncateByLines(content);\n }\n }, [content, mode, limit]);\n","import { type CSSProperties, type ElementType } from 'react';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritTruncateProps, type TruncateMode, TruncateModes } from '../../types';\n\ninterface TruncateCSSProperties extends CSSProperties {\n '--text-truncate-lines'?: number;\n}\n\nexport interface TruncateStyles<E extends ElementType> {\n classProps: string;\n props: SpiritTruncateProps<E>;\n styleProps: TruncateCSSProperties;\n effectiveMode: TruncateMode;\n effectiveLimit?: number;\n}\n\nexport const useTruncateStyleProps = <E extends ElementType>(props: SpiritTruncateProps<E>): TruncateStyles<E> => {\n const { limit, mode = TruncateModes.LINES, ...restProps } = props;\n\n const truncateClassName = useClassNamePrefix(mode === TruncateModes.LINES ? 'text-truncate-multiline' : '');\n const classProps = truncateClassName;\n\n const truncateStyle: TruncateCSSProperties = {};\n\n if (mode === TruncateModes.LINES && limit !== undefined) {\n truncateStyle['--text-truncate-lines'] = limit;\n }\n\n return {\n classProps,\n props: restProps,\n styleProps: truncateStyle,\n effectiveMode: mode,\n effectiveLimit: limit,\n };\n};\n","'use client';\n\nimport React, { type ElementType } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritTruncateProps, TruncateModes } from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useTruncatedText } from './useTruncatedText';\nimport { useTruncateStyleProps } from './useTruncateStyleProps';\n\nconst defaultProps = {\n elementType: 'span',\n};\n\nconst Truncate = <E extends ElementType = 'span'>(props: SpiritTruncateProps<E>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { children, elementType: ElementTag = 'span', ...restProps } = propsWithDefaults;\n const {\n classProps,\n props: modifiedProps,\n styleProps: truncateStyle,\n effectiveMode,\n effectiveLimit,\n } = useTruncateStyleProps(restProps);\n const truncatedText = useTruncatedText(\n children,\n effectiveMode,\n effectiveMode !== TruncateModes.LINES ? effectiveLimit : undefined,\n );\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const truncateStyleProps = {\n style: {\n ...styleProps.style,\n ...truncateStyle,\n },\n };\n const mergedStyleProps = mergeStyleProps(ElementTag, { classProps, styleProps, truncateStyleProps });\n\n return (\n <ElementTag {...otherProps} {...mergedStyleProps}>\n {truncatedText}\n </ElementTag>\n );\n};\n\nTruncate.spiritComponent = 'Truncate';\n\nexport default Truncate;\n","export const DEFAULT_ATTACHMENT_IMAGE_DIMENSION = 54; // px; @see: Attachment image dimension defined in _FileUploaderAttachment.scss\n\nexport const DEFAULT_ATTACHMENT_ICON_NAME = 'file';\n\nexport const DEFAULT_ATTACHMENT_ACTION_BUTTON_ICON_NAME = 'edit';\n\nexport const AttachmentCropCSS = {\n TOP: '--file-uploader-attachment-image-top',\n LEFT: '--file-uploader-attachment-image-left',\n WIDTH: '--file-uploader-attachment-image-width',\n HEIGHT: '--file-uploader-attachment-image-height',\n} as const;\n","import { type CSSProperties } from 'react';\nimport { AttachmentCropCSS, DEFAULT_ATTACHMENT_IMAGE_DIMENSION } from './constants';\nimport { type UnstableFileMetadata } from './types';\n\nexport type AttachmentImageCropCSS = {\n [AttachmentCropCSS.TOP]?: string;\n [AttachmentCropCSS.LEFT]?: string;\n [AttachmentCropCSS.WIDTH]?: string;\n [AttachmentCropCSS.HEIGHT]?: string;\n} & CSSProperties;\n\nexport type AttachmentImageObjectFit = {\n '--file-uploader-attachment-image-object-fit': string;\n};\n\ntype AttachmentImageCropMeta = {\n x: number;\n y: number;\n cropWidth: number;\n cropHeight: number;\n originalWidth: number;\n originalHeight: number;\n};\n\nexport interface AttachmentImageStylesResult {\n imageCropCSS?: AttachmentImageCropCSS;\n imageObjectFitCSS?: AttachmentImageObjectFit;\n hasCoordsInMeta: boolean;\n}\n\nconst CROP_META_KEYS = ['x', 'y', 'cropWidth', 'cropHeight', 'originalWidth', 'originalHeight'] as const;\n\n/**\n * Type guard: true when meta has all required crop coordinate keys with non-null values.\n *\n * @param meta - Optional file metadata.\n * @returns {boolean} True when meta is AttachmentImageCropMeta (has x, y, cropWidth, cropHeight, originalWidth, originalHeight).\n */\nfunction hasValidCropMeta(meta: UnstableFileMetadata | undefined): meta is AttachmentImageCropMeta {\n return meta != null && CROP_META_KEYS.every((key) => meta[key] != null);\n}\n\n/**\n * Builds CSS custom properties for cropping the attachment image from validated meta coords.\n *\n * @param meta - Valid crop metadata (all coords present).\n * @returns {AttachmentImageCropCSS} CSS object with --file-uploader-attachment-image-* variables.\n */\nfunction computeCropCSS(meta: AttachmentImageCropMeta): AttachmentImageCropCSS {\n const { x, y, cropWidth, cropHeight, originalWidth, originalHeight } = meta;\n const scale =\n cropHeight > cropWidth\n ? DEFAULT_ATTACHMENT_IMAGE_DIMENSION / cropWidth\n : DEFAULT_ATTACHMENT_IMAGE_DIMENSION / cropHeight;\n\n return {\n [AttachmentCropCSS.TOP]: `-${Math.round(y * scale)}px`,\n [AttachmentCropCSS.LEFT]: `-${Math.round(x * scale)}px`,\n [AttachmentCropCSS.WIDTH]: `${Math.round(originalWidth * scale)}px`,\n [AttachmentCropCSS.HEIGHT]: `${Math.round(originalHeight * scale)}px`,\n };\n}\n\n/**\n * Computes CSS for attachment image: crop (from meta coords) and object-fit variable.\n *\n * @param meta - Optional file metadata; when it contains crop coords, imageCropCSS is set.\n * @param imageObjectFit - Optional object-fit value for the CSS variable.\n * @returns {AttachmentImageStylesResult} imageCropCSS, imageObjectFitCSS, and hasCoordsInMeta flag.\n */\nexport function useAttachmentImageStyles(\n meta?: UnstableFileMetadata,\n imageObjectFit?: string,\n): AttachmentImageStylesResult {\n const hasCoordsInMeta = hasValidCropMeta(meta);\n const imageCropCSS = hasCoordsInMeta ? computeCropCSS(meta) : undefined;\n const imageObjectFitCSS = imageObjectFit\n ? { '--file-uploader-attachment-image-object-fit': imageObjectFit }\n : undefined;\n\n return { imageCropCSS, imageObjectFitCSS, hasCoordsInMeta };\n}\n","import classNames from 'classnames';\nimport { type ObjectFit } from '../../constants';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type StyleProps } from '../../types';\nimport { type UnstableFileMetadata } from './types';\nimport {\n type AttachmentImageCropCSS,\n type AttachmentImageObjectFit,\n useAttachmentImageStyles,\n} from './useAttachmentImageStyles';\n\nexport interface AttachmentStyleProps extends StyleProps {\n imageObjectFit?: (typeof ObjectFit)[keyof typeof ObjectFit];\n isFluid?: boolean;\n meta?: UnstableFileMetadata;\n}\n\nexport interface AttachmentStyle {\n /** className props */\n classProps: {\n root: string;\n button: string;\n name: string;\n image: string;\n slot: string;\n imageCropStyles?: AttachmentImageCropCSS;\n attachmentStyles?: AttachmentImageObjectFit;\n };\n}\n\nexport const useAttachmentStyleProps = (props?: AttachmentStyleProps): AttachmentStyle => {\n const AttachmentClass = useClassNamePrefix('Attachment');\n const AttachmentFluidClass = `${AttachmentClass}--fluid`;\n const AttachmentNameClass = `${AttachmentClass}__name`;\n const AttachmentButtonClass = `${AttachmentClass}__action`;\n const AttachmentImageClass = `${AttachmentClass}__image`;\n const AttachmentSlotClass = `${AttachmentClass}__slot`;\n\n const { imageCropCSS, imageObjectFitCSS, hasCoordsInMeta } = useAttachmentImageStyles(\n props?.meta,\n props?.imageObjectFit,\n );\n\n return {\n classProps: {\n root: classNames(AttachmentClass, { [AttachmentFluidClass]: props?.isFluid }),\n button: AttachmentButtonClass,\n name: AttachmentNameClass,\n image: AttachmentImageClass,\n slot: AttachmentSlotClass,\n ...(hasCoordsInMeta && { imageCropStyles: imageCropCSS }),\n ...(imageObjectFitCSS && { attachmentStyles: imageObjectFitCSS }),\n },\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { DEFAULT_ATTACHMENT_ACTION_BUTTON_ICON_NAME } from './constants';\nimport { type SpiritUnstableAttachmentActionButtonProps } from './types';\nimport { useAttachmentStyleProps } from './useAttachmentStyleProps';\n\nconst UNSTABLE_AttachmentActionButton = (props: SpiritUnstableAttachmentActionButtonProps) => {\n const { name = DEFAULT_ATTACHMENT_ACTION_BUTTON_ICON_NAME, children, ...restProps } = props;\n const { classProps } = useAttachmentStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n return (\n <button\n type=\"button\"\n {...transferProps}\n {...styleProps}\n className={classNames(classProps.button, styleProps.className)}\n >\n <VisuallyHidden>{children}</VisuallyHidden>\n <Icon name={name} aria-hidden=\"true\" />\n </button>\n );\n};\n\nUNSTABLE_AttachmentActionButton.spiritComponent = 'UNSTABLE_AttachmentActionButton';\nUNSTABLE_AttachmentActionButton.displayName = 'UNSTABLE_AttachmentActionButton';\n\nexport default UNSTABLE_AttachmentActionButton;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { Icon } from '../Icon';\nimport { VisuallyHidden } from '../VisuallyHidden';\nimport { type SpiritUnstableAttachmentDismissButtonProps } from './types';\nimport { useAttachmentStyleProps } from './useAttachmentStyleProps';\n\nconst UNSTABLE_AttachmentDismissButton = (props: SpiritUnstableAttachmentDismissButtonProps) => {\n const { children, ...restProps } = props;\n const { classProps } = useAttachmentStyleProps();\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n return (\n <button\n type=\"button\"\n {...transferProps}\n {...styleProps}\n className={classNames(classProps.button, styleProps.className)}\n >\n <VisuallyHidden>{children}</VisuallyHidden>\n <Icon name=\"close\" aria-hidden=\"true\" />\n </button>\n );\n};\n\nUNSTABLE_AttachmentDismissButton.spiritComponent = 'UNSTABLE_AttachmentDismissButton';\nUNSTABLE_AttachmentDismissButton.displayName = 'UNSTABLE_AttachmentDismissButton';\n\nexport default UNSTABLE_AttachmentDismissButton;\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ElementType } from 'react';\nimport { useClassNamePrefix, useI18n, useStyleProps } from '../../hooks';\nimport { Icon } from '../Icon';\nimport { DEFAULT_ATTACHMENT_ICON_NAME } from './constants';\nimport { type SpiritUnstableAttachmentProps } from './types';\nimport UNSTABLE_AttachmentActionButton from './UNSTABLE_AttachmentActionButton';\nimport UNSTABLE_AttachmentDismissButton from './UNSTABLE_AttachmentDismissButton';\nimport { useAttachmentStyleProps } from './useAttachmentStyleProps';\n\nconst defaultProps = {\n elementType: 'li' as const,\n iconName: DEFAULT_ATTACHMENT_ICON_NAME,\n isFluid: false,\n};\n\nconst UNSTABLE_Attachment = <E extends ElementType = 'li'>(props: SpiritUnstableAttachmentProps<E>): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { t } = useI18n();\n const {\n editText,\n elementType,\n iconName,\n id,\n isFluid,\n label,\n onDismiss,\n onChange,\n removeText,\n previewSlot,\n ...restProps\n } = propsWithDefaults;\n const resolvedEditText = editText ?? t('attachment.edit');\n const resolvedRemoveText = removeText ?? t('attachment.remove');\n const { classProps } = useAttachmentStyleProps({ isFluid });\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n const Component = elementType as ElementType;\n\n return (\n <Component {...transferProps} {...styleProps} id={id} className={classNames(classProps.root, styleProps.className)}>\n {previewSlot ?? <Icon name={iconName} aria-hidden=\"true\" />}\n <span className={classProps.name}>\n <span className={useClassNamePrefix('text-truncate')}>{label}</span>\n </span>\n {onChange && (\n <span className={classProps.slot}>\n <UNSTABLE_AttachmentActionButton onClick={onChange}>{resolvedEditText}</UNSTABLE_AttachmentActionButton>\n </span>\n )}\n <UNSTABLE_AttachmentDismissButton onClick={onDismiss}>{resolvedRemoveText}</UNSTABLE_AttachmentDismissButton>\n </Component>\n );\n};\n\nUNSTABLE_Attachment.spiritComponent = 'UNSTABLE_Attachment';\nUNSTABLE_Attachment.displayName = 'UNSTABLE_Attachment';\n\nexport default UNSTABLE_Attachment;\n","'use client';\n\nimport classNames from 'classnames';\nimport React from 'react';\nimport { ObjectFit } from '../../constants';\nimport { useStyleProps } from '../../hooks';\nimport { DEFAULT_ATTACHMENT_IMAGE_DIMENSION } from './constants';\nimport { type SpiritUnstableAttachmentImagePreviewProps } from './types';\nimport { useAttachmentStyleProps } from './useAttachmentStyleProps';\n\nconst defaultProps: Partial<SpiritUnstableAttachmentImagePreviewProps> = {\n meta: undefined,\n imageObjectFit: ObjectFit.COVER,\n};\n\nconst UNSTABLE_AttachmentImagePreview = (props: SpiritUnstableAttachmentImagePreviewProps) => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { label, imagePreview, meta, imageObjectFit, ...restProps } = propsWithDefaults;\n const { classProps } = useAttachmentStyleProps({ meta, imageObjectFit });\n const imageCropStyles = classProps.imageCropStyles ?? {};\n const attachmentStyles = classProps.attachmentStyles ?? {};\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n return (\n <span {...transferProps} {...styleProps} className={classNames(classProps.image, styleProps.className)}>\n <img\n src={imagePreview}\n width={DEFAULT_ATTACHMENT_IMAGE_DIMENSION}\n height={DEFAULT_ATTACHMENT_IMAGE_DIMENSION}\n alt={label}\n style={{ ...imageCropStyles, ...attachmentStyles }}\n />\n </span>\n );\n};\n\nUNSTABLE_AttachmentImagePreview.spiritComponent = 'UNSTABLE_AttachmentImagePreview';\nUNSTABLE_AttachmentImagePreview.displayName = 'UNSTABLE_AttachmentImagePreview';\n\nexport default UNSTABLE_AttachmentImagePreview;\n","'use client';\n\nimport { type ChangeEvent, type DragEvent } from 'react';\nimport { useDragAndDrop } from '../../hooks';\nimport { type DragAndDropHandlingProps } from '../../types';\nimport { type FilesSelectedType } from './types';\n\n/**\n * Props for the useFileUploadState hook.\n */\nexport interface FileUploadStateProps {\n /** Called when user selects or drops files. Parent owns the logic. */\n onFilesSelected?: FilesSelectedType;\n}\n\n/**\n * Return type of useFileUploadState. Provides drag-and-drop props and input change handler\n * for wiring a file input and drop zone.\n */\nexport interface FileUploadState extends DragAndDropHandlingProps<HTMLDivElement> {\n /** True while the user is dragging files over the drop zone. */\n isDragging: boolean;\n /** Handler to attach to `<input type=\"file\">` onChange. */\n onChange: (event: ChangeEvent<HTMLInputElement>) => void;\n}\n\n/**\n * Hook that provides drag-and-drop handling and file input change handling for file upload.\n * Use the returned props on a drop zone container and pass `onChange` to the file input.\n *\n * @param props - Configuration. Pass `onFilesSelected` to receive selected/dropped files.\n * @returns {FileUploadState} Props to spread on the drop zone and `onChange` for the file input.\n */\nexport const useFileUploadState = (props: FileUploadStateProps): FileUploadState => {\n const { onFilesSelected } = props;\n\n const onDropHandler = (event: DragEvent<HTMLDivElement>) => {\n if (!onFilesSelected) return;\n\n const transferItems = Array.from(event.dataTransfer.items);\n const transferFiles = Array.from(event.dataTransfer.files);\n\n const files: File[] = [];\n\n if (event.dataTransfer.items?.length) {\n transferItems.forEach((item) => {\n if (item.kind === 'file') {\n const file = item.getAsFile();\n if (file) files.push(file);\n }\n });\n } else {\n transferFiles.forEach((file) => files.push(file));\n }\n\n if (files.length) onFilesSelected(files);\n };\n\n const onChangeHandler = (event: ChangeEvent<HTMLInputElement>) => {\n if (!onFilesSelected) {\n return;\n }\n\n const { files } = event.target;\n const filesArray = files ? Array.prototype.slice.call(files) : [];\n\n if (filesArray.length) {\n onFilesSelected(filesArray);\n }\n\n event.target.blur();\n // eslint-disable-next-line no-param-reassign -- Reset input value so that after a file is removed, re-selecting the same file triggers onChange again (otherwise the input sees no change).\n event.target.value = '';\n };\n\n const dragAndDropProps = useDragAndDrop({\n onDrop: onDropHandler,\n });\n\n return {\n onChange: onChangeHandler,\n ...dragAndDropProps,\n };\n};\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type StyleProps, type Validation } from '../../types';\n\nexport interface FileUploadStyleProps extends StyleProps, Validation {\n isDisabled?: boolean;\n isDragAndDropSupported?: boolean;\n isDragging?: boolean;\n isFluid?: boolean;\n isLabelHidden?: boolean;\n isRequired?: boolean;\n}\n\nexport interface FileUploadStyle {\n /** className props */\n classProps: {\n root: string;\n input: {\n root: string;\n label: string;\n input: string;\n dropLabel: string;\n helper: string;\n link: string;\n validationText: string;\n dropZone: {\n root: string;\n label: string;\n };\n };\n list: string;\n };\n}\n\nexport const useFileUploadStyleProps = (props?: FileUploadStyleProps): FileUploadStyle => {\n const fileUploadClass = useClassNamePrefix('FileUploader');\n const fileUploadHasDragAndDropClass = 'has-drag-and-drop';\n const fileUploadFluidClass = `${fileUploadClass}--fluid`;\n const fileUploadInputClass = `${fileUploadClass}Input`;\n const fileUploadInputDisabledClass = `${fileUploadInputClass}--disabled`;\n const fileUploadInputValidationClass = `${fileUploadInputClass}--${props?.validationState}`;\n const fileUploadInputDraggingClass = 'is-dragging';\n const fileUploadInputDropLabelClass = `${fileUploadInputClass}__dragAndDropLabel`;\n const fileUploadInputDropZoneClass = `${fileUploadInputClass}__dropZone`;\n const fileUploadInputDropZoneLabelClass = `${fileUploadInputDropZoneClass}Label`;\n const fileUploadInputHelperClass = `${fileUploadInputClass}__helperText`;\n const fileUploadInputInputClass = `${fileUploadInputClass}__input`;\n const fileUploadInputLabelClass = `${fileUploadInputClass}__label`;\n const fileUploadInputLabelHiddenClass = `${fileUploadInputClass}__label--hidden`;\n const fileUploadInputLabelRequiredClass = `${fileUploadInputClass}__label--required`;\n const fileUploadInputLinkClass = `${fileUploadInputClass}__link`;\n const fileUploadInputLinkUtilityClasses = ['link-primary', 'link-underlined'];\n const fileUploadInputValidationTextClass = `${fileUploadInputClass}__validationText`;\n const fileUploadListClass = `${fileUploadClass}List`;\n\n return {\n classProps: {\n root: classNames(fileUploadClass, { [fileUploadFluidClass]: props?.isFluid }),\n input: {\n root: classNames(fileUploadInputClass, {\n [fileUploadHasDragAndDropClass]: props?.isDragAndDropSupported,\n [fileUploadInputDisabledClass]: props?.isDisabled,\n [fileUploadInputDraggingClass]: props?.isDragging,\n [fileUploadInputValidationClass]: props?.validationState,\n }),\n label: classNames(fileUploadInputLabelClass, {\n [fileUploadInputLabelRequiredClass]: props?.isRequired,\n [fileUploadInputLabelHiddenClass]: props?.isLabelHidden,\n }),\n input: fileUploadInputInputClass,\n dropLabel: fileUploadInputDropLabelClass,\n helper: fileUploadInputHelperClass,\n link: classNames(fileUploadInputLinkClass, ...fileUploadInputLinkUtilityClasses),\n validationText: fileUploadInputValidationTextClass,\n dropZone: {\n root: fileUploadInputDropZoneClass,\n label: fileUploadInputDropZoneLabelClass,\n },\n },\n list: fileUploadListClass,\n },\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { useEffect, useState } from 'react';\nimport { useAriaDescribedBy, useStyleProps } from '../../hooks';\nimport { HelperText, Label, ValidationText, useAriaIds } from '../Field';\nimport { useValidationTextRole } from '../Field/useValidationTextRole';\nimport { Icon } from '../Icon';\nimport { type UnstableFileUploadProps } from './types';\nimport { useFileUploadState } from './useFileUploadState';\nimport { useFileUploadStyleProps } from './useFileUploadStyleProps';\n\nconst UNSTABLE_FileUpload = (props: UnstableFileUploadProps) => {\n const [isDragAndDropSupported, setIsDragAndDropSupported] = useState(false);\n const {\n 'aria-describedby': ariaDescribedBy = '',\n accept,\n children,\n dropZoneRef,\n hasValidationIcon,\n helperText,\n iconName = 'upload',\n id,\n inputRef,\n isDisabled,\n isFluid,\n isLabelHidden,\n isMultiple,\n isRequired,\n label,\n labelText,\n linkText,\n name,\n onFilesSelected,\n validationState,\n validationText,\n ...restProps\n } = props;\n\n const hasInput = name !== undefined;\n\n const { isDragging, onChange, onDragEnter, onDragLeave, onDragOver, onDrop } = useFileUploadState({\n onFilesSelected: hasInput ? onFilesSelected : undefined,\n });\n\n const { classProps } = useFileUploadStyleProps({\n hasValidationIcon,\n isDisabled,\n isDragAndDropSupported,\n isDragging,\n isFluid,\n isLabelHidden,\n isRequired,\n validationState,\n });\n\n const { styleProps, props: transferProps } = useStyleProps(restProps);\n\n const [ids, register] = useAriaIds(ariaDescribedBy);\n const ariaDescribedByProp = useAriaDescribedBy(ids);\n const validationTextRole = useValidationTextRole({\n validationState,\n validationText,\n });\n const inputId = `${id}-input`;\n\n useEffect(() => {\n setIsDragAndDropSupported('draggable' in document.createElement('span'));\n }, []);\n\n return (\n <div id={id} {...transferProps} {...styleProps} className={classNames(classProps.root, styleProps.className)}>\n {hasInput && (\n <div\n onDragOver={!isDisabled && isDragAndDropSupported ? onDragOver : undefined}\n onDragEnter={!isDisabled && isDragAndDropSupported ? onDragEnter : undefined}\n onDragLeave={!isDisabled && isDragAndDropSupported ? onDragLeave : undefined}\n onDrop={!isDisabled && isDragAndDropSupported ? onDrop : undefined}\n className={classProps.input.root}\n >\n <Label htmlFor={inputId} UNSAFE_className={classProps.input.label}>\n {label}\n </Label>\n <input\n {...ariaDescribedByProp}\n type=\"file\"\n accept={accept}\n id={inputId}\n ref={inputRef}\n name={name}\n className={classProps.input.input}\n onChange={onChange}\n multiple={isMultiple}\n disabled={isDisabled}\n />\n <div ref={dropZoneRef} className={classProps.input.dropZone.root}>\n <Icon name={iconName} aria-hidden=\"true\" />\n <Label htmlFor={inputId} UNSAFE_className={classProps.input.dropZone.label}>\n <span className={classProps.input.link}>{linkText}</span>\n &nbsp;\n <span className={classProps.input.dropLabel}>{labelText}</span>\n </Label>\n <HelperText\n UNSAFE_className={classProps.input.helper}\n id={`${inputId}__helperText`}\n registerAria={register}\n helperText={helperText}\n />\n </div>\n {validationState && (\n <ValidationText\n UNSAFE_className={classProps.input.validationText}\n elementType=\"span\"\n {...(hasValidationIcon && { hasValidationStateIcon: validationState })}\n id={`${inputId}__validationText`}\n validationText={validationText}\n registerAria={register}\n role={validationTextRole}\n />\n )}\n </div>\n )}\n {children}\n </div>\n );\n};\n\nUNSTABLE_FileUpload.spiritComponent = 'UNSTABLE_FileUpload';\nUNSTABLE_FileUpload.displayName = 'UNSTABLE_FileUpload';\n\nexport default UNSTABLE_FileUpload;\n","import classNames from 'classnames';\nimport { useClassNamePrefix } from '../../hooks';\nimport { type SpiritHeaderProps } from '../../types';\n\nexport interface HeaderStyles<T> {\n classProps: {\n root: string;\n logo: string;\n };\n props: T;\n}\n\nexport const useUnstableHeaderStyleProps = (props: SpiritHeaderProps): HeaderStyles<SpiritHeaderProps> => {\n const { hasBottomDivider = false, ...restProps } = props;\n\n const headerClass = useClassNamePrefix('UNSTABLE_Header');\n const headerLogoClass = `${headerClass}Logo`;\n const headerHasBottomDividerClass = `${headerClass}--bottomDivider`;\n\n const rootClass = classNames(headerClass, {\n [headerHasBottomDividerClass]: hasBottomDivider,\n });\n\n return {\n classProps: {\n root: rootClass,\n logo: headerLogoClass,\n },\n props: restProps,\n };\n};\n","'use client';\n\nimport classNames from 'classnames';\nimport React, { type ReactElement } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport { type SpiritHeaderProps } from '../../types';\nimport { useUnstableHeaderStyleProps } from './useUnstableHeaderStyleProps';\n\nconst UNSTABLE_Header = (props: SpiritHeaderProps): ReactElement => {\n const { children, ...restProps } = props;\n\n const { classProps, props: modifiedProps } = useUnstableHeaderStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n\n return (\n <header {...otherProps} className={classNames(classProps.root, styleProps.className)} style={styleProps.style}>\n {children}\n </header>\n );\n};\n\nUNSTABLE_Header.spiritComponent = 'UNSTABLE_Header';\n\nexport default UNSTABLE_Header;\n","'use client';\n\nimport React, { type ElementType, forwardRef } from 'react';\nimport { useStyleProps } from '../../hooks';\nimport {\n type HeaderLogoProps,\n type PolymorphicComponent,\n type PolymorphicRef,\n type SpiritHeaderLogoProps,\n} from '../../types';\nimport { mergeStyleProps } from '../../utils';\nimport { useUnstableHeaderStyleProps } from './useUnstableHeaderStyleProps';\n\nconst defaultProps: Partial<HeaderLogoProps> = {\n elementType: 'a',\n};\n\nconst _HeaderLogo = <E extends ElementType = 'a'>(\n props: SpiritHeaderLogoProps<E>,\n ref: PolymorphicRef<E>,\n): JSX.Element => {\n const propsWithDefaults = { ...defaultProps, ...props };\n const { elementType = defaultProps.elementType as ElementType, children, ...restProps } = propsWithDefaults;\n\n const Component = elementType as ElementType;\n\n const { classProps, props: modifiedProps } = useUnstableHeaderStyleProps(restProps);\n const { styleProps, props: otherProps } = useStyleProps(modifiedProps);\n const mergedStyleProps = mergeStyleProps(Component, { classProps: classProps.logo, styleProps, otherProps });\n\n return (\n <Component {...otherProps} {...mergedStyleProps} href={restProps.href} ref={ref}>\n {children}\n </Component>\n );\n};\n\nconst UNSTABLE_HeaderLogo = forwardRef<HTMLAnchorElement, SpiritHeaderLogoProps<'a'>>(\n _HeaderLogo,\n) as unknown as PolymorphicComponent<'a', HeaderLogoProps>;\n\nUNSTABLE_HeaderLogo.spiritComponent = 'UNSTABLE_HeaderLogo';\nUNSTABLE_HeaderLogo.displayName = 'UNSTABLE_HeaderLogo';\n\nexport default UNSTABLE_HeaderLogo;\n","import { type ComponentPropsWithRef, type ElementType, type LegacyRef, type ReactNode } from 'react';\nimport {\n type AlignmentXExtendedDictionaryType,\n type AlignmentYExtendedDictionaryType,\n type Booleanish,\n type ChildrenProps,\n type ClickEvent,\n type PlacementDictionaryType,\n type StyleProps,\n} from './shared';\n\nexport const DropdownFullWidthModes = {\n OFF: 'off',\n MOBILE_ONLY: 'mobile-only',\n ALL: 'all',\n} as const;\n\nexport type DropdownFullWidthModeKeys = keyof typeof DropdownFullWidthModes;\nexport type DropdownFullWidthMode = (typeof DropdownFullWidthModes)[DropdownFullWidthModeKeys];\n\nexport type DropdownTriggerRenderProps = {\n onClick: (event: ClickEvent) => void;\n className?: string | undefined;\n 'aria-expanded': Booleanish;\n 'aria-controls': string;\n ref: LegacyRef<HTMLButtonElement & HTMLAnchorElement>;\n};\n\nexport type DropdownAlignmentXType =\n | AlignmentXExtendedDictionaryType\n | { [key: string]: AlignmentXExtendedDictionaryType };\nexport type DropdownAlignmentYType =\n | AlignmentYExtendedDictionaryType\n | { [key: string]: AlignmentYExtendedDictionaryType };\n\nexport interface DropdownAlignmentProps {\n alignmentX?: DropdownAlignmentXType;\n alignmentY?: DropdownAlignmentYType;\n}\n\nexport interface DropdownProps extends DropdownAlignmentProps, ChildrenProps, StyleProps {\n id: string;\n}\n\nexport interface DropdownStyleProps extends DropdownAlignmentProps, StyleProps {\n isOpen?: boolean;\n}\n\nexport interface SpiritDropdownProps extends DropdownProps, ChildrenProps {\n enableAutoClose?: boolean;\n placement?: PlacementDictionaryType;\n fullWidthMode?: DropdownFullWidthMode;\n onAutoClose?: (event: Event) => void;\n isOpen: boolean;\n onToggle: () => void;\n}\n\nexport interface UncontrolledDropdownProps extends ChildrenProps, Omit<SpiritDropdownProps, 'isOpen' | 'onToggle'> {}\n\nexport type DropdownTriggerProps<E extends ElementType> = {\n elementType?: E;\n children: string | ReactNode | ((props: { isOpen: boolean }) => ReactNode);\n} & ComponentPropsWithRef<E> &\n StyleProps;\n","export const LinkColorsExtended = {\n INHERIT: 'inherit',\n} as const;\n","export const TextHyphens = {\n NONE: 'none',\n AUTO: 'auto',\n MANUAL: 'manual',\n} as const;\n\nexport const TextWordBreaks = {\n NORMAL: 'normal',\n ANYWHERE: 'anywhere',\n LONG_WORDS: 'long-words',\n} as const;\n","export const delayedCallback = (callback: () => void, interval: number) => {\n const timeoutId = setTimeout(() => {\n callback();\n clearTimeout(timeoutId);\n }, interval);\n};\n"],"names":["useAccordion","defaultOpen","stayOpen","open","setOpen","useState","toggle","id","Array","isArray","includes","filter","accordionId","NAME_ARIA_EXPANDED","NAME_ARIA_CONTROLS","NAME_ARIA_LABELEDBY","useAccordionAriaProps","isOpen","headerId","contentId","headerProps","triggerProps","NAME_ARIA_EXPANDED$1","NAME_ARIA_CONTROLS$1","contentProps","hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","appendClass","parseValue","apply","toString","Object","prototype","key","call","value","newClass","module","exports","default","window","ENVIRONMENTS","warning","condition","message","process","env","NODE_ENV","text","console","warn","Error","x","CLASS_NAME_OPEN","ColorPrefixes","ACCENT","EMOTION","wf","mobile","tablet","desktop","Xf","_f","xsmall","maxWidth","small","medium","large","xlarge","padding","df","backgroundBasic","backgroundSubtle","borderBasic","borderSubtle","contentBasic","contentSubtle","stateActive","stateDefault","stateHover","Sf","button","plain","border","content","primary","secondary","tertiary","gf","danger","informative","success","hf","createUppercaseKeyDictionary","obj","fromEntries","keys","map","toUpperCase","AlignmentX","LEFT","CENTER","RIGHT","AlignmentXExtended","SPACE_BETWEEN","STRETCH","AlignmentY","TOP","BOTTOM","AlignmentYExtended","BASELINE","BorderColors","BASIC","BorderRadii","FULL","BorderStyles","SOLID","DOTTED","DASHED","BorderWidths","BackgroundColors","PRIMARY","SECONDARY","TERTIARY","ComponentButtonColors","componentColors","EmotionColors","emotionColors","TextColors","textColors","Intensity","SUBTLE","Emphasis","REGULAR","SEMIBOLD","BOLD","ITALIC","Placements","TOP_START","TOP_END","BOTTOM_START","BOTTOM_END","LEFT_START","LEFT_END","RIGHT_START","RIGHT_END","Sizes","SMALL","MEDIUM","LARGE","SizesExtended","XSMALL","XLARGE","MAXWIDTH","PADDING","ContainerTokenSizes","containers","FillVariants","FILL","OUTLINE","ShapeVariants","BOX","PILL","Direction","HORIZONTAL","VERTICAL","DirectionExtended","HORIZONTAL_REVERSED","DirectionAxis","isDirectionHorizontal","direction","InputPositions","START","END","ObjectFit","CONTAIN","COVER","Position","BackgroundStyleProps","backgroundGradient","BorderRadiusStyleProps","borderRadius","SpacingStyleProp","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","PaddingStyleProps","paddingBottom","paddingLeft","paddingRight","paddingTop","paddingX","paddingY","TextStyleProps","isTextBalanced","textAlignment","textHyphens","textWordBreak","HeadingStyleProps","DisplayStyleProps","hideOn","hideFrom","ThemeStyleProps","theme","ClassNamePrefixContext","createContext","ClassNamePrefixProvider","Provider","ClassNamePrefixConsumer","Consumer","CardSizes","AUTO","ITEM_SELECTION_DECORATOR_BACKGROUND","ITEM_SELECTION_DECORATOR_BOTH","ITEM_SELECTION_DECORATOR_ICON","UNDERLINED_OPTIONS","ALWAYS","HOVER","NEVER","STYLE_SPACING_AUTO","BREAKPOINT_MOBILE","SpiritBreakpoints","TOOLTIP_TRIGGER","CLICK","FOCUS","MANUAL","OUTSIDE_PRESS","ESCAPE_KEY","TruncateModes","LINES","WORDS","CHARACTERS","isNullish","isEmptyString","trim","isEmptyArray","isEmptyObject","isEnumerable","isEmpty","applyClassNamePrefix","prefix","className","applyColor","color","applySize","size","generateColorsObject","colors","type","result","properties","entries","property","startsWith","formattedValue","replace","toLowerCase","compose","functions","reduceRight","prevFunction","nextFunction","args","debounce","callback","delay","timeout","isThrottled","clearTimeout","setTimeout","defineProperty","Doctype","CDATA","Tag","Style","Script","Comment","Directive","Text","Root","isTag","ElementType","elem","__extends","this","extendStatics","d","b","setPrototypeOf","__proto__","p","TypeError","String","__","constructor","create","__assign","assign","t","s","n","node","cloneNode","hasChildren","isDocument","isDirective","isComment","isCDATA","Element","Document","NodeWithChildren","DataNode","Node","domelementtype_1","require$$0","parent","prev","next","startIndex","endIndex","get","set","enumerable","configurable","recursive","_super","data","_this","ProcessingInstruction","name","children","_a","attribs","_b","namespace","isText","cloneChildren","clone_1","forEach","child","clone_2","clone_3","concat","instruction","sourceCodeLocation","childs","__createBinding","o","m","k","k2","desc","getOwnPropertyDescriptor","__esModule","writable","__exportStar","DomHandler","node_js_1","require$$1","defaultOpts","withStartIndices","withEndIndices","xmlMode","options","elementCB","dom","root","done","tagStack","lastNode","parser","onparserinit","onreset","onend","handleCallback","onerror","error","onclosetag","pop","onopentag","element","addNode","push","ontext","oncomment","oncommentend","oncdatastart","oncdataend","onprocessinginstruction","previousSibling","utilities","formatAttributes","escapeSpecialCharacters","html","constants_1","CARRIAGE_RETURN_REGEX","CARRIAGE_RETURN_PLACEHOLDER","revertEscapedCharacters","formatDOM","nodes","directive","current","domNodes","index","nodesLength","nodeType","tagName","formatTagName","nodeName","domhandler_1","attributes","childNodes","nodeValue","substring","indexOf","unshift","CARRIAGE_RETURN_PLACEHOLDER_REGEX","CARRIAGE_RETURN","CASE_SENSITIVE_TAG_NAMES_MAP","CASE_SENSITIVE_TAG_NAMES","reduce","accumulator","RegExp","Date","now","attributesLength","attribute","caseSensitiveTagName","getCaseSensitiveTagName","__importDefault","mod","htmlToDom","match","DIRECTIVE_REGEX","utilities_1","domparser_1","FIRST_TAG_REGEX","firstTagName","HTML","doc","parseFromString","HEAD_TAG_REGEX","test","querySelector","HEAD","parentNode","removeChild","BODY_TAG_REGEX","BODY","querySelectorAll","elements","parseFromDocument","parseFromTemplate","DOMParser","domParser_1","document","implementation","htmlDocument_1","createHTMLDocument","documentElement","innerHTML","template","createElement","htmlDomParser","ClientParser","PropertyInfoRecord","mustUseProperty","attributeName","attributeNamespace","sanitizeURL","removeEmptyString","acceptsBooleans","propertyName","CAMELIZE","capitalize","token","CAMELCASE","SAME","possibleStandardNames","possibleStandardNamesOptimized","accept","acceptCharset","accessKey","action","allowFullScreen","alt","as","async","autoCapitalize","autoComplete","autoCorrect","autoFocus","autoPlay","autoSave","capture","cellPadding","cellSpacing","challenge","charSet","checked","cite","class","classID","cols","colSpan","contentEditable","contextMenu","controls","controlsList","coords","crossOrigin","dangerouslySetInnerHTML","dateTime","defaultChecked","defaultValue","defer","dir","disabled","disablePictureInPicture","disableRemotePlayback","download","draggable","encType","enterKeyHint","for","form","formMethod","formAction","formEncType","formNoValidate","formTarget","frameBorder","headers","height","hidden","high","href","hrefLang","htmlFor","httpEquiv","icon","inputMode","integrity","is","itemID","itemProp","itemRef","itemScope","itemType","keyParams","keyType","kind","label","lang","list","loop","low","manifest","marginWidth","marginHeight","max","maxLength","media","mediaGroup","method","min","minLength","multiple","muted","noModule","nonce","noValidate","optimum","pattern","placeholder","playsInline","poster","preload","profile","radioGroup","readOnly","referrerPolicy","rel","required","reversed","role","rows","rowSpan","sandbox","scope","scoped","scrolling","seamless","selected","shape","sizes","span","spellCheck","src","srcDoc","srcLang","srcSet","start","step","style","summary","tabIndex","target","title","useMap","width","wmode","wrap","about","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","datatype","decelerate","descent","diffuseConstant","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filterRes","filterUnits","floodOpacity","floodColor","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","ideographic","imageRendering","in2","in","inlist","intercept","k1","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","resource","restart","results","rotate","rx","ry","scale","security","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeWidth","strokeOpacity","suppressContentEditableWarning","suppressHydrationWarning","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","typeof","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","unselectable","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewBox","viewTarget","visibility","vMathematical","vocab","widths","wordSpacing","writingMode","x1","x2","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","isCustomAttribute","bind","standardName","propName","lib","BOOLEAN","BOOLEANISH_STRING","NUMERIC","OVERLOADED_BOOLEAN","POSITIVE_NUMERIC","RESERVED","STRING","getPropertyInfo","cjs","inline_style_parser_1","COMMENT_REGEX","NEWLINE_REGEX","WHITESPACE_REGEX","PROPERTY_REGEX","COLON_REGEX","VALUE_REGEX","SEMICOLON_REGEX","TRIM_REGEX","EMPTY_STRING","str","inlineStyleParser","lineno","column","updatePosition","lines","lastIndexOf","position","line","whitespace","source","msg","err","reason","filename","silent","re","exec","slice","comments","rules","c","comment","pos","charAt","declaration","prop","val","ret","decl","decls","declarations","iterator","styleObject","hasIterator","camelCase","CUSTOM_PROPERTY_REGEX","HYPHEN_REGEX","NO_HYPHEN_REGEX","VENDOR_PREFIX_REGEX","MS_VENDOR_PREFIX_REGEX","character","trimHyphen","skipCamelCase","reactCompat","returnFirstArg","ELEMENTS_WITH_NO_TEXT_CHILDREN","PRESERVE_CUSTOM_ATTRIBUTES","setStyleProp","isCustomComponent","react_1","style_to_js_1","style_to_object_1","output","RESERVED_SVG_MATHML_ELEMENTS","Set","props","has","Boolean","styleOptions","Number","split","canTextBeChildOfNode","domToReact_1","attributes_to_props_1","attributesToProps_1","react_property_1","UNCONTROLLED_COMPONENT_ATTRIBUTES","UNCONTROLLED_COMPONENT_NAMES","valueOnlyInputs","reset","submit","getPropName","isInputValueOnly","attributeValue","attributeNameLowerCased","propertyInfo","require$$2","React","cloneElement","isValidElement","skipAttributesToProps","domToReact","reactElements","hasReplace","library","replaceElement","__html","isWhitespace","domToReactLib","htmlReactParser","htmlToDOM","mergeStyleProps","ElementTag","styleProps","isSpiritComponent","elementTag","isNonNullableObject","styleProp","mergedClasses","flatMap","UNSAFE_className","join","mergedStyles","cssProperties","typedStyleProp","styles","UNSAFE_style","cssVariables","extractedCssVariable","extractCssVariables","isResponsive","generateResponsiveClassNames","componentClass","breakpoint","breakpointValue","isSSR","camelCaseToKebabCase","input","kebabCaseToCamelCase","g","kebabCaseToCamelCaseValues","stringOrObjectKebabCaseToCamelCase","toPascalCase","word","generateStaticStylePropsClasses","generateResponsiveStylePropsClasses","infix","responsiveProperty","generateStylePropsClassNames","generate","isResponsiveProperty","CLASS_SEPARATOR","getUtilityValue","isSpaceToken","normalizeSpacingValue","processDisplayProperties","utilityKey","utilityName","propValue","processHideOnProperty","processHideFromProperty","processProperties","themeClassName","accumulatedBreakpointUtilities","utilityValue","processBreakpointProperties","isStylePropProcessable","stylePropKey","stylePropValue","includesKey","isStylePropKeyIncluded","object","useStyleProps","additionalUtilities","classNamePrefix","useContext","otherProps","styleUtilitiesConfig","styleUtilities","modifiedProps","additionalProps","DefaultSpacingStyleProp","propEntries","accumulatedUtilities","accumulatedProps","useStyleUtilities","useAlignmentClass","useAriaDescribedBy","ids","useMemo","useIsomorphicLayoutEffect","useEffect","useLayoutEffect","EVENT_CANCEL","EVENT_KEYDOWN","useCancelEvent","ref","closeOnEscapeKeyDown","handleCancel","useCallback","event","defaultPrevented","preventDefault","handleKeyDown","addEventListener","removeEventListener","useClassNamePrefix","prefixedClassName","useClick","isDisabled","onClick","useClickOutside","stateRef","useRef","mouseDownTarget","clickHandler","state","contains","onMouseDown","useDeprecationMessage","trigger","componentName","componentProps","propertyProps","customText","messageBase","isExecutable","hasProps","delete","deprecatedName","deprecatedValue","newValue","newName","useDimensionStyle","cssPrefix","breakpointSuffix","useDragAndDrop","isDragging","setDragging","onDragOver","onDragEnter","onDragLeave","onDrop","defaultLabels","common","close","edit","remove","attachment","breadcrumbs","back","fileUploader","attachments","pagination","previous","goToPage","textField","password","show","hide","splitButton","dropdown","replaceTranslationParams","translation","params","paramKey","safeParamKey","resolveTranslationKey","path","useI18n","IconsContext","IconsProvider","IconsConsumer","useIcon","icons","useIconName","iconMap","defaultKey","useInputPositionClass","useLastActiveFocus","lastActiveElement","activeElement","focus","extractSize","entry","box","sizeType","contentRect","initialSize","useResizeObserver","setSize","isMounted","useIsMounted","previousSize","onResize","observer","ResizeObserver","boxProp","newWidth","newHeight","newSize","observe","disconnect","CLASSNAME_SCROLLING_DISABLED","enableScroll","body","classList","useScrollControl","scrollBarWidth","innerWidth","clientWidth","add","disableScroll","useSpacingStyle","directionSuffix","cssVariablePrefix","SYMMETRICAL_CLASS_SUFFIX","useSymmetry","isSymmetrical","isSymmetricalActive","symmetricalClassName","breakpoints","acc","wasSymmetrical","getSymmetryClassNamesReducer","useToggle","initialState","setState","prevState","WRAP_CLASS","NO_WRAP_CLASS","useWrapClass","useAccordionStyleProps","accordionClass","classProps","item","header","side","slot","AccordionContext","AccordionProvider","useAccordionContext","useOpenItem","iid","getComponentNameFromType","$$typeof","REACT_CLIENT_REFERENCE$2","displayName","REACT_FRAGMENT_TYPE","REACT_PORTAL_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","tag","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","_context","REACT_FORWARD_REF_TYPE","innerType","render","REACT_MEMO_TYPE","REACT_LAZY_TYPE","_payload","_init","testStringCoercion","checkKeyStringCoercion","JSCompiler_inline_result","e","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","Symbol","toStringTag","disabledLog","describeBuiltInComponentFrame","stack","suffix","describeNativeComponentFrame","fn","construct","reentry","frame","componentFrameCache","prepareStackTrace","previousDispatcher","ReactSharedInternals","H","disabledDepth","prevLog","log","prevInfo","info","prevWarn","prevError","prevGroup","group","prevGroupCollapsed","groupCollapsed","prevGroupEnd","groupEnd","defineProperties","disableLogs","RunInRootFrame","DetermineComponentFrameRoot","Fake","Reflect","control","x$0","x$1","catch","sample","namePropDescriptor","_RunInRootFrame$Deter","sampleStack","controlStack","sampleLines","controlLines","_frame","reenableLogs","describeUnknownElementTypeFrameInDEV","isReactComponent","getOwner","dispatcher","A","elementRefGetterWithDeprecationWarning","didWarnAboutElementRef","jsxDEVImpl","config","maybeKey","isStaticChildren","self","REACT_OFFSCREEN_TYPE","REACT_CLIENT_REFERENCE$1","getModuleId","isArrayImpl","validateChildKeys","freeze","REACT_ELEMENT_TYPE","didWarnAboutKeySpread","getter","isReactWarning","hasValidKey","warnAboutAccessingKey","specialPropKeyWarningShown","defineKeyPropWarningGetter","owner","_owner","_store","ReactElement","parentType","REACT_CLIENT_REFERENCE","validateExplicitKey","validated","MAYBE_ITERATOR_SYMBOL","getCurrentComponentErrorInfo","ownerHasKeyUseWarning","childOwner","prevGetCurrentStack","getCurrentStack","__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE","__reactDisabledLog","WeakMap","Map","reactJsxRuntime_development","Fragment","jsx","jsxs","jsxRuntimeModule","jsxProd","reactJsxRuntime_production","Accordion","forwardRef","elementType","restProps","Component","transferProps","mergedStyleProps","contextValue","spiritComponent","AccordionItemContext","AccordionItemProvider","useAccordionItemContext","AccordionItem","setCustomDimension","breakpointSize","useIconStyleProps","boxSize","stylePrefix","dualtoneColorWithDefault","iconClass","iconDualtoneColorClass","iconStyleProps","defaultProps","ariaHidden","Icon","propsWithDefaults","iconSize","useIconBoxSize","AccordionHeader","_setPrototypeOf","reactIsModule","f","h","l","q","v","w","a","u","reactIs_production_min","AsyncMode","ConcurrentMode","ContextConsumer","ForwardRef","Lazy","Portal","Profiler","StrictMode","Suspense","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isProfiler","isStrictMode","isSuspense","isValidElementType","typeOf","hasSymbol","REACT_PROVIDER_TYPE","REACT_ASYNC_MODE_TYPE","REACT_CONCURRENT_MODE_TYPE","REACT_BLOCK_TYPE","REACT_FUNDAMENTAL_TYPE","REACT_RESPONDER_TYPE","REACT_SCOPE_TYPE","$$typeofType","ContextProvider","Memo","hasWarnedAboutDeprecatedIsAsyncMode","reactIs_development","isPortal","getOwnPropertySymbols","propIsEnumerable","propertyIsEnumerable","objectAssign","test1","getOwnPropertyNames","test2","fromCharCode","test3","letter","shouldUseNative","symbols","toObject","ReactPropTypesSecret_1","Function","printWarning","ReactPropTypesSecret","loggedTypeFailures","checkPropTypes","typeSpecs","location","getStack","typeSpecName","ex","resetWarningCache","checkPropTypes_1","ReactIs","require$$3","require$$4","emptyFunctionThatReturnsNull","factoryWithTypeCheckers","throwOnDirectAccess","ITERATOR_SYMBOL","ANONYMOUS","ReactPropTypes","array","createPrimitiveTypeChecker","bigint","bool","func","number","symbol","any","createChainableTypeChecker","arrayOf","typeChecker","propFullName","PropTypeError","getPropType","instanceOf","expectedClass","expectedClassName","isNode","objectOf","propType","oneOf","expectedValues","valuesString","JSON","stringify","getPreciseType","oneOfType","arrayOfTypeCheckers","checker","getPostfixForTypeWarning","expectedTypes","checkerResult","expectedType","shapeTypes","invalidValidatorError","exact","allKeys","validate","manualPropTypeCallCache","manualPropTypeWarningCount","checkType","isRequired","secret","cacheKey","chainedCheckType","every","iteratorFn","maybeIterable","getIteratorFn","isSymbol","PropTypes","emptyFunction","emptyFunctionWithReset","factoryWithThrowingShims","shim","getShim","propTypesModule","timeoutsShape","enter","exit","appear","active","enterDone","enterActive","exitDone","exitActive","TransitionGroupContext","UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","Transition","_React$Component","context","initialStatus","isMounting","appearStatus","unmountOnExit","mountOnEnter","status","nextCallback","getDerivedStateFromProps","_ref","_proto","componentDidMount","updateStatus","componentDidUpdate","prevProps","nextStatus","componentWillUnmount","cancelNextCallback","getTimeouts","mounting","nodeRef","ReactDOM","findDOMNode","scrollTop","performEnter","performExit","_this2","appearing","_ref2","maybeNode","maybeAppearing","timeouts","enterTimeout","safeSetState","onEntered","onEnter","onEntering","onTransitionEnd","_this3","onExit","onExiting","onExited","cancel","nextState","setNextCallback","_this4","handler","doesNotHaveTimeoutOrListener","addEndListener","_ref3","maybeNextCallback","_this$props","childProps","_objectWithoutPropertiesLoose","Children","only","noop","contextType","propTypes","ownerDocument","defaultView","pt","_len","_key","ATTRIBUTE_ARIA_EXPANDED","ATTRIBUTE_ARIA_CONTROLS","ATTRIBUTE_DATA_BREAKPOINT","useCollapseAriaProps","collapsibleToBreakpoint","ariaProps","useCollapseStyleProps","collapseHeight","collapseClass","collapseContentClass","TRANSITION_DURATION","transitioningStyles","entering","entered","exiting","exited","transitionDuration","Collapse","rootElementRef","collapseElementRef","setHeight","currentHeight","useResizeHeight","collapseStyleProps","mergedCollapseStyleProps","transitionState","useCollapse","defaultOpenState","toggleHandler","UncontrolledCollapse","hideOnCollapse","isDisposable","renderTrigger","isDisposed","AccordionContent","UncontrolledAccordion","useFlexStyleProps","alignmentX","alignmentY","spacingX","spacingY","isWrapping","flexClass","flexStyle","X","Y","directionClass","Flex","ActionGroup","useAlertStyleProps","isCentered","alertClass","alertColorClass","alertCenteredClass","Alert","iconName","alertIconName","iconNameValue","useAlertIcon","useAvatarStyleProps","isSquare","avatarClass","avatarSquareClass","avatarSizeClass","Avatar","useBoxStyleProps","backgroundColor","borderColor","borderStyle","borderWidth","textColor","boxBackgroundClassName","boxBorderClassName","boxBackgroundColor","boxBorderColor","boxBorderStyle","boxBorderWidth","boxTextColorClass","parseInt","Box","useLinkStyleProps","hasVisitedStyleAllowed","underlined","linkClass","linkDisabledClass","linkUnderlinedClass","linkNotUnderlinedClass","linkVisitedStyleAllowedClass","Link","useBreadcrumbsStyleProps","isGoBackOnly","breadcrumbsClass","displayNoneClassName","displayTabletFlexClassName","displayTabletNoneClassName","iconNameEnd","iconNameStart","isCurrent","BreadcrumbsItem","items","Breadcrumbs","goBackTitle","isLast","itemsCount","url","useButtonProps","isLoading","buttonProps","useButtonStyleProps","isBlock","buttonClass","buttonBlockClass","buttonDisabledClass","buttonLoadingClass","getButtonColorClassname","getButtonSizeClassname","PropsContext","PropsProvider","parentContext","mergedValue","PropsConsumer","useContextProps","useSpinnerStyleProps","spinnerClass","spinnerColorClass","spinnerAnimation","Spinner","Button","propsWithContext","useButtonLinkProps","buttonLinkProps","useButtonLinkStyleProps","getButtonLinkColorClassname","getButtonLinkSizeClassname","ButtonLink","useCardStyleProps","artworkAlignmentX","footerAlignmentX","hasFilledHeight","isBoxed","isExpanded","isHeading","isSelectable","cardClass","artworkClass","bodyClass","eyebrowClass","footerClass","logoClass","mediaClass","titleClass","bodyIsSelectableClass","isBoxedClass","mediaCanvasClass","mediaHasFilledHeightClass","mediaIsExpandedClass","mediaSizeClass","titleHeadingClass","artwork","eyebrow","footer","link","logo","mediaCanvas","Card","CardArtwork","CardBody","CardEyebrow","CardFooter","CardLink","CardLogo","fit","CardMedia","cardMediaClassProps","cardMediaStyleProps","cardMediaBackgroundClassName","useCardMediaStyleProps","CardTitle","registerAria","HelperText","helperText","Label","labelFor","useAriaIds","otherAriaIds","setIds","prevIds","newIds","ValidationText","hasValidationStateIcon","validationText","validationIconName","useValidationIcon","nonArrayValidationText","useValidationTextRole","validationState","setRole","previousValidationText","previousValidationState","useCheckboxStyleProps","inputPosition","isItem","isLabelHidden","checkboxClass","checkboxDisabledClass","checkboxItemClass","checkboxInputClass","checkboxInputPositionClass","checkboxTextClass","checkboxLabelClass","checkboxLabelRequiredClass","checkboxLabelHiddenClass","checkboxHelperTextClass","checkboxValidationTextClass","checkboxValidationClass","Checkbox","ariaDescribedBy","hasValidationIcon","isChecked","register","ariaDescribedByProp","validationTextRole","useContainerStyleProps","isFluid","containerClass","containerFluidClass","containerSizeClass","Container","useControlButtonProps","controlButtonProps","useControlButtonStyleProps","isSubtle","controlButtonClass","controlButtonBackgroundClass","controlButtonDisabledClass","dynamicColorBackgroundInteractiveClass","dynamicColorBorderClass","accessibilityTapTargetClass","getControlButtonSizeClassname","ControlButton","useDialog","closeTimeoutRef","clearCloseTimeout","scheduleDialogClose","dialogNode","handleTransitionEnd","setOpenClass","shouldAdd","showModal","openDialog","closeDialog","Dialog","onClose","closeOnBackdropClick","dialogElementRef","contentElementRef","clonedElementRef","useDividerStyleProps","Divider","DRAWER_ALIGNMENT_DEFAULT","DrawerContext","DrawerProvider","DrawerConsumer","useDrawerContext","useDrawerStyleProps","drawerAlignmentX","drawerClass","drawerPanelClass","drawerContentClass","drawerCloseButtonClass","left","right","panel","closeButton","Drawer","VisuallyHidden","rest","useVisuallyHiddenProps","iconBoxSize","DrawerCloseButton","closeLabel","DrawerPanel","NAME_DATA_FULLWIDTHMODE","NAME_DATA_PLACEMENT","fullWidthModeKeys","useDropdownAriaProps","fullWidthMode","placement","defaultContext","dropdownRef","off","onToggle","triggerRef","DropdownContext","DropdownProvider","useDropdownContext","useDropdownStyleProps","dropdownRootClass","dropdownPopoverClass","expandedClass","openClass","rootClass","popoverClass","popover","Dropdown","enableAutoClose","onAutoClose","DropdownTrigger","triggerStyleProps","DropdownPopover","useDropdown","UncontrolledDropdown","useStackStyleProps","hasEndDivider","hasIntermediateDividers","hasSpacing","hasStartDivider","StackClass","StackBottomDividerClass","StackMiddleDividersClass","StackSpacingClass","StackTopDividerClass","LIST_ELEMENT_TYPES","Stack","stackStyle","itemElementType","StackItem","propsElementType","contextProps","contextElementType","useEmptyStateStyleProps","emptyStateClass","section","EmptyState","EmptyStateSection","FieldGroup","fieldGroupRootClass","fieldGroupRootFluidClass","fieldGroupRootValidationClass","fieldGroupLabelClass","fieldGroupLabelRequiredClass","fieldGroupFieldsClass","fieldGroupValidationTextClass","fieldGroupHelperTextClass","fields","useFieldGroupStyleProps","DEFAULT_FILE_SIZE_LIMIT","DEFAULT_FILE_QUEUE_LIMIT","DEFAULT_ERROR_MESSAGE_MAX_FILE_SIZE","DEFAULT_ERROR_MESSAGE_QUEUE_DUPLICITY","DEFAULT_ERROR_MESSAGE_QUEUE_LIMIT","DEFAULT_ERROR_MESSAGE_UNSUPPORTED_FILE","DEFAULT_ICON_NAME","FileUploaderCropCSS","WIDTH","HEIGHT","addToQueue","clearQueue","fileQueue","onDismiss","findInQueue","updateQueue","errorMessages","errorFileDuplicity","errorFileNotSupported","errorMaxFileSize","errorMaxUploadedFiles","FileUploaderContext","FileUploaderProvider","useFileUploaderContext","useFileUploaderStyleProps","fileUploaderClass","fileUploaderHasDragAndDropClass","fileUploaderFluidClass","fileUploaderInputClass","fileUploaderInputDisabledClass","fileUploaderInputValidationClass","fileUploaderInputDraggingClass","fileUploaderInputDropLabelClass","fileUploaderInputDropZoneClass","fileUploaderInputDropZoneLabelClass","fileUploaderInputHelperClass","fileUploaderInputHiddenClass","fileUploaderInputInputClass","fileUploaderInputLabelClass","fileUploaderInputLabelHiddenClass","fileUploaderInputLabelRequiredClass","fileUploaderInputLinkClass","fileUploaderInputValidationTextClass","fileUploaderListClass","fileUploaderAttachmentClass","fileUploaderAttachmentNameClass","fileUploaderAttachmentButtonClass","fileUploaderAttachmentImageClass","fileUploaderAttachmentSlotClass","meta","imageObjectFit","imageCropCSS","imageObjectFitCSS","hasCoordsInMeta","coord","cropWidth","cropHeight","originalWidth","originalHeight","previewHeight","cropX","Math","round","cropY","imageWidth","imageHeight","isDragAndDropSupported","isDisabledByQueueLimitBehavior","queueLimitBehavior","isDropZoneHidden","dropLabel","helper","dropZone","image","imageCropStyles","attachmentStyles","FileUploader","useFileUploaderInput","maxFileSize","maxUploadedFiles","isMultiple","onError","disabledByQueueLimitBehavior","setDisabledByQueueLimitBehavior","dropZoneHidden","setDropZoneHidden","getUpdatedFileName","fileProcessHandler","file","checkFileDuplicity","checkAllowedFileSize","fileExtension","fileType","isTypeSupported","acceptArray","acceptExtensions","exp","acceptTypes","acceptExtension","expression","acceptType","checkAllowedFileType","checkQueueSize","checkIsMultiple","queue","onChange","files","filesArray","overLimit","counter","blur","transferItems","dataTransfer","transferFiles","getAsFile","FileUploaderInput","setIsDragAndDropSupported","dropZoneRef","inputRef","labelText","linkText","FileUploaderList","attachmentComponent","inputName","hasImagePreview","attachmentsLabel","renderAttachments","AttachmentActionButton","AttachmentDismissButton","AttachmentImagePreview","imagePreview","getAttachmentInput","attachmentInputElement","dataContainer","DataTransfer","setAttribute","getAttachmentMetaInput","image2Base64Preview","reader","FileReader","onload","Image","canvas","getContext","drawImage","compressedDataURL","toDataURL","readAsDataURL","useFileUploaderAttachment","attachmentRef","metadata","appendChild","attachmentInputMetaElement","createAttachmentInput","FileUploaderAttachment","editText","onEdit","removeText","resolvedEditText","resolvedRemoveText","setImagePreview","isFileImage","useFileQueue","setQueue","clear","newState","UncontrolledFileUploader","inputId","inputLabel","inputProps","listId","listProps","onInputError","Footer","footerBackgroundClassName","footerBackgroundColor","useFooterStyleProps","useGridStyleProps","gridClass","gridStyle","generateColsClasses","Grid","setStyleProperty","useGridItemStyleProps","gridItemClass","gridItemStyle","mutableProps","baseVarName","GridItem","HEADER_COLOR_DEFAULT","HEADER_ACTIONS_COLOR_DEFAULT","HEADER_DIALOG_CLOSE_BUTTON_LABEL_DEFAULT","HEADER_MENU_TOGGLE_LABEL_DEFAULT","useHeaderStyleProps","actionsColor","hasActionsAtEnd","isCurrentLink","isSimple","headerClass","headerSimpleClass","headerNavClass","headerNavItemClass","headerLinkClass","headerLinkCurrentClass","headerDesktopActionsClass","headerDesktopActionsAtEndClass","headerMobileActionsClass","headerDialogClass","headerDialogPanelClass","headerDialogContentClass","headerDialogActionsClass","headerDialogActionsColorClass","headerDialogCloseButtonClass","headerDialogLinkClass","headerDialogLinkCurrentClass","headerDialogNavClass","headerDialogNavItemClass","headerDialogTextClass","headerButton","headerDesktopActions","headerDialog","headerDialogActions","headerDialogButton","headerDialogCloseButton","headerDialogLink","headerDialogNav","headerDialogNavItem","headerDialogText","headerLink","headerMobileActions","headerNav","headerNavItem","Header","HeaderButton","isAtEnd","HeaderDesktopActions","HeaderDialogContext","HeaderDialogProvider","HeaderDialogConsumer","useHeaderDialogContext","HeaderDialog","providerValue","HeaderDialogActions","HeaderDialogButton","HeaderDialogCloseButton","HeaderDialogLink","HeaderDialogNav","HeaderDialogNavItem","HeaderDialogText","HeaderLink","HeaderMobileActions","dialogId","menuToggleLabel","onOpen","HeaderNav","HeaderNavItem","useHeadingStyleProps","emphasis","headingClass","headingTextColorClass","Heading","Hidden","on","stylePropsWithMapping","IconBoxShapes","ROUNDED","SQUARE","CIRCLE","IconBoxSizes","IconBoxShapesRadii","setFullColorName","base","intensity","useIconBoxColors","complementaryIntensity","INFORMATIVE","derivePrefix","background","useIconBoxStyleProps","shapesProps","iconBoxStyles","sizeProps","responsivePadding","responsiveIconSize","sizeConfig","hasBorder","IconBox","iconBoxStyleProps","useItemStyleProps","isSelected","selectionDecorator","itemClass","itemRootDisabledClass","itemRootSelectedClass","itemIconClass","showSelectedBackground","Item","showSelectedIcon","useDefaultResponsiveRowsStyle","useMatrixStyleProps","itemRows","matrixClass","matrixPrefix","matrixCustomStyle","Matrix","count","matrixStyleProps","ModalContext","ModalProvider","ModalConsumer","useModalContext","useModalStyleProps","footerAlignment","isDockedOnMobile","isExpandedOnMobile","isScrollable","modalAlignment","modalClass","modalAlignClasses","top","center","bottom","modalDialogClass","modalDialogDockedOnMobileClass","modalDialogExpandedOnMobileClass","modalDialogScrollableClass","modalHeaderClass","modalTitleClass","modalBodyClass","modalFooterClass","modalFooterDescriptionClass","modalFooterActionsClass","footerAlignClasses","dialog","description","actions","Modal","ModalBody","ModalCloseButton","setCustomHeight","propName2","ModalDialog","modalDialogStyleProps","maxHeight","useModalDialogStyleProps","ModalFooter","hasCloseButton","ModalHeader","resolvedCloseLabel","useNavigationStyleProps","variant","navigationClass","navigationActionClass","navigationAvatarClass","navigationItemClass","navigationDirectionClass","navigationActionDisabledClass","navigationActionSelectedClass","navigationActionVariantClass","navigationAvatarSquareClass","navigationItemClasses","avatar","Navigation","useNavigationActionProps","navigationActionProps","NavigationAction","avatarSize","NavigationAvatar","avatarContent","NavigationItem","NoSsr","setMount","usePaginationStyleProps","paginationRootClass","paginationLinkClass","paginationLinkCurrentClass","Pagination","listStyleProps","listTransferProps","PaginationButtonLink","accessibilityLabel","directionLabel","PaginationItem","PaginationLink","pageNumber","visuallyHiddenLabel","PaginationLinkNext","nextLabel","PaginationLinkPrevious","previousLabel","usePagination","totalPages","defaultPage","visiblePages","currentPage","setCurrentPage","pages","setPagesArray","currentVisiblePages","firstPageChapter","_","handlePageChange","halfChap","floor","startPage","endPage","tmpStartPage","getPagination","UncontrolledPagination","accessibilityLabelPrevious","accessibilityLabelNext","resolvedAccessibilityLabel","resolvedAccessibilityLabelPrevious","resolvedAccessibilityLabelNext","usePartnerLogoStyleProps","hasSafeArea","partnerLogoClass","partnerLogoFluidClass","partnerLogoSafeAreaClass","partnerLogoSizeClass","PartnerLogo","PillColorsExtended","SELECTED","NEUTRAL","usePillStyleProps","pillClass","pillColorClass","Pill","usePricingPlanStyleProps","hasComparableFeatures","isHighlighted","badge","subtitle","note","price","pricingPlanClass","pricingPlanComparableClass","pricingPlanLayoutClass","pricingPlanHighlightedClass","pricingPlanHeaderClass","pricingPlanHeaderBadgeClassName","pricingPlanHeaderTitleClassName","pricingPlanHeaderSubtitleClassName","pricingPlanHeaderPriceClassName","pricingPlanHeaderActionClassName","pricingPlanHeaderNoteClassName","pricingPlanHeaderContentClassName","pricingPlanBodyClass","pricingPlanBodyFeatureListClassName","pricingPlanBodyFeatureItemClassName","pricingPlanBodyFeatureTitleClassName","pricingPlanBodyFeatureTitleTextClassName","pricingPlanBodyFeatureDescriptionClassName","pricingPlanFooterClass","rootClassProps","pricingPlanStyle","layout","featureList","featureItem","featureTitle","featureTitleText","featureDescription","PricingPlan","pricingPlanStyleProps","PricingPlanHeader","TooltipContext","anchorRef","arrowRef","getReferenceProps","getFloatingProps","isDismissible","middlewareData","sizeMaxWidth","tooltipMaxWidth","tooltipRef","TooltipProvider","useTooltipContext","hasWindow","getNodeName","getWindow","_node$ownerDocument","getDocumentElement","isHTMLElement","HTMLElement","isShadowRoot","ShadowRoot","isOverflowElement","overflowX","overflowY","getComputedStyle","isTableElement","isTopLayer","some","selector","matches","isContainingBlock","elementOrCss","webkit","isWebKit","css","containerType","backdropFilter","willChange","contain","CSS","supports","isLastTraversableNode","getNodeScroll","scrollLeft","scrollX","scrollY","getParentNode","assignedSlot","host","getNearestOverflowAncestor","getOverflowAncestors","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement","visualViewport","getPrototypeOf","_activeElement","shadowRoot","rootNode","getRootNode","getPlatform","uaData","navigator","userAgentData","platform","getUserAgent","brands","brand","userAgent","isVirtualPointerEvent","isAndroid","pressure","detail","pointerType","isMouseLikePointerType","strict","getDocument","isEventTargetWithin","composedPath","getTarget","isTypeableElement","createCoords","oppositeSideMap","oppositeAlignmentMap","clamp","evaluate","param","getSide","getAlignment","getOppositeAxis","axis","getAxisLength","getSideAxis","getAlignmentAxis","getOppositeAlignmentPlacement","alignment","getOppositePlacement","getPaddingObject","expandPaddingObject","rectToClientRect","rect","computeCoordsFromPlacement","rtl","reference","floating","sideAxis","alignmentAxis","alignLength","isVertical","commonX","commonY","commonAlign","detectOverflow","_await$platform$isEle","rects","strategy","boundary","rootBoundary","elementContext","altBoundary","paddingObject","clippingClientRect","getClippingRect","contextElement","offsetParent","getOffsetParent","offsetScale","getScale","elementClientRect","convertOffsetParentRelativeRectToViewportRelativeRect","getBoundingRect","minX","minY","getCssDimensions","parseFloat","hasOffset","offsetWidth","offsetHeight","shouldFallback","$","unwrapElement","domElement","getBoundingClientRect","isFinite","noOffsets","getVisualOffsets","offsetLeft","offsetTop","includeScale","isFixedStrategy","clientRect","visualOffsets","isFixed","floatingOffsetParent","shouldAddVisualOffsets","offsetWin","currentWin","currentIFrame","iframeScale","iframeRect","clientLeft","clientTop","getWindowScrollBarX","leftScroll","getHTMLOffset","scroll","ignoreScrollbarX","htmlRect","getClientRectFromClippingAncestor","clippingAncestor","clientHeight","visualViewportBased","getViewportRect","scrollWidth","scrollHeight","getDocumentRect","getInnerBoundingClientRect","hasFixedPositionAncestor","stopNode","getRectRelativeToOffsetParent","isOffsetParentAnElement","offsets","offsetRect","htmlOffset","isStaticPositioned","getTrueOffsetParent","polyfill","rawOffsetParent","svgOffsetParent","currentNode","getContainingBlock","topLayer","clippingAncestors","cache","cachedResult","el","currentContainingBlockComputedStyle","elementIsFixed","computedStyle","currentNodeIsContaining","ancestor","getClippingElementAncestors","_c","firstClippingAncestor","clippingRect","accRect","getElementRects","getOffsetParentFn","getDimensionsFn","getDimensions","floatingDimensions","getClientRects","isRTL","rectsAreEqual","autoUpdate","update","ancestorScroll","ancestorResize","elementResize","layoutShift","IntersectionObserver","animationFrame","referenceEl","ancestors","passive","cleanupIo","onMove","timeoutId","io","cleanup","_io","refresh","skip","threshold","elementRectForRootMargin","rootMargin","isFirstUpdate","handleObserve","ratio","intersectionRatio","observeMove","frameId","reobserveFrame","resizeObserver","firstEntry","unobserve","cancelAnimationFrame","requestAnimationFrame","_resizeObserver","prevRefRect","frameLoop","nextRefRect","_resizeObserver2","_middlewareData$offse","_middlewareData$arrow","diffCoords","mainAxisMulti","crossAxisMulti","rawValue","mainAxis","crossAxis","convertValueToCoords","arrow","alignmentOffset","shift","checkMainAxis","checkCrossAxis","limiter","detectOverflowOptions","mainAxisCoord","crossAxisCoord","maxSide","limitedCoords","enabled","flip","_middlewareData$flip","initialPlacement","fallbackPlacements","specifiedFallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment","initialSideAxis","isBasePlacement","oppositePlacement","getExpandedPlacements","hasFallbackAxisSideDirection","isStart","lr","rl","tb","bt","getSideList","getOppositeAxisPlacements","placements","overflows","overflowsData","sides","mainAlignmentSide","getAlignmentSides","_middlewareData$flip2","_overflowsData$filter","nextIndex","nextPlacement","resetPlacement","sort","_overflowsData$filter2","currentSideAxis","_state$middlewareData","_state$middlewareData2","isYAxis","heightSide","widthSide","maximumClippingHeight","maximumClippingWidth","overflowAvailableHeight","overflowAvailableWidth","noShift","availableHeight","availableWidth","xMin","xMax","yMin","yMax","nextDimensions","arrowDimensions","minProp","maxProp","clientProp","endDiff","startDiff","arrowOffsetParent","clientSize","centerToReference","largestPossiblePadding","minPadding","maxPadding","min$1","shouldAddOffset","centerOffset","inline","nativeClientRects","clientRects","sortedRects","groups","prevRect","getRectsByLine","fallback","resetRects","find","firstRect","lastRect","isTop","isLeftSide","maxRight","minLeft","measureRects","limitShift","rawOffset","computedOffset","len","limitMin","limitMax","_middlewareData$offse2","isOriginSide","computePosition","mergedOptions","platformWithCache","middleware","validMiddleware","statefulPlacement","resetCount","nextX","nextY","computePosition$1","deepEqual","getDPR","devicePixelRatio","roundByDPR","dpr","useLatestRef","arrow$1","arrow$2","deps","shift$1","limitShift$1","flip$1","size$1","inline$1","SafeReact","useSafeInsertionEffect","useInsertionEffect","useEffectEvent","serverHandoffComplete","genId","random","useId","setId","devMessageSet","FloatingNodeContext","FloatingTreeContext","useFloatingParentNodeId","_React$useContext","useFloatingTree","createAttribute","clearTimeoutIfSet","timeoutRef","safePolygonIdentifier","getDelay","getChildren","allChildren","_node$context","parentId","currentChildren","_currentChildren","_node$context2","FOCUSABLE_ATTRIBUTE","isButtonTarget","isSpaceIgnored","bubbleHandlerKeys","pointerdown","mousedown","click","captureHandlerKeys","normalizeProp","normalizable","_normalizable$escapeK","_normalizable$outside","escapeKey","outsidePress","useFloatingRootContext","onOpenChange","onOpenChangeProp","elementsProp","floatingId","dataRef","events","emit","_map$get","listener","_map$get2","createPubSub","nested","optionDomReference","_devMessageSet3","_len2","messages","_key2","_devMessageSet4","positionReference","setPositionReference","openEvent","refs","domReference","useFloating","nodeId","internalRootContext","rootContext","computedElements","_domReference","setDomReference","_setPositionReference","domReferenceRef","tree","externalReference","externalFloating","whileElementsMounted","setData","isPositioned","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","referenceRef","setFloating","floatingRef","floatingEl","hasWhileElementsMounted","whileElementsMountedRef","platformRef","openRef","then","fullData","isMountedRef","flushSync","floatingStyles","initialStyles","useFloating$1","computedPositionReference","floatingContext","nodesRef","useFocus","visibleOnly","blockFocusRef","keyboardModalityRef","onBlur","onKeyDown","onPointerDown","nativeEvent","onMouseLeave","onFocus","vendor","maxTouchPoints","_e","relatedTarget","movedToFocusGuard","hasAttribute","getAttribute","_dataRef$current$floa","activeEl","ACTIVE_KEY","SELECTED_KEY","mergeProps","userProps","propsList","elementKey","domUserProps","validProps","propsOrGetProps","componentRoleToAriaRoleMap","isPointInPolygon","point","polygon","isInside","j","xi","yi","xj","yj","safePolygon","buffer","blockPointerEvents","requireIntent","hasLanded","lastX","lastY","lastCursorTime","performance","clientX","clientY","clientPoint","isLeave","isOverFloatingEl","isOverReferenceEl","refRect","cursorLeaveFromRight","cursorLeaveFromBottom","isOverReferenceRect","isFloatingWider","isFloatingTaller","rectPoly","cursorSpeed","currentTime","elapsedTime","deltaX","deltaY","distance","sqrt","getCursorSpeed","cursorPointOne","cursorPointTwo","getPolygon","__options","cornerOffset","flipCrossAxis","flipFallbackAxisSideDirection","flipFallbackPlacements","flipProp","tooltipOffset","isFocusableOnHover","shiftProp","sizeProp","positionStrategy","tooltipArrowWidth","tooltipPlacement","setMaxWidth","isClicked","setIsClicked","mainAxisOffset","isHoverEnabled","isClickEnabled","isFocusEnabled","useFloatingUI","offset$1","eventOption","ignoreMouse","keyboardHandlers","stickIfOpen","pointerTypeRef","didKeyDownRef","onKeyUp","hover","handleClose","mouseOnly","restMs","move","handleCloseRef","delayRef","handlerRef","restTimeoutRef","blockMouseMoveRef","performedPointerEventsMutationRef","unbindMouseMoveRef","restTimeoutPendingRef","isHoverOpen","_dataRef$current$open","onLeave","closeWithDelay","runElseBranch","closeDelay","cleanupMouseMoveHandler","clearPointerEvents","removeAttribute","isClickLikeOpenEvent","_elements$floating","onScrollMouseLeave","onMouseEnter","once","_elements$floating2","openDelay","_handleCloseRef$curre","_tree$nodesRef$curren","parentFloating","setPointerRef","onPointerEnter","onMouseMove","handleMouseMove","movementX","movementY","useHover","isClickable","dismiss","unstable_outsidePress","outsidePressEvent","referencePress","referencePressEvent","bubbles","outsidePressFn","insideReactTreeRef","endedOrStartedInsideRef","escapeKeyBubbles","outsidePressBubbles","escapeKeyCapture","outsidePressCapture","isComposingRef","stopPropagation","shouldDismiss","_child$context","__escapeKeyBubbles","isReactEvent","closeOnEscapeKeyDownCapture","_getTarget2","_getTarget","closeOnPressOutside","_dataRef$current$floa2","insideReactTree","endedOrStartedInside","inertSelector","markers","targetRootAncestor","nextParent","marker","lastTraversableNode","scrollRe","isScrollableX","isScrollableY","canScrollX","canScrollY","pressedVerticalScrollbar","offsetX","pressedHorizontalScrollbar","offsetY","targetIsInsideChildren","_child$context2","__outsidePressBubbles","closeOnPressOutsideCapture","_getTarget4","_getTarget3","compositionTimeout","onScroll","handleCompositionStart","handleCompositionEnd","_doc$defaultView","onMouseUp","useDismiss","_componentRoleToAriaR","ariaRole","referenceId","isNested","floatingProps","commonProps","useRole","originalGetReferenceProps","referenceDeps","floatingDeps","itemDeps","getItemProps","useInteractions","referenceProps","originalOnMouseDown","currentTarget","HTMLButtonElement","HTMLAnchorElement","HTMLInputElement","HTMLSelectElement","HTMLTextAreaElement","useTooltipStyleProps","tooltipClass","tooltipPopoverClass","arrowClass","closeButtonClass","rootDismissibleClass","rootHiddenClass","isHiddenClass","rootClassName","popoverClassName","arrowClassName","closeButtonClassName","Tooltip","enableFlipping","enableFlippingCrossAxis","enableShifting","enableSizing","tooltipCornerOffset","tooltipElement","tooltipArrowElement","tooltipComputedStyle","tooltipArrowComputedStyle","getPropertyValue","TooltipCloseButton","TooltipPopover","contentStyleProps","contentOtherProps","renderCloseButton","getMaxHeightAndWidth","staticSide","arrowEl","getArrowStaticSidePosition","TooltipTrigger","useTooltip","isOpenProp","UncontrolledTooltip","PricingPlanFeatureTitle","feature","featureId","modalContent","tooltipContent","isTooltipOpen","toggleTooltip","isModalOpen","setIsModalOpen","features","PricingPlanBody","featureIndex","featureItemKey","PricingPlanFooter","ProductLogo","productLogoClass","useRadioStyleProps","radioClass","radioDisabledClass","radioItemClass","radioInputClass","radioInputPositionClass","radioLabelClass","radioLabelHiddenClass","radioTextClass","radioHelperTextClass","radioValidationClass","Radio","SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_END","SCROLL_VIEW_ARROWS_LABEL_HORIZONTAL_START","SCROLL_VIEW_ARROWS_LABEL_VERTICAL_END","SCROLL_VIEW_ARROWS_LABEL_VERTICAL_START","SCROLL_VIEW_DEFAULT_DIRECTION","SCROLL_VIEW_DEFAULT_OVERFLOW_DECORATOR","useScrollCallback","viewportRef","scrollTimeoutRef","handleScroll","isHorizontal","scrollToDirection","currentScrollPosition","maxScroll","scrollTo","behavior","targetPosition","useScrollViewArrows","ariaLabelArrows","scrollStep","defaultArrowLabels","getDefaultArrowLabels","mergedArrowLabels","arrows","useScrollViewStyleProps","isScrollbarDisabled","isScrolledAtEnd","isScrolledAtStart","overflowDecorators","scrollViewRootClass","scrollViewRootDirectionClass","scrollViewRootScrollbarDisabledClass","scrollViewViewportClass","scrollViewContentClass","scrollViewOverflowDecoratorsClass","scrollViewRootOverflowDecoratorsClass","shadows","borders","both","scrollViewAtStartClass","scrollViewAtEndClass","scrollViewArrowsClass","viewport","ScrollViewArrows","useScrollPosition","viewportReference","contentReference","setScrolledStart","setScrolledAtEnd","handleScrollViewState","scrollPositionStart","scrollPositionEnd","currentPosition","contentPosition","viewportPosition","getElementsPositionDifference","isScrolledAtStartActive","isScrolledAtEndActive","debouncedHandler","ScrollView","arrowsScrollStep","hasArrows","sizePaddingMapping","useSectionSizeProps","useSectionStyleProps","sectionBackgroundClassName","sectionBackgroundColor","hasContainer","Section","containerProps","SegmentedControlContext","isMultiselect","selectedValue","setSelectedValue","onSelectionChange","SegmentedControlProvider","useSegmentedControlStyleProps","segmentedControlClass","segmentedControlFluidClass","segmentedControlItemClass","segmentedControlItemInputClass","segmentedControlItemLabelClass","SegmentedControl","SegmentedControlItem","prevArray","handleSetSelectedValue","useSelectStyleProps","selectRootClass","selectRootFluidClass","selectRootDisabledClass","selectRootSizeClass","selectRootValidationClass","selectLabelClass","selectLabelRequiredClass","selectLabelHiddenClass","selectContainerClass","selectInputClass","selectIconClass","selectValidationTextClass","selectHelperTextClass","container","Select","useSkeletonStyleProps","skeletonClass","skeletonSizeClass","skeletonTextClass","skeletonHeadingClass","skeletonItemClass","heading","SkeletonItem","SkeletonText","classPropsText","linesToRender","lineNumber","SkeletonHeading","classPropsHeading","setCustomBorderRadius","SkeletonShape","skeletonShapeStyleProps","useSkeletonShapeStyleProps","useSkipLinkStyleProps","SkipLink","useSliderStyleProps","sliderClass","isDisabledClass","isFluidClass","validationStateClass","labelClass","isLabelHiddenClass","inputClass","helperTextClass","validationTextClass","Slider","CSSVariable","getSliderPosition","num","onInput","inputValue","setProperty","useSplitButtonStyleProps","SplitButton","dropdownPlacement","dropdownTriggerIconName","TabContent","TabsContext","selectedId","selectTab","previousId","currentId","TabsProvider","TabsConsumer","useTabContext","useTabsStyleProps","forTabPane","tabsClass","tabsItemClass","tabsLinkClass","tabsPaneClass","tabsSelectedClass","tabsStyle","pane","TabItem","itemProps","TabLink","itemStyleProps","itemTransferProps","TabList","tabsStyleProps","TabPane","Tabs","selectedTab","useTab","initialId","UncontrolledTabs","defaultSelectedTab","TagColorsExtended","useTagStyleProps","TagClass","TagColorClass","TagSizeClass","TagSubtleClass","useTextStyleProps","textClass","textColorClass","TextFieldBaseInput","isMultiline","useTextFieldBaseInputStyleProps","inputWidth","inputType","TextFieldBasePasswordToggle","isPasswordShown","onToggleClick","TextFieldBaseClass","passwordToggle","passwordToggleButton","passwordToggleIcon","useTextFieldBasePasswordToggleStyleProps","ariaLabel","withPasswordToggle","WrappedComponent","ComponentWithPasswordToggle","setIsPasswordShown","usePasswordToggle","hasPasswordToggle","TextFieldBaseInputWithPasswordToggle","TextFieldBase","TextFieldBaseDisabledClass","TextFieldBaseFluidClass","TextFieldBaseSizeClass","TextFieldBaseValidationClass","TextFieldBaseInputClass","TextFieldBaseLabelClass","TextFieldBaseLabelRequiredClass","TextFieldBaseLabelHiddenClass","TextFieldBaseValidationTextClass","TextFieldBasePasswordToggleClass","TextFieldBasePasswordToggleButtonClass","TextFieldBasePasswordToggleIconClass","TextFieldBaseHelperTextClass","useTextFieldBaseStyleProps","TextArea","isAutoResizing","autoResizingMaxHeight","elementReference","adjustHeightOnAutoresize","onInputHandler","adjustHeight","totalBorderWidth","totalHeight","textArea","useAdjustHeight","TextField","TIMELINE_MARKER","TIMELINE_SIZE_DEFAULT","useTimelineStyleProps","markerBackgroundColor","markerBorderColor","markerTextColor","markerVariant","markerSize","timelineClass","contentClass","markerClass","stepClass","shouldApplyBackgroundAndBorderColors","markerBackgroundPrefix","markerBorderClassPrefix","markerTextColorClassPrefix","markerBackgroundClass","markerBorderClass","markerTextColorClass","markerClasses","sizeClassNames","Timeline","TimelineContent","TimelineHeading","TimelineMarker","TimelineStep","isCollapsible","Toast","toastClass","alignmentClasses","alignments","useToastStyleProps","TRANSITIONING_STYLES","DEFAULT_TOAST_COLOR","ToastColorsExtended","useToastBarStyleProps","toastBarClass","toastBarBoxClass","toastBarCloseClass","toastBarContainerClass","toastBarContentClass","toastBarLinkClass","toastBarLinkUnderlinedClass","ToastCloseButton","ToastBar","hasIcon","toastIconName","neutral","useToastIcon","ToastBarMessage","ToastBarLink","ToastContext","useToast","currentToastContext","UncontrolledToast","linkProps","useToggleStyleProps","hasIndicators","toggleClass","toggleFluidClass","toggleDisabledClass","toggleTextClass","toggleLabelClass","toggleHiddenLabelClass","toggleValidationClass","toggleRequiredClass","toggleInputClass","toggleInputIndicatorsClass","toggleInputPositionClass","toggleHelperTextClass","toggleValidationTextClass","Toggle","setChecked","truncateByWords","limit","words","truncateByCharacters","truncateByLines","useTruncatedText","useTruncateStyleProps","truncateStyle","effectiveMode","effectiveLimit","Truncate","truncatedText","truncateStyleProps","DEFAULT_ATTACHMENT_ICON_NAME","DEFAULT_ATTACHMENT_ACTION_BUTTON_ICON_NAME","AttachmentCropCSS","CROP_META_KEYS","useAttachmentImageStyles","hasValidCropMeta","computeCropCSS","useAttachmentStyleProps","AttachmentClass","AttachmentFluidClass","AttachmentNameClass","AttachmentButtonClass","AttachmentImageClass","AttachmentSlotClass","UNSTABLE_AttachmentActionButton","UNSTABLE_AttachmentDismissButton","UNSTABLE_Attachment","previewSlot","UNSTABLE_AttachmentImagePreview","useFileUploadState","onFilesSelected","useFileUploadStyleProps","fileUploadClass","fileUploadHasDragAndDropClass","fileUploadFluidClass","fileUploadInputClass","fileUploadInputDisabledClass","fileUploadInputValidationClass","fileUploadInputDraggingClass","fileUploadInputDropLabelClass","fileUploadInputDropZoneClass","fileUploadInputDropZoneLabelClass","fileUploadInputHelperClass","fileUploadInputInputClass","fileUploadInputLabelClass","fileUploadInputLabelHiddenClass","fileUploadInputLabelRequiredClass","fileUploadInputLinkClass","fileUploadInputValidationTextClass","fileUploadListClass","UNSTABLE_FileUpload","hasInput","useUnstableHeaderStyleProps","hasBottomDivider","headerLogoClass","headerHasBottomDividerClass","UNSTABLE_Header","UNSTABLE_HeaderLogo","OFF","MOBILE_ONLY","ALL","INHERIT","NONE","NORMAL","ANYWHERE","LONG_WORDS","buttonIconName","buttonLabel","buttonOnClick","dropdownTriggerLabel","isButtonLabelHidden","isDropdownTriggerLabelHidden","resolvedDropdownTriggerLabel","openDropdownState","setOpenDropdownState","SUCCESS","WARNING","DANGER","base64Image","byteCharacters","atob","byteNumbers","charCodeAt","Uint8Array","interval","accentColors","NEUTRAL_BASIC","NEUTRAL_SUBTLE","defaultSelectedValue","initialValue"],"mappings":"gmBAKaA,EAAe,EAAGC,cAAaC,eAC1C,MAAOC,EAAMC,GAAWC,EAAAA,SAAiCJ,GAoBzD,MAAO,CACLE,OACAG,OApBcC,IACVL,EACEM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AAIwI,EACrBxI,EAtOY,GAwOZ,EACAA,EAAKzE,cACL,MACA,GACA,MAIJ,MAAMyN,EAAW,iBACXC,EAAaC,GAASA,EAAM,GAAG7X,cAOrC,CACE,gBACA,qBACA,cACA,iBACA,aACA,YACA,YACA,sBACA,8BACA,gBACA,kBACA,oBACA,oBACA,eACA,YACA,cACA,gBACA,cACA,YACA,mBACA,eACA,aACA,eACA,cACA,aACA,+BACA,6BACA,cACA,iBACA,kBACA,iBACA,iBACA,aACA,aACA,eACA,oBACA,qBACA,cACA,WACA,iBACA,mBACA,kBACA,aACA,eACA,yBACA,0BACA,mBACA,oBACA,iBACA,kBACA,oBACA,iBACA,eACA,cACA,kBACA,iBACA,qBACA,sBACA,eACA,gBACA,eACA,eACA,YACA,gBACA,iBACA,gBACA,aACA,gBACA,gBACA,eACA,eACA,cACA,YAKAoP,SAAQiI,IACR,MAAM1I,EAAO0I,EAAcpN,QAAQ0N,EAAUC,GAC7ChO,EAAW+E,GAAQ,IAAIwI,EACrBxI,EA9VW,GAgWX,EACA0I,EACA,MACA,GACA,MAKJ,CACE,gBACA,gBACA,aACA,aACA,cACA,cAKAjI,SAAQiI,IACR,MAAM1I,EAAO0I,EAAcpN,QAAQ0N,EAAUC,GAC7ChO,EAAW+E,GAAQ,IAAIwI,EACrBxI,EAvXW,GAyXX,EACA0I,EACA,gCACA,GACA,MAKJ,CACE,WACA,WACA,aAKAjI,SAAQiI,IACR,MAAM1I,EAAO0I,EAAcpN,QAAQ0N,EAAUC,GAC7ChO,EAAW+E,GAAQ,IAAIwI,EACrBxI,EA7YW,GA+YX,EACA0I,EACA,wCACA,GACA,MAOJ,CAAC,WAAY,eAAejI,SAAQiI,IAClCzN,EAAWyN,GAAiB,IAAIF,EAC9BE,EA5ZW,GA8ZX,EACAA,EAAcnN,cACd,MACA,GACA,MAOJN,EAAoB,UAAI,IAAIuN,EAC1B,YA1aa,GA4ab,EACA,aACA,gCACA,GACA,GAGF,CAAC,MAAO,OAAQ,SAA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UAAW,2FAuBN,IACxCnvG,GAAqB3H,EAAe,aAAc,oCAed,IACpC2H,GAAqB3H,EAAe,SAAU,kCAyBZ,IAAMhG,OAAOiE,KAAK+B,0BA1DlB,IAClC2H,GAAqB3H,EAAe,UAAW,wCAkDP,KAAA,CAEtC+2G,cAAe,gBACfC,eAAgB,0CAdgB,KAAA,CAEhCD,cAAe,gBACfC,eAAgB,uCAgBa,IAAMh9G,OAAOiE,KAAKiC,s7EwS3GhB,EAAG+2G,uBAAsBrU,oBAC1D,IAAIsU,EAIAA,EAFAtU,EACEzqG,MAAMC,QAAQ6+G,GACDA,OACmB,IAAzBA,EACM,CAACA,GAED,GAGFA,GAAwB,GAGzC,MAAOpU,EAAeC,GAAoB9qG,EAAAA,SAA4Bk/G,GAEtE,MAAO,CACLrU,gBACAC,mBAAA","x_google_ignoreList":[2,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,84,85,86,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,286,287,288,289,290,291,292]}