@arc-ui/components 12.0.0-beta7 → 12.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1194) hide show
  1. package/lib/Alert/Alert.cjs +77 -0
  2. package/lib/Alert/Alert.mjs +75 -0
  3. package/lib/Alert/styles.css +1 -0
  4. package/lib/Align/Align.cjs +29 -0
  5. package/lib/Align/Align.mjs +27 -0
  6. package/lib/Align/styles.css +1 -0
  7. package/lib/AppButton/AppButton.cjs +72 -0
  8. package/lib/AppButton/AppButton.mjs +70 -0
  9. package/lib/AppButton/styles.css +1 -0
  10. package/lib/Avatar/Avatar.cjs +21 -0
  11. package/lib/Avatar/Avatar.mjs +15 -0
  12. package/lib/Avatar/styles.css +1 -0
  13. package/lib/AvatarGroup/AvatarGroup.cjs +37 -0
  14. package/lib/AvatarGroup/AvatarGroup.mjs +35 -0
  15. package/lib/AvatarGroup/styles.css +1 -0
  16. package/lib/Badge/Badge.cjs +13 -0
  17. package/lib/Badge/Badge.mjs +7 -0
  18. package/lib/Badge/styles.css +1 -0
  19. package/lib/Banner/Banner.cjs +26 -0
  20. package/lib/Banner/Banner.mjs +24 -0
  21. package/lib/Box/Box.cjs +13 -0
  22. package/lib/Box/Box.mjs +7 -0
  23. package/lib/Box/styles.css +1 -0
  24. package/lib/BrandLogo/BrandLogo.cjs +16 -0
  25. package/lib/BrandLogo/BrandLogo.mjs +9 -0
  26. package/lib/BrandLogo/styles.css +1 -0
  27. package/lib/Breadcrumbs/Breadcrumbs.cjs +101 -0
  28. package/lib/Breadcrumbs/Breadcrumbs.mjs +97 -0
  29. package/lib/Breadcrumbs/styles.css +1 -0
  30. package/lib/Button/Button.cjs +17 -0
  31. package/lib/Button/Button.mjs +11 -0
  32. package/lib/Button/styles.css +1 -0
  33. package/lib/ButtonGroup/ButtonGroup.cjs +38 -0
  34. package/lib/ButtonGroup/ButtonGroup.mjs +36 -0
  35. package/lib/ButtonGroup/styles.css +1 -0
  36. package/lib/ButtonV2/ButtonV2.cjs +17 -0
  37. package/lib/ButtonV2/ButtonV2.mjs +11 -0
  38. package/lib/ButtonV2/styles.css +1 -0
  39. package/lib/Calendar/Calendar.cjs +24 -0
  40. package/lib/Calendar/Calendar.mjs +18 -0
  41. package/lib/Calendar/styles.css +1 -0
  42. package/lib/CardFooter/CardFooter.cjs +16 -0
  43. package/lib/CardFooter/CardFooter.mjs +10 -0
  44. package/lib/CardFooter/styles.css +1 -0
  45. package/lib/CardHeading/CardHeading.cjs +17 -0
  46. package/lib/CardHeading/CardHeading.mjs +11 -0
  47. package/lib/CardHeading/styles.css +1 -0
  48. package/lib/Carousel/Carousel.cjs +2250 -0
  49. package/lib/Carousel/Carousel.mjs +2248 -0
  50. package/lib/Carousel/styles.css +1 -0
  51. package/lib/Checkbox/Checkbox.cjs +60 -0
  52. package/lib/Checkbox/Checkbox.mjs +58 -0
  53. package/lib/Checkbox/styles.css +1 -0
  54. package/lib/CheckboxIcon/CheckboxIcon.cjs +19 -0
  55. package/lib/CheckboxIcon/CheckboxIcon.mjs +13 -0
  56. package/lib/CheckboxIcon/styles.css +1 -0
  57. package/lib/ClientSideVisible/ClientSideVisible.cjs +8 -0
  58. package/lib/ClientSideVisible/ClientSideVisible.mjs +2 -0
  59. package/lib/Columns/Columns.cjs +49 -0
  60. package/lib/Columns/Columns.mjs +46 -0
  61. package/lib/Columns/styles.css +1 -0
  62. package/lib/ComboBox/ComboBox.cjs +296 -0
  63. package/lib/ComboBox/ComboBox.mjs +294 -0
  64. package/lib/ComboBox/styles.css +1 -0
  65. package/lib/ConditionalWrapper/ConditionalWrapper.cjs +8 -0
  66. package/lib/ConditionalWrapper/ConditionalWrapper.mjs +2 -0
  67. package/lib/ContentSwitcher/ContentSwitcher.cjs +25 -0
  68. package/lib/ContentSwitcher/ContentSwitcher.mjs +16 -0
  69. package/lib/ContentSwitcher/styles.css +1 -0
  70. package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs +26 -0
  71. package/lib/ContentSwitcherDropdown/ContentSwitcherDropdown.mjs +19 -0
  72. package/lib/ContentSwitcherDropdown/styles.css +1 -0
  73. package/lib/DatePicker/DatePicker.cjs +539 -0
  74. package/lib/DatePicker/DatePicker.mjs +531 -0
  75. package/lib/DatePicker/styles.css +1 -0
  76. package/lib/Disclosure/Disclosure.cjs +37 -0
  77. package/lib/Disclosure/Disclosure.mjs +35 -0
  78. package/lib/Disclosure/styles.css +1 -0
  79. package/lib/DisclosureMini/DisclosureMini.cjs +17 -0
  80. package/lib/DisclosureMini/DisclosureMini.mjs +11 -0
  81. package/lib/DisclosureMini/styles.css +1 -0
  82. package/lib/Download/Download.cjs +18 -0
  83. package/lib/Download/Download.mjs +12 -0
  84. package/lib/Download/styles.css +1 -0
  85. package/lib/Drawer/Drawer.cjs +218 -0
  86. package/lib/Drawer/Drawer.mjs +213 -0
  87. package/lib/Drawer/styles.css +1 -0
  88. package/lib/Elevation/Elevation.cjs +25 -0
  89. package/lib/Elevation/Elevation.mjs +23 -0
  90. package/lib/Elevation/styles.css +1 -0
  91. package/lib/Filter/Filter.cjs +91 -0
  92. package/lib/Filter/Filter.mjs +85 -0
  93. package/lib/Filter/styles.css +1 -0
  94. package/lib/FilterControl/FilterControl.cjs +14 -0
  95. package/lib/FilterControl/FilterControl.mjs +8 -0
  96. package/lib/FormControl/FormControl.cjs +20 -0
  97. package/lib/FormControl/FormControl.mjs +13 -0
  98. package/lib/FormControl/styles.css +1 -0
  99. package/lib/GhostedHeroBanner/GhostedHeroBanner.cjs +36 -0
  100. package/lib/GhostedHeroBanner/GhostedHeroBanner.mjs +34 -0
  101. package/lib/GhostedHeroBanner/styles.css +1 -0
  102. package/lib/GradientPageBackground/GradientPageBackground.cjs +159 -0
  103. package/lib/GradientPageBackground/GradientPageBackground.mjs +139 -0
  104. package/lib/GradientPageBackground/styles.css +1 -0
  105. package/lib/Grid/Grid.cjs +15 -0
  106. package/lib/Grid/Grid.mjs +7 -0
  107. package/lib/Grid/styles.css +1 -0
  108. package/lib/Group/Group.cjs +42 -0
  109. package/lib/Group/Group.mjs +39 -0
  110. package/lib/Group/styles.css +1 -0
  111. package/lib/Heading/Heading.cjs +16 -0
  112. package/lib/Heading/Heading.mjs +10 -0
  113. package/lib/Heading/styles.css +1 -0
  114. package/lib/HeroBanner/HeroBanner.cjs +31 -0
  115. package/lib/HeroBanner/HeroBanner.mjs +29 -0
  116. package/lib/HeroBanner/styles.css +1 -0
  117. package/lib/HeroButton/HeroButton.cjs +88 -0
  118. package/lib/HeroButton/HeroButton.mjs +86 -0
  119. package/lib/HeroButton/styles.css +1 -0
  120. package/lib/Hidden/Hidden.cjs +11 -0
  121. package/lib/Hidden/Hidden.mjs +5 -0
  122. package/lib/Hidden/styles.css +1 -0
  123. package/lib/HorizontalCard/HorizontalCard.cjs +40 -0
  124. package/lib/HorizontalCard/HorizontalCard.mjs +38 -0
  125. package/lib/HorizontalCard/styles.css +1 -0
  126. package/lib/Icon/Icon.cjs +16 -0
  127. package/lib/Icon/Icon.mjs +9 -0
  128. package/lib/Icon/styles.css +1 -0
  129. package/lib/Image/Image.cjs +18 -0
  130. package/lib/Image/Image.mjs +8 -0
  131. package/lib/Image/styles.css +1 -0
  132. package/lib/ImpactCard/ImpactCard.cjs +43 -0
  133. package/lib/ImpactCard/ImpactCard.mjs +41 -0
  134. package/lib/ImpactCard/styles.css +1 -0
  135. package/lib/InformationCard/InformationCard.cjs +91 -0
  136. package/lib/InformationCard/InformationCard.mjs +89 -0
  137. package/lib/InformationCard/styles.css +1 -0
  138. package/lib/Link/Link.cjs +17 -0
  139. package/lib/Link/Link.mjs +11 -0
  140. package/lib/Link/styles.css +1 -0
  141. package/lib/Markup/Markup.cjs +24 -0
  142. package/lib/Markup/Markup.mjs +22 -0
  143. package/lib/Markup/styles.css +1 -0
  144. package/lib/MediaCard/MediaCard.cjs +64 -0
  145. package/lib/MediaCard/MediaCard.mjs +62 -0
  146. package/lib/MediaCard/styles.css +1 -0
  147. package/lib/Menu/Menu.cjs +1688 -0
  148. package/lib/Menu/Menu.mjs +1651 -0
  149. package/lib/Menu/styles.css +1 -0
  150. package/lib/Modal/Modal.cjs +93 -0
  151. package/lib/Modal/Modal.mjs +91 -0
  152. package/lib/Modal/styles.css +1 -0
  153. package/lib/NavigationHeader/NavigationHeader.cjs +1423 -0
  154. package/lib/NavigationHeader/NavigationHeader.mjs +1418 -0
  155. package/lib/NavigationHeader/styles.css +1 -0
  156. package/lib/Pagination/Pagination.cjs +79 -0
  157. package/lib/Pagination/Pagination.mjs +77 -0
  158. package/lib/Pagination/styles.css +1 -0
  159. package/lib/PaginationSimple/PaginationSimple.cjs +74 -0
  160. package/lib/PaginationSimple/PaginationSimple.mjs +72 -0
  161. package/lib/PaginationSimple/styles.css +1 -0
  162. package/lib/Popover/Popover.cjs +22 -0
  163. package/lib/Popover/Popover.mjs +16 -0
  164. package/lib/Popover/styles.css +1 -0
  165. package/lib/Poster/Poster.cjs +44 -0
  166. package/lib/Poster/Poster.mjs +40 -0
  167. package/lib/Poster/styles.css +1 -0
  168. package/lib/ProgressBar/ProgressBar.cjs +68 -0
  169. package/lib/ProgressBar/ProgressBar.mjs +66 -0
  170. package/lib/ProgressBar/styles.css +1 -0
  171. package/lib/ProgressStepper/ProgressStepper.cjs +19 -0
  172. package/lib/ProgressStepper/ProgressStepper.mjs +12 -0
  173. package/lib/ProgressStepper/styles.css +1 -0
  174. package/lib/ProgressStepperOverflow/ProgressStepperOverflow.cjs +107 -0
  175. package/lib/ProgressStepperOverflow/ProgressStepperOverflow.mjs +104 -0
  176. package/lib/ProgressStepperOverflow/styles.css +1 -0
  177. package/lib/RadioCardGroup/RadioCardGroup.cjs +86 -0
  178. package/lib/RadioCardGroup/RadioCardGroup.mjs +83 -0
  179. package/lib/RadioCardGroup/styles.css +1 -0
  180. package/lib/RadioGroup/RadioGroup.cjs +81 -0
  181. package/lib/RadioGroup/RadioGroup.mjs +77 -0
  182. package/lib/RadioGroup/styles.css +1 -0
  183. package/lib/Rule/Rule.cjs +14 -0
  184. package/lib/Rule/Rule.mjs +8 -0
  185. package/lib/Rule/styles.css +1 -0
  186. package/lib/ScrollToTop/ScrollToTop.cjs +51 -0
  187. package/lib/ScrollToTop/ScrollToTop.mjs +49 -0
  188. package/lib/ScrollToTop/styles.css +1 -0
  189. package/lib/Section/Section.cjs +12 -0
  190. package/lib/Section/Section.mjs +6 -0
  191. package/lib/Section/styles.css +1 -0
  192. package/lib/Select/Select.cjs +88 -0
  193. package/lib/Select/Select.mjs +86 -0
  194. package/lib/Select/styles.css +1 -0
  195. package/lib/SemanticHeading/SemanticHeading.cjs +10 -0
  196. package/lib/SemanticHeading/SemanticHeading.mjs +4 -0
  197. package/lib/SemanticHeading/styles.css +1 -0
  198. package/lib/SiteFooter/SiteFooter.cjs +60 -0
  199. package/lib/SiteFooter/SiteFooter.mjs +56 -0
  200. package/lib/SiteFooter/styles.css +1 -0
  201. package/lib/SiteFooterV2/SiteFooterV2.cjs +106 -0
  202. package/lib/SiteFooterV2/SiteFooterV2.mjs +100 -0
  203. package/lib/SiteFooterV2/styles.css +1 -0
  204. package/lib/SiteHeaderV2/SiteHeaderV2.cjs +604 -0
  205. package/lib/SiteHeaderV2/SiteHeaderV2.mjs +594 -0
  206. package/lib/SiteHeaderV2/styles.css +1 -0
  207. package/lib/Skeleton/Skeleton.cjs +21 -0
  208. package/lib/Skeleton/Skeleton.mjs +19 -0
  209. package/lib/Skeleton/styles.css +1 -0
  210. package/lib/SkipLink/SkipLink.cjs +19 -0
  211. package/lib/SkipLink/SkipLink.mjs +16 -0
  212. package/lib/SkipLink/styles.css +1 -0
  213. package/lib/Spinner/Spinner.cjs +11 -0
  214. package/lib/Spinner/Spinner.mjs +5 -0
  215. package/lib/Spinner/styles.css +1 -0
  216. package/lib/Surface/Surface.cjs +16 -0
  217. package/lib/Surface/Surface.mjs +7 -0
  218. package/lib/Surface/styles.css +1 -0
  219. package/lib/Switch/Switch.cjs +237 -0
  220. package/lib/Switch/Switch.mjs +235 -0
  221. package/lib/Switch/styles.css +1 -0
  222. package/lib/TabbedBanner/TabbedBanner.cjs +65 -0
  223. package/lib/TabbedBanner/TabbedBanner.mjs +63 -0
  224. package/lib/TabbedBanner/styles.css +1 -0
  225. package/lib/Tabs/Tabs.cjs +93 -0
  226. package/lib/Tabs/Tabs.mjs +88 -0
  227. package/lib/Tabs/styles.css +1 -0
  228. package/lib/Tag/Tag.cjs +62 -0
  229. package/lib/Tag/Tag.mjs +60 -0
  230. package/lib/Tag/styles.css +1 -0
  231. package/lib/TemplateBanner/TemplateBanner.cjs +23 -0
  232. package/lib/TemplateBanner/TemplateBanner.mjs +17 -0
  233. package/lib/TemplateBanner/styles.css +1 -0
  234. package/lib/Text/Text.cjs +15 -0
  235. package/lib/Text/Text.mjs +9 -0
  236. package/lib/Text/styles.css +1 -0
  237. package/lib/TextArea/TextArea.cjs +70 -0
  238. package/lib/TextArea/TextArea.mjs +68 -0
  239. package/lib/TextArea/styles.css +1 -0
  240. package/lib/TextInput/TextInput.cjs +28 -0
  241. package/lib/TextInput/TextInput.mjs +21 -0
  242. package/lib/TextInput/styles.css +1 -0
  243. package/lib/Theme/Theme.cjs +76 -0
  244. package/lib/Theme/Theme.mjs +73 -0
  245. package/lib/Theme/styles.css +1 -0
  246. package/lib/ThemeIcon/ThemeIcon.cjs +15 -0
  247. package/lib/ThemeIcon/ThemeIcon.mjs +9 -0
  248. package/lib/ThemeIcon/styles.css +1 -0
  249. package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +31 -0
  250. package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +29 -0
  251. package/lib/ThumbnailSignpost/styles.css +1 -0
  252. package/lib/Toast/Toast.cjs +1003 -0
  253. package/lib/Toast/Toast.mjs +1000 -0
  254. package/lib/Toast/styles.css +1 -0
  255. package/lib/Tooltip/Tooltip.cjs +21 -0
  256. package/lib/Tooltip/Tooltip.mjs +15 -0
  257. package/lib/Tooltip/styles.css +1 -0
  258. package/lib/Truncate/Truncate.cjs +14 -0
  259. package/lib/Truncate/Truncate.mjs +12 -0
  260. package/lib/Truncate/styles.css +1 -0
  261. package/lib/TypographyCard/TypographyCard.cjs +40 -0
  262. package/lib/TypographyCard/TypographyCard.mjs +38 -0
  263. package/lib/TypographyCard/styles.css +1 -0
  264. package/lib/UniversalHeader/UniversalHeader.cjs +31 -0
  265. package/lib/UniversalHeader/UniversalHeader.mjs +28 -0
  266. package/lib/UniversalHeader/styles.css +1 -0
  267. package/lib/VerticalSpace/VerticalSpace.cjs +11 -0
  268. package/lib/VerticalSpace/VerticalSpace.mjs +5 -0
  269. package/lib/VerticalSpace/styles.css +1 -0
  270. package/lib/VideoPlayer/VideoPlayer.cjs +3212 -0
  271. package/lib/VideoPlayer/VideoPlayer.mjs +3210 -0
  272. package/lib/VideoPlayer/styles.css +1 -0
  273. package/lib/Visible/Visible.cjs +11 -0
  274. package/lib/Visible/Visible.mjs +5 -0
  275. package/lib/Visible/styles.css +1 -0
  276. package/lib/VisuallyHidden/VisuallyHidden.cjs +10 -0
  277. package/lib/VisuallyHidden/VisuallyHidden.mjs +4 -0
  278. package/lib/VisuallyHidden/styles.css +1 -0
  279. package/lib/_shared/cjs/Avatar-CCKArHo9.cjs +48 -0
  280. package/lib/_shared/cjs/Badge-DX5PjtiZ.cjs +15 -0
  281. package/lib/_shared/cjs/BannerImage-CYHLvtfL.cjs +13 -0
  282. package/lib/_shared/cjs/Box-Va2g7Gdp.cjs +26 -0
  283. package/lib/_shared/cjs/BrandLogo-coNfTwRv.cjs +30 -0
  284. package/lib/_shared/cjs/BtIconArrowRight-Bm5PIn_6.cjs +11 -0
  285. package/lib/_shared/cjs/BtIconChevronRight2Px-CIRaur2B.cjs +20 -0
  286. package/lib/_shared/cjs/BtIconChevronRightMid-eGxk3ae6.cjs +11 -0
  287. package/lib/_shared/cjs/Button-BN4jUsg5.cjs +51 -0
  288. package/lib/_shared/cjs/ButtonV2-bUu36xW8.cjs +61 -0
  289. package/lib/_shared/cjs/Calendar-D_jZ0cgf.cjs +1898 -0
  290. package/lib/_shared/cjs/CardFooter-PoifazZ1.cjs +32 -0
  291. package/lib/_shared/cjs/CardHeading-lGy1u6eD.cjs +14 -0
  292. package/lib/_shared/cjs/CheckboxIcon-BTkdXfpp.cjs +53 -0
  293. package/lib/_shared/cjs/ClientSideVisible-BhW-T6kb.cjs +16 -0
  294. package/lib/_shared/cjs/Combination-6m6aOXZq.cjs +1466 -0
  295. package/lib/_shared/cjs/ConditionalWrapper-Cl6kgjCL.cjs +11 -0
  296. package/lib/_shared/cjs/ContentSwitcherDropdown-BLXyhXVS.cjs +87 -0
  297. package/lib/_shared/cjs/ContentSwitcherList-DgychllS.cjs +111 -0
  298. package/lib/_shared/cjs/DisclosureMini-Cy7hNc90.cjs +38 -0
  299. package/lib/_shared/cjs/Download-Chs-DEGO.cjs +43 -0
  300. package/lib/_shared/cjs/FilterControl-BIwtgTjP.cjs +27 -0
  301. package/lib/_shared/cjs/FormControl-TtboqHRx.cjs +117 -0
  302. package/lib/_shared/cjs/GridRow-l_SePUqV.cjs +45 -0
  303. package/lib/_shared/cjs/Heading-BYBmZkmS.cjs +33 -0
  304. package/lib/_shared/cjs/Hidden-BpWHucG2.cjs +21 -0
  305. package/lib/_shared/cjs/Icon-Dk2XHa7V.cjs +40 -0
  306. package/lib/_shared/cjs/Image-MS1rBzbW.cjs +50 -0
  307. package/lib/_shared/cjs/Link-BZsSf3Nn.cjs +51 -0
  308. package/lib/_shared/cjs/Popover-CYcqjefw.cjs +35 -0
  309. package/lib/_shared/cjs/Preview-BYuMaIh7.cjs +175 -0
  310. package/lib/_shared/cjs/ProgressStepper-mTgKZYEl.cjs +210 -0
  311. package/lib/_shared/cjs/Rule-jmvOpci7.cjs +24 -0
  312. package/lib/_shared/cjs/Section-BorWFfNe.cjs +22 -0
  313. package/lib/_shared/cjs/SemanticHeading-C1-fyc3V.cjs +16 -0
  314. package/lib/_shared/cjs/Spinner-427lpnHI.cjs +17 -0
  315. package/lib/_shared/cjs/Surface-DIU5ciDT.cjs +56 -0
  316. package/lib/_shared/cjs/TemplateBanner-CzDAL0lq.cjs +84 -0
  317. package/lib/_shared/cjs/Text-jwsn80lQ.cjs +30 -0
  318. package/lib/_shared/cjs/TextInput-BHzuoI7E.cjs +163 -0
  319. package/lib/_shared/cjs/ThemeIcon-CwYN77IF.cjs +25 -0
  320. package/lib/_shared/cjs/Tooltip-CEb7YEP2.cjs +1379 -0
  321. package/lib/_shared/cjs/VerticalSpace-DLQUYsvc.cjs +27 -0
  322. package/lib/_shared/cjs/Visible-Ca2H20zc.cjs +21 -0
  323. package/lib/_shared/cjs/VisuallyHidden-CQg3cOVK.cjs +15 -0
  324. package/lib/_shared/cjs/arc-breakpoints-DFPoWNR4.cjs +33 -0
  325. package/lib/_shared/cjs/debounce-uPMetQ6J.cjs +412 -0
  326. package/lib/_shared/cjs/filter-attrs-D19P2s1V.cjs +15 -0
  327. package/lib/_shared/cjs/index-B11wQrRa.cjs +2208 -0
  328. package/lib/_shared/cjs/index-BCu-VH8y.cjs +416 -0
  329. package/lib/_shared/cjs/index-BGGFOAAx.cjs +152 -0
  330. package/lib/_shared/cjs/index-BLRjGROQ.cjs +2197 -0
  331. package/lib/_shared/cjs/index-BWfgSvRQ.cjs +313 -0
  332. package/lib/_shared/cjs/index-CDVpHNP8.cjs +1204 -0
  333. package/lib/_shared/cjs/index-CTlXMLug.cjs +106 -0
  334. package/lib/_shared/cjs/index-CklPiHsS.cjs +97 -0
  335. package/lib/_shared/cjs/index-CztwwwKE.cjs +375 -0
  336. package/lib/_shared/cjs/index-D9onmVh5.cjs +333 -0
  337. package/lib/_shared/cjs/index-DR8Rkav9.cjs +130 -0
  338. package/lib/_shared/cjs/index-DXNM3D1d.cjs +196 -0
  339. package/lib/_shared/cjs/index-DmvtEa22.cjs +219 -0
  340. package/lib/_shared/cjs/index-KrMgv4q_.cjs +318 -0
  341. package/lib/_shared/cjs/index.es-B2ZfX2D7.cjs +19 -0
  342. package/lib/_shared/cjs/isSymbol-BGrHFUbV.cjs +255 -0
  343. package/lib/_shared/cjs/suffix-modifier-DLUGR-yG.cjs +10 -0
  344. package/lib/_shared/cjs/tslib.es6-CCZ3TN_7.cjs +59 -0
  345. package/lib/_shared/cjs/use-media-query-BJV2IbHi.cjs +58 -0
  346. package/lib/_shared/esm/Avatar-BgK-wY7Z.mjs +46 -0
  347. package/lib/_shared/esm/Badge-C_3PBa0p.mjs +13 -0
  348. package/lib/_shared/esm/BannerImage-BdPAHkVD.mjs +11 -0
  349. package/lib/_shared/esm/Box-C8iK8x5c.mjs +24 -0
  350. package/lib/_shared/esm/BrandLogo-Dc-d_8ZN.mjs +27 -0
  351. package/lib/_shared/esm/BtIconArrowRight-DpUmY3g3.mjs +9 -0
  352. package/lib/_shared/esm/BtIconChevronRight2Px-DzWb16fR.mjs +17 -0
  353. package/lib/_shared/esm/BtIconChevronRightMid-DE4lmVaG.mjs +9 -0
  354. package/lib/_shared/esm/Button-DTiOFT9M.mjs +49 -0
  355. package/lib/_shared/esm/ButtonV2-ByW5P8Hq.mjs +59 -0
  356. package/lib/_shared/esm/Calendar-wG6UVDgO.mjs +1893 -0
  357. package/lib/_shared/esm/CardFooter-DX3Ym8M6.mjs +30 -0
  358. package/lib/_shared/esm/CardHeading-CfPEEmBO.mjs +12 -0
  359. package/lib/_shared/esm/CheckboxIcon-BcVQe6mC.mjs +51 -0
  360. package/lib/_shared/esm/ClientSideVisible-D_iBE-3U.mjs +14 -0
  361. package/lib/_shared/esm/Combination-BQ4XBtF-.mjs +1435 -0
  362. package/lib/_shared/esm/ConditionalWrapper-CbEvXHTj.mjs +9 -0
  363. package/lib/_shared/esm/ContentSwitcherDropdown-ckPG4pry.mjs +84 -0
  364. package/lib/_shared/esm/ContentSwitcherList-CWZcMblg.mjs +106 -0
  365. package/lib/_shared/esm/DisclosureMini-DeQZyvDN.mjs +36 -0
  366. package/lib/_shared/esm/Download-CsJLNRAD.mjs +41 -0
  367. package/lib/_shared/esm/FilterControl-22MNdP1r.mjs +25 -0
  368. package/lib/_shared/esm/FormControl-DopDD_nC.mjs +113 -0
  369. package/lib/_shared/esm/GridRow-vjacXnq0.mjs +41 -0
  370. package/lib/_shared/esm/Heading-Da-o0d5x.mjs +31 -0
  371. package/lib/_shared/esm/Hidden-ByDYDWcI.mjs +19 -0
  372. package/lib/_shared/esm/Icon-CCUbr_AO.mjs +37 -0
  373. package/lib/_shared/esm/Image-DLYifxlu.mjs +44 -0
  374. package/lib/_shared/esm/Link-CoHABYiD.mjs +49 -0
  375. package/lib/_shared/esm/Popover-BHCEpLSa.mjs +33 -0
  376. package/lib/_shared/esm/Preview-AHYIJh9S.mjs +173 -0
  377. package/lib/_shared/esm/ProgressStepper-DxZrJR0q.mjs +207 -0
  378. package/lib/_shared/esm/Rule-I1w3EaZi.mjs +22 -0
  379. package/lib/_shared/esm/Section-COc1l3mp.mjs +20 -0
  380. package/lib/_shared/esm/SemanticHeading-DpEBq7pG.mjs +14 -0
  381. package/lib/_shared/esm/Spinner-DvngCIwx.mjs +15 -0
  382. package/lib/_shared/esm/Surface-C69KVzkY.mjs +51 -0
  383. package/lib/_shared/esm/TemplateBanner-CZSTdma0.mjs +82 -0
  384. package/lib/_shared/esm/Text-BAzOkkzN.mjs +28 -0
  385. package/lib/_shared/esm/TextInput-CZaNXVHl.mjs +159 -0
  386. package/lib/_shared/esm/ThemeIcon-B0n6cKRb.mjs +23 -0
  387. package/lib/_shared/esm/Tooltip-BpSzN3Tx.mjs +1359 -0
  388. package/lib/_shared/esm/VerticalSpace-BLWB02I7.mjs +25 -0
  389. package/lib/_shared/esm/Visible-C4eEyTBM.mjs +19 -0
  390. package/lib/_shared/esm/VisuallyHidden-aSQ4RA1o.mjs +13 -0
  391. package/lib/_shared/esm/arc-breakpoints-TEKN0W5t.mjs +26 -0
  392. package/lib/_shared/esm/debounce-D_Nx5go6.mjs +410 -0
  393. package/lib/_shared/esm/filter-attrs-v_SweZXP.mjs +13 -0
  394. package/lib/_shared/esm/index-5C0-U8cc.mjs +101 -0
  395. package/lib/_shared/esm/index-6HtUz28p.mjs +216 -0
  396. package/lib/_shared/esm/index-BFKdmv_g.mjs +293 -0
  397. package/lib/_shared/esm/index-BWkI4Dwz.mjs +393 -0
  398. package/lib/_shared/esm/index-Bz2JQq34.mjs +169 -0
  399. package/lib/_shared/esm/index-CN4hP3Wu.mjs +307 -0
  400. package/lib/_shared/esm/index-CWHcEz3_.mjs +2178 -0
  401. package/lib/_shared/esm/index-Cr6KeQLU.mjs +2188 -0
  402. package/lib/_shared/esm/index-DXHprNQ6.mjs +364 -0
  403. package/lib/_shared/esm/index-Do2wfP-X.mjs +287 -0
  404. package/lib/_shared/esm/index-GCEHSsY8.mjs +131 -0
  405. package/lib/_shared/esm/index-Spae4j7j.mjs +128 -0
  406. package/lib/_shared/esm/index-u47CK8Y0.mjs +76 -0
  407. package/lib/_shared/esm/index-vnVJe9rH.mjs +1171 -0
  408. package/lib/_shared/esm/index.es-Co1d96HB.mjs +12 -0
  409. package/lib/_shared/esm/isSymbol-DgWNE2Tm.mjs +251 -0
  410. package/lib/_shared/esm/suffix-modifier-B_pO0UkF.mjs +8 -0
  411. package/lib/_shared/esm/tslib.es6-w7hdJ3oZ.mjs +56 -0
  412. package/lib/_shared/esm/use-media-query-l6Sou0dd.mjs +56 -0
  413. package/lib/index.cjs +28308 -0
  414. package/lib/index.cjs.map +1 -0
  415. package/lib/index.d.cts +5278 -0
  416. package/lib/index.d.mts +5278 -0
  417. package/lib/index.js.map +1 -0
  418. package/lib/index.mjs +28117 -0
  419. package/lib/index.mjs.map +1 -0
  420. package/lib/styles.css +3 -0
  421. package/lib/use-media-query/use-media-query.cjs +8 -0
  422. package/lib/use-media-query/use-media-query.mjs +2 -0
  423. package/package.json +105 -83
  424. package/dist/Alert/Alert.cjs.js +0 -51
  425. package/dist/Alert/Alert.esm.js +0 -43
  426. package/dist/Alert/package.json +0 -7
  427. package/dist/Alert/styles.css +0 -1
  428. package/dist/Align/Align.cjs.js +0 -32
  429. package/dist/Align/Align.esm.js +0 -24
  430. package/dist/Align/package.json +0 -7
  431. package/dist/Align/styles.css +0 -1
  432. package/dist/AppButton/AppButton.cjs.js +0 -74
  433. package/dist/AppButton/AppButton.esm.js +0 -66
  434. package/dist/AppButton/package.json +0 -7
  435. package/dist/AppButton/styles.css +0 -1
  436. package/dist/Avatar/Avatar.cjs.js +0 -17
  437. package/dist/Avatar/Avatar.esm.js +0 -9
  438. package/dist/Avatar/package.json +0 -7
  439. package/dist/Avatar/styles.css +0 -1
  440. package/dist/AvatarGroup/AvatarGroup.cjs.js +0 -37
  441. package/dist/AvatarGroup/AvatarGroup.esm.js +0 -29
  442. package/dist/AvatarGroup/package.json +0 -7
  443. package/dist/AvatarGroup/styles.css +0 -1
  444. package/dist/Badge/Badge.cjs.js +0 -12
  445. package/dist/Badge/Badge.esm.js +0 -4
  446. package/dist/Badge/package.json +0 -7
  447. package/dist/Badge/styles.css +0 -1
  448. package/dist/Box/Box.cjs.js +0 -13
  449. package/dist/Box/Box.esm.js +0 -5
  450. package/dist/Box/package.json +0 -7
  451. package/dist/Box/styles.css +0 -1
  452. package/dist/BrandLogo/BrandLogo.cjs.js +0 -13
  453. package/dist/BrandLogo/BrandLogo.esm.js +0 -5
  454. package/dist/BrandLogo/package.json +0 -7
  455. package/dist/BrandLogo/styles.css +0 -1
  456. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +0 -17
  457. package/dist/Breadcrumbs/Breadcrumbs.esm.js +0 -9
  458. package/dist/Breadcrumbs/package.json +0 -7
  459. package/dist/Breadcrumbs/styles.css +0 -1
  460. package/dist/Button/Button.cjs.js +0 -15
  461. package/dist/Button/Button.esm.js +0 -7
  462. package/dist/Button/package.json +0 -7
  463. package/dist/Button/styles.css +0 -1
  464. package/dist/ButtonV2/ButtonV2.cjs.js +0 -15
  465. package/dist/ButtonV2/ButtonV2.esm.js +0 -7
  466. package/dist/ButtonV2/package.json +0 -7
  467. package/dist/ButtonV2/styles.css +0 -1
  468. package/dist/Calendar/Calendar.cjs.js +0 -21
  469. package/dist/Calendar/Calendar.esm.js +0 -13
  470. package/dist/Calendar/package.json +0 -7
  471. package/dist/Calendar/styles.css +0 -1
  472. package/dist/CardFooter/CardFooter.cjs.js +0 -17
  473. package/dist/CardFooter/CardFooter.esm.js +0 -9
  474. package/dist/CardFooter/package.json +0 -7
  475. package/dist/CardFooter/styles.css +0 -1
  476. package/dist/CardHeading/CardHeading.cjs.js +0 -14
  477. package/dist/CardHeading/CardHeading.esm.js +0 -6
  478. package/dist/CardHeading/package.json +0 -7
  479. package/dist/CardHeading/styles.css +0 -1
  480. package/dist/Carousel/Carousel.cjs.js +0 -457
  481. package/dist/Carousel/Carousel.esm.js +0 -431
  482. package/dist/Carousel/package.json +0 -7
  483. package/dist/Carousel/styles.css +0 -1
  484. package/dist/Checkbox/Checkbox.cjs.js +0 -18
  485. package/dist/Checkbox/Checkbox.esm.js +0 -10
  486. package/dist/Checkbox/package.json +0 -7
  487. package/dist/Checkbox/styles.css +0 -1
  488. package/dist/Columns/Columns.cjs.js +0 -12
  489. package/dist/Columns/Columns.esm.js +0 -4
  490. package/dist/Columns/package.json +0 -7
  491. package/dist/Columns/styles.css +0 -1
  492. package/dist/ConditionalWrapper/ConditionalWrapper.cjs.js +0 -10
  493. package/dist/ConditionalWrapper/ConditionalWrapper.esm.js +0 -2
  494. package/dist/ConditionalWrapper/package.json +0 -7
  495. package/dist/ContentSwitcher/ContentSwitcher.cjs.js +0 -20
  496. package/dist/ContentSwitcher/ContentSwitcher.esm.js +0 -12
  497. package/dist/ContentSwitcher/package.json +0 -7
  498. package/dist/ContentSwitcher/styles.css +0 -1
  499. package/dist/ContentSwitcherDropdown/ContentSwitcherDropdown.cjs.js +0 -23
  500. package/dist/ContentSwitcherDropdown/ContentSwitcherDropdown.esm.js +0 -15
  501. package/dist/ContentSwitcherDropdown/package.json +0 -7
  502. package/dist/ContentSwitcherDropdown/styles.css +0 -1
  503. package/dist/DatePicker/DatePicker.cjs.js +0 -36
  504. package/dist/DatePicker/DatePicker.esm.js +0 -23
  505. package/dist/DatePicker/package.json +0 -7
  506. package/dist/DatePicker/styles.css +0 -1
  507. package/dist/Disclosure/Disclosure.cjs.js +0 -38
  508. package/dist/Disclosure/Disclosure.esm.js +0 -30
  509. package/dist/Disclosure/package.json +0 -7
  510. package/dist/Disclosure/styles.css +0 -1
  511. package/dist/DisclosureMini/DisclosureMini.cjs.js +0 -15
  512. package/dist/DisclosureMini/DisclosureMini.esm.js +0 -7
  513. package/dist/DisclosureMini/package.json +0 -7
  514. package/dist/DisclosureMini/styles.css +0 -1
  515. package/dist/Elevation/Elevation.cjs.js +0 -27
  516. package/dist/Elevation/Elevation.esm.js +0 -19
  517. package/dist/Elevation/package.json +0 -7
  518. package/dist/Elevation/styles.css +0 -1
  519. package/dist/Filter/Filter.cjs.js +0 -14
  520. package/dist/Filter/Filter.esm.js +0 -6
  521. package/dist/Filter/package.json +0 -7
  522. package/dist/Filter/styles.css +0 -1
  523. package/dist/FormControl/FormControl.cjs.js +0 -18
  524. package/dist/FormControl/FormControl.esm.js +0 -9
  525. package/dist/FormControl/package.json +0 -7
  526. package/dist/FormControl/styles.css +0 -1
  527. package/dist/Grid/Grid.cjs.js +0 -12
  528. package/dist/Grid/Grid.esm.js +0 -4
  529. package/dist/Grid/package.json +0 -7
  530. package/dist/Grid/styles.css +0 -1
  531. package/dist/Group/Group.cjs.js +0 -13
  532. package/dist/Group/Group.esm.js +0 -5
  533. package/dist/Group/package.json +0 -7
  534. package/dist/Group/styles.css +0 -1
  535. package/dist/Heading/Heading.cjs.js +0 -13
  536. package/dist/Heading/Heading.esm.js +0 -5
  537. package/dist/Heading/package.json +0 -7
  538. package/dist/Heading/styles.css +0 -1
  539. package/dist/HeroBanner/HeroBanner.cjs.js +0 -63
  540. package/dist/HeroBanner/HeroBanner.esm.js +0 -55
  541. package/dist/HeroBanner/package.json +0 -7
  542. package/dist/HeroBanner/styles.css +0 -1
  543. package/dist/HeroButton/HeroButton.cjs.js +0 -15
  544. package/dist/HeroButton/HeroButton.esm.js +0 -7
  545. package/dist/HeroButton/package.json +0 -7
  546. package/dist/HeroButton/styles.css +0 -1
  547. package/dist/Hidden/Hidden.cjs.js +0 -24
  548. package/dist/Hidden/Hidden.esm.js +0 -16
  549. package/dist/Hidden/package.json +0 -7
  550. package/dist/Hidden/styles.css +0 -1
  551. package/dist/Icon/Icon.cjs.js +0 -13
  552. package/dist/Icon/Icon.esm.js +0 -5
  553. package/dist/Icon/package.json +0 -7
  554. package/dist/Icon/styles.css +0 -1
  555. package/dist/Image/Image.cjs.js +0 -13
  556. package/dist/Image/Image.esm.js +0 -4
  557. package/dist/Image/package.json +0 -7
  558. package/dist/Image/styles.css +0 -1
  559. package/dist/ImpactCard/ImpactCard.cjs.js +0 -43
  560. package/dist/ImpactCard/ImpactCard.esm.js +0 -35
  561. package/dist/ImpactCard/package.json +0 -7
  562. package/dist/ImpactCard/styles.css +0 -1
  563. package/dist/InformationCard/InformationCard.cjs.js +0 -60
  564. package/dist/InformationCard/InformationCard.esm.js +0 -52
  565. package/dist/InformationCard/package.json +0 -7
  566. package/dist/InformationCard/styles.css +0 -1
  567. package/dist/Link/Link.cjs.js +0 -75
  568. package/dist/Link/Link.esm.js +0 -67
  569. package/dist/Link/package.json +0 -7
  570. package/dist/Link/styles.css +0 -1
  571. package/dist/Markup/Markup.cjs.js +0 -27
  572. package/dist/Markup/Markup.esm.js +0 -19
  573. package/dist/Markup/package.json +0 -7
  574. package/dist/Markup/styles.css +0 -1
  575. package/dist/MediaCard/MediaCard.cjs.js +0 -26
  576. package/dist/MediaCard/MediaCard.esm.js +0 -18
  577. package/dist/MediaCard/package.json +0 -7
  578. package/dist/MediaCard/styles.css +0 -1
  579. package/dist/Modal/Modal.cjs.js +0 -393
  580. package/dist/Modal/Modal.esm.js +0 -367
  581. package/dist/Modal/package.json +0 -7
  582. package/dist/Modal/styles.css +0 -1
  583. package/dist/Pagination/Pagination.cjs.js +0 -81
  584. package/dist/Pagination/Pagination.esm.js +0 -73
  585. package/dist/Pagination/package.json +0 -7
  586. package/dist/Pagination/styles.css +0 -1
  587. package/dist/PaginationSimple/PaginationSimple.cjs.js +0 -41
  588. package/dist/PaginationSimple/PaginationSimple.esm.js +0 -33
  589. package/dist/PaginationSimple/package.json +0 -7
  590. package/dist/PaginationSimple/styles.css +0 -1
  591. package/dist/Poster/Poster.cjs.js +0 -14
  592. package/dist/Poster/Poster.esm.js +0 -6
  593. package/dist/Poster/package.json +0 -7
  594. package/dist/Poster/styles.css +0 -1
  595. package/dist/ProgressBar/ProgressBar.cjs.js +0 -69
  596. package/dist/ProgressBar/ProgressBar.esm.js +0 -61
  597. package/dist/ProgressBar/package.json +0 -7
  598. package/dist/ProgressBar/styles.css +0 -1
  599. package/dist/ProgressStepper/ProgressStepper.cjs.js +0 -15
  600. package/dist/ProgressStepper/ProgressStepper.esm.js +0 -7
  601. package/dist/ProgressStepper/package.json +0 -7
  602. package/dist/ProgressStepper/styles.css +0 -1
  603. package/dist/RadioGroup/RadioGroup.cjs.js +0 -19
  604. package/dist/RadioGroup/RadioGroup.esm.js +0 -10
  605. package/dist/RadioGroup/package.json +0 -7
  606. package/dist/RadioGroup/styles.css +0 -1
  607. package/dist/Rule/Rule.cjs.js +0 -29
  608. package/dist/Rule/Rule.esm.js +0 -21
  609. package/dist/Rule/package.json +0 -7
  610. package/dist/Rule/styles.css +0 -1
  611. package/dist/ScrollToTop/ScrollToTop.cjs.js +0 -50
  612. package/dist/ScrollToTop/ScrollToTop.esm.js +0 -42
  613. package/dist/ScrollToTop/package.json +0 -7
  614. package/dist/ScrollToTop/styles.css +0 -1
  615. package/dist/Section/Section.cjs.js +0 -12
  616. package/dist/Section/Section.esm.js +0 -4
  617. package/dist/Section/package.json +0 -7
  618. package/dist/Section/styles.css +0 -1
  619. package/dist/Select/Select.cjs.js +0 -88
  620. package/dist/Select/Select.esm.js +0 -80
  621. package/dist/Select/package.json +0 -7
  622. package/dist/Select/styles.css +0 -1
  623. package/dist/SiteFooter/SiteFooter.cjs.js +0 -19
  624. package/dist/SiteFooter/SiteFooter.esm.js +0 -11
  625. package/dist/SiteFooter/package.json +0 -7
  626. package/dist/SiteFooter/styles.css +0 -1
  627. package/dist/SiteHeaderV2/SiteHeaderV2.cjs.js +0 -23
  628. package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +0 -15
  629. package/dist/SiteHeaderV2/package.json +0 -7
  630. package/dist/SiteHeaderV2/styles.css +0 -1
  631. package/dist/SkipLink/SkipLink.cjs.js +0 -24
  632. package/dist/SkipLink/SkipLink.esm.js +0 -16
  633. package/dist/SkipLink/package.json +0 -7
  634. package/dist/SkipLink/styles.css +0 -1
  635. package/dist/Spinner/Spinner.cjs.js +0 -12
  636. package/dist/Spinner/Spinner.esm.js +0 -4
  637. package/dist/Spinner/package.json +0 -7
  638. package/dist/Spinner/styles.css +0 -1
  639. package/dist/Surface/Surface.cjs.js +0 -15
  640. package/dist/Surface/Surface.esm.js +0 -4
  641. package/dist/Surface/package.json +0 -7
  642. package/dist/Surface/styles.css +0 -1
  643. package/dist/Switch/Switch.cjs.js +0 -164
  644. package/dist/Switch/Switch.esm.js +0 -156
  645. package/dist/Switch/package.json +0 -7
  646. package/dist/Switch/styles.css +0 -1
  647. package/dist/Tabs/Tabs.cjs.js +0 -21
  648. package/dist/Tabs/Tabs.esm.js +0 -13
  649. package/dist/Tabs/package.json +0 -7
  650. package/dist/Tabs/styles.css +0 -1
  651. package/dist/Tag/Tag.cjs.js +0 -84
  652. package/dist/Tag/Tag.esm.js +0 -76
  653. package/dist/Tag/package.json +0 -7
  654. package/dist/Tag/styles.css +0 -1
  655. package/dist/Text/Text.cjs.js +0 -13
  656. package/dist/Text/Text.esm.js +0 -5
  657. package/dist/Text/package.json +0 -7
  658. package/dist/Text/styles.css +0 -1
  659. package/dist/TextArea/TextArea.cjs.js +0 -115
  660. package/dist/TextArea/TextArea.esm.js +0 -107
  661. package/dist/TextArea/package.json +0 -7
  662. package/dist/TextArea/styles.css +0 -1
  663. package/dist/TextInput/TextInput.cjs.js +0 -19
  664. package/dist/TextInput/TextInput.esm.js +0 -11
  665. package/dist/TextInput/package.json +0 -7
  666. package/dist/TextInput/styles.css +0 -1
  667. package/dist/Theme/Theme.cjs.js +0 -30
  668. package/dist/Theme/Theme.esm.js +0 -21
  669. package/dist/Theme/package.json +0 -7
  670. package/dist/Theme/styles.css +0 -1
  671. package/dist/ThemeIcon/ThemeIcon.cjs.js +0 -13
  672. package/dist/ThemeIcon/ThemeIcon.esm.js +0 -5
  673. package/dist/ThemeIcon/package.json +0 -7
  674. package/dist/ThemeIcon/styles.css +0 -1
  675. package/dist/Toast/Toast.cjs.js +0 -19
  676. package/dist/Toast/Toast.esm.js +0 -11
  677. package/dist/Toast/package.json +0 -7
  678. package/dist/Toast/styles.css +0 -1
  679. package/dist/Truncate/Truncate.cjs.js +0 -18
  680. package/dist/Truncate/Truncate.esm.js +0 -10
  681. package/dist/Truncate/package.json +0 -7
  682. package/dist/Truncate/styles.css +0 -1
  683. package/dist/TypographyCard/TypographyCard.cjs.js +0 -40
  684. package/dist/TypographyCard/TypographyCard.esm.js +0 -32
  685. package/dist/TypographyCard/package.json +0 -7
  686. package/dist/TypographyCard/styles.css +0 -1
  687. package/dist/UniversalHeader/UniversalHeader.cjs.js +0 -13
  688. package/dist/UniversalHeader/UniversalHeader.esm.js +0 -5
  689. package/dist/UniversalHeader/package.json +0 -7
  690. package/dist/UniversalHeader/styles.css +0 -1
  691. package/dist/VerticalSpace/VerticalSpace.cjs.js +0 -12
  692. package/dist/VerticalSpace/VerticalSpace.esm.js +0 -4
  693. package/dist/VerticalSpace/package.json +0 -7
  694. package/dist/VerticalSpace/styles.css +0 -1
  695. package/dist/VideoPlayer/VideoPlayer.cjs.js +0 -3012
  696. package/dist/VideoPlayer/VideoPlayer.esm.js +0 -3004
  697. package/dist/VideoPlayer/package.json +0 -7
  698. package/dist/VideoPlayer/styles.css +0 -1
  699. package/dist/Visible/Visible.cjs.js +0 -24
  700. package/dist/Visible/Visible.esm.js +0 -16
  701. package/dist/Visible/package.json +0 -7
  702. package/dist/Visible/styles.css +0 -1
  703. package/dist/VisuallyHidden/VisuallyHidden.cjs.js +0 -11
  704. package/dist/VisuallyHidden/VisuallyHidden.esm.js +0 -3
  705. package/dist/VisuallyHidden/package.json +0 -7
  706. package/dist/VisuallyHidden/styles.css +0 -1
  707. package/dist/_shared/cjs/Avatar-e6ba0881.js +0 -48
  708. package/dist/_shared/cjs/Badge-1f86304b.js +0 -17
  709. package/dist/_shared/cjs/Box-d177ee32.js +0 -29
  710. package/dist/_shared/cjs/BrandLogo-d4a6fd05.js +0 -30
  711. package/dist/_shared/cjs/Breadcrumbs-ca30086e.js +0 -103
  712. package/dist/_shared/cjs/BtIconArrowRight.esm-6053bb79.js +0 -30
  713. package/dist/_shared/cjs/BtIconChevronRightMid.esm-3e8d18a9.js +0 -28
  714. package/dist/_shared/cjs/BtIconPlayFill.esm-b8997cfc.js +0 -30
  715. package/dist/_shared/cjs/Button-a2150286.js +0 -53
  716. package/dist/_shared/cjs/ButtonV2-7c437d1a.js +0 -53
  717. package/dist/_shared/cjs/Calendar-9b4b01c8.js +0 -1927
  718. package/dist/_shared/cjs/CardFooter-68235081.js +0 -79
  719. package/dist/_shared/cjs/CardHeading-88edadd4.js +0 -16
  720. package/dist/_shared/cjs/Checkbox-f6712cc5.js +0 -70
  721. package/dist/_shared/cjs/Columns-5c6bab74.js +0 -48
  722. package/dist/_shared/cjs/Combination-854a36ce.js +0 -1203
  723. package/dist/_shared/cjs/ConditionalWrapper-bf944594.js +0 -14
  724. package/dist/_shared/cjs/ContentSwitcher-88b00e11.js +0 -98
  725. package/dist/_shared/cjs/ContentSwitcherDropdown-ba5330ed.js +0 -47
  726. package/dist/_shared/cjs/DatePicker-61d66a55.js +0 -956
  727. package/dist/_shared/cjs/DisclosureMini-a46a4838.js +0 -41
  728. package/dist/_shared/cjs/Filter-b6ca2a39.js +0 -125
  729. package/dist/_shared/cjs/FormControl-0fba93b8.js +0 -111
  730. package/dist/_shared/cjs/Grid-69ed0e5c.js +0 -45
  731. package/dist/_shared/cjs/Group-7e6b78c9.js +0 -40
  732. package/dist/_shared/cjs/Heading-25d11688.js +0 -39
  733. package/dist/_shared/cjs/HeroButton-19814c26.js +0 -126
  734. package/dist/_shared/cjs/Icon-08447959.js +0 -47
  735. package/dist/_shared/cjs/Image-c8969ad9.js +0 -55
  736. package/dist/_shared/cjs/MediaCard-7bbe8aa0.js +0 -65
  737. package/dist/_shared/cjs/Poster-96aa286e.js +0 -45
  738. package/dist/_shared/cjs/Preview-0bf3f6e8.js +0 -167
  739. package/dist/_shared/cjs/ProgressStepper-c59ec56c.js +0 -97
  740. package/dist/_shared/cjs/RadioGroup-11f4b232.js +0 -85
  741. package/dist/_shared/cjs/Section-46646353.js +0 -23
  742. package/dist/_shared/cjs/SiteFooter-d839f66a.js +0 -70
  743. package/dist/_shared/cjs/SiteHeaderV2-3793453c.js +0 -687
  744. package/dist/_shared/cjs/Spinner-56122c43.js +0 -24
  745. package/dist/_shared/cjs/Surface-1b5c2ac8.js +0 -175
  746. package/dist/_shared/cjs/Tabs-30a12f1a.js +0 -93
  747. package/dist/_shared/cjs/Text-c187d9ef.js +0 -31
  748. package/dist/_shared/cjs/TextInput-d39f5a80.js +0 -103
  749. package/dist/_shared/cjs/ThemeIcon-7f537bd2.js +0 -26
  750. package/dist/_shared/cjs/Toast-35c83925.js +0 -965
  751. package/dist/_shared/cjs/UniversalHeader-f9ef793f.js +0 -29
  752. package/dist/_shared/cjs/VerticalSpace-973deefe.js +0 -29
  753. package/dist/_shared/cjs/VisuallyHidden-25393f58.js +0 -18
  754. package/dist/_shared/cjs/_commonjsHelpers-56412ec5.js +0 -21
  755. package/dist/_shared/cjs/component-4e71e3d3.js +0 -505
  756. package/dist/_shared/cjs/debounce-a74c28cf.js +0 -544
  757. package/dist/_shared/cjs/floating-ui.react-dom-08b8b87c.js +0 -1908
  758. package/dist/_shared/cjs/index-1e7a1fce.js +0 -379
  759. package/dist/_shared/cjs/index-28fbfd5b.js +0 -2206
  760. package/dist/_shared/cjs/index-2bf59363.js +0 -44
  761. package/dist/_shared/cjs/index-527f962b.js +0 -131
  762. package/dist/_shared/cjs/index-76f7dd53.js +0 -380
  763. package/dist/_shared/cjs/index-879e71ee.js +0 -47
  764. package/dist/_shared/cjs/index-89c323a4.js +0 -2204
  765. package/dist/_shared/cjs/index-9947ac13.js +0 -64
  766. package/dist/_shared/cjs/index-ba3141f5.js +0 -72
  767. package/dist/_shared/cjs/index-dbc843d3.js +0 -97
  768. package/dist/_shared/cjs/index.es-c26e8978.js +0 -201
  769. package/dist/_shared/cjs/index.es-f23456fa.js +0 -13
  770. package/dist/_shared/cjs/use-media-query-d34c83b9.js +0 -41
  771. package/dist/_shared/esm/Avatar-3537bca7.js +0 -42
  772. package/dist/_shared/esm/Badge-7bc80706.js +0 -11
  773. package/dist/_shared/esm/Box-557fb3b1.js +0 -23
  774. package/dist/_shared/esm/BrandLogo-45d0d795.js +0 -24
  775. package/dist/_shared/esm/Breadcrumbs-bcf9ca79.js +0 -97
  776. package/dist/_shared/esm/BtIconArrowRight.esm-93da96bb.js +0 -24
  777. package/dist/_shared/esm/BtIconChevronRightMid.esm-4764708f.js +0 -22
  778. package/dist/_shared/esm/BtIconPlayFill.esm-05fc0344.js +0 -24
  779. package/dist/_shared/esm/Button-0506afa7.js +0 -47
  780. package/dist/_shared/esm/ButtonV2-c83db10c.js +0 -47
  781. package/dist/_shared/esm/Calendar-34b10bd5.js +0 -1918
  782. package/dist/_shared/esm/CardFooter-bf886438.js +0 -73
  783. package/dist/_shared/esm/CardHeading-c65f9fb2.js +0 -10
  784. package/dist/_shared/esm/Checkbox-8195c42c.js +0 -64
  785. package/dist/_shared/esm/Columns-9aa5df4a.js +0 -42
  786. package/dist/_shared/esm/Combination-2af75870.js +0 -1163
  787. package/dist/_shared/esm/ConditionalWrapper-b85979de.js +0 -8
  788. package/dist/_shared/esm/ContentSwitcher-bae1f0a7.js +0 -92
  789. package/dist/_shared/esm/ContentSwitcherDropdown-65291c09.js +0 -41
  790. package/dist/_shared/esm/DatePicker-aafbdea8.js +0 -927
  791. package/dist/_shared/esm/DisclosureMini-f6d8c9bc.js +0 -35
  792. package/dist/_shared/esm/Filter-a5bf3fe3.js +0 -119
  793. package/dist/_shared/esm/FormControl-ff671eb8.js +0 -103
  794. package/dist/_shared/esm/Grid-727d05d6.js +0 -39
  795. package/dist/_shared/esm/Group-c4f6c745.js +0 -34
  796. package/dist/_shared/esm/Heading-0a8d3545.js +0 -33
  797. package/dist/_shared/esm/HeroButton-a98767b7.js +0 -120
  798. package/dist/_shared/esm/Icon-a5cb17de.js +0 -41
  799. package/dist/_shared/esm/Image-c1dc10b5.js +0 -48
  800. package/dist/_shared/esm/MediaCard-fdc76670.js +0 -59
  801. package/dist/_shared/esm/Poster-dc3d7ee8.js +0 -39
  802. package/dist/_shared/esm/Preview-43b2a75d.js +0 -161
  803. package/dist/_shared/esm/ProgressStepper-427f24e3.js +0 -91
  804. package/dist/_shared/esm/RadioGroup-5b654bee.js +0 -78
  805. package/dist/_shared/esm/Section-c1dc6e37.js +0 -17
  806. package/dist/_shared/esm/SiteFooter-1cdba967.js +0 -64
  807. package/dist/_shared/esm/SiteHeaderV2-743847f6.js +0 -681
  808. package/dist/_shared/esm/Spinner-6704017c.js +0 -18
  809. package/dist/_shared/esm/Surface-0af6a69a.js +0 -165
  810. package/dist/_shared/esm/Tabs-d360207d.js +0 -87
  811. package/dist/_shared/esm/Text-df93be85.js +0 -25
  812. package/dist/_shared/esm/TextInput-7ab39a54.js +0 -96
  813. package/dist/_shared/esm/ThemeIcon-e1e19266.js +0 -20
  814. package/dist/_shared/esm/Toast-abd517c8.js +0 -958
  815. package/dist/_shared/esm/UniversalHeader-8ebc5322.js +0 -23
  816. package/dist/_shared/esm/VerticalSpace-6a3533db.js +0 -23
  817. package/dist/_shared/esm/VisuallyHidden-cf45ac18.js +0 -12
  818. package/dist/_shared/esm/_commonjsHelpers-0109d574.js +0 -18
  819. package/dist/_shared/esm/component-3e60a45e.js +0 -476
  820. package/dist/_shared/esm/debounce-c8e41002.js +0 -542
  821. package/dist/_shared/esm/floating-ui.react-dom-1bb71aae.js +0 -1878
  822. package/dist/_shared/esm/index-14c7f4da.js +0 -91
  823. package/dist/_shared/esm/index-2e73c2e9.js +0 -62
  824. package/dist/_shared/esm/index-57d4cb34.js +0 -369
  825. package/dist/_shared/esm/index-89a7c31c.js +0 -374
  826. package/dist/_shared/esm/index-ac50b180.js +0 -69
  827. package/dist/_shared/esm/index-afbf540d.js +0 -2169
  828. package/dist/_shared/esm/index-b9923ee4.js +0 -25
  829. package/dist/_shared/esm/index-ce6dee84.js +0 -2197
  830. package/dist/_shared/esm/index-e969452b.js +0 -41
  831. package/dist/_shared/esm/index-f2ddcbe2.js +0 -129
  832. package/dist/_shared/esm/index.es-5496ec12.js +0 -196
  833. package/dist/_shared/esm/index.es-932db59a.js +0 -9
  834. package/dist/_shared/esm/use-media-query-d3622da8.js +0 -39
  835. package/dist/index.es.js +0 -20394
  836. package/dist/index.es.js.map +0 -1
  837. package/dist/index.js +0 -20486
  838. package/dist/index.js.map +0 -1
  839. package/dist/styles.css +0 -15
  840. package/dist/types/components/Alert/Alert.d.ts +0 -54
  841. package/dist/types/components/Alert/index.d.ts +0 -1
  842. package/dist/types/components/Align/Align.d.ts +0 -30
  843. package/dist/types/components/Align/index.d.ts +0 -1
  844. package/dist/types/components/AppButton/AppButton.d.ts +0 -9
  845. package/dist/types/components/AppButton/icons/AppStore.d.ts +0 -2
  846. package/dist/types/components/AppButton/icons/GooglePlay.d.ts +0 -2
  847. package/dist/types/components/AppButton/index.d.ts +0 -1
  848. package/dist/types/components/Avatar/Avatar.d.ts +0 -14
  849. package/dist/types/components/Avatar/components/AvatarContent/AvatarContent.d.ts +0 -9
  850. package/dist/types/components/Avatar/index.d.ts +0 -1
  851. package/dist/types/components/Avatar/types/avatar-icon-size.d.ts +0 -1
  852. package/dist/types/components/Avatar/types/avatar-image.d.ts +0 -2
  853. package/dist/types/components/Avatar/types/avatar-size.d.ts +0 -1
  854. package/dist/types/components/Avatar/types/avatar-text-size.d.ts +0 -2
  855. package/dist/types/components/AvatarGroup/AvatarGroup.d.ts +0 -14
  856. package/dist/types/components/AvatarGroup/index.d.ts +0 -1
  857. package/dist/types/components/AvatarGroup/types/group-avatar.d.ts +0 -2
  858. package/dist/types/components/AvatarGroup/utils/get-avatars.d.ts +0 -2
  859. package/dist/types/components/Badge/Badge.d.ts +0 -21
  860. package/dist/types/components/Badge/index.d.ts +0 -1
  861. package/dist/types/components/Box/Box.d.ts +0 -40
  862. package/dist/types/components/Box/index.d.ts +0 -1
  863. package/dist/types/components/BrandLogo/BrandLogo.d.ts +0 -25
  864. package/dist/types/components/BrandLogo/index.d.ts +0 -1
  865. package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +0 -18
  866. package/dist/types/components/Breadcrumbs/BreadcrumbsItem/BreadcrumbsItem.d.ts +0 -17
  867. package/dist/types/components/Breadcrumbs/BreadcrumbsLink/BreadcrumbsLink.d.ts +0 -29
  868. package/dist/types/components/Breadcrumbs/index.d.ts +0 -1
  869. package/dist/types/components/Button/Button.d.ts +0 -104
  870. package/dist/types/components/Button/index.d.ts +0 -1
  871. package/dist/types/components/ButtonV2/ButtonV2.d.ts +0 -79
  872. package/dist/types/components/ButtonV2/index.d.ts +0 -1
  873. package/dist/types/components/Calendar/Calendar.d.ts +0 -50
  874. package/dist/types/components/Calendar/Calendar.provider.d.ts +0 -21
  875. package/dist/types/components/Calendar/components/CalendarDateSelect/CalendarDateSelect.d.ts +0 -15
  876. package/dist/types/components/Calendar/components/CalendarDateSelect/index.d.ts +0 -1
  877. package/dist/types/components/Calendar/components/CalendarDayGrid/CalendarDayGrid.d.ts +0 -6
  878. package/dist/types/components/Calendar/components/CalendarDayGrid/index.d.ts +0 -1
  879. package/dist/types/components/Calendar/components/CalendarDayNumber/CalendarDayNumber.d.ts +0 -8
  880. package/dist/types/components/Calendar/components/CalendarDayNumber/index.d.ts +0 -1
  881. package/dist/types/components/Calendar/components/CalendarDoubleMonthView/CalendarDoubleMonthView.d.ts +0 -9
  882. package/dist/types/components/Calendar/components/CalendarDoubleMonthView/index.d.ts +0 -1
  883. package/dist/types/components/Calendar/components/CalendarFooter/CalendarFooter.d.ts +0 -6
  884. package/dist/types/components/Calendar/components/CalendarFooter/index.d.ts +0 -1
  885. package/dist/types/components/Calendar/components/CalendarMonthView/CalendarMonthView.d.ts +0 -9
  886. package/dist/types/components/Calendar/components/CalendarMonthView/index.d.ts +0 -1
  887. package/dist/types/components/Calendar/components/CalendarMonthYearView/CalendarMonthYearView.d.ts +0 -11
  888. package/dist/types/components/Calendar/components/CalendarMonthYearView/index.d.ts +0 -1
  889. package/dist/types/components/Calendar/components/CalendarNavButton/CalendarNavButton.d.ts +0 -10
  890. package/dist/types/components/Calendar/components/CalendarNavButton/index.d.ts +0 -1
  891. package/dist/types/components/Calendar/components/CalendarWrapper/CalendarWrapper.d.ts +0 -5
  892. package/dist/types/components/Calendar/components/CalendarWrapper/index.d.ts +0 -1
  893. package/dist/types/components/Calendar/components/index.d.ts +0 -6
  894. package/dist/types/components/Calendar/constants/day-names.d.ts +0 -5
  895. package/dist/types/components/Calendar/constants/index.d.ts +0 -1
  896. package/dist/types/components/Calendar/helpers/contains-date.d.ts +0 -1
  897. package/dist/types/components/Calendar/helpers/contains-date.test.d.ts +0 -1
  898. package/dist/types/components/Calendar/helpers/date-without-time.d.ts +0 -1
  899. package/dist/types/components/Calendar/helpers/date-without-time.test.d.ts +0 -1
  900. package/dist/types/components/Calendar/helpers/get-calendar-type.d.ts +0 -2
  901. package/dist/types/components/Calendar/helpers/get-calendar-type.test.d.ts +0 -1
  902. package/dist/types/components/Calendar/helpers/get-dates-in-month.d.ts +0 -1
  903. package/dist/types/components/Calendar/helpers/get-dates-in-month.test.d.ts +0 -1
  904. package/dist/types/components/Calendar/helpers/get-double-month-display-range.d.ts +0 -1
  905. package/dist/types/components/Calendar/helpers/get-double-month-display-range.test.d.ts +0 -1
  906. package/dist/types/components/Calendar/helpers/get-focus-date.d.ts +0 -5
  907. package/dist/types/components/Calendar/helpers/get-focus-date.test.d.ts +0 -1
  908. package/dist/types/components/Calendar/helpers/get-highlighted-range.d.ts +0 -6
  909. package/dist/types/components/Calendar/helpers/get-highlighted-range.test.d.ts +0 -1
  910. package/dist/types/components/Calendar/helpers/get-keydown-date.d.ts +0 -6
  911. package/dist/types/components/Calendar/helpers/get-keydown-date.test.d.ts +0 -1
  912. package/dist/types/components/Calendar/helpers/index.d.ts +0 -13
  913. package/dist/types/components/Calendar/helpers/is-day.d.ts +0 -2
  914. package/dist/types/components/Calendar/helpers/is-day.test.d.ts +0 -1
  915. package/dist/types/components/Calendar/helpers/is-disabled-date.d.ts +0 -1
  916. package/dist/types/components/Calendar/helpers/is-disabled-date.test.d.ts +0 -1
  917. package/dist/types/components/Calendar/helpers/is-month-after-max-date.d.ts +0 -1
  918. package/dist/types/components/Calendar/helpers/is-month-after-max-date.test.d.ts +0 -1
  919. package/dist/types/components/Calendar/helpers/is-month-before-min-date.d.ts +0 -1
  920. package/dist/types/components/Calendar/helpers/is-month-before-min-date.test.d.ts +0 -1
  921. package/dist/types/components/Calendar/helpers/process-selected-range.d.ts +0 -9
  922. package/dist/types/components/Calendar/helpers/process-selected-range.test.d.ts +0 -1
  923. package/dist/types/components/Calendar/index.d.ts +0 -2
  924. package/dist/types/components/Calendar/state/handlers/calendar-keydown-handler.d.ts +0 -3
  925. package/dist/types/components/Calendar/state/handlers/day-grid-leave-handler.d.ts +0 -3
  926. package/dist/types/components/Calendar/state/handlers/day-number-select-handler.d.ts +0 -3
  927. package/dist/types/components/Calendar/state/handlers/default-handler.d.ts +0 -2
  928. package/dist/types/components/Calendar/state/handlers/dropdown-change-month-handler.d.ts +0 -3
  929. package/dist/types/components/Calendar/state/handlers/dropdown-change-year-handler.d.ts +0 -3
  930. package/dist/types/components/Calendar/state/handlers/highlight-range-handler.d.ts +0 -3
  931. package/dist/types/components/Calendar/state/handlers/index.d.ts +0 -12
  932. package/dist/types/components/Calendar/state/handlers/range-select-handler.d.ts +0 -3
  933. package/dist/types/components/Calendar/state/handlers/show-next-double-month-handler.d.ts +0 -3
  934. package/dist/types/components/Calendar/state/handlers/show-next-month-handler.d.ts +0 -3
  935. package/dist/types/components/Calendar/state/handlers/show-previous-double-month-handler.d.ts +0 -3
  936. package/dist/types/components/Calendar/state/handlers/show-previous-month-handler.d.ts +0 -3
  937. package/dist/types/components/Calendar/state/index.d.ts +0 -2
  938. package/dist/types/components/Calendar/state/reducer.d.ts +0 -3
  939. package/dist/types/components/Calendar/state/reducer.test.d.ts +0 -1
  940. package/dist/types/components/Calendar/state/types/actions.d.ts +0 -81
  941. package/dist/types/components/Calendar/state/types/state-handler.d.ts +0 -3
  942. package/dist/types/components/Calendar/state/types/state.d.ts +0 -5
  943. package/dist/types/components/Calendar/types/calendar-type.d.ts +0 -1
  944. package/dist/types/components/Calendar/types/date-select-value.d.ts +0 -2
  945. package/dist/types/components/Calendar/types/index.d.ts +0 -6
  946. package/dist/types/components/Calendar/types/key-names.d.ts +0 -13
  947. package/dist/types/components/Calendar/types/range-selection.d.ts +0 -10
  948. package/dist/types/components/Calendar/types/selection-type.d.ts +0 -1
  949. package/dist/types/components/Calendar/types/week-days.d.ts +0 -18
  950. package/dist/types/components/CardFooter/CardFooter.d.ts +0 -11
  951. package/dist/types/components/CardFooter/index.d.ts +0 -1
  952. package/dist/types/components/CardHeading/CardHeading.d.ts +0 -19
  953. package/dist/types/components/CardHeading/index.d.ts +0 -1
  954. package/dist/types/components/Carousel/Carousel.d.ts +0 -12
  955. package/dist/types/components/Carousel/helpers/get-slide-config.d.ts +0 -4
  956. package/dist/types/components/Carousel/helpers/get-slider-position.d.ts +0 -9
  957. package/dist/types/components/Carousel/helpers/is-last-slide.d.ts +0 -2
  958. package/dist/types/components/Carousel/helpers/is-slide-hidden.d.ts +0 -2
  959. package/dist/types/components/Carousel/hooks/use-slides.d.ts +0 -18
  960. package/dist/types/components/Carousel/index.d.ts +0 -1
  961. package/dist/types/components/Carousel/types/breakpoints.d.ts +0 -1
  962. package/dist/types/components/Carousel/types/responsive.d.ts +0 -3
  963. package/dist/types/components/Carousel/types/screen-sizes.d.ts +0 -2
  964. package/dist/types/components/Carousel/types/slide-config.d.ts +0 -5
  965. package/dist/types/components/Carousel/types/slide.d.ts +0 -4
  966. package/dist/types/components/Checkbox/Checkbox.d.ts +0 -66
  967. package/dist/types/components/Checkbox/index.d.ts +0 -1
  968. package/dist/types/components/Columns/Columns.d.ts +0 -76
  969. package/dist/types/components/Columns/index.d.ts +0 -1
  970. package/dist/types/components/ConditionalWrapper/ConditionalWrapper.d.ts +0 -7
  971. package/dist/types/components/ConditionalWrapper/index.d.ts +0 -1
  972. package/dist/types/components/ContentSwitcher/ContentSwitcher.d.ts +0 -28
  973. package/dist/types/components/ContentSwitcher/ContentSwitcherContent/ContentSwitcherContent.d.ts +0 -12
  974. package/dist/types/components/ContentSwitcher/ContentSwitcherContent/index.d.ts +0 -1
  975. package/dist/types/components/ContentSwitcher/ContentSwitcherList/ContentSwitcherList.d.ts +0 -24
  976. package/dist/types/components/ContentSwitcher/ContentSwitcherList/index.d.ts +0 -1
  977. package/dist/types/components/ContentSwitcher/ContentSwitcherTab/ContentSwitcherTab.d.ts +0 -17
  978. package/dist/types/components/ContentSwitcher/ContentSwitcherTab/index.d.ts +0 -1
  979. package/dist/types/components/ContentSwitcher/index.d.ts +0 -1
  980. package/dist/types/components/ContentSwitcherDropdown/ContentSwitcherDropdown.d.ts +0 -37
  981. package/dist/types/components/ContentSwitcherDropdown/index.d.ts +0 -1
  982. package/dist/types/components/DatePicker/DatePicker.d.ts +0 -20
  983. package/dist/types/components/DatePicker/constants/date-format.d.ts +0 -1
  984. package/dist/types/components/DatePicker/constants/index.d.ts +0 -1
  985. package/dist/types/components/DatePicker/helpers/convert-date-string-to-date.d.ts +0 -1
  986. package/dist/types/components/DatePicker/helpers/convert-date-string-to-date.test.d.ts +0 -1
  987. package/dist/types/components/DatePicker/helpers/convert-range-string-to-dates.d.ts +0 -1
  988. package/dist/types/components/DatePicker/helpers/convert-range-string-to-dates.test.d.ts +0 -1
  989. package/dist/types/components/DatePicker/helpers/format-date.d.ts +0 -1
  990. package/dist/types/components/DatePicker/helpers/format-date.test.d.ts +0 -1
  991. package/dist/types/components/DatePicker/helpers/index.d.ts +0 -8
  992. package/dist/types/components/DatePicker/helpers/is-date-valid.d.ts +0 -1
  993. package/dist/types/components/DatePicker/helpers/is-date-valid.test.d.ts +0 -1
  994. package/dist/types/components/DatePicker/helpers/is-disabled-date.d.ts +0 -1
  995. package/dist/types/components/DatePicker/helpers/is-disabled-date.test.d.ts +0 -1
  996. package/dist/types/components/DatePicker/helpers/is-range-valid.d.ts +0 -1
  997. package/dist/types/components/DatePicker/helpers/is-range-valid.test.d.ts +0 -1
  998. package/dist/types/components/DatePicker/helpers/parse-date-string.d.ts +0 -5
  999. package/dist/types/components/DatePicker/helpers/parse-date-string.test.d.ts +0 -1
  1000. package/dist/types/components/DatePicker/helpers/parse-range-string.d.ts +0 -14
  1001. package/dist/types/components/DatePicker/helpers/parse-range-string.test.d.ts +0 -1
  1002. package/dist/types/components/DatePicker/index.d.ts +0 -6
  1003. package/dist/types/components/Disclosure/Disclosure.d.ts +0 -29
  1004. package/dist/types/components/Disclosure/index.d.ts +0 -1
  1005. package/dist/types/components/DisclosureMini/DisclosureMini.d.ts +0 -35
  1006. package/dist/types/components/DisclosureMini/index.d.ts +0 -1
  1007. package/dist/types/components/Elevation/Elevation.d.ts +0 -19
  1008. package/dist/types/components/Elevation/index.d.ts +0 -1
  1009. package/dist/types/components/Filter/Filter.d.ts +0 -38
  1010. package/dist/types/components/Filter/FilterControls/FilterControl/FilterControl.d.ts +0 -16
  1011. package/dist/types/components/Filter/FilterControls/FilterControls.d.ts +0 -12
  1012. package/dist/types/components/Filter/FilterItems/FilterItem/FilterItem.d.ts +0 -12
  1013. package/dist/types/components/Filter/FilterItems/FilterItems.d.ts +0 -16
  1014. package/dist/types/components/Filter/index.d.ts +0 -1
  1015. package/dist/types/components/FormControl/FormControl.d.ts +0 -79
  1016. package/dist/types/components/FormControl/index.d.ts +0 -1
  1017. package/dist/types/components/Grid/Grid.constants.d.ts +0 -1
  1018. package/dist/types/components/Grid/Grid.d.ts +0 -28
  1019. package/dist/types/components/Grid/Grid.types.d.ts +0 -10
  1020. package/dist/types/components/Grid/components/Col/Col.d.ts +0 -10
  1021. package/dist/types/components/Grid/components/Col/index.d.ts +0 -1
  1022. package/dist/types/components/Grid/components/Row/Row.d.ts +0 -10
  1023. package/dist/types/components/Grid/components/Row/index.d.ts +0 -1
  1024. package/dist/types/components/Grid/index.d.ts +0 -2
  1025. package/dist/types/components/Group/Group.d.ts +0 -45
  1026. package/dist/types/components/Group/GroupItem/GroupItem.d.ts +0 -17
  1027. package/dist/types/components/Group/index.d.ts +0 -1
  1028. package/dist/types/components/Heading/Heading.d.ts +0 -49
  1029. package/dist/types/components/Heading/index.d.ts +0 -1
  1030. package/dist/types/components/HeroBanner/HeroBanner.d.ts +0 -52
  1031. package/dist/types/components/HeroBanner/index.d.ts +0 -1
  1032. package/dist/types/components/HeroButton/HeroButton.d.ts +0 -66
  1033. package/dist/types/components/HeroButton/index.d.ts +0 -1
  1034. package/dist/types/components/Hidden/Hidden.d.ts +0 -11
  1035. package/dist/types/components/Hidden/index.d.ts +0 -1
  1036. package/dist/types/components/Icon/Icon.d.ts +0 -37
  1037. package/dist/types/components/Icon/index.d.ts +0 -1
  1038. package/dist/types/components/Image/Image.d.ts +0 -97
  1039. package/dist/types/components/Image/index.d.ts +0 -1
  1040. package/dist/types/components/ImpactCard/ImpactCard.d.ts +0 -58
  1041. package/dist/types/components/ImpactCard/index.d.ts +0 -1
  1042. package/dist/types/components/InformationCard/InformationCard.d.ts +0 -62
  1043. package/dist/types/components/InformationCard/index.d.ts +0 -1
  1044. package/dist/types/components/Link/Link.d.ts +0 -52
  1045. package/dist/types/components/Link/index.d.ts +0 -1
  1046. package/dist/types/components/Markup/Markup.d.ts +0 -15
  1047. package/dist/types/components/Markup/index.d.ts +0 -1
  1048. package/dist/types/components/MediaCard/MediaCard.d.ts +0 -56
  1049. package/dist/types/components/MediaCard/index.d.ts +0 -1
  1050. package/dist/types/components/MediaCard/types/index.d.ts +0 -2
  1051. package/dist/types/components/MediaCard/types/media-card-image.d.ts +0 -4
  1052. package/dist/types/components/MediaCard/types/media-card-video.d.ts +0 -4
  1053. package/dist/types/components/Modal/Modal.d.ts +0 -50
  1054. package/dist/types/components/Modal/index.d.ts +0 -1
  1055. package/dist/types/components/Pagination/Pagination.d.ts +0 -19
  1056. package/dist/types/components/Pagination/index.d.ts +0 -1
  1057. package/dist/types/components/PaginationSimple/PaginationSimple.d.ts +0 -35
  1058. package/dist/types/components/PaginationSimple/index.d.ts +0 -1
  1059. package/dist/types/components/Poster/Poster.d.ts +0 -29
  1060. package/dist/types/components/Poster/PosterImage.d.ts +0 -34
  1061. package/dist/types/components/Poster/PosterVideo.d.ts +0 -21
  1062. package/dist/types/components/Poster/index.d.ts +0 -1
  1063. package/dist/types/components/ProgressBar/ProgressBar.d.ts +0 -50
  1064. package/dist/types/components/ProgressBar/constants/progress-bar-icon-map.d.ts +0 -3
  1065. package/dist/types/components/ProgressBar/index.d.ts +0 -1
  1066. package/dist/types/components/ProgressBar/types/progress-bar-icons.d.ts +0 -1
  1067. package/dist/types/components/ProgressBar/types/progress-bar-state.d.ts +0 -1
  1068. package/dist/types/components/ProgressBar/utils/get-progress-bar-props.d.ts +0 -1
  1069. package/dist/types/components/ProgressStepper/ProgressStepper.d.ts +0 -28
  1070. package/dist/types/components/ProgressStepper/ProgressStepperItem/ProgressStepperItem.d.ts +0 -58
  1071. package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Complete.d.ts +0 -2
  1072. package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Current.d.ts +0 -2
  1073. package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Error.d.ts +0 -2
  1074. package/dist/types/components/ProgressStepper/ProgressStepperItem/icons/Warning.d.ts +0 -2
  1075. package/dist/types/components/ProgressStepper/index.d.ts +0 -1
  1076. package/dist/types/components/ProgressStepper/progressStatus.d.ts +0 -1
  1077. package/dist/types/components/RadioGroup/RadioButton/RadioButton.d.ts +0 -21
  1078. package/dist/types/components/RadioGroup/RadioButton/index.d.ts +0 -1
  1079. package/dist/types/components/RadioGroup/RadioButtonGroupInput/RadioButtonGroupInput.d.ts +0 -36
  1080. package/dist/types/components/RadioGroup/RadioButtonGroupInput/index.d.ts +0 -1
  1081. package/dist/types/components/RadioGroup/RadioGroup.d.ts +0 -66
  1082. package/dist/types/components/RadioGroup/context.d.ts +0 -14
  1083. package/dist/types/components/RadioGroup/index.d.ts +0 -2
  1084. package/dist/types/components/Rule/Rule.d.ts +0 -8
  1085. package/dist/types/components/Rule/index.d.ts +0 -1
  1086. package/dist/types/components/ScrollToTop/ScrollToTop.d.ts +0 -24
  1087. package/dist/types/components/ScrollToTop/index.d.ts +0 -1
  1088. package/dist/types/components/Section/Section.d.ts +0 -20
  1089. package/dist/types/components/Section/index.d.ts +0 -1
  1090. package/dist/types/components/Select/Select.d.ts +0 -77
  1091. package/dist/types/components/Select/index.d.ts +0 -1
  1092. package/dist/types/components/SiteFooter/SiteFooter.d.ts +0 -57
  1093. package/dist/types/components/SiteFooter/index.d.ts +0 -1
  1094. package/dist/types/components/SiteHeaderV2/SiteHeaderV2.d.ts +0 -82
  1095. package/dist/types/components/SiteHeaderV2/components/BackButton/BackButton.d.ts +0 -6
  1096. package/dist/types/components/SiteHeaderV2/components/BackButton/index.d.ts +0 -1
  1097. package/dist/types/components/SiteHeaderV2/components/Column/Column.d.ts +0 -8
  1098. package/dist/types/components/SiteHeaderV2/components/Column/index.d.ts +0 -1
  1099. package/dist/types/components/SiteHeaderV2/components/HorizontalPanel/HorizontalPanel.d.ts +0 -13
  1100. package/dist/types/components/SiteHeaderV2/components/HorizontalPanel/index.d.ts +0 -1
  1101. package/dist/types/components/SiteHeaderV2/components/Item/Item.d.ts +0 -20
  1102. package/dist/types/components/SiteHeaderV2/components/Item/index.d.ts +0 -1
  1103. package/dist/types/components/SiteHeaderV2/components/ItemGroup/ItemGroup.d.ts +0 -27
  1104. package/dist/types/components/SiteHeaderV2/components/ItemGroup/index.d.ts +0 -1
  1105. package/dist/types/components/SiteHeaderV2/components/MenuButton/MenuButton.d.ts +0 -6
  1106. package/dist/types/components/SiteHeaderV2/components/MenuButton/index.d.ts +0 -1
  1107. package/dist/types/components/SiteHeaderV2/components/NavItem/NavItem.d.ts +0 -41
  1108. package/dist/types/components/SiteHeaderV2/components/NavItem/NavItemWithSubNav.d.ts +0 -56
  1109. package/dist/types/components/SiteHeaderV2/components/NavItem/index.d.ts +0 -2
  1110. package/dist/types/components/SiteHeaderV2/components/NodeItem/NodeItem.d.ts +0 -8
  1111. package/dist/types/components/SiteHeaderV2/components/Panel/Panel.d.ts +0 -28
  1112. package/dist/types/components/SiteHeaderV2/components/Panel/index.d.ts +0 -1
  1113. package/dist/types/components/SiteHeaderV2/components/SubNavItem/SubNavItem.d.ts +0 -45
  1114. package/dist/types/components/SiteHeaderV2/components/SubNavItem/index.d.ts +0 -1
  1115. package/dist/types/components/SiteHeaderV2/components/VerticalDivider/VerticalDivider.d.ts +0 -2
  1116. package/dist/types/components/SiteHeaderV2/components/VerticalDivider/index.d.ts +0 -1
  1117. package/dist/types/components/SiteHeaderV2/index.d.ts +0 -1
  1118. package/dist/types/components/SkipLink/SkipLink.d.ts +0 -12
  1119. package/dist/types/components/SkipLink/SkipLinkItem/SkipLinkItem.d.ts +0 -16
  1120. package/dist/types/components/SkipLink/index.d.ts +0 -1
  1121. package/dist/types/components/Spinner/Spinner.d.ts +0 -16
  1122. package/dist/types/components/Spinner/index.d.ts +0 -1
  1123. package/dist/types/components/Surface/Surface.d.ts +0 -53
  1124. package/dist/types/components/Surface/index.d.ts +0 -1
  1125. package/dist/types/components/Switch/Switch.d.ts +0 -43
  1126. package/dist/types/components/Switch/index.d.ts +0 -1
  1127. package/dist/types/components/Tabs/Tab/Tab.d.ts +0 -22
  1128. package/dist/types/components/Tabs/Tab/index.d.ts +0 -1
  1129. package/dist/types/components/Tabs/TabContent/TabContent.d.ts +0 -12
  1130. package/dist/types/components/Tabs/TabContent/index.d.ts +0 -1
  1131. package/dist/types/components/Tabs/Tabs.d.ts +0 -28
  1132. package/dist/types/components/Tabs/TabsList/TabsList.d.ts +0 -20
  1133. package/dist/types/components/Tabs/TabsList/index.d.ts +0 -1
  1134. package/dist/types/components/Tabs/index.d.ts +0 -1
  1135. package/dist/types/components/Tag/Tag.d.ts +0 -36
  1136. package/dist/types/components/Tag/index.d.ts +0 -1
  1137. package/dist/types/components/Text/Text.d.ts +0 -37
  1138. package/dist/types/components/Text/index.d.ts +0 -1
  1139. package/dist/types/components/TextArea/TextArea.d.ts +0 -80
  1140. package/dist/types/components/TextArea/index.d.ts +0 -1
  1141. package/dist/types/components/TextInput/TextInput.d.ts +0 -119
  1142. package/dist/types/components/TextInput/index.d.ts +0 -1
  1143. package/dist/types/components/Theme/Theme.d.ts +0 -21
  1144. package/dist/types/components/Theme/index.d.ts +0 -1
  1145. package/dist/types/components/ThemeIcon/ThemeIcon.d.ts +0 -18
  1146. package/dist/types/components/ThemeIcon/icon-names.d.ts +0 -1
  1147. package/dist/types/components/ThemeIcon/index.d.ts +0 -1
  1148. package/dist/types/components/Toast/Toast.d.ts +0 -17
  1149. package/dist/types/components/Toast/ToastNotification.d.ts +0 -39
  1150. package/dist/types/components/Toast/index.d.ts +0 -1
  1151. package/dist/types/components/Truncate/Truncate.d.ts +0 -17
  1152. package/dist/types/components/Truncate/index.d.ts +0 -1
  1153. package/dist/types/components/TypographyCard/TypographyCard.d.ts +0 -58
  1154. package/dist/types/components/TypographyCard/index.d.ts +0 -1
  1155. package/dist/types/components/UniversalHeader/UniversalHeader.d.ts +0 -29
  1156. package/dist/types/components/UniversalHeader/index.d.ts +0 -1
  1157. package/dist/types/components/VerticalSpace/VerticalSpace.d.ts +0 -33
  1158. package/dist/types/components/VerticalSpace/index.d.ts +0 -1
  1159. package/dist/types/components/VideoPlayer/VideoPlayer.d.ts +0 -18
  1160. package/dist/types/components/VideoPlayer/index.d.ts +0 -1
  1161. package/dist/types/components/Visible/Visible.d.ts +0 -11
  1162. package/dist/types/components/Visible/index.d.ts +0 -1
  1163. package/dist/types/components/VisuallyHidden/VisuallyHidden.d.ts +0 -11
  1164. package/dist/types/components/VisuallyHidden/index.d.ts +0 -1
  1165. package/dist/types/components/index.d.ts +0 -64
  1166. package/dist/types/helpers/anchor-points.d.ts +0 -1
  1167. package/dist/types/helpers/get-theme-img.d.ts +0 -6
  1168. package/dist/types/helpers/handle-link-click.d.ts +0 -7
  1169. package/dist/types/helpers/index.d.ts +0 -2
  1170. package/dist/types/hooks/__tests__/use-aria-describedby.test.d.ts +0 -1
  1171. package/dist/types/hooks/__tests__/use-numeric-input.test.d.ts +0 -1
  1172. package/dist/types/hooks/index.d.ts +0 -2
  1173. package/dist/types/hooks/private/index.d.ts +0 -5
  1174. package/dist/types/hooks/private/use-aria-describedby/index.d.ts +0 -1
  1175. package/dist/types/hooks/private/use-aria-describedby/use-aria-describedby.d.ts +0 -22
  1176. package/dist/types/hooks/private/use-interaction-mode/index.d.ts +0 -1
  1177. package/dist/types/hooks/private/use-interaction-mode/use-interaction-mode.d.ts +0 -6
  1178. package/dist/types/hooks/private/use-numeric-input/index.d.ts +0 -1
  1179. package/dist/types/hooks/private/use-numeric-input/use-numeric-input.d.ts +0 -9
  1180. package/dist/types/hooks/private/use-pagination/index.d.ts +0 -1
  1181. package/dist/types/hooks/private/use-pagination/use-pagination.d.ts +0 -1
  1182. package/dist/types/hooks/private/use-theme-element/index.d.ts +0 -1
  1183. package/dist/types/hooks/public/index.d.ts +0 -1
  1184. package/dist/types/hooks/public/use-media-query/index.d.ts +0 -1
  1185. package/dist/types/hooks/public/use-media-query/use-media-query.d.ts +0 -19
  1186. package/dist/types/index.d.ts +0 -2
  1187. package/dist/types/styles.d.ts +0 -72
  1188. package/dist/types/types/arc-icon.d.ts +0 -2
  1189. package/dist/types/types/auto-complete-types.d.ts +0 -1
  1190. package/dist/use-media-query/package.json +0 -7
  1191. package/dist/use-media-query/use-media-query.cjs.js +0 -10
  1192. package/dist/use-media-query/use-media-query.esm.js +0 -2
  1193. /package/{dist/_shared/cjs/handle-link-click-17a44cf4.js → lib/_shared/cjs/handle-link-click-C7BvOIYa.cjs} +0 -0
  1194. /package/{dist/_shared/esm/handle-link-click-f64f55a2.js → lib/_shared/esm/handle-link-click-CIgZ7pa0.mjs} +0 -0
@@ -0,0 +1,2188 @@
1
+ function toInteger(dirtyNumber) {
2
+ if (dirtyNumber === null || dirtyNumber === true || dirtyNumber === false) {
3
+ return NaN;
4
+ }
5
+ var number = Number(dirtyNumber);
6
+ if (isNaN(number)) {
7
+ return number;
8
+ }
9
+ return number < 0 ? Math.ceil(number) : Math.floor(number);
10
+ }
11
+
12
+ function _typeof(o) {
13
+ "@babel/helpers - typeof";
14
+
15
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
16
+ return typeof o;
17
+ } : function (o) {
18
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
19
+ }, _typeof(o);
20
+ }
21
+
22
+ function requiredArgs(required, args) {
23
+ if (args.length < required) {
24
+ throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');
25
+ }
26
+ }
27
+
28
+ /**
29
+ * @name toDate
30
+ * @category Common Helpers
31
+ * @summary Convert the given argument to an instance of Date.
32
+ *
33
+ * @description
34
+ * Convert the given argument to an instance of Date.
35
+ *
36
+ * If the argument is an instance of Date, the function returns its clone.
37
+ *
38
+ * If the argument is a number, it is treated as a timestamp.
39
+ *
40
+ * If the argument is none of the above, the function returns Invalid Date.
41
+ *
42
+ * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.
43
+ *
44
+ * @param {Date|Number} argument - the value to convert
45
+ * @returns {Date} the parsed date in the local time zone
46
+ * @throws {TypeError} 1 argument required
47
+ *
48
+ * @example
49
+ * // Clone the date:
50
+ * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))
51
+ * //=> Tue Feb 11 2014 11:30:30
52
+ *
53
+ * @example
54
+ * // Convert the timestamp to date:
55
+ * const result = toDate(1392098430000)
56
+ * //=> Tue Feb 11 2014 11:30:30
57
+ */
58
+ function toDate(argument) {
59
+ requiredArgs(1, arguments);
60
+ var argStr = Object.prototype.toString.call(argument);
61
+
62
+ // Clone the date
63
+ if (argument instanceof Date || _typeof(argument) === 'object' && argStr === '[object Date]') {
64
+ // Prevent the date to lose the milliseconds when passed to new Date() in IE10
65
+ return new Date(argument.getTime());
66
+ } else if (typeof argument === 'number' || argStr === '[object Number]') {
67
+ return new Date(argument);
68
+ } else {
69
+ if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {
70
+ // eslint-disable-next-line no-console
71
+ console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments");
72
+ // eslint-disable-next-line no-console
73
+ console.warn(new Error().stack);
74
+ }
75
+ return new Date(NaN);
76
+ }
77
+ }
78
+
79
+ var defaultOptions = {};
80
+ function getDefaultOptions() {
81
+ return defaultOptions;
82
+ }
83
+
84
+ /**
85
+ * @name isDate
86
+ * @category Common Helpers
87
+ * @summary Is the given value a date?
88
+ *
89
+ * @description
90
+ * Returns true if the given value is an instance of Date. The function works for dates transferred across iframes.
91
+ *
92
+ * @param {*} value - the value to check
93
+ * @returns {boolean} true if the given value is a date
94
+ * @throws {TypeError} 1 arguments required
95
+ *
96
+ * @example
97
+ * // For a valid date:
98
+ * const result = isDate(new Date())
99
+ * //=> true
100
+ *
101
+ * @example
102
+ * // For an invalid date:
103
+ * const result = isDate(new Date(NaN))
104
+ * //=> true
105
+ *
106
+ * @example
107
+ * // For some value:
108
+ * const result = isDate('2014-02-31')
109
+ * //=> false
110
+ *
111
+ * @example
112
+ * // For an object:
113
+ * const result = isDate({})
114
+ * //=> false
115
+ */
116
+ function isDate(value) {
117
+ requiredArgs(1, arguments);
118
+ return value instanceof Date || _typeof(value) === 'object' && Object.prototype.toString.call(value) === '[object Date]';
119
+ }
120
+
121
+ /**
122
+ * @name isValid
123
+ * @category Common Helpers
124
+ * @summary Is the given date valid?
125
+ *
126
+ * @description
127
+ * Returns false if argument is Invalid Date and true otherwise.
128
+ * Argument is converted to Date using `toDate`. See [toDate]{@link https://date-fns.org/docs/toDate}
129
+ * Invalid Date is a Date, whose time value is NaN.
130
+ *
131
+ * Time value of Date: http://es5.github.io/#x15.9.1.1
132
+ *
133
+ * @param {*} date - the date to check
134
+ * @returns {Boolean} the date is valid
135
+ * @throws {TypeError} 1 argument required
136
+ *
137
+ * @example
138
+ * // For the valid date:
139
+ * const result = isValid(new Date(2014, 1, 31))
140
+ * //=> true
141
+ *
142
+ * @example
143
+ * // For the value, convertable into a date:
144
+ * const result = isValid(1393804800000)
145
+ * //=> true
146
+ *
147
+ * @example
148
+ * // For the invalid date:
149
+ * const result = isValid(new Date(''))
150
+ * //=> false
151
+ */
152
+ function isValid(dirtyDate) {
153
+ requiredArgs(1, arguments);
154
+ if (!isDate(dirtyDate) && typeof dirtyDate !== 'number') {
155
+ return false;
156
+ }
157
+ var date = toDate(dirtyDate);
158
+ return !isNaN(Number(date));
159
+ }
160
+
161
+ /**
162
+ * @name addMilliseconds
163
+ * @category Millisecond Helpers
164
+ * @summary Add the specified number of milliseconds to the given date.
165
+ *
166
+ * @description
167
+ * Add the specified number of milliseconds to the given date.
168
+ *
169
+ * @param {Date|Number} date - the date to be changed
170
+ * @param {Number} amount - the amount of milliseconds to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.
171
+ * @returns {Date} the new date with the milliseconds added
172
+ * @throws {TypeError} 2 arguments required
173
+ *
174
+ * @example
175
+ * // Add 750 milliseconds to 10 July 2014 12:45:30.000:
176
+ * const result = addMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)
177
+ * //=> Thu Jul 10 2014 12:45:30.750
178
+ */
179
+ function addMilliseconds(dirtyDate, dirtyAmount) {
180
+ requiredArgs(2, arguments);
181
+ var timestamp = toDate(dirtyDate).getTime();
182
+ var amount = toInteger(dirtyAmount);
183
+ return new Date(timestamp + amount);
184
+ }
185
+
186
+ /**
187
+ * @name subMilliseconds
188
+ * @category Millisecond Helpers
189
+ * @summary Subtract the specified number of milliseconds from the given date.
190
+ *
191
+ * @description
192
+ * Subtract the specified number of milliseconds from the given date.
193
+ *
194
+ * @param {Date|Number} date - the date to be changed
195
+ * @param {Number} amount - the amount of milliseconds to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.
196
+ * @returns {Date} the new date with the milliseconds subtracted
197
+ * @throws {TypeError} 2 arguments required
198
+ *
199
+ * @example
200
+ * // Subtract 750 milliseconds from 10 July 2014 12:45:30.000:
201
+ * const result = subMilliseconds(new Date(2014, 6, 10, 12, 45, 30, 0), 750)
202
+ * //=> Thu Jul 10 2014 12:45:29.250
203
+ */
204
+ function subMilliseconds(dirtyDate, dirtyAmount) {
205
+ requiredArgs(2, arguments);
206
+ var amount = toInteger(dirtyAmount);
207
+ return addMilliseconds(dirtyDate, -amount);
208
+ }
209
+
210
+ var MILLISECONDS_IN_DAY = 86400000;
211
+ function getUTCDayOfYear(dirtyDate) {
212
+ requiredArgs(1, arguments);
213
+ var date = toDate(dirtyDate);
214
+ var timestamp = date.getTime();
215
+ date.setUTCMonth(0, 1);
216
+ date.setUTCHours(0, 0, 0, 0);
217
+ var startOfYearTimestamp = date.getTime();
218
+ var difference = timestamp - startOfYearTimestamp;
219
+ return Math.floor(difference / MILLISECONDS_IN_DAY) + 1;
220
+ }
221
+
222
+ function startOfUTCISOWeek(dirtyDate) {
223
+ requiredArgs(1, arguments);
224
+ var weekStartsOn = 1;
225
+ var date = toDate(dirtyDate);
226
+ var day = date.getUTCDay();
227
+ var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
228
+ date.setUTCDate(date.getUTCDate() - diff);
229
+ date.setUTCHours(0, 0, 0, 0);
230
+ return date;
231
+ }
232
+
233
+ function getUTCISOWeekYear(dirtyDate) {
234
+ requiredArgs(1, arguments);
235
+ var date = toDate(dirtyDate);
236
+ var year = date.getUTCFullYear();
237
+ var fourthOfJanuaryOfNextYear = new Date(0);
238
+ fourthOfJanuaryOfNextYear.setUTCFullYear(year + 1, 0, 4);
239
+ fourthOfJanuaryOfNextYear.setUTCHours(0, 0, 0, 0);
240
+ var startOfNextYear = startOfUTCISOWeek(fourthOfJanuaryOfNextYear);
241
+ var fourthOfJanuaryOfThisYear = new Date(0);
242
+ fourthOfJanuaryOfThisYear.setUTCFullYear(year, 0, 4);
243
+ fourthOfJanuaryOfThisYear.setUTCHours(0, 0, 0, 0);
244
+ var startOfThisYear = startOfUTCISOWeek(fourthOfJanuaryOfThisYear);
245
+ if (date.getTime() >= startOfNextYear.getTime()) {
246
+ return year + 1;
247
+ } else if (date.getTime() >= startOfThisYear.getTime()) {
248
+ return year;
249
+ } else {
250
+ return year - 1;
251
+ }
252
+ }
253
+
254
+ function startOfUTCISOWeekYear(dirtyDate) {
255
+ requiredArgs(1, arguments);
256
+ var year = getUTCISOWeekYear(dirtyDate);
257
+ var fourthOfJanuary = new Date(0);
258
+ fourthOfJanuary.setUTCFullYear(year, 0, 4);
259
+ fourthOfJanuary.setUTCHours(0, 0, 0, 0);
260
+ var date = startOfUTCISOWeek(fourthOfJanuary);
261
+ return date;
262
+ }
263
+
264
+ var MILLISECONDS_IN_WEEK$1 = 604800000;
265
+ function getUTCISOWeek(dirtyDate) {
266
+ requiredArgs(1, arguments);
267
+ var date = toDate(dirtyDate);
268
+ var diff = startOfUTCISOWeek(date).getTime() - startOfUTCISOWeekYear(date).getTime();
269
+
270
+ // Round the number of days to the nearest integer
271
+ // because the number of milliseconds in a week is not constant
272
+ // (e.g. it's different in the week of the daylight saving time clock shift)
273
+ return Math.round(diff / MILLISECONDS_IN_WEEK$1) + 1;
274
+ }
275
+
276
+ function startOfUTCWeek(dirtyDate, options) {
277
+ var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;
278
+ requiredArgs(1, arguments);
279
+ var defaultOptions = getDefaultOptions();
280
+ var weekStartsOn = toInteger((_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0);
281
+
282
+ // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
283
+ if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
284
+ throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
285
+ }
286
+ var date = toDate(dirtyDate);
287
+ var day = date.getUTCDay();
288
+ var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
289
+ date.setUTCDate(date.getUTCDate() - diff);
290
+ date.setUTCHours(0, 0, 0, 0);
291
+ return date;
292
+ }
293
+
294
+ function getUTCWeekYear(dirtyDate, options) {
295
+ var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;
296
+ requiredArgs(1, arguments);
297
+ var date = toDate(dirtyDate);
298
+ var year = date.getUTCFullYear();
299
+ var defaultOptions = getDefaultOptions();
300
+ var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1);
301
+
302
+ // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
303
+ if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
304
+ throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');
305
+ }
306
+ var firstWeekOfNextYear = new Date(0);
307
+ firstWeekOfNextYear.setUTCFullYear(year + 1, 0, firstWeekContainsDate);
308
+ firstWeekOfNextYear.setUTCHours(0, 0, 0, 0);
309
+ var startOfNextYear = startOfUTCWeek(firstWeekOfNextYear, options);
310
+ var firstWeekOfThisYear = new Date(0);
311
+ firstWeekOfThisYear.setUTCFullYear(year, 0, firstWeekContainsDate);
312
+ firstWeekOfThisYear.setUTCHours(0, 0, 0, 0);
313
+ var startOfThisYear = startOfUTCWeek(firstWeekOfThisYear, options);
314
+ if (date.getTime() >= startOfNextYear.getTime()) {
315
+ return year + 1;
316
+ } else if (date.getTime() >= startOfThisYear.getTime()) {
317
+ return year;
318
+ } else {
319
+ return year - 1;
320
+ }
321
+ }
322
+
323
+ function startOfUTCWeekYear(dirtyDate, options) {
324
+ var _ref, _ref2, _ref3, _options$firstWeekCon, _options$locale, _options$locale$optio, _defaultOptions$local, _defaultOptions$local2;
325
+ requiredArgs(1, arguments);
326
+ var defaultOptions = getDefaultOptions();
327
+ var firstWeekContainsDate = toInteger((_ref = (_ref2 = (_ref3 = (_options$firstWeekCon = options === null || options === void 0 ? void 0 : options.firstWeekContainsDate) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : options === null || options === void 0 ? void 0 : (_options$locale = options.locale) === null || _options$locale === void 0 ? void 0 : (_options$locale$optio = _options$locale.options) === null || _options$locale$optio === void 0 ? void 0 : _options$locale$optio.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref !== void 0 ? _ref : 1);
328
+ var year = getUTCWeekYear(dirtyDate, options);
329
+ var firstWeek = new Date(0);
330
+ firstWeek.setUTCFullYear(year, 0, firstWeekContainsDate);
331
+ firstWeek.setUTCHours(0, 0, 0, 0);
332
+ var date = startOfUTCWeek(firstWeek, options);
333
+ return date;
334
+ }
335
+
336
+ var MILLISECONDS_IN_WEEK = 604800000;
337
+ function getUTCWeek(dirtyDate, options) {
338
+ requiredArgs(1, arguments);
339
+ var date = toDate(dirtyDate);
340
+ var diff = startOfUTCWeek(date, options).getTime() - startOfUTCWeekYear(date, options).getTime();
341
+
342
+ // Round the number of days to the nearest integer
343
+ // because the number of milliseconds in a week is not constant
344
+ // (e.g. it's different in the week of the daylight saving time clock shift)
345
+ return Math.round(diff / MILLISECONDS_IN_WEEK) + 1;
346
+ }
347
+
348
+ function addLeadingZeros(number, targetLength) {
349
+ var sign = number < 0 ? '-' : '';
350
+ var output = Math.abs(number).toString();
351
+ while (output.length < targetLength) {
352
+ output = '0' + output;
353
+ }
354
+ return sign + output;
355
+ }
356
+
357
+ /*
358
+ * | | Unit | | Unit |
359
+ * |-----|--------------------------------|-----|--------------------------------|
360
+ * | a | AM, PM | A* | |
361
+ * | d | Day of month | D | |
362
+ * | h | Hour [1-12] | H | Hour [0-23] |
363
+ * | m | Minute | M | Month |
364
+ * | s | Second | S | Fraction of second |
365
+ * | y | Year (abs) | Y | |
366
+ *
367
+ * Letters marked by * are not implemented but reserved by Unicode standard.
368
+ */
369
+ var formatters$1 = {
370
+ // Year
371
+ y: function y(date, token) {
372
+ // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_tokens
373
+ // | Year | y | yy | yyy | yyyy | yyyyy |
374
+ // |----------|-------|----|-------|-------|-------|
375
+ // | AD 1 | 1 | 01 | 001 | 0001 | 00001 |
376
+ // | AD 12 | 12 | 12 | 012 | 0012 | 00012 |
377
+ // | AD 123 | 123 | 23 | 123 | 0123 | 00123 |
378
+ // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |
379
+ // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
380
+
381
+ var signedYear = date.getUTCFullYear();
382
+ // Returns 1 for 1 BC (which is year 0 in JavaScript)
383
+ var year = signedYear > 0 ? signedYear : 1 - signedYear;
384
+ return addLeadingZeros(token === 'yy' ? year % 100 : year, token.length);
385
+ },
386
+ // Month
387
+ M: function M(date, token) {
388
+ var month = date.getUTCMonth();
389
+ return token === 'M' ? String(month + 1) : addLeadingZeros(month + 1, 2);
390
+ },
391
+ // Day of the month
392
+ d: function d(date, token) {
393
+ return addLeadingZeros(date.getUTCDate(), token.length);
394
+ },
395
+ // AM or PM
396
+ a: function a(date, token) {
397
+ var dayPeriodEnumValue = date.getUTCHours() / 12 >= 1 ? 'pm' : 'am';
398
+ switch (token) {
399
+ case 'a':
400
+ case 'aa':
401
+ return dayPeriodEnumValue.toUpperCase();
402
+ case 'aaa':
403
+ return dayPeriodEnumValue;
404
+ case 'aaaaa':
405
+ return dayPeriodEnumValue[0];
406
+ case 'aaaa':
407
+ default:
408
+ return dayPeriodEnumValue === 'am' ? 'a.m.' : 'p.m.';
409
+ }
410
+ },
411
+ // Hour [1-12]
412
+ h: function h(date, token) {
413
+ return addLeadingZeros(date.getUTCHours() % 12 || 12, token.length);
414
+ },
415
+ // Hour [0-23]
416
+ H: function H(date, token) {
417
+ return addLeadingZeros(date.getUTCHours(), token.length);
418
+ },
419
+ // Minute
420
+ m: function m(date, token) {
421
+ return addLeadingZeros(date.getUTCMinutes(), token.length);
422
+ },
423
+ // Second
424
+ s: function s(date, token) {
425
+ return addLeadingZeros(date.getUTCSeconds(), token.length);
426
+ },
427
+ // Fraction of second
428
+ S: function S(date, token) {
429
+ var numberOfDigits = token.length;
430
+ var milliseconds = date.getUTCMilliseconds();
431
+ var fractionalSeconds = Math.floor(milliseconds * Math.pow(10, numberOfDigits - 3));
432
+ return addLeadingZeros(fractionalSeconds, token.length);
433
+ }
434
+ };
435
+
436
+ var dayPeriodEnum = {
437
+ am: 'am',
438
+ pm: 'pm',
439
+ midnight: 'midnight',
440
+ noon: 'noon',
441
+ morning: 'morning',
442
+ afternoon: 'afternoon',
443
+ evening: 'evening',
444
+ night: 'night'
445
+ };
446
+ /*
447
+ * | | Unit | | Unit |
448
+ * |-----|--------------------------------|-----|--------------------------------|
449
+ * | a | AM, PM | A* | Milliseconds in day |
450
+ * | b | AM, PM, noon, midnight | B | Flexible day period |
451
+ * | c | Stand-alone local day of week | C* | Localized hour w/ day period |
452
+ * | d | Day of month | D | Day of year |
453
+ * | e | Local day of week | E | Day of week |
454
+ * | f | | F* | Day of week in month |
455
+ * | g* | Modified Julian day | G | Era |
456
+ * | h | Hour [1-12] | H | Hour [0-23] |
457
+ * | i! | ISO day of week | I! | ISO week of year |
458
+ * | j* | Localized hour w/ day period | J* | Localized hour w/o day period |
459
+ * | k | Hour [1-24] | K | Hour [0-11] |
460
+ * | l* | (deprecated) | L | Stand-alone month |
461
+ * | m | Minute | M | Month |
462
+ * | n | | N | |
463
+ * | o! | Ordinal number modifier | O | Timezone (GMT) |
464
+ * | p! | Long localized time | P! | Long localized date |
465
+ * | q | Stand-alone quarter | Q | Quarter |
466
+ * | r* | Related Gregorian year | R! | ISO week-numbering year |
467
+ * | s | Second | S | Fraction of second |
468
+ * | t! | Seconds timestamp | T! | Milliseconds timestamp |
469
+ * | u | Extended year | U* | Cyclic year |
470
+ * | v* | Timezone (generic non-locat.) | V* | Timezone (location) |
471
+ * | w | Local week of year | W* | Week of month |
472
+ * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |
473
+ * | y | Year (abs) | Y | Local week-numbering year |
474
+ * | z | Timezone (specific non-locat.) | Z* | Timezone (aliases) |
475
+ *
476
+ * Letters marked by * are not implemented but reserved by Unicode standard.
477
+ *
478
+ * Letters marked by ! are non-standard, but implemented by date-fns:
479
+ * - `o` modifies the previous token to turn it into an ordinal (see `format` docs)
480
+ * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,
481
+ * i.e. 7 for Sunday, 1 for Monday, etc.
482
+ * - `I` is ISO week of year, as opposed to `w` which is local week of year.
483
+ * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.
484
+ * `R` is supposed to be used in conjunction with `I` and `i`
485
+ * for universal ISO week-numbering date, whereas
486
+ * `Y` is supposed to be used in conjunction with `w` and `e`
487
+ * for week-numbering date specific to the locale.
488
+ * - `P` is long localized date format
489
+ * - `p` is long localized time format
490
+ */
491
+
492
+ var formatters = {
493
+ // Era
494
+ G: function G(date, token, localize) {
495
+ var era = date.getUTCFullYear() > 0 ? 1 : 0;
496
+ switch (token) {
497
+ // AD, BC
498
+ case 'G':
499
+ case 'GG':
500
+ case 'GGG':
501
+ return localize.era(era, {
502
+ width: 'abbreviated'
503
+ });
504
+ // A, B
505
+ case 'GGGGG':
506
+ return localize.era(era, {
507
+ width: 'narrow'
508
+ });
509
+ // Anno Domini, Before Christ
510
+ case 'GGGG':
511
+ default:
512
+ return localize.era(era, {
513
+ width: 'wide'
514
+ });
515
+ }
516
+ },
517
+ // Year
518
+ y: function y(date, token, localize) {
519
+ // Ordinal number
520
+ if (token === 'yo') {
521
+ var signedYear = date.getUTCFullYear();
522
+ // Returns 1 for 1 BC (which is year 0 in JavaScript)
523
+ var year = signedYear > 0 ? signedYear : 1 - signedYear;
524
+ return localize.ordinalNumber(year, {
525
+ unit: 'year'
526
+ });
527
+ }
528
+ return formatters$1.y(date, token);
529
+ },
530
+ // Local week-numbering year
531
+ Y: function Y(date, token, localize, options) {
532
+ var signedWeekYear = getUTCWeekYear(date, options);
533
+ // Returns 1 for 1 BC (which is year 0 in JavaScript)
534
+ var weekYear = signedWeekYear > 0 ? signedWeekYear : 1 - signedWeekYear;
535
+
536
+ // Two digit year
537
+ if (token === 'YY') {
538
+ var twoDigitYear = weekYear % 100;
539
+ return addLeadingZeros(twoDigitYear, 2);
540
+ }
541
+
542
+ // Ordinal number
543
+ if (token === 'Yo') {
544
+ return localize.ordinalNumber(weekYear, {
545
+ unit: 'year'
546
+ });
547
+ }
548
+
549
+ // Padding
550
+ return addLeadingZeros(weekYear, token.length);
551
+ },
552
+ // ISO week-numbering year
553
+ R: function R(date, token) {
554
+ var isoWeekYear = getUTCISOWeekYear(date);
555
+
556
+ // Padding
557
+ return addLeadingZeros(isoWeekYear, token.length);
558
+ },
559
+ // Extended year. This is a single number designating the year of this calendar system.
560
+ // The main difference between `y` and `u` localizers are B.C. years:
561
+ // | Year | `y` | `u` |
562
+ // |------|-----|-----|
563
+ // | AC 1 | 1 | 1 |
564
+ // | BC 1 | 1 | 0 |
565
+ // | BC 2 | 2 | -1 |
566
+ // Also `yy` always returns the last two digits of a year,
567
+ // while `uu` pads single digit years to 2 characters and returns other years unchanged.
568
+ u: function u(date, token) {
569
+ var year = date.getUTCFullYear();
570
+ return addLeadingZeros(year, token.length);
571
+ },
572
+ // Quarter
573
+ Q: function Q(date, token, localize) {
574
+ var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);
575
+ switch (token) {
576
+ // 1, 2, 3, 4
577
+ case 'Q':
578
+ return String(quarter);
579
+ // 01, 02, 03, 04
580
+ case 'QQ':
581
+ return addLeadingZeros(quarter, 2);
582
+ // 1st, 2nd, 3rd, 4th
583
+ case 'Qo':
584
+ return localize.ordinalNumber(quarter, {
585
+ unit: 'quarter'
586
+ });
587
+ // Q1, Q2, Q3, Q4
588
+ case 'QQQ':
589
+ return localize.quarter(quarter, {
590
+ width: 'abbreviated',
591
+ context: 'formatting'
592
+ });
593
+ // 1, 2, 3, 4 (narrow quarter; could be not numerical)
594
+ case 'QQQQQ':
595
+ return localize.quarter(quarter, {
596
+ width: 'narrow',
597
+ context: 'formatting'
598
+ });
599
+ // 1st quarter, 2nd quarter, ...
600
+ case 'QQQQ':
601
+ default:
602
+ return localize.quarter(quarter, {
603
+ width: 'wide',
604
+ context: 'formatting'
605
+ });
606
+ }
607
+ },
608
+ // Stand-alone quarter
609
+ q: function q(date, token, localize) {
610
+ var quarter = Math.ceil((date.getUTCMonth() + 1) / 3);
611
+ switch (token) {
612
+ // 1, 2, 3, 4
613
+ case 'q':
614
+ return String(quarter);
615
+ // 01, 02, 03, 04
616
+ case 'qq':
617
+ return addLeadingZeros(quarter, 2);
618
+ // 1st, 2nd, 3rd, 4th
619
+ case 'qo':
620
+ return localize.ordinalNumber(quarter, {
621
+ unit: 'quarter'
622
+ });
623
+ // Q1, Q2, Q3, Q4
624
+ case 'qqq':
625
+ return localize.quarter(quarter, {
626
+ width: 'abbreviated',
627
+ context: 'standalone'
628
+ });
629
+ // 1, 2, 3, 4 (narrow quarter; could be not numerical)
630
+ case 'qqqqq':
631
+ return localize.quarter(quarter, {
632
+ width: 'narrow',
633
+ context: 'standalone'
634
+ });
635
+ // 1st quarter, 2nd quarter, ...
636
+ case 'qqqq':
637
+ default:
638
+ return localize.quarter(quarter, {
639
+ width: 'wide',
640
+ context: 'standalone'
641
+ });
642
+ }
643
+ },
644
+ // Month
645
+ M: function M(date, token, localize) {
646
+ var month = date.getUTCMonth();
647
+ switch (token) {
648
+ case 'M':
649
+ case 'MM':
650
+ return formatters$1.M(date, token);
651
+ // 1st, 2nd, ..., 12th
652
+ case 'Mo':
653
+ return localize.ordinalNumber(month + 1, {
654
+ unit: 'month'
655
+ });
656
+ // Jan, Feb, ..., Dec
657
+ case 'MMM':
658
+ return localize.month(month, {
659
+ width: 'abbreviated',
660
+ context: 'formatting'
661
+ });
662
+ // J, F, ..., D
663
+ case 'MMMMM':
664
+ return localize.month(month, {
665
+ width: 'narrow',
666
+ context: 'formatting'
667
+ });
668
+ // January, February, ..., December
669
+ case 'MMMM':
670
+ default:
671
+ return localize.month(month, {
672
+ width: 'wide',
673
+ context: 'formatting'
674
+ });
675
+ }
676
+ },
677
+ // Stand-alone month
678
+ L: function L(date, token, localize) {
679
+ var month = date.getUTCMonth();
680
+ switch (token) {
681
+ // 1, 2, ..., 12
682
+ case 'L':
683
+ return String(month + 1);
684
+ // 01, 02, ..., 12
685
+ case 'LL':
686
+ return addLeadingZeros(month + 1, 2);
687
+ // 1st, 2nd, ..., 12th
688
+ case 'Lo':
689
+ return localize.ordinalNumber(month + 1, {
690
+ unit: 'month'
691
+ });
692
+ // Jan, Feb, ..., Dec
693
+ case 'LLL':
694
+ return localize.month(month, {
695
+ width: 'abbreviated',
696
+ context: 'standalone'
697
+ });
698
+ // J, F, ..., D
699
+ case 'LLLLL':
700
+ return localize.month(month, {
701
+ width: 'narrow',
702
+ context: 'standalone'
703
+ });
704
+ // January, February, ..., December
705
+ case 'LLLL':
706
+ default:
707
+ return localize.month(month, {
708
+ width: 'wide',
709
+ context: 'standalone'
710
+ });
711
+ }
712
+ },
713
+ // Local week of year
714
+ w: function w(date, token, localize, options) {
715
+ var week = getUTCWeek(date, options);
716
+ if (token === 'wo') {
717
+ return localize.ordinalNumber(week, {
718
+ unit: 'week'
719
+ });
720
+ }
721
+ return addLeadingZeros(week, token.length);
722
+ },
723
+ // ISO week of year
724
+ I: function I(date, token, localize) {
725
+ var isoWeek = getUTCISOWeek(date);
726
+ if (token === 'Io') {
727
+ return localize.ordinalNumber(isoWeek, {
728
+ unit: 'week'
729
+ });
730
+ }
731
+ return addLeadingZeros(isoWeek, token.length);
732
+ },
733
+ // Day of the month
734
+ d: function d(date, token, localize) {
735
+ if (token === 'do') {
736
+ return localize.ordinalNumber(date.getUTCDate(), {
737
+ unit: 'date'
738
+ });
739
+ }
740
+ return formatters$1.d(date, token);
741
+ },
742
+ // Day of year
743
+ D: function D(date, token, localize) {
744
+ var dayOfYear = getUTCDayOfYear(date);
745
+ if (token === 'Do') {
746
+ return localize.ordinalNumber(dayOfYear, {
747
+ unit: 'dayOfYear'
748
+ });
749
+ }
750
+ return addLeadingZeros(dayOfYear, token.length);
751
+ },
752
+ // Day of week
753
+ E: function E(date, token, localize) {
754
+ var dayOfWeek = date.getUTCDay();
755
+ switch (token) {
756
+ // Tue
757
+ case 'E':
758
+ case 'EE':
759
+ case 'EEE':
760
+ return localize.day(dayOfWeek, {
761
+ width: 'abbreviated',
762
+ context: 'formatting'
763
+ });
764
+ // T
765
+ case 'EEEEE':
766
+ return localize.day(dayOfWeek, {
767
+ width: 'narrow',
768
+ context: 'formatting'
769
+ });
770
+ // Tu
771
+ case 'EEEEEE':
772
+ return localize.day(dayOfWeek, {
773
+ width: 'short',
774
+ context: 'formatting'
775
+ });
776
+ // Tuesday
777
+ case 'EEEE':
778
+ default:
779
+ return localize.day(dayOfWeek, {
780
+ width: 'wide',
781
+ context: 'formatting'
782
+ });
783
+ }
784
+ },
785
+ // Local day of week
786
+ e: function e(date, token, localize, options) {
787
+ var dayOfWeek = date.getUTCDay();
788
+ var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;
789
+ switch (token) {
790
+ // Numerical value (Nth day of week with current locale or weekStartsOn)
791
+ case 'e':
792
+ return String(localDayOfWeek);
793
+ // Padded numerical value
794
+ case 'ee':
795
+ return addLeadingZeros(localDayOfWeek, 2);
796
+ // 1st, 2nd, ..., 7th
797
+ case 'eo':
798
+ return localize.ordinalNumber(localDayOfWeek, {
799
+ unit: 'day'
800
+ });
801
+ case 'eee':
802
+ return localize.day(dayOfWeek, {
803
+ width: 'abbreviated',
804
+ context: 'formatting'
805
+ });
806
+ // T
807
+ case 'eeeee':
808
+ return localize.day(dayOfWeek, {
809
+ width: 'narrow',
810
+ context: 'formatting'
811
+ });
812
+ // Tu
813
+ case 'eeeeee':
814
+ return localize.day(dayOfWeek, {
815
+ width: 'short',
816
+ context: 'formatting'
817
+ });
818
+ // Tuesday
819
+ case 'eeee':
820
+ default:
821
+ return localize.day(dayOfWeek, {
822
+ width: 'wide',
823
+ context: 'formatting'
824
+ });
825
+ }
826
+ },
827
+ // Stand-alone local day of week
828
+ c: function c(date, token, localize, options) {
829
+ var dayOfWeek = date.getUTCDay();
830
+ var localDayOfWeek = (dayOfWeek - options.weekStartsOn + 8) % 7 || 7;
831
+ switch (token) {
832
+ // Numerical value (same as in `e`)
833
+ case 'c':
834
+ return String(localDayOfWeek);
835
+ // Padded numerical value
836
+ case 'cc':
837
+ return addLeadingZeros(localDayOfWeek, token.length);
838
+ // 1st, 2nd, ..., 7th
839
+ case 'co':
840
+ return localize.ordinalNumber(localDayOfWeek, {
841
+ unit: 'day'
842
+ });
843
+ case 'ccc':
844
+ return localize.day(dayOfWeek, {
845
+ width: 'abbreviated',
846
+ context: 'standalone'
847
+ });
848
+ // T
849
+ case 'ccccc':
850
+ return localize.day(dayOfWeek, {
851
+ width: 'narrow',
852
+ context: 'standalone'
853
+ });
854
+ // Tu
855
+ case 'cccccc':
856
+ return localize.day(dayOfWeek, {
857
+ width: 'short',
858
+ context: 'standalone'
859
+ });
860
+ // Tuesday
861
+ case 'cccc':
862
+ default:
863
+ return localize.day(dayOfWeek, {
864
+ width: 'wide',
865
+ context: 'standalone'
866
+ });
867
+ }
868
+ },
869
+ // ISO day of week
870
+ i: function i(date, token, localize) {
871
+ var dayOfWeek = date.getUTCDay();
872
+ var isoDayOfWeek = dayOfWeek === 0 ? 7 : dayOfWeek;
873
+ switch (token) {
874
+ // 2
875
+ case 'i':
876
+ return String(isoDayOfWeek);
877
+ // 02
878
+ case 'ii':
879
+ return addLeadingZeros(isoDayOfWeek, token.length);
880
+ // 2nd
881
+ case 'io':
882
+ return localize.ordinalNumber(isoDayOfWeek, {
883
+ unit: 'day'
884
+ });
885
+ // Tue
886
+ case 'iii':
887
+ return localize.day(dayOfWeek, {
888
+ width: 'abbreviated',
889
+ context: 'formatting'
890
+ });
891
+ // T
892
+ case 'iiiii':
893
+ return localize.day(dayOfWeek, {
894
+ width: 'narrow',
895
+ context: 'formatting'
896
+ });
897
+ // Tu
898
+ case 'iiiiii':
899
+ return localize.day(dayOfWeek, {
900
+ width: 'short',
901
+ context: 'formatting'
902
+ });
903
+ // Tuesday
904
+ case 'iiii':
905
+ default:
906
+ return localize.day(dayOfWeek, {
907
+ width: 'wide',
908
+ context: 'formatting'
909
+ });
910
+ }
911
+ },
912
+ // AM or PM
913
+ a: function a(date, token, localize) {
914
+ var hours = date.getUTCHours();
915
+ var dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';
916
+ switch (token) {
917
+ case 'a':
918
+ case 'aa':
919
+ return localize.dayPeriod(dayPeriodEnumValue, {
920
+ width: 'abbreviated',
921
+ context: 'formatting'
922
+ });
923
+ case 'aaa':
924
+ return localize.dayPeriod(dayPeriodEnumValue, {
925
+ width: 'abbreviated',
926
+ context: 'formatting'
927
+ }).toLowerCase();
928
+ case 'aaaaa':
929
+ return localize.dayPeriod(dayPeriodEnumValue, {
930
+ width: 'narrow',
931
+ context: 'formatting'
932
+ });
933
+ case 'aaaa':
934
+ default:
935
+ return localize.dayPeriod(dayPeriodEnumValue, {
936
+ width: 'wide',
937
+ context: 'formatting'
938
+ });
939
+ }
940
+ },
941
+ // AM, PM, midnight, noon
942
+ b: function b(date, token, localize) {
943
+ var hours = date.getUTCHours();
944
+ var dayPeriodEnumValue;
945
+ if (hours === 12) {
946
+ dayPeriodEnumValue = dayPeriodEnum.noon;
947
+ } else if (hours === 0) {
948
+ dayPeriodEnumValue = dayPeriodEnum.midnight;
949
+ } else {
950
+ dayPeriodEnumValue = hours / 12 >= 1 ? 'pm' : 'am';
951
+ }
952
+ switch (token) {
953
+ case 'b':
954
+ case 'bb':
955
+ return localize.dayPeriod(dayPeriodEnumValue, {
956
+ width: 'abbreviated',
957
+ context: 'formatting'
958
+ });
959
+ case 'bbb':
960
+ return localize.dayPeriod(dayPeriodEnumValue, {
961
+ width: 'abbreviated',
962
+ context: 'formatting'
963
+ }).toLowerCase();
964
+ case 'bbbbb':
965
+ return localize.dayPeriod(dayPeriodEnumValue, {
966
+ width: 'narrow',
967
+ context: 'formatting'
968
+ });
969
+ case 'bbbb':
970
+ default:
971
+ return localize.dayPeriod(dayPeriodEnumValue, {
972
+ width: 'wide',
973
+ context: 'formatting'
974
+ });
975
+ }
976
+ },
977
+ // in the morning, in the afternoon, in the evening, at night
978
+ B: function B(date, token, localize) {
979
+ var hours = date.getUTCHours();
980
+ var dayPeriodEnumValue;
981
+ if (hours >= 17) {
982
+ dayPeriodEnumValue = dayPeriodEnum.evening;
983
+ } else if (hours >= 12) {
984
+ dayPeriodEnumValue = dayPeriodEnum.afternoon;
985
+ } else if (hours >= 4) {
986
+ dayPeriodEnumValue = dayPeriodEnum.morning;
987
+ } else {
988
+ dayPeriodEnumValue = dayPeriodEnum.night;
989
+ }
990
+ switch (token) {
991
+ case 'B':
992
+ case 'BB':
993
+ case 'BBB':
994
+ return localize.dayPeriod(dayPeriodEnumValue, {
995
+ width: 'abbreviated',
996
+ context: 'formatting'
997
+ });
998
+ case 'BBBBB':
999
+ return localize.dayPeriod(dayPeriodEnumValue, {
1000
+ width: 'narrow',
1001
+ context: 'formatting'
1002
+ });
1003
+ case 'BBBB':
1004
+ default:
1005
+ return localize.dayPeriod(dayPeriodEnumValue, {
1006
+ width: 'wide',
1007
+ context: 'formatting'
1008
+ });
1009
+ }
1010
+ },
1011
+ // Hour [1-12]
1012
+ h: function h(date, token, localize) {
1013
+ if (token === 'ho') {
1014
+ var hours = date.getUTCHours() % 12;
1015
+ if (hours === 0) hours = 12;
1016
+ return localize.ordinalNumber(hours, {
1017
+ unit: 'hour'
1018
+ });
1019
+ }
1020
+ return formatters$1.h(date, token);
1021
+ },
1022
+ // Hour [0-23]
1023
+ H: function H(date, token, localize) {
1024
+ if (token === 'Ho') {
1025
+ return localize.ordinalNumber(date.getUTCHours(), {
1026
+ unit: 'hour'
1027
+ });
1028
+ }
1029
+ return formatters$1.H(date, token);
1030
+ },
1031
+ // Hour [0-11]
1032
+ K: function K(date, token, localize) {
1033
+ var hours = date.getUTCHours() % 12;
1034
+ if (token === 'Ko') {
1035
+ return localize.ordinalNumber(hours, {
1036
+ unit: 'hour'
1037
+ });
1038
+ }
1039
+ return addLeadingZeros(hours, token.length);
1040
+ },
1041
+ // Hour [1-24]
1042
+ k: function k(date, token, localize) {
1043
+ var hours = date.getUTCHours();
1044
+ if (hours === 0) hours = 24;
1045
+ if (token === 'ko') {
1046
+ return localize.ordinalNumber(hours, {
1047
+ unit: 'hour'
1048
+ });
1049
+ }
1050
+ return addLeadingZeros(hours, token.length);
1051
+ },
1052
+ // Minute
1053
+ m: function m(date, token, localize) {
1054
+ if (token === 'mo') {
1055
+ return localize.ordinalNumber(date.getUTCMinutes(), {
1056
+ unit: 'minute'
1057
+ });
1058
+ }
1059
+ return formatters$1.m(date, token);
1060
+ },
1061
+ // Second
1062
+ s: function s(date, token, localize) {
1063
+ if (token === 'so') {
1064
+ return localize.ordinalNumber(date.getUTCSeconds(), {
1065
+ unit: 'second'
1066
+ });
1067
+ }
1068
+ return formatters$1.s(date, token);
1069
+ },
1070
+ // Fraction of second
1071
+ S: function S(date, token) {
1072
+ return formatters$1.S(date, token);
1073
+ },
1074
+ // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
1075
+ X: function X(date, token, _localize, options) {
1076
+ var originalDate = options._originalDate || date;
1077
+ var timezoneOffset = originalDate.getTimezoneOffset();
1078
+ if (timezoneOffset === 0) {
1079
+ return 'Z';
1080
+ }
1081
+ switch (token) {
1082
+ // Hours and optional minutes
1083
+ case 'X':
1084
+ return formatTimezoneWithOptionalMinutes(timezoneOffset);
1085
+
1086
+ // Hours, minutes and optional seconds without `:` delimiter
1087
+ // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1088
+ // so this token always has the same output as `XX`
1089
+ case 'XXXX':
1090
+ case 'XX':
1091
+ // Hours and minutes without `:` delimiter
1092
+ return formatTimezone(timezoneOffset);
1093
+
1094
+ // Hours, minutes and optional seconds with `:` delimiter
1095
+ // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1096
+ // so this token always has the same output as `XXX`
1097
+ case 'XXXXX':
1098
+ case 'XXX': // Hours and minutes with `:` delimiter
1099
+ default:
1100
+ return formatTimezone(timezoneOffset, ':');
1101
+ }
1102
+ },
1103
+ // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
1104
+ x: function x(date, token, _localize, options) {
1105
+ var originalDate = options._originalDate || date;
1106
+ var timezoneOffset = originalDate.getTimezoneOffset();
1107
+ switch (token) {
1108
+ // Hours and optional minutes
1109
+ case 'x':
1110
+ return formatTimezoneWithOptionalMinutes(timezoneOffset);
1111
+
1112
+ // Hours, minutes and optional seconds without `:` delimiter
1113
+ // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1114
+ // so this token always has the same output as `xx`
1115
+ case 'xxxx':
1116
+ case 'xx':
1117
+ // Hours and minutes without `:` delimiter
1118
+ return formatTimezone(timezoneOffset);
1119
+
1120
+ // Hours, minutes and optional seconds with `:` delimiter
1121
+ // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1122
+ // so this token always has the same output as `xxx`
1123
+ case 'xxxxx':
1124
+ case 'xxx': // Hours and minutes with `:` delimiter
1125
+ default:
1126
+ return formatTimezone(timezoneOffset, ':');
1127
+ }
1128
+ },
1129
+ // Timezone (GMT)
1130
+ O: function O(date, token, _localize, options) {
1131
+ var originalDate = options._originalDate || date;
1132
+ var timezoneOffset = originalDate.getTimezoneOffset();
1133
+ switch (token) {
1134
+ // Short
1135
+ case 'O':
1136
+ case 'OO':
1137
+ case 'OOO':
1138
+ return 'GMT' + formatTimezoneShort(timezoneOffset, ':');
1139
+ // Long
1140
+ case 'OOOO':
1141
+ default:
1142
+ return 'GMT' + formatTimezone(timezoneOffset, ':');
1143
+ }
1144
+ },
1145
+ // Timezone (specific non-location)
1146
+ z: function z(date, token, _localize, options) {
1147
+ var originalDate = options._originalDate || date;
1148
+ var timezoneOffset = originalDate.getTimezoneOffset();
1149
+ switch (token) {
1150
+ // Short
1151
+ case 'z':
1152
+ case 'zz':
1153
+ case 'zzz':
1154
+ return 'GMT' + formatTimezoneShort(timezoneOffset, ':');
1155
+ // Long
1156
+ case 'zzzz':
1157
+ default:
1158
+ return 'GMT' + formatTimezone(timezoneOffset, ':');
1159
+ }
1160
+ },
1161
+ // Seconds timestamp
1162
+ t: function t(date, token, _localize, options) {
1163
+ var originalDate = options._originalDate || date;
1164
+ var timestamp = Math.floor(originalDate.getTime() / 1000);
1165
+ return addLeadingZeros(timestamp, token.length);
1166
+ },
1167
+ // Milliseconds timestamp
1168
+ T: function T(date, token, _localize, options) {
1169
+ var originalDate = options._originalDate || date;
1170
+ var timestamp = originalDate.getTime();
1171
+ return addLeadingZeros(timestamp, token.length);
1172
+ }
1173
+ };
1174
+ function formatTimezoneShort(offset, dirtyDelimiter) {
1175
+ var sign = offset > 0 ? '-' : '+';
1176
+ var absOffset = Math.abs(offset);
1177
+ var hours = Math.floor(absOffset / 60);
1178
+ var minutes = absOffset % 60;
1179
+ if (minutes === 0) {
1180
+ return sign + String(hours);
1181
+ }
1182
+ var delimiter = dirtyDelimiter;
1183
+ return sign + String(hours) + delimiter + addLeadingZeros(minutes, 2);
1184
+ }
1185
+ function formatTimezoneWithOptionalMinutes(offset, dirtyDelimiter) {
1186
+ if (offset % 60 === 0) {
1187
+ var sign = offset > 0 ? '-' : '+';
1188
+ return sign + addLeadingZeros(Math.abs(offset) / 60, 2);
1189
+ }
1190
+ return formatTimezone(offset, dirtyDelimiter);
1191
+ }
1192
+ function formatTimezone(offset, dirtyDelimiter) {
1193
+ var delimiter = dirtyDelimiter || '';
1194
+ var sign = offset > 0 ? '-' : '+';
1195
+ var absOffset = Math.abs(offset);
1196
+ var hours = addLeadingZeros(Math.floor(absOffset / 60), 2);
1197
+ var minutes = addLeadingZeros(absOffset % 60, 2);
1198
+ return sign + hours + delimiter + minutes;
1199
+ }
1200
+
1201
+ var dateLongFormatter = function dateLongFormatter(pattern, formatLong) {
1202
+ switch (pattern) {
1203
+ case 'P':
1204
+ return formatLong.date({
1205
+ width: 'short'
1206
+ });
1207
+ case 'PP':
1208
+ return formatLong.date({
1209
+ width: 'medium'
1210
+ });
1211
+ case 'PPP':
1212
+ return formatLong.date({
1213
+ width: 'long'
1214
+ });
1215
+ case 'PPPP':
1216
+ default:
1217
+ return formatLong.date({
1218
+ width: 'full'
1219
+ });
1220
+ }
1221
+ };
1222
+ var timeLongFormatter = function timeLongFormatter(pattern, formatLong) {
1223
+ switch (pattern) {
1224
+ case 'p':
1225
+ return formatLong.time({
1226
+ width: 'short'
1227
+ });
1228
+ case 'pp':
1229
+ return formatLong.time({
1230
+ width: 'medium'
1231
+ });
1232
+ case 'ppp':
1233
+ return formatLong.time({
1234
+ width: 'long'
1235
+ });
1236
+ case 'pppp':
1237
+ default:
1238
+ return formatLong.time({
1239
+ width: 'full'
1240
+ });
1241
+ }
1242
+ };
1243
+ var dateTimeLongFormatter = function dateTimeLongFormatter(pattern, formatLong) {
1244
+ var matchResult = pattern.match(/(P+)(p+)?/) || [];
1245
+ var datePattern = matchResult[1];
1246
+ var timePattern = matchResult[2];
1247
+ if (!timePattern) {
1248
+ return dateLongFormatter(pattern, formatLong);
1249
+ }
1250
+ var dateTimeFormat;
1251
+ switch (datePattern) {
1252
+ case 'P':
1253
+ dateTimeFormat = formatLong.dateTime({
1254
+ width: 'short'
1255
+ });
1256
+ break;
1257
+ case 'PP':
1258
+ dateTimeFormat = formatLong.dateTime({
1259
+ width: 'medium'
1260
+ });
1261
+ break;
1262
+ case 'PPP':
1263
+ dateTimeFormat = formatLong.dateTime({
1264
+ width: 'long'
1265
+ });
1266
+ break;
1267
+ case 'PPPP':
1268
+ default:
1269
+ dateTimeFormat = formatLong.dateTime({
1270
+ width: 'full'
1271
+ });
1272
+ break;
1273
+ }
1274
+ return dateTimeFormat.replace('{{date}}', dateLongFormatter(datePattern, formatLong)).replace('{{time}}', timeLongFormatter(timePattern, formatLong));
1275
+ };
1276
+ var longFormatters = {
1277
+ p: timeLongFormatter,
1278
+ P: dateTimeLongFormatter
1279
+ };
1280
+
1281
+ /**
1282
+ * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.
1283
+ * They usually appear for dates that denote time before the timezones were introduced
1284
+ * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891
1285
+ * and GMT+01:00:00 after that date)
1286
+ *
1287
+ * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,
1288
+ * which would lead to incorrect calculations.
1289
+ *
1290
+ * This function returns the timezone offset in milliseconds that takes seconds in account.
1291
+ */
1292
+ function getTimezoneOffsetInMilliseconds(date) {
1293
+ var utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds()));
1294
+ utcDate.setUTCFullYear(date.getFullYear());
1295
+ return date.getTime() - utcDate.getTime();
1296
+ }
1297
+
1298
+ var protectedDayOfYearTokens = ['D', 'DD'];
1299
+ var protectedWeekYearTokens = ['YY', 'YYYY'];
1300
+ function isProtectedDayOfYearToken(token) {
1301
+ return protectedDayOfYearTokens.indexOf(token) !== -1;
1302
+ }
1303
+ function isProtectedWeekYearToken(token) {
1304
+ return protectedWeekYearTokens.indexOf(token) !== -1;
1305
+ }
1306
+ function throwProtectedError(token, format, input) {
1307
+ if (token === 'YYYY') {
1308
+ throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(format, "`) for formatting years to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1309
+ } else if (token === 'YY') {
1310
+ throw new RangeError("Use `yy` instead of `YY` (in `".concat(format, "`) for formatting years to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1311
+ } else if (token === 'D') {
1312
+ throw new RangeError("Use `d` instead of `D` (in `".concat(format, "`) for formatting days of the month to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1313
+ } else if (token === 'DD') {
1314
+ throw new RangeError("Use `dd` instead of `DD` (in `".concat(format, "`) for formatting days of the month to the input `").concat(input, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
1315
+ }
1316
+ }
1317
+
1318
+ var formatDistanceLocale = {
1319
+ lessThanXSeconds: {
1320
+ one: 'less than a second',
1321
+ other: 'less than {{count}} seconds'
1322
+ },
1323
+ xSeconds: {
1324
+ one: '1 second',
1325
+ other: '{{count}} seconds'
1326
+ },
1327
+ halfAMinute: 'half a minute',
1328
+ lessThanXMinutes: {
1329
+ one: 'less than a minute',
1330
+ other: 'less than {{count}} minutes'
1331
+ },
1332
+ xMinutes: {
1333
+ one: '1 minute',
1334
+ other: '{{count}} minutes'
1335
+ },
1336
+ aboutXHours: {
1337
+ one: 'about 1 hour',
1338
+ other: 'about {{count}} hours'
1339
+ },
1340
+ xHours: {
1341
+ one: '1 hour',
1342
+ other: '{{count}} hours'
1343
+ },
1344
+ xDays: {
1345
+ one: '1 day',
1346
+ other: '{{count}} days'
1347
+ },
1348
+ aboutXWeeks: {
1349
+ one: 'about 1 week',
1350
+ other: 'about {{count}} weeks'
1351
+ },
1352
+ xWeeks: {
1353
+ one: '1 week',
1354
+ other: '{{count}} weeks'
1355
+ },
1356
+ aboutXMonths: {
1357
+ one: 'about 1 month',
1358
+ other: 'about {{count}} months'
1359
+ },
1360
+ xMonths: {
1361
+ one: '1 month',
1362
+ other: '{{count}} months'
1363
+ },
1364
+ aboutXYears: {
1365
+ one: 'about 1 year',
1366
+ other: 'about {{count}} years'
1367
+ },
1368
+ xYears: {
1369
+ one: '1 year',
1370
+ other: '{{count}} years'
1371
+ },
1372
+ overXYears: {
1373
+ one: 'over 1 year',
1374
+ other: 'over {{count}} years'
1375
+ },
1376
+ almostXYears: {
1377
+ one: 'almost 1 year',
1378
+ other: 'almost {{count}} years'
1379
+ }
1380
+ };
1381
+ var formatDistance = function formatDistance(token, count, options) {
1382
+ var result;
1383
+ var tokenValue = formatDistanceLocale[token];
1384
+ if (typeof tokenValue === 'string') {
1385
+ result = tokenValue;
1386
+ } else if (count === 1) {
1387
+ result = tokenValue.one;
1388
+ } else {
1389
+ result = tokenValue.other.replace('{{count}}', count.toString());
1390
+ }
1391
+ if (options !== null && options !== void 0 && options.addSuffix) {
1392
+ if (options.comparison && options.comparison > 0) {
1393
+ return 'in ' + result;
1394
+ } else {
1395
+ return result + ' ago';
1396
+ }
1397
+ }
1398
+ return result;
1399
+ };
1400
+
1401
+ function buildFormatLongFn(args) {
1402
+ return function () {
1403
+ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1404
+ // TODO: Remove String()
1405
+ var width = options.width ? String(options.width) : args.defaultWidth;
1406
+ var format = args.formats[width] || args.formats[args.defaultWidth];
1407
+ return format;
1408
+ };
1409
+ }
1410
+
1411
+ var dateFormats = {
1412
+ full: 'EEEE, MMMM do, y',
1413
+ long: 'MMMM do, y',
1414
+ medium: 'MMM d, y',
1415
+ short: 'MM/dd/yyyy'
1416
+ };
1417
+ var timeFormats = {
1418
+ full: 'h:mm:ss a zzzz',
1419
+ long: 'h:mm:ss a z',
1420
+ medium: 'h:mm:ss a',
1421
+ short: 'h:mm a'
1422
+ };
1423
+ var dateTimeFormats = {
1424
+ full: "{{date}} 'at' {{time}}",
1425
+ long: "{{date}} 'at' {{time}}",
1426
+ medium: '{{date}}, {{time}}',
1427
+ short: '{{date}}, {{time}}'
1428
+ };
1429
+ var formatLong = {
1430
+ date: buildFormatLongFn({
1431
+ formats: dateFormats,
1432
+ defaultWidth: 'full'
1433
+ }),
1434
+ time: buildFormatLongFn({
1435
+ formats: timeFormats,
1436
+ defaultWidth: 'full'
1437
+ }),
1438
+ dateTime: buildFormatLongFn({
1439
+ formats: dateTimeFormats,
1440
+ defaultWidth: 'full'
1441
+ })
1442
+ };
1443
+
1444
+ var formatRelativeLocale = {
1445
+ lastWeek: "'last' eeee 'at' p",
1446
+ yesterday: "'yesterday at' p",
1447
+ today: "'today at' p",
1448
+ tomorrow: "'tomorrow at' p",
1449
+ nextWeek: "eeee 'at' p",
1450
+ other: 'P'
1451
+ };
1452
+ var formatRelative = function formatRelative(token, _date, _baseDate, _options) {
1453
+ return formatRelativeLocale[token];
1454
+ };
1455
+
1456
+ function buildLocalizeFn(args) {
1457
+ return function (dirtyIndex, options) {
1458
+ var context = options !== null && options !== void 0 && options.context ? String(options.context) : 'standalone';
1459
+ var valuesArray;
1460
+ if (context === 'formatting' && args.formattingValues) {
1461
+ var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
1462
+ var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;
1463
+ valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
1464
+ } else {
1465
+ var _defaultWidth = args.defaultWidth;
1466
+ var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;
1467
+ valuesArray = args.values[_width] || args.values[_defaultWidth];
1468
+ }
1469
+ var index = args.argumentCallback ? args.argumentCallback(dirtyIndex) : dirtyIndex;
1470
+ // @ts-ignore: For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it!
1471
+ return valuesArray[index];
1472
+ };
1473
+ }
1474
+
1475
+ var eraValues = {
1476
+ narrow: ['B', 'A'],
1477
+ abbreviated: ['BC', 'AD'],
1478
+ wide: ['Before Christ', 'Anno Domini']
1479
+ };
1480
+ var quarterValues = {
1481
+ narrow: ['1', '2', '3', '4'],
1482
+ abbreviated: ['Q1', 'Q2', 'Q3', 'Q4'],
1483
+ wide: ['1st quarter', '2nd quarter', '3rd quarter', '4th quarter']
1484
+ };
1485
+
1486
+ // Note: in English, the names of days of the week and months are capitalized.
1487
+ // If you are making a new locale based on this one, check if the same is true for the language you're working on.
1488
+ // Generally, formatted dates should look like they are in the middle of a sentence,
1489
+ // e.g. in Spanish language the weekdays and months should be in the lowercase.
1490
+ var monthValues = {
1491
+ narrow: ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'],
1492
+ abbreviated: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
1493
+ wide: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
1494
+ };
1495
+ var dayValues = {
1496
+ narrow: ['S', 'M', 'T', 'W', 'T', 'F', 'S'],
1497
+ short: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
1498
+ abbreviated: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
1499
+ wide: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
1500
+ };
1501
+ var dayPeriodValues = {
1502
+ narrow: {
1503
+ am: 'a',
1504
+ pm: 'p',
1505
+ midnight: 'mi',
1506
+ noon: 'n',
1507
+ morning: 'morning',
1508
+ afternoon: 'afternoon',
1509
+ evening: 'evening',
1510
+ night: 'night'
1511
+ },
1512
+ abbreviated: {
1513
+ am: 'AM',
1514
+ pm: 'PM',
1515
+ midnight: 'midnight',
1516
+ noon: 'noon',
1517
+ morning: 'morning',
1518
+ afternoon: 'afternoon',
1519
+ evening: 'evening',
1520
+ night: 'night'
1521
+ },
1522
+ wide: {
1523
+ am: 'a.m.',
1524
+ pm: 'p.m.',
1525
+ midnight: 'midnight',
1526
+ noon: 'noon',
1527
+ morning: 'morning',
1528
+ afternoon: 'afternoon',
1529
+ evening: 'evening',
1530
+ night: 'night'
1531
+ }
1532
+ };
1533
+ var formattingDayPeriodValues = {
1534
+ narrow: {
1535
+ am: 'a',
1536
+ pm: 'p',
1537
+ midnight: 'mi',
1538
+ noon: 'n',
1539
+ morning: 'in the morning',
1540
+ afternoon: 'in the afternoon',
1541
+ evening: 'in the evening',
1542
+ night: 'at night'
1543
+ },
1544
+ abbreviated: {
1545
+ am: 'AM',
1546
+ pm: 'PM',
1547
+ midnight: 'midnight',
1548
+ noon: 'noon',
1549
+ morning: 'in the morning',
1550
+ afternoon: 'in the afternoon',
1551
+ evening: 'in the evening',
1552
+ night: 'at night'
1553
+ },
1554
+ wide: {
1555
+ am: 'a.m.',
1556
+ pm: 'p.m.',
1557
+ midnight: 'midnight',
1558
+ noon: 'noon',
1559
+ morning: 'in the morning',
1560
+ afternoon: 'in the afternoon',
1561
+ evening: 'in the evening',
1562
+ night: 'at night'
1563
+ }
1564
+ };
1565
+ var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
1566
+ var number = Number(dirtyNumber);
1567
+
1568
+ // If ordinal numbers depend on context, for example,
1569
+ // if they are different for different grammatical genders,
1570
+ // use `options.unit`.
1571
+ //
1572
+ // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',
1573
+ // 'day', 'hour', 'minute', 'second'.
1574
+
1575
+ var rem100 = number % 100;
1576
+ if (rem100 > 20 || rem100 < 10) {
1577
+ switch (rem100 % 10) {
1578
+ case 1:
1579
+ return number + 'st';
1580
+ case 2:
1581
+ return number + 'nd';
1582
+ case 3:
1583
+ return number + 'rd';
1584
+ }
1585
+ }
1586
+ return number + 'th';
1587
+ };
1588
+ var localize = {
1589
+ ordinalNumber: ordinalNumber,
1590
+ era: buildLocalizeFn({
1591
+ values: eraValues,
1592
+ defaultWidth: 'wide'
1593
+ }),
1594
+ quarter: buildLocalizeFn({
1595
+ values: quarterValues,
1596
+ defaultWidth: 'wide',
1597
+ argumentCallback: function argumentCallback(quarter) {
1598
+ return quarter - 1;
1599
+ }
1600
+ }),
1601
+ month: buildLocalizeFn({
1602
+ values: monthValues,
1603
+ defaultWidth: 'wide'
1604
+ }),
1605
+ day: buildLocalizeFn({
1606
+ values: dayValues,
1607
+ defaultWidth: 'wide'
1608
+ }),
1609
+ dayPeriod: buildLocalizeFn({
1610
+ values: dayPeriodValues,
1611
+ defaultWidth: 'wide',
1612
+ formattingValues: formattingDayPeriodValues,
1613
+ defaultFormattingWidth: 'wide'
1614
+ })
1615
+ };
1616
+
1617
+ function buildMatchFn(args) {
1618
+ return function (string) {
1619
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1620
+ var width = options.width;
1621
+ var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
1622
+ var matchResult = string.match(matchPattern);
1623
+ if (!matchResult) {
1624
+ return null;
1625
+ }
1626
+ var matchedString = matchResult[0];
1627
+ var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
1628
+ var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {
1629
+ return pattern.test(matchedString);
1630
+ }) : findKey(parsePatterns, function (pattern) {
1631
+ return pattern.test(matchedString);
1632
+ });
1633
+ var value;
1634
+ value = args.valueCallback ? args.valueCallback(key) : key;
1635
+ value = options.valueCallback ? options.valueCallback(value) : value;
1636
+ var rest = string.slice(matchedString.length);
1637
+ return {
1638
+ value: value,
1639
+ rest: rest
1640
+ };
1641
+ };
1642
+ }
1643
+ function findKey(object, predicate) {
1644
+ for (var key in object) {
1645
+ if (object.hasOwnProperty(key) && predicate(object[key])) {
1646
+ return key;
1647
+ }
1648
+ }
1649
+ return undefined;
1650
+ }
1651
+ function findIndex(array, predicate) {
1652
+ for (var key = 0; key < array.length; key++) {
1653
+ if (predicate(array[key])) {
1654
+ return key;
1655
+ }
1656
+ }
1657
+ return undefined;
1658
+ }
1659
+
1660
+ function buildMatchPatternFn(args) {
1661
+ return function (string) {
1662
+ var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
1663
+ var matchResult = string.match(args.matchPattern);
1664
+ if (!matchResult) return null;
1665
+ var matchedString = matchResult[0];
1666
+ var parseResult = string.match(args.parsePattern);
1667
+ if (!parseResult) return null;
1668
+ var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
1669
+ value = options.valueCallback ? options.valueCallback(value) : value;
1670
+ var rest = string.slice(matchedString.length);
1671
+ return {
1672
+ value: value,
1673
+ rest: rest
1674
+ };
1675
+ };
1676
+ }
1677
+
1678
+ var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
1679
+ var parseOrdinalNumberPattern = /\d+/i;
1680
+ var matchEraPatterns = {
1681
+ narrow: /^(b|a)/i,
1682
+ abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
1683
+ wide: /^(before christ|before common era|anno domini|common era)/i
1684
+ };
1685
+ var parseEraPatterns = {
1686
+ any: [/^b/i, /^(a|c)/i]
1687
+ };
1688
+ var matchQuarterPatterns = {
1689
+ narrow: /^[1234]/i,
1690
+ abbreviated: /^q[1234]/i,
1691
+ wide: /^[1234](th|st|nd|rd)? quarter/i
1692
+ };
1693
+ var parseQuarterPatterns = {
1694
+ any: [/1/i, /2/i, /3/i, /4/i]
1695
+ };
1696
+ var matchMonthPatterns = {
1697
+ narrow: /^[jfmasond]/i,
1698
+ abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
1699
+ wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
1700
+ };
1701
+ var parseMonthPatterns = {
1702
+ narrow: [/^j/i, /^f/i, /^m/i, /^a/i, /^m/i, /^j/i, /^j/i, /^a/i, /^s/i, /^o/i, /^n/i, /^d/i],
1703
+ any: [/^ja/i, /^f/i, /^mar/i, /^ap/i, /^may/i, /^jun/i, /^jul/i, /^au/i, /^s/i, /^o/i, /^n/i, /^d/i]
1704
+ };
1705
+ var matchDayPatterns = {
1706
+ narrow: /^[smtwf]/i,
1707
+ short: /^(su|mo|tu|we|th|fr|sa)/i,
1708
+ abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
1709
+ wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
1710
+ };
1711
+ var parseDayPatterns = {
1712
+ narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
1713
+ any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
1714
+ };
1715
+ var matchDayPeriodPatterns = {
1716
+ narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
1717
+ any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
1718
+ };
1719
+ var parseDayPeriodPatterns = {
1720
+ any: {
1721
+ am: /^a/i,
1722
+ pm: /^p/i,
1723
+ midnight: /^mi/i,
1724
+ noon: /^no/i,
1725
+ morning: /morning/i,
1726
+ afternoon: /afternoon/i,
1727
+ evening: /evening/i,
1728
+ night: /night/i
1729
+ }
1730
+ };
1731
+ var match = {
1732
+ ordinalNumber: buildMatchPatternFn({
1733
+ matchPattern: matchOrdinalNumberPattern,
1734
+ parsePattern: parseOrdinalNumberPattern,
1735
+ valueCallback: function valueCallback(value) {
1736
+ return parseInt(value, 10);
1737
+ }
1738
+ }),
1739
+ era: buildMatchFn({
1740
+ matchPatterns: matchEraPatterns,
1741
+ defaultMatchWidth: 'wide',
1742
+ parsePatterns: parseEraPatterns,
1743
+ defaultParseWidth: 'any'
1744
+ }),
1745
+ quarter: buildMatchFn({
1746
+ matchPatterns: matchQuarterPatterns,
1747
+ defaultMatchWidth: 'wide',
1748
+ parsePatterns: parseQuarterPatterns,
1749
+ defaultParseWidth: 'any',
1750
+ valueCallback: function valueCallback(index) {
1751
+ return index + 1;
1752
+ }
1753
+ }),
1754
+ month: buildMatchFn({
1755
+ matchPatterns: matchMonthPatterns,
1756
+ defaultMatchWidth: 'wide',
1757
+ parsePatterns: parseMonthPatterns,
1758
+ defaultParseWidth: 'any'
1759
+ }),
1760
+ day: buildMatchFn({
1761
+ matchPatterns: matchDayPatterns,
1762
+ defaultMatchWidth: 'wide',
1763
+ parsePatterns: parseDayPatterns,
1764
+ defaultParseWidth: 'any'
1765
+ }),
1766
+ dayPeriod: buildMatchFn({
1767
+ matchPatterns: matchDayPeriodPatterns,
1768
+ defaultMatchWidth: 'any',
1769
+ parsePatterns: parseDayPeriodPatterns,
1770
+ defaultParseWidth: 'any'
1771
+ })
1772
+ };
1773
+
1774
+ /**
1775
+ * @type {Locale}
1776
+ * @category Locales
1777
+ * @summary English locale (United States).
1778
+ * @language English
1779
+ * @iso-639-2 eng
1780
+ * @author Sasha Koss [@kossnocorp]{@link https://github.com/kossnocorp}
1781
+ * @author Lesha Koss [@leshakoss]{@link https://github.com/leshakoss}
1782
+ */
1783
+ var locale = {
1784
+ code: 'en-US',
1785
+ formatDistance: formatDistance,
1786
+ formatLong: formatLong,
1787
+ formatRelative: formatRelative,
1788
+ localize: localize,
1789
+ match: match,
1790
+ options: {
1791
+ weekStartsOn: 0 /* Sunday */,
1792
+ firstWeekContainsDate: 1
1793
+ }
1794
+ };
1795
+
1796
+ // - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token
1797
+ // (one of the certain letters followed by `o`)
1798
+ // - (\w)\1* matches any sequences of the same letter
1799
+ // - '' matches two quote characters in a row
1800
+ // - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),
1801
+ // except a single quote symbol, which ends the sequence.
1802
+ // Two quote characters do not end the sequence.
1803
+ // If there is no matching single quote
1804
+ // then the sequence will continue until the end of the string.
1805
+ // - . matches any single character unmatched by previous parts of the RegExps
1806
+ var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g;
1807
+
1808
+ // This RegExp catches symbols escaped by quotes, and also
1809
+ // sequences of symbols P, p, and the combinations like `PPPPPPPppppp`
1810
+ var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
1811
+ var escapedStringRegExp = /^'([^]*?)'?$/;
1812
+ var doubleQuoteRegExp = /''/g;
1813
+ var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
1814
+
1815
+ /**
1816
+ * @name format
1817
+ * @category Common Helpers
1818
+ * @summary Format the date.
1819
+ *
1820
+ * @description
1821
+ * Return the formatted date string in the given format. The result may vary by locale.
1822
+ *
1823
+ * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.
1824
+ * > See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
1825
+ *
1826
+ * The characters wrapped between two single quotes characters (') are escaped.
1827
+ * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.
1828
+ * (see the last example)
1829
+ *
1830
+ * Format of the string is based on Unicode Technical Standard #35:
1831
+ * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
1832
+ * with a few additions (see note 7 below the table).
1833
+ *
1834
+ * Accepted patterns:
1835
+ * | Unit | Pattern | Result examples | Notes |
1836
+ * |---------------------------------|---------|-----------------------------------|-------|
1837
+ * | Era | G..GGG | AD, BC | |
1838
+ * | | GGGG | Anno Domini, Before Christ | 2 |
1839
+ * | | GGGGG | A, B | |
1840
+ * | Calendar year | y | 44, 1, 1900, 2017 | 5 |
1841
+ * | | yo | 44th, 1st, 0th, 17th | 5,7 |
1842
+ * | | yy | 44, 01, 00, 17 | 5 |
1843
+ * | | yyy | 044, 001, 1900, 2017 | 5 |
1844
+ * | | yyyy | 0044, 0001, 1900, 2017 | 5 |
1845
+ * | | yyyyy | ... | 3,5 |
1846
+ * | Local week-numbering year | Y | 44, 1, 1900, 2017 | 5 |
1847
+ * | | Yo | 44th, 1st, 1900th, 2017th | 5,7 |
1848
+ * | | YY | 44, 01, 00, 17 | 5,8 |
1849
+ * | | YYY | 044, 001, 1900, 2017 | 5 |
1850
+ * | | YYYY | 0044, 0001, 1900, 2017 | 5,8 |
1851
+ * | | YYYYY | ... | 3,5 |
1852
+ * | ISO week-numbering year | R | -43, 0, 1, 1900, 2017 | 5,7 |
1853
+ * | | RR | -43, 00, 01, 1900, 2017 | 5,7 |
1854
+ * | | RRR | -043, 000, 001, 1900, 2017 | 5,7 |
1855
+ * | | RRRR | -0043, 0000, 0001, 1900, 2017 | 5,7 |
1856
+ * | | RRRRR | ... | 3,5,7 |
1857
+ * | Extended year | u | -43, 0, 1, 1900, 2017 | 5 |
1858
+ * | | uu | -43, 01, 1900, 2017 | 5 |
1859
+ * | | uuu | -043, 001, 1900, 2017 | 5 |
1860
+ * | | uuuu | -0043, 0001, 1900, 2017 | 5 |
1861
+ * | | uuuuu | ... | 3,5 |
1862
+ * | Quarter (formatting) | Q | 1, 2, 3, 4 | |
1863
+ * | | Qo | 1st, 2nd, 3rd, 4th | 7 |
1864
+ * | | QQ | 01, 02, 03, 04 | |
1865
+ * | | QQQ | Q1, Q2, Q3, Q4 | |
1866
+ * | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |
1867
+ * | | QQQQQ | 1, 2, 3, 4 | 4 |
1868
+ * | Quarter (stand-alone) | q | 1, 2, 3, 4 | |
1869
+ * | | qo | 1st, 2nd, 3rd, 4th | 7 |
1870
+ * | | qq | 01, 02, 03, 04 | |
1871
+ * | | qqq | Q1, Q2, Q3, Q4 | |
1872
+ * | | qqqq | 1st quarter, 2nd quarter, ... | 2 |
1873
+ * | | qqqqq | 1, 2, 3, 4 | 4 |
1874
+ * | Month (formatting) | M | 1, 2, ..., 12 | |
1875
+ * | | Mo | 1st, 2nd, ..., 12th | 7 |
1876
+ * | | MM | 01, 02, ..., 12 | |
1877
+ * | | MMM | Jan, Feb, ..., Dec | |
1878
+ * | | MMMM | January, February, ..., December | 2 |
1879
+ * | | MMMMM | J, F, ..., D | |
1880
+ * | Month (stand-alone) | L | 1, 2, ..., 12 | |
1881
+ * | | Lo | 1st, 2nd, ..., 12th | 7 |
1882
+ * | | LL | 01, 02, ..., 12 | |
1883
+ * | | LLL | Jan, Feb, ..., Dec | |
1884
+ * | | LLLL | January, February, ..., December | 2 |
1885
+ * | | LLLLL | J, F, ..., D | |
1886
+ * | Local week of year | w | 1, 2, ..., 53 | |
1887
+ * | | wo | 1st, 2nd, ..., 53th | 7 |
1888
+ * | | ww | 01, 02, ..., 53 | |
1889
+ * | ISO week of year | I | 1, 2, ..., 53 | 7 |
1890
+ * | | Io | 1st, 2nd, ..., 53th | 7 |
1891
+ * | | II | 01, 02, ..., 53 | 7 |
1892
+ * | Day of month | d | 1, 2, ..., 31 | |
1893
+ * | | do | 1st, 2nd, ..., 31st | 7 |
1894
+ * | | dd | 01, 02, ..., 31 | |
1895
+ * | Day of year | D | 1, 2, ..., 365, 366 | 9 |
1896
+ * | | Do | 1st, 2nd, ..., 365th, 366th | 7 |
1897
+ * | | DD | 01, 02, ..., 365, 366 | 9 |
1898
+ * | | DDD | 001, 002, ..., 365, 366 | |
1899
+ * | | DDDD | ... | 3 |
1900
+ * | Day of week (formatting) | E..EEE | Mon, Tue, Wed, ..., Sun | |
1901
+ * | | EEEE | Monday, Tuesday, ..., Sunday | 2 |
1902
+ * | | EEEEE | M, T, W, T, F, S, S | |
1903
+ * | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | |
1904
+ * | ISO day of week (formatting) | i | 1, 2, 3, ..., 7 | 7 |
1905
+ * | | io | 1st, 2nd, ..., 7th | 7 |
1906
+ * | | ii | 01, 02, ..., 07 | 7 |
1907
+ * | | iii | Mon, Tue, Wed, ..., Sun | 7 |
1908
+ * | | iiii | Monday, Tuesday, ..., Sunday | 2,7 |
1909
+ * | | iiiii | M, T, W, T, F, S, S | 7 |
1910
+ * | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 7 |
1911
+ * | Local day of week (formatting) | e | 2, 3, 4, ..., 1 | |
1912
+ * | | eo | 2nd, 3rd, ..., 1st | 7 |
1913
+ * | | ee | 02, 03, ..., 01 | |
1914
+ * | | eee | Mon, Tue, Wed, ..., Sun | |
1915
+ * | | eeee | Monday, Tuesday, ..., Sunday | 2 |
1916
+ * | | eeeee | M, T, W, T, F, S, S | |
1917
+ * | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | |
1918
+ * | Local day of week (stand-alone) | c | 2, 3, 4, ..., 1 | |
1919
+ * | | co | 2nd, 3rd, ..., 1st | 7 |
1920
+ * | | cc | 02, 03, ..., 01 | |
1921
+ * | | ccc | Mon, Tue, Wed, ..., Sun | |
1922
+ * | | cccc | Monday, Tuesday, ..., Sunday | 2 |
1923
+ * | | ccccc | M, T, W, T, F, S, S | |
1924
+ * | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | |
1925
+ * | AM, PM | a..aa | AM, PM | |
1926
+ * | | aaa | am, pm | |
1927
+ * | | aaaa | a.m., p.m. | 2 |
1928
+ * | | aaaaa | a, p | |
1929
+ * | AM, PM, noon, midnight | b..bb | AM, PM, noon, midnight | |
1930
+ * | | bbb | am, pm, noon, midnight | |
1931
+ * | | bbbb | a.m., p.m., noon, midnight | 2 |
1932
+ * | | bbbbb | a, p, n, mi | |
1933
+ * | Flexible day period | B..BBB | at night, in the morning, ... | |
1934
+ * | | BBBB | at night, in the morning, ... | 2 |
1935
+ * | | BBBBB | at night, in the morning, ... | |
1936
+ * | Hour [1-12] | h | 1, 2, ..., 11, 12 | |
1937
+ * | | ho | 1st, 2nd, ..., 11th, 12th | 7 |
1938
+ * | | hh | 01, 02, ..., 11, 12 | |
1939
+ * | Hour [0-23] | H | 0, 1, 2, ..., 23 | |
1940
+ * | | Ho | 0th, 1st, 2nd, ..., 23rd | 7 |
1941
+ * | | HH | 00, 01, 02, ..., 23 | |
1942
+ * | Hour [0-11] | K | 1, 2, ..., 11, 0 | |
1943
+ * | | Ko | 1st, 2nd, ..., 11th, 0th | 7 |
1944
+ * | | KK | 01, 02, ..., 11, 00 | |
1945
+ * | Hour [1-24] | k | 24, 1, 2, ..., 23 | |
1946
+ * | | ko | 24th, 1st, 2nd, ..., 23rd | 7 |
1947
+ * | | kk | 24, 01, 02, ..., 23 | |
1948
+ * | Minute | m | 0, 1, ..., 59 | |
1949
+ * | | mo | 0th, 1st, ..., 59th | 7 |
1950
+ * | | mm | 00, 01, ..., 59 | |
1951
+ * | Second | s | 0, 1, ..., 59 | |
1952
+ * | | so | 0th, 1st, ..., 59th | 7 |
1953
+ * | | ss | 00, 01, ..., 59 | |
1954
+ * | Fraction of second | S | 0, 1, ..., 9 | |
1955
+ * | | SS | 00, 01, ..., 99 | |
1956
+ * | | SSS | 000, 001, ..., 999 | |
1957
+ * | | SSSS | ... | 3 |
1958
+ * | Timezone (ISO-8601 w/ Z) | X | -08, +0530, Z | |
1959
+ * | | XX | -0800, +0530, Z | |
1960
+ * | | XXX | -08:00, +05:30, Z | |
1961
+ * | | XXXX | -0800, +0530, Z, +123456 | 2 |
1962
+ * | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |
1963
+ * | Timezone (ISO-8601 w/o Z) | x | -08, +0530, +00 | |
1964
+ * | | xx | -0800, +0530, +0000 | |
1965
+ * | | xxx | -08:00, +05:30, +00:00 | 2 |
1966
+ * | | xxxx | -0800, +0530, +0000, +123456 | |
1967
+ * | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |
1968
+ * | Timezone (GMT) | O...OOO | GMT-8, GMT+5:30, GMT+0 | |
1969
+ * | | OOOO | GMT-08:00, GMT+05:30, GMT+00:00 | 2 |
1970
+ * | Timezone (specific non-locat.) | z...zzz | GMT-8, GMT+5:30, GMT+0 | 6 |
1971
+ * | | zzzz | GMT-08:00, GMT+05:30, GMT+00:00 | 2,6 |
1972
+ * | Seconds timestamp | t | 512969520 | 7 |
1973
+ * | | tt | ... | 3,7 |
1974
+ * | Milliseconds timestamp | T | 512969520900 | 7 |
1975
+ * | | TT | ... | 3,7 |
1976
+ * | Long localized date | P | 04/29/1453 | 7 |
1977
+ * | | PP | Apr 29, 1453 | 7 |
1978
+ * | | PPP | April 29th, 1453 | 7 |
1979
+ * | | PPPP | Friday, April 29th, 1453 | 2,7 |
1980
+ * | Long localized time | p | 12:00 AM | 7 |
1981
+ * | | pp | 12:00:00 AM | 7 |
1982
+ * | | ppp | 12:00:00 AM GMT+2 | 7 |
1983
+ * | | pppp | 12:00:00 AM GMT+02:00 | 2,7 |
1984
+ * | Combination of date and time | Pp | 04/29/1453, 12:00 AM | 7 |
1985
+ * | | PPpp | Apr 29, 1453, 12:00:00 AM | 7 |
1986
+ * | | PPPppp | April 29th, 1453 at ... | 7 |
1987
+ * | | PPPPpppp| Friday, April 29th, 1453 at ... | 2,7 |
1988
+ * Notes:
1989
+ * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale
1990
+ * are the same as "stand-alone" units, but are different in some languages.
1991
+ * "Formatting" units are declined according to the rules of the language
1992
+ * in the context of a date. "Stand-alone" units are always nominative singular:
1993
+ *
1994
+ * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`
1995
+ *
1996
+ * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`
1997
+ *
1998
+ * 2. Any sequence of the identical letters is a pattern, unless it is escaped by
1999
+ * the single quote characters (see below).
2000
+ * If the sequence is longer than listed in table (e.g. `EEEEEEEEEEE`)
2001
+ * the output will be the same as default pattern for this unit, usually
2002
+ * the longest one (in case of ISO weekdays, `EEEE`). Default patterns for units
2003
+ * are marked with "2" in the last column of the table.
2004
+ *
2005
+ * `format(new Date(2017, 10, 6), 'MMM') //=> 'Nov'`
2006
+ *
2007
+ * `format(new Date(2017, 10, 6), 'MMMM') //=> 'November'`
2008
+ *
2009
+ * `format(new Date(2017, 10, 6), 'MMMMM') //=> 'N'`
2010
+ *
2011
+ * `format(new Date(2017, 10, 6), 'MMMMMM') //=> 'November'`
2012
+ *
2013
+ * `format(new Date(2017, 10, 6), 'MMMMMMM') //=> 'November'`
2014
+ *
2015
+ * 3. Some patterns could be unlimited length (such as `yyyyyyyy`).
2016
+ * The output will be padded with zeros to match the length of the pattern.
2017
+ *
2018
+ * `format(new Date(2017, 10, 6), 'yyyyyyyy') //=> '00002017'`
2019
+ *
2020
+ * 4. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.
2021
+ * These tokens represent the shortest form of the quarter.
2022
+ *
2023
+ * 5. The main difference between `y` and `u` patterns are B.C. years:
2024
+ *
2025
+ * | Year | `y` | `u` |
2026
+ * |------|-----|-----|
2027
+ * | AC 1 | 1 | 1 |
2028
+ * | BC 1 | 1 | 0 |
2029
+ * | BC 2 | 2 | -1 |
2030
+ *
2031
+ * Also `yy` always returns the last two digits of a year,
2032
+ * while `uu` pads single digit years to 2 characters and returns other years unchanged:
2033
+ *
2034
+ * | Year | `yy` | `uu` |
2035
+ * |------|------|------|
2036
+ * | 1 | 01 | 01 |
2037
+ * | 14 | 14 | 14 |
2038
+ * | 376 | 76 | 376 |
2039
+ * | 1453 | 53 | 1453 |
2040
+ *
2041
+ * The same difference is true for local and ISO week-numbering years (`Y` and `R`),
2042
+ * except local week-numbering years are dependent on `options.weekStartsOn`
2043
+ * and `options.firstWeekContainsDate` (compare [getISOWeekYear]{@link https://date-fns.org/docs/getISOWeekYear}
2044
+ * and [getWeekYear]{@link https://date-fns.org/docs/getWeekYear}).
2045
+ *
2046
+ * 6. Specific non-location timezones are currently unavailable in `date-fns`,
2047
+ * so right now these tokens fall back to GMT timezones.
2048
+ *
2049
+ * 7. These patterns are not in the Unicode Technical Standard #35:
2050
+ * - `i`: ISO day of week
2051
+ * - `I`: ISO week of year
2052
+ * - `R`: ISO week-numbering year
2053
+ * - `t`: seconds timestamp
2054
+ * - `T`: milliseconds timestamp
2055
+ * - `o`: ordinal number modifier
2056
+ * - `P`: long localized date
2057
+ * - `p`: long localized time
2058
+ *
2059
+ * 8. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
2060
+ * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
2061
+ *
2062
+ * 9. `D` and `DD` tokens represent days of the year but they are often confused with days of the month.
2063
+ * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
2064
+ *
2065
+ * @param {Date|Number} date - the original date
2066
+ * @param {String} format - the string of tokens
2067
+ * @param {Object} [options] - an object with options.
2068
+ * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}
2069
+ * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)
2070
+ * @param {Number} [options.firstWeekContainsDate=1] - the day of January, which is
2071
+ * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;
2072
+ * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
2073
+ * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;
2074
+ * see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
2075
+ * @returns {String} the formatted date string
2076
+ * @throws {TypeError} 2 arguments required
2077
+ * @throws {RangeError} `date` must not be Invalid Date
2078
+ * @throws {RangeError} `options.locale` must contain `localize` property
2079
+ * @throws {RangeError} `options.locale` must contain `formatLong` property
2080
+ * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6
2081
+ * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7
2082
+ * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
2083
+ * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
2084
+ * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
2085
+ * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md
2086
+ * @throws {RangeError} format string contains an unescaped latin alphabet character
2087
+ *
2088
+ * @example
2089
+ * // Represent 11 February 2014 in middle-endian format:
2090
+ * const result = format(new Date(2014, 1, 11), 'MM/dd/yyyy')
2091
+ * //=> '02/11/2014'
2092
+ *
2093
+ * @example
2094
+ * // Represent 2 July 2014 in Esperanto:
2095
+ * import { eoLocale } from 'date-fns/locale/eo'
2096
+ * const result = format(new Date(2014, 6, 2), "do 'de' MMMM yyyy", {
2097
+ * locale: eoLocale
2098
+ * })
2099
+ * //=> '2-a de julio 2014'
2100
+ *
2101
+ * @example
2102
+ * // Escape string by single quote characters:
2103
+ * const result = format(new Date(2014, 6, 2, 15), "h 'o''clock'")
2104
+ * //=> "3 o'clock"
2105
+ */
2106
+
2107
+ function format(dirtyDate, dirtyFormatStr, options) {
2108
+ var _ref, _options$locale, _ref2, _ref3, _ref4, _options$firstWeekCon, _defaultOptions$local, _defaultOptions$local2, _ref5, _ref6, _ref7, _options$weekStartsOn, _defaultOptions$local3, _defaultOptions$local4;
2109
+ requiredArgs(2, arguments);
2110
+ var formatStr = String(dirtyFormatStr);
2111
+ var defaultOptions = getDefaultOptions();
2112
+ var locale$1 = (_ref = (_options$locale = void 0 ) !== null && _options$locale !== void 0 ? _options$locale : defaultOptions.locale) !== null && _ref !== void 0 ? _ref : locale;
2113
+ var firstWeekContainsDate = toInteger((_ref2 = (_ref3 = (_ref4 = (_options$firstWeekCon = void 0 ) !== null && _options$firstWeekCon !== void 0 ? _options$firstWeekCon : void 0 ) !== null && _ref4 !== void 0 ? _ref4 : defaultOptions.firstWeekContainsDate) !== null && _ref3 !== void 0 ? _ref3 : (_defaultOptions$local = defaultOptions.locale) === null || _defaultOptions$local === void 0 ? void 0 : (_defaultOptions$local2 = _defaultOptions$local.options) === null || _defaultOptions$local2 === void 0 ? void 0 : _defaultOptions$local2.firstWeekContainsDate) !== null && _ref2 !== void 0 ? _ref2 : 1);
2114
+
2115
+ // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
2116
+ if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
2117
+ throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');
2118
+ }
2119
+ var weekStartsOn = toInteger((_ref5 = (_ref6 = (_ref7 = (_options$weekStartsOn = void 0 ) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : void 0 ) !== null && _ref7 !== void 0 ? _ref7 : defaultOptions.weekStartsOn) !== null && _ref6 !== void 0 ? _ref6 : (_defaultOptions$local3 = defaultOptions.locale) === null || _defaultOptions$local3 === void 0 ? void 0 : (_defaultOptions$local4 = _defaultOptions$local3.options) === null || _defaultOptions$local4 === void 0 ? void 0 : _defaultOptions$local4.weekStartsOn) !== null && _ref5 !== void 0 ? _ref5 : 0);
2120
+
2121
+ // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
2122
+ if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
2123
+ throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
2124
+ }
2125
+ if (!locale$1.localize) {
2126
+ throw new RangeError('locale must contain localize property');
2127
+ }
2128
+ if (!locale$1.formatLong) {
2129
+ throw new RangeError('locale must contain formatLong property');
2130
+ }
2131
+ var originalDate = toDate(dirtyDate);
2132
+ if (!isValid(originalDate)) {
2133
+ throw new RangeError('Invalid time value');
2134
+ }
2135
+
2136
+ // Convert the date in system timezone to the same date in UTC+00:00 timezone.
2137
+ // This ensures that when UTC functions will be implemented, locales will be compatible with them.
2138
+ // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/376
2139
+ var timezoneOffset = getTimezoneOffsetInMilliseconds(originalDate);
2140
+ var utcDate = subMilliseconds(originalDate, timezoneOffset);
2141
+ var formatterOptions = {
2142
+ firstWeekContainsDate: firstWeekContainsDate,
2143
+ weekStartsOn: weekStartsOn,
2144
+ locale: locale$1,
2145
+ _originalDate: originalDate
2146
+ };
2147
+ var result = formatStr.match(longFormattingTokensRegExp).map(function (substring) {
2148
+ var firstCharacter = substring[0];
2149
+ if (firstCharacter === 'p' || firstCharacter === 'P') {
2150
+ var longFormatter = longFormatters[firstCharacter];
2151
+ return longFormatter(substring, locale$1.formatLong);
2152
+ }
2153
+ return substring;
2154
+ }).join('').match(formattingTokensRegExp).map(function (substring) {
2155
+ // Replace two single quote characters with one single quote character
2156
+ if (substring === "''") {
2157
+ return "'";
2158
+ }
2159
+ var firstCharacter = substring[0];
2160
+ if (firstCharacter === "'") {
2161
+ return cleanEscapedString(substring);
2162
+ }
2163
+ var formatter = formatters[firstCharacter];
2164
+ if (formatter) {
2165
+ if (isProtectedWeekYearToken(substring)) {
2166
+ throwProtectedError(substring, dirtyFormatStr, String(dirtyDate));
2167
+ }
2168
+ if (isProtectedDayOfYearToken(substring)) {
2169
+ throwProtectedError(substring, dirtyFormatStr, String(dirtyDate));
2170
+ }
2171
+ return formatter(utcDate, substring, locale$1.localize, formatterOptions);
2172
+ }
2173
+ if (firstCharacter.match(unescapedLatinCharacterRegExp)) {
2174
+ throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');
2175
+ }
2176
+ return substring;
2177
+ }).join('');
2178
+ return result;
2179
+ }
2180
+ function cleanEscapedString(input) {
2181
+ var matched = input.match(escapedStringRegExp);
2182
+ if (!matched) {
2183
+ return input;
2184
+ }
2185
+ return matched[1].replace(doubleQuoteRegExp, "'");
2186
+ }
2187
+
2188
+ export { _typeof as _, isValid as a, toInteger as b, format as f, getDefaultOptions as g, isDate as i, requiredArgs as r, toDate as t };