@tsed/react-formio 3.0.0-alpha.1 → 3.0.0-alpha.11

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 (626) hide show
  1. package/dist/atoms/icon/Icon.d.ts +6 -0
  2. package/dist/atoms/icon/Icon.js +12 -0
  3. package/dist/atoms/icon/Icon.js.map +1 -0
  4. package/dist/chunks/_commonjsHelpers.js +7 -0
  5. package/dist/chunks/_commonjsHelpers.js.map +1 -0
  6. package/dist/chunks/index.js +16 -18
  7. package/dist/chunks/index.js.map +1 -1
  8. package/dist/chunks/index.module.js +56 -0
  9. package/dist/chunks/index.module.js.map +1 -0
  10. package/dist/chunks/react-select-animated.esm.js +3513 -0
  11. package/dist/chunks/react-select-animated.esm.js.map +1 -0
  12. package/dist/hooks/keyboard.constants.d.ts +38 -0
  13. package/dist/hooks/keyboard.constants.js +7 -0
  14. package/dist/hooks/keyboard.constants.js.map +1 -0
  15. package/dist/hooks/useKeyboardControls.d.ts +12 -0
  16. package/dist/hooks/useKeyboardControls.js +35 -0
  17. package/dist/hooks/useKeyboardControls.js.map +1 -0
  18. package/dist/index.d.ts +0 -6
  19. package/dist/index.js +12 -105
  20. package/dist/index.js.map +1 -1
  21. package/dist/interfaces/ActionType.d.ts +23 -0
  22. package/dist/interfaces/ActionType.js +2 -0
  23. package/dist/interfaces/ActionType.js.map +1 -0
  24. package/dist/interfaces/ComponentType.d.ts +2 -0
  25. package/dist/interfaces/ComponentType.js +2 -0
  26. package/dist/interfaces/ComponentType.js.map +1 -0
  27. package/dist/interfaces/FormOptions.d.ts +3 -0
  28. package/dist/interfaces/{FormSchema.d.ts → FormType.d.ts} +3 -3
  29. package/dist/interfaces/FormType.js +2 -0
  30. package/dist/interfaces/FormType.js.map +1 -0
  31. package/dist/interfaces/Operation.d.ts +13 -4
  32. package/dist/interfaces/{RoleSchema.d.ts → RoleType.d.ts} +1 -1
  33. package/dist/interfaces/RoleType.js +2 -0
  34. package/dist/interfaces/RoleType.js.map +1 -0
  35. package/dist/interfaces/SubmissionType.d.ts +29 -0
  36. package/dist/interfaces/SubmissionType.js +2 -0
  37. package/dist/interfaces/SubmissionType.js.map +1 -0
  38. package/dist/interfaces/index.d.ts +5 -4
  39. package/dist/molecules/alert/Alert.d.ts +6 -0
  40. package/dist/{components/alert/alert.component.js → molecules/alert/Alert.js} +10 -7
  41. package/dist/molecules/alert/Alert.js.map +1 -0
  42. package/dist/molecules/button/Button.d.ts +21 -0
  43. package/dist/molecules/button/Button.js +51 -0
  44. package/dist/molecules/button/Button.js.map +1 -0
  45. package/dist/molecules/card/Card.js +14 -0
  46. package/dist/molecules/card/Card.js.map +1 -0
  47. package/dist/molecules/forms/form-control/FormControl.d.ts +17 -0
  48. package/dist/molecules/forms/form-control/FormControl.js +51 -0
  49. package/dist/molecules/forms/form-control/FormControl.js.map +1 -0
  50. package/dist/molecules/forms/input-tags/InputTags.d.ts +2 -0
  51. package/dist/molecules/forms/input-tags/InputTags.interface.d.ts +7 -0
  52. package/dist/molecules/forms/input-tags/InputTags.interface.js +2 -0
  53. package/dist/molecules/forms/input-tags/InputTags.interface.js.map +1 -0
  54. package/dist/molecules/forms/input-tags/InputTags.js +25 -0
  55. package/dist/molecules/forms/input-tags/InputTags.js.map +1 -0
  56. package/dist/molecules/forms/input-tags/all.d.ts +2 -0
  57. package/dist/molecules/forms/input-tags/all.js +9 -0
  58. package/dist/molecules/forms/input-tags/all.js.map +1 -0
  59. package/dist/molecules/forms/input-tags/components/ChoicesTags.d.ts +307 -0
  60. package/dist/molecules/forms/input-tags/components/ChoicesTags.js +51 -0
  61. package/dist/molecules/forms/input-tags/components/ChoicesTags.js.map +1 -0
  62. package/dist/molecules/forms/input-tags/components/ReactTags.d.ts +2 -0
  63. package/dist/molecules/forms/input-tags/components/ReactTags.js +1937 -0
  64. package/dist/molecules/forms/input-tags/components/ReactTags.js.map +1 -0
  65. package/dist/molecules/forms/input-text/InputText.d.ts +2 -0
  66. package/dist/molecules/forms/input-text/InputText.interface.d.ts +4 -0
  67. package/dist/molecules/forms/input-text/InputText.interface.js +2 -0
  68. package/dist/molecules/forms/input-text/InputText.interface.js.map +1 -0
  69. package/dist/molecules/forms/input-text/InputText.js +54 -0
  70. package/dist/molecules/forms/input-text/InputText.js.map +1 -0
  71. package/dist/molecules/forms/select/Select.d.ts +2 -0
  72. package/dist/molecules/forms/select/Select.interface.d.ts +38 -0
  73. package/dist/molecules/forms/select/Select.interface.js +2 -0
  74. package/dist/molecules/forms/select/Select.interface.js.map +1 -0
  75. package/dist/molecules/forms/select/Select.js +16 -0
  76. package/dist/molecules/forms/select/Select.js.map +1 -0
  77. package/dist/molecules/forms/select/all.d.ts +2 -0
  78. package/dist/molecules/forms/select/all.js +9 -0
  79. package/dist/molecules/forms/select/all.js.map +1 -0
  80. package/dist/molecules/forms/select/components/ChoicesSelect.d.ts +7 -0
  81. package/dist/molecules/forms/select/components/ChoicesSelect.js +115 -0
  82. package/dist/molecules/forms/select/components/ChoicesSelect.js.map +1 -0
  83. package/dist/molecules/forms/select/components/HtmlSelect.d.ts +2 -0
  84. package/dist/molecules/forms/select/components/HtmlSelect.js +35 -0
  85. package/dist/molecules/forms/select/components/HtmlSelect.js.map +1 -0
  86. package/dist/molecules/forms/select/components/ReactSelect.d.ts +2 -0
  87. package/dist/molecules/forms/select/components/ReactSelect.js +46 -0
  88. package/dist/molecules/forms/select/components/ReactSelect.js.map +1 -0
  89. package/dist/molecules/forms/select/components/choices.template.d.ts +7 -0
  90. package/dist/molecules/forms/select/components/choices.template.js +9654 -0
  91. package/dist/molecules/forms/select/components/choices.template.js.map +1 -0
  92. package/dist/molecules/forms/select/hooks/useOptions.d.ts +9 -0
  93. package/dist/molecules/forms/select/hooks/useOptions.js +35 -0
  94. package/dist/molecules/forms/select/hooks/useOptions.js.map +1 -0
  95. package/dist/{components/loader/loader.component.d.ts → molecules/loader/Loader.d.ts} +0 -9
  96. package/dist/molecules/loader/Loader.js +19 -0
  97. package/dist/molecules/loader/Loader.js.map +1 -0
  98. package/dist/{components/modal/modal.component.js → molecules/modal/Modal.js} +1 -1
  99. package/dist/molecules/modal/Modal.js.map +1 -0
  100. package/dist/{components/pagination/pagination.component.d.ts → molecules/pagination/Pagination.d.ts} +6 -5
  101. package/dist/molecules/pagination/Pagination.js +77 -0
  102. package/dist/molecules/pagination/Pagination.js.map +1 -0
  103. package/dist/molecules/pagination/PaginationButton.d.ts +7 -0
  104. package/dist/molecules/pagination/PaginationButton.js +21 -0
  105. package/dist/molecules/pagination/PaginationButton.js.map +1 -0
  106. package/dist/molecules/pagination/all.d.ts +2 -0
  107. package/dist/molecules/pagination/all.js +12 -0
  108. package/dist/molecules/pagination/all.js.map +1 -0
  109. package/dist/molecules/pagination/utils/getPageNumbers.js.map +1 -0
  110. package/dist/molecules/table/Table.d.ts +17 -0
  111. package/dist/molecules/table/Table.js +63 -0
  112. package/dist/molecules/table/Table.js.map +1 -0
  113. package/dist/molecules/table/all.d.ts +0 -0
  114. package/dist/molecules/table/all.js +19 -0
  115. package/dist/molecules/table/all.js.map +1 -0
  116. package/dist/molecules/table/components/DefaultArrowSort.d.ts +5 -0
  117. package/dist/molecules/table/components/DefaultArrowSort.js +22 -0
  118. package/dist/molecules/table/components/DefaultArrowSort.js.map +1 -0
  119. package/dist/molecules/table/components/DefaultCell.d.ts +5 -0
  120. package/dist/molecules/table/components/DefaultCell.js +13 -0
  121. package/dist/molecules/table/components/DefaultCell.js.map +1 -0
  122. package/dist/molecules/table/components/DefaultCellFooter.d.ts +6 -0
  123. package/dist/molecules/table/components/DefaultCellFooter.js +12 -0
  124. package/dist/molecules/table/components/DefaultCellFooter.js.map +1 -0
  125. package/dist/molecules/table/components/DefaultCellHeader.d.ts +6 -0
  126. package/dist/molecules/table/components/DefaultCellHeader.js +30 -0
  127. package/dist/molecules/table/components/DefaultCellHeader.js.map +1 -0
  128. package/dist/molecules/table/components/DefaultCellOperations.d.ts +18 -0
  129. package/dist/molecules/table/components/DefaultCellOperations.js +30 -0
  130. package/dist/molecules/table/components/DefaultCellOperations.js.map +1 -0
  131. package/dist/molecules/table/components/DefaultFilter.d.ts +11 -0
  132. package/dist/molecules/table/components/DefaultFilter.js +15 -0
  133. package/dist/molecules/table/components/DefaultFilter.js.map +1 -0
  134. package/dist/molecules/table/components/DefaultOperationButton.d.ts +19 -0
  135. package/dist/molecules/table/components/DefaultOperationButton.js +30 -0
  136. package/dist/molecules/table/components/DefaultOperationButton.js.map +1 -0
  137. package/dist/molecules/table/filters/Filters.d.js +2 -0
  138. package/dist/molecules/table/filters/Filters.d.js.map +1 -0
  139. package/dist/molecules/table/filters/RangeFilter.d.ts +3 -0
  140. package/dist/molecules/table/filters/RangeFilter.js +42 -0
  141. package/dist/molecules/table/filters/RangeFilter.js.map +1 -0
  142. package/dist/molecules/table/filters/SelectFilter.d.ts +3 -0
  143. package/dist/molecules/table/filters/SelectFilter.js +35 -0
  144. package/dist/molecules/table/filters/SelectFilter.js.map +1 -0
  145. package/dist/molecules/table/filters/TextFieldFilter.d.ts +3 -0
  146. package/dist/molecules/table/filters/TextFieldFilter.js +27 -0
  147. package/dist/molecules/table/filters/TextFieldFilter.js.map +1 -0
  148. package/dist/molecules/table/hooks/useTable.d.ts +23 -0
  149. package/dist/molecules/table/hooks/useTable.js +34 -0
  150. package/dist/molecules/table/hooks/useTable.js.map +1 -0
  151. package/dist/molecules/table/hooks/useUniqValues.d.ts +5 -0
  152. package/dist/molecules/table/hooks/useUniqValues.js +11 -0
  153. package/dist/molecules/table/hooks/useUniqValues.js.map +1 -0
  154. package/dist/molecules/table/interfaces/extends.d.ts +14 -0
  155. package/dist/molecules/table/interfaces/extends.js +2 -0
  156. package/dist/molecules/table/interfaces/extends.js.map +1 -0
  157. package/dist/molecules/table/utils/mapFormToColumns.d.ts +3 -0
  158. package/dist/molecules/table/utils/mapFormToColumns.js +39 -0
  159. package/dist/molecules/table/utils/mapFormToColumns.js.map +1 -0
  160. package/dist/molecules/tabs/Tab.d.ts +13 -0
  161. package/dist/molecules/tabs/Tab.js +67 -0
  162. package/dist/molecules/tabs/Tab.js.map +1 -0
  163. package/dist/molecules/tabs/TabList.d.ts +2 -0
  164. package/dist/molecules/tabs/TabList.js +24 -0
  165. package/dist/molecules/tabs/TabList.js.map +1 -0
  166. package/dist/molecules/tabs/TabPanel.d.ts +9 -0
  167. package/dist/molecules/tabs/TabPanel.js +27 -0
  168. package/dist/molecules/tabs/TabPanel.js.map +1 -0
  169. package/dist/molecules/tabs/Tabs.d.ts +7 -0
  170. package/dist/molecules/tabs/Tabs.js +12 -0
  171. package/dist/molecules/tabs/Tabs.js.map +1 -0
  172. package/dist/molecules/tabs/TabsBody.d.ts +1 -0
  173. package/dist/molecules/tabs/TabsBody.js +10 -0
  174. package/dist/molecules/tabs/TabsBody.js.map +1 -0
  175. package/dist/molecules/tabs/TabsLegacy.d.ts +17 -0
  176. package/dist/molecules/tabs/TabsLegacy.js +49 -0
  177. package/dist/molecules/tabs/TabsLegacy.js.map +1 -0
  178. package/dist/molecules/tabs/all.d.ts +5 -0
  179. package/dist/molecules/tabs/all.js +13 -0
  180. package/dist/molecules/tabs/all.js.map +1 -0
  181. package/dist/molecules/tabs/context/TabControl.d.ts +52 -0
  182. package/dist/molecules/tabs/context/TabControl.js +85 -0
  183. package/dist/molecules/tabs/context/TabControl.js.map +1 -0
  184. package/dist/molecules/tabs/hooks/tabControl.d.ts +44 -0
  185. package/dist/molecules/tabs/hooks/tabControl.js +34 -0
  186. package/dist/molecules/tabs/hooks/tabControl.js.map +1 -0
  187. package/dist/organisms/form/Form.d.ts +22 -0
  188. package/dist/organisms/form/Form.js +15 -0
  189. package/dist/organisms/form/Form.js.map +1 -0
  190. package/dist/{components/form-access/formAccess.component.d.ts → organisms/form/access/FormAccess.d.ts} +2 -2
  191. package/dist/{components/form-access/formAccess.component.js → organisms/form/access/FormAccess.js} +4 -5
  192. package/dist/organisms/form/access/FormAccess.js.map +1 -0
  193. package/dist/organisms/form/access/FormAccess.schema.d.ts +4 -0
  194. package/dist/{components/form-access/formAccess.schema.js → organisms/form/access/FormAccess.schema.js} +1 -1
  195. package/dist/organisms/form/access/FormAccess.schema.js.map +1 -0
  196. package/dist/organisms/form/access/FormAccess.utils.d.ts +23 -0
  197. package/dist/{components/form-access/formAccess.utils.js → organisms/form/access/FormAccess.utils.js} +2 -2
  198. package/dist/organisms/form/access/FormAccess.utils.js.map +1 -0
  199. package/dist/{components/form-action/formAction.component.d.ts → organisms/form/actions/FormAction.d.ts} +4 -4
  200. package/dist/{components/form-action/formAction.component.js → organisms/form/actions/FormAction.js} +2 -2
  201. package/dist/organisms/form/actions/FormAction.js.map +1 -0
  202. package/dist/organisms/form/builder/FormBuilder.d.ts +7 -0
  203. package/dist/organisms/form/builder/FormBuilder.js +17 -0
  204. package/dist/organisms/form/builder/FormBuilder.js.map +1 -0
  205. package/dist/organisms/form/builder/FormEdit.d.ts +10 -0
  206. package/dist/organisms/form/builder/FormEdit.js +73 -0
  207. package/dist/organisms/form/builder/FormEdit.js.map +1 -0
  208. package/dist/organisms/form/builder/FormEdit.reducer.d.ts +10 -0
  209. package/dist/{components/form-edit/formEdit.reducer.js → organisms/form/builder/FormEdit.reducer.js} +1 -1
  210. package/dist/organisms/form/builder/FormEdit.reducer.js.map +1 -0
  211. package/dist/organisms/form/builder/FormEditCtas.d.ts +15 -0
  212. package/dist/organisms/form/builder/FormEditCtas.js +52 -0
  213. package/dist/organisms/form/builder/FormEditCtas.js.map +1 -0
  214. package/dist/organisms/form/builder/FormParameters.d.ts +24 -0
  215. package/dist/organisms/form/builder/FormParameters.js +84 -0
  216. package/dist/organisms/form/builder/FormParameters.js.map +1 -0
  217. package/dist/organisms/form/builder/all.d.ts +6 -0
  218. package/dist/organisms/form/builder/all.js +26 -0
  219. package/dist/organisms/form/builder/all.js.map +1 -0
  220. package/dist/organisms/form/builder/useFormBuilder.d.ts +28 -0
  221. package/dist/organisms/form/builder/useFormBuilder.js +71 -0
  222. package/dist/organisms/form/builder/useFormBuilder.js.map +1 -0
  223. package/dist/{components/form-edit/useFormEdit.hook.d.ts → organisms/form/builder/useFormEdit.d.ts} +7 -7
  224. package/dist/organisms/form/builder/useFormEdit.js +36 -0
  225. package/dist/organisms/form/builder/useFormEdit.js.map +1 -0
  226. package/dist/organisms/form/exports/FormExport.d.ts +5 -0
  227. package/dist/organisms/form/exports/FormExport.js +55 -0
  228. package/dist/organisms/form/exports/FormExport.js.map +1 -0
  229. package/dist/organisms/form/preview/FormPreview.d.ts +6 -0
  230. package/dist/organisms/form/preview/FormPreview.js +11 -0
  231. package/dist/organisms/form/preview/FormPreview.js.map +1 -0
  232. package/dist/{components/form-settings/formSettings.component.d.ts → organisms/form/settings/FormSettings.d.ts} +2 -2
  233. package/dist/{components/form-settings/formSettings.component.js → organisms/form/settings/FormSettings.js} +4 -4
  234. package/dist/organisms/form/settings/FormSettings.js.map +1 -0
  235. package/dist/organisms/form/settings/FormSettings.schema.d.ts +2 -0
  236. package/dist/{components/form-settings/formSettings.schema.js → organisms/form/settings/FormSettings.schema.js} +1 -1
  237. package/dist/organisms/form/settings/FormSettings.schema.js.map +1 -0
  238. package/dist/organisms/form/settings/FormSettings.utils.d.ts +8 -0
  239. package/dist/{components/form-settings/formSettings.utils.js → organisms/form/settings/FormSettings.utils.js} +1 -1
  240. package/dist/organisms/form/settings/FormSettings.utils.js.map +1 -0
  241. package/dist/organisms/form/types.d.ts +15 -0
  242. package/dist/organisms/form/types.js +2 -0
  243. package/dist/organisms/form/types.js.map +1 -0
  244. package/dist/organisms/form/useForm.d.ts +65 -0
  245. package/dist/organisms/form/useForm.js +776 -0
  246. package/dist/organisms/form/useForm.js.map +1 -0
  247. package/dist/{components/modal/removeModal.component.d.ts → organisms/modal/RemoveModal.d.ts} +1 -1
  248. package/dist/{components/modal/removeModal.component.js → organisms/modal/RemoveModal.js} +10 -10
  249. package/dist/organisms/modal/RemoveModal.js.map +1 -0
  250. package/dist/organisms/table/actions/ActionsTable.d.ts +10 -0
  251. package/dist/organisms/table/actions/ActionsTable.js +46 -0
  252. package/dist/organisms/table/actions/ActionsTable.js.map +1 -0
  253. package/dist/organisms/table/forms/FormsTable.d.ts +9 -0
  254. package/dist/organisms/table/forms/FormsTable.js +57 -0
  255. package/dist/organisms/table/forms/FormsTable.js.map +1 -0
  256. package/dist/organisms/table/forms/components/FormsCell.d.ts +5 -0
  257. package/dist/organisms/table/forms/components/FormsCell.js +50 -0
  258. package/dist/organisms/table/forms/components/FormsCell.js.map +1 -0
  259. package/dist/organisms/table/submissions/SubmissionsTable.d.ts +14 -0
  260. package/dist/organisms/table/submissions/SubmissionsTable.js +14 -0
  261. package/dist/organisms/table/submissions/SubmissionsTable.js.map +1 -0
  262. package/dist/organisms/views/FormViews.d.ts +24 -0
  263. package/dist/organisms/views/FormViews.js +96 -0
  264. package/dist/organisms/views/FormViews.js.map +1 -0
  265. package/dist/registries/components.d.ts +3 -0
  266. package/dist/registries/components.js +19 -0
  267. package/dist/registries/components.js.map +1 -0
  268. package/package.json +10 -8
  269. package/readme.md +27 -14
  270. package/src/atoms/icon/Icon.stories.tsx +124 -0
  271. package/src/atoms/icon/Icon.tsx +16 -0
  272. package/src/hooks/keyboard.constants.ts +40 -0
  273. package/src/hooks/useKeyboardControls.spec.tsx +208 -0
  274. package/src/hooks/useKeyboardControls.ts +84 -0
  275. package/src/index.ts +1 -6
  276. package/src/interfaces/ActionType.ts +26 -0
  277. package/src/interfaces/ComponentType.ts +3 -0
  278. package/src/interfaces/FormOptions.ts +4 -1
  279. package/src/interfaces/{FormSchema.ts → FormType.ts} +3 -3
  280. package/src/interfaces/Operation.ts +10 -4
  281. package/src/interfaces/{RoleSchema.ts → RoleType.ts} +1 -1
  282. package/src/interfaces/SubmissionType.ts +20 -0
  283. package/src/interfaces/index.ts +5 -4
  284. package/src/molecules/__fixtures__/build.js +28 -0
  285. package/src/molecules/__fixtures__/form-firstname.fixture.json +256 -0
  286. package/src/molecules/__fixtures__/form-schema.json +350 -0
  287. package/src/molecules/__fixtures__/form-submissions.json +11942 -0
  288. package/src/molecules/__fixtures__/form-wizard.fixture.json +2042 -0
  289. package/src/molecules/__fixtures__/products.json +81539 -0
  290. package/src/molecules/__fixtures__/useValue.hook.ts +14 -0
  291. package/src/{components/alert/alert.component.spec.tsx → molecules/alert/Alert.spec.tsx} +12 -14
  292. package/src/molecules/alert/Alert.stories.tsx +39 -0
  293. package/src/{components/alert/alert.component.tsx → molecules/alert/Alert.tsx} +10 -7
  294. package/src/molecules/button/Button.stories.tsx +106 -0
  295. package/src/molecules/button/Button.tsx +73 -0
  296. package/src/{components/card/card.component.spec.tsx → molecules/card/Card.spec.tsx} +3 -2
  297. package/src/{components/card/card.stories.tsx → molecules/card/Card.stories.tsx} +9 -2
  298. package/src/{components/card/card.component.tsx → molecules/card/Card.tsx} +4 -0
  299. package/src/{components/form-control/formControl.component.spec.tsx → molecules/forms/form-control/FormControl.spec.tsx} +9 -8
  300. package/src/molecules/forms/form-control/FormControl.stories.tsx +58 -0
  301. package/src/molecules/forms/form-control/FormControl.tsx +86 -0
  302. package/src/molecules/forms/input-tags/InputTags.interface.ts +9 -0
  303. package/src/molecules/forms/input-tags/InputTags.tsx +30 -0
  304. package/src/molecules/forms/input-tags/all.ts +6 -0
  305. package/src/molecules/forms/input-tags/components/ChoicesTags.stories.tsx +110 -0
  306. package/src/molecules/forms/input-tags/components/ChoicesTags.tsx +72 -0
  307. package/src/molecules/forms/input-tags/components/ReactTags.stories.tsx +140 -0
  308. package/src/molecules/forms/input-tags/components/ReactTags.tsx +38 -0
  309. package/src/molecules/forms/input-text/InputText.interface.ts +5 -0
  310. package/src/{components/input-text/inputText.component.spec.tsx → molecules/forms/input-text/InputText.spec.tsx} +8 -7
  311. package/src/molecules/forms/input-text/InputText.stories.tsx +179 -0
  312. package/src/molecules/forms/input-text/InputText.tsx +63 -0
  313. package/src/molecules/forms/select/Select.interface.ts +45 -0
  314. package/src/molecules/forms/select/Select.tsx +28 -0
  315. package/src/molecules/forms/select/all.ts +7 -0
  316. package/src/molecules/forms/select/components/ChoicesSelect.stories.tsx +332 -0
  317. package/src/molecules/forms/select/components/ChoicesSelect.tsx +159 -0
  318. package/src/molecules/forms/select/components/HtmlSelect.stories.tsx +305 -0
  319. package/src/molecules/forms/select/components/HtmlSelect.tsx +54 -0
  320. package/src/molecules/forms/select/components/ReactSelect.stories.tsx +287 -0
  321. package/src/molecules/forms/select/components/ReactSelect.tsx +60 -0
  322. package/src/molecules/forms/select/components/choices.template.tsx +38 -0
  323. package/src/molecules/forms/select/hooks/useOptions.spec.ts +154 -0
  324. package/src/molecules/forms/select/hooks/useOptions.ts +53 -0
  325. package/src/{components/loader/loader.component.spec.tsx → molecules/loader/Loader.spec.tsx} +3 -3
  326. package/src/molecules/loader/Loader.stories.tsx +43 -0
  327. package/src/{components/loader/loader.component.tsx → molecules/loader/Loader.tsx} +2 -10
  328. package/src/{components/modal/modal.component.spec.tsx → molecules/modal/Modal.spec.tsx} +131 -4
  329. package/src/molecules/modal/Modal.stories.tsx +178 -0
  330. package/src/{components/pagination/pagination.component.spec.tsx → molecules/pagination/Pagination.spec.tsx} +20 -14
  331. package/src/molecules/pagination/Pagination.stories.tsx +92 -0
  332. package/src/{components/pagination/pagination.component.tsx → molecules/pagination/Pagination.tsx} +34 -47
  333. package/src/molecules/pagination/PaginationButton.tsx +30 -0
  334. package/src/molecules/pagination/all.ts +3 -0
  335. package/src/molecules/table/Table.stories.tsx +305 -0
  336. package/src/molecules/table/Table.tsx +106 -0
  337. package/src/molecules/table/all.ts +16 -0
  338. package/src/molecules/table/components/DefaultArrowSort.tsx +26 -0
  339. package/src/molecules/table/components/DefaultCell.tsx +22 -0
  340. package/src/molecules/table/components/DefaultCellFooter.tsx +16 -0
  341. package/src/molecules/table/components/DefaultCellHeader.tsx +42 -0
  342. package/src/molecules/table/components/DefaultCellOperations.tsx +48 -0
  343. package/src/molecules/table/components/DefaultFilter.tsx +42 -0
  344. package/src/molecules/table/components/DefaultOperationButton.tsx +41 -0
  345. package/src/molecules/table/filters/Filters.d.ts +31 -0
  346. package/src/molecules/table/filters/RangeFilter.tsx +43 -0
  347. package/src/molecules/table/filters/SelectFilter.tsx +47 -0
  348. package/src/molecules/table/filters/TextFieldFilter.tsx +36 -0
  349. package/src/molecules/table/hooks/useTable.tsx +75 -0
  350. package/src/molecules/table/hooks/useUniqValues.tsx +10 -0
  351. package/src/molecules/table/interfaces/extends.ts +18 -0
  352. package/src/molecules/table/utils/mapFormToColumns.tsx +74 -0
  353. package/src/molecules/tabs/Tab.tsx +106 -0
  354. package/src/molecules/tabs/TabList.tsx +37 -0
  355. package/src/molecules/tabs/TabPanel.tsx +37 -0
  356. package/src/molecules/tabs/Tabs.spec.tsx +140 -0
  357. package/src/molecules/tabs/Tabs.stories.tsx +374 -0
  358. package/src/molecules/tabs/Tabs.tsx +21 -0
  359. package/src/molecules/tabs/TabsBody.tsx +11 -0
  360. package/src/molecules/tabs/TabsLegacy.stories.tsx +103 -0
  361. package/src/molecules/tabs/TabsLegacy.tsx +84 -0
  362. package/src/molecules/tabs/all.ts +5 -0
  363. package/src/molecules/tabs/context/TabControl.tsx +166 -0
  364. package/src/molecules/tabs/hooks/tabControl.spec.tsx +388 -0
  365. package/src/molecules/tabs/hooks/tabControl.ts +52 -0
  366. package/src/organisms/__fixtures__/WrapComponent.tsx +11 -0
  367. package/src/organisms/__fixtures__/form-actions.json +240 -0
  368. package/src/organisms/__fixtures__/form-firstname.fixture.json +257 -0
  369. package/src/organisms/__fixtures__/form-wizard.fixture.json +2042 -0
  370. package/src/organisms/__fixtures__/form.fixture.json +2068 -0
  371. package/src/organisms/__fixtures__/useEditForm.tsx +84 -0
  372. package/src/organisms/__fixtures__/utils.ts +74 -0
  373. package/src/{components/form/form.component.spec.tsx → organisms/form/Form.spec.tsx} +5 -6
  374. package/src/organisms/form/Form.stories.tsx +698 -0
  375. package/src/organisms/form/Form.tsx +29 -0
  376. package/src/{components/form-access/formAccess.schema.ts → organisms/form/access/FormAccess.schema.ts} +4 -6
  377. package/src/{components/form-access/formAccess.stories.tsx → organisms/form/access/FormAccess.stories.tsx} +8 -2
  378. package/src/{components/form-access/formAccess.component.tsx → organisms/form/access/FormAccess.tsx} +15 -17
  379. package/src/{components/form-access/formAccess.utils.spec.ts → organisms/form/access/FormAccess.utils.spec.ts} +13 -7
  380. package/src/{components/form-access/formAccess.utils.ts → organisms/form/access/FormAccess.utils.ts} +23 -20
  381. package/src/organisms/form/actions/FormAction.stories.tsx +422 -0
  382. package/src/{components/form-action/formAction.component.tsx → organisms/form/actions/FormAction.tsx} +7 -7
  383. package/src/organisms/form/builder/FormBuilder.stories.tsx +97 -0
  384. package/src/organisms/form/builder/FormBuilder.tsx +28 -0
  385. package/src/{components/form-edit/formEdit.reducer.ts → organisms/form/builder/FormEdit.reducer.ts} +6 -6
  386. package/src/{components/form-edit/formEdit.stories.tsx → organisms/form/builder/FormEdit.stories.tsx} +89 -43
  387. package/src/organisms/form/builder/FormEdit.tsx +81 -0
  388. package/src/organisms/form/builder/FormEditCtas.tsx +97 -0
  389. package/src/{components/form-edit/formParameters.component.tsx → organisms/form/builder/FormParameters.tsx} +28 -28
  390. package/src/organisms/form/builder/all.ts +17 -0
  391. package/src/organisms/form/builder/useFormBuilder.ts +143 -0
  392. package/src/{components/form-edit/useFormEdit.hook.ts → organisms/form/builder/useFormEdit.ts} +9 -9
  393. package/src/organisms/form/exports/FormExport.stories.tsx +71 -0
  394. package/src/organisms/form/exports/FormExport.tsx +58 -0
  395. package/src/organisms/form/preview/FormPreview.stories.tsx +61 -0
  396. package/src/organisms/form/preview/FormPreview.tsx +21 -0
  397. package/src/{components/form-settings/formSettings.component.spec.tsx → organisms/form/settings/FormSettings.component.spec.tsx} +2 -2
  398. package/src/{components/form-settings/formSettings.schema.ts → organisms/form/settings/FormSettings.schema.ts} +2 -2
  399. package/src/{components/form-settings/formSettings.stories.tsx → organisms/form/settings/FormSettings.stories.tsx} +10 -8
  400. package/src/{components/form-settings/formSettings.component.tsx → organisms/form/settings/FormSettings.tsx} +7 -8
  401. package/src/{components/form-settings/formSettings.utils.spec.ts → organisms/form/settings/FormSettings.utils.spec.ts} +1 -1
  402. package/src/{components/form-settings/formSettings.utils.ts → organisms/form/settings/FormSettings.utils.ts} +4 -4
  403. package/src/organisms/form/types.ts +8 -0
  404. package/src/organisms/form/useForm.ts +223 -0
  405. package/src/organisms/modal/RemoveModal.stories.tsx +59 -0
  406. package/src/{components/modal/removeModal.component.tsx → organisms/modal/RemoveModal.tsx} +2 -2
  407. package/src/{components/actions-table/actionsTable.component.spec.tsx → organisms/table/actions/ActionsTable.spec.tsx} +11 -7
  408. package/src/{components/actions-table/actionsTable.stories.tsx → organisms/table/actions/ActionsTable.stories.tsx} +58 -58
  409. package/src/{components/actions-table/actionsTable.component.tsx → organisms/table/actions/ActionsTable.tsx} +13 -20
  410. package/src/{components/forms-table/formsTable.stories.tsx → organisms/table/forms/FormsTable.stories.tsx} +24 -27
  411. package/src/organisms/table/forms/FormsTable.tsx +66 -0
  412. package/src/organisms/table/forms/components/FormsCell.tsx +53 -0
  413. package/src/organisms/table/submissions/SubmissionsTable.stories.tsx +142 -0
  414. package/src/organisms/table/submissions/SubmissionsTable.tsx +19 -0
  415. package/src/organisms/views/FormViews.stories.tsx +224 -0
  416. package/src/organisms/views/FormViews.tsx +146 -0
  417. package/src/registries/components.ts +23 -0
  418. package/tsconfig.app.json +1 -1
  419. package/tsconfig.json +3 -0
  420. package/tsconfig.node.json +13 -0
  421. package/dist/components/actions-table/actionsTable.component.d.ts +0 -10
  422. package/dist/components/actions-table/actionsTable.component.js +0 -53
  423. package/dist/components/actions-table/actionsTable.component.js.map +0 -1
  424. package/dist/components/alert/alert.component.d.ts +0 -5
  425. package/dist/components/alert/alert.component.js.map +0 -1
  426. package/dist/components/card/card.component.js +0 -12
  427. package/dist/components/card/card.component.js.map +0 -1
  428. package/dist/components/form/form.component.d.ts +0 -62
  429. package/dist/components/form/form.component.js +0 -64
  430. package/dist/components/form/form.component.js.map +0 -1
  431. package/dist/components/form/useForm.hook.d.ts +0 -59
  432. package/dist/components/form/useForm.hook.js +0 -64
  433. package/dist/components/form/useForm.hook.js.map +0 -1
  434. package/dist/components/form-access/formAccess.component.js.map +0 -1
  435. package/dist/components/form-access/formAccess.schema.d.ts +0 -5
  436. package/dist/components/form-access/formAccess.schema.js.map +0 -1
  437. package/dist/components/form-access/formAccess.utils.d.ts +0 -24
  438. package/dist/components/form-access/formAccess.utils.js.map +0 -1
  439. package/dist/components/form-action/formAction.component.js.map +0 -1
  440. package/dist/components/form-builder/formBuilder.component.d.ts +0 -53
  441. package/dist/components/form-builder/formBuilder.component.js +0 -142
  442. package/dist/components/form-builder/formBuilder.component.js.map +0 -1
  443. package/dist/components/form-control/formControl.component.d.ts +0 -14
  444. package/dist/components/form-control/formControl.component.js +0 -26
  445. package/dist/components/form-control/formControl.component.js.map +0 -1
  446. package/dist/components/form-edit/formCtas.component.d.ts +0 -28
  447. package/dist/components/form-edit/formCtas.component.js +0 -70
  448. package/dist/components/form-edit/formCtas.component.js.map +0 -1
  449. package/dist/components/form-edit/formEdit.component.d.ts +0 -18
  450. package/dist/components/form-edit/formEdit.component.js +0 -57
  451. package/dist/components/form-edit/formEdit.component.js.map +0 -1
  452. package/dist/components/form-edit/formEdit.reducer.d.ts +0 -10
  453. package/dist/components/form-edit/formEdit.reducer.js.map +0 -1
  454. package/dist/components/form-edit/formParameters.component.d.ts +0 -34
  455. package/dist/components/form-edit/formParameters.component.js +0 -92
  456. package/dist/components/form-edit/formParameters.component.js.map +0 -1
  457. package/dist/components/form-edit/useFormEdit.hook.js +0 -36
  458. package/dist/components/form-edit/useFormEdit.hook.js.map +0 -1
  459. package/dist/components/form-settings/formSettings.component.js.map +0 -1
  460. package/dist/components/form-settings/formSettings.schema.d.ts +0 -2
  461. package/dist/components/form-settings/formSettings.schema.js.map +0 -1
  462. package/dist/components/form-settings/formSettings.utils.d.ts +0 -8
  463. package/dist/components/form-settings/formSettings.utils.js.map +0 -1
  464. package/dist/components/forms-table/components/formCell.component.d.ts +0 -6
  465. package/dist/components/forms-table/components/formCell.component.js +0 -50
  466. package/dist/components/forms-table/components/formCell.component.js.map +0 -1
  467. package/dist/components/forms-table/formsTable.component.d.ts +0 -10
  468. package/dist/components/forms-table/formsTable.component.js +0 -29
  469. package/dist/components/forms-table/formsTable.component.js.map +0 -1
  470. package/dist/components/index.d.ts +0 -25
  471. package/dist/components/index.js +0 -86
  472. package/dist/components/index.js.map +0 -1
  473. package/dist/components/input-tags/inputTags.component.d.ts +0 -18
  474. package/dist/components/input-tags/inputTags.component.js +0 -37
  475. package/dist/components/input-tags/inputTags.component.js.map +0 -1
  476. package/dist/components/input-text/inputText.component.d.ts +0 -27
  477. package/dist/components/input-text/inputText.component.js +0 -70
  478. package/dist/components/input-text/inputText.component.js.map +0 -1
  479. package/dist/components/loader/loader.component.js +0 -26
  480. package/dist/components/loader/loader.component.js.map +0 -1
  481. package/dist/components/modal/modal.component.js.map +0 -1
  482. package/dist/components/modal/removeModal.component.js.map +0 -1
  483. package/dist/components/pagination/pagination.component.js +0 -87
  484. package/dist/components/pagination/pagination.component.js.map +0 -1
  485. package/dist/components/select/select.component.d.ts +0 -14
  486. package/dist/components/select/select.component.js +0 -60
  487. package/dist/components/select/select.component.js.map +0 -1
  488. package/dist/components/submissions-table/submissionsTable.component.d.ts +0 -6
  489. package/dist/components/submissions-table/submissionsTable.component.js +0 -11
  490. package/dist/components/submissions-table/submissionsTable.component.js.map +0 -1
  491. package/dist/components/table/components/defaultArrowSort.component.d.ts +0 -1
  492. package/dist/components/table/components/defaultArrowSort.component.js +0 -10
  493. package/dist/components/table/components/defaultArrowSort.component.js.map +0 -1
  494. package/dist/components/table/components/defaultCell.component.d.ts +0 -1
  495. package/dist/components/table/components/defaultCell.component.js +0 -11
  496. package/dist/components/table/components/defaultCell.component.js.map +0 -1
  497. package/dist/components/table/components/defaultCellHeader.component.d.ts +0 -5
  498. package/dist/components/table/components/defaultCellHeader.component.js +0 -14
  499. package/dist/components/table/components/defaultCellHeader.component.js.map +0 -1
  500. package/dist/components/table/components/defaultCellOperations.component.d.ts +0 -12
  501. package/dist/components/table/components/defaultCellOperations.component.js +0 -21
  502. package/dist/components/table/components/defaultCellOperations.component.js.map +0 -1
  503. package/dist/components/table/components/defaultCells.component.d.ts +0 -4
  504. package/dist/components/table/components/defaultCells.component.js +0 -23
  505. package/dist/components/table/components/defaultCells.component.js.map +0 -1
  506. package/dist/components/table/components/defaultOperationButton.component.d.ts +0 -15
  507. package/dist/components/table/components/defaultOperationButton.component.js +0 -45
  508. package/dist/components/table/components/defaultOperationButton.component.js.map +0 -1
  509. package/dist/components/table/components/defaultRow.component.d.ts +0 -12
  510. package/dist/components/table/components/defaultRow.component.js +0 -25
  511. package/dist/components/table/components/defaultRow.component.js.map +0 -1
  512. package/dist/components/table/components/dragNDropContainer.d.ts +0 -4
  513. package/dist/components/table/components/dragNDropContainer.js +0 -10
  514. package/dist/components/table/components/dragNDropContainer.js.map +0 -1
  515. package/dist/components/table/filters/defaultColumnFilter.component.d.ts +0 -5
  516. package/dist/components/table/filters/defaultColumnFilter.component.js +0 -32
  517. package/dist/components/table/filters/defaultColumnFilter.component.js.map +0 -1
  518. package/dist/components/table/filters/selectColumnFilter.component.d.ts +0 -10
  519. package/dist/components/table/filters/selectColumnFilter.component.js +0 -34
  520. package/dist/components/table/filters/selectColumnFilter.component.js.map +0 -1
  521. package/dist/components/table/filters/sliderColumnFilter.component.d.ts +0 -2
  522. package/dist/components/table/filters/sliderColumnFilter.component.js +0 -27
  523. package/dist/components/table/filters/sliderColumnFilter.component.js.map +0 -1
  524. package/dist/components/table/hooks/useCustomTable.hook.d.ts +0 -128
  525. package/dist/components/table/hooks/useCustomTable.hook.js +0 -130
  526. package/dist/components/table/hooks/useCustomTable.hook.js.map +0 -1
  527. package/dist/components/table/hooks/useDragnDropRow.hook.d.ts +0 -272
  528. package/dist/components/table/hooks/useDragnDropRow.hook.js +0 -40
  529. package/dist/components/table/hooks/useDragnDropRow.hook.js.map +0 -1
  530. package/dist/components/table/hooks/useOperations.hook.d.ts +0 -11
  531. package/dist/components/table/hooks/useOperations.hook.js +0 -25
  532. package/dist/components/table/hooks/useOperations.hook.js.map +0 -1
  533. package/dist/components/table/index.d.ts +0 -15
  534. package/dist/components/table/index.js +0 -35
  535. package/dist/components/table/index.js.map +0 -1
  536. package/dist/components/table/table.component.d.ts +0 -3
  537. package/dist/components/table/table.component.js +0 -81
  538. package/dist/components/table/table.component.js.map +0 -1
  539. package/dist/components/table/utils/getPageNumbers.js.map +0 -1
  540. package/dist/components/table/utils/mapFormToColumns.d.ts +0 -3
  541. package/dist/components/table/utils/mapFormToColumns.js +0 -23
  542. package/dist/components/table/utils/mapFormToColumns.js.map +0 -1
  543. package/dist/components/table/utils/swapElements.d.ts +0 -1
  544. package/dist/components/table/utils/swapElements.js +0 -5
  545. package/dist/components/table/utils/swapElements.js.map +0 -1
  546. package/dist/components/tabs/tabs.component.d.ts +0 -19
  547. package/dist/components/tabs/tabs.component.js +0 -72
  548. package/dist/components/tabs/tabs.component.js.map +0 -1
  549. package/dist/interfaces/ActionSchema.d.ts +0 -23
  550. package/dist/interfaces/ActionSchema.js +0 -2
  551. package/dist/interfaces/ActionSchema.js.map +0 -1
  552. package/dist/interfaces/FormSchema.js +0 -2
  553. package/dist/interfaces/FormSchema.js.map +0 -1
  554. package/dist/interfaces/RoleSchema.js +0 -2
  555. package/dist/interfaces/RoleSchema.js.map +0 -1
  556. package/dist/interfaces/Submission.d.ts +0 -5
  557. package/dist/interfaces/Submission.js +0 -2
  558. package/dist/interfaces/Submission.js.map +0 -1
  559. package/dist/utils/callLast.d.ts +0 -1
  560. package/dist/utils/callLast.js +0 -10
  561. package/dist/utils/callLast.js.map +0 -1
  562. package/src/components/alert/alert.stories.tsx +0 -16
  563. package/src/components/form/form.component.tsx +0 -72
  564. package/src/components/form/form.stories.tsx +0 -253
  565. package/src/components/form/useForm.hook.ts +0 -216
  566. package/src/components/form-action/formAction.stories.tsx +0 -364
  567. package/src/components/form-builder/formBuilder.component.tsx +0 -195
  568. package/src/components/form-builder/formBuilder.stories.tsx +0 -3665
  569. package/src/components/form-control/formControl.component.tsx +0 -58
  570. package/src/components/form-control/formControl.stories.tsx +0 -63
  571. package/src/components/form-edit/formCtas.component.tsx +0 -106
  572. package/src/components/form-edit/formEdit.component.tsx +0 -59
  573. package/src/components/forms-table/components/formCell.component.tsx +0 -47
  574. package/src/components/forms-table/formsTable.component.tsx +0 -40
  575. package/src/components/index.ts +0 -25
  576. package/src/components/input-tags/inputTags.component.tsx +0 -58
  577. package/src/components/input-tags/inputTags.stories.tsx +0 -97
  578. package/src/components/input-text/inputText.component.tsx +0 -85
  579. package/src/components/input-text/inputText.stories.tsx +0 -126
  580. package/src/components/loader/loader.stories.tsx +0 -16
  581. package/src/components/modal/modal.stories.tsx +0 -190
  582. package/src/components/pagination/pagination.stories.tsx +0 -40
  583. package/src/components/select/select.component.spec.tsx +0 -84
  584. package/src/components/select/select.component.tsx +0 -88
  585. package/src/components/select/select.stories.tsx +0 -173
  586. package/src/components/submissions-table/submissionsTable.component.tsx +0 -14
  587. package/src/components/submissions-table/submissionsTable.stories.tsx +0 -99
  588. package/src/components/table/components/defaultArrowSort.component.tsx +0 -10
  589. package/src/components/table/components/defaultCell.component.tsx +0 -13
  590. package/src/components/table/components/defaultCellHeader.component.tsx +0 -18
  591. package/src/components/table/components/defaultCellOperations.component.tsx +0 -37
  592. package/src/components/table/components/defaultCells.component.tsx +0 -30
  593. package/src/components/table/components/defaultOperationButton.component.tsx +0 -56
  594. package/src/components/table/components/defaultRow.component.tsx +0 -51
  595. package/src/components/table/components/dragNDropContainer.tsx +0 -7
  596. package/src/components/table/filters/defaultColumnFilter.component.spec.tsx +0 -31
  597. package/src/components/table/filters/defaultColumnFilter.component.tsx +0 -39
  598. package/src/components/table/filters/selectColumnFilter.component.spec.tsx +0 -66
  599. package/src/components/table/filters/selectColumnFilter.component.tsx +0 -51
  600. package/src/components/table/filters/sliderColumnFilter.component.tsx +0 -28
  601. package/src/components/table/hooks/useCustomTable.hook.tsx +0 -268
  602. package/src/components/table/hooks/useDragnDropRow.hook.ts +0 -80
  603. package/src/components/table/hooks/useOperations.hook.tsx +0 -39
  604. package/src/components/table/index.ts +0 -15
  605. package/src/components/table/table.component.tsx +0 -100
  606. package/src/components/table/table.stories.tsx +0 -120
  607. package/src/components/table/utils/mapFormToColumns.tsx +0 -33
  608. package/src/components/table/utils/swapElements.spec.ts +0 -7
  609. package/src/components/table/utils/swapElements.ts +0 -7
  610. package/src/components/tabs/tabs.component.spec.tsx +0 -87
  611. package/src/components/tabs/tabs.component.stories.tsx +0 -127
  612. package/src/components/tabs/tabs.component.tsx +0 -92
  613. package/src/interfaces/ActionSchema.ts +0 -26
  614. package/src/interfaces/Submission.ts +0 -5
  615. package/src/utils/callLast.ts +0 -12
  616. /package/dist/{components/card/card.component.d.ts → molecules/card/Card.d.ts} +0 -0
  617. /package/dist/{components/modal/modal.component.d.ts → molecules/modal/Modal.d.ts} +0 -0
  618. /package/dist/{components/table → molecules/pagination}/utils/getPageNumbers.d.ts +0 -0
  619. /package/dist/{components/table → molecules/pagination}/utils/getPageNumbers.js +0 -0
  620. /package/src/{components → molecules}/__fixtures__/form-actions.json +0 -0
  621. /package/src/{components → molecules}/__fixtures__/form.fixture.json +0 -0
  622. /package/src/{components/modal/modal.component.tsx → molecules/modal/Modal.tsx} +0 -0
  623. /package/src/{components/table → molecules/pagination}/utils/getPageNumbers.ts +0 -0
  624. /package/src/{components → organisms}/__fixtures__/form-schema.json +0 -0
  625. /package/src/{components → organisms}/__fixtures__/form-submissions.json +0 -0
  626. /package/src/{components/actions-table → organisms/table/actions}/__fixtures__/data.json +0 -0
@@ -0,0 +1,3513 @@
1
+ import * as j from "react";
2
+ import ue, { forwardRef as kn, useContext as ln, useLayoutEffect as Un, useRef as we, useState as Ie, useMemo as Qn, useCallback as ot, createContext as $n, Children as _n, isValidElement as Le, cloneElement as je, useEffect as vt } from "react";
3
+ import Me, { createPortal as Kn } from "react-dom";
4
+ import { g as qn } from "./_commonjsHelpers.js";
5
+ function Ae(t) {
6
+ "@babel/helpers - typeof";
7
+ return Ae = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
8
+ return typeof e;
9
+ } : function(e) {
10
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
11
+ }, Ae(t);
12
+ }
13
+ function er(t, e) {
14
+ if (Ae(t) != "object" || !t) return t;
15
+ var n = t[Symbol.toPrimitive];
16
+ if (n !== void 0) {
17
+ var r = n.call(t, e || "default");
18
+ if (Ae(r) != "object") return r;
19
+ throw new TypeError("@@toPrimitive must return a primitive value.");
20
+ }
21
+ return (e === "string" ? String : Number)(t);
22
+ }
23
+ function tr(t) {
24
+ var e = er(t, "string");
25
+ return Ae(e) == "symbol" ? e : e + "";
26
+ }
27
+ function Te(t, e, n) {
28
+ return (e = tr(e)) in t ? Object.defineProperty(t, e, {
29
+ value: n,
30
+ enumerable: !0,
31
+ configurable: !0,
32
+ writable: !0
33
+ }) : t[e] = n, t;
34
+ }
35
+ function Ot(t, e) {
36
+ var n = Object.keys(t);
37
+ if (Object.getOwnPropertySymbols) {
38
+ var r = Object.getOwnPropertySymbols(t);
39
+ e && (r = r.filter(function(i) {
40
+ return Object.getOwnPropertyDescriptor(t, i).enumerable;
41
+ })), n.push.apply(n, r);
42
+ }
43
+ return n;
44
+ }
45
+ function G(t) {
46
+ for (var e = 1; e < arguments.length; e++) {
47
+ var n = arguments[e] != null ? arguments[e] : {};
48
+ e % 2 ? Ot(Object(n), !0).forEach(function(r) {
49
+ Te(t, r, n[r]);
50
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Ot(Object(n)).forEach(function(r) {
51
+ Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
52
+ });
53
+ }
54
+ return t;
55
+ }
56
+ function nr(t, e) {
57
+ if (t == null) return {};
58
+ var n = {};
59
+ for (var r in t) if ({}.hasOwnProperty.call(t, r)) {
60
+ if (e.includes(r)) continue;
61
+ n[r] = t[r];
62
+ }
63
+ return n;
64
+ }
65
+ function ee(t, e) {
66
+ if (t == null) return {};
67
+ var n, r, i = nr(t, e);
68
+ if (Object.getOwnPropertySymbols) {
69
+ var a = Object.getOwnPropertySymbols(t);
70
+ for (r = 0; r < a.length; r++) n = a[r], e.includes(n) || {}.propertyIsEnumerable.call(t, n) && (i[n] = t[n]);
71
+ }
72
+ return i;
73
+ }
74
+ var zt = Number.isNaN || function(e) {
75
+ return typeof e == "number" && e !== e;
76
+ };
77
+ function rr(t, e) {
78
+ return !!(t === e || zt(t) && zt(e));
79
+ }
80
+ function ir(t, e) {
81
+ if (t.length !== e.length)
82
+ return !1;
83
+ for (var n = 0; n < t.length; n++)
84
+ if (!rr(t[n], e[n]))
85
+ return !1;
86
+ return !0;
87
+ }
88
+ function ar(t, e) {
89
+ e === void 0 && (e = ir);
90
+ var n = null;
91
+ function r() {
92
+ for (var i = [], a = 0; a < arguments.length; a++)
93
+ i[a] = arguments[a];
94
+ if (n && n.lastThis === this && e(i, n.lastArgs))
95
+ return n.lastResult;
96
+ var o = t.apply(this, i);
97
+ return n = {
98
+ lastResult: o,
99
+ lastArgs: i,
100
+ lastThis: this
101
+ }, o;
102
+ }
103
+ return r.clear = function() {
104
+ n = null;
105
+ }, r;
106
+ }
107
+ function W() {
108
+ return W = Object.assign ? Object.assign.bind() : function(t) {
109
+ for (var e = 1; e < arguments.length; e++) {
110
+ var n = arguments[e];
111
+ for (var r in n) ({}).hasOwnProperty.call(n, r) && (t[r] = n[r]);
112
+ }
113
+ return t;
114
+ }, W.apply(null, arguments);
115
+ }
116
+ var or = !1;
117
+ function cr(t) {
118
+ if (t.sheet)
119
+ return t.sheet;
120
+ for (var e = 0; e < document.styleSheets.length; e++)
121
+ if (document.styleSheets[e].ownerNode === t)
122
+ return document.styleSheets[e];
123
+ }
124
+ function ur(t) {
125
+ var e = document.createElement("style");
126
+ return e.setAttribute("data-emotion", t.key), t.nonce !== void 0 && e.setAttribute("nonce", t.nonce), e.appendChild(document.createTextNode("")), e.setAttribute("data-s", ""), e;
127
+ }
128
+ var sr = /* @__PURE__ */ function() {
129
+ function t(n) {
130
+ var r = this;
131
+ this._insertTag = function(i) {
132
+ var a;
133
+ r.tags.length === 0 ? r.insertionPoint ? a = r.insertionPoint.nextSibling : r.prepend ? a = r.container.firstChild : a = r.before : a = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(i, a), r.tags.push(i);
134
+ }, this.isSpeedy = n.speedy === void 0 ? !or : n.speedy, this.tags = [], this.ctr = 0, this.nonce = n.nonce, this.key = n.key, this.container = n.container, this.prepend = n.prepend, this.insertionPoint = n.insertionPoint, this.before = null;
135
+ }
136
+ var e = t.prototype;
137
+ return e.hydrate = function(r) {
138
+ r.forEach(this._insertTag);
139
+ }, e.insert = function(r) {
140
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(ur(this));
141
+ var i = this.tags[this.tags.length - 1];
142
+ if (this.isSpeedy) {
143
+ var a = cr(i);
144
+ try {
145
+ a.insertRule(r, a.cssRules.length);
146
+ } catch {
147
+ }
148
+ } else
149
+ i.appendChild(document.createTextNode(r));
150
+ this.ctr++;
151
+ }, e.flush = function() {
152
+ this.tags.forEach(function(r) {
153
+ var i;
154
+ return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
155
+ }), this.tags = [], this.ctr = 0;
156
+ }, t;
157
+ }(), U = "-ms-", Ue = "-moz-", Y = "-webkit-", dn = "comm", Tt = "rule", Bt = "decl", lr = "@import", gn = "@keyframes", dr = "@layer", gr = Math.abs, et = String.fromCharCode, fr = Object.assign;
158
+ function br(t, e) {
159
+ return k(t, 0) ^ 45 ? (((e << 2 ^ k(t, 0)) << 2 ^ k(t, 1)) << 2 ^ k(t, 2)) << 2 ^ k(t, 3) : 0;
160
+ }
161
+ function fn(t) {
162
+ return t.trim();
163
+ }
164
+ function vr(t, e) {
165
+ return (t = e.exec(t)) ? t[0] : t;
166
+ }
167
+ function J(t, e, n) {
168
+ return t.replace(e, n);
169
+ }
170
+ function mt(t, e) {
171
+ return t.indexOf(e);
172
+ }
173
+ function k(t, e) {
174
+ return t.charCodeAt(e) | 0;
175
+ }
176
+ function Ee(t, e, n) {
177
+ return t.slice(e, n);
178
+ }
179
+ function re(t) {
180
+ return t.length;
181
+ }
182
+ function wt(t) {
183
+ return t.length;
184
+ }
185
+ function Ye(t, e) {
186
+ return e.push(t), t;
187
+ }
188
+ function mr(t, e) {
189
+ return t.map(e).join("");
190
+ }
191
+ var tt = 1, Ge = 1, bn = 0, _ = 0, D = 0, Re = "";
192
+ function nt(t, e, n, r, i, a, o) {
193
+ return { value: t, root: e, parent: n, type: r, props: i, children: a, line: tt, column: Ge, length: o, return: "" };
194
+ }
195
+ function Se(t, e) {
196
+ return fr(nt("", null, null, "", null, null, 0), t, { length: -t.length }, e);
197
+ }
198
+ function pr() {
199
+ return D;
200
+ }
201
+ function Ir() {
202
+ return D = _ > 0 ? k(Re, --_) : 0, Ge--, D === 10 && (Ge = 1, tt--), D;
203
+ }
204
+ function q() {
205
+ return D = _ < bn ? k(Re, _++) : 0, Ge++, D === 10 && (Ge = 1, tt++), D;
206
+ }
207
+ function ae() {
208
+ return k(Re, _);
209
+ }
210
+ function Fe() {
211
+ return _;
212
+ }
213
+ function Ve(t, e) {
214
+ return Ee(Re, t, e);
215
+ }
216
+ function Xe(t) {
217
+ switch (t) {
218
+ case 0:
219
+ case 9:
220
+ case 10:
221
+ case 13:
222
+ case 32:
223
+ return 5;
224
+ case 33:
225
+ case 43:
226
+ case 44:
227
+ case 47:
228
+ case 62:
229
+ case 64:
230
+ case 126:
231
+ case 59:
232
+ case 123:
233
+ case 125:
234
+ return 4;
235
+ case 58:
236
+ return 3;
237
+ case 34:
238
+ case 39:
239
+ case 40:
240
+ case 91:
241
+ return 2;
242
+ case 41:
243
+ case 93:
244
+ return 1;
245
+ }
246
+ return 0;
247
+ }
248
+ function vn(t) {
249
+ return tt = Ge = 1, bn = re(Re = t), _ = 0, [];
250
+ }
251
+ function mn(t) {
252
+ return Re = "", t;
253
+ }
254
+ function De(t) {
255
+ return fn(Ve(_ - 1, pt(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
256
+ }
257
+ function hr(t) {
258
+ for (; (D = ae()) && D < 33; )
259
+ q();
260
+ return Xe(t) > 2 || Xe(D) > 3 ? "" : " ";
261
+ }
262
+ function Cr(t, e) {
263
+ for (; --e && q() && !(D < 48 || D > 102 || D > 57 && D < 65 || D > 70 && D < 97); )
264
+ ;
265
+ return Ve(t, Fe() + (e < 6 && ae() == 32 && q() == 32));
266
+ }
267
+ function pt(t) {
268
+ for (; q(); )
269
+ switch (D) {
270
+ case t:
271
+ return _;
272
+ case 34:
273
+ case 39:
274
+ t !== 34 && t !== 39 && pt(D);
275
+ break;
276
+ case 40:
277
+ t === 41 && pt(t);
278
+ break;
279
+ case 92:
280
+ q();
281
+ break;
282
+ }
283
+ return _;
284
+ }
285
+ function yr(t, e) {
286
+ for (; q() && t + D !== 57; )
287
+ if (t + D === 84 && ae() === 47)
288
+ break;
289
+ return "/*" + Ve(e, _ - 1) + "*" + et(t === 47 ? t : q());
290
+ }
291
+ function xr(t) {
292
+ for (; !Xe(ae()); )
293
+ q();
294
+ return Ve(t, _);
295
+ }
296
+ function Ar(t) {
297
+ return mn(ke("", null, null, null, [""], t = vn(t), 0, [0], t));
298
+ }
299
+ function ke(t, e, n, r, i, a, o, c, u) {
300
+ for (var s = 0, l = 0, f = o, p = 0, y = 0, A = 0, v = 1, h = 1, b = 1, S = 0, x = "", P = i, d = a, E = r, C = x; h; )
301
+ switch (A = S, S = q()) {
302
+ case 40:
303
+ if (A != 108 && k(C, f - 1) == 58) {
304
+ mt(C += J(De(S), "&", "&\f"), "&\f") != -1 && (b = -1);
305
+ break;
306
+ }
307
+ case 34:
308
+ case 39:
309
+ case 91:
310
+ C += De(S);
311
+ break;
312
+ case 9:
313
+ case 10:
314
+ case 13:
315
+ case 32:
316
+ C += hr(A);
317
+ break;
318
+ case 92:
319
+ C += Cr(Fe() - 1, 7);
320
+ continue;
321
+ case 47:
322
+ switch (ae()) {
323
+ case 42:
324
+ case 47:
325
+ Ye(Gr(yr(q(), Fe()), e, n), u);
326
+ break;
327
+ default:
328
+ C += "/";
329
+ }
330
+ break;
331
+ case 123 * v:
332
+ c[s++] = re(C) * b;
333
+ case 125 * v:
334
+ case 59:
335
+ case 0:
336
+ switch (S) {
337
+ case 0:
338
+ case 125:
339
+ h = 0;
340
+ case 59 + l:
341
+ b == -1 && (C = J(C, /\f/g, "")), y > 0 && re(C) - f && Ye(y > 32 ? jt(C + ";", r, n, f - 1) : jt(J(C, " ", "") + ";", r, n, f - 2), u);
342
+ break;
343
+ case 59:
344
+ C += ";";
345
+ default:
346
+ if (Ye(E = Lt(C, e, n, s, l, i, c, x, P = [], d = [], f), a), S === 123)
347
+ if (l === 0)
348
+ ke(C, e, E, E, P, a, f, c, d);
349
+ else
350
+ switch (p === 99 && k(C, 3) === 110 ? 100 : p) {
351
+ case 100:
352
+ case 108:
353
+ case 109:
354
+ case 115:
355
+ ke(t, E, E, r && Ye(Lt(t, E, E, 0, 0, i, c, x, i, P = [], f), d), i, d, f, c, r ? P : d);
356
+ break;
357
+ default:
358
+ ke(C, E, E, E, [""], d, 0, c, d);
359
+ }
360
+ }
361
+ s = l = y = 0, v = b = 1, x = C = "", f = o;
362
+ break;
363
+ case 58:
364
+ f = 1 + re(C), y = A;
365
+ default:
366
+ if (v < 1) {
367
+ if (S == 123)
368
+ --v;
369
+ else if (S == 125 && v++ == 0 && Ir() == 125)
370
+ continue;
371
+ }
372
+ switch (C += et(S), S * v) {
373
+ case 38:
374
+ b = l > 0 ? 1 : (C += "\f", -1);
375
+ break;
376
+ case 44:
377
+ c[s++] = (re(C) - 1) * b, b = 1;
378
+ break;
379
+ case 64:
380
+ ae() === 45 && (C += De(q())), p = ae(), l = f = re(x = C += xr(Fe())), S++;
381
+ break;
382
+ case 45:
383
+ A === 45 && re(C) == 2 && (v = 0);
384
+ }
385
+ }
386
+ return a;
387
+ }
388
+ function Lt(t, e, n, r, i, a, o, c, u, s, l) {
389
+ for (var f = i - 1, p = i === 0 ? a : [""], y = wt(p), A = 0, v = 0, h = 0; A < r; ++A)
390
+ for (var b = 0, S = Ee(t, f + 1, f = gr(v = o[A])), x = t; b < y; ++b)
391
+ (x = fn(v > 0 ? p[b] + " " + S : J(S, /&\f/g, p[b]))) && (u[h++] = x);
392
+ return nt(t, e, n, i === 0 ? Tt : c, u, s, l);
393
+ }
394
+ function Gr(t, e, n) {
395
+ return nt(t, e, n, dn, et(pr()), Ee(t, 2, -2), 0);
396
+ }
397
+ function jt(t, e, n, r) {
398
+ return nt(t, e, n, Bt, Ee(t, 0, r), Ee(t, r + 1, -1), r);
399
+ }
400
+ function xe(t, e) {
401
+ for (var n = "", r = wt(t), i = 0; i < r; i++)
402
+ n += e(t[i], i, t, e) || "";
403
+ return n;
404
+ }
405
+ function Rr(t, e, n, r) {
406
+ switch (t.type) {
407
+ case dr:
408
+ if (t.children.length) break;
409
+ case lr:
410
+ case Bt:
411
+ return t.return = t.return || t.value;
412
+ case dn:
413
+ return "";
414
+ case gn:
415
+ return t.return = t.value + "{" + xe(t.children, r) + "}";
416
+ case Tt:
417
+ t.value = t.props.join(",");
418
+ }
419
+ return re(n = xe(t.children, r)) ? t.return = t.value + "{" + n + "}" : "";
420
+ }
421
+ function Pr(t) {
422
+ var e = wt(t);
423
+ return function(n, r, i, a) {
424
+ for (var o = "", c = 0; c < e; c++)
425
+ o += t[c](n, r, i, a) || "";
426
+ return o;
427
+ };
428
+ }
429
+ function Sr(t) {
430
+ return function(e) {
431
+ e.root || (e = e.return) && t(e);
432
+ };
433
+ }
434
+ function Tr(t) {
435
+ var e = /* @__PURE__ */ Object.create(null);
436
+ return function(n) {
437
+ return e[n] === void 0 && (e[n] = t(n)), e[n];
438
+ };
439
+ }
440
+ var Br = function(e, n, r) {
441
+ for (var i = 0, a = 0; i = a, a = ae(), i === 38 && a === 12 && (n[r] = 1), !Xe(a); )
442
+ q();
443
+ return Ve(e, _);
444
+ }, wr = function(e, n) {
445
+ var r = -1, i = 44;
446
+ do
447
+ switch (Xe(i)) {
448
+ case 0:
449
+ i === 38 && ae() === 12 && (n[r] = 1), e[r] += Br(_ - 1, n, r);
450
+ break;
451
+ case 2:
452
+ e[r] += De(i);
453
+ break;
454
+ case 4:
455
+ if (i === 44) {
456
+ e[++r] = ae() === 58 ? "&\f" : "", n[r] = e[r].length;
457
+ break;
458
+ }
459
+ default:
460
+ e[r] += et(i);
461
+ }
462
+ while (i = q());
463
+ return e;
464
+ }, Er = function(e, n) {
465
+ return mn(wr(vn(e), n));
466
+ }, Ft = /* @__PURE__ */ new WeakMap(), Xr = function(e) {
467
+ if (!(e.type !== "rule" || !e.parent || // positive .length indicates that this rule contains pseudo
468
+ // negative .length indicates that this rule has been already prefixed
469
+ e.length < 1)) {
470
+ for (var n = e.value, r = e.parent, i = e.column === r.column && e.line === r.line; r.type !== "rule"; )
471
+ if (r = r.parent, !r) return;
472
+ if (!(e.props.length === 1 && n.charCodeAt(0) !== 58 && !Ft.get(r)) && !i) {
473
+ Ft.set(e, !0);
474
+ for (var a = [], o = Er(n, a), c = r.props, u = 0, s = 0; u < o.length; u++)
475
+ for (var l = 0; l < c.length; l++, s++)
476
+ e.props[s] = a[u] ? o[u].replace(/&\f/g, c[l]) : c[l] + " " + o[u];
477
+ }
478
+ }
479
+ }, Nr = function(e) {
480
+ if (e.type === "decl") {
481
+ var n = e.value;
482
+ // charcode for l
483
+ n.charCodeAt(0) === 108 && // charcode for b
484
+ n.charCodeAt(2) === 98 && (e.return = "", e.value = "");
485
+ }
486
+ };
487
+ function pn(t, e) {
488
+ switch (br(t, e)) {
489
+ case 5103:
490
+ return Y + "print-" + t + t;
491
+ case 5737:
492
+ case 4201:
493
+ case 3177:
494
+ case 3433:
495
+ case 1641:
496
+ case 4457:
497
+ case 2921:
498
+ case 5572:
499
+ case 6356:
500
+ case 5844:
501
+ case 3191:
502
+ case 6645:
503
+ case 3005:
504
+ case 6391:
505
+ case 5879:
506
+ case 5623:
507
+ case 6135:
508
+ case 4599:
509
+ case 4855:
510
+ case 4215:
511
+ case 6389:
512
+ case 5109:
513
+ case 5365:
514
+ case 5621:
515
+ case 3829:
516
+ return Y + t + t;
517
+ case 5349:
518
+ case 4246:
519
+ case 4810:
520
+ case 6968:
521
+ case 2756:
522
+ return Y + t + Ue + t + U + t + t;
523
+ case 6828:
524
+ case 4268:
525
+ return Y + t + U + t + t;
526
+ case 6165:
527
+ return Y + t + U + "flex-" + t + t;
528
+ case 5187:
529
+ return Y + t + J(t, /(\w+).+(:[^]+)/, Y + "box-$1$2" + U + "flex-$1$2") + t;
530
+ case 5443:
531
+ return Y + t + U + "flex-item-" + J(t, /flex-|-self/, "") + t;
532
+ case 4675:
533
+ return Y + t + U + "flex-line-pack" + J(t, /align-content|flex-|-self/, "") + t;
534
+ case 5548:
535
+ return Y + t + U + J(t, "shrink", "negative") + t;
536
+ case 5292:
537
+ return Y + t + U + J(t, "basis", "preferred-size") + t;
538
+ case 6060:
539
+ return Y + "box-" + J(t, "-grow", "") + Y + t + U + J(t, "grow", "positive") + t;
540
+ case 4554:
541
+ return Y + J(t, /([^-])(transform)/g, "$1" + Y + "$2") + t;
542
+ case 6187:
543
+ return J(J(J(t, /(zoom-|grab)/, Y + "$1"), /(image-set)/, Y + "$1"), t, "") + t;
544
+ case 5495:
545
+ case 3959:
546
+ return J(t, /(image-set\([^]*)/, Y + "$1$`$1");
547
+ case 4968:
548
+ return J(J(t, /(.+:)(flex-)?(.*)/, Y + "box-pack:$3" + U + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Y + t + t;
549
+ case 4095:
550
+ case 3583:
551
+ case 4068:
552
+ case 2532:
553
+ return J(t, /(.+)-inline(.+)/, Y + "$1$2") + t;
554
+ case 8116:
555
+ case 7059:
556
+ case 5753:
557
+ case 5535:
558
+ case 5445:
559
+ case 5701:
560
+ case 4933:
561
+ case 4677:
562
+ case 5533:
563
+ case 5789:
564
+ case 5021:
565
+ case 4765:
566
+ if (re(t) - 1 - e > 6) switch (k(t, e + 1)) {
567
+ case 109:
568
+ if (k(t, e + 4) !== 45) break;
569
+ case 102:
570
+ return J(t, /(.+:)(.+)-([^]+)/, "$1" + Y + "$2-$3$1" + Ue + (k(t, e + 3) == 108 ? "$3" : "$2-$3")) + t;
571
+ case 115:
572
+ return ~mt(t, "stretch") ? pn(J(t, "stretch", "fill-available"), e) + t : t;
573
+ }
574
+ break;
575
+ case 4949:
576
+ if (k(t, e + 1) !== 115) break;
577
+ case 6444:
578
+ switch (k(t, re(t) - 3 - (~mt(t, "!important") && 10))) {
579
+ case 107:
580
+ return J(t, ":", ":" + Y) + t;
581
+ case 101:
582
+ return J(t, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Y + (k(t, 14) === 45 ? "inline-" : "") + "box$3$1" + Y + "$2$3$1" + U + "$2box$3") + t;
583
+ }
584
+ break;
585
+ case 5936:
586
+ switch (k(t, e + 11)) {
587
+ case 114:
588
+ return Y + t + U + J(t, /[svh]\w+-[tblr]{2}/, "tb") + t;
589
+ case 108:
590
+ return Y + t + U + J(t, /[svh]\w+-[tblr]{2}/, "tb-rl") + t;
591
+ case 45:
592
+ return Y + t + U + J(t, /[svh]\w+-[tblr]{2}/, "lr") + t;
593
+ }
594
+ return Y + t + U + t + t;
595
+ }
596
+ return t;
597
+ }
598
+ var Vr = function(e, n, r, i) {
599
+ if (e.length > -1 && !e.return) switch (e.type) {
600
+ case Bt:
601
+ e.return = pn(e.value, e.length);
602
+ break;
603
+ case gn:
604
+ return xe([Se(e, {
605
+ value: J(e.value, "@", "@" + Y)
606
+ })], i);
607
+ case Tt:
608
+ if (e.length) return mr(e.props, function(a) {
609
+ switch (vr(a, /(::plac\w+|:read-\w+)/)) {
610
+ case ":read-only":
611
+ case ":read-write":
612
+ return xe([Se(e, {
613
+ props: [J(a, /:(read-\w+)/, ":" + Ue + "$1")]
614
+ })], i);
615
+ case "::placeholder":
616
+ return xe([Se(e, {
617
+ props: [J(a, /:(plac\w+)/, ":" + Y + "input-$1")]
618
+ }), Se(e, {
619
+ props: [J(a, /:(plac\w+)/, ":" + Ue + "$1")]
620
+ }), Se(e, {
621
+ props: [J(a, /:(plac\w+)/, U + "input-$1")]
622
+ })], i);
623
+ }
624
+ return "";
625
+ });
626
+ }
627
+ }, Wr = [Vr], Hr = function(e) {
628
+ var n = e.key;
629
+ if (n === "css") {
630
+ var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
631
+ Array.prototype.forEach.call(r, function(v) {
632
+ var h = v.getAttribute("data-emotion");
633
+ h.indexOf(" ") !== -1 && (document.head.appendChild(v), v.setAttribute("data-s", ""));
634
+ });
635
+ }
636
+ var i = e.stylisPlugins || Wr, a = {}, o, c = [];
637
+ o = e.container || document.head, Array.prototype.forEach.call(
638
+ // this means we will ignore elements which don't have a space in them which
639
+ // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
640
+ document.querySelectorAll('style[data-emotion^="' + n + ' "]'),
641
+ function(v) {
642
+ for (var h = v.getAttribute("data-emotion").split(" "), b = 1; b < h.length; b++)
643
+ a[h[b]] = !0;
644
+ c.push(v);
645
+ }
646
+ );
647
+ var u, s = [Xr, Nr];
648
+ {
649
+ var l, f = [Rr, Sr(function(v) {
650
+ l.insert(v);
651
+ })], p = Pr(s.concat(i, f)), y = function(h) {
652
+ return xe(Ar(h), p);
653
+ };
654
+ u = function(h, b, S, x) {
655
+ l = S, y(h ? h + "{" + b.styles + "}" : b.styles), x && (A.inserted[b.name] = !0);
656
+ };
657
+ }
658
+ var A = {
659
+ key: n,
660
+ sheet: new sr({
661
+ key: n,
662
+ container: o,
663
+ nonce: e.nonce,
664
+ speedy: e.speedy,
665
+ prepend: e.prepend,
666
+ insertionPoint: e.insertionPoint
667
+ }),
668
+ nonce: e.nonce,
669
+ inserted: a,
670
+ registered: {},
671
+ insert: u
672
+ };
673
+ return A.sheet.hydrate(c), A;
674
+ }, It = { exports: {} }, O = {};
675
+ /** @license React v16.13.1
676
+ * react-is.production.min.js
677
+ *
678
+ * Copyright (c) Facebook, Inc. and its affiliates.
679
+ *
680
+ * This source code is licensed under the MIT license found in the
681
+ * LICENSE file in the root directory of this source tree.
682
+ */
683
+ var Dt;
684
+ function Zr() {
685
+ if (Dt) return O;
686
+ Dt = 1;
687
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, s = t ? Symbol.for("react.concurrent_mode") : 60111, l = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, A = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, h = t ? Symbol.for("react.fundamental") : 60117, b = t ? Symbol.for("react.responder") : 60118, S = t ? Symbol.for("react.scope") : 60119;
688
+ function x(d) {
689
+ if (typeof d == "object" && d !== null) {
690
+ var E = d.$$typeof;
691
+ switch (E) {
692
+ case e:
693
+ switch (d = d.type, d) {
694
+ case u:
695
+ case s:
696
+ case r:
697
+ case a:
698
+ case i:
699
+ case f:
700
+ return d;
701
+ default:
702
+ switch (d = d && d.$$typeof, d) {
703
+ case c:
704
+ case l:
705
+ case A:
706
+ case y:
707
+ case o:
708
+ return d;
709
+ default:
710
+ return E;
711
+ }
712
+ }
713
+ case n:
714
+ return E;
715
+ }
716
+ }
717
+ }
718
+ function P(d) {
719
+ return x(d) === s;
720
+ }
721
+ return O.AsyncMode = u, O.ConcurrentMode = s, O.ContextConsumer = c, O.ContextProvider = o, O.Element = e, O.ForwardRef = l, O.Fragment = r, O.Lazy = A, O.Memo = y, O.Portal = n, O.Profiler = a, O.StrictMode = i, O.Suspense = f, O.isAsyncMode = function(d) {
722
+ return P(d) || x(d) === u;
723
+ }, O.isConcurrentMode = P, O.isContextConsumer = function(d) {
724
+ return x(d) === c;
725
+ }, O.isContextProvider = function(d) {
726
+ return x(d) === o;
727
+ }, O.isElement = function(d) {
728
+ return typeof d == "object" && d !== null && d.$$typeof === e;
729
+ }, O.isForwardRef = function(d) {
730
+ return x(d) === l;
731
+ }, O.isFragment = function(d) {
732
+ return x(d) === r;
733
+ }, O.isLazy = function(d) {
734
+ return x(d) === A;
735
+ }, O.isMemo = function(d) {
736
+ return x(d) === y;
737
+ }, O.isPortal = function(d) {
738
+ return x(d) === n;
739
+ }, O.isProfiler = function(d) {
740
+ return x(d) === a;
741
+ }, O.isStrictMode = function(d) {
742
+ return x(d) === i;
743
+ }, O.isSuspense = function(d) {
744
+ return x(d) === f;
745
+ }, O.isValidElementType = function(d) {
746
+ return typeof d == "string" || typeof d == "function" || d === r || d === s || d === a || d === i || d === f || d === p || typeof d == "object" && d !== null && (d.$$typeof === A || d.$$typeof === y || d.$$typeof === o || d.$$typeof === c || d.$$typeof === l || d.$$typeof === h || d.$$typeof === b || d.$$typeof === S || d.$$typeof === v);
747
+ }, O.typeOf = x, O;
748
+ }
749
+ var z = {};
750
+ /** @license React v16.13.1
751
+ * react-is.development.js
752
+ *
753
+ * Copyright (c) Facebook, Inc. and its affiliates.
754
+ *
755
+ * This source code is licensed under the MIT license found in the
756
+ * LICENSE file in the root directory of this source tree.
757
+ */
758
+ var kt;
759
+ function Mr() {
760
+ return kt || (kt = 1, process.env.NODE_ENV !== "production" && function() {
761
+ var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, o = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, s = t ? Symbol.for("react.concurrent_mode") : 60111, l = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, A = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, h = t ? Symbol.for("react.fundamental") : 60117, b = t ? Symbol.for("react.responder") : 60118, S = t ? Symbol.for("react.scope") : 60119;
762
+ function x(m) {
763
+ return typeof m == "string" || typeof m == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
764
+ m === r || m === s || m === a || m === i || m === f || m === p || typeof m == "object" && m !== null && (m.$$typeof === A || m.$$typeof === y || m.$$typeof === o || m.$$typeof === c || m.$$typeof === l || m.$$typeof === h || m.$$typeof === b || m.$$typeof === S || m.$$typeof === v);
765
+ }
766
+ function P(m) {
767
+ if (typeof m == "object" && m !== null) {
768
+ var ne = m.$$typeof;
769
+ switch (ne) {
770
+ case e:
771
+ var Ze = m.type;
772
+ switch (Ze) {
773
+ case u:
774
+ case s:
775
+ case r:
776
+ case a:
777
+ case i:
778
+ case f:
779
+ return Ze;
780
+ default:
781
+ var Jt = Ze && Ze.$$typeof;
782
+ switch (Jt) {
783
+ case c:
784
+ case l:
785
+ case A:
786
+ case y:
787
+ case o:
788
+ return Jt;
789
+ default:
790
+ return ne;
791
+ }
792
+ }
793
+ case n:
794
+ return ne;
795
+ }
796
+ }
797
+ }
798
+ var d = u, E = s, C = c, Q = o, te = e, ge = l, fe = r, de = A, Pe = y, ce = n, he = a, K = i, be = f, He = !1;
799
+ function at(m) {
800
+ return He || (He = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), g(m) || P(m) === u;
801
+ }
802
+ function g(m) {
803
+ return P(m) === s;
804
+ }
805
+ function I(m) {
806
+ return P(m) === c;
807
+ }
808
+ function V(m) {
809
+ return P(m) === o;
810
+ }
811
+ function X(m) {
812
+ return typeof m == "object" && m !== null && m.$$typeof === e;
813
+ }
814
+ function B(m) {
815
+ return P(m) === l;
816
+ }
817
+ function H(m) {
818
+ return P(m) === r;
819
+ }
820
+ function w(m) {
821
+ return P(m) === A;
822
+ }
823
+ function N(m) {
824
+ return P(m) === y;
825
+ }
826
+ function Z(m) {
827
+ return P(m) === n;
828
+ }
829
+ function L(m) {
830
+ return P(m) === a;
831
+ }
832
+ function M(m) {
833
+ return P(m) === i;
834
+ }
835
+ function $(m) {
836
+ return P(m) === f;
837
+ }
838
+ z.AsyncMode = d, z.ConcurrentMode = E, z.ContextConsumer = C, z.ContextProvider = Q, z.Element = te, z.ForwardRef = ge, z.Fragment = fe, z.Lazy = de, z.Memo = Pe, z.Portal = ce, z.Profiler = he, z.StrictMode = K, z.Suspense = be, z.isAsyncMode = at, z.isConcurrentMode = g, z.isContextConsumer = I, z.isContextProvider = V, z.isElement = X, z.isForwardRef = B, z.isFragment = H, z.isLazy = w, z.isMemo = N, z.isPortal = Z, z.isProfiler = L, z.isStrictMode = M, z.isSuspense = $, z.isValidElementType = x, z.typeOf = P;
839
+ }()), z;
840
+ }
841
+ process.env.NODE_ENV === "production" ? It.exports = Zr() : It.exports = Mr();
842
+ var Et = It.exports, In = Et, Yr = {
843
+ $$typeof: !0,
844
+ render: !0,
845
+ defaultProps: !0,
846
+ displayName: !0,
847
+ propTypes: !0
848
+ }, Jr = {
849
+ $$typeof: !0,
850
+ compare: !0,
851
+ defaultProps: !0,
852
+ displayName: !0,
853
+ propTypes: !0,
854
+ type: !0
855
+ }, hn = {};
856
+ hn[In.ForwardRef] = Yr;
857
+ hn[In.Memo] = Jr;
858
+ var Or = !0;
859
+ function zr(t, e, n) {
860
+ var r = "";
861
+ return n.split(" ").forEach(function(i) {
862
+ t[i] !== void 0 ? e.push(t[i] + ";") : i && (r += i + " ");
863
+ }), r;
864
+ }
865
+ var Cn = function(e, n, r) {
866
+ var i = e.key + "-" + n.name;
867
+ // we only need to add the styles to the registered cache if the
868
+ // class name could be used further down
869
+ // the tree but if it's a string tag, we know it won't
870
+ // so we don't have to add it to registered cache.
871
+ // this improves memory usage since we can avoid storing the whole style string
872
+ (r === !1 || // we need to always store it if we're in compat mode and
873
+ // in node since emotion-server relies on whether a style is in
874
+ // the registered cache to know whether a style is global or not
875
+ // also, note that this check will be dead code eliminated in the browser
876
+ Or === !1) && e.registered[i] === void 0 && (e.registered[i] = n.styles);
877
+ }, Lr = function(e, n, r) {
878
+ Cn(e, n, r);
879
+ var i = e.key + "-" + n.name;
880
+ if (e.inserted[n.name] === void 0) {
881
+ var a = n;
882
+ do
883
+ e.insert(n === a ? "." + i : "", a, e.sheet, !0), a = a.next;
884
+ while (a !== void 0);
885
+ }
886
+ };
887
+ function jr(t) {
888
+ for (var e = 0, n, r = 0, i = t.length; i >= 4; ++r, i -= 4)
889
+ n = t.charCodeAt(r) & 255 | (t.charCodeAt(++r) & 255) << 8 | (t.charCodeAt(++r) & 255) << 16 | (t.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
890
+ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
891
+ n >>> 24, e = /* Math.imul(k, m): */
892
+ (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
893
+ (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
894
+ switch (i) {
895
+ case 3:
896
+ e ^= (t.charCodeAt(r + 2) & 255) << 16;
897
+ case 2:
898
+ e ^= (t.charCodeAt(r + 1) & 255) << 8;
899
+ case 1:
900
+ e ^= t.charCodeAt(r) & 255, e = /* Math.imul(h, m): */
901
+ (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
902
+ }
903
+ return e ^= e >>> 13, e = /* Math.imul(h, m): */
904
+ (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
905
+ }
906
+ var Fr = {
907
+ animationIterationCount: 1,
908
+ aspectRatio: 1,
909
+ borderImageOutset: 1,
910
+ borderImageSlice: 1,
911
+ borderImageWidth: 1,
912
+ boxFlex: 1,
913
+ boxFlexGroup: 1,
914
+ boxOrdinalGroup: 1,
915
+ columnCount: 1,
916
+ columns: 1,
917
+ flex: 1,
918
+ flexGrow: 1,
919
+ flexPositive: 1,
920
+ flexShrink: 1,
921
+ flexNegative: 1,
922
+ flexOrder: 1,
923
+ gridRow: 1,
924
+ gridRowEnd: 1,
925
+ gridRowSpan: 1,
926
+ gridRowStart: 1,
927
+ gridColumn: 1,
928
+ gridColumnEnd: 1,
929
+ gridColumnSpan: 1,
930
+ gridColumnStart: 1,
931
+ msGridRow: 1,
932
+ msGridRowSpan: 1,
933
+ msGridColumn: 1,
934
+ msGridColumnSpan: 1,
935
+ fontWeight: 1,
936
+ lineHeight: 1,
937
+ opacity: 1,
938
+ order: 1,
939
+ orphans: 1,
940
+ scale: 1,
941
+ tabSize: 1,
942
+ widows: 1,
943
+ zIndex: 1,
944
+ zoom: 1,
945
+ WebkitLineClamp: 1,
946
+ // SVG-related properties
947
+ fillOpacity: 1,
948
+ floodOpacity: 1,
949
+ stopOpacity: 1,
950
+ strokeDasharray: 1,
951
+ strokeDashoffset: 1,
952
+ strokeMiterlimit: 1,
953
+ strokeOpacity: 1,
954
+ strokeWidth: 1
955
+ }, Dr = /[A-Z]|^ms/g, kr = /_EMO_([^_]+?)_([^]*?)_EMO_/g, yn = function(e) {
956
+ return e.charCodeAt(1) === 45;
957
+ }, Ut = function(e) {
958
+ return e != null && typeof e != "boolean";
959
+ }, ct = /* @__PURE__ */ Tr(function(t) {
960
+ return yn(t) ? t : t.replace(Dr, "-$&").toLowerCase();
961
+ }), Qt = function(e, n) {
962
+ switch (e) {
963
+ case "animation":
964
+ case "animationName":
965
+ if (typeof n == "string")
966
+ return n.replace(kr, function(r, i, a) {
967
+ return ie = {
968
+ name: i,
969
+ styles: a,
970
+ next: ie
971
+ }, i;
972
+ });
973
+ }
974
+ return Fr[e] !== 1 && !yn(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
975
+ };
976
+ function Ne(t, e, n) {
977
+ if (n == null)
978
+ return "";
979
+ var r = n;
980
+ if (r.__emotion_styles !== void 0)
981
+ return r;
982
+ switch (typeof n) {
983
+ case "boolean":
984
+ return "";
985
+ case "object": {
986
+ var i = n;
987
+ if (i.anim === 1)
988
+ return ie = {
989
+ name: i.name,
990
+ styles: i.styles,
991
+ next: ie
992
+ }, i.name;
993
+ var a = n;
994
+ if (a.styles !== void 0) {
995
+ var o = a.next;
996
+ if (o !== void 0)
997
+ for (; o !== void 0; )
998
+ ie = {
999
+ name: o.name,
1000
+ styles: o.styles,
1001
+ next: ie
1002
+ }, o = o.next;
1003
+ var c = a.styles + ";";
1004
+ return c;
1005
+ }
1006
+ return Ur(t, e, n);
1007
+ }
1008
+ case "function": {
1009
+ if (t !== void 0) {
1010
+ var u = ie, s = n(t);
1011
+ return ie = u, Ne(t, e, s);
1012
+ }
1013
+ break;
1014
+ }
1015
+ }
1016
+ var l = n;
1017
+ return l;
1018
+ }
1019
+ function Ur(t, e, n) {
1020
+ var r = "";
1021
+ if (Array.isArray(n))
1022
+ for (var i = 0; i < n.length; i++)
1023
+ r += Ne(t, e, n[i]) + ";";
1024
+ else
1025
+ for (var a in n) {
1026
+ var o = n[a];
1027
+ if (typeof o != "object") {
1028
+ var c = o;
1029
+ Ut(c) && (r += ct(a) + ":" + Qt(a, c) + ";");
1030
+ } else if (Array.isArray(o) && typeof o[0] == "string" && e == null)
1031
+ for (var u = 0; u < o.length; u++)
1032
+ Ut(o[u]) && (r += ct(a) + ":" + Qt(a, o[u]) + ";");
1033
+ else {
1034
+ var s = Ne(t, e, o);
1035
+ switch (a) {
1036
+ case "animation":
1037
+ case "animationName": {
1038
+ r += ct(a) + ":" + s + ";";
1039
+ break;
1040
+ }
1041
+ default:
1042
+ r += a + "{" + s + "}";
1043
+ }
1044
+ }
1045
+ }
1046
+ return r;
1047
+ }
1048
+ var $t = /label:\s*([^\s;{]+)\s*(;|$)/g, ie;
1049
+ function xn(t, e, n) {
1050
+ if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
1051
+ return t[0];
1052
+ var r = !0, i = "";
1053
+ ie = void 0;
1054
+ var a = t[0];
1055
+ if (a == null || a.raw === void 0)
1056
+ r = !1, i += Ne(n, e, a);
1057
+ else {
1058
+ var o = a;
1059
+ i += o[0];
1060
+ }
1061
+ for (var c = 1; c < t.length; c++)
1062
+ if (i += Ne(n, e, t[c]), r) {
1063
+ var u = a;
1064
+ i += u[c];
1065
+ }
1066
+ $t.lastIndex = 0;
1067
+ for (var s = "", l; (l = $t.exec(i)) !== null; )
1068
+ s += "-" + l[1];
1069
+ var f = jr(i) + s;
1070
+ return {
1071
+ name: f,
1072
+ styles: i,
1073
+ next: ie
1074
+ };
1075
+ }
1076
+ var Qr = function(e) {
1077
+ return e();
1078
+ }, $r = j.useInsertionEffect ? j.useInsertionEffect : !1, _r = $r || Qr, Kr = !1, An = /* @__PURE__ */ j.createContext(
1079
+ // we're doing this to avoid preconstruct's dead code elimination in this one case
1080
+ // because this module is primarily intended for the browser and node
1081
+ // but it's also required in react native and similar environments sometimes
1082
+ // and we could have a special build just for that
1083
+ // but this is much easier and the native packages
1084
+ // might use a different theme context in the future anyway
1085
+ typeof HTMLElement < "u" ? /* @__PURE__ */ Hr({
1086
+ key: "css"
1087
+ }) : null
1088
+ );
1089
+ An.Provider;
1090
+ var qr = function(e) {
1091
+ return /* @__PURE__ */ kn(function(n, r) {
1092
+ var i = ln(An);
1093
+ return e(n, i, r);
1094
+ });
1095
+ }, ei = /* @__PURE__ */ j.createContext({}), Xt = {}.hasOwnProperty, ht = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", ti = function(e, n) {
1096
+ var r = {};
1097
+ for (var i in n)
1098
+ Xt.call(n, i) && (r[i] = n[i]);
1099
+ return r[ht] = e, r;
1100
+ }, ni = function(e) {
1101
+ var n = e.cache, r = e.serialized, i = e.isStringTag;
1102
+ return Cn(n, r, i), _r(function() {
1103
+ return Lr(n, r, i);
1104
+ }), null;
1105
+ }, ri = /* @__PURE__ */ qr(function(t, e, n) {
1106
+ var r = t.css;
1107
+ typeof r == "string" && e.registered[r] !== void 0 && (r = e.registered[r]);
1108
+ var i = t[ht], a = [r], o = "";
1109
+ typeof t.className == "string" ? o = zr(e.registered, a, t.className) : t.className != null && (o = t.className + " ");
1110
+ var c = xn(a, void 0, j.useContext(ei));
1111
+ o += e.key + "-" + c.name;
1112
+ var u = {};
1113
+ for (var s in t)
1114
+ Xt.call(t, s) && s !== "css" && s !== ht && !Kr && (u[s] = t[s]);
1115
+ return u.className = o, n && (u.ref = n), /* @__PURE__ */ j.createElement(j.Fragment, null, /* @__PURE__ */ j.createElement(ni, {
1116
+ cache: e,
1117
+ serialized: c,
1118
+ isStringTag: typeof i == "string"
1119
+ }), /* @__PURE__ */ j.createElement(i, u));
1120
+ }), ii = ri, T = function(e, n) {
1121
+ var r = arguments;
1122
+ if (n == null || !Xt.call(n, "css"))
1123
+ return j.createElement.apply(void 0, r);
1124
+ var i = r.length, a = new Array(i);
1125
+ a[0] = ii, a[1] = ti(e, n);
1126
+ for (var o = 2; o < i; o++)
1127
+ a[o] = r[o];
1128
+ return j.createElement.apply(null, a);
1129
+ };
1130
+ (function(t) {
1131
+ var e;
1132
+ e || (e = t.JSX || (t.JSX = {}));
1133
+ })(T);
1134
+ function Gn() {
1135
+ for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
1136
+ e[n] = arguments[n];
1137
+ return xn(e);
1138
+ }
1139
+ function ai() {
1140
+ var t = Gn.apply(void 0, arguments), e = "animation-" + t.name;
1141
+ return {
1142
+ name: e,
1143
+ styles: "@keyframes " + e + "{" + t.styles + "}",
1144
+ anim: 1,
1145
+ toString: function() {
1146
+ return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
1147
+ }
1148
+ };
1149
+ }
1150
+ function oi(t) {
1151
+ if (Array.isArray(t)) return t;
1152
+ }
1153
+ function ci(t, e) {
1154
+ var n = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
1155
+ if (n != null) {
1156
+ var r, i, a, o, c = [], u = !0, s = !1;
1157
+ try {
1158
+ if (a = (n = n.call(t)).next, e === 0) {
1159
+ if (Object(n) !== n) return;
1160
+ u = !1;
1161
+ } else for (; !(u = (r = a.call(n)).done) && (c.push(r.value), c.length !== e); u = !0) ;
1162
+ } catch (l) {
1163
+ s = !0, i = l;
1164
+ } finally {
1165
+ try {
1166
+ if (!u && n.return != null && (o = n.return(), Object(o) !== o)) return;
1167
+ } finally {
1168
+ if (s) throw i;
1169
+ }
1170
+ }
1171
+ return c;
1172
+ }
1173
+ }
1174
+ function _t(t, e) {
1175
+ (e == null || e > t.length) && (e = t.length);
1176
+ for (var n = 0, r = Array(e); n < e; n++) r[n] = t[n];
1177
+ return r;
1178
+ }
1179
+ function ui(t, e) {
1180
+ if (t) {
1181
+ if (typeof t == "string") return _t(t, e);
1182
+ var n = {}.toString.call(t).slice(8, -1);
1183
+ return n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set" ? Array.from(t) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _t(t, e) : void 0;
1184
+ }
1185
+ }
1186
+ function si() {
1187
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1188
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1189
+ }
1190
+ function se(t, e) {
1191
+ return oi(t) || ci(t, e) || ui(t, e) || si();
1192
+ }
1193
+ function li(t, e) {
1194
+ return e || (e = t.slice(0)), Object.freeze(Object.defineProperties(t, {
1195
+ raw: {
1196
+ value: Object.freeze(e)
1197
+ }
1198
+ }));
1199
+ }
1200
+ const di = Math.min, gi = Math.max, Qe = Math.round, Je = Math.floor, $e = (t) => ({
1201
+ x: t,
1202
+ y: t
1203
+ });
1204
+ function fi(t) {
1205
+ const {
1206
+ x: e,
1207
+ y: n,
1208
+ width: r,
1209
+ height: i
1210
+ } = t;
1211
+ return {
1212
+ width: r,
1213
+ height: i,
1214
+ top: n,
1215
+ left: e,
1216
+ right: e + r,
1217
+ bottom: n + i,
1218
+ x: e,
1219
+ y: n
1220
+ };
1221
+ }
1222
+ function rt() {
1223
+ return typeof window < "u";
1224
+ }
1225
+ function Rn(t) {
1226
+ return Sn(t) ? (t.nodeName || "").toLowerCase() : "#document";
1227
+ }
1228
+ function le(t) {
1229
+ var e;
1230
+ return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
1231
+ }
1232
+ function Pn(t) {
1233
+ var e;
1234
+ return (e = (Sn(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
1235
+ }
1236
+ function Sn(t) {
1237
+ return rt() ? t instanceof Node || t instanceof le(t).Node : !1;
1238
+ }
1239
+ function bi(t) {
1240
+ return rt() ? t instanceof Element || t instanceof le(t).Element : !1;
1241
+ }
1242
+ function Nt(t) {
1243
+ return rt() ? t instanceof HTMLElement || t instanceof le(t).HTMLElement : !1;
1244
+ }
1245
+ function Kt(t) {
1246
+ return !rt() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof le(t).ShadowRoot;
1247
+ }
1248
+ function Tn(t) {
1249
+ const {
1250
+ overflow: e,
1251
+ overflowX: n,
1252
+ overflowY: r,
1253
+ display: i
1254
+ } = Vt(t);
1255
+ return /auto|scroll|overlay|hidden|clip/.test(e + r + n) && !["inline", "contents"].includes(i);
1256
+ }
1257
+ function vi() {
1258
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
1259
+ }
1260
+ function mi(t) {
1261
+ return ["html", "body", "#document"].includes(Rn(t));
1262
+ }
1263
+ function Vt(t) {
1264
+ return le(t).getComputedStyle(t);
1265
+ }
1266
+ function pi(t) {
1267
+ if (Rn(t) === "html")
1268
+ return t;
1269
+ const e = (
1270
+ // Step into the shadow DOM of the parent of a slotted node.
1271
+ t.assignedSlot || // DOM Element detected.
1272
+ t.parentNode || // ShadowRoot detected.
1273
+ Kt(t) && t.host || // Fallback.
1274
+ Pn(t)
1275
+ );
1276
+ return Kt(e) ? e.host : e;
1277
+ }
1278
+ function Bn(t) {
1279
+ const e = pi(t);
1280
+ return mi(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Nt(e) && Tn(e) ? e : Bn(e);
1281
+ }
1282
+ function _e(t, e, n) {
1283
+ var r;
1284
+ e === void 0 && (e = []), n === void 0 && (n = !0);
1285
+ const i = Bn(t), a = i === ((r = t.ownerDocument) == null ? void 0 : r.body), o = le(i);
1286
+ if (a) {
1287
+ const c = Ct(o);
1288
+ return e.concat(o, o.visualViewport || [], Tn(i) ? i : [], c && n ? _e(c) : []);
1289
+ }
1290
+ return e.concat(i, _e(i, [], n));
1291
+ }
1292
+ function Ct(t) {
1293
+ return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
1294
+ }
1295
+ function Ii(t) {
1296
+ const e = Vt(t);
1297
+ let n = parseFloat(e.width) || 0, r = parseFloat(e.height) || 0;
1298
+ const i = Nt(t), a = i ? t.offsetWidth : n, o = i ? t.offsetHeight : r, c = Qe(n) !== a || Qe(r) !== o;
1299
+ return c && (n = a, r = o), {
1300
+ width: n,
1301
+ height: r,
1302
+ $: c
1303
+ };
1304
+ }
1305
+ function Wt(t) {
1306
+ return bi(t) ? t : t.contextElement;
1307
+ }
1308
+ function qt(t) {
1309
+ const e = Wt(t);
1310
+ if (!Nt(e))
1311
+ return $e(1);
1312
+ const n = e.getBoundingClientRect(), {
1313
+ width: r,
1314
+ height: i,
1315
+ $: a
1316
+ } = Ii(e);
1317
+ let o = (a ? Qe(n.width) : n.width) / r, c = (a ? Qe(n.height) : n.height) / i;
1318
+ return (!o || !Number.isFinite(o)) && (o = 1), (!c || !Number.isFinite(c)) && (c = 1), {
1319
+ x: o,
1320
+ y: c
1321
+ };
1322
+ }
1323
+ const hi = /* @__PURE__ */ $e(0);
1324
+ function Ci(t) {
1325
+ const e = le(t);
1326
+ return !vi() || !e.visualViewport ? hi : {
1327
+ x: e.visualViewport.offsetLeft,
1328
+ y: e.visualViewport.offsetTop
1329
+ };
1330
+ }
1331
+ function yi(t, e, n) {
1332
+ return !1;
1333
+ }
1334
+ function en(t, e, n, r) {
1335
+ e === void 0 && (e = !1);
1336
+ const i = t.getBoundingClientRect(), a = Wt(t);
1337
+ let o = $e(1);
1338
+ e && (o = qt(t));
1339
+ const c = yi() ? Ci(a) : $e(0);
1340
+ let u = (i.left + c.x) / o.x, s = (i.top + c.y) / o.y, l = i.width / o.x, f = i.height / o.y;
1341
+ if (a) {
1342
+ const p = le(a), y = r;
1343
+ let A = p, v = Ct(A);
1344
+ for (; v && r && y !== A; ) {
1345
+ const h = qt(v), b = v.getBoundingClientRect(), S = Vt(v), x = b.left + (v.clientLeft + parseFloat(S.paddingLeft)) * h.x, P = b.top + (v.clientTop + parseFloat(S.paddingTop)) * h.y;
1346
+ u *= h.x, s *= h.y, l *= h.x, f *= h.y, u += x, s += P, A = le(v), v = Ct(A);
1347
+ }
1348
+ }
1349
+ return fi({
1350
+ width: l,
1351
+ height: f,
1352
+ x: u,
1353
+ y: s
1354
+ });
1355
+ }
1356
+ function wn(t, e) {
1357
+ return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
1358
+ }
1359
+ function xi(t, e) {
1360
+ let n = null, r;
1361
+ const i = Pn(t);
1362
+ function a() {
1363
+ var c;
1364
+ clearTimeout(r), (c = n) == null || c.disconnect(), n = null;
1365
+ }
1366
+ function o(c, u) {
1367
+ c === void 0 && (c = !1), u === void 0 && (u = 1), a();
1368
+ const s = t.getBoundingClientRect(), {
1369
+ left: l,
1370
+ top: f,
1371
+ width: p,
1372
+ height: y
1373
+ } = s;
1374
+ if (c || e(), !p || !y)
1375
+ return;
1376
+ const A = Je(f), v = Je(i.clientWidth - (l + p)), h = Je(i.clientHeight - (f + y)), b = Je(l), x = {
1377
+ rootMargin: -A + "px " + -v + "px " + -h + "px " + -b + "px",
1378
+ threshold: gi(0, di(1, u)) || 1
1379
+ };
1380
+ let P = !0;
1381
+ function d(E) {
1382
+ const C = E[0].intersectionRatio;
1383
+ if (C !== u) {
1384
+ if (!P)
1385
+ return o();
1386
+ C ? o(!1, C) : r = setTimeout(() => {
1387
+ o(!1, 1e-7);
1388
+ }, 1e3);
1389
+ }
1390
+ C === 1 && !wn(s, t.getBoundingClientRect()) && o(), P = !1;
1391
+ }
1392
+ try {
1393
+ n = new IntersectionObserver(d, {
1394
+ ...x,
1395
+ // Handle <iframe>s
1396
+ root: i.ownerDocument
1397
+ });
1398
+ } catch {
1399
+ n = new IntersectionObserver(d, x);
1400
+ }
1401
+ n.observe(t);
1402
+ }
1403
+ return o(!0), a;
1404
+ }
1405
+ function Ai(t, e, n, r) {
1406
+ r === void 0 && (r = {});
1407
+ const {
1408
+ ancestorScroll: i = !0,
1409
+ ancestorResize: a = !0,
1410
+ elementResize: o = typeof ResizeObserver == "function",
1411
+ layoutShift: c = typeof IntersectionObserver == "function",
1412
+ animationFrame: u = !1
1413
+ } = r, s = Wt(t), l = i || a ? [...s ? _e(s) : [], ..._e(e)] : [];
1414
+ l.forEach((b) => {
1415
+ i && b.addEventListener("scroll", n, {
1416
+ passive: !0
1417
+ }), a && b.addEventListener("resize", n);
1418
+ });
1419
+ const f = s && c ? xi(s, n) : null;
1420
+ let p = -1, y = null;
1421
+ o && (y = new ResizeObserver((b) => {
1422
+ let [S] = b;
1423
+ S && S.target === s && y && (y.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
1424
+ var x;
1425
+ (x = y) == null || x.observe(e);
1426
+ })), n();
1427
+ }), s && !u && y.observe(s), y.observe(e));
1428
+ let A, v = u ? en(t) : null;
1429
+ u && h();
1430
+ function h() {
1431
+ const b = en(t);
1432
+ v && !wn(v, b) && n(), v = b, A = requestAnimationFrame(h);
1433
+ }
1434
+ return n(), () => {
1435
+ var b;
1436
+ l.forEach((S) => {
1437
+ i && S.removeEventListener("scroll", n), a && S.removeEventListener("resize", n);
1438
+ }), f == null || f(), (b = y) == null || b.disconnect(), y = null, u && cancelAnimationFrame(A);
1439
+ };
1440
+ }
1441
+ var yt = Un, Gi = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"], xt = function() {
1442
+ };
1443
+ function Ri(t, e) {
1444
+ return e ? e[0] === "-" ? t + e : t + "__" + e : t;
1445
+ }
1446
+ function co(t, e) {
1447
+ for (var n = arguments.length, r = new Array(n > 2 ? n - 2 : 0), i = 2; i < n; i++)
1448
+ r[i - 2] = arguments[i];
1449
+ var a = [].concat(r);
1450
+ if (e && t)
1451
+ for (var o in e)
1452
+ e.hasOwnProperty(o) && e[o] && a.push("".concat(Ri(t, o)));
1453
+ return a.filter(function(c) {
1454
+ return c;
1455
+ }).map(function(c) {
1456
+ return String(c).trim();
1457
+ }).join(" ");
1458
+ }
1459
+ var uo = function(e) {
1460
+ return Ei(e) ? e.filter(Boolean) : Ae(e) === "object" && e !== null ? [e] : [];
1461
+ }, En = function(e) {
1462
+ e.className, e.clearValue, e.cx, e.getStyles, e.getClassNames, e.getValue, e.hasValue, e.isMulti, e.isRtl, e.options, e.selectOption, e.selectProps, e.setValue, e.theme;
1463
+ var n = ee(e, Gi);
1464
+ return G({}, n);
1465
+ }, F = function(e, n, r) {
1466
+ var i = e.cx, a = e.getStyles, o = e.getClassNames, c = e.className;
1467
+ return {
1468
+ css: a(n, e),
1469
+ className: i(r ?? {}, o(n, e), c)
1470
+ };
1471
+ };
1472
+ function Ht(t) {
1473
+ return [document.documentElement, document.body, window].indexOf(t) > -1;
1474
+ }
1475
+ function Pi(t) {
1476
+ return Ht(t) ? window.innerHeight : t.clientHeight;
1477
+ }
1478
+ function Xn(t) {
1479
+ return Ht(t) ? window.pageYOffset : t.scrollTop;
1480
+ }
1481
+ function Ke(t, e) {
1482
+ if (Ht(t)) {
1483
+ window.scrollTo(0, e);
1484
+ return;
1485
+ }
1486
+ t.scrollTop = e;
1487
+ }
1488
+ function Si(t) {
1489
+ var e = getComputedStyle(t), n = e.position === "absolute", r = /(auto|scroll)/;
1490
+ if (e.position === "fixed") return document.documentElement;
1491
+ for (var i = t; i = i.parentElement; )
1492
+ if (e = getComputedStyle(i), !(n && e.position === "static") && r.test(e.overflow + e.overflowY + e.overflowX))
1493
+ return i;
1494
+ return document.documentElement;
1495
+ }
1496
+ function Ti(t, e, n, r) {
1497
+ return n * ((t = t / r - 1) * t * t + 1) + e;
1498
+ }
1499
+ function Oe(t, e) {
1500
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200, r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : xt, i = Xn(t), a = e - i, o = 10, c = 0;
1501
+ function u() {
1502
+ c += o;
1503
+ var s = Ti(c, i, a, n);
1504
+ Ke(t, s), c < n ? window.requestAnimationFrame(u) : r(t);
1505
+ }
1506
+ u();
1507
+ }
1508
+ function so(t, e) {
1509
+ var n = t.getBoundingClientRect(), r = e.getBoundingClientRect(), i = e.offsetHeight / 3;
1510
+ r.bottom + i > n.bottom ? Ke(t, Math.min(e.offsetTop + e.clientHeight - t.offsetHeight + i, t.scrollHeight)) : r.top - i < n.top && Ke(t, Math.max(e.offsetTop - i, 0));
1511
+ }
1512
+ function Bi(t) {
1513
+ var e = t.getBoundingClientRect();
1514
+ return {
1515
+ bottom: e.bottom,
1516
+ height: e.height,
1517
+ left: e.left,
1518
+ right: e.right,
1519
+ top: e.top,
1520
+ width: e.width
1521
+ };
1522
+ }
1523
+ function lo() {
1524
+ try {
1525
+ return document.createEvent("TouchEvent"), !0;
1526
+ } catch {
1527
+ return !1;
1528
+ }
1529
+ }
1530
+ function go() {
1531
+ try {
1532
+ return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
1533
+ } catch {
1534
+ return !1;
1535
+ }
1536
+ }
1537
+ var Nn = !1, wi = {
1538
+ get passive() {
1539
+ return Nn = !0;
1540
+ }
1541
+ }, ze = typeof window < "u" ? window : {};
1542
+ ze.addEventListener && ze.removeEventListener && (ze.addEventListener("p", xt, wi), ze.removeEventListener("p", xt, !1));
1543
+ var fo = Nn;
1544
+ function bo(t) {
1545
+ return t != null;
1546
+ }
1547
+ function Ei(t) {
1548
+ return Array.isArray(t);
1549
+ }
1550
+ function vo(t, e, n) {
1551
+ return t ? e : n;
1552
+ }
1553
+ function mo(t) {
1554
+ return t;
1555
+ }
1556
+ function po(t) {
1557
+ return t;
1558
+ }
1559
+ var Io = function(e) {
1560
+ for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
1561
+ r[i - 1] = arguments[i];
1562
+ var a = Object.entries(e).filter(function(o) {
1563
+ var c = se(o, 1), u = c[0];
1564
+ return !r.includes(u);
1565
+ });
1566
+ return a.reduce(function(o, c) {
1567
+ var u = se(c, 2), s = u[0], l = u[1];
1568
+ return o[s] = l, o;
1569
+ }, {});
1570
+ }, Xi = ["children", "innerProps"], Ni = ["children", "innerProps"];
1571
+ function Vi(t) {
1572
+ var e = t.maxHeight, n = t.menuEl, r = t.minHeight, i = t.placement, a = t.shouldScroll, o = t.isFixedPosition, c = t.controlHeight, u = Si(n), s = {
1573
+ placement: "bottom",
1574
+ maxHeight: e
1575
+ };
1576
+ if (!n || !n.offsetParent) return s;
1577
+ var l = u.getBoundingClientRect(), f = l.height, p = n.getBoundingClientRect(), y = p.bottom, A = p.height, v = p.top, h = n.offsetParent.getBoundingClientRect(), b = h.top, S = o ? window.innerHeight : Pi(u), x = Xn(u), P = parseInt(getComputedStyle(n).marginBottom, 10), d = parseInt(getComputedStyle(n).marginTop, 10), E = b - d, C = S - v, Q = E + x, te = f - x - v, ge = y - S + x + P, fe = x + v - d, de = 160;
1578
+ switch (i) {
1579
+ case "auto":
1580
+ case "bottom":
1581
+ if (C >= A)
1582
+ return {
1583
+ placement: "bottom",
1584
+ maxHeight: e
1585
+ };
1586
+ if (te >= A && !o)
1587
+ return a && Oe(u, ge, de), {
1588
+ placement: "bottom",
1589
+ maxHeight: e
1590
+ };
1591
+ if (!o && te >= r || o && C >= r) {
1592
+ a && Oe(u, ge, de);
1593
+ var Pe = o ? C - P : te - P;
1594
+ return {
1595
+ placement: "bottom",
1596
+ maxHeight: Pe
1597
+ };
1598
+ }
1599
+ if (i === "auto" || o) {
1600
+ var ce = e, he = o ? E : Q;
1601
+ return he >= r && (ce = Math.min(he - P - c, e)), {
1602
+ placement: "top",
1603
+ maxHeight: ce
1604
+ };
1605
+ }
1606
+ if (i === "bottom")
1607
+ return a && Ke(u, ge), {
1608
+ placement: "bottom",
1609
+ maxHeight: e
1610
+ };
1611
+ break;
1612
+ case "top":
1613
+ if (E >= A)
1614
+ return {
1615
+ placement: "top",
1616
+ maxHeight: e
1617
+ };
1618
+ if (Q >= A && !o)
1619
+ return a && Oe(u, fe, de), {
1620
+ placement: "top",
1621
+ maxHeight: e
1622
+ };
1623
+ if (!o && Q >= r || o && E >= r) {
1624
+ var K = e;
1625
+ return (!o && Q >= r || o && E >= r) && (K = o ? E - d : Q - d), a && Oe(u, fe, de), {
1626
+ placement: "top",
1627
+ maxHeight: K
1628
+ };
1629
+ }
1630
+ return {
1631
+ placement: "bottom",
1632
+ maxHeight: e
1633
+ };
1634
+ default:
1635
+ throw new Error('Invalid placement provided "'.concat(i, '".'));
1636
+ }
1637
+ return s;
1638
+ }
1639
+ function Wi(t) {
1640
+ var e = {
1641
+ bottom: "top",
1642
+ top: "bottom"
1643
+ };
1644
+ return t ? e[t] : "bottom";
1645
+ }
1646
+ var Vn = function(e) {
1647
+ return e === "auto" ? "bottom" : e;
1648
+ }, ho = function(e, n) {
1649
+ var r, i = e.placement, a = e.theme, o = a.borderRadius, c = a.spacing, u = a.colors;
1650
+ return G((r = {
1651
+ label: "menu"
1652
+ }, Te(r, Wi(i), "100%"), Te(r, "position", "absolute"), Te(r, "width", "100%"), Te(r, "zIndex", 1), r), n ? {} : {
1653
+ backgroundColor: u.neutral0,
1654
+ borderRadius: o,
1655
+ boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",
1656
+ marginBottom: c.menuGutter,
1657
+ marginTop: c.menuGutter
1658
+ });
1659
+ }, Wn = /* @__PURE__ */ $n(null), Co = function(e) {
1660
+ var n = e.children, r = e.minMenuHeight, i = e.maxMenuHeight, a = e.menuPlacement, o = e.menuPosition, c = e.menuShouldScrollIntoView, u = e.theme, s = ln(Wn) || {}, l = s.setPortalPlacement, f = we(null), p = Ie(i), y = se(p, 2), A = y[0], v = y[1], h = Ie(null), b = se(h, 2), S = b[0], x = b[1], P = u.spacing.controlHeight;
1661
+ return yt(function() {
1662
+ var d = f.current;
1663
+ if (d) {
1664
+ var E = o === "fixed", C = c && !E, Q = Vi({
1665
+ maxHeight: i,
1666
+ menuEl: d,
1667
+ minHeight: r,
1668
+ placement: a,
1669
+ shouldScroll: C,
1670
+ isFixedPosition: E,
1671
+ controlHeight: P
1672
+ });
1673
+ v(Q.maxHeight), x(Q.placement), l == null || l(Q.placement);
1674
+ }
1675
+ }, [i, a, o, c, r, l, P]), n({
1676
+ ref: f,
1677
+ placerProps: G(G({}, e), {}, {
1678
+ placement: S || Vn(a),
1679
+ maxHeight: A
1680
+ })
1681
+ });
1682
+ }, Hi = function(e) {
1683
+ var n = e.children, r = e.innerRef, i = e.innerProps;
1684
+ return T("div", W({}, F(e, "menu", {
1685
+ menu: !0
1686
+ }), {
1687
+ ref: r
1688
+ }, i), n);
1689
+ }, Zi = Hi, yo = function(e, n) {
1690
+ var r = e.maxHeight, i = e.theme.spacing.baseUnit;
1691
+ return G({
1692
+ maxHeight: r,
1693
+ overflowY: "auto",
1694
+ position: "relative",
1695
+ // required for offset[Height, Top] > keyboard scroll
1696
+ WebkitOverflowScrolling: "touch"
1697
+ }, n ? {} : {
1698
+ paddingBottom: i,
1699
+ paddingTop: i
1700
+ });
1701
+ }, Mi = function(e) {
1702
+ var n = e.children, r = e.innerProps, i = e.innerRef, a = e.isMulti;
1703
+ return T("div", W({}, F(e, "menuList", {
1704
+ "menu-list": !0,
1705
+ "menu-list--is-multi": a
1706
+ }), {
1707
+ ref: i
1708
+ }, r), n);
1709
+ }, Hn = function(e, n) {
1710
+ var r = e.theme, i = r.spacing.baseUnit, a = r.colors;
1711
+ return G({
1712
+ textAlign: "center"
1713
+ }, n ? {} : {
1714
+ color: a.neutral40,
1715
+ padding: "".concat(i * 2, "px ").concat(i * 3, "px")
1716
+ });
1717
+ }, xo = Hn, Ao = Hn, Yi = function(e) {
1718
+ var n = e.children, r = n === void 0 ? "No options" : n, i = e.innerProps, a = ee(e, Xi);
1719
+ return T("div", W({}, F(G(G({}, a), {}, {
1720
+ children: r,
1721
+ innerProps: i
1722
+ }), "noOptionsMessage", {
1723
+ "menu-notice": !0,
1724
+ "menu-notice--no-options": !0
1725
+ }), i), r);
1726
+ }, Ji = function(e) {
1727
+ var n = e.children, r = n === void 0 ? "Loading..." : n, i = e.innerProps, a = ee(e, Ni);
1728
+ return T("div", W({}, F(G(G({}, a), {}, {
1729
+ children: r,
1730
+ innerProps: i
1731
+ }), "loadingMessage", {
1732
+ "menu-notice": !0,
1733
+ "menu-notice--loading": !0
1734
+ }), i), r);
1735
+ }, Go = function(e) {
1736
+ var n = e.rect, r = e.offset, i = e.position;
1737
+ return {
1738
+ left: n.left,
1739
+ position: i,
1740
+ top: r,
1741
+ width: n.width,
1742
+ zIndex: 1
1743
+ };
1744
+ }, Oi = function(e) {
1745
+ var n = e.appendTo, r = e.children, i = e.controlElement, a = e.innerProps, o = e.menuPlacement, c = e.menuPosition, u = we(null), s = we(null), l = Ie(Vn(o)), f = se(l, 2), p = f[0], y = f[1], A = Qn(function() {
1746
+ return {
1747
+ setPortalPlacement: y
1748
+ };
1749
+ }, []), v = Ie(null), h = se(v, 2), b = h[0], S = h[1], x = ot(function() {
1750
+ if (i) {
1751
+ var C = Bi(i), Q = c === "fixed" ? 0 : window.pageYOffset, te = C[p] + Q;
1752
+ (te !== (b == null ? void 0 : b.offset) || C.left !== (b == null ? void 0 : b.rect.left) || C.width !== (b == null ? void 0 : b.rect.width)) && S({
1753
+ offset: te,
1754
+ rect: C
1755
+ });
1756
+ }
1757
+ }, [i, c, p, b == null ? void 0 : b.offset, b == null ? void 0 : b.rect.left, b == null ? void 0 : b.rect.width]);
1758
+ yt(function() {
1759
+ x();
1760
+ }, [x]);
1761
+ var P = ot(function() {
1762
+ typeof s.current == "function" && (s.current(), s.current = null), i && u.current && (s.current = Ai(i, u.current, x, {
1763
+ elementResize: "ResizeObserver" in window
1764
+ }));
1765
+ }, [i, x]);
1766
+ yt(function() {
1767
+ P();
1768
+ }, [P]);
1769
+ var d = ot(function(C) {
1770
+ u.current = C, P();
1771
+ }, [P]);
1772
+ if (!n && c !== "fixed" || !b) return null;
1773
+ var E = T("div", W({
1774
+ ref: d
1775
+ }, F(G(G({}, e), {}, {
1776
+ offset: b.offset,
1777
+ position: c,
1778
+ rect: b.rect
1779
+ }), "menuPortal", {
1780
+ "menu-portal": !0
1781
+ }), a), r);
1782
+ return T(Wn.Provider, {
1783
+ value: A
1784
+ }, n ? /* @__PURE__ */ Kn(E, n) : E);
1785
+ }, Ro = function(e) {
1786
+ var n = e.isDisabled, r = e.isRtl;
1787
+ return {
1788
+ label: "container",
1789
+ direction: r ? "rtl" : void 0,
1790
+ pointerEvents: n ? "none" : void 0,
1791
+ // cancel mouse events when disabled
1792
+ position: "relative"
1793
+ };
1794
+ }, zi = function(e) {
1795
+ var n = e.children, r = e.innerProps, i = e.isDisabled, a = e.isRtl;
1796
+ return T("div", W({}, F(e, "container", {
1797
+ "--is-disabled": i,
1798
+ "--is-rtl": a
1799
+ }), r), n);
1800
+ }, Po = function(e, n) {
1801
+ var r = e.theme.spacing, i = e.isMulti, a = e.hasValue, o = e.selectProps.controlShouldRenderValue;
1802
+ return G({
1803
+ alignItems: "center",
1804
+ display: i && a && o ? "flex" : "grid",
1805
+ flex: 1,
1806
+ flexWrap: "wrap",
1807
+ WebkitOverflowScrolling: "touch",
1808
+ position: "relative",
1809
+ overflow: "hidden"
1810
+ }, n ? {} : {
1811
+ padding: "".concat(r.baseUnit / 2, "px ").concat(r.baseUnit * 2, "px")
1812
+ });
1813
+ }, Li = function(e) {
1814
+ var n = e.children, r = e.innerProps, i = e.isMulti, a = e.hasValue;
1815
+ return T("div", W({}, F(e, "valueContainer", {
1816
+ "value-container": !0,
1817
+ "value-container--is-multi": i,
1818
+ "value-container--has-value": a
1819
+ }), r), n);
1820
+ }, So = function() {
1821
+ return {
1822
+ alignItems: "center",
1823
+ alignSelf: "stretch",
1824
+ display: "flex",
1825
+ flexShrink: 0
1826
+ };
1827
+ }, ji = function(e) {
1828
+ var n = e.children, r = e.innerProps;
1829
+ return T("div", W({}, F(e, "indicatorsContainer", {
1830
+ indicators: !0
1831
+ }), r), n);
1832
+ }, tn, Fi = ["size"], Di = ["innerProps", "isRtl", "size"];
1833
+ function ki() {
1834
+ return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
1835
+ }
1836
+ var Ui = process.env.NODE_ENV === "production" ? {
1837
+ name: "8mmkcg",
1838
+ styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"
1839
+ } : {
1840
+ name: "tj5bde-Svg",
1841
+ styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
1842
+ map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3Vy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UsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",
1843
+ toString: ki
1844
+ }, Zn = function(e) {
1845
+ var n = e.size, r = ee(e, Fi);
1846
+ return T("svg", W({
1847
+ height: n,
1848
+ width: n,
1849
+ viewBox: "0 0 20 20",
1850
+ "aria-hidden": "true",
1851
+ focusable: "false",
1852
+ css: Ui
1853
+ }, r));
1854
+ }, Zt = function(e) {
1855
+ return T(Zn, W({
1856
+ size: 20
1857
+ }, e), T("path", {
1858
+ d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
1859
+ }));
1860
+ }, Mn = function(e) {
1861
+ return T(Zn, W({
1862
+ size: 20
1863
+ }, e), T("path", {
1864
+ d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
1865
+ }));
1866
+ }, Yn = function(e, n) {
1867
+ var r = e.isFocused, i = e.theme, a = i.spacing.baseUnit, o = i.colors;
1868
+ return G({
1869
+ label: "indicatorContainer",
1870
+ display: "flex",
1871
+ transition: "color 150ms"
1872
+ }, n ? {} : {
1873
+ color: r ? o.neutral60 : o.neutral20,
1874
+ padding: a * 2,
1875
+ ":hover": {
1876
+ color: r ? o.neutral80 : o.neutral40
1877
+ }
1878
+ });
1879
+ }, To = Yn, Qi = function(e) {
1880
+ var n = e.children, r = e.innerProps;
1881
+ return T("div", W({}, F(e, "dropdownIndicator", {
1882
+ indicator: !0,
1883
+ "dropdown-indicator": !0
1884
+ }), r), n || T(Mn, null));
1885
+ }, Bo = Yn, $i = function(e) {
1886
+ var n = e.children, r = e.innerProps;
1887
+ return T("div", W({}, F(e, "clearIndicator", {
1888
+ indicator: !0,
1889
+ "clear-indicator": !0
1890
+ }), r), n || T(Zt, null));
1891
+ }, wo = function(e, n) {
1892
+ var r = e.isDisabled, i = e.theme, a = i.spacing.baseUnit, o = i.colors;
1893
+ return G({
1894
+ label: "indicatorSeparator",
1895
+ alignSelf: "stretch",
1896
+ width: 1
1897
+ }, n ? {} : {
1898
+ backgroundColor: r ? o.neutral10 : o.neutral20,
1899
+ marginBottom: a * 2,
1900
+ marginTop: a * 2
1901
+ });
1902
+ }, _i = function(e) {
1903
+ var n = e.innerProps;
1904
+ return T("span", W({}, n, F(e, "indicatorSeparator", {
1905
+ "indicator-separator": !0
1906
+ })));
1907
+ }, Ki = ai(tn || (tn = li([`
1908
+ 0%, 80%, 100% { opacity: 0; }
1909
+ 40% { opacity: 1; }
1910
+ `]))), Eo = function(e, n) {
1911
+ var r = e.isFocused, i = e.size, a = e.theme, o = a.colors, c = a.spacing.baseUnit;
1912
+ return G({
1913
+ label: "loadingIndicator",
1914
+ display: "flex",
1915
+ transition: "color 150ms",
1916
+ alignSelf: "center",
1917
+ fontSize: i,
1918
+ lineHeight: 1,
1919
+ marginRight: i,
1920
+ textAlign: "center",
1921
+ verticalAlign: "middle"
1922
+ }, n ? {} : {
1923
+ color: r ? o.neutral60 : o.neutral20,
1924
+ padding: c * 2
1925
+ });
1926
+ }, ut = function(e) {
1927
+ var n = e.delay, r = e.offset;
1928
+ return T("span", {
1929
+ css: /* @__PURE__ */ Gn({
1930
+ animation: "".concat(Ki, " 1s ease-in-out ").concat(n, "ms infinite;"),
1931
+ backgroundColor: "currentColor",
1932
+ borderRadius: "1em",
1933
+ display: "inline-block",
1934
+ marginLeft: r ? "1em" : void 0,
1935
+ height: "1em",
1936
+ verticalAlign: "top",
1937
+ width: "1em"
1938
+ }, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcg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pbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")
1939
+ });
1940
+ }, qi = function(e) {
1941
+ var n = e.innerProps, r = e.isRtl, i = e.size, a = i === void 0 ? 4 : i, o = ee(e, Di);
1942
+ return T("div", W({}, F(G(G({}, o), {}, {
1943
+ innerProps: n,
1944
+ isRtl: r,
1945
+ size: a
1946
+ }), "loadingIndicator", {
1947
+ indicator: !0,
1948
+ "loading-indicator": !0
1949
+ }), n), T(ut, {
1950
+ delay: 0,
1951
+ offset: r
1952
+ }), T(ut, {
1953
+ delay: 160,
1954
+ offset: !0
1955
+ }), T(ut, {
1956
+ delay: 320,
1957
+ offset: !r
1958
+ }));
1959
+ }, Xo = function(e, n) {
1960
+ var r = e.isDisabled, i = e.isFocused, a = e.theme, o = a.colors, c = a.borderRadius, u = a.spacing;
1961
+ return G({
1962
+ label: "control",
1963
+ alignItems: "center",
1964
+ cursor: "default",
1965
+ display: "flex",
1966
+ flexWrap: "wrap",
1967
+ justifyContent: "space-between",
1968
+ minHeight: u.controlHeight,
1969
+ outline: "0 !important",
1970
+ position: "relative",
1971
+ transition: "all 100ms"
1972
+ }, n ? {} : {
1973
+ backgroundColor: r ? o.neutral5 : o.neutral0,
1974
+ borderColor: r ? o.neutral10 : i ? o.primary : o.neutral20,
1975
+ borderRadius: c,
1976
+ borderStyle: "solid",
1977
+ borderWidth: 1,
1978
+ boxShadow: i ? "0 0 0 1px ".concat(o.primary) : void 0,
1979
+ "&:hover": {
1980
+ borderColor: i ? o.primary : o.neutral30
1981
+ }
1982
+ });
1983
+ }, ea = function(e) {
1984
+ var n = e.children, r = e.isDisabled, i = e.isFocused, a = e.innerRef, o = e.innerProps, c = e.menuIsOpen;
1985
+ return T("div", W({
1986
+ ref: a
1987
+ }, F(e, "control", {
1988
+ control: !0,
1989
+ "control--is-disabled": r,
1990
+ "control--is-focused": i,
1991
+ "control--menu-is-open": c
1992
+ }), o, {
1993
+ "aria-disabled": r || void 0
1994
+ }), n);
1995
+ }, ta = ea, na = ["data"], No = function(e, n) {
1996
+ var r = e.theme.spacing;
1997
+ return n ? {} : {
1998
+ paddingBottom: r.baseUnit * 2,
1999
+ paddingTop: r.baseUnit * 2
2000
+ };
2001
+ }, ra = function(e) {
2002
+ var n = e.children, r = e.cx, i = e.getStyles, a = e.getClassNames, o = e.Heading, c = e.headingProps, u = e.innerProps, s = e.label, l = e.theme, f = e.selectProps;
2003
+ return T("div", W({}, F(e, "group", {
2004
+ group: !0
2005
+ }), u), T(o, W({}, c, {
2006
+ selectProps: f,
2007
+ theme: l,
2008
+ getStyles: i,
2009
+ getClassNames: a,
2010
+ cx: r
2011
+ }), s), T("div", null, n));
2012
+ }, Vo = function(e, n) {
2013
+ var r = e.theme, i = r.colors, a = r.spacing;
2014
+ return G({
2015
+ label: "group",
2016
+ cursor: "default",
2017
+ display: "block"
2018
+ }, n ? {} : {
2019
+ color: i.neutral40,
2020
+ fontSize: "75%",
2021
+ fontWeight: 500,
2022
+ marginBottom: "0.25em",
2023
+ paddingLeft: a.baseUnit * 3,
2024
+ paddingRight: a.baseUnit * 3,
2025
+ textTransform: "uppercase"
2026
+ });
2027
+ }, ia = function(e) {
2028
+ var n = En(e);
2029
+ n.data;
2030
+ var r = ee(n, na);
2031
+ return T("div", W({}, F(e, "groupHeading", {
2032
+ "group-heading": !0
2033
+ }), r));
2034
+ }, aa = ra, oa = ["innerRef", "isDisabled", "isHidden", "inputClassName"], Wo = function(e, n) {
2035
+ var r = e.isDisabled, i = e.value, a = e.theme, o = a.spacing, c = a.colors;
2036
+ return G(G({
2037
+ visibility: r ? "hidden" : "visible",
2038
+ // force css to recompute when value change due to @emotion bug.
2039
+ // We can remove it whenever the bug is fixed.
2040
+ transform: i ? "translateZ(0)" : ""
2041
+ }, ca), n ? {} : {
2042
+ margin: o.baseUnit / 2,
2043
+ paddingBottom: o.baseUnit / 2,
2044
+ paddingTop: o.baseUnit / 2,
2045
+ color: c.neutral80
2046
+ });
2047
+ }, Jn = {
2048
+ gridArea: "1 / 2",
2049
+ font: "inherit",
2050
+ minWidth: "2px",
2051
+ border: 0,
2052
+ margin: 0,
2053
+ outline: 0,
2054
+ padding: 0
2055
+ }, ca = {
2056
+ flex: "1 1 auto",
2057
+ display: "inline-grid",
2058
+ gridArea: "1 / 1 / 2 / 3",
2059
+ gridTemplateColumns: "0 min-content",
2060
+ "&:after": G({
2061
+ content: 'attr(data-value) " "',
2062
+ visibility: "hidden",
2063
+ whiteSpace: "pre"
2064
+ }, Jn)
2065
+ }, ua = function(e) {
2066
+ return G({
2067
+ label: "input",
2068
+ color: "inherit",
2069
+ background: 0,
2070
+ opacity: e ? 0 : 1,
2071
+ width: "100%"
2072
+ }, Jn);
2073
+ }, sa = function(e) {
2074
+ var n = e.cx, r = e.value, i = En(e), a = i.innerRef, o = i.isDisabled, c = i.isHidden, u = i.inputClassName, s = ee(i, oa);
2075
+ return T("div", W({}, F(e, "input", {
2076
+ "input-container": !0
2077
+ }), {
2078
+ "data-value": r || ""
2079
+ }), T("input", W({
2080
+ className: n({
2081
+ input: !0
2082
+ }, u),
2083
+ ref: a,
2084
+ style: ua(c),
2085
+ disabled: o
2086
+ }, s)));
2087
+ }, la = sa, Ho = function(e, n) {
2088
+ var r = e.theme, i = r.spacing, a = r.borderRadius, o = r.colors;
2089
+ return G({
2090
+ label: "multiValue",
2091
+ display: "flex",
2092
+ minWidth: 0
2093
+ }, n ? {} : {
2094
+ backgroundColor: o.neutral10,
2095
+ borderRadius: a / 2,
2096
+ margin: i.baseUnit / 2
2097
+ });
2098
+ }, Zo = function(e, n) {
2099
+ var r = e.theme, i = r.borderRadius, a = r.colors, o = e.cropWithEllipsis;
2100
+ return G({
2101
+ overflow: "hidden",
2102
+ textOverflow: o || o === void 0 ? "ellipsis" : void 0,
2103
+ whiteSpace: "nowrap"
2104
+ }, n ? {} : {
2105
+ borderRadius: i / 2,
2106
+ color: a.neutral80,
2107
+ fontSize: "85%",
2108
+ padding: 3,
2109
+ paddingLeft: 6
2110
+ });
2111
+ }, Mo = function(e, n) {
2112
+ var r = e.theme, i = r.spacing, a = r.borderRadius, o = r.colors, c = e.isFocused;
2113
+ return G({
2114
+ alignItems: "center",
2115
+ display: "flex"
2116
+ }, n ? {} : {
2117
+ borderRadius: a / 2,
2118
+ backgroundColor: c ? o.dangerLight : void 0,
2119
+ paddingLeft: i.baseUnit,
2120
+ paddingRight: i.baseUnit,
2121
+ ":hover": {
2122
+ backgroundColor: o.dangerLight,
2123
+ color: o.danger
2124
+ }
2125
+ });
2126
+ }, On = function(e) {
2127
+ var n = e.children, r = e.innerProps;
2128
+ return T("div", r, n);
2129
+ }, da = On, ga = On;
2130
+ function fa(t) {
2131
+ var e = t.children, n = t.innerProps;
2132
+ return T("div", W({
2133
+ role: "button"
2134
+ }, n), e || T(Zt, {
2135
+ size: 14
2136
+ }));
2137
+ }
2138
+ var ba = function(e) {
2139
+ var n = e.children, r = e.components, i = e.data, a = e.innerProps, o = e.isDisabled, c = e.removeProps, u = e.selectProps, s = r.Container, l = r.Label, f = r.Remove;
2140
+ return T(s, {
2141
+ data: i,
2142
+ innerProps: G(G({}, F(e, "multiValue", {
2143
+ "multi-value": !0,
2144
+ "multi-value--is-disabled": o
2145
+ })), a),
2146
+ selectProps: u
2147
+ }, T(l, {
2148
+ data: i,
2149
+ innerProps: G({}, F(e, "multiValueLabel", {
2150
+ "multi-value__label": !0
2151
+ })),
2152
+ selectProps: u
2153
+ }, n), T(f, {
2154
+ data: i,
2155
+ innerProps: G(G({}, F(e, "multiValueRemove", {
2156
+ "multi-value__remove": !0
2157
+ })), {}, {
2158
+ "aria-label": "Remove ".concat(n || "option")
2159
+ }, c),
2160
+ selectProps: u
2161
+ }));
2162
+ }, va = ba, Yo = function(e, n) {
2163
+ var r = e.isDisabled, i = e.isFocused, a = e.isSelected, o = e.theme, c = o.spacing, u = o.colors;
2164
+ return G({
2165
+ label: "option",
2166
+ cursor: "default",
2167
+ display: "block",
2168
+ fontSize: "inherit",
2169
+ width: "100%",
2170
+ userSelect: "none",
2171
+ WebkitTapHighlightColor: "rgba(0, 0, 0, 0)"
2172
+ }, n ? {} : {
2173
+ backgroundColor: a ? u.primary : i ? u.primary25 : "transparent",
2174
+ color: r ? u.neutral20 : a ? u.neutral0 : "inherit",
2175
+ padding: "".concat(c.baseUnit * 2, "px ").concat(c.baseUnit * 3, "px"),
2176
+ // provide some affordance on touch devices
2177
+ ":active": {
2178
+ backgroundColor: r ? void 0 : a ? u.primary : u.primary50
2179
+ }
2180
+ });
2181
+ }, ma = function(e) {
2182
+ var n = e.children, r = e.isDisabled, i = e.isFocused, a = e.isSelected, o = e.innerRef, c = e.innerProps;
2183
+ return T("div", W({}, F(e, "option", {
2184
+ option: !0,
2185
+ "option--is-disabled": r,
2186
+ "option--is-focused": i,
2187
+ "option--is-selected": a
2188
+ }), {
2189
+ ref: o,
2190
+ "aria-disabled": r
2191
+ }, c), n);
2192
+ }, pa = ma, Jo = function(e, n) {
2193
+ var r = e.theme, i = r.spacing, a = r.colors;
2194
+ return G({
2195
+ label: "placeholder",
2196
+ gridArea: "1 / 1 / 2 / 3"
2197
+ }, n ? {} : {
2198
+ color: a.neutral50,
2199
+ marginLeft: i.baseUnit / 2,
2200
+ marginRight: i.baseUnit / 2
2201
+ });
2202
+ }, Ia = function(e) {
2203
+ var n = e.children, r = e.innerProps;
2204
+ return T("div", W({}, F(e, "placeholder", {
2205
+ placeholder: !0
2206
+ }), r), n);
2207
+ }, ha = Ia, Oo = function(e, n) {
2208
+ var r = e.isDisabled, i = e.theme, a = i.spacing, o = i.colors;
2209
+ return G({
2210
+ label: "singleValue",
2211
+ gridArea: "1 / 1 / 2 / 3",
2212
+ maxWidth: "100%",
2213
+ overflow: "hidden",
2214
+ textOverflow: "ellipsis",
2215
+ whiteSpace: "nowrap"
2216
+ }, n ? {} : {
2217
+ color: r ? o.neutral40 : o.neutral80,
2218
+ marginLeft: a.baseUnit / 2,
2219
+ marginRight: a.baseUnit / 2
2220
+ });
2221
+ }, Ca = function(e) {
2222
+ var n = e.children, r = e.isDisabled, i = e.innerProps;
2223
+ return T("div", W({}, F(e, "singleValue", {
2224
+ "single-value": !0,
2225
+ "single-value--is-disabled": r
2226
+ }), i), n);
2227
+ }, ya = Ca, xa = {
2228
+ ClearIndicator: $i,
2229
+ Control: ta,
2230
+ DropdownIndicator: Qi,
2231
+ DownChevron: Mn,
2232
+ CrossIcon: Zt,
2233
+ Group: aa,
2234
+ GroupHeading: ia,
2235
+ IndicatorsContainer: ji,
2236
+ IndicatorSeparator: _i,
2237
+ Input: la,
2238
+ LoadingIndicator: qi,
2239
+ Menu: Zi,
2240
+ MenuList: Mi,
2241
+ MenuPortal: Oi,
2242
+ LoadingMessage: Ji,
2243
+ NoOptionsMessage: Yi,
2244
+ MultiValue: va,
2245
+ MultiValueContainer: da,
2246
+ MultiValueLabel: ga,
2247
+ MultiValueRemove: fa,
2248
+ Option: pa,
2249
+ Placeholder: ha,
2250
+ SelectContainer: zi,
2251
+ SingleValue: ya,
2252
+ ValueContainer: Li
2253
+ }, Aa = function(e) {
2254
+ return G(G({}, xa), e.components);
2255
+ };
2256
+ function At() {
2257
+ return At = Object.assign ? Object.assign.bind() : function(t) {
2258
+ for (var e = 1; e < arguments.length; e++) {
2259
+ var n = arguments[e];
2260
+ for (var r in n) ({}).hasOwnProperty.call(n, r) && (t[r] = n[r]);
2261
+ }
2262
+ return t;
2263
+ }, At.apply(null, arguments);
2264
+ }
2265
+ function zn(t, e) {
2266
+ if (t == null) return {};
2267
+ var n = {};
2268
+ for (var r in t) if ({}.hasOwnProperty.call(t, r)) {
2269
+ if (e.includes(r)) continue;
2270
+ n[r] = t[r];
2271
+ }
2272
+ return n;
2273
+ }
2274
+ function Gt(t, e) {
2275
+ return Gt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
2276
+ return n.__proto__ = r, n;
2277
+ }, Gt(t, e);
2278
+ }
2279
+ function Ln(t, e) {
2280
+ t.prototype = Object.create(e.prototype), t.prototype.constructor = t, Gt(t, e);
2281
+ }
2282
+ var Rt = { exports: {} };
2283
+ /*
2284
+ object-assign
2285
+ (c) Sindre Sorhus
2286
+ @license MIT
2287
+ */
2288
+ var st, nn;
2289
+ function Ga() {
2290
+ if (nn) return st;
2291
+ nn = 1;
2292
+ var t = Object.getOwnPropertySymbols, e = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
2293
+ function r(a) {
2294
+ if (a == null)
2295
+ throw new TypeError("Object.assign cannot be called with null or undefined");
2296
+ return Object(a);
2297
+ }
2298
+ function i() {
2299
+ try {
2300
+ if (!Object.assign)
2301
+ return !1;
2302
+ var a = new String("abc");
2303
+ if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
2304
+ return !1;
2305
+ for (var o = {}, c = 0; c < 10; c++)
2306
+ o["_" + String.fromCharCode(c)] = c;
2307
+ var u = Object.getOwnPropertyNames(o).map(function(l) {
2308
+ return o[l];
2309
+ });
2310
+ if (u.join("") !== "0123456789")
2311
+ return !1;
2312
+ var s = {};
2313
+ return "abcdefghijklmnopqrst".split("").forEach(function(l) {
2314
+ s[l] = l;
2315
+ }), Object.keys(Object.assign({}, s)).join("") === "abcdefghijklmnopqrst";
2316
+ } catch {
2317
+ return !1;
2318
+ }
2319
+ }
2320
+ return st = i() ? Object.assign : function(a, o) {
2321
+ for (var c, u = r(a), s, l = 1; l < arguments.length; l++) {
2322
+ c = Object(arguments[l]);
2323
+ for (var f in c)
2324
+ e.call(c, f) && (u[f] = c[f]);
2325
+ if (t) {
2326
+ s = t(c);
2327
+ for (var p = 0; p < s.length; p++)
2328
+ n.call(c, s[p]) && (u[s[p]] = c[s[p]]);
2329
+ }
2330
+ }
2331
+ return u;
2332
+ }, st;
2333
+ }
2334
+ var lt, rn;
2335
+ function Mt() {
2336
+ if (rn) return lt;
2337
+ rn = 1;
2338
+ var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
2339
+ return lt = t, lt;
2340
+ }
2341
+ var dt, an;
2342
+ function jn() {
2343
+ return an || (an = 1, dt = Function.call.bind(Object.prototype.hasOwnProperty)), dt;
2344
+ }
2345
+ var gt, on;
2346
+ function Ra() {
2347
+ if (on) return gt;
2348
+ on = 1;
2349
+ var t = function() {
2350
+ };
2351
+ if (process.env.NODE_ENV !== "production") {
2352
+ var e = Mt(), n = {}, r = jn();
2353
+ t = function(a) {
2354
+ var o = "Warning: " + a;
2355
+ typeof console < "u" && console.error(o);
2356
+ try {
2357
+ throw new Error(o);
2358
+ } catch {
2359
+ }
2360
+ };
2361
+ }
2362
+ function i(a, o, c, u, s) {
2363
+ if (process.env.NODE_ENV !== "production") {
2364
+ for (var l in a)
2365
+ if (r(a, l)) {
2366
+ var f;
2367
+ try {
2368
+ if (typeof a[l] != "function") {
2369
+ var p = Error(
2370
+ (u || "React class") + ": " + c + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
2371
+ );
2372
+ throw p.name = "Invariant Violation", p;
2373
+ }
2374
+ f = a[l](o, l, u, c, null, e);
2375
+ } catch (A) {
2376
+ f = A;
2377
+ }
2378
+ if (f && !(f instanceof Error) && t(
2379
+ (u || "React class") + ": type specification of " + c + " `" + l + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof f + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
2380
+ ), f instanceof Error && !(f.message in n)) {
2381
+ n[f.message] = !0;
2382
+ var y = s ? s() : "";
2383
+ t(
2384
+ "Failed " + c + " type: " + f.message + (y ?? "")
2385
+ );
2386
+ }
2387
+ }
2388
+ }
2389
+ }
2390
+ return i.resetWarningCache = function() {
2391
+ process.env.NODE_ENV !== "production" && (n = {});
2392
+ }, gt = i, gt;
2393
+ }
2394
+ var ft, cn;
2395
+ function Pa() {
2396
+ if (cn) return ft;
2397
+ cn = 1;
2398
+ var t = Et, e = Ga(), n = Mt(), r = jn(), i = Ra(), a = function() {
2399
+ };
2400
+ process.env.NODE_ENV !== "production" && (a = function(c) {
2401
+ var u = "Warning: " + c;
2402
+ typeof console < "u" && console.error(u);
2403
+ try {
2404
+ throw new Error(u);
2405
+ } catch {
2406
+ }
2407
+ });
2408
+ function o() {
2409
+ return null;
2410
+ }
2411
+ return ft = function(c, u) {
2412
+ var s = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator";
2413
+ function f(g) {
2414
+ var I = g && (s && g[s] || g[l]);
2415
+ if (typeof I == "function")
2416
+ return I;
2417
+ }
2418
+ var p = "<<anonymous>>", y = {
2419
+ array: b("array"),
2420
+ bigint: b("bigint"),
2421
+ bool: b("boolean"),
2422
+ func: b("function"),
2423
+ number: b("number"),
2424
+ object: b("object"),
2425
+ string: b("string"),
2426
+ symbol: b("symbol"),
2427
+ any: S(),
2428
+ arrayOf: x,
2429
+ element: P(),
2430
+ elementType: d(),
2431
+ instanceOf: E,
2432
+ node: ge(),
2433
+ objectOf: Q,
2434
+ oneOf: C,
2435
+ oneOfType: te,
2436
+ shape: de,
2437
+ exact: Pe
2438
+ };
2439
+ function A(g, I) {
2440
+ return g === I ? g !== 0 || 1 / g === 1 / I : g !== g && I !== I;
2441
+ }
2442
+ function v(g, I) {
2443
+ this.message = g, this.data = I && typeof I == "object" ? I : {}, this.stack = "";
2444
+ }
2445
+ v.prototype = Error.prototype;
2446
+ function h(g) {
2447
+ if (process.env.NODE_ENV !== "production")
2448
+ var I = {}, V = 0;
2449
+ function X(H, w, N, Z, L, M, $) {
2450
+ if (Z = Z || p, M = M || N, $ !== n) {
2451
+ if (u) {
2452
+ var m = new Error(
2453
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
2454
+ );
2455
+ throw m.name = "Invariant Violation", m;
2456
+ } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
2457
+ var ne = Z + ":" + N;
2458
+ !I[ne] && // Avoid spamming the console because they are often not actionable except for lib authors
2459
+ V < 3 && (a(
2460
+ "You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + Z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
2461
+ ), I[ne] = !0, V++);
2462
+ }
2463
+ }
2464
+ return w[N] == null ? H ? w[N] === null ? new v("The " + L + " `" + M + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new v("The " + L + " `" + M + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : g(w, N, Z, L, M);
2465
+ }
2466
+ var B = X.bind(null, !1);
2467
+ return B.isRequired = X.bind(null, !0), B;
2468
+ }
2469
+ function b(g) {
2470
+ function I(V, X, B, H, w, N) {
2471
+ var Z = V[X], L = K(Z);
2472
+ if (L !== g) {
2473
+ var M = be(Z);
2474
+ return new v(
2475
+ "Invalid " + H + " `" + w + "` of type " + ("`" + M + "` supplied to `" + B + "`, expected ") + ("`" + g + "`."),
2476
+ { expectedType: g }
2477
+ );
2478
+ }
2479
+ return null;
2480
+ }
2481
+ return h(I);
2482
+ }
2483
+ function S() {
2484
+ return h(o);
2485
+ }
2486
+ function x(g) {
2487
+ function I(V, X, B, H, w) {
2488
+ if (typeof g != "function")
2489
+ return new v("Property `" + w + "` of component `" + B + "` has invalid PropType notation inside arrayOf.");
2490
+ var N = V[X];
2491
+ if (!Array.isArray(N)) {
2492
+ var Z = K(N);
2493
+ return new v("Invalid " + H + " `" + w + "` of type " + ("`" + Z + "` supplied to `" + B + "`, expected an array."));
2494
+ }
2495
+ for (var L = 0; L < N.length; L++) {
2496
+ var M = g(N, L, B, H, w + "[" + L + "]", n);
2497
+ if (M instanceof Error)
2498
+ return M;
2499
+ }
2500
+ return null;
2501
+ }
2502
+ return h(I);
2503
+ }
2504
+ function P() {
2505
+ function g(I, V, X, B, H) {
2506
+ var w = I[V];
2507
+ if (!c(w)) {
2508
+ var N = K(w);
2509
+ return new v("Invalid " + B + " `" + H + "` of type " + ("`" + N + "` supplied to `" + X + "`, expected a single ReactElement."));
2510
+ }
2511
+ return null;
2512
+ }
2513
+ return h(g);
2514
+ }
2515
+ function d() {
2516
+ function g(I, V, X, B, H) {
2517
+ var w = I[V];
2518
+ if (!t.isValidElementType(w)) {
2519
+ var N = K(w);
2520
+ return new v("Invalid " + B + " `" + H + "` of type " + ("`" + N + "` supplied to `" + X + "`, expected a single ReactElement type."));
2521
+ }
2522
+ return null;
2523
+ }
2524
+ return h(g);
2525
+ }
2526
+ function E(g) {
2527
+ function I(V, X, B, H, w) {
2528
+ if (!(V[X] instanceof g)) {
2529
+ var N = g.name || p, Z = at(V[X]);
2530
+ return new v("Invalid " + H + " `" + w + "` of type " + ("`" + Z + "` supplied to `" + B + "`, expected ") + ("instance of `" + N + "`."));
2531
+ }
2532
+ return null;
2533
+ }
2534
+ return h(I);
2535
+ }
2536
+ function C(g) {
2537
+ if (!Array.isArray(g))
2538
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
2539
+ "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
2540
+ ) : a("Invalid argument supplied to oneOf, expected an array.")), o;
2541
+ function I(V, X, B, H, w) {
2542
+ for (var N = V[X], Z = 0; Z < g.length; Z++)
2543
+ if (A(N, g[Z]))
2544
+ return null;
2545
+ var L = JSON.stringify(g, function($, m) {
2546
+ var ne = be(m);
2547
+ return ne === "symbol" ? String(m) : m;
2548
+ });
2549
+ return new v("Invalid " + H + " `" + w + "` of value `" + String(N) + "` " + ("supplied to `" + B + "`, expected one of " + L + "."));
2550
+ }
2551
+ return h(I);
2552
+ }
2553
+ function Q(g) {
2554
+ function I(V, X, B, H, w) {
2555
+ if (typeof g != "function")
2556
+ return new v("Property `" + w + "` of component `" + B + "` has invalid PropType notation inside objectOf.");
2557
+ var N = V[X], Z = K(N);
2558
+ if (Z !== "object")
2559
+ return new v("Invalid " + H + " `" + w + "` of type " + ("`" + Z + "` supplied to `" + B + "`, expected an object."));
2560
+ for (var L in N)
2561
+ if (r(N, L)) {
2562
+ var M = g(N, L, B, H, w + "." + L, n);
2563
+ if (M instanceof Error)
2564
+ return M;
2565
+ }
2566
+ return null;
2567
+ }
2568
+ return h(I);
2569
+ }
2570
+ function te(g) {
2571
+ if (!Array.isArray(g))
2572
+ return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), o;
2573
+ for (var I = 0; I < g.length; I++) {
2574
+ var V = g[I];
2575
+ if (typeof V != "function")
2576
+ return a(
2577
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + He(V) + " at index " + I + "."
2578
+ ), o;
2579
+ }
2580
+ function X(B, H, w, N, Z) {
2581
+ for (var L = [], M = 0; M < g.length; M++) {
2582
+ var $ = g[M], m = $(B, H, w, N, Z, n);
2583
+ if (m == null)
2584
+ return null;
2585
+ m.data && r(m.data, "expectedType") && L.push(m.data.expectedType);
2586
+ }
2587
+ var ne = L.length > 0 ? ", expected one of type [" + L.join(", ") + "]" : "";
2588
+ return new v("Invalid " + N + " `" + Z + "` supplied to " + ("`" + w + "`" + ne + "."));
2589
+ }
2590
+ return h(X);
2591
+ }
2592
+ function ge() {
2593
+ function g(I, V, X, B, H) {
2594
+ return ce(I[V]) ? null : new v("Invalid " + B + " `" + H + "` supplied to " + ("`" + X + "`, expected a ReactNode."));
2595
+ }
2596
+ return h(g);
2597
+ }
2598
+ function fe(g, I, V, X, B) {
2599
+ return new v(
2600
+ (g || "React class") + ": " + I + " type `" + V + "." + X + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + B + "`."
2601
+ );
2602
+ }
2603
+ function de(g) {
2604
+ function I(V, X, B, H, w) {
2605
+ var N = V[X], Z = K(N);
2606
+ if (Z !== "object")
2607
+ return new v("Invalid " + H + " `" + w + "` of type `" + Z + "` " + ("supplied to `" + B + "`, expected `object`."));
2608
+ for (var L in g) {
2609
+ var M = g[L];
2610
+ if (typeof M != "function")
2611
+ return fe(B, H, w, L, be(M));
2612
+ var $ = M(N, L, B, H, w + "." + L, n);
2613
+ if ($)
2614
+ return $;
2615
+ }
2616
+ return null;
2617
+ }
2618
+ return h(I);
2619
+ }
2620
+ function Pe(g) {
2621
+ function I(V, X, B, H, w) {
2622
+ var N = V[X], Z = K(N);
2623
+ if (Z !== "object")
2624
+ return new v("Invalid " + H + " `" + w + "` of type `" + Z + "` " + ("supplied to `" + B + "`, expected `object`."));
2625
+ var L = e({}, V[X], g);
2626
+ for (var M in L) {
2627
+ var $ = g[M];
2628
+ if (r(g, M) && typeof $ != "function")
2629
+ return fe(B, H, w, M, be($));
2630
+ if (!$)
2631
+ return new v(
2632
+ "Invalid " + H + " `" + w + "` key `" + M + "` supplied to `" + B + "`.\nBad object: " + JSON.stringify(V[X], null, " ") + `
2633
+ Valid keys: ` + JSON.stringify(Object.keys(g), null, " ")
2634
+ );
2635
+ var m = $(N, M, B, H, w + "." + M, n);
2636
+ if (m)
2637
+ return m;
2638
+ }
2639
+ return null;
2640
+ }
2641
+ return h(I);
2642
+ }
2643
+ function ce(g) {
2644
+ switch (typeof g) {
2645
+ case "number":
2646
+ case "string":
2647
+ case "undefined":
2648
+ return !0;
2649
+ case "boolean":
2650
+ return !g;
2651
+ case "object":
2652
+ if (Array.isArray(g))
2653
+ return g.every(ce);
2654
+ if (g === null || c(g))
2655
+ return !0;
2656
+ var I = f(g);
2657
+ if (I) {
2658
+ var V = I.call(g), X;
2659
+ if (I !== g.entries) {
2660
+ for (; !(X = V.next()).done; )
2661
+ if (!ce(X.value))
2662
+ return !1;
2663
+ } else
2664
+ for (; !(X = V.next()).done; ) {
2665
+ var B = X.value;
2666
+ if (B && !ce(B[1]))
2667
+ return !1;
2668
+ }
2669
+ } else
2670
+ return !1;
2671
+ return !0;
2672
+ default:
2673
+ return !1;
2674
+ }
2675
+ }
2676
+ function he(g, I) {
2677
+ return g === "symbol" ? !0 : I ? I["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && I instanceof Symbol : !1;
2678
+ }
2679
+ function K(g) {
2680
+ var I = typeof g;
2681
+ return Array.isArray(g) ? "array" : g instanceof RegExp ? "object" : he(I, g) ? "symbol" : I;
2682
+ }
2683
+ function be(g) {
2684
+ if (typeof g > "u" || g === null)
2685
+ return "" + g;
2686
+ var I = K(g);
2687
+ if (I === "object") {
2688
+ if (g instanceof Date)
2689
+ return "date";
2690
+ if (g instanceof RegExp)
2691
+ return "regexp";
2692
+ }
2693
+ return I;
2694
+ }
2695
+ function He(g) {
2696
+ var I = be(g);
2697
+ switch (I) {
2698
+ case "array":
2699
+ case "object":
2700
+ return "an " + I;
2701
+ case "boolean":
2702
+ case "date":
2703
+ case "regexp":
2704
+ return "a " + I;
2705
+ default:
2706
+ return I;
2707
+ }
2708
+ }
2709
+ function at(g) {
2710
+ return !g.constructor || !g.constructor.name ? p : g.constructor.name;
2711
+ }
2712
+ return y.checkPropTypes = i, y.resetWarningCache = i.resetWarningCache, y.PropTypes = y, y;
2713
+ }, ft;
2714
+ }
2715
+ var bt, un;
2716
+ function Sa() {
2717
+ if (un) return bt;
2718
+ un = 1;
2719
+ var t = Mt();
2720
+ function e() {
2721
+ }
2722
+ function n() {
2723
+ }
2724
+ return n.resetWarningCache = e, bt = function() {
2725
+ function r(o, c, u, s, l, f) {
2726
+ if (f !== t) {
2727
+ var p = new Error(
2728
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
2729
+ );
2730
+ throw p.name = "Invariant Violation", p;
2731
+ }
2732
+ }
2733
+ r.isRequired = r;
2734
+ function i() {
2735
+ return r;
2736
+ }
2737
+ var a = {
2738
+ array: r,
2739
+ bigint: r,
2740
+ bool: r,
2741
+ func: r,
2742
+ number: r,
2743
+ object: r,
2744
+ string: r,
2745
+ symbol: r,
2746
+ any: r,
2747
+ arrayOf: i,
2748
+ element: r,
2749
+ elementType: r,
2750
+ instanceOf: i,
2751
+ node: r,
2752
+ objectOf: i,
2753
+ oneOf: i,
2754
+ oneOfType: i,
2755
+ shape: i,
2756
+ exact: i,
2757
+ checkPropTypes: n,
2758
+ resetWarningCache: e
2759
+ };
2760
+ return a.PropTypes = a, a;
2761
+ }, bt;
2762
+ }
2763
+ if (process.env.NODE_ENV !== "production") {
2764
+ var Ta = Et, Ba = !0;
2765
+ Rt.exports = Pa()(Ta.isElement, Ba);
2766
+ } else
2767
+ Rt.exports = Sa()();
2768
+ var wa = Rt.exports;
2769
+ const R = /* @__PURE__ */ qn(wa), sn = {
2770
+ disabled: !1
2771
+ };
2772
+ var Ea = process.env.NODE_ENV !== "production" ? R.oneOfType([R.number, R.shape({
2773
+ enter: R.number,
2774
+ exit: R.number,
2775
+ appear: R.number
2776
+ }).isRequired]) : null;
2777
+ process.env.NODE_ENV !== "production" && R.oneOfType([R.string, R.shape({
2778
+ enter: R.string,
2779
+ exit: R.string,
2780
+ active: R.string
2781
+ }), R.shape({
2782
+ enter: R.string,
2783
+ enterDone: R.string,
2784
+ enterActive: R.string,
2785
+ exit: R.string,
2786
+ exitDone: R.string,
2787
+ exitActive: R.string
2788
+ })]);
2789
+ const qe = ue.createContext(null);
2790
+ var Xa = function(e) {
2791
+ return e.scrollTop;
2792
+ }, Be = "unmounted", ve = "exited", me = "entering", ye = "entered", Pt = "exiting", oe = /* @__PURE__ */ function(t) {
2793
+ Ln(e, t);
2794
+ function e(r, i) {
2795
+ var a;
2796
+ a = t.call(this, r, i) || this;
2797
+ var o = i, c = o && !o.isMounting ? r.enter : r.appear, u;
2798
+ return a.appearStatus = null, r.in ? c ? (u = ve, a.appearStatus = me) : u = ye : r.unmountOnExit || r.mountOnEnter ? u = Be : u = ve, a.state = {
2799
+ status: u
2800
+ }, a.nextCallback = null, a;
2801
+ }
2802
+ e.getDerivedStateFromProps = function(i, a) {
2803
+ var o = i.in;
2804
+ return o && a.status === Be ? {
2805
+ status: ve
2806
+ } : null;
2807
+ };
2808
+ var n = e.prototype;
2809
+ return n.componentDidMount = function() {
2810
+ this.updateStatus(!0, this.appearStatus);
2811
+ }, n.componentDidUpdate = function(i) {
2812
+ var a = null;
2813
+ if (i !== this.props) {
2814
+ var o = this.state.status;
2815
+ this.props.in ? o !== me && o !== ye && (a = me) : (o === me || o === ye) && (a = Pt);
2816
+ }
2817
+ this.updateStatus(!1, a);
2818
+ }, n.componentWillUnmount = function() {
2819
+ this.cancelNextCallback();
2820
+ }, n.getTimeouts = function() {
2821
+ var i = this.props.timeout, a, o, c;
2822
+ return a = o = c = i, i != null && typeof i != "number" && (a = i.exit, o = i.enter, c = i.appear !== void 0 ? i.appear : o), {
2823
+ exit: a,
2824
+ enter: o,
2825
+ appear: c
2826
+ };
2827
+ }, n.updateStatus = function(i, a) {
2828
+ if (i === void 0 && (i = !1), a !== null)
2829
+ if (this.cancelNextCallback(), a === me) {
2830
+ if (this.props.unmountOnExit || this.props.mountOnEnter) {
2831
+ var o = this.props.nodeRef ? this.props.nodeRef.current : Me.findDOMNode(this);
2832
+ o && Xa(o);
2833
+ }
2834
+ this.performEnter(i);
2835
+ } else
2836
+ this.performExit();
2837
+ else this.props.unmountOnExit && this.state.status === ve && this.setState({
2838
+ status: Be
2839
+ });
2840
+ }, n.performEnter = function(i) {
2841
+ var a = this, o = this.props.enter, c = this.context ? this.context.isMounting : i, u = this.props.nodeRef ? [c] : [Me.findDOMNode(this), c], s = u[0], l = u[1], f = this.getTimeouts(), p = c ? f.appear : f.enter;
2842
+ if (!i && !o || sn.disabled) {
2843
+ this.safeSetState({
2844
+ status: ye
2845
+ }, function() {
2846
+ a.props.onEntered(s);
2847
+ });
2848
+ return;
2849
+ }
2850
+ this.props.onEnter(s, l), this.safeSetState({
2851
+ status: me
2852
+ }, function() {
2853
+ a.props.onEntering(s, l), a.onTransitionEnd(p, function() {
2854
+ a.safeSetState({
2855
+ status: ye
2856
+ }, function() {
2857
+ a.props.onEntered(s, l);
2858
+ });
2859
+ });
2860
+ });
2861
+ }, n.performExit = function() {
2862
+ var i = this, a = this.props.exit, o = this.getTimeouts(), c = this.props.nodeRef ? void 0 : Me.findDOMNode(this);
2863
+ if (!a || sn.disabled) {
2864
+ this.safeSetState({
2865
+ status: ve
2866
+ }, function() {
2867
+ i.props.onExited(c);
2868
+ });
2869
+ return;
2870
+ }
2871
+ this.props.onExit(c), this.safeSetState({
2872
+ status: Pt
2873
+ }, function() {
2874
+ i.props.onExiting(c), i.onTransitionEnd(o.exit, function() {
2875
+ i.safeSetState({
2876
+ status: ve
2877
+ }, function() {
2878
+ i.props.onExited(c);
2879
+ });
2880
+ });
2881
+ });
2882
+ }, n.cancelNextCallback = function() {
2883
+ this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
2884
+ }, n.safeSetState = function(i, a) {
2885
+ a = this.setNextCallback(a), this.setState(i, a);
2886
+ }, n.setNextCallback = function(i) {
2887
+ var a = this, o = !0;
2888
+ return this.nextCallback = function(c) {
2889
+ o && (o = !1, a.nextCallback = null, i(c));
2890
+ }, this.nextCallback.cancel = function() {
2891
+ o = !1;
2892
+ }, this.nextCallback;
2893
+ }, n.onTransitionEnd = function(i, a) {
2894
+ this.setNextCallback(a);
2895
+ var o = this.props.nodeRef ? this.props.nodeRef.current : Me.findDOMNode(this), c = i == null && !this.props.addEndListener;
2896
+ if (!o || c) {
2897
+ setTimeout(this.nextCallback, 0);
2898
+ return;
2899
+ }
2900
+ if (this.props.addEndListener) {
2901
+ var u = this.props.nodeRef ? [this.nextCallback] : [o, this.nextCallback], s = u[0], l = u[1];
2902
+ this.props.addEndListener(s, l);
2903
+ }
2904
+ i != null && setTimeout(this.nextCallback, i);
2905
+ }, n.render = function() {
2906
+ var i = this.state.status;
2907
+ if (i === Be)
2908
+ return null;
2909
+ var a = this.props, o = a.children;
2910
+ a.in, a.mountOnEnter, a.unmountOnExit, a.appear, a.enter, a.exit, a.timeout, a.addEndListener, a.onEnter, a.onEntering, a.onEntered, a.onExit, a.onExiting, a.onExited, a.nodeRef;
2911
+ var c = zn(a, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
2912
+ return (
2913
+ // allows for nested Transitions
2914
+ /* @__PURE__ */ ue.createElement(qe.Provider, {
2915
+ value: null
2916
+ }, typeof o == "function" ? o(i, c) : ue.cloneElement(ue.Children.only(o), c))
2917
+ );
2918
+ }, e;
2919
+ }(ue.Component);
2920
+ oe.contextType = qe;
2921
+ oe.propTypes = process.env.NODE_ENV !== "production" ? {
2922
+ /**
2923
+ * A React reference to DOM element that need to transition:
2924
+ * https://stackoverflow.com/a/51127130/4671932
2925
+ *
2926
+ * - When `nodeRef` prop is used, `node` is not passed to callback functions
2927
+ * (e.g. `onEnter`) because user already has direct access to the node.
2928
+ * - When changing `key` prop of `Transition` in a `TransitionGroup` a new
2929
+ * `nodeRef` need to be provided to `Transition` with changed `key` prop
2930
+ * (see
2931
+ * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
2932
+ */
2933
+ nodeRef: R.shape({
2934
+ current: typeof Element > "u" ? R.any : function(t, e, n, r, i, a) {
2935
+ var o = t[e];
2936
+ return R.instanceOf(o && "ownerDocument" in o ? o.ownerDocument.defaultView.Element : Element)(t, e, n, r, i, a);
2937
+ }
2938
+ }),
2939
+ /**
2940
+ * A `function` child can be used instead of a React element. This function is
2941
+ * called with the current transition status (`'entering'`, `'entered'`,
2942
+ * `'exiting'`, `'exited'`), which can be used to apply context
2943
+ * specific props to a component.
2944
+ *
2945
+ * ```jsx
2946
+ * <Transition in={this.state.in} timeout={150}>
2947
+ * {state => (
2948
+ * <MyComponent className={`fade fade-${state}`} />
2949
+ * )}
2950
+ * </Transition>
2951
+ * ```
2952
+ */
2953
+ children: R.oneOfType([R.func.isRequired, R.element.isRequired]).isRequired,
2954
+ /**
2955
+ * Show the component; triggers the enter or exit states
2956
+ */
2957
+ in: R.bool,
2958
+ /**
2959
+ * By default the child component is mounted immediately along with
2960
+ * the parent `Transition` component. If you want to "lazy mount" the component on the
2961
+ * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
2962
+ * mounted, even on "exited", unless you also specify `unmountOnExit`.
2963
+ */
2964
+ mountOnEnter: R.bool,
2965
+ /**
2966
+ * By default the child component stays mounted after it reaches the `'exited'` state.
2967
+ * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
2968
+ */
2969
+ unmountOnExit: R.bool,
2970
+ /**
2971
+ * By default the child component does not perform the enter transition when
2972
+ * it first mounts, regardless of the value of `in`. If you want this
2973
+ * behavior, set both `appear` and `in` to `true`.
2974
+ *
2975
+ * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
2976
+ * > only adds an additional enter transition. However, in the
2977
+ * > `<CSSTransition>` component that first enter transition does result in
2978
+ * > additional `.appear-*` classes, that way you can choose to style it
2979
+ * > differently.
2980
+ */
2981
+ appear: R.bool,
2982
+ /**
2983
+ * Enable or disable enter transitions.
2984
+ */
2985
+ enter: R.bool,
2986
+ /**
2987
+ * Enable or disable exit transitions.
2988
+ */
2989
+ exit: R.bool,
2990
+ /**
2991
+ * The duration of the transition, in milliseconds.
2992
+ * Required unless `addEndListener` is provided.
2993
+ *
2994
+ * You may specify a single timeout for all transitions:
2995
+ *
2996
+ * ```jsx
2997
+ * timeout={500}
2998
+ * ```
2999
+ *
3000
+ * or individually:
3001
+ *
3002
+ * ```jsx
3003
+ * timeout={{
3004
+ * appear: 500,
3005
+ * enter: 300,
3006
+ * exit: 500,
3007
+ * }}
3008
+ * ```
3009
+ *
3010
+ * - `appear` defaults to the value of `enter`
3011
+ * - `enter` defaults to `0`
3012
+ * - `exit` defaults to `0`
3013
+ *
3014
+ * @type {number | { enter?: number, exit?: number, appear?: number }}
3015
+ */
3016
+ timeout: function(e) {
3017
+ var n = Ea;
3018
+ e.addEndListener || (n = n.isRequired);
3019
+ for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
3020
+ i[a - 1] = arguments[a];
3021
+ return n.apply(void 0, [e].concat(i));
3022
+ },
3023
+ /**
3024
+ * Add a custom transition end trigger. Called with the transitioning
3025
+ * DOM node and a `done` callback. Allows for more fine grained transition end
3026
+ * logic. Timeouts are still used as a fallback if provided.
3027
+ *
3028
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
3029
+ *
3030
+ * ```jsx
3031
+ * addEndListener={(node, done) => {
3032
+ * // use the css transitionend event to mark the finish of a transition
3033
+ * node.addEventListener('transitionend', done, false);
3034
+ * }}
3035
+ * ```
3036
+ */
3037
+ addEndListener: R.func,
3038
+ /**
3039
+ * Callback fired before the "entering" status is applied. An extra parameter
3040
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
3041
+ *
3042
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
3043
+ *
3044
+ * @type Function(node: HtmlElement, isAppearing: bool) -> void
3045
+ */
3046
+ onEnter: R.func,
3047
+ /**
3048
+ * Callback fired after the "entering" status is applied. An extra parameter
3049
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
3050
+ *
3051
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
3052
+ *
3053
+ * @type Function(node: HtmlElement, isAppearing: bool)
3054
+ */
3055
+ onEntering: R.func,
3056
+ /**
3057
+ * Callback fired after the "entered" status is applied. An extra parameter
3058
+ * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
3059
+ *
3060
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
3061
+ *
3062
+ * @type Function(node: HtmlElement, isAppearing: bool) -> void
3063
+ */
3064
+ onEntered: R.func,
3065
+ /**
3066
+ * Callback fired before the "exiting" status is applied.
3067
+ *
3068
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
3069
+ *
3070
+ * @type Function(node: HtmlElement) -> void
3071
+ */
3072
+ onExit: R.func,
3073
+ /**
3074
+ * Callback fired after the "exiting" status is applied.
3075
+ *
3076
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed.
3077
+ *
3078
+ * @type Function(node: HtmlElement) -> void
3079
+ */
3080
+ onExiting: R.func,
3081
+ /**
3082
+ * Callback fired after the "exited" status is applied.
3083
+ *
3084
+ * **Note**: when `nodeRef` prop is passed, `node` is not passed
3085
+ *
3086
+ * @type Function(node: HtmlElement) -> void
3087
+ */
3088
+ onExited: R.func
3089
+ } : {};
3090
+ function Ce() {
3091
+ }
3092
+ oe.defaultProps = {
3093
+ in: !1,
3094
+ mountOnEnter: !1,
3095
+ unmountOnExit: !1,
3096
+ appear: !1,
3097
+ enter: !0,
3098
+ exit: !0,
3099
+ onEnter: Ce,
3100
+ onEntering: Ce,
3101
+ onEntered: Ce,
3102
+ onExit: Ce,
3103
+ onExiting: Ce,
3104
+ onExited: Ce
3105
+ };
3106
+ oe.UNMOUNTED = Be;
3107
+ oe.EXITED = ve;
3108
+ oe.ENTERING = me;
3109
+ oe.ENTERED = ye;
3110
+ oe.EXITING = Pt;
3111
+ function Na(t) {
3112
+ if (t === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
3113
+ return t;
3114
+ }
3115
+ function Yt(t, e) {
3116
+ var n = function(a) {
3117
+ return e && Le(a) ? e(a) : a;
3118
+ }, r = /* @__PURE__ */ Object.create(null);
3119
+ return t && _n.map(t, function(i) {
3120
+ return i;
3121
+ }).forEach(function(i) {
3122
+ r[i.key] = n(i);
3123
+ }), r;
3124
+ }
3125
+ function Va(t, e) {
3126
+ t = t || {}, e = e || {};
3127
+ function n(l) {
3128
+ return l in e ? e[l] : t[l];
3129
+ }
3130
+ var r = /* @__PURE__ */ Object.create(null), i = [];
3131
+ for (var a in t)
3132
+ a in e ? i.length && (r[a] = i, i = []) : i.push(a);
3133
+ var o, c = {};
3134
+ for (var u in e) {
3135
+ if (r[u])
3136
+ for (o = 0; o < r[u].length; o++) {
3137
+ var s = r[u][o];
3138
+ c[r[u][o]] = n(s);
3139
+ }
3140
+ c[u] = n(u);
3141
+ }
3142
+ for (o = 0; o < i.length; o++)
3143
+ c[i[o]] = n(i[o]);
3144
+ return c;
3145
+ }
3146
+ function pe(t, e, n) {
3147
+ return n[e] != null ? n[e] : t.props[e];
3148
+ }
3149
+ function Wa(t, e) {
3150
+ return Yt(t.children, function(n) {
3151
+ return je(n, {
3152
+ onExited: e.bind(null, n),
3153
+ in: !0,
3154
+ appear: pe(n, "appear", t),
3155
+ enter: pe(n, "enter", t),
3156
+ exit: pe(n, "exit", t)
3157
+ });
3158
+ });
3159
+ }
3160
+ function Ha(t, e, n) {
3161
+ var r = Yt(t.children), i = Va(e, r);
3162
+ return Object.keys(i).forEach(function(a) {
3163
+ var o = i[a];
3164
+ if (Le(o)) {
3165
+ var c = a in e, u = a in r, s = e[a], l = Le(s) && !s.props.in;
3166
+ u && (!c || l) ? i[a] = je(o, {
3167
+ onExited: n.bind(null, o),
3168
+ in: !0,
3169
+ exit: pe(o, "exit", t),
3170
+ enter: pe(o, "enter", t)
3171
+ }) : !u && c && !l ? i[a] = je(o, {
3172
+ in: !1
3173
+ }) : u && c && Le(s) && (i[a] = je(o, {
3174
+ onExited: n.bind(null, o),
3175
+ in: s.props.in,
3176
+ exit: pe(o, "exit", t),
3177
+ enter: pe(o, "enter", t)
3178
+ }));
3179
+ }
3180
+ }), i;
3181
+ }
3182
+ var Za = Object.values || function(t) {
3183
+ return Object.keys(t).map(function(e) {
3184
+ return t[e];
3185
+ });
3186
+ }, Ma = {
3187
+ component: "div",
3188
+ childFactory: function(e) {
3189
+ return e;
3190
+ }
3191
+ }, it = /* @__PURE__ */ function(t) {
3192
+ Ln(e, t);
3193
+ function e(r, i) {
3194
+ var a;
3195
+ a = t.call(this, r, i) || this;
3196
+ var o = a.handleExited.bind(Na(a));
3197
+ return a.state = {
3198
+ contextValue: {
3199
+ isMounting: !0
3200
+ },
3201
+ handleExited: o,
3202
+ firstRender: !0
3203
+ }, a;
3204
+ }
3205
+ var n = e.prototype;
3206
+ return n.componentDidMount = function() {
3207
+ this.mounted = !0, this.setState({
3208
+ contextValue: {
3209
+ isMounting: !1
3210
+ }
3211
+ });
3212
+ }, n.componentWillUnmount = function() {
3213
+ this.mounted = !1;
3214
+ }, e.getDerivedStateFromProps = function(i, a) {
3215
+ var o = a.children, c = a.handleExited, u = a.firstRender;
3216
+ return {
3217
+ children: u ? Wa(i, c) : Ha(i, o, c),
3218
+ firstRender: !1
3219
+ };
3220
+ }, n.handleExited = function(i, a) {
3221
+ var o = Yt(this.props.children);
3222
+ i.key in o || (i.props.onExited && i.props.onExited(a), this.mounted && this.setState(function(c) {
3223
+ var u = At({}, c.children);
3224
+ return delete u[i.key], {
3225
+ children: u
3226
+ };
3227
+ }));
3228
+ }, n.render = function() {
3229
+ var i = this.props, a = i.component, o = i.childFactory, c = zn(i, ["component", "childFactory"]), u = this.state.contextValue, s = Za(this.state.children).map(o);
3230
+ return delete c.appear, delete c.enter, delete c.exit, a === null ? /* @__PURE__ */ ue.createElement(qe.Provider, {
3231
+ value: u
3232
+ }, s) : /* @__PURE__ */ ue.createElement(qe.Provider, {
3233
+ value: u
3234
+ }, /* @__PURE__ */ ue.createElement(a, c, s));
3235
+ }, e;
3236
+ }(ue.Component);
3237
+ it.propTypes = process.env.NODE_ENV !== "production" ? {
3238
+ /**
3239
+ * `<TransitionGroup>` renders a `<div>` by default. You can change this
3240
+ * behavior by providing a `component` prop.
3241
+ * If you use React v16+ and would like to avoid a wrapping `<div>` element
3242
+ * you can pass in `component={null}`. This is useful if the wrapping div
3243
+ * borks your css styles.
3244
+ */
3245
+ component: R.any,
3246
+ /**
3247
+ * A set of `<Transition>` components, that are toggled `in` and out as they
3248
+ * leave. the `<TransitionGroup>` will inject specific transition props, so
3249
+ * remember to spread them through if you are wrapping the `<Transition>` as
3250
+ * with our `<Fade>` example.
3251
+ *
3252
+ * While this component is meant for multiple `Transition` or `CSSTransition`
3253
+ * children, sometimes you may want to have a single transition child with
3254
+ * content that you want to be transitioned out and in when you change it
3255
+ * (e.g. routes, images etc.) In that case you can change the `key` prop of
3256
+ * the transition child as you change its content, this will cause
3257
+ * `TransitionGroup` to transition the child out and back in.
3258
+ */
3259
+ children: R.node,
3260
+ /**
3261
+ * A convenience prop that enables or disables appear animations
3262
+ * for all children. Note that specifying this will override any defaults set
3263
+ * on individual children Transitions.
3264
+ */
3265
+ appear: R.bool,
3266
+ /**
3267
+ * A convenience prop that enables or disables enter animations
3268
+ * for all children. Note that specifying this will override any defaults set
3269
+ * on individual children Transitions.
3270
+ */
3271
+ enter: R.bool,
3272
+ /**
3273
+ * A convenience prop that enables or disables exit animations
3274
+ * for all children. Note that specifying this will override any defaults set
3275
+ * on individual children Transitions.
3276
+ */
3277
+ exit: R.bool,
3278
+ /**
3279
+ * You may need to apply reactive updates to a child as it is exiting.
3280
+ * This is generally done by using `cloneElement` however in the case of an exiting
3281
+ * child the element has already been removed and not accessible to the consumer.
3282
+ *
3283
+ * If you do need to update a child as it leaves you can provide a `childFactory`
3284
+ * to wrap every child, even the ones that are leaving.
3285
+ *
3286
+ * @type Function(child: ReactElement) -> ReactElement
3287
+ */
3288
+ childFactory: R.func
3289
+ } : {};
3290
+ it.defaultProps = Ma;
3291
+ var Ya = ["in", "onExited", "appear", "enter", "exit"], Ja = function(e) {
3292
+ return function(n) {
3293
+ n.in, n.onExited, n.appear, n.enter, n.exit;
3294
+ var r = ee(n, Ya);
3295
+ return /* @__PURE__ */ j.createElement(e, r);
3296
+ };
3297
+ }, Oa = Ja, za = ["component", "duration", "in", "onExited"], Fn = function(e) {
3298
+ var n = e.component, r = e.duration, i = r === void 0 ? 1 : r, a = e.in;
3299
+ e.onExited;
3300
+ var o = ee(e, za), c = we(null), u = {
3301
+ entering: {
3302
+ opacity: 0
3303
+ },
3304
+ entered: {
3305
+ opacity: 1,
3306
+ transition: "opacity ".concat(i, "ms")
3307
+ },
3308
+ exiting: {
3309
+ opacity: 0
3310
+ },
3311
+ exited: {
3312
+ opacity: 0
3313
+ }
3314
+ };
3315
+ return /* @__PURE__ */ j.createElement(oe, {
3316
+ mountOnEnter: !0,
3317
+ unmountOnExit: !0,
3318
+ in: a,
3319
+ timeout: i,
3320
+ nodeRef: c
3321
+ }, function(s) {
3322
+ var l = {
3323
+ style: G({}, u[s]),
3324
+ ref: c
3325
+ };
3326
+ return /* @__PURE__ */ j.createElement(n, W({
3327
+ innerProps: l
3328
+ }, o));
3329
+ });
3330
+ }, St = 260, La = function(e) {
3331
+ var n = e.children, r = e.in, i = e.onExited, a = we(null), o = Ie("auto"), c = se(o, 2), u = c[0], s = c[1];
3332
+ vt(function() {
3333
+ var f = a.current;
3334
+ if (f) {
3335
+ var p = window.requestAnimationFrame(function() {
3336
+ return s(f.getBoundingClientRect().width);
3337
+ });
3338
+ return function() {
3339
+ return window.cancelAnimationFrame(p);
3340
+ };
3341
+ }
3342
+ }, []);
3343
+ var l = function(p) {
3344
+ switch (p) {
3345
+ default:
3346
+ return {
3347
+ width: u
3348
+ };
3349
+ case "exiting":
3350
+ return {
3351
+ width: 0,
3352
+ transition: "width ".concat(St, "ms ease-out")
3353
+ };
3354
+ case "exited":
3355
+ return {
3356
+ width: 0
3357
+ };
3358
+ }
3359
+ };
3360
+ return /* @__PURE__ */ j.createElement(oe, {
3361
+ enter: !1,
3362
+ mountOnEnter: !0,
3363
+ unmountOnExit: !0,
3364
+ in: r,
3365
+ onExited: function() {
3366
+ var p = a.current;
3367
+ p && (i == null || i(p));
3368
+ },
3369
+ timeout: St,
3370
+ nodeRef: a
3371
+ }, function(f) {
3372
+ return /* @__PURE__ */ j.createElement("div", {
3373
+ ref: a,
3374
+ style: G({
3375
+ overflow: "hidden",
3376
+ whiteSpace: "nowrap"
3377
+ }, l(f))
3378
+ }, n);
3379
+ });
3380
+ }, ja = ["in", "onExited"], Fa = function(e) {
3381
+ return function(n) {
3382
+ var r = n.in, i = n.onExited, a = ee(n, ja);
3383
+ return /* @__PURE__ */ j.createElement(La, {
3384
+ in: r,
3385
+ onExited: i
3386
+ }, /* @__PURE__ */ j.createElement(e, W({
3387
+ cropWithEllipsis: r
3388
+ }, a)));
3389
+ };
3390
+ }, Da = Fa, ka = function(e) {
3391
+ return function(n) {
3392
+ return /* @__PURE__ */ j.createElement(Fn, W({
3393
+ component: e,
3394
+ duration: n.isMulti ? St : 1
3395
+ }, n));
3396
+ };
3397
+ }, Ua = ka, Qa = function(e) {
3398
+ return function(n) {
3399
+ return /* @__PURE__ */ j.createElement(Fn, W({
3400
+ component: e
3401
+ }, n));
3402
+ };
3403
+ }, $a = Qa, _a = ["component"], Ka = ["children"], qa = function(e) {
3404
+ return function(n) {
3405
+ return n.isMulti ? /* @__PURE__ */ j.createElement(eo, W({
3406
+ component: e
3407
+ }, n)) : /* @__PURE__ */ j.createElement(it, W({
3408
+ component: e
3409
+ }, n));
3410
+ };
3411
+ }, eo = function(e) {
3412
+ var n = e.component, r = ee(e, _a), i = to(r);
3413
+ return /* @__PURE__ */ j.createElement(it, W({
3414
+ component: n
3415
+ }, i));
3416
+ }, to = function(e) {
3417
+ var n = e.children, r = ee(e, Ka), i = r.isMulti, a = r.hasValue, o = r.innerProps, c = r.selectProps, u = c.components, s = c.controlShouldRenderValue, l = Ie(i && s && a), f = se(l, 2), p = f[0], y = f[1], A = Ie(!1), v = se(A, 2), h = v[0], b = v[1];
3418
+ vt(function() {
3419
+ a && !p && y(!0);
3420
+ }, [a, p]), vt(function() {
3421
+ h && !a && p && y(!1), b(!1);
3422
+ }, [h, a, p]);
3423
+ var S = function() {
3424
+ return b(!0);
3425
+ }, x = function(C) {
3426
+ if (i && /* @__PURE__ */ j.isValidElement(C)) {
3427
+ if (C.type === u.MultiValue)
3428
+ return /* @__PURE__ */ j.cloneElement(C, {
3429
+ onExited: S
3430
+ });
3431
+ if (C.type === u.Placeholder && p)
3432
+ return null;
3433
+ }
3434
+ return C;
3435
+ }, P = G(G({}, o), {}, {
3436
+ style: G(G({}, o == null ? void 0 : o.style), {}, {
3437
+ display: i && a || p ? "flex" : "grid"
3438
+ })
3439
+ }), d = G(G({}, r), {}, {
3440
+ innerProps: P,
3441
+ children: j.Children.toArray(n).map(x)
3442
+ });
3443
+ return d;
3444
+ }, no = qa, ro = ["Input", "MultiValue", "Placeholder", "SingleValue", "ValueContainer"], Dn = function() {
3445
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = Aa({
3446
+ components: e
3447
+ }), r = n.Input, i = n.MultiValue, a = n.Placeholder, o = n.SingleValue, c = n.ValueContainer, u = ee(n, ro);
3448
+ return G({
3449
+ Input: Oa(r),
3450
+ MultiValue: Da(i),
3451
+ Placeholder: Ua(a),
3452
+ SingleValue: $a(o),
3453
+ ValueContainer: no(c)
3454
+ }, u);
3455
+ }, We = Dn();
3456
+ We.Input;
3457
+ We.MultiValue;
3458
+ We.Placeholder;
3459
+ We.SingleValue;
3460
+ We.ValueContainer;
3461
+ var zo = ar(Dn);
3462
+ export {
3463
+ ho as A,
3464
+ yo as B,
3465
+ Go as C,
3466
+ Ho as D,
3467
+ Zo as E,
3468
+ Mo as F,
3469
+ xo as G,
3470
+ Yo as H,
3471
+ Jo as I,
3472
+ Oo as J,
3473
+ Po as K,
3474
+ bo as L,
3475
+ so as M,
3476
+ W as N,
3477
+ xt as O,
3478
+ Co as P,
3479
+ ee as Q,
3480
+ Io as R,
3481
+ T as S,
3482
+ Gn as T,
3483
+ fo as U,
3484
+ se as V,
3485
+ Ae as _,
3486
+ _t as a,
3487
+ ui as b,
3488
+ lo as c,
3489
+ go as d,
3490
+ G as e,
3491
+ po as f,
3492
+ co as g,
3493
+ Aa as h,
3494
+ zo as i,
3495
+ Ht as j,
3496
+ uo as k,
3497
+ Bo as l,
3498
+ ar as m,
3499
+ Ro as n,
3500
+ Xo as o,
3501
+ To as p,
3502
+ No as q,
3503
+ Vo as r,
3504
+ mo as s,
3505
+ tr as t,
3506
+ So as u,
3507
+ vo as v,
3508
+ wo as w,
3509
+ Wo as x,
3510
+ Eo as y,
3511
+ Ao as z
3512
+ };
3513
+ //# sourceMappingURL=react-select-animated.esm.js.map