@unicom-cloud/ui 0.8.66 → 0.8.67

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 (357) hide show
  1. package/Affix.js +79 -79
  2. package/Alert.js +46 -46
  3. package/Anchor.js +1 -1
  4. package/AutoComplete.js +74 -74
  5. package/Avatar.js +36 -36
  6. package/BackTop.js +35 -35
  7. package/Badge.js +55 -55
  8. package/Breadcrumb.js +42 -42
  9. package/Button.js +24 -24
  10. package/Calendar.js +230 -230
  11. package/Card.js +18 -18
  12. package/Carousel.js +165 -165
  13. package/Cascader.js +1 -1
  14. package/Checkbox.js +1 -1
  15. package/Collapse.js +1 -1
  16. package/ColorPicker.js +26 -26
  17. package/Comment.js +18 -18
  18. package/ConfigProvider.js +2 -2
  19. package/Copy.js +28 -27
  20. package/DatePicker.js +872 -871
  21. package/Descriptions.js +34 -34
  22. package/Divider.js +19 -19
  23. package/Draggable.js +27 -26
  24. package/Drawer.js +1 -1
  25. package/Dropdown.js +110 -110
  26. package/Empty.js +3 -3
  27. package/Form.js +984 -945
  28. package/Grid.js +34 -34
  29. package/Icon.js +16 -16
  30. package/IconHover.js +2 -2
  31. package/Image.js +2 -2
  32. package/Input.js +7 -6
  33. package/InputNumber.js +6 -6
  34. package/InputTag.js +1 -1
  35. package/Layout.js +24 -24
  36. package/Link.js +30 -30
  37. package/List.js +95 -95
  38. package/Mentions.js +85 -84
  39. package/Menu.js +2 -2
  40. package/Message.js +7 -6
  41. package/Modal.js +1 -1
  42. package/Notice.js +14 -3
  43. package/Notification.js +9 -7
  44. package/OverflowEllipsis.js +64 -62
  45. package/PageHeader.js +73 -73
  46. package/Pagination.js +1 -1
  47. package/Picker.js +1 -1
  48. package/Popconfirm.js +60 -60
  49. package/Popover.js +31 -31
  50. package/Portal.js +23 -31
  51. package/Progress.js +22 -22
  52. package/Radio.js +2 -2
  53. package/Rate.js +24 -24
  54. package/ResizeBox.js +274 -271
  55. package/Result.js +3 -3
  56. package/Select.js +4 -4
  57. package/SelectView.js +257 -238
  58. package/Skeleton.js +46 -46
  59. package/Slider.js +286 -283
  60. package/Space.js +28 -28
  61. package/SpeechSynthesis.js +62 -55
  62. package/Spin.js +23 -23
  63. package/Statistic.js +80 -80
  64. package/Steps.js +67 -67
  65. package/Switch.js +47 -47
  66. package/Table.js +1445 -1380
  67. package/Tabs.js +5 -5
  68. package/Tag.js +45 -45
  69. package/TimePicker.js +154 -154
  70. package/Timeline.js +2 -2
  71. package/Tooltip.js +80 -79
  72. package/Transfer.js +103 -102
  73. package/Tree.js +3 -2
  74. package/TreeSelect.js +2 -2
  75. package/Trigger.js +699 -772
  76. package/Typography.js +756 -6
  77. package/Upload.js +2 -2
  78. package/VerificationCode.js +1 -1
  79. package/Version.js +1 -1
  80. package/VirtualList.js +1 -1
  81. package/Watermark.js +1 -1
  82. package/chunk/{BHgJ5Y3T.js → -UuKKT0Z.js} +29 -29
  83. package/chunk/{B8QV6E2b.js → AwZqeapI.js} +5 -5
  84. package/chunk/B5gK1Idp.js +19 -0
  85. package/chunk/B7FlazNB.js +24 -0
  86. package/chunk/{DTBtQQ2H.js → BBvWDeuZ.js} +67 -67
  87. package/chunk/BCftTxEy.js +626 -0
  88. package/chunk/{CZOP_ZHJ.js → BGny4zSb.js} +60 -60
  89. package/chunk/BHF15Dog.js +98 -0
  90. package/chunk/BJQ5UNa-.js +1585 -0
  91. package/chunk/BP9sYyk9.js +8 -0
  92. package/chunk/BUdtVdnv.js +38 -0
  93. package/chunk/BVQlOzTS.js +11 -0
  94. package/chunk/B__a_gb_.js +519 -0
  95. package/chunk/BbEYToV1.js +10 -0
  96. package/chunk/BbdDQAnm.js +15 -0
  97. package/chunk/BdUcgWdu.js +11 -0
  98. package/chunk/BfbXSG70.js +26 -0
  99. package/chunk/BndfNLK4.js +186 -0
  100. package/chunk/BoMCZV6K.js +1098 -0
  101. package/chunk/Br0B6y1T.js +18 -0
  102. package/chunk/BrOW642m.js +130 -0
  103. package/chunk/BxUs8_Cr.js +9 -0
  104. package/chunk/{CcV4wQB1.js → C42LIMP9.js} +244 -242
  105. package/chunk/C4YkFMzC.js +778 -0
  106. package/chunk/{Bh23P4l7.js → C9Wcraj7.js} +21 -21
  107. package/chunk/{4-gvEY5y.js → CANgSlh3.js} +10 -10
  108. package/chunk/CJ_o9tZM.js +5 -0
  109. package/chunk/{DNAigumg.js → CK5m7rLl.js} +36 -36
  110. package/chunk/{CANaGbGR.js → CKNyIitu.js} +57 -56
  111. package/chunk/CLiqJm_T.js +10 -0
  112. package/chunk/{BnSVm1YC.js → CNmmhbCn.js} +32 -32
  113. package/chunk/{BFipyA67.js → CP0odX99.js} +51 -51
  114. package/chunk/CPT-OZH2.js +14 -0
  115. package/chunk/CVSF8p0O.js +698 -0
  116. package/chunk/C_agcwLN.js +31 -0
  117. package/chunk/{jhQQCFMn.js → C_gJWGGh.js} +201 -201
  118. package/chunk/{Bc7t9jkb.js → CaasmWg_.js} +11 -11
  119. package/chunk/Ce1j9KTi.js +6 -0
  120. package/chunk/{D_-UD4vO.js → Cf5QNhkG.js} +18 -18
  121. package/chunk/CkNSv2U7.js +56 -0
  122. package/chunk/Cp2f70gB.js +9 -0
  123. package/chunk/CpegYjdC.js +16 -0
  124. package/chunk/CucI3KZr.js +20 -0
  125. package/chunk/CwoFBTYz.js +11 -0
  126. package/chunk/D2KPqPhV.js +17 -0
  127. package/chunk/D7NyvE5f.js +17 -0
  128. package/chunk/D8oTPQ2H.js +384 -0
  129. package/chunk/{CLBavO5c.js → DC1iHEiy.js} +87 -87
  130. package/chunk/{DnvO8A0Z.js → DFrfrmfK.js} +120 -119
  131. package/chunk/DGTIZ_0O.js +6 -0
  132. package/chunk/DJfpiZn_.js +25 -0
  133. package/chunk/DKr2_PYd.js +34 -0
  134. package/chunk/DNUz6zgo.js +11 -0
  135. package/chunk/DRtM649q.js +11 -0
  136. package/chunk/DS_mUWn6.js +41 -0
  137. package/chunk/DU6bs_19.js +10 -0
  138. package/chunk/DWdbwz22.js +10 -0
  139. package/chunk/DcveZuqd.js +6 -0
  140. package/chunk/DdVFknul.js +24 -0
  141. package/chunk/DgRfikwe.js +16 -0
  142. package/chunk/{znkyQ-HR.js → DkyR2EfG.js} +66 -66
  143. package/chunk/{DUeHQKtx.js → DleQ5HwG.js} +42 -42
  144. package/chunk/DnrZEnQ_.js +27 -0
  145. package/chunk/DsRSHWtX.js +1025 -0
  146. package/chunk/Dz5BdmXo.js +270 -0
  147. package/chunk/EANe01DF.js +1030 -0
  148. package/chunk/{CwhPMMWy.js → Ey4YJCkX.js} +7 -7
  149. package/chunk/GoNx5R4F.js +873 -0
  150. package/chunk/HDUQku8d.js +20 -0
  151. package/chunk/HrAP__Hi.js +25 -0
  152. package/chunk/JPPo5nY_.js +9 -0
  153. package/chunk/{Du-bw6qA.js → SLWP34OR.js} +90 -85
  154. package/chunk/VVKtwaGf.js +278 -0
  155. package/chunk/WPNpLxSI.js +16 -0
  156. package/chunk/{CPvvjMwZ.js → WpO_DsK4.js} +49 -48
  157. package/chunk/fdU3ang6.js +14 -0
  158. package/chunk/{DQAot004.js → fkclKOAL.js} +298 -292
  159. package/chunk/flvYlqx3.js +22 -0
  160. package/chunk/kTDayEpF.js +288 -0
  161. package/chunk/{CssIjN1g.js → pZoNQ75H.js} +31 -31
  162. package/chunk/qFf1w_Jq.js +8 -0
  163. package/chunk/{CHnFKgbk.js → w-kM1L5W.js} +155 -155
  164. package/hooks/index.js +53 -49
  165. package/hooks/useComputedState.js +2 -10
  166. package/hooks/useCreate.js +2 -7
  167. package/hooks/useForceUpdate.js +2 -7
  168. package/hooks/useId.js +2 -10
  169. package/hooks/useInView.js +2 -30
  170. package/hooks/useIntersectionObserver.js +2 -23
  171. package/hooks/useInterval.js +2 -17
  172. package/hooks/useIsFirstRender.js +2 -9
  173. package/hooks/useIsomorphicLayoutEffect.js +2 -5
  174. package/hooks/useKeyboardEvent.js +2 -16
  175. package/hooks/useMedia.js +2 -15
  176. package/hooks/useMergeProps.js +2 -18
  177. package/hooks/useMergeValue.js +2 -19
  178. package/hooks/useOnlineStatus.js +4 -0
  179. package/hooks/useOverflowHidden.js +2 -25
  180. package/hooks/useOverrideRef.js +2 -13
  181. package/hooks/usePersistCallback.js +2 -13
  182. package/hooks/usePrefersColorSchemeDark.js +4 -0
  183. package/hooks/usePrevious.js +2 -9
  184. package/hooks/useRefs.js +2 -9
  185. package/hooks/useResizeObserver.js +2 -15
  186. package/hooks/useStateCallback.js +2 -15
  187. package/hooks/useStateWithPromise.js +2 -24
  188. package/hooks/useUpdateEffect.js +2 -9
  189. package/hooks/useVerificationCode.js +73 -0
  190. package/hooks/useWatch.js +2 -10
  191. package/hooks/{use-watermark.js → useWatermark.js} +27 -26
  192. package/hooks/useWindowSize.js +2 -20
  193. package/index.js +571 -584
  194. package/locale/en-US.js +4 -2
  195. package/locale/interface.js +1 -4
  196. package/locale/ja-JP.js +3 -1
  197. package/locale/tr-TR.js +1 -1
  198. package/locale/zh-CN.js +3 -1
  199. package/locale/zh-HK.js +3 -1
  200. package/locale/zh-TW.js +3 -1
  201. package/package.json +1 -1
  202. package/style.css +1 -1
  203. package/types/anchor/util.d.ts +1 -1
  204. package/types/button/index.d.ts +2 -2
  205. package/types/color-picker/hooks/useColorPicker.d.ts +2 -2
  206. package/types/form/Control-old.d.ts +56 -0
  207. package/types/form/Control.d.ts +6 -54
  208. package/types/form/FormItem.d.ts +1 -1
  209. package/types/form/store.d.ts +0 -1
  210. package/types/hooks/index.d.ts +2 -0
  211. package/types/hooks/useComputedState.d.ts +1 -4
  212. package/types/hooks/useCreate.d.ts +1 -2
  213. package/types/hooks/useForceUpdate.d.ts +1 -2
  214. package/types/hooks/useId.d.ts +1 -2
  215. package/types/hooks/useInView.d.ts +1 -11
  216. package/types/hooks/useIntersectionObserver.d.ts +1 -7
  217. package/types/hooks/useInterval.d.ts +1 -2
  218. package/types/hooks/useIsFirstRender.d.ts +1 -2
  219. package/types/hooks/useIsomorphicLayoutEffect.d.ts +1 -3
  220. package/types/hooks/useKeyboardEvent.d.ts +1 -8
  221. package/types/hooks/useMedia.d.ts +1 -2
  222. package/types/hooks/useMergeProps.d.ts +1 -5
  223. package/types/hooks/useMergeValue.d.ts +1 -6
  224. package/types/hooks/useOnlineStatus.d.ts +1 -0
  225. package/types/hooks/useOverflowHidden.d.ts +1 -5
  226. package/types/hooks/useOverrideRef.d.ts +1 -6
  227. package/types/hooks/usePersistCallback.d.ts +1 -2
  228. package/types/hooks/usePrefersColorSchemeDark.d.ts +1 -0
  229. package/types/hooks/usePrevious.d.ts +1 -3
  230. package/types/hooks/useRefs.d.ts +1 -2
  231. package/types/hooks/useResizeObserver.d.ts +1 -6
  232. package/types/hooks/useStateCallback.d.ts +1 -5
  233. package/types/hooks/useStateWithPromise.d.ts +1 -2
  234. package/types/hooks/useUpdateEffect.d.ts +1 -3
  235. package/types/hooks/useWatch.d.ts +1 -3
  236. package/types/hooks/useWindowSize.d.ts +1 -5
  237. package/types/image/interface.d.ts +1 -0
  238. package/types/index.d.ts +157 -86
  239. package/types/input/Input.d.ts +1 -1
  240. package/types/input/Textarea.d.ts +2 -2
  241. package/types/locale/en-US.d.ts +2 -0
  242. package/types/locale/interface.d.ts +1 -2
  243. package/types/locale/ja-JP.d.ts +2 -0
  244. package/types/locale/zh-CN.d.ts +2 -0
  245. package/types/locale/zh-HK.d.ts +2 -0
  246. package/types/locale/zh-TW.d.ts +2 -0
  247. package/types/menu/context.d.ts +1 -1
  248. package/types/message/index.d.ts +14 -14
  249. package/types/message/interface.d.ts +2 -0
  250. package/types/modal/config.d.ts +0 -1
  251. package/types/modal/interface.d.ts +0 -1
  252. package/types/notice/index.d.ts +2 -27
  253. package/types/notification/index.d.ts +15 -16
  254. package/types/notification/interface.d.ts +2 -0
  255. package/types/notification/withNotification.d.ts +2 -0
  256. package/types/select/util.d.ts +1 -2
  257. package/types/select-view/interface.d.ts +2 -1
  258. package/types/speech-synthesis/index.d.ts +1 -1
  259. package/types/table/constant.d.ts +2 -0
  260. package/types/table/hook/useThResizable.d.ts +7 -0
  261. package/types/table/index.d.ts +10 -1
  262. package/types/table/style/index.d.ts +1 -0
  263. package/types/table/th-resizable/index.d.ts +2 -0
  264. package/types/table/thead/Column.d.ts +1 -2
  265. package/types/tree/Tree.d.ts +12 -67
  266. package/types/tree-select/Select.d.ts +2 -2
  267. package/types/trigger/index.d.ts +2 -120
  268. package/types/trigger/interface.d.ts +2 -1
  269. package/types/utils/CSSTransition.d.ts +2 -3
  270. package/types/utils/caseName.d.ts +1 -1
  271. package/types/utils/className.d.ts +1 -1
  272. package/types/utils/constant.d.ts +2 -2
  273. package/types/utils/copy.d.ts +1 -1
  274. package/types/utils/dayjs.d.ts +1 -21
  275. package/types/utils/dom.d.ts +1 -6
  276. package/types/utils/fileToURL.d.ts +1 -1
  277. package/types/utils/fillNBSP.d.ts +1 -1
  278. package/types/utils/getHighlightText.d.ts +1 -5
  279. package/types/utils/getHotkeyHandler.d.ts +1 -8
  280. package/types/utils/getStringLength.d.ts +1 -1
  281. package/types/utils/include.d.ts +1 -1
  282. package/types/utils/index.d.ts +3 -4
  283. package/types/utils/is.d.ts +1 -16
  284. package/types/utils/keyboardCode.d.ts +3 -0
  285. package/types/utils/lodash.d.ts +1 -17
  286. package/types/utils/mergeProps.d.ts +1 -1
  287. package/types/utils/mergedToString.d.ts +1 -1
  288. package/types/utils/omit.d.ts +1 -1
  289. package/types/utils/pad.d.ts +1 -2
  290. package/types/utils/pick.d.ts +2 -4
  291. package/types/utils/reactDOM.d.ts +1 -7
  292. package/types/utils/resizeObserverEffect.d.ts +2 -0
  293. package/types/utils/saveAs.d.ts +1 -1
  294. package/types/utils/screenfull.d.ts +2 -0
  295. package/types/utils/scrollIntoView.d.ts +1 -2
  296. package/types/utils/style.d.ts +1 -3
  297. package/types/utils/throttleByRaf.d.ts +1 -5
  298. package/types/utils/throttleByRaf2.d.ts +1 -0
  299. package/types/utils/warning.d.ts +1 -2
  300. package/types/version/index.d.ts +1 -1
  301. package/utils/CSSTransition.js +2 -6
  302. package/utils/className.js +2 -2
  303. package/utils/constant.js +8 -9
  304. package/utils/contextHolder.js +1 -1
  305. package/utils/copy.js +1 -1
  306. package/utils/dayjs.js +14 -173
  307. package/utils/dom.js +33 -29
  308. package/utils/fillNBSP.js +2 -4
  309. package/utils/getHighlightText.js +2 -38
  310. package/utils/getHotkeyHandler.js +2 -25
  311. package/utils/getStringLength.js +2 -7
  312. package/utils/include.js +2 -7
  313. package/utils/index.js +237 -240
  314. package/utils/is.js +116 -156
  315. package/utils/keyboardCode.js +27 -0
  316. package/utils/mergeProps.js +2 -9
  317. package/utils/mergedToString.js +2 -13
  318. package/utils/omit.js +2 -9
  319. package/utils/pad.js +12 -12
  320. package/utils/pick.js +4 -15
  321. package/utils/reactDOM.js +3 -54
  322. package/utils/resizeObserverEffect.js +4 -0
  323. package/utils/saveAs.js +1 -1
  324. package/utils/screenfull.js +4 -0
  325. package/utils/scrollIntoView.js +2 -21
  326. package/utils/style.js +12 -11
  327. package/utils/throttleByRaf.js +13 -12
  328. package/utils/throttleByRaf2.js +5 -0
  329. package/utils/warning.js +5 -4
  330. package/NotificationBase.js +0 -53
  331. package/chunk/-zpSUpGE.js +0 -1501
  332. package/chunk/BAWsPQBM.js +0 -11
  333. package/chunk/BIT0j3HT.js +0 -269
  334. package/chunk/BbLKnaNO.js +0 -871
  335. package/chunk/Bfhv56O2.js +0 -638
  336. package/chunk/C2lIz2F9.js +0 -60
  337. package/chunk/C6QWSzsM.js +0 -376
  338. package/chunk/CVkHTbic.js +0 -995
  339. package/chunk/CeGEvXby.js +0 -278
  340. package/chunk/D3NFxdmG.js +0 -518
  341. package/chunk/DApXtulb.js +0 -1102
  342. package/chunk/DPByB1ab.js +0 -698
  343. package/chunk/DV1Ab_cG.js +0 -284
  344. package/chunk/dBnNCOIU.js +0 -778
  345. package/chunk/it8qlDZ3.js +0 -1032
  346. package/chunk/l0sNRNKZ.js +0 -1
  347. package/chunk/te_43YrB.js +0 -776
  348. package/hooks/use-verification-code.js +0 -73
  349. package/types/notification-base/index.d.ts +0 -15
  350. package/types/notification-base/style/index.d.ts +0 -2
  351. package/types/trigger/Portal.d.ts +0 -7
  352. package/types/utils/keyCode.d.ts +0 -45
  353. package/types/utils/raf.d.ts +0 -3
  354. package/types/utils/throttleByRafV2.d.ts +0 -5
  355. package/utils/keyCode.js +0 -12
  356. package/utils/raf.js +0 -19
  357. package/utils/throttleByRafV2.js +0 -16
@@ -1,14 +1,14 @@
1
- import { jsxs as I, jsx as l } from "react/jsx-runtime";
1
+ import { jsxs as P, jsx as l } from "react/jsx-runtime";
2
2
  import v, { useContext as D, useRef as j, useEffect as k } from "react";
3
- import { d as S } from "./-zpSUpGE.js";
4
- import { useMergeProps as F } from "../hooks/useMergeProps.js";
3
+ import { a as S } from "./BJQ5UNa-.js";
4
+ import { c as F } from "./B5gK1Idp.js";
5
5
  import E from "../Spin.js";
6
- import { y as b } from "./BAWsPQBM.js";
6
+ import { m as b } from "./JPPo5nY_.js";
7
7
  const L = {
8
8
  dotType: "solid",
9
9
  lineType: "solid"
10
10
  };
11
- function M(f, u) {
11
+ function O(f, u) {
12
12
  const { getPrefixCls: d, componentConfig: r } = D(S), i = F(
13
13
  f,
14
14
  L,
@@ -18,11 +18,11 @@ function M(f, u) {
18
18
  className: g,
19
19
  style: T,
20
20
  label: $,
21
- position: P,
21
+ position: x,
22
22
  dot: h,
23
23
  dotColor: c,
24
24
  dotType: a,
25
- lineType: x,
25
+ lineType: I,
26
26
  lineColor: N,
27
27
  direction: p,
28
28
  labelPosition: o,
@@ -38,7 +38,7 @@ function M(f, u) {
38
38
  m && y();
39
39
  }, [i]);
40
40
  const R = $ && /* @__PURE__ */ l("div", { className: `${e}-item-label`, children: $ });
41
- return /* @__PURE__ */ I(
41
+ return /* @__PURE__ */ P(
42
42
  "div",
43
43
  {
44
44
  ref: u,
@@ -47,20 +47,20 @@ function M(f, u) {
47
47
  className: b(
48
48
  `${e}-item`,
49
49
  {
50
- [`${e}-item-${p}-${P}`]: p,
50
+ [`${e}-item-${p}-${x}`]: p,
51
51
  [`${e}-item-label-${o}`]: o
52
52
  },
53
53
  g
54
54
  ),
55
55
  style: T,
56
56
  children: [
57
- /* @__PURE__ */ I("div", { className: `${e}-item-dot-wrapper`, children: [
57
+ /* @__PURE__ */ P("div", { className: `${e}-item-dot-wrapper`, children: [
58
58
  /* @__PURE__ */ l(
59
59
  "div",
60
60
  {
61
61
  className: `${e}-item-dot-line ${e}-item-dot-line-is-${p}`,
62
62
  style: {
63
- [`${p === "horizontal" ? "borderTopStyle" : "borderLeftStyle"}`]: x,
63
+ [`${p === "horizontal" ? "borderTopStyle" : "borderLeftStyle"}`]: I,
64
64
  ...N ? { borderColor: N } : {}
65
65
  }
66
66
  }
@@ -76,7 +76,7 @@ function M(f, u) {
76
76
  }
77
77
  ) })
78
78
  ] }),
79
- /* @__PURE__ */ I("div", { className: `${e}-item-content-wrapper`, children: [
79
+ /* @__PURE__ */ P("div", { className: `${e}-item-content-wrapper`, children: [
80
80
  n && /* @__PURE__ */ l("div", { className: `${e}-item-content`, children: n }),
81
81
  o !== "relative" && R
82
82
  ] }),
@@ -85,10 +85,10 @@ function M(f, u) {
85
85
  }
86
86
  );
87
87
  }
88
- const O = v.forwardRef(M), C = O;
88
+ const X = v.forwardRef(O), C = X;
89
89
  C.displayName = "TimelineItem";
90
90
  C.isTimelineItem = !0;
91
- const X = (f, u, d, r) => {
91
+ const Y = (f, u, d, r) => {
92
92
  let i = ["left", "right"];
93
93
  r === "horizontal" && (i = ["top", "bottom"]);
94
94
  const n = d === "alternate" ? f || i[u % 2] : d;
@@ -99,7 +99,7 @@ const X = (f, u, d, r) => {
99
99
  pendingDot: /* @__PURE__ */ l(E, { size: 12 }),
100
100
  labelPosition: "same"
101
101
  };
102
- function Y(f, u) {
102
+ function q(f, u) {
103
103
  const { getPrefixCls: d, componentConfig: r, rtl: i } = D(S);
104
104
  i && (z.mode = "right");
105
105
  const n = F(
@@ -110,14 +110,14 @@ function Y(f, u) {
110
110
  className: g,
111
111
  mode: T,
112
112
  reverse: $,
113
- children: P,
113
+ children: x,
114
114
  style: h,
115
115
  direction: c,
116
116
  pending: a,
117
- labelPosition: x,
117
+ labelPosition: I,
118
118
  pendingDot: N,
119
119
  ...p
120
- } = n, o = d("timeline"), m = v.Children.map(P, (t) => t && t.type && t.type.isTimelineItem ? t : null) || [];
120
+ } = n, o = d("timeline"), m = v.Children.map(x, (t) => t && t.type && t.type.isTimelineItem ? t : null) || [];
121
121
  return a && m.push(
122
122
  /* @__PURE__ */ l(C, { lineType: "dashed", dot: N, children: a === !0 ? "" : a })
123
123
  ), $ && m.reverse(), /* @__PURE__ */ l(
@@ -144,8 +144,8 @@ function Y(f, u) {
144
144
  className: b(t.props.className, {
145
145
  [`${o}-item-last`]: m.length - 1 === s
146
146
  }),
147
- labelPosition: x,
148
- position: X(e, s, T, c),
147
+ labelPosition: I,
148
+ position: Y(e, s, T, c),
149
149
  direction: c,
150
150
  lineType: y
151
151
  });
@@ -153,7 +153,7 @@ function Y(f, u) {
153
153
  }
154
154
  );
155
155
  }
156
- const q = v.forwardRef(Y), W = q;
156
+ const A = v.forwardRef(q), W = A;
157
157
  W.displayName = "Timeline";
158
158
  W.Item = C;
159
159
  export {
@@ -1,6 +1,6 @@
1
1
  import M from "lodash/isFunction";
2
2
  import O from "lodash/isString";
3
- const e = (t) => (i) => Math.pow(i, t), a = (t) => (i) => 1 - Math.abs(Math.pow(i - 1, t)), r = (t) => (i) => i < 0.5 ? e(t)(i * 2) / 2 : a(t)(i * 2 - 1) / 2 + 0.5, q = (t) => t, y = e(2), b = a(2), g = r(2), F = e(3), k = a(3), w = r(3), P = e(4), S = a(4), T = r(4), A = e(5), D = a(5), U = r(5), v = (t) => 1 + Math.sin(Math.PI / 2 * t - Math.PI / 2), x = (t) => Math.sin(Math.PI / 2 * t), j = (t) => (1 + Math.sin(Math.PI * t - Math.PI / 2)) / 2, u = (t) => t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? (t -= 1.5 / 2.75, 7.5625 * t * t + 0.75) : t < 2.5 / 2.75 ? (t -= 2.25 / 2.75, 7.5625 * t * t + 0.9375) : (t -= 2.625 / 2.75, 7.5625 * t * t + 0.984375), l = (t) => 1 - u(1 - t), B = (t) => t < 0.5 ? l(t * 2) * 0.5 : u(t * 2 - 1) * 0.5 + 0.5, d = {
3
+ const h = (t) => (i) => Math.pow(i, t), a = (t) => (i) => 1 - Math.abs(Math.pow(i - 1, t)), o = (t) => (i) => i < 0.5 ? h(t)(i * 2) / 2 : a(t)(i * 2 - 1) / 2 + 0.5, q = (t) => t, y = h(2), b = a(2), g = o(2), F = h(3), k = a(3), w = o(3), P = h(4), S = a(4), T = o(4), A = h(5), D = a(5), U = o(5), x = (t) => 1 + Math.sin(Math.PI / 2 * t - Math.PI / 2), j = (t) => Math.sin(Math.PI / 2 * t), v = (t) => (1 + Math.sin(Math.PI * t - Math.PI / 2)) / 2, u = (t) => t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? (t -= 1.5 / 2.75, 7.5625 * t * t + 0.75) : t < 2.5 / 2.75 ? (t -= 2.25 / 2.75, 7.5625 * t * t + 0.9375) : (t -= 2.625 / 2.75, 7.5625 * t * t + 0.984375), l = (t) => 1 - u(1 - t), B = (t) => t < 0.5 ? l(t * 2) * 0.5 : u(t * 2 - 1) * 0.5 + 0.5, d = {
4
4
  linear: q,
5
5
  quadIn: y,
6
6
  quadOut: b,
@@ -14,9 +14,9 @@ const e = (t) => (i) => Math.pow(i, t), a = (t) => (i) => 1 - Math.abs(Math.pow(
14
14
  quintIn: A,
15
15
  quintOut: D,
16
16
  quintInOut: U,
17
- sineIn: v,
18
- sineOut: x,
19
- sineInOut: j,
17
+ sineIn: x,
18
+ sineOut: j,
19
+ sineInOut: v,
20
20
  bounceOut: u,
21
21
  bounceIn: l,
22
22
  bounceInOut: B
@@ -28,16 +28,16 @@ class z {
28
28
  to: s,
29
29
  duration: m,
30
30
  delay: c,
31
- easing: o,
31
+ easing: r,
32
32
  onStart: f,
33
33
  onUpdate: p,
34
34
  onFinish: I
35
35
  } = i;
36
- for (let h in n)
37
- s[h] === void 0 && (s[h] = n[h]);
38
- for (let h in s)
39
- n[h] === void 0 && (n[h] = s[h]);
40
- this.from = n, this.to = s, this.duration = m || 500, this.delay = c || 0, M(o) ? this.easing = o : O(o) && (this.easing = d[o]), this.easing || (this.easing = d.linear), this.onStart = f, this.onUpdate = p || function() {
36
+ for (let e in n)
37
+ s[e] === void 0 && (s[e] = n[e]);
38
+ for (let e in s)
39
+ n[e] === void 0 && (n[e] = s[e]);
40
+ this.from = n, this.to = s, this.duration = m || 500, this.delay = c || 0, M(r) ? this.easing = r : O(r) && (this.easing = d[r]), this.easing || (this.easing = d.linear), this.onStart = f, this.onUpdate = p || function() {
41
41
  }, this.onFinish = I, this.startTime = Date.now() + this.delay, this.started = !1, this.finished = !1, this.timer = null, this.keys = {};
42
42
  }
43
43
  update() {
@@ -0,0 +1,5 @@
1
+ const o = () => {
2
+ };
3
+ export {
4
+ o
5
+ };
@@ -1,46 +1,46 @@
1
1
  import { jsx as z } from "react/jsx-runtime";
2
2
  import Q from "lodash/isNumber";
3
3
  import U from "lodash/isPlainObject";
4
- import { createContext as L, forwardRef as T, useContext as H, useMemo as W, useState as X, useRef as Y, useEffect as Z } from "react";
5
- import { d as D } from "./-zpSUpGE.js";
6
- import { useMergeProps as F } from "../hooks/useMergeProps.js";
7
- import { y as q } from "./BAWsPQBM.js";
8
- import _ from "../utils/omit.js";
4
+ import { createContext as L, forwardRef as D, useContext as H, useMemo as W, useState as X, useRef as Y, useEffect as Z } from "react";
5
+ import { a as F } from "./BJQ5UNa-.js";
6
+ import { c as M } from "./B5gK1Idp.js";
7
+ import { m as q } from "./JPPo5nY_.js";
8
+ import { c as _ } from "./BdUcgWdu.js";
9
9
  import B, { responsiveArray as E } from "../utils/responsiveObserve.js";
10
10
  const I = L({}), mt = L({}), yt = L(
11
11
  {}
12
12
  ), tt = {
13
13
  span: 24
14
14
  };
15
- function M(a) {
15
+ function T(a) {
16
16
  return typeof a == "string" && /\d+[px|%|em|rem|]{1}/.test(a) ? `0 0 ${a}` : a;
17
17
  }
18
18
  function rt(a, G) {
19
- const { getPrefixCls: P, componentConfig: c, rtl: S } = H(D), k = F(
19
+ const { getPrefixCls: P, componentConfig: l, rtl: S } = H(F), k = M(
20
20
  a,
21
21
  tt,
22
- c == null ? void 0 : c["Grid.Col"]
23
- ), { gutter: u, div: m } = H(I), {
22
+ l == null ? void 0 : l["Grid.Col"]
23
+ ), { gutter: f, div: m } = H(I), {
24
24
  className: N,
25
25
  style: y,
26
26
  children: A,
27
27
  span: j,
28
28
  offset: o,
29
- order: v,
30
- pull: R,
29
+ order: R,
30
+ pull: v,
31
31
  push: w,
32
32
  xs: g,
33
33
  sm: x,
34
- md: f,
34
+ md: u,
35
35
  lg: C,
36
- xl: l,
36
+ xl: c,
37
37
  xxl: d,
38
38
  xxxl: $,
39
39
  flex: t,
40
40
  ...i
41
41
  } = k;
42
42
  function b(n, s) {
43
- const O = { xs: g, sm: x, md: f, lg: C, xl: l, xxl: d, xxxl: $ };
43
+ const O = { xs: g, sm: x, md: u, lg: C, xl: c, xxl: d, xxxl: $ };
44
44
  return Object.keys(O).forEach((p) => {
45
45
  const r = O[p];
46
46
  Q(r) ? r >= 0 && (s[`${n}-${p}-${r}`] = !0) : U(r) && (s[`${n}-${p}-${r.span}`] = r.span, s[`${n}-${p}-offset-${r.offset}`] = r.offset, s[`${n}-${p}-order-${r.order}`] = r.order, s[`${n}-${p}-pull-${r.pull}`] = r.pull, s[`${n}-${p}-push-${r.push}`] = r.push);
@@ -49,21 +49,21 @@ function rt(a, G) {
49
49
  const e = P("col");
50
50
  let V = {
51
51
  [`${e}`]: !m,
52
- [`${e}-order-${v}`]: v,
53
- [`${e}-${j}`]: !m && !g && !x && !f && !C && !l && !d && !$,
52
+ [`${e}-order-${R}`]: R,
53
+ [`${e}-${j}`]: !m && !g && !x && !u && !C && !c && !d && !$,
54
54
  [`${e}-offset-${o}`]: o,
55
- [`${e}-pull-${R}`]: R,
55
+ [`${e}-pull-${v}`]: v,
56
56
  [`${e}-push-${w}`]: w,
57
57
  [`${e}-rtl`]: S
58
58
  };
59
59
  V = b(e, V);
60
60
  const J = q(t ? e : V, N), h = {};
61
- if (Array.isArray(u) && !m) {
62
- const n = u[0] && u[0] / 2 || 0, s = u[1] && u[1] / 2 || 0;
61
+ if (Array.isArray(f) && !m) {
62
+ const n = f[0] && f[0] / 2 || 0, s = f[1] && f[1] / 2 || 0;
63
63
  n && (h.paddingLeft = n, h.paddingRight = n), s && (h.paddingTop = s, h.paddingBottom = s);
64
64
  }
65
65
  const K = W(
66
- () => M(t) ? { flex: M(t) } : {},
66
+ () => T(t) ? { flex: T(t) } : {},
67
67
  [t]
68
68
  );
69
69
  return /* @__PURE__ */ z(
@@ -81,7 +81,7 @@ function rt(a, G) {
81
81
  }
82
82
  );
83
83
  }
84
- const ot = T(rt);
84
+ const ot = D(rt);
85
85
  ot.displayName = "Col";
86
86
  const et = {
87
87
  gutter: 0,
@@ -89,11 +89,11 @@ const et = {
89
89
  justify: "start"
90
90
  };
91
91
  function st(a, G) {
92
- const { getPrefixCls: P, componentConfig: c, rtl: S } = H(D), k = F(
92
+ const { getPrefixCls: P, componentConfig: l, rtl: S } = H(F), k = M(
93
93
  a,
94
94
  et,
95
- c == null ? void 0 : c["Grid.Row"]
96
- ), { className: u, style: m, children: N, div: y, align: A, justify: j, gutter: o, ...v } = k, [R, w] = X({
95
+ l == null ? void 0 : l["Grid.Row"]
96
+ ), { className: f, style: m, children: N, div: y, align: A, justify: j, gutter: o, ...R } = k, [v, w] = X({
97
97
  xs: !0,
98
98
  sm: !0,
99
99
  md: !0,
@@ -112,7 +112,7 @@ function st(a, G) {
112
112
  if (typeof t == "object")
113
113
  for (let b = 0; b < E.length; b++) {
114
114
  const e = E[b];
115
- if (R[e] && t[e] !== void 0) {
115
+ if (v[e] && t[e] !== void 0) {
116
116
  i = t[e];
117
117
  break;
118
118
  }
@@ -121,29 +121,29 @@ function st(a, G) {
121
121
  i = t;
122
122
  return i;
123
123
  }
124
- const f = P("row"), C = q(
124
+ const u = P("row"), C = q(
125
125
  {
126
- [`${f}`]: !y,
127
- [`${f}-align-${A}`]: A,
128
- [`${f}-justify-${j}`]: j,
129
- [`${f}-rtl`]: S
126
+ [`${u}`]: !y,
127
+ [`${u}-align-${A}`]: A,
128
+ [`${u}-justify-${j}`]: j,
129
+ [`${u}-rtl`]: S
130
130
  },
131
- u
132
- ), l = {}, d = x(
131
+ f
132
+ ), c = {}, d = x(
133
133
  Array.isArray(o) ? o[0] : o
134
134
  ), $ = x(Array.isArray(o) ? o[1] : 0);
135
135
  if ((d || $) && !y) {
136
136
  const t = -d / 2, i = -$ / 2;
137
- t && (l.marginLeft = t, l.marginRight = t), i && (l.marginTop = i, l.marginBottom = i);
137
+ t && (c.marginLeft = t, c.marginRight = t), i && (c.marginTop = i, c.marginBottom = i);
138
138
  }
139
139
  return /* @__PURE__ */ z(
140
140
  "div",
141
141
  {
142
142
  ref: G,
143
- ..._(v, ["gutter"]),
143
+ ..._(R, ["gutter"]),
144
144
  style: {
145
145
  ...m,
146
- ...l
146
+ ...c
147
147
  },
148
148
  className: C,
149
149
  children: /* @__PURE__ */ z(
@@ -156,7 +156,7 @@ function st(a, G) {
156
156
  }
157
157
  );
158
158
  }
159
- const nt = T(st);
159
+ const nt = D(st);
160
160
  nt.displayName = "Row";
161
161
  export {
162
162
  ot as C,
@@ -9,13 +9,13 @@ const _ = (t) => typeof t == "object" && t != null && t.nodeType === 1, $ = (t,
9
9
  }, nt = (t) => {
10
10
  const e = ot(t);
11
11
  return e ? e.clientHeight < t.scrollHeight || e.clientWidth < t.scrollWidth : !1;
12
- }, A = (t, e) => {
12
+ }, j = (t, e) => {
13
13
  if (t.clientHeight < t.scrollHeight || t.clientWidth < t.scrollWidth) {
14
14
  const l = getComputedStyle(t, null);
15
15
  return $(l.overflowY, e) || $(l.overflowX, e) || nt(t);
16
16
  }
17
17
  return !1;
18
- }, j = (t, e, l, h, p, n, r, f) => n < t && r > e || n > t && r < e ? 0 : n <= t && f <= l || r >= e && f >= l ? n - t - h : r > e && f < l || n < t && f > l ? r - e + p : 0, rt = (t) => t.parentElement ?? (t.getRootNode().host || null), lt = (t) => {
18
+ }, L = (t, e, l, h, u, n, r, d) => n < t && r > e || n > t && r < e ? 0 : n <= t && d <= l || r >= e && d >= l ? n - t - h : r > e && d < l || n < t && d > l ? r - e + u : 0, rt = (t) => t.parentElement ?? (t.getRootNode().host || null), lt = (t) => {
19
19
  const e = window.getComputedStyle(t);
20
20
  return {
21
21
  top: parseFloat(e.scrollMarginTop) || 0,
@@ -27,99 +27,100 @@ const _ = (t) => typeof t == "object" && t != null && t.nodeType === 1, $ = (t,
27
27
  var l, h;
28
28
  if (typeof document > "u")
29
29
  return [];
30
- const { scrollMode: p, block: n, inline: r, boundary: f, skipOverflowHiddenElements: L } = e, et = typeof f == "function" ? f : (W) => W !== f;
30
+ const { scrollMode: u, block: n, inline: r, boundary: d, skipOverflowHiddenElements: V } = e, et = typeof d == "function" ? d : (W) => W !== d;
31
31
  if (!_(t))
32
32
  throw new TypeError("Invalid target");
33
- const G = document.scrollingElement || document.documentElement, v = [];
34
- let c = t;
35
- for (; _(c) && et(c); ) {
36
- if (c = rt(c), c === G) {
37
- v.push(c);
33
+ const D = document.scrollingElement || document.documentElement, M = [];
34
+ let a = t;
35
+ for (; _(a) && et(a); ) {
36
+ if (a = rt(a), a === D) {
37
+ M.push(a);
38
38
  break;
39
39
  }
40
- c != null && c === document.body && A(c) && !A(document.documentElement) || c != null && A(c, L) && v.push(c);
40
+ a != null && a === document.body && j(a) && !j(document.documentElement) || a != null && j(a, V) && M.push(a);
41
41
  }
42
- const u = ((l = window.visualViewport) == null ? void 0 : l.width) ?? innerWidth, g = ((h = window.visualViewport) == null ? void 0 : h.height) ?? innerHeight, { scrollX: m, scrollY: b } = window, {
42
+ const p = ((l = window.visualViewport) == null ? void 0 : l.width) ?? innerWidth, g = ((h = window.visualViewport) == null ? void 0 : h.height) ?? innerHeight, { scrollX: m, scrollY: b } = window, {
43
43
  height: w,
44
44
  width: y,
45
- top: M,
46
- right: V,
47
- bottom: D,
48
- left: H
45
+ top: H,
46
+ right: O,
47
+ bottom: X,
48
+ left: v
49
49
  } = t.getBoundingClientRect(), {
50
50
  top: J,
51
51
  right: K,
52
52
  bottom: P,
53
53
  left: Q
54
54
  } = lt(t);
55
- let a = n === "start" || n === "nearest" ? M - J : n === "end" ? D + P : M + w / 2 - J + P, d = r === "center" ? H + y / 2 - Q + K : r === "end" ? V + K : H - Q;
56
- const O = [];
57
- for (let W = 0; W < v.length; W++) {
58
- const o = v[W], { height: F, width: C, top: E, right: X, bottom: Y, left: R } = o.getBoundingClientRect();
59
- if (p === "if-needed" && M >= 0 && H >= 0 && D <= g && V <= u && M >= E && D <= Y && H >= R && V <= X)
60
- return O;
55
+ let c = n === "start" || n === "nearest" ? H - J : n === "end" ? X + P : H + w / 2 - J + P, f = r === "center" ? v + y / 2 - Q + K : r === "end" ? O + K : v - Q;
56
+ const Y = [];
57
+ for (let W = 0; W < M.length; W++) {
58
+ const o = M[W], { height: F, width: C, top: E, right: q, bottom: z, left: R } = o.getBoundingClientRect();
59
+ if (u === "if-needed" && H >= 0 && v >= 0 && X <= g && O <= p && // scrollingElement is added to the frames array even if it's not scrollable, in which case checking its bounds is not required
60
+ (o === D && !j(o) || H >= E && X <= z && v >= R && O <= q))
61
+ return Y;
61
62
  const k = getComputedStyle(o), N = parseInt(k.borderLeftWidth, 10), T = parseInt(k.borderTopWidth, 10), x = parseInt(k.borderRightWidth, 10), B = parseInt(k.borderBottomWidth, 10);
62
63
  let i = 0, s = 0;
63
- const I = "offsetWidth" in o ? o.offsetWidth - o.clientWidth - N - x : 0, S = "offsetHeight" in o ? o.offsetHeight - o.clientHeight - T - B : 0, q = "offsetWidth" in o ? o.offsetWidth === 0 ? 0 : C / o.offsetWidth : 0, z = "offsetHeight" in o ? o.offsetHeight === 0 ? 0 : F / o.offsetHeight : 0;
64
- if (G === o)
65
- n === "start" ? i = a : n === "end" ? i = a - g : n === "nearest" ? i = j(
64
+ const I = "offsetWidth" in o ? o.offsetWidth - o.clientWidth - N - x : 0, S = "offsetHeight" in o ? o.offsetHeight - o.clientHeight - T - B : 0, A = "offsetWidth" in o ? o.offsetWidth === 0 ? 0 : C / o.offsetWidth : 0, G = "offsetHeight" in o ? o.offsetHeight === 0 ? 0 : F / o.offsetHeight : 0;
65
+ if (D === o)
66
+ n === "start" ? i = c : n === "end" ? i = c - g : n === "nearest" ? i = L(
66
67
  b,
67
68
  b + g,
68
69
  g,
69
70
  T,
70
71
  B,
71
- b + a,
72
- b + a + w,
72
+ b + c,
73
+ b + c + w,
73
74
  w
74
- ) : i = a - g / 2, r === "start" ? s = d : r === "center" ? s = d - u / 2 : r === "end" ? s = d - u : s = j(
75
+ ) : i = c - g / 2, r === "start" ? s = f : r === "center" ? s = f - p / 2 : r === "end" ? s = f - p : s = L(
75
76
  m,
76
- m + u,
77
- u,
77
+ m + p,
78
+ p,
78
79
  N,
79
80
  x,
80
- m + d,
81
- m + d + y,
81
+ m + f,
82
+ m + f + y,
82
83
  y
83
84
  ), i = Math.max(0, i + b), s = Math.max(0, s + m);
84
85
  else {
85
- n === "start" ? i = a - E - T : n === "end" ? i = a - Y + B + S : n === "nearest" ? i = j(
86
+ n === "start" ? i = c - E - T : n === "end" ? i = c - z + B + S : n === "nearest" ? i = L(
86
87
  E,
87
- Y,
88
+ z,
88
89
  F,
89
90
  T,
90
91
  B + S,
91
- a,
92
- a + w,
92
+ c,
93
+ c + w,
93
94
  w
94
- ) : i = a - (E + F / 2) + S / 2, r === "start" ? s = d - R - N : r === "center" ? s = d - (R + C / 2) + I / 2 : r === "end" ? s = d - X + x + I : s = j(
95
+ ) : i = c - (E + F / 2) + S / 2, r === "start" ? s = f - R - N : r === "center" ? s = f - (R + C / 2) + I / 2 : r === "end" ? s = f - q + x + I : s = L(
95
96
  R,
96
- X,
97
+ q,
97
98
  C,
98
99
  N,
99
100
  x + I,
100
- d,
101
- d + y,
101
+ f,
102
+ f + y,
102
103
  y
103
104
  );
104
105
  const { scrollLeft: U, scrollTop: Z } = o;
105
- i = z === 0 ? 0 : Math.max(
106
+ i = G === 0 ? 0 : Math.max(
106
107
  0,
107
108
  Math.min(
108
- Z + i / z,
109
- o.scrollHeight - F / z + S
109
+ Z + i / G,
110
+ o.scrollHeight - F / G + S
110
111
  )
111
- ), s = q === 0 ? 0 : Math.max(
112
+ ), s = A === 0 ? 0 : Math.max(
112
113
  0,
113
114
  Math.min(
114
- U + s / q,
115
- o.scrollWidth - C / q + I
115
+ U + s / A,
116
+ o.scrollWidth - C / A + I
116
117
  )
117
- ), a += Z - i, d += U - s;
118
+ ), c += Z - i, f += U - s;
118
119
  }
119
- O.push({ el: o, top: i, left: s });
120
+ Y.push({ el: o, top: i, left: s });
120
121
  }
121
- return O;
122
- }, it = (t) => t === Object(t) && Object.keys(t).length !== 0, st = (t) => typeof t == "object" ? typeof t.behavior == "function" : !1, ct = (t) => t === !1 ? { block: "end", inline: "nearest" } : it(t) ? t : { block: "start", inline: "nearest" }, at = (t) => {
122
+ return Y;
123
+ }, it = (t) => t === Object(t) && Object.keys(t).length !== 0, st = (t) => typeof t == "object" ? typeof t.behavior == "function" : !1, at = (t) => t === !1 ? { block: "end", inline: "nearest" } : it(t) ? t : { block: "start", inline: "nearest" }, ct = (t) => {
123
124
  const e = window.getComputedStyle(t);
124
125
  return {
125
126
  top: parseFloat(e.scrollMarginTop) || 0,
@@ -127,7 +128,7 @@ const _ = (t) => typeof t == "object" && t != null && t.nodeType === 1, $ = (t,
127
128
  bottom: parseFloat(e.scrollMarginBottom) || 0,
128
129
  left: parseFloat(e.scrollMarginLeft) || 0
129
130
  };
130
- }, dt = (t) => {
131
+ }, ft = (t) => {
131
132
  let e = t;
132
133
  for (; e && e.parentNode; ) {
133
134
  if (e.parentNode === document)
@@ -136,19 +137,19 @@ const _ = (t) => typeof t == "object" && t != null && t.nodeType === 1, $ = (t,
136
137
  }
137
138
  return !1;
138
139
  };
139
- function ft(t, e) {
140
- if (!t.isConnected || !dt(t))
140
+ function dt(t, e) {
141
+ if (!t.isConnected || !ft(t))
141
142
  return;
142
- const l = at(t);
143
+ const l = ct(t);
143
144
  if (st(e))
144
145
  return e.behavior(tt(t, e));
145
146
  const h = typeof e == "boolean" || e == null ? void 0 : e.behavior;
146
- for (const { el: p, top: n, left: r } of tt(t, ct(e))) {
147
- const f = n - l.top + l.bottom, L = r - l.left + l.right;
148
- p.scroll({ top: f, left: L, behavior: h });
147
+ for (const { el: u, top: n, left: r } of tt(t, at(e))) {
148
+ const d = n - l.top + l.bottom, V = r - l.left + l.right;
149
+ u.scroll({ top: d, left: V, behavior: h });
149
150
  }
150
151
  }
151
152
  export {
152
153
  tt as i,
153
- ft as p
154
+ dt as p
154
155
  };
@@ -0,0 +1,10 @@
1
+ import { useRef as r, useEffect as t } from "react";
2
+ function f() {
3
+ const e = r(!0);
4
+ return t(() => {
5
+ e.current = !1;
6
+ }, []), e.current;
7
+ }
8
+ export {
9
+ f as u
10
+ };