@arc-ui/components 12.0.0-beta.9 → 12.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1223) hide show
  1. package/lib/Alert/Alert.cjs +77 -0
  2. package/lib/Alert/Alert.mjs +75 -0
  3. package/lib/Alert/styles.css +1 -0
  4. package/lib/Align/Align.cjs +29 -0
  5. package/lib/Align/Align.mjs +27 -0
  6. package/lib/Align/styles.css +1 -0
  7. package/lib/AppButton/AppButton.cjs +72 -0
  8. package/lib/AppButton/AppButton.mjs +70 -0
  9. package/lib/AppButton/styles.css +1 -0
  10. package/lib/Avatar/Avatar.cjs +21 -0
  11. package/lib/Avatar/Avatar.mjs +15 -0
  12. package/lib/Avatar/styles.css +1 -0
  13. package/lib/AvatarGroup/AvatarGroup.cjs +37 -0
  14. package/lib/AvatarGroup/AvatarGroup.mjs +35 -0
  15. package/lib/AvatarGroup/styles.css +1 -0
  16. package/lib/Badge/Badge.cjs +13 -0
  17. package/lib/Badge/Badge.mjs +7 -0
  18. package/lib/Badge/styles.css +1 -0
  19. package/lib/Banner/Banner.cjs +26 -0
  20. package/lib/Banner/Banner.mjs +24 -0
  21. package/lib/Box/Box.cjs +13 -0
  22. package/lib/Box/Box.mjs +7 -0
  23. package/lib/Box/styles.css +1 -0
  24. package/lib/BrandLogo/BrandLogo.cjs +16 -0
  25. package/lib/BrandLogo/BrandLogo.mjs +9 -0
  26. package/lib/BrandLogo/styles.css +1 -0
  27. package/lib/Breadcrumbs/Breadcrumbs.cjs +101 -0
  28. package/lib/Breadcrumbs/Breadcrumbs.mjs +97 -0
  29. package/lib/Breadcrumbs/styles.css +1 -0
  30. package/lib/Button/Button.cjs +17 -0
  31. package/lib/Button/Button.mjs +11 -0
  32. package/lib/Button/styles.css +1 -0
  33. package/lib/ButtonGroup/ButtonGroup.cjs +38 -0
  34. package/lib/ButtonGroup/ButtonGroup.mjs +36 -0
  35. package/lib/ButtonGroup/styles.css +1 -0
  36. package/lib/ButtonV2/ButtonV2.cjs +17 -0
  37. package/lib/ButtonV2/ButtonV2.mjs +11 -0
  38. package/lib/ButtonV2/styles.css +1 -0
  39. package/lib/Calendar/Calendar.cjs +24 -0
  40. package/lib/Calendar/Calendar.mjs +18 -0
  41. package/lib/Calendar/styles.css +1 -0
  42. package/lib/CardFooter/CardFooter.cjs +16 -0
  43. package/lib/CardFooter/CardFooter.mjs +10 -0
  44. package/lib/CardFooter/styles.css +1 -0
  45. package/lib/CardHeading/CardHeading.cjs +17 -0
  46. package/lib/CardHeading/CardHeading.mjs +11 -0
  47. package/lib/CardHeading/styles.css +1 -0
  48. package/lib/Carousel/Carousel.cjs +1910 -0
  49. package/lib/Carousel/Carousel.mjs +1908 -0
  50. package/lib/Carousel/styles.css +1 -0
  51. package/lib/Checkbox/Checkbox.cjs +60 -0
  52. package/lib/Checkbox/Checkbox.mjs +58 -0
  53. package/lib/Checkbox/styles.css +1 -0
  54. package/lib/CheckboxIcon/CheckboxIcon.cjs +19 -0
  55. package/lib/CheckboxIcon/CheckboxIcon.mjs +13 -0
  56. package/lib/CheckboxIcon/styles.css +1 -0
  57. package/lib/ClientSideVisible/ClientSideVisible.cjs +8 -0
  58. package/lib/ClientSideVisible/ClientSideVisible.mjs +2 -0
  59. package/lib/Columns/Columns.cjs +49 -0
  60. package/lib/Columns/Columns.mjs +46 -0
  61. package/lib/Columns/styles.css +1 -0
  62. package/lib/ComboBox/ComboBox.cjs +296 -0
  63. package/lib/ComboBox/ComboBox.mjs +294 -0
  64. package/lib/ComboBox/styles.css +1 -0
  65. package/lib/ConditionalWrapper/ConditionalWrapper.cjs +8 -0
  66. package/lib/ConditionalWrapper/ConditionalWrapper.mjs +2 -0
  67. package/lib/ContentSwitcher/ContentSwitcher.cjs +25 -0
  68. package/lib/ContentSwitcher/ContentSwitcher.mjs +16 -0
  69. package/lib/ContentSwitcher/styles.css +1 -0
  70. package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs +26 -0
  71. package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.mjs +19 -0
  72. package/lib/ContentSwitcherDropdown/styles.css +1 -0
  73. package/lib/DatePicker/DatePicker.cjs +539 -0
  74. package/lib/DatePicker/DatePicker.mjs +531 -0
  75. package/lib/DatePicker/styles.css +1 -0
  76. package/lib/Disclosure/Disclosure.cjs +37 -0
  77. package/lib/Disclosure/Disclosure.mjs +35 -0
  78. package/lib/Disclosure/styles.css +1 -0
  79. package/lib/DisclosureMini/DisclosureMini.cjs +17 -0
  80. package/lib/DisclosureMini/DisclosureMini.mjs +11 -0
  81. package/lib/DisclosureMini/styles.css +1 -0
  82. package/lib/Download/Download.cjs +18 -0
  83. package/lib/Download/Download.mjs +12 -0
  84. package/lib/Download/styles.css +1 -0
  85. package/lib/Drawer/Drawer.cjs +218 -0
  86. package/lib/Drawer/Drawer.mjs +213 -0
  87. package/lib/Drawer/styles.css +1 -0
  88. package/lib/Elevation/Elevation.cjs +25 -0
  89. package/lib/Elevation/Elevation.mjs +23 -0
  90. package/lib/Elevation/styles.css +1 -0
  91. package/lib/Filter/Filter.cjs +91 -0
  92. package/lib/Filter/Filter.mjs +85 -0
  93. package/lib/Filter/styles.css +1 -0
  94. package/lib/FilterControl/FilterControl.cjs +14 -0
  95. package/lib/FilterControl/FilterControl.mjs +8 -0
  96. package/lib/FormControl/FormControl.cjs +20 -0
  97. package/lib/FormControl/FormControl.mjs +13 -0
  98. package/lib/FormControl/styles.css +1 -0
  99. package/lib/GhostedHeroBanner/GhostedHeroBanner.cjs +36 -0
  100. package/lib/GhostedHeroBanner/GhostedHeroBanner.mjs +34 -0
  101. package/lib/GhostedHeroBanner/styles.css +1 -0
  102. package/lib/GradientPageBackground/GradientPageBackground.cjs +159 -0
  103. package/lib/GradientPageBackground/GradientPageBackground.mjs +139 -0
  104. package/lib/GradientPageBackground/styles.css +1 -0
  105. package/lib/Grid/Grid.cjs +15 -0
  106. package/lib/Grid/Grid.mjs +7 -0
  107. package/lib/Grid/styles.css +1 -0
  108. package/lib/Group/Group.cjs +42 -0
  109. package/lib/Group/Group.mjs +39 -0
  110. package/lib/Group/styles.css +1 -0
  111. package/lib/Heading/Heading.cjs +16 -0
  112. package/lib/Heading/Heading.mjs +10 -0
  113. package/lib/Heading/styles.css +1 -0
  114. package/lib/HeroBanner/HeroBanner.cjs +31 -0
  115. package/lib/HeroBanner/HeroBanner.mjs +29 -0
  116. package/lib/HeroBanner/styles.css +1 -0
  117. package/lib/HeroButton/HeroButton.cjs +88 -0
  118. package/lib/HeroButton/HeroButton.mjs +86 -0
  119. package/lib/HeroButton/styles.css +1 -0
  120. package/lib/Hidden/Hidden.cjs +11 -0
  121. package/lib/Hidden/Hidden.mjs +5 -0
  122. package/lib/Hidden/styles.css +1 -0
  123. package/lib/HorizontalCard/HorizontalCard.cjs +40 -0
  124. package/lib/HorizontalCard/HorizontalCard.mjs +38 -0
  125. package/lib/HorizontalCard/styles.css +1 -0
  126. package/lib/Icon/Icon.cjs +16 -0
  127. package/lib/Icon/Icon.mjs +9 -0
  128. package/lib/Icon/styles.css +1 -0
  129. package/lib/Image/Image.cjs +18 -0
  130. package/lib/Image/Image.mjs +8 -0
  131. package/lib/Image/styles.css +1 -0
  132. package/lib/ImpactCard/ImpactCard.cjs +43 -0
  133. package/lib/ImpactCard/ImpactCard.mjs +41 -0
  134. package/lib/ImpactCard/styles.css +1 -0
  135. package/lib/InformationCard/InformationCard.cjs +91 -0
  136. package/lib/InformationCard/InformationCard.mjs +89 -0
  137. package/lib/InformationCard/styles.css +1 -0
  138. package/lib/Link/Link.cjs +17 -0
  139. package/lib/Link/Link.mjs +11 -0
  140. package/lib/Link/styles.css +1 -0
  141. package/lib/Markup/Markup.cjs +24 -0
  142. package/lib/Markup/Markup.mjs +22 -0
  143. package/lib/Markup/styles.css +1 -0
  144. package/lib/MediaCard/MediaCard.cjs +64 -0
  145. package/lib/MediaCard/MediaCard.mjs +62 -0
  146. package/lib/MediaCard/styles.css +1 -0
  147. package/lib/Menu/Menu.cjs +1688 -0
  148. package/lib/Menu/Menu.mjs +1651 -0
  149. package/lib/Menu/styles.css +1 -0
  150. package/lib/Modal/Modal.cjs +93 -0
  151. package/lib/Modal/Modal.mjs +91 -0
  152. package/lib/Modal/styles.css +1 -0
  153. package/lib/NavigationHeader/NavigationHeader.cjs +1435 -0
  154. package/lib/NavigationHeader/NavigationHeader.mjs +1430 -0
  155. package/lib/NavigationHeader/styles.css +1 -0
  156. package/lib/Pagination/Pagination.cjs +79 -0
  157. package/lib/Pagination/Pagination.mjs +77 -0
  158. package/lib/Pagination/styles.css +1 -0
  159. package/lib/PaginationSimple/PaginationSimple.cjs +74 -0
  160. package/lib/PaginationSimple/PaginationSimple.mjs +72 -0
  161. package/lib/PaginationSimple/styles.css +1 -0
  162. package/lib/Popover/Popover.cjs +22 -0
  163. package/lib/Popover/Popover.mjs +16 -0
  164. package/lib/Popover/styles.css +1 -0
  165. package/lib/Poster/Poster.cjs +44 -0
  166. package/lib/Poster/Poster.mjs +40 -0
  167. package/lib/Poster/styles.css +1 -0
  168. package/lib/ProgressBar/ProgressBar.cjs +68 -0
  169. package/lib/ProgressBar/ProgressBar.mjs +66 -0
  170. package/lib/ProgressBar/styles.css +1 -0
  171. package/lib/ProgressStepper/ProgressStepper.cjs +19 -0
  172. package/lib/ProgressStepper/ProgressStepper.mjs +12 -0
  173. package/lib/ProgressStepper/styles.css +1 -0
  174. package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +152 -0
  175. package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +150 -0
  176. package/lib/ProgressStepperOverflow/styles.css +1 -0
  177. package/lib/RadioCardGroup/RadioCardGroup.cjs +82 -0
  178. package/lib/RadioCardGroup/RadioCardGroup.mjs +79 -0
  179. package/lib/RadioCardGroup/styles.css +1 -0
  180. package/lib/RadioGroup/RadioGroup.cjs +81 -0
  181. package/lib/RadioGroup/RadioGroup.mjs +77 -0
  182. package/lib/RadioGroup/styles.css +1 -0
  183. package/lib/Rule/Rule.cjs +14 -0
  184. package/lib/Rule/Rule.mjs +8 -0
  185. package/lib/Rule/styles.css +1 -0
  186. package/lib/ScrollToTop/ScrollToTop.cjs +51 -0
  187. package/lib/ScrollToTop/ScrollToTop.mjs +49 -0
  188. package/lib/ScrollToTop/styles.css +1 -0
  189. package/lib/Section/Section.cjs +12 -0
  190. package/lib/Section/Section.mjs +6 -0
  191. package/lib/Section/styles.css +1 -0
  192. package/lib/Select/Select.cjs +88 -0
  193. package/lib/Select/Select.mjs +86 -0
  194. package/lib/Select/styles.css +1 -0
  195. package/lib/SemanticHeading/SemanticHeading.cjs +10 -0
  196. package/lib/SemanticHeading/SemanticHeading.mjs +4 -0
  197. package/lib/SemanticHeading/styles.css +1 -0
  198. package/lib/SiteFooter/SiteFooter.cjs +60 -0
  199. package/lib/SiteFooter/SiteFooter.mjs +56 -0
  200. package/lib/SiteFooter/styles.css +1 -0
  201. package/lib/SiteFooterV2/SiteFooterV2.cjs +106 -0
  202. package/lib/SiteFooterV2/SiteFooterV2.mjs +100 -0
  203. package/lib/SiteFooterV2/styles.css +1 -0
  204. package/lib/SiteHeaderV2/SiteHeaderV2.cjs +603 -0
  205. package/lib/SiteHeaderV2/SiteHeaderV2.mjs +593 -0
  206. package/lib/SiteHeaderV2/styles.css +1 -0
  207. package/lib/Skeleton/Skeleton.cjs +21 -0
  208. package/lib/Skeleton/Skeleton.mjs +19 -0
  209. package/lib/Skeleton/styles.css +1 -0
  210. package/lib/SkipLink/SkipLink.cjs +19 -0
  211. package/lib/SkipLink/SkipLink.mjs +16 -0
  212. package/lib/SkipLink/styles.css +1 -0
  213. package/lib/Spinner/Spinner.cjs +11 -0
  214. package/lib/Spinner/Spinner.mjs +5 -0
  215. package/lib/Spinner/styles.css +1 -0
  216. package/lib/Surface/Surface.cjs +16 -0
  217. package/lib/Surface/Surface.mjs +7 -0
  218. package/lib/Surface/styles.css +1 -0
  219. package/lib/Switch/Switch.cjs +237 -0
  220. package/lib/Switch/Switch.mjs +235 -0
  221. package/lib/Switch/styles.css +1 -0
  222. package/lib/TabbedBanner/TabbedBanner.cjs +65 -0
  223. package/lib/TabbedBanner/TabbedBanner.mjs +63 -0
  224. package/lib/TabbedBanner/styles.css +1 -0
  225. package/lib/Tabs/Tabs.cjs +93 -0
  226. package/lib/Tabs/Tabs.mjs +88 -0
  227. package/lib/Tabs/styles.css +1 -0
  228. package/lib/Tag/Tag.cjs +62 -0
  229. package/lib/Tag/Tag.mjs +60 -0
  230. package/lib/Tag/styles.css +1 -0
  231. package/lib/TemplateBanner/TemplateBanner.cjs +23 -0
  232. package/lib/TemplateBanner/TemplateBanner.mjs +17 -0
  233. package/lib/TemplateBanner/styles.css +1 -0
  234. package/lib/Text/Text.cjs +15 -0
  235. package/lib/Text/Text.mjs +9 -0
  236. package/lib/Text/styles.css +1 -0
  237. package/lib/TextArea/TextArea.cjs +70 -0
  238. package/lib/TextArea/TextArea.mjs +68 -0
  239. package/lib/TextArea/styles.css +1 -0
  240. package/lib/TextInput/TextInput.cjs +28 -0
  241. package/lib/TextInput/TextInput.mjs +21 -0
  242. package/lib/TextInput/styles.css +1 -0
  243. package/lib/Theme/Theme.cjs +76 -0
  244. package/lib/Theme/Theme.mjs +73 -0
  245. package/lib/Theme/styles.css +1 -0
  246. package/lib/ThemeIcon/ThemeIcon.cjs +15 -0
  247. package/lib/ThemeIcon/ThemeIcon.mjs +9 -0
  248. package/lib/ThemeIcon/styles.css +1 -0
  249. package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +31 -0
  250. package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +29 -0
  251. package/lib/ThumbnailSignpost/styles.css +1 -0
  252. package/lib/Toast/Toast.cjs +1003 -0
  253. package/lib/Toast/Toast.mjs +1000 -0
  254. package/lib/Toast/styles.css +1 -0
  255. package/lib/Tooltip/Tooltip.cjs +21 -0
  256. package/lib/Tooltip/Tooltip.mjs +15 -0
  257. package/lib/Tooltip/styles.css +1 -0
  258. package/lib/Truncate/Truncate.cjs +14 -0
  259. package/lib/Truncate/Truncate.mjs +12 -0
  260. package/lib/Truncate/styles.css +1 -0
  261. package/lib/TypographyCard/TypographyCard.cjs +40 -0
  262. package/lib/TypographyCard/TypographyCard.mjs +38 -0
  263. package/lib/TypographyCard/styles.css +1 -0
  264. package/lib/UniversalHeader/UniversalHeader.cjs +31 -0
  265. package/lib/UniversalHeader/UniversalHeader.mjs +28 -0
  266. package/lib/UniversalHeader/styles.css +1 -0
  267. package/lib/VerticalSpace/VerticalSpace.cjs +11 -0
  268. package/lib/VerticalSpace/VerticalSpace.mjs +5 -0
  269. package/lib/VerticalSpace/styles.css +1 -0
  270. package/lib/VideoPlayer/VideoPlayer.cjs +3212 -0
  271. package/lib/VideoPlayer/VideoPlayer.mjs +3210 -0
  272. package/lib/VideoPlayer/styles.css +1 -0
  273. package/lib/Visible/Visible.cjs +11 -0
  274. package/lib/Visible/Visible.mjs +5 -0
  275. package/lib/Visible/styles.css +1 -0
  276. package/lib/VisuallyHidden/VisuallyHidden.cjs +10 -0
  277. package/lib/VisuallyHidden/VisuallyHidden.mjs +4 -0
  278. package/lib/VisuallyHidden/styles.css +1 -0
  279. package/lib/_shared/cjs/Avatar-CCKArHo9.cjs +48 -0
  280. package/lib/_shared/cjs/Badge-DX5PjtiZ.cjs +15 -0
  281. package/lib/_shared/cjs/BannerImage-CYHLvtfL.cjs +13 -0
  282. package/lib/_shared/cjs/Box-Va2g7Gdp.cjs +26 -0
  283. package/lib/_shared/cjs/BrandLogo-coNfTwRv.cjs +30 -0
  284. package/lib/_shared/cjs/BtIconArrowRight-Bm5PIn_6.cjs +11 -0
  285. package/lib/_shared/cjs/BtIconChevronRight2Px-CIRaur2B.cjs +20 -0
  286. package/lib/_shared/cjs/BtIconChevronRightMid-eGxk3ae6.cjs +11 -0
  287. package/lib/_shared/cjs/Button-BN4jUsg5.cjs +51 -0
  288. package/lib/_shared/cjs/ButtonV2-bUu36xW8.cjs +61 -0
  289. package/lib/_shared/cjs/Calendar-BvPNEvfm.cjs +1898 -0
  290. package/lib/_shared/cjs/CardFooter-PoifazZ1.cjs +32 -0
  291. package/lib/_shared/cjs/CardHeading-lGy1u6eD.cjs +14 -0
  292. package/lib/_shared/cjs/CheckboxIcon-BTkdXfpp.cjs +53 -0
  293. package/lib/_shared/cjs/ClientSideVisible-BhW-T6kb.cjs +16 -0
  294. package/lib/_shared/cjs/Combination-6m6aOXZq.cjs +1466 -0
  295. package/lib/_shared/cjs/ConditionalWrapper-Cl6kgjCL.cjs +11 -0
  296. package/lib/_shared/cjs/ContentSwitcherDropdown-BLXyhXVS.cjs +87 -0
  297. package/lib/_shared/cjs/ContentSwitcherList-BgAW2IhJ.cjs +111 -0
  298. package/lib/_shared/cjs/DisclosureMini-Cy7hNc90.cjs +38 -0
  299. package/lib/_shared/cjs/Download-Chs-DEGO.cjs +43 -0
  300. package/lib/_shared/cjs/FilterControl-BIwtgTjP.cjs +27 -0
  301. package/lib/_shared/cjs/FormControl-TtboqHRx.cjs +117 -0
  302. package/lib/_shared/cjs/GridRow-l_SePUqV.cjs +45 -0
  303. package/lib/_shared/cjs/Heading-BYBmZkmS.cjs +33 -0
  304. package/lib/_shared/cjs/Hidden-BpWHucG2.cjs +21 -0
  305. package/lib/_shared/cjs/Icon-Dk2XHa7V.cjs +40 -0
  306. package/lib/_shared/cjs/Image-MS1rBzbW.cjs +50 -0
  307. package/lib/_shared/cjs/Link-BZsSf3Nn.cjs +51 -0
  308. package/lib/_shared/cjs/Popover-CYcqjefw.cjs +35 -0
  309. package/lib/_shared/cjs/Preview-BYuMaIh7.cjs +175 -0
  310. package/lib/_shared/cjs/ProgressStepper-DTZQabiV.cjs +209 -0
  311. package/lib/_shared/cjs/Rule-jmvOpci7.cjs +24 -0
  312. package/lib/_shared/cjs/Section-BorWFfNe.cjs +22 -0
  313. package/lib/_shared/cjs/SemanticHeading-C1-fyc3V.cjs +16 -0
  314. package/lib/_shared/cjs/Spinner-427lpnHI.cjs +17 -0
  315. package/lib/_shared/cjs/Surface-DIU5ciDT.cjs +56 -0
  316. package/lib/_shared/cjs/TemplateBanner-CzDAL0lq.cjs +84 -0
  317. package/lib/_shared/cjs/Text-jwsn80lQ.cjs +30 -0
  318. package/lib/_shared/cjs/TextInput-BHzuoI7E.cjs +163 -0
  319. package/lib/_shared/cjs/ThemeIcon-CwYN77IF.cjs +25 -0
  320. package/lib/_shared/cjs/Tooltip-CEb7YEP2.cjs +1379 -0
  321. package/lib/_shared/cjs/VerticalSpace-DLQUYsvc.cjs +27 -0
  322. package/lib/_shared/cjs/Visible-Ca2H20zc.cjs +21 -0
  323. package/lib/_shared/cjs/VisuallyHidden-CQg3cOVK.cjs +15 -0
  324. package/lib/_shared/cjs/arc-breakpoints-Cl4-g1TC.cjs +33 -0
  325. package/lib/_shared/cjs/capitalise-first-letter-CdhexpSx.cjs +8 -0
  326. package/lib/_shared/cjs/debounce-uPMetQ6J.cjs +412 -0
  327. package/lib/_shared/cjs/filter-attrs-D19P2s1V.cjs +15 -0
  328. package/lib/_shared/cjs/index-B11wQrRa.cjs +2208 -0
  329. package/lib/_shared/cjs/index-BCu-VH8y.cjs +416 -0
  330. package/lib/_shared/cjs/index-BGGFOAAx.cjs +152 -0
  331. package/lib/_shared/cjs/index-BLRjGROQ.cjs +2197 -0
  332. package/lib/_shared/cjs/index-BWfgSvRQ.cjs +313 -0
  333. package/lib/_shared/cjs/index-CDVpHNP8.cjs +1204 -0
  334. package/lib/_shared/cjs/index-CTlXMLug.cjs +106 -0
  335. package/lib/_shared/cjs/index-CklPiHsS.cjs +97 -0
  336. package/lib/_shared/cjs/index-CztwwwKE.cjs +375 -0
  337. package/lib/_shared/cjs/index-D9onmVh5.cjs +333 -0
  338. package/lib/_shared/cjs/index-DR8Rkav9.cjs +130 -0
  339. package/lib/_shared/cjs/index-DXNM3D1d.cjs +196 -0
  340. package/lib/_shared/cjs/index-DmvtEa22.cjs +219 -0
  341. package/lib/_shared/cjs/index-KrMgv4q_.cjs +318 -0
  342. package/lib/_shared/cjs/index.es-Dbvw_3_e.cjs +19 -0
  343. package/lib/_shared/cjs/isSymbol-BGrHFUbV.cjs +255 -0
  344. package/lib/_shared/cjs/suffix-modifier-DLUGR-yG.cjs +10 -0
  345. package/lib/_shared/cjs/tslib.es6-CCZ3TN_7.cjs +59 -0
  346. package/lib/_shared/cjs/use-media-query-DqZqShGX.cjs +58 -0
  347. package/lib/_shared/esm/Avatar-BgK-wY7Z.mjs +46 -0
  348. package/lib/_shared/esm/Badge-C_3PBa0p.mjs +13 -0
  349. package/lib/_shared/esm/BannerImage-BdPAHkVD.mjs +11 -0
  350. package/lib/_shared/esm/Box-C8iK8x5c.mjs +24 -0
  351. package/lib/_shared/esm/BrandLogo-Dc-d_8ZN.mjs +27 -0
  352. package/lib/_shared/esm/BtIconArrowRight-DpUmY3g3.mjs +9 -0
  353. package/lib/_shared/esm/BtIconChevronRight2Px-DzWb16fR.mjs +17 -0
  354. package/lib/_shared/esm/BtIconChevronRightMid-DE4lmVaG.mjs +9 -0
  355. package/lib/_shared/esm/Button-DTiOFT9M.mjs +49 -0
  356. package/lib/_shared/esm/ButtonV2-ByW5P8Hq.mjs +59 -0
  357. package/lib/_shared/esm/Calendar-DzsQqJlh.mjs +1893 -0
  358. package/lib/_shared/esm/CardFooter-DX3Ym8M6.mjs +30 -0
  359. package/lib/_shared/esm/CardHeading-CfPEEmBO.mjs +12 -0
  360. package/lib/_shared/esm/CheckboxIcon-BcVQe6mC.mjs +51 -0
  361. package/lib/_shared/esm/ClientSideVisible-D_iBE-3U.mjs +14 -0
  362. package/lib/_shared/esm/Combination-BQ4XBtF-.mjs +1435 -0
  363. package/lib/_shared/esm/ConditionalWrapper-CbEvXHTj.mjs +9 -0
  364. package/lib/_shared/esm/ContentSwitcherDropdown-ckPG4pry.mjs +84 -0
  365. package/lib/_shared/esm/ContentSwitcherList-i4m4nAzP.mjs +106 -0
  366. package/lib/_shared/esm/DisclosureMini-DeQZyvDN.mjs +36 -0
  367. package/lib/_shared/esm/Download-CsJLNRAD.mjs +41 -0
  368. package/lib/_shared/esm/FilterControl-22MNdP1r.mjs +25 -0
  369. package/lib/_shared/esm/FormControl-DopDD_nC.mjs +113 -0
  370. package/lib/_shared/esm/GridRow-vjacXnq0.mjs +41 -0
  371. package/lib/_shared/esm/Heading-Da-o0d5x.mjs +31 -0
  372. package/lib/_shared/esm/Hidden-ByDYDWcI.mjs +19 -0
  373. package/lib/_shared/esm/Icon-CCUbr_AO.mjs +37 -0
  374. package/lib/_shared/esm/Image-DLYifxlu.mjs +44 -0
  375. package/lib/_shared/esm/Link-CoHABYiD.mjs +49 -0
  376. package/lib/_shared/esm/Popover-BHCEpLSa.mjs +33 -0
  377. package/lib/_shared/esm/Preview-AHYIJh9S.mjs +173 -0
  378. package/lib/_shared/esm/ProgressStepper-CujHLQsm.mjs +206 -0
  379. package/lib/_shared/esm/Rule-I1w3EaZi.mjs +22 -0
  380. package/lib/_shared/esm/Section-COc1l3mp.mjs +20 -0
  381. package/lib/_shared/esm/SemanticHeading-DpEBq7pG.mjs +14 -0
  382. package/lib/_shared/esm/Spinner-DvngCIwx.mjs +15 -0
  383. package/lib/_shared/esm/Surface-C69KVzkY.mjs +51 -0
  384. package/lib/_shared/esm/TemplateBanner-CZSTdma0.mjs +82 -0
  385. package/lib/_shared/esm/Text-BAzOkkzN.mjs +28 -0
  386. package/lib/_shared/esm/TextInput-CZaNXVHl.mjs +159 -0
  387. package/lib/_shared/esm/ThemeIcon-B0n6cKRb.mjs +23 -0
  388. package/lib/_shared/esm/Tooltip-BpSzN3Tx.mjs +1359 -0
  389. package/lib/_shared/esm/VerticalSpace-BLWB02I7.mjs +25 -0
  390. package/lib/_shared/esm/Visible-C4eEyTBM.mjs +19 -0
  391. package/lib/_shared/esm/VisuallyHidden-aSQ4RA1o.mjs +13 -0
  392. package/lib/_shared/esm/arc-breakpoints-Br78xe-f.mjs +26 -0
  393. package/lib/_shared/esm/capitalise-first-letter-Cubg2CS1.mjs +6 -0
  394. package/lib/_shared/esm/debounce-D_Nx5go6.mjs +410 -0
  395. package/lib/_shared/esm/filter-attrs-v_SweZXP.mjs +13 -0
  396. package/lib/_shared/esm/index-5C0-U8cc.mjs +101 -0
  397. package/lib/_shared/esm/index-6HtUz28p.mjs +216 -0
  398. package/lib/_shared/esm/index-BFKdmv_g.mjs +293 -0
  399. package/lib/_shared/esm/index-BWkI4Dwz.mjs +393 -0
  400. package/lib/_shared/esm/index-Bz2JQq34.mjs +169 -0
  401. package/lib/_shared/esm/index-CN4hP3Wu.mjs +307 -0
  402. package/lib/_shared/esm/index-CWHcEz3_.mjs +2178 -0
  403. package/lib/_shared/esm/index-Cr6KeQLU.mjs +2188 -0
  404. package/lib/_shared/esm/index-DXHprNQ6.mjs +364 -0
  405. package/lib/_shared/esm/index-Do2wfP-X.mjs +287 -0
  406. package/lib/_shared/esm/index-GCEHSsY8.mjs +131 -0
  407. package/lib/_shared/esm/index-Spae4j7j.mjs +128 -0
  408. package/lib/_shared/esm/index-u47CK8Y0.mjs +76 -0
  409. package/lib/_shared/esm/index-vnVJe9rH.mjs +1171 -0
  410. package/lib/_shared/esm/index.es-f0R-yhhl.mjs +12 -0
  411. package/lib/_shared/esm/isSymbol-DgWNE2Tm.mjs +251 -0
  412. package/lib/_shared/esm/suffix-modifier-B_pO0UkF.mjs +8 -0
  413. package/lib/_shared/esm/tslib.es6-w7hdJ3oZ.mjs +56 -0
  414. package/lib/_shared/esm/use-media-query-BmsMeo2M.mjs +56 -0
  415. package/lib/index.cjs +28021 -0
  416. package/lib/index.cjs.map +1 -0
  417. package/lib/index.d.cts +5234 -0
  418. package/lib/index.d.mts +5234 -0
  419. package/lib/index.js.map +1 -0
  420. package/lib/index.mjs +27831 -0
  421. package/lib/index.mjs.map +1 -0
  422. package/lib/styles.css +3 -0
  423. package/lib/use-media-query/use-media-query.cjs +8 -0
  424. package/lib/use-media-query/use-media-query.mjs +2 -0
  425. package/package.json +101 -84
  426. package/dist/Alert/Alert.cjs.js +0 -51
  427. package/dist/Alert/Alert.esm.js +0 -43
  428. package/dist/Alert/package.json +0 -7
  429. package/dist/Alert/styles.css +0 -1
  430. package/dist/Align/Align.cjs.js +0 -32
  431. package/dist/Align/Align.esm.js +0 -24
  432. package/dist/Align/package.json +0 -7
  433. package/dist/Align/styles.css +0 -1
  434. package/dist/AppButton/AppButton.cjs.js +0 -74
  435. package/dist/AppButton/AppButton.esm.js +0 -66
  436. package/dist/AppButton/package.json +0 -7
  437. package/dist/AppButton/styles.css +0 -1
  438. package/dist/Avatar/Avatar.cjs.js +0 -17
  439. package/dist/Avatar/Avatar.esm.js +0 -9
  440. package/dist/Avatar/package.json +0 -7
  441. package/dist/Avatar/styles.css +0 -1
  442. package/dist/AvatarGroup/AvatarGroup.cjs.js +0 -37
  443. package/dist/AvatarGroup/AvatarGroup.esm.js +0 -29
  444. package/dist/AvatarGroup/package.json +0 -7
  445. package/dist/AvatarGroup/styles.css +0 -1
  446. package/dist/Badge/Badge.cjs.js +0 -12
  447. package/dist/Badge/Badge.esm.js +0 -4
  448. package/dist/Badge/package.json +0 -7
  449. package/dist/Badge/styles.css +0 -1
  450. package/dist/Banner/Banner.cjs.js +0 -21
  451. package/dist/Banner/Banner.esm.js +0 -13
  452. package/dist/Banner/package.json +0 -7
  453. package/dist/Banner/styles.css +0 -1
  454. package/dist/BannerWithTabs/BannerWithTabs.cjs.js +0 -62
  455. package/dist/BannerWithTabs/BannerWithTabs.esm.js +0 -54
  456. package/dist/BannerWithTabs/package.json +0 -7
  457. package/dist/BannerWithTabs/styles.css +0 -1
  458. package/dist/Box/Box.cjs.js +0 -13
  459. package/dist/Box/Box.esm.js +0 -5
  460. package/dist/Box/package.json +0 -7
  461. package/dist/Box/styles.css +0 -1
  462. package/dist/BrandLogo/BrandLogo.cjs.js +0 -13
  463. package/dist/BrandLogo/BrandLogo.esm.js +0 -5
  464. package/dist/BrandLogo/package.json +0 -7
  465. package/dist/BrandLogo/styles.css +0 -1
  466. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +0 -18
  467. package/dist/Breadcrumbs/Breadcrumbs.esm.js +0 -10
  468. package/dist/Breadcrumbs/package.json +0 -7
  469. package/dist/Breadcrumbs/styles.css +0 -1
  470. package/dist/Button/Button.cjs.js +0 -15
  471. package/dist/Button/Button.esm.js +0 -7
  472. package/dist/Button/package.json +0 -7
  473. package/dist/Button/styles.css +0 -1
  474. package/dist/ButtonV2/ButtonV2.cjs.js +0 -15
  475. package/dist/ButtonV2/ButtonV2.esm.js +0 -7
  476. package/dist/ButtonV2/package.json +0 -7
  477. package/dist/ButtonV2/styles.css +0 -1
  478. package/dist/Calendar/Calendar.cjs.js +0 -21
  479. package/dist/Calendar/Calendar.esm.js +0 -13
  480. package/dist/Calendar/package.json +0 -7
  481. package/dist/Calendar/styles.css +0 -1
  482. package/dist/CardFooter/CardFooter.cjs.js +0 -17
  483. package/dist/CardFooter/CardFooter.esm.js +0 -9
  484. package/dist/CardFooter/package.json +0 -7
  485. package/dist/CardFooter/styles.css +0 -1
  486. package/dist/CardHeading/CardHeading.cjs.js +0 -14
  487. package/dist/CardHeading/CardHeading.esm.js +0 -6
  488. package/dist/CardHeading/package.json +0 -7
  489. package/dist/CardHeading/styles.css +0 -1
  490. package/dist/Carousel/Carousel.cjs.js +0 -1921
  491. package/dist/Carousel/Carousel.esm.js +0 -1913
  492. package/dist/Carousel/package.json +0 -7
  493. package/dist/Carousel/styles.css +0 -1
  494. package/dist/Checkbox/Checkbox.cjs.js +0 -18
  495. package/dist/Checkbox/Checkbox.esm.js +0 -10
  496. package/dist/Checkbox/package.json +0 -7
  497. package/dist/Checkbox/styles.css +0 -1
  498. package/dist/Columns/Columns.cjs.js +0 -12
  499. package/dist/Columns/Columns.esm.js +0 -4
  500. package/dist/Columns/package.json +0 -7
  501. package/dist/Columns/styles.css +0 -1
  502. package/dist/ConditionalWrapper/ConditionalWrapper.cjs.js +0 -10
  503. package/dist/ConditionalWrapper/ConditionalWrapper.esm.js +0 -2
  504. package/dist/ConditionalWrapper/package.json +0 -7
  505. package/dist/ContentSwitcher/ContentSwitcher.cjs.js +0 -20
  506. package/dist/ContentSwitcher/ContentSwitcher.esm.js +0 -12
  507. package/dist/ContentSwitcher/package.json +0 -7
  508. package/dist/ContentSwitcher/styles.css +0 -1
  509. package/dist/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs.js +0 -23
  510. package/dist/ContentSwitcherDropdown/ContentSwitcherDropdown.esm.js +0 -15
  511. package/dist/ContentSwitcherDropdown/package.json +0 -7
  512. package/dist/ContentSwitcherDropdown/styles.css +0 -1
  513. package/dist/DatePicker/DatePicker.cjs.js +0 -36
  514. package/dist/DatePicker/DatePicker.esm.js +0 -23
  515. package/dist/DatePicker/package.json +0 -7
  516. package/dist/DatePicker/styles.css +0 -1
  517. package/dist/Disclosure/Disclosure.cjs.js +0 -38
  518. package/dist/Disclosure/Disclosure.esm.js +0 -30
  519. package/dist/Disclosure/package.json +0 -7
  520. package/dist/Disclosure/styles.css +0 -1
  521. package/dist/DisclosureMini/DisclosureMini.cjs.js +0 -15
  522. package/dist/DisclosureMini/DisclosureMini.esm.js +0 -7
  523. package/dist/DisclosureMini/package.json +0 -7
  524. package/dist/DisclosureMini/styles.css +0 -1
  525. package/dist/Download/Download.cjs.js +0 -16
  526. package/dist/Download/Download.esm.js +0 -8
  527. package/dist/Download/package.json +0 -7
  528. package/dist/Download/styles.css +0 -1
  529. package/dist/Elevation/Elevation.cjs.js +0 -27
  530. package/dist/Elevation/Elevation.esm.js +0 -19
  531. package/dist/Elevation/package.json +0 -7
  532. package/dist/Elevation/styles.css +0 -1
  533. package/dist/Filter/Filter.cjs.js +0 -14
  534. package/dist/Filter/Filter.esm.js +0 -6
  535. package/dist/Filter/package.json +0 -7
  536. package/dist/Filter/styles.css +0 -1
  537. package/dist/FormControl/FormControl.cjs.js +0 -18
  538. package/dist/FormControl/FormControl.esm.js +0 -9
  539. package/dist/FormControl/package.json +0 -7
  540. package/dist/FormControl/styles.css +0 -1
  541. package/dist/Grid/Grid.cjs.js +0 -12
  542. package/dist/Grid/Grid.esm.js +0 -4
  543. package/dist/Grid/package.json +0 -7
  544. package/dist/Grid/styles.css +0 -1
  545. package/dist/Group/Group.cjs.js +0 -13
  546. package/dist/Group/Group.esm.js +0 -5
  547. package/dist/Group/package.json +0 -7
  548. package/dist/Group/styles.css +0 -1
  549. package/dist/Heading/Heading.cjs.js +0 -13
  550. package/dist/Heading/Heading.esm.js +0 -5
  551. package/dist/Heading/package.json +0 -7
  552. package/dist/Heading/styles.css +0 -1
  553. package/dist/HeroBanner/HeroBanner.cjs.js +0 -28
  554. package/dist/HeroBanner/HeroBanner.esm.js +0 -20
  555. package/dist/HeroBanner/package.json +0 -7
  556. package/dist/HeroButton/HeroButton.cjs.js +0 -15
  557. package/dist/HeroButton/HeroButton.esm.js +0 -7
  558. package/dist/HeroButton/package.json +0 -7
  559. package/dist/HeroButton/styles.css +0 -1
  560. package/dist/Hidden/Hidden.cjs.js +0 -24
  561. package/dist/Hidden/Hidden.esm.js +0 -16
  562. package/dist/Hidden/package.json +0 -7
  563. package/dist/Hidden/styles.css +0 -1
  564. package/dist/Icon/Icon.cjs.js +0 -13
  565. package/dist/Icon/Icon.esm.js +0 -5
  566. package/dist/Icon/package.json +0 -7
  567. package/dist/Icon/styles.css +0 -1
  568. package/dist/Image/Image.cjs.js +0 -13
  569. package/dist/Image/Image.esm.js +0 -4
  570. package/dist/Image/package.json +0 -7
  571. package/dist/Image/styles.css +0 -1
  572. package/dist/ImpactCard/ImpactCard.cjs.js +0 -43
  573. package/dist/ImpactCard/ImpactCard.esm.js +0 -35
  574. package/dist/ImpactCard/package.json +0 -7
  575. package/dist/ImpactCard/styles.css +0 -1
  576. package/dist/InformationCard/InformationCard.cjs.js +0 -60
  577. package/dist/InformationCard/InformationCard.esm.js +0 -52
  578. package/dist/InformationCard/package.json +0 -7
  579. package/dist/InformationCard/styles.css +0 -1
  580. package/dist/Link/Link.cjs.js +0 -75
  581. package/dist/Link/Link.esm.js +0 -67
  582. package/dist/Link/package.json +0 -7
  583. package/dist/Link/styles.css +0 -1
  584. package/dist/Markup/Markup.cjs.js +0 -27
  585. package/dist/Markup/Markup.esm.js +0 -19
  586. package/dist/Markup/package.json +0 -7
  587. package/dist/Markup/styles.css +0 -1
  588. package/dist/MediaCard/MediaCard.cjs.js +0 -26
  589. package/dist/MediaCard/MediaCard.esm.js +0 -18
  590. package/dist/MediaCard/package.json +0 -7
  591. package/dist/MediaCard/styles.css +0 -1
  592. package/dist/Modal/Modal.cjs.js +0 -393
  593. package/dist/Modal/Modal.esm.js +0 -367
  594. package/dist/Modal/package.json +0 -7
  595. package/dist/Modal/styles.css +0 -1
  596. package/dist/PageBanner/PageBanner.cjs.js +0 -28
  597. package/dist/PageBanner/PageBanner.esm.js +0 -20
  598. package/dist/PageBanner/package.json +0 -7
  599. package/dist/Pagination/Pagination.cjs.js +0 -81
  600. package/dist/Pagination/Pagination.esm.js +0 -73
  601. package/dist/Pagination/package.json +0 -7
  602. package/dist/Pagination/styles.css +0 -1
  603. package/dist/PaginationSimple/PaginationSimple.cjs.js +0 -110
  604. package/dist/PaginationSimple/PaginationSimple.esm.js +0 -102
  605. package/dist/PaginationSimple/package.json +0 -7
  606. package/dist/PaginationSimple/styles.css +0 -1
  607. package/dist/Poster/Poster.cjs.js +0 -14
  608. package/dist/Poster/Poster.esm.js +0 -6
  609. package/dist/Poster/package.json +0 -7
  610. package/dist/Poster/styles.css +0 -1
  611. package/dist/ProgressBar/ProgressBar.cjs.js +0 -69
  612. package/dist/ProgressBar/ProgressBar.esm.js +0 -61
  613. package/dist/ProgressBar/package.json +0 -7
  614. package/dist/ProgressBar/styles.css +0 -1
  615. package/dist/ProgressStepper/ProgressStepper.cjs.js +0 -15
  616. package/dist/ProgressStepper/ProgressStepper.esm.js +0 -7
  617. package/dist/ProgressStepper/package.json +0 -7
  618. package/dist/ProgressStepper/styles.css +0 -1
  619. package/dist/RadioGroup/RadioGroup.cjs.js +0 -19
  620. package/dist/RadioGroup/RadioGroup.esm.js +0 -10
  621. package/dist/RadioGroup/package.json +0 -7
  622. package/dist/RadioGroup/styles.css +0 -1
  623. package/dist/Rule/Rule.cjs.js +0 -29
  624. package/dist/Rule/Rule.esm.js +0 -21
  625. package/dist/Rule/package.json +0 -7
  626. package/dist/Rule/styles.css +0 -1
  627. package/dist/ScrollToTop/ScrollToTop.cjs.js +0 -67
  628. package/dist/ScrollToTop/ScrollToTop.esm.js +0 -59
  629. package/dist/ScrollToTop/package.json +0 -7
  630. package/dist/ScrollToTop/styles.css +0 -1
  631. package/dist/Section/Section.cjs.js +0 -12
  632. package/dist/Section/Section.esm.js +0 -4
  633. package/dist/Section/package.json +0 -7
  634. package/dist/Section/styles.css +0 -1
  635. package/dist/Select/Select.cjs.js +0 -88
  636. package/dist/Select/Select.esm.js +0 -80
  637. package/dist/Select/package.json +0 -7
  638. package/dist/Select/styles.css +0 -1
  639. package/dist/SiteFooter/SiteFooter.cjs.js +0 -19
  640. package/dist/SiteFooter/SiteFooter.esm.js +0 -11
  641. package/dist/SiteFooter/package.json +0 -7
  642. package/dist/SiteFooter/styles.css +0 -1
  643. package/dist/SiteHeaderV2/SiteHeaderV2.cjs.js +0 -24
  644. package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +0 -16
  645. package/dist/SiteHeaderV2/package.json +0 -7
  646. package/dist/SiteHeaderV2/styles.css +0 -1
  647. package/dist/SkipLink/SkipLink.cjs.js +0 -24
  648. package/dist/SkipLink/SkipLink.esm.js +0 -16
  649. package/dist/SkipLink/package.json +0 -7
  650. package/dist/SkipLink/styles.css +0 -1
  651. package/dist/Spinner/Spinner.cjs.js +0 -12
  652. package/dist/Spinner/Spinner.esm.js +0 -4
  653. package/dist/Spinner/package.json +0 -7
  654. package/dist/Spinner/styles.css +0 -1
  655. package/dist/Surface/Surface.cjs.js +0 -15
  656. package/dist/Surface/Surface.esm.js +0 -4
  657. package/dist/Surface/package.json +0 -7
  658. package/dist/Surface/styles.css +0 -1
  659. package/dist/Switch/Switch.cjs.js +0 -164
  660. package/dist/Switch/Switch.esm.js +0 -156
  661. package/dist/Switch/package.json +0 -7
  662. package/dist/Switch/styles.css +0 -1
  663. package/dist/Tabs/Tabs.cjs.js +0 -20
  664. package/dist/Tabs/Tabs.esm.js +0 -12
  665. package/dist/Tabs/package.json +0 -7
  666. package/dist/Tabs/styles.css +0 -1
  667. package/dist/Tag/Tag.cjs.js +0 -84
  668. package/dist/Tag/Tag.esm.js +0 -76
  669. package/dist/Tag/package.json +0 -7
  670. package/dist/Tag/styles.css +0 -1
  671. package/dist/Text/Text.cjs.js +0 -13
  672. package/dist/Text/Text.esm.js +0 -5
  673. package/dist/Text/package.json +0 -7
  674. package/dist/Text/styles.css +0 -1
  675. package/dist/TextArea/TextArea.cjs.js +0 -116
  676. package/dist/TextArea/TextArea.esm.js +0 -108
  677. package/dist/TextArea/package.json +0 -7
  678. package/dist/TextArea/styles.css +0 -1
  679. package/dist/TextInput/TextInput.cjs.js +0 -18
  680. package/dist/TextInput/TextInput.esm.js +0 -10
  681. package/dist/TextInput/package.json +0 -7
  682. package/dist/TextInput/styles.css +0 -1
  683. package/dist/Theme/Theme.cjs.js +0 -31
  684. package/dist/Theme/Theme.esm.js +0 -22
  685. package/dist/Theme/package.json +0 -7
  686. package/dist/Theme/styles.css +0 -1
  687. package/dist/ThemeIcon/ThemeIcon.cjs.js +0 -13
  688. package/dist/ThemeIcon/ThemeIcon.esm.js +0 -5
  689. package/dist/ThemeIcon/package.json +0 -7
  690. package/dist/ThemeIcon/styles.css +0 -1
  691. package/dist/Toast/Toast.cjs.js +0 -19
  692. package/dist/Toast/Toast.esm.js +0 -11
  693. package/dist/Toast/package.json +0 -7
  694. package/dist/Toast/styles.css +0 -1
  695. package/dist/Truncate/Truncate.cjs.js +0 -18
  696. package/dist/Truncate/Truncate.esm.js +0 -10
  697. package/dist/Truncate/package.json +0 -7
  698. package/dist/Truncate/styles.css +0 -1
  699. package/dist/TypographyCard/TypographyCard.cjs.js +0 -40
  700. package/dist/TypographyCard/TypographyCard.esm.js +0 -32
  701. package/dist/TypographyCard/package.json +0 -7
  702. package/dist/TypographyCard/styles.css +0 -1
  703. package/dist/UniversalHeader/UniversalHeader.cjs.js +0 -13
  704. package/dist/UniversalHeader/UniversalHeader.esm.js +0 -5
  705. package/dist/UniversalHeader/package.json +0 -7
  706. package/dist/UniversalHeader/styles.css +0 -1
  707. package/dist/VerticalSpace/VerticalSpace.cjs.js +0 -12
  708. package/dist/VerticalSpace/VerticalSpace.esm.js +0 -4
  709. package/dist/VerticalSpace/package.json +0 -7
  710. package/dist/VerticalSpace/styles.css +0 -1
  711. package/dist/VideoPlayer/VideoPlayer.cjs.js +0 -3025
  712. package/dist/VideoPlayer/VideoPlayer.esm.js +0 -3017
  713. package/dist/VideoPlayer/package.json +0 -7
  714. package/dist/VideoPlayer/styles.css +0 -1
  715. package/dist/Visible/Visible.cjs.js +0 -24
  716. package/dist/Visible/Visible.esm.js +0 -16
  717. package/dist/Visible/package.json +0 -7
  718. package/dist/Visible/styles.css +0 -1
  719. package/dist/VisuallyHidden/VisuallyHidden.cjs.js +0 -11
  720. package/dist/VisuallyHidden/VisuallyHidden.esm.js +0 -3
  721. package/dist/VisuallyHidden/package.json +0 -7
  722. package/dist/VisuallyHidden/styles.css +0 -1
  723. package/dist/_shared/cjs/Avatar-a3b9f474.js +0 -48
  724. package/dist/_shared/cjs/Badge-e9ad6e2a.js +0 -17
  725. package/dist/_shared/cjs/Banner-a785d73f.js +0 -66
  726. package/dist/_shared/cjs/Box-082962b9.js +0 -29
  727. package/dist/_shared/cjs/BrandLogo-78d3095b.js +0 -30
  728. package/dist/_shared/cjs/Breadcrumbs-83b30371.js +0 -104
  729. package/dist/_shared/cjs/BtIconArrowRight.esm-6053bb79.js +0 -30
  730. package/dist/_shared/cjs/BtIconChevronRight2Px.esm-2e4d117e.js +0 -44
  731. package/dist/_shared/cjs/BtIconChevronRightMid.esm-3e8d18a9.js +0 -28
  732. package/dist/_shared/cjs/BtIconPlayFill.esm-b8997cfc.js +0 -30
  733. package/dist/_shared/cjs/Button-e6217128.js +0 -53
  734. package/dist/_shared/cjs/ButtonV2-2640e91a.js +0 -53
  735. package/dist/_shared/cjs/Calendar-4284f52b.js +0 -1927
  736. package/dist/_shared/cjs/CardFooter-24b10ae4.js +0 -79
  737. package/dist/_shared/cjs/CardHeading-0e9d9f86.js +0 -16
  738. package/dist/_shared/cjs/Checkbox-2cd69440.js +0 -70
  739. package/dist/_shared/cjs/Columns-a8b736af.js +0 -48
  740. package/dist/_shared/cjs/Combination-091f3e34.js +0 -1203
  741. package/dist/_shared/cjs/ConditionalWrapper-bf944594.js +0 -14
  742. package/dist/_shared/cjs/ContentSwitcher-10398581.js +0 -99
  743. package/dist/_shared/cjs/ContentSwitcherDropdown-27d08a2f.js +0 -64
  744. package/dist/_shared/cjs/DatePicker-da6d276c.js +0 -939
  745. package/dist/_shared/cjs/DisclosureMini-661f0868.js +0 -41
  746. package/dist/_shared/cjs/Download-60af8fe1.js +0 -43
  747. package/dist/_shared/cjs/Filter-791d6d7a.js +0 -125
  748. package/dist/_shared/cjs/FormControl-9ab9e656.js +0 -111
  749. package/dist/_shared/cjs/Grid-bf7d8993.js +0 -45
  750. package/dist/_shared/cjs/Group-d94b74ac.js +0 -40
  751. package/dist/_shared/cjs/Heading-dc6acee1.js +0 -40
  752. package/dist/_shared/cjs/HeroButton-17400782.js +0 -126
  753. package/dist/_shared/cjs/Icon-cbf91a21.js +0 -47
  754. package/dist/_shared/cjs/Image-b83fa185.js +0 -55
  755. package/dist/_shared/cjs/MediaCard-976046b7.js +0 -65
  756. package/dist/_shared/cjs/Poster-7c69a1e8.js +0 -45
  757. package/dist/_shared/cjs/Preview-0bf3f6e8.js +0 -167
  758. package/dist/_shared/cjs/ProgressStepper-9d18e458.js +0 -97
  759. package/dist/_shared/cjs/RadioGroup-4c9c7385.js +0 -85
  760. package/dist/_shared/cjs/Section-6bda04f9.js +0 -23
  761. package/dist/_shared/cjs/SiteFooter-57e4e871.js +0 -70
  762. package/dist/_shared/cjs/SiteHeaderV2-391c01d6.js +0 -654
  763. package/dist/_shared/cjs/Spinner-3e4a2e61.js +0 -24
  764. package/dist/_shared/cjs/Surface-877d9fcc.js +0 -175
  765. package/dist/_shared/cjs/Tabs-680a992e.js +0 -90
  766. package/dist/_shared/cjs/Text-0d5891fc.js +0 -32
  767. package/dist/_shared/cjs/TextInput-03995fb3.js +0 -103
  768. package/dist/_shared/cjs/ThemeIcon-e7a68823.js +0 -26
  769. package/dist/_shared/cjs/Toast-d981b0a4.js +0 -965
  770. package/dist/_shared/cjs/UniversalHeader-3bf27194.js +0 -29
  771. package/dist/_shared/cjs/VerticalSpace-14714d0f.js +0 -29
  772. package/dist/_shared/cjs/VisuallyHidden-82a60021.js +0 -18
  773. package/dist/_shared/cjs/_commonjsHelpers-56412ec5.js +0 -21
  774. package/dist/_shared/cjs/component-dc16a7a5.js +0 -505
  775. package/dist/_shared/cjs/debounce-a74c28cf.js +0 -544
  776. package/dist/_shared/cjs/floating-ui.react-dom-08b8b87c.js +0 -1908
  777. package/dist/_shared/cjs/index-1e7a1fce.js +0 -379
  778. package/dist/_shared/cjs/index-28fbfd5b.js +0 -2206
  779. package/dist/_shared/cjs/index-2bf59363.js +0 -44
  780. package/dist/_shared/cjs/index-527f962b.js +0 -131
  781. package/dist/_shared/cjs/index-605c76b9.js +0 -2204
  782. package/dist/_shared/cjs/index-76f7dd53.js +0 -380
  783. package/dist/_shared/cjs/index-879e71ee.js +0 -47
  784. package/dist/_shared/cjs/index-9947ac13.js +0 -64
  785. package/dist/_shared/cjs/index-ba3141f5.js +0 -72
  786. package/dist/_shared/cjs/index-dbc843d3.js +0 -97
  787. package/dist/_shared/cjs/index.es-b98bcd00.js +0 -355
  788. package/dist/_shared/cjs/index.es-d99844c0.js +0 -13
  789. package/dist/_shared/cjs/use-media-query-d34c83b9.js +0 -41
  790. package/dist/_shared/esm/Avatar-cea3993d.js +0 -42
  791. package/dist/_shared/esm/Badge-233eb171.js +0 -11
  792. package/dist/_shared/esm/Banner-ad242982.js +0 -60
  793. package/dist/_shared/esm/Box-aa4f3782.js +0 -23
  794. package/dist/_shared/esm/BrandLogo-1ee6f128.js +0 -24
  795. package/dist/_shared/esm/Breadcrumbs-1e5f8ab3.js +0 -98
  796. package/dist/_shared/esm/BtIconArrowRight.esm-93da96bb.js +0 -24
  797. package/dist/_shared/esm/BtIconChevronRight2Px.esm-c939e317.js +0 -37
  798. package/dist/_shared/esm/BtIconChevronRightMid.esm-4764708f.js +0 -22
  799. package/dist/_shared/esm/BtIconPlayFill.esm-05fc0344.js +0 -24
  800. package/dist/_shared/esm/Button-ea676157.js +0 -47
  801. package/dist/_shared/esm/ButtonV2-feb9bcbc.js +0 -47
  802. package/dist/_shared/esm/Calendar-2bbb4ad5.js +0 -1918
  803. package/dist/_shared/esm/CardFooter-c1c75258.js +0 -73
  804. package/dist/_shared/esm/CardHeading-394596ee.js +0 -10
  805. package/dist/_shared/esm/Checkbox-5c954576.js +0 -64
  806. package/dist/_shared/esm/Columns-61fccabf.js +0 -42
  807. package/dist/_shared/esm/Combination-beb0370c.js +0 -1163
  808. package/dist/_shared/esm/ConditionalWrapper-b85979de.js +0 -8
  809. package/dist/_shared/esm/ContentSwitcher-351ae1a6.js +0 -93
  810. package/dist/_shared/esm/ContentSwitcherDropdown-c5531690.js +0 -58
  811. package/dist/_shared/esm/DatePicker-a8e63fb1.js +0 -910
  812. package/dist/_shared/esm/DisclosureMini-2d3bad0c.js +0 -35
  813. package/dist/_shared/esm/Download-064c08ba.js +0 -37
  814. package/dist/_shared/esm/Filter-4519aab6.js +0 -119
  815. package/dist/_shared/esm/FormControl-85a2ee28.js +0 -103
  816. package/dist/_shared/esm/Grid-3d8eaa8e.js +0 -39
  817. package/dist/_shared/esm/Group-6d0c0d8e.js +0 -34
  818. package/dist/_shared/esm/Heading-db9014d5.js +0 -34
  819. package/dist/_shared/esm/HeroButton-eb08293f.js +0 -120
  820. package/dist/_shared/esm/Icon-e85f55ee.js +0 -41
  821. package/dist/_shared/esm/Image-67ec95a0.js +0 -48
  822. package/dist/_shared/esm/MediaCard-4a845195.js +0 -59
  823. package/dist/_shared/esm/Poster-182a3dbf.js +0 -39
  824. package/dist/_shared/esm/Preview-43b2a75d.js +0 -161
  825. package/dist/_shared/esm/ProgressStepper-e1c297b4.js +0 -91
  826. package/dist/_shared/esm/RadioGroup-0daeae68.js +0 -78
  827. package/dist/_shared/esm/Section-08f47911.js +0 -17
  828. package/dist/_shared/esm/SiteFooter-704fa8e5.js +0 -64
  829. package/dist/_shared/esm/SiteHeaderV2-2b0d6f96.js +0 -648
  830. package/dist/_shared/esm/Spinner-6493dd54.js +0 -18
  831. package/dist/_shared/esm/Surface-b782cda9.js +0 -165
  832. package/dist/_shared/esm/Tabs-321fa50e.js +0 -84
  833. package/dist/_shared/esm/Text-d0acd173.js +0 -26
  834. package/dist/_shared/esm/TextInput-211dbadb.js +0 -96
  835. package/dist/_shared/esm/ThemeIcon-0b755b19.js +0 -20
  836. package/dist/_shared/esm/Toast-bd78be64.js +0 -958
  837. package/dist/_shared/esm/UniversalHeader-4907dbf4.js +0 -23
  838. package/dist/_shared/esm/VerticalSpace-6d8fcb17.js +0 -23
  839. package/dist/_shared/esm/VisuallyHidden-605ea42d.js +0 -12
  840. package/dist/_shared/esm/_commonjsHelpers-0109d574.js +0 -18
  841. package/dist/_shared/esm/component-d81b583b.js +0 -476
  842. package/dist/_shared/esm/debounce-c8e41002.js +0 -542
  843. package/dist/_shared/esm/floating-ui.react-dom-1bb71aae.js +0 -1878
  844. package/dist/_shared/esm/index-13458236.js +0 -25
  845. package/dist/_shared/esm/index-2403936c.js +0 -91
  846. package/dist/_shared/esm/index-2e73c2e9.js +0 -62
  847. package/dist/_shared/esm/index-66e8d1ec.js +0 -2169
  848. package/dist/_shared/esm/index-6bdce6c5.js +0 -69
  849. package/dist/_shared/esm/index-7868cc59.js +0 -129
  850. package/dist/_shared/esm/index-7f23bb37.js +0 -369
  851. package/dist/_shared/esm/index-a41a5e50.js +0 -41
  852. package/dist/_shared/esm/index-b051f161.js +0 -374
  853. package/dist/_shared/esm/index-ce6dee84.js +0 -2197
  854. package/dist/_shared/esm/index.es-3b4ff2ab.js +0 -348
  855. package/dist/_shared/esm/index.es-8ada4213.js +0 -9
  856. package/dist/_shared/esm/use-media-query-d3622da8.js +0 -39
  857. package/dist/index.es.js +0 -20754
  858. package/dist/index.es.js.map +0 -1
  859. package/dist/index.js +0 -20850
  860. package/dist/index.js.map +0 -1
  861. package/dist/styles.css +0 -15
  862. package/dist/types/components/Alert/Alert.d.ts +0 -54
  863. package/dist/types/components/Alert/index.d.ts +0 -1
  864. package/dist/types/components/Align/Align.d.ts +0 -30
  865. package/dist/types/components/Align/index.d.ts +0 -1
  866. package/dist/types/components/AppButton/AppButton.d.ts +0 -9
  867. package/dist/types/components/AppButton/icons/AppStore.d.ts +0 -2
  868. package/dist/types/components/AppButton/icons/GooglePlay.d.ts +0 -2
  869. package/dist/types/components/AppButton/index.d.ts +0 -1
  870. package/dist/types/components/Avatar/Avatar.d.ts +0 -14
  871. package/dist/types/components/Avatar/components/AvatarContent/AvatarContent.d.ts +0 -9
  872. package/dist/types/components/Avatar/index.d.ts +0 -1
  873. package/dist/types/components/Avatar/types/avatar-icon-size.d.ts +0 -1
  874. package/dist/types/components/Avatar/types/avatar-image.d.ts +0 -2
  875. package/dist/types/components/Avatar/types/avatar-size.d.ts +0 -1
  876. package/dist/types/components/Avatar/types/avatar-text-size.d.ts +0 -2
  877. package/dist/types/components/AvatarGroup/AvatarGroup.d.ts +0 -14
  878. package/dist/types/components/AvatarGroup/index.d.ts +0 -1
  879. package/dist/types/components/AvatarGroup/types/group-avatar.d.ts +0 -2
  880. package/dist/types/components/AvatarGroup/utils/get-avatars.d.ts +0 -2
  881. package/dist/types/components/Badge/Badge.d.ts +0 -21
  882. package/dist/types/components/Badge/index.d.ts +0 -1
  883. package/dist/types/components/Banner/Banner.d.ts +0 -68
  884. package/dist/types/components/Banner/index.d.ts +0 -1
  885. package/dist/types/components/BannerWithTabs/BannerWithTabs.d.ts +0 -17
  886. package/dist/types/components/BannerWithTabs/index.d.ts +0 -1
  887. package/dist/types/components/Box/Box.d.ts +0 -40
  888. package/dist/types/components/Box/index.d.ts +0 -1
  889. package/dist/types/components/BrandLogo/BrandLogo.d.ts +0 -25
  890. package/dist/types/components/BrandLogo/index.d.ts +0 -1
  891. package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +0 -18
  892. package/dist/types/components/Breadcrumbs/BreadcrumbsItem/BreadcrumbsItem.d.ts +0 -17
  893. package/dist/types/components/Breadcrumbs/BreadcrumbsLink/BreadcrumbsLink.d.ts +0 -29
  894. package/dist/types/components/Breadcrumbs/index.d.ts +0 -1
  895. package/dist/types/components/Button/Button.d.ts +0 -104
  896. package/dist/types/components/Button/index.d.ts +0 -1
  897. package/dist/types/components/ButtonV2/ButtonV2.d.ts +0 -79
  898. package/dist/types/components/ButtonV2/index.d.ts +0 -1
  899. package/dist/types/components/Calendar/Calendar.d.ts +0 -50
  900. package/dist/types/components/Calendar/Calendar.provider.d.ts +0 -21
  901. package/dist/types/components/Calendar/components/CalendarDateSelect/CalendarDateSelect.d.ts +0 -15
  902. package/dist/types/components/Calendar/components/CalendarDateSelect/index.d.ts +0 -1
  903. package/dist/types/components/Calendar/components/CalendarDayGrid/CalendarDayGrid.d.ts +0 -6
  904. package/dist/types/components/Calendar/components/CalendarDayGrid/index.d.ts +0 -1
  905. package/dist/types/components/Calendar/components/CalendarDayNumber/CalendarDayNumber.d.ts +0 -8
  906. package/dist/types/components/Calendar/components/CalendarDayNumber/index.d.ts +0 -1
  907. package/dist/types/components/Calendar/components/CalendarDoubleMonthView/CalendarDoubleMonthView.d.ts +0 -9
  908. package/dist/types/components/Calendar/components/CalendarDoubleMonthView/index.d.ts +0 -1
  909. package/dist/types/components/Calendar/components/CalendarFooter/CalendarFooter.d.ts +0 -6
  910. package/dist/types/components/Calendar/components/CalendarFooter/index.d.ts +0 -1
  911. package/dist/types/components/Calendar/components/CalendarMonthView/CalendarMonthView.d.ts +0 -9
  912. package/dist/types/components/Calendar/components/CalendarMonthView/index.d.ts +0 -1
  913. package/dist/types/components/Calendar/components/CalendarMonthYearView/CalendarMonthYearView.d.ts +0 -11
  914. package/dist/types/components/Calendar/components/CalendarMonthYearView/index.d.ts +0 -1
  915. package/dist/types/components/Calendar/components/CalendarNavButton/CalendarNavButton.d.ts +0 -10
  916. package/dist/types/components/Calendar/components/CalendarNavButton/index.d.ts +0 -1
  917. package/dist/types/components/Calendar/components/CalendarWrapper/CalendarWrapper.d.ts +0 -5
  918. package/dist/types/components/Calendar/components/CalendarWrapper/index.d.ts +0 -1
  919. package/dist/types/components/Calendar/components/index.d.ts +0 -6
  920. package/dist/types/components/Calendar/constants/day-names.d.ts +0 -5
  921. package/dist/types/components/Calendar/constants/index.d.ts +0 -1
  922. package/dist/types/components/Calendar/helpers/contains-date.d.ts +0 -1
  923. package/dist/types/components/Calendar/helpers/contains-date.test.d.ts +0 -1
  924. package/dist/types/components/Calendar/helpers/date-without-time.d.ts +0 -1
  925. package/dist/types/components/Calendar/helpers/date-without-time.test.d.ts +0 -1
  926. package/dist/types/components/Calendar/helpers/get-calendar-type.d.ts +0 -2
  927. package/dist/types/components/Calendar/helpers/get-calendar-type.test.d.ts +0 -1
  928. package/dist/types/components/Calendar/helpers/get-dates-in-month.d.ts +0 -1
  929. package/dist/types/components/Calendar/helpers/get-dates-in-month.test.d.ts +0 -1
  930. package/dist/types/components/Calendar/helpers/get-double-month-display-range.d.ts +0 -1
  931. package/dist/types/components/Calendar/helpers/get-double-month-display-range.test.d.ts +0 -1
  932. package/dist/types/components/Calendar/helpers/get-focus-date.d.ts +0 -5
  933. package/dist/types/components/Calendar/helpers/get-focus-date.test.d.ts +0 -1
  934. package/dist/types/components/Calendar/helpers/get-highlighted-range.d.ts +0 -6
  935. package/dist/types/components/Calendar/helpers/get-highlighted-range.test.d.ts +0 -1
  936. package/dist/types/components/Calendar/helpers/get-keydown-date.d.ts +0 -6
  937. package/dist/types/components/Calendar/helpers/get-keydown-date.test.d.ts +0 -1
  938. package/dist/types/components/Calendar/helpers/index.d.ts +0 -13
  939. package/dist/types/components/Calendar/helpers/is-day.d.ts +0 -2
  940. package/dist/types/components/Calendar/helpers/is-day.test.d.ts +0 -1
  941. package/dist/types/components/Calendar/helpers/is-disabled-date.d.ts +0 -1
  942. package/dist/types/components/Calendar/helpers/is-disabled-date.test.d.ts +0 -1
  943. package/dist/types/components/Calendar/helpers/is-month-after-max-date.d.ts +0 -1
  944. package/dist/types/components/Calendar/helpers/is-month-after-max-date.test.d.ts +0 -1
  945. package/dist/types/components/Calendar/helpers/is-month-before-min-date.d.ts +0 -1
  946. package/dist/types/components/Calendar/helpers/is-month-before-min-date.test.d.ts +0 -1
  947. package/dist/types/components/Calendar/helpers/process-selected-range.d.ts +0 -9
  948. package/dist/types/components/Calendar/helpers/process-selected-range.test.d.ts +0 -1
  949. package/dist/types/components/Calendar/index.d.ts +0 -2
  950. package/dist/types/components/Calendar/state/handlers/calendar-keydown-handler.d.ts +0 -3
  951. package/dist/types/components/Calendar/state/handlers/day-grid-leave-handler.d.ts +0 -3
  952. package/dist/types/components/Calendar/state/handlers/day-number-select-handler.d.ts +0 -3
  953. package/dist/types/components/Calendar/state/handlers/default-handler.d.ts +0 -2
  954. package/dist/types/components/Calendar/state/handlers/dropdown-change-month-handler.d.ts +0 -3
  955. package/dist/types/components/Calendar/state/handlers/dropdown-change-year-handler.d.ts +0 -3
  956. package/dist/types/components/Calendar/state/handlers/highlight-range-handler.d.ts +0 -3
  957. package/dist/types/components/Calendar/state/handlers/index.d.ts +0 -12
  958. package/dist/types/components/Calendar/state/handlers/range-select-handler.d.ts +0 -3
  959. package/dist/types/components/Calendar/state/handlers/show-next-double-month-handler.d.ts +0 -3
  960. package/dist/types/components/Calendar/state/handlers/show-next-month-handler.d.ts +0 -3
  961. package/dist/types/components/Calendar/state/handlers/show-previous-double-month-handler.d.ts +0 -3
  962. package/dist/types/components/Calendar/state/handlers/show-previous-month-handler.d.ts +0 -3
  963. package/dist/types/components/Calendar/state/index.d.ts +0 -2
  964. package/dist/types/components/Calendar/state/reducer.d.ts +0 -3
  965. package/dist/types/components/Calendar/state/reducer.test.d.ts +0 -1
  966. package/dist/types/components/Calendar/state/types/actions.d.ts +0 -81
  967. package/dist/types/components/Calendar/state/types/state-handler.d.ts +0 -3
  968. package/dist/types/components/Calendar/state/types/state.d.ts +0 -5
  969. package/dist/types/components/Calendar/types/calendar-type.d.ts +0 -1
  970. package/dist/types/components/Calendar/types/date-select-value.d.ts +0 -2
  971. package/dist/types/components/Calendar/types/index.d.ts +0 -6
  972. package/dist/types/components/Calendar/types/key-names.d.ts +0 -13
  973. package/dist/types/components/Calendar/types/range-selection.d.ts +0 -10
  974. package/dist/types/components/Calendar/types/selection-type.d.ts +0 -1
  975. package/dist/types/components/Calendar/types/week-days.d.ts +0 -18
  976. package/dist/types/components/CardFooter/CardFooter.d.ts +0 -11
  977. package/dist/types/components/CardFooter/index.d.ts +0 -1
  978. package/dist/types/components/CardHeading/CardHeading.d.ts +0 -19
  979. package/dist/types/components/CardHeading/index.d.ts +0 -1
  980. package/dist/types/components/Carousel/Carousel.d.ts +0 -34
  981. package/dist/types/components/Carousel/components/DotButton.d.ts +0 -10
  982. package/dist/types/components/Carousel/constants/breakpoints.d.ts +0 -5
  983. package/dist/types/components/Carousel/helpers/get-options.d.ts +0 -3
  984. package/dist/types/components/Carousel/helpers/get-slide-width.d.ts +0 -12
  985. package/dist/types/components/Carousel/index.d.ts +0 -1
  986. package/dist/types/components/Carousel/types/breakpoints.d.ts +0 -1
  987. package/dist/types/components/Carousel/types/keynames.d.ts +0 -5
  988. package/dist/types/components/Carousel/types/responsive.d.ts +0 -3
  989. package/dist/types/components/Carousel/types/screen-sizes.d.ts +0 -2
  990. package/dist/types/components/Carousel/types/slide-config.d.ts +0 -5
  991. package/dist/types/components/Checkbox/Checkbox.d.ts +0 -66
  992. package/dist/types/components/Checkbox/index.d.ts +0 -1
  993. package/dist/types/components/Columns/Columns.d.ts +0 -76
  994. package/dist/types/components/Columns/index.d.ts +0 -1
  995. package/dist/types/components/ConditionalWrapper/ConditionalWrapper.d.ts +0 -7
  996. package/dist/types/components/ConditionalWrapper/index.d.ts +0 -1
  997. package/dist/types/components/ContentSwitcher/ContentSwitcher.d.ts +0 -32
  998. package/dist/types/components/ContentSwitcher/ContentSwitcherContent/ContentSwitcherContent.d.ts +0 -12
  999. package/dist/types/components/ContentSwitcher/ContentSwitcherContent/index.d.ts +0 -1
  1000. package/dist/types/components/ContentSwitcher/ContentSwitcherList/ContentSwitcherList.d.ts +0 -24
  1001. package/dist/types/components/ContentSwitcher/ContentSwitcherList/index.d.ts +0 -1
  1002. package/dist/types/components/ContentSwitcher/ContentSwitcherTab/ContentSwitcherTab.d.ts +0 -17
  1003. package/dist/types/components/ContentSwitcher/ContentSwitcherTab/index.d.ts +0 -1
  1004. package/dist/types/components/ContentSwitcher/index.d.ts +0 -1
  1005. package/dist/types/components/ContentSwitcherDropdown/ContentSwitcherDropdown.d.ts +0 -57
  1006. package/dist/types/components/ContentSwitcherDropdown/index.d.ts +0 -1
  1007. package/dist/types/components/DatePicker/DatePicker.d.ts +0 -20
  1008. package/dist/types/components/DatePicker/constants/date-format.d.ts +0 -1
  1009. package/dist/types/components/DatePicker/constants/index.d.ts +0 -1
  1010. package/dist/types/components/DatePicker/helpers/convert-date-string-to-date.d.ts +0 -1
  1011. package/dist/types/components/DatePicker/helpers/convert-date-string-to-date.test.d.ts +0 -1
  1012. package/dist/types/components/DatePicker/helpers/convert-range-string-to-dates.d.ts +0 -1
  1013. package/dist/types/components/DatePicker/helpers/convert-range-string-to-dates.test.d.ts +0 -1
  1014. package/dist/types/components/DatePicker/helpers/format-date.d.ts +0 -1
  1015. package/dist/types/components/DatePicker/helpers/format-date.test.d.ts +0 -1
  1016. package/dist/types/components/DatePicker/helpers/index.d.ts +0 -8
  1017. package/dist/types/components/DatePicker/helpers/is-date-valid.d.ts +0 -1
  1018. package/dist/types/components/DatePicker/helpers/is-date-valid.test.d.ts +0 -1
  1019. package/dist/types/components/DatePicker/helpers/is-disabled-date.d.ts +0 -1
  1020. package/dist/types/components/DatePicker/helpers/is-disabled-date.test.d.ts +0 -1
  1021. package/dist/types/components/DatePicker/helpers/is-range-valid.d.ts +0 -1
  1022. package/dist/types/components/DatePicker/helpers/is-range-valid.test.d.ts +0 -1
  1023. package/dist/types/components/DatePicker/helpers/parse-date-string.d.ts +0 -5
  1024. package/dist/types/components/DatePicker/helpers/parse-date-string.test.d.ts +0 -1
  1025. package/dist/types/components/DatePicker/helpers/parse-range-string.d.ts +0 -14
  1026. package/dist/types/components/DatePicker/helpers/parse-range-string.test.d.ts +0 -1
  1027. package/dist/types/components/DatePicker/index.d.ts +0 -6
  1028. package/dist/types/components/Disclosure/Disclosure.d.ts +0 -29
  1029. package/dist/types/components/Disclosure/index.d.ts +0 -1
  1030. package/dist/types/components/DisclosureMini/DisclosureMini.d.ts +0 -35
  1031. package/dist/types/components/DisclosureMini/index.d.ts +0 -1
  1032. package/dist/types/components/Download/Download.d.ts +0 -41
  1033. package/dist/types/components/Download/index.d.ts +0 -1
  1034. package/dist/types/components/Elevation/Elevation.d.ts +0 -19
  1035. package/dist/types/components/Elevation/index.d.ts +0 -1
  1036. package/dist/types/components/Filter/Filter.d.ts +0 -38
  1037. package/dist/types/components/Filter/FilterControls/FilterControl/FilterControl.d.ts +0 -16
  1038. package/dist/types/components/Filter/FilterControls/FilterControls.d.ts +0 -12
  1039. package/dist/types/components/Filter/FilterItems/FilterItem/FilterItem.d.ts +0 -12
  1040. package/dist/types/components/Filter/FilterItems/FilterItems.d.ts +0 -16
  1041. package/dist/types/components/Filter/index.d.ts +0 -1
  1042. package/dist/types/components/FormControl/FormControl.d.ts +0 -79
  1043. package/dist/types/components/FormControl/index.d.ts +0 -1
  1044. package/dist/types/components/Grid/Grid.constants.d.ts +0 -1
  1045. package/dist/types/components/Grid/Grid.d.ts +0 -28
  1046. package/dist/types/components/Grid/Grid.types.d.ts +0 -10
  1047. package/dist/types/components/Grid/components/Col/Col.d.ts +0 -10
  1048. package/dist/types/components/Grid/components/Col/index.d.ts +0 -1
  1049. package/dist/types/components/Grid/components/Row/Row.d.ts +0 -10
  1050. package/dist/types/components/Grid/components/Row/index.d.ts +0 -1
  1051. package/dist/types/components/Grid/index.d.ts +0 -2
  1052. package/dist/types/components/Group/Group.d.ts +0 -45
  1053. package/dist/types/components/Group/GroupItem/GroupItem.d.ts +0 -17
  1054. package/dist/types/components/Group/index.d.ts +0 -1
  1055. package/dist/types/components/Heading/Heading.d.ts +0 -53
  1056. package/dist/types/components/Heading/index.d.ts +0 -1
  1057. package/dist/types/components/HeroBanner/HeroBanner.d.ts +0 -5
  1058. package/dist/types/components/HeroBanner/index.d.ts +0 -1
  1059. package/dist/types/components/HeroButton/HeroButton.d.ts +0 -66
  1060. package/dist/types/components/HeroButton/index.d.ts +0 -1
  1061. package/dist/types/components/Hidden/Hidden.d.ts +0 -11
  1062. package/dist/types/components/Hidden/index.d.ts +0 -1
  1063. package/dist/types/components/Icon/Icon.d.ts +0 -37
  1064. package/dist/types/components/Icon/index.d.ts +0 -1
  1065. package/dist/types/components/Image/Image.d.ts +0 -97
  1066. package/dist/types/components/Image/index.d.ts +0 -1
  1067. package/dist/types/components/ImpactCard/ImpactCard.d.ts +0 -58
  1068. package/dist/types/components/ImpactCard/index.d.ts +0 -1
  1069. package/dist/types/components/InformationCard/InformationCard.d.ts +0 -62
  1070. package/dist/types/components/InformationCard/index.d.ts +0 -1
  1071. package/dist/types/components/Link/Link.d.ts +0 -52
  1072. package/dist/types/components/Link/index.d.ts +0 -1
  1073. package/dist/types/components/Markup/Markup.d.ts +0 -15
  1074. package/dist/types/components/Markup/index.d.ts +0 -1
  1075. package/dist/types/components/MediaCard/MediaCard.d.ts +0 -56
  1076. package/dist/types/components/MediaCard/index.d.ts +0 -1
  1077. package/dist/types/components/MediaCard/types/index.d.ts +0 -2
  1078. package/dist/types/components/MediaCard/types/media-card-image.d.ts +0 -4
  1079. package/dist/types/components/MediaCard/types/media-card-video.d.ts +0 -4
  1080. package/dist/types/components/Modal/Modal.d.ts +0 -50
  1081. package/dist/types/components/Modal/index.d.ts +0 -1
  1082. package/dist/types/components/PageBanner/PageBanner.d.ts +0 -5
  1083. package/dist/types/components/PageBanner/index.d.ts +0 -1
  1084. package/dist/types/components/Pagination/Pagination.d.ts +0 -19
  1085. package/dist/types/components/Pagination/index.d.ts +0 -1
  1086. package/dist/types/components/PaginationSimple/PaginationSimple.d.ts +0 -43
  1087. package/dist/types/components/PaginationSimple/index.d.ts +0 -1
  1088. package/dist/types/components/Poster/Poster.d.ts +0 -29
  1089. package/dist/types/components/Poster/PosterImage.d.ts +0 -34
  1090. package/dist/types/components/Poster/PosterVideo.d.ts +0 -21
  1091. package/dist/types/components/Poster/index.d.ts +0 -1
  1092. package/dist/types/components/ProgressBar/ProgressBar.d.ts +0 -50
  1093. package/dist/types/components/ProgressBar/constants/progress-bar-icon-map.d.ts +0 -3
  1094. package/dist/types/components/ProgressBar/index.d.ts +0 -1
  1095. package/dist/types/components/ProgressBar/types/progress-bar-icons.d.ts +0 -1
  1096. package/dist/types/components/ProgressBar/types/progress-bar-state.d.ts +0 -1
  1097. package/dist/types/components/ProgressBar/utils/get-progress-bar-props.d.ts +0 -1
  1098. package/dist/types/components/ProgressStepper/ProgressStepper.d.ts +0 -28
  1099. package/dist/types/components/ProgressStepper/ProgressStepperItem/ProgressStepperItem.d.ts +0 -58
  1100. package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Complete.d.ts +0 -2
  1101. package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Current.d.ts +0 -2
  1102. package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Error.d.ts +0 -2
  1103. package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Warning.d.ts +0 -2
  1104. package/dist/types/components/ProgressStepper/index.d.ts +0 -1
  1105. package/dist/types/components/ProgressStepper/progressStatus.d.ts +0 -1
  1106. package/dist/types/components/RadioGroup/RadioButton/RadioButton.d.ts +0 -21
  1107. package/dist/types/components/RadioGroup/RadioButton/index.d.ts +0 -1
  1108. package/dist/types/components/RadioGroup/RadioButtonGroupInput/RadioButtonGroupInput.d.ts +0 -36
  1109. package/dist/types/components/RadioGroup/RadioButtonGroupInput/index.d.ts +0 -1
  1110. package/dist/types/components/RadioGroup/RadioGroup.d.ts +0 -66
  1111. package/dist/types/components/RadioGroup/context.d.ts +0 -14
  1112. package/dist/types/components/RadioGroup/index.d.ts +0 -2
  1113. package/dist/types/components/Rule/Rule.d.ts +0 -8
  1114. package/dist/types/components/Rule/index.d.ts +0 -1
  1115. package/dist/types/components/ScrollToTop/ScrollToTop.d.ts +0 -24
  1116. package/dist/types/components/ScrollToTop/index.d.ts +0 -1
  1117. package/dist/types/components/Section/Section.d.ts +0 -20
  1118. package/dist/types/components/Section/index.d.ts +0 -1
  1119. package/dist/types/components/Select/Select.d.ts +0 -77
  1120. package/dist/types/components/Select/index.d.ts +0 -1
  1121. package/dist/types/components/SiteFooter/SiteFooter.d.ts +0 -57
  1122. package/dist/types/components/SiteFooter/index.d.ts +0 -1
  1123. package/dist/types/components/SiteHeaderV2/SiteHeaderV2.d.ts +0 -82
  1124. package/dist/types/components/SiteHeaderV2/components/BackButton/BackButton.d.ts +0 -6
  1125. package/dist/types/components/SiteHeaderV2/components/BackButton/index.d.ts +0 -1
  1126. package/dist/types/components/SiteHeaderV2/components/Column/Column.d.ts +0 -8
  1127. package/dist/types/components/SiteHeaderV2/components/Column/index.d.ts +0 -1
  1128. package/dist/types/components/SiteHeaderV2/components/HorizontalPanel/HorizontalPanel.d.ts +0 -13
  1129. package/dist/types/components/SiteHeaderV2/components/HorizontalPanel/index.d.ts +0 -1
  1130. package/dist/types/components/SiteHeaderV2/components/Item/Item.d.ts +0 -20
  1131. package/dist/types/components/SiteHeaderV2/components/Item/index.d.ts +0 -1
  1132. package/dist/types/components/SiteHeaderV2/components/ItemGroup/ItemGroup.d.ts +0 -27
  1133. package/dist/types/components/SiteHeaderV2/components/ItemGroup/index.d.ts +0 -1
  1134. package/dist/types/components/SiteHeaderV2/components/MenuButton/MenuButton.d.ts +0 -6
  1135. package/dist/types/components/SiteHeaderV2/components/MenuButton/index.d.ts +0 -1
  1136. package/dist/types/components/SiteHeaderV2/components/NavItem/NavItem.d.ts +0 -41
  1137. package/dist/types/components/SiteHeaderV2/components/NavItem/NavItemWithSubNav.d.ts +0 -56
  1138. package/dist/types/components/SiteHeaderV2/components/NavItem/index.d.ts +0 -2
  1139. package/dist/types/components/SiteHeaderV2/components/NodeItem/NodeItem.d.ts +0 -8
  1140. package/dist/types/components/SiteHeaderV2/components/Panel/Panel.d.ts +0 -28
  1141. package/dist/types/components/SiteHeaderV2/components/Panel/index.d.ts +0 -1
  1142. package/dist/types/components/SiteHeaderV2/components/SubNavItem/SubNavItem.d.ts +0 -45
  1143. package/dist/types/components/SiteHeaderV2/components/SubNavItem/index.d.ts +0 -1
  1144. package/dist/types/components/SiteHeaderV2/components/VerticalDivider/VerticalDivider.d.ts +0 -2
  1145. package/dist/types/components/SiteHeaderV2/components/VerticalDivider/index.d.ts +0 -1
  1146. package/dist/types/components/SiteHeaderV2/index.d.ts +0 -1
  1147. package/dist/types/components/SkipLink/SkipLink.d.ts +0 -12
  1148. package/dist/types/components/SkipLink/SkipLinkItem/SkipLinkItem.d.ts +0 -16
  1149. package/dist/types/components/SkipLink/index.d.ts +0 -1
  1150. package/dist/types/components/Spinner/Spinner.d.ts +0 -16
  1151. package/dist/types/components/Spinner/index.d.ts +0 -1
  1152. package/dist/types/components/Surface/Surface.d.ts +0 -53
  1153. package/dist/types/components/Surface/index.d.ts +0 -1
  1154. package/dist/types/components/Switch/Switch.d.ts +0 -43
  1155. package/dist/types/components/Switch/index.d.ts +0 -1
  1156. package/dist/types/components/Tabs/Tab/Tab.d.ts +0 -22
  1157. package/dist/types/components/Tabs/Tab/index.d.ts +0 -1
  1158. package/dist/types/components/Tabs/TabContent/TabContent.d.ts +0 -12
  1159. package/dist/types/components/Tabs/TabContent/index.d.ts +0 -1
  1160. package/dist/types/components/Tabs/Tabs.d.ts +0 -28
  1161. package/dist/types/components/Tabs/TabsList/TabsList.d.ts +0 -25
  1162. package/dist/types/components/Tabs/TabsList/index.d.ts +0 -1
  1163. package/dist/types/components/Tabs/index.d.ts +0 -1
  1164. package/dist/types/components/Tag/Tag.d.ts +0 -36
  1165. package/dist/types/components/Tag/index.d.ts +0 -1
  1166. package/dist/types/components/Text/Text.d.ts +0 -41
  1167. package/dist/types/components/Text/index.d.ts +0 -1
  1168. package/dist/types/components/TextArea/TextArea.d.ts +0 -80
  1169. package/dist/types/components/TextArea/index.d.ts +0 -1
  1170. package/dist/types/components/TextInput/TextInput.d.ts +0 -119
  1171. package/dist/types/components/TextInput/index.d.ts +0 -1
  1172. package/dist/types/components/Theme/Theme.d.ts +0 -21
  1173. package/dist/types/components/Theme/index.d.ts +0 -1
  1174. package/dist/types/components/ThemeIcon/ThemeIcon.d.ts +0 -18
  1175. package/dist/types/components/ThemeIcon/icon-names.d.ts +0 -1
  1176. package/dist/types/components/ThemeIcon/index.d.ts +0 -1
  1177. package/dist/types/components/Toast/Toast.d.ts +0 -17
  1178. package/dist/types/components/Toast/ToastNotification.d.ts +0 -39
  1179. package/dist/types/components/Toast/index.d.ts +0 -1
  1180. package/dist/types/components/Truncate/Truncate.d.ts +0 -17
  1181. package/dist/types/components/Truncate/index.d.ts +0 -1
  1182. package/dist/types/components/TypographyCard/TypographyCard.d.ts +0 -58
  1183. package/dist/types/components/TypographyCard/index.d.ts +0 -1
  1184. package/dist/types/components/UniversalHeader/UniversalHeader.d.ts +0 -29
  1185. package/dist/types/components/UniversalHeader/index.d.ts +0 -1
  1186. package/dist/types/components/VerticalSpace/VerticalSpace.d.ts +0 -33
  1187. package/dist/types/components/VerticalSpace/index.d.ts +0 -1
  1188. package/dist/types/components/VideoPlayer/VideoPlayer.d.ts +0 -27
  1189. package/dist/types/components/VideoPlayer/index.d.ts +0 -1
  1190. package/dist/types/components/Visible/Visible.d.ts +0 -11
  1191. package/dist/types/components/Visible/index.d.ts +0 -1
  1192. package/dist/types/components/VisuallyHidden/VisuallyHidden.d.ts +0 -11
  1193. package/dist/types/components/VisuallyHidden/index.d.ts +0 -1
  1194. package/dist/types/components/index.d.ts +0 -68
  1195. package/dist/types/helpers/anchor-points.d.ts +0 -1
  1196. package/dist/types/helpers/get-theme-img.d.ts +0 -6
  1197. package/dist/types/helpers/handle-link-click.d.ts +0 -7
  1198. package/dist/types/helpers/index.d.ts +0 -2
  1199. package/dist/types/hooks/__tests__/use-aria-describedby.test.d.ts +0 -1
  1200. package/dist/types/hooks/__tests__/use-numeric-input.test.d.ts +0 -1
  1201. package/dist/types/hooks/index.d.ts +0 -2
  1202. package/dist/types/hooks/private/index.d.ts +0 -5
  1203. package/dist/types/hooks/private/use-aria-describedby/index.d.ts +0 -1
  1204. package/dist/types/hooks/private/use-aria-describedby/use-aria-describedby.d.ts +0 -22
  1205. package/dist/types/hooks/private/use-interaction-mode/index.d.ts +0 -1
  1206. package/dist/types/hooks/private/use-interaction-mode/use-interaction-mode.d.ts +0 -6
  1207. package/dist/types/hooks/private/use-numeric-input/index.d.ts +0 -1
  1208. package/dist/types/hooks/private/use-numeric-input/use-numeric-input.d.ts +0 -9
  1209. package/dist/types/hooks/private/use-pagination/index.d.ts +0 -1
  1210. package/dist/types/hooks/private/use-pagination/use-pagination.d.ts +0 -1
  1211. package/dist/types/hooks/private/use-theme-element/index.d.ts +0 -1
  1212. package/dist/types/hooks/public/index.d.ts +0 -1
  1213. package/dist/types/hooks/public/use-media-query/index.d.ts +0 -1
  1214. package/dist/types/hooks/public/use-media-query/use-media-query.d.ts +0 -19
  1215. package/dist/types/index.d.ts +0 -2
  1216. package/dist/types/styles.d.ts +0 -74
  1217. package/dist/types/types/arc-icon.d.ts +0 -2
  1218. package/dist/types/types/auto-complete-types.d.ts +0 -1
  1219. package/dist/use-media-query/package.json +0 -7
  1220. package/dist/use-media-query/use-media-query.cjs.js +0 -10
  1221. package/dist/use-media-query/use-media-query.esm.js +0 -2
  1222. /package/{dist/_shared/cjs/handle-link-click-17a44cf4.js → lib/_shared/cjs/handle-link-click-C7BvOIYa.cjs} +0 -0
  1223. /package/{dist/_shared/esm/handle-link-click-f64f55a2.js → lib/_shared/esm/handle-link-click-CIgZ7pa0.mjs} +0 -0
@@ -0,0 +1,1908 @@
1
+ 'use client';
2
+ import React__default, { useRef, useState, useCallback, useEffect, useId } from 'react';
3
+ import { c as classNames } from '../_shared/esm/index-5C0-U8cc.mjs';
4
+ import { a as __assign } from '../_shared/esm/tslib.es6-w7hdJ3oZ.mjs';
5
+ import { u as useMediaQuery } from '../_shared/esm/use-media-query-BmsMeo2M.mjs';
6
+ import { T as ThemeIcon } from '../_shared/esm/ThemeIcon-B0n6cKRb.mjs';
7
+ import { e as ArcSizeBreakpointsXs, d as ArcSizeBreakpointsS, c as ArcSizeBreakpointsM, b as ArcSizeBreakpointsL, a as ArcSizeBreakpointsXl } from '../_shared/esm/index.es-f0R-yhhl.mjs';
8
+ import '../_shared/esm/suffix-modifier-B_pO0UkF.mjs';
9
+ import '../_shared/esm/index-Spae4j7j.mjs';
10
+ import '../_shared/esm/filter-attrs-v_SweZXP.mjs';
11
+ import '../_shared/esm/Surface-C69KVzkY.mjs';
12
+
13
+ function isObject$1(subject) {
14
+ return Object.prototype.toString.call(subject) === '[object Object]';
15
+ }
16
+ function isRecord(subject) {
17
+ return isObject$1(subject) || Array.isArray(subject);
18
+ }
19
+ function canUseDOM() {
20
+ return !!(typeof window !== 'undefined' && window.document && window.document.createElement);
21
+ }
22
+ function areOptionsEqual(optionsA, optionsB) {
23
+ const optionsAKeys = Object.keys(optionsA);
24
+ const optionsBKeys = Object.keys(optionsB);
25
+ if (optionsAKeys.length !== optionsBKeys.length) return false;
26
+ const breakpointsA = JSON.stringify(Object.keys(optionsA.breakpoints || {}));
27
+ const breakpointsB = JSON.stringify(Object.keys(optionsB.breakpoints || {}));
28
+ if (breakpointsA !== breakpointsB) return false;
29
+ return optionsAKeys.every(key => {
30
+ const valueA = optionsA[key];
31
+ const valueB = optionsB[key];
32
+ if (typeof valueA === 'function') return `${valueA}` === `${valueB}`;
33
+ if (!isRecord(valueA) || !isRecord(valueB)) return valueA === valueB;
34
+ return areOptionsEqual(valueA, valueB);
35
+ });
36
+ }
37
+ function sortAndMapPluginToOptions(plugins) {
38
+ return plugins.concat().sort((a, b) => a.name > b.name ? 1 : -1).map(plugin => plugin.options);
39
+ }
40
+ function arePluginsEqual(pluginsA, pluginsB) {
41
+ if (pluginsA.length !== pluginsB.length) return false;
42
+ const optionsA = sortAndMapPluginToOptions(pluginsA);
43
+ const optionsB = sortAndMapPluginToOptions(pluginsB);
44
+ return optionsA.every((optionA, index) => {
45
+ const optionB = optionsB[index];
46
+ return areOptionsEqual(optionA, optionB);
47
+ });
48
+ }
49
+
50
+ function isNumber(subject) {
51
+ return typeof subject === 'number';
52
+ }
53
+ function isString(subject) {
54
+ return typeof subject === 'string';
55
+ }
56
+ function isBoolean(subject) {
57
+ return typeof subject === 'boolean';
58
+ }
59
+ function isObject(subject) {
60
+ return Object.prototype.toString.call(subject) === '[object Object]';
61
+ }
62
+ function mathAbs(n) {
63
+ return Math.abs(n);
64
+ }
65
+ function mathSign(n) {
66
+ return Math.sign(n);
67
+ }
68
+ function deltaAbs(valueB, valueA) {
69
+ return mathAbs(valueB - valueA);
70
+ }
71
+ function factorAbs(valueB, valueA) {
72
+ if (valueB === 0 || valueA === 0) return 0;
73
+ if (mathAbs(valueB) <= mathAbs(valueA)) return 0;
74
+ const diff = deltaAbs(mathAbs(valueB), mathAbs(valueA));
75
+ return mathAbs(diff / valueB);
76
+ }
77
+ function arrayKeys(array) {
78
+ return objectKeys(array).map(Number);
79
+ }
80
+ function arrayLast(array) {
81
+ return array[arrayLastIndex(array)];
82
+ }
83
+ function arrayLastIndex(array) {
84
+ return Math.max(0, array.length - 1);
85
+ }
86
+ function arrayIsLastIndex(array, index) {
87
+ return index === arrayLastIndex(array);
88
+ }
89
+ function arrayFromNumber(n, startAt = 0) {
90
+ return Array.from(Array(n), (_, i) => startAt + i);
91
+ }
92
+ function objectKeys(object) {
93
+ return Object.keys(object);
94
+ }
95
+ function objectsMergeDeep(objectA, objectB) {
96
+ return [objectA, objectB].reduce((mergedObjects, currentObject) => {
97
+ objectKeys(currentObject).forEach(key => {
98
+ const valueA = mergedObjects[key];
99
+ const valueB = currentObject[key];
100
+ const areObjects = isObject(valueA) && isObject(valueB);
101
+ mergedObjects[key] = areObjects ? objectsMergeDeep(valueA, valueB) : valueB;
102
+ });
103
+ return mergedObjects;
104
+ }, {});
105
+ }
106
+ function isMouseEvent(evt, ownerWindow) {
107
+ return typeof ownerWindow.MouseEvent !== 'undefined' && evt instanceof ownerWindow.MouseEvent;
108
+ }
109
+
110
+ function Alignment(align, viewSize) {
111
+ const predefined = {
112
+ start,
113
+ center,
114
+ end
115
+ };
116
+ function start() {
117
+ return 0;
118
+ }
119
+ function center(n) {
120
+ return end(n) / 2;
121
+ }
122
+ function end(n) {
123
+ return viewSize - n;
124
+ }
125
+ function measure(n, index) {
126
+ if (isString(align)) return predefined[align](n);
127
+ return align(viewSize, n, index);
128
+ }
129
+ const self = {
130
+ measure
131
+ };
132
+ return self;
133
+ }
134
+
135
+ function EventStore() {
136
+ let listeners = [];
137
+ function add(node, type, handler, options = {
138
+ passive: true
139
+ }) {
140
+ let removeListener;
141
+ if ('addEventListener' in node) {
142
+ node.addEventListener(type, handler, options);
143
+ removeListener = () => node.removeEventListener(type, handler, options);
144
+ } else {
145
+ const legacyMediaQueryList = node;
146
+ legacyMediaQueryList.addListener(handler);
147
+ removeListener = () => legacyMediaQueryList.removeListener(handler);
148
+ }
149
+ listeners.push(removeListener);
150
+ return self;
151
+ }
152
+ function clear() {
153
+ listeners = listeners.filter(remove => remove());
154
+ }
155
+ const self = {
156
+ add,
157
+ clear
158
+ };
159
+ return self;
160
+ }
161
+
162
+ function Animations(ownerDocument, ownerWindow, update, render) {
163
+ const documentVisibleHandler = EventStore();
164
+ const timeStep = 1000 / 60;
165
+ let lastTimeStamp = null;
166
+ let lag = 0;
167
+ let animationFrame = 0;
168
+ function init() {
169
+ documentVisibleHandler.add(ownerDocument, 'visibilitychange', () => {
170
+ if (ownerDocument.hidden) reset();
171
+ });
172
+ }
173
+ function destroy() {
174
+ stop();
175
+ documentVisibleHandler.clear();
176
+ }
177
+ function animate(timeStamp) {
178
+ if (!animationFrame) return;
179
+ if (!lastTimeStamp) lastTimeStamp = timeStamp;
180
+ const elapsed = timeStamp - lastTimeStamp;
181
+ lastTimeStamp = timeStamp;
182
+ lag += elapsed;
183
+ while (lag >= timeStep) {
184
+ update(timeStep);
185
+ lag -= timeStep;
186
+ }
187
+ const lagOffset = lag / timeStep;
188
+ render(lagOffset);
189
+ if (animationFrame) ownerWindow.requestAnimationFrame(animate);
190
+ }
191
+ function start() {
192
+ if (animationFrame) return;
193
+ animationFrame = ownerWindow.requestAnimationFrame(animate);
194
+ }
195
+ function stop() {
196
+ ownerWindow.cancelAnimationFrame(animationFrame);
197
+ lastTimeStamp = null;
198
+ lag = 0;
199
+ animationFrame = 0;
200
+ }
201
+ function reset() {
202
+ lastTimeStamp = null;
203
+ lag = 0;
204
+ }
205
+ const self = {
206
+ init,
207
+ destroy,
208
+ start,
209
+ stop,
210
+ update: () => update(timeStep),
211
+ render
212
+ };
213
+ return self;
214
+ }
215
+
216
+ function Axis(axis, contentDirection) {
217
+ const isRightToLeft = contentDirection === 'rtl';
218
+ const isVertical = axis === 'y';
219
+ const scroll = isVertical ? 'y' : 'x';
220
+ const cross = isVertical ? 'x' : 'y';
221
+ const sign = !isVertical && isRightToLeft ? -1 : 1;
222
+ const startEdge = getStartEdge();
223
+ const endEdge = getEndEdge();
224
+ function measureSize(nodeRect) {
225
+ const {
226
+ height,
227
+ width
228
+ } = nodeRect;
229
+ return isVertical ? height : width;
230
+ }
231
+ function getStartEdge() {
232
+ if (isVertical) return 'top';
233
+ return isRightToLeft ? 'right' : 'left';
234
+ }
235
+ function getEndEdge() {
236
+ if (isVertical) return 'bottom';
237
+ return isRightToLeft ? 'left' : 'right';
238
+ }
239
+ function direction(n) {
240
+ return n * sign;
241
+ }
242
+ const self = {
243
+ scroll,
244
+ cross,
245
+ startEdge,
246
+ endEdge,
247
+ measureSize,
248
+ direction
249
+ };
250
+ return self;
251
+ }
252
+
253
+ function Limit(min = 0, max = 0) {
254
+ const length = mathAbs(min - max);
255
+ function reachedMin(n) {
256
+ return n < min;
257
+ }
258
+ function reachedMax(n) {
259
+ return n > max;
260
+ }
261
+ function reachedAny(n) {
262
+ return reachedMin(n) || reachedMax(n);
263
+ }
264
+ function constrain(n) {
265
+ if (!reachedAny(n)) return n;
266
+ return reachedMin(n) ? min : max;
267
+ }
268
+ function removeOffset(n) {
269
+ if (!length) return n;
270
+ return n - length * Math.ceil((n - max) / length);
271
+ }
272
+ const self = {
273
+ length,
274
+ max,
275
+ min,
276
+ constrain,
277
+ reachedAny,
278
+ reachedMax,
279
+ reachedMin,
280
+ removeOffset
281
+ };
282
+ return self;
283
+ }
284
+
285
+ function Counter(max, start, loop) {
286
+ const {
287
+ constrain
288
+ } = Limit(0, max);
289
+ const loopEnd = max + 1;
290
+ let counter = withinLimit(start);
291
+ function withinLimit(n) {
292
+ return !loop ? constrain(n) : mathAbs((loopEnd + n) % loopEnd);
293
+ }
294
+ function get() {
295
+ return counter;
296
+ }
297
+ function set(n) {
298
+ counter = withinLimit(n);
299
+ return self;
300
+ }
301
+ function add(n) {
302
+ return clone().set(get() + n);
303
+ }
304
+ function clone() {
305
+ return Counter(max, get(), loop);
306
+ }
307
+ const self = {
308
+ get,
309
+ set,
310
+ add,
311
+ clone
312
+ };
313
+ return self;
314
+ }
315
+
316
+ function DragHandler(axis, rootNode, ownerDocument, ownerWindow, target, dragTracker, location, animation, scrollTo, scrollBody, scrollTarget, index, eventHandler, percentOfView, dragFree, dragThreshold, skipSnaps, baseFriction, watchDrag) {
317
+ const {
318
+ cross: crossAxis,
319
+ direction
320
+ } = axis;
321
+ const focusNodes = ['INPUT', 'SELECT', 'TEXTAREA'];
322
+ const nonPassiveEvent = {
323
+ passive: false
324
+ };
325
+ const initEvents = EventStore();
326
+ const dragEvents = EventStore();
327
+ const goToNextThreshold = Limit(50, 225).constrain(percentOfView.measure(20));
328
+ const snapForceBoost = {
329
+ mouse: 300,
330
+ touch: 400
331
+ };
332
+ const freeForceBoost = {
333
+ mouse: 500,
334
+ touch: 600
335
+ };
336
+ const baseSpeed = dragFree ? 43 : 25;
337
+ let isMoving = false;
338
+ let startScroll = 0;
339
+ let startCross = 0;
340
+ let pointerIsDown = false;
341
+ let preventScroll = false;
342
+ let preventClick = false;
343
+ let isMouse = false;
344
+ function init(emblaApi) {
345
+ if (!watchDrag) return;
346
+ function downIfAllowed(evt) {
347
+ if (isBoolean(watchDrag) || watchDrag(emblaApi, evt)) down(evt);
348
+ }
349
+ const node = rootNode;
350
+ initEvents.add(node, 'dragstart', evt => evt.preventDefault(), nonPassiveEvent).add(node, 'touchmove', () => undefined, nonPassiveEvent).add(node, 'touchend', () => undefined).add(node, 'touchstart', downIfAllowed).add(node, 'mousedown', downIfAllowed).add(node, 'touchcancel', up).add(node, 'contextmenu', up).add(node, 'click', click, true);
351
+ }
352
+ function destroy() {
353
+ initEvents.clear();
354
+ dragEvents.clear();
355
+ }
356
+ function addDragEvents() {
357
+ const node = isMouse ? ownerDocument : rootNode;
358
+ dragEvents.add(node, 'touchmove', move, nonPassiveEvent).add(node, 'touchend', up).add(node, 'mousemove', move, nonPassiveEvent).add(node, 'mouseup', up);
359
+ }
360
+ function isFocusNode(node) {
361
+ const nodeName = node.nodeName || '';
362
+ return focusNodes.includes(nodeName);
363
+ }
364
+ function forceBoost() {
365
+ const boost = dragFree ? freeForceBoost : snapForceBoost;
366
+ const type = isMouse ? 'mouse' : 'touch';
367
+ return boost[type];
368
+ }
369
+ function allowedForce(force, targetChanged) {
370
+ const next = index.add(mathSign(force) * -1);
371
+ const baseForce = scrollTarget.byDistance(force, !dragFree).distance;
372
+ if (dragFree || mathAbs(force) < goToNextThreshold) return baseForce;
373
+ if (skipSnaps && targetChanged) return baseForce * 0.5;
374
+ return scrollTarget.byIndex(next.get(), 0).distance;
375
+ }
376
+ function down(evt) {
377
+ const isMouseEvt = isMouseEvent(evt, ownerWindow);
378
+ isMouse = isMouseEvt;
379
+ preventClick = dragFree && isMouseEvt && !evt.buttons && isMoving;
380
+ isMoving = deltaAbs(target.get(), location.get()) >= 2;
381
+ if (isMouseEvt && evt.button !== 0) return;
382
+ if (isFocusNode(evt.target)) return;
383
+ pointerIsDown = true;
384
+ dragTracker.pointerDown(evt);
385
+ scrollBody.useFriction(0).useDuration(0);
386
+ target.set(location);
387
+ addDragEvents();
388
+ startScroll = dragTracker.readPoint(evt);
389
+ startCross = dragTracker.readPoint(evt, crossAxis);
390
+ eventHandler.emit('pointerDown');
391
+ }
392
+ function move(evt) {
393
+ const isTouchEvt = !isMouseEvent(evt, ownerWindow);
394
+ if (isTouchEvt && evt.touches.length >= 2) return up(evt);
395
+ const lastScroll = dragTracker.readPoint(evt);
396
+ const lastCross = dragTracker.readPoint(evt, crossAxis);
397
+ const diffScroll = deltaAbs(lastScroll, startScroll);
398
+ const diffCross = deltaAbs(lastCross, startCross);
399
+ if (!preventScroll && !isMouse) {
400
+ if (!evt.cancelable) return up(evt);
401
+ preventScroll = diffScroll > diffCross;
402
+ if (!preventScroll) return up(evt);
403
+ }
404
+ const diff = dragTracker.pointerMove(evt);
405
+ if (diffScroll > dragThreshold) preventClick = true;
406
+ scrollBody.useFriction(0.3).useDuration(0.75);
407
+ animation.start();
408
+ target.add(direction(diff));
409
+ evt.preventDefault();
410
+ }
411
+ function up(evt) {
412
+ const currentLocation = scrollTarget.byDistance(0, false);
413
+ const targetChanged = currentLocation.index !== index.get();
414
+ const rawForce = dragTracker.pointerUp(evt) * forceBoost();
415
+ const force = allowedForce(direction(rawForce), targetChanged);
416
+ const forceFactor = factorAbs(rawForce, force);
417
+ const speed = baseSpeed - 10 * forceFactor;
418
+ const friction = baseFriction + forceFactor / 50;
419
+ preventScroll = false;
420
+ pointerIsDown = false;
421
+ dragEvents.clear();
422
+ scrollBody.useDuration(speed).useFriction(friction);
423
+ scrollTo.distance(force, !dragFree);
424
+ isMouse = false;
425
+ eventHandler.emit('pointerUp');
426
+ }
427
+ function click(evt) {
428
+ if (preventClick) {
429
+ evt.stopPropagation();
430
+ evt.preventDefault();
431
+ preventClick = false;
432
+ }
433
+ }
434
+ function pointerDown() {
435
+ return pointerIsDown;
436
+ }
437
+ const self = {
438
+ init,
439
+ destroy,
440
+ pointerDown
441
+ };
442
+ return self;
443
+ }
444
+
445
+ function DragTracker(axis, ownerWindow) {
446
+ const logInterval = 170;
447
+ let startEvent;
448
+ let lastEvent;
449
+ function readTime(evt) {
450
+ return evt.timeStamp;
451
+ }
452
+ function readPoint(evt, evtAxis) {
453
+ const property = evtAxis || axis.scroll;
454
+ const coord = `client${property === 'x' ? 'X' : 'Y'}`;
455
+ return (isMouseEvent(evt, ownerWindow) ? evt : evt.touches[0])[coord];
456
+ }
457
+ function pointerDown(evt) {
458
+ startEvent = evt;
459
+ lastEvent = evt;
460
+ return readPoint(evt);
461
+ }
462
+ function pointerMove(evt) {
463
+ const diff = readPoint(evt) - readPoint(lastEvent);
464
+ const expired = readTime(evt) - readTime(startEvent) > logInterval;
465
+ lastEvent = evt;
466
+ if (expired) startEvent = evt;
467
+ return diff;
468
+ }
469
+ function pointerUp(evt) {
470
+ if (!startEvent || !lastEvent) return 0;
471
+ const diffDrag = readPoint(lastEvent) - readPoint(startEvent);
472
+ const diffTime = readTime(evt) - readTime(startEvent);
473
+ const expired = readTime(evt) - readTime(lastEvent) > logInterval;
474
+ const force = diffDrag / diffTime;
475
+ const isFlick = diffTime && !expired && mathAbs(force) > 0.1;
476
+ return isFlick ? force : 0;
477
+ }
478
+ const self = {
479
+ pointerDown,
480
+ pointerMove,
481
+ pointerUp,
482
+ readPoint
483
+ };
484
+ return self;
485
+ }
486
+
487
+ function NodeRects() {
488
+ function measure(node) {
489
+ const {
490
+ offsetTop,
491
+ offsetLeft,
492
+ offsetWidth,
493
+ offsetHeight
494
+ } = node;
495
+ const offset = {
496
+ top: offsetTop,
497
+ right: offsetLeft + offsetWidth,
498
+ bottom: offsetTop + offsetHeight,
499
+ left: offsetLeft,
500
+ width: offsetWidth,
501
+ height: offsetHeight
502
+ };
503
+ return offset;
504
+ }
505
+ const self = {
506
+ measure
507
+ };
508
+ return self;
509
+ }
510
+
511
+ function PercentOfView(viewSize) {
512
+ function measure(n) {
513
+ return viewSize * (n / 100);
514
+ }
515
+ const self = {
516
+ measure
517
+ };
518
+ return self;
519
+ }
520
+
521
+ function ResizeHandler(container, eventHandler, ownerWindow, slides, axis, watchResize, nodeRects) {
522
+ const observeNodes = [container].concat(slides);
523
+ let resizeObserver;
524
+ let containerSize;
525
+ let slideSizes = [];
526
+ let destroyed = false;
527
+ function readSize(node) {
528
+ return axis.measureSize(nodeRects.measure(node));
529
+ }
530
+ function init(emblaApi) {
531
+ if (!watchResize) return;
532
+ containerSize = readSize(container);
533
+ slideSizes = slides.map(readSize);
534
+ function defaultCallback(entries) {
535
+ for (const entry of entries) {
536
+ if (destroyed) return;
537
+ const isContainer = entry.target === container;
538
+ const slideIndex = slides.indexOf(entry.target);
539
+ const lastSize = isContainer ? containerSize : slideSizes[slideIndex];
540
+ const newSize = readSize(isContainer ? container : slides[slideIndex]);
541
+ const diffSize = mathAbs(newSize - lastSize);
542
+ if (diffSize >= 0.5) {
543
+ emblaApi.reInit();
544
+ eventHandler.emit('resize');
545
+ break;
546
+ }
547
+ }
548
+ }
549
+ resizeObserver = new ResizeObserver(entries => {
550
+ if (isBoolean(watchResize) || watchResize(emblaApi, entries)) {
551
+ defaultCallback(entries);
552
+ }
553
+ });
554
+ ownerWindow.requestAnimationFrame(() => {
555
+ observeNodes.forEach(node => resizeObserver.observe(node));
556
+ });
557
+ }
558
+ function destroy() {
559
+ destroyed = true;
560
+ if (resizeObserver) resizeObserver.disconnect();
561
+ }
562
+ const self = {
563
+ init,
564
+ destroy
565
+ };
566
+ return self;
567
+ }
568
+
569
+ function ScrollBody(location, offsetLocation, previousLocation, target, baseDuration, baseFriction) {
570
+ let bodyVelocity = 0;
571
+ let scrollDirection = 0;
572
+ let scrollDuration = baseDuration;
573
+ let scrollFriction = baseFriction;
574
+ let rawLocation = location.get();
575
+ let rawLocationPrevious = 0;
576
+ function seek(timeStep) {
577
+ const fixedDeltaTimeSeconds = timeStep / 1000;
578
+ const duration = scrollDuration * fixedDeltaTimeSeconds;
579
+ const diff = target.get() - location.get();
580
+ const isInstant = !scrollDuration;
581
+ let directionDiff = 0;
582
+ if (isInstant) {
583
+ bodyVelocity = 0;
584
+ previousLocation.set(target);
585
+ location.set(target);
586
+ directionDiff = diff;
587
+ } else {
588
+ previousLocation.set(location);
589
+ bodyVelocity += diff / duration;
590
+ bodyVelocity *= scrollFriction;
591
+ rawLocation += bodyVelocity;
592
+ location.add(bodyVelocity * fixedDeltaTimeSeconds);
593
+ directionDiff = rawLocation - rawLocationPrevious;
594
+ }
595
+ scrollDirection = mathSign(directionDiff);
596
+ rawLocationPrevious = rawLocation;
597
+ return self;
598
+ }
599
+ function settled() {
600
+ const diff = target.get() - offsetLocation.get();
601
+ return mathAbs(diff) < 0.001;
602
+ }
603
+ function duration() {
604
+ return scrollDuration;
605
+ }
606
+ function direction() {
607
+ return scrollDirection;
608
+ }
609
+ function velocity() {
610
+ return bodyVelocity;
611
+ }
612
+ function useBaseDuration() {
613
+ return useDuration(baseDuration);
614
+ }
615
+ function useBaseFriction() {
616
+ return useFriction(baseFriction);
617
+ }
618
+ function useDuration(n) {
619
+ scrollDuration = n;
620
+ return self;
621
+ }
622
+ function useFriction(n) {
623
+ scrollFriction = n;
624
+ return self;
625
+ }
626
+ const self = {
627
+ direction,
628
+ duration,
629
+ velocity,
630
+ seek,
631
+ settled,
632
+ useBaseFriction,
633
+ useBaseDuration,
634
+ useFriction,
635
+ useDuration
636
+ };
637
+ return self;
638
+ }
639
+
640
+ function ScrollBounds(limit, location, target, scrollBody, percentOfView) {
641
+ const pullBackThreshold = percentOfView.measure(10);
642
+ const edgeOffsetTolerance = percentOfView.measure(50);
643
+ const frictionLimit = Limit(0.1, 0.99);
644
+ let disabled = false;
645
+ function shouldConstrain() {
646
+ if (disabled) return false;
647
+ if (!limit.reachedAny(target.get())) return false;
648
+ if (!limit.reachedAny(location.get())) return false;
649
+ return true;
650
+ }
651
+ function constrain(pointerDown) {
652
+ if (!shouldConstrain()) return;
653
+ const edge = limit.reachedMin(location.get()) ? 'min' : 'max';
654
+ const diffToEdge = mathAbs(limit[edge] - location.get());
655
+ const diffToTarget = target.get() - location.get();
656
+ const friction = frictionLimit.constrain(diffToEdge / edgeOffsetTolerance);
657
+ target.subtract(diffToTarget * friction);
658
+ if (!pointerDown && mathAbs(diffToTarget) < pullBackThreshold) {
659
+ target.set(limit.constrain(target.get()));
660
+ scrollBody.useDuration(25).useBaseFriction();
661
+ }
662
+ }
663
+ function toggleActive(active) {
664
+ disabled = !active;
665
+ }
666
+ const self = {
667
+ shouldConstrain,
668
+ constrain,
669
+ toggleActive
670
+ };
671
+ return self;
672
+ }
673
+
674
+ function ScrollContain(viewSize, contentSize, snapsAligned, containScroll, pixelTolerance) {
675
+ const scrollBounds = Limit(-contentSize + viewSize, 0);
676
+ const snapsBounded = measureBounded();
677
+ const scrollContainLimit = findScrollContainLimit();
678
+ const snapsContained = measureContained();
679
+ function usePixelTolerance(bound, snap) {
680
+ return deltaAbs(bound, snap) < 1;
681
+ }
682
+ function findScrollContainLimit() {
683
+ const startSnap = snapsBounded[0];
684
+ const endSnap = arrayLast(snapsBounded);
685
+ const min = snapsBounded.lastIndexOf(startSnap);
686
+ const max = snapsBounded.indexOf(endSnap) + 1;
687
+ return Limit(min, max);
688
+ }
689
+ function measureBounded() {
690
+ return snapsAligned.map((snapAligned, index) => {
691
+ const {
692
+ min,
693
+ max
694
+ } = scrollBounds;
695
+ const snap = scrollBounds.constrain(snapAligned);
696
+ const isFirst = !index;
697
+ const isLast = arrayIsLastIndex(snapsAligned, index);
698
+ if (isFirst) return max;
699
+ if (isLast) return min;
700
+ if (usePixelTolerance(min, snap)) return min;
701
+ if (usePixelTolerance(max, snap)) return max;
702
+ return snap;
703
+ }).map(scrollBound => parseFloat(scrollBound.toFixed(3)));
704
+ }
705
+ function measureContained() {
706
+ if (contentSize <= viewSize + pixelTolerance) return [scrollBounds.max];
707
+ if (containScroll === 'keepSnaps') return snapsBounded;
708
+ const {
709
+ min,
710
+ max
711
+ } = scrollContainLimit;
712
+ return snapsBounded.slice(min, max);
713
+ }
714
+ const self = {
715
+ snapsContained,
716
+ scrollContainLimit
717
+ };
718
+ return self;
719
+ }
720
+
721
+ function ScrollLimit(contentSize, scrollSnaps, loop) {
722
+ const max = scrollSnaps[0];
723
+ const min = loop ? max - contentSize : arrayLast(scrollSnaps);
724
+ const limit = Limit(min, max);
725
+ const self = {
726
+ limit
727
+ };
728
+ return self;
729
+ }
730
+
731
+ function ScrollLooper(contentSize, limit, location, vectors) {
732
+ const jointSafety = 0.1;
733
+ const min = limit.min + jointSafety;
734
+ const max = limit.max + jointSafety;
735
+ const {
736
+ reachedMin,
737
+ reachedMax
738
+ } = Limit(min, max);
739
+ function shouldLoop(direction) {
740
+ if (direction === 1) return reachedMax(location.get());
741
+ if (direction === -1) return reachedMin(location.get());
742
+ return false;
743
+ }
744
+ function loop(direction) {
745
+ if (!shouldLoop(direction)) return;
746
+ const loopDistance = contentSize * (direction * -1);
747
+ vectors.forEach(v => v.add(loopDistance));
748
+ }
749
+ const self = {
750
+ loop
751
+ };
752
+ return self;
753
+ }
754
+
755
+ function ScrollProgress(limit) {
756
+ const {
757
+ max,
758
+ length
759
+ } = limit;
760
+ function get(n) {
761
+ const currentLocation = n - max;
762
+ return length ? currentLocation / -length : 0;
763
+ }
764
+ const self = {
765
+ get
766
+ };
767
+ return self;
768
+ }
769
+
770
+ function ScrollSnaps(axis, alignment, containerRect, slideRects, slidesToScroll) {
771
+ const {
772
+ startEdge,
773
+ endEdge
774
+ } = axis;
775
+ const {
776
+ groupSlides
777
+ } = slidesToScroll;
778
+ const alignments = measureSizes().map(alignment.measure);
779
+ const snaps = measureUnaligned();
780
+ const snapsAligned = measureAligned();
781
+ function measureSizes() {
782
+ return groupSlides(slideRects).map(rects => arrayLast(rects)[endEdge] - rects[0][startEdge]).map(mathAbs);
783
+ }
784
+ function measureUnaligned() {
785
+ return slideRects.map(rect => containerRect[startEdge] - rect[startEdge]).map(snap => -mathAbs(snap));
786
+ }
787
+ function measureAligned() {
788
+ return groupSlides(snaps).map(g => g[0]).map((snap, index) => snap + alignments[index]);
789
+ }
790
+ const self = {
791
+ snaps,
792
+ snapsAligned
793
+ };
794
+ return self;
795
+ }
796
+
797
+ function SlideRegistry(containSnaps, containScroll, scrollSnaps, scrollContainLimit, slidesToScroll, slideIndexes) {
798
+ const {
799
+ groupSlides
800
+ } = slidesToScroll;
801
+ const {
802
+ min,
803
+ max
804
+ } = scrollContainLimit;
805
+ const slideRegistry = createSlideRegistry();
806
+ function createSlideRegistry() {
807
+ const groupedSlideIndexes = groupSlides(slideIndexes);
808
+ const doNotContain = !containSnaps || containScroll === 'keepSnaps';
809
+ if (scrollSnaps.length === 1) return [slideIndexes];
810
+ if (doNotContain) return groupedSlideIndexes;
811
+ return groupedSlideIndexes.slice(min, max).map((group, index, groups) => {
812
+ const isFirst = !index;
813
+ const isLast = arrayIsLastIndex(groups, index);
814
+ if (isFirst) {
815
+ const range = arrayLast(groups[0]) + 1;
816
+ return arrayFromNumber(range);
817
+ }
818
+ if (isLast) {
819
+ const range = arrayLastIndex(slideIndexes) - arrayLast(groups)[0] + 1;
820
+ return arrayFromNumber(range, arrayLast(groups)[0]);
821
+ }
822
+ return group;
823
+ });
824
+ }
825
+ const self = {
826
+ slideRegistry
827
+ };
828
+ return self;
829
+ }
830
+
831
+ function ScrollTarget(loop, scrollSnaps, contentSize, limit, targetVector) {
832
+ const {
833
+ reachedAny,
834
+ removeOffset,
835
+ constrain
836
+ } = limit;
837
+ function minDistance(distances) {
838
+ return distances.concat().sort((a, b) => mathAbs(a) - mathAbs(b))[0];
839
+ }
840
+ function findTargetSnap(target) {
841
+ const distance = loop ? removeOffset(target) : constrain(target);
842
+ const ascDiffsToSnaps = scrollSnaps.map((snap, index) => ({
843
+ diff: shortcut(snap - distance, 0),
844
+ index
845
+ })).sort((d1, d2) => mathAbs(d1.diff) - mathAbs(d2.diff));
846
+ const {
847
+ index
848
+ } = ascDiffsToSnaps[0];
849
+ return {
850
+ index,
851
+ distance
852
+ };
853
+ }
854
+ function shortcut(target, direction) {
855
+ const targets = [target, target + contentSize, target - contentSize];
856
+ if (!loop) return target;
857
+ if (!direction) return minDistance(targets);
858
+ const matchingTargets = targets.filter(t => mathSign(t) === direction);
859
+ if (matchingTargets.length) return minDistance(matchingTargets);
860
+ return arrayLast(targets) - contentSize;
861
+ }
862
+ function byIndex(index, direction) {
863
+ const diffToSnap = scrollSnaps[index] - targetVector.get();
864
+ const distance = shortcut(diffToSnap, direction);
865
+ return {
866
+ index,
867
+ distance
868
+ };
869
+ }
870
+ function byDistance(distance, snap) {
871
+ const target = targetVector.get() + distance;
872
+ const {
873
+ index,
874
+ distance: targetSnapDistance
875
+ } = findTargetSnap(target);
876
+ const reachedBound = !loop && reachedAny(target);
877
+ if (!snap || reachedBound) return {
878
+ index,
879
+ distance
880
+ };
881
+ const diffToSnap = scrollSnaps[index] - targetSnapDistance;
882
+ const snapDistance = distance + shortcut(diffToSnap, 0);
883
+ return {
884
+ index,
885
+ distance: snapDistance
886
+ };
887
+ }
888
+ const self = {
889
+ byDistance,
890
+ byIndex,
891
+ shortcut
892
+ };
893
+ return self;
894
+ }
895
+
896
+ function ScrollTo(animation, indexCurrent, indexPrevious, scrollBody, scrollTarget, targetVector, eventHandler) {
897
+ function scrollTo(target) {
898
+ const distanceDiff = target.distance;
899
+ const indexDiff = target.index !== indexCurrent.get();
900
+ targetVector.add(distanceDiff);
901
+ if (distanceDiff) {
902
+ if (scrollBody.duration()) {
903
+ animation.start();
904
+ } else {
905
+ animation.update();
906
+ animation.render(1);
907
+ animation.update();
908
+ }
909
+ }
910
+ if (indexDiff) {
911
+ indexPrevious.set(indexCurrent.get());
912
+ indexCurrent.set(target.index);
913
+ eventHandler.emit('select');
914
+ }
915
+ }
916
+ function distance(n, snap) {
917
+ const target = scrollTarget.byDistance(n, snap);
918
+ scrollTo(target);
919
+ }
920
+ function index(n, direction) {
921
+ const targetIndex = indexCurrent.clone().set(n);
922
+ const target = scrollTarget.byIndex(targetIndex.get(), direction);
923
+ scrollTo(target);
924
+ }
925
+ const self = {
926
+ distance,
927
+ index
928
+ };
929
+ return self;
930
+ }
931
+
932
+ function SlideFocus(root, slides, slideRegistry, scrollTo, scrollBody, eventStore, eventHandler, watchFocus) {
933
+ const focusListenerOptions = {
934
+ passive: true,
935
+ capture: true
936
+ };
937
+ let lastTabPressTime = 0;
938
+ function init(emblaApi) {
939
+ if (!watchFocus) return;
940
+ function defaultCallback(index) {
941
+ const nowTime = new Date().getTime();
942
+ const diffTime = nowTime - lastTabPressTime;
943
+ if (diffTime > 10) return;
944
+ eventHandler.emit('slideFocusStart');
945
+ root.scrollLeft = 0;
946
+ const group = slideRegistry.findIndex(group => group.includes(index));
947
+ if (!isNumber(group)) return;
948
+ scrollBody.useDuration(0);
949
+ scrollTo.index(group, 0);
950
+ eventHandler.emit('slideFocus');
951
+ }
952
+ eventStore.add(document, 'keydown', registerTabPress, false);
953
+ slides.forEach((slide, slideIndex) => {
954
+ eventStore.add(slide, 'focus', evt => {
955
+ if (isBoolean(watchFocus) || watchFocus(emblaApi, evt)) {
956
+ defaultCallback(slideIndex);
957
+ }
958
+ }, focusListenerOptions);
959
+ });
960
+ }
961
+ function registerTabPress(event) {
962
+ if (event.code === 'Tab') lastTabPressTime = new Date().getTime();
963
+ }
964
+ const self = {
965
+ init
966
+ };
967
+ return self;
968
+ }
969
+
970
+ function Vector1D(initialValue) {
971
+ let value = initialValue;
972
+ function get() {
973
+ return value;
974
+ }
975
+ function set(n) {
976
+ value = normalizeInput(n);
977
+ }
978
+ function add(n) {
979
+ value += normalizeInput(n);
980
+ }
981
+ function subtract(n) {
982
+ value -= normalizeInput(n);
983
+ }
984
+ function normalizeInput(n) {
985
+ return isNumber(n) ? n : n.get();
986
+ }
987
+ const self = {
988
+ get,
989
+ set,
990
+ add,
991
+ subtract
992
+ };
993
+ return self;
994
+ }
995
+
996
+ function Translate(axis, container) {
997
+ const translate = axis.scroll === 'x' ? x : y;
998
+ const containerStyle = container.style;
999
+ let disabled = false;
1000
+ function x(n) {
1001
+ return `translate3d(${n}px,0px,0px)`;
1002
+ }
1003
+ function y(n) {
1004
+ return `translate3d(0px,${n}px,0px)`;
1005
+ }
1006
+ function to(target) {
1007
+ if (disabled) return;
1008
+ containerStyle.transform = translate(axis.direction(target));
1009
+ }
1010
+ function toggleActive(active) {
1011
+ disabled = !active;
1012
+ }
1013
+ function clear() {
1014
+ if (disabled) return;
1015
+ containerStyle.transform = '';
1016
+ if (!container.getAttribute('style')) container.removeAttribute('style');
1017
+ }
1018
+ const self = {
1019
+ clear,
1020
+ to,
1021
+ toggleActive
1022
+ };
1023
+ return self;
1024
+ }
1025
+
1026
+ function SlideLooper(axis, viewSize, contentSize, slideSizes, slideSizesWithGaps, snaps, scrollSnaps, location, slides) {
1027
+ const roundingSafety = 0.5;
1028
+ const ascItems = arrayKeys(slideSizesWithGaps);
1029
+ const descItems = arrayKeys(slideSizesWithGaps).reverse();
1030
+ const loopPoints = startPoints().concat(endPoints());
1031
+ function removeSlideSizes(indexes, from) {
1032
+ return indexes.reduce((a, i) => {
1033
+ return a - slideSizesWithGaps[i];
1034
+ }, from);
1035
+ }
1036
+ function slidesInGap(indexes, gap) {
1037
+ return indexes.reduce((a, i) => {
1038
+ const remainingGap = removeSlideSizes(a, gap);
1039
+ return remainingGap > 0 ? a.concat([i]) : a;
1040
+ }, []);
1041
+ }
1042
+ function findSlideBounds(offset) {
1043
+ return snaps.map((snap, index) => ({
1044
+ start: snap - slideSizes[index] + roundingSafety + offset,
1045
+ end: snap + viewSize - roundingSafety + offset
1046
+ }));
1047
+ }
1048
+ function findLoopPoints(indexes, offset, isEndEdge) {
1049
+ const slideBounds = findSlideBounds(offset);
1050
+ return indexes.map(index => {
1051
+ const initial = isEndEdge ? 0 : -contentSize;
1052
+ const altered = isEndEdge ? contentSize : 0;
1053
+ const boundEdge = isEndEdge ? 'end' : 'start';
1054
+ const loopPoint = slideBounds[index][boundEdge];
1055
+ return {
1056
+ index,
1057
+ loopPoint,
1058
+ slideLocation: Vector1D(-1),
1059
+ translate: Translate(axis, slides[index]),
1060
+ target: () => location.get() > loopPoint ? initial : altered
1061
+ };
1062
+ });
1063
+ }
1064
+ function startPoints() {
1065
+ const gap = scrollSnaps[0];
1066
+ const indexes = slidesInGap(descItems, gap);
1067
+ return findLoopPoints(indexes, contentSize, false);
1068
+ }
1069
+ function endPoints() {
1070
+ const gap = viewSize - scrollSnaps[0] - 1;
1071
+ const indexes = slidesInGap(ascItems, gap);
1072
+ return findLoopPoints(indexes, -contentSize, true);
1073
+ }
1074
+ function canLoop() {
1075
+ return loopPoints.every(({
1076
+ index
1077
+ }) => {
1078
+ const otherIndexes = ascItems.filter(i => i !== index);
1079
+ return removeSlideSizes(otherIndexes, viewSize) <= 0.1;
1080
+ });
1081
+ }
1082
+ function loop() {
1083
+ loopPoints.forEach(loopPoint => {
1084
+ const {
1085
+ target,
1086
+ translate,
1087
+ slideLocation
1088
+ } = loopPoint;
1089
+ const shiftLocation = target();
1090
+ if (shiftLocation === slideLocation.get()) return;
1091
+ translate.to(shiftLocation);
1092
+ slideLocation.set(shiftLocation);
1093
+ });
1094
+ }
1095
+ function clear() {
1096
+ loopPoints.forEach(loopPoint => loopPoint.translate.clear());
1097
+ }
1098
+ const self = {
1099
+ canLoop,
1100
+ clear,
1101
+ loop,
1102
+ loopPoints
1103
+ };
1104
+ return self;
1105
+ }
1106
+
1107
+ function SlidesHandler(container, eventHandler, watchSlides) {
1108
+ let mutationObserver;
1109
+ let destroyed = false;
1110
+ function init(emblaApi) {
1111
+ if (!watchSlides) return;
1112
+ function defaultCallback(mutations) {
1113
+ for (const mutation of mutations) {
1114
+ if (mutation.type === 'childList') {
1115
+ emblaApi.reInit();
1116
+ eventHandler.emit('slidesChanged');
1117
+ break;
1118
+ }
1119
+ }
1120
+ }
1121
+ mutationObserver = new MutationObserver(mutations => {
1122
+ if (destroyed) return;
1123
+ if (isBoolean(watchSlides) || watchSlides(emblaApi, mutations)) {
1124
+ defaultCallback(mutations);
1125
+ }
1126
+ });
1127
+ mutationObserver.observe(container, {
1128
+ childList: true
1129
+ });
1130
+ }
1131
+ function destroy() {
1132
+ if (mutationObserver) mutationObserver.disconnect();
1133
+ destroyed = true;
1134
+ }
1135
+ const self = {
1136
+ init,
1137
+ destroy
1138
+ };
1139
+ return self;
1140
+ }
1141
+
1142
+ function SlidesInView(container, slides, eventHandler, threshold) {
1143
+ const intersectionEntryMap = {};
1144
+ let inViewCache = null;
1145
+ let notInViewCache = null;
1146
+ let intersectionObserver;
1147
+ let destroyed = false;
1148
+ function init() {
1149
+ intersectionObserver = new IntersectionObserver(entries => {
1150
+ if (destroyed) return;
1151
+ entries.forEach(entry => {
1152
+ const index = slides.indexOf(entry.target);
1153
+ intersectionEntryMap[index] = entry;
1154
+ });
1155
+ inViewCache = null;
1156
+ notInViewCache = null;
1157
+ eventHandler.emit('slidesInView');
1158
+ }, {
1159
+ root: container.parentElement,
1160
+ threshold
1161
+ });
1162
+ slides.forEach(slide => intersectionObserver.observe(slide));
1163
+ }
1164
+ function destroy() {
1165
+ if (intersectionObserver) intersectionObserver.disconnect();
1166
+ destroyed = true;
1167
+ }
1168
+ function createInViewList(inView) {
1169
+ return objectKeys(intersectionEntryMap).reduce((list, slideIndex) => {
1170
+ const index = parseInt(slideIndex);
1171
+ const {
1172
+ isIntersecting
1173
+ } = intersectionEntryMap[index];
1174
+ const inViewMatch = inView && isIntersecting;
1175
+ const notInViewMatch = !inView && !isIntersecting;
1176
+ if (inViewMatch || notInViewMatch) list.push(index);
1177
+ return list;
1178
+ }, []);
1179
+ }
1180
+ function get(inView = true) {
1181
+ if (inView && inViewCache) return inViewCache;
1182
+ if (!inView && notInViewCache) return notInViewCache;
1183
+ const slideIndexes = createInViewList(inView);
1184
+ if (inView) inViewCache = slideIndexes;
1185
+ if (!inView) notInViewCache = slideIndexes;
1186
+ return slideIndexes;
1187
+ }
1188
+ const self = {
1189
+ init,
1190
+ destroy,
1191
+ get
1192
+ };
1193
+ return self;
1194
+ }
1195
+
1196
+ function SlideSizes(axis, containerRect, slideRects, slides, readEdgeGap, ownerWindow) {
1197
+ const {
1198
+ measureSize,
1199
+ startEdge,
1200
+ endEdge
1201
+ } = axis;
1202
+ const withEdgeGap = slideRects[0] && readEdgeGap;
1203
+ const startGap = measureStartGap();
1204
+ const endGap = measureEndGap();
1205
+ const slideSizes = slideRects.map(measureSize);
1206
+ const slideSizesWithGaps = measureWithGaps();
1207
+ function measureStartGap() {
1208
+ if (!withEdgeGap) return 0;
1209
+ const slideRect = slideRects[0];
1210
+ return mathAbs(containerRect[startEdge] - slideRect[startEdge]);
1211
+ }
1212
+ function measureEndGap() {
1213
+ if (!withEdgeGap) return 0;
1214
+ const style = ownerWindow.getComputedStyle(arrayLast(slides));
1215
+ return parseFloat(style.getPropertyValue(`margin-${endEdge}`));
1216
+ }
1217
+ function measureWithGaps() {
1218
+ return slideRects.map((rect, index, rects) => {
1219
+ const isFirst = !index;
1220
+ const isLast = arrayIsLastIndex(rects, index);
1221
+ if (isFirst) return slideSizes[index] + startGap;
1222
+ if (isLast) return slideSizes[index] + endGap;
1223
+ return rects[index + 1][startEdge] - rect[startEdge];
1224
+ }).map(mathAbs);
1225
+ }
1226
+ const self = {
1227
+ slideSizes,
1228
+ slideSizesWithGaps,
1229
+ startGap,
1230
+ endGap
1231
+ };
1232
+ return self;
1233
+ }
1234
+
1235
+ function SlidesToScroll(axis, viewSize, slidesToScroll, loop, containerRect, slideRects, startGap, endGap, pixelTolerance) {
1236
+ const {
1237
+ startEdge,
1238
+ endEdge,
1239
+ direction
1240
+ } = axis;
1241
+ const groupByNumber = isNumber(slidesToScroll);
1242
+ function byNumber(array, groupSize) {
1243
+ return arrayKeys(array).filter(i => i % groupSize === 0).map(i => array.slice(i, i + groupSize));
1244
+ }
1245
+ function bySize(array) {
1246
+ if (!array.length) return [];
1247
+ return arrayKeys(array).reduce((groups, rectB, index) => {
1248
+ const rectA = arrayLast(groups) || 0;
1249
+ const isFirst = rectA === 0;
1250
+ const isLast = rectB === arrayLastIndex(array);
1251
+ const edgeA = containerRect[startEdge] - slideRects[rectA][startEdge];
1252
+ const edgeB = containerRect[startEdge] - slideRects[rectB][endEdge];
1253
+ const gapA = !loop && isFirst ? direction(startGap) : 0;
1254
+ const gapB = !loop && isLast ? direction(endGap) : 0;
1255
+ const chunkSize = mathAbs(edgeB - gapB - (edgeA + gapA));
1256
+ if (index && chunkSize > viewSize + pixelTolerance) groups.push(rectB);
1257
+ if (isLast) groups.push(array.length);
1258
+ return groups;
1259
+ }, []).map((currentSize, index, groups) => {
1260
+ const previousSize = Math.max(groups[index - 1] || 0);
1261
+ return array.slice(previousSize, currentSize);
1262
+ });
1263
+ }
1264
+ function groupSlides(array) {
1265
+ return groupByNumber ? byNumber(array, slidesToScroll) : bySize(array);
1266
+ }
1267
+ const self = {
1268
+ groupSlides
1269
+ };
1270
+ return self;
1271
+ }
1272
+
1273
+ function Engine(root, container, slides, ownerDocument, ownerWindow, options, eventHandler) {
1274
+ // Options
1275
+ const {
1276
+ align,
1277
+ axis: scrollAxis,
1278
+ direction,
1279
+ startIndex,
1280
+ loop,
1281
+ duration,
1282
+ dragFree,
1283
+ dragThreshold,
1284
+ inViewThreshold,
1285
+ slidesToScroll: groupSlides,
1286
+ skipSnaps,
1287
+ containScroll,
1288
+ watchResize,
1289
+ watchSlides,
1290
+ watchDrag,
1291
+ watchFocus
1292
+ } = options;
1293
+ // Measurements
1294
+ const pixelTolerance = 2;
1295
+ const nodeRects = NodeRects();
1296
+ const containerRect = nodeRects.measure(container);
1297
+ const slideRects = slides.map(nodeRects.measure);
1298
+ const axis = Axis(scrollAxis, direction);
1299
+ const viewSize = axis.measureSize(containerRect);
1300
+ const percentOfView = PercentOfView(viewSize);
1301
+ const alignment = Alignment(align, viewSize);
1302
+ const containSnaps = !loop && !!containScroll;
1303
+ const readEdgeGap = loop || !!containScroll;
1304
+ const {
1305
+ slideSizes,
1306
+ slideSizesWithGaps,
1307
+ startGap,
1308
+ endGap
1309
+ } = SlideSizes(axis, containerRect, slideRects, slides, readEdgeGap, ownerWindow);
1310
+ const slidesToScroll = SlidesToScroll(axis, viewSize, groupSlides, loop, containerRect, slideRects, startGap, endGap, pixelTolerance);
1311
+ const {
1312
+ snaps,
1313
+ snapsAligned
1314
+ } = ScrollSnaps(axis, alignment, containerRect, slideRects, slidesToScroll);
1315
+ const contentSize = -arrayLast(snaps) + arrayLast(slideSizesWithGaps);
1316
+ const {
1317
+ snapsContained,
1318
+ scrollContainLimit
1319
+ } = ScrollContain(viewSize, contentSize, snapsAligned, containScroll, pixelTolerance);
1320
+ const scrollSnaps = containSnaps ? snapsContained : snapsAligned;
1321
+ const {
1322
+ limit
1323
+ } = ScrollLimit(contentSize, scrollSnaps, loop);
1324
+ // Indexes
1325
+ const index = Counter(arrayLastIndex(scrollSnaps), startIndex, loop);
1326
+ const indexPrevious = index.clone();
1327
+ const slideIndexes = arrayKeys(slides);
1328
+ // Animation
1329
+ const update = ({
1330
+ dragHandler,
1331
+ scrollBody,
1332
+ scrollBounds,
1333
+ options: {
1334
+ loop
1335
+ }
1336
+ }, timeStep) => {
1337
+ if (!loop) scrollBounds.constrain(dragHandler.pointerDown());
1338
+ scrollBody.seek(timeStep);
1339
+ };
1340
+ const render = ({
1341
+ scrollBody,
1342
+ translate,
1343
+ location,
1344
+ offsetLocation,
1345
+ scrollLooper,
1346
+ slideLooper,
1347
+ dragHandler,
1348
+ animation,
1349
+ eventHandler,
1350
+ scrollBounds,
1351
+ options: {
1352
+ loop
1353
+ }
1354
+ }, lagOffset) => {
1355
+ const shouldSettle = scrollBody.settled();
1356
+ const withinBounds = !scrollBounds.shouldConstrain();
1357
+ const hasSettled = loop ? shouldSettle : shouldSettle && withinBounds;
1358
+ if (hasSettled && !dragHandler.pointerDown()) {
1359
+ animation.stop();
1360
+ eventHandler.emit('settle');
1361
+ }
1362
+ if (!hasSettled) eventHandler.emit('scroll');
1363
+ const interpolatedLocation = location.get() * lagOffset + previousLocation.get() * (1 - lagOffset);
1364
+ offsetLocation.set(interpolatedLocation);
1365
+ if (loop) {
1366
+ scrollLooper.loop(scrollBody.direction());
1367
+ slideLooper.loop();
1368
+ }
1369
+ translate.to(offsetLocation.get());
1370
+ };
1371
+ const animation = Animations(ownerDocument, ownerWindow, timeStep => update(engine, timeStep), lagOffset => render(engine, lagOffset));
1372
+ // Shared
1373
+ const friction = 0.68;
1374
+ const startLocation = scrollSnaps[index.get()];
1375
+ const location = Vector1D(startLocation);
1376
+ const previousLocation = Vector1D(startLocation);
1377
+ const offsetLocation = Vector1D(startLocation);
1378
+ const target = Vector1D(startLocation);
1379
+ const scrollBody = ScrollBody(location, offsetLocation, previousLocation, target, duration, friction);
1380
+ const scrollTarget = ScrollTarget(loop, scrollSnaps, contentSize, limit, target);
1381
+ const scrollTo = ScrollTo(animation, index, indexPrevious, scrollBody, scrollTarget, target, eventHandler);
1382
+ const scrollProgress = ScrollProgress(limit);
1383
+ const eventStore = EventStore();
1384
+ const slidesInView = SlidesInView(container, slides, eventHandler, inViewThreshold);
1385
+ const {
1386
+ slideRegistry
1387
+ } = SlideRegistry(containSnaps, containScroll, scrollSnaps, scrollContainLimit, slidesToScroll, slideIndexes);
1388
+ const slideFocus = SlideFocus(root, slides, slideRegistry, scrollTo, scrollBody, eventStore, eventHandler, watchFocus);
1389
+ // Engine
1390
+ const engine = {
1391
+ ownerDocument,
1392
+ ownerWindow,
1393
+ eventHandler,
1394
+ containerRect,
1395
+ slideRects,
1396
+ animation,
1397
+ axis,
1398
+ dragHandler: DragHandler(axis, root, ownerDocument, ownerWindow, target, DragTracker(axis, ownerWindow), location, animation, scrollTo, scrollBody, scrollTarget, index, eventHandler, percentOfView, dragFree, dragThreshold, skipSnaps, friction, watchDrag),
1399
+ eventStore,
1400
+ percentOfView,
1401
+ index,
1402
+ indexPrevious,
1403
+ limit,
1404
+ location,
1405
+ offsetLocation,
1406
+ previousLocation,
1407
+ options,
1408
+ resizeHandler: ResizeHandler(container, eventHandler, ownerWindow, slides, axis, watchResize, nodeRects),
1409
+ scrollBody,
1410
+ scrollBounds: ScrollBounds(limit, offsetLocation, target, scrollBody, percentOfView),
1411
+ scrollLooper: ScrollLooper(contentSize, limit, offsetLocation, [location, offsetLocation, previousLocation, target]),
1412
+ scrollProgress,
1413
+ scrollSnapList: scrollSnaps.map(scrollProgress.get),
1414
+ scrollSnaps,
1415
+ scrollTarget,
1416
+ scrollTo,
1417
+ slideLooper: SlideLooper(axis, viewSize, contentSize, slideSizes, slideSizesWithGaps, snaps, scrollSnaps, offsetLocation, slides),
1418
+ slideFocus,
1419
+ slidesHandler: SlidesHandler(container, eventHandler, watchSlides),
1420
+ slidesInView,
1421
+ slideIndexes,
1422
+ slideRegistry,
1423
+ slidesToScroll,
1424
+ target,
1425
+ translate: Translate(axis, container)
1426
+ };
1427
+ return engine;
1428
+ }
1429
+
1430
+ function EventHandler() {
1431
+ let listeners = {};
1432
+ let api;
1433
+ function init(emblaApi) {
1434
+ api = emblaApi;
1435
+ }
1436
+ function getListeners(evt) {
1437
+ return listeners[evt] || [];
1438
+ }
1439
+ function emit(evt) {
1440
+ getListeners(evt).forEach(e => e(api, evt));
1441
+ return self;
1442
+ }
1443
+ function on(evt, cb) {
1444
+ listeners[evt] = getListeners(evt).concat([cb]);
1445
+ return self;
1446
+ }
1447
+ function off(evt, cb) {
1448
+ listeners[evt] = getListeners(evt).filter(e => e !== cb);
1449
+ return self;
1450
+ }
1451
+ function clear() {
1452
+ listeners = {};
1453
+ }
1454
+ const self = {
1455
+ init,
1456
+ emit,
1457
+ off,
1458
+ on,
1459
+ clear
1460
+ };
1461
+ return self;
1462
+ }
1463
+
1464
+ const defaultOptions = {
1465
+ align: 'center',
1466
+ axis: 'x',
1467
+ container: null,
1468
+ slides: null,
1469
+ containScroll: 'trimSnaps',
1470
+ direction: 'ltr',
1471
+ slidesToScroll: 1,
1472
+ inViewThreshold: 0,
1473
+ breakpoints: {},
1474
+ dragFree: false,
1475
+ dragThreshold: 10,
1476
+ loop: false,
1477
+ skipSnaps: false,
1478
+ duration: 25,
1479
+ startIndex: 0,
1480
+ active: true,
1481
+ watchDrag: true,
1482
+ watchResize: true,
1483
+ watchSlides: true,
1484
+ watchFocus: true
1485
+ };
1486
+
1487
+ function OptionsHandler(ownerWindow) {
1488
+ function mergeOptions(optionsA, optionsB) {
1489
+ return objectsMergeDeep(optionsA, optionsB || {});
1490
+ }
1491
+ function optionsAtMedia(options) {
1492
+ const optionsAtMedia = options.breakpoints || {};
1493
+ const matchedMediaOptions = objectKeys(optionsAtMedia).filter(media => ownerWindow.matchMedia(media).matches).map(media => optionsAtMedia[media]).reduce((a, mediaOption) => mergeOptions(a, mediaOption), {});
1494
+ return mergeOptions(options, matchedMediaOptions);
1495
+ }
1496
+ function optionsMediaQueries(optionsList) {
1497
+ return optionsList.map(options => objectKeys(options.breakpoints || {})).reduce((acc, mediaQueries) => acc.concat(mediaQueries), []).map(ownerWindow.matchMedia);
1498
+ }
1499
+ const self = {
1500
+ mergeOptions,
1501
+ optionsAtMedia,
1502
+ optionsMediaQueries
1503
+ };
1504
+ return self;
1505
+ }
1506
+
1507
+ function PluginsHandler(optionsHandler) {
1508
+ let activePlugins = [];
1509
+ function init(emblaApi, plugins) {
1510
+ activePlugins = plugins.filter(({
1511
+ options
1512
+ }) => optionsHandler.optionsAtMedia(options).active !== false);
1513
+ activePlugins.forEach(plugin => plugin.init(emblaApi, optionsHandler));
1514
+ return plugins.reduce((map, plugin) => Object.assign(map, {
1515
+ [plugin.name]: plugin
1516
+ }), {});
1517
+ }
1518
+ function destroy() {
1519
+ activePlugins = activePlugins.filter(plugin => plugin.destroy());
1520
+ }
1521
+ const self = {
1522
+ init,
1523
+ destroy
1524
+ };
1525
+ return self;
1526
+ }
1527
+
1528
+ function EmblaCarousel(root, userOptions, userPlugins) {
1529
+ const ownerDocument = root.ownerDocument;
1530
+ const ownerWindow = ownerDocument.defaultView;
1531
+ const optionsHandler = OptionsHandler(ownerWindow);
1532
+ const pluginsHandler = PluginsHandler(optionsHandler);
1533
+ const mediaHandlers = EventStore();
1534
+ const eventHandler = EventHandler();
1535
+ const {
1536
+ mergeOptions,
1537
+ optionsAtMedia,
1538
+ optionsMediaQueries
1539
+ } = optionsHandler;
1540
+ const {
1541
+ on,
1542
+ off,
1543
+ emit
1544
+ } = eventHandler;
1545
+ const reInit = reActivate;
1546
+ let destroyed = false;
1547
+ let engine;
1548
+ let optionsBase = mergeOptions(defaultOptions, EmblaCarousel.globalOptions);
1549
+ let options = mergeOptions(optionsBase);
1550
+ let pluginList = [];
1551
+ let pluginApis;
1552
+ let container;
1553
+ let slides;
1554
+ function storeElements() {
1555
+ const {
1556
+ container: userContainer,
1557
+ slides: userSlides
1558
+ } = options;
1559
+ const customContainer = isString(userContainer) ? root.querySelector(userContainer) : userContainer;
1560
+ container = customContainer || root.children[0];
1561
+ const customSlides = isString(userSlides) ? container.querySelectorAll(userSlides) : userSlides;
1562
+ slides = [].slice.call(customSlides || container.children);
1563
+ }
1564
+ function createEngine(options) {
1565
+ const engine = Engine(root, container, slides, ownerDocument, ownerWindow, options, eventHandler);
1566
+ if (options.loop && !engine.slideLooper.canLoop()) {
1567
+ const optionsWithoutLoop = Object.assign({}, options, {
1568
+ loop: false
1569
+ });
1570
+ return createEngine(optionsWithoutLoop);
1571
+ }
1572
+ return engine;
1573
+ }
1574
+ function activate(withOptions, withPlugins) {
1575
+ if (destroyed) return;
1576
+ optionsBase = mergeOptions(optionsBase, withOptions);
1577
+ options = optionsAtMedia(optionsBase);
1578
+ pluginList = withPlugins || pluginList;
1579
+ storeElements();
1580
+ engine = createEngine(options);
1581
+ optionsMediaQueries([optionsBase, ...pluginList.map(({
1582
+ options
1583
+ }) => options)]).forEach(query => mediaHandlers.add(query, 'change', reActivate));
1584
+ if (!options.active) return;
1585
+ engine.translate.to(engine.location.get());
1586
+ engine.animation.init();
1587
+ engine.slidesInView.init();
1588
+ engine.slideFocus.init(self);
1589
+ engine.eventHandler.init(self);
1590
+ engine.resizeHandler.init(self);
1591
+ engine.slidesHandler.init(self);
1592
+ if (engine.options.loop) engine.slideLooper.loop();
1593
+ if (container.offsetParent && slides.length) engine.dragHandler.init(self);
1594
+ pluginApis = pluginsHandler.init(self, pluginList);
1595
+ }
1596
+ function reActivate(withOptions, withPlugins) {
1597
+ const startIndex = selectedScrollSnap();
1598
+ deActivate();
1599
+ activate(mergeOptions({
1600
+ startIndex
1601
+ }, withOptions), withPlugins);
1602
+ eventHandler.emit('reInit');
1603
+ }
1604
+ function deActivate() {
1605
+ engine.dragHandler.destroy();
1606
+ engine.eventStore.clear();
1607
+ engine.translate.clear();
1608
+ engine.slideLooper.clear();
1609
+ engine.resizeHandler.destroy();
1610
+ engine.slidesHandler.destroy();
1611
+ engine.slidesInView.destroy();
1612
+ engine.animation.destroy();
1613
+ pluginsHandler.destroy();
1614
+ mediaHandlers.clear();
1615
+ }
1616
+ function destroy() {
1617
+ if (destroyed) return;
1618
+ destroyed = true;
1619
+ mediaHandlers.clear();
1620
+ deActivate();
1621
+ eventHandler.emit('destroy');
1622
+ eventHandler.clear();
1623
+ }
1624
+ function scrollTo(index, jump, direction) {
1625
+ if (!options.active || destroyed) return;
1626
+ engine.scrollBody.useBaseFriction().useDuration(jump === true ? 0 : options.duration);
1627
+ engine.scrollTo.index(index, direction || 0);
1628
+ }
1629
+ function scrollNext(jump) {
1630
+ const next = engine.index.add(1).get();
1631
+ scrollTo(next, jump, -1);
1632
+ }
1633
+ function scrollPrev(jump) {
1634
+ const prev = engine.index.add(-1).get();
1635
+ scrollTo(prev, jump, 1);
1636
+ }
1637
+ function canScrollNext() {
1638
+ const next = engine.index.add(1).get();
1639
+ return next !== selectedScrollSnap();
1640
+ }
1641
+ function canScrollPrev() {
1642
+ const prev = engine.index.add(-1).get();
1643
+ return prev !== selectedScrollSnap();
1644
+ }
1645
+ function scrollSnapList() {
1646
+ return engine.scrollSnapList;
1647
+ }
1648
+ function scrollProgress() {
1649
+ return engine.scrollProgress.get(engine.location.get());
1650
+ }
1651
+ function selectedScrollSnap() {
1652
+ return engine.index.get();
1653
+ }
1654
+ function previousScrollSnap() {
1655
+ return engine.indexPrevious.get();
1656
+ }
1657
+ function slidesInView() {
1658
+ return engine.slidesInView.get();
1659
+ }
1660
+ function slidesNotInView() {
1661
+ return engine.slidesInView.get(false);
1662
+ }
1663
+ function plugins() {
1664
+ return pluginApis;
1665
+ }
1666
+ function internalEngine() {
1667
+ return engine;
1668
+ }
1669
+ function rootNode() {
1670
+ return root;
1671
+ }
1672
+ function containerNode() {
1673
+ return container;
1674
+ }
1675
+ function slideNodes() {
1676
+ return slides;
1677
+ }
1678
+ const self = {
1679
+ canScrollNext,
1680
+ canScrollPrev,
1681
+ containerNode,
1682
+ internalEngine,
1683
+ destroy,
1684
+ off,
1685
+ on,
1686
+ emit,
1687
+ plugins,
1688
+ previousScrollSnap,
1689
+ reInit,
1690
+ rootNode,
1691
+ scrollNext,
1692
+ scrollPrev,
1693
+ scrollProgress,
1694
+ scrollSnapList,
1695
+ scrollTo,
1696
+ selectedScrollSnap,
1697
+ slideNodes,
1698
+ slidesInView,
1699
+ slidesNotInView
1700
+ };
1701
+ activate(userOptions, userPlugins);
1702
+ setTimeout(() => eventHandler.emit('init'), 0);
1703
+ return self;
1704
+ }
1705
+ EmblaCarousel.globalOptions = undefined;
1706
+
1707
+ function useEmblaCarousel(options = {}, plugins = []) {
1708
+ const storedOptions = useRef(options);
1709
+ const storedPlugins = useRef(plugins);
1710
+ const [emblaApi, setEmblaApi] = useState();
1711
+ const [viewport, setViewport] = useState();
1712
+ const reInit = useCallback(() => {
1713
+ if (emblaApi) emblaApi.reInit(storedOptions.current, storedPlugins.current);
1714
+ }, [emblaApi]);
1715
+ useEffect(() => {
1716
+ if (areOptionsEqual(storedOptions.current, options)) return;
1717
+ storedOptions.current = options;
1718
+ reInit();
1719
+ }, [options, reInit]);
1720
+ useEffect(() => {
1721
+ if (arePluginsEqual(storedPlugins.current, plugins)) return;
1722
+ storedPlugins.current = plugins;
1723
+ reInit();
1724
+ }, [plugins, reInit]);
1725
+ useEffect(() => {
1726
+ if (canUseDOM() && viewport) {
1727
+ EmblaCarousel.globalOptions = useEmblaCarousel.globalOptions;
1728
+ const newEmblaApi = EmblaCarousel(viewport, storedOptions.current, storedPlugins.current);
1729
+ setEmblaApi(newEmblaApi);
1730
+ return () => newEmblaApi.destroy();
1731
+ } else {
1732
+ setEmblaApi(undefined);
1733
+ }
1734
+ }, [viewport, setEmblaApi]);
1735
+ return [setViewport, emblaApi];
1736
+ }
1737
+ useEmblaCarousel.globalOptions = undefined;
1738
+
1739
+ var XS_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXs, ")");
1740
+ var S_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsS, ")");
1741
+ var M_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsM, ")");
1742
+ var L_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsL, ")");
1743
+ var XL_BREAKPOINT = "(min-width: ".concat(ArcSizeBreakpointsXl, ")");
1744
+
1745
+ var getOptions = function (itemsToScroll, loop, responsive) {
1746
+ var breakpoints = [
1747
+ [XS_BREAKPOINT, "xs"],
1748
+ [S_BREAKPOINT, "s"],
1749
+ [M_BREAKPOINT, "m"],
1750
+ [L_BREAKPOINT, "l"],
1751
+ [XL_BREAKPOINT, "xl"],
1752
+ ];
1753
+ var breakpointOptions = breakpoints.reduce(function (acc, _a) {
1754
+ var _b;
1755
+ var _c;
1756
+ var query = _a[0], breakpoint = _a[1];
1757
+ return __assign(__assign({}, acc), __assign({}, ((responsive === null || responsive === void 0 ? void 0 : responsive[breakpoint])
1758
+ ? (_b = {},
1759
+ _b[query] = {
1760
+ slidesToScroll: (_c = responsive === null || responsive === void 0 ? void 0 : responsive[breakpoint]) === null || _c === void 0 ? void 0 : _c.itemsToScroll,
1761
+ },
1762
+ _b) : {})));
1763
+ }, {});
1764
+ return {
1765
+ loop: loop,
1766
+ skipSnaps: true,
1767
+ align: "start",
1768
+ slidesToScroll: itemsToScroll,
1769
+ breakpoints: breakpointOptions,
1770
+ };
1771
+ };
1772
+
1773
+ var getSlideWidth = function (_a) {
1774
+ var screenSizes = _a.screenSizes, itemsPerSlide = _a.itemsPerSlide, isPartialVisible = _a.isPartialVisible, responsive = _a.responsive, children = _a.children;
1775
+ var responsiveConfig = responsive &&
1776
+ Object.keys(screenSizes).find(function (size) {
1777
+ return responsive && screenSizes[size] && responsive[size];
1778
+ });
1779
+ var slideConfig = responsiveConfig
1780
+ ? responsive[responsiveConfig]
1781
+ : { itemsPerSlide: itemsPerSlide, isPartialVisible: isPartialVisible };
1782
+ var totalItems = React__default.Children.count(children);
1783
+ var itemsPerView = slideConfig.itemsPerSlide > totalItems
1784
+ ? 1
1785
+ : Math.max(1, slideConfig.itemsPerSlide);
1786
+ var widthAdjustment = slideConfig.isPartialVisible ? 10 : 0;
1787
+ return (100 - widthAdjustment) / itemsPerView;
1788
+ };
1789
+
1790
+ var CarouselDotButton = function (_a) {
1791
+ var visibleSlideIndex = _a.visibleSlideIndex, scrollSnapIndex = _a.scrollSnapIndex, focusIndex = _a.focusIndex, onKeyDown = _a.onKeyDown, onClick = _a.onClick;
1792
+ var ref = useRef(null);
1793
+ var isSelected = visibleSlideIndex === scrollSnapIndex;
1794
+ useEffect(function () {
1795
+ var _a;
1796
+ if (focusIndex === scrollSnapIndex) {
1797
+ (_a = ref.current) === null || _a === void 0 ? void 0 : _a.focus();
1798
+ }
1799
+ }, [focusIndex, scrollSnapIndex]);
1800
+ return (React__default.createElement("button", { ref: ref, tabIndex: scrollSnapIndex === 0 ? 0 : -1, className: classNames("arc-Carousel-dot", {
1801
+ "arc-Carousel-dot--selected": isSelected,
1802
+ }), onKeyDown: onKeyDown(scrollSnapIndex), onClick: function () { return onClick(scrollSnapIndex); }, "aria-selected": isSelected, role: "tab", "aria-label": "Show slide ".concat(scrollSnapIndex + 1) }));
1803
+ };
1804
+
1805
+ var KeyNames;
1806
+ (function (KeyNames) {
1807
+ KeyNames["ArrowLeft"] = "ArrowLeft";
1808
+ KeyNames["ArrowRight"] = "ArrowRight";
1809
+ KeyNames["Escape"] = "Escape";
1810
+ })(KeyNames || (KeyNames = {}));
1811
+
1812
+ var Carousel = function (_a) {
1813
+ var children = _a.children, responsive = _a.responsive, _b = _a.itemsToScroll, itemsToScroll = _b === void 0 ? 1 : _b, _c = _a.itemsPerSlide, itemsPerSlide = _c === void 0 ? 1 : _c, _d = _a.withGutter, withGutter = _d === void 0 ? true : _d, _e = _a.loop, loop = _e === void 0 ? false : _e, _f = _a.isPartialVisible, isPartialVisible = _f === void 0 ? false : _f;
1814
+ var id = useId();
1815
+ var _g = useEmblaCarousel(getOptions(itemsToScroll, loop, responsive)), emblaRef = _g[0], emblaApi = _g[1];
1816
+ var _h = useState(), dotButtonFocusIndex = _h[0], setCarouselDotButtonFocusIndex = _h[1];
1817
+ var prevButtonRef = useRef(null);
1818
+ var _j = useState(0), visibleSlideIndex = _j[0], setVisibleSlideIndex = _j[1];
1819
+ var _k = useState(true), prevButtonEnabled = _k[0], setPrevButtonEnabled = _k[1];
1820
+ var _l = useState(true), nextButtonEnabled = _l[0], setNextButtonEnabled = _l[1];
1821
+ var isMinWidthArcBreakpointXs = useMediaQuery(XS_BREAKPOINT);
1822
+ var isMinWidthArcBreakpointS = useMediaQuery(S_BREAKPOINT);
1823
+ var isMinWidthArcBreakpointM = useMediaQuery(M_BREAKPOINT);
1824
+ var isMinWidthArcBreakpointL = useMediaQuery(L_BREAKPOINT);
1825
+ var isMinWidthArcBreakpointXl = useMediaQuery(XL_BREAKPOINT);
1826
+ var slideWidth = getSlideWidth({
1827
+ screenSizes: {
1828
+ xl: isMinWidthArcBreakpointXl,
1829
+ l: isMinWidthArcBreakpointL,
1830
+ m: isMinWidthArcBreakpointM,
1831
+ s: isMinWidthArcBreakpointS,
1832
+ xs: isMinWidthArcBreakpointXs,
1833
+ },
1834
+ itemsPerSlide: itemsPerSlide,
1835
+ isPartialVisible: isPartialVisible,
1836
+ responsive: responsive,
1837
+ children: children,
1838
+ });
1839
+ var scrollSnaps = Array.from({
1840
+ length: (emblaApi === null || emblaApi === void 0 ? void 0 : emblaApi.scrollSnapList().length) || 0,
1841
+ }).map(function (_, i) { return i; });
1842
+ var scrollPrev = useCallback(function () { return emblaApi === null || emblaApi === void 0 ? void 0 : emblaApi.scrollPrev(); }, [emblaApi]);
1843
+ var scrollNext = useCallback(function () { return emblaApi === null || emblaApi === void 0 ? void 0 : emblaApi.scrollNext(); }, [emblaApi]);
1844
+ var onSelect = useCallback(function (emblaApi) {
1845
+ setVisibleSlideIndex(emblaApi.selectedScrollSnap());
1846
+ setPrevButtonEnabled(emblaApi.canScrollPrev());
1847
+ setNextButtonEnabled(emblaApi.canScrollNext());
1848
+ }, []);
1849
+ var onCarouselDotButtonClick = useCallback(function (index) {
1850
+ if (!emblaApi)
1851
+ return;
1852
+ emblaApi.scrollTo(index);
1853
+ }, [emblaApi]);
1854
+ var onSlideKeyDown = function (e) {
1855
+ var _a;
1856
+ if (e.key === KeyNames.Escape) {
1857
+ prevButtonEnabled
1858
+ ? (_a = prevButtonRef.current) === null || _a === void 0 ? void 0 : _a.focus()
1859
+ : setCarouselDotButtonFocusIndex(0);
1860
+ }
1861
+ };
1862
+ var onCarouselDotButtonKeyDown = function (index) { return function (e) {
1863
+ if (e.key === KeyNames.ArrowLeft) {
1864
+ setCarouselDotButtonFocusIndex(index === 0 ? scrollSnaps.length - 1 : index - 1);
1865
+ }
1866
+ if (e.key === KeyNames.ArrowRight) {
1867
+ setCarouselDotButtonFocusIndex(index + 1 === scrollSnaps.length ? 0 : index + 1);
1868
+ }
1869
+ }; };
1870
+ useEffect(function () {
1871
+ if (!emblaApi)
1872
+ return;
1873
+ onSelect(emblaApi);
1874
+ emblaApi.on("reInit", onSelect).on("select", onSelect);
1875
+ }, [emblaApi, onSelect]);
1876
+ useEffect(function () {
1877
+ if (!emblaApi)
1878
+ return;
1879
+ emblaApi.scrollTo(0);
1880
+ }, [
1881
+ emblaApi,
1882
+ isMinWidthArcBreakpointXs,
1883
+ isMinWidthArcBreakpointS,
1884
+ isMinWidthArcBreakpointM,
1885
+ isMinWidthArcBreakpointL,
1886
+ isMinWidthArcBreakpointXl,
1887
+ ]);
1888
+ return (React__default.createElement("div", { className: "arc-Carousel" },
1889
+ React__default.createElement("div", { className: "arc-Carousel-container" },
1890
+ React__default.createElement("div", { ref: emblaRef, className: classNames("arc-Carousel-viewport", {
1891
+ "arc-Carousel-viewport--gutter": withGutter,
1892
+ }) },
1893
+ React__default.createElement("div", { className: "arc-Carousel-slider", role: "region", "aria-roledescription": "carousel" }, React__default.Children.map(children, function (child, i) { return (React__default.createElement("div", { onKeyDown: onSlideKeyDown, style: { flex: "0 0 ".concat(slideWidth, "%"), width: "".concat(slideWidth, "%") }, className: "arc-Carousel-slide", key: "".concat(id, "-option-").concat(i), role: "group", "aria-roledescription": "slide" }, child)); })))),
1894
+ React__default.createElement("div", { className: "arc-Carousel-nav" },
1895
+ React__default.createElement("button", { "data-testid": "previous-button", ref: prevButtonRef, className: classNames("arc-Carousel-navButton", {
1896
+ "arc-Carousel-navButton--hidden": !prevButtonEnabled,
1897
+ }), onClick: scrollPrev, "aria-label": "Show slide ".concat(visibleSlideIndex) },
1898
+ React__default.createElement(ThemeIcon, { size: 32, icon: "carouselLeft" })),
1899
+ React__default.createElement("div", { className: "arc-Carousel-dotContainer", role: "tablist" }, scrollSnaps.map(function (scrollSnapIndex) { return (React__default.createElement(CarouselDotButton, { key: "".concat(id, "-dot-").concat(scrollSnapIndex), focusIndex: dotButtonFocusIndex, scrollSnapIndex: scrollSnapIndex, visibleSlideIndex: visibleSlideIndex, onKeyDown: onCarouselDotButtonKeyDown, onClick: function (index) { return onCarouselDotButtonClick(index); } })); })),
1900
+ React__default.createElement("button", { "data-testid": "next-button", className: classNames("arc-Carousel-navButton", {
1901
+ "arc-Carousel-navButton--hidden": !nextButtonEnabled,
1902
+ }), onClick: scrollNext, "aria-label": "Show slide ".concat(loop && visibleSlideIndex === scrollSnaps.length - 1
1903
+ ? 1
1904
+ : visibleSlideIndex + 2) },
1905
+ React__default.createElement(ThemeIcon, { size: 32, icon: "carouselRight" })))));
1906
+ };
1907
+
1908
+ export { Carousel };