@arc-ui/components 12.0.0-beta.13 → 12.0.0-beta.14.1

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 (1253) hide show
  1. package/lib/Alert/Alert.cjs +47 -0
  2. package/lib/Alert/Alert.mjs +45 -0
  3. package/lib/Alert/styles.css +1 -0
  4. package/lib/Align/Align.cjs +28 -0
  5. package/lib/Align/Align.mjs +26 -0
  6. package/lib/Align/styles.css +1 -0
  7. package/lib/AppButton/AppButton.cjs +68 -0
  8. package/lib/AppButton/AppButton.mjs +66 -0
  9. package/lib/AppButton/styles.css +1 -0
  10. package/lib/Avatar/Avatar.cjs +17 -0
  11. package/lib/Avatar/Avatar.mjs +11 -0
  12. package/lib/Avatar/styles.css +1 -0
  13. package/lib/AvatarGroup/AvatarGroup.cjs +33 -0
  14. package/lib/AvatarGroup/AvatarGroup.mjs +31 -0
  15. package/lib/AvatarGroup/styles.css +1 -0
  16. package/lib/Badge/Badge.cjs +12 -0
  17. package/lib/Badge/Badge.mjs +6 -0
  18. package/lib/Badge/styles.css +1 -0
  19. package/lib/Banner/Banner.cjs +24 -0
  20. package/lib/Banner/Banner.mjs +22 -0
  21. package/lib/Box/Box.cjs +12 -0
  22. package/lib/Box/Box.mjs +6 -0
  23. package/lib/Box/styles.css +1 -0
  24. package/lib/BrandLogo/BrandLogo.cjs +14 -0
  25. package/lib/BrandLogo/BrandLogo.mjs +7 -0
  26. package/lib/BrandLogo/styles.css +1 -0
  27. package/lib/Breadcrumbs/Breadcrumbs.cjs +17 -0
  28. package/lib/Breadcrumbs/Breadcrumbs.mjs +11 -0
  29. package/lib/Breadcrumbs/styles.css +1 -0
  30. package/lib/Button/Button.cjs +15 -0
  31. package/lib/Button/Button.mjs +9 -0
  32. package/lib/Button/styles.css +1 -0
  33. package/lib/ButtonGroup/ButtonGroup.cjs +33 -0
  34. package/lib/ButtonGroup/ButtonGroup.mjs +31 -0
  35. package/lib/ButtonGroup/styles.css +1 -0
  36. package/lib/ButtonV2/ButtonV2.cjs +15 -0
  37. package/lib/ButtonV2/ButtonV2.mjs +9 -0
  38. package/lib/ButtonV2/styles.css +1 -0
  39. package/lib/Calendar/Calendar.cjs +21 -0
  40. package/lib/Calendar/Calendar.mjs +15 -0
  41. package/lib/Calendar/styles.css +1 -0
  42. package/lib/CardFooter/CardFooter.cjs +17 -0
  43. package/lib/CardFooter/CardFooter.mjs +11 -0
  44. package/lib/CardFooter/styles.css +1 -0
  45. package/lib/CardHeading/CardHeading.cjs +14 -0
  46. package/lib/CardHeading/CardHeading.mjs +8 -0
  47. package/lib/CardHeading/styles.css +1 -0
  48. package/lib/Carousel/Carousel.cjs +1902 -0
  49. package/lib/Carousel/Carousel.mjs +1900 -0
  50. package/lib/Carousel/styles.css +1 -0
  51. package/lib/Checkbox/Checkbox.cjs +18 -0
  52. package/lib/Checkbox/Checkbox.mjs +12 -0
  53. package/lib/Checkbox/styles.css +1 -0
  54. package/lib/Columns/Columns.cjs +12 -0
  55. package/lib/Columns/Columns.mjs +6 -0
  56. package/lib/Columns/styles.css +1 -0
  57. package/lib/ComboBox/ComboBox.cjs +27 -0
  58. package/lib/ComboBox/ComboBox.mjs +21 -0
  59. package/lib/ComboBox/styles.css +1 -0
  60. package/lib/ConditionalWrapper/ConditionalWrapper.cjs +8 -0
  61. package/lib/ConditionalWrapper/ConditionalWrapper.mjs +2 -0
  62. package/lib/ContentSwitcher/ContentSwitcher.cjs +22 -0
  63. package/lib/ContentSwitcher/ContentSwitcher.mjs +13 -0
  64. package/lib/ContentSwitcher/styles.css +1 -0
  65. package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs +21 -0
  66. package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.mjs +15 -0
  67. package/lib/ContentSwitcherDropdown/styles.css +1 -0
  68. package/lib/DatePicker/DatePicker.cjs +39 -0
  69. package/lib/DatePicker/DatePicker.mjs +28 -0
  70. package/lib/DatePicker/styles.css +1 -0
  71. package/lib/Disclosure/Disclosure.cjs +34 -0
  72. package/lib/Disclosure/Disclosure.mjs +32 -0
  73. package/lib/Disclosure/styles.css +1 -0
  74. package/lib/DisclosureMini/DisclosureMini.cjs +15 -0
  75. package/lib/DisclosureMini/DisclosureMini.mjs +9 -0
  76. package/lib/DisclosureMini/styles.css +1 -0
  77. package/lib/Download/Download.cjs +16 -0
  78. package/lib/Download/Download.mjs +10 -0
  79. package/lib/Download/styles.css +1 -0
  80. package/lib/Drawer/Drawer.cjs +374 -0
  81. package/lib/Drawer/Drawer.mjs +354 -0
  82. package/lib/Drawer/styles.css +1 -0
  83. package/lib/Elevation/Elevation.cjs +21 -0
  84. package/lib/Elevation/Elevation.mjs +19 -0
  85. package/lib/Elevation/styles.css +1 -0
  86. package/lib/Filter/Filter.cjs +13 -0
  87. package/lib/Filter/Filter.mjs +7 -0
  88. package/lib/Filter/styles.css +1 -0
  89. package/lib/FormControl/FormControl.cjs +18 -0
  90. package/lib/FormControl/FormControl.mjs +11 -0
  91. package/lib/FormControl/styles.css +1 -0
  92. package/lib/Grid/Grid.cjs +12 -0
  93. package/lib/Grid/Grid.mjs +6 -0
  94. package/lib/Grid/styles.css +1 -0
  95. package/lib/Group/Group.cjs +12 -0
  96. package/lib/Group/Group.mjs +6 -0
  97. package/lib/Group/styles.css +1 -0
  98. package/lib/Heading/Heading.cjs +14 -0
  99. package/lib/Heading/Heading.mjs +7 -0
  100. package/lib/Heading/styles.css +1 -0
  101. package/lib/HeroBanner/HeroBanner.cjs +28 -0
  102. package/lib/HeroBanner/HeroBanner.mjs +26 -0
  103. package/lib/HeroBanner/styles.css +1 -0
  104. package/lib/HeroButton/HeroButton.cjs +15 -0
  105. package/lib/HeroButton/HeroButton.mjs +9 -0
  106. package/lib/HeroButton/styles.css +1 -0
  107. package/lib/Hidden/Hidden.cjs +18 -0
  108. package/lib/Hidden/Hidden.mjs +16 -0
  109. package/lib/Hidden/styles.css +1 -0
  110. package/lib/Icon/Icon.cjs +14 -0
  111. package/lib/Icon/Icon.mjs +7 -0
  112. package/lib/Icon/styles.css +1 -0
  113. package/lib/Image/Image.cjs +15 -0
  114. package/lib/Image/Image.mjs +6 -0
  115. package/lib/Image/styles.css +1 -0
  116. package/lib/ImpactCard/ImpactCard.cjs +39 -0
  117. package/lib/ImpactCard/ImpactCard.mjs +37 -0
  118. package/lib/ImpactCard/styles.css +1 -0
  119. package/lib/InformationCard/InformationCard.cjs +94 -0
  120. package/lib/InformationCard/InformationCard.mjs +92 -0
  121. package/lib/InformationCard/styles.css +1 -0
  122. package/lib/Link/Link.cjs +71 -0
  123. package/lib/Link/Link.mjs +69 -0
  124. package/lib/Link/styles.css +1 -0
  125. package/lib/Markup/Markup.cjs +22 -0
  126. package/lib/Markup/Markup.mjs +20 -0
  127. package/lib/Markup/styles.css +1 -0
  128. package/lib/MediaCard/MediaCard.cjs +26 -0
  129. package/lib/MediaCard/MediaCard.mjs +20 -0
  130. package/lib/MediaCard/styles.css +1 -0
  131. package/lib/Modal/Modal.cjs +73 -0
  132. package/lib/Modal/Modal.mjs +71 -0
  133. package/lib/Modal/styles.css +1 -0
  134. package/lib/Pagination/Pagination.cjs +77 -0
  135. package/lib/Pagination/Pagination.mjs +75 -0
  136. package/lib/Pagination/styles.css +1 -0
  137. package/lib/PaginationSimple/PaginationSimple.cjs +106 -0
  138. package/lib/PaginationSimple/PaginationSimple.mjs +104 -0
  139. package/lib/PaginationSimple/styles.css +1 -0
  140. package/lib/Popover/Popover.cjs +36 -0
  141. package/lib/Popover/Popover.mjs +34 -0
  142. package/lib/Popover/styles.css +1 -0
  143. package/lib/Poster/Poster.cjs +14 -0
  144. package/lib/Poster/Poster.mjs +8 -0
  145. package/lib/Poster/styles.css +1 -0
  146. package/lib/ProgressBar/ProgressBar.cjs +65 -0
  147. package/lib/ProgressBar/ProgressBar.mjs +63 -0
  148. package/lib/ProgressBar/styles.css +1 -0
  149. package/lib/ProgressStepper/ProgressStepper.cjs +17 -0
  150. package/lib/ProgressStepper/ProgressStepper.mjs +10 -0
  151. package/lib/ProgressStepper/styles.css +1 -0
  152. package/lib/RadioCardGroup/RadioCardGroup.cjs +20 -0
  153. package/lib/RadioCardGroup/RadioCardGroup.mjs +14 -0
  154. package/lib/RadioCardGroup/styles.css +1 -0
  155. package/lib/RadioGroup/RadioGroup.cjs +19 -0
  156. package/lib/RadioGroup/RadioGroup.mjs +12 -0
  157. package/lib/RadioGroup/styles.css +1 -0
  158. package/lib/Rule/Rule.cjs +24 -0
  159. package/lib/Rule/Rule.mjs +22 -0
  160. package/lib/Rule/styles.css +1 -0
  161. package/lib/ScrollToTop/ScrollToTop.cjs +62 -0
  162. package/lib/ScrollToTop/ScrollToTop.mjs +60 -0
  163. package/lib/ScrollToTop/styles.css +1 -0
  164. package/lib/Section/Section.cjs +10 -0
  165. package/lib/Section/Section.mjs +4 -0
  166. package/lib/Section/styles.css +1 -0
  167. package/lib/Select/Select.cjs +82 -0
  168. package/lib/Select/Select.mjs +80 -0
  169. package/lib/Select/styles.css +1 -0
  170. package/lib/SiteFooter/SiteFooter.cjs +21 -0
  171. package/lib/SiteFooter/SiteFooter.mjs +13 -0
  172. package/lib/SiteFooter/styles.css +1 -0
  173. package/lib/SiteHeaderV2/SiteHeaderV2.cjs +24 -0
  174. package/lib/SiteHeaderV2/SiteHeaderV2.mjs +18 -0
  175. package/lib/SiteHeaderV2/styles.css +1 -0
  176. package/lib/Skeleton/Skeleton.cjs +20 -0
  177. package/lib/Skeleton/Skeleton.mjs +18 -0
  178. package/lib/Skeleton/styles.css +1 -0
  179. package/lib/SkipLink/SkipLink.cjs +9 -0
  180. package/lib/SkipLink/SkipLink.mjs +3 -0
  181. package/lib/SkipLink/styles.css +1 -0
  182. package/lib/Spinner/Spinner.cjs +10 -0
  183. package/lib/Spinner/Spinner.mjs +4 -0
  184. package/lib/Spinner/styles.css +1 -0
  185. package/lib/Surface/Surface.cjs +14 -0
  186. package/lib/Surface/Surface.mjs +5 -0
  187. package/lib/Surface/styles.css +1 -0
  188. package/lib/Switch/Switch.cjs +232 -0
  189. package/lib/Switch/Switch.mjs +230 -0
  190. package/lib/Switch/styles.css +1 -0
  191. package/lib/TabbedBanner/TabbedBanner.cjs +66 -0
  192. package/lib/TabbedBanner/TabbedBanner.mjs +64 -0
  193. package/lib/TabbedBanner/styles.css +1 -0
  194. package/lib/Tabs/Tabs.cjs +19 -0
  195. package/lib/Tabs/Tabs.mjs +12 -0
  196. package/lib/Tabs/styles.css +1 -0
  197. package/lib/Tag/Tag.cjs +80 -0
  198. package/lib/Tag/Tag.mjs +78 -0
  199. package/lib/Tag/styles.css +1 -0
  200. package/lib/TemplateBanner/TemplateBanner.cjs +21 -0
  201. package/lib/TemplateBanner/TemplateBanner.mjs +15 -0
  202. package/lib/TemplateBanner/styles.css +1 -0
  203. package/lib/Text/Text.cjs +13 -0
  204. package/lib/Text/Text.mjs +7 -0
  205. package/lib/Text/styles.css +1 -0
  206. package/lib/TextArea/TextArea.cjs +121 -0
  207. package/lib/TextArea/TextArea.mjs +119 -0
  208. package/lib/TextArea/styles.css +1 -0
  209. package/lib/TextInput/TextInput.cjs +19 -0
  210. package/lib/TextInput/TextInput.mjs +13 -0
  211. package/lib/TextInput/styles.css +1 -0
  212. package/lib/Theme/Theme.cjs +75 -0
  213. package/lib/Theme/Theme.mjs +72 -0
  214. package/lib/Theme/styles.css +1 -0
  215. package/lib/ThemeIcon/ThemeIcon.cjs +13 -0
  216. package/lib/ThemeIcon/ThemeIcon.mjs +7 -0
  217. package/lib/ThemeIcon/styles.css +1 -0
  218. package/lib/Toast/Toast.cjs +17 -0
  219. package/lib/Toast/Toast.mjs +11 -0
  220. package/lib/Toast/styles.css +1 -0
  221. package/lib/Tooltip/Tooltip.cjs +554 -0
  222. package/lib/Tooltip/Tooltip.mjs +534 -0
  223. package/lib/Tooltip/styles.css +1 -0
  224. package/lib/Truncate/Truncate.cjs +12 -0
  225. package/lib/Truncate/Truncate.mjs +10 -0
  226. package/lib/Truncate/styles.css +1 -0
  227. package/lib/TypographyCard/TypographyCard.cjs +36 -0
  228. package/lib/TypographyCard/TypographyCard.mjs +34 -0
  229. package/lib/TypographyCard/styles.css +1 -0
  230. package/lib/UniversalHeader/UniversalHeader.cjs +12 -0
  231. package/lib/UniversalHeader/UniversalHeader.mjs +6 -0
  232. package/lib/UniversalHeader/styles.css +1 -0
  233. package/lib/VerticalSpace/VerticalSpace.cjs +10 -0
  234. package/lib/VerticalSpace/VerticalSpace.mjs +4 -0
  235. package/lib/VerticalSpace/styles.css +1 -0
  236. package/lib/VideoPlayer/VideoPlayer.cjs +3203 -0
  237. package/lib/VideoPlayer/VideoPlayer.mjs +3201 -0
  238. package/lib/VideoPlayer/styles.css +1 -0
  239. package/lib/Visible/Visible.cjs +18 -0
  240. package/lib/Visible/Visible.mjs +16 -0
  241. package/lib/Visible/styles.css +1 -0
  242. package/lib/VisuallyHidden/VisuallyHidden.cjs +9 -0
  243. package/lib/VisuallyHidden/VisuallyHidden.mjs +3 -0
  244. package/lib/VisuallyHidden/styles.css +1 -0
  245. package/lib/_shared/cjs/Avatar-CO_KcWAu.cjs +44 -0
  246. package/lib/_shared/cjs/Badge-CQVEPH9v.cjs +14 -0
  247. package/lib/_shared/cjs/Box-COPXU1Jf.cjs +25 -0
  248. package/lib/_shared/cjs/BrandLogo-D5wlIFmm.cjs +29 -0
  249. package/lib/_shared/cjs/Breadcrumbs-Ct2tJs5-.cjs +101 -0
  250. package/lib/_shared/cjs/Button-b36K7-Cf.cjs +50 -0
  251. package/lib/_shared/cjs/ButtonV2-DitTW91Z.cjs +49 -0
  252. package/lib/_shared/cjs/Calendar-BC-wjsFG.cjs +1924 -0
  253. package/lib/_shared/cjs/CardFooter-BA8K3lsL.cjs +75 -0
  254. package/lib/_shared/cjs/CardHeading-DJHqAMXm.cjs +12 -0
  255. package/lib/_shared/cjs/Checkbox-D2UQsmiB.cjs +88 -0
  256. package/lib/_shared/cjs/Columns-vV_2g6iR.cjs +47 -0
  257. package/lib/_shared/cjs/Combination-C5xlVcaJ.cjs +1294 -0
  258. package/lib/_shared/cjs/ComboBox-BLV3qdpH.cjs +290 -0
  259. package/lib/_shared/cjs/ContentSwitcher-DN5eEyc3.cjs +108 -0
  260. package/lib/_shared/cjs/ContentSwitcherDropdown-3N9Hv-WU.cjs +71 -0
  261. package/lib/_shared/cjs/DatePicker-CmRbyMHi.cjs +316 -0
  262. package/lib/_shared/cjs/DisclosureMini-CtvDxVaG.cjs +37 -0
  263. package/lib/_shared/cjs/Download-CrIytI74.cjs +39 -0
  264. package/lib/_shared/cjs/Filter-qdfbndHd.cjs +120 -0
  265. package/lib/_shared/cjs/FormControl-D3-JbAVb.cjs +108 -0
  266. package/lib/_shared/cjs/Grid-D9hh5dMx.cjs +44 -0
  267. package/lib/_shared/cjs/Group-CXH1eTrP.cjs +38 -0
  268. package/lib/_shared/cjs/Heading-ByiXEHGj.cjs +38 -0
  269. package/lib/_shared/cjs/HeroButton-D0w6E67b.cjs +123 -0
  270. package/lib/_shared/cjs/Icon-DdqFr6bT.cjs +52 -0
  271. package/lib/_shared/cjs/Image-Bk-IOgez.cjs +56 -0
  272. package/lib/_shared/cjs/MediaCard-DEbY0pn4.cjs +61 -0
  273. package/lib/_shared/cjs/Poster-DD5EQ-X1.cjs +42 -0
  274. package/lib/_shared/cjs/Preview-BYuMaIh7.cjs +175 -0
  275. package/lib/_shared/cjs/ProgressStepper-SGsD7ZHy.cjs +93 -0
  276. package/lib/_shared/cjs/RadioCardGroup-BqDsRkMM.cjs +81 -0
  277. package/lib/_shared/cjs/RadioGroup-CTam1JqK.cjs +81 -0
  278. package/lib/_shared/cjs/Section-wUVdzmGA.cjs +21 -0
  279. package/lib/_shared/cjs/SiteFooter-KApsSEZz.cjs +68 -0
  280. package/lib/_shared/cjs/SiteHeaderV2-CYLoQkgz.cjs +645 -0
  281. package/lib/_shared/cjs/SkipLink-mJJv4-9E.cjs +18 -0
  282. package/lib/_shared/cjs/Spinner-bbrOwxv2.cjs +16 -0
  283. package/lib/_shared/cjs/Surface-BFx1yNsq.cjs +55 -0
  284. package/lib/_shared/cjs/Tabs-CsTC__0B.cjs +88 -0
  285. package/lib/_shared/cjs/TemplateBanner-DvwXqJMm.cjs +65 -0
  286. package/lib/_shared/cjs/Text-Cr5nmYmx.cjs +29 -0
  287. package/lib/_shared/cjs/TextInput-DT4hi02U.cjs +107 -0
  288. package/lib/_shared/cjs/ThemeIcon-BoxbjTaQ.cjs +23 -0
  289. package/lib/_shared/cjs/Toast-DLjxph76.cjs +995 -0
  290. package/lib/_shared/cjs/UniversalHeader-DUo1yR-g.cjs +29 -0
  291. package/lib/_shared/cjs/VerticalSpace-BJvST6WP.cjs +25 -0
  292. package/lib/_shared/cjs/VisuallyHidden-B4XCvPYP.cjs +14 -0
  293. package/lib/_shared/cjs/capitalise-first-letter-CdhexpSx.cjs +8 -0
  294. package/lib/_shared/cjs/debounce-BeIT3oyF.cjs +659 -0
  295. package/lib/_shared/cjs/filter-attrs-eK6E_34o.cjs +72 -0
  296. package/lib/_shared/cjs/index-B11wQrRa.cjs +2208 -0
  297. package/lib/_shared/cjs/index-BCsybVMl.cjs +1175 -0
  298. package/lib/_shared/cjs/index-BCu-VH8y.cjs +416 -0
  299. package/lib/_shared/cjs/index-BoR_yLsK.cjs +858 -0
  300. package/lib/_shared/cjs/index-CztwwwKE.cjs +375 -0
  301. package/lib/_shared/cjs/index-DCBkpeuX.cjs +457 -0
  302. package/lib/_shared/cjs/index-DM20WK5o.cjs +194 -0
  303. package/lib/_shared/cjs/index-DR8Rkav9.cjs +130 -0
  304. package/lib/_shared/cjs/index-DXNM3D1d.cjs +196 -0
  305. package/lib/_shared/cjs/index-DmvtEa22.cjs +219 -0
  306. package/lib/_shared/cjs/index-dEuvxpL3.cjs +1556 -0
  307. package/lib/_shared/cjs/index.es-gP1lKcqE.cjs +19 -0
  308. package/lib/_shared/cjs/suffix-modifier-DLUGR-yG.cjs +10 -0
  309. package/lib/_shared/esm/Avatar-RQ3Bn9NC.mjs +42 -0
  310. package/lib/_shared/esm/Badge-BZ7E0zcQ.mjs +12 -0
  311. package/lib/_shared/esm/Box-BYm_GTct.mjs +23 -0
  312. package/lib/_shared/esm/BrandLogo-_2Z_8I2Y.mjs +26 -0
  313. package/lib/_shared/esm/Breadcrumbs-Dvhyjy1c.mjs +99 -0
  314. package/lib/_shared/esm/Button-DtmI3xYm.mjs +48 -0
  315. package/lib/_shared/esm/ButtonV2-yixMtjeC.mjs +47 -0
  316. package/lib/_shared/esm/Calendar-BM7KALf9.mjs +1919 -0
  317. package/lib/_shared/esm/CardFooter-B1zkMZd9.mjs +73 -0
  318. package/lib/_shared/esm/CardHeading-C7ZPtnmj.mjs +10 -0
  319. package/lib/_shared/esm/Checkbox-NxnK40uZ.mjs +86 -0
  320. package/lib/_shared/esm/Columns-CxNZc7lV.mjs +45 -0
  321. package/lib/_shared/esm/Combination-BWqjRkSE.mjs +1267 -0
  322. package/lib/_shared/esm/ComboBox-Cww79__R.mjs +288 -0
  323. package/lib/_shared/esm/ContentSwitcher-CWxxoWTA.mjs +103 -0
  324. package/lib/_shared/esm/ContentSwitcherDropdown-CSsewSNR.mjs +69 -0
  325. package/lib/_shared/esm/DatePicker-DBX6wi3O.mjs +309 -0
  326. package/lib/_shared/esm/DisclosureMini-B9LzsQC2.mjs +35 -0
  327. package/lib/_shared/esm/Download-DFz_1HCG.mjs +37 -0
  328. package/lib/_shared/esm/Filter-C6tm6z36.mjs +118 -0
  329. package/lib/_shared/esm/FormControl-B9fp1ilz.mjs +104 -0
  330. package/lib/_shared/esm/Grid-YLHV9FOw.mjs +42 -0
  331. package/lib/_shared/esm/Group-IeAmNyQM.mjs +36 -0
  332. package/lib/_shared/esm/Heading-CtGuamJw.mjs +35 -0
  333. package/lib/_shared/esm/HeroButton-B1bJcYq3.mjs +121 -0
  334. package/lib/_shared/esm/Icon-B626JGP1.mjs +49 -0
  335. package/lib/_shared/esm/Image-Bx91_r2O.mjs +51 -0
  336. package/lib/_shared/esm/MediaCard-OZMQZjSh.mjs +59 -0
  337. package/lib/_shared/esm/Poster-B49pPgP_.mjs +40 -0
  338. package/lib/_shared/esm/Preview-AHYIJh9S.mjs +173 -0
  339. package/lib/_shared/esm/ProgressStepper-yMm9a5q7.mjs +90 -0
  340. package/lib/_shared/esm/RadioCardGroup-D2UZsecc.mjs +79 -0
  341. package/lib/_shared/esm/RadioGroup-Dt2GI6Ps.mjs +78 -0
  342. package/lib/_shared/esm/Section-DDygQ5Az.mjs +19 -0
  343. package/lib/_shared/esm/SiteFooter-C6OLx0Jn.mjs +64 -0
  344. package/lib/_shared/esm/SiteHeaderV2-BpTiemru.mjs +643 -0
  345. package/lib/_shared/esm/SkipLink-By4ViYhR.mjs +16 -0
  346. package/lib/_shared/esm/Spinner-Cd7LiPTy.mjs +14 -0
  347. package/lib/_shared/esm/Surface-Colbp3Zx.mjs +50 -0
  348. package/lib/_shared/esm/Tabs-DTxciSmI.mjs +85 -0
  349. package/lib/_shared/esm/TemplateBanner-mMKf6sDd.mjs +63 -0
  350. package/lib/_shared/esm/Text-CBlnm5CT.mjs +27 -0
  351. package/lib/_shared/esm/TextInput-Vp_cBbpQ.mjs +104 -0
  352. package/lib/_shared/esm/ThemeIcon-CN_Ed5b1.mjs +21 -0
  353. package/lib/_shared/esm/Toast-DjWsXi6n.mjs +993 -0
  354. package/lib/_shared/esm/UniversalHeader-4Qm-HxD7.mjs +27 -0
  355. package/lib/_shared/esm/VerticalSpace-Duhm0zXP.mjs +23 -0
  356. package/lib/_shared/esm/VisuallyHidden-DqAgoqJo.mjs +12 -0
  357. package/lib/_shared/esm/capitalise-first-letter-Cubg2CS1.mjs +6 -0
  358. package/lib/_shared/esm/debounce-mCD9-ufA.mjs +657 -0
  359. package/lib/_shared/esm/filter-attrs-B6CM-NUr.mjs +68 -0
  360. package/lib/_shared/esm/index-6HtUz28p.mjs +216 -0
  361. package/lib/_shared/esm/index-BYYnPaYO.mjs +431 -0
  362. package/lib/_shared/esm/index-CVbKsmi-.mjs +393 -0
  363. package/lib/_shared/esm/index-DAKCDHmP.mjs +171 -0
  364. package/lib/_shared/esm/index-DBBWLR4b.mjs +825 -0
  365. package/lib/_shared/esm/index-DKUZMeu5.mjs +169 -0
  366. package/lib/_shared/esm/index-DTF1_dbG.mjs +2178 -0
  367. package/lib/_shared/esm/index-DXHprNQ6.mjs +364 -0
  368. package/lib/_shared/esm/index-Spae4j7j.mjs +128 -0
  369. package/lib/_shared/esm/index-sjWSIoCo.mjs +1150 -0
  370. package/lib/_shared/esm/index-uZWnqtCw.mjs +1524 -0
  371. package/lib/_shared/esm/index.es-C7HkLzRN.mjs +12 -0
  372. package/lib/_shared/esm/suffix-modifier-B_pO0UkF.mjs +8 -0
  373. package/lib/index.cjs +25374 -0
  374. package/lib/index.cjs.map +1 -0
  375. package/lib/index.d.cts +4040 -0
  376. package/lib/index.d.mts +4040 -0
  377. package/lib/index.js.map +1 -0
  378. package/lib/index.mjs +25251 -0
  379. package/lib/index.mjs.map +1 -0
  380. package/lib/styles.css +15 -0
  381. package/lib/use-media-query/use-media-query.cjs +8 -0
  382. package/lib/use-media-query/use-media-query.mjs +2 -0
  383. package/package.json +87 -82
  384. package/dist/Alert/Alert.cjs.js +0 -45
  385. package/dist/Alert/Alert.esm.js +0 -43
  386. package/dist/Alert/package.json +0 -7
  387. package/dist/Alert/styles.css +0 -1
  388. package/dist/Align/Align.cjs.js +0 -26
  389. package/dist/Align/Align.esm.js +0 -24
  390. package/dist/Align/package.json +0 -7
  391. package/dist/Align/styles.css +0 -1
  392. package/dist/AppButton/AppButton.cjs.js +0 -68
  393. package/dist/AppButton/AppButton.esm.js +0 -66
  394. package/dist/AppButton/package.json +0 -7
  395. package/dist/AppButton/styles.css +0 -1
  396. package/dist/Avatar/Avatar.cjs.js +0 -15
  397. package/dist/Avatar/Avatar.esm.js +0 -9
  398. package/dist/Avatar/package.json +0 -7
  399. package/dist/Avatar/styles.css +0 -1
  400. package/dist/AvatarGroup/AvatarGroup.cjs.js +0 -31
  401. package/dist/AvatarGroup/AvatarGroup.esm.js +0 -29
  402. package/dist/AvatarGroup/package.json +0 -7
  403. package/dist/AvatarGroup/styles.css +0 -1
  404. package/dist/Badge/Badge.cjs.js +0 -10
  405. package/dist/Badge/Badge.esm.js +0 -4
  406. package/dist/Badge/package.json +0 -7
  407. package/dist/Badge/styles.css +0 -1
  408. package/dist/Banner/Banner.cjs.js +0 -22
  409. package/dist/Banner/Banner.esm.js +0 -20
  410. package/dist/Banner/package.json +0 -7
  411. package/dist/Box/Box.cjs.js +0 -11
  412. package/dist/Box/Box.esm.js +0 -5
  413. package/dist/Box/package.json +0 -7
  414. package/dist/Box/styles.css +0 -1
  415. package/dist/BrandLogo/BrandLogo.cjs.js +0 -11
  416. package/dist/BrandLogo/BrandLogo.esm.js +0 -5
  417. package/dist/BrandLogo/package.json +0 -7
  418. package/dist/BrandLogo/styles.css +0 -1
  419. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +0 -15
  420. package/dist/Breadcrumbs/Breadcrumbs.esm.js +0 -9
  421. package/dist/Breadcrumbs/package.json +0 -7
  422. package/dist/Breadcrumbs/styles.css +0 -1
  423. package/dist/Button/Button.cjs.js +0 -13
  424. package/dist/Button/Button.esm.js +0 -7
  425. package/dist/Button/package.json +0 -7
  426. package/dist/Button/styles.css +0 -1
  427. package/dist/ButtonGroup/ButtonGroup.cjs.js +0 -31
  428. package/dist/ButtonGroup/ButtonGroup.esm.js +0 -29
  429. package/dist/ButtonGroup/package.json +0 -7
  430. package/dist/ButtonGroup/styles.css +0 -1
  431. package/dist/ButtonV2/ButtonV2.cjs.js +0 -13
  432. package/dist/ButtonV2/ButtonV2.esm.js +0 -7
  433. package/dist/ButtonV2/package.json +0 -7
  434. package/dist/ButtonV2/styles.css +0 -1
  435. package/dist/Calendar/Calendar.cjs.js +0 -19
  436. package/dist/Calendar/Calendar.esm.js +0 -13
  437. package/dist/Calendar/package.json +0 -7
  438. package/dist/Calendar/styles.css +0 -1
  439. package/dist/CardFooter/CardFooter.cjs.js +0 -15
  440. package/dist/CardFooter/CardFooter.esm.js +0 -9
  441. package/dist/CardFooter/package.json +0 -7
  442. package/dist/CardFooter/styles.css +0 -1
  443. package/dist/CardHeading/CardHeading.cjs.js +0 -12
  444. package/dist/CardHeading/CardHeading.esm.js +0 -6
  445. package/dist/CardHeading/package.json +0 -7
  446. package/dist/CardHeading/styles.css +0 -1
  447. package/dist/Carousel/Carousel.cjs.js +0 -1909
  448. package/dist/Carousel/Carousel.esm.js +0 -1907
  449. package/dist/Carousel/package.json +0 -7
  450. package/dist/Carousel/styles.css +0 -1
  451. package/dist/Checkbox/Checkbox.cjs.js +0 -16
  452. package/dist/Checkbox/Checkbox.esm.js +0 -10
  453. package/dist/Checkbox/package.json +0 -7
  454. package/dist/Checkbox/styles.css +0 -1
  455. package/dist/Columns/Columns.cjs.js +0 -10
  456. package/dist/Columns/Columns.esm.js +0 -4
  457. package/dist/Columns/package.json +0 -7
  458. package/dist/Columns/styles.css +0 -1
  459. package/dist/ComboBox/ComboBox.cjs.js +0 -27
  460. package/dist/ComboBox/ComboBox.esm.js +0 -21
  461. package/dist/ComboBox/package.json +0 -7
  462. package/dist/ComboBox/styles.css +0 -1
  463. package/dist/ConditionalWrapper/ConditionalWrapper.cjs.js +0 -8
  464. package/dist/ConditionalWrapper/ConditionalWrapper.esm.js +0 -2
  465. package/dist/ConditionalWrapper/package.json +0 -7
  466. package/dist/ContentSwitcher/ContentSwitcher.cjs.js +0 -18
  467. package/dist/ContentSwitcher/ContentSwitcher.esm.js +0 -12
  468. package/dist/ContentSwitcher/package.json +0 -7
  469. package/dist/ContentSwitcher/styles.css +0 -1
  470. package/dist/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs.js +0 -23
  471. package/dist/ContentSwitcherDropdown/ContentSwitcherDropdown.esm.js +0 -17
  472. package/dist/ContentSwitcherDropdown/package.json +0 -7
  473. package/dist/ContentSwitcherDropdown/styles.css +0 -1
  474. package/dist/DatePicker/DatePicker.cjs.js +0 -39
  475. package/dist/DatePicker/DatePicker.esm.js +0 -28
  476. package/dist/DatePicker/package.json +0 -7
  477. package/dist/DatePicker/styles.css +0 -1
  478. package/dist/Disclosure/Disclosure.cjs.js +0 -32
  479. package/dist/Disclosure/Disclosure.esm.js +0 -30
  480. package/dist/Disclosure/package.json +0 -7
  481. package/dist/Disclosure/styles.css +0 -1
  482. package/dist/DisclosureMini/DisclosureMini.cjs.js +0 -13
  483. package/dist/DisclosureMini/DisclosureMini.esm.js +0 -7
  484. package/dist/DisclosureMini/package.json +0 -7
  485. package/dist/DisclosureMini/styles.css +0 -1
  486. package/dist/Download/Download.cjs.js +0 -14
  487. package/dist/Download/Download.esm.js +0 -8
  488. package/dist/Download/package.json +0 -7
  489. package/dist/Download/styles.css +0 -1
  490. package/dist/Drawer/Drawer.cjs.js +0 -374
  491. package/dist/Drawer/Drawer.esm.js +0 -354
  492. package/dist/Drawer/package.json +0 -7
  493. package/dist/Drawer/styles.css +0 -1
  494. package/dist/Elevation/Elevation.cjs.js +0 -21
  495. package/dist/Elevation/Elevation.esm.js +0 -19
  496. package/dist/Elevation/package.json +0 -7
  497. package/dist/Elevation/styles.css +0 -1
  498. package/dist/Filter/Filter.cjs.js +0 -12
  499. package/dist/Filter/Filter.esm.js +0 -6
  500. package/dist/Filter/package.json +0 -7
  501. package/dist/Filter/styles.css +0 -1
  502. package/dist/FormControl/FormControl.cjs.js +0 -16
  503. package/dist/FormControl/FormControl.esm.js +0 -9
  504. package/dist/FormControl/package.json +0 -7
  505. package/dist/FormControl/styles.css +0 -1
  506. package/dist/Grid/Grid.cjs.js +0 -10
  507. package/dist/Grid/Grid.esm.js +0 -4
  508. package/dist/Grid/package.json +0 -7
  509. package/dist/Grid/styles.css +0 -1
  510. package/dist/Group/Group.cjs.js +0 -11
  511. package/dist/Group/Group.esm.js +0 -5
  512. package/dist/Group/package.json +0 -7
  513. package/dist/Group/styles.css +0 -1
  514. package/dist/Heading/Heading.cjs.js +0 -11
  515. package/dist/Heading/Heading.esm.js +0 -5
  516. package/dist/Heading/package.json +0 -7
  517. package/dist/Heading/styles.css +0 -1
  518. package/dist/HeroBanner/HeroBanner.cjs.js +0 -26
  519. package/dist/HeroBanner/HeroBanner.esm.js +0 -24
  520. package/dist/HeroBanner/package.json +0 -7
  521. package/dist/HeroBanner/styles.css +0 -1
  522. package/dist/HeroButton/HeroButton.cjs.js +0 -13
  523. package/dist/HeroButton/HeroButton.esm.js +0 -7
  524. package/dist/HeroButton/package.json +0 -7
  525. package/dist/HeroButton/styles.css +0 -1
  526. package/dist/Hidden/Hidden.cjs.js +0 -18
  527. package/dist/Hidden/Hidden.esm.js +0 -16
  528. package/dist/Hidden/package.json +0 -7
  529. package/dist/Hidden/styles.css +0 -1
  530. package/dist/Icon/Icon.cjs.js +0 -11
  531. package/dist/Icon/Icon.esm.js +0 -5
  532. package/dist/Icon/package.json +0 -7
  533. package/dist/Icon/styles.css +0 -1
  534. package/dist/Image/Image.cjs.js +0 -11
  535. package/dist/Image/Image.esm.js +0 -4
  536. package/dist/Image/package.json +0 -7
  537. package/dist/Image/styles.css +0 -1
  538. package/dist/ImpactCard/ImpactCard.cjs.js +0 -37
  539. package/dist/ImpactCard/ImpactCard.esm.js +0 -35
  540. package/dist/ImpactCard/package.json +0 -7
  541. package/dist/ImpactCard/styles.css +0 -1
  542. package/dist/InformationCard/InformationCard.cjs.js +0 -54
  543. package/dist/InformationCard/InformationCard.esm.js +0 -52
  544. package/dist/InformationCard/package.json +0 -7
  545. package/dist/InformationCard/styles.css +0 -1
  546. package/dist/Link/Link.cjs.js +0 -69
  547. package/dist/Link/Link.esm.js +0 -67
  548. package/dist/Link/package.json +0 -7
  549. package/dist/Link/styles.css +0 -1
  550. package/dist/Markup/Markup.cjs.js +0 -21
  551. package/dist/Markup/Markup.esm.js +0 -19
  552. package/dist/Markup/package.json +0 -7
  553. package/dist/Markup/styles.css +0 -1
  554. package/dist/MediaCard/MediaCard.cjs.js +0 -24
  555. package/dist/MediaCard/MediaCard.esm.js +0 -18
  556. package/dist/MediaCard/package.json +0 -7
  557. package/dist/MediaCard/styles.css +0 -1
  558. package/dist/Modal/Modal.cjs.js +0 -73
  559. package/dist/Modal/Modal.esm.js +0 -71
  560. package/dist/Modal/package.json +0 -7
  561. package/dist/Modal/styles.css +0 -1
  562. package/dist/Pagination/Pagination.cjs.js +0 -75
  563. package/dist/Pagination/Pagination.esm.js +0 -73
  564. package/dist/Pagination/package.json +0 -7
  565. package/dist/Pagination/styles.css +0 -1
  566. package/dist/PaginationSimple/PaginationSimple.cjs.js +0 -104
  567. package/dist/PaginationSimple/PaginationSimple.esm.js +0 -102
  568. package/dist/PaginationSimple/package.json +0 -7
  569. package/dist/PaginationSimple/styles.css +0 -1
  570. package/dist/Popover/Popover.cjs.js +0 -36
  571. package/dist/Popover/Popover.esm.js +0 -34
  572. package/dist/Popover/package.json +0 -7
  573. package/dist/Popover/styles.css +0 -1
  574. package/dist/Poster/Poster.cjs.js +0 -12
  575. package/dist/Poster/Poster.esm.js +0 -6
  576. package/dist/Poster/package.json +0 -7
  577. package/dist/Poster/styles.css +0 -1
  578. package/dist/ProgressBar/ProgressBar.cjs.js +0 -63
  579. package/dist/ProgressBar/ProgressBar.esm.js +0 -61
  580. package/dist/ProgressBar/package.json +0 -7
  581. package/dist/ProgressBar/styles.css +0 -1
  582. package/dist/ProgressStepper/ProgressStepper.cjs.js +0 -13
  583. package/dist/ProgressStepper/ProgressStepper.esm.js +0 -7
  584. package/dist/ProgressStepper/package.json +0 -7
  585. package/dist/ProgressStepper/styles.css +0 -1
  586. package/dist/RadioCardGroup/RadioCardGroup.cjs.js +0 -17
  587. package/dist/RadioCardGroup/RadioCardGroup.esm.js +0 -11
  588. package/dist/RadioCardGroup/package.json +0 -7
  589. package/dist/RadioCardGroup/styles.css +0 -1
  590. package/dist/RadioGroup/RadioGroup.cjs.js +0 -17
  591. package/dist/RadioGroup/RadioGroup.esm.js +0 -10
  592. package/dist/RadioGroup/package.json +0 -7
  593. package/dist/RadioGroup/styles.css +0 -1
  594. package/dist/Rule/Rule.cjs.js +0 -23
  595. package/dist/Rule/Rule.esm.js +0 -21
  596. package/dist/Rule/package.json +0 -7
  597. package/dist/Rule/styles.css +0 -1
  598. package/dist/ScrollToTop/ScrollToTop.cjs.js +0 -60
  599. package/dist/ScrollToTop/ScrollToTop.esm.js +0 -58
  600. package/dist/ScrollToTop/package.json +0 -7
  601. package/dist/ScrollToTop/styles.css +0 -1
  602. package/dist/Section/Section.cjs.js +0 -10
  603. package/dist/Section/Section.esm.js +0 -4
  604. package/dist/Section/package.json +0 -7
  605. package/dist/Section/styles.css +0 -1
  606. package/dist/Select/Select.cjs.js +0 -84
  607. package/dist/Select/Select.esm.js +0 -82
  608. package/dist/Select/package.json +0 -7
  609. package/dist/Select/styles.css +0 -1
  610. package/dist/SiteFooter/SiteFooter.cjs.js +0 -17
  611. package/dist/SiteFooter/SiteFooter.esm.js +0 -11
  612. package/dist/SiteFooter/package.json +0 -7
  613. package/dist/SiteFooter/styles.css +0 -1
  614. package/dist/SiteHeaderV2/SiteHeaderV2.cjs.js +0 -22
  615. package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +0 -16
  616. package/dist/SiteHeaderV2/package.json +0 -7
  617. package/dist/SiteHeaderV2/styles.css +0 -1
  618. package/dist/Skeleton/Skeleton.cjs.js +0 -20
  619. package/dist/Skeleton/Skeleton.esm.js +0 -18
  620. package/dist/Skeleton/package.json +0 -7
  621. package/dist/Skeleton/styles.css +0 -1
  622. package/dist/SkipLink/SkipLink.cjs.js +0 -9
  623. package/dist/SkipLink/SkipLink.esm.js +0 -3
  624. package/dist/SkipLink/package.json +0 -7
  625. package/dist/SkipLink/styles.css +0 -1
  626. package/dist/Spinner/Spinner.cjs.js +0 -10
  627. package/dist/Spinner/Spinner.esm.js +0 -4
  628. package/dist/Spinner/package.json +0 -7
  629. package/dist/Spinner/styles.css +0 -1
  630. package/dist/Surface/Surface.cjs.js +0 -13
  631. package/dist/Surface/Surface.esm.js +0 -4
  632. package/dist/Surface/package.json +0 -7
  633. package/dist/Surface/styles.css +0 -1
  634. package/dist/Switch/Switch.cjs.js +0 -162
  635. package/dist/Switch/Switch.esm.js +0 -160
  636. package/dist/Switch/package.json +0 -7
  637. package/dist/Switch/styles.css +0 -1
  638. package/dist/TabbedBanner/TabbedBanner.cjs.js +0 -66
  639. package/dist/TabbedBanner/TabbedBanner.esm.js +0 -64
  640. package/dist/TabbedBanner/package.json +0 -7
  641. package/dist/TabbedBanner/styles.css +0 -1
  642. package/dist/Tabs/Tabs.cjs.js +0 -18
  643. package/dist/Tabs/Tabs.esm.js +0 -12
  644. package/dist/Tabs/package.json +0 -7
  645. package/dist/Tabs/styles.css +0 -1
  646. package/dist/Tag/Tag.cjs.js +0 -78
  647. package/dist/Tag/Tag.esm.js +0 -76
  648. package/dist/Tag/package.json +0 -7
  649. package/dist/Tag/styles.css +0 -1
  650. package/dist/TemplateBanner/TemplateBanner.cjs.js +0 -19
  651. package/dist/TemplateBanner/TemplateBanner.esm.js +0 -13
  652. package/dist/TemplateBanner/package.json +0 -7
  653. package/dist/TemplateBanner/styles.css +0 -1
  654. package/dist/Text/Text.cjs.js +0 -11
  655. package/dist/Text/Text.esm.js +0 -5
  656. package/dist/Text/package.json +0 -7
  657. package/dist/Text/styles.css +0 -1
  658. package/dist/TextArea/TextArea.cjs.js +0 -124
  659. package/dist/TextArea/TextArea.esm.js +0 -122
  660. package/dist/TextArea/package.json +0 -7
  661. package/dist/TextArea/styles.css +0 -1
  662. package/dist/TextInput/TextInput.cjs.js +0 -17
  663. package/dist/TextInput/TextInput.esm.js +0 -11
  664. package/dist/TextInput/package.json +0 -7
  665. package/dist/TextInput/styles.css +0 -1
  666. package/dist/Theme/Theme.cjs.js +0 -25
  667. package/dist/Theme/Theme.esm.js +0 -22
  668. package/dist/Theme/package.json +0 -7
  669. package/dist/Theme/styles.css +0 -1
  670. package/dist/ThemeIcon/ThemeIcon.cjs.js +0 -11
  671. package/dist/ThemeIcon/ThemeIcon.esm.js +0 -5
  672. package/dist/ThemeIcon/package.json +0 -7
  673. package/dist/ThemeIcon/styles.css +0 -1
  674. package/dist/Toast/Toast.cjs.js +0 -17
  675. package/dist/Toast/Toast.esm.js +0 -11
  676. package/dist/Toast/package.json +0 -7
  677. package/dist/Toast/styles.css +0 -1
  678. package/dist/Tooltip/Tooltip.cjs.js +0 -553
  679. package/dist/Tooltip/Tooltip.esm.js +0 -533
  680. package/dist/Tooltip/package.json +0 -7
  681. package/dist/Tooltip/styles.css +0 -1
  682. package/dist/Truncate/Truncate.cjs.js +0 -12
  683. package/dist/Truncate/Truncate.esm.js +0 -10
  684. package/dist/Truncate/package.json +0 -7
  685. package/dist/Truncate/styles.css +0 -1
  686. package/dist/TypographyCard/TypographyCard.cjs.js +0 -34
  687. package/dist/TypographyCard/TypographyCard.esm.js +0 -32
  688. package/dist/TypographyCard/package.json +0 -7
  689. package/dist/TypographyCard/styles.css +0 -1
  690. package/dist/UniversalHeader/UniversalHeader.cjs.js +0 -11
  691. package/dist/UniversalHeader/UniversalHeader.esm.js +0 -5
  692. package/dist/UniversalHeader/package.json +0 -7
  693. package/dist/UniversalHeader/styles.css +0 -1
  694. package/dist/VerticalSpace/VerticalSpace.cjs.js +0 -10
  695. package/dist/VerticalSpace/VerticalSpace.esm.js +0 -4
  696. package/dist/VerticalSpace/package.json +0 -7
  697. package/dist/VerticalSpace/styles.css +0 -1
  698. package/dist/VideoPlayer/VideoPlayer.cjs.js +0 -3201
  699. package/dist/VideoPlayer/VideoPlayer.esm.js +0 -3199
  700. package/dist/VideoPlayer/package.json +0 -7
  701. package/dist/VideoPlayer/styles.css +0 -1
  702. package/dist/Visible/Visible.cjs.js +0 -18
  703. package/dist/Visible/Visible.esm.js +0 -16
  704. package/dist/Visible/package.json +0 -7
  705. package/dist/Visible/styles.css +0 -1
  706. package/dist/VisuallyHidden/VisuallyHidden.cjs.js +0 -9
  707. package/dist/VisuallyHidden/VisuallyHidden.esm.js +0 -3
  708. package/dist/VisuallyHidden/package.json +0 -7
  709. package/dist/VisuallyHidden/styles.css +0 -1
  710. package/dist/_shared/cjs/Avatar-Caj5Cj5M.js +0 -44
  711. package/dist/_shared/cjs/Badge-CKKpzGxD.js +0 -13
  712. package/dist/_shared/cjs/Box-DHEgsHNm.js +0 -25
  713. package/dist/_shared/cjs/BrandLogo-IAXn8lnd.js +0 -26
  714. package/dist/_shared/cjs/Breadcrumbs-BwuRMZM-.js +0 -101
  715. package/dist/_shared/cjs/Button-DOYW7cIj.js +0 -49
  716. package/dist/_shared/cjs/ButtonV2-BhtTYaGh.js +0 -49
  717. package/dist/_shared/cjs/Calendar-HHjRQCvi.js +0 -1923
  718. package/dist/_shared/cjs/CardFooter-Bbn1wEJI.js +0 -75
  719. package/dist/_shared/cjs/CardHeading-BjSIrQC8.js +0 -12
  720. package/dist/_shared/cjs/Checkbox-D2j1GIQ6.js +0 -88
  721. package/dist/_shared/cjs/Columns-BFi_S894.js +0 -44
  722. package/dist/_shared/cjs/ComboBox-DUQckLrZ.js +0 -290
  723. package/dist/_shared/cjs/ContentSwitcher-ro4BnJjR.js +0 -17315
  724. package/dist/_shared/cjs/ContentSwitcherDropdown-COdUSVHm.js +0 -60
  725. package/dist/_shared/cjs/DatePicker-3lHRIkai.js +0 -316
  726. package/dist/_shared/cjs/DisclosureMini-Bln2KdOz.js +0 -37
  727. package/dist/_shared/cjs/Download-DEiQTPc3.js +0 -39
  728. package/dist/_shared/cjs/Filter-BheSbUnA.js +0 -120
  729. package/dist/_shared/cjs/FormControl-x7kC-Srg.js +0 -108
  730. package/dist/_shared/cjs/Grid-Bfnjhc5b.js +0 -41
  731. package/dist/_shared/cjs/Group-DZ8hdyp4.js +0 -36
  732. package/dist/_shared/cjs/Heading-lzfM5f17.js +0 -36
  733. package/dist/_shared/cjs/HeroButton-CNJkSeLs.js +0 -122
  734. package/dist/_shared/cjs/Icon-C5peYhWn.js +0 -43
  735. package/dist/_shared/cjs/Image-55IzIW6l.js +0 -51
  736. package/dist/_shared/cjs/MediaCard-DcApbyvL.js +0 -61
  737. package/dist/_shared/cjs/Poster-DbbbiYa_.js +0 -41
  738. package/dist/_shared/cjs/Preview-B-4AqOxZ.js +0 -175
  739. package/dist/_shared/cjs/ProgressStepper-CE6FGMTC.js +0 -91
  740. package/dist/_shared/cjs/RadioCardGroup-DWZrK-Cs.js +0 -80
  741. package/dist/_shared/cjs/RadioGroup-BoSuMksh.js +0 -81
  742. package/dist/_shared/cjs/Section-DXB0XocO.js +0 -19
  743. package/dist/_shared/cjs/SiteFooter-D5IeZC_c.js +0 -66
  744. package/dist/_shared/cjs/SiteHeaderV2-BtJmB-dG.js +0 -644
  745. package/dist/_shared/cjs/SkipLink-D3i06ZIl.js +0 -18
  746. package/dist/_shared/cjs/Spinner-DmTvG4x-.js +0 -16
  747. package/dist/_shared/cjs/Surface-BCplA5V_.js +0 -180
  748. package/dist/_shared/cjs/Tabs-BMWK-vMy.js +0 -86
  749. package/dist/_shared/cjs/TemplateBanner-BTbeT-Yz.js +0 -65
  750. package/dist/_shared/cjs/Text-DIA-MbS2.js +0 -28
  751. package/dist/_shared/cjs/TextInput-DyZc-njK.js +0 -107
  752. package/dist/_shared/cjs/ThemeIcon-CHgtRxWu.js +0 -22
  753. package/dist/_shared/cjs/Toast-DNC06aD5.js +0 -960
  754. package/dist/_shared/cjs/UniversalHeader-Cbxk9QRM.js +0 -25
  755. package/dist/_shared/cjs/VerticalSpace-B-ZFqw2Y.js +0 -25
  756. package/dist/_shared/cjs/VisuallyHidden-BItgxu3C.js +0 -14
  757. package/dist/_shared/cjs/component-BGCX8GK6.js +0 -96
  758. package/dist/_shared/cjs/component-DpycPOA_.js +0 -422
  759. package/dist/_shared/cjs/debounce-8awAB-Hj.js +0 -659
  760. package/dist/_shared/cjs/floating-ui.react-dom-CJlNwMgv.js +0 -1907
  761. package/dist/_shared/cjs/index-B349W-g3.js +0 -93
  762. package/dist/_shared/cjs/index-BWForWNw.js +0 -746
  763. package/dist/_shared/cjs/index-BqJfkZWj.js +0 -380
  764. package/dist/_shared/cjs/index-Bsexyvjp.js +0 -379
  765. package/dist/_shared/cjs/index-BtclGxUt.js +0 -999
  766. package/dist/_shared/cjs/index-CH4TSNdS.js +0 -753
  767. package/dist/_shared/cjs/index-CUkcChbR.js +0 -226
  768. package/dist/_shared/cjs/index-CalDQPRt.js +0 -330
  769. package/dist/_shared/cjs/index-D6hGsItk.js +0 -367
  770. package/dist/_shared/cjs/index-DYP3_Qh-.js +0 -14
  771. package/dist/_shared/cjs/index-DiFGFQH4.js +0 -44
  772. package/dist/_shared/cjs/index-Ds3p1an5.js +0 -131
  773. package/dist/_shared/cjs/index-Dvj8rZCZ.js +0 -46
  774. package/dist/_shared/cjs/index-Dx8AlCbY.js +0 -72
  775. package/dist/_shared/cjs/index-io8xALL_.js +0 -2264
  776. package/dist/_shared/cjs/index.es-y9hyGBEL.js +0 -13
  777. package/dist/_shared/esm/Avatar-Cnu84iB4.js +0 -42
  778. package/dist/_shared/esm/Badge-BCVel0Om.js +0 -11
  779. package/dist/_shared/esm/Box-DTTKhpiV.js +0 -23
  780. package/dist/_shared/esm/BrandLogo-DP-pw2qU.js +0 -24
  781. package/dist/_shared/esm/Breadcrumbs-CCK8JbEL.js +0 -99
  782. package/dist/_shared/esm/Button-i6svvyLV.js +0 -47
  783. package/dist/_shared/esm/ButtonV2-qvYPdE3y.js +0 -47
  784. package/dist/_shared/esm/Calendar-BheqKbaS.js +0 -1918
  785. package/dist/_shared/esm/CardFooter-Dor2jbTF.js +0 -73
  786. package/dist/_shared/esm/CardHeading-DnkJg4cS.js +0 -10
  787. package/dist/_shared/esm/Checkbox-BsVIoYs3.js +0 -86
  788. package/dist/_shared/esm/Columns-3lnyGVbo.js +0 -42
  789. package/dist/_shared/esm/ComboBox-BoNNJ010.js +0 -288
  790. package/dist/_shared/esm/ContentSwitcher-CsFy2wkg.js +0 -17313
  791. package/dist/_shared/esm/ContentSwitcherDropdown-Dsl0lVob.js +0 -58
  792. package/dist/_shared/esm/DatePicker-DxP3x_PU.js +0 -309
  793. package/dist/_shared/esm/DisclosureMini-C21SM9kp.js +0 -35
  794. package/dist/_shared/esm/Download-QSXeopnf.js +0 -37
  795. package/dist/_shared/esm/Filter-BWvcdo3D.js +0 -118
  796. package/dist/_shared/esm/FormControl-Dx4vj08j.js +0 -104
  797. package/dist/_shared/esm/Grid-3ulOWrk_.js +0 -39
  798. package/dist/_shared/esm/Group-CemLONoC.js +0 -34
  799. package/dist/_shared/esm/Heading-B4CveN1U.js +0 -34
  800. package/dist/_shared/esm/HeroButton-CCdiNf0U.js +0 -120
  801. package/dist/_shared/esm/Icon-PQa1SRbJ.js +0 -41
  802. package/dist/_shared/esm/Image-ByvKaYWN.js +0 -48
  803. package/dist/_shared/esm/MediaCard-BXs0Bn_k.js +0 -59
  804. package/dist/_shared/esm/Poster-BDAll4Is.js +0 -39
  805. package/dist/_shared/esm/Preview-C4XOmSrc.js +0 -173
  806. package/dist/_shared/esm/ProgressStepper-CzfbHcdz.js +0 -89
  807. package/dist/_shared/esm/RadioCardGroup-zNPknE5D.js +0 -78
  808. package/dist/_shared/esm/RadioGroup-DCQshSdc.js +0 -78
  809. package/dist/_shared/esm/Section-D_oywLIw.js +0 -17
  810. package/dist/_shared/esm/SiteFooter-DAJmYrdZ.js +0 -64
  811. package/dist/_shared/esm/SiteHeaderV2-X0qnDr53.js +0 -642
  812. package/dist/_shared/esm/SkipLink-U1oEgZ_e.js +0 -16
  813. package/dist/_shared/esm/Spinner-5EXh-1JS.js +0 -14
  814. package/dist/_shared/esm/Surface-DnIdJOp5.js +0 -174
  815. package/dist/_shared/esm/Tabs-CthwgnE8.js +0 -84
  816. package/dist/_shared/esm/TemplateBanner-C0WAd6x-.js +0 -63
  817. package/dist/_shared/esm/Text-pH7Fi5ml.js +0 -26
  818. package/dist/_shared/esm/TextInput-qy9_xgAX.js +0 -104
  819. package/dist/_shared/esm/ThemeIcon-a0WvZRNE.js +0 -20
  820. package/dist/_shared/esm/Toast-BW9P2Bsb.js +0 -958
  821. package/dist/_shared/esm/UniversalHeader-CKwbQWiu.js +0 -23
  822. package/dist/_shared/esm/VerticalSpace-CYle3p59.js +0 -23
  823. package/dist/_shared/esm/VisuallyHidden-DhtgCXQL.js +0 -12
  824. package/dist/_shared/esm/component-CyFG7PdP.js +0 -73
  825. package/dist/_shared/esm/component-SwsHiZS0.js +0 -398
  826. package/dist/_shared/esm/debounce-BpHLpQ2o.js +0 -657
  827. package/dist/_shared/esm/floating-ui.react-dom-RgnG-641.js +0 -1878
  828. package/dist/_shared/esm/index-2c7jWqIG.js +0 -25
  829. package/dist/_shared/esm/index-65dylwyZ.js +0 -720
  830. package/dist/_shared/esm/index-9kqlGfMG.js +0 -973
  831. package/dist/_shared/esm/index-Bnj2U8kS.js +0 -374
  832. package/dist/_shared/esm/index-C1FjNiZC.js +0 -296
  833. package/dist/_shared/esm/index-CXSorLUc.js +0 -41
  834. package/dist/_shared/esm/index-CXzJEJNs.js +0 -2233
  835. package/dist/_shared/esm/index-CbKHA_yL.js +0 -724
  836. package/dist/_shared/esm/index-Cf_Ki--9.js +0 -129
  837. package/dist/_shared/esm/index-CxovAi9d.js +0 -69
  838. package/dist/_shared/esm/index-DMMRfg3O.js +0 -359
  839. package/dist/_shared/esm/index-D_GX6ppB.js +0 -91
  840. package/dist/_shared/esm/index-UaaG1irA.js +0 -205
  841. package/dist/_shared/esm/index-_nBH8-GT.js +0 -12
  842. package/dist/_shared/esm/index-g5oDHuf6.js +0 -369
  843. package/dist/_shared/esm/index.es-DZ7a2pSw.js +0 -9
  844. package/dist/index.es.js +0 -42081
  845. package/dist/index.es.js.map +0 -1
  846. package/dist/index.js +0 -42178
  847. package/dist/index.js.map +0 -1
  848. package/dist/styles.css +0 -15
  849. package/dist/types/components/Alert/Alert.d.ts +0 -49
  850. package/dist/types/components/Alert/index.d.ts +0 -1
  851. package/dist/types/components/Align/Align.d.ts +0 -30
  852. package/dist/types/components/Align/index.d.ts +0 -1
  853. package/dist/types/components/AppButton/AppButton.d.ts +0 -9
  854. package/dist/types/components/AppButton/icons/AppStore.d.ts +0 -2
  855. package/dist/types/components/AppButton/icons/GooglePlay.d.ts +0 -2
  856. package/dist/types/components/AppButton/index.d.ts +0 -1
  857. package/dist/types/components/Avatar/Avatar.d.ts +0 -14
  858. package/dist/types/components/Avatar/components/AvatarContent/AvatarContent.d.ts +0 -9
  859. package/dist/types/components/Avatar/index.d.ts +0 -1
  860. package/dist/types/components/Avatar/types/avatar-icon-size.d.ts +0 -1
  861. package/dist/types/components/Avatar/types/avatar-image.d.ts +0 -2
  862. package/dist/types/components/Avatar/types/avatar-size.d.ts +0 -1
  863. package/dist/types/components/Avatar/types/avatar-text-size.d.ts +0 -2
  864. package/dist/types/components/AvatarGroup/AvatarGroup.d.ts +0 -14
  865. package/dist/types/components/AvatarGroup/index.d.ts +0 -1
  866. package/dist/types/components/AvatarGroup/types/group-avatar.d.ts +0 -2
  867. package/dist/types/components/AvatarGroup/utils/get-avatars.d.ts +0 -2
  868. package/dist/types/components/Badge/Badge.d.ts +0 -21
  869. package/dist/types/components/Badge/index.d.ts +0 -1
  870. package/dist/types/components/Banner/Banner.d.ts +0 -4
  871. package/dist/types/components/Banner/index.d.ts +0 -1
  872. package/dist/types/components/Box/Box.d.ts +0 -40
  873. package/dist/types/components/Box/index.d.ts +0 -1
  874. package/dist/types/components/BrandLogo/BrandLogo.d.ts +0 -25
  875. package/dist/types/components/BrandLogo/index.d.ts +0 -1
  876. package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +0 -18
  877. package/dist/types/components/Breadcrumbs/BreadcrumbsItem/BreadcrumbsItem.d.ts +0 -17
  878. package/dist/types/components/Breadcrumbs/BreadcrumbsLink/BreadcrumbsLink.d.ts +0 -29
  879. package/dist/types/components/Breadcrumbs/index.d.ts +0 -1
  880. package/dist/types/components/Button/Button.d.ts +0 -116
  881. package/dist/types/components/Button/index.d.ts +0 -1
  882. package/dist/types/components/ButtonGroup/ButtonGroup.d.ts +0 -34
  883. package/dist/types/components/ButtonGroup/index.d.ts +0 -1
  884. package/dist/types/components/ButtonV2/ButtonV2.d.ts +0 -91
  885. package/dist/types/components/ButtonV2/index.d.ts +0 -1
  886. package/dist/types/components/Calendar/Calendar.d.ts +0 -50
  887. package/dist/types/components/Calendar/Calendar.provider.d.ts +0 -21
  888. package/dist/types/components/Calendar/components/CalendarDateSelect/CalendarDateSelect.d.ts +0 -15
  889. package/dist/types/components/Calendar/components/CalendarDateSelect/index.d.ts +0 -1
  890. package/dist/types/components/Calendar/components/CalendarDayGrid/CalendarDayGrid.d.ts +0 -6
  891. package/dist/types/components/Calendar/components/CalendarDayGrid/index.d.ts +0 -1
  892. package/dist/types/components/Calendar/components/CalendarDayNumber/CalendarDayNumber.d.ts +0 -8
  893. package/dist/types/components/Calendar/components/CalendarDayNumber/index.d.ts +0 -1
  894. package/dist/types/components/Calendar/components/CalendarDoubleMonthView/CalendarDoubleMonthView.d.ts +0 -9
  895. package/dist/types/components/Calendar/components/CalendarDoubleMonthView/index.d.ts +0 -1
  896. package/dist/types/components/Calendar/components/CalendarFooter/CalendarFooter.d.ts +0 -6
  897. package/dist/types/components/Calendar/components/CalendarFooter/index.d.ts +0 -1
  898. package/dist/types/components/Calendar/components/CalendarMonthView/CalendarMonthView.d.ts +0 -9
  899. package/dist/types/components/Calendar/components/CalendarMonthView/index.d.ts +0 -1
  900. package/dist/types/components/Calendar/components/CalendarMonthYearView/CalendarMonthYearView.d.ts +0 -11
  901. package/dist/types/components/Calendar/components/CalendarMonthYearView/index.d.ts +0 -1
  902. package/dist/types/components/Calendar/components/CalendarNavButton/CalendarNavButton.d.ts +0 -10
  903. package/dist/types/components/Calendar/components/CalendarNavButton/index.d.ts +0 -1
  904. package/dist/types/components/Calendar/components/CalendarWrapper/CalendarWrapper.d.ts +0 -5
  905. package/dist/types/components/Calendar/components/CalendarWrapper/index.d.ts +0 -1
  906. package/dist/types/components/Calendar/components/index.d.ts +0 -6
  907. package/dist/types/components/Calendar/constants/day-names.d.ts +0 -5
  908. package/dist/types/components/Calendar/constants/index.d.ts +0 -1
  909. package/dist/types/components/Calendar/helpers/contains-date.d.ts +0 -1
  910. package/dist/types/components/Calendar/helpers/contains-date.test.d.ts +0 -1
  911. package/dist/types/components/Calendar/helpers/date-without-time.d.ts +0 -1
  912. package/dist/types/components/Calendar/helpers/date-without-time.test.d.ts +0 -1
  913. package/dist/types/components/Calendar/helpers/get-calendar-type.d.ts +0 -2
  914. package/dist/types/components/Calendar/helpers/get-calendar-type.test.d.ts +0 -1
  915. package/dist/types/components/Calendar/helpers/get-dates-in-month.d.ts +0 -1
  916. package/dist/types/components/Calendar/helpers/get-dates-in-month.test.d.ts +0 -1
  917. package/dist/types/components/Calendar/helpers/get-double-month-display-range.d.ts +0 -1
  918. package/dist/types/components/Calendar/helpers/get-double-month-display-range.test.d.ts +0 -1
  919. package/dist/types/components/Calendar/helpers/get-focus-date.d.ts +0 -5
  920. package/dist/types/components/Calendar/helpers/get-focus-date.test.d.ts +0 -1
  921. package/dist/types/components/Calendar/helpers/get-highlighted-range.d.ts +0 -6
  922. package/dist/types/components/Calendar/helpers/get-highlighted-range.test.d.ts +0 -1
  923. package/dist/types/components/Calendar/helpers/get-keydown-date.d.ts +0 -6
  924. package/dist/types/components/Calendar/helpers/get-keydown-date.test.d.ts +0 -1
  925. package/dist/types/components/Calendar/helpers/index.d.ts +0 -13
  926. package/dist/types/components/Calendar/helpers/is-day.d.ts +0 -2
  927. package/dist/types/components/Calendar/helpers/is-day.test.d.ts +0 -1
  928. package/dist/types/components/Calendar/helpers/is-disabled-date.d.ts +0 -1
  929. package/dist/types/components/Calendar/helpers/is-disabled-date.test.d.ts +0 -1
  930. package/dist/types/components/Calendar/helpers/is-month-after-max-date.d.ts +0 -1
  931. package/dist/types/components/Calendar/helpers/is-month-after-max-date.test.d.ts +0 -1
  932. package/dist/types/components/Calendar/helpers/is-month-before-min-date.d.ts +0 -1
  933. package/dist/types/components/Calendar/helpers/is-month-before-min-date.test.d.ts +0 -1
  934. package/dist/types/components/Calendar/helpers/process-selected-range.d.ts +0 -9
  935. package/dist/types/components/Calendar/helpers/process-selected-range.test.d.ts +0 -1
  936. package/dist/types/components/Calendar/index.d.ts +0 -2
  937. package/dist/types/components/Calendar/state/handlers/calendar-keydown-handler.d.ts +0 -3
  938. package/dist/types/components/Calendar/state/handlers/day-grid-leave-handler.d.ts +0 -3
  939. package/dist/types/components/Calendar/state/handlers/day-number-select-handler.d.ts +0 -3
  940. package/dist/types/components/Calendar/state/handlers/default-handler.d.ts +0 -2
  941. package/dist/types/components/Calendar/state/handlers/dropdown-change-month-handler.d.ts +0 -3
  942. package/dist/types/components/Calendar/state/handlers/dropdown-change-year-handler.d.ts +0 -3
  943. package/dist/types/components/Calendar/state/handlers/highlight-range-handler.d.ts +0 -3
  944. package/dist/types/components/Calendar/state/handlers/index.d.ts +0 -12
  945. package/dist/types/components/Calendar/state/handlers/range-select-handler.d.ts +0 -3
  946. package/dist/types/components/Calendar/state/handlers/show-next-double-month-handler.d.ts +0 -3
  947. package/dist/types/components/Calendar/state/handlers/show-next-month-handler.d.ts +0 -3
  948. package/dist/types/components/Calendar/state/handlers/show-previous-double-month-handler.d.ts +0 -3
  949. package/dist/types/components/Calendar/state/handlers/show-previous-month-handler.d.ts +0 -3
  950. package/dist/types/components/Calendar/state/index.d.ts +0 -2
  951. package/dist/types/components/Calendar/state/reducer.d.ts +0 -3
  952. package/dist/types/components/Calendar/state/reducer.test.d.ts +0 -1
  953. package/dist/types/components/Calendar/state/types/actions.d.ts +0 -81
  954. package/dist/types/components/Calendar/state/types/state-handler.d.ts +0 -3
  955. package/dist/types/components/Calendar/state/types/state.d.ts +0 -5
  956. package/dist/types/components/Calendar/types/calendar-type.d.ts +0 -1
  957. package/dist/types/components/Calendar/types/date-select-value.d.ts +0 -2
  958. package/dist/types/components/Calendar/types/index.d.ts +0 -6
  959. package/dist/types/components/Calendar/types/key-names.d.ts +0 -13
  960. package/dist/types/components/Calendar/types/range-selection.d.ts +0 -10
  961. package/dist/types/components/Calendar/types/selection-type.d.ts +0 -1
  962. package/dist/types/components/Calendar/types/week-days.d.ts +0 -18
  963. package/dist/types/components/CardFooter/CardFooter.d.ts +0 -11
  964. package/dist/types/components/CardFooter/index.d.ts +0 -1
  965. package/dist/types/components/CardHeading/CardHeading.d.ts +0 -19
  966. package/dist/types/components/CardHeading/index.d.ts +0 -1
  967. package/dist/types/components/Carousel/Carousel.d.ts +0 -34
  968. package/dist/types/components/Carousel/components/DotButton.d.ts +0 -10
  969. package/dist/types/components/Carousel/constants/breakpoints.d.ts +0 -5
  970. package/dist/types/components/Carousel/helpers/get-options.d.ts +0 -3
  971. package/dist/types/components/Carousel/helpers/get-slide-width.d.ts +0 -12
  972. package/dist/types/components/Carousel/index.d.ts +0 -1
  973. package/dist/types/components/Carousel/types/breakpoints.d.ts +0 -1
  974. package/dist/types/components/Carousel/types/keynames.d.ts +0 -5
  975. package/dist/types/components/Carousel/types/responsive.d.ts +0 -3
  976. package/dist/types/components/Carousel/types/screen-sizes.d.ts +0 -2
  977. package/dist/types/components/Carousel/types/slide-config.d.ts +0 -5
  978. package/dist/types/components/Checkbox/Checkbox.d.ts +0 -75
  979. package/dist/types/components/Checkbox/index.d.ts +0 -1
  980. package/dist/types/components/Columns/Columns.d.ts +0 -76
  981. package/dist/types/components/Columns/index.d.ts +0 -1
  982. package/dist/types/components/ComboBox/ComboBox.d.ts +0 -17
  983. package/dist/types/components/ComboBox/index.d.ts +0 -1
  984. package/dist/types/components/ComboBox/reducer.d.ts +0 -2
  985. package/dist/types/components/ComboBox/types/actions.d.ts +0 -45
  986. package/dist/types/components/ComboBox/types/index.d.ts +0 -3
  987. package/dist/types/components/ComboBox/types/keynames.d.ts +0 -7
  988. package/dist/types/components/ComboBox/types/state.d.ts +0 -7
  989. package/dist/types/components/ComboBox/utils.d.ts +0 -4
  990. package/dist/types/components/ConditionalWrapper/ConditionalWrapper.d.ts +0 -7
  991. package/dist/types/components/ConditionalWrapper/index.d.ts +0 -1
  992. package/dist/types/components/ContentSwitcher/ContentSwitcher.d.ts +0 -32
  993. package/dist/types/components/ContentSwitcher/ContentSwitcherContent/ContentSwitcherContent.d.ts +0 -12
  994. package/dist/types/components/ContentSwitcher/ContentSwitcherContent/index.d.ts +0 -1
  995. package/dist/types/components/ContentSwitcher/ContentSwitcherList/ContentSwitcherList.d.ts +0 -24
  996. package/dist/types/components/ContentSwitcher/ContentSwitcherList/index.d.ts +0 -1
  997. package/dist/types/components/ContentSwitcher/ContentSwitcherTab/ContentSwitcherTab.d.ts +0 -17
  998. package/dist/types/components/ContentSwitcher/ContentSwitcherTab/index.d.ts +0 -1
  999. package/dist/types/components/ContentSwitcher/index.d.ts +0 -1
  1000. package/dist/types/components/ContentSwitcherDropdown/ContentSwitcherDropdown.d.ts +0 -57
  1001. package/dist/types/components/ContentSwitcherDropdown/index.d.ts +0 -1
  1002. package/dist/types/components/DatePicker/DatePicker.d.ts +0 -20
  1003. package/dist/types/components/DatePicker/constants/date-format.d.ts +0 -1
  1004. package/dist/types/components/DatePicker/constants/index.d.ts +0 -1
  1005. package/dist/types/components/DatePicker/helpers/convert-date-string-to-date.d.ts +0 -1
  1006. package/dist/types/components/DatePicker/helpers/convert-date-string-to-date.test.d.ts +0 -1
  1007. package/dist/types/components/DatePicker/helpers/convert-range-string-to-dates.d.ts +0 -1
  1008. package/dist/types/components/DatePicker/helpers/convert-range-string-to-dates.test.d.ts +0 -1
  1009. package/dist/types/components/DatePicker/helpers/format-date.d.ts +0 -1
  1010. package/dist/types/components/DatePicker/helpers/format-date.test.d.ts +0 -1
  1011. package/dist/types/components/DatePicker/helpers/index.d.ts +0 -8
  1012. package/dist/types/components/DatePicker/helpers/is-date-valid.d.ts +0 -1
  1013. package/dist/types/components/DatePicker/helpers/is-date-valid.test.d.ts +0 -1
  1014. package/dist/types/components/DatePicker/helpers/is-disabled-date.d.ts +0 -1
  1015. package/dist/types/components/DatePicker/helpers/is-disabled-date.test.d.ts +0 -1
  1016. package/dist/types/components/DatePicker/helpers/is-range-valid.d.ts +0 -1
  1017. package/dist/types/components/DatePicker/helpers/is-range-valid.test.d.ts +0 -1
  1018. package/dist/types/components/DatePicker/helpers/parse-date-string.d.ts +0 -5
  1019. package/dist/types/components/DatePicker/helpers/parse-date-string.test.d.ts +0 -1
  1020. package/dist/types/components/DatePicker/helpers/parse-range-string.d.ts +0 -14
  1021. package/dist/types/components/DatePicker/helpers/parse-range-string.test.d.ts +0 -1
  1022. package/dist/types/components/DatePicker/index.d.ts +0 -6
  1023. package/dist/types/components/Disclosure/Disclosure.d.ts +0 -29
  1024. package/dist/types/components/Disclosure/index.d.ts +0 -1
  1025. package/dist/types/components/DisclosureMini/DisclosureMini.d.ts +0 -35
  1026. package/dist/types/components/DisclosureMini/index.d.ts +0 -1
  1027. package/dist/types/components/Download/Download.d.ts +0 -41
  1028. package/dist/types/components/Download/index.d.ts +0 -1
  1029. package/dist/types/components/Drawer/Drawer.d.ts +0 -40
  1030. package/dist/types/components/Drawer/index.d.ts +0 -1
  1031. package/dist/types/components/Elevation/Elevation.d.ts +0 -19
  1032. package/dist/types/components/Elevation/index.d.ts +0 -1
  1033. package/dist/types/components/Filter/Filter.d.ts +0 -38
  1034. package/dist/types/components/Filter/FilterControls/FilterControl/FilterControl.d.ts +0 -16
  1035. package/dist/types/components/Filter/FilterControls/FilterControls.d.ts +0 -12
  1036. package/dist/types/components/Filter/FilterItems/FilterItem/FilterItem.d.ts +0 -12
  1037. package/dist/types/components/Filter/FilterItems/FilterItems.d.ts +0 -16
  1038. package/dist/types/components/Filter/index.d.ts +0 -1
  1039. package/dist/types/components/FormControl/FormControl.d.ts +0 -83
  1040. package/dist/types/components/FormControl/index.d.ts +0 -1
  1041. package/dist/types/components/Grid/Grid.constants.d.ts +0 -1
  1042. package/dist/types/components/Grid/Grid.d.ts +0 -28
  1043. package/dist/types/components/Grid/Grid.types.d.ts +0 -10
  1044. package/dist/types/components/Grid/components/Col/Col.d.ts +0 -10
  1045. package/dist/types/components/Grid/components/Col/index.d.ts +0 -1
  1046. package/dist/types/components/Grid/components/Row/Row.d.ts +0 -10
  1047. package/dist/types/components/Grid/components/Row/index.d.ts +0 -1
  1048. package/dist/types/components/Grid/index.d.ts +0 -2
  1049. package/dist/types/components/Group/Group.d.ts +0 -45
  1050. package/dist/types/components/Group/GroupItem/GroupItem.d.ts +0 -17
  1051. package/dist/types/components/Group/index.d.ts +0 -1
  1052. package/dist/types/components/Heading/Heading.d.ts +0 -53
  1053. package/dist/types/components/Heading/index.d.ts +0 -1
  1054. package/dist/types/components/HeroBanner/HeroBanner.d.ts +0 -9
  1055. package/dist/types/components/HeroBanner/index.d.ts +0 -1
  1056. package/dist/types/components/HeroButton/HeroButton.d.ts +0 -66
  1057. package/dist/types/components/HeroButton/index.d.ts +0 -1
  1058. package/dist/types/components/Hidden/Hidden.d.ts +0 -11
  1059. package/dist/types/components/Hidden/index.d.ts +0 -1
  1060. package/dist/types/components/Icon/Icon.d.ts +0 -37
  1061. package/dist/types/components/Icon/index.d.ts +0 -1
  1062. package/dist/types/components/Image/Image.d.ts +0 -97
  1063. package/dist/types/components/Image/index.d.ts +0 -1
  1064. package/dist/types/components/ImpactCard/ImpactCard.d.ts +0 -58
  1065. package/dist/types/components/ImpactCard/index.d.ts +0 -1
  1066. package/dist/types/components/InformationCard/InformationCard.d.ts +0 -62
  1067. package/dist/types/components/InformationCard/index.d.ts +0 -1
  1068. package/dist/types/components/Link/Link.d.ts +0 -52
  1069. package/dist/types/components/Link/index.d.ts +0 -1
  1070. package/dist/types/components/Markup/Markup.d.ts +0 -15
  1071. package/dist/types/components/Markup/index.d.ts +0 -1
  1072. package/dist/types/components/MediaCard/MediaCard.d.ts +0 -56
  1073. package/dist/types/components/MediaCard/index.d.ts +0 -1
  1074. package/dist/types/components/MediaCard/types/index.d.ts +0 -2
  1075. package/dist/types/components/MediaCard/types/media-card-image.d.ts +0 -4
  1076. package/dist/types/components/MediaCard/types/media-card-video.d.ts +0 -4
  1077. package/dist/types/components/Modal/Modal.d.ts +0 -50
  1078. package/dist/types/components/Modal/index.d.ts +0 -1
  1079. package/dist/types/components/Pagination/Pagination.d.ts +0 -19
  1080. package/dist/types/components/Pagination/index.d.ts +0 -1
  1081. package/dist/types/components/PaginationSimple/PaginationSimple.d.ts +0 -43
  1082. package/dist/types/components/PaginationSimple/index.d.ts +0 -1
  1083. package/dist/types/components/Popover/Popover.d.ts +0 -73
  1084. package/dist/types/components/Popover/index.d.ts +0 -1
  1085. package/dist/types/components/Poster/Poster.d.ts +0 -29
  1086. package/dist/types/components/Poster/PosterImage.d.ts +0 -34
  1087. package/dist/types/components/Poster/PosterVideo.d.ts +0 -21
  1088. package/dist/types/components/Poster/index.d.ts +0 -1
  1089. package/dist/types/components/ProgressBar/ProgressBar.d.ts +0 -50
  1090. package/dist/types/components/ProgressBar/constants/progress-bar-icon-map.d.ts +0 -3
  1091. package/dist/types/components/ProgressBar/index.d.ts +0 -1
  1092. package/dist/types/components/ProgressBar/types/progress-bar-icons.d.ts +0 -1
  1093. package/dist/types/components/ProgressBar/types/progress-bar-state.d.ts +0 -1
  1094. package/dist/types/components/ProgressBar/utils/get-progress-bar-props.d.ts +0 -1
  1095. package/dist/types/components/ProgressStepper/ProgressStepper.d.ts +0 -32
  1096. package/dist/types/components/ProgressStepper/ProgressStepperItem/ProgressStepperItem.d.ts +0 -62
  1097. package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Complete.d.ts +0 -2
  1098. package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Current.d.ts +0 -2
  1099. package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Error.d.ts +0 -2
  1100. package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Warning.d.ts +0 -2
  1101. package/dist/types/components/ProgressStepper/index.d.ts +0 -1
  1102. package/dist/types/components/ProgressStepper/progressStatus.d.ts +0 -1
  1103. package/dist/types/components/RadioCardGroup/RadioCard/RadioCard.d.ts +0 -59
  1104. package/dist/types/components/RadioCardGroup/RadioCard/index.d.ts +0 -1
  1105. package/dist/types/components/RadioCardGroup/RadioCardGroup.d.ts +0 -74
  1106. package/dist/types/components/RadioCardGroup/RadioCardGroupInput/RadioCardGroupInput.d.ts +0 -37
  1107. package/dist/types/components/RadioCardGroup/RadioCardGroupInput/index.d.ts +0 -1
  1108. package/dist/types/components/RadioCardGroup/context.d.ts +0 -12
  1109. package/dist/types/components/RadioCardGroup/index.d.ts +0 -1
  1110. package/dist/types/components/RadioGroup/RadioButton/RadioButton.d.ts +0 -21
  1111. package/dist/types/components/RadioGroup/RadioButton/index.d.ts +0 -1
  1112. package/dist/types/components/RadioGroup/RadioButtonGroupInput/RadioButtonGroupInput.d.ts +0 -36
  1113. package/dist/types/components/RadioGroup/RadioButtonGroupInput/index.d.ts +0 -1
  1114. package/dist/types/components/RadioGroup/RadioGroup.d.ts +0 -66
  1115. package/dist/types/components/RadioGroup/context.d.ts +0 -14
  1116. package/dist/types/components/RadioGroup/index.d.ts +0 -2
  1117. package/dist/types/components/Rule/Rule.d.ts +0 -8
  1118. package/dist/types/components/Rule/index.d.ts +0 -1
  1119. package/dist/types/components/ScrollToTop/ScrollToTop.d.ts +0 -24
  1120. package/dist/types/components/ScrollToTop/index.d.ts +0 -1
  1121. package/dist/types/components/Section/Section.d.ts +0 -20
  1122. package/dist/types/components/Section/index.d.ts +0 -1
  1123. package/dist/types/components/Select/Select.d.ts +0 -85
  1124. package/dist/types/components/Select/index.d.ts +0 -1
  1125. package/dist/types/components/SiteFooter/SiteFooter.d.ts +0 -57
  1126. package/dist/types/components/SiteFooter/index.d.ts +0 -1
  1127. package/dist/types/components/SiteHeaderV2/SiteHeaderV2.d.ts +0 -82
  1128. package/dist/types/components/SiteHeaderV2/components/BackButton/BackButton.d.ts +0 -6
  1129. package/dist/types/components/SiteHeaderV2/components/BackButton/index.d.ts +0 -1
  1130. package/dist/types/components/SiteHeaderV2/components/Column/Column.d.ts +0 -8
  1131. package/dist/types/components/SiteHeaderV2/components/Column/index.d.ts +0 -1
  1132. package/dist/types/components/SiteHeaderV2/components/HorizontalPanel/HorizontalPanel.d.ts +0 -12
  1133. package/dist/types/components/SiteHeaderV2/components/HorizontalPanel/index.d.ts +0 -1
  1134. package/dist/types/components/SiteHeaderV2/components/Item/Item.d.ts +0 -16
  1135. package/dist/types/components/SiteHeaderV2/components/Item/index.d.ts +0 -1
  1136. package/dist/types/components/SiteHeaderV2/components/ItemGroup/ItemGroup.d.ts +0 -27
  1137. package/dist/types/components/SiteHeaderV2/components/ItemGroup/index.d.ts +0 -1
  1138. package/dist/types/components/SiteHeaderV2/components/MenuButton/MenuButton.d.ts +0 -6
  1139. package/dist/types/components/SiteHeaderV2/components/MenuButton/index.d.ts +0 -1
  1140. package/dist/types/components/SiteHeaderV2/components/NavItem/NavItem.d.ts +0 -35
  1141. package/dist/types/components/SiteHeaderV2/components/NavItem/NavItemWithSubNav.d.ts +0 -56
  1142. package/dist/types/components/SiteHeaderV2/components/NavItem/index.d.ts +0 -2
  1143. package/dist/types/components/SiteHeaderV2/components/NodeItem/NodeItem.d.ts +0 -8
  1144. package/dist/types/components/SiteHeaderV2/components/Panel/Panel.d.ts +0 -26
  1145. package/dist/types/components/SiteHeaderV2/components/Panel/index.d.ts +0 -1
  1146. package/dist/types/components/SiteHeaderV2/components/SubNavItem/SubNavItem.d.ts +0 -45
  1147. package/dist/types/components/SiteHeaderV2/components/SubNavItem/index.d.ts +0 -1
  1148. package/dist/types/components/SiteHeaderV2/components/VerticalDivider/VerticalDivider.d.ts +0 -2
  1149. package/dist/types/components/SiteHeaderV2/components/VerticalDivider/index.d.ts +0 -1
  1150. package/dist/types/components/SiteHeaderV2/index.d.ts +0 -1
  1151. package/dist/types/components/Skeleton/Skeleton.d.ts +0 -23
  1152. package/dist/types/components/Skeleton/index.d.ts +0 -1
  1153. package/dist/types/components/SkipLink/SkipLink.d.ts +0 -12
  1154. package/dist/types/components/SkipLink/SkipLinkItem/SkipLinkItem.d.ts +0 -16
  1155. package/dist/types/components/SkipLink/index.d.ts +0 -1
  1156. package/dist/types/components/Spinner/Spinner.d.ts +0 -16
  1157. package/dist/types/components/Spinner/index.d.ts +0 -1
  1158. package/dist/types/components/Surface/Surface.d.ts +0 -53
  1159. package/dist/types/components/Surface/index.d.ts +0 -1
  1160. package/dist/types/components/Switch/Switch.d.ts +0 -47
  1161. package/dist/types/components/Switch/index.d.ts +0 -1
  1162. package/dist/types/components/TabbedBanner/TabbedBanner.d.ts +0 -26
  1163. package/dist/types/components/TabbedBanner/index.d.ts +0 -1
  1164. package/dist/types/components/Tabs/Tab/Tab.d.ts +0 -22
  1165. package/dist/types/components/Tabs/Tab/index.d.ts +0 -1
  1166. package/dist/types/components/Tabs/TabContent/TabContent.d.ts +0 -12
  1167. package/dist/types/components/Tabs/TabContent/index.d.ts +0 -1
  1168. package/dist/types/components/Tabs/Tabs.d.ts +0 -28
  1169. package/dist/types/components/Tabs/TabsList/TabsList.d.ts +0 -20
  1170. package/dist/types/components/Tabs/TabsList/index.d.ts +0 -1
  1171. package/dist/types/components/Tabs/index.d.ts +0 -1
  1172. package/dist/types/components/Tag/Tag.d.ts +0 -36
  1173. package/dist/types/components/Tag/index.d.ts +0 -1
  1174. package/dist/types/components/TemplateBanner/TemplateBanner.d.ts +0 -68
  1175. package/dist/types/components/TemplateBanner/index.d.ts +0 -1
  1176. package/dist/types/components/Text/Text.d.ts +0 -41
  1177. package/dist/types/components/Text/index.d.ts +0 -1
  1178. package/dist/types/components/TextArea/TextArea.d.ts +0 -82
  1179. package/dist/types/components/TextArea/index.d.ts +0 -1
  1180. package/dist/types/components/TextInput/TextInput.d.ts +0 -129
  1181. package/dist/types/components/TextInput/index.d.ts +0 -1
  1182. package/dist/types/components/Theme/Theme.d.ts +0 -21
  1183. package/dist/types/components/Theme/index.d.ts +0 -1
  1184. package/dist/types/components/ThemeIcon/ThemeIcon.d.ts +0 -18
  1185. package/dist/types/components/ThemeIcon/icon-names.d.ts +0 -1
  1186. package/dist/types/components/ThemeIcon/index.d.ts +0 -1
  1187. package/dist/types/components/Toast/Toast.d.ts +0 -17
  1188. package/dist/types/components/Toast/ToastNotification.d.ts +0 -39
  1189. package/dist/types/components/Toast/index.d.ts +0 -1
  1190. package/dist/types/components/Tooltip/Tooltip.d.ts +0 -54
  1191. package/dist/types/components/Tooltip/index.d.ts +0 -1
  1192. package/dist/types/components/Truncate/Truncate.d.ts +0 -17
  1193. package/dist/types/components/Truncate/index.d.ts +0 -1
  1194. package/dist/types/components/TypographyCard/TypographyCard.d.ts +0 -58
  1195. package/dist/types/components/TypographyCard/index.d.ts +0 -1
  1196. package/dist/types/components/UniversalHeader/UniversalHeader.d.ts +0 -29
  1197. package/dist/types/components/UniversalHeader/index.d.ts +0 -1
  1198. package/dist/types/components/VerticalSpace/VerticalSpace.d.ts +0 -33
  1199. package/dist/types/components/VerticalSpace/index.d.ts +0 -1
  1200. package/dist/types/components/VideoPlayer/VideoPlayer.d.ts +0 -27
  1201. package/dist/types/components/VideoPlayer/index.d.ts +0 -1
  1202. package/dist/types/components/Visible/Visible.d.ts +0 -11
  1203. package/dist/types/components/Visible/index.d.ts +0 -1
  1204. package/dist/types/components/VisuallyHidden/VisuallyHidden.d.ts +0 -11
  1205. package/dist/types/components/VisuallyHidden/index.d.ts +0 -1
  1206. package/dist/types/components/index.d.ts +0 -76
  1207. package/dist/types/helpers/anchor-points.d.ts +0 -1
  1208. package/dist/types/helpers/get-theme-img.d.ts +0 -6
  1209. package/dist/types/helpers/handle-link-click.d.ts +0 -7
  1210. package/dist/types/helpers/index.d.ts +0 -2
  1211. package/dist/types/hooks/__tests__/use-aria-describedby.test.d.ts +0 -1
  1212. package/dist/types/hooks/__tests__/use-numeric-input.test.d.ts +0 -1
  1213. package/dist/types/hooks/index.d.ts +0 -2
  1214. package/dist/types/hooks/private/index.d.ts +0 -5
  1215. package/dist/types/hooks/private/use-aria-describedby/index.d.ts +0 -1
  1216. package/dist/types/hooks/private/use-aria-describedby/use-aria-describedby.d.ts +0 -22
  1217. package/dist/types/hooks/private/use-interaction-mode/index.d.ts +0 -1
  1218. package/dist/types/hooks/private/use-interaction-mode/use-interaction-mode.d.ts +0 -6
  1219. package/dist/types/hooks/private/use-numeric-input/index.d.ts +0 -1
  1220. package/dist/types/hooks/private/use-numeric-input/use-numeric-input.d.ts +0 -9
  1221. package/dist/types/hooks/private/use-pagination/index.d.ts +0 -1
  1222. package/dist/types/hooks/private/use-pagination/use-pagination.d.ts +0 -1
  1223. package/dist/types/hooks/private/use-theme-element/index.d.ts +0 -1
  1224. package/dist/types/hooks/public/index.d.ts +0 -1
  1225. package/dist/types/hooks/public/use-media-query/index.d.ts +0 -1
  1226. package/dist/types/hooks/public/use-media-query/use-media-query.d.ts +0 -19
  1227. package/dist/types/index.d.ts +0 -2
  1228. package/dist/types/styles.d.ts +0 -81
  1229. package/dist/types/types/arc-icon.d.ts +0 -2
  1230. package/dist/types/types/auto-complete-types.d.ts +0 -1
  1231. package/dist/use-media-query/package.json +0 -7
  1232. package/dist/use-media-query/use-media-query.cjs.js +0 -8
  1233. package/dist/use-media-query/use-media-query.esm.js +0 -2
  1234. /package/{dist/_shared/cjs/BtIconArrowRight.esm-tlOxlRcu.js → lib/_shared/cjs/BtIconArrowRight-tlOxlRcu.cjs} +0 -0
  1235. /package/{dist/_shared/cjs/BtIconChevronRight2Px.esm-Bi9czTg8.js → lib/_shared/cjs/BtIconChevronRight2Px-Bi9czTg8.cjs} +0 -0
  1236. /package/{dist/_shared/cjs/BtIconChevronRightMid.esm-Dol_sskt.js → lib/_shared/cjs/BtIconChevronRightMid-Dol_sskt.cjs} +0 -0
  1237. /package/{dist/_shared/cjs/BtIconPlayFill.esm-1FkY9-lL.js → lib/_shared/cjs/BtIconPlayFill-1FkY9-lL.cjs} +0 -0
  1238. /package/{dist/_shared/cjs/ConditionalWrapper-C09Kw6EG.js → lib/_shared/cjs/ConditionalWrapper-C09Kw6EG.cjs} +0 -0
  1239. /package/{dist/_shared/cjs/handle-link-click-C7BvOIYa.js → lib/_shared/cjs/handle-link-click-C7BvOIYa.cjs} +0 -0
  1240. /package/{dist/_shared/cjs/index-BLRjGROQ.js → lib/_shared/cjs/index-BLRjGROQ.cjs} +0 -0
  1241. /package/{dist/_shared/cjs/index-CTlXMLug.js → lib/_shared/cjs/index-CTlXMLug.cjs} +0 -0
  1242. /package/{dist/_shared/cjs/keynames-Cx13-hWr.js → lib/_shared/cjs/keynames-Cx13-hWr.cjs} +0 -0
  1243. /package/{dist/_shared/cjs/use-media-query-BsUfHjPZ.js → lib/_shared/cjs/use-media-query-BsUfHjPZ.cjs} +0 -0
  1244. /package/{dist/_shared/esm/BtIconArrowRight.esm-26CZetOo.js → lib/_shared/esm/BtIconArrowRight-26CZetOo.mjs} +0 -0
  1245. /package/{dist/_shared/esm/BtIconChevronRight2Px.esm-DXhBZyIV.js → lib/_shared/esm/BtIconChevronRight2Px-DXhBZyIV.mjs} +0 -0
  1246. /package/{dist/_shared/esm/BtIconChevronRightMid.esm-CbaH-o1_.js → lib/_shared/esm/BtIconChevronRightMid-CbaH-o1_.mjs} +0 -0
  1247. /package/{dist/_shared/esm/BtIconPlayFill.esm-Bi65YfLF.js → lib/_shared/esm/BtIconPlayFill-Bi65YfLF.mjs} +0 -0
  1248. /package/{dist/_shared/esm/ConditionalWrapper-WoJxFYwS.js → lib/_shared/esm/ConditionalWrapper-WoJxFYwS.mjs} +0 -0
  1249. /package/{dist/_shared/esm/handle-link-click-CIgZ7pa0.js → lib/_shared/esm/handle-link-click-CIgZ7pa0.mjs} +0 -0
  1250. /package/{dist/_shared/esm/index-5C0-U8cc.js → lib/_shared/esm/index-5C0-U8cc.mjs} +0 -0
  1251. /package/{dist/_shared/esm/index-Cr6KeQLU.js → lib/_shared/esm/index-Cr6KeQLU.mjs} +0 -0
  1252. /package/{dist/_shared/esm/keynames-B5whqsjh.js → lib/_shared/esm/keynames-B5whqsjh.mjs} +0 -0
  1253. /package/{dist/_shared/esm/use-media-query-DmKuIDEM.js → lib/_shared/esm/use-media-query-DmKuIDEM.mjs} +0 -0
@@ -1,3199 +0,0 @@
1
- import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/index-DMMRfg3O.js';
2
- import React__default from 'react';
3
- import { b as getAugmentedNamespace, a as commonjsGlobal, g as getDefaultExportFromCjs, c as classNames } from '../_shared/esm/index-5C0-U8cc.js';
4
- import { B as BtIconPlayFill } from '../_shared/esm/BtIconPlayFill.esm-Bi65YfLF.js';
5
- import { I as Icon } from '../_shared/esm/Icon-PQa1SRbJ.js';
6
- import { V as VisuallyHidden } from '../_shared/esm/VisuallyHidden-DhtgCXQL.js';
7
- import { V as VerticalSpace } from '../_shared/esm/VerticalSpace-CYle3p59.js';
8
- import { H as Heading } from '../_shared/esm/Heading-B4CveN1U.js';
9
- import { T as Text } from '../_shared/esm/Text-pH7Fi5ml.js';
10
- import { D as Download } from '../_shared/esm/Download-QSXeopnf.js';
11
- import { D as DisclosureMini } from '../_shared/esm/DisclosureMini-C21SM9kp.js';
12
- import '../_shared/esm/Surface-DnIdJOp5.js';
13
- import '../_shared/esm/ThemeIcon-a0WvZRNE.js';
14
-
15
- var cjs;
16
- var hasRequiredCjs;
17
-
18
- function requireCjs () {
19
- if (hasRequiredCjs) return cjs;
20
- hasRequiredCjs = 1;
21
-
22
- var isMergeableObject = function isMergeableObject(value) {
23
- return isNonNullObject(value)
24
- && !isSpecial(value)
25
- };
26
-
27
- function isNonNullObject(value) {
28
- return !!value && typeof value === 'object'
29
- }
30
-
31
- function isSpecial(value) {
32
- var stringValue = Object.prototype.toString.call(value);
33
-
34
- return stringValue === '[object RegExp]'
35
- || stringValue === '[object Date]'
36
- || isReactElement(value)
37
- }
38
-
39
- // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
40
- var canUseSymbol = typeof Symbol === 'function' && Symbol.for;
41
- var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;
42
-
43
- function isReactElement(value) {
44
- return value.$$typeof === REACT_ELEMENT_TYPE
45
- }
46
-
47
- function emptyTarget(val) {
48
- return Array.isArray(val) ? [] : {}
49
- }
50
-
51
- function cloneUnlessOtherwiseSpecified(value, options) {
52
- return (options.clone !== false && options.isMergeableObject(value))
53
- ? deepmerge(emptyTarget(value), value, options)
54
- : value
55
- }
56
-
57
- function defaultArrayMerge(target, source, options) {
58
- return target.concat(source).map(function(element) {
59
- return cloneUnlessOtherwiseSpecified(element, options)
60
- })
61
- }
62
-
63
- function getMergeFunction(key, options) {
64
- if (!options.customMerge) {
65
- return deepmerge
66
- }
67
- var customMerge = options.customMerge(key);
68
- return typeof customMerge === 'function' ? customMerge : deepmerge
69
- }
70
-
71
- function getEnumerableOwnPropertySymbols(target) {
72
- return Object.getOwnPropertySymbols
73
- ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
74
- return Object.propertyIsEnumerable.call(target, symbol)
75
- })
76
- : []
77
- }
78
-
79
- function getKeys(target) {
80
- return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))
81
- }
82
-
83
- function propertyIsOnObject(object, property) {
84
- try {
85
- return property in object
86
- } catch(_) {
87
- return false
88
- }
89
- }
90
-
91
- // Protects from prototype poisoning and unexpected merging up the prototype chain.
92
- function propertyIsUnsafe(target, key) {
93
- return propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,
94
- && !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,
95
- && Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.
96
- }
97
-
98
- function mergeObject(target, source, options) {
99
- var destination = {};
100
- if (options.isMergeableObject(target)) {
101
- getKeys(target).forEach(function(key) {
102
- destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
103
- });
104
- }
105
- getKeys(source).forEach(function(key) {
106
- if (propertyIsUnsafe(target, key)) {
107
- return
108
- }
109
-
110
- if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
111
- destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
112
- } else {
113
- destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
114
- }
115
- });
116
- return destination
117
- }
118
-
119
- function deepmerge(target, source, options) {
120
- options = options || {};
121
- options.arrayMerge = options.arrayMerge || defaultArrayMerge;
122
- options.isMergeableObject = options.isMergeableObject || isMergeableObject;
123
- // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
124
- // implementations can use it. The caller may not replace it.
125
- options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
126
-
127
- var sourceIsArray = Array.isArray(source);
128
- var targetIsArray = Array.isArray(target);
129
- var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
130
-
131
- if (!sourceAndTargetTypesMatch) {
132
- return cloneUnlessOtherwiseSpecified(source, options)
133
- } else if (sourceIsArray) {
134
- return options.arrayMerge(target, source, options)
135
- } else {
136
- return mergeObject(target, source, options)
137
- }
138
- }
139
-
140
- deepmerge.all = function deepmergeAll(array, options) {
141
- if (!Array.isArray(array)) {
142
- throw new Error('first argument should be an array')
143
- }
144
-
145
- return array.reduce(function(prev, next) {
146
- return deepmerge(prev, next, options)
147
- }, {})
148
- };
149
-
150
- var deepmerge_1 = deepmerge;
151
-
152
- cjs = deepmerge_1;
153
- return cjs;
154
- }
155
-
156
- var safeIsNaN = Number.isNaN ||
157
- function ponyfill(value) {
158
- return typeof value === 'number' && value !== value;
159
- };
160
- function isEqual(first, second) {
161
- if (first === second) {
162
- return true;
163
- }
164
- if (safeIsNaN(first) && safeIsNaN(second)) {
165
- return true;
166
- }
167
- return false;
168
- }
169
- function areInputsEqual(newInputs, lastInputs) {
170
- if (newInputs.length !== lastInputs.length) {
171
- return false;
172
- }
173
- for (var i = 0; i < newInputs.length; i++) {
174
- if (!isEqual(newInputs[i], lastInputs[i])) {
175
- return false;
176
- }
177
- }
178
- return true;
179
- }
180
-
181
- function memoizeOne(resultFn, isEqual) {
182
- if (isEqual === void 0) { isEqual = areInputsEqual; }
183
- var lastThis;
184
- var lastArgs = [];
185
- var lastResult;
186
- var calledOnce = false;
187
- function memoized() {
188
- var newArgs = [];
189
- for (var _i = 0; _i < arguments.length; _i++) {
190
- newArgs[_i] = arguments[_i];
191
- }
192
- if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {
193
- return lastResult;
194
- }
195
- lastResult = resultFn.apply(this, newArgs);
196
- calledOnce = true;
197
- lastThis = this;
198
- lastArgs = newArgs;
199
- return lastResult;
200
- }
201
- return memoized;
202
- }
203
-
204
- var memoizeOne_esm = /*#__PURE__*/Object.freeze({
205
- __proto__: null,
206
- default: memoizeOne
207
- });
208
-
209
- var require$$2 = /*@__PURE__*/getAugmentedNamespace(memoizeOne_esm);
210
-
211
- /* global Map:readonly, Set:readonly, ArrayBuffer:readonly */
212
-
213
- var reactFastCompare;
214
- var hasRequiredReactFastCompare;
215
-
216
- function requireReactFastCompare () {
217
- if (hasRequiredReactFastCompare) return reactFastCompare;
218
- hasRequiredReactFastCompare = 1;
219
- var hasElementType = typeof Element !== 'undefined';
220
- var hasMap = typeof Map === 'function';
221
- var hasSet = typeof Set === 'function';
222
- var hasArrayBuffer = typeof ArrayBuffer === 'function' && !!ArrayBuffer.isView;
223
-
224
- // Note: We **don't** need `envHasBigInt64Array` in fde es6/index.js
225
-
226
- function equal(a, b) {
227
- // START: fast-deep-equal es6/index.js 3.1.3
228
- if (a === b) return true;
229
-
230
- if (a && b && typeof a == 'object' && typeof b == 'object') {
231
- if (a.constructor !== b.constructor) return false;
232
-
233
- var length, i, keys;
234
- if (Array.isArray(a)) {
235
- length = a.length;
236
- if (length != b.length) return false;
237
- for (i = length; i-- !== 0;)
238
- if (!equal(a[i], b[i])) return false;
239
- return true;
240
- }
241
-
242
- // START: Modifications:
243
- // 1. Extra `has<Type> &&` helpers in initial condition allow es6 code
244
- // to co-exist with es5.
245
- // 2. Replace `for of` with es5 compliant iteration using `for`.
246
- // Basically, take:
247
- //
248
- // ```js
249
- // for (i of a.entries())
250
- // if (!b.has(i[0])) return false;
251
- // ```
252
- //
253
- // ... and convert to:
254
- //
255
- // ```js
256
- // it = a.entries();
257
- // while (!(i = it.next()).done)
258
- // if (!b.has(i.value[0])) return false;
259
- // ```
260
- //
261
- // **Note**: `i` access switches to `i.value`.
262
- var it;
263
- if (hasMap && (a instanceof Map) && (b instanceof Map)) {
264
- if (a.size !== b.size) return false;
265
- it = a.entries();
266
- while (!(i = it.next()).done)
267
- if (!b.has(i.value[0])) return false;
268
- it = a.entries();
269
- while (!(i = it.next()).done)
270
- if (!equal(i.value[1], b.get(i.value[0]))) return false;
271
- return true;
272
- }
273
-
274
- if (hasSet && (a instanceof Set) && (b instanceof Set)) {
275
- if (a.size !== b.size) return false;
276
- it = a.entries();
277
- while (!(i = it.next()).done)
278
- if (!b.has(i.value[0])) return false;
279
- return true;
280
- }
281
- // END: Modifications
282
-
283
- if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
284
- length = a.length;
285
- if (length != b.length) return false;
286
- for (i = length; i-- !== 0;)
287
- if (a[i] !== b[i]) return false;
288
- return true;
289
- }
290
-
291
- if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
292
- // START: Modifications:
293
- // Apply guards for `Object.create(null)` handling. See:
294
- // - https://github.com/FormidableLabs/react-fast-compare/issues/64
295
- // - https://github.com/epoberezkin/fast-deep-equal/issues/49
296
- if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === 'function' && typeof b.valueOf === 'function') return a.valueOf() === b.valueOf();
297
- if (a.toString !== Object.prototype.toString && typeof a.toString === 'function' && typeof b.toString === 'function') return a.toString() === b.toString();
298
- // END: Modifications
299
-
300
- keys = Object.keys(a);
301
- length = keys.length;
302
- if (length !== Object.keys(b).length) return false;
303
-
304
- for (i = length; i-- !== 0;)
305
- if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
306
- // END: fast-deep-equal
307
-
308
- // START: react-fast-compare
309
- // custom handling for DOM elements
310
- if (hasElementType && a instanceof Element) return false;
311
-
312
- // custom handling for React/Preact
313
- for (i = length; i-- !== 0;) {
314
- if ((keys[i] === '_owner' || keys[i] === '__v' || keys[i] === '__o') && a.$$typeof) {
315
- // React-specific: avoid traversing React elements' _owner
316
- // Preact-specific: avoid traversing Preact elements' __v and __o
317
- // __v = $_original / $_vnode
318
- // __o = $_owner
319
- // These properties contain circular references and are not needed when
320
- // comparing the actual elements (and not their owners)
321
- // .$$typeof and ._store on just reasonable markers of elements
322
-
323
- continue;
324
- }
325
-
326
- // all other properties should be traversed as usual
327
- if (!equal(a[keys[i]], b[keys[i]])) return false;
328
- }
329
- // END: react-fast-compare
330
-
331
- // START: fast-deep-equal
332
- return true;
333
- }
334
-
335
- return a !== a && b !== b;
336
- }
337
- // end fast-deep-equal
338
-
339
- reactFastCompare = function isEqual(a, b) {
340
- try {
341
- return equal(a, b);
342
- } catch (error) {
343
- if (((error.message || '').match(/stack|recursion/i))) {
344
- // warn on circular references, don't crash
345
- // browsers give this different errors name and messages:
346
- // chrome/safari: "RangeError", "Maximum call stack size exceeded"
347
- // firefox: "InternalError", too much recursion"
348
- // edge: "Error", "Out of stack space"
349
- console.warn('react-fast-compare cannot handle circular refs');
350
- return false;
351
- }
352
- // some other error. we should definitely know about these
353
- throw error;
354
- }
355
- };
356
- return reactFastCompare;
357
- }
358
-
359
- var propTypes = {exports: {}};
360
-
361
- var reactIs = {exports: {}};
362
-
363
- var reactIs_production_min = {};
364
-
365
- /** @license React v16.13.1
366
- * react-is.production.min.js
367
- *
368
- * Copyright (c) Facebook, Inc. and its affiliates.
369
- *
370
- * This source code is licensed under the MIT license found in the
371
- * LICENSE file in the root directory of this source tree.
372
- */
373
-
374
- var hasRequiredReactIs_production_min;
375
-
376
- function requireReactIs_production_min () {
377
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
378
- hasRequiredReactIs_production_min = 1;
379
- var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
380
- Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
381
- function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
382
- reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
383
- reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
384
- reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
385
- return reactIs_production_min;
386
- }
387
-
388
- var reactIs_development = {};
389
-
390
- /** @license React v16.13.1
391
- * react-is.development.js
392
- *
393
- * Copyright (c) Facebook, Inc. and its affiliates.
394
- *
395
- * This source code is licensed under the MIT license found in the
396
- * LICENSE file in the root directory of this source tree.
397
- */
398
-
399
- var hasRequiredReactIs_development;
400
-
401
- function requireReactIs_development () {
402
- if (hasRequiredReactIs_development) return reactIs_development;
403
- hasRequiredReactIs_development = 1;
404
-
405
-
406
-
407
- if (process.env.NODE_ENV !== "production") {
408
- (function() {
409
-
410
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
411
- // nor polyfill, then a plain number is used for performance.
412
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
413
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
414
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
415
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
416
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
417
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
418
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
419
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
420
- // (unstable) APIs that have been removed. Can we remove the symbols?
421
-
422
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
423
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
424
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
425
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
426
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
427
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
428
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
429
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
430
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
431
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
432
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
433
-
434
- function isValidElementType(type) {
435
- return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
436
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
437
- }
438
-
439
- function typeOf(object) {
440
- if (typeof object === 'object' && object !== null) {
441
- var $$typeof = object.$$typeof;
442
-
443
- switch ($$typeof) {
444
- case REACT_ELEMENT_TYPE:
445
- var type = object.type;
446
-
447
- switch (type) {
448
- case REACT_ASYNC_MODE_TYPE:
449
- case REACT_CONCURRENT_MODE_TYPE:
450
- case REACT_FRAGMENT_TYPE:
451
- case REACT_PROFILER_TYPE:
452
- case REACT_STRICT_MODE_TYPE:
453
- case REACT_SUSPENSE_TYPE:
454
- return type;
455
-
456
- default:
457
- var $$typeofType = type && type.$$typeof;
458
-
459
- switch ($$typeofType) {
460
- case REACT_CONTEXT_TYPE:
461
- case REACT_FORWARD_REF_TYPE:
462
- case REACT_LAZY_TYPE:
463
- case REACT_MEMO_TYPE:
464
- case REACT_PROVIDER_TYPE:
465
- return $$typeofType;
466
-
467
- default:
468
- return $$typeof;
469
- }
470
-
471
- }
472
-
473
- case REACT_PORTAL_TYPE:
474
- return $$typeof;
475
- }
476
- }
477
-
478
- return undefined;
479
- } // AsyncMode is deprecated along with isAsyncMode
480
-
481
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
482
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
483
- var ContextConsumer = REACT_CONTEXT_TYPE;
484
- var ContextProvider = REACT_PROVIDER_TYPE;
485
- var Element = REACT_ELEMENT_TYPE;
486
- var ForwardRef = REACT_FORWARD_REF_TYPE;
487
- var Fragment = REACT_FRAGMENT_TYPE;
488
- var Lazy = REACT_LAZY_TYPE;
489
- var Memo = REACT_MEMO_TYPE;
490
- var Portal = REACT_PORTAL_TYPE;
491
- var Profiler = REACT_PROFILER_TYPE;
492
- var StrictMode = REACT_STRICT_MODE_TYPE;
493
- var Suspense = REACT_SUSPENSE_TYPE;
494
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
495
-
496
- function isAsyncMode(object) {
497
- {
498
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
499
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
500
-
501
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
502
- }
503
- }
504
-
505
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
506
- }
507
- function isConcurrentMode(object) {
508
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
509
- }
510
- function isContextConsumer(object) {
511
- return typeOf(object) === REACT_CONTEXT_TYPE;
512
- }
513
- function isContextProvider(object) {
514
- return typeOf(object) === REACT_PROVIDER_TYPE;
515
- }
516
- function isElement(object) {
517
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
518
- }
519
- function isForwardRef(object) {
520
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
521
- }
522
- function isFragment(object) {
523
- return typeOf(object) === REACT_FRAGMENT_TYPE;
524
- }
525
- function isLazy(object) {
526
- return typeOf(object) === REACT_LAZY_TYPE;
527
- }
528
- function isMemo(object) {
529
- return typeOf(object) === REACT_MEMO_TYPE;
530
- }
531
- function isPortal(object) {
532
- return typeOf(object) === REACT_PORTAL_TYPE;
533
- }
534
- function isProfiler(object) {
535
- return typeOf(object) === REACT_PROFILER_TYPE;
536
- }
537
- function isStrictMode(object) {
538
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
539
- }
540
- function isSuspense(object) {
541
- return typeOf(object) === REACT_SUSPENSE_TYPE;
542
- }
543
-
544
- reactIs_development.AsyncMode = AsyncMode;
545
- reactIs_development.ConcurrentMode = ConcurrentMode;
546
- reactIs_development.ContextConsumer = ContextConsumer;
547
- reactIs_development.ContextProvider = ContextProvider;
548
- reactIs_development.Element = Element;
549
- reactIs_development.ForwardRef = ForwardRef;
550
- reactIs_development.Fragment = Fragment;
551
- reactIs_development.Lazy = Lazy;
552
- reactIs_development.Memo = Memo;
553
- reactIs_development.Portal = Portal;
554
- reactIs_development.Profiler = Profiler;
555
- reactIs_development.StrictMode = StrictMode;
556
- reactIs_development.Suspense = Suspense;
557
- reactIs_development.isAsyncMode = isAsyncMode;
558
- reactIs_development.isConcurrentMode = isConcurrentMode;
559
- reactIs_development.isContextConsumer = isContextConsumer;
560
- reactIs_development.isContextProvider = isContextProvider;
561
- reactIs_development.isElement = isElement;
562
- reactIs_development.isForwardRef = isForwardRef;
563
- reactIs_development.isFragment = isFragment;
564
- reactIs_development.isLazy = isLazy;
565
- reactIs_development.isMemo = isMemo;
566
- reactIs_development.isPortal = isPortal;
567
- reactIs_development.isProfiler = isProfiler;
568
- reactIs_development.isStrictMode = isStrictMode;
569
- reactIs_development.isSuspense = isSuspense;
570
- reactIs_development.isValidElementType = isValidElementType;
571
- reactIs_development.typeOf = typeOf;
572
- })();
573
- }
574
- return reactIs_development;
575
- }
576
-
577
- var hasRequiredReactIs;
578
-
579
- function requireReactIs () {
580
- if (hasRequiredReactIs) return reactIs.exports;
581
- hasRequiredReactIs = 1;
582
-
583
- if (process.env.NODE_ENV === 'production') {
584
- reactIs.exports = requireReactIs_production_min();
585
- } else {
586
- reactIs.exports = requireReactIs_development();
587
- }
588
- return reactIs.exports;
589
- }
590
-
591
- /*
592
- object-assign
593
- (c) Sindre Sorhus
594
- @license MIT
595
- */
596
-
597
- var objectAssign;
598
- var hasRequiredObjectAssign;
599
-
600
- function requireObjectAssign () {
601
- if (hasRequiredObjectAssign) return objectAssign;
602
- hasRequiredObjectAssign = 1;
603
- /* eslint-disable no-unused-vars */
604
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
605
- var hasOwnProperty = Object.prototype.hasOwnProperty;
606
- var propIsEnumerable = Object.prototype.propertyIsEnumerable;
607
-
608
- function toObject(val) {
609
- if (val === null || val === undefined) {
610
- throw new TypeError('Object.assign cannot be called with null or undefined');
611
- }
612
-
613
- return Object(val);
614
- }
615
-
616
- function shouldUseNative() {
617
- try {
618
- if (!Object.assign) {
619
- return false;
620
- }
621
-
622
- // Detect buggy property enumeration order in older V8 versions.
623
-
624
- // https://bugs.chromium.org/p/v8/issues/detail?id=4118
625
- var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
626
- test1[5] = 'de';
627
- if (Object.getOwnPropertyNames(test1)[0] === '5') {
628
- return false;
629
- }
630
-
631
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
632
- var test2 = {};
633
- for (var i = 0; i < 10; i++) {
634
- test2['_' + String.fromCharCode(i)] = i;
635
- }
636
- var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
637
- return test2[n];
638
- });
639
- if (order2.join('') !== '0123456789') {
640
- return false;
641
- }
642
-
643
- // https://bugs.chromium.org/p/v8/issues/detail?id=3056
644
- var test3 = {};
645
- 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
646
- test3[letter] = letter;
647
- });
648
- if (Object.keys(Object.assign({}, test3)).join('') !==
649
- 'abcdefghijklmnopqrst') {
650
- return false;
651
- }
652
-
653
- return true;
654
- } catch (err) {
655
- // We don't expect any of the above to throw, but better to be safe.
656
- return false;
657
- }
658
- }
659
-
660
- objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
661
- var from;
662
- var to = toObject(target);
663
- var symbols;
664
-
665
- for (var s = 1; s < arguments.length; s++) {
666
- from = Object(arguments[s]);
667
-
668
- for (var key in from) {
669
- if (hasOwnProperty.call(from, key)) {
670
- to[key] = from[key];
671
- }
672
- }
673
-
674
- if (getOwnPropertySymbols) {
675
- symbols = getOwnPropertySymbols(from);
676
- for (var i = 0; i < symbols.length; i++) {
677
- if (propIsEnumerable.call(from, symbols[i])) {
678
- to[symbols[i]] = from[symbols[i]];
679
- }
680
- }
681
- }
682
- }
683
-
684
- return to;
685
- };
686
- return objectAssign;
687
- }
688
-
689
- /**
690
- * Copyright (c) 2013-present, Facebook, Inc.
691
- *
692
- * This source code is licensed under the MIT license found in the
693
- * LICENSE file in the root directory of this source tree.
694
- */
695
-
696
- var ReactPropTypesSecret_1;
697
- var hasRequiredReactPropTypesSecret;
698
-
699
- function requireReactPropTypesSecret () {
700
- if (hasRequiredReactPropTypesSecret) return ReactPropTypesSecret_1;
701
- hasRequiredReactPropTypesSecret = 1;
702
-
703
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
704
-
705
- ReactPropTypesSecret_1 = ReactPropTypesSecret;
706
- return ReactPropTypesSecret_1;
707
- }
708
-
709
- var has;
710
- var hasRequiredHas;
711
-
712
- function requireHas () {
713
- if (hasRequiredHas) return has;
714
- hasRequiredHas = 1;
715
- has = Function.call.bind(Object.prototype.hasOwnProperty);
716
- return has;
717
- }
718
-
719
- /**
720
- * Copyright (c) 2013-present, Facebook, Inc.
721
- *
722
- * This source code is licensed under the MIT license found in the
723
- * LICENSE file in the root directory of this source tree.
724
- */
725
-
726
- var checkPropTypes_1;
727
- var hasRequiredCheckPropTypes;
728
-
729
- function requireCheckPropTypes () {
730
- if (hasRequiredCheckPropTypes) return checkPropTypes_1;
731
- hasRequiredCheckPropTypes = 1;
732
-
733
- var printWarning = function() {};
734
-
735
- if (process.env.NODE_ENV !== 'production') {
736
- var ReactPropTypesSecret = /*@__PURE__*/ requireReactPropTypesSecret();
737
- var loggedTypeFailures = {};
738
- var has = /*@__PURE__*/ requireHas();
739
-
740
- printWarning = function(text) {
741
- var message = 'Warning: ' + text;
742
- if (typeof console !== 'undefined') {
743
- console.error(message);
744
- }
745
- try {
746
- // --- Welcome to debugging React ---
747
- // This error was thrown as a convenience so that you can use this stack
748
- // to find the callsite that caused this warning to fire.
749
- throw new Error(message);
750
- } catch (x) { /**/ }
751
- };
752
- }
753
-
754
- /**
755
- * Assert that the values match with the type specs.
756
- * Error messages are memorized and will only be shown once.
757
- *
758
- * @param {object} typeSpecs Map of name to a ReactPropType
759
- * @param {object} values Runtime values that need to be type-checked
760
- * @param {string} location e.g. "prop", "context", "child context"
761
- * @param {string} componentName Name of the component for error messages.
762
- * @param {?Function} getStack Returns the component stack.
763
- * @private
764
- */
765
- function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
766
- if (process.env.NODE_ENV !== 'production') {
767
- for (var typeSpecName in typeSpecs) {
768
- if (has(typeSpecs, typeSpecName)) {
769
- var error;
770
- // Prop type validation may throw. In case they do, we don't want to
771
- // fail the render phase where it didn't fail before. So we log it.
772
- // After these have been cleaned up, we'll let them throw.
773
- try {
774
- // This is intentionally an invariant that gets caught. It's the same
775
- // behavior as without this statement except with a better message.
776
- if (typeof typeSpecs[typeSpecName] !== 'function') {
777
- var err = Error(
778
- (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
779
- 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
780
- 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
781
- );
782
- err.name = 'Invariant Violation';
783
- throw err;
784
- }
785
- error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
786
- } catch (ex) {
787
- error = ex;
788
- }
789
- if (error && !(error instanceof Error)) {
790
- printWarning(
791
- (componentName || 'React class') + ': type specification of ' +
792
- location + ' `' + typeSpecName + '` is invalid; the type checker ' +
793
- 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
794
- 'You may have forgotten to pass an argument to the type checker ' +
795
- 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
796
- 'shape all require an argument).'
797
- );
798
- }
799
- if (error instanceof Error && !(error.message in loggedTypeFailures)) {
800
- // Only monitor this failure once because there tends to be a lot of the
801
- // same error.
802
- loggedTypeFailures[error.message] = true;
803
-
804
- var stack = getStack ? getStack() : '';
805
-
806
- printWarning(
807
- 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
808
- );
809
- }
810
- }
811
- }
812
- }
813
- }
814
-
815
- /**
816
- * Resets warning cache when testing.
817
- *
818
- * @private
819
- */
820
- checkPropTypes.resetWarningCache = function() {
821
- if (process.env.NODE_ENV !== 'production') {
822
- loggedTypeFailures = {};
823
- }
824
- };
825
-
826
- checkPropTypes_1 = checkPropTypes;
827
- return checkPropTypes_1;
828
- }
829
-
830
- /**
831
- * Copyright (c) 2013-present, Facebook, Inc.
832
- *
833
- * This source code is licensed under the MIT license found in the
834
- * LICENSE file in the root directory of this source tree.
835
- */
836
-
837
- var factoryWithTypeCheckers;
838
- var hasRequiredFactoryWithTypeCheckers;
839
-
840
- function requireFactoryWithTypeCheckers () {
841
- if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
842
- hasRequiredFactoryWithTypeCheckers = 1;
843
-
844
- var ReactIs = requireReactIs();
845
- var assign = requireObjectAssign();
846
-
847
- var ReactPropTypesSecret = /*@__PURE__*/ requireReactPropTypesSecret();
848
- var has = /*@__PURE__*/ requireHas();
849
- var checkPropTypes = /*@__PURE__*/ requireCheckPropTypes();
850
-
851
- var printWarning = function() {};
852
-
853
- if (process.env.NODE_ENV !== 'production') {
854
- printWarning = function(text) {
855
- var message = 'Warning: ' + text;
856
- if (typeof console !== 'undefined') {
857
- console.error(message);
858
- }
859
- try {
860
- // --- Welcome to debugging React ---
861
- // This error was thrown as a convenience so that you can use this stack
862
- // to find the callsite that caused this warning to fire.
863
- throw new Error(message);
864
- } catch (x) {}
865
- };
866
- }
867
-
868
- function emptyFunctionThatReturnsNull() {
869
- return null;
870
- }
871
-
872
- factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
873
- /* global Symbol */
874
- var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
875
- var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
876
-
877
- /**
878
- * Returns the iterator method function contained on the iterable object.
879
- *
880
- * Be sure to invoke the function with the iterable as context:
881
- *
882
- * var iteratorFn = getIteratorFn(myIterable);
883
- * if (iteratorFn) {
884
- * var iterator = iteratorFn.call(myIterable);
885
- * ...
886
- * }
887
- *
888
- * @param {?object} maybeIterable
889
- * @return {?function}
890
- */
891
- function getIteratorFn(maybeIterable) {
892
- var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
893
- if (typeof iteratorFn === 'function') {
894
- return iteratorFn;
895
- }
896
- }
897
-
898
- /**
899
- * Collection of methods that allow declaration and validation of props that are
900
- * supplied to React components. Example usage:
901
- *
902
- * var Props = require('ReactPropTypes');
903
- * var MyArticle = React.createClass({
904
- * propTypes: {
905
- * // An optional string prop named "description".
906
- * description: Props.string,
907
- *
908
- * // A required enum prop named "category".
909
- * category: Props.oneOf(['News','Photos']).isRequired,
910
- *
911
- * // A prop named "dialog" that requires an instance of Dialog.
912
- * dialog: Props.instanceOf(Dialog).isRequired
913
- * },
914
- * render: function() { ... }
915
- * });
916
- *
917
- * A more formal specification of how these methods are used:
918
- *
919
- * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
920
- * decl := ReactPropTypes.{type}(.isRequired)?
921
- *
922
- * Each and every declaration produces a function with the same signature. This
923
- * allows the creation of custom validation functions. For example:
924
- *
925
- * var MyLink = React.createClass({
926
- * propTypes: {
927
- * // An optional string or URI prop named "href".
928
- * href: function(props, propName, componentName) {
929
- * var propValue = props[propName];
930
- * if (propValue != null && typeof propValue !== 'string' &&
931
- * !(propValue instanceof URI)) {
932
- * return new Error(
933
- * 'Expected a string or an URI for ' + propName + ' in ' +
934
- * componentName
935
- * );
936
- * }
937
- * }
938
- * },
939
- * render: function() {...}
940
- * });
941
- *
942
- * @internal
943
- */
944
-
945
- var ANONYMOUS = '<<anonymous>>';
946
-
947
- // Important!
948
- // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
949
- var ReactPropTypes = {
950
- array: createPrimitiveTypeChecker('array'),
951
- bigint: createPrimitiveTypeChecker('bigint'),
952
- bool: createPrimitiveTypeChecker('boolean'),
953
- func: createPrimitiveTypeChecker('function'),
954
- number: createPrimitiveTypeChecker('number'),
955
- object: createPrimitiveTypeChecker('object'),
956
- string: createPrimitiveTypeChecker('string'),
957
- symbol: createPrimitiveTypeChecker('symbol'),
958
-
959
- any: createAnyTypeChecker(),
960
- arrayOf: createArrayOfTypeChecker,
961
- element: createElementTypeChecker(),
962
- elementType: createElementTypeTypeChecker(),
963
- instanceOf: createInstanceTypeChecker,
964
- node: createNodeChecker(),
965
- objectOf: createObjectOfTypeChecker,
966
- oneOf: createEnumTypeChecker,
967
- oneOfType: createUnionTypeChecker,
968
- shape: createShapeTypeChecker,
969
- exact: createStrictShapeTypeChecker,
970
- };
971
-
972
- /**
973
- * inlined Object.is polyfill to avoid requiring consumers ship their own
974
- * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
975
- */
976
- /*eslint-disable no-self-compare*/
977
- function is(x, y) {
978
- // SameValue algorithm
979
- if (x === y) {
980
- // Steps 1-5, 7-10
981
- // Steps 6.b-6.e: +0 != -0
982
- return x !== 0 || 1 / x === 1 / y;
983
- } else {
984
- // Step 6.a: NaN == NaN
985
- return x !== x && y !== y;
986
- }
987
- }
988
- /*eslint-enable no-self-compare*/
989
-
990
- /**
991
- * We use an Error-like object for backward compatibility as people may call
992
- * PropTypes directly and inspect their output. However, we don't use real
993
- * Errors anymore. We don't inspect their stack anyway, and creating them
994
- * is prohibitively expensive if they are created too often, such as what
995
- * happens in oneOfType() for any type before the one that matched.
996
- */
997
- function PropTypeError(message, data) {
998
- this.message = message;
999
- this.data = data && typeof data === 'object' ? data: {};
1000
- this.stack = '';
1001
- }
1002
- // Make `instanceof Error` still work for returned errors.
1003
- PropTypeError.prototype = Error.prototype;
1004
-
1005
- function createChainableTypeChecker(validate) {
1006
- if (process.env.NODE_ENV !== 'production') {
1007
- var manualPropTypeCallCache = {};
1008
- var manualPropTypeWarningCount = 0;
1009
- }
1010
- function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
1011
- componentName = componentName || ANONYMOUS;
1012
- propFullName = propFullName || propName;
1013
-
1014
- if (secret !== ReactPropTypesSecret) {
1015
- if (throwOnDirectAccess) {
1016
- // New behavior only for users of `prop-types` package
1017
- var err = new Error(
1018
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
1019
- 'Use `PropTypes.checkPropTypes()` to call them. ' +
1020
- 'Read more at http://fb.me/use-check-prop-types'
1021
- );
1022
- err.name = 'Invariant Violation';
1023
- throw err;
1024
- } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
1025
- // Old behavior for people using React.PropTypes
1026
- var cacheKey = componentName + ':' + propName;
1027
- if (
1028
- !manualPropTypeCallCache[cacheKey] &&
1029
- // Avoid spamming the console because they are often not actionable except for lib authors
1030
- manualPropTypeWarningCount < 3
1031
- ) {
1032
- printWarning(
1033
- 'You are manually calling a React.PropTypes validation ' +
1034
- 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
1035
- 'and will throw in the standalone `prop-types` package. ' +
1036
- 'You may be seeing this warning due to a third-party PropTypes ' +
1037
- 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
1038
- );
1039
- manualPropTypeCallCache[cacheKey] = true;
1040
- manualPropTypeWarningCount++;
1041
- }
1042
- }
1043
- }
1044
- if (props[propName] == null) {
1045
- if (isRequired) {
1046
- if (props[propName] === null) {
1047
- return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
1048
- }
1049
- return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
1050
- }
1051
- return null;
1052
- } else {
1053
- return validate(props, propName, componentName, location, propFullName);
1054
- }
1055
- }
1056
-
1057
- var chainedCheckType = checkType.bind(null, false);
1058
- chainedCheckType.isRequired = checkType.bind(null, true);
1059
-
1060
- return chainedCheckType;
1061
- }
1062
-
1063
- function createPrimitiveTypeChecker(expectedType) {
1064
- function validate(props, propName, componentName, location, propFullName, secret) {
1065
- var propValue = props[propName];
1066
- var propType = getPropType(propValue);
1067
- if (propType !== expectedType) {
1068
- // `propValue` being instance of, say, date/regexp, pass the 'object'
1069
- // check, but we can offer a more precise error message here rather than
1070
- // 'of type `object`'.
1071
- var preciseType = getPreciseType(propValue);
1072
-
1073
- return new PropTypeError(
1074
- 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
1075
- {expectedType: expectedType}
1076
- );
1077
- }
1078
- return null;
1079
- }
1080
- return createChainableTypeChecker(validate);
1081
- }
1082
-
1083
- function createAnyTypeChecker() {
1084
- return createChainableTypeChecker(emptyFunctionThatReturnsNull);
1085
- }
1086
-
1087
- function createArrayOfTypeChecker(typeChecker) {
1088
- function validate(props, propName, componentName, location, propFullName) {
1089
- if (typeof typeChecker !== 'function') {
1090
- return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
1091
- }
1092
- var propValue = props[propName];
1093
- if (!Array.isArray(propValue)) {
1094
- var propType = getPropType(propValue);
1095
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
1096
- }
1097
- for (var i = 0; i < propValue.length; i++) {
1098
- var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
1099
- if (error instanceof Error) {
1100
- return error;
1101
- }
1102
- }
1103
- return null;
1104
- }
1105
- return createChainableTypeChecker(validate);
1106
- }
1107
-
1108
- function createElementTypeChecker() {
1109
- function validate(props, propName, componentName, location, propFullName) {
1110
- var propValue = props[propName];
1111
- if (!isValidElement(propValue)) {
1112
- var propType = getPropType(propValue);
1113
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
1114
- }
1115
- return null;
1116
- }
1117
- return createChainableTypeChecker(validate);
1118
- }
1119
-
1120
- function createElementTypeTypeChecker() {
1121
- function validate(props, propName, componentName, location, propFullName) {
1122
- var propValue = props[propName];
1123
- if (!ReactIs.isValidElementType(propValue)) {
1124
- var propType = getPropType(propValue);
1125
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
1126
- }
1127
- return null;
1128
- }
1129
- return createChainableTypeChecker(validate);
1130
- }
1131
-
1132
- function createInstanceTypeChecker(expectedClass) {
1133
- function validate(props, propName, componentName, location, propFullName) {
1134
- if (!(props[propName] instanceof expectedClass)) {
1135
- var expectedClassName = expectedClass.name || ANONYMOUS;
1136
- var actualClassName = getClassName(props[propName]);
1137
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
1138
- }
1139
- return null;
1140
- }
1141
- return createChainableTypeChecker(validate);
1142
- }
1143
-
1144
- function createEnumTypeChecker(expectedValues) {
1145
- if (!Array.isArray(expectedValues)) {
1146
- if (process.env.NODE_ENV !== 'production') {
1147
- if (arguments.length > 1) {
1148
- printWarning(
1149
- 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
1150
- 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
1151
- );
1152
- } else {
1153
- printWarning('Invalid argument supplied to oneOf, expected an array.');
1154
- }
1155
- }
1156
- return emptyFunctionThatReturnsNull;
1157
- }
1158
-
1159
- function validate(props, propName, componentName, location, propFullName) {
1160
- var propValue = props[propName];
1161
- for (var i = 0; i < expectedValues.length; i++) {
1162
- if (is(propValue, expectedValues[i])) {
1163
- return null;
1164
- }
1165
- }
1166
-
1167
- var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
1168
- var type = getPreciseType(value);
1169
- if (type === 'symbol') {
1170
- return String(value);
1171
- }
1172
- return value;
1173
- });
1174
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
1175
- }
1176
- return createChainableTypeChecker(validate);
1177
- }
1178
-
1179
- function createObjectOfTypeChecker(typeChecker) {
1180
- function validate(props, propName, componentName, location, propFullName) {
1181
- if (typeof typeChecker !== 'function') {
1182
- return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
1183
- }
1184
- var propValue = props[propName];
1185
- var propType = getPropType(propValue);
1186
- if (propType !== 'object') {
1187
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
1188
- }
1189
- for (var key in propValue) {
1190
- if (has(propValue, key)) {
1191
- var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
1192
- if (error instanceof Error) {
1193
- return error;
1194
- }
1195
- }
1196
- }
1197
- return null;
1198
- }
1199
- return createChainableTypeChecker(validate);
1200
- }
1201
-
1202
- function createUnionTypeChecker(arrayOfTypeCheckers) {
1203
- if (!Array.isArray(arrayOfTypeCheckers)) {
1204
- process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
1205
- return emptyFunctionThatReturnsNull;
1206
- }
1207
-
1208
- for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
1209
- var checker = arrayOfTypeCheckers[i];
1210
- if (typeof checker !== 'function') {
1211
- printWarning(
1212
- 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
1213
- 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
1214
- );
1215
- return emptyFunctionThatReturnsNull;
1216
- }
1217
- }
1218
-
1219
- function validate(props, propName, componentName, location, propFullName) {
1220
- var expectedTypes = [];
1221
- for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
1222
- var checker = arrayOfTypeCheckers[i];
1223
- var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
1224
- if (checkerResult == null) {
1225
- return null;
1226
- }
1227
- if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
1228
- expectedTypes.push(checkerResult.data.expectedType);
1229
- }
1230
- }
1231
- var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
1232
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
1233
- }
1234
- return createChainableTypeChecker(validate);
1235
- }
1236
-
1237
- function createNodeChecker() {
1238
- function validate(props, propName, componentName, location, propFullName) {
1239
- if (!isNode(props[propName])) {
1240
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
1241
- }
1242
- return null;
1243
- }
1244
- return createChainableTypeChecker(validate);
1245
- }
1246
-
1247
- function invalidValidatorError(componentName, location, propFullName, key, type) {
1248
- return new PropTypeError(
1249
- (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
1250
- 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
1251
- );
1252
- }
1253
-
1254
- function createShapeTypeChecker(shapeTypes) {
1255
- function validate(props, propName, componentName, location, propFullName) {
1256
- var propValue = props[propName];
1257
- var propType = getPropType(propValue);
1258
- if (propType !== 'object') {
1259
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
1260
- }
1261
- for (var key in shapeTypes) {
1262
- var checker = shapeTypes[key];
1263
- if (typeof checker !== 'function') {
1264
- return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
1265
- }
1266
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
1267
- if (error) {
1268
- return error;
1269
- }
1270
- }
1271
- return null;
1272
- }
1273
- return createChainableTypeChecker(validate);
1274
- }
1275
-
1276
- function createStrictShapeTypeChecker(shapeTypes) {
1277
- function validate(props, propName, componentName, location, propFullName) {
1278
- var propValue = props[propName];
1279
- var propType = getPropType(propValue);
1280
- if (propType !== 'object') {
1281
- return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
1282
- }
1283
- // We need to check all keys in case some are required but missing from props.
1284
- var allKeys = assign({}, props[propName], shapeTypes);
1285
- for (var key in allKeys) {
1286
- var checker = shapeTypes[key];
1287
- if (has(shapeTypes, key) && typeof checker !== 'function') {
1288
- return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
1289
- }
1290
- if (!checker) {
1291
- return new PropTypeError(
1292
- 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
1293
- '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
1294
- '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
1295
- );
1296
- }
1297
- var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
1298
- if (error) {
1299
- return error;
1300
- }
1301
- }
1302
- return null;
1303
- }
1304
-
1305
- return createChainableTypeChecker(validate);
1306
- }
1307
-
1308
- function isNode(propValue) {
1309
- switch (typeof propValue) {
1310
- case 'number':
1311
- case 'string':
1312
- case 'undefined':
1313
- return true;
1314
- case 'boolean':
1315
- return !propValue;
1316
- case 'object':
1317
- if (Array.isArray(propValue)) {
1318
- return propValue.every(isNode);
1319
- }
1320
- if (propValue === null || isValidElement(propValue)) {
1321
- return true;
1322
- }
1323
-
1324
- var iteratorFn = getIteratorFn(propValue);
1325
- if (iteratorFn) {
1326
- var iterator = iteratorFn.call(propValue);
1327
- var step;
1328
- if (iteratorFn !== propValue.entries) {
1329
- while (!(step = iterator.next()).done) {
1330
- if (!isNode(step.value)) {
1331
- return false;
1332
- }
1333
- }
1334
- } else {
1335
- // Iterator will provide entry [k,v] tuples rather than values.
1336
- while (!(step = iterator.next()).done) {
1337
- var entry = step.value;
1338
- if (entry) {
1339
- if (!isNode(entry[1])) {
1340
- return false;
1341
- }
1342
- }
1343
- }
1344
- }
1345
- } else {
1346
- return false;
1347
- }
1348
-
1349
- return true;
1350
- default:
1351
- return false;
1352
- }
1353
- }
1354
-
1355
- function isSymbol(propType, propValue) {
1356
- // Native Symbol.
1357
- if (propType === 'symbol') {
1358
- return true;
1359
- }
1360
-
1361
- // falsy value can't be a Symbol
1362
- if (!propValue) {
1363
- return false;
1364
- }
1365
-
1366
- // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
1367
- if (propValue['@@toStringTag'] === 'Symbol') {
1368
- return true;
1369
- }
1370
-
1371
- // Fallback for non-spec compliant Symbols which are polyfilled.
1372
- if (typeof Symbol === 'function' && propValue instanceof Symbol) {
1373
- return true;
1374
- }
1375
-
1376
- return false;
1377
- }
1378
-
1379
- // Equivalent of `typeof` but with special handling for array and regexp.
1380
- function getPropType(propValue) {
1381
- var propType = typeof propValue;
1382
- if (Array.isArray(propValue)) {
1383
- return 'array';
1384
- }
1385
- if (propValue instanceof RegExp) {
1386
- // Old webkits (at least until Android 4.0) return 'function' rather than
1387
- // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
1388
- // passes PropTypes.object.
1389
- return 'object';
1390
- }
1391
- if (isSymbol(propType, propValue)) {
1392
- return 'symbol';
1393
- }
1394
- return propType;
1395
- }
1396
-
1397
- // This handles more types than `getPropType`. Only used for error messages.
1398
- // See `createPrimitiveTypeChecker`.
1399
- function getPreciseType(propValue) {
1400
- if (typeof propValue === 'undefined' || propValue === null) {
1401
- return '' + propValue;
1402
- }
1403
- var propType = getPropType(propValue);
1404
- if (propType === 'object') {
1405
- if (propValue instanceof Date) {
1406
- return 'date';
1407
- } else if (propValue instanceof RegExp) {
1408
- return 'regexp';
1409
- }
1410
- }
1411
- return propType;
1412
- }
1413
-
1414
- // Returns a string that is postfixed to a warning about an invalid type.
1415
- // For example, "undefined" or "of type array"
1416
- function getPostfixForTypeWarning(value) {
1417
- var type = getPreciseType(value);
1418
- switch (type) {
1419
- case 'array':
1420
- case 'object':
1421
- return 'an ' + type;
1422
- case 'boolean':
1423
- case 'date':
1424
- case 'regexp':
1425
- return 'a ' + type;
1426
- default:
1427
- return type;
1428
- }
1429
- }
1430
-
1431
- // Returns class name of the object, if any.
1432
- function getClassName(propValue) {
1433
- if (!propValue.constructor || !propValue.constructor.name) {
1434
- return ANONYMOUS;
1435
- }
1436
- return propValue.constructor.name;
1437
- }
1438
-
1439
- ReactPropTypes.checkPropTypes = checkPropTypes;
1440
- ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
1441
- ReactPropTypes.PropTypes = ReactPropTypes;
1442
-
1443
- return ReactPropTypes;
1444
- };
1445
- return factoryWithTypeCheckers;
1446
- }
1447
-
1448
- /**
1449
- * Copyright (c) 2013-present, Facebook, Inc.
1450
- *
1451
- * This source code is licensed under the MIT license found in the
1452
- * LICENSE file in the root directory of this source tree.
1453
- */
1454
-
1455
- var factoryWithThrowingShims;
1456
- var hasRequiredFactoryWithThrowingShims;
1457
-
1458
- function requireFactoryWithThrowingShims () {
1459
- if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
1460
- hasRequiredFactoryWithThrowingShims = 1;
1461
-
1462
- var ReactPropTypesSecret = /*@__PURE__*/ requireReactPropTypesSecret();
1463
-
1464
- function emptyFunction() {}
1465
- function emptyFunctionWithReset() {}
1466
- emptyFunctionWithReset.resetWarningCache = emptyFunction;
1467
-
1468
- factoryWithThrowingShims = function() {
1469
- function shim(props, propName, componentName, location, propFullName, secret) {
1470
- if (secret === ReactPropTypesSecret) {
1471
- // It is still safe when called from React.
1472
- return;
1473
- }
1474
- var err = new Error(
1475
- 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
1476
- 'Use PropTypes.checkPropTypes() to call them. ' +
1477
- 'Read more at http://fb.me/use-check-prop-types'
1478
- );
1479
- err.name = 'Invariant Violation';
1480
- throw err;
1481
- } shim.isRequired = shim;
1482
- function getShim() {
1483
- return shim;
1484
- } // Important!
1485
- // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
1486
- var ReactPropTypes = {
1487
- array: shim,
1488
- bigint: shim,
1489
- bool: shim,
1490
- func: shim,
1491
- number: shim,
1492
- object: shim,
1493
- string: shim,
1494
- symbol: shim,
1495
-
1496
- any: shim,
1497
- arrayOf: getShim,
1498
- element: shim,
1499
- elementType: shim,
1500
- instanceOf: getShim,
1501
- node: shim,
1502
- objectOf: getShim,
1503
- oneOf: getShim,
1504
- oneOfType: getShim,
1505
- shape: getShim,
1506
- exact: getShim,
1507
-
1508
- checkPropTypes: emptyFunctionWithReset,
1509
- resetWarningCache: emptyFunction
1510
- };
1511
-
1512
- ReactPropTypes.PropTypes = ReactPropTypes;
1513
-
1514
- return ReactPropTypes;
1515
- };
1516
- return factoryWithThrowingShims;
1517
- }
1518
-
1519
- /**
1520
- * Copyright (c) 2013-present, Facebook, Inc.
1521
- *
1522
- * This source code is licensed under the MIT license found in the
1523
- * LICENSE file in the root directory of this source tree.
1524
- */
1525
-
1526
- var hasRequiredPropTypes;
1527
-
1528
- function requirePropTypes () {
1529
- if (hasRequiredPropTypes) return propTypes.exports;
1530
- hasRequiredPropTypes = 1;
1531
- if (process.env.NODE_ENV !== 'production') {
1532
- var ReactIs = requireReactIs();
1533
-
1534
- // By explicitly using `prop-types` you are opting into new development behavior.
1535
- // http://fb.me/prop-types-in-prod
1536
- var throwOnDirectAccess = true;
1537
- propTypes.exports = /*@__PURE__*/ requireFactoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess);
1538
- } else {
1539
- // By explicitly using `prop-types` you are opting into new production behavior.
1540
- // http://fb.me/prop-types-in-prod
1541
- propTypes.exports = /*@__PURE__*/ requireFactoryWithThrowingShims()();
1542
- }
1543
- return propTypes.exports;
1544
- }
1545
-
1546
- var props;
1547
- var hasRequiredProps;
1548
-
1549
- function requireProps () {
1550
- if (hasRequiredProps) return props;
1551
- hasRequiredProps = 1;
1552
- var __create = Object.create;
1553
- var __defProp = Object.defineProperty;
1554
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
1555
- var __getOwnPropNames = Object.getOwnPropertyNames;
1556
- var __getProtoOf = Object.getPrototypeOf;
1557
- var __hasOwnProp = Object.prototype.hasOwnProperty;
1558
- var __export = (target, all) => {
1559
- for (var name in all)
1560
- __defProp(target, name, { get: all[name], enumerable: true });
1561
- };
1562
- var __copyProps = (to, from, except, desc) => {
1563
- if (from && typeof from === "object" || typeof from === "function") {
1564
- for (let key of __getOwnPropNames(from))
1565
- if (!__hasOwnProp.call(to, key) && key !== except)
1566
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
1567
- }
1568
- return to;
1569
- };
1570
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
1571
- // If the importer is in node compatibility mode or this is not an ESM
1572
- // file that has been converted to a CommonJS file using a Babel-
1573
- // compatible transform (i.e. "__esModule" has not been set), then set
1574
- // "default" to the CommonJS "module.exports" for node compatibility.
1575
- !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
1576
- mod
1577
- ));
1578
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1579
- var props_exports = {};
1580
- __export(props_exports, {
1581
- defaultProps: () => defaultProps,
1582
- propTypes: () => propTypes
1583
- });
1584
- props = __toCommonJS(props_exports);
1585
- var import_prop_types = __toESM(/*@__PURE__*/ requirePropTypes());
1586
- const { string, bool, number, array, oneOfType, shape, object, func, node } = import_prop_types.default;
1587
- const propTypes = {
1588
- url: oneOfType([string, array, object]),
1589
- playing: bool,
1590
- loop: bool,
1591
- controls: bool,
1592
- volume: number,
1593
- muted: bool,
1594
- playbackRate: number,
1595
- width: oneOfType([string, number]),
1596
- height: oneOfType([string, number]),
1597
- style: object,
1598
- progressInterval: number,
1599
- playsinline: bool,
1600
- pip: bool,
1601
- stopOnUnmount: bool,
1602
- light: oneOfType([bool, string, object]),
1603
- playIcon: node,
1604
- previewTabIndex: number,
1605
- previewAriaLabel: string,
1606
- fallback: node,
1607
- oEmbedUrl: string,
1608
- wrapper: oneOfType([
1609
- string,
1610
- func,
1611
- shape({ render: func.isRequired })
1612
- ]),
1613
- config: shape({
1614
- soundcloud: shape({
1615
- options: object
1616
- }),
1617
- youtube: shape({
1618
- playerVars: object,
1619
- embedOptions: object,
1620
- onUnstarted: func
1621
- }),
1622
- facebook: shape({
1623
- appId: string,
1624
- version: string,
1625
- playerId: string,
1626
- attributes: object
1627
- }),
1628
- dailymotion: shape({
1629
- params: object
1630
- }),
1631
- vimeo: shape({
1632
- playerOptions: object,
1633
- title: string
1634
- }),
1635
- mux: shape({
1636
- attributes: object,
1637
- version: string
1638
- }),
1639
- file: shape({
1640
- attributes: object,
1641
- tracks: array,
1642
- forceVideo: bool,
1643
- forceAudio: bool,
1644
- forceHLS: bool,
1645
- forceSafariHLS: bool,
1646
- forceDisableHls: bool,
1647
- forceDASH: bool,
1648
- forceFLV: bool,
1649
- hlsOptions: object,
1650
- hlsVersion: string,
1651
- dashVersion: string,
1652
- flvVersion: string
1653
- }),
1654
- wistia: shape({
1655
- options: object,
1656
- playerId: string,
1657
- customControls: array
1658
- }),
1659
- mixcloud: shape({
1660
- options: object
1661
- }),
1662
- twitch: shape({
1663
- options: object,
1664
- playerId: string
1665
- }),
1666
- vidyard: shape({
1667
- options: object
1668
- })
1669
- }),
1670
- onReady: func,
1671
- onStart: func,
1672
- onPlay: func,
1673
- onPause: func,
1674
- onBuffer: func,
1675
- onBufferEnd: func,
1676
- onEnded: func,
1677
- onError: func,
1678
- onDuration: func,
1679
- onSeek: func,
1680
- onPlaybackRateChange: func,
1681
- onPlaybackQualityChange: func,
1682
- onProgress: func,
1683
- onClickPreview: func,
1684
- onEnablePIP: func,
1685
- onDisablePIP: func
1686
- };
1687
- const noop = () => {
1688
- };
1689
- const defaultProps = {
1690
- playing: false,
1691
- loop: false,
1692
- controls: false,
1693
- volume: null,
1694
- muted: false,
1695
- playbackRate: 1,
1696
- width: "640px",
1697
- height: "360px",
1698
- style: {},
1699
- progressInterval: 1e3,
1700
- playsinline: false,
1701
- pip: false,
1702
- stopOnUnmount: true,
1703
- light: false,
1704
- fallback: null,
1705
- wrapper: "div",
1706
- previewTabIndex: 0,
1707
- previewAriaLabel: "",
1708
- oEmbedUrl: "https://noembed.com/embed?url={url}",
1709
- config: {
1710
- soundcloud: {
1711
- options: {
1712
- visual: true,
1713
- // Undocumented, but makes player fill container and look better
1714
- buying: false,
1715
- liking: false,
1716
- download: false,
1717
- sharing: false,
1718
- show_comments: false,
1719
- show_playcount: false
1720
- }
1721
- },
1722
- youtube: {
1723
- playerVars: {
1724
- playsinline: 1,
1725
- showinfo: 0,
1726
- rel: 0,
1727
- iv_load_policy: 3,
1728
- modestbranding: 1
1729
- },
1730
- embedOptions: {},
1731
- onUnstarted: noop
1732
- },
1733
- facebook: {
1734
- appId: "1309697205772819",
1735
- version: "v3.3",
1736
- playerId: null,
1737
- attributes: {}
1738
- },
1739
- dailymotion: {
1740
- params: {
1741
- api: 1,
1742
- "endscreen-enable": false
1743
- }
1744
- },
1745
- vimeo: {
1746
- playerOptions: {
1747
- autopause: false,
1748
- byline: false,
1749
- portrait: false,
1750
- title: false
1751
- },
1752
- title: null
1753
- },
1754
- mux: {
1755
- attributes: {},
1756
- version: "2"
1757
- },
1758
- file: {
1759
- attributes: {},
1760
- tracks: [],
1761
- forceVideo: false,
1762
- forceAudio: false,
1763
- forceHLS: false,
1764
- forceDASH: false,
1765
- forceFLV: false,
1766
- hlsOptions: {},
1767
- hlsVersion: "1.1.4",
1768
- dashVersion: "3.1.3",
1769
- flvVersion: "1.5.0",
1770
- forceDisableHls: false
1771
- },
1772
- wistia: {
1773
- options: {},
1774
- playerId: null,
1775
- customControls: null
1776
- },
1777
- mixcloud: {
1778
- options: {
1779
- hide_cover: 1
1780
- }
1781
- },
1782
- twitch: {
1783
- options: {},
1784
- playerId: null
1785
- },
1786
- vidyard: {
1787
- options: {}
1788
- }
1789
- },
1790
- onReady: noop,
1791
- onStart: noop,
1792
- onPlay: noop,
1793
- onPause: noop,
1794
- onBuffer: noop,
1795
- onBufferEnd: noop,
1796
- onEnded: noop,
1797
- onError: noop,
1798
- onDuration: noop,
1799
- onSeek: noop,
1800
- onPlaybackRateChange: noop,
1801
- onPlaybackQualityChange: noop,
1802
- onProgress: noop,
1803
- onClickPreview: noop,
1804
- onEnablePIP: noop,
1805
- onDisablePIP: noop
1806
- };
1807
- return props;
1808
- }
1809
-
1810
- var loadScript;
1811
- var hasRequiredLoadScript;
1812
-
1813
- function requireLoadScript () {
1814
- if (hasRequiredLoadScript) return loadScript;
1815
- hasRequiredLoadScript = 1;
1816
- loadScript = function load (src, opts, cb) {
1817
- var head = document.head || document.getElementsByTagName('head')[0];
1818
- var script = document.createElement('script');
1819
-
1820
- if (typeof opts === 'function') {
1821
- cb = opts;
1822
- opts = {};
1823
- }
1824
-
1825
- opts = opts || {};
1826
- cb = cb || function() {};
1827
-
1828
- script.type = opts.type || 'text/javascript';
1829
- script.charset = opts.charset || 'utf8';
1830
- script.async = 'async' in opts ? !!opts.async : true;
1831
- script.src = src;
1832
-
1833
- if (opts.attrs) {
1834
- setAttributes(script, opts.attrs);
1835
- }
1836
-
1837
- if (opts.text) {
1838
- script.text = '' + opts.text;
1839
- }
1840
-
1841
- var onend = 'onload' in script ? stdOnEnd : ieOnEnd;
1842
- onend(script, cb);
1843
-
1844
- // some good legacy browsers (firefox) fail the 'in' detection above
1845
- // so as a fallback we always set onload
1846
- // old IE will ignore this and new IE will set onload
1847
- if (!script.onload) {
1848
- stdOnEnd(script, cb);
1849
- }
1850
-
1851
- head.appendChild(script);
1852
- };
1853
-
1854
- function setAttributes(script, attrs) {
1855
- for (var attr in attrs) {
1856
- script.setAttribute(attr, attrs[attr]);
1857
- }
1858
- }
1859
-
1860
- function stdOnEnd (script, cb) {
1861
- script.onload = function () {
1862
- this.onerror = this.onload = null;
1863
- cb(null, script);
1864
- };
1865
- script.onerror = function () {
1866
- // this.onload = null here is necessary
1867
- // because even IE9 works not like others
1868
- this.onerror = this.onload = null;
1869
- cb(new Error('Failed to load ' + this.src), script);
1870
- };
1871
- }
1872
-
1873
- function ieOnEnd (script, cb) {
1874
- script.onreadystatechange = function () {
1875
- if (this.readyState != 'complete' && this.readyState != 'loaded') return
1876
- this.onreadystatechange = null;
1877
- cb(null, script); // there is no way to catch loading errors in IE8
1878
- };
1879
- }
1880
- return loadScript;
1881
- }
1882
-
1883
- var utils;
1884
- var hasRequiredUtils;
1885
-
1886
- function requireUtils () {
1887
- if (hasRequiredUtils) return utils;
1888
- hasRequiredUtils = 1;
1889
- var __create = Object.create;
1890
- var __defProp = Object.defineProperty;
1891
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
1892
- var __getOwnPropNames = Object.getOwnPropertyNames;
1893
- var __getProtoOf = Object.getPrototypeOf;
1894
- var __hasOwnProp = Object.prototype.hasOwnProperty;
1895
- var __export = (target, all) => {
1896
- for (var name in all)
1897
- __defProp(target, name, { get: all[name], enumerable: true });
1898
- };
1899
- var __copyProps = (to, from, except, desc) => {
1900
- if (from && typeof from === "object" || typeof from === "function") {
1901
- for (let key of __getOwnPropNames(from))
1902
- if (!__hasOwnProp.call(to, key) && key !== except)
1903
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
1904
- }
1905
- return to;
1906
- };
1907
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
1908
- // If the importer is in node compatibility mode or this is not an ESM
1909
- // file that has been converted to a CommonJS file using a Babel-
1910
- // compatible transform (i.e. "__esModule" has not been set), then set
1911
- // "default" to the CommonJS "module.exports" for node compatibility.
1912
- !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
1913
- mod
1914
- ));
1915
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
1916
- var utils_exports = {};
1917
- __export(utils_exports, {
1918
- callPlayer: () => callPlayer,
1919
- getConfig: () => getConfig,
1920
- getSDK: () => getSDK,
1921
- isBlobUrl: () => isBlobUrl,
1922
- isMediaStream: () => isMediaStream,
1923
- lazy: () => lazy,
1924
- omit: () => omit,
1925
- parseEndTime: () => parseEndTime,
1926
- parseStartTime: () => parseStartTime,
1927
- queryString: () => queryString,
1928
- randomString: () => randomString,
1929
- supportsWebKitPresentationMode: () => supportsWebKitPresentationMode
1930
- });
1931
- utils = __toCommonJS(utils_exports);
1932
- var import_react = __toESM(React__default);
1933
- var import_load_script = __toESM(requireLoadScript());
1934
- var import_deepmerge = __toESM(requireCjs());
1935
- const lazy = (componentImportFn) => import_react.default.lazy(async () => {
1936
- const obj = await componentImportFn();
1937
- return typeof obj.default === "function" ? obj : obj.default;
1938
- });
1939
- const MATCH_START_QUERY = /[?&#](?:start|t)=([0-9hms]+)/;
1940
- const MATCH_END_QUERY = /[?&#]end=([0-9hms]+)/;
1941
- const MATCH_START_STAMP = /(\d+)(h|m|s)/g;
1942
- const MATCH_NUMERIC = /^\d+$/;
1943
- function parseTimeParam(url, pattern) {
1944
- if (url instanceof Array) {
1945
- return void 0;
1946
- }
1947
- const match = url.match(pattern);
1948
- if (match) {
1949
- const stamp = match[1];
1950
- if (stamp.match(MATCH_START_STAMP)) {
1951
- return parseTimeString(stamp);
1952
- }
1953
- if (MATCH_NUMERIC.test(stamp)) {
1954
- return parseInt(stamp);
1955
- }
1956
- }
1957
- return void 0;
1958
- }
1959
- function parseTimeString(stamp) {
1960
- let seconds = 0;
1961
- let array = MATCH_START_STAMP.exec(stamp);
1962
- while (array !== null) {
1963
- const [, count, period] = array;
1964
- if (period === "h")
1965
- seconds += parseInt(count, 10) * 60 * 60;
1966
- if (period === "m")
1967
- seconds += parseInt(count, 10) * 60;
1968
- if (period === "s")
1969
- seconds += parseInt(count, 10);
1970
- array = MATCH_START_STAMP.exec(stamp);
1971
- }
1972
- return seconds;
1973
- }
1974
- function parseStartTime(url) {
1975
- return parseTimeParam(url, MATCH_START_QUERY);
1976
- }
1977
- function parseEndTime(url) {
1978
- return parseTimeParam(url, MATCH_END_QUERY);
1979
- }
1980
- function randomString() {
1981
- return Math.random().toString(36).substr(2, 5);
1982
- }
1983
- function queryString(object) {
1984
- return Object.keys(object).map((key) => `${key}=${object[key]}`).join("&");
1985
- }
1986
- function getGlobal(key) {
1987
- if (window[key]) {
1988
- return window[key];
1989
- }
1990
- if (window.exports && window.exports[key]) {
1991
- return window.exports[key];
1992
- }
1993
- if (window.module && window.module.exports && window.module.exports[key]) {
1994
- return window.module.exports[key];
1995
- }
1996
- return null;
1997
- }
1998
- const requests = {};
1999
- const getSDK = enableStubOn(function getSDK2(url, sdkGlobal, sdkReady = null, isLoaded = () => true, fetchScript = import_load_script.default) {
2000
- const existingGlobal = getGlobal(sdkGlobal);
2001
- if (existingGlobal && isLoaded(existingGlobal)) {
2002
- return Promise.resolve(existingGlobal);
2003
- }
2004
- return new Promise((resolve, reject) => {
2005
- if (requests[url]) {
2006
- requests[url].push({ resolve, reject });
2007
- return;
2008
- }
2009
- requests[url] = [{ resolve, reject }];
2010
- const onLoaded = (sdk) => {
2011
- requests[url].forEach((request) => request.resolve(sdk));
2012
- };
2013
- if (sdkReady) {
2014
- const previousOnReady = window[sdkReady];
2015
- window[sdkReady] = function() {
2016
- if (previousOnReady)
2017
- previousOnReady();
2018
- onLoaded(getGlobal(sdkGlobal));
2019
- };
2020
- }
2021
- fetchScript(url, (err) => {
2022
- if (err) {
2023
- requests[url].forEach((request) => request.reject(err));
2024
- requests[url] = null;
2025
- } else if (!sdkReady) {
2026
- onLoaded(getGlobal(sdkGlobal));
2027
- }
2028
- });
2029
- });
2030
- });
2031
- function getConfig(props, defaultProps) {
2032
- return (0, import_deepmerge.default)(defaultProps.config, props.config);
2033
- }
2034
- function omit(object, ...arrays) {
2035
- const omitKeys = [].concat(...arrays);
2036
- const output = {};
2037
- const keys = Object.keys(object);
2038
- for (const key of keys) {
2039
- if (omitKeys.indexOf(key) === -1) {
2040
- output[key] = object[key];
2041
- }
2042
- }
2043
- return output;
2044
- }
2045
- function callPlayer(method, ...args) {
2046
- if (!this.player || !this.player[method]) {
2047
- let message = `ReactPlayer: ${this.constructor.displayName} player could not call %c${method}%c \u2013 `;
2048
- if (!this.player) {
2049
- message += "The player was not available";
2050
- } else if (!this.player[method]) {
2051
- message += "The method was not available";
2052
- }
2053
- console.warn(message, "font-weight: bold", "");
2054
- return null;
2055
- }
2056
- return this.player[method](...args);
2057
- }
2058
- function isMediaStream(url) {
2059
- return typeof window !== "undefined" && typeof window.MediaStream !== "undefined" && url instanceof window.MediaStream;
2060
- }
2061
- function isBlobUrl(url) {
2062
- return /^blob:/.test(url);
2063
- }
2064
- function supportsWebKitPresentationMode(video = document.createElement("video")) {
2065
- const notMobile = /iPhone|iPod/.test(navigator.userAgent) === false;
2066
- return video.webkitSupportsPresentationMode && typeof video.webkitSetPresentationMode === "function" && notMobile;
2067
- }
2068
- function enableStubOn(fn) {
2069
- return fn;
2070
- }
2071
- return utils;
2072
- }
2073
-
2074
- var Player_1;
2075
- var hasRequiredPlayer;
2076
-
2077
- function requirePlayer () {
2078
- if (hasRequiredPlayer) return Player_1;
2079
- hasRequiredPlayer = 1;
2080
- var __create = Object.create;
2081
- var __defProp = Object.defineProperty;
2082
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
2083
- var __getOwnPropNames = Object.getOwnPropertyNames;
2084
- var __getProtoOf = Object.getPrototypeOf;
2085
- var __hasOwnProp = Object.prototype.hasOwnProperty;
2086
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2087
- var __export = (target, all) => {
2088
- for (var name in all)
2089
- __defProp(target, name, { get: all[name], enumerable: true });
2090
- };
2091
- var __copyProps = (to, from, except, desc) => {
2092
- if (from && typeof from === "object" || typeof from === "function") {
2093
- for (let key of __getOwnPropNames(from))
2094
- if (!__hasOwnProp.call(to, key) && key !== except)
2095
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
2096
- }
2097
- return to;
2098
- };
2099
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
2100
- // If the importer is in node compatibility mode or this is not an ESM
2101
- // file that has been converted to a CommonJS file using a Babel-
2102
- // compatible transform (i.e. "__esModule" has not been set), then set
2103
- // "default" to the CommonJS "module.exports" for node compatibility.
2104
- !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
2105
- mod
2106
- ));
2107
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
2108
- var __publicField = (obj, key, value) => {
2109
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
2110
- return value;
2111
- };
2112
- var Player_exports = {};
2113
- __export(Player_exports, {
2114
- default: () => Player
2115
- });
2116
- Player_1 = __toCommonJS(Player_exports);
2117
- var import_react = __toESM(React__default);
2118
- var import_react_fast_compare = __toESM(requireReactFastCompare());
2119
- var import_props = /*@__PURE__*/ requireProps();
2120
- var import_utils = /*@__PURE__*/ requireUtils();
2121
- const SEEK_ON_PLAY_EXPIRY = 5e3;
2122
- class Player extends import_react.Component {
2123
- constructor() {
2124
- super(...arguments);
2125
- __publicField(this, "mounted", false);
2126
- __publicField(this, "isReady", false);
2127
- __publicField(this, "isPlaying", false);
2128
- // Track playing state internally to prevent bugs
2129
- __publicField(this, "isLoading", true);
2130
- // Use isLoading to prevent onPause when switching URL
2131
- __publicField(this, "loadOnReady", null);
2132
- __publicField(this, "startOnPlay", true);
2133
- __publicField(this, "seekOnPlay", null);
2134
- __publicField(this, "onDurationCalled", false);
2135
- __publicField(this, "handlePlayerMount", (player) => {
2136
- if (this.player) {
2137
- this.progress();
2138
- return;
2139
- }
2140
- this.player = player;
2141
- this.player.load(this.props.url);
2142
- this.progress();
2143
- });
2144
- __publicField(this, "getInternalPlayer", (key) => {
2145
- if (!this.player)
2146
- return null;
2147
- return this.player[key];
2148
- });
2149
- __publicField(this, "progress", () => {
2150
- if (this.props.url && this.player && this.isReady) {
2151
- const playedSeconds = this.getCurrentTime() || 0;
2152
- const loadedSeconds = this.getSecondsLoaded();
2153
- const duration = this.getDuration();
2154
- if (duration) {
2155
- const progress = {
2156
- playedSeconds,
2157
- played: playedSeconds / duration
2158
- };
2159
- if (loadedSeconds !== null) {
2160
- progress.loadedSeconds = loadedSeconds;
2161
- progress.loaded = loadedSeconds / duration;
2162
- }
2163
- if (progress.playedSeconds !== this.prevPlayed || progress.loadedSeconds !== this.prevLoaded) {
2164
- this.props.onProgress(progress);
2165
- }
2166
- this.prevPlayed = progress.playedSeconds;
2167
- this.prevLoaded = progress.loadedSeconds;
2168
- }
2169
- }
2170
- this.progressTimeout = setTimeout(this.progress, this.props.progressFrequency || this.props.progressInterval);
2171
- });
2172
- __publicField(this, "handleReady", () => {
2173
- if (!this.mounted)
2174
- return;
2175
- this.isReady = true;
2176
- this.isLoading = false;
2177
- const { onReady, playing, volume, muted } = this.props;
2178
- onReady();
2179
- if (!muted && volume !== null) {
2180
- this.player.setVolume(volume);
2181
- }
2182
- if (this.loadOnReady) {
2183
- this.player.load(this.loadOnReady, true);
2184
- this.loadOnReady = null;
2185
- } else if (playing) {
2186
- this.player.play();
2187
- }
2188
- this.handleDurationCheck();
2189
- });
2190
- __publicField(this, "handlePlay", () => {
2191
- this.isPlaying = true;
2192
- this.isLoading = false;
2193
- const { onStart, onPlay, playbackRate } = this.props;
2194
- if (this.startOnPlay) {
2195
- if (this.player.setPlaybackRate && playbackRate !== 1) {
2196
- this.player.setPlaybackRate(playbackRate);
2197
- }
2198
- onStart();
2199
- this.startOnPlay = false;
2200
- }
2201
- onPlay();
2202
- if (this.seekOnPlay) {
2203
- this.seekTo(this.seekOnPlay);
2204
- this.seekOnPlay = null;
2205
- }
2206
- this.handleDurationCheck();
2207
- });
2208
- __publicField(this, "handlePause", (e) => {
2209
- this.isPlaying = false;
2210
- if (!this.isLoading) {
2211
- this.props.onPause(e);
2212
- }
2213
- });
2214
- __publicField(this, "handleEnded", () => {
2215
- const { activePlayer, loop, onEnded } = this.props;
2216
- if (activePlayer.loopOnEnded && loop) {
2217
- this.seekTo(0);
2218
- }
2219
- if (!loop) {
2220
- this.isPlaying = false;
2221
- onEnded();
2222
- }
2223
- });
2224
- __publicField(this, "handleError", (...args) => {
2225
- this.isLoading = false;
2226
- this.props.onError(...args);
2227
- });
2228
- __publicField(this, "handleDurationCheck", () => {
2229
- clearTimeout(this.durationCheckTimeout);
2230
- const duration = this.getDuration();
2231
- if (duration) {
2232
- if (!this.onDurationCalled) {
2233
- this.props.onDuration(duration);
2234
- this.onDurationCalled = true;
2235
- }
2236
- } else {
2237
- this.durationCheckTimeout = setTimeout(this.handleDurationCheck, 100);
2238
- }
2239
- });
2240
- __publicField(this, "handleLoaded", () => {
2241
- this.isLoading = false;
2242
- });
2243
- }
2244
- componentDidMount() {
2245
- this.mounted = true;
2246
- }
2247
- componentWillUnmount() {
2248
- clearTimeout(this.progressTimeout);
2249
- clearTimeout(this.durationCheckTimeout);
2250
- if (this.isReady && this.props.stopOnUnmount) {
2251
- this.player.stop();
2252
- if (this.player.disablePIP) {
2253
- this.player.disablePIP();
2254
- }
2255
- }
2256
- this.mounted = false;
2257
- }
2258
- componentDidUpdate(prevProps) {
2259
- if (!this.player) {
2260
- return;
2261
- }
2262
- const { url, playing, volume, muted, playbackRate, pip, loop, activePlayer, disableDeferredLoading } = this.props;
2263
- if (!(0, import_react_fast_compare.default)(prevProps.url, url)) {
2264
- if (this.isLoading && !activePlayer.forceLoad && !disableDeferredLoading && !(0, import_utils.isMediaStream)(url)) {
2265
- console.warn(`ReactPlayer: the attempt to load ${url} is being deferred until the player has loaded`);
2266
- this.loadOnReady = url;
2267
- return;
2268
- }
2269
- this.isLoading = true;
2270
- this.startOnPlay = true;
2271
- this.onDurationCalled = false;
2272
- this.player.load(url, this.isReady);
2273
- }
2274
- if (!prevProps.playing && playing && !this.isPlaying) {
2275
- this.player.play();
2276
- }
2277
- if (prevProps.playing && !playing && this.isPlaying) {
2278
- this.player.pause();
2279
- }
2280
- if (!prevProps.pip && pip && this.player.enablePIP) {
2281
- this.player.enablePIP();
2282
- }
2283
- if (prevProps.pip && !pip && this.player.disablePIP) {
2284
- this.player.disablePIP();
2285
- }
2286
- if (prevProps.volume !== volume && volume !== null) {
2287
- this.player.setVolume(volume);
2288
- }
2289
- if (prevProps.muted !== muted) {
2290
- if (muted) {
2291
- this.player.mute();
2292
- } else {
2293
- this.player.unmute();
2294
- if (volume !== null) {
2295
- setTimeout(() => this.player.setVolume(volume));
2296
- }
2297
- }
2298
- }
2299
- if (prevProps.playbackRate !== playbackRate && this.player.setPlaybackRate) {
2300
- this.player.setPlaybackRate(playbackRate);
2301
- }
2302
- if (prevProps.loop !== loop && this.player.setLoop) {
2303
- this.player.setLoop(loop);
2304
- }
2305
- }
2306
- getDuration() {
2307
- if (!this.isReady)
2308
- return null;
2309
- return this.player.getDuration();
2310
- }
2311
- getCurrentTime() {
2312
- if (!this.isReady)
2313
- return null;
2314
- return this.player.getCurrentTime();
2315
- }
2316
- getSecondsLoaded() {
2317
- if (!this.isReady)
2318
- return null;
2319
- return this.player.getSecondsLoaded();
2320
- }
2321
- seekTo(amount, type, keepPlaying) {
2322
- if (!this.isReady) {
2323
- if (amount !== 0) {
2324
- this.seekOnPlay = amount;
2325
- setTimeout(() => {
2326
- this.seekOnPlay = null;
2327
- }, SEEK_ON_PLAY_EXPIRY);
2328
- }
2329
- return;
2330
- }
2331
- const isFraction = !type ? amount > 0 && amount < 1 : type === "fraction";
2332
- if (isFraction) {
2333
- const duration = this.player.getDuration();
2334
- if (!duration) {
2335
- console.warn("ReactPlayer: could not seek using fraction \u2013\xA0duration not yet available");
2336
- return;
2337
- }
2338
- this.player.seekTo(duration * amount, keepPlaying);
2339
- return;
2340
- }
2341
- this.player.seekTo(amount, keepPlaying);
2342
- }
2343
- render() {
2344
- const Player2 = this.props.activePlayer;
2345
- if (!Player2) {
2346
- return null;
2347
- }
2348
- return /* @__PURE__ */ import_react.default.createElement(
2349
- Player2,
2350
- {
2351
- ...this.props,
2352
- onMount: this.handlePlayerMount,
2353
- onReady: this.handleReady,
2354
- onPlay: this.handlePlay,
2355
- onPause: this.handlePause,
2356
- onEnded: this.handleEnded,
2357
- onLoaded: this.handleLoaded,
2358
- onError: this.handleError
2359
- }
2360
- );
2361
- }
2362
- }
2363
- __publicField(Player, "displayName", "Player");
2364
- __publicField(Player, "propTypes", import_props.propTypes);
2365
- __publicField(Player, "defaultProps", import_props.defaultProps);
2366
- return Player_1;
2367
- }
2368
-
2369
- var ReactPlayer;
2370
- var hasRequiredReactPlayer;
2371
-
2372
- function requireReactPlayer () {
2373
- if (hasRequiredReactPlayer) return ReactPlayer;
2374
- hasRequiredReactPlayer = 1;
2375
- var __create = Object.create;
2376
- var __defProp = Object.defineProperty;
2377
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
2378
- var __getOwnPropNames = Object.getOwnPropertyNames;
2379
- var __getProtoOf = Object.getPrototypeOf;
2380
- var __hasOwnProp = Object.prototype.hasOwnProperty;
2381
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2382
- var __export = (target, all) => {
2383
- for (var name in all)
2384
- __defProp(target, name, { get: all[name], enumerable: true });
2385
- };
2386
- var __copyProps = (to, from, except, desc) => {
2387
- if (from && typeof from === "object" || typeof from === "function") {
2388
- for (let key of __getOwnPropNames(from))
2389
- if (!__hasOwnProp.call(to, key) && key !== except)
2390
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
2391
- }
2392
- return to;
2393
- };
2394
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
2395
- // If the importer is in node compatibility mode or this is not an ESM
2396
- // file that has been converted to a CommonJS file using a Babel-
2397
- // compatible transform (i.e. "__esModule" has not been set), then set
2398
- // "default" to the CommonJS "module.exports" for node compatibility.
2399
- !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
2400
- mod
2401
- ));
2402
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
2403
- var __publicField = (obj, key, value) => {
2404
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
2405
- return value;
2406
- };
2407
- var ReactPlayer_exports = {};
2408
- __export(ReactPlayer_exports, {
2409
- createReactPlayer: () => createReactPlayer
2410
- });
2411
- ReactPlayer = __toCommonJS(ReactPlayer_exports);
2412
- var import_react = __toESM(React__default);
2413
- var import_deepmerge = __toESM(requireCjs());
2414
- var import_memoize_one = __toESM(require$$2);
2415
- var import_react_fast_compare = __toESM(requireReactFastCompare());
2416
- var import_props = /*@__PURE__*/ requireProps();
2417
- var import_utils = /*@__PURE__*/ requireUtils();
2418
- var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
2419
- const Preview = (0, import_utils.lazy)(() => import(
2420
- /* webpackChunkName: 'reactPlayerPreview' */
2421
- '../_shared/esm/Preview-C4XOmSrc.js'
2422
- ).then(function (n) { return n.P; }));
2423
- const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
2424
- const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
2425
- const SUPPORTED_PROPS = Object.keys(import_props.propTypes);
2426
- const UniversalSuspense = IS_BROWSER || IS_GLOBAL ? import_react.Suspense : () => null;
2427
- const customPlayers = [];
2428
- const createReactPlayer = (players, fallback) => {
2429
- var _a;
2430
- return _a = class extends import_react.Component {
2431
- constructor() {
2432
- super(...arguments);
2433
- __publicField(this, "state", {
2434
- showPreview: !!this.props.light
2435
- });
2436
- // Use references, as refs is used by React
2437
- __publicField(this, "references", {
2438
- wrapper: (wrapper) => {
2439
- this.wrapper = wrapper;
2440
- },
2441
- player: (player) => {
2442
- this.player = player;
2443
- }
2444
- });
2445
- __publicField(this, "handleClickPreview", (e) => {
2446
- this.setState({ showPreview: false });
2447
- this.props.onClickPreview(e);
2448
- });
2449
- __publicField(this, "showPreview", () => {
2450
- this.setState({ showPreview: true });
2451
- });
2452
- __publicField(this, "getDuration", () => {
2453
- if (!this.player)
2454
- return null;
2455
- return this.player.getDuration();
2456
- });
2457
- __publicField(this, "getCurrentTime", () => {
2458
- if (!this.player)
2459
- return null;
2460
- return this.player.getCurrentTime();
2461
- });
2462
- __publicField(this, "getSecondsLoaded", () => {
2463
- if (!this.player)
2464
- return null;
2465
- return this.player.getSecondsLoaded();
2466
- });
2467
- __publicField(this, "getInternalPlayer", (key = "player") => {
2468
- if (!this.player)
2469
- return null;
2470
- return this.player.getInternalPlayer(key);
2471
- });
2472
- __publicField(this, "seekTo", (fraction, type, keepPlaying) => {
2473
- if (!this.player)
2474
- return null;
2475
- this.player.seekTo(fraction, type, keepPlaying);
2476
- });
2477
- __publicField(this, "handleReady", () => {
2478
- this.props.onReady(this);
2479
- });
2480
- __publicField(this, "getActivePlayer", (0, import_memoize_one.default)((url) => {
2481
- for (const player of [...customPlayers, ...players]) {
2482
- if (player.canPlay(url)) {
2483
- return player;
2484
- }
2485
- }
2486
- if (fallback) {
2487
- return fallback;
2488
- }
2489
- return null;
2490
- }));
2491
- __publicField(this, "getConfig", (0, import_memoize_one.default)((url, key) => {
2492
- const { config } = this.props;
2493
- return import_deepmerge.default.all([
2494
- import_props.defaultProps.config,
2495
- import_props.defaultProps.config[key] || {},
2496
- config,
2497
- config[key] || {}
2498
- ]);
2499
- }));
2500
- __publicField(this, "getAttributes", (0, import_memoize_one.default)((url) => {
2501
- return (0, import_utils.omit)(this.props, SUPPORTED_PROPS);
2502
- }));
2503
- __publicField(this, "renderActivePlayer", (url) => {
2504
- if (!url)
2505
- return null;
2506
- const player = this.getActivePlayer(url);
2507
- if (!player)
2508
- return null;
2509
- const config = this.getConfig(url, player.key);
2510
- return /* @__PURE__ */ import_react.default.createElement(
2511
- import_Player.default,
2512
- {
2513
- ...this.props,
2514
- key: player.key,
2515
- ref: this.references.player,
2516
- config,
2517
- activePlayer: player.lazyPlayer || player,
2518
- onReady: this.handleReady
2519
- }
2520
- );
2521
- });
2522
- }
2523
- shouldComponentUpdate(nextProps, nextState) {
2524
- return !(0, import_react_fast_compare.default)(this.props, nextProps) || !(0, import_react_fast_compare.default)(this.state, nextState);
2525
- }
2526
- componentDidUpdate(prevProps) {
2527
- const { light } = this.props;
2528
- if (!prevProps.light && light) {
2529
- this.setState({ showPreview: true });
2530
- }
2531
- if (prevProps.light && !light) {
2532
- this.setState({ showPreview: false });
2533
- }
2534
- }
2535
- renderPreview(url) {
2536
- if (!url)
2537
- return null;
2538
- const { light, playIcon, previewTabIndex, oEmbedUrl, previewAriaLabel } = this.props;
2539
- return /* @__PURE__ */ import_react.default.createElement(
2540
- Preview,
2541
- {
2542
- url,
2543
- light,
2544
- playIcon,
2545
- previewTabIndex,
2546
- previewAriaLabel,
2547
- oEmbedUrl,
2548
- onClick: this.handleClickPreview
2549
- }
2550
- );
2551
- }
2552
- render() {
2553
- const { url, style, width, height, fallback: fallback2, wrapper: Wrapper } = this.props;
2554
- const { showPreview } = this.state;
2555
- const attributes = this.getAttributes(url);
2556
- const wrapperRef = typeof Wrapper === "string" ? this.references.wrapper : void 0;
2557
- return /* @__PURE__ */ import_react.default.createElement(Wrapper, { ref: wrapperRef, style: { ...style, width, height }, ...attributes }, /* @__PURE__ */ import_react.default.createElement(UniversalSuspense, { fallback: fallback2 }, showPreview ? this.renderPreview(url) : this.renderActivePlayer(url)));
2558
- }
2559
- }, __publicField(_a, "displayName", "ReactPlayer"), __publicField(_a, "propTypes", import_props.propTypes), __publicField(_a, "defaultProps", import_props.defaultProps), __publicField(_a, "addCustomPlayer", (player) => {
2560
- customPlayers.push(player);
2561
- }), __publicField(_a, "removeCustomPlayers", () => {
2562
- customPlayers.length = 0;
2563
- }), __publicField(_a, "canPlay", (url) => {
2564
- for (const Player2 of [...customPlayers, ...players]) {
2565
- if (Player2.canPlay(url)) {
2566
- return true;
2567
- }
2568
- }
2569
- return false;
2570
- }), __publicField(_a, "canEnablePIP", (url) => {
2571
- for (const Player2 of [...customPlayers, ...players]) {
2572
- if (Player2.canEnablePIP && Player2.canEnablePIP(url)) {
2573
- return true;
2574
- }
2575
- }
2576
- return false;
2577
- }), _a;
2578
- };
2579
- return ReactPlayer;
2580
- }
2581
-
2582
- var patterns;
2583
- var hasRequiredPatterns;
2584
-
2585
- function requirePatterns () {
2586
- if (hasRequiredPatterns) return patterns;
2587
- hasRequiredPatterns = 1;
2588
- var __defProp = Object.defineProperty;
2589
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
2590
- var __getOwnPropNames = Object.getOwnPropertyNames;
2591
- var __hasOwnProp = Object.prototype.hasOwnProperty;
2592
- var __export = (target, all) => {
2593
- for (var name in all)
2594
- __defProp(target, name, { get: all[name], enumerable: true });
2595
- };
2596
- var __copyProps = (to, from, except, desc) => {
2597
- if (from && typeof from === "object" || typeof from === "function") {
2598
- for (let key of __getOwnPropNames(from))
2599
- if (!__hasOwnProp.call(to, key) && key !== except)
2600
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
2601
- }
2602
- return to;
2603
- };
2604
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
2605
- var patterns_exports = {};
2606
- __export(patterns_exports, {
2607
- AUDIO_EXTENSIONS: () => AUDIO_EXTENSIONS,
2608
- DASH_EXTENSIONS: () => DASH_EXTENSIONS,
2609
- FLV_EXTENSIONS: () => FLV_EXTENSIONS,
2610
- HLS_EXTENSIONS: () => HLS_EXTENSIONS,
2611
- MATCH_URL_DAILYMOTION: () => MATCH_URL_DAILYMOTION,
2612
- MATCH_URL_FACEBOOK: () => MATCH_URL_FACEBOOK,
2613
- MATCH_URL_FACEBOOK_WATCH: () => MATCH_URL_FACEBOOK_WATCH,
2614
- MATCH_URL_KALTURA: () => MATCH_URL_KALTURA,
2615
- MATCH_URL_MIXCLOUD: () => MATCH_URL_MIXCLOUD,
2616
- MATCH_URL_MUX: () => MATCH_URL_MUX,
2617
- MATCH_URL_SOUNDCLOUD: () => MATCH_URL_SOUNDCLOUD,
2618
- MATCH_URL_STREAMABLE: () => MATCH_URL_STREAMABLE,
2619
- MATCH_URL_TWITCH_CHANNEL: () => MATCH_URL_TWITCH_CHANNEL,
2620
- MATCH_URL_TWITCH_VIDEO: () => MATCH_URL_TWITCH_VIDEO,
2621
- MATCH_URL_VIDYARD: () => MATCH_URL_VIDYARD,
2622
- MATCH_URL_VIMEO: () => MATCH_URL_VIMEO,
2623
- MATCH_URL_WISTIA: () => MATCH_URL_WISTIA,
2624
- MATCH_URL_YOUTUBE: () => MATCH_URL_YOUTUBE,
2625
- VIDEO_EXTENSIONS: () => VIDEO_EXTENSIONS,
2626
- canPlay: () => canPlay
2627
- });
2628
- patterns = __toCommonJS(patterns_exports);
2629
- var import_utils = /*@__PURE__*/ requireUtils();
2630
- const MATCH_URL_YOUTUBE = /(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;
2631
- const MATCH_URL_SOUNDCLOUD = /(?:soundcloud\.com|snd\.sc)\/[^.]+$/;
2632
- const MATCH_URL_VIMEO = /vimeo\.com\/(?!progressive_redirect).+/;
2633
- const MATCH_URL_MUX = /stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/;
2634
- const MATCH_URL_FACEBOOK = /^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;
2635
- const MATCH_URL_FACEBOOK_WATCH = /^https?:\/\/fb\.watch\/.+$/;
2636
- const MATCH_URL_STREAMABLE = /streamable\.com\/([a-z0-9]+)$/;
2637
- const MATCH_URL_WISTIA = /(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/;
2638
- const MATCH_URL_TWITCH_VIDEO = /(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;
2639
- const MATCH_URL_TWITCH_CHANNEL = /(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;
2640
- const MATCH_URL_DAILYMOTION = /^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/;
2641
- const MATCH_URL_MIXCLOUD = /mixcloud\.com\/([^/]+\/[^/]+)/;
2642
- const MATCH_URL_VIDYARD = /vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;
2643
- const MATCH_URL_KALTURA = /^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/;
2644
- const AUDIO_EXTENSIONS = /\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;
2645
- const VIDEO_EXTENSIONS = /\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;
2646
- const HLS_EXTENSIONS = /\.(m3u8)($|\?)/i;
2647
- const DASH_EXTENSIONS = /\.(mpd)($|\?)/i;
2648
- const FLV_EXTENSIONS = /\.(flv)($|\?)/i;
2649
- const canPlayFile = (url) => {
2650
- if (url instanceof Array) {
2651
- for (const item of url) {
2652
- if (typeof item === "string" && canPlayFile(item)) {
2653
- return true;
2654
- }
2655
- if (canPlayFile(item.src)) {
2656
- return true;
2657
- }
2658
- }
2659
- return false;
2660
- }
2661
- if ((0, import_utils.isMediaStream)(url) || (0, import_utils.isBlobUrl)(url)) {
2662
- return true;
2663
- }
2664
- return AUDIO_EXTENSIONS.test(url) || VIDEO_EXTENSIONS.test(url) || HLS_EXTENSIONS.test(url) || DASH_EXTENSIONS.test(url) || FLV_EXTENSIONS.test(url);
2665
- };
2666
- const canPlay = {
2667
- youtube: (url) => {
2668
- if (url instanceof Array) {
2669
- return url.every((item) => MATCH_URL_YOUTUBE.test(item));
2670
- }
2671
- return MATCH_URL_YOUTUBE.test(url);
2672
- },
2673
- soundcloud: (url) => MATCH_URL_SOUNDCLOUD.test(url) && !AUDIO_EXTENSIONS.test(url),
2674
- vimeo: (url) => MATCH_URL_VIMEO.test(url) && !VIDEO_EXTENSIONS.test(url) && !HLS_EXTENSIONS.test(url),
2675
- mux: (url) => MATCH_URL_MUX.test(url),
2676
- facebook: (url) => MATCH_URL_FACEBOOK.test(url) || MATCH_URL_FACEBOOK_WATCH.test(url),
2677
- streamable: (url) => MATCH_URL_STREAMABLE.test(url),
2678
- wistia: (url) => MATCH_URL_WISTIA.test(url),
2679
- twitch: (url) => MATCH_URL_TWITCH_VIDEO.test(url) || MATCH_URL_TWITCH_CHANNEL.test(url),
2680
- dailymotion: (url) => MATCH_URL_DAILYMOTION.test(url),
2681
- mixcloud: (url) => MATCH_URL_MIXCLOUD.test(url),
2682
- vidyard: (url) => MATCH_URL_VIDYARD.test(url),
2683
- kaltura: (url) => MATCH_URL_KALTURA.test(url),
2684
- file: canPlayFile
2685
- };
2686
- return patterns;
2687
- }
2688
-
2689
- var YouTube_1;
2690
- var hasRequiredYouTube;
2691
-
2692
- function requireYouTube () {
2693
- if (hasRequiredYouTube) return YouTube_1;
2694
- hasRequiredYouTube = 1;
2695
- var __create = Object.create;
2696
- var __defProp = Object.defineProperty;
2697
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
2698
- var __getOwnPropNames = Object.getOwnPropertyNames;
2699
- var __getProtoOf = Object.getPrototypeOf;
2700
- var __hasOwnProp = Object.prototype.hasOwnProperty;
2701
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2702
- var __export = (target, all) => {
2703
- for (var name in all)
2704
- __defProp(target, name, { get: all[name], enumerable: true });
2705
- };
2706
- var __copyProps = (to, from, except, desc) => {
2707
- if (from && typeof from === "object" || typeof from === "function") {
2708
- for (let key of __getOwnPropNames(from))
2709
- if (!__hasOwnProp.call(to, key) && key !== except)
2710
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
2711
- }
2712
- return to;
2713
- };
2714
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
2715
- // If the importer is in node compatibility mode or this is not an ESM
2716
- // file that has been converted to a CommonJS file using a Babel-
2717
- // compatible transform (i.e. "__esModule" has not been set), then set
2718
- // "default" to the CommonJS "module.exports" for node compatibility.
2719
- !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
2720
- mod
2721
- ));
2722
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
2723
- var __publicField = (obj, key, value) => {
2724
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
2725
- return value;
2726
- };
2727
- var YouTube_exports = {};
2728
- __export(YouTube_exports, {
2729
- default: () => YouTube
2730
- });
2731
- YouTube_1 = __toCommonJS(YouTube_exports);
2732
- var import_react = __toESM(React__default);
2733
- var import_utils = /*@__PURE__*/ requireUtils();
2734
- var import_patterns = /*@__PURE__*/ requirePatterns();
2735
- const SDK_URL = "https://www.youtube.com/iframe_api";
2736
- const SDK_GLOBAL = "YT";
2737
- const SDK_GLOBAL_READY = "onYouTubeIframeAPIReady";
2738
- const MATCH_PLAYLIST = /[?&](?:list|channel)=([a-zA-Z0-9_-]+)/;
2739
- const MATCH_USER_UPLOADS = /user\/([a-zA-Z0-9_-]+)\/?/;
2740
- const MATCH_NOCOOKIE = /youtube-nocookie\.com/;
2741
- const NOCOOKIE_HOST = "https://www.youtube-nocookie.com";
2742
- class YouTube extends import_react.Component {
2743
- constructor() {
2744
- super(...arguments);
2745
- __publicField(this, "callPlayer", import_utils.callPlayer);
2746
- __publicField(this, "parsePlaylist", (url) => {
2747
- if (url instanceof Array) {
2748
- return {
2749
- listType: "playlist",
2750
- playlist: url.map(this.getID).join(",")
2751
- };
2752
- }
2753
- if (MATCH_PLAYLIST.test(url)) {
2754
- const [, playlistId] = url.match(MATCH_PLAYLIST);
2755
- return {
2756
- listType: "playlist",
2757
- list: playlistId.replace(/^UC/, "UU")
2758
- };
2759
- }
2760
- if (MATCH_USER_UPLOADS.test(url)) {
2761
- const [, username] = url.match(MATCH_USER_UPLOADS);
2762
- return {
2763
- listType: "user_uploads",
2764
- list: username
2765
- };
2766
- }
2767
- return {};
2768
- });
2769
- __publicField(this, "onStateChange", (event) => {
2770
- const { data } = event;
2771
- const { onPlay, onPause, onBuffer, onBufferEnd, onEnded, onReady, loop, config: { playerVars, onUnstarted } } = this.props;
2772
- const { UNSTARTED, PLAYING, PAUSED, BUFFERING, ENDED, CUED } = window[SDK_GLOBAL].PlayerState;
2773
- if (data === UNSTARTED)
2774
- onUnstarted();
2775
- if (data === PLAYING) {
2776
- onPlay();
2777
- onBufferEnd();
2778
- }
2779
- if (data === PAUSED)
2780
- onPause();
2781
- if (data === BUFFERING)
2782
- onBuffer();
2783
- if (data === ENDED) {
2784
- const isPlaylist = !!this.callPlayer("getPlaylist");
2785
- if (loop && !isPlaylist) {
2786
- if (playerVars.start) {
2787
- this.seekTo(playerVars.start);
2788
- } else {
2789
- this.play();
2790
- }
2791
- }
2792
- onEnded();
2793
- }
2794
- if (data === CUED)
2795
- onReady();
2796
- });
2797
- __publicField(this, "mute", () => {
2798
- this.callPlayer("mute");
2799
- });
2800
- __publicField(this, "unmute", () => {
2801
- this.callPlayer("unMute");
2802
- });
2803
- __publicField(this, "ref", (container) => {
2804
- this.container = container;
2805
- });
2806
- }
2807
- componentDidMount() {
2808
- this.props.onMount && this.props.onMount(this);
2809
- }
2810
- getID(url) {
2811
- if (!url || url instanceof Array || MATCH_PLAYLIST.test(url)) {
2812
- return null;
2813
- }
2814
- return url.match(import_patterns.MATCH_URL_YOUTUBE)[1];
2815
- }
2816
- load(url, isReady) {
2817
- const { playing, muted, playsinline, controls, loop, config, onError } = this.props;
2818
- const { playerVars, embedOptions } = config;
2819
- const id = this.getID(url);
2820
- if (isReady) {
2821
- if (MATCH_PLAYLIST.test(url) || MATCH_USER_UPLOADS.test(url) || url instanceof Array) {
2822
- this.player.loadPlaylist(this.parsePlaylist(url));
2823
- return;
2824
- }
2825
- this.player.cueVideoById({
2826
- videoId: id,
2827
- startSeconds: (0, import_utils.parseStartTime)(url) || playerVars.start,
2828
- endSeconds: (0, import_utils.parseEndTime)(url) || playerVars.end
2829
- });
2830
- return;
2831
- }
2832
- (0, import_utils.getSDK)(SDK_URL, SDK_GLOBAL, SDK_GLOBAL_READY, (YT) => YT.loaded).then((YT) => {
2833
- if (!this.container)
2834
- return;
2835
- this.player = new YT.Player(this.container, {
2836
- width: "100%",
2837
- height: "100%",
2838
- videoId: id,
2839
- playerVars: {
2840
- autoplay: playing ? 1 : 0,
2841
- mute: muted ? 1 : 0,
2842
- controls: controls ? 1 : 0,
2843
- start: (0, import_utils.parseStartTime)(url),
2844
- end: (0, import_utils.parseEndTime)(url),
2845
- origin: window.location.origin,
2846
- playsinline: playsinline ? 1 : 0,
2847
- ...this.parsePlaylist(url),
2848
- ...playerVars
2849
- },
2850
- events: {
2851
- onReady: () => {
2852
- if (loop) {
2853
- this.player.setLoop(true);
2854
- }
2855
- this.props.onReady();
2856
- },
2857
- onPlaybackRateChange: (event) => this.props.onPlaybackRateChange(event.data),
2858
- onPlaybackQualityChange: (event) => this.props.onPlaybackQualityChange(event),
2859
- onStateChange: this.onStateChange,
2860
- onError: (event) => onError(event.data)
2861
- },
2862
- host: MATCH_NOCOOKIE.test(url) ? NOCOOKIE_HOST : void 0,
2863
- ...embedOptions
2864
- });
2865
- }, onError);
2866
- if (embedOptions.events) {
2867
- console.warn("Using `embedOptions.events` will likely break things. Use ReactPlayer\u2019s callback props instead, eg onReady, onPlay, onPause");
2868
- }
2869
- }
2870
- play() {
2871
- this.callPlayer("playVideo");
2872
- }
2873
- pause() {
2874
- this.callPlayer("pauseVideo");
2875
- }
2876
- stop() {
2877
- if (!document.body.contains(this.callPlayer("getIframe")))
2878
- return;
2879
- this.callPlayer("stopVideo");
2880
- }
2881
- seekTo(amount, keepPlaying = false) {
2882
- this.callPlayer("seekTo", amount);
2883
- if (!keepPlaying && !this.props.playing) {
2884
- this.pause();
2885
- }
2886
- }
2887
- setVolume(fraction) {
2888
- this.callPlayer("setVolume", fraction * 100);
2889
- }
2890
- setPlaybackRate(rate) {
2891
- this.callPlayer("setPlaybackRate", rate);
2892
- }
2893
- setLoop(loop) {
2894
- this.callPlayer("setLoop", loop);
2895
- }
2896
- getDuration() {
2897
- return this.callPlayer("getDuration");
2898
- }
2899
- getCurrentTime() {
2900
- return this.callPlayer("getCurrentTime");
2901
- }
2902
- getSecondsLoaded() {
2903
- return this.callPlayer("getVideoLoadedFraction") * this.getDuration();
2904
- }
2905
- render() {
2906
- const { display } = this.props;
2907
- const style = {
2908
- width: "100%",
2909
- height: "100%",
2910
- display
2911
- };
2912
- return /* @__PURE__ */ import_react.default.createElement("div", { style }, /* @__PURE__ */ import_react.default.createElement("div", { ref: this.ref }));
2913
- }
2914
- }
2915
- __publicField(YouTube, "displayName", "YouTube");
2916
- __publicField(YouTube, "canPlay", import_patterns.canPlay.youtube);
2917
- return YouTube_1;
2918
- }
2919
-
2920
- var youtube;
2921
- var hasRequiredYoutube;
2922
-
2923
- function requireYoutube () {
2924
- if (hasRequiredYoutube) return youtube;
2925
- hasRequiredYoutube = 1;
2926
- var createReactPlayer = /*@__PURE__*/ requireReactPlayer().createReactPlayer;
2927
- var Player = /*@__PURE__*/ requireYouTube().default;
2928
- youtube = createReactPlayer([{
2929
- key: 'youtube',
2930
- canPlay: Player.canPlay,
2931
- lazyPlayer: Player
2932
- }]);
2933
- return youtube;
2934
- }
2935
-
2936
- var youtubeExports = /*@__PURE__*/ requireYoutube();
2937
- var ReactPlayerYoutube = /*@__PURE__*/getDefaultExportFromCjs(youtubeExports);
2938
-
2939
- var Vimeo_1;
2940
- var hasRequiredVimeo$1;
2941
-
2942
- function requireVimeo$1 () {
2943
- if (hasRequiredVimeo$1) return Vimeo_1;
2944
- hasRequiredVimeo$1 = 1;
2945
- var __create = Object.create;
2946
- var __defProp = Object.defineProperty;
2947
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
2948
- var __getOwnPropNames = Object.getOwnPropertyNames;
2949
- var __getProtoOf = Object.getPrototypeOf;
2950
- var __hasOwnProp = Object.prototype.hasOwnProperty;
2951
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2952
- var __export = (target, all) => {
2953
- for (var name in all)
2954
- __defProp(target, name, { get: all[name], enumerable: true });
2955
- };
2956
- var __copyProps = (to, from, except, desc) => {
2957
- if (from && typeof from === "object" || typeof from === "function") {
2958
- for (let key of __getOwnPropNames(from))
2959
- if (!__hasOwnProp.call(to, key) && key !== except)
2960
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
2961
- }
2962
- return to;
2963
- };
2964
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
2965
- // If the importer is in node compatibility mode or this is not an ESM
2966
- // file that has been converted to a CommonJS file using a Babel-
2967
- // compatible transform (i.e. "__esModule" has not been set), then set
2968
- // "default" to the CommonJS "module.exports" for node compatibility.
2969
- !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
2970
- mod
2971
- ));
2972
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
2973
- var __publicField = (obj, key, value) => {
2974
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
2975
- return value;
2976
- };
2977
- var Vimeo_exports = {};
2978
- __export(Vimeo_exports, {
2979
- default: () => Vimeo
2980
- });
2981
- Vimeo_1 = __toCommonJS(Vimeo_exports);
2982
- var import_react = __toESM(React__default);
2983
- var import_utils = /*@__PURE__*/ requireUtils();
2984
- var import_patterns = /*@__PURE__*/ requirePatterns();
2985
- const SDK_URL = "https://player.vimeo.com/api/player.js";
2986
- const SDK_GLOBAL = "Vimeo";
2987
- const cleanUrl = (url) => {
2988
- return url.replace("/manage/videos", "");
2989
- };
2990
- class Vimeo extends import_react.Component {
2991
- constructor() {
2992
- super(...arguments);
2993
- // Prevent checking isLoading when URL changes
2994
- __publicField(this, "callPlayer", import_utils.callPlayer);
2995
- __publicField(this, "duration", null);
2996
- __publicField(this, "currentTime", null);
2997
- __publicField(this, "secondsLoaded", null);
2998
- __publicField(this, "mute", () => {
2999
- this.setMuted(true);
3000
- });
3001
- __publicField(this, "unmute", () => {
3002
- this.setMuted(false);
3003
- });
3004
- __publicField(this, "ref", (container) => {
3005
- this.container = container;
3006
- });
3007
- }
3008
- componentDidMount() {
3009
- this.props.onMount && this.props.onMount(this);
3010
- }
3011
- load(url) {
3012
- this.duration = null;
3013
- (0, import_utils.getSDK)(SDK_URL, SDK_GLOBAL).then((Vimeo2) => {
3014
- if (!this.container)
3015
- return;
3016
- const { playerOptions, title } = this.props.config;
3017
- this.player = new Vimeo2.Player(this.container, {
3018
- url: cleanUrl(url),
3019
- autoplay: this.props.playing,
3020
- muted: this.props.muted,
3021
- loop: this.props.loop,
3022
- playsinline: this.props.playsinline,
3023
- controls: this.props.controls,
3024
- ...playerOptions
3025
- });
3026
- this.player.ready().then(() => {
3027
- const iframe = this.container.querySelector("iframe");
3028
- iframe.style.width = "100%";
3029
- iframe.style.height = "100%";
3030
- if (title) {
3031
- iframe.title = title;
3032
- }
3033
- }).catch(this.props.onError);
3034
- this.player.on("loaded", () => {
3035
- this.props.onReady();
3036
- this.refreshDuration();
3037
- });
3038
- this.player.on("play", () => {
3039
- this.props.onPlay();
3040
- this.refreshDuration();
3041
- });
3042
- this.player.on("pause", this.props.onPause);
3043
- this.player.on("seeked", (e) => this.props.onSeek(e.seconds));
3044
- this.player.on("ended", this.props.onEnded);
3045
- this.player.on("error", this.props.onError);
3046
- this.player.on("timeupdate", ({ seconds }) => {
3047
- this.currentTime = seconds;
3048
- });
3049
- this.player.on("progress", ({ seconds }) => {
3050
- this.secondsLoaded = seconds;
3051
- });
3052
- this.player.on("bufferstart", this.props.onBuffer);
3053
- this.player.on("bufferend", this.props.onBufferEnd);
3054
- this.player.on("playbackratechange", (e) => this.props.onPlaybackRateChange(e.playbackRate));
3055
- }, this.props.onError);
3056
- }
3057
- refreshDuration() {
3058
- this.player.getDuration().then((duration) => {
3059
- this.duration = duration;
3060
- });
3061
- }
3062
- play() {
3063
- const promise = this.callPlayer("play");
3064
- if (promise) {
3065
- promise.catch(this.props.onError);
3066
- }
3067
- }
3068
- pause() {
3069
- this.callPlayer("pause");
3070
- }
3071
- stop() {
3072
- this.callPlayer("unload");
3073
- }
3074
- seekTo(seconds, keepPlaying = true) {
3075
- this.callPlayer("setCurrentTime", seconds);
3076
- if (!keepPlaying) {
3077
- this.pause();
3078
- }
3079
- }
3080
- setVolume(fraction) {
3081
- this.callPlayer("setVolume", fraction);
3082
- }
3083
- setMuted(muted) {
3084
- this.callPlayer("setMuted", muted);
3085
- }
3086
- setLoop(loop) {
3087
- this.callPlayer("setLoop", loop);
3088
- }
3089
- setPlaybackRate(rate) {
3090
- this.callPlayer("setPlaybackRate", rate);
3091
- }
3092
- getDuration() {
3093
- return this.duration;
3094
- }
3095
- getCurrentTime() {
3096
- return this.currentTime;
3097
- }
3098
- getSecondsLoaded() {
3099
- return this.secondsLoaded;
3100
- }
3101
- render() {
3102
- const { display } = this.props;
3103
- const style = {
3104
- width: "100%",
3105
- height: "100%",
3106
- overflow: "hidden",
3107
- display
3108
- };
3109
- return /* @__PURE__ */ import_react.default.createElement(
3110
- "div",
3111
- {
3112
- key: this.props.url,
3113
- ref: this.ref,
3114
- style
3115
- }
3116
- );
3117
- }
3118
- }
3119
- __publicField(Vimeo, "displayName", "Vimeo");
3120
- __publicField(Vimeo, "canPlay", import_patterns.canPlay.vimeo);
3121
- __publicField(Vimeo, "forceLoad", true);
3122
- return Vimeo_1;
3123
- }
3124
-
3125
- var vimeo;
3126
- var hasRequiredVimeo;
3127
-
3128
- function requireVimeo () {
3129
- if (hasRequiredVimeo) return vimeo;
3130
- hasRequiredVimeo = 1;
3131
- var createReactPlayer = /*@__PURE__*/ requireReactPlayer().createReactPlayer;
3132
- var Player = /*@__PURE__*/ requireVimeo$1().default;
3133
- vimeo = createReactPlayer([{
3134
- key: 'vimeo',
3135
- canPlay: Player.canPlay,
3136
- lazyPlayer: Player
3137
- }]);
3138
- return vimeo;
3139
- }
3140
-
3141
- var vimeoExports = /*@__PURE__*/ requireVimeo();
3142
- var ReactPlayerVimeo = /*@__PURE__*/getDefaultExportFromCjs(vimeoExports);
3143
-
3144
- /**
3145
- * Use `VideoPlayer` to embed videos from YouTube or Vimeo.
3146
- */
3147
- var VideoPlayer = function (_a) {
3148
- var title = _a.title, description = _a.description, transcriptLink = _a.transcriptLink, transcriptContent = _a.transcriptContent, light = _a.light, url = _a.url, onReady = _a.onReady, onPlay = _a.onPlay, onStart = _a.onStart, onPause = _a.onPause, onError = _a.onError, onEnded = _a.onEnded, _b = _a.isBorderRadius, isBorderRadius = _b === void 0 ? false : _b, _c = _a.isSupportingTextHidden, isSupportingTextHidden = _c === void 0 ? false : _c, props = __rest(_a, ["title", "description", "transcriptLink", "transcriptContent", "light", "url", "onReady", "onPlay", "onStart", "onPause", "onError", "onEnded", "isBorderRadius", "isSupportingTextHidden"]);
3149
- var TextWrapper = isSupportingTextHidden ? VisuallyHidden : "div";
3150
- var isVimeo = new URL(url).hostname.includes("vimeo");
3151
- var playerProps = {
3152
- url: url,
3153
- light: light,
3154
- onReady: onReady,
3155
- onPlay: onPlay,
3156
- onStart: onStart,
3157
- onPause: onPause,
3158
- onError: onError,
3159
- onEnded: onEnded,
3160
- playIcon: (React__default.createElement("div", { className: "arc-VideoPlayer-icon" },
3161
- React__default.createElement(Icon, { isPresentationIcon: true, icon: BtIconPlayFill }))),
3162
- playing: Boolean(light),
3163
- controls: true,
3164
- className: "arc-VideoPlayer",
3165
- width: "100%",
3166
- height: "100%"
3167
- };
3168
- return (React__default.createElement("div", __assign({}, filterAttrs(props)),
3169
- React__default.createElement("div", { "data-testid": "arc-video-player", className: classNames("arc-VideoPlayer-wrapper", {
3170
- "arc-VideoPlayer-wrapper--borderRadius": isBorderRadius
3171
- }) }, isVimeo ? (React__default.createElement(ReactPlayerVimeo, __assign({}, playerProps))) : (React__default.createElement(ReactPlayerYoutube, __assign({}, playerProps)))),
3172
- React__default.createElement(TextWrapper, null,
3173
- React__default.createElement(VerticalSpace, { size: "24" }),
3174
- React__default.createElement(Heading, { level: "3", size: "s" }, title),
3175
- React__default.createElement(VerticalSpace, { size: "8" }),
3176
- React__default.createElement(Text, null, description)),
3177
- transcriptLink && (React__default.createElement(React__default.Fragment, null,
3178
- React__default.createElement(VerticalSpace, { size: "24" }),
3179
- React__default.createElement(Download, { isCompact: true, icon: "downloadAccessibility", href: transcriptLink.url, name: transcriptLink.text, type: transcriptLink.format, size: transcriptLink.fileSize }))),
3180
- transcriptContent && (React__default.createElement(React__default.Fragment, null,
3181
- React__default.createElement(VerticalSpace, { size: "24" }),
3182
- React__default.createElement(DisclosureMini, { summary: "Audio Described Transcript" },
3183
- React__default.createElement(VerticalSpace, { size: "8" }),
3184
- React__default.createElement(Heading, null, transcriptContent.heading.toUpperCase()),
3185
- React__default.createElement(VerticalSpace, { size: "32" }),
3186
- React__default.createElement(Text, null, transcriptContent.description),
3187
- React__default.createElement(VerticalSpace, { size: "24" }),
3188
- transcriptContent.content.map(function (_a) {
3189
- var heading = _a.heading, text = _a.text;
3190
- return (React__default.createElement(React__default.Fragment, null,
3191
- React__default.createElement(VerticalSpace, { size: "24" }),
3192
- heading && (React__default.createElement(React__default.Fragment, null,
3193
- React__default.createElement(Heading, { isInline: true }, heading === null || heading === void 0 ? void 0 : heading.toUpperCase()),
3194
- "\u00A0")),
3195
- React__default.createElement(Text, { isInline: true }, text)));
3196
- }))))));
3197
- };
3198
-
3199
- export { VideoPlayer };