@okta/odyssey-react-mui 1.44.0 → 1.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (659) hide show
  1. package/dist/appswitcher/admin-app-default.svg +6 -0
  2. package/dist/appswitcher/admin-app-selected.svg +6 -0
  3. package/dist/appswitcher/aerial-default.svg +7 -0
  4. package/dist/appswitcher/aerial-selected.svg +7 -0
  5. package/dist/appswitcher/okta-dashboard-default.svg +7 -0
  6. package/dist/appswitcher/okta-dashboard-selected.svg +7 -0
  7. package/dist/appswitcher/privileged-access-default.svg +4 -0
  8. package/dist/appswitcher/privileged-access-selected.svg +4 -0
  9. package/dist/appswitcher/workflows-default.svg +5 -0
  10. package/dist/appswitcher/workflows-selected.svg +5 -0
  11. package/dist/assets/Accordion-DLG6nIhh.js +1 -0
  12. package/dist/assets/Accordion.stories-VjVp52QD.js +85 -0
  13. package/dist/assets/AccordionSummary-xCoGLMoL.js +1 -0
  14. package/dist/assets/AlertTitle-DlG4YQWR.js +1 -0
  15. package/dist/assets/AppSwitcher-D7UlQ3S8.js +21 -0
  16. package/dist/assets/AppSwitcher.stories-Dv0DHDxk.js +100 -0
  17. package/dist/assets/AppTile _labs_.stories-CgXIqWmJ.js +136 -0
  18. package/dist/assets/ArrowDropDown-bSngWMh1.js +1 -0
  19. package/dist/assets/ArrowRight-DCIAiEpA.js +1 -0
  20. package/dist/assets/Autocomplete-MfScEzbR.js +1 -0
  21. package/dist/assets/Autocomplete-UE4wqxn0.js +1 -0
  22. package/dist/assets/Autocomplete.stories-CCtQosYH.js +316 -0
  23. package/dist/assets/Badge-DL9N0uiE.js +11 -0
  24. package/dist/assets/Banner-C66lWD3c.js +1 -0
  25. package/dist/assets/Banner.stories-D6KqnSl2.js +74 -0
  26. package/dist/assets/BaseButton-B5c4cgt8.js +11 -0
  27. package/dist/assets/BaseMenuButton-DbGGXXbP.js +1 -0
  28. package/dist/assets/Box-BCBP3C7Q.js +1 -0
  29. package/dist/assets/Box-BXOPvc0Q.js +1 -0
  30. package/dist/assets/Box-C2ekHaOu.js +1 -0
  31. package/dist/assets/Box-C_Qfmw-_.js +11 -0
  32. package/dist/assets/Box.stories-uaYeF2xg.js +38 -0
  33. package/dist/assets/Breadcrumbs-Qzfi3j0j.js +6 -0
  34. package/dist/assets/Breadcrumbs.stories-CHIGnsjh.js +79 -0
  35. package/dist/assets/Bug-m6zinguF.js +1 -0
  36. package/dist/assets/Button-BOzIr8Jh.js +11 -0
  37. package/dist/assets/Button-BqwcAVQ-.js +1 -0
  38. package/dist/assets/Button-Cf49fWiK.js +31 -0
  39. package/dist/assets/Button.stories-Db-QptTh.js +271 -0
  40. package/dist/assets/ButtonBase-BqXVk-1q.js +74 -0
  41. package/dist/assets/Calendar-CuqjwSb0.js +1 -0
  42. package/dist/assets/Callout-CaNoXhaj.js +1 -0
  43. package/dist/assets/Callout.stories-D2csAs8g.js +105 -0
  44. package/dist/assets/Card-B5eIV1vH.js +1 -0
  45. package/dist/assets/Card-Bfg-qZM7.js +8 -0
  46. package/dist/assets/Card.stories-BTaeWH4V.js +129 -0
  47. package/dist/assets/CardActionArea-yvoWcAsF.js +1 -0
  48. package/dist/assets/Check-BmyOKfcL.js +1 -0
  49. package/dist/assets/Checkbox-BTj1hXUa.js +1 -0
  50. package/dist/assets/Checkbox-luq82K1t.js +1 -0
  51. package/dist/assets/Checkbox.stories-ChhXQBH_.js +96 -0
  52. package/dist/assets/CheckboxGroup-Cgc2chES.js +1 -0
  53. package/dist/assets/CheckboxGroup.stories-DpGwHWla.js +81 -0
  54. package/dist/assets/ChevronDown-BnAWuc8V.js +1 -0
  55. package/dist/assets/ChevronRight-BB0bQIRj.js +1 -0
  56. package/dist/assets/ChevronUp-B9JV-jmd.js +1 -0
  57. package/dist/assets/Chip-BOK8DR8m.js +1 -0
  58. package/dist/assets/CircularProgress-DNk4kmx6.js +28 -0
  59. package/dist/assets/CircularProgress-Ur28_31H.js +1 -0
  60. package/dist/assets/CircularProgress.stories-gv9B0XLW.js +44 -0
  61. package/dist/assets/Clock-Byj5V_49.js +1 -0
  62. package/dist/assets/Close-DA7fBExu.js +1 -0
  63. package/dist/assets/Close-DA_Sph0R.js +1 -0
  64. package/dist/assets/CloseCircleFilled-D2aBlgBe.js +1 -0
  65. package/dist/assets/Code Styling Guidelines-CAzyRuHZ.js +14 -0
  66. package/dist/assets/Collapse-P1H1b4lO.js +1 -0
  67. package/dist/assets/Color-YHDXOIA2-CcHVwBQP.js +1 -0
  68. package/dist/assets/CssBaseline-C3xNeK8b.js +1 -0
  69. package/dist/assets/CssBaseline-CUjr0ON2.js +190 -0
  70. package/dist/assets/CssBaseline.stories-DgXaUmIC.js +402 -0
  71. package/dist/assets/Custom Theming-CKloJLS_.js +136 -0
  72. package/dist/assets/Custom Theming.stories-BHdYhCs2.js +93 -0
  73. package/dist/assets/DataFilters _labs_-D3S2uNi-.js +55 -0
  74. package/dist/assets/DataFilters _labs_.stories-RwWZVkCe.js +31 -0
  75. package/dist/assets/DataFilters-DVey1xPT.js +1 -0
  76. package/dist/assets/DataTable _labs_-CtXARbkP.js +41 -0
  77. package/dist/assets/DataTable _labs_.stories-U7XFYtR6.js +21 -0
  78. package/dist/assets/DataTable-CkACYzFJ.js +404 -0
  79. package/dist/assets/DataTable-CnCWIOTw.js +21 -0
  80. package/dist/assets/DataTable.stories-Db2HEmax.js +438 -0
  81. package/dist/assets/DataView _labs_-DZnmSNME.js +332 -0
  82. package/dist/assets/DataView _labs_.stories-CusuCHkc.js +438 -0
  83. package/dist/assets/DataView-BQBP0FCs.js +101 -0
  84. package/dist/assets/DatePicker-DIRg7n4d.js +1 -0
  85. package/dist/assets/DatePicker.stories-BPWj6DxY.js +143 -0
  86. package/dist/assets/DateTimePicker-CnXcHc5u.js +1 -0
  87. package/dist/assets/DateTimePicker.stories-nLmYctur.js +168 -0
  88. package/dist/assets/DefaultPropsProvider-B7tpShA7.js +9 -0
  89. package/dist/assets/Design Tokens-BxQ2eYvg.js +4 -0
  90. package/dist/assets/Dialog-BIM-1Zvj.js +1 -0
  91. package/dist/assets/Dialog.stories-D2UYs9Hc.js +201 -0
  92. package/dist/assets/DialogContent-C_FnZ5ZS.js +1 -0
  93. package/dist/assets/DialogTitle-CLDQZ0bg.js +1 -0
  94. package/dist/assets/Divider-CsWa3KCo.js +1 -0
  95. package/dist/assets/DocsRenderer-CFRXHY34-DEwq8OPY.js +2 -0
  96. package/dist/assets/Documentation-DM1hawvn.js +1 -0
  97. package/dist/assets/Download-Cp75oFKP.js +1 -0
  98. package/dist/assets/Drawer-Dg44iOBm.js +27 -0
  99. package/dist/assets/Drawer.stories-DRGYC84s.js +95 -0
  100. package/dist/assets/EmptyState-DQoihCwU.js +11 -0
  101. package/dist/assets/EmptyState.stories-C8kkt-lH.js +11 -0
  102. package/dist/assets/ExampleButton.stories-BKxnZulW.js +11 -0
  103. package/dist/assets/Extending Translations-BnOA8j0s.js +146 -0
  104. package/dist/assets/ExternalLink-DTdulgUc.js +1 -0
  105. package/dist/assets/Field-ilPS333M.js +11 -0
  106. package/dist/assets/FieldHint-Cv7aMlpU.js +1 -0
  107. package/dist/assets/Fieldset-CmtxEykF.js +11 -0
  108. package/dist/assets/Fieldset.stories-CeV3XwQn.js +15 -0
  109. package/dist/assets/FileUploader.stories-CmC83k5u.js +58 -0
  110. package/dist/assets/Filter-BAXcmMyf.js +1 -0
  111. package/dist/assets/Folder-Ddku_ujr.js +1 -0
  112. package/dist/assets/Form Field Accessibility-bATJbTW6.js +18 -0
  113. package/dist/assets/Form-CBnvE26F.js +11 -0
  114. package/dist/assets/Form.stories-Eg4GUI1C.js +69 -0
  115. package/dist/assets/FormControlLabel-CxCmH5hv.js +1 -0
  116. package/dist/assets/FormGroup-BaCH3e06.js +1 -0
  117. package/dist/assets/FormHelperText-ZkUAjajs.js +1 -0
  118. package/dist/assets/FormLabel-BLeax9q3.js +1 -0
  119. package/dist/assets/Generating Icons-CY4QgHRK.js +16 -0
  120. package/dist/assets/GlobalStyles-BxDN_5FT.js +1 -0
  121. package/dist/assets/Globe--OQ55RD1.js +1 -0
  122. package/dist/assets/Grid-B2PgWvdd.js +1 -0
  123. package/dist/assets/Group-W0XqkWVH.js +1 -0
  124. package/dist/assets/GroupPicker _labs_.stories-CP9ogL4g.js +33 -0
  125. package/dist/assets/Grow-CIie3qhp.js +1 -0
  126. package/dist/assets/Hide-RfKmYLNv.js +1 -0
  127. package/dist/assets/Home-BXMRmOIu.js +1 -0
  128. package/dist/assets/Icon _icons_.stories-CfG9aDh6.js +16 -0
  129. package/dist/assets/IconButton-CK9Do7vj.js +1 -0
  130. package/dist/assets/IconWithTooltip _icons_.stories-BriwOCod.js +19 -0
  131. package/dist/assets/InformationCircle-B71JRUfK.js +1 -0
  132. package/dist/assets/InputAdornment-CFgP75Dd.js +1 -0
  133. package/dist/assets/InputBase--xDu7aWm.js +2 -0
  134. package/dist/assets/Installing odyssey-react-mui-FI77Ty6y.js +195 -0
  135. package/dist/assets/Introduction-B_2OeBP6.js +46 -0
  136. package/dist/assets/Layout-Bojn6-Uj.js +11 -0
  137. package/dist/assets/Layout.stories-BN7leK7P.js +217 -0
  138. package/dist/assets/Legacy Migrations-eiPSj0S4.js +86 -0
  139. package/dist/assets/Link-ClKgpBXG.js +1 -0
  140. package/dist/assets/Link-DTvs7F4J.js +11 -0
  141. package/dist/assets/Link.stories-GP1qln9R.js +43 -0
  142. package/dist/assets/List-0o0OI1E9.js +1 -0
  143. package/dist/assets/List-W5kRT_jR.js +1 -0
  144. package/dist/assets/ListContext-C02XM7tn.js +1 -0
  145. package/dist/assets/ListItem-CcduKzQu.js +1 -0
  146. package/dist/assets/ListSubheader-DXKE8lW0.js +1 -0
  147. package/dist/assets/Menu-CGJO1mMf.js +1 -0
  148. package/dist/assets/MenuButton-DeZSGuxY.js +9 -0
  149. package/dist/assets/MenuButton-OjJFnmOD.js +11 -0
  150. package/dist/assets/MenuButton.stories-C8xNZymc.js +246 -0
  151. package/dist/assets/MenuContext-DKMyPMNY.js +11 -0
  152. package/dist/assets/MenuItem-CuP47MJ-.js +1 -0
  153. package/dist/assets/MenuItem-DjSqFwdt.js +1 -0
  154. package/dist/assets/MenuItem.stories-Cc5X-FtZ.js +29 -0
  155. package/dist/assets/MenuList-BboivbXC.js +1 -0
  156. package/dist/assets/Modal-CW5mOzJG.js +1 -0
  157. package/dist/assets/More-axx2rGKU.js +1 -0
  158. package/dist/assets/MuiPropsContext-DhRylJZk.js +11 -0
  159. package/dist/assets/NativeSelect.stories-D8Y2ITgz.js +173 -0
  160. package/dist/assets/OdysseyDesignTokensContext-BWQIA5ie.js +11 -0
  161. package/dist/assets/OdysseyProvider-BQyPcEvx.js +41 -0
  162. package/dist/assets/OdysseyProvider-BjO4GObW.js +280 -0
  163. package/dist/assets/OdysseyStorybookThemeDecorator-DginBfEq.js +1 -0
  164. package/dist/assets/OdysseyThemeProvider-aR5shtx6.js +117 -0
  165. package/dist/assets/PageHeader.stories-CtAENr0_.js +90 -0
  166. package/dist/assets/PageHeader.stories-WaRXuLcH.js +17 -0
  167. package/dist/assets/PageTemplate _labs_-CUXvNJxx.js +8 -0
  168. package/dist/assets/PageTemplate _labs_.stories-BVKInLfu.js +306 -0
  169. package/dist/assets/PageTemplate-DOXk_uAG.js +21 -0
  170. package/dist/assets/PaginatedTable _labs_.stories-Bet6WnQV.js +65 -0
  171. package/dist/assets/Pagination-CgxBDBwQ.js +11 -0
  172. package/dist/assets/Pagination.stories-7dUsTYEf.js +17 -0
  173. package/dist/assets/Paper-DbAuDGNI.js +1 -0
  174. package/dist/assets/PasswordField.stories-Bclv9Lsw.js +129 -0
  175. package/dist/assets/Picker _labs_.stories-Dzo7T9_p.js +18 -0
  176. package/dist/assets/PickerWithOptionAdornment _labs_.stories-C1ftphm9.js +70 -0
  177. package/dist/assets/PlaceholderLogo-JfVvgA23.js +11 -0
  178. package/dist/assets/Popper-CwLH-7YW.js +1 -0
  179. package/dist/assets/Portal-Bvf2g5iG.js +1 -0
  180. package/dist/assets/Radio-Bi1_KmSD.js +1 -0
  181. package/dist/assets/Radio-D85jg1Ri.js +1 -0
  182. package/dist/assets/Radio.stories-BrLSJa7w.js +63 -0
  183. package/dist/assets/RadioGroup-6XgStuIE.js +10 -0
  184. package/dist/assets/RadioGroup-BS6oYUQf.js +1 -0
  185. package/dist/assets/RadioGroup.stories-BcEJF09Q.js +127 -0
  186. package/dist/assets/Refresh-CPgGX1hz.js +1 -0
  187. package/dist/assets/Right-to-Left (RTL)-BK9_DI66.js +62 -0
  188. package/dist/assets/ScopedCssBaseline-FivWKbYZ.js +1 -0
  189. package/dist/assets/ScreenReaderText-DCDUyE9Y.js +15 -0
  190. package/dist/assets/ScreenReaderText-vq7_Ob_I.js +1 -0
  191. package/dist/assets/ScreenReaderText.stories-BZinu6VX.js +8 -0
  192. package/dist/assets/Search-BvCmvJcV.js +1 -0
  193. package/dist/assets/SearchDropdown _labs_.stories-CYbt2vgf.js +53 -0
  194. package/dist/assets/SearchField-jc9ws93I.js +1 -0
  195. package/dist/assets/SearchField.stories-3apxQKjy.js +37 -0
  196. package/dist/assets/Select-DVJCNQIV.js +1 -0
  197. package/dist/assets/Select.stories-Dnr0InYf.js +293 -0
  198. package/dist/assets/Server-F8KLZq7d.js +1 -0
  199. package/dist/assets/Settings-DjrryuBd.js +1 -0
  200. package/dist/assets/Shadow DOM-ErMvgTrT.js +64 -0
  201. package/dist/assets/Show-qQzUH4Sq.js +1 -0
  202. package/dist/assets/SideNav-CCPZq2Bh.js +85 -0
  203. package/dist/assets/SideNav-Duwk1--M.js +125 -0
  204. package/dist/assets/SideNav.stories-CHEyk4wu.js +207 -0
  205. package/dist/assets/Skeleton-BJLiCr2o.js +51 -0
  206. package/dist/assets/Stack-Ba8l39se.js +1 -0
  207. package/dist/assets/Stack.stories-CBatf2Aw.js +1 -0
  208. package/dist/assets/StaticTable _labs_.stories-HuypNvo4.js +34 -0
  209. package/dist/assets/Status-BYBMXN_H.js +1 -0
  210. package/dist/assets/Status.stories-C3BLGCGc.js +66 -0
  211. package/dist/assets/SvgIcon-BQAg6Jm7.js +1 -0
  212. package/dist/assets/Switch.stories-zEk8HMOP.js +61 -0
  213. package/dist/assets/SwitchBase-Bja5dn-O.js +1 -0
  214. package/dist/assets/Sync-Bmam4Lr_.js +1 -0
  215. package/dist/assets/Tabs-BEhcVkzW.js +23 -0
  216. package/dist/assets/Tabs-Buvkuz1V.js +1 -0
  217. package/dist/assets/Tabs-ChAj4m0g.js +1 -0
  218. package/dist/assets/Tabs.stories-BwOqe_a_.js +100 -0
  219. package/dist/assets/Tag-CjPSrGAL.js +11 -0
  220. package/dist/assets/Tag.stories-D1YMwKB7.js +96 -0
  221. package/dist/assets/TagList-BQKiA1TW.js +1 -0
  222. package/dist/assets/TextField-CZ0hstP2.js +1 -0
  223. package/dist/assets/TextField.stories-BVJr2VmB.js +149 -0
  224. package/dist/assets/Toast.stories-aIKtHa18.js +134 -0
  225. package/dist/assets/ToastManager.stories-Bst-XOOh.js +269 -0
  226. package/dist/assets/Tooltip-3088PjcT.js +11 -0
  227. package/dist/assets/Tooltip-B4GIR2eB.js +1 -0
  228. package/dist/assets/Tooltip.stories-GU5ZWKSu.js +68 -0
  229. package/dist/assets/TopNav-CWVyy01x.js +11 -0
  230. package/dist/assets/TopNav.stories-CIdyN7Ai.js +13 -0
  231. package/dist/assets/Trans-DZ9nii1x.js +1 -0
  232. package/dist/assets/TransitionGroup-BBx_tHs0.js +9 -0
  233. package/dist/assets/TransitionGroupContext-BMO0EZjQ.js +9 -0
  234. package/dist/assets/TransitionGroupContext-twgBS-Q3.js +1 -0
  235. package/dist/assets/Typography-BTrM-f_f.js +9 -0
  236. package/dist/assets/Typography-CiNRLenM.js +1 -0
  237. package/dist/assets/Typography-D7-qxuiy.js +1 -0
  238. package/dist/assets/Typography.stories-DOm50jIe.js +139 -0
  239. package/dist/assets/UiShell.stories-CcRPnzQe.js +531 -0
  240. package/dist/assets/UiShellProvider-D1w1Ocw9.js +31 -0
  241. package/dist/assets/Upload-DK3nRIto.js +1 -0
  242. package/dist/assets/User-BBdPovZN.js +1 -0
  243. package/dist/assets/UserProfile-xXh984n9.js +11 -0
  244. package/dist/assets/UserProfile.stories-cf7P_USw.js +14 -0
  245. package/dist/assets/UserProfileMenuButton.stories-DQvKwLs8.js +30 -0
  246. package/dist/assets/Video-DytabcyM.js +1 -0
  247. package/dist/assets/WarningFilled-Y3Vw7n_w.js +1 -0
  248. package/dist/assets/_commonjsHelpers-gnU0ypJ3.js +1 -0
  249. package/dist/assets/alertTitleClasses-CSPeaunQ.js +1 -0
  250. package/dist/assets/assertThisInitialized-B9jnkVVz.js +1 -0
  251. package/dist/assets/autocompleteClasses-Bi4FgC8v.js +1 -0
  252. package/dist/assets/axe-UFrR6cCR.js +30 -0
  253. package/dist/assets/axeRun-BfHtukUP.js +40 -0
  254. package/dist/assets/buttonBaseClasses-CSPKg76d.js +1 -0
  255. package/dist/assets/buttonClasses-DtIJBSf4.js +1 -0
  256. package/dist/assets/checkboxClasses-Dtdq1kQG.js +1 -0
  257. package/dist/assets/chipClasses-BMWKl3Eu.js +1 -0
  258. package/dist/assets/chunk-XP5HYGXS-BpfKkqn7.js +1 -0
  259. package/dist/assets/client-akVMpN0m.js +1 -0
  260. package/dist/assets/colorManipulator-O7SU8zMv.js +1 -0
  261. package/dist/assets/constants-CyailK6t.js +11 -0
  262. package/dist/assets/context-D_qJ2zXV.js +1 -0
  263. package/dist/assets/createChainedFunction-BO_9K8Jh.js +1 -0
  264. package/dist/assets/createSvgIcon-DiC7XVU3.js +1 -0
  265. package/dist/assets/createTheme-BmPXDA4p.js +8 -0
  266. package/dist/assets/createUniqueId-ByTaVY63.js +1 -0
  267. package/dist/assets/debounce-Be36O1Ab.js +1 -0
  268. package/dist/assets/emotion-react-jsx-runtime.browser.esm-B2sVIsIq.js +1 -0
  269. package/dist/assets/emotion-styled.browser.esm-Bcn7fuYX.js +1 -0
  270. package/dist/assets/entry-preview-4ElqUVRP.js +2 -0
  271. package/dist/assets/entry-preview-docs-BKXv92OK.js +46 -0
  272. package/dist/assets/fieldComponentPropsMetaData-BqbNLw6V.js +11 -0
  273. package/dist/assets/formControlLabelClasses-BtjP4uib.js +1 -0
  274. package/dist/assets/formGroupClasses-D9ChLj7o.js +1 -0
  275. package/dist/assets/formLabelClasses-xMgYguuN.js +1 -0
  276. package/dist/assets/generateUtilityClasses-DYvjsuMV.js +1 -0
  277. package/dist/assets/getScrollbarSize-Bqq2hMjQ.js +1 -0
  278. package/dist/assets/i18n-DmkmAJlT.js +11 -0
  279. package/dist/assets/i18next-DbMy2do-.js +1 -0
  280. package/dist/assets/iconUtils-Cxr8mVIA.js +11 -0
  281. package/dist/assets/iframe-C-RQ_TKY.js +211 -0
  282. package/dist/assets/index-B5xazMy1.js +1 -0
  283. package/dist/assets/index-B885ELRa.js +1 -0
  284. package/dist/assets/index-BJMTVygn.js +240 -0
  285. package/dist/assets/index-BJTM6NaI.js +192 -0
  286. package/dist/assets/index-BeeV6X6A.js +1 -0
  287. package/dist/assets/index-BpVuOoKb.js +384 -0
  288. package/dist/assets/index-BzN0w9dc.js +1 -0
  289. package/dist/assets/index-CDGerSbe.js +1 -0
  290. package/dist/assets/index-CXQShRbs.js +8 -0
  291. package/dist/assets/index-CpbQl8EB.js +1 -0
  292. package/dist/assets/index-CtY5BB1N.js +1 -0
  293. package/dist/assets/index-DieBXP3Z.js +24 -0
  294. package/dist/assets/index-DrFu-skq.js +6 -0
  295. package/dist/assets/index-NdkWRN8K.js +9 -0
  296. package/dist/assets/index.esm-D7MwfoQM.js +138 -0
  297. package/dist/assets/index.modern-CkASn_bb.js +14 -0
  298. package/dist/assets/inheritsLoose-CWawPfk8.js +1 -0
  299. package/dist/assets/inputAdornmentClasses-DYNxkEwO.js +1 -0
  300. package/dist/assets/inputBaseClasses-PAjj3ZBN.js +1 -0
  301. package/dist/assets/inputUtils-Dbi8XkA6.js +11 -0
  302. package/dist/assets/isHostComponent-DVu5iVWx.js +1 -0
  303. package/dist/assets/jsx-runtime-CnH95YSl.js +9 -0
  304. package/dist/assets/matchers-7Z3WT2CE-T3xScrR7.js +14 -0
  305. package/dist/assets/menuItemClasses-DFm3-Sf1.js +1 -0
  306. package/dist/assets/ownerDocument-DW-IO8s5.js +1 -0
  307. package/dist/assets/ownerWindow-HkKU3E4x.js +1 -0
  308. package/dist/assets/personData-CZJz4n06.js +1 -0
  309. package/dist/assets/personData-Ci-ru1S9.js +11 -0
  310. package/dist/assets/pickerComponentPropsMetadata-C9L3AhmF.js +21 -0
  311. package/dist/assets/popper-CMBiYTiD.js +1 -0
  312. package/dist/assets/preview-B-jDHJEN.js +1 -0
  313. package/dist/assets/preview-B8lJiyuQ.js +34 -0
  314. package/dist/assets/preview-BBWR9nbA.js +1 -0
  315. package/dist/assets/preview-BWzBA1C2.js +396 -0
  316. package/dist/assets/preview-BzLY45Eo.js +2 -0
  317. package/dist/assets/preview-CYp4EYYZ.js +1 -0
  318. package/dist/assets/preview-CeHM5zqH.js +2 -0
  319. package/dist/assets/preview-CvbIS5ZJ.js +1 -0
  320. package/dist/assets/preview-DGUiP6tS.js +7 -0
  321. package/dist/assets/preview-DHQbi4pV.js +1 -0
  322. package/dist/assets/preview-D_z0Z5cB.js +1 -0
  323. package/dist/assets/preview-MBifGIx_.js +1 -0
  324. package/dist/assets/queryOdysseySelector-B27JCf-A.js +151 -0
  325. package/dist/assets/radioClasses-f3ayyf7y.js +1 -0
  326. package/dist/assets/react-18-CxBTDaIe.js +1 -0
  327. package/dist/assets/resolveComponentProps-DMpKAZvD.js +1 -0
  328. package/dist/assets/tableRowClasses-inqOIkjd.js +1 -0
  329. package/dist/assets/test-utils-H9lH7T5D.js +9 -0
  330. package/dist/assets/tooltipClasses-C74HjonW.js +1 -0
  331. package/dist/assets/typographyClasses-D8vr2n3l.js +1 -0
  332. package/dist/assets/uiShellSharedConstants-DD9UP82e.js +11 -0
  333. package/dist/assets/useAutocomplete-C7VK9p4p.js +11 -0
  334. package/dist/assets/useContrastMode-BthoHtLy.js +21 -0
  335. package/dist/assets/useControlled-NQulfz4l.js +1 -0
  336. package/dist/assets/useFormControl-BMISTZuX.js +1 -0
  337. package/dist/assets/useId-cMcvCE23.js +1 -0
  338. package/dist/assets/useId-kSseQ0DW.js +1 -0
  339. package/dist/assets/useIsFocusVisible-DH0qxT5e.js +1 -0
  340. package/dist/assets/useMobilePicker-CfUl5sFz.js +6 -0
  341. package/dist/assets/useMountLifecycleEffect-CjsUCFhB.js +11 -0
  342. package/dist/assets/useOdysseyDateFields-DQkQFY7w.js +61 -0
  343. package/dist/assets/useScrollIndication-BJW9jXaC.js +31 -0
  344. package/dist/assets/useSlot-F4Qz2Wzp.js +1 -0
  345. package/dist/assets/useTheme-C05bJKih.js +1 -0
  346. package/dist/assets/useThemeProps-BG38P4ul.js +1 -0
  347. package/dist/assets/useThemeProps-Dy5sAWyz.js +1 -0
  348. package/dist/assets/useTranslation-vEf1lqoc.js +1 -0
  349. package/dist/assets/useUniqueId-Bsgqe1tm.js +11 -0
  350. package/dist/assets/utils-gq6yExow.js +1 -0
  351. package/dist/assets/utils-iop7lDec.js +1 -0
  352. package/dist/assets/v4-BOvFkHkt.js +1 -0
  353. package/dist/assets/visuallyHidden-Dan1xhjv.js +1 -0
  354. package/dist/cjs/Buttons/BaseButton.cjs.map +1 -1
  355. package/dist/cjs/Card.cjs +280 -63
  356. package/dist/cjs/Card.cjs.map +1 -1
  357. package/dist/cjs/labs/DataView/CardLayoutContent.cjs +60 -44
  358. package/dist/cjs/labs/DataView/CardLayoutContent.cjs.map +1 -1
  359. package/dist/cjs/labs/DataView/DataCard.cjs +50 -179
  360. package/dist/cjs/labs/DataView/DataCard.cjs.map +1 -1
  361. package/dist/cjs/labs/DataView/componentTypes.cjs.map +1 -1
  362. package/dist/cjs/labs/DatePickers/dateTimePickerTheme.cjs +3 -3
  363. package/dist/cjs/labs/DatePickers/dateTimePickerTheme.cjs.map +1 -1
  364. package/dist/cjs/labs/OdysseyPickers/index.cjs.map +1 -1
  365. package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs +2 -1
  366. package/dist/cjs/properties/ts/odyssey-react-mui_cs.cjs.map +1 -1
  367. package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs +2 -1
  368. package/dist/cjs/properties/ts/odyssey-react-mui_da.cjs.map +1 -1
  369. package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs +2 -1
  370. package/dist/cjs/properties/ts/odyssey-react-mui_de.cjs.map +1 -1
  371. package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs +2 -1
  372. package/dist/cjs/properties/ts/odyssey-react-mui_el.cjs.map +1 -1
  373. package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs +2 -1
  374. package/dist/cjs/properties/ts/odyssey-react-mui_es.cjs.map +1 -1
  375. package/dist/cjs/properties/ts/odyssey-react-mui_eu.cjs +2 -1
  376. package/dist/cjs/properties/ts/odyssey-react-mui_eu.cjs.map +1 -1
  377. package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs +2 -1
  378. package/dist/cjs/properties/ts/odyssey-react-mui_fi.cjs.map +1 -1
  379. package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs +2 -1
  380. package/dist/cjs/properties/ts/odyssey-react-mui_fr.cjs.map +1 -1
  381. package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs +2 -1
  382. package/dist/cjs/properties/ts/odyssey-react-mui_ht.cjs.map +1 -1
  383. package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs +2 -1
  384. package/dist/cjs/properties/ts/odyssey-react-mui_hu.cjs.map +1 -1
  385. package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs +2 -1
  386. package/dist/cjs/properties/ts/odyssey-react-mui_id.cjs.map +1 -1
  387. package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs +2 -1
  388. package/dist/cjs/properties/ts/odyssey-react-mui_it.cjs.map +1 -1
  389. package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs +2 -1
  390. package/dist/cjs/properties/ts/odyssey-react-mui_ja.cjs.map +1 -1
  391. package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs +2 -1
  392. package/dist/cjs/properties/ts/odyssey-react-mui_ko.cjs.map +1 -1
  393. package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs +2 -1
  394. package/dist/cjs/properties/ts/odyssey-react-mui_ms.cjs.map +1 -1
  395. package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs +2 -1
  396. package/dist/cjs/properties/ts/odyssey-react-mui_nb.cjs.map +1 -1
  397. package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs +2 -1
  398. package/dist/cjs/properties/ts/odyssey-react-mui_nl_NL.cjs.map +1 -1
  399. package/dist/cjs/properties/ts/odyssey-react-mui_pl.cjs +2 -1
  400. package/dist/cjs/properties/ts/odyssey-react-mui_pl.cjs.map +1 -1
  401. package/dist/cjs/properties/ts/odyssey-react-mui_pt_BR.cjs +2 -1
  402. package/dist/cjs/properties/ts/odyssey-react-mui_pt_BR.cjs.map +1 -1
  403. package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs +2 -1
  404. package/dist/cjs/properties/ts/odyssey-react-mui_ro.cjs.map +1 -1
  405. package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs +2 -1
  406. package/dist/cjs/properties/ts/odyssey-react-mui_ru.cjs.map +1 -1
  407. package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs +2 -1
  408. package/dist/cjs/properties/ts/odyssey-react-mui_sv.cjs.map +1 -1
  409. package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs +2 -1
  410. package/dist/cjs/properties/ts/odyssey-react-mui_th.cjs.map +1 -1
  411. package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs +2 -1
  412. package/dist/cjs/properties/ts/odyssey-react-mui_tr.cjs.map +1 -1
  413. package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs +2 -1
  414. package/dist/cjs/properties/ts/odyssey-react-mui_uk.cjs.map +1 -1
  415. package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs +2 -1
  416. package/dist/cjs/properties/ts/odyssey-react-mui_vi.cjs.map +1 -1
  417. package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs +2 -1
  418. package/dist/cjs/properties/ts/odyssey-react-mui_zh_CN.cjs.map +1 -1
  419. package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs +2 -1
  420. package/dist/cjs/properties/ts/odyssey-react-mui_zh_TW.cjs.map +1 -1
  421. package/dist/cjs/theme/components.cjs +0 -4
  422. package/dist/cjs/theme/components.cjs.map +1 -1
  423. package/dist/cjs/tools/addSpecificity.cjs.map +1 -0
  424. package/dist/cjs/tools/bufferLatest.cjs.map +1 -0
  425. package/dist/cjs/tools/createMessageBus.cjs.map +1 -0
  426. package/dist/cjs/tools/createStore.cjs.map +1 -0
  427. package/dist/cjs/ui-shell/UiShell.cjs.map +1 -1
  428. package/dist/cjs/ui-shell/UiShellProvider.cjs +1 -1
  429. package/dist/cjs/ui-shell/UiShellProvider.cjs.map +1 -1
  430. package/dist/cjs/ui-shell/renderUiShell.cjs +2 -2
  431. package/dist/cjs/ui-shell/renderUiShell.cjs.map +1 -1
  432. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs +1 -1
  433. package/dist/cjs/web-component/odysseyWebComponentVersion.generated.cjs.map +1 -1
  434. package/dist/esm/Buttons/BaseButton.js.map +1 -1
  435. package/dist/esm/Card.js +281 -63
  436. package/dist/esm/Card.js.map +1 -1
  437. package/dist/esm/labs/DataView/CardLayoutContent.js +61 -45
  438. package/dist/esm/labs/DataView/CardLayoutContent.js.map +1 -1
  439. package/dist/esm/labs/DataView/DataCard.js +50 -179
  440. package/dist/esm/labs/DataView/DataCard.js.map +1 -1
  441. package/dist/esm/labs/DataView/componentTypes.js.map +1 -1
  442. package/dist/esm/labs/DatePickers/dateTimePickerTheme.js +3 -3
  443. package/dist/esm/labs/DatePickers/dateTimePickerTheme.js.map +1 -1
  444. package/dist/esm/labs/OdysseyPickers/index.js.map +1 -1
  445. package/dist/esm/properties/ts/odyssey-react-mui_cs.js +2 -1
  446. package/dist/esm/properties/ts/odyssey-react-mui_cs.js.map +1 -1
  447. package/dist/esm/properties/ts/odyssey-react-mui_da.js +2 -1
  448. package/dist/esm/properties/ts/odyssey-react-mui_da.js.map +1 -1
  449. package/dist/esm/properties/ts/odyssey-react-mui_de.js +2 -1
  450. package/dist/esm/properties/ts/odyssey-react-mui_de.js.map +1 -1
  451. package/dist/esm/properties/ts/odyssey-react-mui_el.js +2 -1
  452. package/dist/esm/properties/ts/odyssey-react-mui_el.js.map +1 -1
  453. package/dist/esm/properties/ts/odyssey-react-mui_es.js +2 -1
  454. package/dist/esm/properties/ts/odyssey-react-mui_es.js.map +1 -1
  455. package/dist/esm/properties/ts/odyssey-react-mui_eu.js +2 -1
  456. package/dist/esm/properties/ts/odyssey-react-mui_eu.js.map +1 -1
  457. package/dist/esm/properties/ts/odyssey-react-mui_fi.js +2 -1
  458. package/dist/esm/properties/ts/odyssey-react-mui_fi.js.map +1 -1
  459. package/dist/esm/properties/ts/odyssey-react-mui_fr.js +2 -1
  460. package/dist/esm/properties/ts/odyssey-react-mui_fr.js.map +1 -1
  461. package/dist/esm/properties/ts/odyssey-react-mui_ht.js +2 -1
  462. package/dist/esm/properties/ts/odyssey-react-mui_ht.js.map +1 -1
  463. package/dist/esm/properties/ts/odyssey-react-mui_hu.js +2 -1
  464. package/dist/esm/properties/ts/odyssey-react-mui_hu.js.map +1 -1
  465. package/dist/esm/properties/ts/odyssey-react-mui_id.js +2 -1
  466. package/dist/esm/properties/ts/odyssey-react-mui_id.js.map +1 -1
  467. package/dist/esm/properties/ts/odyssey-react-mui_it.js +2 -1
  468. package/dist/esm/properties/ts/odyssey-react-mui_it.js.map +1 -1
  469. package/dist/esm/properties/ts/odyssey-react-mui_ja.js +2 -1
  470. package/dist/esm/properties/ts/odyssey-react-mui_ja.js.map +1 -1
  471. package/dist/esm/properties/ts/odyssey-react-mui_ko.js +2 -1
  472. package/dist/esm/properties/ts/odyssey-react-mui_ko.js.map +1 -1
  473. package/dist/esm/properties/ts/odyssey-react-mui_ms.js +2 -1
  474. package/dist/esm/properties/ts/odyssey-react-mui_ms.js.map +1 -1
  475. package/dist/esm/properties/ts/odyssey-react-mui_nb.js +2 -1
  476. package/dist/esm/properties/ts/odyssey-react-mui_nb.js.map +1 -1
  477. package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js +2 -1
  478. package/dist/esm/properties/ts/odyssey-react-mui_nl_NL.js.map +1 -1
  479. package/dist/esm/properties/ts/odyssey-react-mui_pl.js +2 -1
  480. package/dist/esm/properties/ts/odyssey-react-mui_pl.js.map +1 -1
  481. package/dist/esm/properties/ts/odyssey-react-mui_pt_BR.js +2 -1
  482. package/dist/esm/properties/ts/odyssey-react-mui_pt_BR.js.map +1 -1
  483. package/dist/esm/properties/ts/odyssey-react-mui_ro.js +2 -1
  484. package/dist/esm/properties/ts/odyssey-react-mui_ro.js.map +1 -1
  485. package/dist/esm/properties/ts/odyssey-react-mui_ru.js +2 -1
  486. package/dist/esm/properties/ts/odyssey-react-mui_ru.js.map +1 -1
  487. package/dist/esm/properties/ts/odyssey-react-mui_sv.js +2 -1
  488. package/dist/esm/properties/ts/odyssey-react-mui_sv.js.map +1 -1
  489. package/dist/esm/properties/ts/odyssey-react-mui_th.js +2 -1
  490. package/dist/esm/properties/ts/odyssey-react-mui_th.js.map +1 -1
  491. package/dist/esm/properties/ts/odyssey-react-mui_tr.js +2 -1
  492. package/dist/esm/properties/ts/odyssey-react-mui_tr.js.map +1 -1
  493. package/dist/esm/properties/ts/odyssey-react-mui_uk.js +2 -1
  494. package/dist/esm/properties/ts/odyssey-react-mui_uk.js.map +1 -1
  495. package/dist/esm/properties/ts/odyssey-react-mui_vi.js +2 -1
  496. package/dist/esm/properties/ts/odyssey-react-mui_vi.js.map +1 -1
  497. package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js +2 -1
  498. package/dist/esm/properties/ts/odyssey-react-mui_zh_CN.js.map +1 -1
  499. package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js +2 -1
  500. package/dist/esm/properties/ts/odyssey-react-mui_zh_TW.js.map +1 -1
  501. package/dist/esm/theme/components.js +0 -4
  502. package/dist/esm/theme/components.js.map +1 -1
  503. package/dist/esm/tools/addSpecificity.js.map +1 -0
  504. package/dist/esm/tools/bufferLatest.js.map +1 -0
  505. package/dist/esm/tools/createMessageBus.js.map +1 -0
  506. package/dist/esm/tools/createStore.js.map +1 -0
  507. package/dist/esm/ui-shell/UiShell.js.map +1 -1
  508. package/dist/esm/ui-shell/UiShellProvider.js +1 -1
  509. package/dist/esm/ui-shell/UiShellProvider.js.map +1 -1
  510. package/dist/esm/ui-shell/renderUiShell.js +2 -2
  511. package/dist/esm/ui-shell/renderUiShell.js.map +1 -1
  512. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js +1 -1
  513. package/dist/esm/web-component/odysseyWebComponentVersion.generated.js.map +1 -1
  514. package/dist/favicon.svg +1 -0
  515. package/dist/iframe.html +747 -0
  516. package/dist/index.cjs +231 -0
  517. package/dist/index.d.ts +233 -0
  518. package/dist/index.d.ts.map +1 -0
  519. package/dist/index.html +203 -0
  520. package/dist/index.js +25 -0
  521. package/dist/index.json +1 -0
  522. package/dist/index.mjs +229 -0
  523. package/dist/index.scss +549 -0
  524. package/dist/nunito-sans-bold-italic.woff2 +0 -0
  525. package/dist/nunito-sans-bold.woff2 +0 -0
  526. package/dist/nunito-sans-italic.woff2 +0 -0
  527. package/dist/nunito-sans-regular.woff2 +0 -0
  528. package/dist/project.json +1 -0
  529. package/dist/sb-addons/a11y-3/manager-bundle.js +220 -0
  530. package/dist/sb-addons/docs-1/manager-bundle.js +242 -0
  531. package/dist/sb-addons/essentials-actions-5/manager-bundle.js +3 -0
  532. package/dist/sb-addons/essentials-backgrounds-6/manager-bundle.js +12 -0
  533. package/dist/sb-addons/essentials-controls-4/manager-bundle.js +402 -0
  534. package/dist/sb-addons/essentials-measure-9/manager-bundle.js +3 -0
  535. package/dist/sb-addons/essentials-outline-10/manager-bundle.js +3 -0
  536. package/dist/sb-addons/essentials-toolbars-8/manager-bundle.js +3 -0
  537. package/dist/sb-addons/essentials-viewport-7/manager-bundle.js +3 -0
  538. package/dist/sb-addons/interactions-11/manager-bundle.js +222 -0
  539. package/dist/sb-addons/links-2/manager-bundle.js +3 -0
  540. package/dist/sb-addons/rtl-12/manager-bundle.js +3 -0
  541. package/dist/sb-addons/storybook-13/manager-bundle.js +3 -0
  542. package/dist/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
  543. package/dist/sb-common-assets/favicon.svg +1 -0
  544. package/dist/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  545. package/dist/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  546. package/dist/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  547. package/dist/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  548. package/dist/sb-manager/globals-module-info.js +1052 -0
  549. package/dist/sb-manager/globals-runtime.js +42127 -0
  550. package/dist/sb-manager/globals.js +48 -0
  551. package/dist/sb-manager/runtime.js +12048 -0
  552. package/dist/tsconfig.production.tsbuildinfo +1 -1
  553. package/dist/tsconfig.tsbuildinfo +1 -0
  554. package/dist/types/Buttons/BaseButton.d.ts +2 -2
  555. package/dist/types/Buttons/BaseButton.d.ts.map +1 -1
  556. package/dist/types/Card.d.ts +17 -6
  557. package/dist/types/Card.d.ts.map +1 -1
  558. package/dist/types/i18n.d.ts +27 -0
  559. package/dist/types/i18n.d.ts.map +1 -1
  560. package/dist/types/labs/DataView/CardLayoutContent.d.ts.map +1 -1
  561. package/dist/types/labs/DataView/DataCard.d.ts +14 -30
  562. package/dist/types/labs/DataView/DataCard.d.ts.map +1 -1
  563. package/dist/types/labs/DataView/componentTypes.d.ts +1 -1
  564. package/dist/types/labs/DataView/componentTypes.d.ts.map +1 -1
  565. package/dist/types/labs/OdysseyPickers/index.d.ts +1 -2
  566. package/dist/types/labs/OdysseyPickers/index.d.ts.map +1 -1
  567. package/dist/types/properties/ts/odyssey-react-mui_cs.d.ts +1 -0
  568. package/dist/types/properties/ts/odyssey-react-mui_cs.d.ts.map +1 -1
  569. package/dist/types/properties/ts/odyssey-react-mui_da.d.ts +1 -0
  570. package/dist/types/properties/ts/odyssey-react-mui_da.d.ts.map +1 -1
  571. package/dist/types/properties/ts/odyssey-react-mui_de.d.ts +1 -0
  572. package/dist/types/properties/ts/odyssey-react-mui_de.d.ts.map +1 -1
  573. package/dist/types/properties/ts/odyssey-react-mui_el.d.ts +1 -0
  574. package/dist/types/properties/ts/odyssey-react-mui_el.d.ts.map +1 -1
  575. package/dist/types/properties/ts/odyssey-react-mui_es.d.ts +1 -0
  576. package/dist/types/properties/ts/odyssey-react-mui_es.d.ts.map +1 -1
  577. package/dist/types/properties/ts/odyssey-react-mui_eu.d.ts +1 -0
  578. package/dist/types/properties/ts/odyssey-react-mui_eu.d.ts.map +1 -1
  579. package/dist/types/properties/ts/odyssey-react-mui_fi.d.ts +1 -0
  580. package/dist/types/properties/ts/odyssey-react-mui_fi.d.ts.map +1 -1
  581. package/dist/types/properties/ts/odyssey-react-mui_fr.d.ts +1 -0
  582. package/dist/types/properties/ts/odyssey-react-mui_fr.d.ts.map +1 -1
  583. package/dist/types/properties/ts/odyssey-react-mui_ht.d.ts +1 -0
  584. package/dist/types/properties/ts/odyssey-react-mui_ht.d.ts.map +1 -1
  585. package/dist/types/properties/ts/odyssey-react-mui_hu.d.ts +1 -0
  586. package/dist/types/properties/ts/odyssey-react-mui_hu.d.ts.map +1 -1
  587. package/dist/types/properties/ts/odyssey-react-mui_id.d.ts +1 -0
  588. package/dist/types/properties/ts/odyssey-react-mui_id.d.ts.map +1 -1
  589. package/dist/types/properties/ts/odyssey-react-mui_it.d.ts +1 -0
  590. package/dist/types/properties/ts/odyssey-react-mui_it.d.ts.map +1 -1
  591. package/dist/types/properties/ts/odyssey-react-mui_ja.d.ts +1 -0
  592. package/dist/types/properties/ts/odyssey-react-mui_ja.d.ts.map +1 -1
  593. package/dist/types/properties/ts/odyssey-react-mui_ko.d.ts +1 -0
  594. package/dist/types/properties/ts/odyssey-react-mui_ko.d.ts.map +1 -1
  595. package/dist/types/properties/ts/odyssey-react-mui_ms.d.ts +1 -0
  596. package/dist/types/properties/ts/odyssey-react-mui_ms.d.ts.map +1 -1
  597. package/dist/types/properties/ts/odyssey-react-mui_nb.d.ts +1 -0
  598. package/dist/types/properties/ts/odyssey-react-mui_nb.d.ts.map +1 -1
  599. package/dist/types/properties/ts/odyssey-react-mui_nl_NL.d.ts +1 -0
  600. package/dist/types/properties/ts/odyssey-react-mui_nl_NL.d.ts.map +1 -1
  601. package/dist/types/properties/ts/odyssey-react-mui_pl.d.ts +1 -0
  602. package/dist/types/properties/ts/odyssey-react-mui_pl.d.ts.map +1 -1
  603. package/dist/types/properties/ts/odyssey-react-mui_pt_BR.d.ts +1 -0
  604. package/dist/types/properties/ts/odyssey-react-mui_pt_BR.d.ts.map +1 -1
  605. package/dist/types/properties/ts/odyssey-react-mui_ro.d.ts +1 -0
  606. package/dist/types/properties/ts/odyssey-react-mui_ro.d.ts.map +1 -1
  607. package/dist/types/properties/ts/odyssey-react-mui_ru.d.ts +1 -0
  608. package/dist/types/properties/ts/odyssey-react-mui_ru.d.ts.map +1 -1
  609. package/dist/types/properties/ts/odyssey-react-mui_sv.d.ts +1 -0
  610. package/dist/types/properties/ts/odyssey-react-mui_sv.d.ts.map +1 -1
  611. package/dist/types/properties/ts/odyssey-react-mui_th.d.ts +1 -0
  612. package/dist/types/properties/ts/odyssey-react-mui_th.d.ts.map +1 -1
  613. package/dist/types/properties/ts/odyssey-react-mui_tr.d.ts +1 -0
  614. package/dist/types/properties/ts/odyssey-react-mui_tr.d.ts.map +1 -1
  615. package/dist/types/properties/ts/odyssey-react-mui_uk.d.ts +1 -0
  616. package/dist/types/properties/ts/odyssey-react-mui_uk.d.ts.map +1 -1
  617. package/dist/types/properties/ts/odyssey-react-mui_vi.d.ts +1 -0
  618. package/dist/types/properties/ts/odyssey-react-mui_vi.d.ts.map +1 -1
  619. package/dist/types/properties/ts/odyssey-react-mui_zh_CN.d.ts +1 -0
  620. package/dist/types/properties/ts/odyssey-react-mui_zh_CN.d.ts.map +1 -1
  621. package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts +1 -0
  622. package/dist/types/properties/ts/odyssey-react-mui_zh_TW.d.ts.map +1 -1
  623. package/dist/types/theme/components.d.ts.map +1 -1
  624. package/dist/types/tools/addSpecificity.d.ts.map +1 -0
  625. package/dist/types/tools/bufferLatest.d.ts.map +1 -0
  626. package/dist/types/tools/createMessageBus.d.ts.map +1 -0
  627. package/dist/types/tools/createStore.d.ts.map +1 -0
  628. package/dist/types/ui-shell/UiShell.d.ts +1 -1
  629. package/dist/types/ui-shell/UiShell.d.ts.map +1 -1
  630. package/dist/types/ui-shell/UiShellProvider.d.ts +1 -1
  631. package/dist/types/ui-shell/UiShellProvider.d.ts.map +1 -1
  632. package/dist/types/ui-shell/renderUiShell.d.ts +2 -2
  633. package/dist/types/ui-shell/renderUiShell.d.ts.map +1 -1
  634. package/dist/types/web-component/odysseyWebComponentVersion.generated.d.ts +1 -1
  635. package/package.json +9 -9
  636. package/dist/cjs/addSpecificity.cjs.map +0 -1
  637. package/dist/cjs/ui-shell/bufferLatest.cjs.map +0 -1
  638. package/dist/cjs/ui-shell/createMessageBus.cjs.map +0 -1
  639. package/dist/cjs/ui-shell/createStore.cjs.map +0 -1
  640. package/dist/esm/addSpecificity.js.map +0 -1
  641. package/dist/esm/ui-shell/bufferLatest.js.map +0 -1
  642. package/dist/esm/ui-shell/createMessageBus.js.map +0 -1
  643. package/dist/esm/ui-shell/createStore.js.map +0 -1
  644. package/dist/types/addSpecificity.d.ts.map +0 -1
  645. package/dist/types/ui-shell/bufferLatest.d.ts.map +0 -1
  646. package/dist/types/ui-shell/createMessageBus.d.ts.map +0 -1
  647. package/dist/types/ui-shell/createStore.d.ts.map +0 -1
  648. /package/dist/cjs/{addSpecificity.cjs → tools/addSpecificity.cjs} +0 -0
  649. /package/dist/cjs/{ui-shell → tools}/bufferLatest.cjs +0 -0
  650. /package/dist/cjs/{ui-shell → tools}/createMessageBus.cjs +0 -0
  651. /package/dist/cjs/{ui-shell → tools}/createStore.cjs +0 -0
  652. /package/dist/esm/{addSpecificity.js → tools/addSpecificity.js} +0 -0
  653. /package/dist/esm/{ui-shell → tools}/bufferLatest.js +0 -0
  654. /package/dist/esm/{ui-shell → tools}/createMessageBus.js +0 -0
  655. /package/dist/esm/{ui-shell → tools}/createStore.js +0 -0
  656. /package/dist/types/{addSpecificity.d.ts → tools/addSpecificity.d.ts} +0 -0
  657. /package/dist/types/{ui-shell → tools}/bufferLatest.d.ts +0 -0
  658. /package/dist/types/{ui-shell → tools}/createMessageBus.d.ts +0 -0
  659. /package/dist/types/{ui-shell → tools}/createStore.d.ts +0 -0
@@ -0,0 +1,29 @@
1
+ import{j as w}from"./jsx-runtime-CnH95YSl.js";import{r as c,e as ye}from"./index-NdkWRN8K.js";import{f as kt}from"./fieldComponentPropsMetaData-BqbNLw6V.js";import{a as f,_ as B,c as Y}from"./createTheme-BmPXDA4p.js";import{j as Nt,d as Z,l as wt,m as It,a as gt,c as ce,g as ue,u as de,s as q,f as pe,i as We,n as $e,o as Ge,e as qe,b as Dt,r as Ot}from"./TransitionGroupContext-BMO0EZjQ.js";import{T as Lt}from"./emotion-styled.browser.esm-Bcn7fuYX.js";import{_ as Ft}from"./inheritsLoose-CWawPfk8.js";import{R as Pe,r as $t}from"./index-B5xazMy1.js";import{M as Et}from"./MenuItem-CuP47MJ-.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./DefaultPropsProvider-B7tpShA7.js";import"./index-DieBXP3Z.js";import"./MenuContext-DKMyPMNY.js";import"./MenuItem-DjSqFwdt.js";import"./ListContext-C02XM7tn.js";import"./menuItemClasses-DFm3-Sf1.js";import"./generateUtilityClasses-DYvjsuMV.js";import"./TransitionGroupContext-twgBS-Q3.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./ButtonBase-BqXVk-1q.js";import"./assertThisInitialized-B9jnkVVz.js";import"./buttonBaseClasses-CSPKg76d.js";function At(e){return Object.keys(e).length===0}function jt(e=null){const t=c.useContext(Lt);return!t||At(t)?e:t}const _t=Nt();function Ht(e=_t){return jt(e)}function Ve(...e){return e.reduce((t,n)=>n==null?t:function(...s){t.apply(this,s),n.apply(this,s)},()=>{})}function Bt(e,t=166){let n;function o(...s){const r=()=>{e.apply(this,s)};clearTimeout(n),n=setTimeout(r,t)}return o.clear=()=>{clearTimeout(n)},o}function z(e){return e&&e.ownerDocument||document}function Ee(e){return z(e).defaultView||window}function xt(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function bt(e){return typeof e=="string"}function Ut(e,t,n){return e===void 0||bt(e)?t:f({},t,{ownerState:f({},t.ownerState,n)})}function yt(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=yt(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function Xe(){for(var e,t,n=0,o="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=yt(e))&&(o&&(o+=" "),o+=t);return o}function Pt(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(o=>o.match(/^on[A-Z]/)&&typeof e[o]=="function"&&!t.includes(o)).forEach(o=>{n[o]=e[o]}),n}function Ye(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function Kt(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:o,externalForwardedProps:s,className:r}=e;if(!t){const P=Xe(n==null?void 0:n.className,r,s==null?void 0:s.className,o==null?void 0:o.className),E=f({},n==null?void 0:n.style,s==null?void 0:s.style,o==null?void 0:o.style),M=f({},n,s,o);return P.length>0&&(M.className=P),Object.keys(E).length>0&&(M.style=E),{props:M,internalRef:void 0}}const i=Pt(f({},s,o)),a=Ye(o),l=Ye(s),d=t(i),m=Xe(d==null?void 0:d.className,n==null?void 0:n.className,r,s==null?void 0:s.className,o==null?void 0:o.className),v=f({},d==null?void 0:d.style,n==null?void 0:n.style,s==null?void 0:s.style,o==null?void 0:o.style),C=f({},d,n,l,a);return m.length>0&&(C.className=m),Object.keys(v).length>0&&(C.style=v),{props:C,internalRef:d.ref}}function zt(e,t,n){return typeof e=="function"?e(t,n):e}const Wt=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function le(e){var t;const{elementType:n,externalSlotProps:o,ownerState:s,skipResolvingSlotProps:r=!1}=e,i=B(e,Wt),a=r?{}:zt(o,s),{props:l,internalRef:d}=Kt(f({},i,{externalSlotProps:a})),m=Z(d,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return Ut(n,f({},l,{ref:m}),s)}function ke(e){if(parseInt(c.version,10)>=19){var t;return(e==null||(t=e.props)==null?void 0:t.ref)||null}return(e==null?void 0:e.ref)||null}const Gt=c.createContext(),qt=()=>{const e=c.useContext(Gt);return e??!1};function Tt(){const e=Ht(It);return e[wt]||e}const Ze=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Je={disabled:!1};var Vt=function(t){return t.scrollTop},ve="unmounted",Q="exited",ee="entering",ae="entered",Ae="exiting",V=function(e){Ft(t,e);function t(o,s){var r;r=e.call(this,o,s)||this;var i=s,a=i&&!i.isMounting?o.enter:o.appear,l;return r.appearStatus=null,o.in?a?(l=Q,r.appearStatus=ee):l=ae:o.unmountOnExit||o.mountOnEnter?l=ve:l=Q,r.state={status:l},r.nextCallback=null,r}t.getDerivedStateFromProps=function(s,r){var i=s.in;return i&&r.status===ve?{status:Q}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var r=null;if(s!==this.props){var i=this.state.status;this.props.in?i!==ee&&i!==ae&&(r=ee):(i===ee||i===ae)&&(r=Ae)}this.updateStatus(!1,r)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,r,i,a;return r=i=a=s,s!=null&&typeof s!="number"&&(r=s.exit,i=s.enter,a=s.appear!==void 0?s.appear:i),{exit:r,enter:i,appear:a}},n.updateStatus=function(s,r){if(s===void 0&&(s=!1),r!==null)if(this.cancelNextCallback(),r===ee){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:Pe.findDOMNode(this);i&&Vt(i)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Q&&this.setState({status:ve})},n.performEnter=function(s){var r=this,i=this.props.enter,a=this.context?this.context.isMounting:s,l=this.props.nodeRef?[a]:[Pe.findDOMNode(this),a],d=l[0],m=l[1],v=this.getTimeouts(),C=a?v.appear:v.enter;if(!s&&!i||Je.disabled){this.safeSetState({status:ae},function(){r.props.onEntered(d)});return}this.props.onEnter(d,m),this.safeSetState({status:ee},function(){r.props.onEntering(d,m),r.onTransitionEnd(C,function(){r.safeSetState({status:ae},function(){r.props.onEntered(d,m)})})})},n.performExit=function(){var s=this,r=this.props.exit,i=this.getTimeouts(),a=this.props.nodeRef?void 0:Pe.findDOMNode(this);if(!r||Je.disabled){this.safeSetState({status:Q},function(){s.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Ae},function(){s.props.onExiting(a),s.onTransitionEnd(i.exit,function(){s.safeSetState({status:Q},function(){s.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,r){r=this.setNextCallback(r),this.setState(s,r)},n.setNextCallback=function(s){var r=this,i=!0;return this.nextCallback=function(a){i&&(i=!1,r.nextCallback=null,s(a))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},n.onTransitionEnd=function(s,r){this.setNextCallback(r);var i=this.props.nodeRef?this.props.nodeRef.current:Pe.findDOMNode(this),a=s==null&&!this.props.addEndListener;if(!i||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],d=l[0],m=l[1];this.props.addEndListener(d,m)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===ve)return null;var r=this.props,i=r.children;r.in,r.mountOnEnter,r.unmountOnExit,r.appear,r.enter,r.exit,r.timeout,r.addEndListener,r.onEnter,r.onEntering,r.onEntered,r.onExit,r.onExiting,r.onExited,r.nodeRef;var a=B(r,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ye.createElement(gt.Provider,{value:null},typeof i=="function"?i(s,a):ye.cloneElement(ye.Children.only(i),a))},t}(ye.Component);V.contextType=gt;V.propTypes={};function ie(){}V.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ie,onEntering:ie,onEntered:ie,onExit:ie,onExiting:ie,onExited:ie};V.UNMOUNTED=ve;V.EXITED=Q;V.ENTERING=ee;V.ENTERED=ae;V.EXITING=Ae;const Rt=e=>e.scrollTop;function Me(e,t){var n,o;const{timeout:s,easing:r,style:i={}}=e;return{duration:(n=i.transitionDuration)!=null?n:typeof s=="number"?s:s[t.mode]||0,easing:(o=i.transitionTimingFunction)!=null?o:typeof r=="object"?r[t.mode]:r,delay:i.transitionDelay}}function Xt(e){return ce("MuiPaper",e)}ue("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Yt=["className","component","elevation","square","variant"],Zt=e=>{const{square:t,elevation:n,variant:o,classes:s}=e,r={root:["root",o,!t&&"rounded",o==="elevation"&&`elevation${n}`]};return pe(r,Xt,s)},Jt=q("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return f({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&f({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${We.alpha("#fff",Ze(t.elevation))}, ${We.alpha("#fff",Ze(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),Qt=c.forwardRef(function(t,n){const o=de({props:t,name:"MuiPaper"}),{className:s,component:r="div",elevation:i=1,square:a=!1,variant:l="elevation"}=o,d=B(o,Yt),m=f({},o,{component:r,elevation:i,square:a,variant:l}),v=Zt(m);return w.jsx(Jt,f({as:r,ownerState:m,className:Y(v.root,s),ref:n},d))});function en(e){return typeof e=="function"?e():e}const tn=c.forwardRef(function(t,n){const{children:o,container:s,disablePortal:r=!1}=t,[i,a]=c.useState(null),l=Z(c.isValidElement(o)?ke(o):null,n);if($e(()=>{r||a(en(s)||document.body)},[s,r]),$e(()=>{if(i&&!r)return Ge(n,i),()=>{Ge(n,null)}},[n,i,r]),r){if(c.isValidElement(o)){const d={ref:l};return c.cloneElement(o,d)}return w.jsx(c.Fragment,{children:o})}return w.jsx(c.Fragment,{children:i&&$t.createPortal(o,i)})}),nn=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],on={entering:{opacity:1},entered:{opacity:1}},rn=c.forwardRef(function(t,n){const o=Tt(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:r,appear:i=!0,children:a,easing:l,in:d,onEnter:m,onEntered:v,onEntering:C,onExit:P,onExited:E,onExiting:M,style:R,timeout:x=s,TransitionComponent:L=V}=t,u=B(t,nn),p=c.useRef(null),g=Z(p,ke(a),n),S=k=>b=>{if(k){const y=p.current;b===void 0?k(y):k(y,b)}},h=S(C),D=S((k,b)=>{Rt(k);const y=Me({style:R,timeout:x,easing:l},{mode:"enter"});k.style.webkitTransition=o.transitions.create("opacity",y),k.style.transition=o.transitions.create("opacity",y),m&&m(k,b)}),A=S(v),O=S(M),H=S(k=>{const b=Me({style:R,timeout:x,easing:l},{mode:"exit"});k.style.webkitTransition=o.transitions.create("opacity",b),k.style.transition=o.transitions.create("opacity",b),P&&P(k)}),F=S(E),$=k=>{r&&r(p.current,k)};return w.jsx(L,f({appear:i,in:d,nodeRef:p,onEnter:D,onEntered:A,onEntering:h,onExit:H,onExited:F,onExiting:O,addEndListener:$,timeout:x},u,{children:(k,b)=>c.cloneElement(a,f({style:f({opacity:0,visibility:k==="exited"&&!d?"hidden":void 0},on[k],R,a.props.style),ref:g},b))}))});function sn(e){return ce("MuiBackdrop",e)}ue("MuiBackdrop",["root","invisible"]);const an=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],ln=e=>{const{classes:t,invisible:n}=e;return pe({root:["root",n&&"invisible"]},sn,t)},cn=q("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>f({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),un=c.forwardRef(function(t,n){var o,s,r;const i=de({props:t,name:"MuiBackdrop"}),{children:a,className:l,component:d="div",components:m={},componentsProps:v={},invisible:C=!1,open:P,slotProps:E={},slots:M={},TransitionComponent:R=rn,transitionDuration:x}=i,L=B(i,an),u=f({},i,{component:d,invisible:C}),p=ln(u),g=(o=E.root)!=null?o:v.root;return w.jsx(R,f({in:P,timeout:x},L,{children:w.jsx(cn,f({"aria-hidden":!0},g,{as:(s=(r=M.root)!=null?r:m.Root)!=null?s:d,className:Y(p.root,l,g==null?void 0:g.className),ownerState:f({},u,g==null?void 0:g.ownerState),classes:p,ref:n,children:a}))}))});function dn(e){const t=z(e);return t.body===e?Ee(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ge(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Qe(e){return parseInt(Ee(e).getComputedStyle(e).paddingRight,10)||0}function pn(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,o=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||o}function et(e,t,n,o,s){const r=[t,n,...o];[].forEach.call(e.children,i=>{const a=r.indexOf(i)===-1,l=!pn(i);a&&l&&ge(i,s)})}function De(e,t){let n=-1;return e.some((o,s)=>t(o)?(n=s,!0):!1),n}function fn(e,t){const n=[],o=e.container;if(!t.disableScrollLock){if(dn(o)){const i=xt(z(o));n.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight=`${Qe(o)+i}px`;const a=z(o).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Qe(l)+i}px`})}let r;if(o.parentNode instanceof DocumentFragment)r=z(o).body;else{const i=o.parentElement,a=Ee(o);r=(i==null?void 0:i.nodeName)==="HTML"&&a.getComputedStyle(i).overflowY==="scroll"?i:o}n.push({value:r.style.overflow,property:"overflow",el:r},{value:r.style.overflowX,property:"overflow-x",el:r},{value:r.style.overflowY,property:"overflow-y",el:r}),r.style.overflow="hidden"}return()=>{n.forEach(({value:r,el:i,property:a})=>{r?i.style.setProperty(a,r):i.style.removeProperty(a)})}}function mn(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class hn{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let o=this.modals.indexOf(t);if(o!==-1)return o;o=this.modals.length,this.modals.push(t),t.modalRef&&ge(t.modalRef,!1);const s=mn(n);et(n,t.mount,t.modalRef,s,!0);const r=De(this.containers,i=>i.container===n);return r!==-1?(this.containers[r].modals.push(t),o):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:s}),o)}mount(t,n){const o=De(this.containers,r=>r.modals.indexOf(t)!==-1),s=this.containers[o];s.restore||(s.restore=fn(s,n))}remove(t,n=!0){const o=this.modals.indexOf(t);if(o===-1)return o;const s=De(this.containers,i=>i.modals.indexOf(t)!==-1),r=this.containers[s];if(r.modals.splice(r.modals.indexOf(t),1),this.modals.splice(o,1),r.modals.length===0)r.restore&&r.restore(),t.modalRef&&ge(t.modalRef,n),et(r.container,t.mount,t.modalRef,r.hiddenSiblings,!1),this.containers.splice(s,1);else{const i=r.modals[r.modals.length-1];i.modalRef&&ge(i.modalRef,!1)}return o}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const vn=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function gn(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function En(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=o=>e.ownerDocument.querySelector(`input[type="radio"]${o}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function xn(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||En(e))}function bn(e){const t=[],n=[];return Array.from(e.querySelectorAll(vn)).forEach((o,s)=>{const r=gn(o);r===-1||!xn(o)||(r===0?t.push(o):n.push({documentOrder:s,tabIndex:r,node:o}))}),n.sort((o,s)=>o.tabIndex===s.tabIndex?o.documentOrder-s.documentOrder:o.tabIndex-s.tabIndex).map(o=>o.node).concat(t)}function yn(){return!0}function Pn(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:o=!1,disableRestoreFocus:s=!1,getTabbable:r=bn,isEnabled:i=yn,open:a}=e,l=c.useRef(!1),d=c.useRef(null),m=c.useRef(null),v=c.useRef(null),C=c.useRef(null),P=c.useRef(!1),E=c.useRef(null),M=Z(ke(t),E),R=c.useRef(null);c.useEffect(()=>{!a||!E.current||(P.current=!n)},[n,a]),c.useEffect(()=>{if(!a||!E.current)return;const u=z(E.current);return E.current.contains(u.activeElement)||(E.current.hasAttribute("tabIndex")||E.current.setAttribute("tabIndex","-1"),P.current&&E.current.focus()),()=>{s||(v.current&&v.current.focus&&(l.current=!0,v.current.focus()),v.current=null)}},[a]),c.useEffect(()=>{if(!a||!E.current)return;const u=z(E.current),p=h=>{R.current=h,!(o||!i()||h.key!=="Tab")&&u.activeElement===E.current&&h.shiftKey&&(l.current=!0,m.current&&m.current.focus())},g=()=>{const h=E.current;if(h===null)return;if(!u.hasFocus()||!i()||l.current){l.current=!1;return}if(h.contains(u.activeElement)||o&&u.activeElement!==d.current&&u.activeElement!==m.current)return;if(u.activeElement!==C.current)C.current=null;else if(C.current!==null)return;if(!P.current)return;let D=[];if((u.activeElement===d.current||u.activeElement===m.current)&&(D=r(E.current)),D.length>0){var A,O;const H=!!((A=R.current)!=null&&A.shiftKey&&((O=R.current)==null?void 0:O.key)==="Tab"),F=D[0],$=D[D.length-1];typeof F!="string"&&typeof $!="string"&&(H?$.focus():F.focus())}else h.focus()};u.addEventListener("focusin",g),u.addEventListener("keydown",p,!0);const S=setInterval(()=>{u.activeElement&&u.activeElement.tagName==="BODY"&&g()},50);return()=>{clearInterval(S),u.removeEventListener("focusin",g),u.removeEventListener("keydown",p,!0)}},[n,o,s,i,a,r]);const x=u=>{v.current===null&&(v.current=u.relatedTarget),P.current=!0,C.current=u.target;const p=t.props.onFocus;p&&p(u)},L=u=>{v.current===null&&(v.current=u.relatedTarget),P.current=!0};return w.jsxs(c.Fragment,{children:[w.jsx("div",{tabIndex:a?0:-1,onFocus:L,ref:d,"data-testid":"sentinelStart"}),c.cloneElement(t,{ref:M,onFocus:x}),w.jsx("div",{tabIndex:a?0:-1,onFocus:L,ref:m,"data-testid":"sentinelEnd"})]})}function Tn(e){return typeof e=="function"?e():e}function Rn(e){return e?e.props.hasOwnProperty("in"):!1}const Sn=new hn;function Cn(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,manager:s=Sn,closeAfterTransition:r=!1,onTransitionEnter:i,onTransitionExited:a,children:l,onClose:d,open:m,rootRef:v}=e,C=c.useRef({}),P=c.useRef(null),E=c.useRef(null),M=Z(E,v),[R,x]=c.useState(!m),L=Rn(l);let u=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(u=!1);const p=()=>z(P.current),g=()=>(C.current.modalRef=E.current,C.current.mount=P.current,C.current),S=()=>{s.mount(g(),{disableScrollLock:o}),E.current&&(E.current.scrollTop=0)},h=qe(()=>{const y=Tn(t)||p().body;s.add(g(),y),E.current&&S()}),D=c.useCallback(()=>s.isTopModal(g()),[s]),A=qe(y=>{P.current=y,y&&(m&&D()?S():E.current&&ge(E.current,u))}),O=c.useCallback(()=>{s.remove(g(),u)},[u,s]);c.useEffect(()=>()=>{O()},[O]),c.useEffect(()=>{m?h():(!L||!r)&&O()},[m,O,L,r,h]);const H=y=>T=>{var N;(N=y.onKeyDown)==null||N.call(y,T),!(T.key!=="Escape"||T.which===229||!D())&&(n||(T.stopPropagation(),d&&d(T,"escapeKeyDown")))},F=y=>T=>{var N;(N=y.onClick)==null||N.call(y,T),T.target===T.currentTarget&&d&&d(T,"backdropClick")};return{getRootProps:(y={})=>{const T=Pt(e);delete T.onTransitionEnter,delete T.onTransitionExited;const N=f({},T,y);return f({role:"presentation"},N,{onKeyDown:H(N),ref:M})},getBackdropProps:(y={})=>{const T=y;return f({"aria-hidden":!0},T,{onClick:F(T),open:m})},getTransitionProps:()=>{const y=()=>{x(!1),i&&i()},T=()=>{x(!0),a&&a(),r&&O()};return{onEnter:Ve(y,l==null?void 0:l.props.onEnter),onExited:Ve(T,l==null?void 0:l.props.onExited)}},rootRef:M,portalRef:A,isTopModal:D,exited:R,hasTransition:L}}function Mn(e){return ce("MuiModal",e)}ue("MuiModal",["root","hidden","backdrop"]);const kn=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Nn=e=>{const{open:t,exited:n,classes:o}=e;return pe({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Mn,o)},wn=q("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>f({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),In=q(un,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Dn=c.forwardRef(function(t,n){var o,s,r,i,a,l;const d=de({name:"MuiModal",props:t}),{BackdropComponent:m=In,BackdropProps:v,className:C,closeAfterTransition:P=!1,children:E,container:M,component:R,components:x={},componentsProps:L={},disableAutoFocus:u=!1,disableEnforceFocus:p=!1,disableEscapeKeyDown:g=!1,disablePortal:S=!1,disableRestoreFocus:h=!1,disableScrollLock:D=!1,hideBackdrop:A=!1,keepMounted:O=!1,onBackdropClick:H,open:F,slotProps:$,slots:k}=d,b=B(d,kn),y=f({},d,{closeAfterTransition:P,disableAutoFocus:u,disableEnforceFocus:p,disableEscapeKeyDown:g,disablePortal:S,disableRestoreFocus:h,disableScrollLock:D,hideBackdrop:A,keepMounted:O}),{getRootProps:T,getBackdropProps:N,getTransitionProps:_,portalRef:G,isTopModal:xe,exited:K,hasTransition:be}=Cn(f({},y,{rootRef:n})),J=f({},y,{exited:K}),X=Nn(J),te={};if(E.props.tabIndex===void 0&&(te.tabIndex="-1"),be){const{onEnter:I,onExited:j}=_();te.onEnter=I,te.onExited=j}const ne=(o=(s=k==null?void 0:k.root)!=null?s:x.Root)!=null?o:wn,fe=(r=(i=k==null?void 0:k.backdrop)!=null?i:x.Backdrop)!=null?r:m,me=(a=$==null?void 0:$.root)!=null?a:L.root,oe=(l=$==null?void 0:$.backdrop)!=null?l:L.backdrop,we=le({elementType:ne,externalSlotProps:me,externalForwardedProps:b,getSlotProps:T,additionalProps:{ref:n,as:R},ownerState:J,className:Y(C,me==null?void 0:me.className,X==null?void 0:X.root,!J.open&&J.exited&&(X==null?void 0:X.hidden))}),Ie=le({elementType:fe,externalSlotProps:oe,additionalProps:v,getSlotProps:I=>N(f({},I,{onClick:j=>{H&&H(j),I!=null&&I.onClick&&I.onClick(j)}})),className:Y(oe==null?void 0:oe.className,v==null?void 0:v.className,X==null?void 0:X.backdrop),ownerState:J});return!O&&!F&&(!be||K)?null:w.jsx(tn,{ref:G,container:M,disablePortal:S,children:w.jsxs(ne,f({},we,{children:[!A&&m?w.jsx(fe,f({},Ie)):null,w.jsx(Pn,{disableEnforceFocus:p,disableAutoFocus:u,disableRestoreFocus:h,isEnabled:xe,open:F,children:c.cloneElement(E,te)})]}))})}),On=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function je(e){return`scale(${e}, ${e**2})`}const Ln={entering:{opacity:1,transform:je(1)},entered:{opacity:1,transform:"none"}},Oe=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),St=c.forwardRef(function(t,n){const{addEndListener:o,appear:s=!0,children:r,easing:i,in:a,onEnter:l,onEntered:d,onEntering:m,onExit:v,onExited:C,onExiting:P,style:E,timeout:M="auto",TransitionComponent:R=V}=t,x=B(t,On),L=Dt(),u=c.useRef(),p=Tt(),g=c.useRef(null),S=Z(g,ke(r),n),h=b=>y=>{if(b){const T=g.current;y===void 0?b(T):b(T,y)}},D=h(m),A=h((b,y)=>{Rt(b);const{duration:T,delay:N,easing:_}=Me({style:E,timeout:M,easing:i},{mode:"enter"});let G;M==="auto"?(G=p.transitions.getAutoHeightDuration(b.clientHeight),u.current=G):G=T,b.style.transition=[p.transitions.create("opacity",{duration:G,delay:N}),p.transitions.create("transform",{duration:Oe?G:G*.666,delay:N,easing:_})].join(","),l&&l(b,y)}),O=h(d),H=h(P),F=h(b=>{const{duration:y,delay:T,easing:N}=Me({style:E,timeout:M,easing:i},{mode:"exit"});let _;M==="auto"?(_=p.transitions.getAutoHeightDuration(b.clientHeight),u.current=_):_=y,b.style.transition=[p.transitions.create("opacity",{duration:_,delay:T}),p.transitions.create("transform",{duration:Oe?_:_*.666,delay:Oe?T:T||_*.333,easing:N})].join(","),b.style.opacity=0,b.style.transform=je(.75),v&&v(b)}),$=h(C),k=b=>{M==="auto"&&L.start(u.current||0,b),o&&o(g.current,b)};return w.jsx(R,f({appear:s,in:a,nodeRef:g,onEnter:A,onEntered:O,onEntering:D,onExit:F,onExited:$,onExiting:H,addEndListener:k,timeout:M==="auto"?null:M},x,{children:(b,y)=>c.cloneElement(r,f({style:f({opacity:0,transform:je(.75),visibility:b==="exited"&&!a?"hidden":void 0},Ln[b],E,r.props.style),ref:S},y))}))});St.muiSupportAuto=!0;const Fn=c.createContext({});function $n(e){return ce("MuiList",e)}ue("MuiList",["root","padding","dense","subheader"]);const An=["children","className","component","dense","disablePadding","subheader"],jn=e=>{const{classes:t,disablePadding:n,dense:o,subheader:s}=e;return pe({root:["root",!n&&"padding",o&&"dense",s&&"subheader"]},$n,t)},_n=q("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>f({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),Hn=c.forwardRef(function(t,n){const o=de({props:t,name:"MuiList"}),{children:s,className:r,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:d}=o,m=B(o,An),v=c.useMemo(()=>({dense:a}),[a]),C=f({},o,{component:i,dense:a,disablePadding:l}),P=jn(C);return w.jsx(Fn.Provider,{value:v,children:w.jsxs(_n,f({as:i,className:Y(P.root,r),ref:n,ownerState:C},m,{children:[d,s]}))})}),Bn=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Le(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function tt(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Ct(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function he(e,t,n,o,s,r){let i=!1,a=s(e,t,t?n:!1);for(;a;){if(a===e.firstChild){if(i)return!1;i=!0}const l=o?!1:a.disabled||a.getAttribute("aria-disabled")==="true";if(!a.hasAttribute("tabindex")||!Ct(a,r)||l)a=s(e,a,n);else return a.focus(),!0}return!1}const Un=c.forwardRef(function(t,n){const{actions:o,autoFocus:s=!1,autoFocusItem:r=!1,children:i,className:a,disabledItemsFocusable:l=!1,disableListWrap:d=!1,onKeyDown:m,variant:v="selectedMenu"}=t,C=B(t,Bn),P=c.useRef(null),E=c.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});$e(()=>{s&&P.current.focus()},[s]),c.useImperativeHandle(o,()=>({adjustStyleForScrollbar:(u,{direction:p})=>{const g=!P.current.style.width;if(u.clientHeight<P.current.clientHeight&&g){const S=`${xt(z(u))}px`;P.current.style[p==="rtl"?"paddingLeft":"paddingRight"]=S,P.current.style.width=`calc(100% + ${S})`}return P.current}}),[]);const M=u=>{const p=P.current,g=u.key,S=z(p).activeElement;if(g==="ArrowDown")u.preventDefault(),he(p,S,d,l,Le);else if(g==="ArrowUp")u.preventDefault(),he(p,S,d,l,tt);else if(g==="Home")u.preventDefault(),he(p,null,d,l,Le);else if(g==="End")u.preventDefault(),he(p,null,d,l,tt);else if(g.length===1){const h=E.current,D=g.toLowerCase(),A=performance.now();h.keys.length>0&&(A-h.lastTime>500?(h.keys=[],h.repeating=!0,h.previousKeyMatched=!0):h.repeating&&D!==h.keys[0]&&(h.repeating=!1)),h.lastTime=A,h.keys.push(D);const O=S&&!h.repeating&&Ct(S,h);h.previousKeyMatched&&(O||he(p,S,!1,l,Le,h))?u.preventDefault():h.previousKeyMatched=!1}m&&m(u)},R=Z(P,n);let x=-1;c.Children.forEach(i,(u,p)=>{if(!c.isValidElement(u)){x===p&&(x+=1,x>=i.length&&(x=-1));return}u.props.disabled||(v==="selectedMenu"&&u.props.selected||x===-1)&&(x=p),x===p&&(u.props.disabled||u.props.muiSkipListHighlight||u.type.muiSkipListHighlight)&&(x+=1,x>=i.length&&(x=-1))});const L=c.Children.map(i,(u,p)=>{if(p===x){const g={};return r&&(g.autoFocus=!0),u.props.tabIndex===void 0&&v==="selectedMenu"&&(g.tabIndex=0),c.cloneElement(u,g)}return u});return w.jsx(Hn,f({role:"menu",ref:R,className:a,onKeyDown:M,tabIndex:s?0:-1},C,{children:L}))});function Kn(e){return ce("MuiPopover",e)}ue("MuiPopover",["root","paper"]);const zn=["onEntering"],Wn=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Gn=["slotProps"];function nt(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function ot(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function rt(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Fe(e){return typeof e=="function"?e():e}const qn=e=>{const{classes:t}=e;return pe({root:["root"],paper:["paper"]},Kn,t)},Vn=q(Dn,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Mt=q(Qt,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Xn=c.forwardRef(function(t,n){var o,s,r;const i=de({props:t,name:"MuiPopover"}),{action:a,anchorEl:l,anchorOrigin:d={vertical:"top",horizontal:"left"},anchorPosition:m,anchorReference:v="anchorEl",children:C,className:P,container:E,elevation:M=8,marginThreshold:R=16,open:x,PaperProps:L={},slots:u,slotProps:p,transformOrigin:g={vertical:"top",horizontal:"left"},TransitionComponent:S=St,transitionDuration:h="auto",TransitionProps:{onEntering:D}={},disableScrollLock:A=!1}=i,O=B(i.TransitionProps,zn),H=B(i,Wn),F=(o=p==null?void 0:p.paper)!=null?o:L,$=c.useRef(),k=Z($,F.ref),b=f({},i,{anchorOrigin:d,anchorReference:v,elevation:M,marginThreshold:R,externalPaperSlotProps:F,transformOrigin:g,TransitionComponent:S,transitionDuration:h,TransitionProps:O}),y=qn(b),T=c.useCallback(()=>{if(v==="anchorPosition")return m;const I=Fe(l),U=(I&&I.nodeType===1?I:z($.current).body).getBoundingClientRect();return{top:U.top+nt(U,d.vertical),left:U.left+ot(U,d.horizontal)}},[l,d.horizontal,d.vertical,m,v]),N=c.useCallback(I=>({vertical:nt(I,g.vertical),horizontal:ot(I,g.horizontal)}),[g.horizontal,g.vertical]),_=c.useCallback(I=>{const j={width:I.offsetWidth,height:I.offsetHeight},U=N(j);if(v==="none")return{top:null,left:null,transformOrigin:rt(U)};const _e=T();let re=_e.top-U.vertical,se=_e.left-U.horizontal;const He=re+j.height,Be=se+j.width,Ue=Ee(Fe(l)),Ke=Ue.innerHeight-R,ze=Ue.innerWidth-R;if(R!==null&&re<R){const W=re-R;re-=W,U.vertical+=W}else if(R!==null&&He>Ke){const W=He-Ke;re-=W,U.vertical+=W}if(R!==null&&se<R){const W=se-R;se-=W,U.horizontal+=W}else if(Be>ze){const W=Be-ze;se-=W,U.horizontal+=W}return{top:`${Math.round(re)}px`,left:`${Math.round(se)}px`,transformOrigin:rt(U)}},[l,v,T,N,R]),[G,xe]=c.useState(x),K=c.useCallback(()=>{const I=$.current;if(!I)return;const j=_(I);j.top!==null&&(I.style.top=j.top),j.left!==null&&(I.style.left=j.left),I.style.transformOrigin=j.transformOrigin,xe(!0)},[_]);c.useEffect(()=>(A&&window.addEventListener("scroll",K),()=>window.removeEventListener("scroll",K)),[l,A,K]);const be=(I,j)=>{D&&D(I,j),K()},J=()=>{xe(!1)};c.useEffect(()=>{x&&K()}),c.useImperativeHandle(a,()=>x?{updatePosition:()=>{K()}}:null,[x,K]),c.useEffect(()=>{if(!x)return;const I=Bt(()=>{K()}),j=Ee(l);return j.addEventListener("resize",I),()=>{I.clear(),j.removeEventListener("resize",I)}},[l,x,K]);let X=h;h==="auto"&&!S.muiSupportAuto&&(X=void 0);const te=E||(l?z(Fe(l)).body:void 0),ne=(s=u==null?void 0:u.root)!=null?s:Vn,fe=(r=u==null?void 0:u.paper)!=null?r:Mt,me=le({elementType:fe,externalSlotProps:f({},F,{style:G?F.style:f({},F.style,{opacity:0})}),additionalProps:{elevation:M,ref:k},ownerState:b,className:Y(y.paper,F==null?void 0:F.className)}),oe=le({elementType:ne,externalSlotProps:(p==null?void 0:p.root)||{},externalForwardedProps:H,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:te,open:x},ownerState:b,className:Y(y.root,P)}),{slotProps:we}=oe,Ie=B(oe,Gn);return w.jsx(ne,f({},Ie,!bt(ne)&&{slotProps:we,disableScrollLock:A},{children:w.jsx(S,f({appear:!0,in:x,onEntering:be,onExited:J,timeout:X},O,{children:w.jsx(fe,f({},me,{children:C}))}))}))});function Yn(e){return ce("MuiMenu",e)}ue("MuiMenu",["root","paper","list"]);const Zn=["onEntering"],Jn=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Qn={vertical:"top",horizontal:"right"},eo={vertical:"top",horizontal:"left"},to=e=>{const{classes:t}=e;return pe({root:["root"],paper:["paper"],list:["list"]},Yn,t)},no=q(Xn,{shouldForwardProp:e=>Ot(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),oo=q(Mt,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),ro=q(Un,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),so=c.forwardRef(function(t,n){var o,s;const r=de({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:l,disableAutoFocusItem:d=!1,MenuListProps:m={},onClose:v,open:C,PaperProps:P={},PopoverClasses:E,transitionDuration:M="auto",TransitionProps:{onEntering:R}={},variant:x="selectedMenu",slots:L={},slotProps:u={}}=r,p=B(r.TransitionProps,Zn),g=B(r,Jn),S=qt(),h=f({},r,{autoFocus:i,disableAutoFocusItem:d,MenuListProps:m,onEntering:R,PaperProps:P,transitionDuration:M,TransitionProps:p,variant:x}),D=to(h),A=i&&!d&&C,O=c.useRef(null),H=(N,_)=>{O.current&&O.current.adjustStyleForScrollbar(N,{direction:S?"rtl":"ltr"}),R&&R(N,_)},F=N=>{N.key==="Tab"&&(N.preventDefault(),v&&v(N,"tabKeyDown"))};let $=-1;c.Children.map(a,(N,_)=>{c.isValidElement(N)&&(N.props.disabled||(x==="selectedMenu"&&N.props.selected||$===-1)&&($=_))});const k=(o=L.paper)!=null?o:oo,b=(s=u.paper)!=null?s:P,y=le({elementType:L.root,externalSlotProps:u.root,ownerState:h,className:[D.root,l]}),T=le({elementType:k,externalSlotProps:b,ownerState:h,className:D.paper});return w.jsx(no,f({onClose:v,anchorOrigin:{vertical:"bottom",horizontal:S?"right":"left"},transformOrigin:S?Qn:eo,slots:{paper:k,root:L.root},slotProps:{root:y,paper:T},open:C,ref:n,transitionDuration:M,TransitionProps:f({onEntering:H},p),ownerState:h},g,{classes:E,children:w.jsx(ro,f({onKeyDown:F,actions:O,autoFocus:i&&($===-1||d),autoFocusItem:A,variant:x},m,{className:Y(D.list,m.className),children:a}))}))}),No={component:Et,argTypes:{children:{control:"object",description:"The content for the `MenuItem` components within the Menu",table:{type:{summary:"ReactNode"}},type:{required:!0,name:"other",value:"ReactNode"}},hasInitialFocus:{control:"boolean",description:"If `true`, focuses the item when the parent menu opens",table:{type:{summary:"boolean"}}},isDisabled:kt.isDisabled,isSelected:{control:"boolean",description:"If `true`, the menu item will be visually marked as selected.",table:{type:{summary:"boolean"}}},variant:{options:["default","destructive"],control:{type:"radio"},description:"The variant of the triggering Button",table:{type:{summary:["default","destructive"].join(" | ")},defaultValue:{summary:"default"}}}},args:{children:"MenuItem content"},tags:["autodocs"]},Ne=e=>{const t=c.useRef(null);return w.jsx("div",{ref:t,children:w.jsx(so,{anchorEl:t.current,open:!0,children:w.jsx(Et,{...e,children:e.children})})})},Te={render:function(t){return w.jsx(Ne,{...t})}},Re={args:{variant:"destructive",children:"Destructive MenuItem"},render:function(t){return w.jsx(Ne,{...t})}},Se={args:{isDisabled:!0,children:"Disabled MenuItem"},render:function(t){return w.jsx(Ne,{...t})}},Ce={args:{isSelected:!0,children:"Selected MenuItem"},render:function(t){return w.jsx(Ne,{...t})}};var st,it,at;Te.parameters={...Te.parameters,docs:{...(st=Te.parameters)==null?void 0:st.docs,source:{originalSource:`{
2
+ render: function C(props: MenuItemProps) {
3
+ return <BaseStory {...props} />;
4
+ }
5
+ }`,...(at=(it=Te.parameters)==null?void 0:it.docs)==null?void 0:at.source}}};var lt,ct,ut;Re.parameters={...Re.parameters,docs:{...(lt=Re.parameters)==null?void 0:lt.docs,source:{originalSource:`{
6
+ args: {
7
+ variant: "destructive",
8
+ children: "Destructive MenuItem"
9
+ },
10
+ render: function C(props: MenuItemProps) {
11
+ return <BaseStory {...props} />;
12
+ }
13
+ }`,...(ut=(ct=Re.parameters)==null?void 0:ct.docs)==null?void 0:ut.source}}};var dt,pt,ft;Se.parameters={...Se.parameters,docs:{...(dt=Se.parameters)==null?void 0:dt.docs,source:{originalSource:`{
14
+ args: {
15
+ isDisabled: true,
16
+ children: "Disabled MenuItem"
17
+ },
18
+ render: function C(props: MenuItemProps) {
19
+ return <BaseStory {...props} />;
20
+ }
21
+ }`,...(ft=(pt=Se.parameters)==null?void 0:pt.docs)==null?void 0:ft.source}}};var mt,ht,vt;Ce.parameters={...Ce.parameters,docs:{...(mt=Ce.parameters)==null?void 0:mt.docs,source:{originalSource:`{
22
+ args: {
23
+ isSelected: true,
24
+ children: "Selected MenuItem"
25
+ },
26
+ render: function C(props: MenuItemProps) {
27
+ return <BaseStory {...props} />;
28
+ }
29
+ }`,...(vt=(ht=Ce.parameters)==null?void 0:ht.docs)==null?void 0:vt.source}}};const wo=["Simple","Destructive","Disabled","Selected"];export{Re as Destructive,Se as Disabled,Ce as Selected,Te as Simple,wo as __namedExportsOrder,No as default};
@@ -0,0 +1 @@
1
+ import{_ as j,a as H}from"./createTheme-BmPXDA4p.js";import{r as c}from"./index-NdkWRN8K.js";import{j as T}from"./jsx-runtime-CnH95YSl.js";import{u as A}from"./TransitionGroupContext-twgBS-Q3.js";import{g as _}from"./getScrollbarSize-Bqq2hMjQ.js";import{o as C}from"./ownerDocument-DW-IO8s5.js";import{u as O}from"./useIsFocusVisible-DH0qxT5e.js";import{L as z}from"./List-W5kRT_jR.js";const N=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function w(n,t,r){return n===t?n.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:n.firstChild}function D(n,t,r){return n===t?r?n.firstChild:n.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:n.lastChild}function I(n,t){if(t===void 0)return!0;let r=n.innerText;return r===void 0&&(r=n.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.indexOf(t.keys.join(""))===0}function h(n,t,r,b,m,y){let p=!1,u=m(n,t,t?r:!1);for(;u;){if(u===n.firstChild){if(p)return!1;p=!0}const d=b?!1:u.disabled||u.getAttribute("aria-disabled")==="true";if(!u.hasAttribute("tabindex")||!I(u,y)||d)u=m(n,u,r);else return u.focus(),!0}return!1}const J=c.forwardRef(function(t,r){const{actions:b,autoFocus:m=!1,autoFocusItem:y=!1,children:p,className:u,disabledItemsFocusable:d=!1,disableListWrap:g=!1,onKeyDown:x,variant:v="selectedMenu"}=t,F=j(t,N),a=c.useRef(null),M=c.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});A(()=>{m&&a.current.focus()},[m]),c.useImperativeHandle(b,()=>({adjustStyleForScrollbar:(e,{direction:s})=>{const l=!a.current.style.width;if(e.clientHeight<a.current.clientHeight&&l){const f=`${_(C(e))}px`;a.current.style[s==="rtl"?"paddingLeft":"paddingRight"]=f,a.current.style.width=`calc(100% + ${f})`}return a.current}}),[]);const S=e=>{const s=a.current,l=e.key,f=C(s).activeElement;if(l==="ArrowDown")e.preventDefault(),h(s,f,g,d,w);else if(l==="ArrowUp")e.preventDefault(),h(s,f,g,d,D);else if(l==="Home")e.preventDefault(),h(s,null,g,d,w);else if(l==="End")e.preventDefault(),h(s,null,g,d,D);else if(l.length===1){const i=M.current,k=l.toLowerCase(),E=performance.now();i.keys.length>0&&(E-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&k!==i.keys[0]&&(i.repeating=!1)),i.lastTime=E,i.keys.push(k);const R=f&&!i.repeating&&I(f,i);i.previousKeyMatched&&(R||h(s,f,!1,d,w,i))?e.preventDefault():i.previousKeyMatched=!1}x&&x(e)},L=O(a,r);let o=-1;c.Children.forEach(p,(e,s)=>{if(!c.isValidElement(e)){o===s&&(o+=1,o>=p.length&&(o=-1));return}e.props.disabled||(v==="selectedMenu"&&e.props.selected||o===-1)&&(o=s),o===s&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(o+=1,o>=p.length&&(o=-1))});const K=c.Children.map(p,(e,s)=>{if(s===o){const l={};return y&&(l.autoFocus=!0),e.props.tabIndex===void 0&&v==="selectedMenu"&&(l.tabIndex=0),c.cloneElement(e,l)}return e});return T.jsx(z,H({role:"menu",ref:L,className:u,onKeyDown:S,tabIndex:m?0:-1},F,{children:K}))});export{J as M};
@@ -0,0 +1 @@
1
+ import{_ as V,a as v,g as ce,c as G}from"./createTheme-BmPXDA4p.js";import{r as d}from"./index-NdkWRN8K.js";import{u as de,s as X,c as ue}from"./DefaultPropsProvider-B7tpShA7.js";import{g as xe}from"./getScrollbarSize-Bqq2hMjQ.js";import{o as j}from"./ownerDocument-DW-IO8s5.js";import{o as J}from"./ownerWindow-HkKU3E4x.js";import{u as Q}from"./useIsFocusVisible-DH0qxT5e.js";import{a as oe}from"./TransitionGroupContext-twgBS-Q3.js";import{c as re}from"./createChainedFunction-BO_9K8Jh.js";import{e as ve}from"./resolveComponentProps-DMpKAZvD.js";import{g as fe}from"./generateUtilityClasses-DYvjsuMV.js";import{j as B}from"./jsx-runtime-CnH95YSl.js";import{g as pe,u as se,P as ye}from"./Portal-Bvf2g5iG.js";import{u as Re,T as Te,g as ie,r as ke}from"./utils-gq6yExow.js";const Pe=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Ce={entering:{opacity:1},entered:{opacity:1}},Se=d.forwardRef(function(t,o){const n=Re(),s={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:r,appear:i=!0,children:l,easing:u,in:b,onEnter:h,onEntered:g,onEntering:T,onExit:y,onExited:c,onExiting:w,style:P,timeout:C=s,TransitionComponent:S=Te}=t,a=V(t,Pe),E=d.useRef(null),x=Q(E,pe(l),o),k=p=>M=>{if(p){const f=E.current;M===void 0?p(f):p(f,M)}},R=k(T),I=k((p,M)=>{ke(p);const f=ie({style:P,timeout:C,easing:u},{mode:"enter"});p.style.webkitTransition=n.transitions.create("opacity",f),p.style.transition=n.transitions.create("opacity",f),h&&h(p,M)}),O=k(g),N=k(w),D=k(p=>{const M=ie({style:P,timeout:C,easing:u},{mode:"exit"});p.style.webkitTransition=n.transitions.create("opacity",M),p.style.transition=n.transitions.create("opacity",M),y&&y(p)}),L=k(c),F=p=>{r&&r(E.current,p)};return B.jsx(S,v({appear:i,in:b,nodeRef:E,onEnter:I,onEntered:O,onEntering:R,onExit:D,onExited:L,onExiting:N,addEndListener:F,timeout:C},a,{children:(p,M)=>d.cloneElement(l,v({style:v({opacity:0,visibility:p==="exited"&&!b?"hidden":void 0},Ce[p],P,l.props.style),ref:x},M))}))});function Ie(e){return ce("MuiBackdrop",e)}fe("MuiBackdrop",["root","invisible"]);const Ne=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Me=e=>{const{classes:t,invisible:o}=e;return ue({root:["root",o&&"invisible"]},Ie,t)},we=X("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.invisible&&t.invisible]}})(({ownerState:e})=>v({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),Fe=d.forwardRef(function(t,o){var n,s,r;const i=de({props:t,name:"MuiBackdrop"}),{children:l,className:u,component:b="div",components:h={},componentsProps:g={},invisible:T=!1,open:y,slotProps:c={},slots:w={},TransitionComponent:P=Se,transitionDuration:C}=i,S=V(i,Ne),a=v({},i,{component:b,invisible:T}),E=Me(a),x=(n=c.root)!=null?n:g.root;return B.jsx(P,v({in:y,timeout:C},S,{children:B.jsx(we,v({"aria-hidden":!0},x,{as:(s=(r=w.root)!=null?r:h.Root)!=null?s:b,className:G(E.root,u,x==null?void 0:x.className),ownerState:v({},a,x==null?void 0:x.ownerState),classes:E,ref:o,children:l}))}))});function Ae(e){const t=j(e);return t.body===e?J(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function U(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ae(e){return parseInt(J(e).getComputedStyle(e).paddingRight,10)||0}function Be(e){const o=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,n=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return o||n}function le(e,t,o,n,s){const r=[t,o,...n];[].forEach.call(e.children,i=>{const l=r.indexOf(i)===-1,u=!Be(i);l&&u&&U(i,s)})}function q(e,t){let o=-1;return e.some((n,s)=>t(n)?(o=s,!0):!1),o}function Oe(e,t){const o=[],n=e.container;if(!t.disableScrollLock){if(Ae(n)){const i=xe(j(n));o.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${ae(n)+i}px`;const l=j(n).querySelectorAll(".mui-fixed");[].forEach.call(l,u=>{o.push({value:u.style.paddingRight,property:"padding-right",el:u}),u.style.paddingRight=`${ae(u)+i}px`})}let r;if(n.parentNode instanceof DocumentFragment)r=j(n).body;else{const i=n.parentElement,l=J(n);r=(i==null?void 0:i.nodeName)==="HTML"&&l.getComputedStyle(i).overflowY==="scroll"?i:n}o.push({value:r.style.overflow,property:"overflow",el:r},{value:r.style.overflowX,property:"overflow-x",el:r},{value:r.style.overflowY,property:"overflow-y",el:r}),r.style.overflow="hidden"}return()=>{o.forEach(({value:r,el:i,property:l})=>{r?i.style.setProperty(l,r):i.style.removeProperty(l)})}}function Le(e){const t=[];return[].forEach.call(e.children,o=>{o.getAttribute("aria-hidden")==="true"&&t.push(o)}),t}class De{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,o){let n=this.modals.indexOf(t);if(n!==-1)return n;n=this.modals.length,this.modals.push(t),t.modalRef&&U(t.modalRef,!1);const s=Le(o);le(o,t.mount,t.modalRef,s,!0);const r=q(this.containers,i=>i.container===o);return r!==-1?(this.containers[r].modals.push(t),n):(this.containers.push({modals:[t],container:o,restore:null,hiddenSiblings:s}),n)}mount(t,o){const n=q(this.containers,r=>r.modals.indexOf(t)!==-1),s=this.containers[n];s.restore||(s.restore=Oe(s,o))}remove(t,o=!0){const n=this.modals.indexOf(t);if(n===-1)return n;const s=q(this.containers,i=>i.modals.indexOf(t)!==-1),r=this.containers[s];if(r.modals.splice(r.modals.indexOf(t),1),this.modals.splice(n,1),r.modals.length===0)r.restore&&r.restore(),t.modalRef&&U(t.modalRef,o),le(r.container,t.mount,t.modalRef,r.hiddenSiblings,!1),this.containers.splice(s,1);else{const i=r.modals[r.modals.length-1];i.modalRef&&U(i.modalRef,!1)}return n}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const je=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function He(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function _e(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=n=>e.ownerDocument.querySelector(`input[type="radio"]${n}`);let o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}function $e(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||_e(e))}function Ue(e){const t=[],o=[];return Array.from(e.querySelectorAll(je)).forEach((n,s)=>{const r=He(n);r===-1||!$e(n)||(r===0?t.push(n):o.push({documentOrder:s,tabIndex:r,node:n}))}),o.sort((n,s)=>n.tabIndex===s.tabIndex?n.documentOrder-s.documentOrder:n.tabIndex-s.tabIndex).map(n=>n.node).concat(t)}function Ke(){return!0}function We(e){const{children:t,disableAutoFocus:o=!1,disableEnforceFocus:n=!1,disableRestoreFocus:s=!1,getTabbable:r=Ue,isEnabled:i=Ke,open:l}=e,u=d.useRef(!1),b=d.useRef(null),h=d.useRef(null),g=d.useRef(null),T=d.useRef(null),y=d.useRef(!1),c=d.useRef(null),w=Q(pe(t),c),P=d.useRef(null);d.useEffect(()=>{!l||!c.current||(y.current=!o)},[o,l]),d.useEffect(()=>{if(!l||!c.current)return;const a=j(c.current);return c.current.contains(a.activeElement)||(c.current.hasAttribute("tabIndex")||c.current.setAttribute("tabIndex","-1"),y.current&&c.current.focus()),()=>{s||(g.current&&g.current.focus&&(u.current=!0,g.current.focus()),g.current=null)}},[l]),d.useEffect(()=>{if(!l||!c.current)return;const a=j(c.current),E=R=>{P.current=R,!(n||!i()||R.key!=="Tab")&&a.activeElement===c.current&&R.shiftKey&&(u.current=!0,h.current&&h.current.focus())},x=()=>{const R=c.current;if(R===null)return;if(!a.hasFocus()||!i()||u.current){u.current=!1;return}if(R.contains(a.activeElement)||n&&a.activeElement!==b.current&&a.activeElement!==h.current)return;if(a.activeElement!==T.current)T.current=null;else if(T.current!==null)return;if(!y.current)return;let I=[];if((a.activeElement===b.current||a.activeElement===h.current)&&(I=r(c.current)),I.length>0){var O,N;const D=!!((O=P.current)!=null&&O.shiftKey&&((N=P.current)==null?void 0:N.key)==="Tab"),L=I[0],F=I[I.length-1];typeof L!="string"&&typeof F!="string"&&(D?F.focus():L.focus())}else R.focus()};a.addEventListener("focusin",x),a.addEventListener("keydown",E,!0);const k=setInterval(()=>{a.activeElement&&a.activeElement.tagName==="BODY"&&x()},50);return()=>{clearInterval(k),a.removeEventListener("focusin",x),a.removeEventListener("keydown",E,!0)}},[o,n,s,i,l,r]);const C=a=>{g.current===null&&(g.current=a.relatedTarget),y.current=!0,T.current=a.target;const E=t.props.onFocus;E&&E(a)},S=a=>{g.current===null&&(g.current=a.relatedTarget),y.current=!0};return B.jsxs(d.Fragment,{children:[B.jsx("div",{tabIndex:l?0:-1,onFocus:S,ref:b,"data-testid":"sentinelStart"}),d.cloneElement(t,{ref:w,onFocus:C}),B.jsx("div",{tabIndex:l?0:-1,onFocus:S,ref:h,"data-testid":"sentinelEnd"})]})}function ze(e){return typeof e=="function"?e():e}function Ye(e){return e?e.props.hasOwnProperty("in"):!1}const qe=new De;function Ge(e){const{container:t,disableEscapeKeyDown:o=!1,disableScrollLock:n=!1,manager:s=qe,closeAfterTransition:r=!1,onTransitionEnter:i,onTransitionExited:l,children:u,onClose:b,open:h,rootRef:g}=e,T=d.useRef({}),y=d.useRef(null),c=d.useRef(null),w=Q(c,g),[P,C]=d.useState(!h),S=Ye(u);let a=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(a=!1);const E=()=>j(y.current),x=()=>(T.current.modalRef=c.current,T.current.mount=y.current,T.current),k=()=>{s.mount(x(),{disableScrollLock:n}),c.current&&(c.current.scrollTop=0)},R=oe(()=>{const f=ze(t)||E().body;s.add(x(),f),c.current&&k()}),I=d.useCallback(()=>s.isTopModal(x()),[s]),O=oe(f=>{y.current=f,f&&(h&&I()?k():c.current&&U(c.current,a))}),N=d.useCallback(()=>{s.remove(x(),a)},[a,s]);d.useEffect(()=>()=>{N()},[N]),d.useEffect(()=>{h?R():(!S||!r)&&N()},[h,N,S,r,R]);const D=f=>m=>{var A;(A=f.onKeyDown)==null||A.call(f,m),!(m.key!=="Escape"||m.which===229||!I())&&(o||(m.stopPropagation(),b&&b(m,"escapeKeyDown")))},L=f=>m=>{var A;(A=f.onClick)==null||A.call(f,m),m.target===m.currentTarget&&b&&b(m,"backdropClick")};return{getRootProps:(f={})=>{const m=ve(e);delete m.onTransitionEnter,delete m.onTransitionExited;const A=v({},m,f);return v({role:"presentation"},A,{onKeyDown:D(A),ref:w})},getBackdropProps:(f={})=>{const m=f;return v({"aria-hidden":!0},m,{onClick:L(m),open:h})},getTransitionProps:()=>{const f=()=>{C(!1),i&&i()},m=()=>{C(!0),l&&l(),r&&N()};return{onEnter:re(f,u==null?void 0:u.props.onEnter),onExited:re(m,u==null?void 0:u.props.onExited)}},rootRef:w,portalRef:O,isTopModal:I,exited:P,hasTransition:S}}function Ve(e){return ce("MuiModal",e)}fe("MuiModal",["root","hidden","backdrop"]);const Xe=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Je=e=>{const{open:t,exited:o,classes:n}=e;return ue({root:["root",!t&&o&&"hidden"],backdrop:["backdrop"]},Ve,n)},Qe=X("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.open&&o.exited&&t.hidden]}})(({theme:e,ownerState:t})=>v({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),Ze=X(Fe,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),mt=d.forwardRef(function(t,o){var n,s,r,i,l,u;const b=de({name:"MuiModal",props:t}),{BackdropComponent:h=Ze,BackdropProps:g,className:T,closeAfterTransition:y=!1,children:c,container:w,component:P,components:C={},componentsProps:S={},disableAutoFocus:a=!1,disableEnforceFocus:E=!1,disableEscapeKeyDown:x=!1,disablePortal:k=!1,disableRestoreFocus:R=!1,disableScrollLock:I=!1,hideBackdrop:O=!1,keepMounted:N=!1,onBackdropClick:D,open:L,slotProps:F,slots:p}=b,M=V(b,Xe),f=v({},b,{closeAfterTransition:y,disableAutoFocus:a,disableEnforceFocus:E,disableEscapeKeyDown:x,disablePortal:k,disableRestoreFocus:R,disableScrollLock:I,hideBackdrop:O,keepMounted:N}),{getRootProps:m,getBackdropProps:A,getTransitionProps:me,portalRef:he,isTopModal:be,exited:Z,hasTransition:ee}=Ge(v({},f,{rootRef:o})),$=v({},f,{exited:Z}),H=Je($),K={};if(c.props.tabIndex===void 0&&(K.tabIndex="-1"),ee){const{onEnter:_,onExited:W}=me();K.onEnter=_,K.onExited=W}const te=(n=(s=p==null?void 0:p.root)!=null?s:C.Root)!=null?n:Qe,ne=(r=(i=p==null?void 0:p.backdrop)!=null?i:C.Backdrop)!=null?r:h,z=(l=F==null?void 0:F.root)!=null?l:S.root,Y=(u=F==null?void 0:F.backdrop)!=null?u:S.backdrop,ge=se({elementType:te,externalSlotProps:z,externalForwardedProps:M,getSlotProps:m,additionalProps:{ref:o,as:P},ownerState:$,className:G(T,z==null?void 0:z.className,H==null?void 0:H.root,!$.open&&$.exited&&(H==null?void 0:H.hidden))}),Ee=se({elementType:ne,externalSlotProps:Y,additionalProps:g,getSlotProps:_=>A(v({},_,{onClick:W=>{D&&D(W),_!=null&&_.onClick&&_.onClick(W)}})),className:G(Y==null?void 0:Y.className,g==null?void 0:g.className,H==null?void 0:H.backdrop),ownerState:$});return!N&&!L&&(!ee||Z)?null:B.jsx(ye,{ref:he,container:w,disablePortal:k,children:B.jsxs(te,v({},ge,{children:[!O&&h?B.jsx(ne,v({},Ee)):null,B.jsx(We,{disableEnforceFocus:E,disableAutoFocus:a,disableRestoreFocus:R,isEnabled:be,open:L,children:d.cloneElement(c,K)})]}))})});export{Fe as B,Se as F,mt as M,We as a};
@@ -0,0 +1 @@
1
+ import{r}from"./index-NdkWRN8K.js";import{j as o}from"./jsx-runtime-CnH95YSl.js";import{S as t}from"./SvgIcon-BQAg6Jm7.js";const s=r.forwardRef((e,n)=>o.jsx(t,{fill:"none",ref:n,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...e,children:o.jsx(o.Fragment,{children:o.jsx("path",{clipRule:"evenodd",d:"M13.5 4.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm0 7.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM12 21a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",fill:"currentColor",fillRule:"evenodd"})})})),l=r.memo(s);l.displayName="MoreIcon";export{l as M};
@@ -0,0 +1,11 @@
1
+ import{r as t}from"./index-NdkWRN8K.js";/*!
2
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */const o=t.createContext({}),e=()=>t.useContext(o);export{o as M,e as u};
@@ -0,0 +1,173 @@
1
+ import{j as e}from"./jsx-runtime-CnH95YSl.js";import{r as n}from"./index-NdkWRN8K.js";import{f as i}from"./fieldComponentPropsMetaData-BqbNLw6V.js";import{M as Oe}from"./Field-ilPS333M.js";import{g as De,u as Fe}from"./inputUtils-Dbi8XkA6.js";import{S as He}from"./Select-DVJCNQIV.js";import{M as Ne}from"./Link-ClKgpBXG.js";import"./_commonjsHelpers-gnU0ypJ3.js";import"./Box-BXOPvc0Q.js";import"./Box-C2ekHaOu.js";import"./createTheme-BmPXDA4p.js";import"./generateUtilityClasses-DYvjsuMV.js";import"./useTheme-C05bJKih.js";import"./OdysseyDesignTokensContext-BWQIA5ie.js";import"./List-W5kRT_jR.js";import"./DefaultPropsProvider-B7tpShA7.js";import"./ListContext-C02XM7tn.js";import"./ListItem-CcduKzQu.js";import"./utils-iop7lDec.js";import"./useFormControl-BMISTZuX.js";import"./FormLabel-BLeax9q3.js";import"./formLabelClasses-xMgYguuN.js";import"./TransitionGroupContext-twgBS-Q3.js";import"./useIsFocusVisible-DH0qxT5e.js";import"./isHostComponent-DVu5iVWx.js";import"./ButtonBase-BqXVk-1q.js";import"./assertThisInitialized-B9jnkVVz.js";import"./inheritsLoose-CWawPfk8.js";import"./buttonBaseClasses-CSPKg76d.js";import"./ScreenReaderText-vq7_Ob_I.js";import"./visuallyHidden-Dan1xhjv.js";import"./useTranslation-vEf1lqoc.js";import"./context-D_qJ2zXV.js";import"./FormHelperText-ZkUAjajs.js";import"./FieldHint-Cv7aMlpU.js";import"./Typography-CiNRLenM.js";import"./Typography-D7-qxuiy.js";import"./typographyClasses-D8vr2n3l.js";import"./useUniqueId-Bsgqe1tm.js";import"./createUniqueId-ByTaVY63.js";import"./Menu-CGJO1mMf.js";import"./index-CpbQl8EB.js";import"./Portal-Bvf2g5iG.js";import"./resolveComponentProps-DMpKAZvD.js";import"./index-B5xazMy1.js";import"./index-DieBXP3Z.js";import"./Grow-CIie3qhp.js";import"./utils-gq6yExow.js";import"./ownerDocument-DW-IO8s5.js";import"./ownerWindow-HkKU3E4x.js";import"./debounce-Be36O1Ab.js";import"./Modal-CW5mOzJG.js";import"./getScrollbarSize-Bqq2hMjQ.js";import"./createChainedFunction-BO_9K8Jh.js";import"./Paper-DbAuDGNI.js";import"./MenuList-BboivbXC.js";import"./useControlled-NQulfz4l.js";import"./useId-cMcvCE23.js";import"./ArrowDropDown-bSngWMh1.js";import"./inputBaseClasses-PAjj3ZBN.js";import"./createSvgIcon-DiC7XVU3.js";import"./SvgIcon-BQAg6Jm7.js";import"./InputBase--xDu7aWm.js";import"./GlobalStyles-BxDN_5FT.js";import"./ExternalLink-DTdulgUc.js";const Ae=n.forwardRef(({ariaDescribedBy:c,autoCompleteType:o,defaultValue:r,errorMessage:l,errorMessageList:s,hasMultipleChoices:a,hint:h,HintLinkComponent:t,id:m,inputRef:Se,isDisabled:Me=!1,isFullWidth:Le=!1,isMultiSelect:w,isOptional:Ee=!1,label:Ve,onBlur:k,onChange:v,onFocus:O,testId:D,translate:F,value:H,children:N},A)=>{const Te=n.useRef(De({controlledValue:H,uncontrolledValue:r})),G=n.useRef(null);n.useImperativeHandle(Se,()=>({focus:()=>{var d;(d=G.current)==null||d.focus()}}),[]);const P=Fe({defaultValue:r,value:H,controlState:Te.current}),R=n.useCallback((d,T)=>{v==null||v(d,T)},[v]),W=n.useMemo(()=>a===void 0?w:a,[a,w]),we=n.useCallback(({ariaDescribedBy:d,errorMessageElementId:T,labelElementId:ke})=>e.jsx(He,{...P,"aria-describedby":d,autoComplete:o,children:N,id:m,inputProps:{"aria-errormessage":T,"aria-labelledby":ke,"data-se":D},inputRef:G,multiple:W,name:m,native:!0,onBlur:k,onChange:R,onFocus:O,ref:A,translate:F}),[o,N,m,P,W,k,R,O,A,D,F]);return e.jsx(Oe,{ariaDescribedBy:c,errorMessage:l,errorMessageList:s,fieldType:"single",hasVisibleLabel:!0,hint:h,HintLinkComponent:t,id:m,isDisabled:Me,isFullWidth:Le,isOptional:Ee,label:Ve,renderFieldComponent:we})}),p=n.memo(Ae);p.displayName="NativeSelect";const Xo={component:p,argTypes:{children:{description:"The options or optgroup elements within the native select component",table:{type:{summary:"ReactElement<'option'> | ReactElement<'optgroup'> | undefined"}}},defaultValue:{control:"text",description:"The default value of the native select component. Only applicable if `value` is not provided",table:{type:{summary:"string | string[] | undefined"}}},errorMessage:i.errorMessage,errorMessageList:i.errorMessageList,hint:i.hint,HintLinkComponent:i.HintLinkComponent,id:i.id,isDisabled:i.isDisabled,isFullWidth:i.isFullWidth,hasMultipleChoices:{control:"boolean",description:"If `true`, the native select component allows multiple selections",table:{type:{summary:"boolean"},defaultValue:{summary:"false"}}},isOptional:i.isOptional,label:{control:"text",description:"The label text for the native select component",table:{type:{summary:"string"}},type:{required:!0,name:"string"}},onBlur:{description:"Callback fired when the native select component loses focus",table:{type:{summary:"func"}}},onChange:{description:"Callback fired when the value of the native select component changes",table:{type:{summary:"func"}}},onFocus:{description:"Callback fired when the native select component gains focus",table:{type:{summary:"func"}}},value:{control:"text",description:"The value or values selected in the native select component",table:{type:{summary:"string | string[]"}}}},args:{isDisabled:!1,hint:"Select your destination in the Sol system.",isOptional:!1,label:"Destination",id:"SolarDestination",defaultValue:""},tags:["autodocs"]},u={render:function(o){return e.jsx(p,{...o,children:e.jsxs(e.Fragment,{children:[e.jsx("option",{value:"earth",children:"Earth"}),e.jsx("option",{value:"mars",children:"Mars"}),e.jsx("option",{value:"ceres",children:"Ceres"}),e.jsx("option",{value:"eros",children:"Eros"}),e.jsx("option",{value:"tycho-station",children:"Tycho Station"}),e.jsx("option",{value:"phoebe",children:"Phoebe"}),e.jsx("option",{value:"ganymede",children:"Ganymede"})]}),defaultValue:o.defaultValue,errorMessage:o.errorMessage,errorMessageList:o.errorMessageList,hint:o.hint,id:o.id,isDisabled:o.isDisabled,isMultiSelect:o.isMultiSelect,isOptional:o.isOptional,label:o.label})}},Ge={render:function(o){return e.jsx(p,{...o,children:e.jsxs(e.Fragment,{children:[e.jsxs("optgroup",{label:"Sol System",children:[e.jsx("option",{value:"earth",children:"Earth"}),e.jsx("option",{value:"mars",children:"Mars"}),e.jsx("option",{value:"ceres",children:"Ceres"}),e.jsx("option",{value:"eros",children:"Eros"}),e.jsx("option",{value:"tycho-station",children:"Tycho Station"}),e.jsx("option",{value:"phoebe",children:"Phoebe"}),e.jsx("option",{value:"ganymede",children:"Ganymede"})]}),e.jsxs("optgroup",{label:"Extrasolar",children:[e.jsx("option",{value:"auberon",children:"Auberon"}),e.jsx("option",{value:"al-halub",children:"Al-Halub"}),e.jsx("option",{value:"freehold",children:"Freehold"}),e.jsx("option",{value:"laconia",children:"Laconia"}),e.jsx("option",{value:"new-terra",children:"New Terra"})]})]})})}},g={...u},b={...u,args:{isDisabled:!0}},f={...u,args:{errorMessage:"Select your destination."}},x={...u,args:{errorMessage:"Select your destination.",errorMessageList:["Select 1 planet","Select 1 moon"]}},j={...Ge},y={...u,args:{hasMultipleChoices:!0,defaultValue:[]}},C={...u,args:{isOptional:!0}},S={...u,args:{HintLinkComponent:e.jsx(Ne,{href:"/learn-more",children:"Learn more"})}},M={parameters:{docs:{description:{story:"When the component is controlled, the parent component is responsible for passing `value` to the component and listening for changes with `onChange`"}}},args:{},render:function(o){const[r,l]=n.useState(""),s=n.useCallback(a=>l(a.target.value),[]);return e.jsx(p,{...o,children:e.jsxs(e.Fragment,{children:[e.jsxs("optgroup",{label:"Sol System",children:[e.jsx("option",{value:"earth",children:"Earth"}),e.jsx("option",{value:"mars",children:"Mars"}),e.jsx("option",{value:"ceres",children:"Ceres"}),e.jsx("option",{value:"eros",children:"Eros"}),e.jsx("option",{value:"tycho-station",children:"Tycho Station"}),e.jsx("option",{value:"phoebe",children:"Phoebe"}),e.jsx("option",{value:"ganymede",children:"Ganymede"})]}),e.jsxs("optgroup",{label:"Extrasolar",children:[e.jsx("option",{value:"auberon",children:"Auberon"}),e.jsx("option",{value:"al-halub",children:"Al-Halub"}),e.jsx("option",{value:"freehold",children:"Freehold"}),e.jsx("option",{value:"laconia",children:"Laconia"}),e.jsx("option",{value:"new-terra",children:"New Terra"})]})]}),onChange:s,value:r})}},L={parameters:{docs:{description:{story:"When the component is controlled, the parent component is responsible for passing `value` to the component and listening for changes with `onChange`"}}},render:function(o){const[r,l]=n.useState([""]),s=n.useCallback(a=>{const h=[a.target].filter(t=>t instanceof HTMLOptionElement).filter(t=>t.selected).map(t=>t.value);l(h)},[]);return e.jsx(p,{...o,defaultValue:void 0,hasMultipleChoices:!0,onChange:s,value:r,children:e.jsxs(e.Fragment,{children:[e.jsxs("optgroup",{label:"Sol System",children:[e.jsx("option",{value:"earth",children:"Earth"}),e.jsx("option",{value:"mars",children:"Mars"}),e.jsx("option",{value:"ceres",children:"Ceres"}),e.jsx("option",{value:"eros",children:"Eros"}),e.jsx("option",{value:"tycho-station",children:"Tycho Station"}),e.jsx("option",{value:"phoebe",children:"Phoebe"}),e.jsx("option",{value:"ganymede",children:"Ganymede"})]}),e.jsxs("optgroup",{label:"Extrasolar",children:[e.jsx("option",{value:"auberon",children:"Auberon"}),e.jsx("option",{value:"al-halub",children:"Al-Halub"}),e.jsx("option",{value:"freehold",children:"Freehold"}),e.jsx("option",{value:"laconia",children:"Laconia"}),e.jsx("option",{value:"new-terra",children:"New Terra"})]})]})})}},E={parameters:{docs:{description:{story:"When the component is controlled, the parent component is responsible for passing `value` to the component and listening for changes with `onChange`"}}},args:{},render:function(o){const[r,l]=n.useState("Laconia"),s=n.useCallback(a=>l(a.target.value),[]);return e.jsx(p,{...o,children:e.jsxs(e.Fragment,{children:[e.jsxs("optgroup",{label:"Sol System",children:[e.jsx("option",{value:"earth",children:"Earth"}),e.jsx("option",{value:"mars",children:"Mars"}),e.jsx("option",{value:"ceres",children:"Ceres"}),e.jsx("option",{value:"eros",children:"Eros"}),e.jsx("option",{value:"tycho-station",children:"Tycho Station"}),e.jsx("option",{value:"phoebe",children:"Phoebe"}),e.jsx("option",{value:"ganymede",children:"Ganymede"})]}),e.jsxs("optgroup",{label:"Extrasolar",children:[e.jsx("option",{value:"auberon",children:"Auberon"}),e.jsx("option",{value:"al-halub",children:"Al-Halub"}),e.jsx("option",{value:"freehold",children:"Freehold"}),e.jsx("option",{value:"laconia",children:"Laconia"}),e.jsx("option",{value:"new-terra",children:"New Terra"})]})]}),onChange:s,value:r})}},V={parameters:{docs:{description:{story:"When the component is controlled, the parent component is responsible for passing `value` to the component and listening for changes with `onChange`.\n\nPreselected values are referenced by the value of the `value` attritube on `option` elements."}}},render:function(o){const[r,l]=n.useState(["laconia","new-terra"]),s=n.useCallback(a=>{const h=[a.target].filter(t=>t instanceof HTMLOptionElement).filter(t=>t.selected).map(t=>t.value);l(h)},[]);return e.jsx(p,{...o,defaultValue:void 0,hasMultipleChoices:!0,onChange:s,value:r,children:e.jsxs(e.Fragment,{children:[e.jsxs("optgroup",{label:"Sol System",children:[e.jsx("option",{value:"earth",children:"Earth"}),e.jsx("option",{value:"mars",children:"Mars"}),e.jsx("option",{value:"ceres",children:"Ceres"}),e.jsx("option",{value:"eros",children:"Eros"}),e.jsx("option",{value:"tycho-station",children:"Tycho Station"}),e.jsx("option",{value:"phoebe",children:"Phoebe"}),e.jsx("option",{value:"ganymede",children:"Ganymede"})]}),e.jsxs("optgroup",{label:"Extrasolar",children:[e.jsx("option",{value:"auberon",children:"Auberon"}),e.jsx("option",{value:"al-halub",children:"Al-Halub"}),e.jsx("option",{value:"freehold",children:"Freehold"}),e.jsx("option",{value:"laconia",children:"Laconia"}),e.jsx("option",{value:"new-terra",children:"New Terra"})]})]})})}};var q,z,I;g.parameters={...g.parameters,docs:{...(q=g.parameters)==null?void 0:q.docs,source:{originalSource:`{
2
+ ...Template
3
+ }`,...(I=(z=g.parameters)==null?void 0:z.docs)==null?void 0:I.source}}};var B,_,J;b.parameters={...b.parameters,docs:{...(B=b.parameters)==null?void 0:B.docs,source:{originalSource:`{
4
+ ...Template,
5
+ args: {
6
+ isDisabled: true
7
+ }
8
+ }`,...(J=(_=b.parameters)==null?void 0:_.docs)==null?void 0:J.source}}};var K,Q,U;f.parameters={...f.parameters,docs:{...(K=f.parameters)==null?void 0:K.docs,source:{originalSource:`{
9
+ ...Template,
10
+ args: {
11
+ errorMessage: "Select your destination."
12
+ }
13
+ }`,...(U=(Q=f.parameters)==null?void 0:Q.docs)==null?void 0:U.source}}};var X,Y,Z;x.parameters={...x.parameters,docs:{...(X=x.parameters)==null?void 0:X.docs,source:{originalSource:`{
14
+ ...Template,
15
+ args: {
16
+ errorMessage: "Select your destination.",
17
+ errorMessageList: ["Select 1 planet", "Select 1 moon"]
18
+ }
19
+ }`,...(Z=(Y=x.parameters)==null?void 0:Y.docs)==null?void 0:Z.source}}};var $,ee,oe;j.parameters={...j.parameters,docs:{...($=j.parameters)==null?void 0:$.docs,source:{originalSource:`{
20
+ ...GroupTemplate
21
+ }`,...(oe=(ee=j.parameters)==null?void 0:ee.docs)==null?void 0:oe.source}}};var ne,te,ae;y.parameters={...y.parameters,docs:{...(ne=y.parameters)==null?void 0:ne.docs,source:{originalSource:`{
22
+ ...Template,
23
+ args: {
24
+ hasMultipleChoices: true,
25
+ defaultValue: []
26
+ }
27
+ }`,...(ae=(te=y.parameters)==null?void 0:te.docs)==null?void 0:ae.source}}};var re,le,se;C.parameters={...C.parameters,docs:{...(re=C.parameters)==null?void 0:re.docs,source:{originalSource:`{
28
+ ...Template,
29
+ args: {
30
+ isOptional: true
31
+ }
32
+ }`,...(se=(le=C.parameters)==null?void 0:le.docs)==null?void 0:se.source}}};var ie,pe,ce;S.parameters={...S.parameters,docs:{...(ie=S.parameters)==null?void 0:ie.docs,source:{originalSource:`{
33
+ ...Template,
34
+ args: {
35
+ HintLinkComponent: <Link href="/learn-more">Learn more</Link>
36
+ }
37
+ }`,...(ce=(pe=S.parameters)==null?void 0:pe.docs)==null?void 0:ce.source}}};var ue,de,he;M.parameters={...M.parameters,docs:{...(ue=M.parameters)==null?void 0:ue.docs,source:{originalSource:`{
38
+ parameters: {
39
+ docs: {
40
+ description: {
41
+ story: "When the component is controlled, the parent component is responsible for passing \`value\` to the component and listening for changes with \`onChange\`"
42
+ }
43
+ }
44
+ },
45
+ args: {},
46
+ render: function C(args) {
47
+ const [localValue, setLocalValue] = useState("");
48
+ const onChange = useCallback((event: SelectChangeEvent<string | string[]>) => setLocalValue(event.target.value as string), []);
49
+ return <NativeSelect {...args} children={<>
50
+ <optgroup label="Sol System">
51
+ <option value="earth">Earth</option>
52
+ <option value="mars">Mars</option>
53
+ <option value="ceres">Ceres</option>
54
+ <option value="eros">Eros</option>
55
+ <option value="tycho-station">Tycho Station</option>
56
+ <option value="phoebe">Phoebe</option>
57
+ <option value="ganymede">Ganymede</option>
58
+ </optgroup>
59
+ <optgroup label="Extrasolar">
60
+ <option value="auberon">Auberon</option>
61
+ <option value="al-halub">Al-Halub</option>
62
+ <option value="freehold">Freehold</option>
63
+ <option value="laconia">Laconia</option>
64
+ <option value="new-terra">New Terra</option>
65
+ </optgroup>
66
+ </>} onChange={onChange} value={localValue} />;
67
+ }
68
+ }`,...(he=(de=M.parameters)==null?void 0:de.docs)==null?void 0:he.source}}};var me,ve,ge;L.parameters={...L.parameters,docs:{...(me=L.parameters)==null?void 0:me.docs,source:{originalSource:`{
69
+ parameters: {
70
+ docs: {
71
+ description: {
72
+ story: "When the component is controlled, the parent component is responsible for passing \`value\` to the component and listening for changes with \`onChange\`"
73
+ }
74
+ }
75
+ },
76
+ render: function C(args) {
77
+ const [localValue, setLocalValue] = useState([""]);
78
+ const onChange = useCallback<Required<NativeSelectProps<typeof localValue, true>>["onChange"]>(event => {
79
+ const selectedOptions = [event.target].filter(option => option instanceof HTMLOptionElement).filter(option => option.selected).map(selectedOption => selectedOption.value);
80
+ setLocalValue(selectedOptions);
81
+ }, []);
82
+ return <NativeSelect {...args} defaultValue={undefined} hasMultipleChoices={true}
83
+ // @ts-expect-error This is going to break because generics aren't passed through.
84
+ onChange={onChange} value={localValue}>
85
+ <>
86
+ <optgroup label="Sol System">
87
+ <option value="earth">Earth</option>
88
+ <option value="mars">Mars</option>
89
+ <option value="ceres">Ceres</option>
90
+ <option value="eros">Eros</option>
91
+ <option value="tycho-station">Tycho Station</option>
92
+ <option value="phoebe">Phoebe</option>
93
+ <option value="ganymede">Ganymede</option>
94
+ </optgroup>
95
+ <optgroup label="Extrasolar">
96
+ <option value="auberon">Auberon</option>
97
+ <option value="al-halub">Al-Halub</option>
98
+ <option value="freehold">Freehold</option>
99
+ <option value="laconia">Laconia</option>
100
+ <option value="new-terra">New Terra</option>
101
+ </optgroup>
102
+ </>
103
+ </NativeSelect>;
104
+ }
105
+ }`,...(ge=(ve=L.parameters)==null?void 0:ve.docs)==null?void 0:ge.source}}};var be,fe,xe;E.parameters={...E.parameters,docs:{...(be=E.parameters)==null?void 0:be.docs,source:{originalSource:`{
106
+ parameters: {
107
+ docs: {
108
+ description: {
109
+ story: "When the component is controlled, the parent component is responsible for passing \`value\` to the component and listening for changes with \`onChange\`"
110
+ }
111
+ }
112
+ },
113
+ args: {},
114
+ render: function C(args) {
115
+ const [localValue, setLocalValue] = useState("Laconia");
116
+ const onChange = useCallback((event: SelectChangeEvent<string | string[]>) => setLocalValue(event.target.value as string), []);
117
+ return <NativeSelect {...args} children={<>
118
+ <optgroup label="Sol System">
119
+ <option value="earth">Earth</option>
120
+ <option value="mars">Mars</option>
121
+ <option value="ceres">Ceres</option>
122
+ <option value="eros">Eros</option>
123
+ <option value="tycho-station">Tycho Station</option>
124
+ <option value="phoebe">Phoebe</option>
125
+ <option value="ganymede">Ganymede</option>
126
+ </optgroup>
127
+ <optgroup label="Extrasolar">
128
+ <option value="auberon">Auberon</option>
129
+ <option value="al-halub">Al-Halub</option>
130
+ <option value="freehold">Freehold</option>
131
+ <option value="laconia">Laconia</option>
132
+ <option value="new-terra">New Terra</option>
133
+ </optgroup>
134
+ </>} onChange={onChange} value={localValue} />;
135
+ }
136
+ }`,...(xe=(fe=E.parameters)==null?void 0:fe.docs)==null?void 0:xe.source}}};var je,ye,Ce;V.parameters={...V.parameters,docs:{...(je=V.parameters)==null?void 0:je.docs,source:{originalSource:`{
137
+ parameters: {
138
+ docs: {
139
+ description: {
140
+ story: "When the component is controlled, the parent component is responsible for passing \`value\` to the component and listening for changes with \`onChange\`.\\n\\nPreselected values are referenced by the value of the \`value\` attritube on \`option\` elements."
141
+ }
142
+ }
143
+ },
144
+ render: function C(args) {
145
+ const [localValue, setLocalValue] = useState(["laconia", "new-terra"]);
146
+ const onChange = useCallback<Required<NativeSelectProps<typeof localValue, true>>["onChange"]>(event => {
147
+ const selectedOptions = [event.target].filter(option => option instanceof HTMLOptionElement).filter(option => option.selected).map(selectedOption => selectedOption.value);
148
+ setLocalValue(selectedOptions);
149
+ }, []);
150
+ return <NativeSelect {...args} defaultValue={undefined} hasMultipleChoices
151
+ // @ts-expect-error This is going to break because generics aren't passed through.
152
+ onChange={onChange} value={localValue}>
153
+ <>
154
+ <optgroup label="Sol System">
155
+ <option value="earth">Earth</option>
156
+ <option value="mars">Mars</option>
157
+ <option value="ceres">Ceres</option>
158
+ <option value="eros">Eros</option>
159
+ <option value="tycho-station">Tycho Station</option>
160
+ <option value="phoebe">Phoebe</option>
161
+ <option value="ganymede">Ganymede</option>
162
+ </optgroup>
163
+ <optgroup label="Extrasolar">
164
+ <option value="auberon">Auberon</option>
165
+ <option value="al-halub">Al-Halub</option>
166
+ <option value="freehold">Freehold</option>
167
+ <option value="laconia">Laconia</option>
168
+ <option value="new-terra">New Terra</option>
169
+ </optgroup>
170
+ </>
171
+ </NativeSelect>;
172
+ }
173
+ }`,...(Ce=(ye=V.parameters)==null?void 0:ye.docs)==null?void 0:Ce.source}}};const Yo=["Default","DefaultDisabled","DefaultError","ErrorsList","DefaultGrouped","Multi","Optional","HintLink","Controlled","ControlledMultiselect","ControlledPreselected","ControlledPreselectedMultiselect"];export{M as Controlled,L as ControlledMultiselect,E as ControlledPreselected,V as ControlledPreselectedMultiselect,g as Default,b as DefaultDisabled,f as DefaultError,j as DefaultGrouped,x as ErrorsList,S as HintLink,y as Multi,C as Optional,Yo as __namedExportsOrder,Xo as default};
@@ -0,0 +1,11 @@
1
+ import{r as e}from"./index-NdkWRN8K.js";const t="#8d8d8d",n="#e1e1e1",o="#e1e1e1",c="#fe8f7a",a="#e72500",s="#951800",r="#546be7",p="#2e40a5",i="4px",l="6px",u="12px",g="1.5em",y="solid",H="1px",h="1.5px",d="0px 1px 2px 0px rgba(39, 39, 39, 0.07)",T="0px 1px 4px 0px rgba(39, 39, 39, 0.08), 0px 4px 6px 0px rgba(39, 39, 39, 0.01), 0px 5px 15px 0px rgba(39, 39, 39, 0.05)",f="0px 1px 4px 0px rgba(39, 39, 39, 0.08), 0px 4px 10px 0px rgba(39, 39, 39, 0.08), 0px 8px 30px 0px rgba(39, 39, 39, 0.10)",m="#546be7",S="#e72500",x="2px",F="0",A="solid",B="2px",C="1px",b="#f4f4f4",D="#ededed",P="#e1e1e1",O="#cbcbcb",M="#aeaeae",k="#8d8d8d",w="#6e6e6e",L="#4b4b4b",E="#383838",N="#272727",W="#ffffff",R="#f2f3fd",z="#dbe0fa",v="#c1c9f6",G="#9daaf1",I="#7286eb",Y="#546be7",U="#4C64E1",_="#2e40a5",j="#22307c",q="#182257",V="#defae7",J="#94f5b3",K="#7be09e",Q="#59c282",X="#31a061",Z="#16884a",$="#197f48",ee="#0e562f",te="#0a4023",ne="#072e19",oe="#fff0ee",ce="#ffd8d1",ae="#febbae",se="#fe8f7a",re="#fd4e2d",pe="#e72500",ie="#d92300",le="#951800",ue="#711200",ge="#500d00",ye="#fdfad9",He="#ffe01a",he="#f9c503",de="#eb9e05",Te="#bf8004",fe="#a16c03",me="#966603",Se="#664402",xe="#4c3302",Fe="#352401",Ae="#F5F2FD",Be="#E4DFF1",Ce="#D2C2FF",be="#B89FFE",De="#9777F9",Pe="#8951FB",Oe="#6E47C9",Me="#5227BE",ke="#401895",we="#2B0679",Le="#FCF2E8",Ee="#F7DCD6",Ne="#F2C299",We="#ED9B58",Re="#E06C07",ze="#C25608",ve="#964E1E",Ge="#964E1E",Ie="#50301B",Ye="#3E1F09",Ue="#E1F7F7",_e="#BCEBEA",je="#89D9D9",qe="#5CBDBD",Ve="#269C9C",Je="#008585",Ke="#1B6C6C",Qe="#255157",Xe="#1C3D3D",Ze="#12282B",$e="#FFF2E6",et="#EBDFCA",tt="#D6C9AD",nt="#C2AB84",ot="#A18A60",ct="#87744D",at="#696803",st="#574931",rt="#403727",pt="#2E2618",it="#f2f3fd",lt="#9daaf1",ut="#546be7",gt="#2e40a5",yt="#22307c",Ht="#4C64E1",ht="#182257",dt="#dbe0fa",Tt="#fff0ee",ft="#fe8f7a",mt="#e72500",St="#951800",xt="#711200",Ft="#d92300",At="#500d00",Bt="#ffd8d1",Ct="#fdfad9",bt="#eb9e05",Dt="#a16c03",Pt="#664402",Ot="#4c3302",Mt="#966603",kt="#352401",wt="#ffe01a",Lt="#defae7",Et="#59c282",Nt="#16884a",Wt="#0e562f",Rt="#0a4023",zt="#197f48",vt="#072e19",Gt="#94f5b3",It="#6e6e6e",Yt="#272727",Ut="FF",_t="BF",jt="0px 1px 4px rgba(29, 29, 33, 0.08), 0px 4px 6px rgba(29, 29, 33, 0.01), 0px 5px 15px rgba(29, 29, 33, 0.05)",qt="0px 1px 4px rgba(29, 29, 33, 0.08), 0px 4px 10px rgba(29, 29, 33, 0.08), 0px 8px 30px rgba(29, 29, 33, 0.1)",Vt="0",Jt="0.28571429rem",Kt="0.57142857rem",Qt="0.85714286rem",Xt="1.14285714rem",Zt="1.71428571rem",$t="2.28571429rem",en="2.85714286rem",tn="3.42857143rem",nn="4rem",on="100ms",cn=100,an="linear",sn="#272727",rn="#272727",pn="#ffffff",ln="#4b4b4b",un="#6e6e6e",gn="#aeaeae",yn="#4C64E1",Hn="#d92300",hn="#197f48",dn="#966603",Tn="'-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Oxygen-Sans', 'Ubuntu', 'Cantarell'",fn="'Helvetica Neue', sans-serif",mn="'Aeonik'",Sn="'Inter'",xn="'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif",Fn="'Aeonik', 'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif",An="'Aeonik', 'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue', sans-serif",Bn="'Roboto Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",Cn="0.857rem",bn="1rem",Dn="1.143rem",Pn="1.286rem",On="1.429rem",Mn="1.571rem",kn="1.786rem",wn="2rem",Ln="2.286rem",En="2.571rem",Nn="2.857rem",Wn="3.214rem",Rn="3.643rem",zn="87.5%",vn="0.7142857143rem",Gn="0.857rem",In="1rem",Yn="1.143rem",Un="1.286rem",_n="1.571rem",jn="2rem",qn="2.286rem",Vn="2.571rem",Jn="normal",Kn="400",Qn="600",Xn="500",Zn="700",$n=1.5,eo=1.2,to=1.3,no=1.3,oo=1.3,co=1.25,ao=1.25,so=1.2,ro=1.2,po="55ch",io=".05em",lo=Object.freeze(Object.defineProperty({__proto__:null,BorderColorControl:t,BorderColorDangerControl:a,BorderColorDangerDark:s,BorderColorDangerLight:c,BorderColorDisabled:o,BorderColorDisplay:n,BorderColorPrimaryControl:r,BorderColorPrimaryDark:p,BorderRadiusMain:l,BorderRadiusOuter:u,BorderRadiusRound:g,BorderRadiusTight:i,BorderStyleMain:y,BorderWidthHeavy:h,BorderWidthMain:H,DepthHigh:f,DepthLow:d,DepthMedium:T,FocusOutlineColorDanger:S,FocusOutlineColorPrimary:m,FocusOutlineOffsetMain:x,FocusOutlineOffsetTight:F,FocusOutlineStyle:A,FocusOutlineWidthMain:B,FocusOutlineWidthTight:C,HueAccentFour100:et,HueAccentFour200:tt,HueAccentFour300:nt,HueAccentFour400:ot,HueAccentFour50:$e,HueAccentFour500:ct,HueAccentFour600:at,HueAccentFour700:st,HueAccentFour800:rt,HueAccentFour900:pt,HueAccentOne100:Be,HueAccentOne200:Ce,HueAccentOne300:be,HueAccentOne400:De,HueAccentOne50:Ae,HueAccentOne500:Pe,HueAccentOne600:Oe,HueAccentOne700:Me,HueAccentOne800:ke,HueAccentOne900:we,HueAccentThree100:_e,HueAccentThree200:je,HueAccentThree300:qe,HueAccentThree400:Ve,HueAccentThree50:Ue,HueAccentThree500:Je,HueAccentThree600:Ke,HueAccentThree700:Qe,HueAccentThree800:Xe,HueAccentThree900:Ze,HueAccentTwo100:Ee,HueAccentTwo200:Ne,HueAccentTwo300:We,HueAccentTwo400:Re,HueAccentTwo50:Le,HueAccentTwo500:ze,HueAccentTwo600:ve,HueAccentTwo700:Ge,HueAccentTwo800:Ie,HueAccentTwo900:Ye,HueBlue100:z,HueBlue200:v,HueBlue300:G,HueBlue400:I,HueBlue50:R,HueBlue500:Y,HueBlue600:U,HueBlue700:_,HueBlue800:j,HueBlue900:q,HueGreen100:J,HueGreen200:K,HueGreen300:Q,HueGreen400:X,HueGreen50:V,HueGreen500:Z,HueGreen600:$,HueGreen700:ee,HueGreen800:te,HueGreen900:ne,HueNeutral100:D,HueNeutral200:P,HueNeutral300:O,HueNeutral400:M,HueNeutral50:b,HueNeutral500:k,HueNeutral600:w,HueNeutral700:L,HueNeutral800:E,HueNeutral900:N,HueNeutralWhite:W,HueRed100:ce,HueRed200:ae,HueRed300:se,HueRed400:re,HueRed50:oe,HueRed500:pe,HueRed600:ie,HueRed700:le,HueRed800:ue,HueRed900:ge,HueYellow100:He,HueYellow200:he,HueYellow300:de,HueYellow400:Te,HueYellow50:ye,HueYellow500:fe,HueYellow600:me,HueYellow700:Se,HueYellow800:xe,HueYellow900:Fe,PaletteAlphaOpaque:Ut,PaletteAlphaSemi:_t,PaletteDangerDark:St,PaletteDangerDarker:xt,PaletteDangerHeading:At,PaletteDangerHighlight:Bt,PaletteDangerLight:ft,PaletteDangerLighter:Tt,PaletteDangerMain:mt,PaletteDangerText:Ft,PaletteNeutralDark:Yt,PaletteNeutralMain:It,PalettePrimaryDark:gt,PalettePrimaryDarker:yt,PalettePrimaryHeading:ht,PalettePrimaryHighlight:dt,PalettePrimaryLight:lt,PalettePrimaryLighter:it,PalettePrimaryMain:ut,PalettePrimaryText:Ht,PaletteSuccessDark:Wt,PaletteSuccessDarker:Rt,PaletteSuccessHeading:vt,PaletteSuccessHighlight:Gt,PaletteSuccessLight:Et,PaletteSuccessLighter:Lt,PaletteSuccessMain:Nt,PaletteSuccessText:zt,PaletteWarningDark:Pt,PaletteWarningDarker:Ot,PaletteWarningHeading:kt,PaletteWarningHighlight:wt,PaletteWarningLight:bt,PaletteWarningLighter:Ct,PaletteWarningMain:Dt,PaletteWarningText:Mt,ShadowScale0:jt,ShadowScale1:qt,Spacing0:Vt,Spacing1:Jt,Spacing2:Kt,Spacing3:Qt,Spacing4:Xt,Spacing5:Zt,Spacing6:$t,Spacing7:en,Spacing8:tn,Spacing9:nn,TransitionDurationMain:on,TransitionDurationMainAsNumber:cn,TransitionTimingMain:an,TypographyColorAction:yn,TypographyColorBody:sn,TypographyColorDanger:Hn,TypographyColorDisabled:gn,TypographyColorHeading:rn,TypographyColorInverse:pn,TypographyColorSubordinate:un,TypographyColorSuccess:hn,TypographyColorSupport:ln,TypographyColorWarning:dn,TypographyFamilyAeonik:mn,TypographyFamilyBody:xn,TypographyFamilyButton:An,TypographyFamilyFallback:fn,TypographyFamilyHeading:Fn,TypographyFamilyInter:Sn,TypographyFamilyMono:Bn,TypographyFamilySystem:Tn,TypographyLetterSpacingOverline:io,TypographyLineHeightBody:$n,TypographyLineHeightHeading1:ro,TypographyLineHeightHeading2:so,TypographyLineHeightHeading3:ao,TypographyLineHeightHeading4:co,TypographyLineHeightHeading5:oo,TypographyLineHeightHeading6:no,TypographyLineHeightOverline:to,TypographyLineHeightUi:eo,TypographyLineLengthMax:po,TypographyScale0:Cn,TypographyScale1:bn,TypographyScale10:Nn,TypographyScale11:Wn,TypographyScale12:Rn,TypographyScale2:Dn,TypographyScale3:Pn,TypographyScale4:On,TypographyScale5:Mn,TypographyScale6:kn,TypographyScale7:wn,TypographyScale8:Ln,TypographyScale9:En,TypographySizeBase:zn,TypographySizeBody:In,TypographySizeHeading1:Vn,TypographySizeHeading2:qn,TypographySizeHeading3:jn,TypographySizeHeading4:_n,TypographySizeHeading5:Un,TypographySizeHeading6:Yn,TypographySizeOverline:vn,TypographySizeSubordinate:Gn,TypographyStyleNormal:Jn,TypographyWeightBody:Kn,TypographyWeightBodyBold:Qn,TypographyWeightHeading:Xn,TypographyWeightHeadingBold:Zn},Symbol.toStringTag,{value:"Module"}));/*!
2
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */const uo=lo,go=e.createContext(uo),Ho=()=>e.useContext(go);export{b as H,go as O,Zt as S,lo as o,Ho as u};
@@ -0,0 +1,41 @@
1
+ import{r as t}from"./index-NdkWRN8K.js";import{A as O,I as j}from"./createTheme-BmPXDA4p.js";import{j as a}from"./jsx-runtime-CnH95YSl.js";import{M}from"./OdysseyThemeProvider-aR5shtx6.js";import{d as P,r as l}from"./i18n-DmkmAJlT.js";import{i as u}from"./i18next-DbMy2do-.js";import{I as S}from"./context-D_qJ2zXV.js";import{S as b}from"./ScopedCssBaseline-FivWKbYZ.js";function g({i18n:e,defaultNS:r,children:s}){const o=t.useMemo(()=>({i18n:e,defaultNS:r}),[e,r]);return t.createElement(S.Provider,{value:o},s)}const I=()=>Math.random().toString(36).replace(/[\d.]/g,"");/*!
2
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
3
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
4
+ *
5
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
6
+ * Unless required by applicable law or agreed to in writing, software
7
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
8
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9
+ *
10
+ * See the License for the specific language governing permissions and limitations under the License.
11
+ */const C=e=>t.useMemo(()=>I(),[]);/*!
12
+ * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
13
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
14
+ *
15
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
16
+ * Unless required by applicable law or agreed to in writing, software
17
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
18
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ *
20
+ * See the License for the specific language governing permissions and limitations under the License.
21
+ */const A=({children:e,emotionRoot:r,emotionRootElement:s,hasShadowDom:o,nonce:n,shadowDomElement:h,stylisPlugins:i})=>{const d=C(),c=o||h,m=t.useMemo(()=>O({...(s||r)&&{container:s||r},key:d,nonce:n??globalThis.cspNonce,prepend:!0,speedy:!c,...i&&{stylisPlugins:i}}),[r,s,c,n,i,d]);return a.jsx(j,{value:m,children:e})},p=t.memo(A);p.displayName="OdysseyCacheProvider";/*!
22
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
23
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
24
+ *
25
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
26
+ * Unless required by applicable law or agreed to in writing, software
27
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
28
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29
+ *
30
+ * See the License for the specific language governing permissions and limitations under the License.
31
+ */const q=Object.keys;/*!
32
+ * Copyright (c) 2023-present, Okta, Inc. and/or its affiliates. All rights reserved.
33
+ * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
34
+ *
35
+ * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
36
+ * Unless required by applicable law or agreed to in writing, software
37
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
38
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
39
+ *
40
+ * See the License for the specific language governing permissions and limitations under the License.
41
+ */const w=(e,r)=>{const s=r[e];return{...e in l?l[e]:{},...s}},B=({children:e,languageCode:r,translationOverrides:s})=>(t.useEffect(()=>{u.changeLanguage(r||window.navigator.language)},[r]),t.useEffect(()=>{s&&q(s).forEach(o=>{const n=w(o,s);u.addResourceBundle(o,P,n)})},[s]),a.jsx(g,{i18n:u,children:e})),E={height:"inherit"},y=({children:e,contrastMode:r,designTokensOverride:s,emotionRoot:o,emotionRootElement:n,hasScopedCssBaseline:h=!0,languageCode:i,nonce:d,shadowDomElement:c,shadowRootElement:m,stylisPlugins:f,themeOverride:v,translationOverrides:x})=>a.jsx(p,{emotionRootElement:n||o,hasShadowDom:!!(m||c),nonce:d,stylisPlugins:f,children:a.jsx(M,{contrastMode:r,designTokensOverride:s,shadowDomElement:c,shadowRootElement:m,themeOverride:v,children:a.jsx(B,{languageCode:i,translationOverrides:x,children:h?a.jsx(b,{sx:E,children:e}):e})})});y.displayName="OdysseyProvider";const F=t.memo(y);export{F as M};