welcome-ui 8.0.0-alpha.0 → 8.1.0-alpha.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 (301) hide show
  1. package/dist/AXB53BZF-XKOjjeWO.mjs +25 -0
  2. package/dist/Accordion.mjs +30 -23
  3. package/dist/Alert.mjs +76 -70
  4. package/dist/AspectRatio.mjs +8 -10
  5. package/dist/Avatar.mjs +48 -47
  6. package/dist/{BYC7LY2E-CVjUW1dr.mjs → BYC7LY2E-CWSI38FM.mjs} +355 -351
  7. package/dist/Badge.mjs +25 -25
  8. package/dist/Box.mjs +5 -5
  9. package/dist/Breadcrumb.mjs +173 -168
  10. package/dist/Button.mjs +72 -67
  11. package/dist/ButtonGroup.mjs +13 -12
  12. package/dist/Card.mjs +14 -14
  13. package/dist/Checkbox.mjs +2 -2
  14. package/dist/ClearButton.mjs +15 -15
  15. package/dist/CloseButton.mjs +9 -9
  16. package/dist/{CustomInput-D_13Gd_3.mjs → CustomPopper-CZt4RioF.mjs} +3200 -3047
  17. package/dist/DatePicker.mjs +81 -80
  18. package/dist/DateTimePicker.mjs +67 -62
  19. package/dist/DateTimePickerCommon.mjs +1 -1
  20. package/dist/Drawer.mjs +190 -174
  21. package/dist/DropdownMenu.mjs +389 -386
  22. package/dist/Field.mjs +104 -92
  23. package/dist/FieldGroup.mjs +12 -9
  24. package/dist/FileDrop.mjs +613 -576
  25. package/dist/FileUpload.mjs +95 -74
  26. package/dist/Files.mjs +46 -46
  27. package/dist/Flex.mjs +13 -13
  28. package/dist/Grid.mjs +29 -29
  29. package/dist/Hint.mjs +12 -12
  30. package/dist/ITI7HKP4-C89kOQb8.mjs +474 -0
  31. package/dist/Icon.mjs +24 -24
  32. package/dist/Icons.mjs +988 -988
  33. package/dist/IconsFont.mjs +159 -159
  34. package/dist/InputText.mjs +65 -57
  35. package/dist/{JC64G2H7-Dey-8h60.mjs → JC64G2H7-afsomHuH.mjs} +109 -108
  36. package/dist/KUU7WJ55-CzsjuIMv.mjs +61 -0
  37. package/dist/LVA2YJMS-C-kJ1lkr.mjs +873 -0
  38. package/dist/Label.mjs +37 -35
  39. package/dist/Link.mjs +28 -24
  40. package/dist/Loader.mjs +20 -16
  41. package/dist/Logo.mjs +55 -42
  42. package/dist/MTZPJQMC-TybFZCho.mjs +15 -0
  43. package/dist/Modal.mjs +276 -253
  44. package/dist/NLEBE274-oSxMftGy.mjs +84 -0
  45. package/dist/P2CTZE2T-DOT1mNnX.mjs +301 -0
  46. package/dist/P4IRICAX-CWSZLTGz.mjs +37 -0
  47. package/dist/Pagination.mjs +104 -104
  48. package/dist/PasswordInput.mjs +35 -34
  49. package/dist/Picker.mjs +35 -33
  50. package/dist/Popover.mjs +100 -93
  51. package/dist/QYJ6MIDR-DJ-vUdAM.mjs +98 -0
  52. package/dist/Radio.mjs +58 -52
  53. package/dist/RadioGroup.mjs +46 -46
  54. package/dist/RadioTab.mjs +37 -35
  55. package/dist/{SYRFVSLH-cVmYtx36.mjs → SYRFVSLH-B6m278Vb.mjs} +18 -17
  56. package/dist/Search.mjs +175 -161
  57. package/dist/Select.mjs +885 -847
  58. package/dist/Shape.mjs +9 -9
  59. package/dist/Slider.mjs +359 -336
  60. package/dist/Stack.mjs +22 -24
  61. package/dist/Swiper.mjs +324 -311
  62. package/dist/Table.mjs +23 -23
  63. package/dist/Tabs.mjs +250 -245
  64. package/dist/Tag.mjs +51 -49
  65. package/dist/Text.mjs +49 -47
  66. package/dist/Textarea.mjs +39 -39
  67. package/dist/TimePicker.mjs +57 -56
  68. package/dist/Toast.mjs +144 -137
  69. package/dist/Toggle.mjs +27 -24
  70. package/dist/Tooltip.mjs +115 -111
  71. package/dist/UniversalLink.mjs +16 -16
  72. package/dist/VEVQD5MH-0w9Y7Ytc.mjs +20 -0
  73. package/dist/{VGCJ63VH-B39w1tBw.mjs → VGCJ63VH-C0UPBY-5.mjs} +61 -62
  74. package/dist/VariantIcon.mjs +14 -22
  75. package/dist/WelcomeLoader.mjs +4863 -9223
  76. package/dist/WuiProvider.mjs +69 -58
  77. package/dist/X5NMLKT6-BJw3xE-K.mjs +25 -0
  78. package/dist/YV4JVR4I-DPC8mMuG.mjs +344 -0
  79. package/dist/downshift.esm-B7Jil1wW.mjs +1082 -0
  80. package/dist/{field-styles-DLIhqG_8.mjs → field-styles-BVlRlvuu.mjs} +2 -2
  81. package/dist/{hex-to-rgba-BIDK-3ab.mjs → hex-to-rgba-DU_XzKIK.mjs} +2 -2
  82. package/dist/hide-focus-rings-root-CCXdysih.mjs +15 -0
  83. package/dist/index-5HBq1O6Z.mjs +185 -0
  84. package/dist/{index-C7zM96J_.mjs → index-BaLGEKs7.mjs} +8 -8
  85. package/dist/{index-BYdkhqH4.mjs → index-CBBbX29m.mjs} +3652 -3584
  86. package/dist/index-CYmF7qCH.mjs +11 -0
  87. package/dist/index-C_k-m0Rl.mjs +36 -0
  88. package/dist/index-D8v_VJ9z.mjs +26 -0
  89. package/dist/{index-BNGGwOCo.mjs → index-DAZ1SYdj.mjs} +7 -7
  90. package/dist/{index-SbQUT2mU.mjs → index-DgSynio4.mjs} +244 -239
  91. package/dist/index-DpkNUfAS.mjs +11 -0
  92. package/dist/{index-DqBUFsqP.mjs → index-DvzWKxKE.mjs} +7 -7
  93. package/dist/{index-BJAZgeHL.mjs → index-QaLwIvZS.mjs} +8 -8
  94. package/dist/{index-BQtDgQBH.mjs → index-SQQQ4dEE.mjs} +8 -8
  95. package/dist/index-i_anpNhw.mjs +66 -0
  96. package/dist/index-wl3X6EM1.mjs +16 -0
  97. package/dist/jsx-runtime-B7I4PJ0H.mjs +613 -0
  98. package/dist/radio-group-C0fUHvam.mjs +52 -0
  99. package/dist/theme.mjs +1175 -1120
  100. package/dist/throttle-CW18pWlW.mjs +13 -0
  101. package/dist/types/components/Accordion/index.d.ts +1 -1
  102. package/dist/types/components/Accordion/styles.d.ts +2 -2
  103. package/dist/types/components/Accordion/theme.d.ts +1 -1
  104. package/dist/types/components/Alert/index.d.ts +2 -2
  105. package/dist/types/components/Alert/styles.d.ts +9 -9
  106. package/dist/types/components/Alert/theme.d.ts +4 -4
  107. package/dist/types/components/Avatar/index.d.ts +2 -3
  108. package/dist/types/components/Avatar/styles.d.ts +8 -8
  109. package/dist/types/components/Avatar/theme.d.ts +3 -3
  110. package/dist/types/components/Avatar/utils.d.ts +1 -1
  111. package/dist/types/components/Badge/index.d.ts +2 -2
  112. package/dist/types/components/Badge/styles.d.ts +5 -5
  113. package/dist/types/components/Badge/theme.d.ts +1 -1
  114. package/dist/types/components/Breadcrumb/Item.d.ts +1 -1
  115. package/dist/types/components/Breadcrumb/index.d.ts +2 -2
  116. package/dist/types/components/Breadcrumb/theme.d.ts +1 -1
  117. package/dist/types/components/Button/index.d.ts +4 -5
  118. package/dist/types/components/Button/styles.d.ts +1 -1
  119. package/dist/types/components/Button/theme.d.ts +7 -7
  120. package/dist/types/components/ButtonGroup/index.d.ts +3 -3
  121. package/dist/types/components/Card/Cover.styles.d.ts +4 -4
  122. package/dist/types/components/Card/index.d.ts +2 -3
  123. package/dist/types/components/Card/theme.d.ts +1 -1
  124. package/dist/types/components/Checkbox/index.d.ts +2 -2
  125. package/dist/types/components/Checkbox/styles.d.ts +1 -1
  126. package/dist/types/components/Checkbox/theme.d.ts +1 -1
  127. package/dist/types/components/ClearButton/index.d.ts +5 -6
  128. package/dist/types/components/ClearButton/styles.d.ts +4 -4
  129. package/dist/types/components/CloseButton/styles.d.ts +4 -4
  130. package/dist/types/components/DatePicker/index.d.ts +3 -3
  131. package/dist/types/components/DateTimePicker/index.d.ts +2 -2
  132. package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +1 -1
  133. package/dist/types/components/DateTimePickerCommon/CustomInput.d.ts +5 -5
  134. package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +1 -1
  135. package/dist/types/components/DateTimePickerCommon/index.d.ts +2 -2
  136. package/dist/types/components/DateTimePickerCommon/theme.d.ts +1 -1
  137. package/dist/types/components/DateTimePickerCommon/utils.d.ts +2 -2
  138. package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +1 -1
  139. package/dist/types/components/Drawer/AssetDrawer/index.d.ts +1 -1
  140. package/dist/types/components/Drawer/index.d.ts +12 -12
  141. package/dist/types/components/Drawer/styles.d.ts +5 -5
  142. package/dist/types/components/Drawer/theme.d.ts +2 -2
  143. package/dist/types/components/DropdownMenu/index.d.ts +4 -4
  144. package/dist/types/components/DropdownMenu/theme.d.ts +1 -1
  145. package/dist/types/components/Field/index.d.ts +8 -8
  146. package/dist/types/components/Field/styles.d.ts +1 -1
  147. package/dist/types/components/Field/utils.d.ts +1 -1
  148. package/dist/types/components/FileDrop/FilePreview.d.ts +2 -2
  149. package/dist/types/components/FileDrop/Message.d.ts +1 -1
  150. package/dist/types/components/FileDrop/index.d.ts +20 -20
  151. package/dist/types/components/FileDrop/theme.d.ts +1 -1
  152. package/dist/types/components/FileUpload/index.d.ts +13 -13
  153. package/dist/types/components/Files/index.d.ts +5 -5
  154. package/dist/types/components/Files/types.d.ts +1 -1
  155. package/dist/types/components/Hint/index.d.ts +1 -2
  156. package/dist/types/components/Hint/theme.d.ts +1 -1
  157. package/dist/types/components/Icon/index.d.ts +3 -3
  158. package/dist/types/components/Icon/styles.d.ts +3 -3
  159. package/dist/types/components/Icon/theme.d.ts +3 -3
  160. package/dist/types/components/Icons/Sun/content.json.d.ts +2 -1
  161. package/dist/types/components/Icons/index.d.ts +2 -2
  162. package/dist/types/components/IconsFont/index.d.ts +2 -3
  163. package/dist/types/components/IconsFont/styles.d.ts +1 -1
  164. package/dist/types/components/InputText/index.d.ts +1 -1
  165. package/dist/types/components/InputText/styles.d.ts +1 -1
  166. package/dist/types/components/Label/index.d.ts +2 -3
  167. package/dist/types/components/Label/theme.d.ts +1 -1
  168. package/dist/types/components/Link/index.d.ts +5 -5
  169. package/dist/types/components/Link/styles.d.ts +4 -4
  170. package/dist/types/components/Link/theme.d.ts +1 -1
  171. package/dist/types/components/Loader/index.d.ts +1 -1
  172. package/dist/types/components/Loader/styles.d.ts +4 -4
  173. package/dist/types/components/Loader/theme.d.ts +4 -4
  174. package/dist/types/components/Logo/Solutions.d.ts +1 -2
  175. package/dist/types/components/Logo/Symbol.d.ts +1 -2
  176. package/dist/types/components/Logo/Wui.d.ts +1 -2
  177. package/dist/types/components/Logo/index.d.ts +5 -5
  178. package/dist/types/components/Modal/Assets/Backdrop.d.ts +5 -6
  179. package/dist/types/components/Modal/Assets/Iframe.d.ts +1 -2
  180. package/dist/types/components/Modal/Assets/index.d.ts +9 -9
  181. package/dist/types/components/Modal/Assets/styles.d.ts +8 -8
  182. package/dist/types/components/Modal/Close.d.ts +3 -4
  183. package/dist/types/components/Modal/Content.d.ts +4 -5
  184. package/dist/types/components/Modal/Footer.d.ts +1 -1
  185. package/dist/types/components/Modal/Header.d.ts +2 -2
  186. package/dist/types/components/Modal/index.d.ts +17 -17
  187. package/dist/types/components/Modal/styles.d.ts +7 -7
  188. package/dist/types/components/Modal/theme.d.ts +2 -2
  189. package/dist/types/components/Pagination/index.d.ts +2 -2
  190. package/dist/types/components/Pagination/theme.d.ts +1 -1
  191. package/dist/types/components/Pagination/utils.d.ts +1 -1
  192. package/dist/types/components/Picker/index.d.ts +1 -1
  193. package/dist/types/components/Picker/styles.d.ts +1 -1
  194. package/dist/types/components/Popover/Arrow.d.ts +1 -2
  195. package/dist/types/components/Popover/Content.d.ts +2 -3
  196. package/dist/types/components/Popover/Popover.d.ts +4 -5
  197. package/dist/types/components/Popover/PopoverHover.d.ts +3 -4
  198. package/dist/types/components/Popover/Trigger.d.ts +1 -1
  199. package/dist/types/components/Popover/styles.d.ts +4 -4
  200. package/dist/types/components/Popover/theme.d.ts +1 -1
  201. package/dist/types/components/Popover/usePopover.d.ts +6 -6
  202. package/dist/types/components/Radio/index.d.ts +3 -3
  203. package/dist/types/components/Radio/styles.d.ts +5 -5
  204. package/dist/types/components/Radio/theme.d.ts +1 -1
  205. package/dist/types/components/RadioGroup/index.d.ts +2 -2
  206. package/dist/types/components/RadioTab/index.d.ts +3 -3
  207. package/dist/types/components/RadioTab/styles.d.ts +3 -9
  208. package/dist/types/components/RadioTab/theme.d.ts +1 -1
  209. package/dist/types/components/Search/index.d.ts +5 -5
  210. package/dist/types/components/Select/index.d.ts +11 -11
  211. package/dist/types/components/Select/styles.d.ts +6 -6
  212. package/dist/types/components/Select/utils.d.ts +11 -7
  213. package/dist/types/components/Shape/index.d.ts +1 -1
  214. package/dist/types/components/Shape/styles.d.ts +3 -3
  215. package/dist/types/components/Slider/Range.d.ts +3 -3
  216. package/dist/types/components/Slider/index.d.ts +2 -2
  217. package/dist/types/components/Slider/styles.d.ts +16 -16
  218. package/dist/types/components/Slider/theme.d.ts +1 -1
  219. package/dist/types/components/Stack/index.d.ts +1 -1
  220. package/dist/types/components/Swiper/index.d.ts +17 -18
  221. package/dist/types/components/Swiper/styles.d.ts +56 -56
  222. package/dist/types/components/Swiper/theme.d.ts +1 -1
  223. package/dist/types/components/System/index.d.ts +14 -14
  224. package/dist/types/components/Table/index.d.ts +6 -7
  225. package/dist/types/components/Table/styles.d.ts +1 -1
  226. package/dist/types/components/Table/theme.d.ts +1 -1
  227. package/dist/types/components/Tabs/ActiveBar.d.ts +5 -5
  228. package/dist/types/components/Tabs/TabList.d.ts +4 -4
  229. package/dist/types/components/Tabs/TabPanel.d.ts +2 -2
  230. package/dist/types/components/Tabs/styles.d.ts +2 -2
  231. package/dist/types/components/Tabs/theme.d.ts +2 -2
  232. package/dist/types/components/Tag/index.d.ts +2 -3
  233. package/dist/types/components/Tag/styles.d.ts +1 -1
  234. package/dist/types/components/Tag/theme.d.ts +3 -3
  235. package/dist/types/components/Text/index.d.ts +2 -2
  236. package/dist/types/components/Textarea/index.d.ts +1 -1
  237. package/dist/types/components/Textarea/theme.d.ts +1 -1
  238. package/dist/types/components/TimePicker/index.d.ts +2 -2
  239. package/dist/types/components/Toast/Growl.d.ts +1 -1
  240. package/dist/types/components/Toast/Snackbar.d.ts +1 -1
  241. package/dist/types/components/Toast/ToastWrapper.d.ts +5 -5
  242. package/dist/types/components/Toast/index.d.ts +6 -6
  243. package/dist/types/components/Toast/styles.d.ts +16 -16
  244. package/dist/types/components/Toast/theme.d.ts +2 -2
  245. package/dist/types/components/Toast/utils.d.ts +13 -13
  246. package/dist/types/components/Toggle/index.d.ts +3 -3
  247. package/dist/types/components/Toggle/styles.d.ts +5 -4
  248. package/dist/types/components/Toggle/theme.d.ts +6 -6
  249. package/dist/types/components/Tooltip/index.d.ts +2 -2
  250. package/dist/types/components/Tooltip/styles.d.ts +1 -1
  251. package/dist/types/components/Tooltip/theme.d.ts +1 -1
  252. package/dist/types/components/VariantIcon/index.d.ts +1 -1
  253. package/dist/types/components/VariantIcon/styles.d.ts +1 -1
  254. package/dist/types/components/VariantIcon/theme.d.ts +3 -3
  255. package/dist/types/components/WuiProvider/font.d.ts +3 -5
  256. package/dist/types/components/WuiProvider/index.d.ts +1 -1
  257. package/dist/types/theme/colors.d.ts +3 -11
  258. package/dist/types/theme/dark.d.ts +1 -1
  259. package/dist/types/theme/defaultFields.d.ts +10 -10
  260. package/dist/types/theme/fonts.d.ts +5 -5
  261. package/dist/types/theme/index.d.ts +31 -31
  262. package/dist/types/theme/screens.d.ts +1 -1
  263. package/dist/types/theme/space.d.ts +1 -1
  264. package/dist/types/theme/typography.d.ts +1 -1
  265. package/dist/types/utils/field-styles.d.ts +6 -6
  266. package/dist/types/utils/index.d.ts +2 -2
  267. package/dist/types/utils/ts-utils.d.ts +1 -1
  268. package/dist/types/utils/use-copy-text.d.ts +1 -1
  269. package/dist/types/utils/use-create-portal.d.ts +1 -1
  270. package/dist/types/utils/use-viewport.d.ts +2 -2
  271. package/dist/types/utils/wrap-children.d.ts +1 -1
  272. package/dist/{use-fork-ref-CUZErtAC.mjs → use-fork-ref-DvaCTfQ_.mjs} +4 -3
  273. package/dist/use-viewport-CWpjoHXy.mjs +16 -0
  274. package/dist/utils.mjs +96 -85
  275. package/dist/wrap-children-DBSD-X5-.mjs +9 -0
  276. package/package.json +11 -38
  277. package/dist/AXB53BZF-CGoc4K3d.mjs +0 -25
  278. package/dist/ITI7HKP4-BONrZ9Pq.mjs +0 -473
  279. package/dist/KUU7WJ55-3sP-w1F1.mjs +0 -61
  280. package/dist/LVA2YJMS-qFC9J-lt.mjs +0 -1479
  281. package/dist/MTZPJQMC-C0Xe_WK4.mjs +0 -13
  282. package/dist/NLEBE274-C94QU78N.mjs +0 -84
  283. package/dist/P2CTZE2T-YPes1GXe.mjs +0 -297
  284. package/dist/P4IRICAX-DzXqUYe-.mjs +0 -37
  285. package/dist/QYJ6MIDR-BLLqyXdd.mjs +0 -97
  286. package/dist/VEVQD5MH-ZMnHV8ZJ.mjs +0 -20
  287. package/dist/X5NMLKT6-uFSu0Lii.mjs +0 -25
  288. package/dist/YV4JVR4I-BGfUf3Nu.mjs +0 -341
  289. package/dist/downshift.esm-CEHW4VDy.mjs +0 -1085
  290. package/dist/hide-focus-rings-root-BNyva1yb.mjs +0 -14
  291. package/dist/index-BDeIsk2X.mjs +0 -184
  292. package/dist/index-BRDOakbf.mjs +0 -11
  293. package/dist/index-BpRjq7lj.mjs +0 -11
  294. package/dist/index-BrfXjmHY.mjs +0 -36
  295. package/dist/index-CExLVjET.mjs +0 -26
  296. package/dist/index-DEJJvyGk.mjs +0 -66
  297. package/dist/index-u1oHKa7X.mjs +0 -16
  298. package/dist/radio-group-CGC6DTFJ.mjs +0 -51
  299. package/dist/throttle-BDBzFeFj.mjs +0 -13
  300. package/dist/use-viewport-m3glsbna.mjs +0 -16
  301. package/dist/wrap-children-aq69jtFP.mjs +0 -12
@@ -1,1479 +0,0 @@
1
- "use client";
2
- import * as j from "react";
3
- import Pt, { isValidElement as ur, useLayoutEffect as sr, useEffect as V, useRef as Ee, useCallback as xt, useMemo as Ve, useState as re, useReducer as fr, createContext as cr, useContext as lr } from "react";
4
- var dr = Object.defineProperty, pr = Object.defineProperties, vr = Object.getOwnPropertyDescriptors, ye = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable, dt = (e, t, n) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, P = (e, t) => {
5
- for (var n in t || (t = {}))
6
- Ot.call(t, n) && dt(e, n, t[n]);
7
- if (ye)
8
- for (var n of ye(t))
9
- Ct.call(t, n) && dt(e, n, t[n]);
10
- return e;
11
- }, L = (e, t) => pr(e, vr(t)), St = (e, t) => {
12
- var n = {};
13
- for (var o in e)
14
- Ot.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
15
- if (e != null && ye)
16
- for (var o of ye(e))
17
- t.indexOf(o) < 0 && Ct.call(e, o) && (n[o] = e[o]);
18
- return n;
19
- }, br = Object.defineProperty, gr = Object.defineProperties, yr = Object.getOwnPropertyDescriptors, me = Object.getOwnPropertySymbols, Ft = Object.prototype.hasOwnProperty, Dt = Object.prototype.propertyIsEnumerable, pt = (e, t, n) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Le = (e, t) => {
20
- for (var n in t || (t = {}))
21
- Ft.call(t, n) && pt(e, n, t[n]);
22
- if (me)
23
- for (var n of me(t))
24
- Dt.call(t, n) && pt(e, n, t[n]);
25
- return e;
26
- }, mr = (e, t) => gr(e, yr(t)), dn = (e, t) => {
27
- var n = {};
28
- for (var o in e)
29
- Ft.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
30
- if (e != null && me)
31
- for (var o of me(e))
32
- t.indexOf(o) < 0 && Dt.call(e, o) && (n[o] = e[o]);
33
- return n;
34
- };
35
- function pn(...e) {
36
- }
37
- function vn(e, t) {
38
- if (Er(e)) {
39
- const n = hr(t) ? t() : t;
40
- return e(n);
41
- }
42
- return e;
43
- }
44
- function Er(e) {
45
- return typeof e == "function";
46
- }
47
- function hr(e) {
48
- return typeof e == "function";
49
- }
50
- function $e(e, t) {
51
- return typeof Object.hasOwn == "function" ? Object.hasOwn(e, t) : Object.prototype.hasOwnProperty.call(e, t);
52
- }
53
- function bn(...e) {
54
- return (...t) => {
55
- for (const n of e)
56
- typeof n == "function" && n(...t);
57
- };
58
- }
59
- function gn(e) {
60
- return e.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
61
- }
62
- function yn(e, t) {
63
- const n = Le({}, e);
64
- for (const o of t)
65
- $e(n, o) && delete n[o];
66
- return n;
67
- }
68
- function mn(e, t) {
69
- const n = {};
70
- for (const o of t)
71
- $e(e, o) && (n[o] = e[o]);
72
- return n;
73
- }
74
- function En(e) {
75
- return e;
76
- }
77
- function hn(e, t) {
78
- if (!e)
79
- throw typeof t != "string" ? new Error("Invariant failed") : new Error(t);
80
- }
81
- function _n(e) {
82
- return Object.keys(e);
83
- }
84
- function wn(e, ...t) {
85
- const n = typeof e == "function" ? e(...t) : e;
86
- return n == null ? !1 : !n;
87
- }
88
- function _r(e) {
89
- return e.disabled || e["aria-disabled"] === !0 || e["aria-disabled"] === "true";
90
- }
91
- function wr(e) {
92
- const t = {};
93
- for (const n in e)
94
- e[n] !== void 0 && (t[n] = e[n]);
95
- return t;
96
- }
97
- function Rn(...e) {
98
- for (const t of e)
99
- if (t !== void 0) return t;
100
- }
101
- function Rr(e, t) {
102
- typeof e == "function" ? e(t) : e && (e.current = t);
103
- }
104
- function Tr(e) {
105
- return !e || !ur(e) ? !1 : "ref" in e.props || "ref" in e;
106
- }
107
- function Pr(e) {
108
- return Tr(e) ? P({}, e.props).ref || e.ref : null;
109
- }
110
- function xr(e, t) {
111
- const n = P({}, e);
112
- for (const o in t) {
113
- if (!$e(t, o)) continue;
114
- if (o === "className") {
115
- const s = "className";
116
- n[s] = e[s] ? `${e[s]} ${t[s]}` : t[s];
117
- continue;
118
- }
119
- if (o === "style") {
120
- const s = "style";
121
- n[s] = e[s] ? P(P({}, e[s]), t[s]) : t[s];
122
- continue;
123
- }
124
- const i = t[o];
125
- if (typeof i == "function" && o.startsWith("on")) {
126
- const s = e[o];
127
- if (typeof s == "function") {
128
- n[o] = (...p) => {
129
- i(...p), s(...p);
130
- };
131
- continue;
132
- }
133
- }
134
- n[o] = i;
135
- }
136
- return n;
137
- }
138
- var X = Or();
139
- function Or() {
140
- var e;
141
- return typeof window < "u" && !!((e = window.document) != null && e.createElement);
142
- }
143
- function Q(e) {
144
- return e ? "self" in e ? e.document : e.ownerDocument || document : document;
145
- }
146
- function Tn(e) {
147
- return e ? "self" in e ? e.self : Q(e).defaultView || window : self;
148
- }
149
- function G(e, t = !1) {
150
- const { activeElement: n } = Q(e);
151
- if (!(n != null && n.nodeName))
152
- return null;
153
- if (We(n) && n.contentDocument)
154
- return G(
155
- n.contentDocument.body,
156
- t
157
- );
158
- if (t) {
159
- const o = n.getAttribute("aria-activedescendant");
160
- if (o) {
161
- const i = Q(n).getElementById(o);
162
- if (i)
163
- return i;
164
- }
165
- }
166
- return n;
167
- }
168
- function ee(e, t) {
169
- return e === t || e.contains(t);
170
- }
171
- function We(e) {
172
- return e.tagName === "IFRAME";
173
- }
174
- function Cr(e) {
175
- const t = e.tagName.toLowerCase();
176
- return t === "button" ? !0 : t === "input" && e.type ? Sr.indexOf(e.type) !== -1 : !1;
177
- }
178
- var Sr = [
179
- "button",
180
- "color",
181
- "file",
182
- "image",
183
- "reset",
184
- "submit"
185
- ];
186
- function Fr(e) {
187
- if (typeof e.checkVisibility == "function")
188
- return e.checkVisibility();
189
- const t = e;
190
- return t.offsetWidth > 0 || t.offsetHeight > 0 || e.getClientRects().length > 0;
191
- }
192
- function Ye(e) {
193
- try {
194
- const t = e instanceof HTMLInputElement && e.selectionStart !== null, n = e.tagName === "TEXTAREA";
195
- return t || n || !1;
196
- } catch {
197
- return !1;
198
- }
199
- }
200
- function Pn(e) {
201
- return e.isContentEditable || Ye(e);
202
- }
203
- function xn(e) {
204
- if (Ye(e))
205
- return e.value;
206
- if (e.isContentEditable) {
207
- const t = Q(e).createRange();
208
- return t.selectNodeContents(e), t.toString();
209
- }
210
- return "";
211
- }
212
- function On(e) {
213
- let t = 0, n = 0;
214
- if (Ye(e))
215
- t = e.selectionStart || 0, n = e.selectionEnd || 0;
216
- else if (e.isContentEditable) {
217
- const o = Q(e).getSelection();
218
- if (o != null && o.rangeCount && o.anchorNode && ee(e, o.anchorNode) && o.focusNode && ee(e, o.focusNode)) {
219
- const i = o.getRangeAt(0), s = i.cloneRange();
220
- s.selectNodeContents(e), s.setEnd(i.startContainer, i.startOffset), t = s.toString().length, s.setEnd(i.endContainer, i.endOffset), n = s.toString().length;
221
- }
222
- }
223
- return { start: t, end: n };
224
- }
225
- function Dr(e, t) {
226
- const n = ["dialog", "menu", "listbox", "tree", "grid"], o = e == null ? void 0 : e.getAttribute("role");
227
- return o && n.indexOf(o) !== -1 ? o : t;
228
- }
229
- function Cn(e, t) {
230
- var n;
231
- const o = {
232
- menu: "menuitem",
233
- listbox: "option",
234
- tree: "treeitem"
235
- }, i = Dr(e);
236
- return i && (n = o[i]) != null ? n : t;
237
- }
238
- function Ar(e) {
239
- if (!e) return null;
240
- const t = (n) => n === "auto" || n === "scroll";
241
- if (e.clientHeight && e.scrollHeight > e.clientHeight) {
242
- const { overflowY: n } = getComputedStyle(e);
243
- if (t(n)) return e;
244
- } else if (e.clientWidth && e.scrollWidth > e.clientWidth) {
245
- const { overflowX: n } = getComputedStyle(e);
246
- if (t(n)) return e;
247
- }
248
- return Ar(e.parentElement) || document.scrollingElement || document.body;
249
- }
250
- function Sn(e, t) {
251
- const n = e.map((i, s) => [s, i]);
252
- let o = !1;
253
- return n.sort(([i, s], [p, l]) => {
254
- const b = t(s), m = t(l);
255
- return b === m || !b || !m ? 0 : jr(b, m) ? (i > p && (o = !0), -1) : (i < p && (o = !0), 1);
256
- }), o ? n.map(([i, s]) => s) : e;
257
- }
258
- function jr(e, t) {
259
- return !!(t.compareDocumentPosition(e) & Node.DOCUMENT_POSITION_PRECEDING);
260
- }
261
- function Ir() {
262
- return X && !!navigator.maxTouchPoints;
263
- }
264
- function At() {
265
- return X ? /mac|iphone|ipad|ipod/i.test(navigator.platform) : !1;
266
- }
267
- function kr() {
268
- return X && At() && /apple/i.test(navigator.vendor);
269
- }
270
- function Fn() {
271
- return X && /firefox\//i.test(navigator.userAgent);
272
- }
273
- function Dn() {
274
- return X && navigator.platform.startsWith("Mac") && !Ir();
275
- }
276
- function Mr(e) {
277
- return !!(e.currentTarget && !ee(e.currentTarget, e.target));
278
- }
279
- function vt(e) {
280
- return e.target === e.currentTarget;
281
- }
282
- function An(e) {
283
- const t = e.currentTarget;
284
- if (!t) return !1;
285
- const n = At();
286
- if (n && !e.metaKey || !n && !e.ctrlKey) return !1;
287
- const o = t.tagName.toLowerCase();
288
- return o === "a" || o === "button" && t.type === "submit" || o === "input" && t.type === "submit";
289
- }
290
- function jn(e) {
291
- const t = e.currentTarget;
292
- if (!t) return !1;
293
- const n = t.tagName.toLowerCase();
294
- return e.altKey ? n === "a" || n === "button" && t.type === "submit" || n === "input" && t.type === "submit" : !1;
295
- }
296
- function In(e, t, n) {
297
- const o = new Event(t, n);
298
- return e.dispatchEvent(o);
299
- }
300
- function kn(e, t) {
301
- const n = new FocusEvent("blur", t), o = e.dispatchEvent(n), i = mr(Le({}, t), { bubbles: !0 });
302
- return e.dispatchEvent(new FocusEvent("focusout", i)), o;
303
- }
304
- function Mn(e, t, n) {
305
- const o = new KeyboardEvent(t, n);
306
- return e.dispatchEvent(o);
307
- }
308
- function Nn(e, t) {
309
- const n = new MouseEvent("click", t);
310
- return e.dispatchEvent(n);
311
- }
312
- function Nr(e, t) {
313
- const n = t || e.currentTarget, o = e.relatedTarget;
314
- return !o || !ee(n, o);
315
- }
316
- function ke(e, t, n, o) {
317
- const s = ((l) => {
318
- const b = requestAnimationFrame(l);
319
- return () => cancelAnimationFrame(b);
320
- })(() => {
321
- e.removeEventListener(t, p, !0), n();
322
- }), p = () => {
323
- s(), n();
324
- };
325
- return e.addEventListener(t, p, { once: !0, capture: !0 }), s;
326
- }
327
- function M(e, t, n, o = window) {
328
- const i = [];
329
- try {
330
- o.document.addEventListener(e, t, n);
331
- for (const p of Array.from(o.frames))
332
- i.push(M(e, t, n, p));
333
- } catch {
334
- }
335
- return () => {
336
- try {
337
- o.document.removeEventListener(e, t, n);
338
- } catch {
339
- }
340
- for (const p of i)
341
- p();
342
- };
343
- }
344
- var Be = P({}, j), bt = Be.useId;
345
- Be.useDeferredValue;
346
- var gt = Be.useInsertionEffect, he = X ? sr : V;
347
- function Vn(e) {
348
- const t = Ee(e);
349
- return he(() => {
350
- t.current = e;
351
- }), t;
352
- }
353
- function N(e) {
354
- const t = Ee(() => {
355
- throw new Error("Cannot call an event handler while rendering.");
356
- });
357
- return gt ? gt(() => {
358
- t.current = e;
359
- }) : t.current = e, xt((...n) => {
360
- var o;
361
- return (o = t.current) == null ? void 0 : o.call(t, ...n);
362
- }, []);
363
- }
364
- function Ln(e) {
365
- const [t, n] = re(null);
366
- return he(() => {
367
- if (t == null || !e) return;
368
- let o = null;
369
- return e((i) => (o = i, t)), () => {
370
- e(o);
371
- };
372
- }, [t, e]), [t, n];
373
- }
374
- function Ke(...e) {
375
- return Ve(() => {
376
- if (e.some(Boolean))
377
- return (t) => {
378
- for (const n of e)
379
- Rr(n, t);
380
- };
381
- }, e);
382
- }
383
- function $n(e) {
384
- if (bt) {
385
- const o = bt();
386
- return e || o;
387
- }
388
- const [t, n] = re(e);
389
- return he(() => {
390
- if (e || t) return;
391
- const o = Math.random().toString(36).slice(2, 8);
392
- n(`id-${o}`);
393
- }, [e, t]), e || t;
394
- }
395
- function Vr(e, t) {
396
- const n = (s) => {
397
- if (typeof s == "string")
398
- return s;
399
- }, [o, i] = re(() => n(t));
400
- return he(() => {
401
- const s = e && "current" in e ? e.current : e;
402
- i((s == null ? void 0 : s.tagName.toLowerCase()) || n(t));
403
- }, [e, t]), o;
404
- }
405
- function Wn(e, t) {
406
- const n = Ee(!1);
407
- V(() => {
408
- if (n.current)
409
- return e();
410
- n.current = !0;
411
- }, t), V(
412
- () => () => {
413
- n.current = !1;
414
- },
415
- []
416
- );
417
- }
418
- function Yn() {
419
- return fr(() => [], []);
420
- }
421
- function Bn(e) {
422
- return N(
423
- typeof e == "function" ? e : () => e
424
- );
425
- }
426
- function Kn(e, t, n = []) {
427
- const o = xt(
428
- (i) => (e.wrapElement && (i = e.wrapElement(i)), t(i)),
429
- [...n, e.wrapElement]
430
- );
431
- return L(P({}, e), { wrapElement: o });
432
- }
433
- function Un(e = !1, t) {
434
- const [n, o] = re(null);
435
- return { portalRef: Ke(o, t), portalNode: n, domReady: !e || n };
436
- }
437
- function qn(e, t, n) {
438
- const o = e.onLoadedMetadataCapture, i = Ve(() => Object.assign(() => {
439
- }, L(P({}, o), { [t]: n })), [o, t, n]);
440
- return [o == null ? void 0 : o[t], { onLoadedMetadataCapture: i }];
441
- }
442
- function Xn() {
443
- return V(() => {
444
- M("mousemove", $r, !0), M("mousedown", ge, !0), M("mouseup", ge, !0), M("keydown", ge, !0), M("scroll", ge, !0);
445
- }, []), N(() => Ue);
446
- }
447
- var Ue = !1, yt = 0, mt = 0;
448
- function Lr(e) {
449
- const t = e.movementX || e.screenX - yt, n = e.movementY || e.screenY - mt;
450
- return yt = e.screenX, mt = e.screenY, t || n || process.env.NODE_ENV === "test";
451
- }
452
- function $r(e) {
453
- Lr(e) && (Ue = !0);
454
- }
455
- function ge() {
456
- Ue = !1;
457
- }
458
- var Ne = { exports: {} }, z = {}, Et;
459
- function Wr() {
460
- if (Et) return z;
461
- Et = 1;
462
- var e = Pt, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
463
- function p(l, b, m) {
464
- var g, _ = {}, C = null, Y = null;
465
- m !== void 0 && (C = "" + m), b.key !== void 0 && (C = "" + b.key), b.ref !== void 0 && (Y = b.ref);
466
- for (g in b) o.call(b, g) && !s.hasOwnProperty(g) && (_[g] = b[g]);
467
- if (l && l.defaultProps) for (g in b = l.defaultProps, b) _[g] === void 0 && (_[g] = b[g]);
468
- return { $$typeof: t, type: l, key: C, ref: Y, props: _, _owner: i.current };
469
- }
470
- return z.Fragment = n, z.jsx = p, z.jsxs = p, z;
471
- }
472
- var Z = {}, ht;
473
- function Yr() {
474
- return ht || (ht = 1, process.env.NODE_ENV !== "production" && function() {
475
- var e = Pt, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), l = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), ne = Symbol.iterator, we = "@@iterator";
476
- function oe(r) {
477
- if (r === null || typeof r != "object")
478
- return null;
479
- var a = ne && r[ne] || r[we];
480
- return typeof a == "function" ? a : null;
481
- }
482
- var k = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
483
- function T(r) {
484
- {
485
- for (var a = arguments.length, u = new Array(a > 1 ? a - 1 : 0), c = 1; c < a; c++)
486
- u[c - 1] = arguments[c];
487
- ae("error", r, u);
488
- }
489
- }
490
- function ae(r, a, u) {
491
- {
492
- var c = k.ReactDebugCurrentFrame, y = c.getStackAddendum();
493
- y !== "" && (a += "%s", u = u.concat([y]));
494
- var E = u.map(function(v) {
495
- return String(v);
496
- });
497
- E.unshift("Warning: " + a), Function.prototype.apply.call(console[r], console, E);
498
- }
499
- }
500
- var Re = !1, ie = !1, Te = !1, ue = !1, Pe = !1, se;
501
- se = Symbol.for("react.module.reference");
502
- function xe(r) {
503
- return !!(typeof r == "string" || typeof r == "function" || r === o || r === s || Pe || r === i || r === m || r === g || ue || r === Y || Re || ie || Te || typeof r == "object" && r !== null && (r.$$typeof === C || r.$$typeof === _ || r.$$typeof === p || r.$$typeof === l || r.$$typeof === b || // This needs to include all possible module reference object
504
- // types supported by any Flight configuration anywhere since
505
- // we don't know which Flight build this will end up being used
506
- // with.
507
- r.$$typeof === se || r.getModuleId !== void 0));
508
- }
509
- function fe(r, a, u) {
510
- var c = r.displayName;
511
- if (c)
512
- return c;
513
- var y = a.displayName || a.name || "";
514
- return y !== "" ? u + "(" + y + ")" : u;
515
- }
516
- function ce(r) {
517
- return r.displayName || "Context";
518
- }
519
- function D(r) {
520
- if (r == null)
521
- return null;
522
- if (typeof r.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof r == "function")
523
- return r.displayName || r.name || null;
524
- if (typeof r == "string")
525
- return r;
526
- switch (r) {
527
- case o:
528
- return "Fragment";
529
- case n:
530
- return "Portal";
531
- case s:
532
- return "Profiler";
533
- case i:
534
- return "StrictMode";
535
- case m:
536
- return "Suspense";
537
- case g:
538
- return "SuspenseList";
539
- }
540
- if (typeof r == "object")
541
- switch (r.$$typeof) {
542
- case l:
543
- var a = r;
544
- return ce(a) + ".Consumer";
545
- case p:
546
- var u = r;
547
- return ce(u._context) + ".Provider";
548
- case b:
549
- return fe(r, r.render, "ForwardRef");
550
- case _:
551
- var c = r.displayName || null;
552
- return c !== null ? c : D(r.type) || "Memo";
553
- case C: {
554
- var y = r, E = y._payload, v = y._init;
555
- try {
556
- return D(v(E));
557
- } catch {
558
- return null;
559
- }
560
- }
561
- }
562
- return null;
563
- }
564
- var A = Object.assign, $ = 0, f, h, x, I, le, H, He;
565
- function Je() {
566
- }
567
- Je.__reactDisabledLog = !0;
568
- function It() {
569
- {
570
- if ($ === 0) {
571
- f = console.log, h = console.info, x = console.warn, I = console.error, le = console.group, H = console.groupCollapsed, He = console.groupEnd;
572
- var r = {
573
- configurable: !0,
574
- enumerable: !0,
575
- value: Je,
576
- writable: !0
577
- };
578
- Object.defineProperties(console, {
579
- info: r,
580
- log: r,
581
- warn: r,
582
- error: r,
583
- group: r,
584
- groupCollapsed: r,
585
- groupEnd: r
586
- });
587
- }
588
- $++;
589
- }
590
- }
591
- function kt() {
592
- {
593
- if ($--, $ === 0) {
594
- var r = {
595
- configurable: !0,
596
- enumerable: !0,
597
- writable: !0
598
- };
599
- Object.defineProperties(console, {
600
- log: A({}, r, {
601
- value: f
602
- }),
603
- info: A({}, r, {
604
- value: h
605
- }),
606
- warn: A({}, r, {
607
- value: x
608
- }),
609
- error: A({}, r, {
610
- value: I
611
- }),
612
- group: A({}, r, {
613
- value: le
614
- }),
615
- groupCollapsed: A({}, r, {
616
- value: H
617
- }),
618
- groupEnd: A({}, r, {
619
- value: He
620
- })
621
- });
622
- }
623
- $ < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
624
- }
625
- }
626
- var Oe = k.ReactCurrentDispatcher, Ce;
627
- function de(r, a, u) {
628
- {
629
- if (Ce === void 0)
630
- try {
631
- throw Error();
632
- } catch (y) {
633
- var c = y.stack.trim().match(/\n( *(at )?)/);
634
- Ce = c && c[1] || "";
635
- }
636
- return `
637
- ` + Ce + r;
638
- }
639
- }
640
- var Se = !1, pe;
641
- {
642
- var Mt = typeof WeakMap == "function" ? WeakMap : Map;
643
- pe = new Mt();
644
- }
645
- function ze(r, a) {
646
- if (!r || Se)
647
- return "";
648
- {
649
- var u = pe.get(r);
650
- if (u !== void 0)
651
- return u;
652
- }
653
- var c;
654
- Se = !0;
655
- var y = Error.prepareStackTrace;
656
- Error.prepareStackTrace = void 0;
657
- var E;
658
- E = Oe.current, Oe.current = null, It();
659
- try {
660
- if (a) {
661
- var v = function() {
662
- throw Error();
663
- };
664
- if (Object.defineProperty(v.prototype, "props", {
665
- set: function() {
666
- throw Error();
667
- }
668
- }), typeof Reflect == "object" && Reflect.construct) {
669
- try {
670
- Reflect.construct(v, []);
671
- } catch (S) {
672
- c = S;
673
- }
674
- Reflect.construct(r, [], v);
675
- } else {
676
- try {
677
- v.call();
678
- } catch (S) {
679
- c = S;
680
- }
681
- r.call(v.prototype);
682
- }
683
- } else {
684
- try {
685
- throw Error();
686
- } catch (S) {
687
- c = S;
688
- }
689
- r();
690
- }
691
- } catch (S) {
692
- if (S && c && typeof S.stack == "string") {
693
- for (var d = S.stack.split(`
694
- `), O = c.stack.split(`
695
- `), w = d.length - 1, R = O.length - 1; w >= 1 && R >= 0 && d[w] !== O[R]; )
696
- R--;
697
- for (; w >= 1 && R >= 0; w--, R--)
698
- if (d[w] !== O[R]) {
699
- if (w !== 1 || R !== 1)
700
- do
701
- if (w--, R--, R < 0 || d[w] !== O[R]) {
702
- var F = `
703
- ` + d[w].replace(" at new ", " at ");
704
- return r.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", r.displayName)), typeof r == "function" && pe.set(r, F), F;
705
- }
706
- while (w >= 1 && R >= 0);
707
- break;
708
- }
709
- }
710
- } finally {
711
- Se = !1, Oe.current = E, kt(), Error.prepareStackTrace = y;
712
- }
713
- var K = r ? r.displayName || r.name : "", W = K ? de(K) : "";
714
- return typeof r == "function" && pe.set(r, W), W;
715
- }
716
- function Nt(r, a, u) {
717
- return ze(r, !1);
718
- }
719
- function Vt(r) {
720
- var a = r.prototype;
721
- return !!(a && a.isReactComponent);
722
- }
723
- function ve(r, a, u) {
724
- if (r == null)
725
- return "";
726
- if (typeof r == "function")
727
- return ze(r, Vt(r));
728
- if (typeof r == "string")
729
- return de(r);
730
- switch (r) {
731
- case m:
732
- return de("Suspense");
733
- case g:
734
- return de("SuspenseList");
735
- }
736
- if (typeof r == "object")
737
- switch (r.$$typeof) {
738
- case b:
739
- return Nt(r.render);
740
- case _:
741
- return ve(r.type, a, u);
742
- case C: {
743
- var c = r, y = c._payload, E = c._init;
744
- try {
745
- return ve(E(y), a, u);
746
- } catch {
747
- }
748
- }
749
- }
750
- return "";
751
- }
752
- var J = Object.prototype.hasOwnProperty, Ze = {}, Qe = k.ReactDebugCurrentFrame;
753
- function be(r) {
754
- if (r) {
755
- var a = r._owner, u = ve(r.type, r._source, a ? a.type : null);
756
- Qe.setExtraStackFrame(u);
757
- } else
758
- Qe.setExtraStackFrame(null);
759
- }
760
- function Lt(r, a, u, c, y) {
761
- {
762
- var E = Function.call.bind(J);
763
- for (var v in r)
764
- if (E(r, v)) {
765
- var d = void 0;
766
- try {
767
- if (typeof r[v] != "function") {
768
- var O = Error((c || "React class") + ": " + u + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
769
- throw O.name = "Invariant Violation", O;
770
- }
771
- d = r[v](a, v, c, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
772
- } catch (w) {
773
- d = w;
774
- }
775
- d && !(d instanceof Error) && (be(y), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", c || "React class", u, v, typeof d), be(null)), d instanceof Error && !(d.message in Ze) && (Ze[d.message] = !0, be(y), T("Failed %s type: %s", u, d.message), be(null));
776
- }
777
- }
778
- }
779
- var $t = Array.isArray;
780
- function Fe(r) {
781
- return $t(r);
782
- }
783
- function Wt(r) {
784
- {
785
- var a = typeof Symbol == "function" && Symbol.toStringTag, u = a && r[Symbol.toStringTag] || r.constructor.name || "Object";
786
- return u;
787
- }
788
- }
789
- function Yt(r) {
790
- try {
791
- return et(r), !1;
792
- } catch {
793
- return !0;
794
- }
795
- }
796
- function et(r) {
797
- return "" + r;
798
- }
799
- function tt(r) {
800
- if (Yt(r))
801
- return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Wt(r)), et(r);
802
- }
803
- var rt = k.ReactCurrentOwner, Bt = {
804
- key: !0,
805
- ref: !0,
806
- __self: !0,
807
- __source: !0
808
- }, nt, ot;
809
- function Kt(r) {
810
- if (J.call(r, "ref")) {
811
- var a = Object.getOwnPropertyDescriptor(r, "ref").get;
812
- if (a && a.isReactWarning)
813
- return !1;
814
- }
815
- return r.ref !== void 0;
816
- }
817
- function Ut(r) {
818
- if (J.call(r, "key")) {
819
- var a = Object.getOwnPropertyDescriptor(r, "key").get;
820
- if (a && a.isReactWarning)
821
- return !1;
822
- }
823
- return r.key !== void 0;
824
- }
825
- function qt(r, a) {
826
- typeof r.ref == "string" && rt.current;
827
- }
828
- function Xt(r, a) {
829
- {
830
- var u = function() {
831
- nt || (nt = !0, T("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
832
- };
833
- u.isReactWarning = !0, Object.defineProperty(r, "key", {
834
- get: u,
835
- configurable: !0
836
- });
837
- }
838
- }
839
- function Gt(r, a) {
840
- {
841
- var u = function() {
842
- ot || (ot = !0, T("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
843
- };
844
- u.isReactWarning = !0, Object.defineProperty(r, "ref", {
845
- get: u,
846
- configurable: !0
847
- });
848
- }
849
- }
850
- var Ht = function(r, a, u, c, y, E, v) {
851
- var d = {
852
- // This tag allows us to uniquely identify this as a React Element
853
- $$typeof: t,
854
- // Built-in properties that belong on the element
855
- type: r,
856
- key: a,
857
- ref: u,
858
- props: v,
859
- // Record the component responsible for creating this element.
860
- _owner: E
861
- };
862
- return d._store = {}, Object.defineProperty(d._store, "validated", {
863
- configurable: !1,
864
- enumerable: !1,
865
- writable: !0,
866
- value: !1
867
- }), Object.defineProperty(d, "_self", {
868
- configurable: !1,
869
- enumerable: !1,
870
- writable: !1,
871
- value: c
872
- }), Object.defineProperty(d, "_source", {
873
- configurable: !1,
874
- enumerable: !1,
875
- writable: !1,
876
- value: y
877
- }), Object.freeze && (Object.freeze(d.props), Object.freeze(d)), d;
878
- };
879
- function Jt(r, a, u, c, y) {
880
- {
881
- var E, v = {}, d = null, O = null;
882
- u !== void 0 && (tt(u), d = "" + u), Ut(a) && (tt(a.key), d = "" + a.key), Kt(a) && (O = a.ref, qt(a, y));
883
- for (E in a)
884
- J.call(a, E) && !Bt.hasOwnProperty(E) && (v[E] = a[E]);
885
- if (r && r.defaultProps) {
886
- var w = r.defaultProps;
887
- for (E in w)
888
- v[E] === void 0 && (v[E] = w[E]);
889
- }
890
- if (d || O) {
891
- var R = typeof r == "function" ? r.displayName || r.name || "Unknown" : r;
892
- d && Xt(v, R), O && Gt(v, R);
893
- }
894
- return Ht(r, d, O, y, c, rt.current, v);
895
- }
896
- }
897
- var De = k.ReactCurrentOwner, at = k.ReactDebugCurrentFrame;
898
- function B(r) {
899
- if (r) {
900
- var a = r._owner, u = ve(r.type, r._source, a ? a.type : null);
901
- at.setExtraStackFrame(u);
902
- } else
903
- at.setExtraStackFrame(null);
904
- }
905
- var Ae;
906
- Ae = !1;
907
- function je(r) {
908
- return typeof r == "object" && r !== null && r.$$typeof === t;
909
- }
910
- function it() {
911
- {
912
- if (De.current) {
913
- var r = D(De.current.type);
914
- if (r)
915
- return `
916
-
917
- Check the render method of \`` + r + "`.";
918
- }
919
- return "";
920
- }
921
- }
922
- function zt(r) {
923
- return "";
924
- }
925
- var ut = {};
926
- function Zt(r) {
927
- {
928
- var a = it();
929
- if (!a) {
930
- var u = typeof r == "string" ? r : r.displayName || r.name;
931
- u && (a = `
932
-
933
- Check the top-level render call using <` + u + ">.");
934
- }
935
- return a;
936
- }
937
- }
938
- function st(r, a) {
939
- {
940
- if (!r._store || r._store.validated || r.key != null)
941
- return;
942
- r._store.validated = !0;
943
- var u = Zt(a);
944
- if (ut[u])
945
- return;
946
- ut[u] = !0;
947
- var c = "";
948
- r && r._owner && r._owner !== De.current && (c = " It was passed a child from " + D(r._owner.type) + "."), B(r), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, c), B(null);
949
- }
950
- }
951
- function ft(r, a) {
952
- {
953
- if (typeof r != "object")
954
- return;
955
- if (Fe(r))
956
- for (var u = 0; u < r.length; u++) {
957
- var c = r[u];
958
- je(c) && st(c, a);
959
- }
960
- else if (je(r))
961
- r._store && (r._store.validated = !0);
962
- else if (r) {
963
- var y = oe(r);
964
- if (typeof y == "function" && y !== r.entries)
965
- for (var E = y.call(r), v; !(v = E.next()).done; )
966
- je(v.value) && st(v.value, a);
967
- }
968
- }
969
- }
970
- function Qt(r) {
971
- {
972
- var a = r.type;
973
- if (a == null || typeof a == "string")
974
- return;
975
- var u;
976
- if (typeof a == "function")
977
- u = a.propTypes;
978
- else if (typeof a == "object" && (a.$$typeof === b || // Note: Memo only checks outer props here.
979
- // Inner props are checked in the reconciler.
980
- a.$$typeof === _))
981
- u = a.propTypes;
982
- else
983
- return;
984
- if (u) {
985
- var c = D(a);
986
- Lt(u, r.props, "prop", c, r);
987
- } else if (a.PropTypes !== void 0 && !Ae) {
988
- Ae = !0;
989
- var y = D(a);
990
- T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
991
- }
992
- typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
993
- }
994
- }
995
- function er(r) {
996
- {
997
- for (var a = Object.keys(r.props), u = 0; u < a.length; u++) {
998
- var c = a[u];
999
- if (c !== "children" && c !== "key") {
1000
- B(r), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), B(null);
1001
- break;
1002
- }
1003
- }
1004
- r.ref !== null && (B(r), T("Invalid attribute `ref` supplied to `React.Fragment`."), B(null));
1005
- }
1006
- }
1007
- var ct = {};
1008
- function lt(r, a, u, c, y, E) {
1009
- {
1010
- var v = xe(r);
1011
- if (!v) {
1012
- var d = "";
1013
- (r === void 0 || typeof r == "object" && r !== null && Object.keys(r).length === 0) && (d += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1014
- var O = zt();
1015
- O ? d += O : d += it();
1016
- var w;
1017
- r === null ? w = "null" : Fe(r) ? w = "array" : r !== void 0 && r.$$typeof === t ? (w = "<" + (D(r.type) || "Unknown") + " />", d = " Did you accidentally export a JSX literal instead of a component?") : w = typeof r, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", w, d);
1018
- }
1019
- var R = Jt(r, a, u, y, E);
1020
- if (R == null)
1021
- return R;
1022
- if (v) {
1023
- var F = a.children;
1024
- if (F !== void 0)
1025
- if (c)
1026
- if (Fe(F)) {
1027
- for (var K = 0; K < F.length; K++)
1028
- ft(F[K], r);
1029
- Object.freeze && Object.freeze(F);
1030
- } else
1031
- T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1032
- else
1033
- ft(F, r);
1034
- }
1035
- if (J.call(a, "key")) {
1036
- var W = D(r), S = Object.keys(a).filter(function(ir) {
1037
- return ir !== "key";
1038
- }), Ie = S.length > 0 ? "{key: someKey, " + S.join(": ..., ") + ": ...}" : "{key: someKey}";
1039
- if (!ct[W + Ie]) {
1040
- var ar = S.length > 0 ? "{" + S.join(": ..., ") + ": ...}" : "{}";
1041
- T(`A props object containing a "key" prop is being spread into JSX:
1042
- let props = %s;
1043
- <%s {...props} />
1044
- React keys must be passed directly to JSX without using spread:
1045
- let props = %s;
1046
- <%s key={someKey} {...props} />`, Ie, W, ar, W), ct[W + Ie] = !0;
1047
- }
1048
- }
1049
- return r === o ? er(R) : Qt(R), R;
1050
- }
1051
- }
1052
- function tr(r, a, u) {
1053
- return lt(r, a, u, !0);
1054
- }
1055
- function rr(r, a, u) {
1056
- return lt(r, a, u, !1);
1057
- }
1058
- var nr = rr, or = tr;
1059
- Z.Fragment = o, Z.jsx = nr, Z.jsxs = or;
1060
- }()), Z;
1061
- }
1062
- process.env.NODE_ENV === "production" ? Ne.exports = Wr() : Ne.exports = Yr();
1063
- var U = Ne.exports;
1064
- function Br(e) {
1065
- const t = j.forwardRef((n, o) => e(L(P({}, n), { ref: o })));
1066
- return t.displayName = e.displayName || e.name, t;
1067
- }
1068
- function Gn(e, t) {
1069
- return j.memo(e, t);
1070
- }
1071
- function Kr(e, t) {
1072
- const n = t, { wrapElement: o, render: i } = n, s = St(n, ["wrapElement", "render"]), p = Ke(t.ref, Pr(i));
1073
- let l;
1074
- if (j.isValidElement(i)) {
1075
- const b = L(P({}, i.props), { ref: p });
1076
- l = j.cloneElement(i, xr(s, b));
1077
- } else i ? l = i(s) : l = /* @__PURE__ */ U.jsx(e, P({}, s));
1078
- return o ? o(l) : l;
1079
- }
1080
- function Ur(e) {
1081
- const t = (n = {}) => e(n);
1082
- return t.displayName = e.name, t;
1083
- }
1084
- function Hn(e = [], t = []) {
1085
- const n = j.createContext(void 0), o = j.createContext(void 0), i = () => j.useContext(n), s = (m = !1) => {
1086
- const g = j.useContext(o), _ = i();
1087
- return m ? g : g || _;
1088
- }, p = () => {
1089
- const m = j.useContext(o), g = i();
1090
- if (!(m && m === g))
1091
- return g;
1092
- }, l = (m) => e.reduceRight(
1093
- (g, _) => /* @__PURE__ */ U.jsx(_, L(P({}, m), { children: g })),
1094
- /* @__PURE__ */ U.jsx(n.Provider, P({}, m))
1095
- );
1096
- return {
1097
- context: n,
1098
- scopedContext: o,
1099
- useContext: i,
1100
- useScopedContext: s,
1101
- useProviderContext: p,
1102
- ContextProvider: l,
1103
- ScopedContextProvider: (m) => /* @__PURE__ */ U.jsx(l, L(P({}, m), { children: t.reduceRight(
1104
- (g, _) => /* @__PURE__ */ U.jsx(_, L(P({}, m), { children: g })),
1105
- /* @__PURE__ */ U.jsx(o.Provider, P({}, m))
1106
- ) }))
1107
- };
1108
- }
1109
- var qr = cr(!0), _e = "input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], summary, iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";
1110
- function Xr(e) {
1111
- return Number.parseInt(e.getAttribute("tabindex") || "0", 10) < 0;
1112
- }
1113
- function q(e) {
1114
- return !(!e.matches(_e) || !Fr(e) || e.closest("[inert]"));
1115
- }
1116
- function te(e) {
1117
- if (!q(e) || Xr(e)) return !1;
1118
- if (!("form" in e) || !e.form || e.checked || e.type !== "radio") return !0;
1119
- const t = e.form.elements.namedItem(e.name);
1120
- if (!t || !("length" in t)) return !0;
1121
- const n = G(e);
1122
- return !n || n === e || !("form" in n) || n.form !== e.form || n.name !== e.name;
1123
- }
1124
- function qe(e, t) {
1125
- const n = Array.from(
1126
- e.querySelectorAll(_e)
1127
- );
1128
- t && n.unshift(e);
1129
- const o = n.filter(q);
1130
- return o.forEach((i, s) => {
1131
- if (We(i) && i.contentDocument) {
1132
- const p = i.contentDocument.body;
1133
- o.splice(s, 1, ...qe(p));
1134
- }
1135
- }), o;
1136
- }
1137
- function Xe(e, t, n) {
1138
- const o = Array.from(
1139
- e.querySelectorAll(_e)
1140
- ), i = o.filter(te);
1141
- return t && te(e) && i.unshift(e), i.forEach((s, p) => {
1142
- if (We(s) && s.contentDocument) {
1143
- const l = s.contentDocument.body, b = Xe(
1144
- l,
1145
- !1,
1146
- n
1147
- );
1148
- i.splice(p, 1, ...b);
1149
- }
1150
- }), !i.length && n ? o : i;
1151
- }
1152
- function Jn(e, t, n) {
1153
- const [o] = Xe(
1154
- e,
1155
- t,
1156
- n
1157
- );
1158
- return o || null;
1159
- }
1160
- function Gr(e, t, n, o) {
1161
- const i = G(e), s = qe(e, t), p = s.indexOf(i), l = s.slice(p + 1);
1162
- return l.find(te) || (n ? s.find(te) : null) || (o ? l[0] : null) || null;
1163
- }
1164
- function zn(e, t) {
1165
- return Gr(
1166
- document.body,
1167
- !1,
1168
- e,
1169
- t
1170
- );
1171
- }
1172
- function Hr(e, t, n, o) {
1173
- const i = G(e), s = qe(e, t).reverse(), p = s.indexOf(i);
1174
- return s.slice(p + 1).find(te) || null || null || null;
1175
- }
1176
- function Zn(e, t) {
1177
- return Hr(
1178
- document.body,
1179
- !1
1180
- );
1181
- }
1182
- function Jr(e) {
1183
- for (; e && !q(e); )
1184
- e = e.closest(_e);
1185
- return e || null;
1186
- }
1187
- function _t(e) {
1188
- const t = G(e);
1189
- if (!t) return !1;
1190
- if (t === e) return !0;
1191
- const n = t.getAttribute("aria-activedescendant");
1192
- return n ? n === e.id : !1;
1193
- }
1194
- function zr(e) {
1195
- const t = G(e);
1196
- if (!t) return !1;
1197
- if (ee(e, t)) return !0;
1198
- const n = t.getAttribute("aria-activedescendant");
1199
- return !n || !("id" in e) ? !1 : n === e.id ? !0 : !!e.querySelector(`#${CSS.escape(n)}`);
1200
- }
1201
- function Zr(e) {
1202
- !zr(e) && q(e) && e.focus();
1203
- }
1204
- function Qr(e) {
1205
- var t;
1206
- const n = (t = e.getAttribute("tabindex")) != null ? t : "";
1207
- e.setAttribute("data-tabindex", n), e.setAttribute("tabindex", "-1");
1208
- }
1209
- function Qn(e, t) {
1210
- const n = Xe(e, t);
1211
- for (const o of n)
1212
- Qr(o);
1213
- }
1214
- function eo(e) {
1215
- const t = e.querySelectorAll("[data-tabindex]"), n = (o) => {
1216
- const i = o.getAttribute("data-tabindex");
1217
- o.removeAttribute("data-tabindex"), i ? o.setAttribute("tabindex", i) : o.removeAttribute("tabindex");
1218
- };
1219
- e.hasAttribute("data-tabindex") && n(e);
1220
- for (const o of t)
1221
- n(o);
1222
- }
1223
- function to(e, t) {
1224
- "scrollIntoView" in e ? (e.focus({ preventScroll: !0 }), e.scrollIntoView(Le({ block: "nearest", inline: "nearest" }, t))) : e.focus();
1225
- }
1226
- var en = "div", wt = kr(), tn = [
1227
- "text",
1228
- "search",
1229
- "url",
1230
- "tel",
1231
- "email",
1232
- "password",
1233
- "number",
1234
- "date",
1235
- "month",
1236
- "week",
1237
- "time",
1238
- "datetime",
1239
- "datetime-local"
1240
- ], jt = Symbol("safariFocusAncestor");
1241
- function ro(e) {
1242
- return e ? !!e[jt] : !1;
1243
- }
1244
- function Rt(e, t) {
1245
- e && (e[jt] = t);
1246
- }
1247
- function rn(e) {
1248
- const { tagName: t, readOnly: n, type: o } = e;
1249
- return t === "TEXTAREA" && !n || t === "SELECT" && !n ? !0 : t === "INPUT" && !n ? tn.includes(o) : !!(e.isContentEditable || e.getAttribute("role") === "combobox" && e.dataset.name);
1250
- }
1251
- function nn(e) {
1252
- return "labels" in e ? e.labels : null;
1253
- }
1254
- function Tt(e) {
1255
- return e.tagName.toLowerCase() === "input" && e.type ? e.type === "radio" || e.type === "checkbox" : !1;
1256
- }
1257
- function on(e) {
1258
- return e ? e === "button" || e === "summary" || e === "input" || e === "select" || e === "textarea" || e === "a" : !0;
1259
- }
1260
- function an(e) {
1261
- return e ? e === "button" || e === "input" || e === "select" || e === "textarea" : !0;
1262
- }
1263
- function un(e, t, n, o, i) {
1264
- return e ? t ? n && !o ? -1 : void 0 : n ? i : i || 0 : i;
1265
- }
1266
- function Me(e, t) {
1267
- return N((n) => {
1268
- e == null || e(n), !n.defaultPrevented && t && (n.stopPropagation(), n.preventDefault());
1269
- });
1270
- }
1271
- var Ge = !0;
1272
- function sn(e) {
1273
- const t = e.target;
1274
- t && "hasAttribute" in t && (t.hasAttribute("data-focus-visible") || (Ge = !1));
1275
- }
1276
- function fn(e) {
1277
- e.metaKey || e.ctrlKey || e.altKey || (Ge = !0);
1278
- }
1279
- var cn = Ur(
1280
- function(t) {
1281
- var n = t, {
1282
- focusable: o = !0,
1283
- accessibleWhenDisabled: i,
1284
- autoFocus: s,
1285
- onFocusVisible: p
1286
- } = n, l = St(n, [
1287
- "focusable",
1288
- "accessibleWhenDisabled",
1289
- "autoFocus",
1290
- "onFocusVisible"
1291
- ]);
1292
- const b = Ee(null);
1293
- V(() => {
1294
- o && (M("mousedown", sn, !0), M("keydown", fn, !0));
1295
- }, [o]), wt && V(() => {
1296
- if (!o) return;
1297
- const f = b.current;
1298
- if (!f || !Tt(f)) return;
1299
- const h = nn(f);
1300
- if (!h) return;
1301
- const x = () => queueMicrotask(() => f.focus());
1302
- for (const I of h)
1303
- I.addEventListener("mouseup", x);
1304
- return () => {
1305
- for (const I of h)
1306
- I.removeEventListener("mouseup", x);
1307
- };
1308
- }, [o]);
1309
- const m = o && _r(l), g = !!m && !i, [_, C] = re(!1);
1310
- V(() => {
1311
- o && g && _ && C(!1);
1312
- }, [o, g, _]), V(() => {
1313
- if (!o || !_) return;
1314
- const f = b.current;
1315
- if (!f || typeof IntersectionObserver > "u") return;
1316
- const h = new IntersectionObserver(() => {
1317
- q(f) || C(!1);
1318
- });
1319
- return h.observe(f), () => h.disconnect();
1320
- }, [o, _]);
1321
- const Y = Me(
1322
- l.onKeyPressCapture,
1323
- m
1324
- ), ne = Me(
1325
- l.onMouseDownCapture,
1326
- m
1327
- ), we = Me(l.onClickCapture, m), oe = l.onMouseDown, k = N((f) => {
1328
- if (oe == null || oe(f), f.defaultPrevented || !o) return;
1329
- const h = f.currentTarget;
1330
- if (!wt || Mr(f) || !Cr(h) && !Tt(h)) return;
1331
- let x = !1;
1332
- const I = () => {
1333
- x = !0;
1334
- }, le = { capture: !0, once: !0 };
1335
- h.addEventListener("focusin", I, le);
1336
- const H = Jr(h.parentElement);
1337
- Rt(H, !0), ke(h, "mouseup", () => {
1338
- h.removeEventListener("focusin", I, !0), Rt(H, !1), !x && Zr(h);
1339
- });
1340
- }), T = (f, h) => {
1341
- if (h && (f.currentTarget = h), !o) return;
1342
- const x = f.currentTarget;
1343
- x && _t(x) && (p == null || p(f), !f.defaultPrevented && (x.dataset.focusVisible = "true", C(!0)));
1344
- }, ae = l.onKeyDownCapture, Re = N((f) => {
1345
- if (ae == null || ae(f), f.defaultPrevented || !o || _ || f.metaKey || f.altKey || f.ctrlKey || !vt(f)) return;
1346
- const h = f.currentTarget;
1347
- ke(h, "focusout", () => T(f, h));
1348
- }), ie = l.onFocusCapture, Te = N((f) => {
1349
- if (ie == null || ie(f), f.defaultPrevented || !o) return;
1350
- if (!vt(f)) {
1351
- C(!1);
1352
- return;
1353
- }
1354
- const h = f.currentTarget, x = () => T(f, h);
1355
- Ge || rn(f.target) ? ke(f.target, "focusout", x) : C(!1);
1356
- }), ue = l.onBlur, Pe = N((f) => {
1357
- ue == null || ue(f), o && Nr(f) && C(!1);
1358
- }), se = lr(qr), xe = N((f) => {
1359
- o && s && f && se && queueMicrotask(() => {
1360
- _t(f) || q(f) && f.focus();
1361
- });
1362
- }), fe = Vr(b), ce = o && on(fe), D = o && an(fe), A = l.style, $ = Ve(() => g ? P({ pointerEvents: "none" }, A) : A, [g, A]);
1363
- return l = L(P({
1364
- "data-focus-visible": o && _ || void 0,
1365
- "data-autofocus": s || void 0,
1366
- "aria-disabled": m || void 0
1367
- }, l), {
1368
- ref: Ke(b, xe, l.ref),
1369
- style: $,
1370
- tabIndex: un(
1371
- o,
1372
- g,
1373
- ce,
1374
- D,
1375
- l.tabIndex
1376
- ),
1377
- disabled: D && g ? !0 : void 0,
1378
- // TODO: Test Focusable contentEditable.
1379
- contentEditable: m ? void 0 : l.contentEditable,
1380
- onKeyPressCapture: Y,
1381
- onClickCapture: we,
1382
- onMouseDownCapture: ne,
1383
- onMouseDown: k,
1384
- onKeyDownCapture: Re,
1385
- onFocusCapture: Te,
1386
- onBlur: Pe
1387
- }), wr(l);
1388
- }
1389
- );
1390
- Br(function(t) {
1391
- const n = cn(t);
1392
- return Kr(en, n);
1393
- });
1394
- export {
1395
- $e as $,
1396
- dn as A,
1397
- mr as B,
1398
- Rn as C,
1399
- Le as D,
1400
- Kn as E,
1401
- he as F,
1402
- Tn as G,
1403
- Wn as H,
1404
- Q as I,
1405
- En as J,
1406
- Mr as K,
1407
- Pn as L,
1408
- kr as M,
1409
- On as N,
1410
- xn as O,
1411
- Ar as P,
1412
- bn as Q,
1413
- Sn as R,
1414
- Ln as S,
1415
- to as T,
1416
- kn as U,
1417
- _t as V,
1418
- G as W,
1419
- Mn as X,
1420
- wn as Y,
1421
- ee as Z,
1422
- St as _,
1423
- qn as a,
1424
- _n as a0,
1425
- mn as a1,
1426
- yn as a2,
1427
- vn as a3,
1428
- pn as a4,
1429
- Vn as a5,
1430
- Un as a6,
1431
- Xn as a7,
1432
- M as a8,
1433
- zr as a9,
1434
- Xe as aa,
1435
- gn as ab,
1436
- In as ac,
1437
- Cn as ad,
1438
- jn as ae,
1439
- An as af,
1440
- At as ag,
1441
- Dn as ah,
1442
- Fr as ai,
1443
- ro as aj,
1444
- qr as ak,
1445
- Rr as al,
1446
- Nr as am,
1447
- zn as an,
1448
- Zn as ao,
1449
- eo as ap,
1450
- Qn as aq,
1451
- Jn as ar,
1452
- q as as,
1453
- Zr as at,
1454
- N as b,
1455
- Ur as c,
1456
- L as d,
1457
- Ke as e,
1458
- Br as f,
1459
- P as g,
1460
- Kr as h,
1461
- hn as i,
1462
- Vr as j,
1463
- Cr as k,
1464
- _r as l,
1465
- vt as m,
1466
- Ye as n,
1467
- Fn as o,
1468
- Nn as p,
1469
- ke as q,
1470
- cn as r,
1471
- Dr as s,
1472
- U as t,
1473
- Bn as u,
1474
- Hn as v,
1475
- Gn as w,
1476
- $n as x,
1477
- Yn as y,
1478
- wr as z
1479
- };