@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 @@
1
+ {"version":3,"file":"utils.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/projection/geometry/utils.mjs"],"sourcesContent":["import { calcLength } from './delta-calc.mjs';\n\nfunction isAxisDeltaZero(delta) {\n return delta.translate === 0 && delta.scale === 1;\n}\nfunction isDeltaZero(delta) {\n return isAxisDeltaZero(delta.x) && isAxisDeltaZero(delta.y);\n}\nfunction axisEquals(a, b) {\n return a.min === b.min && a.max === b.max;\n}\nfunction boxEquals(a, b) {\n return axisEquals(a.x, b.x) && axisEquals(a.y, b.y);\n}\nfunction axisEqualsRounded(a, b) {\n return (Math.round(a.min) === Math.round(b.min) &&\n Math.round(a.max) === Math.round(b.max));\n}\nfunction boxEqualsRounded(a, b) {\n return axisEqualsRounded(a.x, b.x) && axisEqualsRounded(a.y, b.y);\n}\nfunction aspectRatio(box) {\n return calcLength(box.x) / calcLength(box.y);\n}\nfunction axisDeltaEquals(a, b) {\n return (a.translate === b.translate &&\n a.scale === b.scale &&\n a.originPoint === b.originPoint);\n}\n\nexport { aspectRatio, axisDeltaEquals, axisEquals, axisEqualsRounded, boxEquals, boxEqualsRounded, isDeltaZero };\n//# sourceMappingURL=utils.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,SAAS,EAAgB,GAAO;AAC5B,QAAO,EAAM,cAAc,KAAK,EAAM,UAAU;;AAEpD,SAAS,EAAY,GAAO;AACxB,QAAO,EAAgB,EAAM,EAAE,IAAI,EAAgB,EAAM,EAAE;;AAE/D,SAAS,EAAW,GAAG,GAAG;AACtB,QAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE;;AAE1C,SAAS,EAAU,GAAG,GAAG;AACrB,QAAO,EAAW,EAAE,GAAG,EAAE,EAAE,IAAI,EAAW,EAAE,GAAG,EAAE,EAAE;;AAEvD,SAAS,EAAkB,GAAG,GAAG;AAC7B,QAAQ,KAAK,MAAM,EAAE,IAAI,KAAK,KAAK,MAAM,EAAE,IAAI,IAC3C,KAAK,MAAM,EAAE,IAAI,KAAK,KAAK,MAAM,EAAE,IAAI;;AAE/C,SAAS,EAAiB,GAAG,GAAG;AAC5B,QAAO,EAAkB,EAAE,GAAG,EAAE,EAAE,IAAI,EAAkB,EAAE,GAAG,EAAE,EAAE;;AAErE,SAAS,EAAY,GAAK;AACtB,QAAO,EAAW,EAAI,EAAE,GAAG,EAAW,EAAI,EAAE;;AAEhD,SAAS,EAAgB,GAAG,GAAG;AAC3B,QAAQ,EAAE,cAAc,EAAE,aACtB,EAAE,UAAU,EAAE,SACd,EAAE,gBAAgB,EAAE"}
@@ -0,0 +1,15 @@
1
+ import { addDomEvent as e } from "../../events/add-dom-event.js";
2
+ import { createProjectionNode as t } from "./create-projection-node.js";
3
+ //#region node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
4
+ var n = t({
5
+ attachResizeListener: (t, n) => e(t, "resize", n),
6
+ measureScroll: () => ({
7
+ x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
8
+ y: document.documentElement.scrollTop || document.body?.scrollTop || 0
9
+ }),
10
+ checkIsScrollRoot: () => !0
11
+ });
12
+ //#endregion
13
+ export { n as DocumentProjectionNode };
14
+
15
+ //# sourceMappingURL=DocumentProjectionNode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentProjectionNode.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs"],"sourcesContent":["import { addDomEvent } from '../../events/add-dom-event.mjs';\nimport { createProjectionNode } from './create-projection-node.mjs';\n\nconst DocumentProjectionNode = createProjectionNode({\n attachResizeListener: (ref, notify) => addDomEvent(ref, \"resize\", notify),\n measureScroll: () => ({\n x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,\n y: document.documentElement.scrollTop || document.body?.scrollTop || 0,\n }),\n checkIsScrollRoot: () => true,\n});\n\nexport { DocumentProjectionNode };\n//# sourceMappingURL=DocumentProjectionNode.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAM,IAAyB,EAAqB;CAChD,uBAAuB,GAAK,MAAW,EAAY,GAAK,UAAU,EAAO;CACzE,sBAAsB;EAClB,GAAG,SAAS,gBAAgB,cAAc,SAAS,MAAM,cAAc;EACvE,GAAG,SAAS,gBAAgB,aAAa,SAAS,MAAM,aAAa;EACxE;CACD,yBAAyB;CAC5B,CAAC"}
@@ -0,0 +1,24 @@
1
+ import { createProjectionNode as e } from "./create-projection-node.js";
2
+ import { DocumentProjectionNode as t } from "./DocumentProjectionNode.js";
3
+ //#region node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs
4
+ var n = { current: void 0 }, r = e({
5
+ measureScroll: (e) => ({
6
+ x: e.scrollLeft,
7
+ y: e.scrollTop
8
+ }),
9
+ defaultParent: () => {
10
+ if (!n.current) {
11
+ let e = new t({});
12
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), n.current = e;
13
+ }
14
+ return n.current;
15
+ },
16
+ resetTransform: (e, t) => {
17
+ e.style.transform = t === void 0 ? "none" : t;
18
+ },
19
+ checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
20
+ });
21
+ //#endregion
22
+ export { r as HTMLProjectionNode };
23
+
24
+ //# sourceMappingURL=HTMLProjectionNode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HTMLProjectionNode.js","names":[],"sources":["../../../../../../../node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs"],"sourcesContent":["import { createProjectionNode } from './create-projection-node.mjs';\nimport { DocumentProjectionNode } from './DocumentProjectionNode.mjs';\n\nconst rootProjectionNode = {\n current: undefined,\n};\nconst HTMLProjectionNode = createProjectionNode({\n measureScroll: (instance) => ({\n x: instance.scrollLeft,\n y: instance.scrollTop,\n }),\n defaultParent: () => {\n if (!rootProjectionNode.current) {\n const documentNode = new DocumentProjectionNode({});\n documentNode.mount(window);\n documentNode.setOptions({ layoutScroll: true });\n rootProjectionNode.current = documentNode;\n }\n return rootProjectionNode.current;\n },\n resetTransform: (instance, value) => {\n instance.style.transform = value !== undefined ? value : \"none\";\n },\n checkIsScrollRoot: (instance) => Boolean(window.getComputedStyle(instance).position === \"fixed\"),\n});\n\nexport { HTMLProjectionNode, rootProjectionNode };\n//# sourceMappingURL=HTMLProjectionNode.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAM,IAAqB,EACvB,SAAS,KAAA,GACZ,EACK,IAAqB,EAAqB;CAC5C,gBAAgB,OAAc;EAC1B,GAAG,EAAS;EACZ,GAAG,EAAS;EACf;CACD,qBAAqB;AACjB,MAAI,CAAC,EAAmB,SAAS;GAC7B,IAAM,IAAe,IAAI,EAAuB,EAAE,CAAC;AAGnD,GAFA,EAAa,MAAM,OAAO,EAC1B,EAAa,WAAW,EAAE,cAAc,IAAM,CAAC,EAC/C,EAAmB,UAAU;;AAEjC,SAAO,EAAmB;;CAE9B,iBAAiB,GAAU,MAAU;AACjC,IAAS,MAAM,YAAY,MAAU,KAAA,IAAoB,SAAR;;CAErD,oBAAoB,MAAqB,OAAO,iBAAiB,EAAS,CAAC,aAAa;CAC3F,CAAC"}
@@ -0,0 +1,586 @@
1
+ import { clamp as e } from "../../../../../motion-utils/dist/es/clamp.js";
2
+ import { noop as t } from "../../../../../motion-utils/dist/es/noop.js";
3
+ import { SubscriptionManager as n } from "../../../../../motion-utils/dist/es/subscription-manager.js";
4
+ import { cancelFrame as r, frame as i, frameData as a, frameSteps as o } from "../../frameloop/frame.js";
5
+ import { time as s } from "../../frameloop/sync-time.js";
6
+ import { mixNumber as c } from "../../utils/mix/number.js";
7
+ import { motionValue as l } from "../../value/index.js";
8
+ import { getValueTransition as u } from "../../animation/utils/get-value-transition.js";
9
+ import { getOptimisedAppearId as d } from "../../animation/optimized-appear/get-appear-id.js";
10
+ import { microtask as f } from "../../frameloop/microtask.js";
11
+ import { isSVGElement as p } from "../../utils/is-svg-element.js";
12
+ import { statsBuffer as m } from "../../stats/buffer.js";
13
+ import { isSVGSVGElement as ee } from "../../utils/is-svg-svg-element.js";
14
+ import { createBox as h, createDelta as g } from "../geometry/models.js";
15
+ import { has2DTranslate as _, hasScale as v, hasTransform as y } from "../utils/has-transform.js";
16
+ import { applyBoxDelta as te, applyTreeDeltas as ne, transformBox as b, translateAxis as x } from "../geometry/delta-apply.js";
17
+ import { scaleCorrectors as S } from "../styles/scale-correction.js";
18
+ import { copyAxisDeltaInto as C, copyAxisInto as w, copyBoxInto as T } from "../geometry/copy.js";
19
+ import { calcBoxDelta as E, calcLength as D, calcRelativeBox as re, calcRelativePosition as O, isNear as k } from "../geometry/delta-calc.js";
20
+ import { removeBoxTransforms as A } from "../geometry/delta-remove.js";
21
+ import { aspectRatio as j, axisDeltaEquals as M, boxEquals as ie, boxEqualsRounded as N, isDeltaZero as P } from "../geometry/utils.js";
22
+ import { eachAxis as F } from "../utils/each-axis.js";
23
+ import { buildProjectionTransform as ae } from "../styles/transform.js";
24
+ import { mixValues as oe } from "../animation/mix-values.js";
25
+ import { animateSingleValue as se } from "../../animation/animate/single-value.js";
26
+ import { FlatTree as ce } from "../utils/flat-tree.js";
27
+ import { delay as le } from "../../utils/delay.js";
28
+ import { resolveMotionValue as I } from "../../value/utils/resolve-motion-value.js";
29
+ import { NodeStack as ue } from "../shared/stack.js";
30
+ import { globalProjectionState as L } from "./state.js";
31
+ //#region node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs
32
+ var R = {
33
+ nodes: 0,
34
+ calculatedTargetDeltas: 0,
35
+ calculatedProjections: 0
36
+ }, z = [
37
+ "",
38
+ "X",
39
+ "Y",
40
+ "Z"
41
+ ], B = 1e3, V = 0;
42
+ function H(e, t, n, r) {
43
+ let { latestValues: i } = t;
44
+ i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
45
+ }
46
+ function U(e) {
47
+ if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
48
+ let { visualElement: t } = e.options;
49
+ if (!t) return;
50
+ let n = d(t);
51
+ if (window.MotionHasOptimisedAnimation(n, "transform")) {
52
+ let { layout: t, layoutId: r } = e.options;
53
+ window.MotionCancelOptimisedAnimation(n, "transform", i, !(t || r));
54
+ }
55
+ let { parent: r } = e;
56
+ r && !r.hasCheckedOptimisedAppear && U(r);
57
+ }
58
+ function de({ attachResizeListener: t, defaultParent: d, measureScroll: w, checkIsScrollRoot: k, resetTransform: j }) {
59
+ return class {
60
+ constructor(e = {}, t = d?.()) {
61
+ this.id = V++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
62
+ x: 1,
63
+ y: 1
64
+ }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.layoutVersion = 0, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
65
+ this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
66
+ }, this.updateProjection = () => {
67
+ this.projectionUpdateScheduled = !1, m.value && (R.nodes = R.calculatedTargetDeltas = R.calculatedProjections = 0), this.nodes.forEach(me), this.nodes.forEach(be), this.nodes.forEach(xe), this.nodes.forEach(he), m.addProjectionMetrics && m.addProjectionMetrics(R);
68
+ }, this.resolvedRelativeTargetAt = 0, this.linkedParentVersion = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = t ? t.root || t : this, this.path = t ? [...t.path, t] : [], this.parent = t, this.depth = t ? t.depth + 1 : 0;
69
+ for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;
70
+ this.root === this && (this.nodes = new ce());
71
+ }
72
+ addEventListener(e, t) {
73
+ return this.eventHandlers.has(e) || this.eventHandlers.set(e, new n()), this.eventHandlers.get(e).add(t);
74
+ }
75
+ notifyListeners(e, ...t) {
76
+ let n = this.eventHandlers.get(e);
77
+ n && n.notify(...t);
78
+ }
79
+ hasListeners(e) {
80
+ return this.eventHandlers.has(e);
81
+ }
82
+ mount(e) {
83
+ if (this.instance) return;
84
+ this.isSVG = p(e) && !ee(e), this.instance = e;
85
+ let { layoutId: n, layout: r, visualElement: a } = this.options;
86
+ if (a && !a.current && a.mount(e), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), t) {
87
+ let n, r = 0, a = () => this.root.updateBlockedByResize = !1;
88
+ i.read(() => {
89
+ r = window.innerWidth;
90
+ }), t(e, () => {
91
+ let e = window.innerWidth;
92
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = le(a, 250), L.hasAnimatedSinceResize && (L.hasAnimatedSinceResize = !1, this.nodes.forEach(K)));
93
+ });
94
+ }
95
+ n && this.root.registerSharedNode(n, this), this.options.animate !== !1 && a && (n || r) && this.addEventListener("didUpdate", ({ delta: e, hasLayoutChanged: t, hasRelativeLayoutChanged: n, layout: r }) => {
96
+ if (this.isTreeAnimationBlocked()) {
97
+ this.target = void 0, this.relativeTarget = void 0;
98
+ return;
99
+ }
100
+ let i = this.options.transition || a.getDefaultTransition() || Te, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = a.getProps(), c = !this.targetLayout || !N(this.targetLayout, r), l = !t && n;
101
+ if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {
102
+ this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
103
+ let t = {
104
+ ...u(i, "layout"),
105
+ onPlay: o,
106
+ onComplete: s
107
+ };
108
+ (a.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
109
+ } else t || K(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
110
+ this.targetLayout = r;
111
+ });
112
+ }
113
+ unmount() {
114
+ this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);
115
+ let e = this.getStack();
116
+ e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), r(this.updateProjection);
117
+ }
118
+ blockUpdate() {
119
+ this.updateManuallyBlocked = !0;
120
+ }
121
+ unblockUpdate() {
122
+ this.updateManuallyBlocked = !1;
123
+ }
124
+ isUpdateBlocked() {
125
+ return this.updateManuallyBlocked || this.updateBlockedByResize;
126
+ }
127
+ isTreeAnimationBlocked() {
128
+ return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || !1;
129
+ }
130
+ startUpdate() {
131
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Se), this.animationId++);
132
+ }
133
+ getTransformTemplate() {
134
+ let { visualElement: e } = this.options;
135
+ return e && e.getProps().transformTemplate;
136
+ }
137
+ willUpdate(e = !0) {
138
+ if (this.root.hasTreeAnimated = !0, this.root.isUpdateBlocked()) {
139
+ this.options.onExitComplete && this.options.onExitComplete();
140
+ return;
141
+ }
142
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && U(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
143
+ this.isLayoutDirty = !0;
144
+ for (let e = 0; e < this.path.length; e++) {
145
+ let t = this.path[e];
146
+ t.shouldResetTransform = !0, (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1);
147
+ }
148
+ let { layoutId: t, layout: n } = this.options;
149
+ if (t === void 0 && !n) return;
150
+ let r = this.getTransformTemplate();
151
+ this.prevTransformTemplateValue = r ? r(this.latestValues, "") : void 0, this.updateSnapshot(), e && this.notifyListeners("willUpdate");
152
+ }
153
+ update() {
154
+ if (this.updateScheduled = !1, this.isUpdateBlocked()) {
155
+ let e = this.updateBlockedByResize;
156
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(_e), this.nodes.forEach(W);
157
+ return;
158
+ }
159
+ if (this.animationId <= this.animationCommitId) {
160
+ this.nodes.forEach(G);
161
+ return;
162
+ }
163
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(ve), this.nodes.forEach(ye), this.nodes.forEach(fe), this.nodes.forEach(pe)) : this.nodes.forEach(G), this.clearAllSnapshots();
164
+ let t = s.now();
165
+ a.delta = e(0, 1e3 / 60, t - a.timestamp), a.timestamp = t, a.isProcessing = !0, o.update.process(a), o.preRender.process(a), o.render.process(a), a.isProcessing = !1;
166
+ }
167
+ didUpdate() {
168
+ this.updateScheduled || (this.updateScheduled = !0, f.read(this.scheduleUpdate));
169
+ }
170
+ clearAllSnapshots() {
171
+ this.nodes.forEach(ge), this.sharedNodes.forEach(Ce);
172
+ }
173
+ scheduleUpdateProjection() {
174
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, i.preRender(this.updateProjection, !1, !0));
175
+ }
176
+ scheduleCheckAfterUnmount() {
177
+ i.postRender(() => {
178
+ this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
179
+ });
180
+ }
181
+ updateSnapshot() {
182
+ this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !D(this.snapshot.measuredBox.x) && !D(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
183
+ }
184
+ updateLayout() {
185
+ if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
186
+ if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();
187
+ let e = this.layout;
188
+ this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= h(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
189
+ let { visualElement: t } = this.options;
190
+ t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
191
+ }
192
+ updateScroll(e = "measure") {
193
+ let t = !!(this.options.layoutScroll && this.instance);
194
+ if (this.scroll && this.scroll.animationId === this.root.animationId && this.scroll.phase === e && (t = !1), t && this.instance) {
195
+ let t = k(this.instance);
196
+ this.scroll = {
197
+ animationId: this.root.animationId,
198
+ phase: e,
199
+ isRoot: t,
200
+ offset: w(this.instance),
201
+ wasRoot: this.scroll ? this.scroll.isRoot : t
202
+ };
203
+ }
204
+ }
205
+ resetTransform() {
206
+ if (!j) return;
207
+ let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, t = this.projectionDelta && !P(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, i = r !== this.prevTransformTemplateValue;
208
+ e && this.instance && (t || y(this.latestValues) || i) && (j(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
209
+ }
210
+ measure(e = !0) {
211
+ let t = this.measurePageBox(), n = this.removeElementScroll(t);
212
+ return e && (n = this.removeTransform(n)), Ee(n), {
213
+ animationId: this.root.animationId,
214
+ measuredBox: t,
215
+ layoutBox: n,
216
+ latestValues: {},
217
+ source: this.id
218
+ };
219
+ }
220
+ measurePageBox() {
221
+ let { visualElement: e } = this.options;
222
+ if (!e) return h();
223
+ let t = e.measureViewportBox();
224
+ if (!(this.scroll?.wasRoot || this.path.some(De))) {
225
+ let { scroll: e } = this.root;
226
+ e && (x(t.x, e.offset.x), x(t.y, e.offset.y));
227
+ }
228
+ return t;
229
+ }
230
+ removeElementScroll(e) {
231
+ let t = h();
232
+ if (T(t, e), this.scroll?.wasRoot) return t;
233
+ for (let n = 0; n < this.path.length; n++) {
234
+ let r = this.path[n], { scroll: i, options: a } = r;
235
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && T(t, e), x(t.x, i.offset.x), x(t.y, i.offset.y));
236
+ }
237
+ return t;
238
+ }
239
+ applyTransform(e, t = !1, n) {
240
+ let r = n || h();
241
+ T(r, e);
242
+ for (let e = 0; e < this.path.length; e++) {
243
+ let n = this.path[e];
244
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (x(r.x, -n.scroll.offset.x), x(r.y, -n.scroll.offset.y)), y(n.latestValues) && b(r, n.latestValues, n.layout?.layoutBox);
245
+ }
246
+ return y(this.latestValues) && b(r, this.latestValues, this.layout?.layoutBox), r;
247
+ }
248
+ removeTransform(e) {
249
+ let t = h();
250
+ T(t, e);
251
+ for (let e = 0; e < this.path.length; e++) {
252
+ let n = this.path[e];
253
+ if (!y(n.latestValues)) continue;
254
+ let r;
255
+ n.instance && (v(n.latestValues) && n.updateSnapshot(), r = h(), T(r, n.measurePageBox())), A(t, n.latestValues, n.snapshot?.layoutBox, r);
256
+ }
257
+ return y(this.latestValues) && A(t, this.latestValues), t;
258
+ }
259
+ setTargetDelta(e) {
260
+ this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
261
+ }
262
+ setOptions(e) {
263
+ this.options = {
264
+ ...this.options,
265
+ ...e,
266
+ crossfade: e.crossfade === void 0 ? !0 : e.crossfade
267
+ };
268
+ }
269
+ clearMeasurements() {
270
+ this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
271
+ }
272
+ forceRelativeParentToResolveTarget() {
273
+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== a.timestamp && this.relativeParent.resolveTargetDelta(!0);
274
+ }
275
+ resolveTargetDelta(e = !1) {
276
+ let t = this.getLead();
277
+ this.isProjectionDirty ||= t.isProjectionDirty, this.isTransformDirty ||= t.isTransformDirty, this.isSharedProjectionDirty ||= t.isSharedProjectionDirty;
278
+ let n = !!this.resumingFrom || this !== t;
279
+ if (!(e || n && this.isSharedProjectionDirty || this.isProjectionDirty || this.parent?.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize)) return;
280
+ let { layout: r, layoutId: i } = this.options;
281
+ if (!this.layout || !(r || i)) return;
282
+ this.resolvedRelativeTargetAt = a.timestamp;
283
+ let o = this.getClosestProjectingParent();
284
+ o && this.linkedParentVersion !== o.layoutVersion && !o.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && o && o.layout ? this.createRelativeTarget(o, this.layout.layoutBox, o.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = h(), this.targetWithTransforms = h()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), re(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : T(this.target, this.layout.layoutBox), te(this.target, this.targetDelta)) : T(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && o && !!o.resumingFrom == !!this.resumingFrom && !o.options.layoutScroll && o.target && this.animationProgress !== 1 ? this.createRelativeTarget(o, this.target, o.target) : this.relativeParent = this.relativeTarget = void 0), m.value && R.calculatedTargetDeltas++);
285
+ }
286
+ getClosestProjectingParent() {
287
+ if (!(!this.parent || v(this.parent.latestValues) || _(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
288
+ }
289
+ isProjecting() {
290
+ return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
291
+ }
292
+ createRelativeTarget(e, t, n) {
293
+ this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = h(), this.relativeTargetOrigin = h(), O(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), T(this.relativeTarget, this.relativeTargetOrigin);
294
+ }
295
+ removeRelativeTarget() {
296
+ this.relativeParent = this.relativeTarget = void 0;
297
+ }
298
+ calcProjection() {
299
+ let e = this.getLead(), t = !!this.resumingFrom || this !== e, n = !0;
300
+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === a.timestamp && (n = !1), n) return;
301
+ let { layout: r, layoutId: i } = this.options;
302
+ if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
303
+ T(this.layoutCorrected, this.layout.layoutBox);
304
+ let o = this.treeScale.x, s = this.treeScale.y;
305
+ ne(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = h());
306
+ let { target: c } = e;
307
+ if (!c) {
308
+ this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
309
+ return;
310
+ }
311
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (C(this.prevProjectionDelta.x, this.projectionDelta.x), C(this.prevProjectionDelta.y, this.projectionDelta.y)), E(this.projectionDelta, this.layoutCorrected, c, this.latestValues), (this.treeScale.x !== o || this.treeScale.y !== s || !M(this.projectionDelta.x, this.prevProjectionDelta.x) || !M(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", c)), m.value && R.calculatedProjections++;
312
+ }
313
+ hide() {
314
+ this.isVisible = !1;
315
+ }
316
+ show() {
317
+ this.isVisible = !0;
318
+ }
319
+ scheduleRender(e = !0) {
320
+ if (this.options.visualElement?.scheduleRender(), e) {
321
+ let e = this.getStack();
322
+ e && e.scheduleRender();
323
+ }
324
+ this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
325
+ }
326
+ createProjectionDeltas() {
327
+ this.prevProjectionDelta = g(), this.projectionDelta = g(), this.projectionDeltaWithTransform = g();
328
+ }
329
+ setAnimationOrigin(e, t = !1, n) {
330
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = g();
331
+ (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
332
+ let s = h(), l = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), u = this.getStack(), d = !u || u.members.length <= 1, f = !!(l && !d && this.options.crossfade === !0 && !this.path.some(Y));
333
+ this.animationProgress = 0;
334
+ let p, m = n?.interpolateProjection(e);
335
+ this.mixTargetDelta = (t) => {
336
+ let n = t / 1e3, r = m?.(n);
337
+ r ? (o.x.translate = r.x, o.x.scale = c(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = c(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (q(o.x, e.x, n), q(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (O(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), we(this.relativeTarget, this.relativeTargetOrigin, s, n), p && ie(this.relativeTarget, p) && (this.isProjectionDirty = !1), p ||= h(), T(p, this.relativeTarget)), l && (this.animationValues = a, oe(a, i, this.latestValues, n, f, d)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
338
+ }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
339
+ }
340
+ startAnimation(e) {
341
+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (r(this.pendingAnimation), void 0), this.pendingAnimation = i.update(() => {
342
+ L.hasAnimatedSinceResize = !0, this.motionValue ||= l(0), this.motionValue.jump(0, !1), this.currentAnimation = se(this.motionValue, [0, 1e3], {
343
+ ...e,
344
+ velocity: 0,
345
+ isSync: !0,
346
+ onUpdate: (t) => {
347
+ this.mixTargetDelta(t), e.onUpdate && e.onUpdate(t);
348
+ },
349
+ onComplete: () => {
350
+ e.onComplete && e.onComplete(), this.completeAnimation();
351
+ }
352
+ }), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;
353
+ });
354
+ }
355
+ completeAnimation() {
356
+ this.resumingFrom && (this.resumingFrom.currentAnimation = void 0, this.resumingFrom.preserveOpacity = void 0);
357
+ let e = this.getStack();
358
+ e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
359
+ }
360
+ finishAnimation() {
361
+ this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(B), this.currentAnimation.stop()), this.completeAnimation();
362
+ }
363
+ applyTransformsToTarget() {
364
+ let e = this.getLead(), { targetWithTransforms: t, target: n, layout: r, latestValues: i } = e;
365
+ if (!(!t || !n || !r)) {
366
+ if (this !== e && this.layout && r && $(this.options.animationType, this.layout.layoutBox, r.layoutBox)) {
367
+ n = this.target || h();
368
+ let t = D(this.layout.layoutBox.x);
369
+ n.x.min = e.target.x.min, n.x.max = n.x.min + t;
370
+ let r = D(this.layout.layoutBox.y);
371
+ n.y.min = e.target.y.min, n.y.max = n.y.min + r;
372
+ }
373
+ T(t, n), b(t, i), E(this.projectionDeltaWithTransform, this.layoutCorrected, t, i);
374
+ }
375
+ }
376
+ registerSharedNode(e, t) {
377
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new ue()), this.sharedNodes.get(e).add(t);
378
+ let n = t.options.initialPromotionConfig;
379
+ t.promote({
380
+ transition: n ? n.transition : void 0,
381
+ preserveFollowOpacity: n && n.shouldPreserveFollowOpacity ? n.shouldPreserveFollowOpacity(t) : void 0
382
+ });
383
+ }
384
+ isLead() {
385
+ let e = this.getStack();
386
+ return e ? e.lead === this : !0;
387
+ }
388
+ getLead() {
389
+ let { layoutId: e } = this.options;
390
+ return e && this.getStack()?.lead || this;
391
+ }
392
+ getPrevLead() {
393
+ let { layoutId: e } = this.options;
394
+ return e ? this.getStack()?.prevLead : void 0;
395
+ }
396
+ getStack() {
397
+ let { layoutId: e } = this.options;
398
+ if (e) return this.root.sharedNodes.get(e);
399
+ }
400
+ promote({ needsReset: e, transition: t, preserveFollowOpacity: n } = {}) {
401
+ let r = this.getStack();
402
+ r && r.promote(this, n), e && (this.projectionDelta = void 0, this.needsReset = !0), t && this.setOptions({ transition: t });
403
+ }
404
+ relegate() {
405
+ let e = this.getStack();
406
+ return e ? e.relegate(this) : !1;
407
+ }
408
+ resetSkewAndRotation() {
409
+ let { visualElement: e } = this.options;
410
+ if (!e) return;
411
+ let t = !1, { latestValues: n } = e;
412
+ if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;
413
+ let r = {};
414
+ n.z && H("z", e, r, this.animationValues);
415
+ for (let t = 0; t < z.length; t++) H(`rotate${z[t]}`, e, r, this.animationValues), H(`skew${z[t]}`, e, r, this.animationValues);
416
+ e.render();
417
+ for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);
418
+ e.scheduleRender();
419
+ }
420
+ applyProjectionStyles(e, t) {
421
+ if (!this.instance || this.isSVG) return;
422
+ if (!this.isVisible) {
423
+ e.visibility = "hidden";
424
+ return;
425
+ }
426
+ let n = this.getTransformTemplate();
427
+ if (this.needsReset) {
428
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = I(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";
429
+ return;
430
+ }
431
+ let r = this.getLead();
432
+ if (!this.projectionDelta || !this.layout || !r.target) {
433
+ this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = I(t?.pointerEvents) || ""), this.hasProjected && !y(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);
434
+ return;
435
+ }
436
+ e.visibility = "";
437
+ let i = r.animationValues || r.latestValues;
438
+ this.applyTransformsToTarget();
439
+ let a = ae(this.projectionDeltaWithTransform, this.treeScale, i);
440
+ n && (a = n(i, a)), e.transform = a;
441
+ let { x: o, y: s } = this.projectionDelta;
442
+ e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, r.animationValues ? e.opacity = r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : e.opacity = r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
443
+ for (let t in S) {
444
+ if (i[t] === void 0) continue;
445
+ let { correct: n, applyTo: o, isCSSVariable: s } = S[t], c = a === "none" ? i[t] : n(i[t], r);
446
+ if (o) {
447
+ let t = o.length;
448
+ for (let n = 0; n < t; n++) e[o[n]] = c;
449
+ } else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;
450
+ }
451
+ this.options.layoutId && (e.pointerEvents = r === this ? I(t?.pointerEvents) || "" : "none");
452
+ }
453
+ clearSnapshot() {
454
+ this.resumeFrom = this.snapshot = void 0;
455
+ }
456
+ resetTree() {
457
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(W), this.root.sharedNodes.clear();
458
+ }
459
+ };
460
+ }
461
+ function fe(e) {
462
+ e.updateLayout();
463
+ }
464
+ function pe(e) {
465
+ let t = e.resumeFrom?.snapshot || e.snapshot;
466
+ if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
467
+ let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;
468
+ if (i === "size") F((e) => {
469
+ let r = a ? t.measuredBox[e] : t.layoutBox[e], i = D(r);
470
+ r.min = n[e].min, r.max = r.min + i;
471
+ });
472
+ else if (i === "x" || i === "y") {
473
+ let e = i === "x" ? "y" : "x";
474
+ w(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);
475
+ } else $(i, t.layoutBox, n) && F((r) => {
476
+ let i = a ? t.measuredBox[r] : t.layoutBox[r], o = D(n[r]);
477
+ i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);
478
+ });
479
+ let o = g();
480
+ E(o, n, t.layoutBox);
481
+ let s = g();
482
+ a ? E(s, e.applyTransform(r, !0), t.measuredBox) : E(s, n, t.layoutBox);
483
+ let c = !P(o), l = !1;
484
+ if (!e.resumeFrom) {
485
+ let r = e.getClosestProjectingParent();
486
+ if (r && !r.resumeFrom) {
487
+ let { snapshot: i, layout: a } = r;
488
+ if (i && a) {
489
+ let o = e.options.layoutAnchor || void 0, s = h();
490
+ O(s, t.layoutBox, i.layoutBox, o);
491
+ let c = h();
492
+ O(c, n, a.layoutBox, o), N(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
493
+ }
494
+ }
495
+ }
496
+ e.notifyListeners("didUpdate", {
497
+ layout: n,
498
+ snapshot: t,
499
+ delta: s,
500
+ layoutDelta: o,
501
+ hasLayoutChanged: c,
502
+ hasRelativeLayoutChanged: l
503
+ });
504
+ } else if (e.isLead()) {
505
+ let { onExitComplete: t } = e.options;
506
+ t && t();
507
+ }
508
+ e.options.transition = void 0;
509
+ }
510
+ function me(e) {
511
+ m.value && R.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
512
+ }
513
+ function he(e) {
514
+ e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
515
+ }
516
+ function ge(e) {
517
+ e.clearSnapshot();
518
+ }
519
+ function W(e) {
520
+ e.clearMeasurements();
521
+ }
522
+ function _e(e) {
523
+ e.isLayoutDirty = !0, e.updateLayout();
524
+ }
525
+ function G(e) {
526
+ e.isLayoutDirty = !1;
527
+ }
528
+ function ve(e) {
529
+ e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);
530
+ }
531
+ function ye(e) {
532
+ let { visualElement: t } = e.options;
533
+ t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
534
+ }
535
+ function K(e) {
536
+ e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
537
+ }
538
+ function be(e) {
539
+ e.resolveTargetDelta();
540
+ }
541
+ function xe(e) {
542
+ e.calcProjection();
543
+ }
544
+ function Se(e) {
545
+ e.resetSkewAndRotation();
546
+ }
547
+ function Ce(e) {
548
+ e.removeLeadSnapshot();
549
+ }
550
+ function q(e, t, n) {
551
+ e.translate = c(t.translate, 0, n), e.scale = c(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
552
+ }
553
+ function J(e, t, n, r) {
554
+ e.min = c(t.min, n.min, r), e.max = c(t.max, n.max, r);
555
+ }
556
+ function we(e, t, n, r) {
557
+ J(e.x, t.x, n.x, r), J(e.y, t.y, n.y, r);
558
+ }
559
+ function Y(e) {
560
+ return e.animationValues && e.animationValues.opacityExit !== void 0;
561
+ }
562
+ var Te = {
563
+ duration: .45,
564
+ ease: [
565
+ .4,
566
+ 0,
567
+ .1,
568
+ 1
569
+ ]
570
+ }, X = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Z = X("applewebkit/") && !X("chrome/") ? Math.round : t;
571
+ function Q(e) {
572
+ e.min = Z(e.min), e.max = Z(e.max);
573
+ }
574
+ function Ee(e) {
575
+ Q(e.x), Q(e.y);
576
+ }
577
+ function $(e, t, n) {
578
+ return e === "position" || e === "preserve-aspect" && !k(j(t), j(n), .2);
579
+ }
580
+ function De(e) {
581
+ return e !== e.root && e.scroll?.wasRoot;
582
+ }
583
+ //#endregion
584
+ export { de as createProjectionNode };
585
+
586
+ //# sourceMappingURL=create-projection-node.js.map