@ntbjs/react-components 2.0.0-rc.13 → 2.0.0-rc.27

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 (545) hide show
  1. package/build/ActionButton-4db754c3.js +85 -0
  2. package/build/Alert-e6847a22.js +131 -0
  3. package/build/Badge-d93586a9.js +214 -0
  4. package/build/Button-179a2fe4.js +442 -0
  5. package/build/Checkbox-4a5fd716.js +213 -0
  6. package/build/CompactAutocompleteSelect-52c49513.js +546 -0
  7. package/build/CompactStarRating-9af2f427.js +411 -0
  8. package/build/CompactTextInput-42ca5d42.js +516 -0
  9. package/build/InputGroup-1294d190.js +23 -0
  10. package/build/MultiLevelCheckboxSelect-d8044c88.js +604 -0
  11. package/build/MultiSelect-9f497e62.js +461 -0
  12. package/build/Popover-20050b91.js +232 -0
  13. package/build/Radio-73ca3ae2.js +134 -0
  14. package/build/SectionSeparator-f47760a2.js +31 -0
  15. package/build/Switch-ecf3122b.js +160 -0
  16. package/build/Tab-04d435c3.js +32 -0
  17. package/build/Tabs-74d1ea8a.js +159 -0
  18. package/build/TextArea-1e5b9201.js +611 -0
  19. package/build/TextInput-fab35842.js +364 -0
  20. package/build/Tooltip-c1d1199e.js +65 -0
  21. package/build/VerificationStatusIcon-49cb1c1b.js +95 -0
  22. package/{esm/node_modules/@babel/runtime/helpers/esm/extends.js → build/_rollupPluginBabelHelpers-c245b26a.js} +1 -1
  23. package/{esm/icons/arrow-forward.svg.js → build/arrow-forward-ad12c5f3.js} +4 -5
  24. package/{esm/icons/close.svg.js → build/close-a5d37608.js} +4 -5
  25. package/build/data/Alert/index.js +6 -0
  26. package/build/data/Badge/index.js +5 -0
  27. package/build/data/Popover/index.js +10 -0
  28. package/build/data/Tab/index.js +5 -0
  29. package/build/data/Tabs/index.js +7 -0
  30. package/build/data/Tooltip/index.js +7 -0
  31. package/build/data/index.js +16 -0
  32. package/{esm/node_modules/prop-types/factoryWithTypeCheckers.js → build/defaultTheme-1bcc2541.js} +578 -17
  33. package/{esm/icons/edit-note.svg.js → build/edit-note-283a0e15.js} +4 -5
  34. package/{esm/icons/expand-more.svg.js → build/expand-more-c5523c46.js} +4 -5
  35. package/build/icons/add-circle.svg +3 -0
  36. package/build/icons/add.svg +3 -0
  37. package/build/icons/album.svg +3 -0
  38. package/build/icons/arrow-back.svg +4 -0
  39. package/build/icons/arrow-drop-down.svg +4 -0
  40. package/build/icons/arrow-forward.svg +3 -0
  41. package/build/icons/audio.svg +3 -0
  42. package/build/icons/bell.svg +3 -0
  43. package/build/icons/check-circle-filled.svg +3 -0
  44. package/build/icons/check-rectangle-filled.svg +3 -0
  45. package/build/icons/check.svg +3 -0
  46. package/build/icons/clear-circle-filled.svg +14 -0
  47. package/build/icons/close.svg +4 -0
  48. package/build/icons/corporate.svg +3 -0
  49. package/build/icons/delete-context-menu.svg +4 -0
  50. package/build/icons/delete.svg +3 -0
  51. package/build/icons/design-services.svg +4 -0
  52. package/build/icons/download.svg +3 -0
  53. package/build/icons/edit-note.svg +4 -0
  54. package/build/icons/edit.svg +3 -0
  55. package/build/icons/expand-more.svg +4 -0
  56. package/build/icons/file.svg +3 -0
  57. package/build/icons/ftp.svg +3 -0
  58. package/build/icons/gear.svg +3 -0
  59. package/build/icons/headset.svg +1 -0
  60. package/build/icons/index.js +79 -0
  61. package/build/icons/layers.svg +3 -0
  62. package/build/icons/library-add.svg +3 -0
  63. package/build/icons/link.svg +4 -0
  64. package/build/icons/pdf.svg +3 -0
  65. package/build/icons/play.svg +3 -0
  66. package/build/icons/remove-circle.svg +3 -0
  67. package/build/icons/search.svg +3 -0
  68. package/build/icons/share.svg +3 -0
  69. package/build/icons/shopping_cart_add.svg +3 -0
  70. package/build/icons/star-filled.svg +3 -0
  71. package/build/icons/star.svg +3 -0
  72. package/build/icons/triangle-right.svg +4 -0
  73. package/build/icons/verification.svg +3 -0
  74. package/build/icons/warning-circle.svg +3 -0
  75. package/build/icons/warning-triangle.svg +3 -0
  76. package/build/inputs/ActionButton/index.js +6 -0
  77. package/build/inputs/Button/index.js +13 -0
  78. package/build/inputs/Checkbox/index.js +6 -0
  79. package/build/inputs/CompactAutocompleteSelect/index.js +23 -0
  80. package/build/inputs/CompactStarRating/index.js +17 -0
  81. package/build/inputs/CompactTextInput/index.js +19 -0
  82. package/build/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +26 -0
  83. package/build/inputs/MultiSelect/index.js +10 -0
  84. package/build/inputs/Radio/index.js +7 -0
  85. package/build/inputs/Switch/index.js +6 -0
  86. package/build/inputs/TextArea/index.js +20 -0
  87. package/build/inputs/TextInput/index.js +9 -0
  88. package/build/inputs/index.js +40 -0
  89. package/build/layout/InputGroup/index.js +5 -0
  90. package/build/layout/SectionSeparator/index.js +5 -0
  91. package/build/layout/index.js +6 -0
  92. package/build/shift-away-subtle-0dd94a03.js +7 -0
  93. package/build/styles/all.scss +3 -0
  94. package/build/styles/config.scss +38 -0
  95. package/{styles/utils/.colors.scss → build/styles/utils/colors.scss} +1 -1
  96. package/build/styles/utils/theme.scss +33 -0
  97. package/{esm/icons/warning-circle.svg.js → build/warning-circle-24f3efcd.js} +4 -5
  98. package/build/widgets/AssetGallery/AssetGallery.js +2356 -0
  99. package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +127 -0
  100. package/build/widgets/ContextMenu/ContextMenu.js +26 -0
  101. package/build/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +127 -0
  102. package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +37 -0
  103. package/build/widgets/InfoCard/InfoCard.js +125 -0
  104. package/build/widgets/Instructions/Instructions.js +255 -0
  105. package/build/widgets/ProgressBar/ProgressBar.js +210 -0
  106. package/package.json +49 -56
  107. package/styles/all.scss +3 -3
  108. package/styles/config.scss +38 -0
  109. package/styles/utils/colors.scss +15 -0
  110. package/styles/utils/theme.scss +0 -2
  111. package/.eslintrc +0 -19
  112. package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -84
  113. package/cjs/_virtual/index.js +0 -7
  114. package/cjs/_virtual/index2.js +0 -7
  115. package/cjs/_virtual/index3.js +0 -7
  116. package/cjs/_virtual/index4.js +0 -7
  117. package/cjs/_virtual/index5.js +0 -7
  118. package/cjs/_virtual/react-dom.development.js +0 -7
  119. package/cjs/_virtual/react-dom.production.js +0 -7
  120. package/cjs/_virtual/react-is.development.js +0 -7
  121. package/cjs/_virtual/react-is.development2.js +0 -7
  122. package/cjs/_virtual/react-is.production.min.js +0 -7
  123. package/cjs/_virtual/react-is.production.min2.js +0 -7
  124. package/cjs/_virtual/react.development.js +0 -7
  125. package/cjs/_virtual/react.production.js +0 -7
  126. package/cjs/components/data/Alert/Alert.js +0 -79
  127. package/cjs/components/data/Alert/Alert.styled.js +0 -79
  128. package/cjs/components/data/Alert/data/Alert/index.js +0 -9
  129. package/cjs/components/data/Badge/Badge.js +0 -93
  130. package/cjs/components/data/Badge/Badge.styled.js +0 -167
  131. package/cjs/components/data/Badge/data/Badge/index.js +0 -9
  132. package/cjs/components/data/Popover/Popover.js +0 -104
  133. package/cjs/components/data/Popover/Popover.styled.js +0 -159
  134. package/cjs/components/data/Popover/data/Popover/index.js +0 -9
  135. package/cjs/components/data/Tab/Tab.js +0 -31
  136. package/cjs/components/data/Tab/Tab.styled.js +0 -27
  137. package/cjs/components/data/Tab/data/Tab/index.js +0 -9
  138. package/cjs/components/data/Tabs/Tabs.js +0 -101
  139. package/cjs/components/data/Tabs/Tabs.styled.js +0 -110
  140. package/cjs/components/data/Tabs/data/Tabs/index.js +0 -9
  141. package/cjs/components/data/Tooltip/Tooltip.js +0 -52
  142. package/cjs/components/data/Tooltip/Tooltip.styled.js +0 -38
  143. package/cjs/components/data/Tooltip/data/Tooltip/index.js +0 -9
  144. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.js +0 -42
  145. package/cjs/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +0 -88
  146. package/cjs/components/data/data/index.js +0 -21
  147. package/cjs/components/inputs/ActionButton/ActionButton.js +0 -44
  148. package/cjs/components/inputs/ActionButton/ActionButton.styled.js +0 -75
  149. package/cjs/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -9
  150. package/cjs/components/inputs/Button/Button.js +0 -195
  151. package/cjs/components/inputs/Button/Button.styled.js +0 -340
  152. package/cjs/components/inputs/Button/inputs/Button/index.js +0 -9
  153. package/cjs/components/inputs/Checkbox/Checkbox.js +0 -102
  154. package/cjs/components/inputs/Checkbox/Checkbox.styled.js +0 -160
  155. package/cjs/components/inputs/Checkbox/inputs/Checkbox/index.js +0 -9
  156. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +0 -268
  157. package/cjs/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +0 -363
  158. package/cjs/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -9
  159. package/cjs/components/inputs/CompactStarRating/CompactStarRating.js +0 -177
  160. package/cjs/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -269
  161. package/cjs/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +0 -9
  162. package/cjs/components/inputs/CompactTextInput/CompactTextInput.js +0 -187
  163. package/cjs/components/inputs/CompactTextInput/CompactTextInput.styled.js +0 -406
  164. package/cjs/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +0 -9
  165. package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +0 -253
  166. package/cjs/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +0 -106
  167. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +0 -185
  168. package/cjs/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -147
  169. package/cjs/components/inputs/MultiSelect/MultiSelect.js +0 -208
  170. package/cjs/components/inputs/MultiSelect/MultiSelect.styled.js +0 -275
  171. package/cjs/components/inputs/MultiSelect/inputs/MultiSelect/index.js +0 -9
  172. package/cjs/components/inputs/Radio/Radio.js +0 -67
  173. package/cjs/components/inputs/Radio/Radio.styled.js +0 -100
  174. package/cjs/components/inputs/Radio/inputs/Radio/index.js +0 -9
  175. package/cjs/components/inputs/Switch/Switch.js +0 -69
  176. package/cjs/components/inputs/Switch/Switch.styled.js +0 -138
  177. package/cjs/components/inputs/Switch/inputs/Switch/index.js +0 -9
  178. package/cjs/components/inputs/TextArea/TextArea.js +0 -176
  179. package/cjs/components/inputs/TextArea/TextArea.styled.js +0 -530
  180. package/cjs/components/inputs/TextArea/inputs/TextArea/index.js +0 -9
  181. package/cjs/components/inputs/TextInput/TextInput.js +0 -146
  182. package/cjs/components/inputs/TextInput/TextInput.styled.js +0 -289
  183. package/cjs/components/inputs/TextInput/inputs/TextInput/index.js +0 -9
  184. package/cjs/components/inputs/inputs/index.js +0 -33
  185. package/cjs/components/layout/InputGroup/InputGroup.js +0 -26
  186. package/cjs/components/layout/InputGroup/InputGroup.styled.js +0 -23
  187. package/cjs/components/layout/InputGroup/layout/InputGroup/index.js +0 -9
  188. package/cjs/components/layout/SectionSeparator/SectionSeparator.js +0 -29
  189. package/cjs/components/layout/SectionSeparator/SectionSeparator.styled.js +0 -28
  190. package/cjs/components/layout/SectionSeparator/layout/SectionSeparator/index.js +0 -9
  191. package/cjs/components/layout/layout/index.js +0 -11
  192. package/cjs/components/widgets/AssetAction/AssetAction.js +0 -106
  193. package/cjs/components/widgets/AssetAction/AssetAction.styled.js +0 -69
  194. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -35
  195. package/cjs/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -29
  196. package/cjs/components/widgets/AssetGallery/AssetGallery.js +0 -106
  197. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +0 -395
  198. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -52
  199. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +0 -405
  200. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -385
  201. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +0 -396
  202. package/cjs/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +0 -328
  203. package/cjs/components/widgets/AssetGallery/asset.propType.js +0 -58
  204. package/cjs/components/widgets/AssetGallery/widgets/AssetGallery/index.js +0 -9
  205. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +0 -50
  206. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +0 -107
  207. package/cjs/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -9
  208. package/cjs/components/widgets/ContextMenu/ContextMenu.js +0 -29
  209. package/cjs/components/widgets/ContextMenu/ContextMenu.styled.js +0 -24
  210. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -50
  211. package/cjs/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -102
  212. package/cjs/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +0 -9
  213. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +0 -28
  214. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +0 -35
  215. package/cjs/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -9
  216. package/cjs/components/widgets/ContextMenu/widgets/ContextMenu/index.js +0 -9
  217. package/cjs/components/widgets/InfoCard/InfoCard.js +0 -47
  218. package/cjs/components/widgets/InfoCard/InfoCard.styled.js +0 -137
  219. package/cjs/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -9
  220. package/cjs/components/widgets/ProgressBar/ProgressBar.js +0 -79
  221. package/cjs/components/widgets/ProgressBar/ProgressBar.styled.js +0 -210
  222. package/cjs/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -9
  223. package/cjs/components/widgets/SummaryCard/SummaryCard.js +0 -93
  224. package/cjs/components/widgets/SummaryCard/SummaryCard.styled.js +0 -169
  225. package/cjs/components/widgets/widgets/index.js +0 -23
  226. package/cjs/hooks/useEventListner.js +0 -26
  227. package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -11
  228. package/cjs/hooks/useOnClickOutside.js +0 -17
  229. package/cjs/icons/arrow-back.svg.js +0 -20
  230. package/cjs/icons/arrow-forward.svg.js +0 -20
  231. package/cjs/icons/check-rectangle-filled.svg.js +0 -20
  232. package/cjs/icons/close.svg.js +0 -20
  233. package/cjs/icons/edit-note.svg.js +0 -20
  234. package/cjs/icons/expand-more.svg.js +0 -20
  235. package/cjs/icons/headset.svg.js +0 -20
  236. package/cjs/icons/layers.svg.js +0 -20
  237. package/cjs/icons/link.svg.js +0 -20
  238. package/cjs/icons/play.svg.js +0 -20
  239. package/cjs/icons/search.svg.js +0 -20
  240. package/cjs/icons/star-filled.svg.js +0 -20
  241. package/cjs/icons/star.svg.js +0 -20
  242. package/cjs/icons/triangle-right.svg.js +0 -20
  243. package/cjs/icons/verification.svg.js +0 -20
  244. package/cjs/icons/warning-circle.svg.js +0 -20
  245. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -11
  246. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -9
  247. package/cjs/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -11
  248. package/cjs/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -10
  249. package/cjs/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -9
  250. package/cjs/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -19
  251. package/cjs/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -22
  252. package/cjs/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -16
  253. package/cjs/node_modules/@babel/runtime/helpers/esm/extends.js +0 -15
  254. package/cjs/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -11
  255. package/cjs/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -20
  256. package/cjs/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -14
  257. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -9
  258. package/cjs/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -33
  259. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -9
  260. package/cjs/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -9
  261. package/cjs/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -29
  262. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -19
  263. package/cjs/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -15
  264. package/cjs/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -14
  265. package/cjs/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -11
  266. package/cjs/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -14
  267. package/cjs/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -13
  268. package/cjs/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -14
  269. package/cjs/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -18
  270. package/cjs/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -13
  271. package/cjs/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -15
  272. package/cjs/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -15
  273. package/cjs/node_modules/@emotion/cache/dist/emotion-cache.esm.js +0 -503
  274. package/cjs/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -59
  275. package/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -13
  276. package/cjs/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +0 -158
  277. package/cjs/node_modules/@emotion/react/dist/emotion-react.esm.js +0 -66
  278. package/cjs/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -240
  279. package/cjs/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -144
  280. package/cjs/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -56
  281. package/cjs/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +0 -16
  282. package/cjs/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -60
  283. package/cjs/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -20
  284. package/cjs/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +0 -915
  285. package/cjs/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +0 -374
  286. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +0 -130
  287. package/cjs/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -166
  288. package/cjs/node_modules/@restart/hooks/lib/useMergedRefs.js +0 -43
  289. package/cjs/node_modules/@restart/hooks/lib/useUpdateEffect.js +0 -39
  290. package/cjs/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -24
  291. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -186
  292. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -22
  293. package/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -13
  294. package/cjs/node_modules/memoize-one/dist/memoize-one.esm.js +0 -55
  295. package/cjs/node_modules/object-assign/index.js +0 -94
  296. package/cjs/node_modules/prop-types/checkPropTypes.js +0 -110
  297. package/cjs/node_modules/prop-types/factoryWithThrowingShims.js +0 -69
  298. package/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +0 -621
  299. package/cjs/node_modules/prop-types/index.js +0 -33
  300. package/cjs/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -16
  301. package/cjs/node_modules/prop-types/lib/has.js +0 -7
  302. package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -186
  303. package/cjs/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -22
  304. package/cjs/node_modules/prop-types/node_modules/react-is/index.js +0 -13
  305. package/cjs/node_modules/react/cjs/react.development.js +0 -1289
  306. package/cjs/node_modules/react/cjs/react.production.js +0 -548
  307. package/cjs/node_modules/react/index.js +0 -19
  308. package/cjs/node_modules/react-dom/cjs/react-dom.development.js +0 -432
  309. package/cjs/node_modules/react-dom/cjs/react-dom.production.js +0 -218
  310. package/cjs/node_modules/react-dom/index.js +0 -44
  311. package/cjs/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +0 -6
  312. package/cjs/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -23
  313. package/cjs/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2659
  314. package/cjs/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1426
  315. package/cjs/node_modules/react-select/dist/useCreatable-09aaeb9a.esm.js +0 -101
  316. package/cjs/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -78
  317. package/cjs/node_modules/style-inject/dist/style-inject.es.js +0 -32
  318. package/cjs/node_modules/stylis/src/Enum.js +0 -24
  319. package/cjs/node_modules/stylis/src/Middleware.js +0 -37
  320. package/cjs/node_modules/stylis/src/Parser.js +0 -201
  321. package/cjs/node_modules/stylis/src/Serializer.js +0 -43
  322. package/cjs/node_modules/stylis/src/Tokenizer.js +0 -243
  323. package/cjs/node_modules/stylis/src/Utility.js +0 -134
  324. package/cjs/node_modules/tippy.js/animations/shift-away-subtle.css.js +0 -6
  325. package/cjs/node_modules/tippy.js/dist/tippy.css.js +0 -6
  326. package/cjs/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +0 -13
  327. package/cjs/ssr/ssr/index.js +0 -12
  328. package/cjs/styles/utils/colors-export.js +0 -41
  329. package/cjs/utils/dateTime.js +0 -20
  330. package/cjs/utils/defaultTheme.js +0 -75
  331. package/doctor-storybook.log +0 -20
  332. package/esm/_virtual/_rollupPluginBabelHelpers.js +0 -74
  333. package/esm/_virtual/index.js +0 -3
  334. package/esm/_virtual/index2.js +0 -3
  335. package/esm/_virtual/index3.js +0 -3
  336. package/esm/_virtual/index4.js +0 -3
  337. package/esm/_virtual/index5.js +0 -3
  338. package/esm/_virtual/react-dom.development.js +0 -3
  339. package/esm/_virtual/react-dom.production.js +0 -3
  340. package/esm/_virtual/react-is.development.js +0 -3
  341. package/esm/_virtual/react-is.development2.js +0 -3
  342. package/esm/_virtual/react-is.production.min.js +0 -3
  343. package/esm/_virtual/react-is.production.min2.js +0 -3
  344. package/esm/_virtual/react.development.js +0 -3
  345. package/esm/_virtual/react.production.js +0 -3
  346. package/esm/components/data/Alert/Alert.js +0 -75
  347. package/esm/components/data/Alert/Alert.styled.js +0 -70
  348. package/esm/components/data/Alert/data/Alert/index.js +0 -1
  349. package/esm/components/data/Badge/Badge.js +0 -89
  350. package/esm/components/data/Badge/Badge.styled.js +0 -156
  351. package/esm/components/data/Badge/data/Badge/index.js +0 -1
  352. package/esm/components/data/Popover/Popover.js +0 -96
  353. package/esm/components/data/Popover/Popover.styled.js +0 -150
  354. package/esm/components/data/Popover/data/Popover/index.js +0 -1
  355. package/esm/components/data/Tab/Tab.js +0 -27
  356. package/esm/components/data/Tab/Tab.styled.js +0 -19
  357. package/esm/components/data/Tab/data/Tab/index.js +0 -1
  358. package/esm/components/data/Tabs/Tabs.js +0 -97
  359. package/esm/components/data/Tabs/Tabs.styled.js +0 -98
  360. package/esm/components/data/Tabs/data/Tabs/index.js +0 -1
  361. package/esm/components/data/Tooltip/Tooltip.js +0 -48
  362. package/esm/components/data/Tooltip/Tooltip.styled.js +0 -29
  363. package/esm/components/data/Tooltip/data/Tooltip/index.js +0 -1
  364. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.js +0 -38
  365. package/esm/components/data/VerificationStatusIcon/VerificationStatusIcon.styled.js +0 -78
  366. package/esm/components/data/data/index.js +0 -7
  367. package/esm/components/inputs/ActionButton/ActionButton.js +0 -40
  368. package/esm/components/inputs/ActionButton/ActionButton.styled.js +0 -67
  369. package/esm/components/inputs/ActionButton/inputs/ActionButton/index.js +0 -1
  370. package/esm/components/inputs/Button/Button.js +0 -191
  371. package/esm/components/inputs/Button/Button.styled.js +0 -323
  372. package/esm/components/inputs/Button/inputs/Button/index.js +0 -1
  373. package/esm/components/inputs/Checkbox/Checkbox.js +0 -98
  374. package/esm/components/inputs/Checkbox/Checkbox.styled.js +0 -147
  375. package/esm/components/inputs/Checkbox/inputs/Checkbox/index.js +0 -1
  376. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.js +0 -264
  377. package/esm/components/inputs/CompactAutocompleteSelect/CompactAutocompleteSelect.styled.js +0 -335
  378. package/esm/components/inputs/CompactAutocompleteSelect/inputs/CompactAutocompleteSelect/index.js +0 -1
  379. package/esm/components/inputs/CompactStarRating/CompactStarRating.js +0 -173
  380. package/esm/components/inputs/CompactStarRating/CompactStarRating.styled.js +0 -256
  381. package/esm/components/inputs/CompactStarRating/inputs/CompactStarRating/index.js +0 -1
  382. package/esm/components/inputs/CompactTextInput/CompactTextInput.js +0 -183
  383. package/esm/components/inputs/CompactTextInput/CompactTextInput.styled.js +0 -389
  384. package/esm/components/inputs/CompactTextInput/inputs/CompactTextInput/index.js +0 -1
  385. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.js +0 -247
  386. package/esm/components/inputs/MultiLevelCheckbox/MultiLevelCheckbox.styled.js +0 -92
  387. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +0 -181
  388. package/esm/components/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.styled.js +0 -129
  389. package/esm/components/inputs/MultiSelect/MultiSelect.js +0 -204
  390. package/esm/components/inputs/MultiSelect/MultiSelect.styled.js +0 -251
  391. package/esm/components/inputs/MultiSelect/inputs/MultiSelect/index.js +0 -1
  392. package/esm/components/inputs/Radio/Radio.js +0 -63
  393. package/esm/components/inputs/Radio/Radio.styled.js +0 -91
  394. package/esm/components/inputs/Radio/inputs/Radio/index.js +0 -1
  395. package/esm/components/inputs/Switch/Switch.js +0 -65
  396. package/esm/components/inputs/Switch/Switch.styled.js +0 -125
  397. package/esm/components/inputs/Switch/inputs/Switch/index.js +0 -1
  398. package/esm/components/inputs/TextArea/TextArea.js +0 -172
  399. package/esm/components/inputs/TextArea/TextArea.styled.js +0 -512
  400. package/esm/components/inputs/TextArea/inputs/TextArea/index.js +0 -1
  401. package/esm/components/inputs/TextInput/TextInput.js +0 -142
  402. package/esm/components/inputs/TextInput/TextInput.styled.js +0 -274
  403. package/esm/components/inputs/TextInput/inputs/TextInput/index.js +0 -1
  404. package/esm/components/inputs/inputs/index.js +0 -13
  405. package/esm/components/layout/InputGroup/InputGroup.js +0 -22
  406. package/esm/components/layout/InputGroup/InputGroup.styled.js +0 -15
  407. package/esm/components/layout/InputGroup/layout/InputGroup/index.js +0 -1
  408. package/esm/components/layout/SectionSeparator/SectionSeparator.js +0 -25
  409. package/esm/components/layout/SectionSeparator/SectionSeparator.styled.js +0 -20
  410. package/esm/components/layout/SectionSeparator/layout/SectionSeparator/index.js +0 -1
  411. package/esm/components/layout/layout/index.js +0 -2
  412. package/esm/components/widgets/AssetAction/AssetAction.js +0 -102
  413. package/esm/components/widgets/AssetAction/AssetAction.styled.js +0 -57
  414. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.js +0 -31
  415. package/esm/components/widgets/AssetActionsBase/AssetActionsBase.styled.js +0 -21
  416. package/esm/components/widgets/AssetGallery/AssetGallery.js +0 -102
  417. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.js +0 -387
  418. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryBase.styled.js +0 -42
  419. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.js +0 -401
  420. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryCompactCard/AssetGalleryCompactCard.styled.js +0 -358
  421. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.js +0 -392
  422. package/esm/components/widgets/AssetGallery/AssetGalleryBase/AssetGalleryGridCard/AssetGalleryGridCard.styled.js +0 -302
  423. package/esm/components/widgets/AssetGallery/asset.propType.js +0 -53
  424. package/esm/components/widgets/AssetGallery/widgets/AssetGallery/index.js +0 -1
  425. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +0 -46
  426. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.styled.js +0 -95
  427. package/esm/components/widgets/AssetPreview/AssetPreviewTopBar/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -1
  428. package/esm/components/widgets/ContextMenu/ContextMenu.js +0 -25
  429. package/esm/components/widgets/ContextMenu/ContextMenu.styled.js +0 -16
  430. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js +0 -46
  431. package/esm/components/widgets/ContextMenu/ContextMenuItem/ContextMenuItem.styled.js +0 -92
  432. package/esm/components/widgets/ContextMenu/ContextMenuItem/widgets/ContextMenu/ContextMenuItem/index.js +0 -1
  433. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +0 -24
  434. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.styled.js +0 -27
  435. package/esm/components/widgets/ContextMenu/ContextMenuItemsGroup/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -1
  436. package/esm/components/widgets/ContextMenu/widgets/ContextMenu/index.js +0 -1
  437. package/esm/components/widgets/InfoCard/InfoCard.js +0 -43
  438. package/esm/components/widgets/InfoCard/InfoCard.styled.js +0 -121
  439. package/esm/components/widgets/InfoCard/widgets/InfoCard/index.js +0 -1
  440. package/esm/components/widgets/ProgressBar/ProgressBar.js +0 -75
  441. package/esm/components/widgets/ProgressBar/ProgressBar.styled.js +0 -191
  442. package/esm/components/widgets/ProgressBar/widgets/ProgressBar/index.js +0 -1
  443. package/esm/components/widgets/SummaryCard/SummaryCard.js +0 -89
  444. package/esm/components/widgets/SummaryCard/SummaryCard.styled.js +0 -151
  445. package/esm/components/widgets/widgets/index.js +0 -8
  446. package/esm/hooks/useEventListner.js +0 -22
  447. package/esm/hooks/useIsomorphicLayoutEffect.js +0 -7
  448. package/esm/hooks/useOnClickOutside.js +0 -13
  449. package/esm/icons/arrow-back.svg.js +0 -16
  450. package/esm/icons/check-rectangle-filled.svg.js +0 -16
  451. package/esm/icons/headset.svg.js +0 -16
  452. package/esm/icons/layers.svg.js +0 -16
  453. package/esm/icons/link.svg.js +0 -16
  454. package/esm/icons/play.svg.js +0 -16
  455. package/esm/icons/search.svg.js +0 -16
  456. package/esm/icons/star-filled.svg.js +0 -16
  457. package/esm/icons/star.svg.js +0 -16
  458. package/esm/icons/triangle-right.svg.js +0 -16
  459. package/esm/icons/verification.svg.js +0 -16
  460. package/esm/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -7
  461. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -5
  462. package/esm/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -7
  463. package/esm/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -6
  464. package/esm/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -5
  465. package/esm/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
  466. package/esm/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -18
  467. package/esm/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -12
  468. package/esm/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -7
  469. package/esm/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -16
  470. package/esm/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -10
  471. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -5
  472. package/esm/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -29
  473. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -5
  474. package/esm/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -5
  475. package/esm/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -25
  476. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -15
  477. package/esm/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -11
  478. package/esm/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -10
  479. package/esm/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -7
  480. package/esm/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -10
  481. package/esm/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -9
  482. package/esm/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -10
  483. package/esm/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -14
  484. package/esm/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -9
  485. package/esm/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -11
  486. package/esm/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -11
  487. package/esm/node_modules/@emotion/cache/dist/emotion-cache.esm.js +0 -499
  488. package/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -55
  489. package/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -9
  490. package/esm/node_modules/@emotion/react/dist/emotion-element-d59e098f.esm.js +0 -149
  491. package/esm/node_modules/@emotion/react/dist/emotion-react.esm.js +0 -56
  492. package/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -236
  493. package/esm/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -140
  494. package/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -52
  495. package/esm/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.esm.js +0 -12
  496. package/esm/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -54
  497. package/esm/node_modules/@emotion/weak-memoize/dist/emotion-weak-memoize.esm.js +0 -16
  498. package/esm/node_modules/@floating-ui/core/dist/floating-ui.core.mjs.js +0 -902
  499. package/esm/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs.js +0 -370
  500. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs.js +0 -112
  501. package/esm/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs.js +0 -139
  502. package/esm/node_modules/@restart/hooks/lib/useMergedRefs.js +0 -38
  503. package/esm/node_modules/@restart/hooks/lib/useUpdateEffect.js +0 -35
  504. package/esm/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -22
  505. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -181
  506. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -17
  507. package/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -11
  508. package/esm/node_modules/memoize-one/dist/memoize-one.esm.js +0 -51
  509. package/esm/node_modules/object-assign/index.js +0 -90
  510. package/esm/node_modules/prop-types/checkPropTypes.js +0 -106
  511. package/esm/node_modules/prop-types/factoryWithThrowingShims.js +0 -65
  512. package/esm/node_modules/prop-types/index.js +0 -29
  513. package/esm/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -12
  514. package/esm/node_modules/prop-types/lib/has.js +0 -3
  515. package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -181
  516. package/esm/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -17
  517. package/esm/node_modules/prop-types/node_modules/react-is/index.js +0 -11
  518. package/esm/node_modules/react/cjs/react.development.js +0 -1287
  519. package/esm/node_modules/react/cjs/react.production.js +0 -543
  520. package/esm/node_modules/react/index.js +0 -15
  521. package/esm/node_modules/react-dom/cjs/react-dom.development.js +0 -427
  522. package/esm/node_modules/react-dom/cjs/react-dom.production.js +0 -213
  523. package/esm/node_modules/react-dom/index.js +0 -42
  524. package/esm/node_modules/react-lazy-load-image-component/src/effects/opacity.css.js +0 -4
  525. package/esm/node_modules/react-select/creatable/dist/react-select-creatable.esm.js +0 -19
  526. package/esm/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2650
  527. package/esm/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -1385
  528. package/esm/node_modules/react-select/dist/useCreatable-09aaeb9a.esm.js +0 -97
  529. package/esm/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -74
  530. package/esm/node_modules/style-inject/dist/style-inject.es.js +0 -28
  531. package/esm/node_modules/stylis/src/Enum.js +0 -12
  532. package/esm/node_modules/stylis/src/Middleware.js +0 -32
  533. package/esm/node_modules/stylis/src/Parser.js +0 -193
  534. package/esm/node_modules/stylis/src/Serializer.js +0 -38
  535. package/esm/node_modules/stylis/src/Tokenizer.js +0 -223
  536. package/esm/node_modules/stylis/src/Utility.js +0 -117
  537. package/esm/node_modules/tippy.js/animations/shift-away-subtle.css.js +0 -4
  538. package/esm/node_modules/tippy.js/dist/tippy.css.js +0 -4
  539. package/esm/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.esm.js +0 -9
  540. package/esm/styles/utils/colors-export.js +0 -37
  541. package/esm/utils/dateTime.js +0 -16
  542. package/esm/utils/defaultTheme.js +0 -70
  543. package/migration-storybook.log +0 -392
  544. package/styles/utils/colors-export.js +0 -35
  545. /package/{esm/ssr → build}/ssr/index.js +0 -0
@@ -1,1289 +0,0 @@
1
- 'use strict';
2
-
3
- var react_development = require('../../../_virtual/react.development.js');
4
-
5
- /**
6
- * @license React
7
- * react.development.js
8
- *
9
- * Copyright (c) Meta Platforms, Inc. and affiliates.
10
- *
11
- * This source code is licensed under the MIT license found in the
12
- * LICENSE file in the root directory of this source tree.
13
- */
14
-
15
- (function (module, exports) {
16
- "production" !== process.env.NODE_ENV &&
17
- (function () {
18
- function defineDeprecationWarning(methodName, info) {
19
- Object.defineProperty(Component.prototype, methodName, {
20
- get: function () {
21
- console.warn(
22
- "%s(...) is deprecated in plain JavaScript React classes. %s",
23
- info[0],
24
- info[1]
25
- );
26
- }
27
- });
28
- }
29
- function getIteratorFn(maybeIterable) {
30
- if (null === maybeIterable || "object" !== typeof maybeIterable)
31
- return null;
32
- maybeIterable =
33
- (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
34
- maybeIterable["@@iterator"];
35
- return "function" === typeof maybeIterable ? maybeIterable : null;
36
- }
37
- function warnNoop(publicInstance, callerName) {
38
- publicInstance =
39
- ((publicInstance = publicInstance.constructor) &&
40
- (publicInstance.displayName || publicInstance.name)) ||
41
- "ReactClass";
42
- var warningKey = publicInstance + "." + callerName;
43
- didWarnStateUpdateForUnmountedComponent[warningKey] ||
44
- (console.error(
45
- "Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",
46
- callerName,
47
- publicInstance
48
- ),
49
- (didWarnStateUpdateForUnmountedComponent[warningKey] = !0));
50
- }
51
- function Component(props, context, updater) {
52
- this.props = props;
53
- this.context = context;
54
- this.refs = emptyObject;
55
- this.updater = updater || ReactNoopUpdateQueue;
56
- }
57
- function ComponentDummy() {}
58
- function PureComponent(props, context, updater) {
59
- this.props = props;
60
- this.context = context;
61
- this.refs = emptyObject;
62
- this.updater = updater || ReactNoopUpdateQueue;
63
- }
64
- function noop() {}
65
- function testStringCoercion(value) {
66
- return "" + value;
67
- }
68
- function checkKeyStringCoercion(value) {
69
- try {
70
- testStringCoercion(value);
71
- var JSCompiler_inline_result = !1;
72
- } catch (e) {
73
- JSCompiler_inline_result = !0;
74
- }
75
- if (JSCompiler_inline_result) {
76
- JSCompiler_inline_result = console;
77
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
78
- var JSCompiler_inline_result$jscomp$0 =
79
- ("function" === typeof Symbol &&
80
- Symbol.toStringTag &&
81
- value[Symbol.toStringTag]) ||
82
- value.constructor.name ||
83
- "Object";
84
- JSCompiler_temp_const.call(
85
- JSCompiler_inline_result,
86
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
87
- JSCompiler_inline_result$jscomp$0
88
- );
89
- return testStringCoercion(value);
90
- }
91
- }
92
- function getComponentNameFromType(type) {
93
- if (null == type) return null;
94
- if ("function" === typeof type)
95
- return type.$$typeof === REACT_CLIENT_REFERENCE
96
- ? null
97
- : type.displayName || type.name || null;
98
- if ("string" === typeof type) return type;
99
- switch (type) {
100
- case REACT_FRAGMENT_TYPE:
101
- return "Fragment";
102
- case REACT_PROFILER_TYPE:
103
- return "Profiler";
104
- case REACT_STRICT_MODE_TYPE:
105
- return "StrictMode";
106
- case REACT_SUSPENSE_TYPE:
107
- return "Suspense";
108
- case REACT_SUSPENSE_LIST_TYPE:
109
- return "SuspenseList";
110
- case REACT_ACTIVITY_TYPE:
111
- return "Activity";
112
- }
113
- if ("object" === typeof type)
114
- switch (
115
- ("number" === typeof type.tag &&
116
- console.error(
117
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
118
- ),
119
- type.$$typeof)
120
- ) {
121
- case REACT_PORTAL_TYPE:
122
- return "Portal";
123
- case REACT_CONTEXT_TYPE:
124
- return type.displayName || "Context";
125
- case REACT_CONSUMER_TYPE:
126
- return (type._context.displayName || "Context") + ".Consumer";
127
- case REACT_FORWARD_REF_TYPE:
128
- var innerType = type.render;
129
- type = type.displayName;
130
- type ||
131
- ((type = innerType.displayName || innerType.name || ""),
132
- (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
133
- return type;
134
- case REACT_MEMO_TYPE:
135
- return (
136
- (innerType = type.displayName || null),
137
- null !== innerType
138
- ? innerType
139
- : getComponentNameFromType(type.type) || "Memo"
140
- );
141
- case REACT_LAZY_TYPE:
142
- innerType = type._payload;
143
- type = type._init;
144
- try {
145
- return getComponentNameFromType(type(innerType));
146
- } catch (x) {}
147
- }
148
- return null;
149
- }
150
- function getTaskName(type) {
151
- if (type === REACT_FRAGMENT_TYPE) return "<>";
152
- if (
153
- "object" === typeof type &&
154
- null !== type &&
155
- type.$$typeof === REACT_LAZY_TYPE
156
- )
157
- return "<...>";
158
- try {
159
- var name = getComponentNameFromType(type);
160
- return name ? "<" + name + ">" : "<...>";
161
- } catch (x) {
162
- return "<...>";
163
- }
164
- }
165
- function getOwner() {
166
- var dispatcher = ReactSharedInternals.A;
167
- return null === dispatcher ? null : dispatcher.getOwner();
168
- }
169
- function UnknownOwner() {
170
- return Error("react-stack-top-frame");
171
- }
172
- function hasValidKey(config) {
173
- if (hasOwnProperty.call(config, "key")) {
174
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
175
- if (getter && getter.isReactWarning) return !1;
176
- }
177
- return void 0 !== config.key;
178
- }
179
- function defineKeyPropWarningGetter(props, displayName) {
180
- function warnAboutAccessingKey() {
181
- specialPropKeyWarningShown ||
182
- ((specialPropKeyWarningShown = !0),
183
- console.error(
184
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
185
- displayName
186
- ));
187
- }
188
- warnAboutAccessingKey.isReactWarning = !0;
189
- Object.defineProperty(props, "key", {
190
- get: warnAboutAccessingKey,
191
- configurable: !0
192
- });
193
- }
194
- function elementRefGetterWithDeprecationWarning() {
195
- var componentName = getComponentNameFromType(this.type);
196
- didWarnAboutElementRef[componentName] ||
197
- ((didWarnAboutElementRef[componentName] = !0),
198
- console.error(
199
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
200
- ));
201
- componentName = this.props.ref;
202
- return void 0 !== componentName ? componentName : null;
203
- }
204
- function ReactElement(type, key, props, owner, debugStack, debugTask) {
205
- var refProp = props.ref;
206
- type = {
207
- $$typeof: REACT_ELEMENT_TYPE,
208
- type: type,
209
- key: key,
210
- props: props,
211
- _owner: owner
212
- };
213
- null !== (void 0 !== refProp ? refProp : null)
214
- ? Object.defineProperty(type, "ref", {
215
- enumerable: !1,
216
- get: elementRefGetterWithDeprecationWarning
217
- })
218
- : Object.defineProperty(type, "ref", { enumerable: !1, value: null });
219
- type._store = {};
220
- Object.defineProperty(type._store, "validated", {
221
- configurable: !1,
222
- enumerable: !1,
223
- writable: !0,
224
- value: 0
225
- });
226
- Object.defineProperty(type, "_debugInfo", {
227
- configurable: !1,
228
- enumerable: !1,
229
- writable: !0,
230
- value: null
231
- });
232
- Object.defineProperty(type, "_debugStack", {
233
- configurable: !1,
234
- enumerable: !1,
235
- writable: !0,
236
- value: debugStack
237
- });
238
- Object.defineProperty(type, "_debugTask", {
239
- configurable: !1,
240
- enumerable: !1,
241
- writable: !0,
242
- value: debugTask
243
- });
244
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
245
- return type;
246
- }
247
- function cloneAndReplaceKey(oldElement, newKey) {
248
- newKey = ReactElement(
249
- oldElement.type,
250
- newKey,
251
- oldElement.props,
252
- oldElement._owner,
253
- oldElement._debugStack,
254
- oldElement._debugTask
255
- );
256
- oldElement._store &&
257
- (newKey._store.validated = oldElement._store.validated);
258
- return newKey;
259
- }
260
- function validateChildKeys(node) {
261
- isValidElement(node)
262
- ? node._store && (node._store.validated = 1)
263
- : "object" === typeof node &&
264
- null !== node &&
265
- node.$$typeof === REACT_LAZY_TYPE &&
266
- ("fulfilled" === node._payload.status
267
- ? isValidElement(node._payload.value) &&
268
- node._payload.value._store &&
269
- (node._payload.value._store.validated = 1)
270
- : node._store && (node._store.validated = 1));
271
- }
272
- function isValidElement(object) {
273
- return (
274
- "object" === typeof object &&
275
- null !== object &&
276
- object.$$typeof === REACT_ELEMENT_TYPE
277
- );
278
- }
279
- function escape(key) {
280
- var escaperLookup = { "=": "=0", ":": "=2" };
281
- return (
282
- "$" +
283
- key.replace(/[=:]/g, function (match) {
284
- return escaperLookup[match];
285
- })
286
- );
287
- }
288
- function getElementKey(element, index) {
289
- return "object" === typeof element &&
290
- null !== element &&
291
- null != element.key
292
- ? (checkKeyStringCoercion(element.key), escape("" + element.key))
293
- : index.toString(36);
294
- }
295
- function resolveThenable(thenable) {
296
- switch (thenable.status) {
297
- case "fulfilled":
298
- return thenable.value;
299
- case "rejected":
300
- throw thenable.reason;
301
- default:
302
- switch (
303
- ("string" === typeof thenable.status
304
- ? thenable.then(noop, noop)
305
- : ((thenable.status = "pending"),
306
- thenable.then(
307
- function (fulfilledValue) {
308
- "pending" === thenable.status &&
309
- ((thenable.status = "fulfilled"),
310
- (thenable.value = fulfilledValue));
311
- },
312
- function (error) {
313
- "pending" === thenable.status &&
314
- ((thenable.status = "rejected"),
315
- (thenable.reason = error));
316
- }
317
- )),
318
- thenable.status)
319
- ) {
320
- case "fulfilled":
321
- return thenable.value;
322
- case "rejected":
323
- throw thenable.reason;
324
- }
325
- }
326
- throw thenable;
327
- }
328
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
329
- var type = typeof children;
330
- if ("undefined" === type || "boolean" === type) children = null;
331
- var invokeCallback = !1;
332
- if (null === children) invokeCallback = !0;
333
- else
334
- switch (type) {
335
- case "bigint":
336
- case "string":
337
- case "number":
338
- invokeCallback = !0;
339
- break;
340
- case "object":
341
- switch (children.$$typeof) {
342
- case REACT_ELEMENT_TYPE:
343
- case REACT_PORTAL_TYPE:
344
- invokeCallback = !0;
345
- break;
346
- case REACT_LAZY_TYPE:
347
- return (
348
- (invokeCallback = children._init),
349
- mapIntoArray(
350
- invokeCallback(children._payload),
351
- array,
352
- escapedPrefix,
353
- nameSoFar,
354
- callback
355
- )
356
- );
357
- }
358
- }
359
- if (invokeCallback) {
360
- invokeCallback = children;
361
- callback = callback(invokeCallback);
362
- var childKey =
363
- "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
364
- isArrayImpl(callback)
365
- ? ((escapedPrefix = ""),
366
- null != childKey &&
367
- (escapedPrefix =
368
- childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"),
369
- mapIntoArray(callback, array, escapedPrefix, "", function (c) {
370
- return c;
371
- }))
372
- : null != callback &&
373
- (isValidElement(callback) &&
374
- (null != callback.key &&
375
- ((invokeCallback && invokeCallback.key === callback.key) ||
376
- checkKeyStringCoercion(callback.key)),
377
- (escapedPrefix = cloneAndReplaceKey(
378
- callback,
379
- escapedPrefix +
380
- (null == callback.key ||
381
- (invokeCallback && invokeCallback.key === callback.key)
382
- ? ""
383
- : ("" + callback.key).replace(
384
- userProvidedKeyEscapeRegex,
385
- "$&/"
386
- ) + "/") +
387
- childKey
388
- )),
389
- "" !== nameSoFar &&
390
- null != invokeCallback &&
391
- isValidElement(invokeCallback) &&
392
- null == invokeCallback.key &&
393
- invokeCallback._store &&
394
- !invokeCallback._store.validated &&
395
- (escapedPrefix._store.validated = 2),
396
- (callback = escapedPrefix)),
397
- array.push(callback));
398
- return 1;
399
- }
400
- invokeCallback = 0;
401
- childKey = "" === nameSoFar ? "." : nameSoFar + ":";
402
- if (isArrayImpl(children))
403
- for (var i = 0; i < children.length; i++)
404
- (nameSoFar = children[i]),
405
- (type = childKey + getElementKey(nameSoFar, i)),
406
- (invokeCallback += mapIntoArray(
407
- nameSoFar,
408
- array,
409
- escapedPrefix,
410
- type,
411
- callback
412
- ));
413
- else if (((i = getIteratorFn(children)), "function" === typeof i))
414
- for (
415
- i === children.entries &&
416
- (didWarnAboutMaps ||
417
- console.warn(
418
- "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
419
- ),
420
- (didWarnAboutMaps = !0)),
421
- children = i.call(children),
422
- i = 0;
423
- !(nameSoFar = children.next()).done;
424
-
425
- )
426
- (nameSoFar = nameSoFar.value),
427
- (type = childKey + getElementKey(nameSoFar, i++)),
428
- (invokeCallback += mapIntoArray(
429
- nameSoFar,
430
- array,
431
- escapedPrefix,
432
- type,
433
- callback
434
- ));
435
- else if ("object" === type) {
436
- if ("function" === typeof children.then)
437
- return mapIntoArray(
438
- resolveThenable(children),
439
- array,
440
- escapedPrefix,
441
- nameSoFar,
442
- callback
443
- );
444
- array = String(children);
445
- throw Error(
446
- "Objects are not valid as a React child (found: " +
447
- ("[object Object]" === array
448
- ? "object with keys {" + Object.keys(children).join(", ") + "}"
449
- : array) +
450
- "). If you meant to render a collection of children, use an array instead."
451
- );
452
- }
453
- return invokeCallback;
454
- }
455
- function mapChildren(children, func, context) {
456
- if (null == children) return children;
457
- var result = [],
458
- count = 0;
459
- mapIntoArray(children, result, "", "", function (child) {
460
- return func.call(context, child, count++);
461
- });
462
- return result;
463
- }
464
- function lazyInitializer(payload) {
465
- if (-1 === payload._status) {
466
- var ioInfo = payload._ioInfo;
467
- null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
468
- ioInfo = payload._result;
469
- var thenable = ioInfo();
470
- thenable.then(
471
- function (moduleObject) {
472
- if (0 === payload._status || -1 === payload._status) {
473
- payload._status = 1;
474
- payload._result = moduleObject;
475
- var _ioInfo = payload._ioInfo;
476
- null != _ioInfo && (_ioInfo.end = performance.now());
477
- void 0 === thenable.status &&
478
- ((thenable.status = "fulfilled"),
479
- (thenable.value = moduleObject));
480
- }
481
- },
482
- function (error) {
483
- if (0 === payload._status || -1 === payload._status) {
484
- payload._status = 2;
485
- payload._result = error;
486
- var _ioInfo2 = payload._ioInfo;
487
- null != _ioInfo2 && (_ioInfo2.end = performance.now());
488
- void 0 === thenable.status &&
489
- ((thenable.status = "rejected"), (thenable.reason = error));
490
- }
491
- }
492
- );
493
- ioInfo = payload._ioInfo;
494
- if (null != ioInfo) {
495
- ioInfo.value = thenable;
496
- var displayName = thenable.displayName;
497
- "string" === typeof displayName && (ioInfo.name = displayName);
498
- }
499
- -1 === payload._status &&
500
- ((payload._status = 0), (payload._result = thenable));
501
- }
502
- if (1 === payload._status)
503
- return (
504
- (ioInfo = payload._result),
505
- void 0 === ioInfo &&
506
- console.error(
507
- "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
508
- ioInfo
509
- ),
510
- "default" in ioInfo ||
511
- console.error(
512
- "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
513
- ioInfo
514
- ),
515
- ioInfo.default
516
- );
517
- throw payload._result;
518
- }
519
- function resolveDispatcher() {
520
- var dispatcher = ReactSharedInternals.H;
521
- null === dispatcher &&
522
- console.error(
523
- "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
524
- );
525
- return dispatcher;
526
- }
527
- function releaseAsyncTransition() {
528
- ReactSharedInternals.asyncTransitions--;
529
- }
530
- function enqueueTask(task) {
531
- if (null === enqueueTaskImpl)
532
- try {
533
- var requireString = ("require" + Math.random()).slice(0, 7);
534
- enqueueTaskImpl = (module && module[requireString]).call(
535
- module,
536
- "timers"
537
- ).setImmediate;
538
- } catch (_err) {
539
- enqueueTaskImpl = function (callback) {
540
- !1 === didWarnAboutMessageChannel &&
541
- ((didWarnAboutMessageChannel = !0),
542
- "undefined" === typeof MessageChannel &&
543
- console.error(
544
- "This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
545
- ));
546
- var channel = new MessageChannel();
547
- channel.port1.onmessage = callback;
548
- channel.port2.postMessage(void 0);
549
- };
550
- }
551
- return enqueueTaskImpl(task);
552
- }
553
- function aggregateErrors(errors) {
554
- return 1 < errors.length && "function" === typeof AggregateError
555
- ? new AggregateError(errors)
556
- : errors[0];
557
- }
558
- function popActScope(prevActQueue, prevActScopeDepth) {
559
- prevActScopeDepth !== actScopeDepth - 1 &&
560
- console.error(
561
- "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
562
- );
563
- actScopeDepth = prevActScopeDepth;
564
- }
565
- function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
566
- var queue = ReactSharedInternals.actQueue;
567
- if (null !== queue)
568
- if (0 !== queue.length)
569
- try {
570
- flushActQueue(queue);
571
- enqueueTask(function () {
572
- return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
573
- });
574
- return;
575
- } catch (error) {
576
- ReactSharedInternals.thrownErrors.push(error);
577
- }
578
- else ReactSharedInternals.actQueue = null;
579
- 0 < ReactSharedInternals.thrownErrors.length
580
- ? ((queue = aggregateErrors(ReactSharedInternals.thrownErrors)),
581
- (ReactSharedInternals.thrownErrors.length = 0),
582
- reject(queue))
583
- : resolve(returnValue);
584
- }
585
- function flushActQueue(queue) {
586
- if (!isFlushing) {
587
- isFlushing = !0;
588
- var i = 0;
589
- try {
590
- for (; i < queue.length; i++) {
591
- var callback = queue[i];
592
- do {
593
- ReactSharedInternals.didUsePromise = !1;
594
- var continuation = callback(!1);
595
- if (null !== continuation) {
596
- if (ReactSharedInternals.didUsePromise) {
597
- queue[i] = callback;
598
- queue.splice(0, i);
599
- return;
600
- }
601
- callback = continuation;
602
- } else break;
603
- } while (1);
604
- }
605
- queue.length = 0;
606
- } catch (error) {
607
- queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
608
- } finally {
609
- isFlushing = !1;
610
- }
611
- }
612
- }
613
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
614
- "function" ===
615
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
616
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
617
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
618
- REACT_PORTAL_TYPE = Symbol.for("react.portal"),
619
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
620
- REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
621
- REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
622
- REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
623
- REACT_CONTEXT_TYPE = Symbol.for("react.context"),
624
- REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
625
- REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
626
- REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
627
- REACT_MEMO_TYPE = Symbol.for("react.memo"),
628
- REACT_LAZY_TYPE = Symbol.for("react.lazy"),
629
- REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
630
- MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
631
- didWarnStateUpdateForUnmountedComponent = {},
632
- ReactNoopUpdateQueue = {
633
- isMounted: function () {
634
- return !1;
635
- },
636
- enqueueForceUpdate: function (publicInstance) {
637
- warnNoop(publicInstance, "forceUpdate");
638
- },
639
- enqueueReplaceState: function (publicInstance) {
640
- warnNoop(publicInstance, "replaceState");
641
- },
642
- enqueueSetState: function (publicInstance) {
643
- warnNoop(publicInstance, "setState");
644
- }
645
- },
646
- assign = Object.assign,
647
- emptyObject = {};
648
- Object.freeze(emptyObject);
649
- Component.prototype.isReactComponent = {};
650
- Component.prototype.setState = function (partialState, callback) {
651
- if (
652
- "object" !== typeof partialState &&
653
- "function" !== typeof partialState &&
654
- null != partialState
655
- )
656
- throw Error(
657
- "takes an object of state variables to update or a function which returns an object of state variables."
658
- );
659
- this.updater.enqueueSetState(this, partialState, callback, "setState");
660
- };
661
- Component.prototype.forceUpdate = function (callback) {
662
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
663
- };
664
- var deprecatedAPIs = {
665
- isMounted: [
666
- "isMounted",
667
- "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
668
- ],
669
- replaceState: [
670
- "replaceState",
671
- "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
672
- ]
673
- };
674
- for (fnName in deprecatedAPIs)
675
- deprecatedAPIs.hasOwnProperty(fnName) &&
676
- defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
677
- ComponentDummy.prototype = Component.prototype;
678
- deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
679
- deprecatedAPIs.constructor = PureComponent;
680
- assign(deprecatedAPIs, Component.prototype);
681
- deprecatedAPIs.isPureReactComponent = !0;
682
- var isArrayImpl = Array.isArray,
683
- REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
684
- ReactSharedInternals = {
685
- H: null,
686
- A: null,
687
- T: null,
688
- S: null,
689
- actQueue: null,
690
- asyncTransitions: 0,
691
- isBatchingLegacy: !1,
692
- didScheduleLegacyUpdate: !1,
693
- didUsePromise: !1,
694
- thrownErrors: [],
695
- getCurrentStack: null,
696
- recentlyCreatedOwnerStacks: 0
697
- },
698
- hasOwnProperty = Object.prototype.hasOwnProperty,
699
- createTask = console.createTask
700
- ? console.createTask
701
- : function () {
702
- return null;
703
- };
704
- deprecatedAPIs = {
705
- react_stack_bottom_frame: function (callStackForError) {
706
- return callStackForError();
707
- }
708
- };
709
- var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
710
- var didWarnAboutElementRef = {};
711
- var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(
712
- deprecatedAPIs,
713
- UnknownOwner
714
- )();
715
- var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
716
- var didWarnAboutMaps = !1,
717
- userProvidedKeyEscapeRegex = /\/+/g,
718
- reportGlobalError =
719
- "function" === typeof reportError
720
- ? reportError
721
- : function (error) {
722
- if (
723
- "object" === typeof window &&
724
- "function" === typeof window.ErrorEvent
725
- ) {
726
- var event = new window.ErrorEvent("error", {
727
- bubbles: !0,
728
- cancelable: !0,
729
- message:
730
- "object" === typeof error &&
731
- null !== error &&
732
- "string" === typeof error.message
733
- ? String(error.message)
734
- : String(error),
735
- error: error
736
- });
737
- if (!window.dispatchEvent(event)) return;
738
- } else if (
739
- "object" === typeof process &&
740
- "function" === typeof process.emit
741
- ) {
742
- process.emit("uncaughtException", error);
743
- return;
744
- }
745
- console.error(error);
746
- },
747
- didWarnAboutMessageChannel = !1,
748
- enqueueTaskImpl = null,
749
- actScopeDepth = 0,
750
- didWarnNoAwaitAct = !1,
751
- isFlushing = !1,
752
- queueSeveralMicrotasks =
753
- "function" === typeof queueMicrotask
754
- ? function (callback) {
755
- queueMicrotask(function () {
756
- return queueMicrotask(callback);
757
- });
758
- }
759
- : enqueueTask;
760
- deprecatedAPIs = Object.freeze({
761
- __proto__: null,
762
- c: function (size) {
763
- return resolveDispatcher().useMemoCache(size);
764
- }
765
- });
766
- var fnName = {
767
- map: mapChildren,
768
- forEach: function (children, forEachFunc, forEachContext) {
769
- mapChildren(
770
- children,
771
- function () {
772
- forEachFunc.apply(this, arguments);
773
- },
774
- forEachContext
775
- );
776
- },
777
- count: function (children) {
778
- var n = 0;
779
- mapChildren(children, function () {
780
- n++;
781
- });
782
- return n;
783
- },
784
- toArray: function (children) {
785
- return (
786
- mapChildren(children, function (child) {
787
- return child;
788
- }) || []
789
- );
790
- },
791
- only: function (children) {
792
- if (!isValidElement(children))
793
- throw Error(
794
- "React.Children.only expected to receive a single React element child."
795
- );
796
- return children;
797
- }
798
- };
799
- exports.Activity = REACT_ACTIVITY_TYPE;
800
- exports.Children = fnName;
801
- exports.Component = Component;
802
- exports.Fragment = REACT_FRAGMENT_TYPE;
803
- exports.Profiler = REACT_PROFILER_TYPE;
804
- exports.PureComponent = PureComponent;
805
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
806
- exports.Suspense = REACT_SUSPENSE_TYPE;
807
- exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
808
- ReactSharedInternals;
809
- exports.__COMPILER_RUNTIME = deprecatedAPIs;
810
- exports.act = function (callback) {
811
- var prevActQueue = ReactSharedInternals.actQueue,
812
- prevActScopeDepth = actScopeDepth;
813
- actScopeDepth++;
814
- var queue = (ReactSharedInternals.actQueue =
815
- null !== prevActQueue ? prevActQueue : []),
816
- didAwaitActCall = !1;
817
- try {
818
- var result = callback();
819
- } catch (error) {
820
- ReactSharedInternals.thrownErrors.push(error);
821
- }
822
- if (0 < ReactSharedInternals.thrownErrors.length)
823
- throw (
824
- (popActScope(prevActQueue, prevActScopeDepth),
825
- (callback = aggregateErrors(ReactSharedInternals.thrownErrors)),
826
- (ReactSharedInternals.thrownErrors.length = 0),
827
- callback)
828
- );
829
- if (
830
- null !== result &&
831
- "object" === typeof result &&
832
- "function" === typeof result.then
833
- ) {
834
- var thenable = result;
835
- queueSeveralMicrotasks(function () {
836
- didAwaitActCall ||
837
- didWarnNoAwaitAct ||
838
- ((didWarnNoAwaitAct = !0),
839
- console.error(
840
- "You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
841
- ));
842
- });
843
- return {
844
- then: function (resolve, reject) {
845
- didAwaitActCall = !0;
846
- thenable.then(
847
- function (returnValue) {
848
- popActScope(prevActQueue, prevActScopeDepth);
849
- if (0 === prevActScopeDepth) {
850
- try {
851
- flushActQueue(queue),
852
- enqueueTask(function () {
853
- return recursivelyFlushAsyncActWork(
854
- returnValue,
855
- resolve,
856
- reject
857
- );
858
- });
859
- } catch (error$0) {
860
- ReactSharedInternals.thrownErrors.push(error$0);
861
- }
862
- if (0 < ReactSharedInternals.thrownErrors.length) {
863
- var _thrownError = aggregateErrors(
864
- ReactSharedInternals.thrownErrors
865
- );
866
- ReactSharedInternals.thrownErrors.length = 0;
867
- reject(_thrownError);
868
- }
869
- } else resolve(returnValue);
870
- },
871
- function (error) {
872
- popActScope(prevActQueue, prevActScopeDepth);
873
- 0 < ReactSharedInternals.thrownErrors.length
874
- ? ((error = aggregateErrors(
875
- ReactSharedInternals.thrownErrors
876
- )),
877
- (ReactSharedInternals.thrownErrors.length = 0),
878
- reject(error))
879
- : reject(error);
880
- }
881
- );
882
- }
883
- };
884
- }
885
- var returnValue$jscomp$0 = result;
886
- popActScope(prevActQueue, prevActScopeDepth);
887
- 0 === prevActScopeDepth &&
888
- (flushActQueue(queue),
889
- 0 !== queue.length &&
890
- queueSeveralMicrotasks(function () {
891
- didAwaitActCall ||
892
- didWarnNoAwaitAct ||
893
- ((didWarnNoAwaitAct = !0),
894
- console.error(
895
- "A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
896
- ));
897
- }),
898
- (ReactSharedInternals.actQueue = null));
899
- if (0 < ReactSharedInternals.thrownErrors.length)
900
- throw (
901
- ((callback = aggregateErrors(ReactSharedInternals.thrownErrors)),
902
- (ReactSharedInternals.thrownErrors.length = 0),
903
- callback)
904
- );
905
- return {
906
- then: function (resolve, reject) {
907
- didAwaitActCall = !0;
908
- 0 === prevActScopeDepth
909
- ? ((ReactSharedInternals.actQueue = queue),
910
- enqueueTask(function () {
911
- return recursivelyFlushAsyncActWork(
912
- returnValue$jscomp$0,
913
- resolve,
914
- reject
915
- );
916
- }))
917
- : resolve(returnValue$jscomp$0);
918
- }
919
- };
920
- };
921
- exports.cache = function (fn) {
922
- return function () {
923
- return fn.apply(null, arguments);
924
- };
925
- };
926
- exports.cacheSignal = function () {
927
- return null;
928
- };
929
- exports.captureOwnerStack = function () {
930
- var getCurrentStack = ReactSharedInternals.getCurrentStack;
931
- return null === getCurrentStack ? null : getCurrentStack();
932
- };
933
- exports.cloneElement = function (element, config, children) {
934
- if (null === element || void 0 === element)
935
- throw Error(
936
- "The argument must be a React element, but you passed " +
937
- element +
938
- "."
939
- );
940
- var props = assign({}, element.props),
941
- key = element.key,
942
- owner = element._owner;
943
- if (null != config) {
944
- var JSCompiler_inline_result;
945
- a: {
946
- if (
947
- hasOwnProperty.call(config, "ref") &&
948
- (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
949
- config,
950
- "ref"
951
- ).get) &&
952
- JSCompiler_inline_result.isReactWarning
953
- ) {
954
- JSCompiler_inline_result = !1;
955
- break a;
956
- }
957
- JSCompiler_inline_result = void 0 !== config.ref;
958
- }
959
- JSCompiler_inline_result && (owner = getOwner());
960
- hasValidKey(config) &&
961
- (checkKeyStringCoercion(config.key), (key = "" + config.key));
962
- for (propName in config)
963
- !hasOwnProperty.call(config, propName) ||
964
- "key" === propName ||
965
- "__self" === propName ||
966
- "__source" === propName ||
967
- ("ref" === propName && void 0 === config.ref) ||
968
- (props[propName] = config[propName]);
969
- }
970
- var propName = arguments.length - 2;
971
- if (1 === propName) props.children = children;
972
- else if (1 < propName) {
973
- JSCompiler_inline_result = Array(propName);
974
- for (var i = 0; i < propName; i++)
975
- JSCompiler_inline_result[i] = arguments[i + 2];
976
- props.children = JSCompiler_inline_result;
977
- }
978
- props = ReactElement(
979
- element.type,
980
- key,
981
- props,
982
- owner,
983
- element._debugStack,
984
- element._debugTask
985
- );
986
- for (key = 2; key < arguments.length; key++)
987
- validateChildKeys(arguments[key]);
988
- return props;
989
- };
990
- exports.createContext = function (defaultValue) {
991
- defaultValue = {
992
- $$typeof: REACT_CONTEXT_TYPE,
993
- _currentValue: defaultValue,
994
- _currentValue2: defaultValue,
995
- _threadCount: 0,
996
- Provider: null,
997
- Consumer: null
998
- };
999
- defaultValue.Provider = defaultValue;
1000
- defaultValue.Consumer = {
1001
- $$typeof: REACT_CONSUMER_TYPE,
1002
- _context: defaultValue
1003
- };
1004
- defaultValue._currentRenderer = null;
1005
- defaultValue._currentRenderer2 = null;
1006
- return defaultValue;
1007
- };
1008
- exports.createElement = function (type, config, children) {
1009
- for (var i = 2; i < arguments.length; i++)
1010
- validateChildKeys(arguments[i]);
1011
- i = {};
1012
- var key = null;
1013
- if (null != config)
1014
- for (propName in (didWarnAboutOldJSXRuntime ||
1015
- !("__self" in config) ||
1016
- "key" in config ||
1017
- ((didWarnAboutOldJSXRuntime = !0),
1018
- console.warn(
1019
- "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
1020
- )),
1021
- hasValidKey(config) &&
1022
- (checkKeyStringCoercion(config.key), (key = "" + config.key)),
1023
- config))
1024
- hasOwnProperty.call(config, propName) &&
1025
- "key" !== propName &&
1026
- "__self" !== propName &&
1027
- "__source" !== propName &&
1028
- (i[propName] = config[propName]);
1029
- var childrenLength = arguments.length - 2;
1030
- if (1 === childrenLength) i.children = children;
1031
- else if (1 < childrenLength) {
1032
- for (
1033
- var childArray = Array(childrenLength), _i = 0;
1034
- _i < childrenLength;
1035
- _i++
1036
- )
1037
- childArray[_i] = arguments[_i + 2];
1038
- Object.freeze && Object.freeze(childArray);
1039
- i.children = childArray;
1040
- }
1041
- if (type && type.defaultProps)
1042
- for (propName in ((childrenLength = type.defaultProps), childrenLength))
1043
- void 0 === i[propName] && (i[propName] = childrenLength[propName]);
1044
- key &&
1045
- defineKeyPropWarningGetter(
1046
- i,
1047
- "function" === typeof type
1048
- ? type.displayName || type.name || "Unknown"
1049
- : type
1050
- );
1051
- var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1052
- return ReactElement(
1053
- type,
1054
- key,
1055
- i,
1056
- getOwner(),
1057
- propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
1058
- propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
1059
- );
1060
- };
1061
- exports.createRef = function () {
1062
- var refObject = { current: null };
1063
- Object.seal(refObject);
1064
- return refObject;
1065
- };
1066
- exports.forwardRef = function (render) {
1067
- null != render && render.$$typeof === REACT_MEMO_TYPE
1068
- ? console.error(
1069
- "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
1070
- )
1071
- : "function" !== typeof render
1072
- ? console.error(
1073
- "forwardRef requires a render function but was given %s.",
1074
- null === render ? "null" : typeof render
1075
- )
1076
- : 0 !== render.length &&
1077
- 2 !== render.length &&
1078
- console.error(
1079
- "forwardRef render functions accept exactly two parameters: props and ref. %s",
1080
- 1 === render.length
1081
- ? "Did you forget to use the ref parameter?"
1082
- : "Any additional parameter will be undefined."
1083
- );
1084
- null != render &&
1085
- null != render.defaultProps &&
1086
- console.error(
1087
- "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
1088
- );
1089
- var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render: render },
1090
- ownName;
1091
- Object.defineProperty(elementType, "displayName", {
1092
- enumerable: !1,
1093
- configurable: !0,
1094
- get: function () {
1095
- return ownName;
1096
- },
1097
- set: function (name) {
1098
- ownName = name;
1099
- render.name ||
1100
- render.displayName ||
1101
- (Object.defineProperty(render, "name", { value: name }),
1102
- (render.displayName = name));
1103
- }
1104
- });
1105
- return elementType;
1106
- };
1107
- exports.isValidElement = isValidElement;
1108
- exports.lazy = function (ctor) {
1109
- ctor = { _status: -1, _result: ctor };
1110
- var lazyType = {
1111
- $$typeof: REACT_LAZY_TYPE,
1112
- _payload: ctor,
1113
- _init: lazyInitializer
1114
- },
1115
- ioInfo = {
1116
- name: "lazy",
1117
- start: -1,
1118
- end: -1,
1119
- value: null,
1120
- owner: null,
1121
- debugStack: Error("react-stack-top-frame"),
1122
- debugTask: console.createTask ? console.createTask("lazy()") : null
1123
- };
1124
- ctor._ioInfo = ioInfo;
1125
- lazyType._debugInfo = [{ awaited: ioInfo }];
1126
- return lazyType;
1127
- };
1128
- exports.memo = function (type, compare) {
1129
- null == type &&
1130
- console.error(
1131
- "memo: The first argument must be a component. Instead received: %s",
1132
- null === type ? "null" : typeof type
1133
- );
1134
- compare = {
1135
- $$typeof: REACT_MEMO_TYPE,
1136
- type: type,
1137
- compare: void 0 === compare ? null : compare
1138
- };
1139
- var ownName;
1140
- Object.defineProperty(compare, "displayName", {
1141
- enumerable: !1,
1142
- configurable: !0,
1143
- get: function () {
1144
- return ownName;
1145
- },
1146
- set: function (name) {
1147
- ownName = name;
1148
- type.name ||
1149
- type.displayName ||
1150
- (Object.defineProperty(type, "name", { value: name }),
1151
- (type.displayName = name));
1152
- }
1153
- });
1154
- return compare;
1155
- };
1156
- exports.startTransition = function (scope) {
1157
- var prevTransition = ReactSharedInternals.T,
1158
- currentTransition = {};
1159
- currentTransition._updatedFibers = new Set();
1160
- ReactSharedInternals.T = currentTransition;
1161
- try {
1162
- var returnValue = scope(),
1163
- onStartTransitionFinish = ReactSharedInternals.S;
1164
- null !== onStartTransitionFinish &&
1165
- onStartTransitionFinish(currentTransition, returnValue);
1166
- "object" === typeof returnValue &&
1167
- null !== returnValue &&
1168
- "function" === typeof returnValue.then &&
1169
- (ReactSharedInternals.asyncTransitions++,
1170
- returnValue.then(releaseAsyncTransition, releaseAsyncTransition),
1171
- returnValue.then(noop, reportGlobalError));
1172
- } catch (error) {
1173
- reportGlobalError(error);
1174
- } finally {
1175
- null === prevTransition &&
1176
- currentTransition._updatedFibers &&
1177
- ((scope = currentTransition._updatedFibers.size),
1178
- currentTransition._updatedFibers.clear(),
1179
- 10 < scope &&
1180
- console.warn(
1181
- "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
1182
- )),
1183
- null !== prevTransition &&
1184
- null !== currentTransition.types &&
1185
- (null !== prevTransition.types &&
1186
- prevTransition.types !== currentTransition.types &&
1187
- console.error(
1188
- "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
1189
- ),
1190
- (prevTransition.types = currentTransition.types)),
1191
- (ReactSharedInternals.T = prevTransition);
1192
- }
1193
- };
1194
- exports.unstable_useCacheRefresh = function () {
1195
- return resolveDispatcher().useCacheRefresh();
1196
- };
1197
- exports.use = function (usable) {
1198
- return resolveDispatcher().use(usable);
1199
- };
1200
- exports.useActionState = function (action, initialState, permalink) {
1201
- return resolveDispatcher().useActionState(
1202
- action,
1203
- initialState,
1204
- permalink
1205
- );
1206
- };
1207
- exports.useCallback = function (callback, deps) {
1208
- return resolveDispatcher().useCallback(callback, deps);
1209
- };
1210
- exports.useContext = function (Context) {
1211
- var dispatcher = resolveDispatcher();
1212
- Context.$$typeof === REACT_CONSUMER_TYPE &&
1213
- console.error(
1214
- "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
1215
- );
1216
- return dispatcher.useContext(Context);
1217
- };
1218
- exports.useDebugValue = function (value, formatterFn) {
1219
- return resolveDispatcher().useDebugValue(value, formatterFn);
1220
- };
1221
- exports.useDeferredValue = function (value, initialValue) {
1222
- return resolveDispatcher().useDeferredValue(value, initialValue);
1223
- };
1224
- exports.useEffect = function (create, deps) {
1225
- null == create &&
1226
- console.warn(
1227
- "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1228
- );
1229
- return resolveDispatcher().useEffect(create, deps);
1230
- };
1231
- exports.useEffectEvent = function (callback) {
1232
- return resolveDispatcher().useEffectEvent(callback);
1233
- };
1234
- exports.useId = function () {
1235
- return resolveDispatcher().useId();
1236
- };
1237
- exports.useImperativeHandle = function (ref, create, deps) {
1238
- return resolveDispatcher().useImperativeHandle(ref, create, deps);
1239
- };
1240
- exports.useInsertionEffect = function (create, deps) {
1241
- null == create &&
1242
- console.warn(
1243
- "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1244
- );
1245
- return resolveDispatcher().useInsertionEffect(create, deps);
1246
- };
1247
- exports.useLayoutEffect = function (create, deps) {
1248
- null == create &&
1249
- console.warn(
1250
- "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1251
- );
1252
- return resolveDispatcher().useLayoutEffect(create, deps);
1253
- };
1254
- exports.useMemo = function (create, deps) {
1255
- return resolveDispatcher().useMemo(create, deps);
1256
- };
1257
- exports.useOptimistic = function (passthrough, reducer) {
1258
- return resolveDispatcher().useOptimistic(passthrough, reducer);
1259
- };
1260
- exports.useReducer = function (reducer, initialArg, init) {
1261
- return resolveDispatcher().useReducer(reducer, initialArg, init);
1262
- };
1263
- exports.useRef = function (initialValue) {
1264
- return resolveDispatcher().useRef(initialValue);
1265
- };
1266
- exports.useState = function (initialState) {
1267
- return resolveDispatcher().useState(initialState);
1268
- };
1269
- exports.useSyncExternalStore = function (
1270
- subscribe,
1271
- getSnapshot,
1272
- getServerSnapshot
1273
- ) {
1274
- return resolveDispatcher().useSyncExternalStore(
1275
- subscribe,
1276
- getSnapshot,
1277
- getServerSnapshot
1278
- );
1279
- };
1280
- exports.useTransition = function () {
1281
- return resolveDispatcher().useTransition();
1282
- };
1283
- exports.version = "19.2.0";
1284
- "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1285
- "function" ===
1286
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
1287
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1288
- })();
1289
- }(react_development.react_development, react_development.react_development.exports));