@cupra/ui-react 2.0.0-canary.12 → 2.0.0-canary.120

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 (270) hide show
  1. package/dist/cjs/_virtual/_rolldown/runtime.cjs +1 -0
  2. package/dist/cjs/components/Accordion/Accordion.cjs +1 -1
  3. package/dist/cjs/components/Avatar/Avatar.cjs +1 -1
  4. package/dist/cjs/components/Badge/Badge.cjs +1 -1
  5. package/dist/cjs/components/BasicCard/BasicCard.cjs +1 -1
  6. package/dist/cjs/components/BasicCardHeader/BasicCardHeader.cjs +1 -0
  7. package/dist/cjs/components/BasicCardImage/BasicCardImage.cjs +1 -0
  8. package/dist/cjs/components/BasicCardSection/BasicCardSection.cjs +1 -1
  9. package/dist/cjs/components/Breadcrumbs/Breadcrumbs.cjs +1 -0
  10. package/dist/cjs/components/BreadcrumbsItem/BreadcrumbsItem.cjs +1 -0
  11. package/dist/cjs/components/Bullets/Bullets.cjs +1 -1
  12. package/dist/cjs/components/Button/Button.cjs +1 -1
  13. package/dist/cjs/components/Calendar/Calendar.cjs +1 -0
  14. package/dist/cjs/components/CarouselIndicator/CarouselIndicator.cjs +1 -1
  15. package/dist/cjs/components/Checkbox/Checkbox.cjs +1 -1
  16. package/dist/cjs/components/CheckboxGroup/CheckboxGroup.cjs +1 -0
  17. package/dist/cjs/components/Chip/Chip.cjs +1 -1
  18. package/dist/cjs/components/Chips/Chips.cjs +1 -1
  19. package/dist/cjs/components/Currency/Currency.cjs +1 -1
  20. package/dist/cjs/components/DatePicker/DatePicker.cjs +1 -0
  21. package/dist/cjs/components/Dialog/Dialog.cjs +1 -1
  22. package/dist/cjs/components/DialogBody/DialogBody.cjs +1 -1
  23. package/dist/cjs/components/DialogFooter/DialogFooter.cjs +1 -1
  24. package/dist/cjs/components/DialogFullscreen/DialogFullscreen.cjs +1 -0
  25. package/dist/cjs/components/DialogHeader/DialogHeader.cjs +1 -1
  26. package/dist/cjs/components/Divider/Divider.cjs +1 -1
  27. package/dist/cjs/components/Drawer/Drawer.cjs +1 -1
  28. package/dist/cjs/components/FavouriteAction/FavouriteAction.cjs +1 -0
  29. package/dist/cjs/components/Hyperlink/Hyperlink.cjs +1 -1
  30. package/dist/cjs/components/Icon/Icon.cjs +1 -1
  31. package/dist/cjs/components/IconButton/IconButton.cjs +1 -1
  32. package/dist/cjs/components/IconButtonGroup/IconButtonGroup.cjs +1 -0
  33. package/dist/cjs/components/InlineAlert/InlineAlert.cjs +1 -0
  34. package/dist/cjs/components/Input/Input.cjs +1 -1
  35. package/dist/cjs/components/InteractiveCard/InteractiveCard.cjs +1 -1
  36. package/dist/cjs/components/LinkButton/LinkButton.cjs +1 -1
  37. package/dist/cjs/components/List/List.cjs +1 -0
  38. package/dist/cjs/components/ListItem/ListItem.cjs +1 -0
  39. package/dist/cjs/components/Loader/Loader.cjs +1 -1
  40. package/dist/cjs/components/Logo/Logo.cjs +1 -1
  41. package/dist/cjs/components/MainTitle/MainTitle.cjs +1 -1
  42. package/dist/cjs/components/MapPin/MapPin.cjs +1 -1
  43. package/dist/cjs/components/MediaControl/MediaControl.cjs +1 -1
  44. package/dist/cjs/components/Modal/Modal.cjs +2 -2
  45. package/dist/cjs/components/NavigationControls/NavigationControls.cjs +1 -0
  46. package/dist/cjs/components/PasswordInput/PasswordInput.cjs +1 -1
  47. package/dist/cjs/components/PickerItem/PickerItem.cjs +1 -1
  48. package/dist/cjs/components/Radio/Radio.cjs +1 -1
  49. package/dist/cjs/components/RadioButton/RadioButton.cjs +1 -1
  50. package/dist/cjs/components/RadioButtonGroup/RadioButtonGroup.cjs +1 -1
  51. package/dist/cjs/components/Rating/Rating.cjs +1 -1
  52. package/dist/cjs/components/Search/Search.cjs +1 -1
  53. package/dist/cjs/components/SearchInput/SearchInput.cjs +1 -1
  54. package/dist/cjs/components/SecondaryNavigation/SecondaryNavigation.cjs +1 -1
  55. package/dist/cjs/components/SegmentedControl/SegmentedControl.cjs +1 -1
  56. package/dist/cjs/components/Select/Select.cjs +1 -1
  57. package/dist/cjs/components/Selection/Selection.cjs +1 -1
  58. package/dist/cjs/components/SidebarNavigation/SidebarNavigation.cjs +1 -1
  59. package/dist/cjs/components/Skeleton/Skeleton.cjs +1 -0
  60. package/dist/cjs/components/Slider/Slider.cjs +1 -1
  61. package/dist/cjs/components/StaticBox/StaticBox.cjs +1 -1
  62. package/dist/cjs/components/Stepper/Stepper.cjs +1 -1
  63. package/dist/cjs/components/Table/Table.cjs +1 -0
  64. package/dist/cjs/components/TableCell/TableCell.cjs +1 -0
  65. package/dist/cjs/components/TableRow/TableRow.cjs +1 -0
  66. package/dist/cjs/components/Tabs/Tabs.cjs +1 -1
  67. package/dist/cjs/components/Tag/Tag.cjs +1 -1
  68. package/dist/cjs/components/Text/Text.cjs +1 -1
  69. package/dist/cjs/components/TextInput/TextInput.cjs +1 -1
  70. package/dist/cjs/components/Textarea/Textarea.cjs +1 -1
  71. package/dist/cjs/components/ThemeProvider/ThemeProvider.cjs +1 -1
  72. package/dist/cjs/components/Toast/Toast.cjs +1 -1
  73. package/dist/cjs/components/ToastMessage/ToastMessage.cjs +1 -1
  74. package/dist/cjs/components/ToggleButton/ToggleButton.cjs +1 -1
  75. package/dist/cjs/components/ToggleSwitch/ToggleSwitch.cjs +1 -1
  76. package/dist/cjs/components/Tooltip/Tooltip.cjs +1 -1
  77. package/dist/cjs/components/ValueUnit/ValueUnit.cjs +1 -0
  78. package/dist/cjs/components/index.cjs +1 -0
  79. package/dist/cjs/hooks/index.cjs +1 -0
  80. package/dist/cjs/hooks/useBreakpoint.cjs +1 -1
  81. package/dist/cjs/hooks/useEventListeners.cjs +1 -1
  82. package/dist/cjs/hooks/useHandleEvent.cjs +1 -1
  83. package/dist/cjs/hooks/useLoadScript.cjs +1 -0
  84. package/dist/cjs/hooks/useResizeObserver/useResizeObserver.cjs +1 -1
  85. package/dist/cjs/index.cjs +1 -1
  86. package/dist/cjs/node_modules/.pnpm/@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.cjs +1 -1
  87. package/dist/cjs/node_modules/.pnpm/@emotion_memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +1 -1
  88. package/dist/cjs/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs +1 -1
  89. package/dist/cjs/node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.cjs +1 -0
  90. package/dist/cjs/node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.cjs +22 -12
  91. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.cjs +1 -1
  92. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Middleware.cjs +1 -1
  93. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.cjs +1 -1
  94. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Prefixer.cjs +1 -1
  95. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.cjs +1 -1
  96. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Tokenizer.cjs +1 -1
  97. package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Utility.cjs +1 -1
  98. package/dist/cjs/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.cjs +1 -1
  99. package/dist/esm/_virtual/_rolldown/runtime.js +13 -0
  100. package/dist/esm/components/Accordion/Accordion.js +15 -7
  101. package/dist/esm/components/Avatar/Avatar.js +18 -10
  102. package/dist/esm/components/Badge/Badge.js +8 -5
  103. package/dist/esm/components/BasicCard/BasicCard.js +18 -13
  104. package/dist/esm/components/BasicCardHeader/BasicCardHeader.js +27 -0
  105. package/dist/esm/components/BasicCardImage/BasicCardImage.js +13 -0
  106. package/dist/esm/components/BasicCardSection/BasicCardSection.js +11 -7
  107. package/dist/esm/components/Breadcrumbs/Breadcrumbs.js +13 -0
  108. package/dist/esm/components/BreadcrumbsItem/BreadcrumbsItem.js +18 -0
  109. package/dist/esm/components/Bullets/Bullets.js +8 -5
  110. package/dist/esm/components/Button/Button.js +15 -19
  111. package/dist/esm/components/Calendar/Calendar.js +15 -0
  112. package/dist/esm/components/CarouselIndicator/CarouselIndicator.js +10 -7
  113. package/dist/esm/components/Checkbox/Checkbox.js +13 -10
  114. package/dist/esm/components/CheckboxGroup/CheckboxGroup.js +15 -0
  115. package/dist/esm/components/Chip/Chip.js +11 -7
  116. package/dist/esm/components/Chips/Chips.js +14 -12
  117. package/dist/esm/components/Currency/Currency.js +10 -7
  118. package/dist/esm/components/DatePicker/DatePicker.js +30 -0
  119. package/dist/esm/components/Dialog/Dialog.js +15 -13
  120. package/dist/esm/components/DialogBody/DialogBody.js +11 -7
  121. package/dist/esm/components/DialogFooter/DialogFooter.js +11 -7
  122. package/dist/esm/components/DialogFullscreen/DialogFullscreen.js +17 -0
  123. package/dist/esm/components/DialogHeader/DialogHeader.js +11 -7
  124. package/dist/esm/components/Divider/Divider.js +9 -6
  125. package/dist/esm/components/Drawer/Drawer.js +27 -17
  126. package/dist/esm/components/FavouriteAction/FavouriteAction.js +21 -0
  127. package/dist/esm/components/Hyperlink/Hyperlink.js +13 -10
  128. package/dist/esm/components/Icon/Icon.js +10 -6
  129. package/dist/esm/components/IconButton/IconButton.js +14 -18
  130. package/dist/esm/components/IconButtonGroup/IconButtonGroup.js +13 -0
  131. package/dist/esm/components/InlineAlert/InlineAlert.js +16 -0
  132. package/dist/esm/components/Input/Input.js +19 -13
  133. package/dist/esm/components/InteractiveCard/InteractiveCard.js +37 -25
  134. package/dist/esm/components/LinkButton/LinkButton.js +13 -10
  135. package/dist/esm/components/List/List.js +12 -0
  136. package/dist/esm/components/ListItem/ListItem.js +17 -0
  137. package/dist/esm/components/Loader/Loader.js +23 -18
  138. package/dist/esm/components/Logo/Logo.js +10 -7
  139. package/dist/esm/components/MainTitle/MainTitle.js +25 -14
  140. package/dist/esm/components/MapPin/MapPin.js +12 -10
  141. package/dist/esm/components/MediaControl/MediaControl.js +16 -10
  142. package/dist/esm/components/Modal/Modal.js +40 -37
  143. package/dist/esm/components/NavigationControls/NavigationControls.js +13 -0
  144. package/dist/esm/components/PasswordInput/PasswordInput.js +30 -38
  145. package/dist/esm/components/PickerItem/PickerItem.js +14 -19
  146. package/dist/esm/components/Radio/Radio.js +19 -12
  147. package/dist/esm/components/RadioButton/RadioButton.js +13 -8
  148. package/dist/esm/components/RadioButtonGroup/RadioButtonGroup.js +13 -8
  149. package/dist/esm/components/Rating/Rating.js +10 -7
  150. package/dist/esm/components/Search/Search.js +11 -6
  151. package/dist/esm/components/SearchInput/SearchInput.js +28 -44
  152. package/dist/esm/components/SecondaryNavigation/SecondaryNavigation.js +23 -15
  153. package/dist/esm/components/SegmentedControl/SegmentedControl.js +14 -10
  154. package/dist/esm/components/Select/Select.js +8 -5
  155. package/dist/esm/components/Selection/Selection.js +10 -7
  156. package/dist/esm/components/SidebarNavigation/SidebarNavigation.js +26 -12
  157. package/dist/esm/components/Skeleton/Skeleton.js +11 -0
  158. package/dist/esm/components/Slider/Slider.js +13 -13
  159. package/dist/esm/components/StaticBox/StaticBox.js +15 -19
  160. package/dist/esm/components/Stepper/Stepper.js +7 -4
  161. package/dist/esm/components/Table/Table.js +13 -0
  162. package/dist/esm/components/TableCell/TableCell.js +13 -0
  163. package/dist/esm/components/TableRow/TableRow.js +13 -0
  164. package/dist/esm/components/Tabs/Tabs.js +26 -16
  165. package/dist/esm/components/Tag/Tag.js +14 -10
  166. package/dist/esm/components/Text/Text.js +11 -7
  167. package/dist/esm/components/TextInput/TextInput.js +32 -43
  168. package/dist/esm/components/Textarea/Textarea.js +34 -56
  169. package/dist/esm/components/ThemeProvider/ThemeProvider.js +8 -5
  170. package/dist/esm/components/Toast/Toast.js +12 -13
  171. package/dist/esm/components/ToastMessage/ToastMessage.js +14 -12
  172. package/dist/esm/components/ToggleButton/ToggleButton.js +12 -10
  173. package/dist/esm/components/ToggleSwitch/ToggleSwitch.js +27 -19
  174. package/dist/esm/components/Tooltip/Tooltip.js +26 -14
  175. package/dist/esm/components/ValueUnit/ValueUnit.js +19 -0
  176. package/dist/esm/components/index.js +76 -0
  177. package/dist/esm/hooks/index.js +5 -0
  178. package/dist/esm/hooks/useBreakpoint.js +41 -40
  179. package/dist/esm/hooks/useEventListeners.js +20 -25
  180. package/dist/esm/hooks/useHandleEvent.js +24 -24
  181. package/dist/esm/hooks/useLoadScript.js +1 -0
  182. package/dist/esm/hooks/useResizeObserver/useResizeObserver.js +13 -13
  183. package/dist/esm/index.js +83 -126
  184. package/dist/esm/node_modules/.pnpm/@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +7 -10
  185. package/dist/esm/node_modules/.pnpm/@emotion_memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +8 -8
  186. package/dist/esm/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +50 -51
  187. package/dist/esm/node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.js +22 -0
  188. package/dist/esm/node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js +630 -529
  189. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.js +4 -12
  190. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Middleware.js +37 -46
  191. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.js +88 -126
  192. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Prefixer.js +114 -186
  193. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.js +18 -25
  194. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Tokenizer.js +111 -145
  195. package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Utility.js +42 -56
  196. package/dist/esm/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js +11 -16
  197. package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +8 -0
  198. package/dist/types/components/BreadcrumbsItem/BreadcrumbsItem.d.ts +16 -0
  199. package/dist/types/components/Calendar/Calendar.d.ts +12 -0
  200. package/dist/types/components/CheckboxGroup/CheckboxGroup.d.ts +16 -0
  201. package/dist/types/components/DatePicker/DatePicker.d.ts +16 -0
  202. package/dist/types/components/FavouriteAction/FavouriteAction.d.ts +10 -0
  203. package/dist/types/components/IconButtonGroup/IconButtonGroup.d.ts +9 -0
  204. package/dist/types/components/InlineAlert/InlineAlert.d.ts +9 -0
  205. package/dist/types/components/List/List.d.ts +9 -0
  206. package/dist/types/components/ListItem/ListItem.d.ts +10 -0
  207. package/dist/types/components/MainTitle/MainTitle.d.ts +1 -1
  208. package/dist/types/components/NavigationControls/NavigationControls.d.ts +9 -0
  209. package/dist/types/components/Skeleton/Skeleton.d.ts +7 -0
  210. package/dist/types/components/Slider/Slider.d.ts +4 -0
  211. package/dist/types/components/Table/Table.d.ts +9 -0
  212. package/dist/types/components/TableCell/TableCell.d.ts +9 -0
  213. package/dist/types/components/TableRow/TableRow.d.ts +9 -0
  214. package/dist/types/components/Tag/Tag.d.ts +4 -5
  215. package/dist/types/components/Text/Text.d.ts +2 -2
  216. package/dist/types/components/TextInput/TextInput.d.ts +1 -0
  217. package/dist/types/components/Textarea/Textarea.d.ts +1 -0
  218. package/dist/types/components/ValueUnit/ValueUnit.d.ts +10 -0
  219. package/dist/types/components/index.d.ts +19 -0
  220. package/package.json +20 -15
  221. package/dist/types/components/Accordion/stories/CupraDiagonal.stories.d.ts +0 -5
  222. package/dist/types/components/Avatar/stories/CupraDiagonal.stories.d.ts +0 -8
  223. package/dist/types/components/Badge/stories/CupraDiagonal.stories.d.ts +0 -8
  224. package/dist/types/components/BasicCard/stories/CupraDiagonal.stories.d.ts +0 -7
  225. package/dist/types/components/BasicCardHeader/stories/CupraDiagonal.stories.d.ts +0 -5
  226. package/dist/types/components/BasicCardImage/stories/CupraDiagonal.stories.d.ts +0 -5
  227. package/dist/types/components/BasicCardSection/stories/CupraDiagonal.stories.d.ts +0 -5
  228. package/dist/types/components/Button/stories/CupraDiagonal.stories.d.ts +0 -19
  229. package/dist/types/components/CarouselIndicator/stories/CupraDiagonal.stories.d.ts +0 -8
  230. package/dist/types/components/Checkbox/stories/CupraDiagonal.stories.d.ts +0 -20
  231. package/dist/types/components/Chip/stories/CupraDiagonal.stories.d.ts +0 -7
  232. package/dist/types/components/Chips/stories/CupraDiagonal.stories.d.ts +0 -5
  233. package/dist/types/components/Currency/stories/CupraDiagonal.stories.d.ts +0 -13
  234. package/dist/types/components/Dialog/stories/CupraDiagonal.stories.d.ts +0 -5
  235. package/dist/types/components/DialogBody/stories/CupraDiagonal.stories.d.ts +0 -5
  236. package/dist/types/components/DialogFooter/stories/CupraDiagonal.stories.d.ts +0 -5
  237. package/dist/types/components/DialogFullscreen/stories/CupraDiagonal.stories.d.ts +0 -5
  238. package/dist/types/components/DialogHeader/stories/CupraDiagonal.stories.d.ts +0 -5
  239. package/dist/types/components/Divider/stories/CupraDiagonal.stories.d.ts +0 -8
  240. package/dist/types/components/Drawer/stories/CupraDiagonal.stories.d.ts +0 -6
  241. package/dist/types/components/Icon/stories/CupraDiagonal.stories.d.ts +0 -5
  242. package/dist/types/components/IconButton/stories/CupraDiagonal.stories.d.ts +0 -13
  243. package/dist/types/components/InteractiveCard/stories/CupraDiagonal.stories.d.ts +0 -9
  244. package/dist/types/components/LinkButton/stories/CupraDiagonal.stories.d.ts +0 -9
  245. package/dist/types/components/Logo/stories/CupraDiagonal.stories.d.ts +0 -10
  246. package/dist/types/components/MainTitle/stories/CupraDiagonal.stories.d.ts +0 -9
  247. package/dist/types/components/MapPin/stories/CupraDiagonal.stories.d.ts +0 -7
  248. package/dist/types/components/MediaControl/stories/CupraDiagonal.stories.d.ts +0 -6
  249. package/dist/types/components/PasswordInput/stories/CupraDiagonal.stories.d.ts +0 -11
  250. package/dist/types/components/PickerItem/stories/CupraDiagonal.stories.d.ts +0 -12
  251. package/dist/types/components/RadioButton/stories/CupraDiagonal.stories.d.ts +0 -12
  252. package/dist/types/components/RadioButtonGroup/stories/CupraDiagonal.stories.d.ts +0 -5
  253. package/dist/types/components/Rating/stories/CupraDiagonal.stories.d.ts +0 -10
  254. package/dist/types/components/SearchInput/stories/CupraDiagonal.stories.d.ts +0 -5
  255. package/dist/types/components/SecondaryNavigation/stories/CupraDiagonal.stories.d.ts +0 -5
  256. package/dist/types/components/SegmentedControl/stories/CupraDiagonal.stories.d.ts +0 -7
  257. package/dist/types/components/Select/stories/CupraDiagonal.stories.d.ts +0 -5
  258. package/dist/types/components/SidebarNavigation/stories/CupraDiagonal.stories.d.ts +0 -5
  259. package/dist/types/components/Slider/stories/CupraDiagonal.stories.d.ts +0 -5
  260. package/dist/types/components/StaticBox/stories/CupraDiagonal.stories.d.ts +0 -5
  261. package/dist/types/components/Stepper/stories/CupraDiagonal.stories.d.ts +0 -9
  262. package/dist/types/components/Tabs/stories/CupraDiagonal.stories.d.ts +0 -8
  263. package/dist/types/components/Tag/stories/CupraDiagonal.stories.d.ts +0 -8
  264. package/dist/types/components/Text/stories/CupraDiagonal.stories.d.ts +0 -5
  265. package/dist/types/components/TextInput/stories/CupraDiagonal.stories.d.ts +0 -8
  266. package/dist/types/components/Textarea/stories/CupraDiagonal.stories.d.ts +0 -11
  267. package/dist/types/components/Toast/stories/CupraDiagonal.stories.d.ts +0 -10
  268. package/dist/types/components/ToastMessage/stories/CupraDiagonal.stories.d.ts +0 -12
  269. package/dist/types/components/ToggleSwitch/stories/CupraDiagonal.stories.d.ts +0 -10
  270. package/dist/types/components/Tooltip/stories/CupraDiagonal.stories.d.ts +0 -5
@@ -1,514 +1,575 @@
1
- import { __assign as E, __spreadArray as x } from "../../../../tslib@2.6.2/node_modules/tslib/tslib.es6.js";
2
- import it from "../../../../@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js";
3
- import Y, { useDebugValue as Ee, createElement as at, useRef as ct, useContext as ut } from "react";
4
- import lt from "../../../../@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js";
5
- import { RULESET as pt } from "../../../../stylis@4.3.2/node_modules/stylis/src/Enum.js";
6
- import { prefixer as dt, middleware as ht, rulesheet as ft } from "../../../../stylis@4.3.2/node_modules/stylis/src/Middleware.js";
7
- import { stringify as mt, serialize as yt } from "../../../../stylis@4.3.2/node_modules/stylis/src/Serializer.js";
8
- import { compile as vt } from "../../../../stylis@4.3.2/node_modules/stylis/src/Parser.js";
9
- var T = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", ze = "active", $e = "data-styled-version", ne = "6.1.19", ye = `/*!sc*/
10
- `, ee = typeof window < "u" && typeof document < "u", gt = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), be = /invalid hook call/i, U = /* @__PURE__ */ new Set(), St = function(t, e) {
11
- if (process.env.NODE_ENV !== "production") {
12
- var n = e ? ' with the id of "'.concat(e, '"') : "", r = "The component ".concat(t).concat(n, ` has been created dynamically.
13
- `) + `You may see this warning because you've called styled inside another component.
1
+ import { __toESM as e } from "../../../../../../_virtual/_rolldown/runtime.js";
2
+ import { __assign as t, __spreadArray as n } from "../../../../tslib@2.6.2/node_modules/tslib/tslib.es6.js";
3
+ import { isPropValid as r } from "../../../../@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js";
4
+ import { require_shallowequal as i } from "../../../../shallowequal@1.1.0/node_modules/shallowequal/index.js";
5
+ import "../../../../stylis@4.3.2/node_modules/stylis/src/Enum.js";
6
+ import { compile as a } from "../../../../stylis@4.3.2/node_modules/stylis/src/Parser.js";
7
+ import { serialize as o, stringify as s } from "../../../../stylis@4.3.2/node_modules/stylis/src/Serializer.js";
8
+ import { middleware as c, prefixer as l, rulesheet as u } from "../../../../stylis@4.3.2/node_modules/stylis/src/Middleware.js";
9
+ import { unitlessKeys as d } from "../../../../@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js";
10
+ import f, { createElement as p, useContext as m, useDebugValue as h, useEffect as g, useMemo as _, useRef as v, useState as y } from "react";
11
+ //#region ../../node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js
12
+ var b = /* @__PURE__ */ e(i()), x = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", S = "active", C = "data-styled-version", w = "6.1.19", T = "/*!sc*/\n", E = typeof window < "u" && typeof document < "u", ee = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), te = /invalid hook call/i, D = /* @__PURE__ */ new Set(), ne = function(e, t) {
13
+ if (process.env.NODE_ENV !== "production") {
14
+ var r = `The component ${e}${t ? ` with the id of "${t}"` : ""} has been created dynamically.
15
+ You may see this warning because you've called styled inside another component.
14
16
  To resolve this only create new StyledComponents outside of any render method and function component.
15
17
  See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
16
- `, o = console.error;
17
- try {
18
- var s = !0;
19
- console.error = function(i) {
20
- for (var c = [], a = 1; a < arguments.length; a++) c[a - 1] = arguments[a];
21
- be.test(i) ? (s = !1, U.delete(r)) : o.apply(void 0, x([i], c, !1));
22
- }, ct(), s && !U.has(r) && (console.warn(r), U.add(r));
23
- } catch (i) {
24
- be.test(i.message) && U.delete(r);
25
- } finally {
26
- console.error = o;
27
- }
28
- }
29
- }, re = Object.freeze([]), V = Object.freeze({});
30
- function wt(t, e, n) {
31
- return n === void 0 && (n = V), t.theme !== n.theme && t.theme || e || n.theme;
18
+ `, i = console.error;
19
+ try {
20
+ var a = !0;
21
+ console.error = function(e) {
22
+ var t = [...arguments].slice(1);
23
+ te.test(e) ? (a = !1, D.delete(r)) : i.apply(void 0, n([e], t, !1));
24
+ }, v(), a && !D.has(r) && (console.warn(r), D.add(r));
25
+ } catch (e) {
26
+ te.test(e.message) && D.delete(r);
27
+ } finally {
28
+ console.error = i;
29
+ }
30
+ }
31
+ }, O = Object.freeze([]), k = Object.freeze({});
32
+ function re(e, t, n) {
33
+ return n === void 0 && (n = k), e.theme !== n.theme && e.theme || t || n.theme;
32
34
  }
33
- var pe = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), Et = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, bt = /(^-|-$)/g;
34
- function Ne(t) {
35
- return t.replace(Et, "-").replace(bt, "");
35
+ var ie = new Set(/* @__PURE__ */ "a.abbr.address.area.article.aside.audio.b.base.bdi.bdo.big.blockquote.body.br.button.canvas.caption.cite.code.col.colgroup.data.datalist.dd.del.details.dfn.dialog.div.dl.dt.em.embed.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.html.i.iframe.img.input.ins.kbd.keygen.label.legend.li.link.main.map.mark.menu.menuitem.meta.meter.nav.noscript.object.ol.optgroup.option.output.p.param.picture.pre.progress.q.rp.rt.ruby.s.samp.script.section.select.small.source.span.strong.style.sub.summary.sup.table.tbody.td.textarea.tfoot.th.thead.time.tr.track.u.ul.use.var.video.wbr.circle.clipPath.defs.ellipse.foreignObject.g.image.line.linearGradient.marker.mask.path.pattern.polygon.polyline.radialGradient.rect.stop.svg.text.tspan".split(".")), ae = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, oe = /(^-|-$)/g;
36
+ function se(e) {
37
+ return e.replace(ae, "-").replace(oe, "");
36
38
  }
37
- var Nt = /(a)(d)/gi, K = 52, _e = function(t) {
38
- return String.fromCharCode(t + (t > 25 ? 39 : 97));
39
+ var ce = /(a)(d)/gi, A = 52, le = function(e) {
40
+ return String.fromCharCode(e + (e > 25 ? 39 : 97));
39
41
  };
40
- function de(t) {
41
- var e, n = "";
42
- for (e = Math.abs(t); e > K; e = e / K | 0) n = _e(e % K) + n;
43
- return (_e(e % K) + n).replace(Nt, "$1-$2");
42
+ function j(e) {
43
+ var t, n = "";
44
+ for (t = Math.abs(e); t > A; t = t / A | 0) n = le(t % A) + n;
45
+ return (le(t % A) + n).replace(ce, "$1-$2");
44
46
  }
45
- var ce, Fe = 5381, D = function(t, e) {
46
- for (var n = e.length; n; ) t = 33 * t ^ e.charCodeAt(--n);
47
- return t;
48
- }, Be = function(t) {
49
- return D(Fe, t);
47
+ var M, ue = 5381, N = function(e, t) {
48
+ for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
49
+ return e;
50
+ }, de = function(e) {
51
+ return N(ue, e);
50
52
  };
51
- function _t(t) {
52
- return de(Be(t) >>> 0);
53
+ function fe(e) {
54
+ return j(de(e) >>> 0);
53
55
  }
54
- function Me(t) {
55
- return process.env.NODE_ENV !== "production" && typeof t == "string" && t || t.displayName || t.name || "Component";
56
+ function pe(e) {
57
+ return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
56
58
  }
57
- function ue(t) {
58
- return typeof t == "string" && (process.env.NODE_ENV === "production" || t.charAt(0) === t.charAt(0).toLowerCase());
59
+ function P(e) {
60
+ return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
59
61
  }
60
- var Le = typeof Symbol == "function" && Symbol.for, Ge = Le ? Symbol.for("react.memo") : 60115, Ct = Le ? Symbol.for("react.forward_ref") : 60112, At = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Pt = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, Ye = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, It = ((ce = {})[Ct] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, ce[Ge] = Ye, ce);
61
- function Ce(t) {
62
- return ("type" in (e = t) && e.type.$$typeof) === Ge ? Ye : "$$typeof" in t ? It[t.$$typeof] : At;
63
- var e;
62
+ var me = typeof Symbol == "function" && Symbol.for, he = me ? Symbol.for("react.memo") : 60115, ge = me ? Symbol.for("react.forward_ref") : 60112, _e = {
63
+ childContextTypes: !0,
64
+ contextType: !0,
65
+ contextTypes: !0,
66
+ defaultProps: !0,
67
+ displayName: !0,
68
+ getDefaultProps: !0,
69
+ getDerivedStateFromError: !0,
70
+ getDerivedStateFromProps: !0,
71
+ mixins: !0,
72
+ propTypes: !0,
73
+ type: !0
74
+ }, ve = {
75
+ name: !0,
76
+ length: !0,
77
+ prototype: !0,
78
+ caller: !0,
79
+ callee: !0,
80
+ arguments: !0,
81
+ arity: !0
82
+ }, ye = {
83
+ $$typeof: !0,
84
+ compare: !0,
85
+ defaultProps: !0,
86
+ displayName: !0,
87
+ propTypes: !0,
88
+ type: !0
89
+ }, be = ((M = {})[ge] = {
90
+ $$typeof: !0,
91
+ render: !0,
92
+ defaultProps: !0,
93
+ displayName: !0,
94
+ propTypes: !0
95
+ }, M[he] = ye, M);
96
+ function xe(e) {
97
+ return ("type" in (t = e) && t.type.$$typeof) === he ? ye : "$$typeof" in e ? be[e.$$typeof] : _e;
98
+ var t;
64
99
  }
65
- var Dt = Object.defineProperty, Ot = Object.getOwnPropertyNames, Ae = Object.getOwnPropertySymbols, Rt = Object.getOwnPropertyDescriptor, Tt = Object.getPrototypeOf, Pe = Object.prototype;
66
- function qe(t, e, n) {
67
- if (typeof e != "string") {
68
- if (Pe) {
69
- var r = Tt(e);
70
- r && r !== Pe && qe(t, r, n);
71
- }
72
- var o = Ot(e);
73
- Ae && (o = o.concat(Ae(e)));
74
- for (var s = Ce(t), i = Ce(e), c = 0; c < o.length; ++c) {
75
- var a = o[c];
76
- if (!(a in Pt || n && n[a] || i && a in i || s && a in s)) {
77
- var f = Rt(e, a);
78
- try {
79
- Dt(t, a, f);
80
- } catch {
81
- }
82
- }
83
- }
84
- }
85
- return t;
100
+ var Se = Object.defineProperty, Ce = Object.getOwnPropertyNames, we = Object.getOwnPropertySymbols, Te = Object.getOwnPropertyDescriptor, Ee = Object.getPrototypeOf, De = Object.prototype;
101
+ function Oe(e, t, n) {
102
+ if (typeof t != "string") {
103
+ if (De) {
104
+ var r = Ee(t);
105
+ r && r !== De && Oe(e, r, n);
106
+ }
107
+ var i = Ce(t);
108
+ we && (i = i.concat(we(t)));
109
+ for (var a = xe(e), o = xe(t), s = 0; s < i.length; ++s) {
110
+ var c = i[s];
111
+ if (!(c in ve || n && n[c] || o && c in o || a && c in a)) {
112
+ var l = Te(t, c);
113
+ try {
114
+ Se(e, c, l);
115
+ } catch {}
116
+ }
117
+ }
118
+ }
119
+ return e;
86
120
  }
87
- function z(t) {
88
- return typeof t == "function";
121
+ function F(e) {
122
+ return typeof e == "function";
89
123
  }
90
- function ve(t) {
91
- return typeof t == "object" && "styledComponentId" in t;
124
+ function I(e) {
125
+ return typeof e == "object" && "styledComponentId" in e;
92
126
  }
93
- function O(t, e) {
94
- return t && e ? "".concat(t, " ").concat(e) : t || e || "";
127
+ function L(e, t) {
128
+ return e && t ? `${e} ${t}` : e || t || "";
95
129
  }
96
- function Ie(t, e) {
97
- if (t.length === 0) return "";
98
- for (var n = t[0], r = 1; r < t.length; r++) n += t[r];
99
- return n;
130
+ function R(e, t) {
131
+ if (e.length === 0) return "";
132
+ for (var n = e[0], r = 1; r < e.length; r++) n += t ? t + e[r] : e[r];
133
+ return n;
100
134
  }
101
- function $(t) {
102
- return t !== null && typeof t == "object" && t.constructor.name === Object.name && !("props" in t && t.$$typeof);
135
+ function z(e) {
136
+ return typeof e == "object" && !!e && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
103
137
  }
104
- function he(t, e, n) {
105
- if (n === void 0 && (n = !1), !n && !$(t) && !Array.isArray(t)) return e;
106
- if (Array.isArray(e)) for (var r = 0; r < e.length; r++) t[r] = he(t[r], e[r]);
107
- else if ($(e)) for (var r in e) t[r] = he(t[r], e[r]);
108
- return t;
138
+ function B(e, t, n) {
139
+ if (n === void 0 && (n = !1), !n && !z(e) && !Array.isArray(e)) return t;
140
+ if (Array.isArray(t)) for (var r = 0; r < t.length; r++) e[r] = B(e[r], t[r]);
141
+ else if (z(t)) for (var r in t) e[r] = B(e[r], t[r]);
142
+ return e;
109
143
  }
110
- function ge(t, e) {
111
- Object.defineProperty(t, "toString", { value: e });
144
+ function V(e, t) {
145
+ Object.defineProperty(e, "toString", { value: t });
112
146
  }
113
- var kt = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
114
-
115
- `, 2: `Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
116
-
117
- - Are you trying to reuse it across renders?
118
- - Are you accidentally calling collectStyles twice?
119
-
120
- `, 3: `Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
121
-
122
- `, 4: `The \`StyleSheetManager\` expects a valid target or sheet prop!
123
-
124
- - Does this error occur on the client and is your target falsy?
125
- - Does this error occur on the server and is the sheet falsy?
126
-
127
- `, 5: `The clone method cannot be used on the client!
128
-
129
- - Are you running in a client-like environment on the server?
130
- - Are you trying to run SSR on the client?
131
-
132
- `, 6: `Trying to insert a new style tag, but the given Node is unmounted!
133
-
134
- - Are you using a custom target that isn't mounted?
135
- - Does your document not have a valid head element?
136
- - Have you accidentally removed a style tag manually?
137
-
138
- `, 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n', 8: `ThemeProvider: Please make your "theme" prop an object.
139
-
140
- `, 9: "Missing document `<head>`\n\n", 10: `Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
141
-
142
- `, 11: `_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
143
-
144
- `, 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n", 13: `%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
145
-
146
- `, 14: `ThemeProvider: "theme" prop is required.
147
-
148
- `, 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n", 16: `Reached the limit of how many styled components may be created at group %s.
149
- You may only create up to 1,073,741,824 components. If you're creating components dynamically,
150
- as for instance in your render method then you may be running into this limitation.
151
-
152
- `, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
153
- Has styled-components' style tag been unmounted or altered by another script?
154
- `, 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
155
- function jt() {
156
- for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e];
157
- for (var n = t[0], r = [], o = 1, s = t.length; o < s; o += 1) r.push(t[o]);
158
- return r.forEach(function(i) {
159
- n = n.replace(/%[a-z]/, i);
160
- }), n;
147
+ var ke = process.env.NODE_ENV === "production" ? {} : {
148
+ 1: "Cannot create styled-component for component: %s.\n\n",
149
+ 2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",
150
+ 3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
151
+ 4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",
152
+ 5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",
153
+ 6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",
154
+ 7: "ThemeProvider: Please return an object from your \"theme\" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n",
155
+ 8: "ThemeProvider: Please make your \"theme\" prop an object.\n\n",
156
+ 9: "Missing document `<head>`\n\n",
157
+ 10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",
158
+ 11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",
159
+ 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",
160
+ 13: "%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",
161
+ 14: "ThemeProvider: \"theme\" prop is required.\n\n",
162
+ 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",
163
+ 16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",
164
+ 17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n",
165
+ 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"
166
+ };
167
+ function Ae() {
168
+ for (var e = [...arguments], t = e[0], n = [], r = 1, i = e.length; r < i; r += 1) n.push(e[r]);
169
+ return n.forEach(function(e) {
170
+ t = t.replace(/%[a-z]/, e);
171
+ }), t;
161
172
  }
162
- function F(t) {
163
- for (var e = [], n = 1; n < arguments.length; n++) e[n - 1] = arguments[n];
164
- return process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t, " for more information.").concat(e.length > 0 ? " Args: ".concat(e.join(", ")) : "")) : new Error(jt.apply(void 0, x([kt[t]], e, !1)).trim());
173
+ function H(e) {
174
+ var t = [...arguments].slice(1);
175
+ return process.env.NODE_ENV === "production" ? Error(`An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#${e} for more information.${t.length > 0 ? ` Args: ${t.join(", ")}` : ""}`) : Error(Ae.apply(void 0, n([ke[e]], t, !1)).trim());
165
176
  }
166
- var xt = (function() {
167
- function t(e) {
168
- this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
169
- }
170
- return t.prototype.indexOfGroup = function(e) {
171
- for (var n = 0, r = 0; r < e; r++) n += this.groupSizes[r];
172
- return n;
173
- }, t.prototype.insertRules = function(e, n) {
174
- if (e >= this.groupSizes.length) {
175
- for (var r = this.groupSizes, o = r.length, s = o; e >= s; ) if ((s <<= 1) < 0) throw F(16, "".concat(e));
176
- this.groupSizes = new Uint32Array(s), this.groupSizes.set(r), this.length = s;
177
- for (var i = o; i < s; i++) this.groupSizes[i] = 0;
178
- }
179
- for (var c = this.indexOfGroup(e + 1), a = (i = 0, n.length); i < a; i++) this.tag.insertRule(c, n[i]) && (this.groupSizes[e]++, c++);
180
- }, t.prototype.clearGroup = function(e) {
181
- if (e < this.length) {
182
- var n = this.groupSizes[e], r = this.indexOfGroup(e), o = r + n;
183
- this.groupSizes[e] = 0;
184
- for (var s = r; s < o; s++) this.tag.deleteRule(r);
185
- }
186
- }, t.prototype.getGroup = function(e) {
187
- var n = "";
188
- if (e >= this.length || this.groupSizes[e] === 0) return n;
189
- for (var r = this.groupSizes[e], o = this.indexOfGroup(e), s = o + r, i = o; i < s; i++) n += "".concat(this.tag.getRule(i)).concat(ye);
190
- return n;
191
- }, t;
192
- })(), Vt = 1 << 30, J = /* @__PURE__ */ new Map(), te = /* @__PURE__ */ new Map(), Q = 1, X = function(t) {
193
- if (J.has(t)) return J.get(t);
194
- for (; te.has(Q); ) Q++;
195
- var e = Q++;
196
- if (process.env.NODE_ENV !== "production" && ((0 | e) < 0 || e > Vt)) throw F(16, "".concat(e));
197
- return J.set(t, e), te.set(e, t), e;
198
- }, zt = function(t, e) {
199
- Q = e + 1, J.set(t, e), te.set(e, t);
200
- }, $t = "style[".concat(T, "][").concat($e, '="').concat(ne, '"]'), Ft = new RegExp("^".concat(T, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), Bt = function(t, e, n) {
201
- for (var r, o = n.split(","), s = 0, i = o.length; s < i; s++) (r = o[s]) && t.registerName(e, r);
202
- }, Mt = function(t, e) {
203
- for (var n, r = ((n = e.textContent) !== null && n !== void 0 ? n : "").split(ye), o = [], s = 0, i = r.length; s < i; s++) {
204
- var c = r[s].trim();
205
- if (c) {
206
- var a = c.match(Ft);
207
- if (a) {
208
- var f = 0 | parseInt(a[1], 10), d = a[2];
209
- f !== 0 && (zt(d, f), Bt(t, d, a[3]), t.getTag().insertRules(f, o)), o.length = 0;
210
- } else o.push(c);
211
- }
212
- }
213
- }, De = function(t) {
214
- for (var e = document.querySelectorAll($t), n = 0, r = e.length; n < r; n++) {
215
- var o = e[n];
216
- o && o.getAttribute(T) !== ze && (Mt(t, o), o.parentNode && o.parentNode.removeChild(o));
217
- }
177
+ var je = function() {
178
+ function e(e) {
179
+ this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
180
+ }
181
+ return e.prototype.indexOfGroup = function(e) {
182
+ for (var t = 0, n = 0; n < e; n++) t += this.groupSizes[n];
183
+ return t;
184
+ }, e.prototype.insertRules = function(e, t) {
185
+ if (e >= this.groupSizes.length) {
186
+ for (var n = this.groupSizes, r = n.length, i = r; e >= i;) if ((i <<= 1) < 0) throw H(16, `${e}`);
187
+ this.groupSizes = new Uint32Array(i), this.groupSizes.set(n), this.length = i;
188
+ for (var a = r; a < i; a++) this.groupSizes[a] = 0;
189
+ }
190
+ for (var o = this.indexOfGroup(e + 1), s = (a = 0, t.length); a < s; a++) this.tag.insertRule(o, t[a]) && (this.groupSizes[e]++, o++);
191
+ }, e.prototype.clearGroup = function(e) {
192
+ if (e < this.length) {
193
+ var t = this.groupSizes[e], n = this.indexOfGroup(e), r = n + t;
194
+ this.groupSizes[e] = 0;
195
+ for (var i = n; i < r; i++) this.tag.deleteRule(n);
196
+ }
197
+ }, e.prototype.getGroup = function(e) {
198
+ var t = "";
199
+ if (e >= this.length || this.groupSizes[e] === 0) return t;
200
+ for (var n = this.groupSizes[e], r = this.indexOfGroup(e), i = r + n, a = r; a < i; a++) t += `${this.tag.getRule(a)}${T}`;
201
+ return t;
202
+ }, e;
203
+ }(), Me = 1 << 30, U = /* @__PURE__ */ new Map(), W = /* @__PURE__ */ new Map(), G = 1, K = function(e) {
204
+ if (U.has(e)) return U.get(e);
205
+ for (; W.has(G);) G++;
206
+ var t = G++;
207
+ if (process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t > Me)) throw H(16, `${t}`);
208
+ return U.set(e, t), W.set(t, e), t;
209
+ }, Ne = function(e, t) {
210
+ G = t + 1, U.set(e, t), W.set(t, e);
211
+ }, Pe = `style[${x}][${C}="${w}"]`, Fe = RegExp(`^${x}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`), Ie = function(e, t, n) {
212
+ for (var r, i = n.split(","), a = 0, o = i.length; a < o; a++) (r = i[a]) && e.registerName(t, r);
213
+ }, Le = function(e, t) {
214
+ for (var n = (t.textContent ?? "").split(T), r = [], i = 0, a = n.length; i < a; i++) {
215
+ var o = n[i].trim();
216
+ if (o) {
217
+ var s = o.match(Fe);
218
+ if (s) {
219
+ var c = 0 | parseInt(s[1], 10), l = s[2];
220
+ c !== 0 && (Ne(l, c), Ie(e, l, s[3]), e.getTag().insertRules(c, r)), r.length = 0;
221
+ } else r.push(o);
222
+ }
223
+ }
224
+ }, Re = function(e) {
225
+ for (var t = document.querySelectorAll(Pe), n = 0, r = t.length; n < r; n++) {
226
+ var i = t[n];
227
+ i && i.getAttribute(x) !== S && (Le(e, i), i.parentNode && i.parentNode.removeChild(i));
228
+ }
218
229
  };
219
- function Lt() {
220
- return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
230
+ function q() {
231
+ return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
221
232
  }
222
- var He = function(t) {
223
- var e = document.head, n = t || e, r = document.createElement("style"), o = (function(c) {
224
- var a = Array.from(c.querySelectorAll("style[".concat(T, "]")));
225
- return a[a.length - 1];
226
- })(n), s = o !== void 0 ? o.nextSibling : null;
227
- r.setAttribute(T, ze), r.setAttribute($e, ne);
228
- var i = Lt();
229
- return i && r.setAttribute("nonce", i), n.insertBefore(r, s), r;
230
- }, Gt = (function() {
231
- function t(e) {
232
- this.element = He(e), this.element.appendChild(document.createTextNode("")), this.sheet = (function(n) {
233
- if (n.sheet) return n.sheet;
234
- for (var r = document.styleSheets, o = 0, s = r.length; o < s; o++) {
235
- var i = r[o];
236
- if (i.ownerNode === n) return i;
237
- }
238
- throw F(17);
239
- })(this.element), this.length = 0;
240
- }
241
- return t.prototype.insertRule = function(e, n) {
242
- try {
243
- return this.sheet.insertRule(n, e), this.length++, !0;
244
- } catch {
245
- return !1;
246
- }
247
- }, t.prototype.deleteRule = function(e) {
248
- this.sheet.deleteRule(e), this.length--;
249
- }, t.prototype.getRule = function(e) {
250
- var n = this.sheet.cssRules[e];
251
- return n && n.cssText ? n.cssText : "";
252
- }, t;
253
- })(), Yt = (function() {
254
- function t(e) {
255
- this.element = He(e), this.nodes = this.element.childNodes, this.length = 0;
256
- }
257
- return t.prototype.insertRule = function(e, n) {
258
- if (e <= this.length && e >= 0) {
259
- var r = document.createTextNode(n);
260
- return this.element.insertBefore(r, this.nodes[e] || null), this.length++, !0;
261
- }
262
- return !1;
263
- }, t.prototype.deleteRule = function(e) {
264
- this.element.removeChild(this.nodes[e]), this.length--;
265
- }, t.prototype.getRule = function(e) {
266
- return e < this.length ? this.nodes[e].textContent : "";
267
- }, t;
268
- })(), qt = (function() {
269
- function t(e) {
270
- this.rules = [], this.length = 0;
271
- }
272
- return t.prototype.insertRule = function(e, n) {
273
- return e <= this.length && (this.rules.splice(e, 0, n), this.length++, !0);
274
- }, t.prototype.deleteRule = function(e) {
275
- this.rules.splice(e, 1), this.length--;
276
- }, t.prototype.getRule = function(e) {
277
- return e < this.length ? this.rules[e] : "";
278
- }, t;
279
- })(), Oe = ee, Ht = { isServer: !ee, useCSSOMInjection: !gt }, We = (function() {
280
- function t(e, n, r) {
281
- e === void 0 && (e = V), n === void 0 && (n = {});
282
- var o = this;
283
- this.options = E(E({}, Ht), e), this.gs = n, this.names = new Map(r), this.server = !!e.isServer, !this.server && ee && Oe && (Oe = !1, De(this)), ge(this, function() {
284
- return (function(s) {
285
- for (var i = s.getTag(), c = i.length, a = "", f = function(h) {
286
- var u = (function(b) {
287
- return te.get(b);
288
- })(h);
289
- if (u === void 0) return "continue";
290
- var p = s.names.get(u), v = i.getGroup(h);
291
- if (p === void 0 || !p.size || v.length === 0) return "continue";
292
- var _ = "".concat(T, ".g").concat(h, '[id="').concat(u, '"]'), P = "";
293
- p !== void 0 && p.forEach(function(b) {
294
- b.length > 0 && (P += "".concat(b, ","));
295
- }), a += "".concat(v).concat(_, '{content:"').concat(P, '"}').concat(ye);
296
- }, d = 0; d < c; d++) f(d);
297
- return a;
298
- })(o);
299
- });
300
- }
301
- return t.registerId = function(e) {
302
- return X(e);
303
- }, t.prototype.rehydrate = function() {
304
- !this.server && ee && De(this);
305
- }, t.prototype.reconstructWithOptions = function(e, n) {
306
- return n === void 0 && (n = !0), new t(E(E({}, this.options), e), this.gs, n && this.names || void 0);
307
- }, t.prototype.allocateGSInstance = function(e) {
308
- return this.gs[e] = (this.gs[e] || 0) + 1;
309
- }, t.prototype.getTag = function() {
310
- return this.tag || (this.tag = (e = (function(n) {
311
- var r = n.useCSSOMInjection, o = n.target;
312
- return n.isServer ? new qt(o) : r ? new Gt(o) : new Yt(o);
313
- })(this.options), new xt(e)));
314
- var e;
315
- }, t.prototype.hasNameForId = function(e, n) {
316
- return this.names.has(e) && this.names.get(e).has(n);
317
- }, t.prototype.registerName = function(e, n) {
318
- if (X(e), this.names.has(e)) this.names.get(e).add(n);
319
- else {
320
- var r = /* @__PURE__ */ new Set();
321
- r.add(n), this.names.set(e, r);
322
- }
323
- }, t.prototype.insertRules = function(e, n, r) {
324
- this.registerName(e, n), this.getTag().insertRules(X(e), r);
325
- }, t.prototype.clearNames = function(e) {
326
- this.names.has(e) && this.names.get(e).clear();
327
- }, t.prototype.clearRules = function(e) {
328
- this.getTag().clearGroup(X(e)), this.clearNames(e);
329
- }, t.prototype.clearTag = function() {
330
- this.tag = void 0;
331
- }, t;
332
- })(), Wt = /&/g, Ut = /^\s*\/\/.*$/gm;
333
- function Ue(t, e) {
334
- return t.map(function(n) {
335
- return n.type === "rule" && (n.value = "".concat(e, " ").concat(n.value), n.value = n.value.replaceAll(",", ",".concat(e, " ")), n.props = n.props.map(function(r) {
336
- return "".concat(e, " ").concat(r);
337
- })), Array.isArray(n.children) && n.type !== "@keyframes" && (n.children = Ue(n.children, e)), n;
338
- });
233
+ var ze = function(e) {
234
+ var t = document.head, n = e || t, r = document.createElement("style"), i = function(e) {
235
+ var t = Array.from(e.querySelectorAll(`style[${x}]`));
236
+ return t[t.length - 1];
237
+ }(n), a = i === void 0 ? null : i.nextSibling;
238
+ r.setAttribute(x, S), r.setAttribute(C, w);
239
+ var o = q();
240
+ return o && r.setAttribute("nonce", o), n.insertBefore(r, a), r;
241
+ }, Be = function() {
242
+ function e(e) {
243
+ this.element = ze(e), this.element.appendChild(document.createTextNode("")), this.sheet = function(e) {
244
+ if (e.sheet) return e.sheet;
245
+ for (var t = document.styleSheets, n = 0, r = t.length; n < r; n++) {
246
+ var i = t[n];
247
+ if (i.ownerNode === e) return i;
248
+ }
249
+ throw H(17);
250
+ }(this.element), this.length = 0;
251
+ }
252
+ return e.prototype.insertRule = function(e, t) {
253
+ try {
254
+ return this.sheet.insertRule(t, e), this.length++, !0;
255
+ } catch {
256
+ return !1;
257
+ }
258
+ }, e.prototype.deleteRule = function(e) {
259
+ this.sheet.deleteRule(e), this.length--;
260
+ }, e.prototype.getRule = function(e) {
261
+ var t = this.sheet.cssRules[e];
262
+ return t && t.cssText ? t.cssText : "";
263
+ }, e;
264
+ }(), Ve = function() {
265
+ function e(e) {
266
+ this.element = ze(e), this.nodes = this.element.childNodes, this.length = 0;
267
+ }
268
+ return e.prototype.insertRule = function(e, t) {
269
+ if (e <= this.length && e >= 0) {
270
+ var n = document.createTextNode(t);
271
+ return this.element.insertBefore(n, this.nodes[e] || null), this.length++, !0;
272
+ }
273
+ return !1;
274
+ }, e.prototype.deleteRule = function(e) {
275
+ this.element.removeChild(this.nodes[e]), this.length--;
276
+ }, e.prototype.getRule = function(e) {
277
+ return e < this.length ? this.nodes[e].textContent : "";
278
+ }, e;
279
+ }(), He = function() {
280
+ function e(e) {
281
+ this.rules = [], this.length = 0;
282
+ }
283
+ return e.prototype.insertRule = function(e, t) {
284
+ return e <= this.length && (this.rules.splice(e, 0, t), this.length++, !0);
285
+ }, e.prototype.deleteRule = function(e) {
286
+ this.rules.splice(e, 1), this.length--;
287
+ }, e.prototype.getRule = function(e) {
288
+ return e < this.length ? this.rules[e] : "";
289
+ }, e;
290
+ }(), Ue = E, We = {
291
+ isServer: !E,
292
+ useCSSOMInjection: !ee
293
+ }, J = function() {
294
+ function e(e, n, r) {
295
+ e === void 0 && (e = k), n === void 0 && (n = {});
296
+ var i = this;
297
+ this.options = t(t({}, We), e), this.gs = n, this.names = new Map(r), this.server = !!e.isServer, !this.server && E && Ue && (Ue = !1, Re(this)), V(this, function() {
298
+ return function(e) {
299
+ for (var t = e.getTag(), n = t.length, r = "", i = function(n) {
300
+ var i = function(e) {
301
+ return W.get(e);
302
+ }(n);
303
+ if (i === void 0) return "continue";
304
+ var a = e.names.get(i), o = t.getGroup(n);
305
+ if (a === void 0 || !a.size || o.length === 0) return "continue";
306
+ var s = `${x}.g${n}[id="${i}"]`, c = "";
307
+ a !== void 0 && a.forEach(function(e) {
308
+ e.length > 0 && (c += `${e},`);
309
+ }), r += `${o}${s}{content:"${c}"}${T}`;
310
+ }, a = 0; a < n; a++) i(a);
311
+ return r;
312
+ }(i);
313
+ });
314
+ }
315
+ return e.registerId = function(e) {
316
+ return K(e);
317
+ }, e.prototype.rehydrate = function() {
318
+ !this.server && E && Re(this);
319
+ }, e.prototype.reconstructWithOptions = function(n, r) {
320
+ return r === void 0 && (r = !0), new e(t(t({}, this.options), n), this.gs, r && this.names || void 0);
321
+ }, e.prototype.allocateGSInstance = function(e) {
322
+ return this.gs[e] = (this.gs[e] || 0) + 1;
323
+ }, e.prototype.getTag = function() {
324
+ return this.tag ||= (e = function(e) {
325
+ var t = e.useCSSOMInjection, n = e.target;
326
+ return e.isServer ? new He(n) : t ? new Be(n) : new Ve(n);
327
+ }(this.options), new je(e));
328
+ var e;
329
+ }, e.prototype.hasNameForId = function(e, t) {
330
+ return this.names.has(e) && this.names.get(e).has(t);
331
+ }, e.prototype.registerName = function(e, t) {
332
+ if (K(e), this.names.has(e)) this.names.get(e).add(t);
333
+ else {
334
+ var n = /* @__PURE__ */ new Set();
335
+ n.add(t), this.names.set(e, n);
336
+ }
337
+ }, e.prototype.insertRules = function(e, t, n) {
338
+ this.registerName(e, t), this.getTag().insertRules(K(e), n);
339
+ }, e.prototype.clearNames = function(e) {
340
+ this.names.has(e) && this.names.get(e).clear();
341
+ }, e.prototype.clearRules = function(e) {
342
+ this.getTag().clearGroup(K(e)), this.clearNames(e);
343
+ }, e.prototype.clearTag = function() {
344
+ this.tag = void 0;
345
+ }, e;
346
+ }(), Ge = /&/g, Ke = /^\s*\/\/.*$/gm;
347
+ function qe(e, t) {
348
+ return e.map(function(e) {
349
+ return e.type === "rule" && (e.value = `${t} ${e.value}`, e.value = e.value.replaceAll(",", `,${t} `), e.props = e.props.map(function(e) {
350
+ return `${t} ${e}`;
351
+ })), Array.isArray(e.children) && e.type !== "@keyframes" && (e.children = qe(e.children, t)), e;
352
+ });
339
353
  }
340
- function Kt(t) {
341
- var e, n, r, o = V, s = o.options, i = s === void 0 ? V : s, c = o.plugins, a = c === void 0 ? re : c, f = function(u, p, v) {
342
- return v.startsWith(n) && v.endsWith(n) && v.replaceAll(n, "").length > 0 ? ".".concat(e) : u;
343
- }, d = a.slice();
344
- d.push(function(u) {
345
- u.type === pt && u.value.includes("&") && (u.props[0] = u.props[0].replace(Wt, n).replace(r, f));
346
- }), i.prefix && d.push(dt), d.push(mt);
347
- var h = function(u, p, v, _) {
348
- p === void 0 && (p = ""), v === void 0 && (v = ""), _ === void 0 && (_ = "&"), e = _, n = p, r = new RegExp("\\".concat(n, "\\b"), "g");
349
- var P = u.replace(Ut, ""), b = vt(v || p ? "".concat(v, " ").concat(p, " { ").concat(P, " }") : P);
350
- i.namespace && (b = Ue(b, i.namespace));
351
- var B = [];
352
- return yt(b, ht(d.concat(ft(function(m) {
353
- return B.push(m);
354
- })))), B;
355
- };
356
- return h.hash = a.length ? a.reduce(function(u, p) {
357
- return p.name || F(15), D(u, p.name);
358
- }, Fe).toString() : "", h;
354
+ function Je(e) {
355
+ var t, n, r, i = e === void 0 ? k : e, d = i.options, f = d === void 0 ? k : d, p = i.plugins, m = p === void 0 ? O : p, h = function(e, r, i) {
356
+ return i.startsWith(n) && i.endsWith(n) && i.replaceAll(n, "").length > 0 ? `.${t}` : e;
357
+ }, g = m.slice();
358
+ g.push(function(e) {
359
+ e.type === "rule" && e.value.includes("&") && (e.props[0] = e.props[0].replace(Ge, n).replace(r, h));
360
+ }), f.prefix && g.push(l), g.push(s);
361
+ var _ = function(e, i, s, l) {
362
+ i === void 0 && (i = ""), s === void 0 && (s = ""), l === void 0 && (l = "&"), t = l, n = i, r = RegExp(`\\${n}\\b`, "g");
363
+ var d = e.replace(Ke, ""), p = a(s || i ? `${s} ${i} { ${d} }` : d);
364
+ f.namespace && (p = qe(p, f.namespace));
365
+ var m = [];
366
+ return o(p, c(g.concat(u(function(e) {
367
+ return m.push(e);
368
+ })))), m;
369
+ };
370
+ return _.hash = m.length ? m.reduce(function(e, t) {
371
+ return t.name || H(15), N(e, t.name);
372
+ }, ue).toString() : "", _;
359
373
  }
360
- var Xt = new We(), fe = Kt(), Ke = Y.createContext({ shouldForwardProp: void 0, styleSheet: Xt, stylis: fe });
361
- Ke.Consumer;
362
- Y.createContext(void 0);
363
- function Re() {
364
- return ut(Ke);
374
+ var Ye = new J(), Y = Je(), X = f.createContext({
375
+ shouldForwardProp: void 0,
376
+ styleSheet: Ye,
377
+ stylis: Y
378
+ });
379
+ X.Consumer;
380
+ var Xe = f.createContext(void 0);
381
+ function Z() {
382
+ return m(X);
383
+ }
384
+ function Ze(e) {
385
+ var t = y(e.stylisPlugins), n = t[0], r = t[1], i = Z().styleSheet, a = _(function() {
386
+ var t = i;
387
+ return e.sheet ? t = e.sheet : e.target && (t = t.reconstructWithOptions({ target: e.target }, !1)), e.disableCSSOMInjection && (t = t.reconstructWithOptions({ useCSSOMInjection: !1 })), t;
388
+ }, [
389
+ e.disableCSSOMInjection,
390
+ e.sheet,
391
+ e.target,
392
+ i
393
+ ]), o = _(function() {
394
+ return Je({
395
+ options: {
396
+ namespace: e.namespace,
397
+ prefix: e.enableVendorPrefixes
398
+ },
399
+ plugins: n
400
+ });
401
+ }, [
402
+ e.enableVendorPrefixes,
403
+ e.namespace,
404
+ n
405
+ ]);
406
+ g(function() {
407
+ (0, b.default)(n, e.stylisPlugins) || r(e.stylisPlugins);
408
+ }, [e.stylisPlugins]);
409
+ var s = _(function() {
410
+ return {
411
+ shouldForwardProp: e.shouldForwardProp,
412
+ styleSheet: a,
413
+ stylis: o
414
+ };
415
+ }, [
416
+ e.shouldForwardProp,
417
+ a,
418
+ o
419
+ ]);
420
+ return f.createElement(X.Provider, { value: s }, f.createElement(Xe.Provider, { value: o }, e.children));
365
421
  }
366
- var Te = (function() {
367
- function t(e, n) {
368
- var r = this;
369
- this.inject = function(o, s) {
370
- s === void 0 && (s = fe);
371
- var i = r.name + s.hash;
372
- o.hasNameForId(r.id, i) || o.insertRules(r.id, i, s(r.rules, i, "@keyframes"));
373
- }, this.name = e, this.id = "sc-keyframes-".concat(e), this.rules = n, ge(this, function() {
374
- throw F(12, String(r.name));
375
- });
376
- }
377
- return t.prototype.getName = function(e) {
378
- return e === void 0 && (e = fe), this.name + e.hash;
379
- }, t;
380
- })(), Zt = function(t) {
381
- return t >= "A" && t <= "Z";
422
+ var Qe = function() {
423
+ function e(e, t) {
424
+ var n = this;
425
+ this.inject = function(e, t) {
426
+ t === void 0 && (t = Y);
427
+ var r = n.name + t.hash;
428
+ e.hasNameForId(n.id, r) || e.insertRules(n.id, r, t(n.rules, r, "@keyframes"));
429
+ }, this.name = e, this.id = `sc-keyframes-${e}`, this.rules = t, V(this, function() {
430
+ throw H(12, String(n.name));
431
+ });
432
+ }
433
+ return e.prototype.getName = function(e) {
434
+ return e === void 0 && (e = Y), this.name + e.hash;
435
+ }, e;
436
+ }(), $e = function(e) {
437
+ return e >= "A" && e <= "Z";
382
438
  };
383
- function ke(t) {
384
- for (var e = "", n = 0; n < t.length; n++) {
385
- var r = t[n];
386
- if (n === 1 && r === "-" && t[0] === "-") return t;
387
- Zt(r) ? e += "-" + r.toLowerCase() : e += r;
388
- }
389
- return e.startsWith("ms-") ? "-" + e : e;
439
+ function et(e) {
440
+ for (var t = "", n = 0; n < e.length; n++) {
441
+ var r = e[n];
442
+ if (n === 1 && r === "-" && e[0] === "-") return e;
443
+ $e(r) ? t += "-" + r.toLowerCase() : t += r;
444
+ }
445
+ return t.startsWith("ms-") ? "-" + t : t;
390
446
  }
391
- var Xe = function(t) {
392
- return t == null || t === !1 || t === "";
393
- }, Ze = function(t) {
394
- var e, n, r = [];
395
- for (var o in t) {
396
- var s = t[o];
397
- t.hasOwnProperty(o) && !Xe(s) && (Array.isArray(s) && s.isCss || z(s) ? r.push("".concat(ke(o), ":"), s, ";") : $(s) ? r.push.apply(r, x(x(["".concat(o, " {")], Ze(s), !1), ["}"], !1)) : r.push("".concat(ke(o), ": ").concat((e = o, (n = s) == null || typeof n == "boolean" || n === "" ? "" : typeof n != "number" || n === 0 || e in lt || e.startsWith("--") ? String(n).trim() : "".concat(n, "px")), ";")));
398
- }
399
- return r;
447
+ var tt = function(e) {
448
+ return e == null || !1 === e || e === "";
449
+ }, nt = function(e) {
450
+ var t, r, i = [];
451
+ for (var a in e) {
452
+ var o = e[a];
453
+ e.hasOwnProperty(a) && !tt(o) && (Array.isArray(o) && o.isCss || F(o) ? i.push(`${et(a)}:`, o, ";") : z(o) ? i.push.apply(i, n(n([`${a} {`], nt(o), !1), ["}"], !1)) : i.push(`${et(a)}: ${t = a, (r = o) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in d || t.startsWith("--") ? String(r).trim() : `${r}px`};`));
454
+ }
455
+ return i;
400
456
  };
401
- function R(t, e, n, r) {
402
- if (Xe(t)) return [];
403
- if (ve(t)) return [".".concat(t.styledComponentId)];
404
- if (z(t)) {
405
- if (!z(s = t) || s.prototype && s.prototype.isReactComponent || !e) return [t];
406
- var o = t(e);
407
- return process.env.NODE_ENV === "production" || typeof o != "object" || Array.isArray(o) || o instanceof Te || $(o) || o === null || console.error("".concat(Me(t), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), R(o, e, n, r);
408
- }
409
- var s;
410
- return t instanceof Te ? n ? (t.inject(n, r), [t.getName(r)]) : [t] : $(t) ? Ze(t) : Array.isArray(t) ? Array.prototype.concat.apply(re, t.map(function(i) {
411
- return R(i, e, n, r);
412
- })) : [t.toString()];
457
+ function Q(e, t, n, r) {
458
+ if (tt(e)) return [];
459
+ if (I(e)) return [`.${e.styledComponentId}`];
460
+ if (F(e)) {
461
+ if (!F(a = e) || a.prototype && a.prototype.isReactComponent || !t) return [e];
462
+ var i = e(t);
463
+ return process.env.NODE_ENV === "production" || typeof i != "object" || Array.isArray(i) || i instanceof Qe || z(i) || i === null || console.error(`${pe(e)} is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.`), Q(i, t, n, r);
464
+ }
465
+ var a;
466
+ return e instanceof Qe ? n ? (e.inject(n, r), [e.getName(r)]) : [e] : z(e) ? nt(e) : Array.isArray(e) ? Array.prototype.concat.apply(O, e.map(function(e) {
467
+ return Q(e, t, n, r);
468
+ })) : [e.toString()];
413
469
  }
414
- function Jt(t) {
415
- for (var e = 0; e < t.length; e += 1) {
416
- var n = t[e];
417
- if (z(n) && !ve(n)) return !1;
418
- }
419
- return !0;
470
+ function rt(e) {
471
+ for (var t = 0; t < e.length; t += 1) {
472
+ var n = e[t];
473
+ if (F(n) && !I(n)) return !1;
474
+ }
475
+ return !0;
420
476
  }
421
- var Qt = Be(ne), en = (function() {
422
- function t(e, n, r) {
423
- this.rules = e, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (r === void 0 || r.isStatic) && Jt(e), this.componentId = n, this.baseHash = D(Qt, n), this.baseStyle = r, We.registerId(n);
424
- }
425
- return t.prototype.generateAndInjectStyles = function(e, n, r) {
426
- var o = this.baseStyle ? this.baseStyle.generateAndInjectStyles(e, n, r) : "";
427
- if (this.isStatic && !r.hash) if (this.staticRulesId && n.hasNameForId(this.componentId, this.staticRulesId)) o = O(o, this.staticRulesId);
428
- else {
429
- var s = Ie(R(this.rules, e, n, r)), i = de(D(this.baseHash, s) >>> 0);
430
- if (!n.hasNameForId(this.componentId, i)) {
431
- var c = r(s, ".".concat(i), void 0, this.componentId);
432
- n.insertRules(this.componentId, i, c);
433
- }
434
- o = O(o, i), this.staticRulesId = i;
435
- }
436
- else {
437
- for (var a = D(this.baseHash, r.hash), f = "", d = 0; d < this.rules.length; d++) {
438
- var h = this.rules[d];
439
- if (typeof h == "string") f += h, process.env.NODE_ENV !== "production" && (a = D(a, h));
440
- else if (h) {
441
- var u = Ie(R(h, e, n, r));
442
- a = D(a, u + d), f += u;
443
- }
444
- }
445
- if (f) {
446
- var p = de(a >>> 0);
447
- n.hasNameForId(this.componentId, p) || n.insertRules(this.componentId, p, r(f, ".".concat(p), void 0, this.componentId)), o = O(o, p);
448
- }
449
- }
450
- return o;
451
- }, t;
452
- })(), Je = Y.createContext(void 0);
453
- Je.Consumer;
454
- var le = {}, je = /* @__PURE__ */ new Set();
455
- function tn(t, e, n) {
456
- var r = ve(t), o = t, s = !ue(t), i = e.attrs, c = i === void 0 ? re : i, a = e.componentId, f = a === void 0 ? (function(y, g) {
457
- var l = typeof y != "string" ? "sc" : Ne(y);
458
- le[l] = (le[l] || 0) + 1;
459
- var S = "".concat(l, "-").concat(_t(ne + l + le[l]));
460
- return g ? "".concat(g, "-").concat(S) : S;
461
- })(e.displayName, e.parentComponentId) : a, d = e.displayName, h = d === void 0 ? (function(y) {
462
- return ue(y) ? "styled.".concat(y) : "Styled(".concat(Me(y), ")");
463
- })(t) : d, u = e.displayName && e.componentId ? "".concat(Ne(e.displayName), "-").concat(e.componentId) : e.componentId || f, p = r && o.attrs ? o.attrs.concat(c).filter(Boolean) : c, v = e.shouldForwardProp;
464
- if (r && o.shouldForwardProp) {
465
- var _ = o.shouldForwardProp;
466
- if (e.shouldForwardProp) {
467
- var P = e.shouldForwardProp;
468
- v = function(y, g) {
469
- return _(y, g) && P(y, g);
470
- };
471
- } else v = _;
472
- }
473
- var b = new en(n, u, r ? o.componentStyle : void 0);
474
- function B(y, g) {
475
- return (function(l, S, C) {
476
- var k = l.attrs, et = l.componentStyle, tt = l.defaultProps, nt = l.foldedComponentIds, Se = l.styledComponentId, rt = l.target, ot = Y.useContext(Je), st = Re(), oe = l.shouldForwardProp || st.shouldForwardProp;
477
- process.env.NODE_ENV !== "production" && Ee(Se);
478
- var we = wt(S, ot, tt) || V, N = (function(q, G, H) {
479
- for (var j, I = E(E({}, G), { className: void 0, theme: H }), ae = 0; ae < q.length; ae += 1) {
480
- var W = z(j = q[ae]) ? j(I) : j;
481
- for (var A in W) I[A] = A === "className" ? O(I[A], W[A]) : A === "style" ? E(E({}, I[A]), W[A]) : W[A];
482
- }
483
- return G.className && (I.className = O(I.className, G.className)), I;
484
- })(k, S, we), M = N.as || rt, L = {};
485
- for (var w in N) N[w] === void 0 || w[0] === "$" || w === "as" || w === "theme" && N.theme === we || (w === "forwardedAs" ? L.as = N.forwardedAs : oe && !oe(w, M) || (L[w] = N[w], oe || process.env.NODE_ENV !== "development" || it(w) || je.has(w) || !pe.has(M) || (je.add(w), console.warn('styled-components: it looks like an unknown prop "'.concat(w, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
486
- var se = (function(q, G) {
487
- var H = Re(), j = q.generateAndInjectStyles(G, H.styleSheet, H.stylis);
488
- return process.env.NODE_ENV !== "production" && Ee(j), j;
489
- })(et, N);
490
- process.env.NODE_ENV !== "production" && l.warnTooManyClasses && l.warnTooManyClasses(se);
491
- var ie = O(nt, Se);
492
- return se && (ie += " " + se), N.className && (ie += " " + N.className), L[ue(M) && !pe.has(M) ? "class" : "className"] = ie, C && (L.ref = C), at(M, L);
493
- })(m, y, g);
494
- }
495
- B.displayName = h;
496
- var m = Y.forwardRef(B);
497
- return m.attrs = p, m.componentStyle = b, m.displayName = h, m.shouldForwardProp = v, m.foldedComponentIds = r ? O(o.foldedComponentIds, o.styledComponentId) : "", m.styledComponentId = u, m.target = r ? o.target : t, Object.defineProperty(m, "defaultProps", { get: function() {
498
- return this._foldedDefaultProps;
499
- }, set: function(y) {
500
- this._foldedDefaultProps = r ? (function(g) {
501
- for (var l = [], S = 1; S < arguments.length; S++) l[S - 1] = arguments[S];
502
- for (var C = 0, k = l; C < k.length; C++) he(g, k[C], !0);
503
- return g;
504
- })({}, o.defaultProps, y) : y;
505
- } }), process.env.NODE_ENV !== "production" && (St(h, u), m.warnTooManyClasses = /* @__PURE__ */ (function(y, g) {
506
- var l = {}, S = !1;
507
- return function(C) {
508
- if (!S && (l[C] = !0, Object.keys(l).length >= 200)) {
509
- var k = g ? ' with the id of "'.concat(g, '"') : "";
510
- console.warn("Over ".concat(200, " classes were generated for component ").concat(y).concat(k, `.
511
- `) + `Consider using the attrs method, together with a style object for frequently changed styles.
477
+ var it = de(w), at = function() {
478
+ function e(e, t, n) {
479
+ this.rules = e, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (n === void 0 || n.isStatic) && rt(e), this.componentId = t, this.baseHash = N(it, t), this.baseStyle = n, J.registerId(t);
480
+ }
481
+ return e.prototype.generateAndInjectStyles = function(e, t, n) {
482
+ var r = this.baseStyle ? this.baseStyle.generateAndInjectStyles(e, t, n) : "";
483
+ if (this.isStatic && !n.hash) if (this.staticRulesId && t.hasNameForId(this.componentId, this.staticRulesId)) r = L(r, this.staticRulesId);
484
+ else {
485
+ var i = R(Q(this.rules, e, t, n)), a = j(N(this.baseHash, i) >>> 0);
486
+ if (!t.hasNameForId(this.componentId, a)) {
487
+ var o = n(i, `.${a}`, void 0, this.componentId);
488
+ t.insertRules(this.componentId, a, o);
489
+ }
490
+ r = L(r, a), this.staticRulesId = a;
491
+ }
492
+ else {
493
+ for (var s = N(this.baseHash, n.hash), c = "", l = 0; l < this.rules.length; l++) {
494
+ var u = this.rules[l];
495
+ if (typeof u == "string") c += u, process.env.NODE_ENV !== "production" && (s = N(s, u));
496
+ else if (u) {
497
+ var d = R(Q(u, e, t, n));
498
+ s = N(s, d + l), c += d;
499
+ }
500
+ }
501
+ if (c) {
502
+ var f = j(s >>> 0);
503
+ t.hasNameForId(this.componentId, f) || t.insertRules(this.componentId, f, n(c, `.${f}`, void 0, this.componentId)), r = L(r, f);
504
+ }
505
+ }
506
+ return r;
507
+ }, e;
508
+ }(), ot = f.createContext(void 0);
509
+ ot.Consumer;
510
+ var st = {}, ct = /* @__PURE__ */ new Set();
511
+ function lt(e, n, i) {
512
+ var a = I(e), o = e, s = !P(e), c = n.attrs, l = c === void 0 ? O : c, u = n.componentId, d = u === void 0 ? function(e, t) {
513
+ var n = typeof e == "string" ? se(e) : "sc";
514
+ st[n] = (st[n] || 0) + 1;
515
+ var r = `${n}-${fe(w + n + st[n])}`;
516
+ return t ? `${t}-${r}` : r;
517
+ }(n.displayName, n.parentComponentId) : u, m = n.displayName, g = m === void 0 ? function(e) {
518
+ return P(e) ? `styled.${e}` : `Styled(${pe(e)})`;
519
+ }(e) : m, _ = n.displayName && n.componentId ? `${se(n.displayName)}-${n.componentId}` : n.componentId || d, v = a && o.attrs ? o.attrs.concat(l).filter(Boolean) : l, y = n.shouldForwardProp;
520
+ if (a && o.shouldForwardProp) {
521
+ var b = o.shouldForwardProp;
522
+ if (n.shouldForwardProp) {
523
+ var x = n.shouldForwardProp;
524
+ y = function(e, t) {
525
+ return b(e, t) && x(e, t);
526
+ };
527
+ } else y = b;
528
+ }
529
+ var S = new at(i, _, a ? o.componentStyle : void 0);
530
+ function C(e, n) {
531
+ return function(e, n, i) {
532
+ var a = e.attrs, o = e.componentStyle, s = e.defaultProps, c = e.foldedComponentIds, l = e.styledComponentId, u = e.target, d = f.useContext(ot), m = Z(), g = e.shouldForwardProp || m.shouldForwardProp;
533
+ process.env.NODE_ENV !== "production" && h(l);
534
+ var _ = re(n, d, s) || k, v = function(e, n, r) {
535
+ for (var i, a = t(t({}, n), {
536
+ className: void 0,
537
+ theme: r
538
+ }), o = 0; o < e.length; o += 1) {
539
+ var s = F(i = e[o]) ? i(a) : i;
540
+ for (var c in s) a[c] = c === "className" ? L(a[c], s[c]) : c === "style" ? t(t({}, a[c]), s[c]) : s[c];
541
+ }
542
+ return n.className && (a.className = L(a.className, n.className)), a;
543
+ }(a, n, _), y = v.as || u, b = {};
544
+ for (var x in v) v[x] === void 0 || x[0] === "$" || x === "as" || x === "theme" && v.theme === _ || (x === "forwardedAs" ? b.as = v.forwardedAs : g && !g(x, y) || (b[x] = v[x], g || process.env.NODE_ENV !== "development" || r(x) || ct.has(x) || !ie.has(y) || (ct.add(x), console.warn(`styled-components: it looks like an unknown prop "${x}" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via \`<StyleSheetManager shouldForwardProp={...}>\` (connect an API like \`@emotion/is-prop-valid\`) or consider using transient props (\`\$\` prefix for automatic filtering.)`))));
545
+ var S = function(e, t) {
546
+ var n = Z(), r = e.generateAndInjectStyles(t, n.styleSheet, n.stylis);
547
+ return process.env.NODE_ENV !== "production" && h(r), r;
548
+ }(o, v);
549
+ process.env.NODE_ENV !== "production" && e.warnTooManyClasses && e.warnTooManyClasses(S);
550
+ var C = L(c, l);
551
+ return S && (C += " " + S), v.className && (C += " " + v.className), b[P(y) && !ie.has(y) ? "class" : "className"] = C, i && (b.ref = i), p(y, b);
552
+ }(T, e, n);
553
+ }
554
+ C.displayName = g;
555
+ var T = f.forwardRef(C);
556
+ return T.attrs = v, T.componentStyle = S, T.displayName = g, T.shouldForwardProp = y, T.foldedComponentIds = a ? L(o.foldedComponentIds, o.styledComponentId) : "", T.styledComponentId = _, T.target = a ? o.target : e, Object.defineProperty(T, "defaultProps", {
557
+ get: function() {
558
+ return this._foldedDefaultProps;
559
+ },
560
+ set: function(e) {
561
+ this._foldedDefaultProps = a ? function(e) {
562
+ for (var t = [...arguments].slice(1), n = 0, r = t; n < r.length; n++) B(e, r[n], !0);
563
+ return e;
564
+ }({}, o.defaultProps, e) : e;
565
+ }
566
+ }), process.env.NODE_ENV !== "production" && (ne(g, _), T.warnTooManyClasses = function(e, t) {
567
+ var n = {}, r = !1;
568
+ return function(i) {
569
+ if (!r && (n[i] = !0, Object.keys(n).length >= 200)) {
570
+ var a = t ? ` with the id of "${t}"` : "";
571
+ console.warn(`Over 200 classes were generated for component ${e}${a}.
572
+ Consider using the attrs method, together with a style object for frequently changed styles.
512
573
  Example:
513
574
  const Component = styled.div.attrs(props => ({
514
575
  style: {
@@ -516,57 +577,97 @@ Example:
516
577
  },
517
578
  }))\`width: 100%;\`
518
579
 
519
- <Component />`), S = !0, l = {};
520
- }
521
- };
522
- })(h, u)), ge(m, function() {
523
- return ".".concat(m.styledComponentId);
524
- }), s && qe(m, t, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), m;
580
+ <Component />`), r = !0, n = {};
581
+ }
582
+ };
583
+ }(g, _)), V(T, function() {
584
+ return `.${T.styledComponentId}`;
585
+ }), s && Oe(T, e, {
586
+ attrs: !0,
587
+ componentStyle: !0,
588
+ displayName: !0,
589
+ foldedComponentIds: !0,
590
+ shouldForwardProp: !0,
591
+ styledComponentId: !0,
592
+ target: !0
593
+ }), T;
525
594
  }
526
- function xe(t, e) {
527
- for (var n = [t[0]], r = 0, o = e.length; r < o; r += 1) n.push(e[r], t[r + 1]);
528
- return n;
595
+ function ut(e, t) {
596
+ for (var n = [e[0]], r = 0, i = t.length; r < i; r += 1) n.push(t[r], e[r + 1]);
597
+ return n;
529
598
  }
530
- var Ve = function(t) {
531
- return Object.assign(t, { isCss: !0 });
599
+ var dt = function(e) {
600
+ return Object.assign(e, { isCss: !0 });
532
601
  };
533
- function nn(t) {
534
- for (var e = [], n = 1; n < arguments.length; n++) e[n - 1] = arguments[n];
535
- if (z(t) || $(t)) return Ve(R(xe(re, x([t], e, !0))));
536
- var r = t;
537
- return e.length === 0 && r.length === 1 && typeof r[0] == "string" ? R(r) : Ve(R(xe(r, e)));
602
+ function ft(e) {
603
+ var t = [...arguments].slice(1);
604
+ if (F(e) || z(e)) return dt(Q(ut(O, n([e], t, !0))));
605
+ var r = e;
606
+ return t.length === 0 && r.length === 1 && typeof r[0] == "string" ? Q(r) : dt(Q(ut(r, t)));
538
607
  }
539
- function me(t, e, n) {
540
- if (n === void 0 && (n = V), !e) throw F(1, e);
541
- var r = function(o) {
542
- for (var s = [], i = 1; i < arguments.length; i++) s[i - 1] = arguments[i];
543
- return t(e, n, nn.apply(void 0, x([o], s, !1)));
544
- };
545
- return r.attrs = function(o) {
546
- return me(t, e, E(E({}, n), { attrs: Array.prototype.concat(n.attrs, o).filter(Boolean) }));
547
- }, r.withConfig = function(o) {
548
- return me(t, e, E(E({}, n), o));
549
- }, r;
608
+ function pt(e, r, i) {
609
+ if (i === void 0 && (i = k), !r) throw H(1, r);
610
+ var a = function(t) {
611
+ var a = [...arguments].slice(1);
612
+ return e(r, i, ft.apply(void 0, n([t], a, !1)));
613
+ };
614
+ return a.attrs = function(n) {
615
+ return pt(e, r, t(t({}, i), { attrs: Array.prototype.concat(i.attrs, n).filter(Boolean) }));
616
+ }, a.withConfig = function(n) {
617
+ return pt(e, r, t(t({}, i), n));
618
+ }, a;
550
619
  }
551
- var Qe = function(t) {
552
- return me(tn, t);
553
- }, rn = Qe;
554
- pe.forEach(function(t) {
555
- rn[t] = Qe(t);
556
- });
557
- process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
558
- Perhaps you're looking to import 'styled-components/native'?
559
- Read more about this at https://www.styled-components.com/docs/basics#react-native`);
560
- var Z = "__sc-".concat(T, "__");
561
- process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[Z] || (window[Z] = 0), window[Z] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
562
-
563
- See https://s-c.sh/2BAXzed for more info.`), window[Z] += 1);
564
- export {
565
- Ke as StyleSheetContext,
566
- Je as ThemeContext,
567
- nn as css,
568
- rn as default,
569
- ve as isStyledComponent,
570
- rn as styled,
571
- ne as version
572
- };
620
+ var mt = function(e) {
621
+ return pt(lt, e);
622
+ }, ht = mt;
623
+ ie.forEach(function(e) {
624
+ ht[e] = mt(e);
625
+ }), function() {
626
+ function e(e, t) {
627
+ this.rules = e, this.componentId = t, this.isStatic = rt(e), J.registerId(this.componentId + 1);
628
+ }
629
+ return e.prototype.createStyles = function(e, t, n, r) {
630
+ var i = r(R(Q(this.rules, t, n, r)), ""), a = this.componentId + e;
631
+ n.insertRules(a, a, i);
632
+ }, e.prototype.removeStyles = function(e, t) {
633
+ t.clearRules(this.componentId + e);
634
+ }, e.prototype.renderStyles = function(e, t, n, r) {
635
+ e > 2 && J.registerId(this.componentId + e), this.removeStyles(e, n), this.createStyles(e, t, n, r);
636
+ }, e;
637
+ }(), function() {
638
+ function e() {
639
+ var e = this;
640
+ this._emitSheetCSS = function() {
641
+ var t = e.instance.toString();
642
+ if (!t) return "";
643
+ var n = q();
644
+ return `<style ${R([
645
+ n && `nonce="${n}"`,
646
+ `${x}="true"`,
647
+ `${C}="${w}"`
648
+ ].filter(Boolean), " ")}>${t}</style>`;
649
+ }, this.getStyleTags = function() {
650
+ if (e.sealed) throw H(2);
651
+ return e._emitSheetCSS();
652
+ }, this.getStyleElement = function() {
653
+ var n;
654
+ if (e.sealed) throw H(2);
655
+ var r = e.instance.toString();
656
+ if (!r) return [];
657
+ var i = ((n = {})[x] = "", n[C] = w, n.dangerouslySetInnerHTML = { __html: r }, n), a = q();
658
+ return a && (i.nonce = a), [f.createElement("style", t({}, i, { key: "sc-0-0" }))];
659
+ }, this.seal = function() {
660
+ e.sealed = !0;
661
+ }, this.instance = new J({ isServer: !0 }), this.sealed = !1;
662
+ }
663
+ return e.prototype.collectStyles = function(e) {
664
+ if (this.sealed) throw H(2);
665
+ return f.createElement(Ze, { sheet: this.instance }, e);
666
+ }, e.prototype.interleaveWithNodeStream = function(e) {
667
+ throw H(3);
668
+ }, e;
669
+ }(), process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native");
670
+ var $ = `__sc-${x}__`;
671
+ process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[$] || (window[$] = 0), window[$] === 1 && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."), window[$] += 1);
672
+ //#endregion
673
+ export { ht as dt };