@burdenoff/microfe-mybodyshield 2026.1028.1 → 2026.1101.2

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 (1509) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +11 -5
  2. package/dist/dev/main.d.ts +0 -1
  3. package/dist/mybodyshield/MyBodyShieldRoot.d.ts +0 -1
  4. package/dist/mybodyshield/MyBodyShieldRoot.js +22 -21
  5. package/dist/mybodyshield/MyBodyShieldRoot.js.map +1 -1
  6. package/dist/mybodyshield/MyBodyShieldRoutes.d.ts +0 -1
  7. package/dist/mybodyshield/MyBodyShieldRoutes.js +5 -6
  8. package/dist/mybodyshield/MyBodyShieldRoutes.js.map +1 -1
  9. package/dist/mybodyshield/components/DataTable.d.ts +1 -2
  10. package/dist/mybodyshield/components/DataTable.js +1 -2
  11. package/dist/mybodyshield/components/DataTable.js.map +1 -1
  12. package/dist/mybodyshield/components/EmptyState.d.ts +0 -1
  13. package/dist/mybodyshield/components/EmptyState.js +1 -2
  14. package/dist/mybodyshield/components/EmptyState.js.map +1 -1
  15. package/dist/mybodyshield/components/EvidenceUpload.d.ts +1 -2
  16. package/dist/mybodyshield/components/EvidenceUpload.js +1 -2
  17. package/dist/mybodyshield/components/EvidenceUpload.js.map +1 -1
  18. package/dist/mybodyshield/components/FeatureFlagGuard.d.ts +0 -1
  19. package/dist/mybodyshield/components/FeatureFlagGuard.js +1 -2
  20. package/dist/mybodyshield/components/FeatureFlagGuard.js.map +1 -1
  21. package/dist/mybodyshield/components/FileLink.d.ts +1 -1
  22. package/dist/mybodyshield/components/FileLink.js +1 -2
  23. package/dist/mybodyshield/components/FileLink.js.map +1 -1
  24. package/dist/mybodyshield/components/FilterTabs.d.ts +1 -1
  25. package/dist/mybodyshield/components/FilterTabs.js +1 -2
  26. package/dist/mybodyshield/components/FilterTabs.js.map +1 -1
  27. package/dist/mybodyshield/components/MetricsCard.d.ts +0 -1
  28. package/dist/mybodyshield/components/MetricsCard.js +1 -2
  29. package/dist/mybodyshield/components/MetricsCard.js.map +1 -1
  30. package/dist/mybodyshield/components/MiniBar.d.ts +1 -1
  31. package/dist/mybodyshield/components/MiniBar.js +1 -2
  32. package/dist/mybodyshield/components/MiniBar.js.map +1 -1
  33. package/dist/mybodyshield/components/MybDiscussion.d.ts +1 -1
  34. package/dist/mybodyshield/components/MybDiscussion.js +15 -16
  35. package/dist/mybodyshield/components/MybDiscussion.js.map +1 -1
  36. package/dist/mybodyshield/components/MybTags.d.ts +1 -1
  37. package/dist/mybodyshield/components/MybTags.js +1 -2
  38. package/dist/mybodyshield/components/MybTags.js.map +1 -1
  39. package/dist/mybodyshield/components/PageDisabled.d.ts +0 -1
  40. package/dist/mybodyshield/components/PageDisabled.js +1 -2
  41. package/dist/mybodyshield/components/PageDisabled.js.map +1 -1
  42. package/dist/mybodyshield/components/PageLayout.d.ts +0 -1
  43. package/dist/mybodyshield/components/PageLayout.js +1 -2
  44. package/dist/mybodyshield/components/PageLayout.js.map +1 -1
  45. package/dist/mybodyshield/components/Pagination.d.ts +1 -1
  46. package/dist/mybodyshield/components/Pagination.js +1 -2
  47. package/dist/mybodyshield/components/Pagination.js.map +1 -1
  48. package/dist/mybodyshield/components/StateViews.d.ts +0 -1
  49. package/dist/mybodyshield/components/StateViews.js +1 -2
  50. package/dist/mybodyshield/components/StateViews.js.map +1 -1
  51. package/dist/mybodyshield/components/StatusBadge.d.ts +0 -1
  52. package/dist/mybodyshield/components/StatusBadge.js +2 -3
  53. package/dist/mybodyshield/components/StatusBadge.js.map +1 -1
  54. package/dist/mybodyshield/components/Tabs.d.ts +1 -2
  55. package/dist/mybodyshield/components/Tabs.js +1 -2
  56. package/dist/mybodyshield/components/Tabs.js.map +1 -1
  57. package/dist/mybodyshield/components/UserSearchSelect.d.ts +1 -1
  58. package/dist/mybodyshield/components/UserSearchSelect.js +1 -2
  59. package/dist/mybodyshield/components/UserSearchSelect.js.map +1 -1
  60. package/dist/mybodyshield/components/index.js +18 -17
  61. package/dist/mybodyshield/context/MyBodyShieldContext.d.ts +0 -1
  62. package/dist/mybodyshield/context/MyBodyShieldContext.js +1 -2
  63. package/dist/mybodyshield/context/MyBodyShieldContext.js.map +1 -1
  64. package/dist/mybodyshield/context/index.js +1 -1
  65. package/dist/mybodyshield/data/programTemplates.d.ts +0 -1
  66. package/dist/mybodyshield/data/programTemplates.js +1 -2
  67. package/dist/mybodyshield/data/programTemplates.js.map +1 -1
  68. package/dist/mybodyshield/hooks/index.js +9 -8
  69. package/dist/mybodyshield/hooks/useMyBodyShieldAnalytics.js +1 -2
  70. package/dist/mybodyshield/hooks/useMyBodyShieldAnalytics.js.map +1 -1
  71. package/dist/mybodyshield/hooks/useMyBodyShieldApi.d.ts +0 -1
  72. package/dist/mybodyshield/hooks/useMyBodyShieldApi.js +1 -2
  73. package/dist/mybodyshield/hooks/useMyBodyShieldApi.js.map +1 -1
  74. package/dist/mybodyshield/hooks/useMybComments.js +1 -2
  75. package/dist/mybodyshield/hooks/useMybComments.js.map +1 -1
  76. package/dist/mybodyshield/hooks/useMybFiles.js +1 -2
  77. package/dist/mybodyshield/hooks/useMybFiles.js.map +1 -1
  78. package/dist/mybodyshield/hooks/useMybTags.js +6 -7
  79. package/dist/mybodyshield/hooks/useMybTags.js.map +1 -1
  80. package/dist/mybodyshield/hooks/useMybUsers.js +1 -2
  81. package/dist/mybodyshield/hooks/useMybUsers.js.map +1 -1
  82. package/dist/mybodyshield/hooks/usePager.js +1 -2
  83. package/dist/mybodyshield/hooks/usePager.js.map +1 -1
  84. package/dist/mybodyshield/hooks/useTr.d.ts +0 -1
  85. package/dist/mybodyshield/hooks/useTr.js +1 -2
  86. package/dist/mybodyshield/hooks/useTr.js.map +1 -1
  87. package/dist/mybodyshield/index.js +6 -5
  88. package/dist/mybodyshield/lib/offlineSessionQueue.js +34 -35
  89. package/dist/mybodyshield/lib/offlineSessionQueue.js.map +1 -1
  90. package/dist/mybodyshield/lib/useOfflineSessionSync.d.ts +0 -1
  91. package/dist/mybodyshield/lib/useOfflineSessionSync.js +1 -2
  92. package/dist/mybodyshield/lib/useOfflineSessionSync.js.map +1 -1
  93. package/dist/mybodyshield/pages/DashboardPage.d.ts +1 -1
  94. package/dist/mybodyshield/pages/DashboardPage.js +132 -133
  95. package/dist/mybodyshield/pages/DashboardPage.js.map +1 -1
  96. package/dist/mybodyshield/pages/SettingsPage.d.ts +1 -1
  97. package/dist/mybodyshield/pages/SettingsPage.js +2 -3
  98. package/dist/mybodyshield/pages/SettingsPage.js.map +1 -1
  99. package/dist/mybodyshield/pages/_shared/visuals.d.ts +0 -1
  100. package/dist/mybodyshield/pages/_shared/visuals.js +1 -2
  101. package/dist/mybodyshield/pages/_shared/visuals.js.map +1 -1
  102. package/dist/mybodyshield/pages/ai/AiControlsPage.d.ts +1 -1
  103. package/dist/mybodyshield/pages/ai/AiControlsPage.js +90 -91
  104. package/dist/mybodyshield/pages/ai/AiControlsPage.js.map +1 -1
  105. package/dist/mybodyshield/pages/coaching/CoachClientPage.d.ts +1 -1
  106. package/dist/mybodyshield/pages/coaching/CoachClientPage.js +35 -37
  107. package/dist/mybodyshield/pages/coaching/CoachClientPage.js.map +1 -1
  108. package/dist/mybodyshield/pages/coaching/CoachingPage.d.ts +1 -1
  109. package/dist/mybodyshield/pages/coaching/CoachingPage.js +169 -170
  110. package/dist/mybodyshield/pages/coaching/CoachingPage.js.map +1 -1
  111. package/dist/mybodyshield/pages/coaching/coachAnalytics.d.ts +0 -1
  112. package/dist/mybodyshield/pages/coaching/coachAnalytics.js +1 -2
  113. package/dist/mybodyshield/pages/coaching/coachAnalytics.js.map +1 -1
  114. package/dist/mybodyshield/pages/goals/GoalsPage.d.ts +1 -1
  115. package/dist/mybodyshield/pages/goals/GoalsPage.js +219 -221
  116. package/dist/mybodyshield/pages/goals/GoalsPage.js.map +1 -1
  117. package/dist/mybodyshield/pages/insights/InsightsCharts.d.ts +5 -6
  118. package/dist/mybodyshield/pages/insights/InsightsCharts.js +117 -118
  119. package/dist/mybodyshield/pages/insights/InsightsCharts.js.map +1 -1
  120. package/dist/mybodyshield/pages/insights/InsightsPage.d.ts +1 -1
  121. package/dist/mybodyshield/pages/insights/InsightsPage.js +67 -68
  122. package/dist/mybodyshield/pages/insights/InsightsPage.js.map +1 -1
  123. package/dist/mybodyshield/pages/nutrition/NutritionPage.d.ts +1 -1
  124. package/dist/mybodyshield/pages/nutrition/NutritionPage.js +519 -518
  125. package/dist/mybodyshield/pages/nutrition/NutritionPage.js.map +1 -1
  126. package/dist/mybodyshield/pages/programs/ProgramDetailPage.d.ts +1 -1
  127. package/dist/mybodyshield/pages/programs/ProgramDetailPage.js +420 -421
  128. package/dist/mybodyshield/pages/programs/ProgramDetailPage.js.map +1 -1
  129. package/dist/mybodyshield/pages/programs/ProgramsPage.d.ts +1 -1
  130. package/dist/mybodyshield/pages/programs/ProgramsPage.js +258 -259
  131. package/dist/mybodyshield/pages/programs/ProgramsPage.js.map +1 -1
  132. package/dist/mybodyshield/pages/progress/ProgressPage.d.ts +1 -1
  133. package/dist/mybodyshield/pages/progress/ProgressPage.js +139 -140
  134. package/dist/mybodyshield/pages/progress/ProgressPage.js.map +1 -1
  135. package/dist/mybodyshield/pages/recovery/MindfulnessPage.d.ts +1 -1
  136. package/dist/mybodyshield/pages/recovery/MindfulnessPage.js +3 -4
  137. package/dist/mybodyshield/pages/recovery/MindfulnessPage.js.map +1 -1
  138. package/dist/mybodyshield/pages/recovery/RecoveryPage.d.ts +1 -1
  139. package/dist/mybodyshield/pages/recovery/RecoveryPage.js +205 -206
  140. package/dist/mybodyshield/pages/recovery/RecoveryPage.js.map +1 -1
  141. package/dist/mybodyshield/pages/train/SessionDetailPage.d.ts +1 -1
  142. package/dist/mybodyshield/pages/train/SessionDetailPage.js +118 -125
  143. package/dist/mybodyshield/pages/train/SessionDetailPage.js.map +1 -1
  144. package/dist/mybodyshield/pages/train/SessionsPage.d.ts +1 -1
  145. package/dist/mybodyshield/pages/train/SessionsPage.js +156 -157
  146. package/dist/mybodyshield/pages/train/SessionsPage.js.map +1 -1
  147. package/dist/mybodyshield/services/createSandboxAssistantTransport.js +1 -2
  148. package/dist/mybodyshield/services/createSandboxAssistantTransport.js.map +1 -1
  149. package/dist/mybodyshield/types/index.d.ts +0 -1
  150. package/dist/mybodyshield/utils/cn.d.ts +0 -1
  151. package/dist/mybodyshield/utils/cn.js +2 -3
  152. package/dist/mybodyshield/utils/cn.js.map +1 -1
  153. package/dist/mybodyshield/utils/formatters.js +1 -2
  154. package/dist/mybodyshield/utils/formatters.js.map +1 -1
  155. package/dist/mybodyshield/utils/i18n.d.ts +0 -1
  156. package/dist/mybodyshield/utils/i18n.js +1 -2
  157. package/dist/mybodyshield/utils/i18n.js.map +1 -1
  158. package/dist/mybodyshield/utils/navigation.js +1 -2
  159. package/dist/mybodyshield/utils/navigation.js.map +1 -1
  160. package/dist/mybodyshield/utils/pageContext.js +2 -3
  161. package/dist/mybodyshield/utils/pageContext.js.map +1 -1
  162. package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +4 -5
  163. package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +1 -1
  164. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +2 -3
  165. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +1 -1
  166. package/dist/node_modules/clsx/dist/clsx.js +8 -7
  167. package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
  168. package/dist/node_modules/d3-array/src/ascending.js +1 -2
  169. package/dist/node_modules/d3-array/src/ascending.js.map +1 -1
  170. package/dist/node_modules/d3-array/src/bisect.js +2 -3
  171. package/dist/node_modules/d3-array/src/bisect.js.map +1 -1
  172. package/dist/node_modules/d3-array/src/bisector.js +1 -2
  173. package/dist/node_modules/d3-array/src/bisector.js.map +1 -1
  174. package/dist/node_modules/d3-array/src/descending.js +1 -2
  175. package/dist/node_modules/d3-array/src/descending.js.map +1 -1
  176. package/dist/node_modules/d3-array/src/max.js +1 -2
  177. package/dist/node_modules/d3-array/src/max.js.map +1 -1
  178. package/dist/node_modules/d3-array/src/min.js +1 -2
  179. package/dist/node_modules/d3-array/src/min.js.map +1 -1
  180. package/dist/node_modules/d3-array/src/number.js +1 -2
  181. package/dist/node_modules/d3-array/src/number.js.map +1 -1
  182. package/dist/node_modules/d3-array/src/quantile.js +17 -18
  183. package/dist/node_modules/d3-array/src/quantile.js.map +1 -1
  184. package/dist/node_modules/d3-array/src/quickselect.js +1 -2
  185. package/dist/node_modules/d3-array/src/quickselect.js.map +1 -1
  186. package/dist/node_modules/d3-array/src/range.js +1 -2
  187. package/dist/node_modules/d3-array/src/range.js.map +1 -1
  188. package/dist/node_modules/d3-array/src/sort.js +1 -2
  189. package/dist/node_modules/d3-array/src/sort.js.map +1 -1
  190. package/dist/node_modules/d3-array/src/ticks.js +5 -5
  191. package/dist/node_modules/d3-array/src/ticks.js.map +1 -1
  192. package/dist/node_modules/d3-color/src/color.js +2 -3
  193. package/dist/node_modules/d3-color/src/color.js.map +1 -1
  194. package/dist/node_modules/d3-color/src/define.js +1 -2
  195. package/dist/node_modules/d3-color/src/define.js.map +1 -1
  196. package/dist/node_modules/d3-format/src/defaultLocale.js +2 -3
  197. package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -1
  198. package/dist/node_modules/d3-format/src/exponent.js +1 -2
  199. package/dist/node_modules/d3-format/src/exponent.js.map +1 -1
  200. package/dist/node_modules/d3-format/src/formatDecimal.js +1 -2
  201. package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -1
  202. package/dist/node_modules/d3-format/src/formatGroup.js +1 -2
  203. package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -1
  204. package/dist/node_modules/d3-format/src/formatNumerals.js +1 -2
  205. package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -1
  206. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +1 -2
  207. package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -1
  208. package/dist/node_modules/d3-format/src/formatRounded.js +1 -2
  209. package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -1
  210. package/dist/node_modules/d3-format/src/formatSpecifier.js +2 -3
  211. package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -1
  212. package/dist/node_modules/d3-format/src/formatTrim.js +1 -3
  213. package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -1
  214. package/dist/node_modules/d3-format/src/formatTypes.js +1 -2
  215. package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -1
  216. package/dist/node_modules/d3-format/src/identity.js +1 -2
  217. package/dist/node_modules/d3-format/src/identity.js.map +1 -1
  218. package/dist/node_modules/d3-format/src/locale.js +10 -13
  219. package/dist/node_modules/d3-format/src/locale.js.map +1 -1
  220. package/dist/node_modules/d3-format/src/precisionFixed.js +1 -2
  221. package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -1
  222. package/dist/node_modules/d3-format/src/precisionPrefix.js +1 -2
  223. package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -1
  224. package/dist/node_modules/d3-format/src/precisionRound.js +1 -2
  225. package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -1
  226. package/dist/node_modules/d3-interpolate/src/array.js +2 -4
  227. package/dist/node_modules/d3-interpolate/src/array.js.map +1 -1
  228. package/dist/node_modules/d3-interpolate/src/basis.js +1 -2
  229. package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -1
  230. package/dist/node_modules/d3-interpolate/src/basisClosed.js +1 -2
  231. package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -1
  232. package/dist/node_modules/d3-interpolate/src/color.js +1 -2
  233. package/dist/node_modules/d3-interpolate/src/color.js.map +1 -1
  234. package/dist/node_modules/d3-interpolate/src/constant.js +1 -2
  235. package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -1
  236. package/dist/node_modules/d3-interpolate/src/date.js +1 -2
  237. package/dist/node_modules/d3-interpolate/src/date.js.map +1 -1
  238. package/dist/node_modules/d3-interpolate/src/number.js +1 -2
  239. package/dist/node_modules/d3-interpolate/src/number.js.map +1 -1
  240. package/dist/node_modules/d3-interpolate/src/numberArray.js +1 -2
  241. package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -1
  242. package/dist/node_modules/d3-interpolate/src/object.js +2 -3
  243. package/dist/node_modules/d3-interpolate/src/object.js.map +1 -1
  244. package/dist/node_modules/d3-interpolate/src/piecewise.js +1 -2
  245. package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -1
  246. package/dist/node_modules/d3-interpolate/src/rgb.js +1 -2
  247. package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -1
  248. package/dist/node_modules/d3-interpolate/src/round.js +1 -2
  249. package/dist/node_modules/d3-interpolate/src/round.js.map +1 -1
  250. package/dist/node_modules/d3-interpolate/src/string.js +1 -2
  251. package/dist/node_modules/d3-interpolate/src/string.js.map +1 -1
  252. package/dist/node_modules/d3-interpolate/src/value.js +10 -11
  253. package/dist/node_modules/d3-interpolate/src/value.js.map +1 -1
  254. package/dist/node_modules/d3-path/src/path.js +8 -7
  255. package/dist/node_modules/d3-path/src/path.js.map +1 -1
  256. package/dist/node_modules/d3-scale/src/band.js +1 -2
  257. package/dist/node_modules/d3-scale/src/band.js.map +1 -1
  258. package/dist/node_modules/d3-scale/src/constant.js +1 -2
  259. package/dist/node_modules/d3-scale/src/constant.js.map +1 -1
  260. package/dist/node_modules/d3-scale/src/continuous.js +7 -8
  261. package/dist/node_modules/d3-scale/src/continuous.js.map +1 -1
  262. package/dist/node_modules/d3-scale/src/diverging.js +35 -36
  263. package/dist/node_modules/d3-scale/src/diverging.js.map +1 -1
  264. package/dist/node_modules/d3-scale/src/identity.js +6 -7
  265. package/dist/node_modules/d3-scale/src/identity.js.map +1 -1
  266. package/dist/node_modules/d3-scale/src/init.js +3 -8
  267. package/dist/node_modules/d3-scale/src/init.js.map +1 -1
  268. package/dist/node_modules/d3-scale/src/linear.js +6 -7
  269. package/dist/node_modules/d3-scale/src/linear.js.map +1 -1
  270. package/dist/node_modules/d3-scale/src/log.js +32 -33
  271. package/dist/node_modules/d3-scale/src/log.js.map +1 -1
  272. package/dist/node_modules/d3-scale/src/nice.js +1 -2
  273. package/dist/node_modules/d3-scale/src/nice.js.map +1 -1
  274. package/dist/node_modules/d3-scale/src/number.js +1 -2
  275. package/dist/node_modules/d3-scale/src/number.js.map +1 -1
  276. package/dist/node_modules/d3-scale/src/ordinal.js +1 -2
  277. package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -1
  278. package/dist/node_modules/d3-scale/src/pow.js +13 -14
  279. package/dist/node_modules/d3-scale/src/pow.js.map +1 -1
  280. package/dist/node_modules/d3-scale/src/quantile.js +2 -3
  281. package/dist/node_modules/d3-scale/src/quantile.js.map +1 -1
  282. package/dist/node_modules/d3-scale/src/quantize.js +5 -6
  283. package/dist/node_modules/d3-scale/src/quantize.js.map +1 -1
  284. package/dist/node_modules/d3-scale/src/radial.js +8 -9
  285. package/dist/node_modules/d3-scale/src/radial.js.map +1 -1
  286. package/dist/node_modules/d3-scale/src/sequential.js +27 -28
  287. package/dist/node_modules/d3-scale/src/sequential.js.map +1 -1
  288. package/dist/node_modules/d3-scale/src/sequentialQuantile.js +6 -7
  289. package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -1
  290. package/dist/node_modules/d3-scale/src/symlog.js +12 -13
  291. package/dist/node_modules/d3-scale/src/symlog.js.map +1 -1
  292. package/dist/node_modules/d3-scale/src/threshold.js +2 -3
  293. package/dist/node_modules/d3-scale/src/threshold.js.map +1 -1
  294. package/dist/node_modules/d3-scale/src/tickFormat.js +7 -10
  295. package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -1
  296. package/dist/node_modules/d3-scale/src/time.js +27 -28
  297. package/dist/node_modules/d3-scale/src/time.js.map +1 -1
  298. package/dist/node_modules/d3-scale/src/utcTime.js +13 -14
  299. package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -1
  300. package/dist/node_modules/d3-shape/src/area.js +34 -33
  301. package/dist/node_modules/d3-shape/src/area.js.map +1 -1
  302. package/dist/node_modules/d3-shape/src/array.js +0 -1
  303. package/dist/node_modules/d3-shape/src/array.js.map +1 -1
  304. package/dist/node_modules/d3-shape/src/constant.js +1 -2
  305. package/dist/node_modules/d3-shape/src/constant.js.map +1 -1
  306. package/dist/node_modules/d3-shape/src/curve/basis.js +4 -9
  307. package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -1
  308. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +3 -8
  309. package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -1
  310. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +2 -5
  311. package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -1
  312. package/dist/node_modules/d3-shape/src/curve/bump.js +2 -5
  313. package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -1
  314. package/dist/node_modules/d3-shape/src/curve/linear.js +2 -5
  315. package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -1
  316. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +1 -2
  317. package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -1
  318. package/dist/node_modules/d3-shape/src/curve/monotone.js +4 -9
  319. package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -1
  320. package/dist/node_modules/d3-shape/src/curve/natural.js +5 -4
  321. package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -1
  322. package/dist/node_modules/d3-shape/src/curve/step.js +6 -9
  323. package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -1
  324. package/dist/node_modules/d3-shape/src/line.js +16 -17
  325. package/dist/node_modules/d3-shape/src/line.js.map +1 -1
  326. package/dist/node_modules/d3-shape/src/math.js +1 -2
  327. package/dist/node_modules/d3-shape/src/math.js.map +1 -1
  328. package/dist/node_modules/d3-shape/src/noop.js +1 -2
  329. package/dist/node_modules/d3-shape/src/noop.js.map +1 -1
  330. package/dist/node_modules/d3-shape/src/offset/expand.js +1 -2
  331. package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -1
  332. package/dist/node_modules/d3-shape/src/offset/none.js +1 -2
  333. package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -1
  334. package/dist/node_modules/d3-shape/src/offset/silhouette.js +1 -2
  335. package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -1
  336. package/dist/node_modules/d3-shape/src/offset/wiggle.js +2 -3
  337. package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -1
  338. package/dist/node_modules/d3-shape/src/order/none.js +1 -2
  339. package/dist/node_modules/d3-shape/src/order/none.js.map +1 -1
  340. package/dist/node_modules/d3-shape/src/path.js +1 -2
  341. package/dist/node_modules/d3-shape/src/path.js.map +1 -1
  342. package/dist/node_modules/d3-shape/src/point.js +1 -2
  343. package/dist/node_modules/d3-shape/src/point.js.map +1 -1
  344. package/dist/node_modules/d3-shape/src/stack.js +13 -14
  345. package/dist/node_modules/d3-shape/src/stack.js.map +1 -1
  346. package/dist/node_modules/d3-shape/src/symbol/circle.js +1 -2
  347. package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -1
  348. package/dist/node_modules/d3-shape/src/symbol/cross.js +1 -2
  349. package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -1
  350. package/dist/node_modules/d3-shape/src/symbol/diamond.js +1 -2
  351. package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -1
  352. package/dist/node_modules/d3-shape/src/symbol/square.js +1 -2
  353. package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -1
  354. package/dist/node_modules/d3-shape/src/symbol/star.js +1 -2
  355. package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -1
  356. package/dist/node_modules/d3-shape/src/symbol/triangle.js +1 -2
  357. package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -1
  358. package/dist/node_modules/d3-shape/src/symbol/wye.js +1 -2
  359. package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -1
  360. package/dist/node_modules/d3-shape/src/symbol.js +1 -2
  361. package/dist/node_modules/d3-shape/src/symbol.js.map +1 -1
  362. package/dist/node_modules/d3-time/src/day.js +1 -2
  363. package/dist/node_modules/d3-time/src/day.js.map +1 -1
  364. package/dist/node_modules/d3-time/src/duration.js +1 -2
  365. package/dist/node_modules/d3-time/src/duration.js.map +1 -1
  366. package/dist/node_modules/d3-time/src/hour.js +1 -2
  367. package/dist/node_modules/d3-time/src/hour.js.map +1 -1
  368. package/dist/node_modules/d3-time/src/interval.js +5 -4
  369. package/dist/node_modules/d3-time/src/interval.js.map +1 -1
  370. package/dist/node_modules/d3-time/src/millisecond.js +1 -2
  371. package/dist/node_modules/d3-time/src/millisecond.js.map +1 -1
  372. package/dist/node_modules/d3-time/src/minute.js +1 -2
  373. package/dist/node_modules/d3-time/src/minute.js.map +1 -1
  374. package/dist/node_modules/d3-time/src/month.js +1 -2
  375. package/dist/node_modules/d3-time/src/month.js.map +1 -1
  376. package/dist/node_modules/d3-time/src/second.js +1 -2
  377. package/dist/node_modules/d3-time/src/second.js.map +1 -1
  378. package/dist/node_modules/d3-time/src/ticks.js +27 -28
  379. package/dist/node_modules/d3-time/src/ticks.js.map +1 -1
  380. package/dist/node_modules/d3-time/src/week.js +2 -3
  381. package/dist/node_modules/d3-time/src/week.js.map +1 -1
  382. package/dist/node_modules/d3-time/src/year.js +1 -2
  383. package/dist/node_modules/d3-time/src/year.js.map +1 -1
  384. package/dist/node_modules/d3-time-format/src/defaultLocale.js +6 -7
  385. package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -1
  386. package/dist/node_modules/d3-time-format/src/locale.js +1 -2
  387. package/dist/node_modules/d3-time-format/src/locale.js.map +1 -1
  388. package/dist/node_modules/decimal.js-light/decimal.js +33 -30
  389. package/dist/node_modules/decimal.js-light/decimal.js.map +1 -1
  390. package/dist/node_modules/eventemitter3/index.js +2 -3
  391. package/dist/node_modules/eventemitter3/index.js.map +1 -1
  392. package/dist/node_modules/fast-equals/dist/es/index.js +3 -4
  393. package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
  394. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +3 -4
  395. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -1
  396. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +7 -8
  397. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -1
  398. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +1 -2
  399. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -1
  400. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +1 -2
  401. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -1
  402. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +1 -2
  403. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -1
  404. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +1 -2
  405. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -1
  406. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +1 -2
  407. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -1
  408. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +1 -2
  409. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -1
  410. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +1 -2
  411. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -1
  412. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +1 -2
  413. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -1
  414. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +7 -8
  415. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -1
  416. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +1 -2
  417. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -1
  418. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +1 -2
  419. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -1
  420. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +1 -2
  421. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -1
  422. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +1 -2
  423. package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -1
  424. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +92 -101
  425. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -1
  426. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +8 -9
  427. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -1
  428. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +11 -12
  429. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -1
  430. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +8 -9
  431. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -1
  432. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +8 -9
  433. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -1
  434. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +37 -38
  435. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -1
  436. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +5 -6
  437. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -1
  438. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +9 -10
  439. package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -1
  440. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +12 -13
  441. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -1
  442. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +8 -9
  443. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -1
  444. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +1 -2
  445. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -1
  446. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +2 -3
  447. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -1
  448. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +9 -10
  449. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -1
  450. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +1 -2
  451. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -1
  452. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +15 -16
  453. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -1
  454. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +1 -2
  455. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -1
  456. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +1 -2
  457. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -1
  458. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +4 -5
  459. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -1
  460. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +1 -2
  461. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -1
  462. package/dist/node_modules/framer-motion/dist/es/motion/index.js +34 -35
  463. package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -1
  464. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +1 -2
  465. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -1
  466. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +7 -7
  467. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -1
  468. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +17 -18
  469. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -1
  470. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +22 -23
  471. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -1
  472. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +2 -3
  473. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -1
  474. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +1 -2
  475. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -1
  476. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +1 -2
  477. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +1 -1
  478. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +4 -5
  479. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -1
  480. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +4 -5
  481. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -1
  482. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +5 -6
  483. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -1
  484. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +2 -3
  485. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -1
  486. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +1 -2
  487. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -1
  488. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +5 -6
  489. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +1 -1
  490. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +8 -9
  491. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -1
  492. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +1 -2
  493. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -1
  494. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +1 -2
  495. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -1
  496. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +1 -2
  497. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -1
  498. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +5 -6
  499. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +1 -1
  500. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +1 -2
  501. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -1
  502. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +2 -3
  503. package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -1
  504. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +1 -2
  505. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -1
  506. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +1 -2
  507. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -1
  508. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +1 -2
  509. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -1
  510. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +7 -8
  511. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +1 -1
  512. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +1 -2
  513. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +1 -1
  514. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +1 -2
  515. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -1
  516. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +1 -2
  517. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -1
  518. package/dist/node_modules/internmap/src/index.js +1 -2
  519. package/dist/node_modules/internmap/src/index.js.map +1 -1
  520. package/dist/node_modules/lodash/_DataView.js +4 -5
  521. package/dist/node_modules/lodash/_DataView.js.map +1 -1
  522. package/dist/node_modules/lodash/_Hash.js +1 -2
  523. package/dist/node_modules/lodash/_Hash.js.map +1 -1
  524. package/dist/node_modules/lodash/_ListCache.js +1 -2
  525. package/dist/node_modules/lodash/_ListCache.js.map +1 -1
  526. package/dist/node_modules/lodash/_Map.js +4 -5
  527. package/dist/node_modules/lodash/_Map.js.map +1 -1
  528. package/dist/node_modules/lodash/_MapCache.js +1 -2
  529. package/dist/node_modules/lodash/_MapCache.js.map +1 -1
  530. package/dist/node_modules/lodash/_Promise.js +4 -5
  531. package/dist/node_modules/lodash/_Promise.js.map +1 -1
  532. package/dist/node_modules/lodash/_Set.js +4 -5
  533. package/dist/node_modules/lodash/_Set.js.map +1 -1
  534. package/dist/node_modules/lodash/_SetCache.js +1 -2
  535. package/dist/node_modules/lodash/_SetCache.js.map +1 -1
  536. package/dist/node_modules/lodash/_Stack.js +3 -3
  537. package/dist/node_modules/lodash/_Stack.js.map +1 -1
  538. package/dist/node_modules/lodash/_Symbol.js +1 -2
  539. package/dist/node_modules/lodash/_Symbol.js.map +1 -1
  540. package/dist/node_modules/lodash/_Uint8Array.js +1 -2
  541. package/dist/node_modules/lodash/_Uint8Array.js.map +1 -1
  542. package/dist/node_modules/lodash/_WeakMap.js +4 -5
  543. package/dist/node_modules/lodash/_WeakMap.js.map +1 -1
  544. package/dist/node_modules/lodash/_apply.js +1 -2
  545. package/dist/node_modules/lodash/_apply.js.map +1 -1
  546. package/dist/node_modules/lodash/_arrayEvery.js +1 -2
  547. package/dist/node_modules/lodash/_arrayEvery.js.map +1 -1
  548. package/dist/node_modules/lodash/_arrayFilter.js +1 -2
  549. package/dist/node_modules/lodash/_arrayFilter.js.map +1 -1
  550. package/dist/node_modules/lodash/_arrayIncludes.js +1 -2
  551. package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -1
  552. package/dist/node_modules/lodash/_arrayIncludesWith.js +1 -2
  553. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -1
  554. package/dist/node_modules/lodash/_arrayLikeKeys.js +5 -6
  555. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -1
  556. package/dist/node_modules/lodash/_arrayMap.js +1 -2
  557. package/dist/node_modules/lodash/_arrayMap.js.map +1 -1
  558. package/dist/node_modules/lodash/_arrayPush.js +1 -2
  559. package/dist/node_modules/lodash/_arrayPush.js.map +1 -1
  560. package/dist/node_modules/lodash/_arraySome.js +1 -2
  561. package/dist/node_modules/lodash/_arraySome.js.map +1 -1
  562. package/dist/node_modules/lodash/_asciiToArray.js +1 -2
  563. package/dist/node_modules/lodash/_asciiToArray.js.map +1 -1
  564. package/dist/node_modules/lodash/_assocIndexOf.js +1 -2
  565. package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -1
  566. package/dist/node_modules/lodash/_baseAssignValue.js +1 -2
  567. package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -1
  568. package/dist/node_modules/lodash/_baseEach.js +1 -2
  569. package/dist/node_modules/lodash/_baseEach.js.map +1 -1
  570. package/dist/node_modules/lodash/_baseEvery.js +1 -2
  571. package/dist/node_modules/lodash/_baseEvery.js.map +1 -1
  572. package/dist/node_modules/lodash/_baseExtremum.js +1 -2
  573. package/dist/node_modules/lodash/_baseExtremum.js.map +1 -1
  574. package/dist/node_modules/lodash/_baseFindIndex.js +1 -2
  575. package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -1
  576. package/dist/node_modules/lodash/_baseFlatten.js +1 -2
  577. package/dist/node_modules/lodash/_baseFlatten.js.map +1 -1
  578. package/dist/node_modules/lodash/_baseFor.js +1 -2
  579. package/dist/node_modules/lodash/_baseFor.js.map +1 -1
  580. package/dist/node_modules/lodash/_baseForOwn.js +4 -5
  581. package/dist/node_modules/lodash/_baseForOwn.js.map +1 -1
  582. package/dist/node_modules/lodash/_baseGet.js +1 -2
  583. package/dist/node_modules/lodash/_baseGet.js.map +1 -1
  584. package/dist/node_modules/lodash/_baseGetAllKeys.js +4 -5
  585. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -1
  586. package/dist/node_modules/lodash/_baseGetTag.js +1 -2
  587. package/dist/node_modules/lodash/_baseGetTag.js.map +1 -1
  588. package/dist/node_modules/lodash/_baseGt.js +1 -2
  589. package/dist/node_modules/lodash/_baseGt.js.map +1 -1
  590. package/dist/node_modules/lodash/_baseHasIn.js +1 -2
  591. package/dist/node_modules/lodash/_baseHasIn.js.map +1 -1
  592. package/dist/node_modules/lodash/_baseIndexOf.js +1 -2
  593. package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -1
  594. package/dist/node_modules/lodash/_baseIsArguments.js +1 -2
  595. package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -1
  596. package/dist/node_modules/lodash/_baseIsEqual.js +4 -5
  597. package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -1
  598. package/dist/node_modules/lodash/_baseIsEqualDeep.js +10 -11
  599. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -1
  600. package/dist/node_modules/lodash/_baseIsMatch.js +1 -2
  601. package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -1
  602. package/dist/node_modules/lodash/_baseIsNaN.js +1 -2
  603. package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -1
  604. package/dist/node_modules/lodash/_baseIsNative.js +5 -6
  605. package/dist/node_modules/lodash/_baseIsNative.js.map +1 -1
  606. package/dist/node_modules/lodash/_baseIsTypedArray.js +4 -5
  607. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -1
  608. package/dist/node_modules/lodash/_baseIteratee.js +6 -7
  609. package/dist/node_modules/lodash/_baseIteratee.js.map +1 -1
  610. package/dist/node_modules/lodash/_baseKeys.js +1 -2
  611. package/dist/node_modules/lodash/_baseKeys.js.map +1 -1
  612. package/dist/node_modules/lodash/_baseLt.js +1 -2
  613. package/dist/node_modules/lodash/_baseLt.js.map +1 -1
  614. package/dist/node_modules/lodash/_baseMap.js +4 -5
  615. package/dist/node_modules/lodash/_baseMap.js.map +1 -1
  616. package/dist/node_modules/lodash/_baseMatches.js +1 -2
  617. package/dist/node_modules/lodash/_baseMatches.js.map +1 -1
  618. package/dist/node_modules/lodash/_baseMatchesProperty.js +7 -8
  619. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -1
  620. package/dist/node_modules/lodash/_baseOrderBy.js +11 -12
  621. package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -1
  622. package/dist/node_modules/lodash/_baseProperty.js +1 -2
  623. package/dist/node_modules/lodash/_baseProperty.js.map +1 -1
  624. package/dist/node_modules/lodash/_basePropertyDeep.js +1 -2
  625. package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -1
  626. package/dist/node_modules/lodash/_baseRange.js +1 -2
  627. package/dist/node_modules/lodash/_baseRange.js.map +1 -1
  628. package/dist/node_modules/lodash/_baseRest.js +1 -2
  629. package/dist/node_modules/lodash/_baseRest.js.map +1 -1
  630. package/dist/node_modules/lodash/_baseSetToString.js +5 -6
  631. package/dist/node_modules/lodash/_baseSetToString.js.map +1 -1
  632. package/dist/node_modules/lodash/_baseSlice.js +1 -2
  633. package/dist/node_modules/lodash/_baseSlice.js.map +1 -1
  634. package/dist/node_modules/lodash/_baseSome.js +1 -2
  635. package/dist/node_modules/lodash/_baseSome.js.map +1 -1
  636. package/dist/node_modules/lodash/_baseSortBy.js +1 -2
  637. package/dist/node_modules/lodash/_baseSortBy.js.map +1 -1
  638. package/dist/node_modules/lodash/_baseTimes.js +1 -2
  639. package/dist/node_modules/lodash/_baseTimes.js.map +1 -1
  640. package/dist/node_modules/lodash/_baseToString.js +6 -7
  641. package/dist/node_modules/lodash/_baseToString.js.map +1 -1
  642. package/dist/node_modules/lodash/_baseTrim.js +1 -2
  643. package/dist/node_modules/lodash/_baseTrim.js.map +1 -1
  644. package/dist/node_modules/lodash/_baseUnary.js +1 -2
  645. package/dist/node_modules/lodash/_baseUnary.js.map +1 -1
  646. package/dist/node_modules/lodash/_baseUniq.js +7 -8
  647. package/dist/node_modules/lodash/_baseUniq.js.map +1 -1
  648. package/dist/node_modules/lodash/_cacheHas.js +1 -2
  649. package/dist/node_modules/lodash/_cacheHas.js.map +1 -1
  650. package/dist/node_modules/lodash/_castPath.js +1 -2
  651. package/dist/node_modules/lodash/_castPath.js.map +1 -1
  652. package/dist/node_modules/lodash/_castSlice.js +1 -2
  653. package/dist/node_modules/lodash/_castSlice.js.map +1 -1
  654. package/dist/node_modules/lodash/_compareAscending.js +1 -2
  655. package/dist/node_modules/lodash/_compareAscending.js.map +1 -1
  656. package/dist/node_modules/lodash/_compareMultiple.js +1 -2
  657. package/dist/node_modules/lodash/_compareMultiple.js.map +1 -1
  658. package/dist/node_modules/lodash/_coreJsData.js +1 -2
  659. package/dist/node_modules/lodash/_coreJsData.js.map +1 -1
  660. package/dist/node_modules/lodash/_createBaseEach.js +1 -2
  661. package/dist/node_modules/lodash/_createBaseEach.js.map +1 -1
  662. package/dist/node_modules/lodash/_createBaseFor.js +1 -2
  663. package/dist/node_modules/lodash/_createBaseFor.js.map +1 -1
  664. package/dist/node_modules/lodash/_createCaseFirst.js +6 -7
  665. package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -1
  666. package/dist/node_modules/lodash/_createFind.js +5 -6
  667. package/dist/node_modules/lodash/_createFind.js.map +1 -1
  668. package/dist/node_modules/lodash/_createRange.js +4 -5
  669. package/dist/node_modules/lodash/_createRange.js.map +1 -1
  670. package/dist/node_modules/lodash/_createSet.js +6 -7
  671. package/dist/node_modules/lodash/_createSet.js.map +1 -1
  672. package/dist/node_modules/lodash/_defineProperty.js +1 -2
  673. package/dist/node_modules/lodash/_defineProperty.js.map +1 -1
  674. package/dist/node_modules/lodash/_equalArrays.js +1 -2
  675. package/dist/node_modules/lodash/_equalArrays.js.map +1 -1
  676. package/dist/node_modules/lodash/_equalByTag.js +5 -6
  677. package/dist/node_modules/lodash/_equalByTag.js.map +1 -1
  678. package/dist/node_modules/lodash/_equalObjects.js +1 -2
  679. package/dist/node_modules/lodash/_equalObjects.js.map +1 -1
  680. package/dist/node_modules/lodash/_freeGlobal.js +1 -2
  681. package/dist/node_modules/lodash/_freeGlobal.js.map +1 -1
  682. package/dist/node_modules/lodash/_getAllKeys.js +1 -2
  683. package/dist/node_modules/lodash/_getAllKeys.js.map +1 -1
  684. package/dist/node_modules/lodash/_getMapData.js +1 -2
  685. package/dist/node_modules/lodash/_getMapData.js.map +1 -1
  686. package/dist/node_modules/lodash/_getMatchData.js +4 -5
  687. package/dist/node_modules/lodash/_getMatchData.js.map +1 -1
  688. package/dist/node_modules/lodash/_getNative.js +1 -2
  689. package/dist/node_modules/lodash/_getNative.js.map +1 -1
  690. package/dist/node_modules/lodash/_getPrototype.js +1 -2
  691. package/dist/node_modules/lodash/_getPrototype.js.map +1 -1
  692. package/dist/node_modules/lodash/_getRawTag.js +1 -2
  693. package/dist/node_modules/lodash/_getRawTag.js.map +1 -1
  694. package/dist/node_modules/lodash/_getSymbols.js +1 -2
  695. package/dist/node_modules/lodash/_getSymbols.js.map +1 -1
  696. package/dist/node_modules/lodash/_getTag.js +9 -10
  697. package/dist/node_modules/lodash/_getTag.js.map +1 -1
  698. package/dist/node_modules/lodash/_getValue.js +1 -2
  699. package/dist/node_modules/lodash/_getValue.js.map +1 -1
  700. package/dist/node_modules/lodash/_hasPath.js +8 -9
  701. package/dist/node_modules/lodash/_hasPath.js.map +1 -1
  702. package/dist/node_modules/lodash/_hasUnicode.js +1 -2
  703. package/dist/node_modules/lodash/_hasUnicode.js.map +1 -1
  704. package/dist/node_modules/lodash/_hashClear.js +1 -2
  705. package/dist/node_modules/lodash/_hashClear.js.map +1 -1
  706. package/dist/node_modules/lodash/_hashDelete.js +1 -2
  707. package/dist/node_modules/lodash/_hashDelete.js.map +1 -1
  708. package/dist/node_modules/lodash/_hashGet.js +1 -2
  709. package/dist/node_modules/lodash/_hashGet.js.map +1 -1
  710. package/dist/node_modules/lodash/_hashHas.js +1 -2
  711. package/dist/node_modules/lodash/_hashHas.js.map +1 -1
  712. package/dist/node_modules/lodash/_hashSet.js +1 -2
  713. package/dist/node_modules/lodash/_hashSet.js.map +1 -1
  714. package/dist/node_modules/lodash/_isFlattenable.js +5 -6
  715. package/dist/node_modules/lodash/_isFlattenable.js.map +1 -1
  716. package/dist/node_modules/lodash/_isIndex.js +6 -7
  717. package/dist/node_modules/lodash/_isIndex.js.map +1 -1
  718. package/dist/node_modules/lodash/_isIterateeCall.js +5 -6
  719. package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -1
  720. package/dist/node_modules/lodash/_isKey.js +1 -2
  721. package/dist/node_modules/lodash/_isKey.js.map +1 -1
  722. package/dist/node_modules/lodash/_isKeyable.js +1 -2
  723. package/dist/node_modules/lodash/_isKeyable.js.map +1 -1
  724. package/dist/node_modules/lodash/_isMasked.js +1 -2
  725. package/dist/node_modules/lodash/_isMasked.js.map +1 -1
  726. package/dist/node_modules/lodash/_isPrototype.js +1 -2
  727. package/dist/node_modules/lodash/_isPrototype.js.map +1 -1
  728. package/dist/node_modules/lodash/_isStrictComparable.js +1 -2
  729. package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -1
  730. package/dist/node_modules/lodash/_listCacheClear.js +1 -2
  731. package/dist/node_modules/lodash/_listCacheClear.js.map +1 -1
  732. package/dist/node_modules/lodash/_listCacheDelete.js +1 -2
  733. package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -1
  734. package/dist/node_modules/lodash/_listCacheGet.js +1 -2
  735. package/dist/node_modules/lodash/_listCacheGet.js.map +1 -1
  736. package/dist/node_modules/lodash/_listCacheHas.js +1 -2
  737. package/dist/node_modules/lodash/_listCacheHas.js.map +1 -1
  738. package/dist/node_modules/lodash/_listCacheSet.js +1 -2
  739. package/dist/node_modules/lodash/_listCacheSet.js.map +1 -1
  740. package/dist/node_modules/lodash/_mapCacheClear.js +1 -2
  741. package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -1
  742. package/dist/node_modules/lodash/_mapCacheDelete.js +1 -2
  743. package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -1
  744. package/dist/node_modules/lodash/_mapCacheGet.js +1 -2
  745. package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -1
  746. package/dist/node_modules/lodash/_mapCacheHas.js +1 -2
  747. package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -1
  748. package/dist/node_modules/lodash/_mapCacheSet.js +1 -2
  749. package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -1
  750. package/dist/node_modules/lodash/_mapToArray.js +1 -2
  751. package/dist/node_modules/lodash/_mapToArray.js.map +1 -1
  752. package/dist/node_modules/lodash/_matchesStrictComparable.js +2 -3
  753. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -1
  754. package/dist/node_modules/lodash/_memoizeCapped.js +1 -2
  755. package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -1
  756. package/dist/node_modules/lodash/_nativeCreate.js +1 -2
  757. package/dist/node_modules/lodash/_nativeCreate.js.map +1 -1
  758. package/dist/node_modules/lodash/_nativeKeys.js +1 -2
  759. package/dist/node_modules/lodash/_nativeKeys.js.map +1 -1
  760. package/dist/node_modules/lodash/_nodeUtil.js +1 -2
  761. package/dist/node_modules/lodash/_nodeUtil.js.map +1 -1
  762. package/dist/node_modules/lodash/_objectToString.js +1 -2
  763. package/dist/node_modules/lodash/_objectToString.js.map +1 -1
  764. package/dist/node_modules/lodash/_overArg.js +1 -2
  765. package/dist/node_modules/lodash/_overArg.js.map +1 -1
  766. package/dist/node_modules/lodash/_overRest.js +1 -2
  767. package/dist/node_modules/lodash/_overRest.js.map +1 -1
  768. package/dist/node_modules/lodash/_root.js +1 -2
  769. package/dist/node_modules/lodash/_root.js.map +1 -1
  770. package/dist/node_modules/lodash/_setCacheAdd.js +4 -6
  771. package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -1
  772. package/dist/node_modules/lodash/_setCacheHas.js +1 -2
  773. package/dist/node_modules/lodash/_setCacheHas.js.map +1 -1
  774. package/dist/node_modules/lodash/_setToArray.js +1 -2
  775. package/dist/node_modules/lodash/_setToArray.js.map +1 -1
  776. package/dist/node_modules/lodash/_setToString.js +1 -2
  777. package/dist/node_modules/lodash/_setToString.js.map +1 -1
  778. package/dist/node_modules/lodash/_shortOut.js +8 -9
  779. package/dist/node_modules/lodash/_shortOut.js.map +1 -1
  780. package/dist/node_modules/lodash/_stackClear.js +1 -2
  781. package/dist/node_modules/lodash/_stackClear.js.map +1 -1
  782. package/dist/node_modules/lodash/_stackDelete.js +1 -2
  783. package/dist/node_modules/lodash/_stackDelete.js.map +1 -1
  784. package/dist/node_modules/lodash/_stackGet.js +1 -2
  785. package/dist/node_modules/lodash/_stackGet.js.map +1 -1
  786. package/dist/node_modules/lodash/_stackHas.js +1 -2
  787. package/dist/node_modules/lodash/_stackHas.js.map +1 -1
  788. package/dist/node_modules/lodash/_stackSet.js +1 -2
  789. package/dist/node_modules/lodash/_stackSet.js.map +1 -1
  790. package/dist/node_modules/lodash/_strictIndexOf.js +1 -2
  791. package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -1
  792. package/dist/node_modules/lodash/_stringToArray.js +4 -5
  793. package/dist/node_modules/lodash/_stringToArray.js.map +1 -1
  794. package/dist/node_modules/lodash/_stringToPath.js +1 -2
  795. package/dist/node_modules/lodash/_stringToPath.js.map +1 -1
  796. package/dist/node_modules/lodash/_toKey.js +2 -3
  797. package/dist/node_modules/lodash/_toKey.js.map +1 -1
  798. package/dist/node_modules/lodash/_toSource.js +1 -2
  799. package/dist/node_modules/lodash/_toSource.js.map +1 -1
  800. package/dist/node_modules/lodash/_trimmedEndIndex.js +1 -2
  801. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -1
  802. package/dist/node_modules/lodash/_unicodeToArray.js +1 -2
  803. package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -1
  804. package/dist/node_modules/lodash/constant.js +1 -2
  805. package/dist/node_modules/lodash/constant.js.map +1 -1
  806. package/dist/node_modules/lodash/debounce.js +1 -2
  807. package/dist/node_modules/lodash/debounce.js.map +1 -1
  808. package/dist/node_modules/lodash/eq.js +1 -2
  809. package/dist/node_modules/lodash/eq.js.map +1 -1
  810. package/dist/node_modules/lodash/every.js +7 -8
  811. package/dist/node_modules/lodash/every.js.map +1 -1
  812. package/dist/node_modules/lodash/find.js +1 -2
  813. package/dist/node_modules/lodash/find.js.map +1 -1
  814. package/dist/node_modules/lodash/findIndex.js +4 -5
  815. package/dist/node_modules/lodash/findIndex.js.map +1 -1
  816. package/dist/node_modules/lodash/flatMap.js +1 -2
  817. package/dist/node_modules/lodash/flatMap.js.map +1 -1
  818. package/dist/node_modules/lodash/get.js +1 -2
  819. package/dist/node_modules/lodash/get.js.map +1 -1
  820. package/dist/node_modules/lodash/hasIn.js +1 -2
  821. package/dist/node_modules/lodash/hasIn.js.map +1 -1
  822. package/dist/node_modules/lodash/identity.js +1 -2
  823. package/dist/node_modules/lodash/identity.js.map +1 -1
  824. package/dist/node_modules/lodash/isArguments.js +4 -5
  825. package/dist/node_modules/lodash/isArguments.js.map +1 -1
  826. package/dist/node_modules/lodash/isArray.js +1 -2
  827. package/dist/node_modules/lodash/isArray.js.map +1 -1
  828. package/dist/node_modules/lodash/isArrayLike.js +1 -2
  829. package/dist/node_modules/lodash/isArrayLike.js.map +1 -1
  830. package/dist/node_modules/lodash/isBoolean.js +1 -2
  831. package/dist/node_modules/lodash/isBoolean.js.map +1 -1
  832. package/dist/node_modules/lodash/isBuffer.js +1 -2
  833. package/dist/node_modules/lodash/isBuffer.js.map +1 -1
  834. package/dist/node_modules/lodash/isEqual.js +1 -2
  835. package/dist/node_modules/lodash/isEqual.js.map +1 -1
  836. package/dist/node_modules/lodash/isFunction.js +1 -2
  837. package/dist/node_modules/lodash/isFunction.js.map +1 -1
  838. package/dist/node_modules/lodash/isLength.js +4 -6
  839. package/dist/node_modules/lodash/isLength.js.map +1 -1
  840. package/dist/node_modules/lodash/isNaN.js +1 -2
  841. package/dist/node_modules/lodash/isNaN.js.map +1 -1
  842. package/dist/node_modules/lodash/isNil.js +1 -2
  843. package/dist/node_modules/lodash/isNil.js.map +1 -1
  844. package/dist/node_modules/lodash/isNumber.js +1 -2
  845. package/dist/node_modules/lodash/isNumber.js.map +1 -1
  846. package/dist/node_modules/lodash/isObject.js +1 -2
  847. package/dist/node_modules/lodash/isObject.js.map +1 -1
  848. package/dist/node_modules/lodash/isObjectLike.js +1 -2
  849. package/dist/node_modules/lodash/isObjectLike.js.map +1 -1
  850. package/dist/node_modules/lodash/isPlainObject.js +4 -5
  851. package/dist/node_modules/lodash/isPlainObject.js.map +1 -1
  852. package/dist/node_modules/lodash/isString.js +4 -5
  853. package/dist/node_modules/lodash/isString.js.map +1 -1
  854. package/dist/node_modules/lodash/isSymbol.js +1 -2
  855. package/dist/node_modules/lodash/isSymbol.js.map +1 -1
  856. package/dist/node_modules/lodash/isTypedArray.js +1 -2
  857. package/dist/node_modules/lodash/isTypedArray.js.map +1 -1
  858. package/dist/node_modules/lodash/keys.js +1 -2
  859. package/dist/node_modules/lodash/keys.js.map +1 -1
  860. package/dist/node_modules/lodash/last.js +1 -2
  861. package/dist/node_modules/lodash/last.js.map +1 -1
  862. package/dist/node_modules/lodash/map.js +6 -7
  863. package/dist/node_modules/lodash/map.js.map +1 -1
  864. package/dist/node_modules/lodash/mapValues.js +4 -5
  865. package/dist/node_modules/lodash/mapValues.js.map +1 -1
  866. package/dist/node_modules/lodash/max.js +5 -6
  867. package/dist/node_modules/lodash/max.js.map +1 -1
  868. package/dist/node_modules/lodash/memoize.js +1 -2
  869. package/dist/node_modules/lodash/memoize.js.map +1 -1
  870. package/dist/node_modules/lodash/min.js +5 -6
  871. package/dist/node_modules/lodash/min.js.map +1 -1
  872. package/dist/node_modules/lodash/noop.js +1 -2
  873. package/dist/node_modules/lodash/noop.js.map +1 -1
  874. package/dist/node_modules/lodash/now.js +1 -2
  875. package/dist/node_modules/lodash/now.js.map +1 -1
  876. package/dist/node_modules/lodash/property.js +6 -7
  877. package/dist/node_modules/lodash/property.js.map +1 -1
  878. package/dist/node_modules/lodash/range.js +1 -2
  879. package/dist/node_modules/lodash/range.js.map +1 -1
  880. package/dist/node_modules/lodash/some.js +7 -8
  881. package/dist/node_modules/lodash/some.js.map +1 -1
  882. package/dist/node_modules/lodash/sortBy.js +1 -2
  883. package/dist/node_modules/lodash/sortBy.js.map +1 -1
  884. package/dist/node_modules/lodash/stubArray.js +1 -2
  885. package/dist/node_modules/lodash/stubArray.js.map +1 -1
  886. package/dist/node_modules/lodash/stubFalse.js +1 -2
  887. package/dist/node_modules/lodash/stubFalse.js.map +1 -1
  888. package/dist/node_modules/lodash/throttle.js +4 -5
  889. package/dist/node_modules/lodash/throttle.js.map +1 -1
  890. package/dist/node_modules/lodash/toFinite.js +2 -3
  891. package/dist/node_modules/lodash/toFinite.js.map +1 -1
  892. package/dist/node_modules/lodash/toInteger.js +1 -2
  893. package/dist/node_modules/lodash/toInteger.js.map +1 -1
  894. package/dist/node_modules/lodash/toNumber.js +4 -5
  895. package/dist/node_modules/lodash/toNumber.js.map +1 -1
  896. package/dist/node_modules/lodash/toString.js +1 -2
  897. package/dist/node_modules/lodash/toString.js.map +1 -1
  898. package/dist/node_modules/lodash/uniqBy.js +1 -2
  899. package/dist/node_modules/lodash/uniqBy.js.map +1 -1
  900. package/dist/node_modules/lodash/upperFirst.js +1 -2
  901. package/dist/node_modules/lodash/upperFirst.js.map +1 -1
  902. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +22 -23
  903. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +1 -1
  904. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +29 -30
  905. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +1 -1
  906. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +17 -18
  907. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +1 -1
  908. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +10 -11
  909. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +1 -1
  910. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +5 -6
  911. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +1 -1
  912. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +6 -7
  913. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +1 -1
  914. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +1 -2
  915. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +1 -1
  916. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +4 -5
  917. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +1 -1
  918. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +50 -49
  919. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +1 -1
  920. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +1 -2
  921. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -1
  922. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +1 -2
  923. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +1 -1
  924. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +1 -2
  925. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -1
  926. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +1 -2
  927. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +1 -1
  928. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +17 -18
  929. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +1 -1
  930. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +23 -24
  931. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +1 -1
  932. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +12 -12
  933. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +1 -1
  934. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +1 -2
  935. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +1 -1
  936. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +35 -37
  937. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +1 -1
  938. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +18 -19
  939. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +1 -1
  940. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +1 -2
  941. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +1 -1
  942. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +1 -2
  943. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +1 -1
  944. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +1 -2
  945. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +1 -1
  946. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +1 -2
  947. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +1 -1
  948. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +1 -2
  949. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +1 -1
  950. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +2 -3
  951. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +1 -1
  952. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +2 -3
  953. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +1 -1
  954. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +9 -10
  955. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +1 -1
  956. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +3 -3
  957. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +1 -1
  958. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +1 -2
  959. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -1
  960. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +1 -2
  961. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +1 -1
  962. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +1 -2
  963. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +1 -1
  964. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +1 -2
  965. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +1 -1
  966. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +2 -3
  967. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +1 -1
  968. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +1 -2
  969. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +1 -1
  970. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +1 -2
  971. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -1
  972. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +2 -3
  973. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +1 -1
  974. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +3 -4
  975. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +1 -1
  976. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +2 -3
  977. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +1 -1
  978. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +1 -2
  979. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +1 -1
  980. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +9 -10
  981. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +1 -1
  982. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +1 -2
  983. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +1 -1
  984. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +1 -2
  985. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +1 -1
  986. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +4 -5
  987. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +1 -1
  988. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +5 -6
  989. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +1 -1
  990. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +1 -2
  991. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +1 -1
  992. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +3 -4
  993. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +1 -1
  994. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +2 -3
  995. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +1 -1
  996. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +1 -2
  997. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +1 -1
  998. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +1 -2
  999. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +1 -1
  1000. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +1 -2
  1001. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -1
  1002. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +7 -8
  1003. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +1 -1
  1004. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +1 -2
  1005. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +1 -1
  1006. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +1 -2
  1007. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +1 -1
  1008. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +1 -2
  1009. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +1 -1
  1010. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +1 -2
  1011. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +1 -1
  1012. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +1 -2
  1013. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +1 -1
  1014. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +1 -2
  1015. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +1 -1
  1016. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +1 -2
  1017. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +1 -1
  1018. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +1 -2
  1019. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -1
  1020. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +1 -2
  1021. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -1
  1022. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +2 -9
  1023. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -1
  1024. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +16 -17
  1025. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -1
  1026. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +3 -4
  1027. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -1
  1028. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +1 -2
  1029. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -1
  1030. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +1 -2
  1031. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -1
  1032. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +2 -3
  1033. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -1
  1034. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +1 -2
  1035. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -1
  1036. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +1 -2
  1037. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -1
  1038. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +15 -16
  1039. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +1 -1
  1040. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +1 -2
  1041. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +1 -1
  1042. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +1 -2
  1043. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +1 -1
  1044. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +2 -3
  1045. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +1 -1
  1046. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +16 -17
  1047. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +1 -1
  1048. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +6 -7
  1049. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +1 -1
  1050. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +2 -3
  1051. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +1 -1
  1052. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +2 -3
  1053. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +1 -1
  1054. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +1 -2
  1055. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +1 -1
  1056. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +2 -3
  1057. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +1 -1
  1058. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +175 -180
  1059. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +1 -1
  1060. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +1 -2
  1061. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +1 -1
  1062. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +2 -3
  1063. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +1 -1
  1064. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +6 -5
  1065. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +1 -1
  1066. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +1 -2
  1067. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +1 -1
  1068. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +1 -2
  1069. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +1 -1
  1070. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +1 -2
  1071. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +1 -1
  1072. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +1 -2
  1073. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +1 -1
  1074. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +1 -2
  1075. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +1 -1
  1076. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +1 -2
  1077. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +1 -1
  1078. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +1 -2
  1079. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +1 -1
  1080. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +1 -2
  1081. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +1 -1
  1082. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +1 -2
  1083. package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +1 -1
  1084. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +58 -59
  1085. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +1 -1
  1086. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +1 -2
  1087. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +1 -1
  1088. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +1 -2
  1089. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +1 -1
  1090. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +1 -2
  1091. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +1 -1
  1092. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +1 -2
  1093. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +1 -1
  1094. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +1 -2
  1095. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +1 -1
  1096. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +9 -10
  1097. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +1 -1
  1098. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +10 -15
  1099. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +1 -1
  1100. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +10 -11
  1101. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +1 -1
  1102. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +1 -2
  1103. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +1 -1
  1104. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +1 -2
  1105. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +1 -1
  1106. package/dist/node_modules/motion-dom/dist/es/render/store.js +1 -2
  1107. package/dist/node_modules/motion-dom/dist/es/render/store.js.map +1 -1
  1108. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +11 -12
  1109. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +1 -1
  1110. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +1 -2
  1111. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +1 -1
  1112. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +2 -3
  1113. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -1
  1114. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +1 -2
  1115. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +1 -1
  1116. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +1 -2
  1117. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +1 -1
  1118. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +1 -2
  1119. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +1 -1
  1120. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +6 -7
  1121. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -1
  1122. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +57 -58
  1123. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +1 -1
  1124. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +1 -2
  1125. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +1 -1
  1126. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +1 -2
  1127. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +1 -1
  1128. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +1 -2
  1129. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +1 -1
  1130. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +2 -3
  1131. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +1 -1
  1132. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +1 -2
  1133. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +1 -1
  1134. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +1 -2
  1135. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +1 -1
  1136. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +2 -3
  1137. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +1 -1
  1138. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +2 -3
  1139. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +1 -1
  1140. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +9 -8
  1141. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +1 -1
  1142. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +8 -7
  1143. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +1 -1
  1144. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +1 -2
  1145. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +1 -1
  1146. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +1 -2
  1147. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -1
  1148. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +1 -2
  1149. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +1 -1
  1150. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +1 -2
  1151. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +1 -1
  1152. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +1 -2
  1153. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +1 -1
  1154. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +1 -2
  1155. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +1 -1
  1156. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +7 -8
  1157. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +1 -1
  1158. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +1 -2
  1159. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +1 -1
  1160. package/dist/node_modules/motion-dom/dist/es/resize/index.js +1 -2
  1161. package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +1 -1
  1162. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +1 -2
  1163. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js.map +1 -1
  1164. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +1 -2
  1165. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js.map +1 -1
  1166. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +7 -8
  1167. package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +1 -1
  1168. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +10 -7
  1169. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +1 -1
  1170. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +1 -2
  1171. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +1 -1
  1172. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +1 -2
  1173. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +1 -1
  1174. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +1 -2
  1175. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +1 -1
  1176. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +17 -18
  1177. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +1 -1
  1178. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +13 -14
  1179. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +1 -1
  1180. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +1 -2
  1181. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +1 -1
  1182. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +4 -5
  1183. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +1 -1
  1184. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +1 -2
  1185. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +1 -1
  1186. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +2 -3
  1187. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +1 -1
  1188. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +1 -2
  1189. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -1
  1190. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +1 -2
  1191. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -1
  1192. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +2 -3
  1193. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -1
  1194. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +1 -2
  1195. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -1
  1196. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +1 -2
  1197. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -1
  1198. package/dist/node_modules/motion-dom/dist/es/value/index.js +20 -21
  1199. package/dist/node_modules/motion-dom/dist/es/value/index.js.map +1 -1
  1200. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +1 -2
  1201. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +1 -1
  1202. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +5 -6
  1203. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +1 -1
  1204. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +1 -2
  1205. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +1 -1
  1206. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +7 -8
  1207. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +1 -1
  1208. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +7 -8
  1209. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +1 -1
  1210. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +4 -5
  1211. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +1 -1
  1212. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +1 -2
  1213. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +1 -1
  1214. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +10 -11
  1215. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +1 -1
  1216. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +13 -14
  1217. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +1 -1
  1218. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +1 -2
  1219. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +1 -1
  1220. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +8 -9
  1221. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +1 -1
  1222. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +1 -2
  1223. package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +1 -1
  1224. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +2 -3
  1225. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +1 -1
  1226. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +58 -59
  1227. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +1 -1
  1228. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +1 -2
  1229. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +1 -1
  1230. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +1 -2
  1231. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +1 -1
  1232. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +2 -3
  1233. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +1 -1
  1234. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +1 -2
  1235. package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +1 -1
  1236. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +2 -3
  1237. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +1 -1
  1238. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +1 -2
  1239. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +1 -1
  1240. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +5 -6
  1241. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +1 -1
  1242. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +1 -2
  1243. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +1 -1
  1244. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +1 -2
  1245. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +1 -1
  1246. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +1 -2
  1247. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +1 -1
  1248. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +1 -2
  1249. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +1 -1
  1250. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +1 -2
  1251. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +1 -1
  1252. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +1 -2
  1253. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +1 -1
  1254. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +1 -2
  1255. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +1 -1
  1256. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +1 -2
  1257. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +1 -1
  1258. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +1 -2
  1259. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +1 -1
  1260. package/dist/node_modules/motion-utils/dist/es/array.js +1 -2
  1261. package/dist/node_modules/motion-utils/dist/es/array.js.map +1 -1
  1262. package/dist/node_modules/motion-utils/dist/es/clamp.js +1 -2
  1263. package/dist/node_modules/motion-utils/dist/es/clamp.js.map +1 -1
  1264. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +1 -2
  1265. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +1 -1
  1266. package/dist/node_modules/motion-utils/dist/es/easing/back.js +2 -3
  1267. package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +1 -1
  1268. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +1 -2
  1269. package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +1 -1
  1270. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +2 -3
  1271. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +1 -1
  1272. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +2 -3
  1273. package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +1 -1
  1274. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +1 -2
  1275. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +1 -1
  1276. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +1 -2
  1277. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +1 -1
  1278. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +1 -2
  1279. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +1 -1
  1280. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +1 -2
  1281. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +1 -1
  1282. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +12 -13
  1283. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +1 -1
  1284. package/dist/node_modules/motion-utils/dist/es/errors.js +1 -2
  1285. package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -1
  1286. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +1 -2
  1287. package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +1 -1
  1288. package/dist/node_modules/motion-utils/dist/es/global-config.js +1 -2
  1289. package/dist/node_modules/motion-utils/dist/es/global-config.js.map +1 -1
  1290. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +1 -2
  1291. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +1 -1
  1292. package/dist/node_modules/motion-utils/dist/es/is-object.js +1 -2
  1293. package/dist/node_modules/motion-utils/dist/es/is-object.js.map +1 -1
  1294. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +1 -2
  1295. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +1 -1
  1296. package/dist/node_modules/motion-utils/dist/es/memo.js +2 -3
  1297. package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -1
  1298. package/dist/node_modules/motion-utils/dist/es/noop.js +1 -2
  1299. package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -1
  1300. package/dist/node_modules/motion-utils/dist/es/pipe.js +1 -2
  1301. package/dist/node_modules/motion-utils/dist/es/pipe.js.map +1 -1
  1302. package/dist/node_modules/motion-utils/dist/es/progress.js +1 -2
  1303. package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -1
  1304. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +7 -6
  1305. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +1 -1
  1306. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +1 -2
  1307. package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -1
  1308. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +1 -2
  1309. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +1 -1
  1310. package/dist/node_modules/motion-utils/dist/es/warn-once.js +1 -2
  1311. package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +1 -1
  1312. package/dist/node_modules/object-assign/index.js +1 -2
  1313. package/dist/node_modules/object-assign/index.js.map +1 -1
  1314. package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
  1315. package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -1
  1316. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
  1317. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -1
  1318. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
  1319. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -1
  1320. package/dist/node_modules/prop-types/index.js +1 -2
  1321. package/dist/node_modules/prop-types/index.js.map +1 -1
  1322. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
  1323. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -1
  1324. package/dist/node_modules/prop-types/lib/has.js +1 -2
  1325. package/dist/node_modules/prop-types/lib/has.js.map +1 -1
  1326. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -2
  1327. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  1328. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
  1329. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  1330. package/dist/node_modules/prop-types/node_modules/react-is/index.js +2 -3
  1331. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -1
  1332. package/dist/node_modules/react-is/cjs/react-is.development.js +31 -32
  1333. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  1334. package/dist/node_modules/react-is/cjs/react-is.production.min.js +1 -2
  1335. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  1336. package/dist/node_modules/react-is/index.js +2 -3
  1337. package/dist/node_modules/react-is/index.js.map +1 -1
  1338. package/dist/node_modules/react-smooth/es6/Animate.js +33 -41
  1339. package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -1
  1340. package/dist/node_modules/react-smooth/es6/AnimateManager.js +2 -5
  1341. package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -1
  1342. package/dist/node_modules/react-smooth/es6/configUpdate.js +1 -2
  1343. package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -1
  1344. package/dist/node_modules/react-smooth/es6/easing.js +1 -2
  1345. package/dist/node_modules/react-smooth/es6/easing.js.map +1 -1
  1346. package/dist/node_modules/react-smooth/es6/index.js +1 -2
  1347. package/dist/node_modules/react-smooth/es6/index.js.map +1 -1
  1348. package/dist/node_modules/react-smooth/es6/setRafTimeout.js +1 -2
  1349. package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -1
  1350. package/dist/node_modules/react-smooth/es6/util.js +17 -16
  1351. package/dist/node_modules/react-smooth/es6/util.js.map +1 -1
  1352. package/dist/node_modules/recharts/es6/cartesian/Area.js +99 -100
  1353. package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -1
  1354. package/dist/node_modules/recharts/es6/cartesian/Bar.js +103 -104
  1355. package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -1
  1356. package/dist/node_modules/recharts/es6/cartesian/Brush.js +35 -36
  1357. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -1
  1358. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +60 -67
  1359. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -1
  1360. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +45 -46
  1361. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -1
  1362. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +20 -21
  1363. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -1
  1364. package/dist/node_modules/recharts/es6/cartesian/Line.js +79 -80
  1365. package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -1
  1366. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +29 -30
  1367. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -1
  1368. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +23 -24
  1369. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -1
  1370. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +31 -32
  1371. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -1
  1372. package/dist/node_modules/recharts/es6/cartesian/Scatter.js +81 -82
  1373. package/dist/node_modules/recharts/es6/cartesian/Scatter.js.map +1 -1
  1374. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +10 -11
  1375. package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -1
  1376. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +10 -11
  1377. package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -1
  1378. package/dist/node_modules/recharts/es6/cartesian/ZAxis.js +2 -3
  1379. package/dist/node_modules/recharts/es6/cartesian/ZAxis.js.map +1 -1
  1380. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +5 -6
  1381. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -1
  1382. package/dist/node_modules/recharts/es6/cartesian/getTicks.js +7 -8
  1383. package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -1
  1384. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +2 -5
  1385. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -1
  1386. package/dist/node_modules/recharts/es6/chart/AreaChart.js +5 -6
  1387. package/dist/node_modules/recharts/es6/chart/AreaChart.js.map +1 -1
  1388. package/dist/node_modules/recharts/es6/chart/BarChart.js +7 -8
  1389. package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -1
  1390. package/dist/node_modules/recharts/es6/chart/ComposedChart.js +18 -19
  1391. package/dist/node_modules/recharts/es6/chart/ComposedChart.js.map +1 -1
  1392. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +534 -533
  1393. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -1
  1394. package/dist/node_modules/recharts/es6/component/Cell.js +1 -2
  1395. package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -1
  1396. package/dist/node_modules/recharts/es6/component/Cursor.js +17 -18
  1397. package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -1
  1398. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +35 -36
  1399. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -1
  1400. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +16 -17
  1401. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -1
  1402. package/dist/node_modules/recharts/es6/component/Label.js +85 -86
  1403. package/dist/node_modules/recharts/es6/component/Label.js.map +1 -1
  1404. package/dist/node_modules/recharts/es6/component/LabelList.js +20 -21
  1405. package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -1
  1406. package/dist/node_modules/recharts/es6/component/Legend.js +26 -23
  1407. package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -1
  1408. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +16 -17
  1409. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -1
  1410. package/dist/node_modules/recharts/es6/component/Text.js +18 -21
  1411. package/dist/node_modules/recharts/es6/component/Text.js.map +1 -1
  1412. package/dist/node_modules/recharts/es6/component/Tooltip.js +16 -17
  1413. package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -1
  1414. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +3 -4
  1415. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -1
  1416. package/dist/node_modules/recharts/es6/container/Layer.js +5 -6
  1417. package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -1
  1418. package/dist/node_modules/recharts/es6/container/Surface.js +5 -6
  1419. package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -1
  1420. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +21 -21
  1421. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -1
  1422. package/dist/node_modules/recharts/es6/shape/Cross.js +4 -5
  1423. package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -1
  1424. package/dist/node_modules/recharts/es6/shape/Curve.js +51 -52
  1425. package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -1
  1426. package/dist/node_modules/recharts/es6/shape/Dot.js +3 -4
  1427. package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -1
  1428. package/dist/node_modules/recharts/es6/shape/Rectangle.js +8 -9
  1429. package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -1
  1430. package/dist/node_modules/recharts/es6/shape/Sector.js +33 -34
  1431. package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -1
  1432. package/dist/node_modules/recharts/es6/shape/Symbols.js +33 -34
  1433. package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -1
  1434. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +8 -9
  1435. package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -1
  1436. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +24 -25
  1437. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -1
  1438. package/dist/node_modules/recharts/es6/util/BarUtils.js +10 -11
  1439. package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -1
  1440. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +33 -34
  1441. package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -1
  1442. package/dist/node_modules/recharts/es6/util/ChartUtils.js +237 -236
  1443. package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -1
  1444. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +1 -2
  1445. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -1
  1446. package/dist/node_modules/recharts/es6/util/DOMUtils.js +1 -2
  1447. package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -1
  1448. package/dist/node_modules/recharts/es6/util/DataUtils.js +7 -8
  1449. package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -1
  1450. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +20 -21
  1451. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -1
  1452. package/dist/node_modules/recharts/es6/util/Events.js +0 -1
  1453. package/dist/node_modules/recharts/es6/util/Events.js.map +1 -1
  1454. package/dist/node_modules/recharts/es6/util/Global.js +0 -1
  1455. package/dist/node_modules/recharts/es6/util/Global.js.map +1 -1
  1456. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +1 -2
  1457. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -1
  1458. package/dist/node_modules/recharts/es6/util/LogUtils.js +9 -8
  1459. package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -1
  1460. package/dist/node_modules/recharts/es6/util/PolarUtils.js +4 -5
  1461. package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -1
  1462. package/dist/node_modules/recharts/es6/util/ReactUtils.js +11 -12
  1463. package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -1
  1464. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +5 -6
  1465. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -1
  1466. package/dist/node_modules/recharts/es6/util/ScatterUtils.js +5 -6
  1467. package/dist/node_modules/recharts/es6/util/ScatterUtils.js.map +1 -1
  1468. package/dist/node_modules/recharts/es6/util/ShallowEqual.js +1 -2
  1469. package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -1
  1470. package/dist/node_modules/recharts/es6/util/TickUtils.js +4 -4
  1471. package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -1
  1472. package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -1
  1473. package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -1
  1474. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +7 -6
  1475. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -1
  1476. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +1 -2
  1477. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -1
  1478. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +1 -2
  1479. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -1
  1480. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +1 -2
  1481. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -1
  1482. package/dist/node_modules/recharts/es6/util/getLegendProps.js +9 -10
  1483. package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -1
  1484. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +1 -2
  1485. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -1
  1486. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +4 -5
  1487. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -1
  1488. package/dist/node_modules/recharts/es6/util/tooltip/translate.js +3 -4
  1489. package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -1
  1490. package/dist/node_modules/recharts/es6/util/types.js +2 -3
  1491. package/dist/node_modules/recharts/es6/util/types.js.map +1 -1
  1492. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +2 -3
  1493. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -1
  1494. package/dist/node_modules/recharts-scale/es6/index.js +1 -1
  1495. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +1 -2
  1496. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -1
  1497. package/dist/node_modules/recharts-scale/es6/util/utils.js +3 -4
  1498. package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -1
  1499. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +134 -151
  1500. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
  1501. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +2 -3
  1502. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -1
  1503. package/dist/node_modules/victory-vendor/es/d3-scale.js +2 -3
  1504. package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -1
  1505. package/dist/stories/EmptyState.stories.d.ts +0 -1
  1506. package/dist/stories/InsightsCharts.stories.d.ts +0 -1
  1507. package/dist/stories/MetricsCard.stories.d.ts +0 -1
  1508. package/dist/stories/StatusBadge.stories.d.ts +0 -1
  1509. package/package.json +21 -7
@@ -1 +1 @@
1
- {"version":3,"file":"PresenceContext.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/context/PresenceContext.mjs"],"sourcesContent":["\"use client\";\nimport { createContext } from 'react';\n\n/**\n * @public\n */\nconst PresenceContext = \n/* @__PURE__ */ createContext(null);\n\nexport { PresenceContext };\n//# sourceMappingURL=PresenceContext.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAMA,IAAM,IACU,kBAAc,KAAK"}
1
+ {"version":3,"file":"PresenceContext.js","names":["PresenceContext"],"sources":["../../../../../../node_modules/framer-motion/dist/es/context/PresenceContext.mjs"],"sourcesContent":["\"use client\";\nimport { createContext } from 'react';\n\n/**\n * @public\n */\nconst PresenceContext = \n/* @__PURE__ */ createContext(null);\n\nexport { PresenceContext };\n//# sourceMappingURL=PresenceContext.mjs.map\n"],"ignoreList":[0],"mappings":";;;AAMA,IAAMA,IACU,kBAAc,IAAI"}
@@ -1,8 +1,7 @@
1
1
  "use client";
2
2
  import { createContext as e } from "react";
3
- //#region node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
3
+ // node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
4
4
  var t = e({});
5
- //#endregion
6
5
  export { t as SwitchLayoutGroupContext };
7
6
 
8
7
  //# sourceMappingURL=SwitchLayoutGroupContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SwitchLayoutGroupContext.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs"],"sourcesContent":["\"use client\";\nimport { createContext } from 'react';\n\n/**\n * Internal, exported only for usage in Framer\n */\nconst SwitchLayoutGroupContext = createContext({});\n\nexport { SwitchLayoutGroupContext };\n//# sourceMappingURL=SwitchLayoutGroupContext.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAMA,IAAM,IAA2B,EAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"SwitchLayoutGroupContext.js","names":["SwitchLayoutGroupContext","createContext"],"sources":["../../../../../../node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs"],"sourcesContent":["\"use client\";\nimport { createContext } from 'react';\n\n/**\n * Internal, exported only for usage in Framer\n */\nconst SwitchLayoutGroupContext = createContext({});\n\nexport { SwitchLayoutGroupContext };\n//# sourceMappingURL=SwitchLayoutGroupContext.mjs.map\n"],"ignoreList":[0],"mappings":";;;AAMA,IAAMA,IAA2BC,EAAc,CAAC,CAAC"}
@@ -1,10 +1,9 @@
1
1
  import { addDomEvent as e } from "../../../../motion-dom/dist/es/events/add-dom-event.js";
2
2
  import { addPointerInfo as t } from "./event-info.js";
3
- //#region node_modules/framer-motion/dist/es/events/add-pointer-event.mjs
3
+ // node_modules/framer-motion/dist/es/events/add-pointer-event.mjs
4
4
  function n(n, r, i, a) {
5
5
  return e(n, r, t(i), a);
6
6
  }
7
- //#endregion
8
7
  export { n as addPointerEvent };
9
8
 
10
9
  //# sourceMappingURL=add-pointer-event.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-pointer-event.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/events/add-pointer-event.mjs"],"sourcesContent":["import { addDomEvent } from 'motion-dom';\nimport { addPointerInfo } from './event-info.mjs';\n\nfunction addPointerEvent(target, eventName, handler, options) {\n return addDomEvent(target, eventName, addPointerInfo(handler), options);\n}\n\nexport { addPointerEvent };\n//# sourceMappingURL=add-pointer-event.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,SAAS,EAAgB,GAAQ,GAAW,GAAS,GAAS;AAC1D,QAAO,EAAY,GAAQ,GAAW,EAAe,EAAQ,EAAE,EAAQ"}
1
+ {"version":3,"file":"add-pointer-event.js","names":["addPointerEvent","addDomEvent","target","eventName","addPointerInfo","handler","options"],"sources":["../../../../../../node_modules/framer-motion/dist/es/events/add-pointer-event.mjs"],"sourcesContent":["import { addDomEvent } from 'motion-dom';\nimport { addPointerInfo } from './event-info.mjs';\n\nfunction addPointerEvent(target, eventName, handler, options) {\n return addDomEvent(target, eventName, addPointerInfo(handler), options);\n}\n\nexport { addPointerEvent };\n//# sourceMappingURL=add-pointer-event.mjs.map\n"],"ignoreList":[0],"mappings":";;;AAGA,SAASA,EAAgB,GAAQ,GAAW,GAAS,GAAS;CAC1D,OAAOC,EAAYC,GAAQC,GAAWC,EAAeC,CAAO,GAAGC,CAAO;AAC1E"}
@@ -1,5 +1,5 @@
1
1
  import { isPrimaryPointer as e } from "../../../../motion-dom/dist/es/gestures/utils/is-primary-pointer.js";
2
- //#region node_modules/framer-motion/dist/es/events/event-info.mjs
2
+ // node_modules/framer-motion/dist/es/events/event-info.mjs
3
3
  function t(e) {
4
4
  return { point: {
5
5
  x: e.pageX,
@@ -7,7 +7,6 @@ function t(e) {
7
7
  } };
8
8
  }
9
9
  var n = (n) => (r) => e(r) && n(r, t(r));
10
- //#endregion
11
10
  export { n as addPointerInfo, t as extractEventInfo };
12
11
 
13
12
  //# sourceMappingURL=event-info.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"event-info.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/events/event-info.mjs"],"sourcesContent":["import { isPrimaryPointer } from 'motion-dom';\n\nfunction extractEventInfo(event) {\n return {\n point: {\n x: event.pageX,\n y: event.pageY,\n },\n };\n}\nconst addPointerInfo = (handler) => (event) => isPrimaryPointer(event) && handler(event, extractEventInfo(event));\n\nexport { addPointerInfo, extractEventInfo };\n//# sourceMappingURL=event-info.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,SAAS,EAAiB,GAAO;AAC7B,QAAO,EACH,OAAO;EACH,GAAG,EAAM;EACT,GAAG,EAAM;EACZ,EACJ;;AAEL,IAAM,KAAkB,OAAa,MAAU,EAAiB,EAAM,IAAI,EAAQ,GAAO,EAAiB,EAAM,CAAC"}
1
+ {"version":3,"file":"event-info.js","names":["extractEventInfo","event","addPointerInfo","isPrimaryPointer","handler"],"sources":["../../../../../../node_modules/framer-motion/dist/es/events/event-info.mjs"],"sourcesContent":["import { isPrimaryPointer } from 'motion-dom';\n\nfunction extractEventInfo(event) {\n return {\n point: {\n x: event.pageX,\n y: event.pageY,\n },\n };\n}\nconst addPointerInfo = (handler) => (event) => isPrimaryPointer(event) && handler(event, extractEventInfo(event));\n\nexport { addPointerInfo, extractEventInfo };\n//# sourceMappingURL=event-info.mjs.map\n"],"ignoreList":[0],"mappings":";;AAEA,SAASA,EAAiB,GAAO;CAC7B,OAAO,EACH,OAAO;EACH,GAAGC,EAAM;EACT,GAAGA,EAAM;CACb,EACJ;AACJ;AACA,IAAMC,KAAkB,OAAa,MAAUC,EAAiBF,CAAK,KAAKG,EAAQH,GAAOD,EAAiBC,CAAK,CAAC"}
@@ -1,66 +1,62 @@
1
- import { invariant as e } from "../../../../../motion-utils/dist/es/errors.js";
1
+ import { createBox as e } from "../../../../../motion-dom/dist/es/projection/geometry/models.js";
2
2
  import { frame as t } from "../../../../../motion-dom/dist/es/frameloop/frame.js";
3
- import { percent as n } from "../../../../../motion-dom/dist/es/value/types/numbers/units.js";
4
- import { mixNumber as r } from "../../../../../motion-dom/dist/es/utils/mix/number.js";
5
- import { animateMotionValue as i } from "../../../../../motion-dom/dist/es/animation/interfaces/motion-value.js";
6
- import { addValueToWillChange as a } from "../../../../../motion-dom/dist/es/value/will-change/add-will-change.js";
7
- import { setDragLock as o } from "../../../../../motion-dom/dist/es/gestures/drag/state/set-active.js";
8
- import { isElementTextInput as s } from "../../../../../motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js";
9
- import { resize as c } from "../../../../../motion-dom/dist/es/resize/index.js";
10
- import { createBox as l } from "../../../../../motion-dom/dist/es/projection/geometry/models.js";
11
- import { convertBoundingBoxToBox as u, convertBoxToBoundingBox as d } from "../../../../../motion-dom/dist/es/projection/geometry/conversion.js";
12
- import { measurePageBox as f } from "../../../../../motion-dom/dist/es/projection/utils/measure.js";
13
- import { calcLength as p } from "../../../../../motion-dom/dist/es/projection/geometry/delta-calc.js";
14
- import { eachAxis as m } from "../../../../../motion-dom/dist/es/projection/utils/each-axis.js";
15
- import { addDomEvent as h } from "../../../../../motion-dom/dist/es/events/add-dom-event.js";
16
- import { isRefObject as g } from "../../utils/is-ref-object.js";
3
+ import { eachAxis as n } from "../../../../../motion-dom/dist/es/projection/utils/each-axis.js";
4
+ import { measurePageBox as r } from "../../../../../motion-dom/dist/es/projection/utils/measure.js";
5
+ import { convertBoundingBoxToBox as i, convertBoxToBoundingBox as a } from "../../../../../motion-dom/dist/es/projection/geometry/conversion.js";
6
+ import { addValueToWillChange as o } from "../../../../../motion-dom/dist/es/value/will-change/add-will-change.js";
7
+ import { animateMotionValue as s } from "../../../../../motion-dom/dist/es/animation/interfaces/motion-value.js";
8
+ import { mixNumber as c } from "../../../../../motion-dom/dist/es/utils/mix/number.js";
9
+ import { addDomEvent as l } from "../../../../../motion-dom/dist/es/events/add-dom-event.js";
10
+ import { setDragLock as u } from "../../../../../motion-dom/dist/es/gestures/drag/state/set-active.js";
11
+ import { percent as d } from "../../../../../motion-dom/dist/es/value/types/numbers/units.js";
12
+ import { calcLength as f } from "../../../../../motion-dom/dist/es/projection/geometry/delta-calc.js";
13
+ import { resize as p } from "../../../../../motion-dom/dist/es/resize/index.js";
14
+ import { isElementTextInput as m } from "../../../../../motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js";
15
+ import { invariant as h } from "../../../../../motion-utils/dist/es/errors.js";
16
+ import { addPointerEvent as g } from "../../events/add-pointer-event.js";
17
17
  import { extractEventInfo as _ } from "../../events/event-info.js";
18
- import { addPointerEvent as v } from "../../events/add-pointer-event.js";
19
- import { getContextWindow as y } from "../../utils/get-context-window.js";
18
+ import { getContextWindow as v } from "../../utils/get-context-window.js";
19
+ import { isRefObject as y } from "../../utils/is-ref-object.js";
20
20
  import { PanSession as b } from "../pan/PanSession.js";
21
21
  import { applyConstraints as x, calcOrigin as S, calcRelativeConstraints as C, calcViewportConstraints as w, defaultElastic as T, rebaseAxisConstraints as E, resolveDragElastic as D } from "./utils/constraints.js";
22
- //#region node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
22
+ // node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
23
23
  var O = /* @__PURE__ */ new WeakMap(), k = class {
24
- constructor(e) {
24
+ constructor(t) {
25
25
  this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
26
26
  x: 0,
27
27
  y: 0
28
- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = l(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e;
28
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = e(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = t;
29
29
  }
30
30
  start(e, { snapToCursor: r = !1, distanceThreshold: i } = {}) {
31
- let { presenceContext: s } = this.visualElement;
32
- if (s && s.isPresent === !1) return;
33
- let c = (e) => {
31
+ let { presenceContext: a } = this.visualElement;
32
+ if (a && a.isPresent === !1) return;
33
+ let s = (e) => {
34
34
  r && this.snapToCursor(_(e).point), this.stopAnimation();
35
- }, l = (e, r) => {
36
- let { drag: i, dragPropagation: s, onDragStart: c } = this.getProps();
37
- if (i && !s && (this.openDragLock && this.openDragLock(), this.openDragLock = o(i), !this.openDragLock)) return;
38
- this.latestPointerEvent = e, this.latestPanInfo = r, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), m((e) => {
35
+ }, c = (e, r) => {
36
+ let { drag: i, dragPropagation: a, onDragStart: s } = this.getProps();
37
+ if (i && !a && (this.openDragLock && this.openDragLock(), this.openDragLock = u(i), !this.openDragLock)) return;
38
+ this.latestPointerEvent = e, this.latestPanInfo = r, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), n((e) => {
39
39
  let t = this.getAxisMotionValue(e).get() || 0;
40
- if (n.test(t)) {
40
+ if (d.test(t)) {
41
41
  let { projection: n } = this.visualElement;
42
42
  if (n && n.layout) {
43
43
  let r = n.layout.layoutBox[e];
44
- r && (t = p(r) * (parseFloat(t) / 100));
44
+ r && (t = f(r) * (parseFloat(t) / 100));
45
45
  }
46
46
  }
47
47
  this.originPoint[e] = t;
48
- }), c && t.update(() => c(e, r), !1, !0), a(this.visualElement, "transform");
49
- let { animationState: l } = this.visualElement;
50
- l && l.setActive("whileDrag", !0);
51
- }, u = (e, n) => {
48
+ }), s && t.update(() => s(e, r), !1, !0), o(this.visualElement, "transform");
49
+ let { animationState: c } = this.visualElement;
50
+ c && c.setActive("whileDrag", !0);
51
+ }, l = (e, n) => {
52
52
  this.latestPointerEvent = e, this.latestPanInfo = n;
53
53
  let { dragPropagation: r, dragDirectionLock: i, onDirectionLock: a, onDrag: o } = this.getProps();
54
54
  if (!r && !this.openDragLock) return;
55
55
  let { offset: s } = n;
56
- if (i && this.currentDirection === null) {
57
- this.currentDirection = N(s), this.currentDirection !== null && a && a(this.currentDirection);
58
- return;
59
- }
60
- this.updateAxis("x", n.point, s), this.updateAxis("y", n.point, s), this.visualElement.render(), o && t.update(() => o(e, n), !1, !0);
61
- }, d = (e, t) => {
56
+ i && this.currentDirection === null ? (this.currentDirection = N(s), this.currentDirection !== null && a && a(this.currentDirection)) : (this.updateAxis("x", n.point, s), this.updateAxis("y", n.point, s), this.visualElement.render(), o && t.update(() => o(e, n), !1, !0));
57
+ }, p = (e, t) => {
62
58
  this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;
63
- }, f = () => {
59
+ }, m = () => {
64
60
  let { dragSnapToOrigin: e } = this.getProps();
65
61
  (e || this.constraints) && this.startAnimation({
66
62
  x: 0,
@@ -68,16 +64,16 @@ var O = /* @__PURE__ */ new WeakMap(), k = class {
68
64
  });
69
65
  }, { dragSnapToOrigin: h } = this.getProps();
70
66
  this.panSession = new b(e, {
71
- onSessionStart: c,
72
- onStart: l,
73
- onMove: u,
74
- onSessionEnd: d,
75
- resumeAnimation: f
67
+ onSessionStart: s,
68
+ onStart: c,
69
+ onMove: l,
70
+ onSessionEnd: p,
71
+ resumeAnimation: m
76
72
  }, {
77
73
  transformPagePoint: this.visualElement.getTransformPagePoint(),
78
74
  dragSnapToOrigin: h,
79
75
  distanceThreshold: i,
80
- contextWindow: y(this.visualElement),
76
+ contextWindow: v(this.visualElement),
81
77
  element: this.visualElement.current
82
78
  });
83
79
  }
@@ -106,81 +102,81 @@ var O = /* @__PURE__ */ new WeakMap(), k = class {
106
102
  this.constraints && this.constraints[e] && (a = x(a, this.constraints[e], this.elastic[e])), i.set(a);
107
103
  }
108
104
  resolveConstraints() {
109
- let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;
110
- e && g(e) ? this.constraints ||= this.resolveRefConstraints() : e && n ? this.constraints = C(n.layoutBox, e) : this.constraints = !1, this.elastic = D(t), r !== this.constraints && !g(e) && n && this.constraints && !this.hasMutatedConstraints && m((e) => {
111
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = E(n.layoutBox[e], this.constraints[e]));
105
+ let { dragConstraints: e, dragElastic: t } = this.getProps(), r = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, i = this.constraints;
106
+ e && y(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && r ? C(r.layoutBox, e) : !1, this.elastic = D(t), i !== this.constraints && !y(e) && r && this.constraints && !this.hasMutatedConstraints && n((e) => {
107
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = E(r.layoutBox[e], this.constraints[e]));
112
108
  });
113
109
  }
114
110
  resolveRefConstraints() {
115
- let { dragConstraints: t, onMeasureDragConstraints: n } = this.getProps();
116
- if (!t || !g(t)) return !1;
117
- let r = t.current;
118
- e(r !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.", "drag-constraints-ref");
119
- let { projection: i } = this.visualElement;
120
- if (!i || !i.layout) return !1;
121
- i.root && (i.root.scroll = void 0, i.root.updateScroll());
122
- let a = f(r, i.root, this.visualElement.getTransformPagePoint()), o = w(i.layout.layoutBox, a);
123
- if (n) {
124
- let e = n(d(o));
125
- this.hasMutatedConstraints = !!e, e && (o = u(e));
111
+ let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
112
+ if (!e || !y(e)) return !1;
113
+ let n = e.current;
114
+ h(n !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.", "drag-constraints-ref");
115
+ let { projection: o } = this.visualElement;
116
+ if (!o || !o.layout) return !1;
117
+ o.root && (o.root.scroll = void 0, o.root.updateScroll());
118
+ let s = r(n, o.root, this.visualElement.getTransformPagePoint()), c = w(o.layout.layoutBox, s);
119
+ if (t) {
120
+ let e = t(a(c));
121
+ this.hasMutatedConstraints = !!e, e && (c = i(e));
126
122
  }
127
- return o;
123
+ return c;
128
124
  }
129
125
  startAnimation(e) {
130
- let { drag: t, dragMomentum: n, dragElastic: r, dragTransition: i, dragSnapToOrigin: a, onDragTransitionEnd: o } = this.getProps(), s = this.constraints || {}, c = m((o) => {
131
- if (!M(o, t, this.currentDirection)) return;
132
- let c = s && s[o] || {};
133
- (a === !0 || a === o) && (c = {
126
+ let { drag: t, dragMomentum: r, dragElastic: i, dragTransition: a, dragSnapToOrigin: o, onDragTransitionEnd: s } = this.getProps(), c = this.constraints || {}, l = n((n) => {
127
+ if (!M(n, t, this.currentDirection)) return;
128
+ let s = c && c[n] || {};
129
+ (o === !0 || o === n) && (s = {
134
130
  min: 0,
135
131
  max: 0
136
132
  });
137
- let l = r ? 200 : 1e6, u = r ? 40 : 1e7, d = {
133
+ let l = i ? 200 : 1e6, u = i ? 40 : 1e7, d = {
138
134
  type: "inertia",
139
- velocity: n ? e[o] : 0,
135
+ velocity: r ? e[n] : 0,
140
136
  bounceStiffness: l,
141
137
  bounceDamping: u,
142
138
  timeConstant: 750,
143
139
  restDelta: 1,
144
140
  restSpeed: 10,
145
- ...i,
146
- ...c
141
+ ...a,
142
+ ...s
147
143
  };
148
- return this.startAxisValueAnimation(o, d);
144
+ return this.startAxisValueAnimation(n, d);
149
145
  });
150
- return Promise.all(c).then(o);
146
+ return Promise.all(l).then(s);
151
147
  }
152
148
  startAxisValueAnimation(e, t) {
153
149
  let n = this.getAxisMotionValue(e);
154
- return a(this.visualElement, e), n.start(i(e, n, 0, t, this.visualElement, !1));
150
+ return o(this.visualElement, e), n.start(s(e, n, 0, t, this.visualElement, !1));
155
151
  }
156
152
  stopAnimation() {
157
- m((e) => this.getAxisMotionValue(e).stop());
153
+ n((e) => this.getAxisMotionValue(e).stop());
158
154
  }
159
155
  getAxisMotionValue(e) {
160
156
  let t = `_drag${e.toUpperCase()}`;
161
157
  return this.visualElement.getProps()[t] || this.visualElement.getValue(e, this.visualElement.latestValues[e] ?? 0);
162
158
  }
163
159
  snapToCursor(e) {
164
- m((t) => {
160
+ n((t) => {
165
161
  let { drag: n } = this.getProps();
166
162
  if (!M(t, n, this.currentDirection)) return;
167
- let { projection: i } = this.visualElement, a = this.getAxisMotionValue(t);
168
- if (i && i.layout) {
169
- let { min: n, max: o } = i.layout.layoutBox[t], s = a.get() || 0;
170
- a.set(e[t] - r(n, o, .5) + s);
163
+ let { projection: r } = this.visualElement, i = this.getAxisMotionValue(t);
164
+ if (r && r.layout) {
165
+ let { min: n, max: a } = r.layout.layoutBox[t], o = i.get() || 0;
166
+ i.set(e[t] - c(n, a, .5) + o);
171
167
  }
172
168
  });
173
169
  }
174
170
  scalePositionWithinConstraints() {
175
171
  if (!this.visualElement.current) return;
176
- let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
177
- if (!g(t) || !n || !this.constraints) return;
172
+ let { drag: e, dragConstraints: t } = this.getProps(), { projection: r } = this.visualElement;
173
+ if (!y(t) || !r || !this.constraints) return;
178
174
  this.stopAnimation();
179
175
  let i = {
180
176
  x: 0,
181
177
  y: 0
182
178
  };
183
- m((e) => {
179
+ n((e) => {
184
180
  let t = this.getAxisMotionValue(e);
185
181
  if (t && this.constraints !== !1) {
186
182
  let n = t.get();
@@ -191,31 +187,31 @@ var O = /* @__PURE__ */ new WeakMap(), k = class {
191
187
  }
192
188
  });
193
189
  let { transformTemplate: a } = this.visualElement.getProps();
194
- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), m((t) => {
190
+ this.visualElement.current.style.transform = a ? a({}, "") : "none", r.root && r.root.updateScroll(), r.updateLayout(), this.constraints = !1, this.resolveConstraints(), n((t) => {
195
191
  if (!M(t, e, null)) return;
196
- let n = this.getAxisMotionValue(t), { min: a, max: o } = this.constraints[t];
197
- n.set(r(a, o, i[t]));
192
+ let n = this.getAxisMotionValue(t), { min: r, max: a } = this.constraints[t];
193
+ n.set(c(r, a, i[t]));
198
194
  }), this.visualElement.render();
199
195
  }
200
196
  addListeners() {
201
197
  if (!this.visualElement.current) return;
202
198
  O.set(this.visualElement, this);
203
- let e = this.visualElement.current, n = v(e, "pointerdown", (t) => {
204
- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && s(i);
199
+ let e = this.visualElement.current, r = g(e, "pointerdown", (t) => {
200
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && m(i);
205
201
  n && r && !a && this.start(t);
206
- }), r, i = () => {
202
+ }), i, a = () => {
207
203
  let { dragConstraints: t } = this.getProps();
208
- g(t) && t.current && (this.constraints = this.resolveRefConstraints(), r ||= j(e, t.current, () => this.scalePositionWithinConstraints()));
209
- }, { projection: a } = this.visualElement, o = a.addEventListener("measure", i);
210
- a && !a.layout && (a.root && a.root.updateScroll(), a.updateLayout()), t.read(i);
211
- let c = h(window, "resize", () => this.scalePositionWithinConstraints()), l = a.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
212
- this.isDragging && t && (m((t) => {
204
+ y(t) && t.current && (this.constraints = this.resolveRefConstraints(), i ||= j(e, t.current, () => this.scalePositionWithinConstraints()));
205
+ }, { projection: o } = this.visualElement, s = o.addEventListener("measure", a);
206
+ o && !o.layout && (o.root && o.root.updateScroll(), o.updateLayout()), t.read(a);
207
+ let c = l(window, "resize", () => this.scalePositionWithinConstraints()), u = o.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
208
+ this.isDragging && t && (n((t) => {
213
209
  let n = this.getAxisMotionValue(t);
214
210
  n && (this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate));
215
211
  }), this.visualElement.render());
216
212
  }));
217
213
  return () => {
218
- c(), n(), o(), l && l(), r && r();
214
+ c(), r(), s(), u && u(), i && i();
219
215
  };
220
216
  }
221
217
  getProps() {
@@ -234,15 +230,11 @@ var O = /* @__PURE__ */ new WeakMap(), k = class {
234
230
  function A(e) {
235
231
  let t = !0;
236
232
  return () => {
237
- if (t) {
238
- t = !1;
239
- return;
240
- }
241
- e();
233
+ t ? t = !1 : e();
242
234
  };
243
235
  }
244
236
  function j(e, t, n) {
245
- let r = c(e, A(n)), i = c(t, A(n));
237
+ let r = p(e, A(n)), i = p(t, A(n));
246
238
  return () => {
247
239
  r(), i();
248
240
  };
@@ -254,7 +246,6 @@ function N(e, t = 10) {
254
246
  let n = null;
255
247
  return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
256
248
  }
257
- //#endregion
258
- export { k as VisualElementDragControls };
249
+ export { k as VisualElementDragControls, O as elementDragControls };
259
250
 
260
251
  //# sourceMappingURL=VisualElementDragControls.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VisualElementDragControls.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs"],"sourcesContent":["import { createBox, frame, eachAxis, measurePageBox, convertBoxToBoundingBox, convertBoundingBoxToBox, addValueToWillChange, animateMotionValue, mixNumber, addDomEvent, setDragLock, percent, calcLength, resize, isElementTextInput } from 'motion-dom';\nimport { invariant } from 'motion-utils';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport { extractEventInfo } from '../../events/event-info.mjs';\nimport { getContextWindow } from '../../utils/get-context-window.mjs';\nimport { isRefObject } from '../../utils/is-ref-object.mjs';\nimport { PanSession } from '../pan/PanSession.mjs';\nimport { applyConstraints, calcRelativeConstraints, resolveDragElastic, rebaseAxisConstraints, calcViewportConstraints, calcOrigin, defaultElastic } from './utils/constraints.mjs';\n\nconst elementDragControls = new WeakMap();\nclass VisualElementDragControls {\n constructor(visualElement) {\n this.openDragLock = null;\n this.isDragging = false;\n this.currentDirection = null;\n this.originPoint = { x: 0, y: 0 };\n /**\n * The permitted boundaries of travel, in pixels.\n */\n this.constraints = false;\n this.hasMutatedConstraints = false;\n /**\n * The per-axis resolved elastic values.\n */\n this.elastic = createBox();\n /**\n * The latest pointer event. Used as fallback when the `cancel` and `stop` functions are called without arguments.\n */\n this.latestPointerEvent = null;\n /**\n * The latest pan info. Used as fallback when the `cancel` and `stop` functions are called without arguments.\n */\n this.latestPanInfo = null;\n this.visualElement = visualElement;\n }\n start(originEvent, { snapToCursor = false, distanceThreshold } = {}) {\n /**\n * Don't start dragging if this component is exiting\n */\n const { presenceContext } = this.visualElement;\n if (presenceContext && presenceContext.isPresent === false)\n return;\n const onSessionStart = (event) => {\n if (snapToCursor) {\n this.snapToCursor(extractEventInfo(event).point);\n }\n this.stopAnimation();\n };\n const onStart = (event, info) => {\n // Attempt to grab the global drag gesture lock - maybe make this part of PanSession\n const { drag, dragPropagation, onDragStart } = this.getProps();\n if (drag && !dragPropagation) {\n if (this.openDragLock)\n this.openDragLock();\n this.openDragLock = setDragLock(drag);\n // If we don 't have the lock, don't start dragging\n if (!this.openDragLock)\n return;\n }\n this.latestPointerEvent = event;\n this.latestPanInfo = info;\n this.isDragging = true;\n this.currentDirection = null;\n this.resolveConstraints();\n if (this.visualElement.projection) {\n this.visualElement.projection.isAnimationBlocked = true;\n this.visualElement.projection.target = undefined;\n }\n /**\n * Record gesture origin and pointer offset\n */\n eachAxis((axis) => {\n let current = this.getAxisMotionValue(axis).get() || 0;\n /**\n * If the MotionValue is a percentage value convert to px\n */\n if (percent.test(current)) {\n const { projection } = this.visualElement;\n if (projection && projection.layout) {\n const measuredAxis = projection.layout.layoutBox[axis];\n if (measuredAxis) {\n const length = calcLength(measuredAxis);\n current = length * (parseFloat(current) / 100);\n }\n }\n }\n this.originPoint[axis] = current;\n });\n // Fire onDragStart event\n if (onDragStart) {\n frame.update(() => onDragStart(event, info), false, true);\n }\n addValueToWillChange(this.visualElement, \"transform\");\n const { animationState } = this.visualElement;\n animationState && animationState.setActive(\"whileDrag\", true);\n };\n const onMove = (event, info) => {\n this.latestPointerEvent = event;\n this.latestPanInfo = info;\n const { dragPropagation, dragDirectionLock, onDirectionLock, onDrag, } = this.getProps();\n // If we didn't successfully receive the gesture lock, early return.\n if (!dragPropagation && !this.openDragLock)\n return;\n const { offset } = info;\n // Attempt to detect drag direction if directionLock is true\n if (dragDirectionLock && this.currentDirection === null) {\n this.currentDirection = getCurrentDirection(offset);\n // If we've successfully set a direction, notify listener\n if (this.currentDirection !== null) {\n onDirectionLock && onDirectionLock(this.currentDirection);\n }\n return;\n }\n // Update each point with the latest position\n this.updateAxis(\"x\", info.point, offset);\n this.updateAxis(\"y\", info.point, offset);\n /**\n * Ideally we would leave the renderer to fire naturally at the end of\n * this frame but if the element is about to change layout as the result\n * of a re-render we want to ensure the browser can read the latest\n * bounding box to ensure the pointer and element don't fall out of sync.\n */\n this.visualElement.render();\n /**\n * This must fire after the render call as it might trigger a state\n * change which itself might trigger a layout update.\n */\n if (onDrag) {\n frame.update(() => onDrag(event, info), false, true);\n }\n };\n const onSessionEnd = (event, info) => {\n this.latestPointerEvent = event;\n this.latestPanInfo = info;\n this.stop(event, info);\n this.latestPointerEvent = null;\n this.latestPanInfo = null;\n };\n const resumeAnimation = () => {\n const { dragSnapToOrigin: snap } = this.getProps();\n if (snap || this.constraints) {\n this.startAnimation({ x: 0, y: 0 });\n }\n };\n const { dragSnapToOrigin } = this.getProps();\n this.panSession = new PanSession(originEvent, {\n onSessionStart,\n onStart,\n onMove,\n onSessionEnd,\n resumeAnimation,\n }, {\n transformPagePoint: this.visualElement.getTransformPagePoint(),\n dragSnapToOrigin,\n distanceThreshold,\n contextWindow: getContextWindow(this.visualElement),\n element: this.visualElement.current,\n });\n }\n /**\n * @internal\n */\n stop(event, panInfo) {\n const finalEvent = event || this.latestPointerEvent;\n const finalPanInfo = panInfo || this.latestPanInfo;\n const isDragging = this.isDragging;\n this.cancel();\n if (!isDragging || !finalPanInfo || !finalEvent)\n return;\n const { velocity } = finalPanInfo;\n this.startAnimation(velocity);\n const { onDragEnd } = this.getProps();\n if (onDragEnd) {\n frame.postRender(() => onDragEnd(finalEvent, finalPanInfo));\n }\n }\n /**\n * @internal\n */\n cancel() {\n this.isDragging = false;\n const { projection, animationState } = this.visualElement;\n if (projection) {\n projection.isAnimationBlocked = false;\n }\n this.endPanSession();\n const { dragPropagation } = this.getProps();\n if (!dragPropagation && this.openDragLock) {\n this.openDragLock();\n this.openDragLock = null;\n }\n animationState && animationState.setActive(\"whileDrag\", false);\n }\n /**\n * Clean up the pan session without modifying other drag state.\n * This is used during unmount to ensure event listeners are removed\n * without affecting projection animations or drag locks.\n * @internal\n */\n endPanSession() {\n this.panSession && this.panSession.end();\n this.panSession = undefined;\n }\n updateAxis(axis, _point, offset) {\n const { drag } = this.getProps();\n // If we're not dragging this axis, do an early return.\n if (!offset || !shouldDrag(axis, drag, this.currentDirection))\n return;\n const axisValue = this.getAxisMotionValue(axis);\n let next = this.originPoint[axis] + offset[axis];\n // Apply constraints\n if (this.constraints && this.constraints[axis]) {\n next = applyConstraints(next, this.constraints[axis], this.elastic[axis]);\n }\n axisValue.set(next);\n }\n resolveConstraints() {\n const { dragConstraints, dragElastic } = this.getProps();\n const layout = this.visualElement.projection &&\n !this.visualElement.projection.layout\n ? this.visualElement.projection.measure(false)\n : this.visualElement.projection?.layout;\n const prevConstraints = this.constraints;\n if (dragConstraints && isRefObject(dragConstraints)) {\n if (!this.constraints) {\n this.constraints = this.resolveRefConstraints();\n }\n }\n else {\n if (dragConstraints && layout) {\n this.constraints = calcRelativeConstraints(layout.layoutBox, dragConstraints);\n }\n else {\n this.constraints = false;\n }\n }\n this.elastic = resolveDragElastic(dragElastic);\n /**\n * If we're outputting to external MotionValues, we want to rebase the measured constraints\n * from viewport-relative to component-relative. This only applies to relative (non-ref)\n * constraints, as ref-based constraints from calcViewportConstraints are already in the\n * correct coordinate space for the motion value transform offset.\n */\n if (prevConstraints !== this.constraints &&\n !isRefObject(dragConstraints) &&\n layout &&\n this.constraints &&\n !this.hasMutatedConstraints) {\n eachAxis((axis) => {\n if (this.constraints !== false &&\n this.getAxisMotionValue(axis)) {\n this.constraints[axis] = rebaseAxisConstraints(layout.layoutBox[axis], this.constraints[axis]);\n }\n });\n }\n }\n resolveRefConstraints() {\n const { dragConstraints: constraints, onMeasureDragConstraints } = this.getProps();\n if (!constraints || !isRefObject(constraints))\n return false;\n const constraintsElement = constraints.current;\n invariant(constraintsElement !== null, \"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.\", \"drag-constraints-ref\");\n const { projection } = this.visualElement;\n // TODO\n if (!projection || !projection.layout)\n return false;\n /**\n * Refresh the root scroll offset so the constraint's viewport box\n * translates to correct page coordinates. The scroll captured at\n * drag mount can be stale if the document was scrolled afterwards —\n * e.g. via the browser restoring scroll on refresh, or an ancestor\n * layout effect running after this element's mount (#2829).\n *\n * Clear the cached scroll first so `updateScroll` bypasses its\n * per-animationId cache and re-reads the live value.\n */\n if (projection.root) {\n projection.root.scroll = undefined;\n projection.root.updateScroll();\n }\n const constraintsBox = measurePageBox(constraintsElement, projection.root, this.visualElement.getTransformPagePoint());\n let measuredConstraints = calcViewportConstraints(projection.layout.layoutBox, constraintsBox);\n /**\n * If there's an onMeasureDragConstraints listener we call it and\n * if different constraints are returned, set constraints to that\n */\n if (onMeasureDragConstraints) {\n const userConstraints = onMeasureDragConstraints(convertBoxToBoundingBox(measuredConstraints));\n this.hasMutatedConstraints = !!userConstraints;\n if (userConstraints) {\n measuredConstraints = convertBoundingBoxToBox(userConstraints);\n }\n }\n return measuredConstraints;\n }\n startAnimation(velocity) {\n const { drag, dragMomentum, dragElastic, dragTransition, dragSnapToOrigin, onDragTransitionEnd, } = this.getProps();\n const constraints = this.constraints || {};\n const momentumAnimations = eachAxis((axis) => {\n if (!shouldDrag(axis, drag, this.currentDirection)) {\n return;\n }\n let transition = (constraints && constraints[axis]) || {};\n if (dragSnapToOrigin === true ||\n dragSnapToOrigin === axis)\n transition = { min: 0, max: 0 };\n /**\n * Overdamp the boundary spring if `dragElastic` is disabled. There's still a frame\n * of spring animations so we should look into adding a disable spring option to `inertia`.\n * We could do something here where we affect the `bounceStiffness` and `bounceDamping`\n * using the value of `dragElastic`.\n */\n const bounceStiffness = dragElastic ? 200 : 1000000;\n const bounceDamping = dragElastic ? 40 : 10000000;\n const inertia = {\n type: \"inertia\",\n velocity: dragMomentum ? velocity[axis] : 0,\n bounceStiffness,\n bounceDamping,\n timeConstant: 750,\n restDelta: 1,\n restSpeed: 10,\n ...dragTransition,\n ...transition,\n };\n // If we're not animating on an externally-provided `MotionValue` we can use the\n // component's animation controls which will handle interactions with whileHover (etc),\n // otherwise we just have to animate the `MotionValue` itself.\n return this.startAxisValueAnimation(axis, inertia);\n });\n // Run all animations and then resolve the new drag constraints.\n return Promise.all(momentumAnimations).then(onDragTransitionEnd);\n }\n startAxisValueAnimation(axis, transition) {\n const axisValue = this.getAxisMotionValue(axis);\n addValueToWillChange(this.visualElement, axis);\n return axisValue.start(animateMotionValue(axis, axisValue, 0, transition, this.visualElement, false));\n }\n stopAnimation() {\n eachAxis((axis) => this.getAxisMotionValue(axis).stop());\n }\n /**\n * Drag works differently depending on which props are provided.\n *\n * - If _dragX and _dragY are provided, we output the gesture delta directly to those motion values.\n * - Otherwise, we apply the delta to the x/y motion values.\n */\n getAxisMotionValue(axis) {\n const dragKey = `_drag${axis.toUpperCase()}`;\n const props = this.visualElement.getProps();\n const externalMotionValue = props[dragKey];\n return externalMotionValue\n ? externalMotionValue\n : this.visualElement.getValue(axis, this.visualElement.latestValues[axis] ?? 0);\n }\n snapToCursor(point) {\n eachAxis((axis) => {\n const { drag } = this.getProps();\n // If we're not dragging this axis, do an early return.\n if (!shouldDrag(axis, drag, this.currentDirection))\n return;\n const { projection } = this.visualElement;\n const axisValue = this.getAxisMotionValue(axis);\n if (projection && projection.layout) {\n const { min, max } = projection.layout.layoutBox[axis];\n /**\n * The layout measurement includes the current transform value,\n * so we need to add it back to get the correct snap position.\n * This fixes an issue where elements with initial coordinates\n * would snap to the wrong position on the first drag.\n */\n const current = axisValue.get() || 0;\n axisValue.set(point[axis] - mixNumber(min, max, 0.5) + current);\n }\n });\n }\n /**\n * When the viewport resizes we want to check if the measured constraints\n * have changed and, if so, reposition the element within those new constraints\n * relative to where it was before the resize.\n */\n scalePositionWithinConstraints() {\n if (!this.visualElement.current)\n return;\n const { drag, dragConstraints } = this.getProps();\n const { projection } = this.visualElement;\n if (!isRefObject(dragConstraints) || !projection || !this.constraints)\n return;\n /**\n * Stop current animations as there can be visual glitching if we try to do\n * this mid-animation\n */\n this.stopAnimation();\n /**\n * Record the relative position of the dragged element relative to the\n * constraints box and save as a progress value.\n */\n const boxProgress = { x: 0, y: 0 };\n eachAxis((axis) => {\n const axisValue = this.getAxisMotionValue(axis);\n if (axisValue && this.constraints !== false) {\n const latest = axisValue.get();\n boxProgress[axis] = calcOrigin({ min: latest, max: latest }, this.constraints[axis]);\n }\n });\n /**\n * Update the layout of this element and resolve the latest drag constraints\n */\n const { transformTemplate } = this.visualElement.getProps();\n this.visualElement.current.style.transform = transformTemplate\n ? transformTemplate({}, \"\")\n : \"none\";\n projection.root && projection.root.updateScroll();\n projection.updateLayout();\n /**\n * Reset constraints so resolveConstraints() will recalculate them\n * with the freshly measured layout rather than returning the cached value.\n */\n this.constraints = false;\n this.resolveConstraints();\n /**\n * For each axis, calculate the current progress of the layout axis\n * within the new constraints.\n */\n eachAxis((axis) => {\n if (!shouldDrag(axis, drag, null))\n return;\n /**\n * Calculate a new transform based on the previous box progress\n */\n const axisValue = this.getAxisMotionValue(axis);\n const { min, max } = this.constraints[axis];\n axisValue.set(mixNumber(min, max, boxProgress[axis]));\n });\n /**\n * Flush the updated transform to the DOM synchronously to prevent\n * a visual flash at the element's CSS layout position (0,0) when\n * the transform was stripped for measurement.\n */\n this.visualElement.render();\n }\n addListeners() {\n if (!this.visualElement.current)\n return;\n elementDragControls.set(this.visualElement, this);\n const element = this.visualElement.current;\n /**\n * Attach a pointerdown event listener on this DOM element to initiate drag tracking.\n */\n const stopPointerListener = addPointerEvent(element, \"pointerdown\", (event) => {\n const { drag, dragListener = true } = this.getProps();\n const target = event.target;\n /**\n * Only block drag if clicking on a text input child element\n * (input, textarea, select, contenteditable) where users might\n * want to select text or interact with the control.\n *\n * Buttons and links don't block drag since they don't have\n * click-and-move actions of their own.\n */\n const isClickingTextInputChild = target !== element && isElementTextInput(target);\n if (drag && dragListener && !isClickingTextInputChild) {\n this.start(event);\n }\n });\n /**\n * If using ref-based constraints, observe both the draggable element\n * and the constraint container for size changes via ResizeObserver.\n * Setup is deferred because dragConstraints.current is null when\n * addListeners first runs (React hasn't committed the ref yet).\n */\n let stopResizeObservers;\n const measureDragConstraints = () => {\n const { dragConstraints } = this.getProps();\n if (isRefObject(dragConstraints) && dragConstraints.current) {\n this.constraints = this.resolveRefConstraints();\n if (!stopResizeObservers) {\n stopResizeObservers = startResizeObservers(element, dragConstraints.current, () => this.scalePositionWithinConstraints());\n }\n }\n };\n const { projection } = this.visualElement;\n const stopMeasureLayoutListener = projection.addEventListener(\"measure\", measureDragConstraints);\n if (projection && !projection.layout) {\n projection.root && projection.root.updateScroll();\n projection.updateLayout();\n }\n frame.read(measureDragConstraints);\n /**\n * Attach a window resize listener to scale the draggable target within its defined\n * constraints as the window resizes.\n */\n const stopResizeListener = addDomEvent(window, \"resize\", () => this.scalePositionWithinConstraints());\n /**\n * If the element's layout changes, calculate the delta and apply that to\n * the drag gesture's origin point.\n */\n const stopLayoutUpdateListener = projection.addEventListener(\"didUpdate\", (({ delta, hasLayoutChanged }) => {\n if (this.isDragging && hasLayoutChanged) {\n eachAxis((axis) => {\n const motionValue = this.getAxisMotionValue(axis);\n if (!motionValue)\n return;\n this.originPoint[axis] += delta[axis].translate;\n motionValue.set(motionValue.get() + delta[axis].translate);\n });\n this.visualElement.render();\n }\n }));\n return () => {\n stopResizeListener();\n stopPointerListener();\n stopMeasureLayoutListener();\n stopLayoutUpdateListener && stopLayoutUpdateListener();\n stopResizeObservers && stopResizeObservers();\n };\n }\n getProps() {\n const props = this.visualElement.getProps();\n const { drag = false, dragDirectionLock = false, dragPropagation = false, dragConstraints = false, dragElastic = defaultElastic, dragMomentum = true, } = props;\n return {\n ...props,\n drag,\n dragDirectionLock,\n dragPropagation,\n dragConstraints,\n dragElastic,\n dragMomentum,\n };\n }\n}\nfunction skipFirstCall(callback) {\n let isFirst = true;\n return () => {\n if (isFirst) {\n isFirst = false;\n return;\n }\n callback();\n };\n}\nfunction startResizeObservers(element, constraintsElement, onResize) {\n const stopElement = resize(element, skipFirstCall(onResize));\n const stopContainer = resize(constraintsElement, skipFirstCall(onResize));\n return () => {\n stopElement();\n stopContainer();\n };\n}\nfunction shouldDrag(direction, drag, currentDirection) {\n return ((drag === true || drag === direction) &&\n (currentDirection === null || currentDirection === direction));\n}\n/**\n * Based on an x/y offset determine the current drag direction. If both axis' offsets are lower\n * than the provided threshold, return `null`.\n *\n * @param offset - The x/y offset from origin.\n * @param lockThreshold - (Optional) - the minimum absolute offset before we can determine a drag direction.\n */\nfunction getCurrentDirection(offset, lockThreshold = 10) {\n let direction = null;\n if (Math.abs(offset.y) > lockThreshold) {\n direction = \"y\";\n }\n else if (Math.abs(offset.x) > lockThreshold) {\n direction = \"x\";\n }\n return direction;\n}\n\nexport { VisualElementDragControls, elementDragControls };\n//# sourceMappingURL=VisualElementDragControls.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;;AASA,IAAM,oBAAsB,IAAI,SAAS,EACnC,IAAN,MAAgC;CAC5B,YAAY,GAAe;AAsBvB,EArBA,KAAK,eAAe,MACpB,KAAK,aAAa,IAClB,KAAK,mBAAmB,MACxB,KAAK,cAAc;GAAE,GAAG;GAAG,GAAG;GAAG,EAIjC,KAAK,cAAc,IACnB,KAAK,wBAAwB,IAI7B,KAAK,UAAU,GAAW,EAI1B,KAAK,qBAAqB,MAI1B,KAAK,gBAAgB,MACrB,KAAK,gBAAgB;;CAEzB,MAAM,GAAa,EAAE,kBAAe,IAAO,yBAAsB,EAAE,EAAE;EAIjE,IAAM,EAAE,uBAAoB,KAAK;AACjC,MAAI,KAAmB,EAAgB,cAAc,GACjD;EACJ,IAAM,KAAkB,MAAU;AAI9B,GAHI,KACA,KAAK,aAAa,EAAiB,EAAM,CAAC,MAAM,EAEpD,KAAK,eAAe;KAElB,KAAW,GAAO,MAAS;GAE7B,IAAM,EAAE,SAAM,oBAAiB,mBAAgB,KAAK,UAAU;AAC9D,OAAI,KAAQ,CAAC,MACL,KAAK,gBACL,KAAK,cAAc,EACvB,KAAK,eAAe,EAAY,EAAK,EAEjC,CAAC,KAAK,cACN;AAmCR,GAjCA,KAAK,qBAAqB,GAC1B,KAAK,gBAAgB,GACrB,KAAK,aAAa,IAClB,KAAK,mBAAmB,MACxB,KAAK,oBAAoB,EACrB,KAAK,cAAc,eACnB,KAAK,cAAc,WAAW,qBAAqB,IACnD,KAAK,cAAc,WAAW,SAAS,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A;GACA;GACA;GACA;GACA;GACH;;;AAGT,SAAS,EAAc,GAAU;CAC7B,IAAI,IAAU;AACd,cAAa;AACT,MAAI,GAAS;AACT,OAAU;AACV;;AAEJ,KAAU;;;AAGlB,SAAS,EAAqB,GAAS,GAAoB,GAAU;CACjE,IAAM,IAAc,EAAO,GAAS,EAAc,EAAS,CAAC,EACtD,IAAgB,EAAO,GAAoB,EAAc,EAAS,CAAC;AACzE,cAAa;AAET,EADA,GAAa,EACb,GAAe;;;AAGvB,SAAS,EAAW,GAAW,GAAM,GAAkB;AACnD,SAAS,MAAS,MAAQ,MAAS,OAC9B,MAAqB,QAAQ,MAAqB;;AAS3D,SAAS,EAAoB,GAAQ,IAAgB,IAAI;CACrD,IAAI,IAAY;AAOhB,QANI,KAAK,IAAI,EAAO,EAAE,GAAG,IACrB,IAAY,MAEP,KAAK,IAAI,EAAO,EAAE,GAAG,MAC1B,IAAY,MAET"}
1
+ {"version":3,"file":"VisualElementDragControls.js","names":["elementDragControls","VisualElementDragControls","createBox","visualElement","presenceContext","onSessionStart","snapToCursor","extractEventInfo","event","onStart","drag","dragPropagation","setDragLock","info","eachAxis","current","axis","percent","projection","measuredAxis","calcLength","onDragStart","frame","addValueToWillChange","animationState","onMove","dragDirectionLock","getCurrentDirection","offset","onDirectionLock","onDrag","onSessionEnd","resumeAnimation","snap","PanSession","originEvent","getContextWindow","finalEvent","finalPanInfo","panInfo","isDragging","velocity","onDragEnd","shouldDrag","axisValue","next","applyConstraints","layout","prevConstraints","dragConstraints","isRefObject","calcRelativeConstraints","resolveDragElastic","dragElastic","rebaseAxisConstraints","constraints","constraintsElement","constraintsBox","measurePageBox","measuredConstraints","calcViewportConstraints","onMeasureDragConstraints","userConstraints","convertBoxToBoundingBox","convertBoundingBoxToBox","momentumAnimations","transition","dragSnapToOrigin","bounceStiffness","bounceDamping","inertia","dragMomentum","dragTransition","onDragTransitionEnd","animateMotionValue","dragKey","point","mixNumber","min","max","boxProgress","latest","calcOrigin","transformTemplate","element","stopPointerListener","addPointerEvent","target","isClickingTextInputChild","isElementTextInput","dragListener","stopResizeObservers","measureDragConstraints","startResizeObservers","stopMeasureLayoutListener","stopResizeListener","addDomEvent","stopLayoutUpdateListener","hasLayoutChanged","motionValue","delta","props","defaultElastic","skipFirstCall","isFirst","callback","stopElement","resize","onResize","stopContainer","direction","currentDirection","lockThreshold"],"sources":["../../../../../../../node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs"],"sourcesContent":["import { createBox, frame, eachAxis, measurePageBox, convertBoxToBoundingBox, convertBoundingBoxToBox, addValueToWillChange, animateMotionValue, mixNumber, addDomEvent, setDragLock, percent, calcLength, resize, isElementTextInput } from 'motion-dom';\nimport { invariant } from 'motion-utils';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport { extractEventInfo } from '../../events/event-info.mjs';\nimport { getContextWindow } from '../../utils/get-context-window.mjs';\nimport { isRefObject } from '../../utils/is-ref-object.mjs';\nimport { PanSession } from '../pan/PanSession.mjs';\nimport { applyConstraints, calcRelativeConstraints, resolveDragElastic, rebaseAxisConstraints, calcViewportConstraints, calcOrigin, defaultElastic } from './utils/constraints.mjs';\n\nconst elementDragControls = new WeakMap();\nclass VisualElementDragControls {\n constructor(visualElement) {\n this.openDragLock = null;\n this.isDragging = false;\n this.currentDirection = null;\n this.originPoint = { x: 0, y: 0 };\n /**\n * The permitted boundaries of travel, in pixels.\n */\n this.constraints = false;\n this.hasMutatedConstraints = false;\n /**\n * The per-axis resolved elastic values.\n */\n this.elastic = createBox();\n /**\n * The latest pointer event. Used as fallback when the `cancel` and `stop` functions are called without arguments.\n */\n this.latestPointerEvent = null;\n /**\n * The latest pan info. Used as fallback when the `cancel` and `stop` functions are called without arguments.\n */\n this.latestPanInfo = null;\n this.visualElement = visualElement;\n }\n start(originEvent, { snapToCursor = false, distanceThreshold } = {}) {\n /**\n * Don't start dragging if this component is exiting\n */\n const { presenceContext } = this.visualElement;\n if (presenceContext && presenceContext.isPresent === false)\n return;\n const onSessionStart = (event) => {\n if (snapToCursor) {\n this.snapToCursor(extractEventInfo(event).point);\n }\n this.stopAnimation();\n };\n const onStart = (event, info) => {\n // Attempt to grab the global drag gesture lock - maybe make this part of PanSession\n const { drag, dragPropagation, onDragStart } = this.getProps();\n if (drag && !dragPropagation) {\n if (this.openDragLock)\n this.openDragLock();\n this.openDragLock = setDragLock(drag);\n // If we don 't have the lock, don't start dragging\n if (!this.openDragLock)\n return;\n }\n this.latestPointerEvent = event;\n this.latestPanInfo = info;\n this.isDragging = true;\n this.currentDirection = null;\n this.resolveConstraints();\n if (this.visualElement.projection) {\n this.visualElement.projection.isAnimationBlocked = true;\n this.visualElement.projection.target = undefined;\n }\n /**\n * Record gesture origin and pointer offset\n */\n eachAxis((axis) => {\n let current = this.getAxisMotionValue(axis).get() || 0;\n /**\n * If the MotionValue is a percentage value convert to px\n */\n if (percent.test(current)) {\n const { projection } = this.visualElement;\n if (projection && projection.layout) {\n const measuredAxis = projection.layout.layoutBox[axis];\n if (measuredAxis) {\n const length = calcLength(measuredAxis);\n current = length * (parseFloat(current) / 100);\n }\n }\n }\n this.originPoint[axis] = current;\n });\n // Fire onDragStart event\n if (onDragStart) {\n frame.update(() => onDragStart(event, info), false, true);\n }\n addValueToWillChange(this.visualElement, \"transform\");\n const { animationState } = this.visualElement;\n animationState && animationState.setActive(\"whileDrag\", true);\n };\n const onMove = (event, info) => {\n this.latestPointerEvent = event;\n this.latestPanInfo = info;\n const { dragPropagation, dragDirectionLock, onDirectionLock, onDrag, } = this.getProps();\n // If we didn't successfully receive the gesture lock, early return.\n if (!dragPropagation && !this.openDragLock)\n return;\n const { offset } = info;\n // Attempt to detect drag direction if directionLock is true\n if (dragDirectionLock && this.currentDirection === null) {\n this.currentDirection = getCurrentDirection(offset);\n // If we've successfully set a direction, notify listener\n if (this.currentDirection !== null) {\n onDirectionLock && onDirectionLock(this.currentDirection);\n }\n return;\n }\n // Update each point with the latest position\n this.updateAxis(\"x\", info.point, offset);\n this.updateAxis(\"y\", info.point, offset);\n /**\n * Ideally we would leave the renderer to fire naturally at the end of\n * this frame but if the element is about to change layout as the result\n * of a re-render we want to ensure the browser can read the latest\n * bounding box to ensure the pointer and element don't fall out of sync.\n */\n this.visualElement.render();\n /**\n * This must fire after the render call as it might trigger a state\n * change which itself might trigger a layout update.\n */\n if (onDrag) {\n frame.update(() => onDrag(event, info), false, true);\n }\n };\n const onSessionEnd = (event, info) => {\n this.latestPointerEvent = event;\n this.latestPanInfo = info;\n this.stop(event, info);\n this.latestPointerEvent = null;\n this.latestPanInfo = null;\n };\n const resumeAnimation = () => {\n const { dragSnapToOrigin: snap } = this.getProps();\n if (snap || this.constraints) {\n this.startAnimation({ x: 0, y: 0 });\n }\n };\n const { dragSnapToOrigin } = this.getProps();\n this.panSession = new PanSession(originEvent, {\n onSessionStart,\n onStart,\n onMove,\n onSessionEnd,\n resumeAnimation,\n }, {\n transformPagePoint: this.visualElement.getTransformPagePoint(),\n dragSnapToOrigin,\n distanceThreshold,\n contextWindow: getContextWindow(this.visualElement),\n element: this.visualElement.current,\n });\n }\n /**\n * @internal\n */\n stop(event, panInfo) {\n const finalEvent = event || this.latestPointerEvent;\n const finalPanInfo = panInfo || this.latestPanInfo;\n const isDragging = this.isDragging;\n this.cancel();\n if (!isDragging || !finalPanInfo || !finalEvent)\n return;\n const { velocity } = finalPanInfo;\n this.startAnimation(velocity);\n const { onDragEnd } = this.getProps();\n if (onDragEnd) {\n frame.postRender(() => onDragEnd(finalEvent, finalPanInfo));\n }\n }\n /**\n * @internal\n */\n cancel() {\n this.isDragging = false;\n const { projection, animationState } = this.visualElement;\n if (projection) {\n projection.isAnimationBlocked = false;\n }\n this.endPanSession();\n const { dragPropagation } = this.getProps();\n if (!dragPropagation && this.openDragLock) {\n this.openDragLock();\n this.openDragLock = null;\n }\n animationState && animationState.setActive(\"whileDrag\", false);\n }\n /**\n * Clean up the pan session without modifying other drag state.\n * This is used during unmount to ensure event listeners are removed\n * without affecting projection animations or drag locks.\n * @internal\n */\n endPanSession() {\n this.panSession && this.panSession.end();\n this.panSession = undefined;\n }\n updateAxis(axis, _point, offset) {\n const { drag } = this.getProps();\n // If we're not dragging this axis, do an early return.\n if (!offset || !shouldDrag(axis, drag, this.currentDirection))\n return;\n const axisValue = this.getAxisMotionValue(axis);\n let next = this.originPoint[axis] + offset[axis];\n // Apply constraints\n if (this.constraints && this.constraints[axis]) {\n next = applyConstraints(next, this.constraints[axis], this.elastic[axis]);\n }\n axisValue.set(next);\n }\n resolveConstraints() {\n const { dragConstraints, dragElastic } = this.getProps();\n const layout = this.visualElement.projection &&\n !this.visualElement.projection.layout\n ? this.visualElement.projection.measure(false)\n : this.visualElement.projection?.layout;\n const prevConstraints = this.constraints;\n if (dragConstraints && isRefObject(dragConstraints)) {\n if (!this.constraints) {\n this.constraints = this.resolveRefConstraints();\n }\n }\n else {\n if (dragConstraints && layout) {\n this.constraints = calcRelativeConstraints(layout.layoutBox, dragConstraints);\n }\n else {\n this.constraints = false;\n }\n }\n this.elastic = resolveDragElastic(dragElastic);\n /**\n * If we're outputting to external MotionValues, we want to rebase the measured constraints\n * from viewport-relative to component-relative. This only applies to relative (non-ref)\n * constraints, as ref-based constraints from calcViewportConstraints are already in the\n * correct coordinate space for the motion value transform offset.\n */\n if (prevConstraints !== this.constraints &&\n !isRefObject(dragConstraints) &&\n layout &&\n this.constraints &&\n !this.hasMutatedConstraints) {\n eachAxis((axis) => {\n if (this.constraints !== false &&\n this.getAxisMotionValue(axis)) {\n this.constraints[axis] = rebaseAxisConstraints(layout.layoutBox[axis], this.constraints[axis]);\n }\n });\n }\n }\n resolveRefConstraints() {\n const { dragConstraints: constraints, onMeasureDragConstraints } = this.getProps();\n if (!constraints || !isRefObject(constraints))\n return false;\n const constraintsElement = constraints.current;\n invariant(constraintsElement !== null, \"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.\", \"drag-constraints-ref\");\n const { projection } = this.visualElement;\n // TODO\n if (!projection || !projection.layout)\n return false;\n /**\n * Refresh the root scroll offset so the constraint's viewport box\n * translates to correct page coordinates. The scroll captured at\n * drag mount can be stale if the document was scrolled afterwards —\n * e.g. via the browser restoring scroll on refresh, or an ancestor\n * layout effect running after this element's mount (#2829).\n *\n * Clear the cached scroll first so `updateScroll` bypasses its\n * per-animationId cache and re-reads the live value.\n */\n if (projection.root) {\n projection.root.scroll = undefined;\n projection.root.updateScroll();\n }\n const constraintsBox = measurePageBox(constraintsElement, projection.root, this.visualElement.getTransformPagePoint());\n let measuredConstraints = calcViewportConstraints(projection.layout.layoutBox, constraintsBox);\n /**\n * If there's an onMeasureDragConstraints listener we call it and\n * if different constraints are returned, set constraints to that\n */\n if (onMeasureDragConstraints) {\n const userConstraints = onMeasureDragConstraints(convertBoxToBoundingBox(measuredConstraints));\n this.hasMutatedConstraints = !!userConstraints;\n if (userConstraints) {\n measuredConstraints = convertBoundingBoxToBox(userConstraints);\n }\n }\n return measuredConstraints;\n }\n startAnimation(velocity) {\n const { drag, dragMomentum, dragElastic, dragTransition, dragSnapToOrigin, onDragTransitionEnd, } = this.getProps();\n const constraints = this.constraints || {};\n const momentumAnimations = eachAxis((axis) => {\n if (!shouldDrag(axis, drag, this.currentDirection)) {\n return;\n }\n let transition = (constraints && constraints[axis]) || {};\n if (dragSnapToOrigin === true ||\n dragSnapToOrigin === axis)\n transition = { min: 0, max: 0 };\n /**\n * Overdamp the boundary spring if `dragElastic` is disabled. There's still a frame\n * of spring animations so we should look into adding a disable spring option to `inertia`.\n * We could do something here where we affect the `bounceStiffness` and `bounceDamping`\n * using the value of `dragElastic`.\n */\n const bounceStiffness = dragElastic ? 200 : 1000000;\n const bounceDamping = dragElastic ? 40 : 10000000;\n const inertia = {\n type: \"inertia\",\n velocity: dragMomentum ? velocity[axis] : 0,\n bounceStiffness,\n bounceDamping,\n timeConstant: 750,\n restDelta: 1,\n restSpeed: 10,\n ...dragTransition,\n ...transition,\n };\n // If we're not animating on an externally-provided `MotionValue` we can use the\n // component's animation controls which will handle interactions with whileHover (etc),\n // otherwise we just have to animate the `MotionValue` itself.\n return this.startAxisValueAnimation(axis, inertia);\n });\n // Run all animations and then resolve the new drag constraints.\n return Promise.all(momentumAnimations).then(onDragTransitionEnd);\n }\n startAxisValueAnimation(axis, transition) {\n const axisValue = this.getAxisMotionValue(axis);\n addValueToWillChange(this.visualElement, axis);\n return axisValue.start(animateMotionValue(axis, axisValue, 0, transition, this.visualElement, false));\n }\n stopAnimation() {\n eachAxis((axis) => this.getAxisMotionValue(axis).stop());\n }\n /**\n * Drag works differently depending on which props are provided.\n *\n * - If _dragX and _dragY are provided, we output the gesture delta directly to those motion values.\n * - Otherwise, we apply the delta to the x/y motion values.\n */\n getAxisMotionValue(axis) {\n const dragKey = `_drag${axis.toUpperCase()}`;\n const props = this.visualElement.getProps();\n const externalMotionValue = props[dragKey];\n return externalMotionValue\n ? externalMotionValue\n : this.visualElement.getValue(axis, this.visualElement.latestValues[axis] ?? 0);\n }\n snapToCursor(point) {\n eachAxis((axis) => {\n const { drag } = this.getProps();\n // If we're not dragging this axis, do an early return.\n if (!shouldDrag(axis, drag, this.currentDirection))\n return;\n const { projection } = this.visualElement;\n const axisValue = this.getAxisMotionValue(axis);\n if (projection && projection.layout) {\n const { min, max } = projection.layout.layoutBox[axis];\n /**\n * The layout measurement includes the current transform value,\n * so we need to add it back to get the correct snap position.\n * This fixes an issue where elements with initial coordinates\n * would snap to the wrong position on the first drag.\n */\n const current = axisValue.get() || 0;\n axisValue.set(point[axis] - mixNumber(min, max, 0.5) + current);\n }\n });\n }\n /**\n * When the viewport resizes we want to check if the measured constraints\n * have changed and, if so, reposition the element within those new constraints\n * relative to where it was before the resize.\n */\n scalePositionWithinConstraints() {\n if (!this.visualElement.current)\n return;\n const { drag, dragConstraints } = this.getProps();\n const { projection } = this.visualElement;\n if (!isRefObject(dragConstraints) || !projection || !this.constraints)\n return;\n /**\n * Stop current animations as there can be visual glitching if we try to do\n * this mid-animation\n */\n this.stopAnimation();\n /**\n * Record the relative position of the dragged element relative to the\n * constraints box and save as a progress value.\n */\n const boxProgress = { x: 0, y: 0 };\n eachAxis((axis) => {\n const axisValue = this.getAxisMotionValue(axis);\n if (axisValue && this.constraints !== false) {\n const latest = axisValue.get();\n boxProgress[axis] = calcOrigin({ min: latest, max: latest }, this.constraints[axis]);\n }\n });\n /**\n * Update the layout of this element and resolve the latest drag constraints\n */\n const { transformTemplate } = this.visualElement.getProps();\n this.visualElement.current.style.transform = transformTemplate\n ? transformTemplate({}, \"\")\n : \"none\";\n projection.root && projection.root.updateScroll();\n projection.updateLayout();\n /**\n * Reset constraints so resolveConstraints() will recalculate them\n * with the freshly measured layout rather than returning the cached value.\n */\n this.constraints = false;\n this.resolveConstraints();\n /**\n * For each axis, calculate the current progress of the layout axis\n * within the new constraints.\n */\n eachAxis((axis) => {\n if (!shouldDrag(axis, drag, null))\n return;\n /**\n * Calculate a new transform based on the previous box progress\n */\n const axisValue = this.getAxisMotionValue(axis);\n const { min, max } = this.constraints[axis];\n axisValue.set(mixNumber(min, max, boxProgress[axis]));\n });\n /**\n * Flush the updated transform to the DOM synchronously to prevent\n * a visual flash at the element's CSS layout position (0,0) when\n * the transform was stripped for measurement.\n */\n this.visualElement.render();\n }\n addListeners() {\n if (!this.visualElement.current)\n return;\n elementDragControls.set(this.visualElement, this);\n const element = this.visualElement.current;\n /**\n * Attach a pointerdown event listener on this DOM element to initiate drag tracking.\n */\n const stopPointerListener = addPointerEvent(element, \"pointerdown\", (event) => {\n const { drag, dragListener = true } = this.getProps();\n const target = event.target;\n /**\n * Only block drag if clicking on a text input child element\n * (input, textarea, select, contenteditable) where users might\n * want to select text or interact with the control.\n *\n * Buttons and links don't block drag since they don't have\n * click-and-move actions of their own.\n */\n const isClickingTextInputChild = target !== element && isElementTextInput(target);\n if (drag && dragListener && !isClickingTextInputChild) {\n this.start(event);\n }\n });\n /**\n * If using ref-based constraints, observe both the draggable element\n * and the constraint container for size changes via ResizeObserver.\n * Setup is deferred because dragConstraints.current is null when\n * addListeners first runs (React hasn't committed the ref yet).\n */\n let stopResizeObservers;\n const measureDragConstraints = () => {\n const { dragConstraints } = this.getProps();\n if (isRefObject(dragConstraints) && dragConstraints.current) {\n this.constraints = this.resolveRefConstraints();\n if (!stopResizeObservers) {\n stopResizeObservers = startResizeObservers(element, dragConstraints.current, () => this.scalePositionWithinConstraints());\n }\n }\n };\n const { projection } = this.visualElement;\n const stopMeasureLayoutListener = projection.addEventListener(\"measure\", measureDragConstraints);\n if (projection && !projection.layout) {\n projection.root && projection.root.updateScroll();\n projection.updateLayout();\n }\n frame.read(measureDragConstraints);\n /**\n * Attach a window resize listener to scale the draggable target within its defined\n * constraints as the window resizes.\n */\n const stopResizeListener = addDomEvent(window, \"resize\", () => this.scalePositionWithinConstraints());\n /**\n * If the element's layout changes, calculate the delta and apply that to\n * the drag gesture's origin point.\n */\n const stopLayoutUpdateListener = projection.addEventListener(\"didUpdate\", (({ delta, hasLayoutChanged }) => {\n if (this.isDragging && hasLayoutChanged) {\n eachAxis((axis) => {\n const motionValue = this.getAxisMotionValue(axis);\n if (!motionValue)\n return;\n this.originPoint[axis] += delta[axis].translate;\n motionValue.set(motionValue.get() + delta[axis].translate);\n });\n this.visualElement.render();\n }\n }));\n return () => {\n stopResizeListener();\n stopPointerListener();\n stopMeasureLayoutListener();\n stopLayoutUpdateListener && stopLayoutUpdateListener();\n stopResizeObservers && stopResizeObservers();\n };\n }\n getProps() {\n const props = this.visualElement.getProps();\n const { drag = false, dragDirectionLock = false, dragPropagation = false, dragConstraints = false, dragElastic = defaultElastic, dragMomentum = true, } = props;\n return {\n ...props,\n drag,\n dragDirectionLock,\n dragPropagation,\n dragConstraints,\n dragElastic,\n dragMomentum,\n };\n }\n}\nfunction skipFirstCall(callback) {\n let isFirst = true;\n return () => {\n if (isFirst) {\n isFirst = false;\n return;\n }\n callback();\n };\n}\nfunction startResizeObservers(element, constraintsElement, onResize) {\n const stopElement = resize(element, skipFirstCall(onResize));\n const stopContainer = resize(constraintsElement, skipFirstCall(onResize));\n return () => {\n stopElement();\n stopContainer();\n };\n}\nfunction shouldDrag(direction, drag, currentDirection) {\n return ((drag === true || drag === direction) &&\n (currentDirection === null || currentDirection === direction));\n}\n/**\n * Based on an x/y offset determine the current drag direction. If both axis' offsets are lower\n * than the provided threshold, return `null`.\n *\n * @param offset - The x/y offset from origin.\n * @param lockThreshold - (Optional) - the minimum absolute offset before we can determine a drag direction.\n */\nfunction getCurrentDirection(offset, lockThreshold = 10) {\n let direction = null;\n if (Math.abs(offset.y) > lockThreshold) {\n direction = \"y\";\n }\n else if (Math.abs(offset.x) > lockThreshold) {\n direction = \"x\";\n }\n return direction;\n}\n\nexport { VisualElementDragControls, elementDragControls };\n//# sourceMappingURL=VisualElementDragControls.mjs.map\n"],"ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;;;;AASA,IAAMA,oBAAsB,IAAI,QAAQ,GAClCC,IAAN,MAAgC;CAC5B,YAAY,GAAe;EAsBvB,AArBA,KAAK,eAAe,MACpB,KAAK,aAAa,IAClB,KAAK,mBAAmB,MACxB,KAAK,cAAc;GAAE,GAAG;GAAG,GAAG;EAAE,GAIhC,KAAK,cAAc,IACnB,KAAK,wBAAwB,IAI7B,KAAK,UAAUC,EAAU,GAIzB,KAAK,qBAAqB,MAI1B,KAAK,gBAAgB,MACrB,KAAK,gBAAgBC;CACzB;CACA,MAAM,GAAa,EAAE,kBAAe,IAAO,yBAAsB,CAAC,GAAG;EAIjE,IAAM,EAAE,uBAAoB,KAAK;EACjC,IAAIC,KAAmBA,EAAgB,cAAc,IACjD;EACJ,IAAMC,KAAkB,MAAU;GAI9B,AAHIC,KACA,KAAK,aAAaC,EAAiBC,CAAK,CAAC,CAAC,KAAK,GAEnD,KAAK,cAAc;EACvB,GACMC,KAAW,GAAO,MAAS;GAE7B,IAAM,EAAE,SAAM,oBAAiB,mBAAgB,KAAK,SAAS;GAC7D,IAAIC,KAAQ,CAACC,MACL,KAAK,gBACL,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ACnD,QAASjC,MAAS,MAAQA,MAASoG,OAC9BC,MAAqB,QAAQA,MAAqBD;AAC3D;AAQA,SAASnF,EAAoB,GAAQ,IAAgB,IAAI;CACrD,IAAImF,IAAY;CAOhB,OANI,KAAK,IAAIlF,EAAO,CAAC,IAAIoF,IACrB,IAAY,MAEP,KAAK,IAAIpF,EAAO,CAAC,IAAIoF,MAC1B,IAAY,MAETF;AACX"}
@@ -1,14 +1,14 @@
1
- import { noop as e } from "../../../../../motion-utils/dist/es/noop.js";
2
- import { Feature as t } from "../../../../../motion-dom/dist/es/render/Feature.js";
1
+ import { Feature as e } from "../../../../../motion-dom/dist/es/render/Feature.js";
2
+ import { noop as t } from "../../../../../motion-utils/dist/es/noop.js";
3
3
  import { VisualElementDragControls as n } from "./VisualElementDragControls.js";
4
- //#region node_modules/framer-motion/dist/es/gestures/drag/index.mjs
5
- var r = class extends t {
6
- constructor(t) {
7
- super(t), this.removeGroupControls = e, this.removeListeners = e, this.controls = new n(t);
4
+ // node_modules/framer-motion/dist/es/gestures/drag/index.mjs
5
+ var r = class extends e {
6
+ constructor(e) {
7
+ super(e), this.removeGroupControls = t, this.removeListeners = t, this.controls = new n(e);
8
8
  }
9
9
  mount() {
10
- let { dragControls: t } = this.node.getProps();
11
- t && (this.removeGroupControls = t.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || e;
10
+ let { dragControls: e } = this.node.getProps();
11
+ e && (this.removeGroupControls = e.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || t;
12
12
  }
13
13
  update() {
14
14
  let { dragControls: e } = this.node.getProps(), { dragControls: t } = this.node.prevProps || {};
@@ -18,7 +18,6 @@ var r = class extends t {
18
18
  this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
19
19
  }
20
20
  };
21
- //#endregion
22
21
  export { r as DragGesture };
23
22
 
24
23
  //# sourceMappingURL=index.js.map