@pfct/purple 1.5.0-rc.1 → 1.5.0-rc.10

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 (325) hide show
  1. package/dist/Icon/utils/svgr-cli.template.d.ts +7 -0
  2. package/dist/assets/index.css +1 -1
  3. package/dist/chunks/clsx.C11secjj.js +1 -0
  4. package/dist/chunks/clsx.OuTLNxxd.js +16 -0
  5. package/dist/chunks/index.1jpVsLW3.js +1 -0
  6. package/dist/chunks/index.B0nfUjLZ.js +374 -0
  7. package/dist/chunks/index.BCUPRn9W.js +5 -0
  8. package/dist/chunks/index.BGQJ5UjQ.js +1 -0
  9. package/dist/chunks/index.BKQj6Ros.js +1 -0
  10. package/dist/chunks/index.BX-VsGjT.js +1 -0
  11. package/dist/chunks/index.BZCoWHJr.js +41 -0
  12. package/dist/chunks/index.BZPx6jYI.js +8 -0
  13. package/dist/chunks/index.Bi2dd8ax.js +354 -0
  14. package/dist/chunks/index.BrP7bNBb.js +35 -0
  15. package/dist/chunks/index.CL8HuWEm.js +154 -0
  16. package/dist/chunks/{index.styled.D_VcbV29.js → index.Ca_yAFix.js} +266 -328
  17. package/dist/chunks/{index.LN3KW-I4.js → index.Cc-miKAT.js} +1 -1
  18. package/dist/chunks/index.Cg4EOYHb.js +71 -0
  19. package/dist/chunks/index.CuQJFSqG.js +82 -0
  20. package/dist/chunks/index.D2jUN9AV.js +1 -0
  21. package/dist/chunks/index.DB6HVhpz.js +1 -0
  22. package/dist/chunks/index.DG2yRD83.js +27 -0
  23. package/dist/chunks/index.DLeNytVF.js +9 -0
  24. package/dist/chunks/index.DMhXgOEz.js +1 -0
  25. package/dist/chunks/index.DaxnLcvM.js +1 -0
  26. package/dist/chunks/index.Dh7jK0Mq.js +777 -0
  27. package/dist/chunks/index.DqB4vTTG.js +1 -0
  28. package/dist/chunks/index.F4-yWY3F.js +1335 -0
  29. package/dist/chunks/index.R27B_vrp.js +1 -0
  30. package/dist/chunks/index.Sb_wKSRC.js +13 -0
  31. package/dist/chunks/index.Zd9j6m3g.js +1 -0
  32. package/dist/chunks/index.kG55MjaG.js +659 -0
  33. package/dist/components/Accordion/index.cjs.js +1 -1
  34. package/dist/components/Accordion/index.es.js +266 -445
  35. package/dist/components/Badge/BaseBadge/index.cjs.js +1 -1
  36. package/dist/components/Badge/BaseBadge/index.es.js +1 -1
  37. package/dist/components/Badge/BaseBadge/index.styled.cjs.js +1 -1
  38. package/dist/components/Badge/BaseBadge/index.styled.es.js +1 -1
  39. package/dist/components/BottomSheet/BaseBottomSheet/index.cjs.js +1 -1
  40. package/dist/components/BottomSheet/BaseBottomSheet/index.es.js +24 -26
  41. package/dist/components/BottomSheet/NavBottomSheet/index.cjs.js +1 -1
  42. package/dist/components/BottomSheet/NavBottomSheet/index.es.js +1 -1
  43. package/dist/components/BottomSheet/TitleBottomSheet/index.cjs.js +1 -1
  44. package/dist/components/BottomSheet/TitleBottomSheet/index.es.js +1 -1
  45. package/dist/components/BottomSheet/index.cjs.js +1 -1
  46. package/dist/components/BottomSheet/index.es.js +1 -1
  47. package/dist/components/Button/BaseButton/index.cjs.js +1 -1
  48. package/dist/components/Button/BaseButton/index.es.js +1 -1
  49. package/dist/components/Button/DoubleButton/index.cjs.js +1 -1
  50. package/dist/components/Button/DoubleButton/index.es.js +1 -1
  51. package/dist/components/Button/FloatBaseButton/index.cjs.js +1 -1
  52. package/dist/components/Button/FloatBaseButton/index.es.js +1 -1
  53. package/dist/components/Button/FloatDoubleButton/index.cjs.js +1 -1
  54. package/dist/components/Button/FloatDoubleButton/index.es.js +1 -1
  55. package/dist/components/Button/FloatSingleButton/index.cjs.js +1 -1
  56. package/dist/components/Button/FloatSingleButton/index.es.js +1 -1
  57. package/dist/components/Button/SingleButton/index.cjs.js +1 -1
  58. package/dist/components/Button/SingleButton/index.es.js +1 -1
  59. package/dist/components/Button/index.cjs.js +1 -1
  60. package/dist/components/Button/index.es.js +1 -1
  61. package/dist/components/Chips/BasicChips/index.styled.cjs.js +1 -1
  62. package/dist/components/Chips/BasicChips/index.styled.es.js +1 -1
  63. package/dist/components/Chips/ChipItem/index.cjs.js +1 -1
  64. package/dist/components/Chips/ChipItem/index.es.js +20 -22
  65. package/dist/components/Chips/ChipItem/index.styled.cjs.js +1 -1
  66. package/dist/components/Chips/ChipItem/index.styled.es.js +21 -23
  67. package/dist/components/Chips/ChipsFrame/index.cjs.js +1 -1
  68. package/dist/components/Chips/ChipsFrame/index.es.js +12 -12
  69. package/dist/components/Chips/ChipsFrame/index.styled.cjs.js +1 -1
  70. package/dist/components/Chips/ChipsFrame/index.styled.es.js +1 -1
  71. package/dist/components/Control/CheckMark/index.cjs.js +1 -1
  72. package/dist/components/Control/CheckMark/index.es.js +18 -20
  73. package/dist/components/Control/RadioButton/index.cjs.js +1 -1
  74. package/dist/components/Control/RadioButton/index.es.js +1 -1
  75. package/dist/components/Control/RadioButton/index.styled.cjs.js +1 -1
  76. package/dist/components/Control/RadioButton/index.styled.es.js +18 -20
  77. package/dist/components/Control/Switch/index.cjs.js +1 -1
  78. package/dist/components/Control/Switch/index.d.ts +37 -9
  79. package/dist/components/Control/Switch/index.es.js +190 -84
  80. package/dist/components/Control/index.cjs.js +1 -1
  81. package/dist/components/Control/index.d.ts +2 -1
  82. package/dist/components/Control/index.es.js +4 -4
  83. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.cjs.js +1 -1
  84. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/ActiveDateOfMonth.es.js +20 -22
  85. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.cjs.js +1 -1
  86. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/DisabledDateOfMonth.es.js +20 -22
  87. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.cjs.js +1 -1
  88. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/NoneDateOfMonth.es.js +1 -1
  89. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.cjs.js +1 -1
  90. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeEndFocusDateOfMonth.es.js +20 -22
  91. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.cjs.js +1 -1
  92. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/RangeStartFocusDateOfMonth.es.js +20 -22
  93. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.cjs.js +1 -1
  94. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/SingleFocusDateOfMonth.es.js +20 -22
  95. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.cjs.js +1 -1
  96. package/dist/components/DatePicker/BaseDatePicker/DateOfMonth/index.styled.es.js +29 -31
  97. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.cjs.js +1 -1
  98. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.es.js +1 -1
  99. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.cjs.js +1 -1
  100. package/dist/components/DatePicker/BaseDatePicker/DayOfWeek/index.styled.es.js +1 -1
  101. package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.cjs.js +1 -1
  102. package/dist/components/DatePicker/BaseDatePicker/YearMonthController/index.es.js +16 -16
  103. package/dist/components/DatePicker/BaseDatePicker/index.cjs.js +1 -1
  104. package/dist/components/DatePicker/BaseDatePicker/index.es.js +28 -30
  105. package/dist/components/DatePicker/RangeDatePickerModal/index.cjs.js +1 -1
  106. package/dist/components/DatePicker/RangeDatePickerModal/index.es.js +1 -1
  107. package/dist/components/DatePicker/SingleDatePickerModal/index.cjs.js +1 -1
  108. package/dist/components/DatePicker/SingleDatePickerModal/index.es.js +18 -20
  109. package/dist/components/Input/NumberInput/index.cjs.js +1 -1
  110. package/dist/components/Input/NumberInput/index.es.js +50 -52
  111. package/dist/components/Input/PostfixInput/index.util.cjs.js +1 -1
  112. package/dist/components/Input/PostfixInput/index.util.es.js +21 -23
  113. package/dist/components/Input/TextField/index.cjs.js +1 -1
  114. package/dist/components/Input/TextField/index.es.js +12 -12
  115. package/dist/components/Input/index.cjs.js +1 -1
  116. package/dist/components/Input/index.es.js +29 -31
  117. package/dist/components/{Modal → LegacyModal}/BaseModal/index.cjs.js +1 -1
  118. package/dist/components/{Modal → LegacyModal}/BaseModal/index.es.js +2 -2
  119. package/dist/components/LegacyModal/index.cjs.js +1 -0
  120. package/dist/components/LegacyModal/index.d.ts +31 -0
  121. package/dist/components/LegacyModal/index.es.js +9 -0
  122. package/dist/components/List/index.cjs.js +1 -1
  123. package/dist/components/List/index.es.js +8 -8
  124. package/dist/components/Loading/ProgressBar/index.cjs.js +1 -1
  125. package/dist/components/Loading/ProgressBar/index.es.js +1 -1
  126. package/dist/components/Loading/ProgressBar/index.styled.cjs.js +1 -1
  127. package/dist/components/Loading/ProgressBar/index.styled.es.js +19 -21
  128. package/dist/components/Loading/Spinner/index.cjs.js +1 -1
  129. package/dist/components/Loading/Spinner/index.es.js +1 -1
  130. package/dist/components/Loading/index.cjs.js +1 -1
  131. package/dist/components/Loading/index.es.js +1 -1
  132. package/dist/components/MiniButton/BoxMiniButton/index.cjs.js +1 -1
  133. package/dist/components/MiniButton/BoxMiniButton/index.es.js +4 -4
  134. package/dist/components/MiniButton/IconMiniButton/index.cjs.js +1 -1
  135. package/dist/components/MiniButton/IconMiniButton/index.d.ts +1 -1
  136. package/dist/components/MiniButton/IconMiniButton/index.es.js +34 -31
  137. package/dist/components/MiniButton/UnderLineMiniButton/index.cjs.js +1 -1
  138. package/dist/components/MiniButton/UnderLineMiniButton/index.d.ts +1 -0
  139. package/dist/components/MiniButton/UnderLineMiniButton/index.es.js +36 -31
  140. package/dist/components/MiniButton/common/index.styled.cjs.js +1 -1
  141. package/dist/components/MiniButton/common/index.styled.es.js +20 -22
  142. package/dist/components/Modal/index.cjs.js +1 -1
  143. package/dist/components/Modal/index.d.ts +14 -27
  144. package/dist/components/Modal/index.es.js +99 -7
  145. package/dist/components/Navigation/BaseNavigation/index.cjs.js +1 -1
  146. package/dist/components/Navigation/BaseNavigation/index.es.js +9 -9
  147. package/dist/components/Navigation/BottomNavigationBar/index.cjs.js +1 -1
  148. package/dist/components/Navigation/BottomNavigationBar/index.es.js +5 -5
  149. package/dist/components/Navigation/PageNavigationBar/index.cjs.js +1 -1
  150. package/dist/components/Navigation/PageNavigationBar/index.es.js +12 -12
  151. package/dist/components/Navigation/TitleNavigationBar/index.cjs.js +1 -1
  152. package/dist/components/Navigation/TitleNavigationBar/index.es.js +10 -10
  153. package/dist/components/Navigation/index.cjs.js +1 -1
  154. package/dist/components/Navigation/index.es.js +12 -12
  155. package/dist/components/OverlayRoot/index.cjs.js +1 -1
  156. package/dist/components/OverlayRoot/index.es.js +18 -20
  157. package/dist/components/Segment/BaseSegment/index.styled.cjs.js +1 -1
  158. package/dist/components/Segment/BaseSegment/index.styled.es.js +1 -1
  159. package/dist/components/Segment/ExtendSegment/index.styled.cjs.js +1 -1
  160. package/dist/components/Segment/ExtendSegment/index.styled.es.js +1 -1
  161. package/dist/components/SelectBox/index.cjs.js +1 -1
  162. package/dist/components/SelectBox/index.es.js +16 -16
  163. package/dist/components/SelectBox/index.styled.cjs.js +1 -1
  164. package/dist/components/SelectBox/index.styled.es.js +25 -27
  165. package/dist/components/Tabs/FillTabs/index.cjs.js +1 -1
  166. package/dist/components/Tabs/FillTabs/index.es.js +20 -22
  167. package/dist/components/Tabs/TextTabs/index.cjs.js +1 -1
  168. package/dist/components/Tabs/TextTabs/index.d.ts +15 -11
  169. package/dist/components/Tabs/TextTabs/index.es.js +53 -66
  170. package/dist/components/Tabs/index.cjs.js +1 -1
  171. package/dist/components/Tabs/index.es.js +5 -4
  172. package/dist/components/Tag/index.cjs.js +1 -1
  173. package/dist/components/Tag/index.es.js +1 -1
  174. package/dist/components/Tag/index.styled.cjs.js +1 -1
  175. package/dist/components/Tag/index.styled.es.js +18 -20
  176. package/dist/components/Terms/index.cjs.js +1 -1
  177. package/dist/components/Terms/index.es.js +16 -17
  178. package/dist/components/TextArea/index.cjs.js +1 -0
  179. package/dist/components/TextArea/index.d.ts +80 -0
  180. package/dist/components/TextArea/index.es.js +30 -0
  181. package/dist/components/Title/index.cjs.js +1 -1
  182. package/dist/components/Title/index.es.js +1 -1
  183. package/dist/components/Title/index.styled.cjs.js +1 -1
  184. package/dist/components/Title/index.styled.es.js +22 -24
  185. package/dist/components/Toast/index.cjs.js +1 -0
  186. package/dist/components/Toast/index.d.ts +5 -0
  187. package/dist/components/Toast/index.es.js +36 -0
  188. package/dist/components/index.cjs.js +1 -1
  189. package/dist/components/index.d.ts +6 -3
  190. package/dist/components/index.es.js +156 -122
  191. package/dist/components/ui/bottomSheet.cjs.js +13 -13
  192. package/dist/components/ui/bottomSheet.es.js +76 -71
  193. package/dist/components/ui/button.cjs.js +1 -1
  194. package/dist/components/ui/button.es.js +4 -4
  195. package/dist/components/ui/checkbox.cjs.js +1 -0
  196. package/dist/components/ui/checkbox.d.ts +9 -0
  197. package/dist/components/ui/checkbox.es.js +446 -0
  198. package/dist/components/ui/dialog.cjs.js +1 -1
  199. package/dist/components/ui/dialog.es.js +30 -30
  200. package/dist/components/ui/drawer.cjs.js +1 -1
  201. package/dist/components/ui/drawer.es.js +2 -2
  202. package/dist/components/ui/impact-tooltip.cjs.js +1 -0
  203. package/dist/components/ui/impact-tooltip.d.ts +16 -0
  204. package/dist/components/ui/impact-tooltip.es.js +672 -0
  205. package/dist/components/ui/share-ui.cjs.js +1 -1
  206. package/dist/components/ui/share-ui.es.js +2 -2
  207. package/dist/components/ui/tooltip.cjs.js +1 -0
  208. package/dist/components/ui/tooltip.d.ts +9 -0
  209. package/dist/components/ui/tooltip.es.js +771 -0
  210. package/dist/components/ui/typography.cjs.js +1 -1
  211. package/dist/components/ui/typography.es.js +3 -3
  212. package/dist/core/Colors/index.cjs.js +1 -1
  213. package/dist/core/Colors/index.d.ts +0 -4
  214. package/dist/core/Colors/index.es.js +4 -8
  215. package/dist/core/Display/Mobile.cjs.js +1 -1
  216. package/dist/core/Display/Mobile.es.js +1 -1
  217. package/dist/core/Display/Pc.cjs.js +1 -1
  218. package/dist/core/Display/Pc.es.js +1 -1
  219. package/dist/core/Display/index.styled.cjs.js +1 -1
  220. package/dist/core/Display/index.styled.es.js +19 -21
  221. package/dist/core/Typography/BaseTypography/index.cjs.js +1 -1
  222. package/dist/core/Typography/BaseTypography/index.es.js +2 -2
  223. package/dist/hooks/useLayoutIsMobile.cjs.js +1 -1
  224. package/dist/hooks/useLayoutIsMobile.es.js +19 -21
  225. package/dist/icons/src/aliases/aliases.cjs.js +1 -1
  226. package/dist/icons/src/aliases/aliases.d.ts +11 -11
  227. package/dist/icons/src/aliases/aliases.es.js +46 -46
  228. package/dist/icons/src/aliases/index.cjs.js +1 -1
  229. package/dist/icons/src/aliases/index.es.js +92 -92
  230. package/dist/icons/src/aliases/prefixed.cjs.js +1 -1
  231. package/dist/icons/src/aliases/prefixed.d.ts +16 -16
  232. package/dist/icons/src/aliases/prefixed.es.js +46 -46
  233. package/dist/icons/src/aliases/suffixed.cjs.js +1 -1
  234. package/dist/icons/src/aliases/suffixed.d.ts +18 -18
  235. package/dist/icons/src/aliases/suffixed.es.js +48 -48
  236. package/dist/icons/src/icons/index.cjs.js +1 -1
  237. package/dist/icons/src/icons/index.d.ts +15 -15
  238. package/dist/icons/src/icons/index.es.js +44 -44
  239. package/dist/index.cjs.js +1 -1
  240. package/dist/index.es.js +379 -345
  241. package/dist/lib/utils.cjs.js +1 -1
  242. package/dist/lib/utils.es.js +2729 -2
  243. package/dist/library/BasicLayout/Footer.cjs.js +1 -1
  244. package/dist/library/BasicLayout/Footer.d.ts +2 -2
  245. package/dist/library/BasicLayout/Footer.es.js +37 -36
  246. package/dist/library/BasicLayout/index.cjs.js +1 -1
  247. package/dist/library/BasicLayout/index.d.ts +1 -1
  248. package/dist/library/BasicLayout/index.es.js +22 -24
  249. package/dist/library/BasicLayout/index.styled.cjs.js +1 -1
  250. package/dist/library/BasicLayout/index.styled.es.js +47 -49
  251. package/dist/utils/GenerateColorStyle/chip.cjs.js +1 -1
  252. package/dist/utils/GenerateColorStyle/chip.es.js +1 -1
  253. package/dist/utils/GenerateColorStyle/index.cjs.js +1 -1
  254. package/dist/utils/GenerateColorStyle/index.es.js +8 -8
  255. package/dist/utils/GenerateColorStyle/tab/fill-tabs.cjs.js +1 -1
  256. package/dist/utils/GenerateColorStyle/tab/fill-tabs.es.js +19 -21
  257. package/dist/utils/GenerateColorStyle/tab/text-tabs.cjs.js +1 -1
  258. package/dist/utils/GenerateColorStyle/tab/text-tabs.es.js +19 -21
  259. package/dist/utils/index.cjs.js +1 -1
  260. package/dist/utils/index.es.js +8 -8
  261. package/package.json +16 -9
  262. package/dist/chunks/index.B0KRXeX3.js +0 -205
  263. package/dist/chunks/index.BIcga6m3.js +0 -1
  264. package/dist/chunks/index.BiFBNKMb.js +0 -51
  265. package/dist/chunks/index.C4mr2-78.js +0 -1
  266. package/dist/chunks/index.CAOufkQO.js +0 -1072
  267. package/dist/chunks/index.DLcqcWxM.js +0 -29
  268. package/dist/chunks/index.Dazlhpef.js +0 -45
  269. package/dist/chunks/index.DnJQUgiG.js +0 -1
  270. package/dist/chunks/index.SS1p-Ys5.js +0 -1
  271. package/dist/chunks/index.styled.DX1B4OiV.js +0 -412
  272. package/dist/chunks/utils.B9KdtH6G.js +0 -2493
  273. package/dist/chunks/utils.Gb5_Gcy7.js +0 -1
  274. package/dist/components/Control/CheckBox/CheckIcon.cjs.js +0 -1
  275. package/dist/components/Control/CheckBox/CheckIcon.d.ts +0 -6
  276. package/dist/components/Control/CheckBox/CheckIcon.es.js +0 -26
  277. package/dist/components/Control/CheckBox/index.cjs.js +0 -1
  278. package/dist/components/Control/CheckBox/index.d.ts +0 -12
  279. package/dist/components/Control/CheckBox/index.es.js +0 -96
  280. package/dist/components/Control/CheckBox/index.styled.cjs.js +0 -24
  281. package/dist/components/Control/CheckBox/index.styled.d.ts +0 -18
  282. package/dist/components/Control/CheckBox/index.styled.es.js +0 -30
  283. package/dist/components/Control/Switch/index.styled.cjs.js +0 -32
  284. package/dist/components/Control/Switch/index.styled.d.ts +0 -15
  285. package/dist/components/Control/Switch/index.styled.es.js +0 -42
  286. package/dist/components/MiniButton/UnderLineMiniButton/index.styled.cjs.js +0 -8
  287. package/dist/components/MiniButton/UnderLineMiniButton/index.styled.d.ts +0 -9
  288. package/dist/components/MiniButton/UnderLineMiniButton/index.styled.es.js +0 -14
  289. package/dist/components/ToastMessage/BaseToastMessage/index.cjs.js +0 -1
  290. package/dist/components/ToastMessage/BaseToastMessage/index.d.ts +0 -13
  291. package/dist/components/ToastMessage/BaseToastMessage/index.es.js +0 -25
  292. package/dist/components/ToastMessage/BaseToastMessage/index.styled.cjs.js +0 -1
  293. package/dist/components/ToastMessage/BaseToastMessage/index.styled.d.ts +0 -10
  294. package/dist/components/ToastMessage/BaseToastMessage/index.styled.es.js +0 -80
  295. package/dist/components/ToastMessage/Toast/index.cjs.js +0 -1
  296. package/dist/components/ToastMessage/Toast/index.d.ts +0 -13
  297. package/dist/components/ToastMessage/Toast/index.es.js +0 -32
  298. package/dist/components/ToastMessage/Toast/index.styled.cjs.js +0 -13
  299. package/dist/components/ToastMessage/Toast/index.styled.d.ts +0 -8
  300. package/dist/components/ToastMessage/Toast/index.styled.es.js +0 -18
  301. package/dist/components/ToastMessage/index.cjs.js +0 -1
  302. package/dist/components/ToastMessage/index.d.ts +0 -1
  303. package/dist/components/ToastMessage/index.es.js +0 -4
  304. package/dist/components/Tooltip/BasicTooltip/index.cjs.js +0 -1
  305. package/dist/components/Tooltip/BasicTooltip/index.d.ts +0 -5
  306. package/dist/components/Tooltip/BasicTooltip/index.es.js +0 -6
  307. package/dist/components/Tooltip/ImpactTooltip/index.cjs.js +0 -1
  308. package/dist/components/Tooltip/ImpactTooltip/index.d.ts +0 -7
  309. package/dist/components/Tooltip/ImpactTooltip/index.es.js +0 -23
  310. package/dist/components/Tooltip/TooltipBase/index.cjs.js +0 -8
  311. package/dist/components/Tooltip/TooltipBase/index.d.ts +0 -18
  312. package/dist/components/Tooltip/TooltipBase/index.es.js +0 -146
  313. package/dist/components/Tooltip/TooltipBase/index.styled.cjs.js +0 -107
  314. package/dist/components/Tooltip/TooltipBase/index.styled.d.ts +0 -22
  315. package/dist/components/Tooltip/TooltipBase/index.styled.es.js +0 -2006
  316. package/dist/components/Tooltip/index.cjs.js +0 -1
  317. package/dist/components/Tooltip/index.d.ts +0 -6
  318. package/dist/components/Tooltip/index.es.js +0 -6
  319. /package/dist/components/{Modal → LegacyModal}/BaseModal/index.d.ts +0 -0
  320. /package/dist/components/{Modal → LegacyModal}/BaseModal/index.styled.cjs.js +0 -0
  321. /package/dist/components/{Modal → LegacyModal}/BaseModal/index.styled.d.ts +0 -0
  322. /package/dist/components/{Modal → LegacyModal}/BaseModal/index.styled.es.js +0 -0
  323. /package/dist/components/{Modal → LegacyModal}/index.styled.cjs.js +0 -0
  324. /package/dist/components/{Modal → LegacyModal}/index.styled.d.ts +0 -0
  325. /package/dist/components/{Modal → LegacyModal}/index.styled.es.js +0 -0
@@ -0,0 +1,1335 @@
1
+ import * as S from "react";
2
+ import { useLayoutEffect as Yt } from "react";
3
+ import * as qt from "react-dom";
4
+ import { P as Xt } from "./index.CL8HuWEm.js";
5
+ import { j as Ct } from "./jsx-runtime.Drh4NO5G.js";
6
+ const Ut = ["top", "right", "bottom", "left"], U = Math.min, F = Math.max, st = Math.round, it = Math.floor, z = (t) => ({
7
+ x: t,
8
+ y: t
9
+ }), Kt = {
10
+ left: "right",
11
+ right: "left",
12
+ bottom: "top",
13
+ top: "bottom"
14
+ }, Gt = {
15
+ start: "end",
16
+ end: "start"
17
+ };
18
+ function gt(t, e, n) {
19
+ return F(t, U(e, n));
20
+ }
21
+ function Y(t, e) {
22
+ return typeof t == "function" ? t(e) : t;
23
+ }
24
+ function q(t) {
25
+ return t.split("-")[0];
26
+ }
27
+ function Z(t) {
28
+ return t.split("-")[1];
29
+ }
30
+ function xt(t) {
31
+ return t === "x" ? "y" : "x";
32
+ }
33
+ function yt(t) {
34
+ return t === "y" ? "height" : "width";
35
+ }
36
+ function _(t) {
37
+ return ["top", "bottom"].includes(q(t)) ? "y" : "x";
38
+ }
39
+ function vt(t) {
40
+ return xt(_(t));
41
+ }
42
+ function Jt(t, e, n) {
43
+ n === void 0 && (n = !1);
44
+ const o = Z(t), i = vt(t), r = yt(i);
45
+ let s = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
46
+ return e.reference[r] > e.floating[r] && (s = ct(s)), [s, ct(s)];
47
+ }
48
+ function Qt(t) {
49
+ const e = ct(t);
50
+ return [pt(t), e, pt(e)];
51
+ }
52
+ function pt(t) {
53
+ return t.replace(/start|end/g, (e) => Gt[e]);
54
+ }
55
+ function Zt(t, e, n) {
56
+ const o = ["left", "right"], i = ["right", "left"], r = ["top", "bottom"], s = ["bottom", "top"];
57
+ switch (t) {
58
+ case "top":
59
+ case "bottom":
60
+ return n ? e ? i : o : e ? o : i;
61
+ case "left":
62
+ case "right":
63
+ return e ? r : s;
64
+ default:
65
+ return [];
66
+ }
67
+ }
68
+ function te(t, e, n, o) {
69
+ const i = Z(t);
70
+ let r = Zt(q(t), n === "start", o);
71
+ return i && (r = r.map((s) => s + "-" + i), e && (r = r.concat(r.map(pt)))), r;
72
+ }
73
+ function ct(t) {
74
+ return t.replace(/left|right|bottom|top/g, (e) => Kt[e]);
75
+ }
76
+ function ee(t) {
77
+ return {
78
+ top: 0,
79
+ right: 0,
80
+ bottom: 0,
81
+ left: 0,
82
+ ...t
83
+ };
84
+ }
85
+ function Ft(t) {
86
+ return typeof t != "number" ? ee(t) : {
87
+ top: t,
88
+ right: t,
89
+ bottom: t,
90
+ left: t
91
+ };
92
+ }
93
+ function lt(t) {
94
+ const {
95
+ x: e,
96
+ y: n,
97
+ width: o,
98
+ height: i
99
+ } = t;
100
+ return {
101
+ width: o,
102
+ height: i,
103
+ top: n,
104
+ left: e,
105
+ right: e + o,
106
+ bottom: n + i,
107
+ x: e,
108
+ y: n
109
+ };
110
+ }
111
+ function Et(t, e, n) {
112
+ let {
113
+ reference: o,
114
+ floating: i
115
+ } = t;
116
+ const r = _(e), s = vt(e), c = yt(s), f = q(e), l = r === "y", a = o.x + o.width / 2 - i.width / 2, d = o.y + o.height / 2 - i.height / 2, m = o[c] / 2 - i[c] / 2;
117
+ let u;
118
+ switch (f) {
119
+ case "top":
120
+ u = {
121
+ x: a,
122
+ y: o.y - i.height
123
+ };
124
+ break;
125
+ case "bottom":
126
+ u = {
127
+ x: a,
128
+ y: o.y + o.height
129
+ };
130
+ break;
131
+ case "right":
132
+ u = {
133
+ x: o.x + o.width,
134
+ y: d
135
+ };
136
+ break;
137
+ case "left":
138
+ u = {
139
+ x: o.x - i.width,
140
+ y: d
141
+ };
142
+ break;
143
+ default:
144
+ u = {
145
+ x: o.x,
146
+ y: o.y
147
+ };
148
+ }
149
+ switch (Z(e)) {
150
+ case "start":
151
+ u[s] -= m * (n && l ? -1 : 1);
152
+ break;
153
+ case "end":
154
+ u[s] += m * (n && l ? -1 : 1);
155
+ break;
156
+ }
157
+ return u;
158
+ }
159
+ const ne = async (t, e, n) => {
160
+ const {
161
+ placement: o = "bottom",
162
+ strategy: i = "absolute",
163
+ middleware: r = [],
164
+ platform: s
165
+ } = n, c = r.filter(Boolean), f = await (s.isRTL == null ? void 0 : s.isRTL(e));
166
+ let l = await s.getElementRects({
167
+ reference: t,
168
+ floating: e,
169
+ strategy: i
170
+ }), {
171
+ x: a,
172
+ y: d
173
+ } = Et(l, o, f), m = o, u = {}, h = 0;
174
+ for (let g = 0; g < c.length; g++) {
175
+ const {
176
+ name: p,
177
+ fn: w
178
+ } = c[g], {
179
+ x,
180
+ y: v,
181
+ data: b,
182
+ reset: y
183
+ } = await w({
184
+ x: a,
185
+ y: d,
186
+ initialPlacement: o,
187
+ placement: m,
188
+ strategy: i,
189
+ middlewareData: u,
190
+ rects: l,
191
+ platform: s,
192
+ elements: {
193
+ reference: t,
194
+ floating: e
195
+ }
196
+ });
197
+ a = x ?? a, d = v ?? d, u = {
198
+ ...u,
199
+ [p]: {
200
+ ...u[p],
201
+ ...b
202
+ }
203
+ }, y && h <= 50 && (h++, typeof y == "object" && (y.placement && (m = y.placement), y.rects && (l = y.rects === !0 ? await s.getElementRects({
204
+ reference: t,
205
+ floating: e,
206
+ strategy: i
207
+ }) : y.rects), {
208
+ x: a,
209
+ y: d
210
+ } = Et(l, m, f)), g = -1);
211
+ }
212
+ return {
213
+ x: a,
214
+ y: d,
215
+ placement: m,
216
+ strategy: i,
217
+ middlewareData: u
218
+ };
219
+ };
220
+ async function et(t, e) {
221
+ var n;
222
+ e === void 0 && (e = {});
223
+ const {
224
+ x: o,
225
+ y: i,
226
+ platform: r,
227
+ rects: s,
228
+ elements: c,
229
+ strategy: f
230
+ } = t, {
231
+ boundary: l = "clippingAncestors",
232
+ rootBoundary: a = "viewport",
233
+ elementContext: d = "floating",
234
+ altBoundary: m = !1,
235
+ padding: u = 0
236
+ } = Y(e, t), h = Ft(u), p = c[m ? d === "floating" ? "reference" : "floating" : d], w = lt(await r.getClippingRect({
237
+ element: (n = await (r.isElement == null ? void 0 : r.isElement(p))) == null || n ? p : p.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(c.floating)),
238
+ boundary: l,
239
+ rootBoundary: a,
240
+ strategy: f
241
+ })), x = d === "floating" ? {
242
+ x: o,
243
+ y: i,
244
+ width: s.floating.width,
245
+ height: s.floating.height
246
+ } : s.reference, v = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c.floating)), b = await (r.isElement == null ? void 0 : r.isElement(v)) ? await (r.getScale == null ? void 0 : r.getScale(v)) || {
247
+ x: 1,
248
+ y: 1
249
+ } : {
250
+ x: 1,
251
+ y: 1
252
+ }, y = lt(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
253
+ elements: c,
254
+ rect: x,
255
+ offsetParent: v,
256
+ strategy: f
257
+ }) : x);
258
+ return {
259
+ top: (w.top - y.top + h.top) / b.y,
260
+ bottom: (y.bottom - w.bottom + h.bottom) / b.y,
261
+ left: (w.left - y.left + h.left) / b.x,
262
+ right: (y.right - w.right + h.right) / b.x
263
+ };
264
+ }
265
+ const oe = (t) => ({
266
+ name: "arrow",
267
+ options: t,
268
+ async fn(e) {
269
+ const {
270
+ x: n,
271
+ y: o,
272
+ placement: i,
273
+ rects: r,
274
+ platform: s,
275
+ elements: c,
276
+ middlewareData: f
277
+ } = e, {
278
+ element: l,
279
+ padding: a = 0
280
+ } = Y(t, e) || {};
281
+ if (l == null)
282
+ return {};
283
+ const d = Ft(a), m = {
284
+ x: n,
285
+ y: o
286
+ }, u = vt(i), h = yt(u), g = await s.getDimensions(l), p = u === "y", w = p ? "top" : "left", x = p ? "bottom" : "right", v = p ? "clientHeight" : "clientWidth", b = r.reference[h] + r.reference[u] - m[u] - r.floating[h], y = m[u] - r.reference[u], O = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l));
287
+ let R = O ? O[v] : 0;
288
+ (!R || !await (s.isElement == null ? void 0 : s.isElement(O))) && (R = c.floating[v] || r.floating[h]);
289
+ const P = b / 2 - y / 2, B = R / 2 - g[h] / 2 - 1, L = U(d[w], B), W = U(d[x], B), M = L, D = R - g[h] - W, C = R / 2 - g[h] / 2 + P, V = gt(M, C, D), E = !f.arrow && Z(i) != null && C !== V && r.reference[h] / 2 - (C < M ? L : W) - g[h] / 2 < 0, T = E ? C < M ? C - M : C - D : 0;
290
+ return {
291
+ [u]: m[u] + T,
292
+ data: {
293
+ [u]: V,
294
+ centerOffset: C - V - T,
295
+ ...E && {
296
+ alignmentOffset: T
297
+ }
298
+ },
299
+ reset: E
300
+ };
301
+ }
302
+ }), ie = function(t) {
303
+ return t === void 0 && (t = {}), {
304
+ name: "flip",
305
+ options: t,
306
+ async fn(e) {
307
+ var n, o;
308
+ const {
309
+ placement: i,
310
+ middlewareData: r,
311
+ rects: s,
312
+ initialPlacement: c,
313
+ platform: f,
314
+ elements: l
315
+ } = e, {
316
+ mainAxis: a = !0,
317
+ crossAxis: d = !0,
318
+ fallbackPlacements: m,
319
+ fallbackStrategy: u = "bestFit",
320
+ fallbackAxisSideDirection: h = "none",
321
+ flipAlignment: g = !0,
322
+ ...p
323
+ } = Y(t, e);
324
+ if ((n = r.arrow) != null && n.alignmentOffset)
325
+ return {};
326
+ const w = q(i), x = _(c), v = q(c) === c, b = await (f.isRTL == null ? void 0 : f.isRTL(l.floating)), y = m || (v || !g ? [ct(c)] : Qt(c)), O = h !== "none";
327
+ !m && O && y.push(...te(c, g, h, b));
328
+ const R = [c, ...y], P = await et(e, p), B = [];
329
+ let L = ((o = r.flip) == null ? void 0 : o.overflows) || [];
330
+ if (a && B.push(P[w]), d) {
331
+ const C = Jt(i, s, b);
332
+ B.push(P[C[0]], P[C[1]]);
333
+ }
334
+ if (L = [...L, {
335
+ placement: i,
336
+ overflows: B
337
+ }], !B.every((C) => C <= 0)) {
338
+ var W, M;
339
+ const C = (((W = r.flip) == null ? void 0 : W.index) || 0) + 1, V = R[C];
340
+ if (V && (!(d === "alignment" ? x !== _(V) : !1) || // We leave the current main axis only if every placement on that axis
341
+ // overflows the main axis.
342
+ L.every((A) => A.overflows[0] > 0 && _(A.placement) === x)))
343
+ return {
344
+ data: {
345
+ index: C,
346
+ overflows: L
347
+ },
348
+ reset: {
349
+ placement: V
350
+ }
351
+ };
352
+ let E = (M = L.filter((T) => T.overflows[0] <= 0).sort((T, A) => T.overflows[1] - A.overflows[1])[0]) == null ? void 0 : M.placement;
353
+ if (!E)
354
+ switch (u) {
355
+ case "bestFit": {
356
+ var D;
357
+ const T = (D = L.filter((A) => {
358
+ if (O) {
359
+ const k = _(A.placement);
360
+ return k === x || // Create a bias to the `y` side axis due to horizontal
361
+ // reading directions favoring greater width.
362
+ k === "y";
363
+ }
364
+ return !0;
365
+ }).map((A) => [A.placement, A.overflows.filter((k) => k > 0).reduce((k, X) => k + X, 0)]).sort((A, k) => A[1] - k[1])[0]) == null ? void 0 : D[0];
366
+ T && (E = T);
367
+ break;
368
+ }
369
+ case "initialPlacement":
370
+ E = c;
371
+ break;
372
+ }
373
+ if (i !== E)
374
+ return {
375
+ reset: {
376
+ placement: E
377
+ }
378
+ };
379
+ }
380
+ return {};
381
+ }
382
+ };
383
+ };
384
+ function St(t, e) {
385
+ return {
386
+ top: t.top - e.height,
387
+ right: t.right - e.width,
388
+ bottom: t.bottom - e.height,
389
+ left: t.left - e.width
390
+ };
391
+ }
392
+ function Lt(t) {
393
+ return Ut.some((e) => t[e] >= 0);
394
+ }
395
+ const re = function(t) {
396
+ return t === void 0 && (t = {}), {
397
+ name: "hide",
398
+ options: t,
399
+ async fn(e) {
400
+ const {
401
+ rects: n
402
+ } = e, {
403
+ strategy: o = "referenceHidden",
404
+ ...i
405
+ } = Y(t, e);
406
+ switch (o) {
407
+ case "referenceHidden": {
408
+ const r = await et(e, {
409
+ ...i,
410
+ elementContext: "reference"
411
+ }), s = St(r, n.reference);
412
+ return {
413
+ data: {
414
+ referenceHiddenOffsets: s,
415
+ referenceHidden: Lt(s)
416
+ }
417
+ };
418
+ }
419
+ case "escaped": {
420
+ const r = await et(e, {
421
+ ...i,
422
+ altBoundary: !0
423
+ }), s = St(r, n.floating);
424
+ return {
425
+ data: {
426
+ escapedOffsets: s,
427
+ escaped: Lt(s)
428
+ }
429
+ };
430
+ }
431
+ default:
432
+ return {};
433
+ }
434
+ }
435
+ };
436
+ };
437
+ async function se(t, e) {
438
+ const {
439
+ placement: n,
440
+ platform: o,
441
+ elements: i
442
+ } = t, r = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), s = q(n), c = Z(n), f = _(n) === "y", l = ["left", "top"].includes(s) ? -1 : 1, a = r && f ? -1 : 1, d = Y(e, t);
443
+ let {
444
+ mainAxis: m,
445
+ crossAxis: u,
446
+ alignmentAxis: h
447
+ } = typeof d == "number" ? {
448
+ mainAxis: d,
449
+ crossAxis: 0,
450
+ alignmentAxis: null
451
+ } : {
452
+ mainAxis: d.mainAxis || 0,
453
+ crossAxis: d.crossAxis || 0,
454
+ alignmentAxis: d.alignmentAxis
455
+ };
456
+ return c && typeof h == "number" && (u = c === "end" ? h * -1 : h), f ? {
457
+ x: u * a,
458
+ y: m * l
459
+ } : {
460
+ x: m * l,
461
+ y: u * a
462
+ };
463
+ }
464
+ const ce = function(t) {
465
+ return t === void 0 && (t = 0), {
466
+ name: "offset",
467
+ options: t,
468
+ async fn(e) {
469
+ var n, o;
470
+ const {
471
+ x: i,
472
+ y: r,
473
+ placement: s,
474
+ middlewareData: c
475
+ } = e, f = await se(e, t);
476
+ return s === ((n = c.offset) == null ? void 0 : n.placement) && (o = c.arrow) != null && o.alignmentOffset ? {} : {
477
+ x: i + f.x,
478
+ y: r + f.y,
479
+ data: {
480
+ ...f,
481
+ placement: s
482
+ }
483
+ };
484
+ }
485
+ };
486
+ }, le = function(t) {
487
+ return t === void 0 && (t = {}), {
488
+ name: "shift",
489
+ options: t,
490
+ async fn(e) {
491
+ const {
492
+ x: n,
493
+ y: o,
494
+ placement: i
495
+ } = e, {
496
+ mainAxis: r = !0,
497
+ crossAxis: s = !1,
498
+ limiter: c = {
499
+ fn: (p) => {
500
+ let {
501
+ x: w,
502
+ y: x
503
+ } = p;
504
+ return {
505
+ x: w,
506
+ y: x
507
+ };
508
+ }
509
+ },
510
+ ...f
511
+ } = Y(t, e), l = {
512
+ x: n,
513
+ y: o
514
+ }, a = await et(e, f), d = _(q(i)), m = xt(d);
515
+ let u = l[m], h = l[d];
516
+ if (r) {
517
+ const p = m === "y" ? "top" : "left", w = m === "y" ? "bottom" : "right", x = u + a[p], v = u - a[w];
518
+ u = gt(x, u, v);
519
+ }
520
+ if (s) {
521
+ const p = d === "y" ? "top" : "left", w = d === "y" ? "bottom" : "right", x = h + a[p], v = h - a[w];
522
+ h = gt(x, h, v);
523
+ }
524
+ const g = c.fn({
525
+ ...e,
526
+ [m]: u,
527
+ [d]: h
528
+ });
529
+ return {
530
+ ...g,
531
+ data: {
532
+ x: g.x - n,
533
+ y: g.y - o,
534
+ enabled: {
535
+ [m]: r,
536
+ [d]: s
537
+ }
538
+ }
539
+ };
540
+ }
541
+ };
542
+ }, fe = function(t) {
543
+ return t === void 0 && (t = {}), {
544
+ options: t,
545
+ fn(e) {
546
+ const {
547
+ x: n,
548
+ y: o,
549
+ placement: i,
550
+ rects: r,
551
+ middlewareData: s
552
+ } = e, {
553
+ offset: c = 0,
554
+ mainAxis: f = !0,
555
+ crossAxis: l = !0
556
+ } = Y(t, e), a = {
557
+ x: n,
558
+ y: o
559
+ }, d = _(i), m = xt(d);
560
+ let u = a[m], h = a[d];
561
+ const g = Y(c, e), p = typeof g == "number" ? {
562
+ mainAxis: g,
563
+ crossAxis: 0
564
+ } : {
565
+ mainAxis: 0,
566
+ crossAxis: 0,
567
+ ...g
568
+ };
569
+ if (f) {
570
+ const v = m === "y" ? "height" : "width", b = r.reference[m] - r.floating[v] + p.mainAxis, y = r.reference[m] + r.reference[v] - p.mainAxis;
571
+ u < b ? u = b : u > y && (u = y);
572
+ }
573
+ if (l) {
574
+ var w, x;
575
+ const v = m === "y" ? "width" : "height", b = ["top", "left"].includes(q(i)), y = r.reference[d] - r.floating[v] + (b && ((w = s.offset) == null ? void 0 : w[d]) || 0) + (b ? 0 : p.crossAxis), O = r.reference[d] + r.reference[v] + (b ? 0 : ((x = s.offset) == null ? void 0 : x[d]) || 0) - (b ? p.crossAxis : 0);
576
+ h < y ? h = y : h > O && (h = O);
577
+ }
578
+ return {
579
+ [m]: u,
580
+ [d]: h
581
+ };
582
+ }
583
+ };
584
+ }, ae = function(t) {
585
+ return t === void 0 && (t = {}), {
586
+ name: "size",
587
+ options: t,
588
+ async fn(e) {
589
+ var n, o;
590
+ const {
591
+ placement: i,
592
+ rects: r,
593
+ platform: s,
594
+ elements: c
595
+ } = e, {
596
+ apply: f = () => {
597
+ },
598
+ ...l
599
+ } = Y(t, e), a = await et(e, l), d = q(i), m = Z(i), u = _(i) === "y", {
600
+ width: h,
601
+ height: g
602
+ } = r.floating;
603
+ let p, w;
604
+ d === "top" || d === "bottom" ? (p = d, w = m === (await (s.isRTL == null ? void 0 : s.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (w = d, p = m === "end" ? "top" : "bottom");
605
+ const x = g - a.top - a.bottom, v = h - a.left - a.right, b = U(g - a[p], x), y = U(h - a[w], v), O = !e.middlewareData.shift;
606
+ let R = b, P = y;
607
+ if ((n = e.middlewareData.shift) != null && n.enabled.x && (P = v), (o = e.middlewareData.shift) != null && o.enabled.y && (R = x), O && !m) {
608
+ const L = F(a.left, 0), W = F(a.right, 0), M = F(a.top, 0), D = F(a.bottom, 0);
609
+ u ? P = h - 2 * (L !== 0 || W !== 0 ? L + W : F(a.left, a.right)) : R = g - 2 * (M !== 0 || D !== 0 ? M + D : F(a.top, a.bottom));
610
+ }
611
+ await f({
612
+ ...e,
613
+ availableWidth: P,
614
+ availableHeight: R
615
+ });
616
+ const B = await s.getDimensions(c.floating);
617
+ return h !== B.width || g !== B.height ? {
618
+ reset: {
619
+ rects: !0
620
+ }
621
+ } : {};
622
+ }
623
+ };
624
+ };
625
+ function at() {
626
+ return typeof window < "u";
627
+ }
628
+ function tt(t) {
629
+ return $t(t) ? (t.nodeName || "").toLowerCase() : "#document";
630
+ }
631
+ function $(t) {
632
+ var e;
633
+ return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
634
+ }
635
+ function I(t) {
636
+ var e;
637
+ return (e = ($t(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
638
+ }
639
+ function $t(t) {
640
+ return at() ? t instanceof Node || t instanceof $(t).Node : !1;
641
+ }
642
+ function H(t) {
643
+ return at() ? t instanceof Element || t instanceof $(t).Element : !1;
644
+ }
645
+ function j(t) {
646
+ return at() ? t instanceof HTMLElement || t instanceof $(t).HTMLElement : !1;
647
+ }
648
+ function Pt(t) {
649
+ return !at() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof $(t).ShadowRoot;
650
+ }
651
+ function ot(t) {
652
+ const {
653
+ overflow: e,
654
+ overflowX: n,
655
+ overflowY: o,
656
+ display: i
657
+ } = N(t);
658
+ return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && !["inline", "contents"].includes(i);
659
+ }
660
+ function ue(t) {
661
+ return ["table", "td", "th"].includes(tt(t));
662
+ }
663
+ function ut(t) {
664
+ return [":popover-open", ":modal"].some((e) => {
665
+ try {
666
+ return t.matches(e);
667
+ } catch {
668
+ return !1;
669
+ }
670
+ });
671
+ }
672
+ function bt(t) {
673
+ const e = At(), n = H(t) ? N(t) : t;
674
+ return ["transform", "translate", "scale", "rotate", "perspective"].some((o) => n[o] ? n[o] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !e && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !e && (n.filter ? n.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((o) => (n.willChange || "").includes(o)) || ["paint", "layout", "strict", "content"].some((o) => (n.contain || "").includes(o));
675
+ }
676
+ function de(t) {
677
+ let e = K(t);
678
+ for (; j(e) && !Q(e); ) {
679
+ if (bt(e))
680
+ return e;
681
+ if (ut(e))
682
+ return null;
683
+ e = K(e);
684
+ }
685
+ return null;
686
+ }
687
+ function At() {
688
+ return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
689
+ }
690
+ function Q(t) {
691
+ return ["html", "body", "#document"].includes(tt(t));
692
+ }
693
+ function N(t) {
694
+ return $(t).getComputedStyle(t);
695
+ }
696
+ function dt(t) {
697
+ return H(t) ? {
698
+ scrollLeft: t.scrollLeft,
699
+ scrollTop: t.scrollTop
700
+ } : {
701
+ scrollLeft: t.scrollX,
702
+ scrollTop: t.scrollY
703
+ };
704
+ }
705
+ function K(t) {
706
+ if (tt(t) === "html")
707
+ return t;
708
+ const e = (
709
+ // Step into the shadow DOM of the parent of a slotted node.
710
+ t.assignedSlot || // DOM Element detected.
711
+ t.parentNode || // ShadowRoot detected.
712
+ Pt(t) && t.host || // Fallback.
713
+ I(t)
714
+ );
715
+ return Pt(e) ? e.host : e;
716
+ }
717
+ function Bt(t) {
718
+ const e = K(t);
719
+ return Q(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : j(e) && ot(e) ? e : Bt(e);
720
+ }
721
+ function nt(t, e, n) {
722
+ var o;
723
+ e === void 0 && (e = []), n === void 0 && (n = !0);
724
+ const i = Bt(t), r = i === ((o = t.ownerDocument) == null ? void 0 : o.body), s = $(i);
725
+ if (r) {
726
+ const c = wt(s);
727
+ return e.concat(s, s.visualViewport || [], ot(i) ? i : [], c && n ? nt(c) : []);
728
+ }
729
+ return e.concat(i, nt(i, [], n));
730
+ }
731
+ function wt(t) {
732
+ return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
733
+ }
734
+ function Wt(t) {
735
+ const e = N(t);
736
+ let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
737
+ const i = j(t), r = i ? t.offsetWidth : n, s = i ? t.offsetHeight : o, c = st(n) !== r || st(o) !== s;
738
+ return c && (n = r, o = s), {
739
+ width: n,
740
+ height: o,
741
+ $: c
742
+ };
743
+ }
744
+ function Rt(t) {
745
+ return H(t) ? t : t.contextElement;
746
+ }
747
+ function J(t) {
748
+ const e = Rt(t);
749
+ if (!j(e))
750
+ return z(1);
751
+ const n = e.getBoundingClientRect(), {
752
+ width: o,
753
+ height: i,
754
+ $: r
755
+ } = Wt(e);
756
+ let s = (r ? st(n.width) : n.width) / o, c = (r ? st(n.height) : n.height) / i;
757
+ return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
758
+ x: s,
759
+ y: c
760
+ };
761
+ }
762
+ const me = /* @__PURE__ */ z(0);
763
+ function Ht(t) {
764
+ const e = $(t);
765
+ return !At() || !e.visualViewport ? me : {
766
+ x: e.visualViewport.offsetLeft,
767
+ y: e.visualViewport.offsetTop
768
+ };
769
+ }
770
+ function he(t, e, n) {
771
+ return e === void 0 && (e = !1), !n || e && n !== $(t) ? !1 : e;
772
+ }
773
+ function G(t, e, n, o) {
774
+ e === void 0 && (e = !1), n === void 0 && (n = !1);
775
+ const i = t.getBoundingClientRect(), r = Rt(t);
776
+ let s = z(1);
777
+ e && (o ? H(o) && (s = J(o)) : s = J(t));
778
+ const c = he(r, n, o) ? Ht(r) : z(0);
779
+ let f = (i.left + c.x) / s.x, l = (i.top + c.y) / s.y, a = i.width / s.x, d = i.height / s.y;
780
+ if (r) {
781
+ const m = $(r), u = o && H(o) ? $(o) : o;
782
+ let h = m, g = wt(h);
783
+ for (; g && o && u !== h; ) {
784
+ const p = J(g), w = g.getBoundingClientRect(), x = N(g), v = w.left + (g.clientLeft + parseFloat(x.paddingLeft)) * p.x, b = w.top + (g.clientTop + parseFloat(x.paddingTop)) * p.y;
785
+ f *= p.x, l *= p.y, a *= p.x, d *= p.y, f += v, l += b, h = $(g), g = wt(h);
786
+ }
787
+ }
788
+ return lt({
789
+ width: a,
790
+ height: d,
791
+ x: f,
792
+ y: l
793
+ });
794
+ }
795
+ function Ot(t, e) {
796
+ const n = dt(t).scrollLeft;
797
+ return e ? e.left + n : G(I(t)).left + n;
798
+ }
799
+ function Nt(t, e, n) {
800
+ n === void 0 && (n = !1);
801
+ const o = t.getBoundingClientRect(), i = o.left + e.scrollLeft - (n ? 0 : (
802
+ // RTL <body> scrollbar.
803
+ Ot(t, o)
804
+ )), r = o.top + e.scrollTop;
805
+ return {
806
+ x: i,
807
+ y: r
808
+ };
809
+ }
810
+ function ge(t) {
811
+ let {
812
+ elements: e,
813
+ rect: n,
814
+ offsetParent: o,
815
+ strategy: i
816
+ } = t;
817
+ const r = i === "fixed", s = I(o), c = e ? ut(e.floating) : !1;
818
+ if (o === s || c && r)
819
+ return n;
820
+ let f = {
821
+ scrollLeft: 0,
822
+ scrollTop: 0
823
+ }, l = z(1);
824
+ const a = z(0), d = j(o);
825
+ if ((d || !d && !r) && ((tt(o) !== "body" || ot(s)) && (f = dt(o)), j(o))) {
826
+ const u = G(o);
827
+ l = J(o), a.x = u.x + o.clientLeft, a.y = u.y + o.clientTop;
828
+ }
829
+ const m = s && !d && !r ? Nt(s, f, !0) : z(0);
830
+ return {
831
+ width: n.width * l.x,
832
+ height: n.height * l.y,
833
+ x: n.x * l.x - f.scrollLeft * l.x + a.x + m.x,
834
+ y: n.y * l.y - f.scrollTop * l.y + a.y + m.y
835
+ };
836
+ }
837
+ function pe(t) {
838
+ return Array.from(t.getClientRects());
839
+ }
840
+ function we(t) {
841
+ const e = I(t), n = dt(t), o = t.ownerDocument.body, i = F(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), r = F(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
842
+ let s = -n.scrollLeft + Ot(t);
843
+ const c = -n.scrollTop;
844
+ return N(o).direction === "rtl" && (s += F(e.clientWidth, o.clientWidth) - i), {
845
+ width: i,
846
+ height: r,
847
+ x: s,
848
+ y: c
849
+ };
850
+ }
851
+ function xe(t, e) {
852
+ const n = $(t), o = I(t), i = n.visualViewport;
853
+ let r = o.clientWidth, s = o.clientHeight, c = 0, f = 0;
854
+ if (i) {
855
+ r = i.width, s = i.height;
856
+ const l = At();
857
+ (!l || l && e === "fixed") && (c = i.offsetLeft, f = i.offsetTop);
858
+ }
859
+ return {
860
+ width: r,
861
+ height: s,
862
+ x: c,
863
+ y: f
864
+ };
865
+ }
866
+ function ye(t, e) {
867
+ const n = G(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, r = j(t) ? J(t) : z(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, f = i * r.x, l = o * r.y;
868
+ return {
869
+ width: s,
870
+ height: c,
871
+ x: f,
872
+ y: l
873
+ };
874
+ }
875
+ function Dt(t, e, n) {
876
+ let o;
877
+ if (e === "viewport")
878
+ o = xe(t, n);
879
+ else if (e === "document")
880
+ o = we(I(t));
881
+ else if (H(e))
882
+ o = ye(e, n);
883
+ else {
884
+ const i = Ht(t);
885
+ o = {
886
+ x: e.x - i.x,
887
+ y: e.y - i.y,
888
+ width: e.width,
889
+ height: e.height
890
+ };
891
+ }
892
+ return lt(o);
893
+ }
894
+ function Vt(t, e) {
895
+ const n = K(t);
896
+ return n === e || !H(n) || Q(n) ? !1 : N(n).position === "fixed" || Vt(n, e);
897
+ }
898
+ function ve(t, e) {
899
+ const n = e.get(t);
900
+ if (n)
901
+ return n;
902
+ let o = nt(t, [], !1).filter((c) => H(c) && tt(c) !== "body"), i = null;
903
+ const r = N(t).position === "fixed";
904
+ let s = r ? K(t) : t;
905
+ for (; H(s) && !Q(s); ) {
906
+ const c = N(s), f = bt(s);
907
+ !f && c.position === "fixed" && (i = null), (r ? !f && !i : !f && c.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || ot(s) && !f && Vt(t, s)) ? o = o.filter((a) => a !== s) : i = c, s = K(s);
908
+ }
909
+ return e.set(t, o), o;
910
+ }
911
+ function be(t) {
912
+ let {
913
+ element: e,
914
+ boundary: n,
915
+ rootBoundary: o,
916
+ strategy: i
917
+ } = t;
918
+ const s = [...n === "clippingAncestors" ? ut(e) ? [] : ve(e, this._c) : [].concat(n), o], c = s[0], f = s.reduce((l, a) => {
919
+ const d = Dt(e, a, i);
920
+ return l.top = F(d.top, l.top), l.right = U(d.right, l.right), l.bottom = U(d.bottom, l.bottom), l.left = F(d.left, l.left), l;
921
+ }, Dt(e, c, i));
922
+ return {
923
+ width: f.right - f.left,
924
+ height: f.bottom - f.top,
925
+ x: f.left,
926
+ y: f.top
927
+ };
928
+ }
929
+ function Ae(t) {
930
+ const {
931
+ width: e,
932
+ height: n
933
+ } = Wt(t);
934
+ return {
935
+ width: e,
936
+ height: n
937
+ };
938
+ }
939
+ function Re(t, e, n) {
940
+ const o = j(e), i = I(e), r = n === "fixed", s = G(t, !0, r, e);
941
+ let c = {
942
+ scrollLeft: 0,
943
+ scrollTop: 0
944
+ };
945
+ const f = z(0);
946
+ function l() {
947
+ f.x = Ot(i);
948
+ }
949
+ if (o || !o && !r)
950
+ if ((tt(e) !== "body" || ot(i)) && (c = dt(e)), o) {
951
+ const u = G(e, !0, r, e);
952
+ f.x = u.x + e.clientLeft, f.y = u.y + e.clientTop;
953
+ } else i && l();
954
+ r && !o && i && l();
955
+ const a = i && !o && !r ? Nt(i, c) : z(0), d = s.left + c.scrollLeft - f.x - a.x, m = s.top + c.scrollTop - f.y - a.y;
956
+ return {
957
+ x: d,
958
+ y: m,
959
+ width: s.width,
960
+ height: s.height
961
+ };
962
+ }
963
+ function mt(t) {
964
+ return N(t).position === "static";
965
+ }
966
+ function Tt(t, e) {
967
+ if (!j(t) || N(t).position === "fixed")
968
+ return null;
969
+ if (e)
970
+ return e(t);
971
+ let n = t.offsetParent;
972
+ return I(t) === n && (n = n.ownerDocument.body), n;
973
+ }
974
+ function _t(t, e) {
975
+ const n = $(t);
976
+ if (ut(t))
977
+ return n;
978
+ if (!j(t)) {
979
+ let i = K(t);
980
+ for (; i && !Q(i); ) {
981
+ if (H(i) && !mt(i))
982
+ return i;
983
+ i = K(i);
984
+ }
985
+ return n;
986
+ }
987
+ let o = Tt(t, e);
988
+ for (; o && ue(o) && mt(o); )
989
+ o = Tt(o, e);
990
+ return o && Q(o) && mt(o) && !bt(o) ? n : o || de(t) || n;
991
+ }
992
+ const Oe = async function(t) {
993
+ const e = this.getOffsetParent || _t, n = this.getDimensions, o = await n(t.floating);
994
+ return {
995
+ reference: Re(t.reference, await e(t.floating), t.strategy),
996
+ floating: {
997
+ x: 0,
998
+ y: 0,
999
+ width: o.width,
1000
+ height: o.height
1001
+ }
1002
+ };
1003
+ };
1004
+ function Ce(t) {
1005
+ return N(t).direction === "rtl";
1006
+ }
1007
+ const Ee = {
1008
+ convertOffsetParentRelativeRectToViewportRelativeRect: ge,
1009
+ getDocumentElement: I,
1010
+ getClippingRect: be,
1011
+ getOffsetParent: _t,
1012
+ getElementRects: Oe,
1013
+ getClientRects: pe,
1014
+ getDimensions: Ae,
1015
+ getScale: J,
1016
+ isElement: H,
1017
+ isRTL: Ce
1018
+ };
1019
+ function zt(t, e) {
1020
+ return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
1021
+ }
1022
+ function Se(t, e) {
1023
+ let n = null, o;
1024
+ const i = I(t);
1025
+ function r() {
1026
+ var c;
1027
+ clearTimeout(o), (c = n) == null || c.disconnect(), n = null;
1028
+ }
1029
+ function s(c, f) {
1030
+ c === void 0 && (c = !1), f === void 0 && (f = 1), r();
1031
+ const l = t.getBoundingClientRect(), {
1032
+ left: a,
1033
+ top: d,
1034
+ width: m,
1035
+ height: u
1036
+ } = l;
1037
+ if (c || e(), !m || !u)
1038
+ return;
1039
+ const h = it(d), g = it(i.clientWidth - (a + m)), p = it(i.clientHeight - (d + u)), w = it(a), v = {
1040
+ rootMargin: -h + "px " + -g + "px " + -p + "px " + -w + "px",
1041
+ threshold: F(0, U(1, f)) || 1
1042
+ };
1043
+ let b = !0;
1044
+ function y(O) {
1045
+ const R = O[0].intersectionRatio;
1046
+ if (R !== f) {
1047
+ if (!b)
1048
+ return s();
1049
+ R ? s(!1, R) : o = setTimeout(() => {
1050
+ s(!1, 1e-7);
1051
+ }, 1e3);
1052
+ }
1053
+ R === 1 && !zt(l, t.getBoundingClientRect()) && s(), b = !1;
1054
+ }
1055
+ try {
1056
+ n = new IntersectionObserver(y, {
1057
+ ...v,
1058
+ // Handle <iframe>s
1059
+ root: i.ownerDocument
1060
+ });
1061
+ } catch {
1062
+ n = new IntersectionObserver(y, v);
1063
+ }
1064
+ n.observe(t);
1065
+ }
1066
+ return s(!0), r;
1067
+ }
1068
+ function ze(t, e, n, o) {
1069
+ o === void 0 && (o = {});
1070
+ const {
1071
+ ancestorScroll: i = !0,
1072
+ ancestorResize: r = !0,
1073
+ elementResize: s = typeof ResizeObserver == "function",
1074
+ layoutShift: c = typeof IntersectionObserver == "function",
1075
+ animationFrame: f = !1
1076
+ } = o, l = Rt(t), a = i || r ? [...l ? nt(l) : [], ...nt(e)] : [];
1077
+ a.forEach((w) => {
1078
+ i && w.addEventListener("scroll", n, {
1079
+ passive: !0
1080
+ }), r && w.addEventListener("resize", n);
1081
+ });
1082
+ const d = l && c ? Se(l, n) : null;
1083
+ let m = -1, u = null;
1084
+ s && (u = new ResizeObserver((w) => {
1085
+ let [x] = w;
1086
+ x && x.target === l && u && (u.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
1087
+ var v;
1088
+ (v = u) == null || v.observe(e);
1089
+ })), n();
1090
+ }), l && !f && u.observe(l), u.observe(e));
1091
+ let h, g = f ? G(t) : null;
1092
+ f && p();
1093
+ function p() {
1094
+ const w = G(t);
1095
+ g && !zt(g, w) && n(), g = w, h = requestAnimationFrame(p);
1096
+ }
1097
+ return n(), () => {
1098
+ var w;
1099
+ a.forEach((x) => {
1100
+ i && x.removeEventListener("scroll", n), r && x.removeEventListener("resize", n);
1101
+ }), d == null || d(), (w = u) == null || w.disconnect(), u = null, f && cancelAnimationFrame(h);
1102
+ };
1103
+ }
1104
+ const Le = ce, Pe = le, De = ie, Te = ae, Me = re, Mt = oe, ke = fe, Fe = (t, e, n) => {
1105
+ const o = /* @__PURE__ */ new Map(), i = {
1106
+ platform: Ee,
1107
+ ...n
1108
+ }, r = {
1109
+ ...i.platform,
1110
+ _c: o
1111
+ };
1112
+ return ne(t, e, {
1113
+ ...i,
1114
+ platform: r
1115
+ });
1116
+ };
1117
+ var $e = typeof document < "u", Be = function() {
1118
+ }, rt = $e ? Yt : Be;
1119
+ function ft(t, e) {
1120
+ if (t === e)
1121
+ return !0;
1122
+ if (typeof t != typeof e)
1123
+ return !1;
1124
+ if (typeof t == "function" && t.toString() === e.toString())
1125
+ return !0;
1126
+ let n, o, i;
1127
+ if (t && e && typeof t == "object") {
1128
+ if (Array.isArray(t)) {
1129
+ if (n = t.length, n !== e.length) return !1;
1130
+ for (o = n; o-- !== 0; )
1131
+ if (!ft(t[o], e[o]))
1132
+ return !1;
1133
+ return !0;
1134
+ }
1135
+ if (i = Object.keys(t), n = i.length, n !== Object.keys(e).length)
1136
+ return !1;
1137
+ for (o = n; o-- !== 0; )
1138
+ if (!{}.hasOwnProperty.call(e, i[o]))
1139
+ return !1;
1140
+ for (o = n; o-- !== 0; ) {
1141
+ const r = i[o];
1142
+ if (!(r === "_owner" && t.$$typeof) && !ft(t[r], e[r]))
1143
+ return !1;
1144
+ }
1145
+ return !0;
1146
+ }
1147
+ return t !== t && e !== e;
1148
+ }
1149
+ function jt(t) {
1150
+ return typeof window > "u" ? 1 : (t.ownerDocument.defaultView || window).devicePixelRatio || 1;
1151
+ }
1152
+ function kt(t, e) {
1153
+ const n = jt(t);
1154
+ return Math.round(e * n) / n;
1155
+ }
1156
+ function ht(t) {
1157
+ const e = S.useRef(t);
1158
+ return rt(() => {
1159
+ e.current = t;
1160
+ }), e;
1161
+ }
1162
+ function je(t) {
1163
+ t === void 0 && (t = {});
1164
+ const {
1165
+ placement: e = "bottom",
1166
+ strategy: n = "absolute",
1167
+ middleware: o = [],
1168
+ platform: i,
1169
+ elements: {
1170
+ reference: r,
1171
+ floating: s
1172
+ } = {},
1173
+ transform: c = !0,
1174
+ whileElementsMounted: f,
1175
+ open: l
1176
+ } = t, [a, d] = S.useState({
1177
+ x: 0,
1178
+ y: 0,
1179
+ strategy: n,
1180
+ placement: e,
1181
+ middlewareData: {},
1182
+ isPositioned: !1
1183
+ }), [m, u] = S.useState(o);
1184
+ ft(m, o) || u(o);
1185
+ const [h, g] = S.useState(null), [p, w] = S.useState(null), x = S.useCallback((A) => {
1186
+ A !== O.current && (O.current = A, g(A));
1187
+ }, []), v = S.useCallback((A) => {
1188
+ A !== R.current && (R.current = A, w(A));
1189
+ }, []), b = r || h, y = s || p, O = S.useRef(null), R = S.useRef(null), P = S.useRef(a), B = f != null, L = ht(f), W = ht(i), M = ht(l), D = S.useCallback(() => {
1190
+ if (!O.current || !R.current)
1191
+ return;
1192
+ const A = {
1193
+ placement: e,
1194
+ strategy: n,
1195
+ middleware: m
1196
+ };
1197
+ W.current && (A.platform = W.current), Fe(O.current, R.current, A).then((k) => {
1198
+ const X = {
1199
+ ...k,
1200
+ // The floating element's position may be recomputed while it's closed
1201
+ // but still mounted (such as when transitioning out). To ensure
1202
+ // `isPositioned` will be `false` initially on the next open, avoid
1203
+ // setting it to `true` when `open === false` (must be specified).
1204
+ isPositioned: M.current !== !1
1205
+ };
1206
+ C.current && !ft(P.current, X) && (P.current = X, qt.flushSync(() => {
1207
+ d(X);
1208
+ }));
1209
+ });
1210
+ }, [m, e, n, W, M]);
1211
+ rt(() => {
1212
+ l === !1 && P.current.isPositioned && (P.current.isPositioned = !1, d((A) => ({
1213
+ ...A,
1214
+ isPositioned: !1
1215
+ })));
1216
+ }, [l]);
1217
+ const C = S.useRef(!1);
1218
+ rt(() => (C.current = !0, () => {
1219
+ C.current = !1;
1220
+ }), []), rt(() => {
1221
+ if (b && (O.current = b), y && (R.current = y), b && y) {
1222
+ if (L.current)
1223
+ return L.current(b, y, D);
1224
+ D();
1225
+ }
1226
+ }, [b, y, D, L, B]);
1227
+ const V = S.useMemo(() => ({
1228
+ reference: O,
1229
+ floating: R,
1230
+ setReference: x,
1231
+ setFloating: v
1232
+ }), [x, v]), E = S.useMemo(() => ({
1233
+ reference: b,
1234
+ floating: y
1235
+ }), [b, y]), T = S.useMemo(() => {
1236
+ const A = {
1237
+ position: n,
1238
+ left: 0,
1239
+ top: 0
1240
+ };
1241
+ if (!E.floating)
1242
+ return A;
1243
+ const k = kt(E.floating, a.x), X = kt(E.floating, a.y);
1244
+ return c ? {
1245
+ ...A,
1246
+ transform: "translate(" + k + "px, " + X + "px)",
1247
+ ...jt(E.floating) >= 1.5 && {
1248
+ willChange: "transform"
1249
+ }
1250
+ } : {
1251
+ position: n,
1252
+ left: k,
1253
+ top: X
1254
+ };
1255
+ }, [n, c, E.floating, a.x, a.y]);
1256
+ return S.useMemo(() => ({
1257
+ ...a,
1258
+ update: D,
1259
+ refs: V,
1260
+ elements: E,
1261
+ floatingStyles: T
1262
+ }), [a, D, V, E, T]);
1263
+ }
1264
+ const We = (t) => {
1265
+ function e(n) {
1266
+ return {}.hasOwnProperty.call(n, "current");
1267
+ }
1268
+ return {
1269
+ name: "arrow",
1270
+ options: t,
1271
+ fn(n) {
1272
+ const {
1273
+ element: o,
1274
+ padding: i
1275
+ } = typeof t == "function" ? t(n) : t;
1276
+ return o && e(o) ? o.current != null ? Mt({
1277
+ element: o.current,
1278
+ padding: i
1279
+ }).fn(n) : {} : o ? Mt({
1280
+ element: o,
1281
+ padding: i
1282
+ }).fn(n) : {};
1283
+ }
1284
+ };
1285
+ }, Ie = (t, e) => ({
1286
+ ...Le(t),
1287
+ options: [t, e]
1288
+ }), Ye = (t, e) => ({
1289
+ ...Pe(t),
1290
+ options: [t, e]
1291
+ }), qe = (t, e) => ({
1292
+ ...ke(t),
1293
+ options: [t, e]
1294
+ }), Xe = (t, e) => ({
1295
+ ...De(t),
1296
+ options: [t, e]
1297
+ }), Ue = (t, e) => ({
1298
+ ...Te(t),
1299
+ options: [t, e]
1300
+ }), Ke = (t, e) => ({
1301
+ ...Me(t),
1302
+ options: [t, e]
1303
+ }), Ge = (t, e) => ({
1304
+ ...We(t),
1305
+ options: [t, e]
1306
+ });
1307
+ var He = "Arrow", It = S.forwardRef((t, e) => {
1308
+ const { children: n, width: o = 10, height: i = 5, ...r } = t;
1309
+ return /* @__PURE__ */ Ct.jsx(
1310
+ Xt.svg,
1311
+ {
1312
+ ...r,
1313
+ ref: e,
1314
+ width: o,
1315
+ height: i,
1316
+ viewBox: "0 0 30 10",
1317
+ preserveAspectRatio: "none",
1318
+ children: t.asChild ? n : /* @__PURE__ */ Ct.jsx("polygon", { points: "0,0 30,0 15,10" })
1319
+ }
1320
+ );
1321
+ });
1322
+ It.displayName = He;
1323
+ var Je = It;
1324
+ export {
1325
+ Je as R,
1326
+ Ue as a,
1327
+ Ge as b,
1328
+ ze as c,
1329
+ Xe as f,
1330
+ Ke as h,
1331
+ qe as l,
1332
+ Ie as o,
1333
+ Ye as s,
1334
+ je as u
1335
+ };