@devtron-labs/devtron-fe-common-lib 1.21.1-beta-5 → 1.22.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 (252) hide show
  1. package/dist/{@code-editor-CL0ET6g1.js → @code-editor-KCsZ23LP.js} +11625 -9772
  2. package/dist/{@common-rjsf-DfVjq1Qu.js → @common-rjsf-BrSl6HgH.js} +30 -30
  3. package/dist/{@framer-motion-DZveCoIL.js → @framer-motion-LZK2bgCK.js} +141 -139
  4. package/dist/{@react-dates-CZ1bNWJM.js → @react-dates-CbpfVsC0.js} +1 -1
  5. package/dist/{@react-select-DS68hCUM.js → @react-select-BuPEYnTv.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-V-8klKy9.js → @react-virtualized-sticky-tree-DX7VkyTZ.js} +1 -1
  7. package/dist/{@vendor-3ORIJA0h.js → @vendor-BsABdDGm.js} +28472 -19353
  8. package/dist/Common/API/types.d.ts +1 -1
  9. package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +2 -0
  10. package/dist/Common/BreadCrumb/Types.d.ts +20 -0
  11. package/dist/Common/ClipboardButton/ClipboardButton.d.ts +2 -2
  12. package/dist/Common/ClipboardButton/types.d.ts +12 -2
  13. package/dist/Common/Common.service.d.ts +4 -1
  14. package/dist/Common/Constants.d.ts +67 -18
  15. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +1 -0
  16. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  17. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  18. package/dist/Common/SearchBar/types.d.ts +8 -0
  19. package/dist/Common/SegmentedBarChart/types.d.ts +10 -2
  20. package/dist/Common/SegmentedBarChart/utils.d.ts +2 -0
  21. package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
  22. package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +1 -1
  23. package/dist/Common/SegmentedControl/index.d.ts +1 -1
  24. package/dist/Common/SegmentedControl/types.d.ts +13 -9
  25. package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
  26. package/dist/Common/Types.d.ts +64 -5
  27. package/dist/Common/index.d.ts +1 -1
  28. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
  29. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +0 -2
  30. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +13 -7
  31. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +2 -0
  32. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -1
  33. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +3 -3
  34. package/dist/Pages/ResourceBrowser/constants.d.ts +8 -8
  35. package/dist/Pages/ResourceBrowser/types.d.ts +2 -1
  36. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +1 -0
  37. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/index.d.ts +2 -0
  38. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +6 -0
  39. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +1 -0
  40. package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +1 -0
  41. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +1 -0
  42. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/index.d.ts +1 -0
  43. package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +1 -0
  44. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +1 -0
  45. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +1 -0
  46. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +4 -0
  47. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +2 -0
  48. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +31 -0
  49. package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +1 -0
  50. package/dist/Pages-Devtron-2.0/DataProtectionManagement/index.d.ts +1 -0
  51. package/dist/Pages-Devtron-2.0/DataProtectionManagement/types.d.ts +8 -0
  52. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +1 -0
  53. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +1 -0
  54. package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +1 -0
  55. package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +1 -0
  56. package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +1 -0
  57. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +1 -0
  58. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/index.d.ts +2 -0
  59. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +6 -0
  60. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +1 -0
  61. package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +1 -0
  62. package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +11 -0
  63. package/dist/Pages-Devtron-2.0/Navigation/index.d.ts +1 -0
  64. package/dist/Pages-Devtron-2.0/Navigation/types.d.ts +32 -0
  65. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +1 -0
  66. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/index.d.ts +1 -0
  67. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +6 -0
  68. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/index.d.ts +1 -0
  69. package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +1 -0
  70. package/dist/Pages-Devtron-2.0/Shared/Overview/components.d.ts +7 -0
  71. package/dist/Pages-Devtron-2.0/Shared/Overview/constants.d.ts +8 -0
  72. package/dist/Pages-Devtron-2.0/Shared/Overview/index.d.ts +3 -0
  73. package/dist/Pages-Devtron-2.0/Shared/Overview/types.d.ts +26 -0
  74. package/dist/Pages-Devtron-2.0/Shared/index.d.ts +1 -0
  75. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +1 -0
  76. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +1 -0
  77. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +1 -0
  78. package/dist/Pages-Devtron-2.0/index.d.ts +7 -0
  79. package/dist/Shared/Components/ActionMenu/types.d.ts +3 -0
  80. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +2 -2
  81. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  82. package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
  83. package/dist/Shared/Components/Badge/utils.d.ts +2 -1
  84. package/dist/Shared/Components/Button/Button.component.d.ts +12 -12
  85. package/dist/Shared/Components/Card/Card.component.d.ts +3 -0
  86. package/dist/Shared/Components/Card/constants.d.ts +4 -0
  87. package/dist/Shared/Components/Card/index.d.ts +2 -0
  88. package/dist/Shared/Components/Card/types.d.ts +25 -0
  89. package/dist/Shared/Components/Charts/Chart.component.d.ts +121 -0
  90. package/dist/Shared/Components/Charts/constants.d.ts +10 -0
  91. package/dist/Shared/Components/Charts/index.d.ts +4 -0
  92. package/dist/Shared/Components/Charts/plugins.d.ts +7 -0
  93. package/dist/Shared/Components/Charts/types.d.ts +135 -0
  94. package/dist/Shared/Components/Charts/utils.d.ts +30 -0
  95. package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +3 -0
  96. package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +1 -0
  97. package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +5 -0
  98. package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +2 -0
  99. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
  100. package/dist/Shared/Components/DTFocusTrap/types.d.ts +2 -1
  101. package/dist/Shared/Components/DocLink/constants.d.ts +15 -4
  102. package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +3 -0
  103. package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +3 -0
  104. package/dist/Shared/Components/ExportToCsv/index.d.ts +2 -0
  105. package/dist/Shared/Components/ExportToCsv/types.d.ts +64 -0
  106. package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
  107. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
  108. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +2 -1
  109. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +21 -5
  110. package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -1
  111. package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +1 -3
  112. package/dist/Shared/Components/Header/HelpButton.d.ts +1 -1
  113. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  114. package/dist/Shared/Components/Header/constants.d.ts +2 -2
  115. package/dist/Shared/Components/Header/types.d.ts +8 -1
  116. package/dist/Shared/Components/Header/utils.d.ts +2 -5
  117. package/dist/Shared/Components/Icon/Icon.d.ts +71 -0
  118. package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
  119. package/dist/Shared/Components/Icon/types.d.ts +6 -0
  120. package/dist/Shared/Components/Illustration/Illustration.d.ts +6 -4
  121. package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +3 -0
  122. package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +3 -0
  123. package/dist/Shared/Components/KeyboardShortcut/index.d.ts +1 -0
  124. package/dist/Shared/Components/KeyboardShortcut/types.d.ts +4 -0
  125. package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +1 -1
  126. package/dist/Shared/Components/License/index.d.ts +0 -1
  127. package/dist/Shared/Components/License/types.d.ts +0 -4
  128. package/dist/Shared/Components/License/utils.d.ts +1 -1
  129. package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +3 -0
  130. package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +2 -0
  131. package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +20 -0
  132. package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +1 -1
  133. package/dist/Shared/Components/Security/SecurityModal/index.d.ts +1 -1
  134. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +3 -3
  135. package/dist/Shared/Components/Security/constants.d.ts +2 -0
  136. package/dist/Shared/Components/Security/index.d.ts +3 -0
  137. package/dist/Shared/Components/Security/types.d.ts +10 -0
  138. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  139. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
  140. package/dist/Shared/Components/SelectPicker/index.d.ts +1 -1
  141. package/dist/Shared/Components/SelectPicker/type.d.ts +3 -1
  142. package/dist/Shared/Components/SelectPicker/utils.d.ts +1 -0
  143. package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +2 -0
  144. package/dist/Shared/Components/SideNavigation/index.d.ts +2 -0
  145. package/dist/Shared/Components/SideNavigation/types.d.ts +19 -0
  146. package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
  147. package/dist/Shared/Components/Table/TableContent.d.ts +1 -1
  148. package/dist/Shared/Components/Table/types.d.ts +12 -6
  149. package/dist/Shared/Components/TrailingItem/types.d.ts +4 -0
  150. package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
  151. package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
  152. package/dist/Shared/Components/TreeView/constants.d.ts +3 -0
  153. package/dist/Shared/Components/TreeView/types.d.ts +17 -3
  154. package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +3 -3
  155. package/dist/Shared/Components/index.d.ts +7 -0
  156. package/dist/Shared/Helpers.d.ts +11 -0
  157. package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +0 -5
  158. package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +5 -20
  159. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
  160. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +31 -2
  161. package/dist/Shared/Providers/MainContextProvider/types.d.ts +9 -0
  162. package/dist/Shared/Services/common.service.d.ts +3 -0
  163. package/dist/Shared/Services/types.d.ts +10 -1
  164. package/dist/Shared/constants.d.ts +3 -17
  165. package/dist/Shared/types.d.ts +30 -28
  166. package/dist/Shared/validations.d.ts +2 -0
  167. package/dist/assets/@code-editor.css +1 -1
  168. package/dist/assets/create-backup-schedule.bbac4a86.webp +0 -0
  169. package/dist/assets/create-backup-snapshot.c794f612.webp +0 -0
  170. package/dist/assets/ic-ai.25e44e0c.svg +3 -0
  171. package/dist/assets/ic-alibaba.518d61a4.svg +3 -0
  172. package/dist/assets/ic-application-group.4b448cca.svg +3 -0
  173. package/dist/assets/ic-application-management.7fb9e3a0.svg +3 -0
  174. package/dist/assets/ic-application-template.212d14f1.svg +3 -0
  175. package/dist/assets/ic-application.4c80bfcf.svg +3 -0
  176. package/dist/assets/ic-argocd-app.9c5eba79.svg +61 -0
  177. package/dist/assets/ic-arrow-line-down.b6a98848.svg +3 -0
  178. package/dist/assets/ic-aws.eb2d0124.svg +12 -0
  179. package/dist/assets/ic-backup-and-schedule.51b7d3dd.svg +3 -0
  180. package/dist/assets/ic-backup-color.dc62e9d5.svg +6 -0
  181. package/dist/assets/ic-backup-location.ebaf1148.svg +3 -0
  182. package/dist/assets/ic-backup-schedule-color.a16c34b0.svg +5 -0
  183. package/dist/assets/ic-bg-backup-schedule.9ef9bc39.svg +19 -0
  184. package/dist/assets/ic-bg-backups.396e99bd.svg +19 -0
  185. package/dist/assets/ic-bg-build.8609d0ea.svg +13 -0
  186. package/dist/assets/ic-bg-cpu.15ec70f0.svg +11 -0
  187. package/dist/assets/ic-bg-deploy.266711fe.svg +22 -0
  188. package/dist/assets/ic-bg-memory.5373a125.svg +11 -0
  189. package/dist/assets/ic-bg-pause-schedule.6edcc1d4.svg +14 -0
  190. package/dist/assets/ic-bg-production-pipelines.2951cdc0.svg +22 -0
  191. package/dist/assets/ic-bg-project.84658405.svg +12 -0
  192. package/dist/assets/ic-bg-ransomware-vulnerable-cluster.1b25a5d0.svg +7 -0
  193. package/dist/assets/ic-bg-restore.4fa13869.svg +33 -0
  194. package/dist/assets/ic-bg-scan.2249360c.svg +28 -0
  195. package/dist/assets/ic-bg-storage-locations.894070b0.svg +22 -0
  196. package/dist/assets/ic-bg-webhook.b455152d.svg +13 -0
  197. package/dist/assets/ic-bot.65f403dd.svg +3 -0
  198. package/dist/assets/ic-building.2405d07b.svg +3 -0
  199. package/dist/assets/ic-chart-line-up.7ab47f4e.svg +3 -0
  200. package/dist/assets/ic-chart-repo.4c12016f.svg +5 -0
  201. package/dist/assets/ic-check-circle.af18cd7e.svg +3 -0
  202. package/dist/assets/ic-circle-small.a0740b0e.svg +3 -0
  203. package/dist/assets/ic-clipboard.2869fa7d.svg +3 -0
  204. package/dist/assets/ic-clock-counterclockwise.3d7c2ef1.svg +3 -0
  205. package/dist/assets/ic-cloud-upload.55d9c163.svg +3 -0
  206. package/dist/assets/ic-coins-color-animated.fe11cdc3.svg +112 -0
  207. package/dist/assets/ic-coins.2c15f406.svg +3 -0
  208. package/dist/assets/ic-cost-visibility.5595009f.svg +3 -0
  209. package/dist/assets/ic-database-backup.b9e7c558.svg +3 -0
  210. package/dist/assets/ic-devtron-text.67a413b6.svg +3 -0
  211. package/dist/assets/ic-edit-lines.57927b07.svg +3 -0
  212. package/dist/assets/ic-external-link.0dd8eed7.svg +4 -0
  213. package/dist/assets/ic-file-download.ca57c068.svg +5 -0
  214. package/dist/assets/ic-files-changed.04e6de3f.svg +3 -0
  215. package/dist/assets/ic-floppy-disk.6d392bcd.svg +3 -0
  216. package/dist/assets/ic-fluxcd-app.7bf7dce5.svg +22 -0
  217. package/dist/assets/ic-global-overview.56ba9dc0.svg +3 -0
  218. package/dist/assets/ic-google-cloud.3077a8dd.svg +6 -0
  219. package/dist/assets/ic-infrastructure-management.4b052d41.svg +3 -0
  220. package/dist/assets/ic-kubernetes.7e04c3d2.svg +4 -0
  221. package/dist/assets/ic-magic-wand.2c29cd4e.svg +10 -0
  222. package/dist/assets/ic-oracle-cloud.5a8ee45d.svg +3 -0
  223. package/dist/assets/ic-otc-cloud.43b31bd8.svg +5 -0
  224. package/dist/assets/ic-party.cfc7e7c6.svg +4 -0
  225. package/dist/assets/ic-pause.4e5c6056.svg +4 -0
  226. package/dist/assets/ic-priority-medium-fill.7bab0ff8.svg +4 -0
  227. package/dist/assets/ic-release-hub.25b9707a.svg +3 -0
  228. package/dist/assets/ic-resource-browser.4ff3e571.svg +3 -0
  229. package/dist/assets/ic-resource-watcher.7cce5305.svg +3 -0
  230. package/dist/assets/ic-right-panel-collapse.0ecf8ceb.svg +3 -0
  231. package/dist/assets/ic-security-fixable.168b5bf8.svg +12 -0
  232. package/dist/assets/ic-security-not-fixable.be099f65.svg +12 -0
  233. package/dist/assets/ic-security-policy.874568da.svg +3 -0
  234. package/dist/assets/ic-security-scan.3ae78d50.svg +3 -0
  235. package/dist/assets/ic-security-vulnerability.c954b87a.svg +4 -0
  236. package/dist/assets/ic-software-release-management.dceedf80.svg +3 -0
  237. package/dist/assets/ic-symbol-greater-than.8f71342d.svg +3 -0
  238. package/dist/assets/ic-tenants.4f997b9a.svg +3 -0
  239. package/dist/assets/ic-trend-up.5752ef30.svg +3 -0
  240. package/dist/assets/ic-warning-stroke.fc850a4a.svg +3 -0
  241. package/dist/assets/img-folder-empty.8e898c33.svg +33 -0
  242. package/dist/assets/img-no-backup-location.0e8699c5.svg +180 -0
  243. package/dist/assets/img-no-restores.f26cb7db.svg +114 -0
  244. package/dist/assets/no-cluster-cost-enabled.038c73db.webp +0 -0
  245. package/dist/index.d.ts +15 -11
  246. package/dist/index.js +1144 -972
  247. package/package.json +6 -1
  248. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +0 -8
  249. package/dist/assets/img-celebration.8ceac2a9.svg +0 -149
  250. package/dist/assets/img-install-freemium-saas.4388531c.svg +0 -40
  251. package/dist/assets/img-install-via-aws-marketplace.df85f572.svg +0 -48
  252. package/dist/assets/img-page-not-found.3c4f114b.svg +0 -81
@@ -1,7 +1,7 @@
1
- import { aG as m, aH as lt, aI as R, aJ as Zr, aK as Le, aL as oe, aM as T, aN as $e, aO as at, aP as Gt, aQ as Q, aR as $r, aS as oi, aT as si, aU as ui, aV as li, aW as fi, aX as ci, aY as vi, aZ as di, a_ as qr, a$ as pi, b0 as hi, b1 as mi, b2 as gi, b3 as yi, b4 as Jr, b5 as Pt, b6 as he, b7 as X, b8 as bi, b9 as Qr, ba as z, bb as tn, bc as me, bd as Z, be as Pi, bf as Ot, bg as Vi, bh as Ti, bi as en, bj as Ft, bk as O, bl as ge, bm as Si, bn as se, bo as xi, bp as Ci } from "./@vendor-3ORIJA0h.js";
1
+ import { aY as m, aZ as lt, a_ as R, a$ as Zr, b0 as Le, b1 as oe, b2 as T, b3 as $e, b4 as at, b5 as Kt, b6 as Q, b7 as $r, b8 as oi, b9 as si, ba as ui, bb as li, bc as fi, bd as ci, be as vi, bf as di, bg as qr, bh as pi, bi as hi, bj as mi, bk as gi, bl as yi, bm as Jr, bn as Pt, bo as he, bp as X, bq as bi, br as Qr, bs as z, bt as tn, bu as me, bv as Z, bw as Pi, bx as Ot, by as Vi, bz as Ti, bA as en, bB as Ft, bC as O, bD as ge, bE as Si, bF as se, bG as xi, bH as Ci } from "./@vendor-BsABdDGm.js";
2
2
  import * as Y from "react";
3
- import Re, { createContext as St, useContext as F, useLayoutEffect as Ai, useEffect as N, useState as Me, useRef as $, useCallback as ye, useMemo as Vt, forwardRef as wi, createElement as Ei, cloneElement as Li, Children as Ri, isValidElement as Mi } from "react";
4
- var qe = "production", De = typeof process > "u" || process.env === void 0 ? qe : process.env.NODE_ENV || qe, tt = function(t) {
3
+ import Re, { createContext as St, useContext as F, useLayoutEffect as Ai, useEffect as N, useState as De, useRef as $, useCallback as ye, useMemo as Vt, forwardRef as wi, createElement as Ei, cloneElement as Li, Children as Ri, isValidElement as Di } from "react";
4
+ var qe = "production", Me = typeof process > "u" || process.env === void 0 ? qe : process.env.NODE_ENV || qe, tt = function(t) {
5
5
  return {
6
6
  isEnabled: function(e) {
7
7
  return t.some(function(r) {
@@ -38,7 +38,7 @@ var qe = "production", De = typeof process > "u" || process.env === void 0 ? qe
38
38
  "onViewportLeave"
39
39
  ])
40
40
  };
41
- function Di(t) {
41
+ function Mi(t) {
42
42
  for (var e in t)
43
43
  t[e] !== null && (e === "projectionNodeConstructor" ? jt.projectionNodeConstructor = t[e] : jt[e].Component = t[e]);
44
44
  }
@@ -47,7 +47,7 @@ function Oi(t, e, r) {
47
47
  var n = [], i = F(rn);
48
48
  if (!e)
49
49
  return null;
50
- De !== "production" && r && i.strict && lt(!1, "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");
50
+ Me !== "production" && r && i.strict && lt(!1, "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");
51
51
  for (var s = 0; s < Ii; s++) {
52
52
  var o = nn[s], a = jt[o], u = a.isEnabled, l = a.Component;
53
53
  u(t) && l && n.push(Y.createElement(l, m({ key: o }, t, { visualElement: e })));
@@ -77,7 +77,7 @@ function ji() {
77
77
  }
78
78
  function Bi() {
79
79
  !an && ji();
80
- var t = R(Me(be.current), 1), e = t[0];
80
+ var t = R(De(be.current), 1), e = t[0];
81
81
  return e;
82
82
  }
83
83
  function Ui() {
@@ -156,7 +156,7 @@ function ne(t) {
156
156
  function un(t) {
157
157
  return !!(ne(t) || t.variants);
158
158
  }
159
- function Ki(t, e) {
159
+ function Gi(t, e) {
160
160
  if (ne(t)) {
161
161
  var r = t.initial, n = t.animate;
162
162
  return {
@@ -166,8 +166,8 @@ function Ki(t, e) {
166
166
  }
167
167
  return t.inherit !== !1 ? e : {};
168
168
  }
169
- function Gi(t) {
170
- var e = Ki(t, F(ee)), r = e.initial, n = e.animate;
169
+ function Ki(t) {
170
+ var e = Gi(t, F(ee)), r = e.initial, n = e.animate;
171
171
  return Vt(function() {
172
172
  return { initial: r, animate: n };
173
173
  }, [Je(r), Je(n)]);
@@ -240,11 +240,11 @@ var Wi = (
240
240
  );
241
241
  function Zi(t) {
242
242
  var e = t.preloadedFeatures, r = t.createVisualElement, n = t.projectionNodeConstructor, i = t.useRender, s = t.useVisualState, o = t.Component;
243
- e && Di(e);
243
+ e && Mi(e);
244
244
  function a(u, l) {
245
245
  var f = $i(u);
246
246
  u = m(m({}, u), { layoutId: f });
247
- var v = F(_t), c = null, d = Gi(u), p = v.isStatic ? void 0 : ki(), h = s(u, v.isStatic);
247
+ var v = F(_t), c = null, d = Ki(u), p = v.isStatic ? void 0 : ki(), h = s(u, v.isStatic);
248
248
  return !v.isStatic && xt && (d.visualElement = _i(o, h, m(m({}, v), u), r), Xi(p, u, d.visualElement, n || jt.projectionNodeConstructor), c = Oi(u, d.visualElement, e)), Y.createElement(
249
249
  Wi,
250
250
  { visualElement: d.visualElement, props: m(m({}, v), u) },
@@ -413,10 +413,10 @@ var sa = function(t, e) {
413
413
  rotateX: at,
414
414
  rotateY: at,
415
415
  rotateZ: at,
416
- scale: Gt,
417
- scaleX: Gt,
418
- scaleY: Gt,
419
- scaleZ: Gt,
416
+ scale: Kt,
417
+ scaleX: Kt,
418
+ scaleY: Kt,
419
+ scaleZ: Kt,
420
420
  skew: at,
421
421
  skewX: at,
422
422
  skewY: at,
@@ -821,9 +821,9 @@ var An = function(t, e) {
821
821
  return t(n, Ne(n));
822
822
  };
823
823
  return e ? wa(r) : r;
824
- }, Ma = function() {
825
- return xt && window.onpointerdown === null;
826
824
  }, Da = function() {
825
+ return xt && window.onpointerdown === null;
826
+ }, Ma = function() {
827
827
  return xt && window.ontouchstart === null;
828
828
  }, Ia = function() {
829
829
  return xt && window.onmousedown === null;
@@ -843,7 +843,7 @@ var An = function(t, e) {
843
843
  pointercancel: "touchcancel"
844
844
  };
845
845
  function wn(t) {
846
- return Ma() ? t : Da() ? Fa[t] : Ia() ? Oa[t] : t;
846
+ return Da() ? t : Ma() ? Fa[t] : Ia() ? Oa[t] : t;
847
847
  }
848
848
  function bt(t, e, r, n) {
849
849
  return ie(t, wn(e), An(r, e === "pointerdown"), n);
@@ -889,8 +889,8 @@ function ja(t) {
889
889
  var e = t.onHoverStart, r = t.onHoverEnd, n = t.whileHover, i = t.visualElement;
890
890
  Jt(i, "pointerenter", e || n ? ir(i, !0, e) : void 0, { passive: !e }), Jt(i, "pointerleave", r || n ? ir(i, !1, r) : void 0, { passive: !r });
891
891
  }
892
- var Mn = function(t, e) {
893
- return e ? t === e ? !0 : Mn(t, e.parentElement) : !1;
892
+ var Dn = function(t, e) {
893
+ return e ? t === e ? !0 : Dn(t, e.parentElement) : !1;
894
894
  };
895
895
  function He(t) {
896
896
  return N(function() {
@@ -912,7 +912,7 @@ function Ba(t) {
912
912
  return f(), a.current = !1, (h = s.animationState) === null || h === void 0 || h.setActive(L.Tap, !1), !Rn();
913
913
  }
914
914
  function c(h, g) {
915
- v() && (Mn(s.getInstance(), h.target) ? e?.(h, g) : n?.(h, g));
915
+ v() && (Dn(s.getInstance(), h.target) ? e?.(h, g) : n?.(h, g));
916
916
  }
917
917
  function d(h, g) {
918
918
  v() && n?.(h, g);
@@ -924,7 +924,7 @@ function Ba(t) {
924
924
  Jt(s, "pointerdown", o ? p : void 0, l), He(f);
925
925
  }
926
926
  var ar = /* @__PURE__ */ new Set();
927
- function Dn(t, e, r) {
927
+ function Mn(t, e, r) {
928
928
  t || ar.has(e) || (console.warn(e), ar.add(e));
929
929
  }
930
930
  var Te = /* @__PURE__ */ new WeakMap(), ue = /* @__PURE__ */ new WeakMap(), Ua = function(t) {
@@ -951,21 +951,21 @@ function za(t) {
951
951
  isInView: !1
952
952
  }), u = !!(r || n || i);
953
953
  o.once && a.current.hasEnteredView && (u = !1);
954
- var l = typeof IntersectionObserver > "u" ? Ya : Ga;
954
+ var l = typeof IntersectionObserver > "u" ? Ya : Ka;
955
955
  l(u, a.current, e, o);
956
956
  }
957
- var Ka = {
957
+ var Ga = {
958
958
  some: 0,
959
959
  all: 1
960
960
  };
961
- function Ga(t, e, r, n) {
961
+ function Ka(t, e, r, n) {
962
962
  var i = n.root, s = n.margin, o = n.amount, a = o === void 0 ? "some" : o, u = n.once;
963
963
  N(function() {
964
964
  if (t) {
965
965
  var l = {
966
966
  root: i?.current,
967
967
  rootMargin: s,
968
- threshold: typeof a == "number" ? a : Ka[a]
968
+ threshold: typeof a == "number" ? a : Ga[a]
969
969
  }, f = function(v) {
970
970
  var c, d = v.isIntersecting;
971
971
  if (e.isInView !== d && (e.isInView = d, !(u && !d && e.hasEnteredView))) {
@@ -981,7 +981,7 @@ function Ga(t, e, r, n) {
981
981
  function Ya(t, e, r, n) {
982
982
  var i = n.fallback, s = i === void 0 ? !0 : i;
983
983
  N(function() {
984
- !t || !s || (De !== "production" && Dn(!1, "IntersectionObserver not available on this device. whileInView animations will trigger on mount."), requestAnimationFrame(function() {
984
+ !t || !s || (Me !== "production" && Mn(!1, "IntersectionObserver not available on this device. whileInView animations will trigger on mount."), requestAnimationFrame(function() {
985
985
  var o;
986
986
  e.hasEnteredView = !0;
987
987
  var a = r.getProps().onViewportEnter;
@@ -1120,7 +1120,7 @@ var Qt = function(t) {
1120
1120
  }), ze = function(t) {
1121
1121
  return Ja[t];
1122
1122
  };
1123
- function Ke(t, e) {
1123
+ function Ge(t, e) {
1124
1124
  var r, n = ze(t);
1125
1125
  return n !== he && (n = Pt), (r = n.getAnimatableNone) === null || r === void 0 ? void 0 : r.call(n, e);
1126
1126
  }
@@ -1135,7 +1135,7 @@ function to(t) {
1135
1135
  return r && (a.offset = r), o.duration && (a.duration = Qt(o.duration)), o.repeatDelay && (a.repeatDelay = Qt(o.repeatDelay)), e && (a.ease = Za(e) ? e.map(sr) : sr(e)), o.type === "tween" && (a.type = "keyframes"), (n || s || i) && (tn(!fr, "yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."), fr = !0, n ? a.repeatType = "reverse" : s ? a.repeatType = "loop" : i && (a.repeatType = "mirror"), a.repeat = s || n || i || o.repeat), o.type !== "spring" && (a.type = "keyframes"), a;
1136
1136
  }
1137
1137
  function eo(t, e) {
1138
- var r, n, i = Ge(t, e) || {};
1138
+ var r, n, i = Ke(t, e) || {};
1139
1139
  return (n = (r = i.delay) !== null && r !== void 0 ? r : t.delay) !== null && n !== void 0 ? n : 0;
1140
1140
  }
1141
1141
  function ro(t) {
@@ -1146,8 +1146,8 @@ function no(t, e, r) {
1146
1146
  return Array.isArray(e.to) && ((n = t.duration) !== null && n !== void 0 || (t.duration = 0.8)), ro(e), Qa(t) || (t = m(m({}, t), qa(r, e.to))), m(m({}, e), to(t));
1147
1147
  }
1148
1148
  function io(t, e, r, n, i) {
1149
- var s, o = Ge(n, t), a = (s = o.from) !== null && s !== void 0 ? s : e.get(), u = ur(t, r);
1150
- a === "none" && u && typeof r == "string" ? a = Ke(t, r) : cr(a) && typeof r == "string" ? a = vr(r) : !Array.isArray(r) && cr(r) && typeof a == "string" && (r = vr(a));
1149
+ var s, o = Ke(n, t), a = (s = o.from) !== null && s !== void 0 ? s : e.get(), u = ur(t, r);
1150
+ a === "none" && u && typeof r == "string" ? a = Ge(t, r) : cr(a) && typeof r == "string" ? a = vr(r) : !Array.isArray(r) && cr(r) && typeof a == "string" && (r = vr(a));
1151
1151
  var l = ur(t, a);
1152
1152
  tn(l === u, "You are trying to animate ".concat(t, ' from "').concat(a, '" to "').concat(r, '". ').concat(a, " is not an animatable value - to enable this animation set ").concat(a, " to a value animatable to ").concat(r, " via the `style` property."));
1153
1153
  function f() {
@@ -1179,9 +1179,9 @@ function cr(t) {
1179
1179
  return t === 0 || typeof t == "string" && parseFloat(t) === 0 && t.indexOf(" ") === -1;
1180
1180
  }
1181
1181
  function vr(t) {
1182
- return typeof t == "number" ? 0 : Ke("", t);
1182
+ return typeof t == "number" ? 0 : Ge("", t);
1183
1183
  }
1184
- function Ge(t, e) {
1184
+ function Ke(t, e) {
1185
1185
  return t[e] || t.default || t;
1186
1186
  }
1187
1187
  function Ye(t, e, r, n) {
@@ -1343,7 +1343,7 @@ function ho(t, e, r) {
1343
1343
  if (u)
1344
1344
  for (var l = 0; l < u; l++) {
1345
1345
  var f = a[l], v = e[f], c = null;
1346
- Array.isArray(v) && (c = v[0]), c === null && (c = (i = (n = r[f]) !== null && n !== void 0 ? n : t.readValue(f)) !== null && i !== void 0 ? i : e[f]), c != null && (typeof c == "string" && (ao(c) || oo(c)) ? c = parseFloat(c) : !co(c) && Pt.test(v) && (c = Ke(f, v)), t.addValue(f, dt(c)), (s = (o = r)[f]) !== null && s !== void 0 || (o[f] = c), t.setBaseTarget(f, c));
1346
+ Array.isArray(v) && (c = v[0]), c === null && (c = (i = (n = r[f]) !== null && n !== void 0 ? n : t.readValue(f)) !== null && i !== void 0 ? i : e[f]), c != null && (typeof c == "string" && (ao(c) || oo(c)) ? c = parseFloat(c) : !co(c) && Pt.test(v) && (c = Ge(f, v)), t.addValue(f, dt(c)), (s = (o = r)[f]) !== null && s !== void 0 || (o[f] = c), t.setBaseTarget(f, c));
1347
1347
  }
1348
1348
  }
1349
1349
  function mo(t, e) {
@@ -1474,27 +1474,27 @@ function Co(t) {
1474
1474
  e = f(t);
1475
1475
  }
1476
1476
  function u(f, v) {
1477
- for (var c, d = t.getProps(), p = t.getVariantContext(!0) || {}, h = [], g = /* @__PURE__ */ new Set(), b = {}, P = 1 / 0, S = function(M) {
1478
- var x = To[M], w = r[x], D = (c = d[x]) !== null && c !== void 0 ? c : p[x], K = W(D), B = x === v ? w.isActive : null;
1479
- B === !1 && (P = M);
1480
- var H = D === p[x] && D !== d[x] && K;
1477
+ for (var c, d = t.getProps(), p = t.getVariantContext(!0) || {}, h = [], g = /* @__PURE__ */ new Set(), b = {}, P = 1 / 0, S = function(D) {
1478
+ var x = To[D], w = r[x], M = (c = d[x]) !== null && c !== void 0 ? c : p[x], G = W(M), B = x === v ? w.isActive : null;
1479
+ B === !1 && (P = D);
1480
+ var H = M === p[x] && M !== d[x] && G;
1481
1481
  if (H && i && t.manuallyAnimateOnMount && (H = !1), w.protectedKeys = m({}, b), // If it isn't active and hasn't *just* been set as inactive
1482
1482
  !w.isActive && B === null || // If we didn't and don't have any defined prop for this animation type
1483
- !D && !w.prevProp || // Or if the prop doesn't define an animation
1484
- _e(D) || typeof D == "boolean")
1483
+ !M && !w.prevProp || // Or if the prop doesn't define an animation
1484
+ _e(M) || typeof M == "boolean")
1485
1485
  return "continue";
1486
- var rt = Ao(w.prevProp, D), nt = rt || // If we're making this variant active, we want to always make it active
1487
- x === v && w.isActive && !H && K || // If we removed a higher-priority variant (i is in reverse order)
1488
- M > P && K, it = Array.isArray(D) ? D : [D], G = it.reduce(s, {});
1489
- B === !1 && (G = {});
1490
- var Ct = w.prevResolvedValues, pt = Ct === void 0 ? {} : Ct, zt = m(m({}, pt), G), ht = function(V) {
1486
+ var rt = Ao(w.prevProp, M), nt = rt || // If we're making this variant active, we want to always make it active
1487
+ x === v && w.isActive && !H && G || // If we removed a higher-priority variant (i is in reverse order)
1488
+ D > P && G, it = Array.isArray(M) ? M : [M], K = it.reduce(s, {});
1489
+ B === !1 && (K = {});
1490
+ var Ct = w.prevResolvedValues, pt = Ct === void 0 ? {} : Ct, zt = m(m({}, pt), K), ht = function(V) {
1491
1491
  nt = !0, g.delete(V), w.needsAnimating[V] = !0;
1492
1492
  };
1493
1493
  for (var _ in zt) {
1494
- var E = G[_], y = pt[_];
1494
+ var E = K[_], y = pt[_];
1495
1495
  b.hasOwnProperty(_) || (E !== y ? Ut(E) && Ut(y) ? !Fn(E, y) || rt ? ht(_) : w.protectedKeys[_] = !0 : E !== void 0 ? ht(_) : g.add(_) : E !== void 0 && g.has(_) ? ht(_) : w.protectedKeys[_] = !0);
1496
1496
  }
1497
- w.prevProp = D, w.prevResolvedValues = G, w.isActive && (b = m(m({}, b), G)), i && t.blockInitialAnimation && (nt = !1), nt && !H && h.push.apply(h, z([], R(it.map(function(V) {
1497
+ w.prevProp = M, w.prevResolvedValues = K, w.isActive && (b = m(m({}, b), K)), i && t.blockInitialAnimation && (nt = !1), nt && !H && h.push.apply(h, z([], R(it.map(function(V) {
1498
1498
  return {
1499
1499
  animation: V,
1500
1500
  options: m({ type: x }, f)
@@ -1504,9 +1504,9 @@ function Co(t) {
1504
1504
  S(C);
1505
1505
  if (n = m({}, b), g.size) {
1506
1506
  var A = {};
1507
- g.forEach(function(M) {
1508
- var x = t.getBaseTarget(M);
1509
- x !== void 0 && (A[M] = x);
1507
+ g.forEach(function(D) {
1508
+ var x = t.getBaseTarget(D);
1509
+ x !== void 0 && (A[D] = x);
1510
1510
  }), h.push({ animation: A });
1511
1511
  }
1512
1512
  var I = !!h.length;
@@ -1652,22 +1652,22 @@ function pr(t, e, r) {
1652
1652
  function hr(t, e, r, n) {
1653
1653
  n === void 0 && (n = 0.5), t.origin = n, t.originPoint = O(e.min, e.max, t.origin), t.scale = et(r) / et(e), (pr(t.scale, 1, 1e-4) || isNaN(t.scale)) && (t.scale = 1), t.translate = O(r.min, r.max, t.origin) - t.originPoint, (pr(t.translate) || isNaN(t.translate)) && (t.translate = 0);
1654
1654
  }
1655
- function Mt(t, e, r, n) {
1655
+ function Dt(t, e, r, n) {
1656
1656
  hr(t.x, e.x, r.x, n?.originX), hr(t.y, e.y, r.y, n?.originY);
1657
1657
  }
1658
1658
  function mr(t, e, r) {
1659
1659
  t.min = r.min + e.min, t.max = t.min + et(e);
1660
1660
  }
1661
- function Mo(t, e, r) {
1661
+ function Do(t, e, r) {
1662
1662
  mr(t.x, e.x, r.x), mr(t.y, e.y, r.y);
1663
1663
  }
1664
1664
  function gr(t, e, r) {
1665
1665
  t.min = e.min - r.min, t.max = t.min + et(e);
1666
1666
  }
1667
- function Dt(t, e, r) {
1667
+ function Mt(t, e, r) {
1668
1668
  gr(t.x, e.x, r.x), gr(t.y, e.y, r.y);
1669
1669
  }
1670
- function Do(t, e, r) {
1670
+ function Mo(t, e, r) {
1671
1671
  var n = e.min, i = e.max;
1672
1672
  return n !== void 0 && t < n ? t = r ? O(n, t, r.min) : Math.max(t, n) : i !== void 0 && t > i && (t = r ? O(i, t, r.max) : Math.min(t, i)), t;
1673
1673
  }
@@ -1767,12 +1767,12 @@ function _o(t, e) {
1767
1767
  function ve(t) {
1768
1768
  return t === void 0 || t === 1;
1769
1769
  }
1770
- function Kn(t) {
1770
+ function Gn(t) {
1771
1771
  var e = t.scale, r = t.scaleX, n = t.scaleY;
1772
1772
  return !ve(e) || !ve(r) || !ve(n);
1773
1773
  }
1774
1774
  function ot(t) {
1775
- return Kn(t) || xr(t.x) || xr(t.y) || t.z || t.rotate || t.rotateX || t.rotateY;
1775
+ return Gn(t) || xr(t.x) || xr(t.y) || t.z || t.rotate || t.rotateX || t.rotateY;
1776
1776
  }
1777
1777
  function xr(t) {
1778
1778
  return t && t !== "0%";
@@ -1787,7 +1787,7 @@ function Cr(t, e, r, n, i) {
1787
1787
  function Ae(t, e, r, n, i) {
1788
1788
  e === void 0 && (e = 0), r === void 0 && (r = 1), t.min = Cr(t.min, e, r, n, i), t.max = Cr(t.max, e, r, n, i);
1789
1789
  }
1790
- function Gn(t, e) {
1790
+ function Kn(t, e) {
1791
1791
  var r = e.x, n = e.y;
1792
1792
  Ae(t.x, r.translate, r.scale, r.originPoint), Ae(t.y, n.translate, n.scale, n.originPoint);
1793
1793
  }
@@ -1798,7 +1798,7 @@ function No(t, e, r, n) {
1798
1798
  if (o) {
1799
1799
  e.x = e.y = 1;
1800
1800
  for (var a, u, l = 0; l < o; l++)
1801
- a = r[l], u = a.projectionDelta, ((s = (i = a.instance) === null || i === void 0 ? void 0 : i.style) === null || s === void 0 ? void 0 : s.display) !== "contents" && (n && a.options.layoutScroll && a.scroll && a !== a.root && yt(t, { x: -a.scroll.x, y: -a.scroll.y }), u && (e.x *= u.x.scale, e.y *= u.y.scale, Gn(t, u)), n && ot(a.latestValues) && yt(t, a.latestValues));
1801
+ a = r[l], u = a.projectionDelta, ((s = (i = a.instance) === null || i === void 0 ? void 0 : i.style) === null || s === void 0 ? void 0 : s.display) !== "contents" && (n && a.options.layoutScroll && a.scroll && a !== a.root && yt(t, { x: -a.scroll.x, y: -a.scroll.y }), u && (e.x *= u.x.scale, e.y *= u.y.scale, Kn(t, u)), n && ot(a.latestValues) && yt(t, a.latestValues));
1802
1802
  }
1803
1803
  }
1804
1804
  function st(t, e) {
@@ -1815,11 +1815,11 @@ function yt(t, e) {
1815
1815
  function Yn(t, e) {
1816
1816
  return zn(_o(t.getBoundingClientRect(), e));
1817
1817
  }
1818
- function Ko(t, e, r) {
1818
+ function Go(t, e, r) {
1819
1819
  var n = Yn(t, r), i = e.scroll;
1820
1820
  return i && (st(n.x, i.x), st(n.y, i.y)), n;
1821
1821
  }
1822
- var Go = /* @__PURE__ */ new WeakMap(), Yo = (
1822
+ var Ko = /* @__PURE__ */ new WeakMap(), Yo = (
1823
1823
  /** @class */
1824
1824
  function() {
1825
1825
  function t(e) {
@@ -1837,8 +1837,8 @@ var Go = /* @__PURE__ */ new WeakMap(), Yo = (
1837
1837
  if (Ot.test(A)) {
1838
1838
  var I = (C = (S = n.visualElement.projection) === null || S === void 0 ? void 0 : S.layout) === null || C === void 0 ? void 0 : C.actual[P];
1839
1839
  if (I) {
1840
- var M = et(I);
1841
- A = M * (parseFloat(A) / 100);
1840
+ var D = et(I);
1841
+ A = D * (parseFloat(A) / 100);
1842
1842
  }
1843
1843
  }
1844
1844
  n.originPoint[P] = A;
@@ -1880,7 +1880,7 @@ var Go = /* @__PURE__ */ new WeakMap(), Yo = (
1880
1880
  var i = this.getProps().drag;
1881
1881
  if (!(!n || !kt(e, i, this.currentDirection))) {
1882
1882
  var s = this.getAxisMotionValue(e), o = this.originPoint[e] + n[e];
1883
- this.constraints && this.constraints[e] && (o = Do(o, this.constraints[e], this.elastic[e])), s.set(o);
1883
+ this.constraints && this.constraints[e] && (o = Mo(o, this.constraints[e], this.elastic[e])), s.set(o);
1884
1884
  }
1885
1885
  }, t.prototype.resolveConstraints = function() {
1886
1886
  var e = this, r = this.getProps(), n = r.dragConstraints, i = r.dragElastic, s = (this.visualElement.projection || {}).layout, o = this.constraints;
@@ -1896,7 +1896,7 @@ var Go = /* @__PURE__ */ new WeakMap(), Yo = (
1896
1896
  var s = this.visualElement.projection;
1897
1897
  if (!s || !s.layout)
1898
1898
  return !1;
1899
- var o = Ko(i, s.root, this.visualElement.getTransformPagePoint()), a = Oo(s.layout.actual, o);
1899
+ var o = Go(i, s.root, this.visualElement.getTransformPagePoint()), a = Oo(s.layout.actual, o);
1900
1900
  if (n) {
1901
1901
  var u = n(Uo(a));
1902
1902
  this.hasMutatedConstraints = !!u, u && (a = zn(u));
@@ -1958,7 +1958,7 @@ var Go = /* @__PURE__ */ new WeakMap(), Yo = (
1958
1958
  }
1959
1959
  }, t.prototype.addListeners = function() {
1960
1960
  var e = this, r;
1961
- Go.set(this.visualElement, this);
1961
+ Ko.set(this.visualElement, this);
1962
1962
  var n = this.visualElement.getInstance(), i = bt(n, "pointerdown", function(l) {
1963
1963
  var f = e.getProps(), v = f.drag, c = f.dragListener, d = c === void 0 ? !0 : c;
1964
1964
  v && d && e.start(l);
@@ -2072,7 +2072,7 @@ function qo(t, e, r) {
2072
2072
  for (var i in e) {
2073
2073
  var s = e[i], o = r[i];
2074
2074
  if (q(s))
2075
- t.addValue(i, s), process.env.NODE_ENV === "development" && Dn(s.version === "6.5.1", "Attempting to mix Framer Motion versions ".concat(s.version, " with 6.5.1 may not work as expected."));
2075
+ t.addValue(i, s), process.env.NODE_ENV === "development" && Mn(s.version === "6.5.1", "Attempting to mix Framer Motion versions ".concat(s.version, " with 6.5.1 may not work as expected."));
2076
2076
  else if (q(o))
2077
2077
  t.addValue(i, dt(s));
2078
2078
  else if (o !== s)
@@ -2091,9 +2091,9 @@ var kn = function(t) {
2091
2091
  return function(c, d) {
2092
2092
  var p = c.parent, h = c.props, g = c.presenceId, b = c.blockInitialAnimation, P = c.visualState, S = c.shouldReduceMotion;
2093
2093
  d === void 0 && (d = {});
2094
- var C = !1, A = P.latestValues, I = P.renderState, M, x = $o(), w = /* @__PURE__ */ new Map(), D = /* @__PURE__ */ new Map(), K = {}, B = m({}, A), H;
2094
+ var C = !1, A = P.latestValues, I = P.renderState, D, x = $o(), w = /* @__PURE__ */ new Map(), M = /* @__PURE__ */ new Map(), G = {}, B = m({}, A), H;
2095
2095
  function rt() {
2096
- !M || !C || (nt(), a(M, I, h.style, E.projection));
2096
+ !D || !C || (nt(), a(D, I, h.style, E.projection));
2097
2097
  }
2098
2098
  function nt() {
2099
2099
  n(E, I, A, d, h);
@@ -2101,11 +2101,11 @@ var kn = function(t) {
2101
2101
  function it() {
2102
2102
  x.notifyUpdate(A);
2103
2103
  }
2104
- function G(y, V) {
2105
- var U = V.onChange(function(Kt) {
2106
- A[y] = Kt, h.onUpdate && Z.update(it, !1, !0);
2104
+ function K(y, V) {
2105
+ var U = V.onChange(function(Gt) {
2106
+ A[y] = Gt, h.onUpdate && Z.update(it, !1, !0);
2107
2107
  }), At = V.onRenderRequest(E.scheduleRender);
2108
- D.set(y, function() {
2108
+ M.set(y, function() {
2109
2109
  U(), At();
2110
2110
  });
2111
2111
  }
@@ -2165,11 +2165,11 @@ var kn = function(t) {
2165
2165
  * own animations on mount.
2166
2166
  */
2167
2167
  isMounted: function() {
2168
- return !!M;
2168
+ return !!D;
2169
2169
  },
2170
2170
  mount: function(y) {
2171
- C = !0, M = E.current = y, E.projection && E.projection.mount(y), _ && p && !ht && (H = p?.addVariantChild(E)), w.forEach(function(V, U) {
2172
- return G(U, V);
2171
+ C = !0, D = E.current = y, E.projection && E.projection.mount(y), _ && p && !ht && (H = p?.addVariantChild(E)), w.forEach(function(V, U) {
2172
+ return K(U, V);
2173
2173
  }), p?.children.add(E), E.setProps(h);
2174
2174
  },
2175
2175
  /**
@@ -2177,9 +2177,9 @@ var kn = function(t) {
2177
2177
  */
2178
2178
  unmount: function() {
2179
2179
  var y;
2180
- (y = E.projection) === null || y === void 0 || y.unmount(), Ft.update(it), Ft.render(rt), D.forEach(function(V) {
2180
+ (y = E.projection) === null || y === void 0 || y.unmount(), Ft.update(it), Ft.render(rt), M.forEach(function(V) {
2181
2181
  return V();
2182
- }), H?.(), p?.children.delete(E), x.clearAllListeners(), M = void 0, C = !1;
2182
+ }), H?.(), p?.children.delete(E), x.clearAllListeners(), D = void 0, C = !1;
2183
2183
  },
2184
2184
  /**
2185
2185
  * Add a child visual element to our set of children.
@@ -2211,7 +2211,7 @@ var kn = function(t) {
2211
2211
  * Returns the current instance.
2212
2212
  */
2213
2213
  getInstance: function() {
2214
- return M;
2214
+ return D;
2215
2215
  },
2216
2216
  /**
2217
2217
  * Get/set the latest static values.
@@ -2253,21 +2253,21 @@ var kn = function(t) {
2253
2253
  * removed with a re-render to work.
2254
2254
  */
2255
2255
  measureViewportBox: function() {
2256
- return o(M, h);
2256
+ return o(D, h);
2257
2257
  },
2258
2258
  // Motion values ========================
2259
2259
  /**
2260
2260
  * Add a motion value and bind it to this visual element.
2261
2261
  */
2262
2262
  addValue: function(y, V) {
2263
- E.hasValue(y) && E.removeValue(y), w.set(y, V), A[y] = V.get(), G(y, V);
2263
+ E.hasValue(y) && E.removeValue(y), w.set(y, V), A[y] = V.get(), K(y, V);
2264
2264
  },
2265
2265
  /**
2266
2266
  * Remove a motion value and unbind any active subscriptions.
2267
2267
  */
2268
2268
  removeValue: function(y) {
2269
2269
  var V;
2270
- w.delete(y), (V = D.get(y)) === null || V === void 0 || V(), D.delete(y), delete A[y], l(y, I);
2270
+ w.delete(y), (V = M.get(y)) === null || V === void 0 || V(), M.delete(y), delete A[y], l(y, I);
2271
2271
  },
2272
2272
  /**
2273
2273
  * Check whether we have a motion value for this key
@@ -2296,7 +2296,7 @@ var kn = function(t) {
2296
2296
  */
2297
2297
  readValue: function(y) {
2298
2298
  var V;
2299
- return (V = A[y]) !== null && V !== void 0 ? V : u(M, y, d);
2299
+ return (V = A[y]) !== null && V !== void 0 ? V : u(D, y, d);
2300
2300
  },
2301
2301
  /**
2302
2302
  * Set the base target to later animate back to. This is currently
@@ -2342,7 +2342,7 @@ var kn = function(t) {
2342
2342
  * added to our map, old ones removed, and listeners updated.
2343
2343
  */
2344
2344
  setProps: function(y) {
2345
- (y.transformTemplate || h.transformTemplate) && E.scheduleRender(), h = y, x.updatePropListeners(y), K = qo(E, v(h), K);
2345
+ (y.transformTemplate || h.transformTemplate) && E.scheduleRender(), h = y, x.updatePropListeners(y), G = qo(E, v(h), G);
2346
2346
  },
2347
2347
  getProps: function() {
2348
2348
  return h;
@@ -2375,8 +2375,8 @@ var kn = function(t) {
2375
2375
  return h.initial !== void 0 && (V.initial = h.initial), V;
2376
2376
  }
2377
2377
  for (var U = {}, At = 0; At < Jo; At++) {
2378
- var Kt = Xn[At], ae = h[Kt];
2379
- (W(ae) || ae === !1) && (U[Kt] = ae);
2378
+ var Gt = Xn[At], ae = h[Gt];
2379
+ (W(ae) || ae === !1) && (U[Gt] = ae);
2380
2380
  }
2381
2381
  return U;
2382
2382
  }
@@ -2616,7 +2616,7 @@ var qn = {
2616
2616
  }, render: Pn })), ps = function(t, e) {
2617
2617
  return Oe(t) ? ds(e, { enableHardwareAcceleration: !1 }) : vs(e, { enableHardwareAcceleration: !0 });
2618
2618
  };
2619
- function Mr(t, e) {
2619
+ function Dr(t, e) {
2620
2620
  return e.max === e.min ? 0 : t / (e.max - e.min) * 100;
2621
2621
  }
2622
2622
  var Et = {
@@ -2628,14 +2628,14 @@ var Et = {
2628
2628
  t = parseFloat(t);
2629
2629
  else
2630
2630
  return t;
2631
- var r = Mr(t, e.target.x), n = Mr(t, e.target.y);
2631
+ var r = Dr(t, e.target.x), n = Dr(t, e.target.y);
2632
2632
  return "".concat(r, "% ").concat(n, "%");
2633
2633
  }
2634
- }, Dr = "_$css", hs = {
2634
+ }, Mr = "_$css", hs = {
2635
2635
  correct: function(t, e) {
2636
2636
  var r = e.treeScale, n = e.projectionDelta, i = t, s = t.includes("var("), o = [];
2637
2637
  s && (t = t.replace(Wn, function(h) {
2638
- return o.push(h), Dr;
2638
+ return o.push(h), Mr;
2639
2639
  }));
2640
2640
  var a = Pt.parse(t);
2641
2641
  if (a.length > 5)
@@ -2647,7 +2647,7 @@ var Et = {
2647
2647
  var d = u(a);
2648
2648
  if (s) {
2649
2649
  var p = 0;
2650
- d = d.replace(Dr, function() {
2650
+ d = d.replace(Mr, function() {
2651
2651
  var h = o[p];
2652
2652
  return p++, h;
2653
2653
  });
@@ -2849,7 +2849,7 @@ function Hr(t, e, r) {
2849
2849
  }
2850
2850
  var Rs = function(t, e) {
2851
2851
  return t.depth - e.depth;
2852
- }, Ms = (
2852
+ }, Ds = (
2853
2853
  /** @class */
2854
2854
  function() {
2855
2855
  function t() {
@@ -2878,7 +2878,7 @@ function ri(t) {
2878
2878
  }, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.id = a, this.latestValues = u, this.root = l ? l.root || l : this, this.path = l ? z(z([], R(l.path), !1), [l], !1) : [], this.parent = l, this.depth = l ? l.depth + 1 : 0, a && this.root.registerPotentialNode(a, this);
2879
2879
  for (var v = 0; v < this.path.length; v++)
2880
2880
  this.path[v].shouldResetTransform = !0;
2881
- this.root === this && (this.nodes = new Ms());
2881
+ this.root === this && (this.nodes = new Ds());
2882
2882
  }
2883
2883
  return o.prototype.addEventListener = function(a, u) {
2884
2884
  return this.eventHandlers.has(a) || this.eventHandlers.set(a, new Rt()), this.eventHandlers.get(a).add(u);
@@ -2905,19 +2905,19 @@ function ri(t) {
2905
2905
  });
2906
2906
  }
2907
2907
  c && this.root.registerSharedNode(c, this), this.options.animate !== !1 && p && (c || d) && this.addEventListener("didUpdate", function(b) {
2908
- var P, S, C, A, I, M = b.delta, x = b.hasLayoutChanged, w = b.hasRelativeTargetChanged, D = b.layout;
2908
+ var P, S, C, A, I, D = b.delta, x = b.hasLayoutChanged, w = b.hasRelativeTargetChanged, M = b.layout;
2909
2909
  if (l.isTreeAnimationBlocked()) {
2910
2910
  l.target = void 0, l.relativeTarget = void 0;
2911
2911
  return;
2912
2912
  }
2913
- var K = (S = (P = l.options.transition) !== null && P !== void 0 ? P : p.getDefaultTransition()) !== null && S !== void 0 ? S : Ks, B = p.getProps(), H = B.onLayoutAnimationStart, rt = B.onLayoutAnimationComplete, nt = !l.targetLayout || !ei(l.targetLayout, D) || w, it = !x && w;
2913
+ var G = (S = (P = l.options.transition) !== null && P !== void 0 ? P : p.getDefaultTransition()) !== null && S !== void 0 ? S : Gs, B = p.getProps(), H = B.onLayoutAnimationStart, rt = B.onLayoutAnimationComplete, nt = !l.targetLayout || !ei(l.targetLayout, M) || w, it = !x && w;
2914
2914
  if (!((C = l.resumeFrom) === null || C === void 0) && C.instance || it || x && (nt || !l.currentAnimation)) {
2915
- l.resumeFrom && (l.resumingFrom = l.resumeFrom, l.resumingFrom.resumingFrom = void 0), l.setAnimationOrigin(M, it);
2916
- var G = m(m({}, Ge(K, "layout")), { onPlay: H, onComplete: rt });
2917
- p.shouldReduceMotion && (G.delay = 0, G.type = !1), l.startAnimation(G);
2915
+ l.resumeFrom && (l.resumingFrom = l.resumeFrom, l.resumingFrom.resumingFrom = void 0), l.setAnimationOrigin(D, it);
2916
+ var K = m(m({}, Ke(G, "layout")), { onPlay: H, onComplete: rt });
2917
+ p.shouldReduceMotion && (K.delay = 0, K.type = !1), l.startAnimation(K);
2918
2918
  } else
2919
2919
  !x && l.animationProgress === 0 && l.finishAnimation(), l.isLead() && ((I = (A = l.options).onExitComplete) === null || I === void 0 || I.call(A));
2920
- l.targetLayout = D;
2920
+ l.targetLayout = M;
2921
2921
  });
2922
2922
  }
2923
2923
  }, o.prototype.unmount = function() {
@@ -2956,10 +2956,10 @@ function ri(t) {
2956
2956
  }, o.prototype.didUpdate = function() {
2957
2957
  var a = this.isUpdateBlocked();
2958
2958
  if (a) {
2959
- this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Kr);
2959
+ this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Gr);
2960
2960
  return;
2961
2961
  }
2962
- this.isUpdating && (this.isUpdating = !1, this.potentialNodes.size && (this.potentialNodes.forEach(Gs), this.potentialNodes.clear()), this.nodes.forEach(Fs), this.nodes.forEach(Ds), this.nodes.forEach(Is), this.clearAllSnapshots(), se.update(), se.preRender(), se.render());
2962
+ this.isUpdating && (this.isUpdating = !1, this.potentialNodes.size && (this.potentialNodes.forEach(Ks), this.potentialNodes.clear()), this.nodes.forEach(Fs), this.nodes.forEach(Ms), this.nodes.forEach(Is), this.clearAllSnapshots(), se.update(), se.preRender(), se.render());
2963
2963
  }, o.prototype.clearAllSnapshots = function() {
2964
2964
  this.nodes.forEach(Os), this.sharedNodes.forEach(Ns);
2965
2965
  }, o.prototype.scheduleUpdateProjection = function() {
@@ -3041,7 +3041,7 @@ function ri(t) {
3041
3041
  for (var f = 0; f < this.path.length; f++) {
3042
3042
  var v = this.path[f];
3043
3043
  if (v.instance && ot(v.latestValues)) {
3044
- Kn(v.latestValues) && v.updateSnapshot();
3044
+ Gn(v.latestValues) && v.updateSnapshot();
3045
3045
  var c = j(), d = v.measure();
3046
3046
  k(c, d), _r(l, v.latestValues, (u = v.snapshot) === null || u === void 0 ? void 0 : u.layout, c);
3047
3047
  }
@@ -3056,7 +3056,7 @@ function ri(t) {
3056
3056
  this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
3057
3057
  }, o.prototype.resolveTargetDelta = function() {
3058
3058
  var a, u = this.options, l = u.layout, f = u.layoutId;
3059
- !this.layout || !(l || f) || (!this.targetDelta && !this.relativeTarget && (this.relativeParent = this.getClosestProjectingParent(), this.relativeParent && this.relativeParent.layout && (this.relativeTarget = j(), this.relativeTargetOrigin = j(), Dt(this.relativeTargetOrigin, this.layout.actual, this.relativeParent.layout.actual), k(this.relativeTarget, this.relativeTargetOrigin))), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = j(), this.targetWithTransforms = j()), this.relativeTarget && this.relativeTargetOrigin && (!((a = this.relativeParent) === null || a === void 0) && a.target) ? Mo(this.target, this.relativeTarget, this.relativeParent.target) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.actual) : k(this.target, this.layout.actual), Gn(this.target, this.targetDelta)) : k(this.target, this.layout.actual), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.relativeParent = this.getClosestProjectingParent(), this.relativeParent && !!this.relativeParent.resumingFrom == !!this.resumingFrom && !this.relativeParent.options.layoutScroll && this.relativeParent.target && (this.relativeTarget = j(), this.relativeTargetOrigin = j(), Dt(this.relativeTargetOrigin, this.target, this.relativeParent.target), k(this.relativeTarget, this.relativeTargetOrigin)))));
3059
+ !this.layout || !(l || f) || (!this.targetDelta && !this.relativeTarget && (this.relativeParent = this.getClosestProjectingParent(), this.relativeParent && this.relativeParent.layout && (this.relativeTarget = j(), this.relativeTargetOrigin = j(), Mt(this.relativeTargetOrigin, this.layout.actual, this.relativeParent.layout.actual), k(this.relativeTarget, this.relativeTargetOrigin))), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = j(), this.targetWithTransforms = j()), this.relativeTarget && this.relativeTargetOrigin && (!((a = this.relativeParent) === null || a === void 0) && a.target) ? Do(this.target, this.relativeTarget, this.relativeParent.target) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.actual) : k(this.target, this.layout.actual), Kn(this.target, this.targetDelta)) : k(this.target, this.layout.actual), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.relativeParent = this.getClosestProjectingParent(), this.relativeParent && !!this.relativeParent.resumingFrom == !!this.resumingFrom && !this.relativeParent.options.layoutScroll && this.relativeParent.target && (this.relativeTarget = j(), this.relativeTargetOrigin = j(), Mt(this.relativeTargetOrigin, this.target, this.relativeParent.target), k(this.relativeTarget, this.relativeTargetOrigin)))));
3060
3060
  }, o.prototype.getClosestProjectingParent = function() {
3061
3061
  if (!(!this.parent || ot(this.parent.latestValues)))
3062
3062
  return (this.parent.relativeTarget || this.parent.targetDelta) && this.parent.layout ? this.parent : this.parent.getClosestProjectingParent();
@@ -3069,7 +3069,7 @@ function ri(t) {
3069
3069
  if (c) {
3070
3070
  this.projectionDelta || (this.projectionDelta = It(), this.projectionDeltaWithTransform = It());
3071
3071
  var d = this.treeScale.x, p = this.treeScale.y, h = this.projectionTransform;
3072
- Mt(this.projectionDelta, this.layoutCorrected, c, this.latestValues), this.projectionTransform = Hr(this.projectionDelta, this.treeScale), (this.projectionTransform !== h || this.treeScale.x !== d || this.treeScale.y !== p) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", c));
3072
+ Dt(this.projectionDelta, this.layoutCorrected, c, this.latestValues), this.projectionTransform = Hr(this.projectionDelta, this.treeScale), (this.projectionTransform !== h || this.treeScale.x !== d || this.treeScale.y !== p) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", c));
3073
3073
  }
3074
3074
  }
3075
3075
  }, o.prototype.hide = function() {
@@ -3087,7 +3087,7 @@ function ri(t) {
3087
3087
  var h = j(), g = v?.isShared, b = (((f = this.getStack()) === null || f === void 0 ? void 0 : f.members.length) || 0) <= 1, P = !!(g && !b && this.options.crossfade === !0 && !this.path.some(zs));
3088
3088
  this.animationProgress = 0, this.mixTargetDelta = function(S) {
3089
3089
  var C, A = S / 1e3;
3090
- Gr(p.x, a.x, A), Gr(p.y, a.y, A), l.setTargetDelta(p), l.relativeTarget && l.relativeTargetOrigin && l.layout && (!((C = l.relativeParent) === null || C === void 0) && C.layout) && (Dt(h, l.layout.actual, l.relativeParent.layout.actual), Hs(l.relativeTarget, l.relativeTargetOrigin, h, A)), g && (l.animationValues = d, Ts(d, c, l.latestValues, A, P, b)), l.root.scheduleUpdateProjection(), l.scheduleRender(), l.animationProgress = A;
3090
+ Kr(p.x, a.x, A), Kr(p.y, a.y, A), l.setTargetDelta(p), l.relativeTarget && l.relativeTargetOrigin && l.layout && (!((C = l.relativeParent) === null || C === void 0) && C.layout) && (Mt(h, l.layout.actual, l.relativeParent.layout.actual), Hs(l.relativeTarget, l.relativeTargetOrigin, h, A)), g && (l.animationValues = d, Ts(d, c, l.latestValues, A, P, b)), l.root.scheduleUpdateProjection(), l.scheduleRender(), l.animationProgress = A;
3091
3091
  }, this.mixTargetDelta(0);
3092
3092
  }, o.prototype.startAnimation = function(a) {
3093
3093
  var u = this, l, f;
@@ -3108,7 +3108,7 @@ function ri(t) {
3108
3108
  this.currentAnimation && ((a = this.mixTargetDelta) === null || a === void 0 || a.call(this, zr), this.currentAnimation.stop()), this.completeAnimation();
3109
3109
  }, o.prototype.applyTransformsToTarget = function() {
3110
3110
  var a = this.getLead(), u = a.targetWithTransforms, l = a.target, f = a.layout, v = a.latestValues;
3111
- !u || !l || !f || (k(u, l), yt(u, v), Mt(this.projectionDeltaWithTransform, this.layoutCorrected, u, v));
3111
+ !u || !l || !f || (k(u, l), yt(u, v), Dt(this.projectionDeltaWithTransform, this.layoutCorrected, u, v));
3112
3112
  }, o.prototype.registerSharedNode = function(a, u) {
3113
3113
  var l, f, v;
3114
3114
  this.sharedNodes.has(a) || this.sharedNodes.set(a, new Es());
@@ -3174,12 +3174,12 @@ function ri(t) {
3174
3174
  p.transformOrigin = "".concat(C.origin * 100, "% ").concat(A.origin * 100, "% 0"), g.animationValues ? p.opacity = g === this ? (v = (f = P.opacity) !== null && f !== void 0 ? f : this.latestValues.opacity) !== null && v !== void 0 ? v : 1 : this.preserveOpacity ? this.latestValues.opacity : P.opacityExit : p.opacity = g === this ? (c = P.opacity) !== null && c !== void 0 ? c : "" : (d = P.opacityExit) !== null && d !== void 0 ? d : 0;
3175
3175
  for (var I in $t)
3176
3176
  if (P[I] !== void 0) {
3177
- var M = $t[I], x = M.correct, w = M.applyTo, D = x(P[I], g);
3177
+ var D = $t[I], x = D.correct, w = D.applyTo, M = x(P[I], g);
3178
3178
  if (w)
3179
- for (var K = w.length, B = 0; B < K; B++)
3180
- p[w[B]] = D;
3179
+ for (var G = w.length, B = 0; B < G; B++)
3180
+ p[w[B]] = M;
3181
3181
  else
3182
- p[I] = D;
3182
+ p[I] = M;
3183
3183
  }
3184
3184
  return this.options.layoutId && (p.pointerEvents = g === this ? Zt(a.pointerEvents) || "" : "none"), p;
3185
3185
  }, o.prototype.clearSnapshot = function() {
@@ -3188,12 +3188,12 @@ function ri(t) {
3188
3188
  this.root.nodes.forEach(function(a) {
3189
3189
  var u;
3190
3190
  return (u = a.currentAnimation) === null || u === void 0 ? void 0 : u.stop();
3191
- }), this.root.nodes.forEach(Kr), this.root.sharedNodes.clear();
3191
+ }), this.root.nodes.forEach(Gr), this.root.sharedNodes.clear();
3192
3192
  }, o;
3193
3193
  }()
3194
3194
  );
3195
3195
  }
3196
- function Ds(t) {
3196
+ function Ms(t) {
3197
3197
  t.updateLayout();
3198
3198
  }
3199
3199
  function Is(t) {
@@ -3208,17 +3208,17 @@ function Is(t) {
3208
3208
  S.max = S.min + C;
3209
3209
  });
3210
3210
  var l = It();
3211
- Mt(l, a, s.layout);
3211
+ Dt(l, a, s.layout);
3212
3212
  var f = It();
3213
- s.isShared ? Mt(f, t.applyTransform(u, !0), s.measured) : Mt(f, a, s.layout);
3213
+ s.isShared ? Dt(f, t.applyTransform(u, !0), s.measured) : Dt(f, a, s.layout);
3214
3214
  var v = !ti(l), c = !1;
3215
3215
  if (!t.resumeFrom && (t.relativeParent = t.getClosestProjectingParent(), t.relativeParent && !t.relativeParent.resumeFrom)) {
3216
3216
  var d = t.relativeParent, p = d.snapshot, h = d.layout;
3217
3217
  if (p && h) {
3218
3218
  var g = j();
3219
- Dt(g, s.layout, p.layout);
3219
+ Mt(g, s.layout, p.layout);
3220
3220
  var b = j();
3221
- Dt(b, a, h.actual), ei(g, b) || (c = !0);
3221
+ Mt(b, a, h.actual), ei(g, b) || (c = !0);
3222
3222
  }
3223
3223
  }
3224
3224
  t.notifyListeners("didUpdate", {
@@ -3235,7 +3235,7 @@ function Is(t) {
3235
3235
  function Os(t) {
3236
3236
  t.clearSnapshot();
3237
3237
  }
3238
- function Kr(t) {
3238
+ function Gr(t) {
3239
3239
  t.clearMeasurements();
3240
3240
  }
3241
3241
  function Fs(t) {
@@ -3257,7 +3257,7 @@ function _s(t) {
3257
3257
  function Ns(t) {
3258
3258
  t.removeLeadSnapshot();
3259
3259
  }
3260
- function Gr(t, e, r) {
3260
+ function Kr(t, e, r) {
3261
3261
  t.translate = O(e.translate, 0, r), t.scale = O(e.scale, 1, r), t.origin = e.origin, t.originPoint = e.originPoint;
3262
3262
  }
3263
3263
  function Yr(t, e, r, n) {
@@ -3269,11 +3269,11 @@ function Hs(t, e, r, n) {
3269
3269
  function zs(t) {
3270
3270
  return t.animationValues && t.animationValues.opacityExit !== void 0;
3271
3271
  }
3272
- var Ks = {
3272
+ var Gs = {
3273
3273
  duration: 0.45,
3274
3274
  ease: [0.4, 0, 0.1, 1]
3275
3275
  };
3276
- function Gs(t, e) {
3276
+ function Ks(t, e) {
3277
3277
  for (var r = t.root, n = t.path.length - 1; n >= 0; n--)
3278
3278
  if (t.path[n].instance) {
3279
3279
  r = t.path[n];
@@ -3323,7 +3323,7 @@ var Ys = ri({
3323
3323
  checkIsScrollRoot: function(t) {
3324
3324
  return window.getComputedStyle(t).position === "fixed";
3325
3325
  }
3326
- }), Xs = m(m(m(m({}, Eo), ka), Zo), bs), ou = /* @__PURE__ */ qi(function(t, e) {
3326
+ }), Xs = m(m(m(m({}, Eo), ka), Zo), bs), su = /* @__PURE__ */ qi(function(t, e) {
3327
3327
  return Ca(t, e, Xs, ps, ks);
3328
3328
  });
3329
3329
  function ni() {
@@ -3335,7 +3335,7 @@ function ni() {
3335
3335
  }, []), t;
3336
3336
  }
3337
3337
  function Ws() {
3338
- var t = ni(), e = R(Me(0), 2), r = e[0], n = e[1], i = ye(function() {
3338
+ var t = ni(), e = R(De(0), 2), r = e[0], n = e[1], i = ye(function() {
3339
3339
  t.current && n(r + 1);
3340
3340
  }, [r]), s = ye(function() {
3341
3341
  return Z.postRender(i);
@@ -3407,10 +3407,10 @@ function $s(t, e) {
3407
3407
  function qs(t) {
3408
3408
  var e = [];
3409
3409
  return Ri.forEach(t, function(r) {
3410
- Mi(r) && e.push(r);
3410
+ Di(r) && e.push(r);
3411
3411
  }), e;
3412
3412
  }
3413
- var su = function(t) {
3413
+ var uu = function(t) {
3414
3414
  var e = t.children, r = t.custom, n = t.initial, i = n === void 0 ? !0 : n, s = t.onExitComplete, o = t.exitBeforeEnter, a = t.presenceAffectsLayout, u = a === void 0 ? !0 : a, l = R(Ws(), 1), f = l[0], v = F(Ie).forceRender;
3415
3415
  v && (f = v);
3416
3416
  var c = ni(), d = qs(e), p = d, h = /* @__PURE__ */ new Set(), g = $(p), b = $(/* @__PURE__ */ new Map()).current, P = $(!0);
@@ -3424,14 +3424,14 @@ var su = function(t) {
3424
3424
  }));
3425
3425
  p = z([], R(p), !1);
3426
3426
  for (var S = g.current.map(mt), C = d.map(mt), A = S.length, I = 0; I < A; I++) {
3427
- var M = S[I];
3428
- C.indexOf(M) === -1 && h.add(M);
3427
+ var D = S[I];
3428
+ C.indexOf(D) === -1 && h.add(D);
3429
3429
  }
3430
3430
  return o && h.size && (p = []), h.forEach(function(x) {
3431
3431
  if (C.indexOf(x) === -1) {
3432
3432
  var w = b.get(x);
3433
3433
  if (w) {
3434
- var D = S.indexOf(x), K = function() {
3434
+ var M = S.indexOf(x), G = function() {
3435
3435
  b.delete(x), h.delete(x);
3436
3436
  var B = g.current.findIndex(function(H) {
3437
3437
  return H.key === x;
@@ -3442,13 +3442,13 @@ var su = function(t) {
3442
3442
  f(), s && s();
3443
3443
  }
3444
3444
  };
3445
- p.splice(D, 0, Y.createElement(pe, { key: mt(w), isPresent: !1, onExitComplete: K, custom: r, presenceAffectsLayout: u }, w));
3445
+ p.splice(M, 0, Y.createElement(pe, { key: mt(w), isPresent: !1, onExitComplete: G, custom: r, presenceAffectsLayout: u }, w));
3446
3446
  }
3447
3447
  }
3448
3448
  }), p = p.map(function(x) {
3449
3449
  var w = x.key;
3450
3450
  return h.has(w) ? x : Y.createElement(pe, { key: mt(x), isPresent: !0, presenceAffectsLayout: u }, x);
3451
- }), De !== "production" && o && p.length > 1 && console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."), Y.createElement(Y.Fragment, null, h.size ? p : p.map(function(x) {
3451
+ }), Me !== "production" && o && p.length > 1 && console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."), Y.createElement(Y.Fragment, null, h.size ? p : p.map(function(x) {
3452
3452
  return Li(x);
3453
3453
  }));
3454
3454
  };
@@ -3457,7 +3457,7 @@ function ii(t) {
3457
3457
  return dt(t);
3458
3458
  }), r = F(_t).isStatic;
3459
3459
  if (r) {
3460
- var n = R(Me(t), 2), i = n[1];
3460
+ var n = R(De(t), 2), i = n[1];
3461
3461
  N(function() {
3462
3462
  return e.onChange(i);
3463
3463
  }, []);
@@ -3501,7 +3501,7 @@ function ai(t, e) {
3501
3501
  return Z.update(n, !1, !0);
3502
3502
  }), r;
3503
3503
  }
3504
- function uu(t, e, r, n) {
3504
+ function lu(t, e, r, n) {
3505
3505
  var i = typeof e == "function" ? e : tu(e, r, n);
3506
3506
  return Array.isArray(t) ? Wr(t, i) : Wr([t], function(s) {
3507
3507
  var o = R(s, 1), a = o[0];
@@ -3519,7 +3519,7 @@ function Wr(t, e) {
3519
3519
  return e(r);
3520
3520
  });
3521
3521
  }
3522
- function lu(t) {
3522
+ function fu(t) {
3523
3523
  for (var e = [], r = 1; r < arguments.length; r++)
3524
3524
  e[r - 1] = arguments[r];
3525
3525
  var n = t.length;
@@ -3533,7 +3533,7 @@ function lu(t) {
3533
3533
  }
3534
3534
  return ai(e, i);
3535
3535
  }
3536
- function fu(t, e) {
3536
+ function cu(t, e) {
3537
3537
  e === void 0 && (e = {});
3538
3538
  var r = F(_t).isStatic, n = $(null), i = ii(q(t) ? t.get() : t);
3539
3539
  return Vt(function() {
@@ -3588,17 +3588,19 @@ function nu() {
3588
3588
  };
3589
3589
  return n;
3590
3590
  }
3591
- function cu() {
3591
+ function iu() {
3592
3592
  var t = ft(nu);
3593
3593
  return N(t.mount, []), t;
3594
3594
  }
3595
+ var vu = iu;
3595
3596
  export {
3596
- su as A,
3597
+ uu as A,
3597
3598
  Ps as a,
3598
- uu as b,
3599
- lu as c,
3600
- fu as d,
3601
- cu as e,
3602
- ou as m,
3599
+ lu as b,
3600
+ fu as c,
3601
+ cu as d,
3602
+ vu as e,
3603
+ iu as f,
3604
+ su as m,
3603
3605
  ii as u
3604
3606
  };