@burdenoff/microfe-mybodyshield 2026.705.2 → 2026.706.1

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 (566) hide show
  1. package/dist/_virtual/__vite-optional-peer-dep_@emotion/is-prop-valid_framer-motion.js +10 -0
  2. package/dist/_virtual/__vite-optional-peer-dep_@emotion/is-prop-valid_framer-motion.js.map +1 -0
  3. package/dist/_virtual/_rolldown/runtime.js +5 -5
  4. package/dist/mybodyshield/pages/DashboardPage.js +422 -323
  5. package/dist/mybodyshield/pages/DashboardPage.js.map +1 -1
  6. package/dist/mybodyshield/pages/_shared/visuals.js +16 -16
  7. package/dist/mybodyshield/pages/_shared/visuals.js.map +1 -1
  8. package/dist/mybodyshield/pages/coaching/CoachingPage.js +235 -166
  9. package/dist/mybodyshield/pages/coaching/CoachingPage.js.map +1 -1
  10. package/dist/mybodyshield/pages/goals/GoalsPage.js +304 -249
  11. package/dist/mybodyshield/pages/goals/GoalsPage.js.map +1 -1
  12. package/dist/mybodyshield/pages/nutrition/NutritionPage.js +700 -533
  13. package/dist/mybodyshield/pages/nutrition/NutritionPage.js.map +1 -1
  14. package/dist/mybodyshield/pages/programs/ProgramDetailPage.js +518 -454
  15. package/dist/mybodyshield/pages/programs/ProgramDetailPage.js.map +1 -1
  16. package/dist/mybodyshield/pages/programs/ProgramsPage.js +282 -234
  17. package/dist/mybodyshield/pages/programs/ProgramsPage.js.map +1 -1
  18. package/dist/mybodyshield/pages/progress/ProgressPage.js +422 -311
  19. package/dist/mybodyshield/pages/progress/ProgressPage.js.map +1 -1
  20. package/dist/mybodyshield/pages/recovery/RecoveryPage.js +335 -246
  21. package/dist/mybodyshield/pages/recovery/RecoveryPage.js.map +1 -1
  22. package/dist/mybodyshield/pages/train/SessionDetailPage.js +395 -302
  23. package/dist/mybodyshield/pages/train/SessionDetailPage.js.map +1 -1
  24. package/dist/mybodyshield/pages/train/SessionsPage.js +111 -75
  25. package/dist/mybodyshield/pages/train/SessionsPage.js.map +1 -1
  26. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +63 -0
  27. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -0
  28. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +55 -0
  29. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -0
  30. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +62 -0
  31. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -0
  32. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +22 -0
  33. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -0
  34. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +13 -0
  35. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -0
  36. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +8 -0
  37. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -0
  38. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +8 -0
  39. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -0
  40. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +12 -0
  41. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -0
  42. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +19 -0
  43. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -0
  44. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +8 -0
  45. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -0
  46. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +17 -0
  47. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -0
  48. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +8 -0
  49. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -0
  50. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +8 -0
  51. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -0
  52. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +10 -0
  53. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -0
  54. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +13 -0
  55. package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -0
  56. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +260 -0
  57. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -0
  58. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +24 -0
  59. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -0
  60. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +61 -0
  61. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -0
  62. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +29 -0
  63. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -0
  64. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +22 -0
  65. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -0
  66. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +140 -0
  67. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -0
  68. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +44 -0
  69. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -0
  70. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +28 -0
  71. package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -0
  72. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +41 -0
  73. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -0
  74. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +27 -0
  75. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -0
  76. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +11 -0
  77. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -0
  78. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +53 -0
  79. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -0
  80. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
  81. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -0
  82. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +15 -0
  83. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -0
  84. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +63 -0
  85. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -0
  86. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
  87. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -0
  88. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +15 -0
  89. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -0
  90. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +48 -0
  91. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -0
  92. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +26 -0
  93. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -0
  94. package/dist/node_modules/framer-motion/dist/es/motion/index.js +72 -0
  95. package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -0
  96. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +6 -0
  97. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -0
  98. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +23 -0
  99. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -0
  100. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +60 -0
  101. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -0
  102. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +52 -0
  103. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -0
  104. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +9 -0
  105. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -0
  106. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +12 -0
  107. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -0
  108. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +15 -0
  109. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +1 -0
  110. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +9 -0
  111. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -0
  112. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
  113. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -0
  114. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +23 -0
  115. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -0
  116. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +21 -0
  117. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -0
  118. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +9 -0
  119. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -0
  120. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +13 -0
  121. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +1 -0
  122. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +28 -0
  123. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -0
  124. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +11 -0
  125. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -0
  126. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +32 -0
  127. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -0
  128. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +28 -0
  129. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -0
  130. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +13 -0
  131. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +1 -0
  132. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +10 -0
  133. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -0
  134. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +10 -0
  135. package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -0
  136. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +6 -0
  137. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -0
  138. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +6 -0
  139. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -0
  140. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +8 -0
  141. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -0
  142. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +15 -0
  143. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +1 -0
  144. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +27 -0
  145. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +1 -0
  146. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +11 -0
  147. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -0
  148. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +9 -0
  149. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -0
  150. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +109 -0
  151. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +1 -0
  152. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +131 -0
  153. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +1 -0
  154. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +86 -0
  155. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +1 -0
  156. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +30 -0
  157. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +1 -0
  158. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +12 -0
  159. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +1 -0
  160. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +15 -0
  161. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +1 -0
  162. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +34 -0
  163. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +1 -0
  164. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +24 -0
  165. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +1 -0
  166. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +168 -0
  167. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +1 -0
  168. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +11 -0
  169. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -0
  170. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +18 -0
  171. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +1 -0
  172. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +8 -0
  173. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -0
  174. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +11 -0
  175. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +1 -0
  176. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +47 -0
  177. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +1 -0
  178. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +59 -0
  179. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +1 -0
  180. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +28 -0
  181. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +1 -0
  182. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +23 -0
  183. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +1 -0
  184. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +63 -0
  185. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +1 -0
  186. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +69 -0
  187. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +1 -0
  188. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +10 -0
  189. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +1 -0
  190. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +10 -0
  191. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +1 -0
  192. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +14 -0
  193. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +1 -0
  194. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +8 -0
  195. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +1 -0
  196. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +8 -0
  197. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +1 -0
  198. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +9 -0
  199. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +1 -0
  200. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +20 -0
  201. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +1 -0
  202. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +38 -0
  203. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +1 -0
  204. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +6 -0
  205. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +1 -0
  206. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +9 -0
  207. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -0
  208. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +24 -0
  209. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +1 -0
  210. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +9 -0
  211. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +1 -0
  212. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +20 -0
  213. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +1 -0
  214. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +27 -0
  215. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +1 -0
  216. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +29 -0
  217. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +1 -0
  218. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +10 -0
  219. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -0
  220. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +7 -0
  221. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +1 -0
  222. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +9 -0
  223. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +1 -0
  224. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +21 -0
  225. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +1 -0
  226. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +8 -0
  227. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +1 -0
  228. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +18 -0
  229. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +1 -0
  230. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +15 -0
  231. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +1 -0
  232. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +6 -0
  233. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +1 -0
  234. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +13 -0
  235. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +1 -0
  236. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +37 -0
  237. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +1 -0
  238. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +21 -0
  239. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +1 -0
  240. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +26 -0
  241. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +1 -0
  242. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +11 -0
  243. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +1 -0
  244. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +10 -0
  245. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +1 -0
  246. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +10 -0
  247. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +1 -0
  248. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +10 -0
  249. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -0
  250. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +19 -0
  251. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +1 -0
  252. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +8 -0
  253. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +1 -0
  254. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +32 -0
  255. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +1 -0
  256. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +8 -0
  257. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +1 -0
  258. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +7 -0
  259. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +1 -0
  260. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +15 -0
  261. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +1 -0
  262. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +34 -0
  263. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +1 -0
  264. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +17 -0
  265. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +1 -0
  266. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +12 -0
  267. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -0
  268. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +13 -0
  269. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -0
  270. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +38 -0
  271. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -0
  272. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +38 -0
  273. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -0
  274. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +23 -0
  275. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -0
  276. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +30 -0
  277. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -0
  278. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +6 -0
  279. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -0
  280. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +6 -0
  281. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -0
  282. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +6 -0
  283. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -0
  284. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +18 -0
  285. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -0
  286. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +27 -0
  287. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +1 -0
  288. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +41 -0
  289. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +1 -0
  290. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +14 -0
  291. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +1 -0
  292. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +45 -0
  293. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +1 -0
  294. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +32 -0
  295. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +1 -0
  296. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +31 -0
  297. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +1 -0
  298. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +20 -0
  299. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +1 -0
  300. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +30 -0
  301. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +1 -0
  302. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +15 -0
  303. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +1 -0
  304. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +24 -0
  305. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +1 -0
  306. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +586 -0
  307. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +1 -0
  308. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +9 -0
  309. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +1 -0
  310. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +53 -0
  311. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +1 -0
  312. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +15 -0
  313. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +1 -0
  314. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +15 -0
  315. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +1 -0
  316. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +19 -0
  317. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +1 -0
  318. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +14 -0
  319. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +1 -0
  320. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +6 -0
  321. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +1 -0
  322. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +8 -0
  323. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +1 -0
  324. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +21 -0
  325. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +1 -0
  326. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +20 -0
  327. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +1 -0
  328. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +14 -0
  329. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +1 -0
  330. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +11 -0
  331. package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +1 -0
  332. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +206 -0
  333. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +1 -0
  334. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +30 -0
  335. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +1 -0
  336. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +6 -0
  337. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +1 -0
  338. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +58 -0
  339. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +1 -0
  340. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +9 -0
  341. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +1 -0
  342. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +8 -0
  343. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +1 -0
  344. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +37 -0
  345. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +1 -0
  346. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +30 -0
  347. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +1 -0
  348. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +38 -0
  349. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +1 -0
  350. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +10 -0
  351. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +1 -0
  352. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +13 -0
  353. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +1 -0
  354. package/dist/node_modules/motion-dom/dist/es/render/store.js +6 -0
  355. package/dist/node_modules/motion-dom/dist/es/render/store.js.map +1 -0
  356. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +42 -0
  357. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +1 -0
  358. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +24 -0
  359. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +1 -0
  360. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +30 -0
  361. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -0
  362. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +6 -0
  363. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +1 -0
  364. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +17 -0
  365. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +1 -0
  366. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +12 -0
  367. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +1 -0
  368. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +16 -0
  369. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -0
  370. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +137 -0
  371. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +1 -0
  372. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +21 -0
  373. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +1 -0
  374. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +8 -0
  375. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +1 -0
  376. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +14 -0
  377. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +1 -0
  378. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +10 -0
  379. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +1 -0
  380. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +6 -0
  381. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +1 -0
  382. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +8 -0
  383. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +1 -0
  384. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +15 -0
  385. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +1 -0
  386. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +24 -0
  387. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +1 -0
  388. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +23 -0
  389. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +1 -0
  390. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +13 -0
  391. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +1 -0
  392. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +6 -0
  393. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +1 -0
  394. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +10 -0
  395. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -0
  396. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +22 -0
  397. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +1 -0
  398. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +22 -0
  399. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +1 -0
  400. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +12 -0
  401. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +1 -0
  402. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +14 -0
  403. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +1 -0
  404. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +39 -0
  405. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +1 -0
  406. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +24 -0
  407. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +1 -0
  408. package/dist/node_modules/motion-dom/dist/es/resize/index.js +10 -0
  409. package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +1 -0
  410. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +9 -0
  411. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js.map +1 -0
  412. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +11 -0
  413. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js.map +1 -0
  414. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +14 -0
  415. package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +1 -0
  416. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +35 -0
  417. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +1 -0
  418. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +9 -0
  419. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +1 -0
  420. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +9 -0
  421. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +1 -0
  422. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +9 -0
  423. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +1 -0
  424. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +32 -0
  425. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +1 -0
  426. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +54 -0
  427. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +1 -0
  428. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +8 -0
  429. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +1 -0
  430. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +10 -0
  431. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +1 -0
  432. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +6 -0
  433. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +1 -0
  434. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +9 -0
  435. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +1 -0
  436. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +16 -0
  437. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -0
  438. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +6 -0
  439. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -0
  440. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +14 -0
  441. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -0
  442. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +11 -0
  443. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -0
  444. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +7 -0
  445. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -0
  446. package/dist/node_modules/motion-dom/dist/es/value/index.js +94 -0
  447. package/dist/node_modules/motion-dom/dist/es/value/index.js.map +1 -0
  448. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +9 -0
  449. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +1 -0
  450. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +21 -0
  451. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +1 -0
  452. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +23 -0
  453. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +1 -0
  454. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +14 -0
  455. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +1 -0
  456. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +17 -0
  457. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +1 -0
  458. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +17 -0
  459. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +1 -0
  460. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +18 -0
  461. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +1 -0
  462. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +28 -0
  463. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +1 -0
  464. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +54 -0
  465. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +1 -0
  466. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +16 -0
  467. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +1 -0
  468. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +18 -0
  469. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +1 -0
  470. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +10 -0
  471. package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +1 -0
  472. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +26 -0
  473. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +1 -0
  474. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +66 -0
  475. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +1 -0
  476. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +34 -0
  477. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +1 -0
  478. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
  479. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +1 -0
  480. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +14 -0
  481. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +1 -0
  482. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +6 -0
  483. package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +1 -0
  484. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +14 -0
  485. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +1 -0
  486. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +6 -0
  487. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +1 -0
  488. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +14 -0
  489. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +1 -0
  490. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +6 -0
  491. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +1 -0
  492. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +6 -0
  493. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +1 -0
  494. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +8 -0
  495. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +1 -0
  496. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +6 -0
  497. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +1 -0
  498. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +6 -0
  499. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +1 -0
  500. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +6 -0
  501. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +1 -0
  502. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +9 -0
  503. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +1 -0
  504. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +15 -0
  505. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +1 -0
  506. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +9 -0
  507. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +1 -0
  508. package/dist/node_modules/motion-utils/dist/es/array.js +12 -0
  509. package/dist/node_modules/motion-utils/dist/es/array.js.map +1 -0
  510. package/dist/node_modules/motion-utils/dist/es/clamp.js +6 -0
  511. package/dist/node_modules/motion-utils/dist/es/clamp.js.map +1 -0
  512. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +7 -0
  513. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +1 -0
  514. package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
  515. package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +1 -0
  516. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
  517. package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +1 -0
  518. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +20 -0
  519. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +1 -0
  520. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
  521. package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +1 -0
  522. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +6 -0
  523. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +1 -0
  524. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +6 -0
  525. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +1 -0
  526. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +6 -0
  527. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +1 -0
  528. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +6 -0
  529. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +1 -0
  530. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +33 -0
  531. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +1 -0
  532. package/dist/node_modules/motion-utils/dist/es/errors.js +12 -0
  533. package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -0
  534. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +8 -0
  535. package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +1 -0
  536. package/dist/node_modules/motion-utils/dist/es/global-config.js +6 -0
  537. package/dist/node_modules/motion-utils/dist/es/global-config.js.map +1 -0
  538. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +6 -0
  539. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +1 -0
  540. package/dist/node_modules/motion-utils/dist/es/is-object.js +6 -0
  541. package/dist/node_modules/motion-utils/dist/es/is-object.js.map +1 -0
  542. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +6 -0
  543. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +1 -0
  544. package/dist/node_modules/motion-utils/dist/es/memo.js +10 -0
  545. package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -0
  546. package/dist/node_modules/motion-utils/dist/es/noop.js +6 -0
  547. package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -0
  548. package/dist/node_modules/motion-utils/dist/es/pipe.js +6 -0
  549. package/dist/node_modules/motion-utils/dist/es/pipe.js.map +1 -0
  550. package/dist/node_modules/motion-utils/dist/es/progress.js +9 -0
  551. package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -0
  552. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +28 -0
  553. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +1 -0
  554. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +6 -0
  555. package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -0
  556. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +6 -0
  557. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +1 -0
  558. package/dist/node_modules/motion-utils/dist/es/warn-once.js +10 -0
  559. package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +1 -0
  560. package/dist/node_modules/recharts/es6/cartesian/Area.js +435 -0
  561. package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -0
  562. package/dist/node_modules/recharts/es6/chart/{LineChart.js → AreaChart.js} +5 -5
  563. package/dist/node_modules/recharts/es6/chart/{LineChart.js.map → AreaChart.js.map} +1 -1
  564. package/package.json +1 -1
  565. package/dist/node_modules/recharts/es6/cartesian/Line.js +0 -473
  566. package/dist/node_modules/recharts/es6/cartesian/Line.js.map +0 -1
@@ -0,0 +1,140 @@
1
+ import { pipe as e } from "../../../../../motion-utils/dist/es/pipe.js";
2
+ import { millisecondsToSeconds as t, secondsToMilliseconds as n } from "../../../../../motion-utils/dist/es/time-conversion.js";
3
+ import { cancelFrame as r, frame as i, frameData as a } from "../../../../../motion-dom/dist/es/frameloop/frame.js";
4
+ import { isPrimaryPointer as o } from "../../../../../motion-dom/dist/es/gestures/utils/is-primary-pointer.js";
5
+ import { extractEventInfo as s } from "../../events/event-info.js";
6
+ import { addPointerEvent as c } from "../../events/add-pointer-event.js";
7
+ import { distance2D as l } from "../../utils/distance.js";
8
+ //#region node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs
9
+ var u = /* @__PURE__ */ new Set(["auto", "scroll"]), d = class {
10
+ constructor(t, n, { transformPagePoint: r, contextWindow: u = window, dragSnapToOrigin: d = !1, distanceThreshold: p = 3, element: h } = {}) {
11
+ if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {
12
+ this.handleScroll(e.target);
13
+ }, this.onWindowScroll = () => {
14
+ this.handleScroll(window);
15
+ }, this.updatePoint = () => {
16
+ if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
17
+ this.lastRawMoveEventInfo && (this.lastMoveEventInfo = f(this.lastRawMoveEventInfo, this.transformPagePoint));
18
+ let e = m(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = l(e.offset, {
19
+ x: 0,
20
+ y: 0
21
+ }) >= this.distanceThreshold;
22
+ if (!t && !n) return;
23
+ let { point: r } = e, { timestamp: i } = a;
24
+ this.history.push({
25
+ ...r,
26
+ timestamp: i
27
+ });
28
+ let { onStart: o, onMove: s } = this.handlers;
29
+ t || (o && o(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), s && s(this.lastMoveEvent, e);
30
+ }, this.handlePointerMove = (e, t) => {
31
+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = f(t, this.transformPagePoint), i.update(this.updatePoint, !0);
32
+ }, this.handlePointerUp = (e, t) => {
33
+ this.end();
34
+ let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;
35
+ if ((this.dragSnapToOrigin || !this.startEvent) && i && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
36
+ let a = m(e.type === "pointercancel" ? this.lastMoveEventInfo : f(t, this.transformPagePoint), this.history);
37
+ this.startEvent && n && n(e, a), r && r(e, a);
38
+ }, !o(t)) return;
39
+ this.dragSnapToOrigin = d, this.handlers = n, this.transformPagePoint = r, this.distanceThreshold = p, this.contextWindow = u || window;
40
+ let g = f(s(t), this.transformPagePoint), { point: _ } = g, { timestamp: v } = a;
41
+ this.history = [{
42
+ ..._,
43
+ timestamp: v
44
+ }];
45
+ let { onSessionStart: y } = n;
46
+ y && y(t, m(g, this.history));
47
+ let b = {
48
+ passive: !0,
49
+ capture: !0
50
+ };
51
+ this.removeListeners = e(c(this.contextWindow, "pointermove", this.handlePointerMove, b), c(this.contextWindow, "pointerup", this.handlePointerUp, b), c(this.contextWindow, "pointercancel", this.handlePointerUp, b)), h && this.startScrollTracking(h);
52
+ }
53
+ startScrollTracking(e) {
54
+ let t = e.parentElement;
55
+ for (; t;) {
56
+ let e = getComputedStyle(t);
57
+ (u.has(e.overflowX) || u.has(e.overflowY)) && this.scrollPositions.set(t, {
58
+ x: t.scrollLeft,
59
+ y: t.scrollTop
60
+ }), t = t.parentElement;
61
+ }
62
+ this.scrollPositions.set(window, {
63
+ x: window.scrollX,
64
+ y: window.scrollY
65
+ }), window.addEventListener("scroll", this.onElementScroll, { capture: !0 }), window.addEventListener("scroll", this.onWindowScroll), this.removeScrollListeners = () => {
66
+ window.removeEventListener("scroll", this.onElementScroll, { capture: !0 }), window.removeEventListener("scroll", this.onWindowScroll);
67
+ };
68
+ }
69
+ handleScroll(e) {
70
+ let t = this.scrollPositions.get(e);
71
+ if (!t) return;
72
+ let n = e === window, r = n ? {
73
+ x: window.scrollX,
74
+ y: window.scrollY
75
+ } : {
76
+ x: e.scrollLeft,
77
+ y: e.scrollTop
78
+ }, a = {
79
+ x: r.x - t.x,
80
+ y: r.y - t.y
81
+ };
82
+ a.x === 0 && a.y === 0 || (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += a.x, this.lastMoveEventInfo.point.y += a.y) : this.history.length > 0 && (this.history[0].x -= a.x, this.history[0].y -= a.y), this.scrollPositions.set(e, r), i.update(this.updatePoint, !0));
83
+ }
84
+ updateHandlers(e) {
85
+ this.handlers = e;
86
+ }
87
+ end() {
88
+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), r(this.updatePoint);
89
+ }
90
+ };
91
+ function f(e, t) {
92
+ return t ? { point: t(e.point) } : e;
93
+ }
94
+ function p(e, t) {
95
+ return {
96
+ x: e.x - t.x,
97
+ y: e.y - t.y
98
+ };
99
+ }
100
+ function m({ point: e }, t) {
101
+ return {
102
+ point: e,
103
+ delta: p(e, g(t)),
104
+ offset: p(e, h(t)),
105
+ velocity: _(t, .1)
106
+ };
107
+ }
108
+ function h(e) {
109
+ return e[0];
110
+ }
111
+ function g(e) {
112
+ return e[e.length - 1];
113
+ }
114
+ function _(e, r) {
115
+ if (e.length < 2) return {
116
+ x: 0,
117
+ y: 0
118
+ };
119
+ let i = e.length - 1, a = null, o = g(e);
120
+ for (; i >= 0 && (a = e[i], !(o.timestamp - a.timestamp > n(r)));) i--;
121
+ if (!a) return {
122
+ x: 0,
123
+ y: 0
124
+ };
125
+ a === e[0] && e.length > 2 && o.timestamp - a.timestamp > n(r) * 2 && (a = e[1]);
126
+ let s = t(o.timestamp - a.timestamp);
127
+ if (s === 0) return {
128
+ x: 0,
129
+ y: 0
130
+ };
131
+ let c = {
132
+ x: (o.x - a.x) / s,
133
+ y: (o.y - a.y) / s
134
+ };
135
+ return c.x === Infinity && (c.x = 0), c.y === Infinity && (c.y = 0), c;
136
+ }
137
+ //#endregion
138
+ export { d as PanSession };
139
+
140
+ //# sourceMappingURL=PanSession.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PanSession.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs"],"sourcesContent":["import { frameData, frame, isPrimaryPointer, cancelFrame } from 'motion-dom';\nimport { pipe, secondsToMilliseconds, millisecondsToSeconds } from 'motion-utils';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport { extractEventInfo } from '../../events/event-info.mjs';\nimport { distance2D } from '../../utils/distance.mjs';\n\nconst overflowStyles = /*#__PURE__*/ new Set([\"auto\", \"scroll\"]);\n/**\n * @internal\n */\nclass PanSession {\n constructor(event, handlers, { transformPagePoint, contextWindow = window, dragSnapToOrigin = false, distanceThreshold = 3, element, } = {}) {\n /**\n * @internal\n */\n this.startEvent = null;\n /**\n * @internal\n */\n this.lastMoveEvent = null;\n /**\n * @internal\n */\n this.lastMoveEventInfo = null;\n /**\n * Raw (untransformed) event info, re-transformed each frame\n * so transformPagePoint sees the current parent matrix.\n * @internal\n */\n this.lastRawMoveEventInfo = null;\n /**\n * @internal\n */\n this.handlers = {};\n /**\n * @internal\n */\n this.contextWindow = window;\n /**\n * Scroll positions of scrollable ancestors and window.\n * @internal\n */\n this.scrollPositions = new Map();\n /**\n * Cleanup function for scroll listeners.\n * @internal\n */\n this.removeScrollListeners = null;\n this.onElementScroll = (event) => {\n this.handleScroll(event.target);\n };\n this.onWindowScroll = () => {\n this.handleScroll(window);\n };\n this.updatePoint = () => {\n if (!(this.lastMoveEvent && this.lastMoveEventInfo))\n return;\n // Re-transform raw point through current transformPagePoint so\n // animated parent transforms (e.g. rotation) are picked up each frame\n if (this.lastRawMoveEventInfo) {\n this.lastMoveEventInfo = transformPoint(this.lastRawMoveEventInfo, this.transformPagePoint);\n }\n const info = getPanInfo(this.lastMoveEventInfo, this.history);\n const isPanStarted = this.startEvent !== null;\n // Only start panning if the offset is larger than 3 pixels. If we make it\n // any larger than this we'll want to reset the pointer history\n // on the first update to avoid visual snapping to the cursor.\n const isDistancePastThreshold = distance2D(info.offset, { x: 0, y: 0 }) >= this.distanceThreshold;\n if (!isPanStarted && !isDistancePastThreshold)\n return;\n const { point } = info;\n const { timestamp } = frameData;\n this.history.push({ ...point, timestamp });\n const { onStart, onMove } = this.handlers;\n if (!isPanStarted) {\n onStart && onStart(this.lastMoveEvent, info);\n this.startEvent = this.lastMoveEvent;\n }\n onMove && onMove(this.lastMoveEvent, info);\n };\n this.handlePointerMove = (event, info) => {\n this.lastMoveEvent = event;\n this.lastRawMoveEventInfo = info;\n this.lastMoveEventInfo = transformPoint(info, this.transformPagePoint);\n // Throttle mouse move event to once per frame\n frame.update(this.updatePoint, true);\n };\n this.handlePointerUp = (event, info) => {\n this.end();\n const { onEnd, onSessionEnd, resumeAnimation } = this.handlers;\n // Resume animation if dragSnapToOrigin is set OR if no drag started (user just clicked)\n // This ensures constraint animations continue when interrupted by a click\n if (this.dragSnapToOrigin || !this.startEvent) {\n resumeAnimation && resumeAnimation();\n }\n if (!(this.lastMoveEvent && this.lastMoveEventInfo))\n return;\n const panInfo = getPanInfo(event.type === \"pointercancel\"\n ? this.lastMoveEventInfo\n : transformPoint(info, this.transformPagePoint), this.history);\n if (this.startEvent && onEnd) {\n onEnd(event, panInfo);\n }\n onSessionEnd && onSessionEnd(event, panInfo);\n };\n // If we have more than one touch, don't start detecting this gesture\n if (!isPrimaryPointer(event))\n return;\n this.dragSnapToOrigin = dragSnapToOrigin;\n this.handlers = handlers;\n this.transformPagePoint = transformPagePoint;\n this.distanceThreshold = distanceThreshold;\n this.contextWindow = contextWindow || window;\n const info = extractEventInfo(event);\n const initialInfo = transformPoint(info, this.transformPagePoint);\n const { point } = initialInfo;\n const { timestamp } = frameData;\n this.history = [{ ...point, timestamp }];\n const { onSessionStart } = handlers;\n onSessionStart &&\n onSessionStart(event, getPanInfo(initialInfo, this.history));\n // Listen in the capture phase so a descendant calling\n // stopPropagation() (e.g. in its own pointerup handler) can't\n // prevent the gesture from ending. See #2794.\n const eventOptions = { passive: true, capture: true };\n this.removeListeners = pipe(addPointerEvent(this.contextWindow, \"pointermove\", this.handlePointerMove, eventOptions), addPointerEvent(this.contextWindow, \"pointerup\", this.handlePointerUp, eventOptions), addPointerEvent(this.contextWindow, \"pointercancel\", this.handlePointerUp, eventOptions));\n // Start scroll tracking if element provided\n if (element) {\n this.startScrollTracking(element);\n }\n }\n /**\n * Start tracking scroll on ancestors and window.\n */\n startScrollTracking(element) {\n // Store initial scroll positions for scrollable ancestors\n let current = element.parentElement;\n while (current) {\n const style = getComputedStyle(current);\n if (overflowStyles.has(style.overflowX) ||\n overflowStyles.has(style.overflowY)) {\n this.scrollPositions.set(current, {\n x: current.scrollLeft,\n y: current.scrollTop,\n });\n }\n current = current.parentElement;\n }\n // Track window scroll\n this.scrollPositions.set(window, {\n x: window.scrollX,\n y: window.scrollY,\n });\n // Capture listener catches element scroll events as they bubble\n window.addEventListener(\"scroll\", this.onElementScroll, {\n capture: true,\n });\n // Direct window scroll listener (window scroll doesn't bubble)\n window.addEventListener(\"scroll\", this.onWindowScroll);\n this.removeScrollListeners = () => {\n window.removeEventListener(\"scroll\", this.onElementScroll, {\n capture: true,\n });\n window.removeEventListener(\"scroll\", this.onWindowScroll);\n };\n }\n /**\n * Handle scroll compensation during drag.\n *\n * For element scroll: adjusts history origin since pageX/pageY doesn't change.\n * For window scroll: adjusts lastMoveEventInfo since pageX/pageY would change.\n */\n handleScroll(target) {\n const initial = this.scrollPositions.get(target);\n if (!initial)\n return;\n const isWindow = target === window;\n const current = isWindow\n ? { x: window.scrollX, y: window.scrollY }\n : {\n x: target.scrollLeft,\n y: target.scrollTop,\n };\n const delta = { x: current.x - initial.x, y: current.y - initial.y };\n if (delta.x === 0 && delta.y === 0)\n return;\n if (isWindow) {\n // Window scroll: pageX/pageY changes, so update lastMoveEventInfo\n if (this.lastMoveEventInfo) {\n this.lastMoveEventInfo.point.x += delta.x;\n this.lastMoveEventInfo.point.y += delta.y;\n }\n }\n else {\n // Element scroll: pageX/pageY unchanged, so adjust history origin\n if (this.history.length > 0) {\n this.history[0].x -= delta.x;\n this.history[0].y -= delta.y;\n }\n }\n this.scrollPositions.set(target, current);\n frame.update(this.updatePoint, true);\n }\n updateHandlers(handlers) {\n this.handlers = handlers;\n }\n end() {\n this.removeListeners && this.removeListeners();\n this.removeScrollListeners && this.removeScrollListeners();\n this.scrollPositions.clear();\n cancelFrame(this.updatePoint);\n }\n}\nfunction transformPoint(info, transformPagePoint) {\n return transformPagePoint ? { point: transformPagePoint(info.point) } : info;\n}\nfunction subtractPoint(a, b) {\n return { x: a.x - b.x, y: a.y - b.y };\n}\nfunction getPanInfo({ point }, history) {\n return {\n point,\n delta: subtractPoint(point, lastDevicePoint(history)),\n offset: subtractPoint(point, startDevicePoint(history)),\n velocity: getVelocity(history, 0.1),\n };\n}\nfunction startDevicePoint(history) {\n return history[0];\n}\nfunction lastDevicePoint(history) {\n return history[history.length - 1];\n}\nfunction getVelocity(history, timeDelta) {\n if (history.length < 2) {\n return { x: 0, y: 0 };\n }\n let i = history.length - 1;\n let timestampedPoint = null;\n const lastPoint = lastDevicePoint(history);\n while (i >= 0) {\n timestampedPoint = history[i];\n if (lastPoint.timestamp - timestampedPoint.timestamp >\n secondsToMilliseconds(timeDelta)) {\n break;\n }\n i--;\n }\n if (!timestampedPoint) {\n return { x: 0, y: 0 };\n }\n /**\n * If the selected point is the pointer-down origin (history[0]),\n * there are better movement points available, and the time gap\n * is suspiciously large (>2x timeDelta), use the next point instead.\n * This prevents stale pointer-down points from diluting velocity\n * in hold-then-flick gestures.\n */\n if (timestampedPoint === history[0] &&\n history.length > 2 &&\n lastPoint.timestamp - timestampedPoint.timestamp >\n secondsToMilliseconds(timeDelta) * 2) {\n timestampedPoint = history[1];\n }\n const time = millisecondsToSeconds(lastPoint.timestamp - timestampedPoint.timestamp);\n if (time === 0) {\n return { x: 0, y: 0 };\n }\n const currentVelocity = {\n x: (lastPoint.x - timestampedPoint.x) / time,\n y: (lastPoint.y - timestampedPoint.y) / time,\n };\n if (currentVelocity.x === Infinity) {\n currentVelocity.x = 0;\n }\n if (currentVelocity.y === Infinity) {\n currentVelocity.y = 0;\n }\n return currentVelocity;\n}\n\nexport { PanSession };\n//# sourceMappingURL=PanSession.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;AAMA,IAAM,oBAA+B,IAAI,IAAI,CAAC,QAAQ,SAAS,CAAC,EAI1D,IAAN,MAAiB;CACb,YAAY,GAAO,GAAU,EAAE,uBAAoB,mBAAgB,QAAQ,sBAAmB,IAAO,uBAAoB,GAAG,eAAa,EAAE,EAAE;AA+FzI,MA3FA,KAAK,aAAa,MAIlB,KAAK,gBAAgB,MAIrB,KAAK,oBAAoB,MAMzB,KAAK,uBAAuB,MAI5B,KAAK,WAAW,EAAE,EAIlB,KAAK,gBAAgB,QAKrB,KAAK,kCAAkB,IAAI,KAAK,EAKhC,KAAK,wBAAwB,MAC7B,KAAK,mBAAmB,MAAU;AAC9B,QAAK,aAAa,EAAM,OAAO;KAEnC,KAAK,uBAAuB;AACxB,QAAK,aAAa,OAAO;KAE7B,KAAK,oBAAoB;AACrB,OAAI,EAAE,KAAK,iBAAiB,KAAK,mBAC7B;AAGJ,GAAI,KAAK,yBACL,KAAK,oBAAoB,EAAe,KAAK,sBAAsB,KAAK,mBAAmB;GAE/F,IAAM,IAAO,EAAW,KAAK,mBAAmB,KAAK,QAAQ,EACvD,IAAe,KAAK,eAAe,MAInC,IAA0B,EAAW,EAAK,QAAQ;IAAE,GAAG;IAAG,GAAG;IAAG,CAAC,IAAI,KAAK;AAChF,OAAI,CAAC,KAAgB,CAAC,EAClB;GACJ,IAAM,EAAE,aAAU,GACZ,EAAE,iBAAc;AACtB,QAAK,QAAQ,KAAK;IAAE,GAAG;IAAO;IAAW,CAAC;GAC1C,IAAM,EAAE,YAAS,cAAW,KAAK;AAKjC,GAJK,MACD,KAAW,EAAQ,KAAK,eAAe,EAAK,EAC5C,KAAK,aAAa,KAAK,gBAE3B,KAAU,EAAO,KAAK,eAAe,EAAK;KAE9C,KAAK,qBAAqB,GAAO,MAAS;AAKtC,GAJA,KAAK,gBAAgB,GACrB,KAAK,uBAAuB,GAC5B,KAAK,oBAAoB,EAAe,GAAM,KAAK,mBAAmB,EAEtE,EAAM,OAAO,KAAK,aAAa,GAAK;KAExC,KAAK,mBAAmB,GAAO,MAAS;AACpC,QAAK,KAAK;GACV,IAAM,EAAE,UAAO,iBAAc,uBAAoB,KAAK;AAMtD,QAHI,KAAK,oBAAoB,CAAC,KAAK,eAC/B,KAAmB,GAAiB,EAEpC,EAAE,KAAK,iBAAiB,KAAK,mBAC7B;GACJ,IAAM,IAAU,EAAW,EAAM,SAAS,kBACpC,KAAK,oBACL,EAAe,GAAM,KAAK,mBAAmB,EAAE,KAAK,QAAQ;AAIlE,GAHI,KAAK,cAAc,KACnB,EAAM,GAAO,EAAQ,EAEzB,KAAgB,EAAa,GAAO,EAAQ;KAG5C,CAAC,EAAiB,EAAM,CACxB;AAKJ,EAJA,KAAK,mBAAmB,GACxB,KAAK,WAAW,GAChB,KAAK,qBAAqB,GAC1B,KAAK,oBAAoB,GACzB,KAAK,gBAAgB,KAAiB;EAEtC,IAAM,IAAc,EADP,EAAiB,EAAM,EACK,KAAK,mBAAmB,EAC3D,EAAE,aAAU,GACZ,EAAE,iBAAc;AACtB,OAAK,UAAU,CAAC;GAAE,GAAG;GAAO;GAAW,CAAC;EACxC,IAAM,EAAE,sBAAmB;AAC3B,OACI,EAAe,GAAO,EAAW,GAAa,KAAK,QAAQ,CAAC;EAIhE,IAAM,IAAe;GAAE,SAAS;GAAM,SAAS;GAAM;AAGrD,EAFA,KAAK,kBAAkB,EAAK,EAAgB,KAAK,eAAe,eAAe,KAAK,mBAAmB,EAAa,EAAE,EAAgB,KAAK,eAAe,aAAa,KAAK,iBAAiB,EAAa,EAAE,EAAgB,KAAK,eAAe,iBAAiB,KAAK,iBAAiB,EAAa,CAAC,EAEjS,KACA,KAAK,oBAAoB,EAAQ;;CAMzC,oBAAoB,GAAS;EAEzB,IAAI,IAAU,EAAQ;AACtB,SAAO,IAAS;GACZ,IAAM,IAAQ,iBAAiB,EAAQ;AAQvC,IAPI,EAAe,IAAI,EAAM,UAAU,IACnC,EAAe,IAAI,EAAM,UAAU,KACnC,KAAK,gBAAgB,IAAI,GAAS;IAC9B,GAAG,EAAQ;IACX,GAAG,EAAQ;IACd,CAAC,EAEN,IAAU,EAAQ;;AAatB,EAVA,KAAK,gBAAgB,IAAI,QAAQ;GAC7B,GAAG,OAAO;GACV,GAAG,OAAO;GACb,CAAC,EAEF,OAAO,iBAAiB,UAAU,KAAK,iBAAiB,EACpD,SAAS,IACZ,CAAC,EAEF,OAAO,iBAAiB,UAAU,KAAK,eAAe,EACtD,KAAK,8BAA8B;AAI/B,GAHA,OAAO,oBAAoB,UAAU,KAAK,iBAAiB,EACvD,SAAS,IACZ,CAAC,EACF,OAAO,oBAAoB,UAAU,KAAK,eAAe;;;CASjE,aAAa,GAAQ;EACjB,IAAM,IAAU,KAAK,gBAAgB,IAAI,EAAO;AAChD,MAAI,CAAC,EACD;EACJ,IAAM,IAAW,MAAW,QACtB,IAAU,IACV;GAAE,GAAG,OAAO;GAAS,GAAG,OAAO;GAAS,GACxC;GACE,GAAG,EAAO;GACV,GAAG,EAAO;GACb,EACC,IAAQ;GAAE,GAAG,EAAQ,IAAI,EAAQ;GAAG,GAAG,EAAQ,IAAI,EAAQ;GAAG;AAChE,IAAM,MAAM,KAAK,EAAM,MAAM,MAE7B,IAEI,KAAK,sBACL,KAAK,kBAAkB,MAAM,KAAK,EAAM,GACxC,KAAK,kBAAkB,MAAM,KAAK,EAAM,KAKxC,KAAK,QAAQ,SAAS,MACtB,KAAK,QAAQ,GAAG,KAAK,EAAM,GAC3B,KAAK,QAAQ,GAAG,KAAK,EAAM,IAGnC,KAAK,gBAAgB,IAAI,GAAQ,EAAQ,EACzC,EAAM,OAAO,KAAK,aAAa,GAAK;;CAExC,eAAe,GAAU;AACrB,OAAK,WAAW;;CAEpB,MAAM;AAIF,EAHA,KAAK,mBAAmB,KAAK,iBAAiB,EAC9C,KAAK,yBAAyB,KAAK,uBAAuB,EAC1D,KAAK,gBAAgB,OAAO,EAC5B,EAAY,KAAK,YAAY;;;AAGrC,SAAS,EAAe,GAAM,GAAoB;AAC9C,QAAO,IAAqB,EAAE,OAAO,EAAmB,EAAK,MAAM,EAAE,GAAG;;AAE5E,SAAS,EAAc,GAAG,GAAG;AACzB,QAAO;EAAE,GAAG,EAAE,IAAI,EAAE;EAAG,GAAG,EAAE,IAAI,EAAE;EAAG;;AAEzC,SAAS,EAAW,EAAE,YAAS,GAAS;AACpC,QAAO;EACH;EACA,OAAO,EAAc,GAAO,EAAgB,EAAQ,CAAC;EACrD,QAAQ,EAAc,GAAO,EAAiB,EAAQ,CAAC;EACvD,UAAU,EAAY,GAAS,GAAI;EACtC;;AAEL,SAAS,EAAiB,GAAS;AAC/B,QAAO,EAAQ;;AAEnB,SAAS,EAAgB,GAAS;AAC9B,QAAO,EAAQ,EAAQ,SAAS;;AAEpC,SAAS,EAAY,GAAS,GAAW;AACrC,KAAI,EAAQ,SAAS,EACjB,QAAO;EAAE,GAAG;EAAG,GAAG;EAAG;CAEzB,IAAI,IAAI,EAAQ,SAAS,GACrB,IAAmB,MACjB,IAAY,EAAgB,EAAQ;AAC1C,QAAO,KAAK,MACR,IAAmB,EAAQ,IACvB,IAAU,YAAY,EAAiB,YACvC,EAAsB,EAAU,IAGpC;AAEJ,KAAI,CAAC,EACD,QAAO;EAAE,GAAG;EAAG,GAAG;EAAG;AASzB,CAAI,MAAqB,EAAQ,MAC7B,EAAQ,SAAS,KACjB,EAAU,YAAY,EAAiB,YACnC,EAAsB,EAAU,GAAG,MACvC,IAAmB,EAAQ;CAE/B,IAAM,IAAO,EAAsB,EAAU,YAAY,EAAiB,UAAU;AACpF,KAAI,MAAS,EACT,QAAO;EAAE,GAAG;EAAG,GAAG;EAAG;CAEzB,IAAM,IAAkB;EACpB,IAAI,EAAU,IAAI,EAAiB,KAAK;EACxC,IAAI,EAAU,IAAI,EAAiB,KAAK;EAC3C;AAOD,QANI,EAAgB,MAAM,aACtB,EAAgB,IAAI,IAEpB,EAAgB,MAAM,aACtB,EAAgB,IAAI,IAEjB"}
@@ -0,0 +1,44 @@
1
+ import { noop as e } from "../../../../../motion-utils/dist/es/noop.js";
2
+ import { frame as t } from "../../../../../motion-dom/dist/es/frameloop/frame.js";
3
+ import { Feature as n } from "../../../../../motion-dom/dist/es/render/Feature.js";
4
+ import { addPointerEvent as r } from "../../events/add-pointer-event.js";
5
+ import { getContextWindow as i } from "../../utils/get-context-window.js";
6
+ import { PanSession as a } from "./PanSession.js";
7
+ //#region node_modules/framer-motion/dist/es/gestures/pan/index.mjs
8
+ var o = (e) => (n, r) => {
9
+ e && t.update(() => e(n, r), !1, !0);
10
+ }, s = class extends n {
11
+ constructor() {
12
+ super(...arguments), this.removePointerDownListener = e;
13
+ }
14
+ onPointerDown(e) {
15
+ this.session = new a(e, this.createPanHandlers(), {
16
+ transformPagePoint: this.node.getTransformPagePoint(),
17
+ contextWindow: i(this.node)
18
+ });
19
+ }
20
+ createPanHandlers() {
21
+ let { onPanSessionStart: e, onPanStart: n, onPan: r, onPanEnd: i } = this.node.getProps();
22
+ return {
23
+ onSessionStart: o(e),
24
+ onStart: o(n),
25
+ onMove: o(r),
26
+ onEnd: (e, n) => {
27
+ delete this.session, i && t.postRender(() => i(e, n));
28
+ }
29
+ };
30
+ }
31
+ mount() {
32
+ this.removePointerDownListener = r(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
33
+ }
34
+ update() {
35
+ this.session && this.session.updateHandlers(this.createPanHandlers());
36
+ }
37
+ unmount() {
38
+ this.removePointerDownListener(), this.session && this.session.end();
39
+ }
40
+ };
41
+ //#endregion
42
+ export { s as PanGesture };
43
+
44
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/gestures/pan/index.mjs"],"sourcesContent":["import { Feature, frame } from 'motion-dom';\nimport { noop } from 'motion-utils';\nimport { addPointerEvent } from '../../events/add-pointer-event.mjs';\nimport { getContextWindow } from '../../utils/get-context-window.mjs';\nimport { PanSession } from './PanSession.mjs';\n\nconst asyncHandler = (handler) => (event, info) => {\n if (handler) {\n frame.update(() => handler(event, info), false, true);\n }\n};\nclass PanGesture extends Feature {\n constructor() {\n super(...arguments);\n this.removePointerDownListener = noop;\n }\n onPointerDown(pointerDownEvent) {\n this.session = new PanSession(pointerDownEvent, this.createPanHandlers(), {\n transformPagePoint: this.node.getTransformPagePoint(),\n contextWindow: getContextWindow(this.node),\n });\n }\n createPanHandlers() {\n const { onPanSessionStart, onPanStart, onPan, onPanEnd } = this.node.getProps();\n return {\n onSessionStart: asyncHandler(onPanSessionStart),\n onStart: asyncHandler(onPanStart),\n onMove: asyncHandler(onPan),\n onEnd: (event, info) => {\n delete this.session;\n if (onPanEnd) {\n frame.postRender(() => onPanEnd(event, info));\n }\n },\n };\n }\n mount() {\n this.removePointerDownListener = addPointerEvent(this.node.current, \"pointerdown\", (event) => this.onPointerDown(event));\n }\n update() {\n this.session && this.session.updateHandlers(this.createPanHandlers());\n }\n unmount() {\n this.removePointerDownListener();\n this.session && this.session.end();\n }\n}\n\nexport { PanGesture };\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;AAMA,IAAM,KAAgB,OAAa,GAAO,MAAS;AAC/C,CAAI,KACA,EAAM,aAAa,EAAQ,GAAO,EAAK,EAAE,IAAO,GAAK;GAGvD,IAAN,cAAyB,EAAQ;CAC7B,cAAc;AAEV,EADA,MAAM,GAAG,UAAU,EACnB,KAAK,4BAA4B;;CAErC,cAAc,GAAkB;AAC5B,OAAK,UAAU,IAAI,EAAW,GAAkB,KAAK,mBAAmB,EAAE;GACtE,oBAAoB,KAAK,KAAK,uBAAuB;GACrD,eAAe,EAAiB,KAAK,KAAK;GAC7C,CAAC;;CAEN,oBAAoB;EAChB,IAAM,EAAE,sBAAmB,eAAY,UAAO,gBAAa,KAAK,KAAK,UAAU;AAC/E,SAAO;GACH,gBAAgB,EAAa,EAAkB;GAC/C,SAAS,EAAa,EAAW;GACjC,QAAQ,EAAa,EAAM;GAC3B,QAAQ,GAAO,MAAS;AAEpB,IADA,OAAO,KAAK,SACR,KACA,EAAM,iBAAiB,EAAS,GAAO,EAAK,CAAC;;GAGxD;;CAEL,QAAQ;AACJ,OAAK,4BAA4B,EAAgB,KAAK,KAAK,SAAS,gBAAgB,MAAU,KAAK,cAAc,EAAM,CAAC;;CAE5H,SAAS;AACL,OAAK,WAAW,KAAK,QAAQ,eAAe,KAAK,mBAAmB,CAAC;;CAEzE,UAAU;AAEN,EADA,KAAK,2BAA2B,EAChC,KAAK,WAAW,KAAK,QAAQ,KAAK"}
@@ -0,0 +1,28 @@
1
+ import { frame as e } from "../../../../motion-dom/dist/es/frameloop/frame.js";
2
+ import { press as t } from "../../../../motion-dom/dist/es/gestures/press/index.js";
3
+ import { Feature as n } from "../../../../motion-dom/dist/es/render/Feature.js";
4
+ import { extractEventInfo as r } from "../events/event-info.js";
5
+ //#region node_modules/framer-motion/dist/es/gestures/press.mjs
6
+ function i(t, n, i) {
7
+ let { props: a } = t;
8
+ if (t.current instanceof HTMLButtonElement && t.current.disabled) return;
9
+ t.animationState && a.whileTap && t.animationState.setActive("whileTap", i === "Start");
10
+ let o = a["onTap" + (i === "End" ? "" : i)];
11
+ o && e.postRender(() => o(n, r(n)));
12
+ }
13
+ var a = class extends n {
14
+ mount() {
15
+ let { current: e } = this.node;
16
+ if (!e) return;
17
+ let { globalTapTarget: n, propagate: r } = this.node.props;
18
+ this.unmount = t(e, (e, t) => (i(this.node, t, "Start"), (e, { success: t }) => i(this.node, e, t ? "End" : "Cancel")), {
19
+ useGlobalTarget: n,
20
+ stopPropagation: r?.tap === !1
21
+ });
22
+ }
23
+ unmount() {}
24
+ };
25
+ //#endregion
26
+ export { a as PressGesture };
27
+
28
+ //# sourceMappingURL=press.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"press.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/gestures/press.mjs"],"sourcesContent":["import { Feature, press, frame } from 'motion-dom';\nimport { extractEventInfo } from '../events/event-info.mjs';\n\nfunction handlePressEvent(node, event, lifecycle) {\n const { props } = node;\n if (node.current instanceof HTMLButtonElement && node.current.disabled) {\n return;\n }\n if (node.animationState && props.whileTap) {\n node.animationState.setActive(\"whileTap\", lifecycle === \"Start\");\n }\n const eventName = (\"onTap\" + (lifecycle === \"End\" ? \"\" : lifecycle));\n const callback = props[eventName];\n if (callback) {\n frame.postRender(() => callback(event, extractEventInfo(event)));\n }\n}\nclass PressGesture extends Feature {\n mount() {\n const { current } = this.node;\n if (!current)\n return;\n const { globalTapTarget, propagate } = this.node.props;\n this.unmount = press(current, (_element, startEvent) => {\n handlePressEvent(this.node, startEvent, \"Start\");\n return (endEvent, { success }) => handlePressEvent(this.node, endEvent, success ? \"End\" : \"Cancel\");\n }, {\n useGlobalTarget: globalTapTarget,\n stopPropagation: propagate?.tap === false,\n });\n }\n unmount() { }\n}\n\nexport { PressGesture };\n//# sourceMappingURL=press.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAGA,SAAS,EAAiB,GAAM,GAAO,GAAW;CAC9C,IAAM,EAAE,aAAU;AAClB,KAAI,EAAK,mBAAmB,qBAAqB,EAAK,QAAQ,SAC1D;AAEJ,CAAI,EAAK,kBAAkB,EAAM,YAC7B,EAAK,eAAe,UAAU,YAAY,MAAc,QAAQ;CAGpE,IAAM,IAAW,EADE,WAAW,MAAc,QAAQ,KAAK;AAEzD,CAAI,KACA,EAAM,iBAAiB,EAAS,GAAO,EAAiB,EAAM,CAAC,CAAC;;AAGxE,IAAM,IAAN,cAA2B,EAAQ;CAC/B,QAAQ;EACJ,IAAM,EAAE,eAAY,KAAK;AACzB,MAAI,CAAC,EACD;EACJ,IAAM,EAAE,oBAAiB,iBAAc,KAAK,KAAK;AACjD,OAAK,UAAU,EAAM,IAAU,GAAU,OACrC,EAAiB,KAAK,MAAM,GAAY,QAAQ,GACxC,GAAU,EAAE,iBAAc,EAAiB,KAAK,MAAM,GAAU,IAAU,QAAQ,SAAS,GACpG;GACC,iBAAiB;GACjB,iBAAiB,GAAW,QAAQ;GACvC,CAAC;;CAEN,UAAU"}
@@ -0,0 +1,41 @@
1
+ import { resolveVariant as e } from "../../../../../../motion-dom/dist/es/render/utils/resolve-dynamic-variants.js";
2
+ import { Feature as t } from "../../../../../../motion-dom/dist/es/render/Feature.js";
3
+ //#region node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs
4
+ var n = 0, r = class extends t {
5
+ constructor() {
6
+ super(...arguments), this.id = n++, this.isExitComplete = !1;
7
+ }
8
+ update() {
9
+ if (!this.node.presenceContext) return;
10
+ let { isPresent: t, onExitComplete: n } = this.node.presenceContext, { isPresent: r } = this.node.prevPresenceContext || {};
11
+ if (!this.node.animationState || t === r) return;
12
+ if (t && r === !1) {
13
+ if (this.isExitComplete) {
14
+ let { initial: t, custom: n } = this.node.getProps();
15
+ if (typeof t == "string" || typeof t == "object" && t && !Array.isArray(t)) {
16
+ let r = e(this.node, t, n);
17
+ if (r) {
18
+ let { transition: e, transitionEnd: t, ...n } = r;
19
+ for (let e in n) this.node.getValue(e)?.jump(n[e]);
20
+ }
21
+ }
22
+ this.node.animationState.reset(), this.node.animationState.animateChanges();
23
+ } else this.node.animationState.setActive("exit", !1);
24
+ this.isExitComplete = !1;
25
+ return;
26
+ }
27
+ let i = this.node.animationState.setActive("exit", !t);
28
+ n && !t && i.then(() => {
29
+ this.isExitComplete = !0, n(this.id);
30
+ });
31
+ }
32
+ mount() {
33
+ let { register: e, onExitComplete: t } = this.node.presenceContext || {};
34
+ t && t(this.id), e && (this.unmount = e(this.id));
35
+ }
36
+ unmount() {}
37
+ };
38
+ //#endregion
39
+ export { r as ExitAnimationFeature };
40
+
41
+ //# sourceMappingURL=exit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exit.js","names":[],"sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs"],"sourcesContent":["import { Feature, resolveVariant } from 'motion-dom';\n\nlet id = 0;\nclass ExitAnimationFeature extends Feature {\n constructor() {\n super(...arguments);\n this.id = id++;\n this.isExitComplete = false;\n }\n update() {\n if (!this.node.presenceContext)\n return;\n const { isPresent, onExitComplete } = this.node.presenceContext;\n const { isPresent: prevIsPresent } = this.node.prevPresenceContext || {};\n if (!this.node.animationState || isPresent === prevIsPresent) {\n return;\n }\n if (isPresent && prevIsPresent === false) {\n /**\n * When re-entering, if the exit animation already completed\n * (element is at rest), reset to initial values so the enter\n * animation replays from the correct position.\n */\n if (this.isExitComplete) {\n const { initial, custom } = this.node.getProps();\n if (typeof initial === \"string\" ||\n (typeof initial === \"object\" &&\n initial !== null &&\n !Array.isArray(initial))) {\n const resolved = resolveVariant(this.node, initial, custom);\n if (resolved) {\n const { transition, transitionEnd, ...target } = resolved;\n for (const key in target) {\n this.node\n .getValue(key)\n ?.jump(target[key]);\n }\n }\n }\n this.node.animationState.reset();\n this.node.animationState.animateChanges();\n }\n else {\n this.node.animationState.setActive(\"exit\", false);\n }\n this.isExitComplete = false;\n return;\n }\n const exitAnimation = this.node.animationState.setActive(\"exit\", !isPresent);\n if (onExitComplete && !isPresent) {\n exitAnimation.then(() => {\n this.isExitComplete = true;\n onExitComplete(this.id);\n });\n }\n }\n mount() {\n const { register, onExitComplete } = this.node.presenceContext || {};\n if (onExitComplete) {\n onExitComplete(this.id);\n }\n if (register) {\n this.unmount = register(this.id);\n }\n }\n unmount() { }\n}\n\nexport { ExitAnimationFeature };\n//# sourceMappingURL=exit.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAEA,IAAI,IAAK,GACH,IAAN,cAAmC,EAAQ;CACvC,cAAc;AAGV,EAFA,MAAM,GAAG,UAAU,EACnB,KAAK,KAAK,KACV,KAAK,iBAAiB;;CAE1B,SAAS;AACL,MAAI,CAAC,KAAK,KAAK,gBACX;EACJ,IAAM,EAAE,cAAW,sBAAmB,KAAK,KAAK,iBAC1C,EAAE,WAAW,MAAkB,KAAK,KAAK,uBAAuB,EAAE;AACxE,MAAI,CAAC,KAAK,KAAK,kBAAkB,MAAc,EAC3C;AAEJ,MAAI,KAAa,MAAkB,IAAO;AAMtC,OAAI,KAAK,gBAAgB;IACrB,IAAM,EAAE,YAAS,cAAW,KAAK,KAAK,UAAU;AAChD,QAAI,OAAO,KAAY,YAClB,OAAO,KAAY,YAChB,KACA,CAAC,MAAM,QAAQ,EAAQ,EAAG;KAC9B,IAAM,IAAW,EAAe,KAAK,MAAM,GAAS,EAAO;AAC3D,SAAI,GAAU;MACV,IAAM,EAAE,eAAY,kBAAe,GAAG,MAAW;AACjD,WAAK,IAAM,KAAO,EACd,MAAK,KACA,SAAS,EAAI,EACZ,KAAK,EAAO,GAAK;;;AAKnC,IADA,KAAK,KAAK,eAAe,OAAO,EAChC,KAAK,KAAK,eAAe,gBAAgB;SAGzC,MAAK,KAAK,eAAe,UAAU,QAAQ,GAAM;AAErD,QAAK,iBAAiB;AACtB;;EAEJ,IAAM,IAAgB,KAAK,KAAK,eAAe,UAAU,QAAQ,CAAC,EAAU;AAC5E,EAAI,KAAkB,CAAC,KACnB,EAAc,WAAW;AAErB,GADA,KAAK,iBAAiB,IACtB,EAAe,KAAK,GAAG;IACzB;;CAGV,QAAQ;EACJ,IAAM,EAAE,aAAU,sBAAmB,KAAK,KAAK,mBAAmB,EAAE;AAIpE,EAHI,KACA,EAAe,KAAK,GAAG,EAEvB,MACA,KAAK,UAAU,EAAS,KAAK,GAAG;;CAGxC,UAAU"}
@@ -0,0 +1,27 @@
1
+ import { isAnimationControls as e } from "../../../../../../motion-dom/dist/es/render/utils/is-animation-controls.js";
2
+ import { Feature as t } from "../../../../../../motion-dom/dist/es/render/Feature.js";
3
+ import { createAnimationState as n } from "../../../../../../motion-dom/dist/es/render/utils/animation-state.js";
4
+ //#region node_modules/framer-motion/dist/es/motion/features/animation/index.mjs
5
+ var r = class extends t {
6
+ constructor(e) {
7
+ super(e), e.animationState ||= n(e);
8
+ }
9
+ updateAnimationControlsSubscription() {
10
+ let { animate: t } = this.node.getProps();
11
+ e(t) && (this.unmountControls = t.subscribe(this.node));
12
+ }
13
+ mount() {
14
+ this.updateAnimationControlsSubscription();
15
+ }
16
+ update() {
17
+ let { animate: e } = this.node.getProps(), { animate: t } = this.node.prevProps || {};
18
+ e !== t && this.updateAnimationControlsSubscription();
19
+ }
20
+ unmount() {
21
+ this.node.animationState.reset(), this.unmountControls?.();
22
+ }
23
+ };
24
+ //#endregion
25
+ export { r as AnimationFeature };
26
+
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/animation/index.mjs"],"sourcesContent":["import { Feature, createAnimationState, isAnimationControls } from 'motion-dom';\n\nclass AnimationFeature extends Feature {\n /**\n * We dynamically generate the AnimationState manager as it contains a reference\n * to the underlying animation library. We only want to load that if we load this,\n * so people can optionally code split it out using the `m` component.\n */\n constructor(node) {\n super(node);\n node.animationState || (node.animationState = createAnimationState(node));\n }\n updateAnimationControlsSubscription() {\n const { animate } = this.node.getProps();\n if (isAnimationControls(animate)) {\n this.unmountControls = animate.subscribe(this.node);\n }\n }\n /**\n * Subscribe any provided AnimationControls to the component's VisualElement\n */\n mount() {\n this.updateAnimationControlsSubscription();\n }\n update() {\n const { animate } = this.node.getProps();\n const { animate: prevAnimate } = this.node.prevProps || {};\n if (animate !== prevAnimate) {\n this.updateAnimationControlsSubscription();\n }\n }\n unmount() {\n this.node.animationState.reset();\n this.unmountControls?.();\n }\n}\n\nexport { AnimationFeature };\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAEA,IAAM,IAAN,cAA+B,EAAQ;CAMnC,YAAY,GAAM;AAEd,EADA,MAAM,EAAK,EACX,AAAwB,EAAK,mBAAiB,EAAqB,EAAK;;CAE5E,sCAAsC;EAClC,IAAM,EAAE,eAAY,KAAK,KAAK,UAAU;AACxC,EAAI,EAAoB,EAAQ,KAC5B,KAAK,kBAAkB,EAAQ,UAAU,KAAK,KAAK;;CAM3D,QAAQ;AACJ,OAAK,qCAAqC;;CAE9C,SAAS;EACL,IAAM,EAAE,eAAY,KAAK,KAAK,UAAU,EAClC,EAAE,SAAS,MAAgB,KAAK,KAAK,aAAa,EAAE;AAC1D,EAAI,MAAY,KACZ,KAAK,qCAAqC;;CAGlD,UAAU;AAEN,EADA,KAAK,KAAK,eAAe,OAAO,EAChC,KAAK,mBAAmB"}
@@ -0,0 +1,11 @@
1
+ import { AnimationFeature as e } from "./animation/index.js";
2
+ import { ExitAnimationFeature as t } from "./animation/exit.js";
3
+ //#region node_modules/framer-motion/dist/es/motion/features/animations.mjs
4
+ var n = {
5
+ animation: { Feature: e },
6
+ exit: { Feature: t }
7
+ };
8
+ //#endregion
9
+ export { n as animations };
10
+
11
+ //# sourceMappingURL=animations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animations.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/animations.mjs"],"sourcesContent":["import { AnimationFeature } from './animation/index.mjs';\nimport { ExitAnimationFeature } from './animation/exit.mjs';\n\nconst animations = {\n animation: {\n Feature: AnimationFeature,\n },\n exit: {\n Feature: ExitAnimationFeature,\n },\n};\n\nexport { animations };\n//# sourceMappingURL=animations.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAM,IAAa;CACf,WAAW,EACP,SAAS,GACZ;CACD,MAAM,EACF,SAAS,GACZ;CACJ"}
@@ -0,0 +1,53 @@
1
+ import { getFeatureDefinitions as e, setFeatureDefinitions as t } from "../../../../../motion-dom/dist/es/render/VisualElement.js";
2
+ //#region node_modules/framer-motion/dist/es/motion/features/definitions.mjs
3
+ var n = {
4
+ animation: [
5
+ "animate",
6
+ "variants",
7
+ "whileHover",
8
+ "whileTap",
9
+ "exit",
10
+ "whileInView",
11
+ "whileFocus",
12
+ "whileDrag"
13
+ ],
14
+ exit: ["exit"],
15
+ drag: ["drag", "dragControls"],
16
+ focus: ["whileFocus"],
17
+ hover: [
18
+ "whileHover",
19
+ "onHoverStart",
20
+ "onHoverEnd"
21
+ ],
22
+ tap: [
23
+ "whileTap",
24
+ "onTap",
25
+ "onTapStart",
26
+ "onTapCancel"
27
+ ],
28
+ pan: [
29
+ "onPan",
30
+ "onPanStart",
31
+ "onPanSessionStart",
32
+ "onPanEnd"
33
+ ],
34
+ inView: [
35
+ "whileInView",
36
+ "onViewportEnter",
37
+ "onViewportLeave"
38
+ ],
39
+ layout: ["layout", "layoutId"]
40
+ }, r = !1;
41
+ function i() {
42
+ if (r) return;
43
+ let e = {};
44
+ for (let t in n) e[t] = { isEnabled: (e) => n[t].some((t) => !!e[t]) };
45
+ t(e), r = !0;
46
+ }
47
+ function a() {
48
+ return i(), e();
49
+ }
50
+ //#endregion
51
+ export { a as getInitializedFeatureDefinitions };
52
+
53
+ //# sourceMappingURL=definitions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"definitions.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/definitions.mjs"],"sourcesContent":["import { getFeatureDefinitions, setFeatureDefinitions } from 'motion-dom';\n\nconst featureProps = {\n animation: [\n \"animate\",\n \"variants\",\n \"whileHover\",\n \"whileTap\",\n \"exit\",\n \"whileInView\",\n \"whileFocus\",\n \"whileDrag\",\n ],\n exit: [\"exit\"],\n drag: [\"drag\", \"dragControls\"],\n focus: [\"whileFocus\"],\n hover: [\"whileHover\", \"onHoverStart\", \"onHoverEnd\"],\n tap: [\"whileTap\", \"onTap\", \"onTapStart\", \"onTapCancel\"],\n pan: [\"onPan\", \"onPanStart\", \"onPanSessionStart\", \"onPanEnd\"],\n inView: [\"whileInView\", \"onViewportEnter\", \"onViewportLeave\"],\n layout: [\"layout\", \"layoutId\"],\n};\nlet isInitialized = false;\n/**\n * Initialize feature definitions with isEnabled checks.\n * This must be called before any motion components are rendered.\n */\nfunction initFeatureDefinitions() {\n if (isInitialized)\n return;\n const initialFeatureDefinitions = {};\n for (const key in featureProps) {\n initialFeatureDefinitions[key] = {\n isEnabled: (props) => featureProps[key].some((name) => !!props[name]),\n };\n }\n setFeatureDefinitions(initialFeatureDefinitions);\n isInitialized = true;\n}\n/**\n * Get the current feature definitions, initializing if needed.\n */\nfunction getInitializedFeatureDefinitions() {\n initFeatureDefinitions();\n return getFeatureDefinitions();\n}\n\nexport { getInitializedFeatureDefinitions, initFeatureDefinitions };\n//# sourceMappingURL=definitions.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,IAAM,IAAe;CACjB,WAAW;EACP;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACH;CACD,MAAM,CAAC,OAAO;CACd,MAAM,CAAC,QAAQ,eAAe;CAC9B,OAAO,CAAC,aAAa;CACrB,OAAO;EAAC;EAAc;EAAgB;EAAa;CACnD,KAAK;EAAC;EAAY;EAAS;EAAc;EAAc;CACvD,KAAK;EAAC;EAAS;EAAc;EAAqB;EAAW;CAC7D,QAAQ;EAAC;EAAe;EAAmB;EAAkB;CAC7D,QAAQ,CAAC,UAAU,WAAW;CACjC,EACG,IAAgB;AAKpB,SAAS,IAAyB;AAC9B,KAAI,EACA;CACJ,IAAM,IAA4B,EAAE;AACpC,MAAK,IAAM,KAAO,EACd,GAA0B,KAAO,EAC7B,YAAY,MAAU,EAAa,GAAK,MAAM,MAAS,CAAC,CAAC,EAAM,GAAM,EACxE;AAGL,CADA,EAAsB,EAA0B,EAChD,IAAgB;;AAKpB,SAAS,IAAmC;AAExC,QADA,GAAwB,EACjB,GAAuB"}
@@ -0,0 +1,17 @@
1
+ import { HTMLProjectionNode as e } from "../../../../../motion-dom/dist/es/projection/node/HTMLProjectionNode.js";
2
+ import { DragGesture as t } from "../../gestures/drag/index.js";
3
+ import { PanGesture as n } from "../../gestures/pan/index.js";
4
+ import { MeasureLayout as r } from "./layout/MeasureLayout.js";
5
+ //#region node_modules/framer-motion/dist/es/motion/features/drag.mjs
6
+ var i = {
7
+ pan: { Feature: n },
8
+ drag: {
9
+ Feature: t,
10
+ ProjectionNode: e,
11
+ MeasureLayout: r
12
+ }
13
+ };
14
+ //#endregion
15
+ export { i as drag };
16
+
17
+ //# sourceMappingURL=drag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drag.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/drag.mjs"],"sourcesContent":["import { DragGesture } from '../../gestures/drag/index.mjs';\nimport { PanGesture } from '../../gestures/pan/index.mjs';\nimport { MeasureLayout } from './layout/MeasureLayout.mjs';\nimport { HTMLProjectionNode } from 'motion-dom';\n\nconst drag = {\n pan: {\n Feature: PanGesture,\n },\n drag: {\n Feature: DragGesture,\n ProjectionNode: HTMLProjectionNode,\n MeasureLayout,\n },\n};\n\nexport { drag };\n//# sourceMappingURL=drag.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKA,IAAM,IAAO;CACT,KAAK,EACD,SAAS,GACZ;CACD,MAAM;EACF,SAAS;EACT,gBAAgB;EAChB;EACH;CACJ"}
@@ -0,0 +1,15 @@
1
+ import { HoverGesture as e } from "../../gestures/hover.js";
2
+ import { FocusGesture as t } from "../../gestures/focus.js";
3
+ import { PressGesture as n } from "../../gestures/press.js";
4
+ import { InViewFeature as r } from "./viewport/index.js";
5
+ //#region node_modules/framer-motion/dist/es/motion/features/gestures.mjs
6
+ var i = {
7
+ inView: { Feature: r },
8
+ tap: { Feature: n },
9
+ focus: { Feature: t },
10
+ hover: { Feature: e }
11
+ };
12
+ //#endregion
13
+ export { i as gestureAnimations };
14
+
15
+ //# sourceMappingURL=gestures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gestures.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/gestures.mjs"],"sourcesContent":["import { HoverGesture } from '../../gestures/hover.mjs';\nimport { FocusGesture } from '../../gestures/focus.mjs';\nimport { PressGesture } from '../../gestures/press.mjs';\nimport { InViewFeature } from './viewport/index.mjs';\n\nconst gestureAnimations = {\n inView: {\n Feature: InViewFeature,\n },\n tap: {\n Feature: PressGesture,\n },\n focus: {\n Feature: FocusGesture,\n },\n hover: {\n Feature: HoverGesture,\n },\n};\n\nexport { gestureAnimations };\n//# sourceMappingURL=gestures.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKA,IAAM,IAAoB;CACtB,QAAQ,EACJ,SAAS,GACZ;CACD,KAAK,EACD,SAAS,GACZ;CACD,OAAO,EACH,SAAS,GACZ;CACD,OAAO,EACH,SAAS,GACZ;CACJ"}
@@ -0,0 +1,63 @@
1
+ "use client";
2
+ import { LayoutGroupContext as e } from "../../../context/LayoutGroupContext.js";
3
+ import { frame as t } from "../../../../../../motion-dom/dist/es/frameloop/frame.js";
4
+ import { microtask as n } from "../../../../../../motion-dom/dist/es/frameloop/microtask.js";
5
+ import { globalProjectionState as r } from "../../../../../../motion-dom/dist/es/projection/node/state.js";
6
+ import { usePresence as i } from "../../../components/AnimatePresence/use-presence.js";
7
+ import { SwitchLayoutGroupContext as a } from "../../../context/SwitchLayoutGroupContext.js";
8
+ import { Component as o, useContext as s } from "react";
9
+ import { jsx as c } from "react/jsx-runtime";
10
+ //#region node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs
11
+ var l = !1, u = class extends o {
12
+ componentDidMount() {
13
+ let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: i } = this.props, { projection: a } = e;
14
+ a && (t.group && t.group.add(a), n && n.register && i && n.register(a), l && a.root.didUpdate(), a.addEventListener("animationComplete", () => {
15
+ this.safeToRemove();
16
+ }), a.setOptions({
17
+ ...a.options,
18
+ layoutDependency: this.props.layoutDependency,
19
+ onExitComplete: () => this.safeToRemove()
20
+ })), r.hasEverUpdated = !0;
21
+ }
22
+ getSnapshotBeforeUpdate(e) {
23
+ let { layoutDependency: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: o } = r;
24
+ return o ? (o.isPresent = a, e.layoutDependency !== n && o.setOptions({
25
+ ...o.options,
26
+ layoutDependency: n
27
+ }), l = !0, i || e.layoutDependency !== n || n === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || t.postRender(() => {
28
+ let e = o.getStack();
29
+ (!e || !e.members.length) && this.safeToRemove();
30
+ })), null) : null;
31
+ }
32
+ componentDidUpdate() {
33
+ let { visualElement: e, layoutAnchor: t } = this.props, { projection: r } = e;
34
+ r && (r.options.layoutAnchor = t, r.root.didUpdate(), n.postRender(() => {
35
+ !r.currentAnimation && r.isLead() && this.safeToRemove();
36
+ }));
37
+ }
38
+ componentWillUnmount() {
39
+ let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
40
+ l = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));
41
+ }
42
+ safeToRemove() {
43
+ let { safeToRemove: e } = this.props;
44
+ e && e();
45
+ }
46
+ render() {
47
+ return null;
48
+ }
49
+ };
50
+ function d(t) {
51
+ let [n, r] = i(), o = s(e);
52
+ return c(u, {
53
+ ...t,
54
+ layoutGroup: o,
55
+ switchLayoutGroup: s(a),
56
+ isPresent: n,
57
+ safeToRemove: r
58
+ });
59
+ }
60
+ //#endregion
61
+ export { d as MeasureLayout };
62
+
63
+ //# sourceMappingURL=MeasureLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MeasureLayout.js","names":[],"sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs"],"sourcesContent":["\"use client\";\nimport { jsx } from 'react/jsx-runtime';\nimport { globalProjectionState, frame, microtask } from 'motion-dom';\nimport { useContext, Component } from 'react';\nimport { usePresence } from '../../../components/AnimatePresence/use-presence.mjs';\nimport { LayoutGroupContext } from '../../../context/LayoutGroupContext.mjs';\nimport { SwitchLayoutGroupContext } from '../../../context/SwitchLayoutGroupContext.mjs';\n\n/**\n * Track whether we've taken any snapshots yet. If not,\n * we can safely skip notification of didUpdate.\n *\n * Difficult to capture in a test but to prevent flickering\n * we must set this to true either on update or unmount.\n * Running `next-env/layout-id` in Safari will show this behaviour if broken.\n */\nlet hasTakenAnySnapshot = false;\nclass MeasureLayoutWithContext extends Component {\n /**\n * This only mounts projection nodes for components that\n * need measuring, we might want to do it for all components\n * in order to incorporate transforms\n */\n componentDidMount() {\n const { visualElement, layoutGroup, switchLayoutGroup, layoutId } = this.props;\n const { projection } = visualElement;\n if (projection) {\n if (layoutGroup.group)\n layoutGroup.group.add(projection);\n if (switchLayoutGroup && switchLayoutGroup.register && layoutId) {\n switchLayoutGroup.register(projection);\n }\n if (hasTakenAnySnapshot) {\n projection.root.didUpdate();\n }\n projection.addEventListener(\"animationComplete\", () => {\n this.safeToRemove();\n });\n projection.setOptions({\n ...projection.options,\n layoutDependency: this.props.layoutDependency,\n onExitComplete: () => this.safeToRemove(),\n });\n }\n globalProjectionState.hasEverUpdated = true;\n }\n getSnapshotBeforeUpdate(prevProps) {\n const { layoutDependency, visualElement, drag, isPresent } = this.props;\n const { projection } = visualElement;\n if (!projection)\n return null;\n /**\n * TODO: We use this data in relegate to determine whether to\n * promote a previous element. There's no guarantee its presence data\n * will have updated by this point - if a bug like this arises it will\n * have to be that we markForRelegation and then find a new lead some other way,\n * perhaps in didUpdate\n */\n projection.isPresent = isPresent;\n if (prevProps.layoutDependency !== layoutDependency) {\n projection.setOptions({\n ...projection.options,\n layoutDependency,\n });\n }\n hasTakenAnySnapshot = true;\n if (drag ||\n prevProps.layoutDependency !== layoutDependency ||\n layoutDependency === undefined ||\n prevProps.isPresent !== isPresent) {\n projection.willUpdate();\n }\n else {\n this.safeToRemove();\n }\n if (prevProps.isPresent !== isPresent) {\n if (isPresent) {\n projection.promote();\n }\n else if (!projection.relegate()) {\n /**\n * If there's another stack member taking over from this one,\n * it's in charge of the exit animation and therefore should\n * be in charge of the safe to remove. Otherwise we call it here.\n */\n frame.postRender(() => {\n const stack = projection.getStack();\n if (!stack || !stack.members.length) {\n this.safeToRemove();\n }\n });\n }\n }\n return null;\n }\n componentDidUpdate() {\n const { visualElement, layoutAnchor } = this.props;\n const { projection } = visualElement;\n if (projection) {\n projection.options.layoutAnchor = layoutAnchor;\n projection.root.didUpdate();\n microtask.postRender(() => {\n if (!projection.currentAnimation && projection.isLead()) {\n this.safeToRemove();\n }\n });\n }\n }\n componentWillUnmount() {\n const { visualElement, layoutGroup, switchLayoutGroup: promoteContext, } = this.props;\n const { projection } = visualElement;\n hasTakenAnySnapshot = true;\n if (projection) {\n projection.scheduleCheckAfterUnmount();\n if (layoutGroup && layoutGroup.group)\n layoutGroup.group.remove(projection);\n if (promoteContext && promoteContext.deregister)\n promoteContext.deregister(projection);\n }\n }\n safeToRemove() {\n const { safeToRemove } = this.props;\n safeToRemove && safeToRemove();\n }\n render() {\n return null;\n }\n}\nfunction MeasureLayout(props) {\n const [isPresent, safeToRemove] = usePresence();\n const layoutGroup = useContext(LayoutGroupContext);\n return (jsx(MeasureLayoutWithContext, { ...props, layoutGroup: layoutGroup, switchLayoutGroup: useContext(SwitchLayoutGroupContext), isPresent: isPresent, safeToRemove: safeToRemove }));\n}\n\nexport { MeasureLayout };\n//# sourceMappingURL=MeasureLayout.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;AAgBA,IAAI,IAAsB,IACpB,IAAN,cAAuC,EAAU;CAM7C,oBAAoB;EAChB,IAAM,EAAE,kBAAe,gBAAa,sBAAmB,gBAAa,KAAK,OACnE,EAAE,kBAAe;AAmBvB,EAlBI,MACI,EAAY,SACZ,EAAY,MAAM,IAAI,EAAW,EACjC,KAAqB,EAAkB,YAAY,KACnD,EAAkB,SAAS,EAAW,EAEtC,KACA,EAAW,KAAK,WAAW,EAE/B,EAAW,iBAAiB,2BAA2B;AACnD,QAAK,cAAc;IACrB,EACF,EAAW,WAAW;GAClB,GAAG,EAAW;GACd,kBAAkB,KAAK,MAAM;GAC7B,sBAAsB,KAAK,cAAc;GAC5C,CAAC,GAEN,EAAsB,iBAAiB;;CAE3C,wBAAwB,GAAW;EAC/B,IAAM,EAAE,qBAAkB,kBAAe,SAAM,iBAAc,KAAK,OAC5D,EAAE,kBAAe;AA6CvB,SA5CK,KASL,EAAW,YAAY,GACnB,EAAU,qBAAqB,KAC/B,EAAW,WAAW;GAClB,GAAG,EAAW;GACd;GACH,CAAC,EAEN,IAAsB,IAClB,KACA,EAAU,qBAAqB,KAC/B,MAAqB,KAAA,KACrB,EAAU,cAAc,IACxB,EAAW,YAAY,GAGvB,KAAK,cAAc,EAEnB,EAAU,cAAc,MACpB,IACA,EAAW,SAAS,GAEd,EAAW,UAAU,IAM3B,EAAM,iBAAiB;GACnB,IAAM,IAAQ,EAAW,UAAU;AACnC,IAAI,CAAC,KAAS,CAAC,EAAM,QAAQ,WACzB,KAAK,cAAc;IAEzB,GAGH,QA3CI;;CA6Cf,qBAAqB;EACjB,IAAM,EAAE,kBAAe,oBAAiB,KAAK,OACvC,EAAE,kBAAe;AACvB,EAAI,MACA,EAAW,QAAQ,eAAe,GAClC,EAAW,KAAK,WAAW,EAC3B,EAAU,iBAAiB;AACvB,GAAI,CAAC,EAAW,oBAAoB,EAAW,QAAQ,IACnD,KAAK,cAAc;IAEzB;;CAGV,uBAAuB;EACnB,IAAM,EAAE,kBAAe,gBAAa,mBAAmB,MAAoB,KAAK,OAC1E,EAAE,kBAAe;AAEvB,EADA,IAAsB,IAClB,MACA,EAAW,2BAA2B,EAClC,KAAe,EAAY,SAC3B,EAAY,MAAM,OAAO,EAAW,EACpC,KAAkB,EAAe,cACjC,EAAe,WAAW,EAAW;;CAGjD,eAAe;EACX,IAAM,EAAE,oBAAiB,KAAK;AAC9B,OAAgB,GAAc;;CAElC,SAAS;AACL,SAAO;;;AAGf,SAAS,EAAc,GAAO;CAC1B,IAAM,CAAC,GAAW,KAAgB,GAAa,EACzC,IAAc,EAAW,EAAmB;AAClD,QAAQ,EAAI,GAA0B;EAAE,GAAG;EAAoB;EAAa,mBAAmB,EAAW,EAAyB;EAAa;EAAyB;EAAc,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { HTMLProjectionNode as e } from "../../../../../motion-dom/dist/es/projection/node/HTMLProjectionNode.js";
2
+ import { MeasureLayout as t } from "./layout/MeasureLayout.js";
3
+ //#region node_modules/framer-motion/dist/es/motion/features/layout.mjs
4
+ var n = { layout: {
5
+ ProjectionNode: e,
6
+ MeasureLayout: t
7
+ } };
8
+ //#endregion
9
+ export { n as layout };
10
+
11
+ //# sourceMappingURL=layout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/layout.mjs"],"sourcesContent":["import { HTMLProjectionNode } from 'motion-dom';\nimport { MeasureLayout } from './layout/MeasureLayout.mjs';\n\nconst layout = {\n layout: {\n ProjectionNode: HTMLProjectionNode,\n MeasureLayout,\n },\n};\n\nexport { layout };\n//# sourceMappingURL=layout.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAM,IAAS,EACX,QAAQ;CACJ,gBAAgB;CAChB;CACH,EACJ"}
@@ -0,0 +1,15 @@
1
+ import { setFeatureDefinitions as e } from "../../../../../motion-dom/dist/es/render/VisualElement.js";
2
+ import { getInitializedFeatureDefinitions as t } from "./definitions.js";
3
+ //#region node_modules/framer-motion/dist/es/motion/features/load-features.mjs
4
+ function n(n) {
5
+ let r = t();
6
+ for (let e in n) r[e] = {
7
+ ...r[e],
8
+ ...n[e]
9
+ };
10
+ e(r);
11
+ }
12
+ //#endregion
13
+ export { n as loadFeatures };
14
+
15
+ //# sourceMappingURL=load-features.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"load-features.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/features/load-features.mjs"],"sourcesContent":["import { setFeatureDefinitions } from 'motion-dom';\nimport { getInitializedFeatureDefinitions } from './definitions.mjs';\n\nfunction loadFeatures(features) {\n const featureDefinitions = getInitializedFeatureDefinitions();\n for (const key in features) {\n featureDefinitions[key] = {\n ...featureDefinitions[key],\n ...features[key],\n };\n }\n setFeatureDefinitions(featureDefinitions);\n}\n\nexport { loadFeatures };\n//# sourceMappingURL=load-features.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,SAAS,EAAa,GAAU;CAC5B,IAAM,IAAqB,GAAkC;AAC7D,MAAK,IAAM,KAAO,EACd,GAAmB,KAAO;EACtB,GAAG,EAAmB;EACtB,GAAG,EAAS;EACf;AAEL,GAAsB,EAAmB"}