@sisense/sdk-shared-ui 1.27.1 → 1.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (370) hide show
  1. package/dist/CheckableList-BLLCGCKX.cjs +1 -0
  2. package/dist/CheckableList-CC7iKnHq.js +21 -0
  3. package/dist/Checkbox-CrbGw8d7.js +513 -0
  4. package/dist/Checkbox-Dy9BTXfS.cjs +1 -0
  5. package/dist/DEPRECATED_Button-D2XS1y1r.cjs +1 -0
  6. package/dist/DEPRECATED_Button-m2ifXo3Q.js +87 -0
  7. package/dist/DEPRECATED_Checkbox-CYomxatm.cjs +1 -0
  8. package/dist/DEPRECATED_Checkbox-DWtXr5K7.js +63 -0
  9. package/dist/DEPRECATED_Icon-BQ4AqiI1.js +56 -0
  10. package/dist/DEPRECATED_Icon-iUszZb09.cjs +1 -0
  11. package/dist/DEPRECATED_Toggle-DMnlQO3F.js +30 -0
  12. package/dist/DEPRECATED_Toggle-Dp0ZZ_6E.cjs +1 -0
  13. package/dist/DEPRECATED_Tooltip-C2bU8ipb.js +2316 -0
  14. package/dist/DEPRECATED_Tooltip-D3ReAkFF.cjs +27 -0
  15. package/dist/Dropdown-BtZZ4fY6.cjs +1 -0
  16. package/dist/Dropdown-BxoUPsca.js +231 -0
  17. package/dist/Icon-B1V-T6UH.cjs +1 -0
  18. package/dist/Icon-Cs6oGRgo.js +110 -0
  19. package/dist/Input-BghWSV2Z.js +119 -0
  20. package/dist/Input-Cd6a2FUC.cjs +1 -0
  21. package/dist/LazyLoader-DB86QSSx.js +18 -0
  22. package/dist/LazyLoader-gOLNhxc-.cjs +1 -0
  23. package/dist/Menu-BfAQOpHl.cjs +1 -0
  24. package/dist/Menu-C5wQnuq6.js +1212 -0
  25. package/dist/Popover-0n4kd3ut.js +49 -0
  26. package/dist/Popover-Bp5g_ws9.cjs +1 -0
  27. package/dist/RadioButton-BpAksn2s.js +70 -0
  28. package/dist/RadioButton-Ds-0wj0r.cjs +1 -0
  29. package/dist/SvgIcon-LwOuESoH.js +238 -0
  30. package/dist/SvgIcon-SnObJHZS.cjs +1 -0
  31. package/dist/TablePagination-B8I5QURH.js +7929 -0
  32. package/dist/TablePagination-DH0TZ21v.cjs +31 -0
  33. package/dist/ThemeProvider-aq1EWT1u.js +5041 -0
  34. package/dist/ThemeProvider-sqppyE-5.cjs +114 -0
  35. package/dist/Tooltip-Dokek6y8.cjs +7 -0
  36. package/dist/Tooltip-vVc6Lxew.js +2153 -0
  37. package/dist/TransitionGroupContext-BlR3HYBG.cjs +4 -0
  38. package/dist/TransitionGroupContext-Ci_clMyv.js +120 -0
  39. package/dist/Typography-C891hjk2.js +497 -0
  40. package/dist/Typography-vldQClJj.cjs +1 -0
  41. package/dist/align.interface-B17uA473.cjs +1 -0
  42. package/dist/align.interface-DdWsijrT.js +4 -0
  43. package/dist/assertThisInitialized-BSnhOY1M.cjs +1 -0
  44. package/dist/assertThisInitialized-lz6cHcRv.js +8 -0
  45. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  46. package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +1 -0
  47. package/dist/createSvgIcon-CXJWSg3i.js +902 -0
  48. package/dist/createSvgIcon-DF4qzIJY.cjs +74 -0
  49. package/dist/extends-DX42hfxm.js +13 -0
  50. package/dist/extends-q0Hkx4pQ.cjs +1 -0
  51. package/dist/index-B-zZeebW.cjs +20 -0
  52. package/dist/index-D0lMis-I.js +667 -0
  53. package/dist/index.cjs +1 -0
  54. package/dist/index.d.ts +2 -0
  55. package/dist/index.d.ts.map +1 -0
  56. package/dist/lib/CheckableList/CheckableList.cjs +1 -0
  57. package/dist/lib/CheckableList/CheckableList.d.ts +16 -0
  58. package/dist/lib/CheckableList/CheckableList.d.ts.map +1 -0
  59. package/dist/lib/CheckableList/CheckableList.js +5 -0
  60. package/dist/lib/CheckableList/index.d.ts +4 -0
  61. package/dist/lib/CheckableList/index.d.ts.map +1 -0
  62. package/dist/lib/Checkbox/Checkbox.cjs +1 -0
  63. package/dist/lib/Checkbox/Checkbox.d.ts +20 -0
  64. package/dist/lib/Checkbox/Checkbox.d.ts.map +1 -0
  65. package/dist/lib/Checkbox/Checkbox.js +5 -0
  66. package/dist/lib/Checkbox/index.d.ts +4 -0
  67. package/dist/lib/Checkbox/index.d.ts.map +1 -0
  68. package/dist/lib/Checkbox/themes/checkboxTheme.d.ts +12 -0
  69. package/dist/lib/Checkbox/themes/checkboxTheme.d.ts.map +1 -0
  70. package/{src/lib/Checkbox/themes/index.ts → dist/lib/Checkbox/themes/index.d.ts} +1 -0
  71. package/dist/lib/Checkbox/themes/index.d.ts.map +1 -0
  72. package/dist/lib/Checkbox/themes/uiCustomization.d.ts +12 -0
  73. package/dist/lib/Checkbox/themes/uiCustomization.d.ts.map +1 -0
  74. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.cjs +1 -0
  75. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts +43 -0
  76. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.d.ts.map +1 -0
  77. package/dist/lib/DEPRECATED_Button/DEPRECATED_Button.js +5 -0
  78. package/dist/lib/DEPRECATED_Button/index.d.ts +4 -0
  79. package/dist/lib/DEPRECATED_Button/index.d.ts.map +1 -0
  80. package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.cjs +1 -0
  81. package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts +20 -0
  82. package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.d.ts.map +1 -0
  83. package/dist/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.js +5 -0
  84. package/dist/lib/DEPRECATED_Checkbox/index.d.ts +4 -0
  85. package/dist/lib/DEPRECATED_Checkbox/index.d.ts.map +1 -0
  86. package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.cjs +1 -0
  87. package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts +17 -0
  88. package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.d.ts.map +1 -0
  89. package/dist/lib/DEPRECATED_Icon/DEPRECATED_Icon.js +5 -0
  90. package/dist/lib/DEPRECATED_Icon/index.d.ts +4 -0
  91. package/dist/lib/DEPRECATED_Icon/index.d.ts.map +1 -0
  92. package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.cjs +1 -0
  93. package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts +13 -0
  94. package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.d.ts.map +1 -0
  95. package/dist/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.js +5 -0
  96. package/dist/lib/DEPRECATED_Toggle/index.d.ts +4 -0
  97. package/dist/lib/DEPRECATED_Toggle/index.d.ts.map +1 -0
  98. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.cjs +1 -0
  99. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts +15 -0
  100. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.d.ts.map +1 -0
  101. package/dist/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.js +5 -0
  102. package/dist/lib/DEPRECATED_Tooltip/index.d.ts +4 -0
  103. package/dist/lib/DEPRECATED_Tooltip/index.d.ts.map +1 -0
  104. package/dist/lib/Dropdown/Dropdown.cjs +1 -0
  105. package/dist/lib/Dropdown/Dropdown.d.ts +32 -0
  106. package/dist/lib/Dropdown/Dropdown.d.ts.map +1 -0
  107. package/dist/lib/Dropdown/Dropdown.js +5 -0
  108. package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts +18 -0
  109. package/dist/lib/Dropdown/DropdownButton/DropdownButton.d.ts.map +1 -0
  110. package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts +12 -0
  111. package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.d.ts.map +1 -0
  112. package/{src/lib/Dropdown/DropdownButton/DropdownButtonBody/index.ts → dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts} +1 -0
  113. package/dist/lib/Dropdown/DropdownButton/DropdownButtonBody/index.d.ts.map +1 -0
  114. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts +10 -0
  115. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.d.ts.map +1 -0
  116. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts +2 -0
  117. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.d.ts.map +1 -0
  118. package/{src/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.ts → dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts} +1 -0
  119. package/dist/lib/Dropdown/DropdownButton/DropdownButtonSearch/index.d.ts.map +1 -0
  120. package/{src/lib/Dropdown/DropdownButton/hooks/index.tsx → dist/lib/Dropdown/DropdownButton/hooks/index.d.ts} +1 -0
  121. package/dist/lib/Dropdown/DropdownButton/hooks/index.d.ts.map +1 -0
  122. package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts +15 -0
  123. package/dist/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.d.ts.map +1 -0
  124. package/{src/lib/Dropdown/DropdownButton/index.ts → dist/lib/Dropdown/DropdownButton/index.d.ts} +1 -0
  125. package/dist/lib/Dropdown/DropdownButton/index.d.ts.map +1 -0
  126. package/{src/lib/Dropdown/hooks/index.tsx → dist/lib/Dropdown/hooks/index.d.ts} +1 -0
  127. package/dist/lib/Dropdown/hooks/index.d.ts.map +1 -0
  128. package/dist/lib/Dropdown/hooks/useDropdown.d.ts +9 -0
  129. package/dist/lib/Dropdown/hooks/useDropdown.d.ts.map +1 -0
  130. package/dist/lib/Dropdown/index.d.ts +5 -0
  131. package/dist/lib/Dropdown/index.d.ts.map +1 -0
  132. package/dist/lib/Dropdown/types.d.ts +12 -0
  133. package/dist/lib/Dropdown/types.d.ts.map +1 -0
  134. package/dist/lib/Icon/Icon.cjs +1 -0
  135. package/dist/lib/Icon/Icon.d.ts +13 -0
  136. package/dist/lib/Icon/Icon.d.ts.map +1 -0
  137. package/dist/lib/Icon/Icon.js +5 -0
  138. package/dist/lib/Icon/index.d.ts +4 -0
  139. package/dist/lib/Icon/index.d.ts.map +1 -0
  140. package/dist/lib/Icon/themes/iconTheme.d.ts +8 -0
  141. package/dist/lib/Icon/themes/iconTheme.d.ts.map +1 -0
  142. package/{src/lib/Icon/themes/index.ts → dist/lib/Icon/themes/index.d.ts} +1 -0
  143. package/dist/lib/Icon/themes/index.d.ts.map +1 -0
  144. package/dist/lib/Icon/themes/uiCustomization.d.ts +2 -0
  145. package/dist/lib/Icon/themes/uiCustomization.d.ts.map +1 -0
  146. package/dist/lib/Input/Input.cjs +1 -0
  147. package/dist/lib/Input/Input.d.ts +28 -0
  148. package/dist/lib/Input/Input.d.ts.map +1 -0
  149. package/dist/lib/Input/Input.js +5 -0
  150. package/dist/lib/Input/index.d.ts +4 -0
  151. package/dist/lib/Input/index.d.ts.map +1 -0
  152. package/dist/lib/LazyLoader/LazyLoader.cjs +1 -0
  153. package/dist/lib/LazyLoader/LazyLoader.d.ts +9 -0
  154. package/dist/lib/LazyLoader/LazyLoader.d.ts.map +1 -0
  155. package/dist/lib/LazyLoader/LazyLoader.js +5 -0
  156. package/dist/lib/LazyLoader/index.d.ts +4 -0
  157. package/dist/lib/LazyLoader/index.d.ts.map +1 -0
  158. package/dist/lib/Menu/Confirmation/Confirmation.d.ts +8 -0
  159. package/dist/lib/Menu/Confirmation/Confirmation.d.ts.map +1 -0
  160. package/{src/lib/Menu/Confirmation/index.ts → dist/lib/Menu/Confirmation/index.d.ts} +1 -0
  161. package/dist/lib/Menu/Confirmation/index.d.ts.map +1 -0
  162. package/dist/lib/Menu/Confirmation/translation.d.ts +2 -0
  163. package/dist/lib/Menu/Confirmation/translation.d.ts.map +1 -0
  164. package/dist/lib/Menu/Menu.cjs +1 -0
  165. package/dist/lib/Menu/Menu.d.ts +80 -0
  166. package/dist/lib/Menu/Menu.d.ts.map +1 -0
  167. package/dist/lib/Menu/Menu.js +8 -0
  168. package/dist/lib/Menu/MenuItem/MenuItem.d.ts +36 -0
  169. package/dist/lib/Menu/MenuItem/MenuItem.d.ts.map +1 -0
  170. package/{src/lib/Menu/MenuItem/index.ts → dist/lib/Menu/MenuItem/index.d.ts} +1 -0
  171. package/dist/lib/Menu/MenuItem/index.d.ts.map +1 -0
  172. package/{src/lib/Menu/index.ts → dist/lib/Menu/index.d.ts} +2 -2
  173. package/dist/lib/Menu/index.d.ts.map +1 -0
  174. package/dist/lib/Menu/utils.d.ts +6 -0
  175. package/dist/lib/Menu/utils.d.ts.map +1 -0
  176. package/dist/lib/Popover/Popover.cjs +1 -0
  177. package/dist/lib/Popover/Popover.d.ts +16 -0
  178. package/dist/lib/Popover/Popover.d.ts.map +1 -0
  179. package/dist/lib/Popover/Popover.js +7 -0
  180. package/dist/lib/Popover/align.interface.d.ts +23 -0
  181. package/dist/lib/Popover/align.interface.d.ts.map +1 -0
  182. package/{src/lib/Popover/index.ts → dist/lib/Popover/index.d.ts} +2 -2
  183. package/dist/lib/Popover/index.d.ts.map +1 -0
  184. package/dist/lib/RadioButton/RadioButton.cjs +1 -0
  185. package/dist/lib/RadioButton/RadioButton.d.ts +20 -0
  186. package/dist/lib/RadioButton/RadioButton.d.ts.map +1 -0
  187. package/dist/lib/RadioButton/RadioButton.js +5 -0
  188. package/dist/lib/RadioButton/index.d.ts +4 -0
  189. package/dist/lib/RadioButton/index.d.ts.map +1 -0
  190. package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts +9 -0
  191. package/dist/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.d.ts.map +1 -0
  192. package/dist/lib/TablePagination/PaginationActionsComponent/index.d.ts +2 -0
  193. package/dist/lib/TablePagination/PaginationActionsComponent/index.d.ts.map +1 -0
  194. package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts +2 -0
  195. package/dist/lib/TablePagination/PaginationActionsComponent/themes/index.d.ts.map +1 -0
  196. package/dist/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts +3 -0
  197. package/dist/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.d.ts.map +1 -0
  198. package/dist/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts +2 -0
  199. package/dist/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.d.ts.map +1 -0
  200. package/dist/lib/TablePagination/TablePagination.cjs +1 -0
  201. package/dist/lib/TablePagination/TablePagination.d.ts +19 -0
  202. package/dist/lib/TablePagination/TablePagination.d.ts.map +1 -0
  203. package/dist/lib/TablePagination/TablePagination.js +5 -0
  204. package/dist/lib/TablePagination/TablePaginationContext.d.ts +3 -0
  205. package/dist/lib/TablePagination/TablePaginationContext.d.ts.map +1 -0
  206. package/dist/lib/TablePagination/index.d.ts +4 -0
  207. package/dist/lib/TablePagination/index.d.ts.map +1 -0
  208. package/{src/lib/TablePagination/themes/index.ts → dist/lib/TablePagination/themes/index.d.ts} +1 -0
  209. package/dist/lib/TablePagination/themes/index.d.ts.map +1 -0
  210. package/dist/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts +10 -0
  211. package/dist/lib/TablePagination/themes/tablePaginationResponsiveDesign.d.ts.map +1 -0
  212. package/dist/lib/TablePagination/themes/tablePaginationTheme.d.ts +3 -0
  213. package/dist/lib/TablePagination/themes/tablePaginationTheme.d.ts.map +1 -0
  214. package/dist/lib/TablePagination/themes/uiCustomization.d.ts +2 -0
  215. package/dist/lib/TablePagination/themes/uiCustomization.d.ts.map +1 -0
  216. package/dist/lib/Tooltip/Tooltip.cjs +1 -0
  217. package/dist/lib/Tooltip/Tooltip.d.ts +10 -0
  218. package/dist/lib/Tooltip/Tooltip.d.ts.map +1 -0
  219. package/dist/lib/Tooltip/Tooltip.js +7 -0
  220. package/{src/lib/Tooltip/index.ts → dist/lib/Tooltip/index.d.ts} +2 -2
  221. package/dist/lib/Tooltip/index.d.ts.map +1 -0
  222. package/{src/lib/Tooltip/themes/index.ts → dist/lib/Tooltip/themes/index.d.ts} +1 -0
  223. package/dist/lib/Tooltip/themes/index.d.ts.map +1 -0
  224. package/dist/lib/Tooltip/themes/tooltipTheme.d.ts +3 -0
  225. package/dist/lib/Tooltip/themes/tooltipTheme.d.ts.map +1 -0
  226. package/dist/lib/Typography/Typography.cjs +1 -0
  227. package/dist/lib/Typography/Typography.d.ts +11 -0
  228. package/dist/lib/Typography/Typography.d.ts.map +1 -0
  229. package/dist/lib/Typography/Typography.js +7 -0
  230. package/{src/lib/Typography/index.ts → dist/lib/Typography/index.d.ts} +2 -2
  231. package/dist/lib/Typography/index.d.ts.map +1 -0
  232. package/{src/lib/Typography/themes/index.ts → dist/lib/Typography/themes/index.d.ts} +1 -0
  233. package/dist/lib/Typography/themes/index.d.ts.map +1 -0
  234. package/dist/lib/Typography/themes/typographyTheme.d.ts +21 -0
  235. package/dist/lib/Typography/themes/typographyTheme.d.ts.map +1 -0
  236. package/dist/lib/Typography/themes/uiCustomization.d.ts +2 -0
  237. package/dist/lib/Typography/themes/uiCustomization.d.ts.map +1 -0
  238. package/dist/lib/constants/styleguideConstants.d.ts +9 -0
  239. package/dist/lib/constants/styleguideConstants.d.ts.map +1 -0
  240. package/{src/lib/index.ts → dist/lib/index.d.ts} +1 -0
  241. package/dist/lib/index.d.ts.map +1 -0
  242. package/{src/lib/themes/colors/index.ts → dist/lib/themes/colors/index.d.ts} +1 -0
  243. package/dist/lib/themes/colors/index.d.ts.map +1 -0
  244. package/dist/lib/themes/colors/siColors.d.ts +140 -0
  245. package/dist/lib/themes/colors/siColors.d.ts.map +1 -0
  246. package/{src/lib/themes/index.ts → dist/lib/themes/index.d.ts} +1 -0
  247. package/dist/lib/themes/index.d.ts.map +1 -0
  248. package/dist/lib/themes/themes.cjs +2 -0
  249. package/dist/lib/themes/themes.js +142 -0
  250. package/dist/lib/themes/types/SisenseTheme.d.ts +12 -0
  251. package/dist/lib/themes/types/SisenseTheme.d.ts.map +1 -0
  252. package/{src/lib/themes/types/index.ts → dist/lib/themes/types/index.d.ts} +1 -0
  253. package/dist/lib/themes/types/index.d.ts.map +1 -0
  254. package/dist/package.json +208 -0
  255. package/dist/setPrototypeOf-BmHXYjK5.cjs +1 -0
  256. package/dist/setPrototypeOf-CEtRTXk2.js +19 -0
  257. package/dist/styleguideConstants-CtXkvIZK.cjs +1 -0
  258. package/dist/styleguideConstants-D4Yls16w.js +11 -0
  259. package/dist/useSlot-BfQr8KCN.js +803 -0
  260. package/dist/useSlot-C3-OaWva.cjs +1 -0
  261. package/dist/useTheme-CtIZL8WJ.js +8 -0
  262. package/dist/useTheme-DJmNR5EL.cjs +1 -0
  263. package/package.json +4 -1
  264. package/.eslintignore +0 -4
  265. package/.prettierignore +0 -11
  266. package/.storybook/main.ts +0 -44
  267. package/.storybook/preview-head.html +0 -4
  268. package/.storybook/preview.tsx +0 -34
  269. package/src/index.ts +0 -1
  270. package/src/lib/@types/sass.d.ts +0 -19
  271. package/src/lib/CheckableList/CheckableList.module.scss +0 -13
  272. package/src/lib/CheckableList/CheckableList.test.tsx +0 -61
  273. package/src/lib/CheckableList/CheckableList.tsx +0 -41
  274. package/src/lib/CheckableList/index.ts +0 -4
  275. package/src/lib/Checkbox/Checkbox.tsx +0 -28
  276. package/src/lib/Checkbox/index.ts +0 -4
  277. package/src/lib/Checkbox/themes/checkboxTheme.ts +0 -42
  278. package/src/lib/Checkbox/themes/uiCustomization.ts +0 -28
  279. package/src/lib/DEPRECATED_Button/DEPRECATED_Button.module.scss +0 -57
  280. package/src/lib/DEPRECATED_Button/DEPRECATED_Button.stories.tsx +0 -169
  281. package/src/lib/DEPRECATED_Button/DEPRECATED_Button.test.tsx +0 -154
  282. package/src/lib/DEPRECATED_Button/DEPRECATED_Button.tsx +0 -129
  283. package/src/lib/DEPRECATED_Button/index.ts +0 -4
  284. package/src/lib/DEPRECATED_Checkbox/Checkbox.module.scss +0 -49
  285. package/src/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.test.tsx +0 -131
  286. package/src/lib/DEPRECATED_Checkbox/DEPRECATED_Checkbox.tsx +0 -103
  287. package/src/lib/DEPRECATED_Checkbox/index.ts +0 -4
  288. package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.module.scss +0 -7
  289. package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.stories.tsx +0 -27
  290. package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.test.tsx +0 -105
  291. package/src/lib/DEPRECATED_Icon/DEPRECATED_Icon.tsx +0 -91
  292. package/src/lib/DEPRECATED_Icon/index.ts +0 -4
  293. package/src/lib/DEPRECATED_Toggle/DEPRECATED_Toggle.tsx +0 -49
  294. package/src/lib/DEPRECATED_Toggle/index.ts +0 -4
  295. package/src/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.module.scss +0 -115
  296. package/src/lib/DEPRECATED_Tooltip/DEPRECATED_Tooltip.tsx +0 -68
  297. package/src/lib/DEPRECATED_Tooltip/index.ts +0 -4
  298. package/src/lib/Dropdown/Dropdown.module.scss +0 -9
  299. package/src/lib/Dropdown/Dropdown.tsx +0 -150
  300. package/src/lib/Dropdown/DropdownButton/DropdownButton.module.scss +0 -49
  301. package/src/lib/Dropdown/DropdownButton/DropdownButton.tsx +0 -81
  302. package/src/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.test.tsx +0 -121
  303. package/src/lib/Dropdown/DropdownButton/DropdownButtonBody/DropdownButtonBody.tsx +0 -39
  304. package/src/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.module.scss +0 -20
  305. package/src/lib/Dropdown/DropdownButton/DropdownButtonSearch/DropdownButtonSearch.tsx +0 -44
  306. package/src/lib/Dropdown/DropdownButton/DropdownButtonSearch/constants.ts +0 -1
  307. package/src/lib/Dropdown/DropdownButton/hooks/useDropdownButtonSearch.ts +0 -51
  308. package/src/lib/Dropdown/hooks/useDropdown.ts +0 -29
  309. package/src/lib/Dropdown/index.ts +0 -5
  310. package/src/lib/Dropdown/types.ts +0 -17
  311. package/src/lib/Icon/Icon.tsx +0 -118
  312. package/src/lib/Icon/index.ts +0 -4
  313. package/src/lib/Icon/themes/iconTheme.tsx +0 -38
  314. package/src/lib/Icon/themes/uiCustomization.ts +0 -9
  315. package/src/lib/Input/Input.module.scss +0 -97
  316. package/src/lib/Input/Input.test.tsx +0 -177
  317. package/src/lib/Input/Input.tsx +0 -134
  318. package/src/lib/Input/index.ts +0 -4
  319. package/src/lib/LazyLoader/LazyLoader.module.scss +0 -18
  320. package/src/lib/LazyLoader/LazyLoader.tsx +0 -42
  321. package/src/lib/LazyLoader/index.ts +0 -4
  322. package/src/lib/Menu/Confirmation/Confirmation.module.scss +0 -48
  323. package/src/lib/Menu/Confirmation/Confirmation.tsx +0 -45
  324. package/src/lib/Menu/Confirmation/translation.ts +0 -17
  325. package/src/lib/Menu/Menu.module.scss +0 -178
  326. package/src/lib/Menu/Menu.tsx +0 -363
  327. package/src/lib/Menu/MenuItem/MenuItem.test.tsx +0 -241
  328. package/src/lib/Menu/MenuItem/MenuItem.tsx +0 -186
  329. package/src/lib/Menu/utils.ts +0 -13
  330. package/src/lib/Popover/Popover.module.scss +0 -15
  331. package/src/lib/Popover/Popover.tsx +0 -92
  332. package/src/lib/Popover/align.interface.ts +0 -20
  333. package/src/lib/RadioButton/RadioButton.module.scss +0 -22
  334. package/src/lib/RadioButton/RadioButton.tsx +0 -89
  335. package/src/lib/RadioButton/index.ts +0 -4
  336. package/src/lib/TablePagination/PaginationActionsComponent/PaginationActionsComponent.tsx +0 -87
  337. package/src/lib/TablePagination/PaginationActionsComponent/index.ts +0 -4
  338. package/src/lib/TablePagination/PaginationActionsComponent/themes/index.ts +0 -4
  339. package/src/lib/TablePagination/PaginationActionsComponent/themes/paginationActionsComponentTheme.tsx +0 -70
  340. package/src/lib/TablePagination/PaginationActionsComponent/themes/uiCustomization.ts +0 -17
  341. package/src/lib/TablePagination/TablePagination.tsx +0 -148
  342. package/src/lib/TablePagination/TablePaginationContext.ts +0 -4
  343. package/src/lib/TablePagination/index.ts +0 -4
  344. package/src/lib/TablePagination/themes/tablePaginationResponsiveDesign.ts +0 -33
  345. package/src/lib/TablePagination/themes/tablePaginationTheme.tsx +0 -128
  346. package/src/lib/TablePagination/themes/uiCustomization.ts +0 -50
  347. package/src/lib/Tooltip/Tooltip.module.scss +0 -125
  348. package/src/lib/Tooltip/Tooltip.tsx +0 -34
  349. package/src/lib/Tooltip/themes/tooltipTheme.ts +0 -30
  350. package/src/lib/Typography/Typography.tsx +0 -28
  351. package/src/lib/Typography/themes/typographyTheme.tsx +0 -170
  352. package/src/lib/Typography/themes/uiCustomization.ts +0 -10
  353. package/src/lib/constants/styleguideConstants.ts +0 -8
  354. package/src/lib/styles/colors.module.scss +0 -10
  355. package/src/lib/styles/sisenseStyleguideReactColors.scss +0 -57
  356. package/src/lib/styles/style_styleguide_react/_variables.deprecated.scss +0 -107
  357. package/src/lib/styles/style_styleguide_react/_variables.scss +0 -100
  358. package/src/lib/styles/style_styleguide_react/base.scss +0 -9
  359. package/src/lib/styles/style_styleguide_react/colors.scss +0 -71
  360. package/src/lib/styles/style_styleguide_react/exports/colors.exports.scss +0 -69
  361. package/src/lib/styles/style_styleguide_react/exports/fonts.exports.scss +0 -33
  362. package/src/lib/styles/style_styleguide_react/fonts.scss +0 -27
  363. package/src/lib/styles/style_styleguide_react/mixins.scss +0 -90
  364. package/src/lib/themes/colors/siColors.ts +0 -143
  365. package/src/lib/themes/types/SisenseTheme.ts +0 -12
  366. package/tsconfig.eslint.json +0 -12
  367. package/tsconfig.json +0 -17
  368. package/tsconfig.lib.json +0 -22
  369. package/tsconfig.spec.json +0 -21
  370. package/vite.config.ts +0 -140
@@ -0,0 +1,2153 @@
1
+ import { jsx as ee, jsxs as Ot } from "react/jsx-runtime";
2
+ import * as M from "react";
3
+ import { forwardRef as uo } from "react";
4
+ import { b as Nt, g as Wt, h as It, s as tt, q as Ht, e as Vt, m as ft, d as Ft, f as xt, n as Ut, a as mo, T as vo } from "./ThemeProvider-aq1EWT1u.js";
5
+ import ho from "classnames";
6
+ import { s as go } from "./styleguideConstants-D4Yls16w.js";
7
+ import { P as r } from "./index-D0lMis-I.js";
8
+ import { o as Tt, P as yo, H as Ke, u as bo, a as wo, b as Oo, g as xo, c as ze, G as To, e as Po } from "./useSlot-BfQr8KCN.js";
9
+ import { c as Eo, r as _t, d as pt, f as Pt, b as Xe, u as Ro, e as Et, g as Co, i as Rt } from "./TransitionGroupContext-Ci_clMyv.js";
10
+ import { siColors as st } from "./lib/themes/themes.js";
11
+ var W = "top", q = "bottom", z = "right", I = "left", ut = "auto", He = [W, q, z, I], Te = "start", We = "end", Ao = "clippingParents", qt = "viewport", ke = "popper", Mo = "reference", Ct = /* @__PURE__ */ He.reduce(function(t, e) {
12
+ return t.concat([e + "-" + Te, e + "-" + We]);
13
+ }, []), zt = /* @__PURE__ */ [].concat(He, [ut]).reduce(function(t, e) {
14
+ return t.concat([e, e + "-" + Te, e + "-" + We]);
15
+ }, []), jo = "beforeRead", Do = "read", So = "afterRead", $o = "beforeMain", ko = "main", Bo = "afterMain", Lo = "beforeWrite", No = "write", Wo = "afterWrite", Io = [jo, Do, So, $o, ko, Bo, Lo, No, Wo];
16
+ function oe(t) {
17
+ return t ? (t.nodeName || "").toLowerCase() : null;
18
+ }
19
+ function H(t) {
20
+ if (t == null)
21
+ return window;
22
+ if (t.toString() !== "[object Window]") {
23
+ var e = t.ownerDocument;
24
+ return e && e.defaultView || window;
25
+ }
26
+ return t;
27
+ }
28
+ function me(t) {
29
+ var e = H(t).Element;
30
+ return t instanceof e || t instanceof Element;
31
+ }
32
+ function _(t) {
33
+ var e = H(t).HTMLElement;
34
+ return t instanceof e || t instanceof HTMLElement;
35
+ }
36
+ function dt(t) {
37
+ if (typeof ShadowRoot > "u")
38
+ return !1;
39
+ var e = H(t).ShadowRoot;
40
+ return t instanceof e || t instanceof ShadowRoot;
41
+ }
42
+ function Ho(t) {
43
+ var e = t.state;
44
+ Object.keys(e.elements).forEach(function(o) {
45
+ var n = e.styles[o] || {}, a = e.attributes[o] || {}, s = e.elements[o];
46
+ !_(s) || !oe(s) || (Object.assign(s.style, n), Object.keys(a).forEach(function(c) {
47
+ var i = a[c];
48
+ i === !1 ? s.removeAttribute(c) : s.setAttribute(c, i === !0 ? "" : i);
49
+ }));
50
+ });
51
+ }
52
+ function Vo(t) {
53
+ var e = t.state, o = {
54
+ popper: {
55
+ position: e.options.strategy,
56
+ left: "0",
57
+ top: "0",
58
+ margin: "0"
59
+ },
60
+ arrow: {
61
+ position: "absolute"
62
+ },
63
+ reference: {}
64
+ };
65
+ return Object.assign(e.elements.popper.style, o.popper), e.styles = o, e.elements.arrow && Object.assign(e.elements.arrow.style, o.arrow), function() {
66
+ Object.keys(e.elements).forEach(function(n) {
67
+ var a = e.elements[n], s = e.attributes[n] || {}, c = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : o[n]), i = c.reduce(function(p, f) {
68
+ return p[f] = "", p;
69
+ }, {});
70
+ !_(a) || !oe(a) || (Object.assign(a.style, i), Object.keys(s).forEach(function(p) {
71
+ a.removeAttribute(p);
72
+ }));
73
+ });
74
+ };
75
+ }
76
+ const Fo = {
77
+ name: "applyStyles",
78
+ enabled: !0,
79
+ phase: "write",
80
+ fn: Ho,
81
+ effect: Vo,
82
+ requires: ["computeStyles"]
83
+ };
84
+ function te(t) {
85
+ return t.split("-")[0];
86
+ }
87
+ var de = Math.max, Je = Math.min, Pe = Math.round;
88
+ function lt() {
89
+ var t = navigator.userAgentData;
90
+ return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
91
+ return e.brand + "/" + e.version;
92
+ }).join(" ") : navigator.userAgent;
93
+ }
94
+ function Xt() {
95
+ return !/^((?!chrome|android).)*safari/i.test(lt());
96
+ }
97
+ function Ee(t, e, o) {
98
+ e === void 0 && (e = !1), o === void 0 && (o = !1);
99
+ var n = t.getBoundingClientRect(), a = 1, s = 1;
100
+ e && _(t) && (a = t.offsetWidth > 0 && Pe(n.width) / t.offsetWidth || 1, s = t.offsetHeight > 0 && Pe(n.height) / t.offsetHeight || 1);
101
+ var c = me(t) ? H(t) : window, i = c.visualViewport, p = !Xt() && o, f = (n.left + (p && i ? i.offsetLeft : 0)) / a, l = (n.top + (p && i ? i.offsetTop : 0)) / s, g = n.width / a, x = n.height / s;
102
+ return {
103
+ width: g,
104
+ height: x,
105
+ top: l,
106
+ right: f + g,
107
+ bottom: l + x,
108
+ left: f,
109
+ x: f,
110
+ y: l
111
+ };
112
+ }
113
+ function mt(t) {
114
+ var e = Ee(t), o = t.offsetWidth, n = t.offsetHeight;
115
+ return Math.abs(e.width - o) <= 1 && (o = e.width), Math.abs(e.height - n) <= 1 && (n = e.height), {
116
+ x: t.offsetLeft,
117
+ y: t.offsetTop,
118
+ width: o,
119
+ height: n
120
+ };
121
+ }
122
+ function Yt(t, e) {
123
+ var o = e.getRootNode && e.getRootNode();
124
+ if (t.contains(e))
125
+ return !0;
126
+ if (o && dt(o)) {
127
+ var n = e;
128
+ do {
129
+ if (n && t.isSameNode(n))
130
+ return !0;
131
+ n = n.parentNode || n.host;
132
+ } while (n);
133
+ }
134
+ return !1;
135
+ }
136
+ function ae(t) {
137
+ return H(t).getComputedStyle(t);
138
+ }
139
+ function Uo(t) {
140
+ return ["table", "td", "th"].indexOf(oe(t)) >= 0;
141
+ }
142
+ function pe(t) {
143
+ return ((me(t) ? t.ownerDocument : (
144
+ // $FlowFixMe[prop-missing]
145
+ t.document
146
+ )) || window.document).documentElement;
147
+ }
148
+ function ot(t) {
149
+ return oe(t) === "html" ? t : (
150
+ // this is a quicker (but less type safe) way to save quite some bytes from the bundle
151
+ // $FlowFixMe[incompatible-return]
152
+ // $FlowFixMe[prop-missing]
153
+ t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
154
+ t.parentNode || // DOM Element detected
155
+ (dt(t) ? t.host : null) || // ShadowRoot detected
156
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
157
+ pe(t)
158
+ );
159
+ }
160
+ function At(t) {
161
+ return !_(t) || // https://github.com/popperjs/popper-core/issues/837
162
+ ae(t).position === "fixed" ? null : t.offsetParent;
163
+ }
164
+ function _o(t) {
165
+ var e = /firefox/i.test(lt()), o = /Trident/i.test(lt());
166
+ if (o && _(t)) {
167
+ var n = ae(t);
168
+ if (n.position === "fixed")
169
+ return null;
170
+ }
171
+ var a = ot(t);
172
+ for (dt(a) && (a = a.host); _(a) && ["html", "body"].indexOf(oe(a)) < 0; ) {
173
+ var s = ae(a);
174
+ if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || e && s.willChange === "filter" || e && s.filter && s.filter !== "none")
175
+ return a;
176
+ a = a.parentNode;
177
+ }
178
+ return null;
179
+ }
180
+ function Ve(t) {
181
+ for (var e = H(t), o = At(t); o && Uo(o) && ae(o).position === "static"; )
182
+ o = At(o);
183
+ return o && (oe(o) === "html" || oe(o) === "body" && ae(o).position === "static") ? e : o || _o(t) || e;
184
+ }
185
+ function vt(t) {
186
+ return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
187
+ }
188
+ function Le(t, e, o) {
189
+ return de(t, Je(e, o));
190
+ }
191
+ function qo(t, e, o) {
192
+ var n = Le(t, e, o);
193
+ return n > o ? o : n;
194
+ }
195
+ function Zt() {
196
+ return {
197
+ top: 0,
198
+ right: 0,
199
+ bottom: 0,
200
+ left: 0
201
+ };
202
+ }
203
+ function Gt(t) {
204
+ return Object.assign({}, Zt(), t);
205
+ }
206
+ function Qt(t, e) {
207
+ return e.reduce(function(o, n) {
208
+ return o[n] = t, o;
209
+ }, {});
210
+ }
211
+ var zo = function(e, o) {
212
+ return e = typeof e == "function" ? e(Object.assign({}, o.rects, {
213
+ placement: o.placement
214
+ })) : e, Gt(typeof e != "number" ? e : Qt(e, He));
215
+ };
216
+ function Xo(t) {
217
+ var e, o = t.state, n = t.name, a = t.options, s = o.elements.arrow, c = o.modifiersData.popperOffsets, i = te(o.placement), p = vt(i), f = [I, z].indexOf(i) >= 0, l = f ? "height" : "width";
218
+ if (!(!s || !c)) {
219
+ var g = zo(a.padding, o), x = mt(s), u = p === "y" ? W : I, T = p === "y" ? q : z, m = o.rects.reference[l] + o.rects.reference[p] - c[p] - o.rects.popper[l], h = c[p] - o.rects.reference[p], w = Ve(s), E = w ? p === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, O = m / 2 - h / 2, d = g[u], y = E - x[l] - g[T], b = E / 2 - x[l] / 2 + O, R = Le(d, b, y), S = p;
220
+ o.modifiersData[n] = (e = {}, e[S] = R, e.centerOffset = R - b, e);
221
+ }
222
+ }
223
+ function Yo(t) {
224
+ var e = t.state, o = t.options, n = o.element, a = n === void 0 ? "[data-popper-arrow]" : n;
225
+ a != null && (typeof a == "string" && (a = e.elements.popper.querySelector(a), !a) || Yt(e.elements.popper, a) && (e.elements.arrow = a));
226
+ }
227
+ const Zo = {
228
+ name: "arrow",
229
+ enabled: !0,
230
+ phase: "main",
231
+ fn: Xo,
232
+ effect: Yo,
233
+ requires: ["popperOffsets"],
234
+ requiresIfExists: ["preventOverflow"]
235
+ };
236
+ function Re(t) {
237
+ return t.split("-")[1];
238
+ }
239
+ var Go = {
240
+ top: "auto",
241
+ right: "auto",
242
+ bottom: "auto",
243
+ left: "auto"
244
+ };
245
+ function Qo(t, e) {
246
+ var o = t.x, n = t.y, a = e.devicePixelRatio || 1;
247
+ return {
248
+ x: Pe(o * a) / a || 0,
249
+ y: Pe(n * a) / a || 0
250
+ };
251
+ }
252
+ function Mt(t) {
253
+ var e, o = t.popper, n = t.popperRect, a = t.placement, s = t.variation, c = t.offsets, i = t.position, p = t.gpuAcceleration, f = t.adaptive, l = t.roundOffsets, g = t.isFixed, x = c.x, u = x === void 0 ? 0 : x, T = c.y, m = T === void 0 ? 0 : T, h = typeof l == "function" ? l({
254
+ x: u,
255
+ y: m
256
+ }) : {
257
+ x: u,
258
+ y: m
259
+ };
260
+ u = h.x, m = h.y;
261
+ var w = c.hasOwnProperty("x"), E = c.hasOwnProperty("y"), O = I, d = W, y = window;
262
+ if (f) {
263
+ var b = Ve(o), R = "clientHeight", S = "clientWidth";
264
+ if (b === H(o) && (b = pe(o), ae(b).position !== "static" && i === "absolute" && (R = "scrollHeight", S = "scrollWidth")), b = b, a === W || (a === I || a === z) && s === We) {
265
+ d = q;
266
+ var C = g && b === y && y.visualViewport ? y.visualViewport.height : (
267
+ // $FlowFixMe[prop-missing]
268
+ b[R]
269
+ );
270
+ m -= C - n.height, m *= p ? 1 : -1;
271
+ }
272
+ if (a === I || (a === W || a === q) && s === We) {
273
+ O = z;
274
+ var P = g && b === y && y.visualViewport ? y.visualViewport.width : (
275
+ // $FlowFixMe[prop-missing]
276
+ b[S]
277
+ );
278
+ u -= P - n.width, u *= p ? 1 : -1;
279
+ }
280
+ }
281
+ var A = Object.assign({
282
+ position: i
283
+ }, f && Go), N = l === !0 ? Qo({
284
+ x: u,
285
+ y: m
286
+ }, H(o)) : {
287
+ x: u,
288
+ y: m
289
+ };
290
+ if (u = N.x, m = N.y, p) {
291
+ var j;
292
+ return Object.assign({}, A, (j = {}, j[d] = E ? "0" : "", j[O] = w ? "0" : "", j.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + u + "px, " + m + "px)" : "translate3d(" + u + "px, " + m + "px, 0)", j));
293
+ }
294
+ return Object.assign({}, A, (e = {}, e[d] = E ? m + "px" : "", e[O] = w ? u + "px" : "", e.transform = "", e));
295
+ }
296
+ function Ko(t) {
297
+ var e = t.state, o = t.options, n = o.gpuAcceleration, a = n === void 0 ? !0 : n, s = o.adaptive, c = s === void 0 ? !0 : s, i = o.roundOffsets, p = i === void 0 ? !0 : i, f = {
298
+ placement: te(e.placement),
299
+ variation: Re(e.placement),
300
+ popper: e.elements.popper,
301
+ popperRect: e.rects.popper,
302
+ gpuAcceleration: a,
303
+ isFixed: e.options.strategy === "fixed"
304
+ };
305
+ e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, Mt(Object.assign({}, f, {
306
+ offsets: e.modifiersData.popperOffsets,
307
+ position: e.options.strategy,
308
+ adaptive: c,
309
+ roundOffsets: p
310
+ })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, Mt(Object.assign({}, f, {
311
+ offsets: e.modifiersData.arrow,
312
+ position: "absolute",
313
+ adaptive: !1,
314
+ roundOffsets: p
315
+ })))), e.attributes.popper = Object.assign({}, e.attributes.popper, {
316
+ "data-popper-placement": e.placement
317
+ });
318
+ }
319
+ const Jo = {
320
+ name: "computeStyles",
321
+ enabled: !0,
322
+ phase: "beforeWrite",
323
+ fn: Ko,
324
+ data: {}
325
+ };
326
+ var Ye = {
327
+ passive: !0
328
+ };
329
+ function er(t) {
330
+ var e = t.state, o = t.instance, n = t.options, a = n.scroll, s = a === void 0 ? !0 : a, c = n.resize, i = c === void 0 ? !0 : c, p = H(e.elements.popper), f = [].concat(e.scrollParents.reference, e.scrollParents.popper);
331
+ return s && f.forEach(function(l) {
332
+ l.addEventListener("scroll", o.update, Ye);
333
+ }), i && p.addEventListener("resize", o.update, Ye), function() {
334
+ s && f.forEach(function(l) {
335
+ l.removeEventListener("scroll", o.update, Ye);
336
+ }), i && p.removeEventListener("resize", o.update, Ye);
337
+ };
338
+ }
339
+ const tr = {
340
+ name: "eventListeners",
341
+ enabled: !0,
342
+ phase: "write",
343
+ fn: function() {
344
+ },
345
+ effect: er,
346
+ data: {}
347
+ };
348
+ var or = {
349
+ left: "right",
350
+ right: "left",
351
+ bottom: "top",
352
+ top: "bottom"
353
+ };
354
+ function Qe(t) {
355
+ return t.replace(/left|right|bottom|top/g, function(e) {
356
+ return or[e];
357
+ });
358
+ }
359
+ var rr = {
360
+ start: "end",
361
+ end: "start"
362
+ };
363
+ function jt(t) {
364
+ return t.replace(/start|end/g, function(e) {
365
+ return rr[e];
366
+ });
367
+ }
368
+ function ht(t) {
369
+ var e = H(t), o = e.pageXOffset, n = e.pageYOffset;
370
+ return {
371
+ scrollLeft: o,
372
+ scrollTop: n
373
+ };
374
+ }
375
+ function gt(t) {
376
+ return Ee(pe(t)).left + ht(t).scrollLeft;
377
+ }
378
+ function nr(t, e) {
379
+ var o = H(t), n = pe(t), a = o.visualViewport, s = n.clientWidth, c = n.clientHeight, i = 0, p = 0;
380
+ if (a) {
381
+ s = a.width, c = a.height;
382
+ var f = Xt();
383
+ (f || !f && e === "fixed") && (i = a.offsetLeft, p = a.offsetTop);
384
+ }
385
+ return {
386
+ width: s,
387
+ height: c,
388
+ x: i + gt(t),
389
+ y: p
390
+ };
391
+ }
392
+ function ar(t) {
393
+ var e, o = pe(t), n = ht(t), a = (e = t.ownerDocument) == null ? void 0 : e.body, s = de(o.scrollWidth, o.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), c = de(o.scrollHeight, o.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), i = -n.scrollLeft + gt(t), p = -n.scrollTop;
394
+ return ae(a || o).direction === "rtl" && (i += de(o.clientWidth, a ? a.clientWidth : 0) - s), {
395
+ width: s,
396
+ height: c,
397
+ x: i,
398
+ y: p
399
+ };
400
+ }
401
+ function yt(t) {
402
+ var e = ae(t), o = e.overflow, n = e.overflowX, a = e.overflowY;
403
+ return /auto|scroll|overlay|hidden/.test(o + a + n);
404
+ }
405
+ function Kt(t) {
406
+ return ["html", "body", "#document"].indexOf(oe(t)) >= 0 ? t.ownerDocument.body : _(t) && yt(t) ? t : Kt(ot(t));
407
+ }
408
+ function Ne(t, e) {
409
+ var o;
410
+ e === void 0 && (e = []);
411
+ var n = Kt(t), a = n === ((o = t.ownerDocument) == null ? void 0 : o.body), s = H(n), c = a ? [s].concat(s.visualViewport || [], yt(n) ? n : []) : n, i = e.concat(c);
412
+ return a ? i : (
413
+ // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
414
+ i.concat(Ne(ot(c)))
415
+ );
416
+ }
417
+ function ct(t) {
418
+ return Object.assign({}, t, {
419
+ left: t.x,
420
+ top: t.y,
421
+ right: t.x + t.width,
422
+ bottom: t.y + t.height
423
+ });
424
+ }
425
+ function ir(t, e) {
426
+ var o = Ee(t, !1, e === "fixed");
427
+ return o.top = o.top + t.clientTop, o.left = o.left + t.clientLeft, o.bottom = o.top + t.clientHeight, o.right = o.left + t.clientWidth, o.width = t.clientWidth, o.height = t.clientHeight, o.x = o.left, o.y = o.top, o;
428
+ }
429
+ function Dt(t, e, o) {
430
+ return e === qt ? ct(nr(t, o)) : me(e) ? ir(e, o) : ct(ar(pe(t)));
431
+ }
432
+ function sr(t) {
433
+ var e = Ne(ot(t)), o = ["absolute", "fixed"].indexOf(ae(t).position) >= 0, n = o && _(t) ? Ve(t) : t;
434
+ return me(n) ? e.filter(function(a) {
435
+ return me(a) && Yt(a, n) && oe(a) !== "body";
436
+ }) : [];
437
+ }
438
+ function pr(t, e, o, n) {
439
+ var a = e === "clippingParents" ? sr(t) : [].concat(e), s = [].concat(a, [o]), c = s[0], i = s.reduce(function(p, f) {
440
+ var l = Dt(t, f, n);
441
+ return p.top = de(l.top, p.top), p.right = Je(l.right, p.right), p.bottom = Je(l.bottom, p.bottom), p.left = de(l.left, p.left), p;
442
+ }, Dt(t, c, n));
443
+ return i.width = i.right - i.left, i.height = i.bottom - i.top, i.x = i.left, i.y = i.top, i;
444
+ }
445
+ function Jt(t) {
446
+ var e = t.reference, o = t.element, n = t.placement, a = n ? te(n) : null, s = n ? Re(n) : null, c = e.x + e.width / 2 - o.width / 2, i = e.y + e.height / 2 - o.height / 2, p;
447
+ switch (a) {
448
+ case W:
449
+ p = {
450
+ x: c,
451
+ y: e.y - o.height
452
+ };
453
+ break;
454
+ case q:
455
+ p = {
456
+ x: c,
457
+ y: e.y + e.height
458
+ };
459
+ break;
460
+ case z:
461
+ p = {
462
+ x: e.x + e.width,
463
+ y: i
464
+ };
465
+ break;
466
+ case I:
467
+ p = {
468
+ x: e.x - o.width,
469
+ y: i
470
+ };
471
+ break;
472
+ default:
473
+ p = {
474
+ x: e.x,
475
+ y: e.y
476
+ };
477
+ }
478
+ var f = a ? vt(a) : null;
479
+ if (f != null) {
480
+ var l = f === "y" ? "height" : "width";
481
+ switch (s) {
482
+ case Te:
483
+ p[f] = p[f] - (e[l] / 2 - o[l] / 2);
484
+ break;
485
+ case We:
486
+ p[f] = p[f] + (e[l] / 2 - o[l] / 2);
487
+ break;
488
+ }
489
+ }
490
+ return p;
491
+ }
492
+ function Ie(t, e) {
493
+ e === void 0 && (e = {});
494
+ var o = e, n = o.placement, a = n === void 0 ? t.placement : n, s = o.strategy, c = s === void 0 ? t.strategy : s, i = o.boundary, p = i === void 0 ? Ao : i, f = o.rootBoundary, l = f === void 0 ? qt : f, g = o.elementContext, x = g === void 0 ? ke : g, u = o.altBoundary, T = u === void 0 ? !1 : u, m = o.padding, h = m === void 0 ? 0 : m, w = Gt(typeof h != "number" ? h : Qt(h, He)), E = x === ke ? Mo : ke, O = t.rects.popper, d = t.elements[T ? E : x], y = pr(me(d) ? d : d.contextElement || pe(t.elements.popper), p, l, c), b = Ee(t.elements.reference), R = Jt({
495
+ reference: b,
496
+ element: O,
497
+ strategy: "absolute",
498
+ placement: a
499
+ }), S = ct(Object.assign({}, O, R)), C = x === ke ? S : b, P = {
500
+ top: y.top - C.top + w.top,
501
+ bottom: C.bottom - y.bottom + w.bottom,
502
+ left: y.left - C.left + w.left,
503
+ right: C.right - y.right + w.right
504
+ }, A = t.modifiersData.offset;
505
+ if (x === ke && A) {
506
+ var N = A[a];
507
+ Object.keys(P).forEach(function(j) {
508
+ var X = [z, q].indexOf(j) >= 0 ? 1 : -1, Y = [W, q].indexOf(j) >= 0 ? "y" : "x";
509
+ P[j] += N[Y] * X;
510
+ });
511
+ }
512
+ return P;
513
+ }
514
+ function lr(t, e) {
515
+ e === void 0 && (e = {});
516
+ var o = e, n = o.placement, a = o.boundary, s = o.rootBoundary, c = o.padding, i = o.flipVariations, p = o.allowedAutoPlacements, f = p === void 0 ? zt : p, l = Re(n), g = l ? i ? Ct : Ct.filter(function(T) {
517
+ return Re(T) === l;
518
+ }) : He, x = g.filter(function(T) {
519
+ return f.indexOf(T) >= 0;
520
+ });
521
+ x.length === 0 && (x = g);
522
+ var u = x.reduce(function(T, m) {
523
+ return T[m] = Ie(t, {
524
+ placement: m,
525
+ boundary: a,
526
+ rootBoundary: s,
527
+ padding: c
528
+ })[te(m)], T;
529
+ }, {});
530
+ return Object.keys(u).sort(function(T, m) {
531
+ return u[T] - u[m];
532
+ });
533
+ }
534
+ function cr(t) {
535
+ if (te(t) === ut)
536
+ return [];
537
+ var e = Qe(t);
538
+ return [jt(t), e, jt(e)];
539
+ }
540
+ function fr(t) {
541
+ var e = t.state, o = t.options, n = t.name;
542
+ if (!e.modifiersData[n]._skip) {
543
+ for (var a = o.mainAxis, s = a === void 0 ? !0 : a, c = o.altAxis, i = c === void 0 ? !0 : c, p = o.fallbackPlacements, f = o.padding, l = o.boundary, g = o.rootBoundary, x = o.altBoundary, u = o.flipVariations, T = u === void 0 ? !0 : u, m = o.allowedAutoPlacements, h = e.options.placement, w = te(h), E = w === h, O = p || (E || !T ? [Qe(h)] : cr(h)), d = [h].concat(O).reduce(function(Z, V) {
544
+ return Z.concat(te(V) === ut ? lr(e, {
545
+ placement: V,
546
+ boundary: l,
547
+ rootBoundary: g,
548
+ padding: f,
549
+ flipVariations: T,
550
+ allowedAutoPlacements: m
551
+ }) : V);
552
+ }, []), y = e.rects.reference, b = e.rects.popper, R = /* @__PURE__ */ new Map(), S = !0, C = d[0], P = 0; P < d.length; P++) {
553
+ var A = d[P], N = te(A), j = Re(A) === Te, X = [W, q].indexOf(N) >= 0, Y = X ? "width" : "height", $ = Ie(e, {
554
+ placement: A,
555
+ boundary: l,
556
+ rootBoundary: g,
557
+ altBoundary: x,
558
+ padding: f
559
+ }), D = X ? j ? z : I : j ? q : W;
560
+ y[Y] > b[Y] && (D = Qe(D));
561
+ var L = Qe(D), re = [];
562
+ if (s && re.push($[N] <= 0), i && re.push($[D] <= 0, $[L] <= 0), re.every(function(Z) {
563
+ return Z;
564
+ })) {
565
+ C = A, S = !1;
566
+ break;
567
+ }
568
+ R.set(A, re);
569
+ }
570
+ if (S)
571
+ for (var B = T ? 3 : 1, ve = function(V) {
572
+ var ie = d.find(function(se) {
573
+ var F = R.get(se);
574
+ if (F)
575
+ return F.slice(0, V).every(function(ge) {
576
+ return ge;
577
+ });
578
+ });
579
+ if (ie)
580
+ return C = ie, "break";
581
+ }, ne = B; ne > 0; ne--) {
582
+ var he = ve(ne);
583
+ if (he === "break") break;
584
+ }
585
+ e.placement !== C && (e.modifiersData[n]._skip = !0, e.placement = C, e.reset = !0);
586
+ }
587
+ }
588
+ const ur = {
589
+ name: "flip",
590
+ enabled: !0,
591
+ phase: "main",
592
+ fn: fr,
593
+ requiresIfExists: ["offset"],
594
+ data: {
595
+ _skip: !1
596
+ }
597
+ };
598
+ function St(t, e, o) {
599
+ return o === void 0 && (o = {
600
+ x: 0,
601
+ y: 0
602
+ }), {
603
+ top: t.top - e.height - o.y,
604
+ right: t.right - e.width + o.x,
605
+ bottom: t.bottom - e.height + o.y,
606
+ left: t.left - e.width - o.x
607
+ };
608
+ }
609
+ function $t(t) {
610
+ return [W, z, q, I].some(function(e) {
611
+ return t[e] >= 0;
612
+ });
613
+ }
614
+ function dr(t) {
615
+ var e = t.state, o = t.name, n = e.rects.reference, a = e.rects.popper, s = e.modifiersData.preventOverflow, c = Ie(e, {
616
+ elementContext: "reference"
617
+ }), i = Ie(e, {
618
+ altBoundary: !0
619
+ }), p = St(c, n), f = St(i, a, s), l = $t(p), g = $t(f);
620
+ e.modifiersData[o] = {
621
+ referenceClippingOffsets: p,
622
+ popperEscapeOffsets: f,
623
+ isReferenceHidden: l,
624
+ hasPopperEscaped: g
625
+ }, e.attributes.popper = Object.assign({}, e.attributes.popper, {
626
+ "data-popper-reference-hidden": l,
627
+ "data-popper-escaped": g
628
+ });
629
+ }
630
+ const mr = {
631
+ name: "hide",
632
+ enabled: !0,
633
+ phase: "main",
634
+ requiresIfExists: ["preventOverflow"],
635
+ fn: dr
636
+ };
637
+ function vr(t, e, o) {
638
+ var n = te(t), a = [I, W].indexOf(n) >= 0 ? -1 : 1, s = typeof o == "function" ? o(Object.assign({}, e, {
639
+ placement: t
640
+ })) : o, c = s[0], i = s[1];
641
+ return c = c || 0, i = (i || 0) * a, [I, z].indexOf(n) >= 0 ? {
642
+ x: i,
643
+ y: c
644
+ } : {
645
+ x: c,
646
+ y: i
647
+ };
648
+ }
649
+ function hr(t) {
650
+ var e = t.state, o = t.options, n = t.name, a = o.offset, s = a === void 0 ? [0, 0] : a, c = zt.reduce(function(l, g) {
651
+ return l[g] = vr(g, e.rects, s), l;
652
+ }, {}), i = c[e.placement], p = i.x, f = i.y;
653
+ e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += p, e.modifiersData.popperOffsets.y += f), e.modifiersData[n] = c;
654
+ }
655
+ const gr = {
656
+ name: "offset",
657
+ enabled: !0,
658
+ phase: "main",
659
+ requires: ["popperOffsets"],
660
+ fn: hr
661
+ };
662
+ function yr(t) {
663
+ var e = t.state, o = t.name;
664
+ e.modifiersData[o] = Jt({
665
+ reference: e.rects.reference,
666
+ element: e.rects.popper,
667
+ strategy: "absolute",
668
+ placement: e.placement
669
+ });
670
+ }
671
+ const br = {
672
+ name: "popperOffsets",
673
+ enabled: !0,
674
+ phase: "read",
675
+ fn: yr,
676
+ data: {}
677
+ };
678
+ function wr(t) {
679
+ return t === "x" ? "y" : "x";
680
+ }
681
+ function Or(t) {
682
+ var e = t.state, o = t.options, n = t.name, a = o.mainAxis, s = a === void 0 ? !0 : a, c = o.altAxis, i = c === void 0 ? !1 : c, p = o.boundary, f = o.rootBoundary, l = o.altBoundary, g = o.padding, x = o.tether, u = x === void 0 ? !0 : x, T = o.tetherOffset, m = T === void 0 ? 0 : T, h = Ie(e, {
683
+ boundary: p,
684
+ rootBoundary: f,
685
+ padding: g,
686
+ altBoundary: l
687
+ }), w = te(e.placement), E = Re(e.placement), O = !E, d = vt(w), y = wr(d), b = e.modifiersData.popperOffsets, R = e.rects.reference, S = e.rects.popper, C = typeof m == "function" ? m(Object.assign({}, e.rects, {
688
+ placement: e.placement
689
+ })) : m, P = typeof C == "number" ? {
690
+ mainAxis: C,
691
+ altAxis: C
692
+ } : Object.assign({
693
+ mainAxis: 0,
694
+ altAxis: 0
695
+ }, C), A = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, N = {
696
+ x: 0,
697
+ y: 0
698
+ };
699
+ if (b) {
700
+ if (s) {
701
+ var j, X = d === "y" ? W : I, Y = d === "y" ? q : z, $ = d === "y" ? "height" : "width", D = b[d], L = D + h[X], re = D - h[Y], B = u ? -S[$] / 2 : 0, ve = E === Te ? R[$] : S[$], ne = E === Te ? -S[$] : -R[$], he = e.elements.arrow, Z = u && he ? mt(he) : {
702
+ width: 0,
703
+ height: 0
704
+ }, V = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Zt(), ie = V[X], se = V[Y], F = Le(0, R[$], Z[$]), ge = O ? R[$] / 2 - B - F - ie - P.mainAxis : ve - F - ie - P.mainAxis, nt = O ? -R[$] / 2 + B + F + se + P.mainAxis : ne + F + se + P.mainAxis, ye = e.elements.arrow && Ve(e.elements.arrow), G = ye ? d === "y" ? ye.clientTop || 0 : ye.clientLeft || 0 : 0, be = (j = A == null ? void 0 : A[d]) != null ? j : 0, le = D + ge - be - G, we = D + nt - be, Ce = Le(u ? Je(L, le) : L, D, u ? de(re, we) : re);
705
+ b[d] = Ce, N[d] = Ce - D;
706
+ }
707
+ if (i) {
708
+ var ce, Oe = d === "x" ? W : I, Ae = d === "x" ? q : z, J = b[y], fe = y === "y" ? "height" : "width", Me = J + h[Oe], je = J - h[Ae], De = [W, I].indexOf(w) !== -1, Fe = (ce = A == null ? void 0 : A[y]) != null ? ce : 0, Ue = De ? Me : J - R[fe] - S[fe] - Fe + P.altAxis, xe = De ? J + R[fe] + S[fe] - Fe - P.altAxis : je, _e = u && De ? qo(Ue, J, xe) : Le(u ? Ue : Me, J, u ? xe : je);
709
+ b[y] = _e, N[y] = _e - J;
710
+ }
711
+ e.modifiersData[n] = N;
712
+ }
713
+ }
714
+ const xr = {
715
+ name: "preventOverflow",
716
+ enabled: !0,
717
+ phase: "main",
718
+ fn: Or,
719
+ requiresIfExists: ["offset"]
720
+ };
721
+ function Tr(t) {
722
+ return {
723
+ scrollLeft: t.scrollLeft,
724
+ scrollTop: t.scrollTop
725
+ };
726
+ }
727
+ function Pr(t) {
728
+ return t === H(t) || !_(t) ? ht(t) : Tr(t);
729
+ }
730
+ function Er(t) {
731
+ var e = t.getBoundingClientRect(), o = Pe(e.width) / t.offsetWidth || 1, n = Pe(e.height) / t.offsetHeight || 1;
732
+ return o !== 1 || n !== 1;
733
+ }
734
+ function Rr(t, e, o) {
735
+ o === void 0 && (o = !1);
736
+ var n = _(e), a = _(e) && Er(e), s = pe(e), c = Ee(t, a, o), i = {
737
+ scrollLeft: 0,
738
+ scrollTop: 0
739
+ }, p = {
740
+ x: 0,
741
+ y: 0
742
+ };
743
+ return (n || !n && !o) && ((oe(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
744
+ yt(s)) && (i = Pr(e)), _(e) ? (p = Ee(e, !0), p.x += e.clientLeft, p.y += e.clientTop) : s && (p.x = gt(s))), {
745
+ x: c.left + i.scrollLeft - p.x,
746
+ y: c.top + i.scrollTop - p.y,
747
+ width: c.width,
748
+ height: c.height
749
+ };
750
+ }
751
+ function Cr(t) {
752
+ var e = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Set(), n = [];
753
+ t.forEach(function(s) {
754
+ e.set(s.name, s);
755
+ });
756
+ function a(s) {
757
+ o.add(s.name);
758
+ var c = [].concat(s.requires || [], s.requiresIfExists || []);
759
+ c.forEach(function(i) {
760
+ if (!o.has(i)) {
761
+ var p = e.get(i);
762
+ p && a(p);
763
+ }
764
+ }), n.push(s);
765
+ }
766
+ return t.forEach(function(s) {
767
+ o.has(s.name) || a(s);
768
+ }), n;
769
+ }
770
+ function Ar(t) {
771
+ var e = Cr(t);
772
+ return Io.reduce(function(o, n) {
773
+ return o.concat(e.filter(function(a) {
774
+ return a.phase === n;
775
+ }));
776
+ }, []);
777
+ }
778
+ function Mr(t) {
779
+ var e;
780
+ return function() {
781
+ return e || (e = new Promise(function(o) {
782
+ Promise.resolve().then(function() {
783
+ e = void 0, o(t());
784
+ });
785
+ })), e;
786
+ };
787
+ }
788
+ function jr(t) {
789
+ var e = t.reduce(function(o, n) {
790
+ var a = o[n.name];
791
+ return o[n.name] = a ? Object.assign({}, a, n, {
792
+ options: Object.assign({}, a.options, n.options),
793
+ data: Object.assign({}, a.data, n.data)
794
+ }) : n, o;
795
+ }, {});
796
+ return Object.keys(e).map(function(o) {
797
+ return e[o];
798
+ });
799
+ }
800
+ var kt = {
801
+ placement: "bottom",
802
+ modifiers: [],
803
+ strategy: "absolute"
804
+ };
805
+ function Bt() {
806
+ for (var t = arguments.length, e = new Array(t), o = 0; o < t; o++)
807
+ e[o] = arguments[o];
808
+ return !e.some(function(n) {
809
+ return !(n && typeof n.getBoundingClientRect == "function");
810
+ });
811
+ }
812
+ function Dr(t) {
813
+ t === void 0 && (t = {});
814
+ var e = t, o = e.defaultModifiers, n = o === void 0 ? [] : o, a = e.defaultOptions, s = a === void 0 ? kt : a;
815
+ return function(i, p, f) {
816
+ f === void 0 && (f = s);
817
+ var l = {
818
+ placement: "bottom",
819
+ orderedModifiers: [],
820
+ options: Object.assign({}, kt, s),
821
+ modifiersData: {},
822
+ elements: {
823
+ reference: i,
824
+ popper: p
825
+ },
826
+ attributes: {},
827
+ styles: {}
828
+ }, g = [], x = !1, u = {
829
+ state: l,
830
+ setOptions: function(w) {
831
+ var E = typeof w == "function" ? w(l.options) : w;
832
+ m(), l.options = Object.assign({}, s, l.options, E), l.scrollParents = {
833
+ reference: me(i) ? Ne(i) : i.contextElement ? Ne(i.contextElement) : [],
834
+ popper: Ne(p)
835
+ };
836
+ var O = Ar(jr([].concat(n, l.options.modifiers)));
837
+ return l.orderedModifiers = O.filter(function(d) {
838
+ return d.enabled;
839
+ }), T(), u.update();
840
+ },
841
+ // Sync update – it will always be executed, even if not necessary. This
842
+ // is useful for low frequency updates where sync behavior simplifies the
843
+ // logic.
844
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
845
+ // prefer the async Popper#update method
846
+ forceUpdate: function() {
847
+ if (!x) {
848
+ var w = l.elements, E = w.reference, O = w.popper;
849
+ if (Bt(E, O)) {
850
+ l.rects = {
851
+ reference: Rr(E, Ve(O), l.options.strategy === "fixed"),
852
+ popper: mt(O)
853
+ }, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(P) {
854
+ return l.modifiersData[P.name] = Object.assign({}, P.data);
855
+ });
856
+ for (var d = 0; d < l.orderedModifiers.length; d++) {
857
+ if (l.reset === !0) {
858
+ l.reset = !1, d = -1;
859
+ continue;
860
+ }
861
+ var y = l.orderedModifiers[d], b = y.fn, R = y.options, S = R === void 0 ? {} : R, C = y.name;
862
+ typeof b == "function" && (l = b({
863
+ state: l,
864
+ options: S,
865
+ name: C,
866
+ instance: u
867
+ }) || l);
868
+ }
869
+ }
870
+ }
871
+ },
872
+ // Async and optimistically optimized update – it will not be executed if
873
+ // not necessary (debounced to run at most once-per-tick)
874
+ update: Mr(function() {
875
+ return new Promise(function(h) {
876
+ u.forceUpdate(), h(l);
877
+ });
878
+ }),
879
+ destroy: function() {
880
+ m(), x = !0;
881
+ }
882
+ };
883
+ if (!Bt(i, p))
884
+ return u;
885
+ u.setOptions(f).then(function(h) {
886
+ !x && f.onFirstUpdate && f.onFirstUpdate(h);
887
+ });
888
+ function T() {
889
+ l.orderedModifiers.forEach(function(h) {
890
+ var w = h.name, E = h.options, O = E === void 0 ? {} : E, d = h.effect;
891
+ if (typeof d == "function") {
892
+ var y = d({
893
+ state: l,
894
+ name: w,
895
+ instance: u,
896
+ options: O
897
+ }), b = function() {
898
+ };
899
+ g.push(y || b);
900
+ }
901
+ });
902
+ }
903
+ function m() {
904
+ g.forEach(function(h) {
905
+ return h();
906
+ }), g = [];
907
+ }
908
+ return u;
909
+ };
910
+ }
911
+ var Sr = [tr, br, Jo, Fo, gr, ur, xr, Zo, mr], $r = /* @__PURE__ */ Dr({
912
+ defaultModifiers: Sr
913
+ });
914
+ function kr(t) {
915
+ return Wt("MuiPopper", t);
916
+ }
917
+ Nt("MuiPopper", ["root"]);
918
+ function Br(t, e) {
919
+ if (e === "ltr")
920
+ return t;
921
+ switch (t) {
922
+ case "bottom-end":
923
+ return "bottom-start";
924
+ case "bottom-start":
925
+ return "bottom-end";
926
+ case "top-end":
927
+ return "top-start";
928
+ case "top-start":
929
+ return "top-end";
930
+ default:
931
+ return t;
932
+ }
933
+ }
934
+ function et(t) {
935
+ return typeof t == "function" ? t() : t;
936
+ }
937
+ function rt(t) {
938
+ return t.nodeType !== void 0;
939
+ }
940
+ function Lr(t) {
941
+ return !rt(t);
942
+ }
943
+ const Nr = (t) => {
944
+ const {
945
+ classes: e
946
+ } = t;
947
+ return It({
948
+ root: ["root"]
949
+ }, kr, e);
950
+ }, Wr = {}, Ir = /* @__PURE__ */ M.forwardRef(function(e, o) {
951
+ const {
952
+ anchorEl: n,
953
+ children: a,
954
+ direction: s,
955
+ disablePortal: c,
956
+ modifiers: i,
957
+ open: p,
958
+ placement: f,
959
+ popperOptions: l,
960
+ popperRef: g,
961
+ slotProps: x = {},
962
+ slots: u = {},
963
+ TransitionProps: T,
964
+ // @ts-ignore internal logic
965
+ ownerState: m,
966
+ // prevent from spreading to DOM, it can come from the parent component e.g. Select.
967
+ ...h
968
+ } = e, w = M.useRef(null), E = pt(w, o), O = M.useRef(null), d = pt(O, g), y = M.useRef(d);
969
+ Pt(() => {
970
+ y.current = d;
971
+ }, [d]), M.useImperativeHandle(g, () => O.current, []);
972
+ const b = Br(f, s), [R, S] = M.useState(b), [C, P] = M.useState(et(n));
973
+ M.useEffect(() => {
974
+ O.current && O.current.forceUpdate();
975
+ }), M.useEffect(() => {
976
+ n && P(et(n));
977
+ }, [n]), Pt(() => {
978
+ if (!C || !p)
979
+ return;
980
+ const Y = (L) => {
981
+ S(L.placement);
982
+ };
983
+ if (process.env.NODE_ENV !== "production" && C && rt(C) && C.nodeType === 1) {
984
+ const L = C.getBoundingClientRect();
985
+ process.env.NODE_ENV !== "test" && L.top === 0 && L.left === 0 && L.right === 0 && L.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
986
+ `));
987
+ }
988
+ let $ = [{
989
+ name: "preventOverflow",
990
+ options: {
991
+ altBoundary: c
992
+ }
993
+ }, {
994
+ name: "flip",
995
+ options: {
996
+ altBoundary: c
997
+ }
998
+ }, {
999
+ name: "onUpdate",
1000
+ enabled: !0,
1001
+ phase: "afterWrite",
1002
+ fn: ({
1003
+ state: L
1004
+ }) => {
1005
+ Y(L);
1006
+ }
1007
+ }];
1008
+ i != null && ($ = $.concat(i)), l && l.modifiers != null && ($ = $.concat(l.modifiers));
1009
+ const D = $r(C, w.current, {
1010
+ placement: b,
1011
+ ...l,
1012
+ modifiers: $
1013
+ });
1014
+ return y.current(D), () => {
1015
+ D.destroy(), y.current(null);
1016
+ };
1017
+ }, [C, c, i, p, l, b]);
1018
+ const A = {
1019
+ placement: R
1020
+ };
1021
+ T !== null && (A.TransitionProps = T);
1022
+ const N = Nr(e), j = u.root ?? "div", X = bo({
1023
+ elementType: j,
1024
+ externalSlotProps: x.root,
1025
+ externalForwardedProps: h,
1026
+ additionalProps: {
1027
+ role: "tooltip",
1028
+ ref: E
1029
+ },
1030
+ ownerState: e,
1031
+ className: N.root
1032
+ });
1033
+ return /* @__PURE__ */ ee(j, {
1034
+ ...X,
1035
+ children: typeof a == "function" ? a(A) : a
1036
+ });
1037
+ }), eo = /* @__PURE__ */ M.forwardRef(function(e, o) {
1038
+ const {
1039
+ anchorEl: n,
1040
+ children: a,
1041
+ container: s,
1042
+ direction: c = "ltr",
1043
+ disablePortal: i = !1,
1044
+ keepMounted: p = !1,
1045
+ modifiers: f,
1046
+ open: l,
1047
+ placement: g = "bottom",
1048
+ popperOptions: x = Wr,
1049
+ popperRef: u,
1050
+ style: T,
1051
+ transition: m = !1,
1052
+ slotProps: h = {},
1053
+ slots: w = {},
1054
+ ...E
1055
+ } = e, [O, d] = M.useState(!0), y = () => {
1056
+ d(!1);
1057
+ }, b = () => {
1058
+ d(!0);
1059
+ };
1060
+ if (!p && !l && (!m || O))
1061
+ return null;
1062
+ let R;
1063
+ if (s)
1064
+ R = s;
1065
+ else if (n) {
1066
+ const P = et(n);
1067
+ R = P && rt(P) ? Tt(P).body : Tt(null).body;
1068
+ }
1069
+ const S = !l && p && (!m || O) ? "none" : void 0, C = m ? {
1070
+ in: l,
1071
+ onEnter: y,
1072
+ onExited: b
1073
+ } : void 0;
1074
+ return /* @__PURE__ */ ee(yo, {
1075
+ disablePortal: i,
1076
+ container: R,
1077
+ children: /* @__PURE__ */ ee(Ir, {
1078
+ anchorEl: n,
1079
+ direction: c,
1080
+ disablePortal: i,
1081
+ modifiers: f,
1082
+ ref: o,
1083
+ open: m ? !O : l,
1084
+ placement: g,
1085
+ popperOptions: x,
1086
+ popperRef: u,
1087
+ slotProps: h,
1088
+ slots: w,
1089
+ ...E,
1090
+ style: {
1091
+ // Prevents scroll issue, waiting for Popper.js to add this style once initiated.
1092
+ position: "fixed",
1093
+ // Fix Popper.js display issue
1094
+ top: 0,
1095
+ left: 0,
1096
+ display: S,
1097
+ ...T
1098
+ },
1099
+ TransitionProps: C,
1100
+ children: a
1101
+ })
1102
+ });
1103
+ });
1104
+ process.env.NODE_ENV !== "production" && (eo.propTypes = {
1105
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1106
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1107
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
1108
+ // └─────────────────────────────────────────────────────────────────────┘
1109
+ /**
1110
+ * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
1111
+ * or a function that returns either.
1112
+ * It's used to set the position of the popper.
1113
+ * The return value will passed as the reference object of the Popper instance.
1114
+ */
1115
+ anchorEl: Eo(r.oneOfType([Ke, r.object, r.func]), (t) => {
1116
+ if (t.open) {
1117
+ const e = et(t.anchorEl);
1118
+ if (e && rt(e) && e.nodeType === 1) {
1119
+ const o = e.getBoundingClientRect();
1120
+ if (process.env.NODE_ENV !== "test" && o.top === 0 && o.left === 0 && o.right === 0 && o.bottom === 0)
1121
+ return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
1122
+ `));
1123
+ } else if (!e || typeof e.getBoundingClientRect != "function" || Lr(e) && e.contextElement != null && e.contextElement.nodeType !== 1)
1124
+ return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "It should be an HTML element instance or a virtualElement ", "(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
1125
+ `));
1126
+ }
1127
+ return null;
1128
+ }),
1129
+ /**
1130
+ * Popper render function or node.
1131
+ */
1132
+ children: r.oneOfType([r.node, r.func]),
1133
+ /**
1134
+ * An HTML element or function that returns one.
1135
+ * The `container` will have the portal children appended to it.
1136
+ *
1137
+ * You can also provide a callback, which is called in a React layout effect.
1138
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
1139
+ *
1140
+ * By default, it uses the body of the top-level document object,
1141
+ * so it's simply `document.body` most of the time.
1142
+ */
1143
+ container: r.oneOfType([Ke, r.func]),
1144
+ /**
1145
+ * Direction of the text.
1146
+ * @default 'ltr'
1147
+ */
1148
+ direction: r.oneOf(["ltr", "rtl"]),
1149
+ /**
1150
+ * The `children` will be under the DOM hierarchy of the parent component.
1151
+ * @default false
1152
+ */
1153
+ disablePortal: r.bool,
1154
+ /**
1155
+ * Always keep the children in the DOM.
1156
+ * This prop can be useful in SEO situation or
1157
+ * when you want to maximize the responsiveness of the Popper.
1158
+ * @default false
1159
+ */
1160
+ keepMounted: r.bool,
1161
+ /**
1162
+ * Popper.js is based on a "plugin-like" architecture,
1163
+ * most of its features are fully encapsulated "modifiers".
1164
+ *
1165
+ * A modifier is a function that is called each time Popper.js needs to
1166
+ * compute the position of the popper.
1167
+ * For this reason, modifiers should be very performant to avoid bottlenecks.
1168
+ * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
1169
+ */
1170
+ modifiers: r.arrayOf(r.shape({
1171
+ data: r.object,
1172
+ effect: r.func,
1173
+ enabled: r.bool,
1174
+ fn: r.func,
1175
+ name: r.any,
1176
+ options: r.object,
1177
+ phase: r.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
1178
+ requires: r.arrayOf(r.string),
1179
+ requiresIfExists: r.arrayOf(r.string)
1180
+ })),
1181
+ /**
1182
+ * If `true`, the component is shown.
1183
+ */
1184
+ open: r.bool.isRequired,
1185
+ /**
1186
+ * Popper placement.
1187
+ * @default 'bottom'
1188
+ */
1189
+ placement: r.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1190
+ /**
1191
+ * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
1192
+ * @default {}
1193
+ */
1194
+ popperOptions: r.shape({
1195
+ modifiers: r.array,
1196
+ onFirstUpdate: r.func,
1197
+ placement: r.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1198
+ strategy: r.oneOf(["absolute", "fixed"])
1199
+ }),
1200
+ /**
1201
+ * A ref that points to the used popper instance.
1202
+ */
1203
+ popperRef: _t,
1204
+ /**
1205
+ * The props used for each slot inside the Popper.
1206
+ * @default {}
1207
+ */
1208
+ slotProps: r.shape({
1209
+ root: r.oneOfType([r.func, r.object])
1210
+ }),
1211
+ /**
1212
+ * The components used for each slot inside the Popper.
1213
+ * Either a string to use a HTML element or a component.
1214
+ * @default {}
1215
+ */
1216
+ slots: r.shape({
1217
+ root: r.elementType
1218
+ }),
1219
+ /**
1220
+ * Help supporting a react-transition-group/Transition component.
1221
+ * @default false
1222
+ */
1223
+ transition: r.bool
1224
+ });
1225
+ const Hr = tt(eo, {
1226
+ name: "MuiPopper",
1227
+ slot: "Root",
1228
+ overridesResolver: (t, e) => e.root
1229
+ })({}), bt = /* @__PURE__ */ M.forwardRef(function(e, o) {
1230
+ const n = Ht(), a = Vt({
1231
+ props: e,
1232
+ name: "MuiPopper"
1233
+ }), {
1234
+ anchorEl: s,
1235
+ component: c,
1236
+ components: i,
1237
+ componentsProps: p,
1238
+ container: f,
1239
+ disablePortal: l,
1240
+ keepMounted: g,
1241
+ modifiers: x,
1242
+ open: u,
1243
+ placement: T,
1244
+ popperOptions: m,
1245
+ popperRef: h,
1246
+ transition: w,
1247
+ slots: E,
1248
+ slotProps: O,
1249
+ ...d
1250
+ } = a, y = (E == null ? void 0 : E.root) ?? (i == null ? void 0 : i.Root), b = {
1251
+ anchorEl: s,
1252
+ container: f,
1253
+ disablePortal: l,
1254
+ keepMounted: g,
1255
+ modifiers: x,
1256
+ open: u,
1257
+ placement: T,
1258
+ popperOptions: m,
1259
+ popperRef: h,
1260
+ transition: w,
1261
+ ...d
1262
+ };
1263
+ return /* @__PURE__ */ ee(Hr, {
1264
+ as: c,
1265
+ direction: n ? "rtl" : "ltr",
1266
+ slots: {
1267
+ root: y
1268
+ },
1269
+ slotProps: O ?? p,
1270
+ ...b,
1271
+ ref: o
1272
+ });
1273
+ });
1274
+ process.env.NODE_ENV !== "production" && (bt.propTypes = {
1275
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1276
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1277
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
1278
+ // └─────────────────────────────────────────────────────────────────────┘
1279
+ /**
1280
+ * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
1281
+ * or a function that returns either.
1282
+ * It's used to set the position of the popper.
1283
+ * The return value will passed as the reference object of the Popper instance.
1284
+ */
1285
+ anchorEl: r.oneOfType([Ke, r.object, r.func]),
1286
+ /**
1287
+ * Popper render function or node.
1288
+ */
1289
+ children: r.oneOfType([r.node, r.func]),
1290
+ /**
1291
+ * The component used for the root node.
1292
+ * Either a string to use a HTML element or a component.
1293
+ */
1294
+ component: r.elementType,
1295
+ /**
1296
+ * The components used for each slot inside the Popper.
1297
+ * Either a string to use a HTML element or a component.
1298
+ *
1299
+ * @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
1300
+ * @default {}
1301
+ */
1302
+ components: r.shape({
1303
+ Root: r.elementType
1304
+ }),
1305
+ /**
1306
+ * The props used for each slot inside the Popper.
1307
+ *
1308
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
1309
+ * @default {}
1310
+ */
1311
+ componentsProps: r.shape({
1312
+ root: r.oneOfType([r.func, r.object])
1313
+ }),
1314
+ /**
1315
+ * An HTML element or function that returns one.
1316
+ * The `container` will have the portal children appended to it.
1317
+ *
1318
+ * You can also provide a callback, which is called in a React layout effect.
1319
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
1320
+ *
1321
+ * By default, it uses the body of the top-level document object,
1322
+ * so it's simply `document.body` most of the time.
1323
+ */
1324
+ container: r.oneOfType([Ke, r.func]),
1325
+ /**
1326
+ * The `children` will be under the DOM hierarchy of the parent component.
1327
+ * @default false
1328
+ */
1329
+ disablePortal: r.bool,
1330
+ /**
1331
+ * Always keep the children in the DOM.
1332
+ * This prop can be useful in SEO situation or
1333
+ * when you want to maximize the responsiveness of the Popper.
1334
+ * @default false
1335
+ */
1336
+ keepMounted: r.bool,
1337
+ /**
1338
+ * Popper.js is based on a "plugin-like" architecture,
1339
+ * most of its features are fully encapsulated "modifiers".
1340
+ *
1341
+ * A modifier is a function that is called each time Popper.js needs to
1342
+ * compute the position of the popper.
1343
+ * For this reason, modifiers should be very performant to avoid bottlenecks.
1344
+ * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
1345
+ */
1346
+ modifiers: r.arrayOf(r.shape({
1347
+ data: r.object,
1348
+ effect: r.func,
1349
+ enabled: r.bool,
1350
+ fn: r.func,
1351
+ name: r.any,
1352
+ options: r.object,
1353
+ phase: r.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
1354
+ requires: r.arrayOf(r.string),
1355
+ requiresIfExists: r.arrayOf(r.string)
1356
+ })),
1357
+ /**
1358
+ * If `true`, the component is shown.
1359
+ */
1360
+ open: r.bool.isRequired,
1361
+ /**
1362
+ * Popper placement.
1363
+ * @default 'bottom'
1364
+ */
1365
+ placement: r.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1366
+ /**
1367
+ * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
1368
+ * @default {}
1369
+ */
1370
+ popperOptions: r.shape({
1371
+ modifiers: r.array,
1372
+ onFirstUpdate: r.func,
1373
+ placement: r.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1374
+ strategy: r.oneOf(["absolute", "fixed"])
1375
+ }),
1376
+ /**
1377
+ * A ref that points to the used popper instance.
1378
+ */
1379
+ popperRef: _t,
1380
+ /**
1381
+ * The props used for each slot inside the Popper.
1382
+ * @default {}
1383
+ */
1384
+ slotProps: r.shape({
1385
+ root: r.oneOfType([r.func, r.object])
1386
+ }),
1387
+ /**
1388
+ * The components used for each slot inside the Popper.
1389
+ * Either a string to use a HTML element or a component.
1390
+ * @default {}
1391
+ */
1392
+ slots: r.shape({
1393
+ root: r.elementType
1394
+ }),
1395
+ /**
1396
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1397
+ */
1398
+ sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
1399
+ /**
1400
+ * Help supporting a react-transition-group/Transition component.
1401
+ * @default false
1402
+ */
1403
+ transition: r.bool
1404
+ });
1405
+ function Vr(t) {
1406
+ return Wt("MuiTooltip", t);
1407
+ }
1408
+ const k = Nt("MuiTooltip", ["popper", "popperInteractive", "popperArrow", "popperClose", "tooltip", "tooltipArrow", "touch", "tooltipPlacementLeft", "tooltipPlacementRight", "tooltipPlacementTop", "tooltipPlacementBottom", "arrow"]);
1409
+ function Fr(t) {
1410
+ return Math.round(t * 1e5) / 1e5;
1411
+ }
1412
+ const Ur = (t) => {
1413
+ const {
1414
+ classes: e,
1415
+ disableInteractive: o,
1416
+ arrow: n,
1417
+ touch: a,
1418
+ placement: s
1419
+ } = t, c = {
1420
+ popper: ["popper", !o && "popperInteractive", n && "popperArrow"],
1421
+ tooltip: ["tooltip", n && "tooltipArrow", a && "touch", `tooltipPlacement${Ft(s.split("-")[0])}`],
1422
+ arrow: ["arrow"]
1423
+ };
1424
+ return It(c, Vr, e);
1425
+ }, _r = tt(bt, {
1426
+ name: "MuiTooltip",
1427
+ slot: "Popper",
1428
+ overridesResolver: (t, e) => {
1429
+ const {
1430
+ ownerState: o
1431
+ } = t;
1432
+ return [e.popper, !o.disableInteractive && e.popperInteractive, o.arrow && e.popperArrow, !o.open && e.popperClose];
1433
+ }
1434
+ })(ft(({
1435
+ theme: t
1436
+ }) => ({
1437
+ zIndex: (t.vars || t).zIndex.tooltip,
1438
+ pointerEvents: "none",
1439
+ variants: [{
1440
+ props: ({
1441
+ ownerState: e
1442
+ }) => !e.disableInteractive,
1443
+ style: {
1444
+ pointerEvents: "auto"
1445
+ }
1446
+ }, {
1447
+ props: ({
1448
+ open: e
1449
+ }) => !e,
1450
+ style: {
1451
+ pointerEvents: "none"
1452
+ }
1453
+ }, {
1454
+ props: ({
1455
+ ownerState: e
1456
+ }) => e.arrow,
1457
+ style: {
1458
+ [`&[data-popper-placement*="bottom"] .${k.arrow}`]: {
1459
+ top: 0,
1460
+ marginTop: "-0.71em",
1461
+ "&::before": {
1462
+ transformOrigin: "0 100%"
1463
+ }
1464
+ },
1465
+ [`&[data-popper-placement*="top"] .${k.arrow}`]: {
1466
+ bottom: 0,
1467
+ marginBottom: "-0.71em",
1468
+ "&::before": {
1469
+ transformOrigin: "100% 0"
1470
+ }
1471
+ },
1472
+ [`&[data-popper-placement*="right"] .${k.arrow}`]: {
1473
+ height: "1em",
1474
+ width: "0.71em",
1475
+ "&::before": {
1476
+ transformOrigin: "100% 100%"
1477
+ }
1478
+ },
1479
+ [`&[data-popper-placement*="left"] .${k.arrow}`]: {
1480
+ height: "1em",
1481
+ width: "0.71em",
1482
+ "&::before": {
1483
+ transformOrigin: "0 0"
1484
+ }
1485
+ }
1486
+ }
1487
+ }, {
1488
+ props: ({
1489
+ ownerState: e
1490
+ }) => e.arrow && !e.isRtl,
1491
+ style: {
1492
+ [`&[data-popper-placement*="right"] .${k.arrow}`]: {
1493
+ left: 0,
1494
+ marginLeft: "-0.71em"
1495
+ }
1496
+ }
1497
+ }, {
1498
+ props: ({
1499
+ ownerState: e
1500
+ }) => e.arrow && !!e.isRtl,
1501
+ style: {
1502
+ [`&[data-popper-placement*="right"] .${k.arrow}`]: {
1503
+ right: 0,
1504
+ marginRight: "-0.71em"
1505
+ }
1506
+ }
1507
+ }, {
1508
+ props: ({
1509
+ ownerState: e
1510
+ }) => e.arrow && !e.isRtl,
1511
+ style: {
1512
+ [`&[data-popper-placement*="left"] .${k.arrow}`]: {
1513
+ right: 0,
1514
+ marginRight: "-0.71em"
1515
+ }
1516
+ }
1517
+ }, {
1518
+ props: ({
1519
+ ownerState: e
1520
+ }) => e.arrow && !!e.isRtl,
1521
+ style: {
1522
+ [`&[data-popper-placement*="left"] .${k.arrow}`]: {
1523
+ left: 0,
1524
+ marginLeft: "-0.71em"
1525
+ }
1526
+ }
1527
+ }]
1528
+ }))), qr = tt("div", {
1529
+ name: "MuiTooltip",
1530
+ slot: "Tooltip",
1531
+ overridesResolver: (t, e) => {
1532
+ const {
1533
+ ownerState: o
1534
+ } = t;
1535
+ return [e.tooltip, o.touch && e.touch, o.arrow && e.tooltipArrow, e[`tooltipPlacement${Ft(o.placement.split("-")[0])}`]];
1536
+ }
1537
+ })(ft(({
1538
+ theme: t
1539
+ }) => ({
1540
+ backgroundColor: t.vars ? t.vars.palette.Tooltip.bg : Ut(t.palette.grey[700], 0.92),
1541
+ borderRadius: (t.vars || t).shape.borderRadius,
1542
+ color: (t.vars || t).palette.common.white,
1543
+ fontFamily: t.typography.fontFamily,
1544
+ padding: "4px 8px",
1545
+ fontSize: t.typography.pxToRem(11),
1546
+ maxWidth: 300,
1547
+ margin: 2,
1548
+ wordWrap: "break-word",
1549
+ fontWeight: t.typography.fontWeightMedium,
1550
+ [`.${k.popper}[data-popper-placement*="left"] &`]: {
1551
+ transformOrigin: "right center"
1552
+ },
1553
+ [`.${k.popper}[data-popper-placement*="right"] &`]: {
1554
+ transformOrigin: "left center"
1555
+ },
1556
+ [`.${k.popper}[data-popper-placement*="top"] &`]: {
1557
+ transformOrigin: "center bottom",
1558
+ marginBottom: "14px"
1559
+ },
1560
+ [`.${k.popper}[data-popper-placement*="bottom"] &`]: {
1561
+ transformOrigin: "center top",
1562
+ marginTop: "14px"
1563
+ },
1564
+ variants: [{
1565
+ props: ({
1566
+ ownerState: e
1567
+ }) => e.arrow,
1568
+ style: {
1569
+ position: "relative",
1570
+ margin: 0
1571
+ }
1572
+ }, {
1573
+ props: ({
1574
+ ownerState: e
1575
+ }) => e.touch,
1576
+ style: {
1577
+ padding: "8px 16px",
1578
+ fontSize: t.typography.pxToRem(14),
1579
+ lineHeight: `${Fr(16 / 14)}em`,
1580
+ fontWeight: t.typography.fontWeightRegular
1581
+ }
1582
+ }, {
1583
+ props: ({
1584
+ ownerState: e
1585
+ }) => !e.isRtl,
1586
+ style: {
1587
+ [`.${k.popper}[data-popper-placement*="left"] &`]: {
1588
+ marginRight: "14px"
1589
+ },
1590
+ [`.${k.popper}[data-popper-placement*="right"] &`]: {
1591
+ marginLeft: "14px"
1592
+ }
1593
+ }
1594
+ }, {
1595
+ props: ({
1596
+ ownerState: e
1597
+ }) => !e.isRtl && e.touch,
1598
+ style: {
1599
+ [`.${k.popper}[data-popper-placement*="left"] &`]: {
1600
+ marginRight: "24px"
1601
+ },
1602
+ [`.${k.popper}[data-popper-placement*="right"] &`]: {
1603
+ marginLeft: "24px"
1604
+ }
1605
+ }
1606
+ }, {
1607
+ props: ({
1608
+ ownerState: e
1609
+ }) => !!e.isRtl,
1610
+ style: {
1611
+ [`.${k.popper}[data-popper-placement*="left"] &`]: {
1612
+ marginLeft: "14px"
1613
+ },
1614
+ [`.${k.popper}[data-popper-placement*="right"] &`]: {
1615
+ marginRight: "14px"
1616
+ }
1617
+ }
1618
+ }, {
1619
+ props: ({
1620
+ ownerState: e
1621
+ }) => !!e.isRtl && e.touch,
1622
+ style: {
1623
+ [`.${k.popper}[data-popper-placement*="left"] &`]: {
1624
+ marginLeft: "24px"
1625
+ },
1626
+ [`.${k.popper}[data-popper-placement*="right"] &`]: {
1627
+ marginRight: "24px"
1628
+ }
1629
+ }
1630
+ }, {
1631
+ props: ({
1632
+ ownerState: e
1633
+ }) => e.touch,
1634
+ style: {
1635
+ [`.${k.popper}[data-popper-placement*="top"] &`]: {
1636
+ marginBottom: "24px"
1637
+ }
1638
+ }
1639
+ }, {
1640
+ props: ({
1641
+ ownerState: e
1642
+ }) => e.touch,
1643
+ style: {
1644
+ [`.${k.popper}[data-popper-placement*="bottom"] &`]: {
1645
+ marginTop: "24px"
1646
+ }
1647
+ }
1648
+ }]
1649
+ }))), zr = tt("span", {
1650
+ name: "MuiTooltip",
1651
+ slot: "Arrow",
1652
+ overridesResolver: (t, e) => e.arrow
1653
+ })(ft(({
1654
+ theme: t
1655
+ }) => ({
1656
+ overflow: "hidden",
1657
+ position: "absolute",
1658
+ width: "1em",
1659
+ height: "0.71em",
1660
+ boxSizing: "border-box",
1661
+ color: t.vars ? t.vars.palette.Tooltip.bg : Ut(t.palette.grey[700], 0.9),
1662
+ "&::before": {
1663
+ content: '""',
1664
+ margin: "auto",
1665
+ display: "block",
1666
+ width: "100%",
1667
+ height: "100%",
1668
+ backgroundColor: "currentColor",
1669
+ transform: "rotate(45deg)"
1670
+ }
1671
+ })));
1672
+ let Ze = !1;
1673
+ const Lt = new Co();
1674
+ let Be = {
1675
+ x: 0,
1676
+ y: 0
1677
+ };
1678
+ function Ge(t, e) {
1679
+ return (o, ...n) => {
1680
+ e && e(o, ...n), t(o, ...n);
1681
+ };
1682
+ }
1683
+ const to = /* @__PURE__ */ M.forwardRef(function(e, o) {
1684
+ const n = Vt({
1685
+ props: e,
1686
+ name: "MuiTooltip"
1687
+ }), {
1688
+ arrow: a = !1,
1689
+ children: s,
1690
+ classes: c,
1691
+ components: i = {},
1692
+ componentsProps: p = {},
1693
+ describeChild: f = !1,
1694
+ disableFocusListener: l = !1,
1695
+ disableHoverListener: g = !1,
1696
+ disableInteractive: x = !1,
1697
+ disableTouchListener: u = !1,
1698
+ enterDelay: T = 100,
1699
+ enterNextDelay: m = 0,
1700
+ enterTouchDelay: h = 700,
1701
+ followCursor: w = !1,
1702
+ id: E,
1703
+ leaveDelay: O = 0,
1704
+ leaveTouchDelay: d = 1500,
1705
+ onClose: y,
1706
+ onOpen: b,
1707
+ open: R,
1708
+ placement: S = "bottom",
1709
+ PopperComponent: C,
1710
+ PopperProps: P = {},
1711
+ slotProps: A = {},
1712
+ slots: N = {},
1713
+ title: j,
1714
+ TransitionComponent: X,
1715
+ TransitionProps: Y,
1716
+ ...$
1717
+ } = n, D = /* @__PURE__ */ M.isValidElement(s) ? s : /* @__PURE__ */ ee("span", {
1718
+ children: s
1719
+ }), L = wo(), re = Ht(), [B, ve] = M.useState(), [ne, he] = M.useState(null), Z = M.useRef(!1), V = x || w, ie = Xe(), se = Xe(), F = Xe(), ge = Xe(), [nt, ye] = Ro({
1720
+ controlled: R,
1721
+ default: !1,
1722
+ name: "Tooltip",
1723
+ state: "open"
1724
+ });
1725
+ let G = nt;
1726
+ if (process.env.NODE_ENV !== "production") {
1727
+ const {
1728
+ current: v
1729
+ } = M.useRef(R !== void 0);
1730
+ M.useEffect(() => {
1731
+ B && B.disabled && !v && j !== "" && B.tagName.toLowerCase() === "button" && console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.", "A disabled element does not fire events.", "Tooltip needs to listen to the child element's events to display the title.", "", "Add a simple wrapper element, such as a `span`."].join(`
1732
+ `));
1733
+ }, [j, B, v]);
1734
+ }
1735
+ const be = Oo(E), le = M.useRef(), we = Et(() => {
1736
+ le.current !== void 0 && (document.body.style.WebkitUserSelect = le.current, le.current = void 0), ge.clear();
1737
+ });
1738
+ M.useEffect(() => we, [we]);
1739
+ const Ce = (v) => {
1740
+ Lt.clear(), Ze = !0, ye(!0), b && !G && b(v);
1741
+ }, ce = Et(
1742
+ /**
1743
+ * @param {React.SyntheticEvent | Event} event
1744
+ */
1745
+ (v) => {
1746
+ Lt.start(800 + O, () => {
1747
+ Ze = !1;
1748
+ }), ye(!1), y && G && y(v), ie.start(L.transitions.duration.shortest, () => {
1749
+ Z.current = !1;
1750
+ });
1751
+ }
1752
+ ), Oe = (v) => {
1753
+ Z.current && v.type !== "touchstart" || (B && B.removeAttribute("title"), se.clear(), F.clear(), T || Ze && m ? se.start(Ze ? m : T, () => {
1754
+ Ce(v);
1755
+ }) : Ce(v));
1756
+ }, Ae = (v) => {
1757
+ se.clear(), F.start(O, () => {
1758
+ ce(v);
1759
+ });
1760
+ }, [, J] = M.useState(!1), fe = (v) => {
1761
+ Rt(v.target) || (J(!1), Ae(v));
1762
+ }, Me = (v) => {
1763
+ B || ve(v.currentTarget), Rt(v.target) && (J(!0), Oe(v));
1764
+ }, je = (v) => {
1765
+ Z.current = !0;
1766
+ const K = D.props;
1767
+ K.onTouchStart && K.onTouchStart(v);
1768
+ }, De = (v) => {
1769
+ je(v), F.clear(), ie.clear(), we(), le.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", ge.start(h, () => {
1770
+ document.body.style.WebkitUserSelect = le.current, Oe(v);
1771
+ });
1772
+ }, Fe = (v) => {
1773
+ D.props.onTouchEnd && D.props.onTouchEnd(v), we(), F.start(d, () => {
1774
+ ce(v);
1775
+ });
1776
+ };
1777
+ M.useEffect(() => {
1778
+ if (!G)
1779
+ return;
1780
+ function v(K) {
1781
+ K.key === "Escape" && ce(K);
1782
+ }
1783
+ return document.addEventListener("keydown", v), () => {
1784
+ document.removeEventListener("keydown", v);
1785
+ };
1786
+ }, [ce, G]);
1787
+ const Ue = pt(xo(D), ve, o);
1788
+ !j && j !== 0 && (G = !1);
1789
+ const xe = M.useRef(), _e = (v) => {
1790
+ const K = D.props;
1791
+ K.onMouseMove && K.onMouseMove(v), Be = {
1792
+ x: v.clientX,
1793
+ y: v.clientY
1794
+ }, xe.current && xe.current.update();
1795
+ }, Se = {}, at = typeof j == "string";
1796
+ f ? (Se.title = !G && at && !g ? j : null, Se["aria-describedby"] = G ? be : null) : (Se["aria-label"] = at ? j : null, Se["aria-labelledby"] = G && !at ? be : null);
1797
+ const U = {
1798
+ ...Se,
1799
+ ...$,
1800
+ ...D.props,
1801
+ className: xt($.className, D.props.className),
1802
+ onTouchStart: je,
1803
+ ref: Ue,
1804
+ ...w ? {
1805
+ onMouseMove: _e
1806
+ } : {}
1807
+ };
1808
+ process.env.NODE_ENV !== "production" && (U["data-mui-internal-clone-element"] = !0, M.useEffect(() => {
1809
+ B && !B.getAttribute("data-mui-internal-clone-element") && console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.", "Please make sure that props are spread on the same element that the ref is applied to."].join(`
1810
+ `));
1811
+ }, [B]));
1812
+ const $e = {};
1813
+ u || (U.onTouchStart = De, U.onTouchEnd = Fe), g || (U.onMouseOver = Ge(Oe, U.onMouseOver), U.onMouseLeave = Ge(Ae, U.onMouseLeave), V || ($e.onMouseOver = Oe, $e.onMouseLeave = Ae)), l || (U.onFocus = Ge(Me, U.onFocus), U.onBlur = Ge(fe, U.onBlur), V || ($e.onFocus = Me, $e.onBlur = fe)), process.env.NODE_ENV !== "production" && D.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${D.props.title}\` or the Tooltip component.`].join(`
1814
+ `));
1815
+ const ue = {
1816
+ ...n,
1817
+ isRtl: re,
1818
+ arrow: a,
1819
+ disableInteractive: V,
1820
+ placement: S,
1821
+ PopperComponentProp: C,
1822
+ touch: Z.current
1823
+ }, Q = typeof A.popper == "function" ? A.popper(ue) : A.popper, oo = M.useMemo(() => {
1824
+ var K, wt;
1825
+ let v = [{
1826
+ name: "arrow",
1827
+ enabled: !!ne,
1828
+ options: {
1829
+ element: ne,
1830
+ padding: 4
1831
+ }
1832
+ }];
1833
+ return (K = P.popperOptions) != null && K.modifiers && (v = v.concat(P.popperOptions.modifiers)), (wt = Q == null ? void 0 : Q.popperOptions) != null && wt.modifiers && (v = v.concat(Q.popperOptions.modifiers)), {
1834
+ ...P.popperOptions,
1835
+ ...Q == null ? void 0 : Q.popperOptions,
1836
+ modifiers: v
1837
+ };
1838
+ }, [ne, P.popperOptions, Q == null ? void 0 : Q.popperOptions]), it = Ur(ue), ro = typeof A.transition == "function" ? A.transition(ue) : A.transition, qe = {
1839
+ slots: {
1840
+ popper: i.Popper,
1841
+ transition: i.Transition ?? X,
1842
+ tooltip: i.Tooltip,
1843
+ arrow: i.Arrow,
1844
+ ...N
1845
+ },
1846
+ slotProps: {
1847
+ arrow: A.arrow ?? p.arrow,
1848
+ popper: {
1849
+ ...P,
1850
+ ...Q ?? p.popper
1851
+ },
1852
+ // resolvedPopperProps can be spread because it's already an object
1853
+ tooltip: A.tooltip ?? p.tooltip,
1854
+ transition: {
1855
+ ...Y,
1856
+ ...ro ?? p.transition
1857
+ }
1858
+ }
1859
+ }, [no, ao] = ze("popper", {
1860
+ elementType: _r,
1861
+ externalForwardedProps: qe,
1862
+ ownerState: ue,
1863
+ className: xt(it.popper, P == null ? void 0 : P.className)
1864
+ }), [io, so] = ze("transition", {
1865
+ elementType: To,
1866
+ externalForwardedProps: qe,
1867
+ ownerState: ue
1868
+ }), [po, lo] = ze("tooltip", {
1869
+ elementType: qr,
1870
+ className: it.tooltip,
1871
+ externalForwardedProps: qe,
1872
+ ownerState: ue
1873
+ }), [co, fo] = ze("arrow", {
1874
+ elementType: zr,
1875
+ className: it.arrow,
1876
+ externalForwardedProps: qe,
1877
+ ownerState: ue,
1878
+ ref: he
1879
+ });
1880
+ return /* @__PURE__ */ Ot(M.Fragment, {
1881
+ children: [/* @__PURE__ */ M.cloneElement(D, U), /* @__PURE__ */ ee(no, {
1882
+ as: C ?? bt,
1883
+ placement: S,
1884
+ anchorEl: w ? {
1885
+ getBoundingClientRect: () => ({
1886
+ top: Be.y,
1887
+ left: Be.x,
1888
+ right: Be.x,
1889
+ bottom: Be.y,
1890
+ width: 0,
1891
+ height: 0
1892
+ })
1893
+ } : B,
1894
+ popperRef: xe,
1895
+ open: B ? G : !1,
1896
+ id: be,
1897
+ transition: !0,
1898
+ ...$e,
1899
+ ...ao,
1900
+ popperOptions: oo,
1901
+ children: ({
1902
+ TransitionProps: v
1903
+ }) => /* @__PURE__ */ ee(io, {
1904
+ timeout: L.transitions.duration.shorter,
1905
+ ...v,
1906
+ ...so,
1907
+ children: /* @__PURE__ */ Ot(po, {
1908
+ ...lo,
1909
+ children: [j, a ? /* @__PURE__ */ ee(co, {
1910
+ ...fo
1911
+ }) : null]
1912
+ })
1913
+ })
1914
+ })]
1915
+ });
1916
+ });
1917
+ process.env.NODE_ENV !== "production" && (to.propTypes = {
1918
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1919
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1920
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1921
+ // └─────────────────────────────────────────────────────────────────────┘
1922
+ /**
1923
+ * If `true`, adds an arrow to the tooltip.
1924
+ * @default false
1925
+ */
1926
+ arrow: r.bool,
1927
+ /**
1928
+ * Tooltip reference element.
1929
+ */
1930
+ children: Po.isRequired,
1931
+ /**
1932
+ * Override or extend the styles applied to the component.
1933
+ */
1934
+ classes: r.object,
1935
+ /**
1936
+ * @ignore
1937
+ */
1938
+ className: r.string,
1939
+ /**
1940
+ * The components used for each slot inside.
1941
+ *
1942
+ * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1943
+ *
1944
+ * @default {}
1945
+ */
1946
+ components: r.shape({
1947
+ Arrow: r.elementType,
1948
+ Popper: r.elementType,
1949
+ Tooltip: r.elementType,
1950
+ Transition: r.elementType
1951
+ }),
1952
+ /**
1953
+ * The extra props for the slot components.
1954
+ * You can override the existing props or add new ones.
1955
+ *
1956
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1957
+ *
1958
+ * @default {}
1959
+ */
1960
+ componentsProps: r.shape({
1961
+ arrow: r.object,
1962
+ popper: r.object,
1963
+ tooltip: r.object,
1964
+ transition: r.object
1965
+ }),
1966
+ /**
1967
+ * Set to `true` if the `title` acts as an accessible description.
1968
+ * By default the `title` acts as an accessible label for the child.
1969
+ * @default false
1970
+ */
1971
+ describeChild: r.bool,
1972
+ /**
1973
+ * Do not respond to focus-visible events.
1974
+ * @default false
1975
+ */
1976
+ disableFocusListener: r.bool,
1977
+ /**
1978
+ * Do not respond to hover events.
1979
+ * @default false
1980
+ */
1981
+ disableHoverListener: r.bool,
1982
+ /**
1983
+ * Makes a tooltip not interactive, i.e. it will close when the user
1984
+ * hovers over the tooltip before the `leaveDelay` is expired.
1985
+ * @default false
1986
+ */
1987
+ disableInteractive: r.bool,
1988
+ /**
1989
+ * Do not respond to long press touch events.
1990
+ * @default false
1991
+ */
1992
+ disableTouchListener: r.bool,
1993
+ /**
1994
+ * The number of milliseconds to wait before showing the tooltip.
1995
+ * This prop won't impact the enter touch delay (`enterTouchDelay`).
1996
+ * @default 100
1997
+ */
1998
+ enterDelay: r.number,
1999
+ /**
2000
+ * The number of milliseconds to wait before showing the tooltip when one was already recently opened.
2001
+ * @default 0
2002
+ */
2003
+ enterNextDelay: r.number,
2004
+ /**
2005
+ * The number of milliseconds a user must touch the element before showing the tooltip.
2006
+ * @default 700
2007
+ */
2008
+ enterTouchDelay: r.number,
2009
+ /**
2010
+ * If `true`, the tooltip follow the cursor over the wrapped element.
2011
+ * @default false
2012
+ */
2013
+ followCursor: r.bool,
2014
+ /**
2015
+ * This prop is used to help implement the accessibility logic.
2016
+ * If you don't provide this prop. It falls back to a randomly generated id.
2017
+ */
2018
+ id: r.string,
2019
+ /**
2020
+ * The number of milliseconds to wait before hiding the tooltip.
2021
+ * This prop won't impact the leave touch delay (`leaveTouchDelay`).
2022
+ * @default 0
2023
+ */
2024
+ leaveDelay: r.number,
2025
+ /**
2026
+ * The number of milliseconds after the user stops touching an element before hiding the tooltip.
2027
+ * @default 1500
2028
+ */
2029
+ leaveTouchDelay: r.number,
2030
+ /**
2031
+ * Callback fired when the component requests to be closed.
2032
+ *
2033
+ * @param {React.SyntheticEvent} event The event source of the callback.
2034
+ */
2035
+ onClose: r.func,
2036
+ /**
2037
+ * Callback fired when the component requests to be open.
2038
+ *
2039
+ * @param {React.SyntheticEvent} event The event source of the callback.
2040
+ */
2041
+ onOpen: r.func,
2042
+ /**
2043
+ * If `true`, the component is shown.
2044
+ */
2045
+ open: r.bool,
2046
+ /**
2047
+ * Tooltip placement.
2048
+ * @default 'bottom'
2049
+ */
2050
+ placement: r.oneOf(["bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
2051
+ /**
2052
+ * The component used for the popper.
2053
+ * @deprecated use the `slots.popper` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
2054
+ */
2055
+ PopperComponent: r.elementType,
2056
+ /**
2057
+ * Props applied to the [`Popper`](https://mui.com/material-ui/api/popper/) element.
2058
+ * @deprecated use the `slotProps.popper` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
2059
+ * @default {}
2060
+ */
2061
+ PopperProps: r.object,
2062
+ /**
2063
+ * The props used for each slot inside.
2064
+ * @default {}
2065
+ */
2066
+ slotProps: r.shape({
2067
+ arrow: r.oneOfType([r.func, r.object]),
2068
+ popper: r.oneOfType([r.func, r.object]),
2069
+ tooltip: r.oneOfType([r.func, r.object]),
2070
+ transition: r.oneOfType([r.func, r.object])
2071
+ }),
2072
+ /**
2073
+ * The components used for each slot inside.
2074
+ * @default {}
2075
+ */
2076
+ slots: r.shape({
2077
+ arrow: r.elementType,
2078
+ popper: r.elementType,
2079
+ tooltip: r.elementType,
2080
+ transition: r.elementType
2081
+ }),
2082
+ /**
2083
+ * The system prop that allows defining system overrides as well as additional CSS styles.
2084
+ */
2085
+ sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
2086
+ /**
2087
+ * Tooltip title. Zero-length titles string, undefined, null and false are never displayed.
2088
+ */
2089
+ title: r.node,
2090
+ /**
2091
+ * The component used for the transition.
2092
+ * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
2093
+ * @deprecated use the `slots.transition` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
2094
+ */
2095
+ TransitionComponent: r.elementType,
2096
+ /**
2097
+ * Props applied to the transition element.
2098
+ * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
2099
+ * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
2100
+ * @default {}
2101
+ */
2102
+ TransitionProps: r.object
2103
+ });
2104
+ const Xr = mo({
2105
+ components: {
2106
+ MuiTooltip: {
2107
+ styleOverrides: {
2108
+ arrow: {
2109
+ color: st.StBackgroundColors.workspace
2110
+ },
2111
+ tooltip: {
2112
+ color: st.StTextColors.content,
2113
+ maxWidth: "432px",
2114
+ borderRadius: "4px",
2115
+ display: "flex",
2116
+ flexDirection: "row",
2117
+ justifyContent: "center",
2118
+ alignItems: "center",
2119
+ padding: "12px 16px",
2120
+ gap: "10px",
2121
+ backgroundColor: st.StBackgroundColors.workspace,
2122
+ filter: "drop-shadow(0px 1px 4px rgba(9, 9, 10, 0.1)) drop-shadow(0px 4px 12px rgba(9, 9, 10, 0.2));"
2123
+ }
2124
+ }
2125
+ }
2126
+ }
2127
+ }), Yr = "#2c3342", Zr = "#f4f4f8", Gr = "#dee1e7", Qr = "#fff", Kr = "Tooltip-module__breakLongWord___ToaxI", Jr = "Tooltip-module__semanticText___VRqnW", en = "Tooltip-module__tooltip___iGDQF", tn = "Tooltip-module__rcToolTipZoomIn___Qwshk", on = "Tooltip-module__rcToolTipZoomOut___p2GXV", rn = {
2128
+ loginDarkColor: Yr,
2129
+ darkBtnHoverColor: Zr,
2130
+ greyHoverColor: Gr,
2131
+ defaultBackgroundColor: Qr,
2132
+ breakLongWord: Kr,
2133
+ semanticText: Jr,
2134
+ tooltip: en,
2135
+ rcToolTipZoomIn: tn,
2136
+ rcToolTipZoomOut: on
2137
+ }, mn = uo(
2138
+ ({ title: t, children: e, arrow: o, theme: n = Xr, ...a }, s) => {
2139
+ const { classes: c = {} } = a, i = {
2140
+ ...c,
2141
+ tooltip: ho(
2142
+ rn.tooltip,
2143
+ c.tooltip,
2144
+ go.SISENSE_NAMESPACE
2145
+ )
2146
+ };
2147
+ return /* @__PURE__ */ ee(vo, { theme: n, children: /* @__PURE__ */ ee(to, { ...a, title: t, arrow: o, ref: s, classes: i, children: e }) });
2148
+ }
2149
+ );
2150
+ export {
2151
+ mn as T,
2152
+ Xr as t
2153
+ };