@devtron-labs/devtron-fe-common-lib 1.21.0-beta-2 → 1.21.0-beta-4

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-BeRIvMlJ.js → @code-editor-BfqG9Eov.js} +17535 -18946
  2. package/dist/{@common-rjsf-DlmUYaoA.js → @common-rjsf-B20unqUl.js} +30 -30
  3. package/dist/{@framer-motion-DiccRE_m.js → @framer-motion-DZveCoIL.js} +194 -196
  4. package/dist/{@moment-CwOqp704.js → @moment-CGWt8tF2.js} +524 -493
  5. package/dist/@react-dates-CZ1bNWJM.js +7634 -0
  6. package/dist/{@react-select-C8Ggns2W.js → @react-select-DS68hCUM.js} +1 -1
  7. package/dist/{@react-virtualized-sticky-tree-ecV8cl3B.js → @react-virtualized-sticky-tree-V-8klKy9.js} +1 -1
  8. package/dist/{@vendor-CIVr12Xb.js → @vendor-3ORIJA0h.js} +28715 -33811
  9. package/dist/Common/API/types.d.ts +1 -1
  10. package/dist/Common/BreadCrumb/Types.d.ts +0 -20
  11. package/dist/Common/ClipboardButton/ClipboardButton.d.ts +2 -2
  12. package/dist/Common/ClipboardButton/types.d.ts +2 -12
  13. package/dist/Common/Common.service.d.ts +1 -4
  14. package/dist/Common/Constants.d.ts +16 -69
  15. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -1
  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 +0 -8
  19. package/dist/Common/SegmentedBarChart/types.d.ts +2 -10
  20. package/dist/Common/SegmentedControl/Segment.d.ts +1 -1
  21. package/dist/Common/SegmentedControl/SegmentedControl.component.d.ts +1 -1
  22. package/dist/Common/SegmentedControl/index.d.ts +1 -1
  23. package/dist/Common/SegmentedControl/types.d.ts +9 -13
  24. package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
  25. package/dist/Common/Types.d.ts +5 -64
  26. package/dist/Common/index.d.ts +1 -1
  27. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
  28. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -0
  29. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +7 -13
  30. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -1
  31. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +8 -0
  32. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +3 -3
  33. package/dist/Pages/ResourceBrowser/constants.d.ts +8 -8
  34. package/dist/Pages/ResourceBrowser/types.d.ts +1 -2
  35. package/dist/Shared/Components/ActionMenu/types.d.ts +0 -3
  36. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +2 -2
  37. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  38. package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
  39. package/dist/Shared/Components/Badge/utils.d.ts +1 -2
  40. package/dist/Shared/Components/Button/Button.component.d.ts +12 -12
  41. package/dist/Shared/Components/CICDHistory/ConflictedResourcesTable.d.ts +3 -0
  42. package/dist/Shared/Components/CICDHistory/ResourceConflictDeployDialog.d.ts +3 -0
  43. package/dist/Shared/Components/CICDHistory/ResourceConflictDetailsModal.d.ts +3 -0
  44. package/dist/Shared/Components/CICDHistory/TriggerDetails.d.ts +1 -1
  45. package/dist/Shared/Components/CICDHistory/WorkerStatus.d.ts +1 -1
  46. package/dist/Shared/Components/CICDHistory/constants.d.ts +4 -1
  47. package/dist/Shared/Components/CICDHistory/service.d.ts +3 -1
  48. package/dist/Shared/Components/CICDHistory/types.d.ts +65 -1
  49. package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -0
  50. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
  51. package/dist/Shared/Components/DTFocusTrap/types.d.ts +1 -2
  52. package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +1 -1
  53. package/dist/Shared/Components/DatePicker/DayPickerRangeController.d.ts +2 -0
  54. package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +11 -0
  55. package/dist/Shared/Components/DatePicker/constants.d.ts +112 -2
  56. package/dist/Shared/Components/DatePicker/index.d.ts +2 -0
  57. package/dist/Shared/Components/DatePicker/types.d.ts +29 -34
  58. package/dist/Shared/Components/DatePicker/utils.d.ts +1 -1
  59. package/dist/Shared/Components/DocLink/constants.d.ts +0 -3
  60. package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
  61. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
  62. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -2
  63. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +5 -21
  64. package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -1
  65. package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +3 -1
  66. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  67. package/dist/Shared/Components/Header/types.d.ts +0 -2
  68. package/dist/Shared/Components/Icon/Icon.d.ts +0 -69
  69. package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
  70. package/dist/Shared/Components/Icon/types.d.ts +0 -6
  71. package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -6
  72. package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +1 -1
  73. package/dist/Shared/Components/Security/SecurityModal/index.d.ts +1 -1
  74. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +3 -3
  75. package/dist/Shared/Components/Security/constants.d.ts +0 -2
  76. package/dist/Shared/Components/Security/index.d.ts +0 -3
  77. package/dist/Shared/Components/Security/types.d.ts +0 -10
  78. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  79. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
  80. package/dist/Shared/Components/SelectPicker/index.d.ts +1 -1
  81. package/dist/Shared/Components/SelectPicker/type.d.ts +1 -3
  82. package/dist/Shared/Components/SelectPicker/utils.d.ts +0 -1
  83. package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
  84. package/dist/Shared/Components/Table/TableContent.d.ts +1 -1
  85. package/dist/Shared/Components/Table/types.d.ts +6 -12
  86. package/dist/Shared/Components/TrailingItem/types.d.ts +0 -4
  87. package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
  88. package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
  89. package/dist/Shared/Components/TreeView/constants.d.ts +0 -3
  90. package/dist/Shared/Components/TreeView/types.d.ts +3 -17
  91. package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +3 -3
  92. package/dist/Shared/Components/index.d.ts +0 -7
  93. package/dist/Shared/Helpers.d.ts +2 -11
  94. package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +5 -0
  95. package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +20 -5
  96. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
  97. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -32
  98. package/dist/Shared/Providers/MainContextProvider/types.d.ts +0 -9
  99. package/dist/Shared/Services/common.service.d.ts +0 -3
  100. package/dist/Shared/Services/types.d.ts +1 -10
  101. package/dist/Shared/constants.d.ts +16 -3
  102. package/dist/Shared/types.d.ts +0 -20
  103. package/dist/Shared/validations.d.ts +0 -2
  104. package/dist/assets/@code-editor.css +1 -1
  105. package/dist/assets/@react-dates.css +1 -0
  106. package/dist/assets/@vendor.css +1 -1
  107. package/dist/assets/ic-calender-blank.963e3423.svg +19 -0
  108. package/dist/index.d.ts +6 -5
  109. package/dist/index.js +970 -1020
  110. package/package.json +7 -7
  111. package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +0 -2
  112. package/dist/Common/SegmentedBarChart/utils.d.ts +0 -2
  113. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +0 -2
  114. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +0 -1
  115. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/index.d.ts +0 -2
  116. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +0 -6
  117. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +0 -1
  118. package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +0 -1
  119. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +0 -1
  120. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/index.d.ts +0 -1
  121. package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +0 -1
  122. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +0 -1
  123. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +0 -1
  124. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +0 -4
  125. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +0 -2
  126. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +0 -31
  127. package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +0 -1
  128. package/dist/Pages-Devtron-2.0/DataProtectionManagement/index.d.ts +0 -1
  129. package/dist/Pages-Devtron-2.0/DataProtectionManagement/types.d.ts +0 -8
  130. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +0 -1
  131. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +0 -1
  132. package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +0 -1
  133. package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +0 -1
  134. package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +0 -1
  135. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +0 -1
  136. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/index.d.ts +0 -2
  137. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +0 -6
  138. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +0 -1
  139. package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +0 -1
  140. package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +0 -11
  141. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +0 -1
  142. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/index.d.ts +0 -1
  143. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +0 -6
  144. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/index.d.ts +0 -1
  145. package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +0 -1
  146. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +0 -1
  147. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +0 -1
  148. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +0 -1
  149. package/dist/Pages-Devtron-2.0/index.d.ts +0 -5
  150. package/dist/Shared/Components/Card/Card.component.d.ts +0 -3
  151. package/dist/Shared/Components/Card/constants.d.ts +0 -4
  152. package/dist/Shared/Components/Card/index.d.ts +0 -2
  153. package/dist/Shared/Components/Card/types.d.ts +0 -25
  154. package/dist/Shared/Components/Charts/Chart.component.d.ts +0 -121
  155. package/dist/Shared/Components/Charts/constants.d.ts +0 -10
  156. package/dist/Shared/Components/Charts/index.d.ts +0 -4
  157. package/dist/Shared/Components/Charts/plugins.d.ts +0 -7
  158. package/dist/Shared/Components/Charts/types.d.ts +0 -135
  159. package/dist/Shared/Components/Charts/utils.d.ts +0 -30
  160. package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +0 -3
  161. package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +0 -1
  162. package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +0 -5
  163. package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +0 -2
  164. package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +0 -3
  165. package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +0 -3
  166. package/dist/Shared/Components/ExportToCsv/index.d.ts +0 -2
  167. package/dist/Shared/Components/ExportToCsv/types.d.ts +0 -64
  168. package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +0 -3
  169. package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +0 -3
  170. package/dist/Shared/Components/KeyboardShortcut/index.d.ts +0 -1
  171. package/dist/Shared/Components/KeyboardShortcut/types.d.ts +0 -4
  172. package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +0 -3
  173. package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +0 -2
  174. package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +0 -20
  175. package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +0 -2
  176. package/dist/Shared/Components/SideNavigation/index.d.ts +0 -2
  177. package/dist/Shared/Components/SideNavigation/types.d.ts +0 -19
  178. package/dist/assets/create-backup-schedule.bbac4a86.webp +0 -0
  179. package/dist/assets/create-backup-snapshot.c794f612.webp +0 -0
  180. package/dist/assets/ic-ai.25e44e0c.svg +0 -3
  181. package/dist/assets/ic-alibaba.518d61a4.svg +0 -3
  182. package/dist/assets/ic-application-group.4b448cca.svg +0 -3
  183. package/dist/assets/ic-application-management.7fb9e3a0.svg +0 -3
  184. package/dist/assets/ic-application-template.212d14f1.svg +0 -3
  185. package/dist/assets/ic-application.4c80bfcf.svg +0 -3
  186. package/dist/assets/ic-argocd-app.9c5eba79.svg +0 -61
  187. package/dist/assets/ic-arrow-line-down.b6a98848.svg +0 -3
  188. package/dist/assets/ic-aws.eb2d0124.svg +0 -12
  189. package/dist/assets/ic-backup-and-schedule.51b7d3dd.svg +0 -3
  190. package/dist/assets/ic-backup-color.dc62e9d5.svg +0 -6
  191. package/dist/assets/ic-backup-location.ebaf1148.svg +0 -3
  192. package/dist/assets/ic-backup-schedule-color.a16c34b0.svg +0 -5
  193. package/dist/assets/ic-bg-backup-schedule.9ef9bc39.svg +0 -19
  194. package/dist/assets/ic-bg-backups.396e99bd.svg +0 -19
  195. package/dist/assets/ic-bg-build.8609d0ea.svg +0 -13
  196. package/dist/assets/ic-bg-cpu.15ec70f0.svg +0 -11
  197. package/dist/assets/ic-bg-deploy.266711fe.svg +0 -22
  198. package/dist/assets/ic-bg-memory.5373a125.svg +0 -11
  199. package/dist/assets/ic-bg-pause-schedule.6edcc1d4.svg +0 -14
  200. package/dist/assets/ic-bg-production-pipelines.2951cdc0.svg +0 -22
  201. package/dist/assets/ic-bg-project.84658405.svg +0 -12
  202. package/dist/assets/ic-bg-ransomware-vulnerable-cluster.1b25a5d0.svg +0 -7
  203. package/dist/assets/ic-bg-restore.4fa13869.svg +0 -33
  204. package/dist/assets/ic-bg-scan.2249360c.svg +0 -28
  205. package/dist/assets/ic-bg-storage-locations.894070b0.svg +0 -22
  206. package/dist/assets/ic-bg-webhook.b455152d.svg +0 -13
  207. package/dist/assets/ic-bot.65f403dd.svg +0 -3
  208. package/dist/assets/ic-building.2405d07b.svg +0 -3
  209. package/dist/assets/ic-chart-line-up.7ab47f4e.svg +0 -3
  210. package/dist/assets/ic-check-circle.af18cd7e.svg +0 -3
  211. package/dist/assets/ic-circle-small.a0740b0e.svg +0 -3
  212. package/dist/assets/ic-clipboard.2869fa7d.svg +0 -3
  213. package/dist/assets/ic-clock-counterclockwise.3d7c2ef1.svg +0 -3
  214. package/dist/assets/ic-cloud-upload.55d9c163.svg +0 -3
  215. package/dist/assets/ic-coins-color-animated.fe11cdc3.svg +0 -112
  216. package/dist/assets/ic-coins.2c15f406.svg +0 -3
  217. package/dist/assets/ic-cost-visibility.5595009f.svg +0 -3
  218. package/dist/assets/ic-database-backup.b9e7c558.svg +0 -3
  219. package/dist/assets/ic-devtron-text.67a413b6.svg +0 -3
  220. package/dist/assets/ic-edit-lines.57927b07.svg +0 -3
  221. package/dist/assets/ic-file-download.ca57c068.svg +0 -5
  222. package/dist/assets/ic-files-changed.04e6de3f.svg +0 -3
  223. package/dist/assets/ic-floppy-disk.6d392bcd.svg +0 -3
  224. package/dist/assets/ic-fluxcd-app.7bf7dce5.svg +0 -22
  225. package/dist/assets/ic-global-overview.56ba9dc0.svg +0 -3
  226. package/dist/assets/ic-google-cloud.3077a8dd.svg +0 -6
  227. package/dist/assets/ic-infrastructure-management.4b052d41.svg +0 -3
  228. package/dist/assets/ic-kubernetes.7e04c3d2.svg +0 -4
  229. package/dist/assets/ic-magic-wand.2c29cd4e.svg +0 -10
  230. package/dist/assets/ic-oracle-cloud.5a8ee45d.svg +0 -3
  231. package/dist/assets/ic-otc-cloud.43b31bd8.svg +0 -5
  232. package/dist/assets/ic-party.cfc7e7c6.svg +0 -4
  233. package/dist/assets/ic-pause.4e5c6056.svg +0 -4
  234. package/dist/assets/ic-priority-medium-fill.7bab0ff8.svg +0 -4
  235. package/dist/assets/ic-release-hub.25b9707a.svg +0 -3
  236. package/dist/assets/ic-resource-browser.4ff3e571.svg +0 -3
  237. package/dist/assets/ic-resource-watcher.7cce5305.svg +0 -3
  238. package/dist/assets/ic-right-panel-collapse.0ecf8ceb.svg +0 -3
  239. package/dist/assets/ic-security-fixable.168b5bf8.svg +0 -12
  240. package/dist/assets/ic-security-not-fixable.be099f65.svg +0 -12
  241. package/dist/assets/ic-security-policy.874568da.svg +0 -3
  242. package/dist/assets/ic-security-scan.3ae78d50.svg +0 -3
  243. package/dist/assets/ic-security-vulnerability.c954b87a.svg +0 -4
  244. package/dist/assets/ic-software-release-management.dceedf80.svg +0 -3
  245. package/dist/assets/ic-symbol-greater-than.8f71342d.svg +0 -3
  246. package/dist/assets/ic-tenants.4f997b9a.svg +0 -3
  247. package/dist/assets/ic-trend-up.5752ef30.svg +0 -3
  248. package/dist/assets/ic-warning-stroke.fc850a4a.svg +0 -3
  249. package/dist/assets/img-folder-empty.8e898c33.svg +0 -33
  250. package/dist/assets/img-no-backup-location.0e8699c5.svg +0 -180
  251. package/dist/assets/img-no-restores.f26cb7db.svg +0 -114
  252. package/dist/assets/no-cluster-cost-enabled.038c73db.webp +0 -0
@@ -1,7 +1,7 @@
1
- import { aZ as m, a_ as lt, a$ as R, b0 as Zr, b1 as Le, b2 as oe, b3 as T, b4 as $e, b5 as at, b6 as Kt, b7 as Q, b8 as $r, b9 as oi, ba as si, bb as ui, bc as li, bd as fi, be as ci, bf as vi, bg as di, bh as qr, bi as pi, bj as hi, bk as mi, bl as gi, bm as yi, bn as Jr, bo as Pt, bp as he, bq as X, br as bi, bs as Qr, bt as z, bu as tn, bv as me, bw as Z, bx as Pi, by as Ot, bz as Vi, bA as Ti, bB as en, bC as Ft, bD as O, bE as ge, bF as Si, bG as se, bH as xi, bI as Ci } from "./@vendor-CIVr12Xb.js";
2
- import * as k from "react";
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) {
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";
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) {
5
5
  return {
6
6
  isEnabled: function(e) {
7
7
  return t.some(function(r) {
@@ -38,7 +38,7 @@ var qe = "production", Me = typeof process > "u" || process.env === void 0 ? qe
38
38
  "onViewportLeave"
39
39
  ])
40
40
  };
41
- function Mi(t) {
41
+ function Di(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,10 +47,10 @@ function Oi(t, e, r) {
47
47
  var n = [], i = F(rn);
48
48
  if (!e)
49
49
  return null;
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.");
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.");
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
- u(t) && l && n.push(k.createElement(l, m({ key: o }, t, { visualElement: e })));
53
+ u(t) && l && n.push(Y.createElement(l, m({ key: o }, t, { visualElement: e })));
54
54
  }
55
55
  return n;
56
56
  }
@@ -77,7 +77,7 @@ function ji() {
77
77
  }
78
78
  function Bi() {
79
79
  !an && ji();
80
- var t = R(De(be.current), 1), e = t[0];
80
+ var t = R(Me(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 Gi(t, e) {
159
+ function Ki(t, e) {
160
160
  if (ne(t)) {
161
161
  var r = t.initial, n = t.animate;
162
162
  return {
@@ -166,8 +166,8 @@ function Gi(t, e) {
166
166
  }
167
167
  return t.inherit !== !1 ? e : {};
168
168
  }
169
- function Ki(t) {
170
- var e = Gi(t, F(ee)), r = e.initial, n = e.animate;
169
+ function Gi(t) {
170
+ var e = Ki(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)]);
@@ -190,11 +190,11 @@ var Lt = {
190
190
  * update will be given a `data-projection-id` attribute.
191
191
  */
192
192
  hasEverUpdated: !1
193
- }, ki = 1;
194
- function Yi() {
193
+ }, Yi = 1;
194
+ function ki() {
195
195
  return ft(function() {
196
196
  if (Lt.hasEverUpdated)
197
- return ki++;
197
+ return Yi++;
198
198
  });
199
199
  }
200
200
  var Ie = St({}), ln = St({});
@@ -240,16 +240,16 @@ 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 && Mi(e);
243
+ e && Di(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 = Ki(u), p = v.isStatic ? void 0 : Yi(), h = s(u, v.isStatic);
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)), k.createElement(
247
+ var v = F(_t), c = null, d = Gi(u), p = v.isStatic ? void 0 : ki(), h = s(u, v.isStatic);
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) },
251
251
  c,
252
- k.createElement(ee.Provider, { value: d }, i(o, u, p, Ni(h, d.visualElement, l), h, v.isStatic, d.visualElement))
252
+ Y.createElement(ee.Provider, { value: d }, i(o, u, p, Ni(h, d.visualElement, l), h, v.isStatic, d.visualElement))
253
253
  );
254
254
  }
255
255
  return wi(a);
@@ -413,10 +413,10 @@ var sa = function(t, e) {
413
413
  rotateX: at,
414
414
  rotateY: at,
415
415
  rotateZ: at,
416
- scale: Kt,
417
- scaleX: Kt,
418
- scaleY: Kt,
419
- scaleZ: Kt,
416
+ scale: Gt,
417
+ scaleX: Gt,
418
+ scaleY: Gt,
419
+ scaleZ: Gt,
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
- }, Da = function() {
825
- return xt && window.onpointerdown === null;
826
824
  }, Ma = function() {
825
+ return xt && window.onpointerdown === null;
826
+ }, Da = 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 Da() ? t : Ma() ? Fa[t] : Ia() ? Oa[t] : t;
846
+ return Ma() ? t : Da() ? 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 Dn = function(t, e) {
893
- return e ? t === e ? !0 : Dn(t, e.parentElement) : !1;
892
+ var Mn = function(t, e) {
893
+ return e ? t === e ? !0 : Mn(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() && (Dn(s.getInstance(), h.target) ? e?.(h, g) : n?.(h, g));
915
+ v() && (Mn(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 Mn(t, e, r) {
927
+ function Dn(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" ? ka : Ka;
954
+ var l = typeof IntersectionObserver > "u" ? Ya : Ga;
955
955
  l(u, a.current, e, o);
956
956
  }
957
- var Ga = {
957
+ var Ka = {
958
958
  some: 0,
959
959
  all: 1
960
960
  };
961
- function Ka(t, e, r, n) {
961
+ function Ga(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 : Ga[a]
968
+ threshold: typeof a == "number" ? a : Ka[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))) {
@@ -978,10 +978,10 @@ function Ka(t, e, r, n) {
978
978
  }
979
979
  }, [t, i, s, a]);
980
980
  }
981
- function ka(t, e, r, n) {
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 || (Me !== "production" && Mn(!1, "IntersectionObserver not available on this device. whileInView animations will trigger on mount."), requestAnimationFrame(function() {
984
+ !t || !s || (De !== "production" && Dn(!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;
@@ -993,7 +993,7 @@ var ut = function(t) {
993
993
  return function(e) {
994
994
  return t(e), null;
995
995
  };
996
- }, Ya = {
996
+ }, ka = {
997
997
  inView: ut(za),
998
998
  tap: ut(Ba),
999
999
  focus: ut(Aa),
@@ -1065,7 +1065,7 @@ var Qt = function(t) {
1065
1065
  damping: 25,
1066
1066
  restSpeed: 10
1067
1067
  };
1068
- }, kt = function(t) {
1068
+ }, Yt = function(t) {
1069
1069
  return {
1070
1070
  type: "spring",
1071
1071
  stiffness: 550,
@@ -1092,13 +1092,13 @@ var Qt = function(t) {
1092
1092
  rotateX: ct,
1093
1093
  rotateY: ct,
1094
1094
  rotateZ: ct,
1095
- scaleX: kt,
1096
- scaleY: kt,
1097
- scale: kt,
1095
+ scaleX: Yt,
1096
+ scaleY: Yt,
1097
+ scale: Yt,
1098
1098
  opacity: le,
1099
1099
  backgroundColor: le,
1100
1100
  color: le,
1101
- default: kt
1101
+ default: Yt
1102
1102
  }, qa = function(t, e) {
1103
1103
  var r;
1104
1104
  return Ut(e) ? r = $a : r = lr[t] || lr.default, m({ to: e }, r(e));
@@ -1120,7 +1120,7 @@ var Qt = function(t) {
1120
1120
  }), ze = function(t) {
1121
1121
  return Ja[t];
1122
1122
  };
1123
- function Ge(t, e) {
1123
+ function Ke(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 = Ke(t, e) || {};
1138
+ var r, n, i = Ge(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 = 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));
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));
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,12 +1179,12 @@ 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 : Ge("", t);
1182
+ return typeof t == "number" ? 0 : Ke("", t);
1183
1183
  }
1184
- function Ke(t, e) {
1184
+ function Ge(t, e) {
1185
1185
  return t[e] || t.default || t;
1186
1186
  }
1187
- function ke(t, e, r, n) {
1187
+ function Ye(t, e, r, n) {
1188
1188
  return n === void 0 && (n = {}), e.start(function(i) {
1189
1189
  var s, o, a = io(t, e, r, n, i), u = eo(n, t), l = function() {
1190
1190
  return o = a();
@@ -1199,7 +1199,7 @@ var ao = function(t) {
1199
1199
  }, oo = function(t) {
1200
1200
  return /^0[^.\s]+$/.test(t);
1201
1201
  };
1202
- function Ye(t, e) {
1202
+ function ke(t, e) {
1203
1203
  t.indexOf(e) === -1 && t.push(e);
1204
1204
  }
1205
1205
  function Xe(t, e) {
@@ -1214,7 +1214,7 @@ var Rt = (
1214
1214
  }
1215
1215
  return t.prototype.add = function(e) {
1216
1216
  var r = this;
1217
- return Ye(this.subscriptions, e), function() {
1217
+ return ke(this.subscriptions, e), function() {
1218
1218
  return Xe(r.subscriptions, e);
1219
1219
  };
1220
1220
  }, t.prototype.notify = function(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 = Ge(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 = Ke(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) {
@@ -1407,7 +1407,7 @@ function _n(t, e, r) {
1407
1407
  if (!(!b || P === void 0 || h && Vo(h, g))) {
1408
1408
  var S = m({ delay: o }, v);
1409
1409
  t.shouldReduceMotion && Ht(g) && (S = m(m({}, S), { type: !1, delay: 0 }));
1410
- var C = ke(g, b, P, S);
1410
+ var C = Ye(g, b, P, S);
1411
1411
  p.push(C);
1412
1412
  }
1413
1413
  }
@@ -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(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;
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;
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
- !M && !w.prevProp || // Or if the prop doesn't define an animation
1484
- _e(M) || typeof M == "boolean")
1483
+ !D && !w.prevProp || // Or if the prop doesn't define an animation
1484
+ _e(D) || typeof D == "boolean")
1485
1485
  return "continue";
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) {
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) {
1491
1491
  nt = !0, g.delete(V), w.needsAnimating[V] = !0;
1492
1492
  };
1493
1493
  for (var _ in zt) {
1494
- var E = K[_], y = pt[_];
1494
+ var E = G[_], 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 = 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) {
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) {
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(D) {
1508
- var x = t.getBaseTarget(D);
1509
- x !== void 0 && (A[D] = x);
1507
+ g.forEach(function(M) {
1508
+ var x = t.getBaseTarget(M);
1509
+ x !== void 0 && (A[M] = 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 Dt(t, e, r, n) {
1655
+ function Mt(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 Do(t, e, r) {
1661
+ function Mo(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 Mt(t, e, r) {
1667
+ function Dt(t, e, r) {
1668
1668
  gr(t.x, e.x, r.x), gr(t.y, e.y, r.y);
1669
1669
  }
1670
- function Mo(t, e, r) {
1670
+ function Do(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 Gn(t) {
1770
+ function Kn(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 Gn(t) || xr(t.x) || xr(t.y) || t.z || t.rotate || t.rotateX || t.rotateY;
1775
+ return Kn(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 Kn(t, e) {
1790
+ function Gn(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, Kn(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, Gn(t, u)), n && ot(a.latestValues) && yt(t, a.latestValues));
1802
1802
  }
1803
1803
  }
1804
1804
  function st(t, e) {
@@ -1812,14 +1812,14 @@ var Ho = ["x", "scaleX", "originX"], zo = ["y", "scaleY", "originY"];
1812
1812
  function yt(t, e) {
1813
1813
  Ar(t.x, e, Ho), Ar(t.y, e, zo);
1814
1814
  }
1815
- function kn(t, e) {
1815
+ function Yn(t, e) {
1816
1816
  return zn(_o(t.getBoundingClientRect(), e));
1817
1817
  }
1818
- function Go(t, e, r) {
1819
- var n = kn(t, r), i = e.scroll;
1818
+ function Ko(t, e, r) {
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 Ko = /* @__PURE__ */ new WeakMap(), ko = (
1822
+ var Go = /* @__PURE__ */ new WeakMap(), Yo = (
1823
1823
  /** @class */
1824
1824
  function() {
1825
1825
  function t(e) {
@@ -1837,8 +1837,8 @@ var Ko = /* @__PURE__ */ new WeakMap(), ko = (
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 D = et(I);
1841
- A = D * (parseFloat(A) / 100);
1840
+ var M = et(I);
1841
+ A = M * (parseFloat(A) / 100);
1842
1842
  }
1843
1843
  }
1844
1844
  n.originPoint[P] = A;
@@ -1848,7 +1848,7 @@ var Ko = /* @__PURE__ */ new WeakMap(), ko = (
1848
1848
  if (!(!p && !n.openGlobalLock)) {
1849
1849
  var P = c.offset;
1850
1850
  if (h && n.currentDirection === null) {
1851
- n.currentDirection = Yo(P), n.currentDirection !== null && g?.(n.currentDirection);
1851
+ n.currentDirection = ko(P), n.currentDirection !== null && g?.(n.currentDirection);
1852
1852
  return;
1853
1853
  }
1854
1854
  n.updateAxis("x", c.point, P), n.updateAxis("y", c.point, P), n.visualElement.syncRender(), b?.(v, c);
@@ -1878,9 +1878,9 @@ var Ko = /* @__PURE__ */ new WeakMap(), ko = (
1878
1878
  !n && this.openGlobalLock && (this.openGlobalLock(), this.openGlobalLock = null), (r = this.visualElement.animationState) === null || r === void 0 || r.setActive(L.Drag, !1);
1879
1879
  }, t.prototype.updateAxis = function(e, r, n) {
1880
1880
  var i = this.getProps().drag;
1881
- if (!(!n || !Yt(e, i, this.currentDirection))) {
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 = Mo(o, this.constraints[e], this.elastic[e])), s.set(o);
1883
+ this.constraints && this.constraints[e] && (o = Do(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 Ko = /* @__PURE__ */ new WeakMap(), ko = (
1896
1896
  var s = this.visualElement.projection;
1897
1897
  if (!s || !s.layout)
1898
1898
  return !1;
1899
- var o = Go(i, s.root, this.visualElement.getTransformPagePoint()), a = Oo(s.layout.actual, o);
1899
+ var o = Ko(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));
@@ -1905,7 +1905,7 @@ var Ko = /* @__PURE__ */ new WeakMap(), ko = (
1905
1905
  }, t.prototype.startAnimation = function(e) {
1906
1906
  var r = this, n = this.getProps(), i = n.drag, s = n.dragMomentum, o = n.dragElastic, a = n.dragTransition, u = n.dragSnapToOrigin, l = n.onDragTransitionEnd, f = this.constraints || {}, v = J(function(c) {
1907
1907
  var d;
1908
- if (Yt(c, i, r.currentDirection)) {
1908
+ if (kt(c, i, r.currentDirection)) {
1909
1909
  var p = (d = f?.[c]) !== null && d !== void 0 ? d : {};
1910
1910
  u && (p = { min: 0, max: 0 });
1911
1911
  var h = o ? 200 : 1e6, g = o ? 40 : 1e7, b = m(m({ type: "inertia", velocity: s ? e[c] : 0, bounceStiffness: h, bounceDamping: g, timeConstant: 750, restDelta: 1, restSpeed: 10 }, a), p);
@@ -1915,7 +1915,7 @@ var Ko = /* @__PURE__ */ new WeakMap(), ko = (
1915
1915
  return Promise.all(v).then(l);
1916
1916
  }, t.prototype.startAxisValueAnimation = function(e, r) {
1917
1917
  var n = this.getAxisMotionValue(e);
1918
- return ke(e, n, 0, r);
1918
+ return Ye(e, n, 0, r);
1919
1919
  }, t.prototype.stopAnimation = function() {
1920
1920
  var e = this;
1921
1921
  J(function(r) {
@@ -1928,7 +1928,7 @@ var Ko = /* @__PURE__ */ new WeakMap(), ko = (
1928
1928
  var r = this;
1929
1929
  J(function(n) {
1930
1930
  var i = r.getProps().drag;
1931
- if (Yt(n, i, r.currentDirection)) {
1931
+ if (kt(n, i, r.currentDirection)) {
1932
1932
  var s = r.visualElement.projection, o = r.getAxisMotionValue(n);
1933
1933
  if (s && s.layout) {
1934
1934
  var a = s.layout.actual[n], u = a.min, l = a.max;
@@ -1950,7 +1950,7 @@ var Ko = /* @__PURE__ */ new WeakMap(), ko = (
1950
1950
  });
1951
1951
  var u = this.visualElement.getProps().transformTemplate;
1952
1952
  this.visualElement.getInstance().style.transform = u ? u({}, "") : "none", (r = o.root) === null || r === void 0 || r.updateScroll(), o.updateLayout(), this.resolveConstraints(), J(function(l) {
1953
- if (Yt(l, i, null)) {
1953
+ if (kt(l, i, null)) {
1954
1954
  var f = e.getAxisMotionValue(l), v = e.constraints[l], c = v.min, d = v.max;
1955
1955
  f.set(O(c, d, a[l]));
1956
1956
  }
@@ -1958,7 +1958,7 @@ var Ko = /* @__PURE__ */ new WeakMap(), ko = (
1958
1958
  }
1959
1959
  }, t.prototype.addListeners = function() {
1960
1960
  var e = this, r;
1961
- Ko.set(this.visualElement, this);
1961
+ Go.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);
@@ -1985,17 +1985,17 @@ var Ko = /* @__PURE__ */ new WeakMap(), ko = (
1985
1985
  }, t;
1986
1986
  }()
1987
1987
  );
1988
- function Yt(t, e, r) {
1988
+ function kt(t, e, r) {
1989
1989
  return (e === !0 || e === t) && (r === null || r === t);
1990
1990
  }
1991
- function Yo(t, e) {
1991
+ function ko(t, e) {
1992
1992
  e === void 0 && (e = 10);
1993
1993
  var r = null;
1994
1994
  return Math.abs(t.y) > e ? r = "y" : Math.abs(t.x) > e && (r = "x"), r;
1995
1995
  }
1996
1996
  function Xo(t) {
1997
1997
  var e = t.dragControls, r = t.visualElement, n = ft(function() {
1998
- return new ko(r);
1998
+ return new Yo(r);
1999
1999
  });
2000
2000
  N(function() {
2001
2001
  return e && e.subscribe(n);
@@ -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" && Mn(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" && Dn(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)
@@ -2086,14 +2086,14 @@ function qo(t, e, r) {
2086
2086
  e[i] === void 0 && t.removeValue(i);
2087
2087
  return e;
2088
2088
  }
2089
- var Yn = function(t) {
2089
+ var kn = function(t) {
2090
2090
  var e = t.treeType, r = e === void 0 ? "" : e, n = t.build, i = t.getBaseTarget, s = t.makeTargetAnimatable, o = t.measureViewportBox, a = t.render, u = t.readValueFromInstance, l = t.removeValueFromRenderState, f = t.sortNodePosition, v = t.scrapeMotionValuesFromProps;
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, D, x = $o(), w = /* @__PURE__ */ new Map(), M = /* @__PURE__ */ new Map(), G = {}, B = m({}, A), H;
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;
2095
2095
  function rt() {
2096
- !D || !C || (nt(), a(D, I, h.style, E.projection));
2096
+ !M || !C || (nt(), a(M, I, h.style, E.projection));
2097
2097
  }
2098
2098
  function nt() {
2099
2099
  n(E, I, A, d, h);
@@ -2101,11 +2101,11 @@ var Yn = function(t) {
2101
2101
  function it() {
2102
2102
  x.notifyUpdate(A);
2103
2103
  }
2104
- function K(y, V) {
2105
- var U = V.onChange(function(Gt) {
2106
- A[y] = Gt, h.onUpdate && Z.update(it, !1, !0);
2104
+ function G(y, V) {
2105
+ var U = V.onChange(function(Kt) {
2106
+ A[y] = Kt, h.onUpdate && Z.update(it, !1, !0);
2107
2107
  }), At = V.onRenderRequest(E.scheduleRender);
2108
- M.set(y, function() {
2108
+ D.set(y, function() {
2109
2109
  U(), At();
2110
2110
  });
2111
2111
  }
@@ -2165,11 +2165,11 @@ var Yn = function(t) {
2165
2165
  * own animations on mount.
2166
2166
  */
2167
2167
  isMounted: function() {
2168
- return !!D;
2168
+ return !!M;
2169
2169
  },
2170
2170
  mount: function(y) {
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);
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);
2173
2173
  }), p?.children.add(E), E.setProps(h);
2174
2174
  },
2175
2175
  /**
@@ -2177,9 +2177,9 @@ var Yn = 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), M.forEach(function(V) {
2180
+ (y = E.projection) === null || y === void 0 || y.unmount(), Ft.update(it), Ft.render(rt), D.forEach(function(V) {
2181
2181
  return V();
2182
- }), H?.(), p?.children.delete(E), x.clearAllListeners(), D = void 0, C = !1;
2182
+ }), H?.(), p?.children.delete(E), x.clearAllListeners(), M = 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 Yn = function(t) {
2211
2211
  * Returns the current instance.
2212
2212
  */
2213
2213
  getInstance: function() {
2214
- return D;
2214
+ return M;
2215
2215
  },
2216
2216
  /**
2217
2217
  * Get/set the latest static values.
@@ -2253,21 +2253,21 @@ var Yn = function(t) {
2253
2253
  * removed with a re-render to work.
2254
2254
  */
2255
2255
  measureViewportBox: function() {
2256
- return o(D, h);
2256
+ return o(M, 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(), K(y, V);
2263
+ E.hasValue(y) && E.removeValue(y), w.set(y, V), A[y] = V.get(), G(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 = M.get(y)) === null || V === void 0 || V(), M.delete(y), delete A[y], l(y, I);
2270
+ w.delete(y), (V = D.get(y)) === null || V === void 0 || V(), D.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 Yn = function(t) {
2296
2296
  */
2297
2297
  readValue: function(y) {
2298
2298
  var V;
2299
- return (V = A[y]) !== null && V !== void 0 ? V : u(D, y, d);
2299
+ return (V = A[y]) !== null && V !== void 0 ? V : u(M, 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 Yn = 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), G = qo(E, v(h), G);
2345
+ (y.transformTemplate || h.transformTemplate) && E.scheduleRender(), h = y, x.updatePropListeners(y), K = qo(E, v(h), K);
2346
2346
  },
2347
2347
  getProps: function() {
2348
2348
  return h;
@@ -2375,8 +2375,8 @@ var Yn = 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 Gt = Xn[At], ae = h[Gt];
2379
- (W(ae) || ae === !1) && (U[Gt] = ae);
2378
+ var Kt = Xn[At], ae = h[Kt];
2379
+ (W(ae) || ae === !1) && (U[Kt] = ae);
2380
2380
  }
2381
2381
  return U;
2382
2382
  }
@@ -2566,7 +2566,7 @@ var qn = {
2566
2566
  },
2567
2567
  measureViewportBox: function(t, e) {
2568
2568
  var r = e.transformPagePoint;
2569
- return kn(t, r);
2569
+ return Yn(t, r);
2570
2570
  },
2571
2571
  /**
2572
2572
  * Reset the transform on the current Element. This is called as part
@@ -2606,7 +2606,7 @@ var qn = {
2606
2606
  t.isVisible !== void 0 && (e.style.visibility = t.isVisible ? "visible" : "hidden"), Fe(e, r, n, i.transformTemplate);
2607
2607
  },
2608
2608
  render: yn
2609
- }, vs = Yn(qn), ds = Yn(m(m({}, qn), { getBaseTarget: function(t, e) {
2609
+ }, vs = kn(qn), ds = kn(m(m({}, qn), { getBaseTarget: function(t, e) {
2610
2610
  return t[e];
2611
2611
  }, readValueFromInstance: function(t, e) {
2612
2612
  var r;
@@ -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 Dr(t, e) {
2619
+ function Mr(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 = Dr(t, e.target.x), n = Dr(t, e.target.y);
2631
+ var r = Mr(t, e.target.x), n = Mr(t, e.target.y);
2632
2632
  return "".concat(r, "% ").concat(n, "%");
2633
2633
  }
2634
- }, Mr = "_$css", hs = {
2634
+ }, Dr = "_$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), Mr;
2638
+ return o.push(h), Dr;
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(Mr, function() {
2650
+ d = d.replace(Dr, function() {
2651
2651
  var h = o[p];
2652
2652
  return p++, h;
2653
2653
  });
@@ -2710,7 +2710,7 @@ var ys = {
2710
2710
  function Ps(t, e, r) {
2711
2711
  r === void 0 && (r = {});
2712
2712
  var n = q(t) ? t : dt(t);
2713
- return ke("", n, e, r), {
2713
+ return Ye("", n, e, r), {
2714
2714
  stop: function() {
2715
2715
  return n.stop();
2716
2716
  },
@@ -2756,7 +2756,7 @@ function Qn(t, e, r) {
2756
2756
  function jr(t, e) {
2757
2757
  t.min = e.min, t.max = e.max;
2758
2758
  }
2759
- function Y(t, e) {
2759
+ function k(t, e) {
2760
2760
  jr(t.x, e.x), jr(t.y, e.y);
2761
2761
  }
2762
2762
  function Br(t, e, r, n, i) {
@@ -2797,7 +2797,7 @@ var Es = (
2797
2797
  this.members = [];
2798
2798
  }
2799
2799
  return t.prototype.add = function(e) {
2800
- Ye(this.members, e), e.scheduleRender();
2800
+ ke(this.members, e), e.scheduleRender();
2801
2801
  }, t.prototype.remove = function(e) {
2802
2802
  if (Xe(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
2803
2803
  var r = this.members[this.members.length - 1];
@@ -2849,14 +2849,14 @@ function Hr(t, e, r) {
2849
2849
  }
2850
2850
  var Rs = function(t, e) {
2851
2851
  return t.depth - e.depth;
2852
- }, Ds = (
2852
+ }, Ms = (
2853
2853
  /** @class */
2854
2854
  function() {
2855
2855
  function t() {
2856
2856
  this.children = [], this.isDirty = !1;
2857
2857
  }
2858
2858
  return t.prototype.add = function(e) {
2859
- Ye(this.children, e), this.isDirty = !0;
2859
+ ke(this.children, e), this.isDirty = !0;
2860
2860
  }, t.prototype.remove = function(e) {
2861
2861
  Xe(this.children, e), this.isDirty = !0;
2862
2862
  }, t.prototype.forEach = function(e) {
@@ -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 Ds());
2881
+ this.root === this && (this.nodes = new Ms());
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, D = b.delta, x = b.hasLayoutChanged, w = b.hasRelativeTargetChanged, M = b.layout;
2908
+ var P, S, C, A, I, M = b.delta, x = b.hasLayoutChanged, w = b.hasRelativeTargetChanged, D = b.layout;
2909
2909
  if (l.isTreeAnimationBlocked()) {
2910
2910
  l.target = void 0, l.relativeTarget = void 0;
2911
2911
  return;
2912
2912
  }
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;
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;
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(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);
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);
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 = M;
2920
+ l.targetLayout = D;
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(Gr);
2959
+ this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Kr);
2960
2960
  return;
2961
2961
  }
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());
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());
2963
2963
  }, o.prototype.clearAllSnapshots = function() {
2964
2964
  this.nodes.forEach(Os), this.sharedNodes.forEach(Ns);
2965
2965
  }, o.prototype.scheduleUpdateProjection = function() {
@@ -3010,12 +3010,12 @@ function ri(t) {
3010
3010
  return l && (st(u.x, l.x), st(u.y, l.y)), u;
3011
3011
  }, o.prototype.removeElementScroll = function(a) {
3012
3012
  var u = j();
3013
- Y(u, a);
3013
+ k(u, a);
3014
3014
  for (var l = 0; l < this.path.length; l++) {
3015
3015
  var f = this.path[l], v = f.scroll, c = f.options, d = f.isScrollRoot;
3016
3016
  if (f !== this.root && v && c.layoutScroll) {
3017
3017
  if (d) {
3018
- Y(u, a);
3018
+ k(u, a);
3019
3019
  var p = this.root.scroll;
3020
3020
  p && (st(u.x, -p.x), st(u.y, -p.y));
3021
3021
  }
@@ -3026,7 +3026,7 @@ function ri(t) {
3026
3026
  }, o.prototype.applyTransform = function(a, u) {
3027
3027
  u === void 0 && (u = !1);
3028
3028
  var l = j();
3029
- Y(l, a);
3029
+ k(l, a);
3030
3030
  for (var f = 0; f < this.path.length; f++) {
3031
3031
  var v = this.path[f];
3032
3032
  !u && v.options.layoutScroll && v.scroll && v !== v.root && yt(l, {
@@ -3037,13 +3037,13 @@ function ri(t) {
3037
3037
  return ot(this.latestValues) && yt(l, this.latestValues), l;
3038
3038
  }, o.prototype.removeTransform = function(a) {
3039
3039
  var u, l = j();
3040
- Y(l, a);
3040
+ k(l, a);
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
- Gn(v.latestValues) && v.updateSnapshot();
3044
+ Kn(v.latestValues) && v.updateSnapshot();
3045
3045
  var c = j(), d = v.measure();
3046
- Y(c, d), _r(l, v.latestValues, (u = v.snapshot) === null || u === void 0 ? void 0 : u.layout, c);
3046
+ k(c, d), _r(l, v.latestValues, (u = v.snapshot) === null || u === void 0 ? void 0 : u.layout, c);
3047
3047
  }
3048
3048
  }
3049
3049
  return ot(this.latestValues) && _r(l, this.latestValues), l;
@@ -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(), Mt(this.relativeTargetOrigin, this.layout.actual, this.relativeParent.layout.actual), Y(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) : Y(this.target, this.layout.actual), Kn(this.target, this.targetDelta)) : Y(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), Y(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(), 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)))));
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();
@@ -3064,12 +3064,12 @@ function ri(t) {
3064
3064
  var a, u = this.options, l = u.layout, f = u.layoutId;
3065
3065
  if (this.isTreeAnimating = !!(!((a = this.parent) === null || a === void 0) && a.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !(!this.layout || !(l || f))) {
3066
3066
  var v = this.getLead();
3067
- Y(this.layoutCorrected, this.layout.actual), No(this.layoutCorrected, this.treeScale, this.path, !!this.resumingFrom || this !== v);
3067
+ k(this.layoutCorrected, this.layout.actual), No(this.layoutCorrected, this.treeScale, this.path, !!this.resumingFrom || this !== v);
3068
3068
  var c = v.target;
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
- 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));
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));
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
- 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;
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;
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 || (Y(u, l), yt(u, v), Dt(this.projectionDeltaWithTransform, this.layoutCorrected, u, v));
3111
+ !u || !l || !f || (k(u, l), yt(u, v), Mt(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 D = $t[I], x = D.correct, w = D.applyTo, M = x(P[I], g);
3177
+ var M = $t[I], x = M.correct, w = M.applyTo, D = x(P[I], g);
3178
3178
  if (w)
3179
- for (var G = w.length, B = 0; B < G; B++)
3180
- p[w[B]] = M;
3179
+ for (var K = w.length, B = 0; B < K; B++)
3180
+ p[w[B]] = D;
3181
3181
  else
3182
- p[I] = M;
3182
+ p[I] = D;
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(Gr), this.root.sharedNodes.clear();
3191
+ }), this.root.nodes.forEach(Kr), this.root.sharedNodes.clear();
3192
3192
  }, o;
3193
3193
  }()
3194
3194
  );
3195
3195
  }
3196
- function Ms(t) {
3196
+ function Ds(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
- Dt(l, a, s.layout);
3211
+ Mt(l, a, s.layout);
3212
3212
  var f = It();
3213
- s.isShared ? Dt(f, t.applyTransform(u, !0), s.measured) : Dt(f, a, s.layout);
3213
+ s.isShared ? Mt(f, t.applyTransform(u, !0), s.measured) : Mt(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
- Mt(g, s.layout, p.layout);
3219
+ Dt(g, s.layout, p.layout);
3220
3220
  var b = j();
3221
- Mt(b, a, h.actual), ei(g, b) || (c = !0);
3221
+ Dt(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 Gr(t) {
3238
+ function Kr(t) {
3239
3239
  t.clearMeasurements();
3240
3240
  }
3241
3241
  function Fs(t) {
@@ -3257,23 +3257,23 @@ function _s(t) {
3257
3257
  function Ns(t) {
3258
3258
  t.removeLeadSnapshot();
3259
3259
  }
3260
- function Kr(t, e, r) {
3260
+ function Gr(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
- function kr(t, e, r, n) {
3263
+ function Yr(t, e, r, n) {
3264
3264
  t.min = O(e.min, r.min, n), t.max = O(e.max, r.max, n);
3265
3265
  }
3266
3266
  function Hs(t, e, r, n) {
3267
- kr(t.x, e.x, r.x, n), kr(t.y, e.y, r.y, n);
3267
+ Yr(t.x, e.x, r.x, n), Yr(t.y, e.y, r.y, n);
3268
3268
  }
3269
3269
  function zs(t) {
3270
3270
  return t.animationValues && t.animationValues.opacityExit !== void 0;
3271
3271
  }
3272
- var Gs = {
3272
+ var Ks = {
3273
3273
  duration: 0.45,
3274
3274
  ease: [0.4, 0, 0.1, 1]
3275
3275
  };
3276
- function Ks(t, e) {
3276
+ function Gs(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];
@@ -3282,13 +3282,13 @@ function Ks(t, e) {
3282
3282
  var i = r && r !== t.root ? r.instance : document, s = i.querySelector('[data-projection-id="'.concat(e, '"]'));
3283
3283
  s && t.mount(s, !0);
3284
3284
  }
3285
- function Yr(t) {
3285
+ function kr(t) {
3286
3286
  t.min = Math.round(t.min), t.max = Math.round(t.max);
3287
3287
  }
3288
3288
  function Xr(t) {
3289
- Yr(t.x), Yr(t.y);
3289
+ kr(t.x), kr(t.y);
3290
3290
  }
3291
- var ks = ri({
3291
+ var Ys = ri({
3292
3292
  attachResizeListener: function(t, e) {
3293
3293
  return ie(t, "resize", e);
3294
3294
  },
@@ -3303,7 +3303,7 @@ var ks = ri({
3303
3303
  }
3304
3304
  }), de = {
3305
3305
  current: void 0
3306
- }, Ys = ri({
3306
+ }, ks = ri({
3307
3307
  measureScroll: function(t) {
3308
3308
  return {
3309
3309
  x: t.scrollLeft,
@@ -3312,7 +3312,7 @@ var ks = ri({
3312
3312
  },
3313
3313
  defaultParent: function() {
3314
3314
  if (!de.current) {
3315
- var t = new ks(0, {});
3315
+ var t = new Ys(0, {});
3316
3316
  t.mount(window), t.setOptions({ layoutScroll: !0 }), de.current = t;
3317
3317
  }
3318
3318
  return de.current;
@@ -3323,8 +3323,8 @@ var ks = ri({
3323
3323
  checkIsScrollRoot: function(t) {
3324
3324
  return window.getComputedStyle(t).position === "fixed";
3325
3325
  }
3326
- }), Xs = m(m(m(m({}, Eo), Ya), Zo), bs), su = /* @__PURE__ */ qi(function(t, e) {
3327
- return Ca(t, e, Xs, ps, Ys);
3326
+ }), Xs = m(m(m(m({}, Eo), ka), Zo), bs), ou = /* @__PURE__ */ qi(function(t, e) {
3327
+ return Ca(t, e, Xs, ps, ks);
3328
3328
  });
3329
3329
  function ni() {
3330
3330
  var t = $(!1);
@@ -3335,7 +3335,7 @@ function ni() {
3335
3335
  }, []), t;
3336
3336
  }
3337
3337
  function Ws() {
3338
- var t = ni(), e = R(De(0), 2), r = e[0], n = e[1], i = ye(function() {
3338
+ var t = ni(), e = R(Me(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);
@@ -3388,9 +3388,9 @@ var pe = function(t) {
3388
3388
  a.forEach(function(f, v) {
3389
3389
  return a.set(v, !1);
3390
3390
  });
3391
- }, [n]), k.useEffect(function() {
3391
+ }, [n]), Y.useEffect(function() {
3392
3392
  !n && !a.size && i?.();
3393
- }, [n]), k.createElement(Nt.Provider, { value: l }, e);
3393
+ }, [n]), Y.createElement(Nt.Provider, { value: l }, e);
3394
3394
  };
3395
3395
  function Zs() {
3396
3396
  return /* @__PURE__ */ new Map();
@@ -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
- Di(r) && e.push(r);
3410
+ Mi(r) && e.push(r);
3411
3411
  }), e;
3412
3412
  }
3413
- var uu = function(t) {
3413
+ var su = 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);
@@ -3419,19 +3419,19 @@ var uu = function(t) {
3419
3419
  }), He(function() {
3420
3420
  P.current = !0, b.clear(), h.clear();
3421
3421
  }), P.current)
3422
- return k.createElement(k.Fragment, null, p.map(function(x) {
3423
- return k.createElement(pe, { key: mt(x), isPresent: !0, initial: i ? void 0 : !1, presenceAffectsLayout: u }, x);
3422
+ return Y.createElement(Y.Fragment, null, p.map(function(x) {
3423
+ return Y.createElement(pe, { key: mt(x), isPresent: !0, initial: i ? void 0 : !1, presenceAffectsLayout: u }, x);
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 D = S[I];
3428
- C.indexOf(D) === -1 && h.add(D);
3427
+ var M = S[I];
3428
+ C.indexOf(M) === -1 && h.add(M);
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 M = S.indexOf(x), G = function() {
3434
+ var D = S.indexOf(x), K = 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 uu = function(t) {
3442
3442
  f(), s && s();
3443
3443
  }
3444
3444
  };
3445
- p.splice(M, 0, k.createElement(pe, { key: mt(w), isPresent: !1, onExitComplete: G, custom: r, presenceAffectsLayout: u }, w));
3445
+ p.splice(D, 0, Y.createElement(pe, { key: mt(w), isPresent: !1, onExitComplete: K, custom: r, presenceAffectsLayout: u }, w));
3446
3446
  }
3447
3447
  }
3448
3448
  }), p = p.map(function(x) {
3449
3449
  var w = x.key;
3450
- return h.has(w) ? x : k.createElement(pe, { key: mt(x), isPresent: !0, presenceAffectsLayout: u }, 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."), k.createElement(k.Fragment, null, h.size ? p : p.map(function(x) {
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) {
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(De(t), 2), i = n[1];
3460
+ var n = R(Me(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 lu(t, e, r, n) {
3504
+ function uu(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 fu(t) {
3522
+ function lu(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 fu(t) {
3533
3533
  }
3534
3534
  return ai(e, i);
3535
3535
  }
3536
- function cu(t, e) {
3536
+ function fu(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,19 +3588,17 @@ function nu() {
3588
3588
  };
3589
3589
  return n;
3590
3590
  }
3591
- function iu() {
3591
+ function cu() {
3592
3592
  var t = ft(nu);
3593
3593
  return N(t.mount, []), t;
3594
3594
  }
3595
- var vu = iu;
3596
3595
  export {
3597
- uu as A,
3596
+ su as A,
3598
3597
  Ps as a,
3599
- lu as b,
3600
- fu as c,
3601
- cu as d,
3602
- vu as e,
3603
- iu as f,
3604
- su as m,
3598
+ uu as b,
3599
+ lu as c,
3600
+ fu as d,
3601
+ cu as e,
3602
+ ou as m,
3605
3603
  ii as u
3606
3604
  };