@burdenoff/microfe-brainyrich 2026.706.2 → 2026.706.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (543) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +5 -5
  2. package/dist/brainyrich/components/viz.js +155 -156
  3. package/dist/brainyrich/components/viz.js.map +1 -1
  4. package/dist/brainyrich/pages/AccountsPage.js.map +1 -1
  5. package/dist/brainyrich/pages/AiAssistantPage.js.map +1 -1
  6. package/dist/brainyrich/pages/AnalyticsPage.js.map +1 -1
  7. package/dist/brainyrich/pages/DashboardPage.js.map +1 -1
  8. package/dist/brainyrich/pages/FamilyPage.js.map +1 -1
  9. package/dist/brainyrich/pages/GoalsPage.js.map +1 -1
  10. package/dist/brainyrich/pages/InvestmentsPage.js.map +1 -1
  11. package/dist/brainyrich/pages/PortfoliosPage.js.map +1 -1
  12. package/dist/brainyrich/pages/ReportsPage.js +2 -1
  13. package/dist/brainyrich/pages/ReportsPage.js.map +1 -1
  14. package/dist/brainyrich/pages/RiskPage.js.map +1 -1
  15. package/dist/brainyrich/pages/_shared.js +76 -68
  16. package/dist/brainyrich/pages/_shared.js.map +1 -1
  17. package/package.json +3 -4
  18. package/dist/_virtual/__vite-optional-peer-dep_@emotion/is-prop-valid_framer-motion.js +0 -10
  19. package/dist/_virtual/__vite-optional-peer-dep_@emotion/is-prop-valid_framer-motion.js.map +0 -1
  20. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -22
  21. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +0 -1
  22. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -8
  23. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +0 -1
  24. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -8
  25. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +0 -1
  26. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -12
  27. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +0 -1
  28. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -19
  29. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +0 -1
  30. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -8
  31. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +0 -1
  32. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -17
  33. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +0 -1
  34. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -8
  35. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +0 -1
  36. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -8
  37. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +0 -1
  38. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -10
  39. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +0 -1
  40. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -13
  41. package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +0 -1
  42. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -259
  43. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +0 -1
  44. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -24
  45. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +0 -1
  46. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -61
  47. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +0 -1
  48. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -29
  49. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +0 -1
  50. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -22
  51. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +0 -1
  52. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -135
  53. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +0 -1
  54. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -44
  55. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +0 -1
  56. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -28
  57. package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +0 -1
  58. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -41
  59. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +0 -1
  60. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -27
  61. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +0 -1
  62. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -11
  63. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +0 -1
  64. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -53
  65. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +0 -1
  66. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
  67. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +0 -1
  68. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -15
  69. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +0 -1
  70. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -63
  71. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +0 -1
  72. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
  73. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +0 -1
  74. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -15
  75. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +0 -1
  76. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -48
  77. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +0 -1
  78. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -26
  79. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +0 -1
  80. package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -72
  81. package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +0 -1
  82. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -6
  83. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +0 -1
  84. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -24
  85. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +0 -1
  86. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -60
  87. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +0 -1
  88. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -52
  89. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +0 -1
  90. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -9
  91. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +0 -1
  92. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -12
  93. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +0 -1
  94. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -15
  95. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +0 -1
  96. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -9
  97. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +0 -1
  98. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
  99. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +0 -1
  100. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -23
  101. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +0 -1
  102. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -21
  103. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +0 -1
  104. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -9
  105. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +0 -1
  106. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -13
  107. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +0 -1
  108. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -28
  109. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +0 -1
  110. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -11
  111. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +0 -1
  112. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -32
  113. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +0 -1
  114. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -28
  115. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +0 -1
  116. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -13
  117. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +0 -1
  118. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -10
  119. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +0 -1
  120. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -10
  121. package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +0 -1
  122. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -6
  123. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +0 -1
  124. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -6
  125. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +0 -1
  126. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -8
  127. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +0 -1
  128. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +0 -15
  129. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +0 -1
  130. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -11
  131. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +0 -1
  132. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -9
  133. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +0 -1
  134. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -109
  135. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +0 -1
  136. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -132
  137. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +0 -1
  138. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -86
  139. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +0 -1
  140. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -30
  141. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +0 -1
  142. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -12
  143. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +0 -1
  144. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -15
  145. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +0 -1
  146. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -34
  147. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +0 -1
  148. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -24
  149. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +0 -1
  150. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +0 -168
  151. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +0 -1
  152. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -11
  153. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +0 -1
  154. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -18
  155. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +0 -1
  156. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -8
  157. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +0 -1
  158. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -11
  159. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +0 -1
  160. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -47
  161. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +0 -1
  162. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -56
  163. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +0 -1
  164. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -28
  165. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +0 -1
  166. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -23
  167. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +0 -1
  168. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -63
  169. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +0 -1
  170. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -69
  171. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +0 -1
  172. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -10
  173. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +0 -1
  174. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -10
  175. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +0 -1
  176. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -14
  177. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +0 -1
  178. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -8
  179. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +0 -1
  180. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -8
  181. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +0 -1
  182. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -9
  183. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +0 -1
  184. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -20
  185. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +0 -1
  186. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -38
  187. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +0 -1
  188. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -6
  189. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +0 -1
  190. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -9
  191. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +0 -1
  192. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -24
  193. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +0 -1
  194. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -9
  195. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +0 -1
  196. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -20
  197. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +0 -1
  198. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -27
  199. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +0 -1
  200. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -29
  201. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +0 -1
  202. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -10
  203. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +0 -1
  204. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -7
  205. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +0 -1
  206. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -9
  207. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +0 -1
  208. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -21
  209. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +0 -1
  210. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -8
  211. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +0 -1
  212. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -18
  213. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +0 -1
  214. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +0 -15
  215. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +0 -1
  216. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -6
  217. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +0 -1
  218. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -13
  219. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +0 -1
  220. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -37
  221. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +0 -1
  222. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -27
  223. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +0 -1
  224. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -26
  225. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +0 -1
  226. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +0 -11
  227. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +0 -1
  228. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -10
  229. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +0 -1
  230. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +0 -10
  231. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +0 -1
  232. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -10
  233. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +0 -1
  234. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -19
  235. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +0 -1
  236. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -8
  237. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +0 -1
  238. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -32
  239. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +0 -1
  240. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -8
  241. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +0 -1
  242. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -7
  243. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +0 -1
  244. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -15
  245. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +0 -1
  246. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -35
  247. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +0 -1
  248. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -17
  249. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +0 -1
  250. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -12
  251. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +0 -1
  252. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -13
  253. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +0 -1
  254. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -38
  255. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +0 -1
  256. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -35
  257. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +0 -1
  258. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -23
  259. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +0 -1
  260. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -30
  261. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +0 -1
  262. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -6
  263. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +0 -1
  264. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -6
  265. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +0 -1
  266. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -6
  267. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +0 -1
  268. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -18
  269. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +0 -1
  270. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -31
  271. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +0 -1
  272. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -41
  273. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +0 -1
  274. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -14
  275. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +0 -1
  276. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -45
  277. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +0 -1
  278. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -32
  279. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +0 -1
  280. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -31
  281. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +0 -1
  282. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -20
  283. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +0 -1
  284. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -30
  285. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +0 -1
  286. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -15
  287. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +0 -1
  288. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -24
  289. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +0 -1
  290. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -590
  291. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +0 -1
  292. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -9
  293. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +0 -1
  294. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -53
  295. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +0 -1
  296. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -15
  297. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +0 -1
  298. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -15
  299. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +0 -1
  300. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -23
  301. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +0 -1
  302. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -14
  303. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +0 -1
  304. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -6
  305. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +0 -1
  306. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -8
  307. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +0 -1
  308. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -21
  309. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +0 -1
  310. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -20
  311. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +0 -1
  312. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -14
  313. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +0 -1
  314. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -11
  315. package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +0 -1
  316. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -206
  317. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +0 -1
  318. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -30
  319. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +0 -1
  320. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -6
  321. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +0 -1
  322. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -58
  323. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +0 -1
  324. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -9
  325. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +0 -1
  326. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -8
  327. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +0 -1
  328. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -37
  329. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +0 -1
  330. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -30
  331. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +0 -1
  332. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -37
  333. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +0 -1
  334. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -10
  335. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +0 -1
  336. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -13
  337. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +0 -1
  338. package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -6
  339. package/dist/node_modules/motion-dom/dist/es/render/store.js.map +0 -1
  340. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -42
  341. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +0 -1
  342. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -24
  343. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +0 -1
  344. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -30
  345. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +0 -1
  346. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -6
  347. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +0 -1
  348. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -17
  349. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +0 -1
  350. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -12
  351. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +0 -1
  352. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -16
  353. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +0 -1
  354. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -137
  355. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +0 -1
  356. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -21
  357. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +0 -1
  358. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -8
  359. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +0 -1
  360. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -14
  361. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +0 -1
  362. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -10
  363. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +0 -1
  364. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -6
  365. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +0 -1
  366. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -8
  367. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +0 -1
  368. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -15
  369. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +0 -1
  370. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -24
  371. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +0 -1
  372. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -23
  373. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +0 -1
  374. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -13
  375. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +0 -1
  376. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -6
  377. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +0 -1
  378. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -10
  379. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +0 -1
  380. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -22
  381. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +0 -1
  382. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -22
  383. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +0 -1
  384. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -12
  385. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +0 -1
  386. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -14
  387. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +0 -1
  388. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +0 -39
  389. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +0 -1
  390. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +0 -24
  391. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +0 -1
  392. package/dist/node_modules/motion-dom/dist/es/resize/index.js +0 -10
  393. package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +0 -1
  394. package/dist/node_modules/motion-dom/dist/es/stats/animation-count.js +0 -10
  395. package/dist/node_modules/motion-dom/dist/es/stats/animation-count.js.map +0 -1
  396. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +0 -9
  397. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js.map +0 -1
  398. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -14
  399. package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +0 -1
  400. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -35
  401. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +0 -1
  402. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -9
  403. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +0 -1
  404. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -9
  405. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +0 -1
  406. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -9
  407. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +0 -1
  408. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -32
  409. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +0 -1
  410. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -54
  411. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +0 -1
  412. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -8
  413. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +0 -1
  414. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -10
  415. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +0 -1
  416. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -6
  417. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +0 -1
  418. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -9
  419. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +0 -1
  420. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -16
  421. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +0 -1
  422. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -6
  423. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +0 -1
  424. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -14
  425. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +0 -1
  426. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -11
  427. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +0 -1
  428. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -7
  429. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +0 -1
  430. package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -94
  431. package/dist/node_modules/motion-dom/dist/es/value/index.js.map +0 -1
  432. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -9
  433. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +0 -1
  434. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -21
  435. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +0 -1
  436. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -23
  437. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +0 -1
  438. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -14
  439. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +0 -1
  440. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -17
  441. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +0 -1
  442. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -17
  443. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +0 -1
  444. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -18
  445. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +0 -1
  446. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -28
  447. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +0 -1
  448. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -54
  449. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +0 -1
  450. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +0 -16
  451. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +0 -1
  452. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -18
  453. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +0 -1
  454. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -10
  455. package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +0 -1
  456. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -26
  457. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +0 -1
  458. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -66
  459. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +0 -1
  460. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -33
  461. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +0 -1
  462. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -17
  463. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +0 -1
  464. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -14
  465. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +0 -1
  466. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -6
  467. package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +0 -1
  468. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -14
  469. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +0 -1
  470. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -6
  471. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +0 -1
  472. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -14
  473. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +0 -1
  474. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -6
  475. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +0 -1
  476. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -6
  477. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +0 -1
  478. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -8
  479. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +0 -1
  480. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -6
  481. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +0 -1
  482. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -6
  483. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +0 -1
  484. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -6
  485. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +0 -1
  486. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -9
  487. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +0 -1
  488. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -15
  489. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +0 -1
  490. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -9
  491. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +0 -1
  492. package/dist/node_modules/motion-utils/dist/es/array.js +0 -12
  493. package/dist/node_modules/motion-utils/dist/es/array.js.map +0 -1
  494. package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -6
  495. package/dist/node_modules/motion-utils/dist/es/clamp.js.map +0 -1
  496. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -7
  497. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +0 -1
  498. package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -9
  499. package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +0 -1
  500. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -8
  501. package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +0 -1
  502. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -19
  503. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +0 -1
  504. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -7
  505. package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +0 -1
  506. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -6
  507. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +0 -1
  508. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -6
  509. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +0 -1
  510. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -6
  511. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +0 -1
  512. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -6
  513. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +0 -1
  514. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -33
  515. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +0 -1
  516. package/dist/node_modules/motion-utils/dist/es/errors.js +0 -12
  517. package/dist/node_modules/motion-utils/dist/es/errors.js.map +0 -1
  518. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -8
  519. package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +0 -1
  520. package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -6
  521. package/dist/node_modules/motion-utils/dist/es/global-config.js.map +0 -1
  522. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -6
  523. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +0 -1
  524. package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -8
  525. package/dist/node_modules/motion-utils/dist/es/is-object.js.map +0 -1
  526. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -6
  527. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +0 -1
  528. package/dist/node_modules/motion-utils/dist/es/memo.js +0 -10
  529. package/dist/node_modules/motion-utils/dist/es/memo.js.map +0 -1
  530. package/dist/node_modules/motion-utils/dist/es/noop.js +0 -6
  531. package/dist/node_modules/motion-utils/dist/es/noop.js.map +0 -1
  532. package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -6
  533. package/dist/node_modules/motion-utils/dist/es/pipe.js.map +0 -1
  534. package/dist/node_modules/motion-utils/dist/es/progress.js +0 -9
  535. package/dist/node_modules/motion-utils/dist/es/progress.js.map +0 -1
  536. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -28
  537. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +0 -1
  538. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -6
  539. package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +0 -1
  540. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -8
  541. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +0 -1
  542. package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -10
  543. package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +0 -1
@@ -1 +0,0 @@
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"}
@@ -1,53 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,17 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,15 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,63 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,11 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,15 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,48 +0,0 @@
1
- import { Feature as e } from "../../../../../../motion-dom/dist/es/render/Feature.js";
2
- import { observeIntersection as t } from "./observers.js";
3
- //#region node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
4
- var n = {
5
- some: 0,
6
- all: 1
7
- }, r = class extends e {
8
- constructor() {
9
- super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
10
- }
11
- startObserver() {
12
- this.stopObserver?.();
13
- let { viewport: e = {} } = this.node.getProps(), { root: r, margin: i, amount: a = "some", once: o } = e, s = {
14
- root: r ? r.current : void 0,
15
- rootMargin: i,
16
- threshold: typeof a == "number" ? a : n[a]
17
- };
18
- this.stopObserver = t(this.node.current, s, (e) => {
19
- let { isIntersecting: t } = e;
20
- if (this.isInView === t || (this.isInView = t, o && !t && this.hasEnteredView)) return;
21
- t && (this.hasEnteredView = !0), this.node.animationState && this.node.animationState.setActive("whileInView", t);
22
- let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), i = t ? n : r;
23
- i && i(e);
24
- });
25
- }
26
- mount() {
27
- this.startObserver();
28
- }
29
- update() {
30
- if (typeof IntersectionObserver > "u") return;
31
- let { props: e, prevProps: t } = this.node;
32
- [
33
- "amount",
34
- "margin",
35
- "root"
36
- ].some(i(e, t)) && this.startObserver();
37
- }
38
- unmount() {
39
- this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
40
- }
41
- };
42
- function i({ viewport: e = {} }, { viewport: t = {} } = {}) {
43
- return (n) => e[n] !== t[n];
44
- }
45
- //#endregion
46
- export { r as InViewFeature };
47
-
48
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs"],"sourcesContent":["import { Feature } from 'motion-dom';\nimport { observeIntersection } from './observers.mjs';\n\nconst thresholdNames = {\n some: 0,\n all: 1,\n};\nclass InViewFeature extends Feature {\n constructor() {\n super(...arguments);\n this.hasEnteredView = false;\n this.isInView = false;\n }\n startObserver() {\n this.stopObserver?.();\n const { viewport = {} } = this.node.getProps();\n const { root, margin: rootMargin, amount = \"some\", once } = viewport;\n const options = {\n root: root ? root.current : undefined,\n rootMargin,\n threshold: typeof amount === \"number\" ? amount : thresholdNames[amount],\n };\n const onIntersectionUpdate = (entry) => {\n const { isIntersecting } = entry;\n /**\n * If there's been no change in the viewport state, early return.\n */\n if (this.isInView === isIntersecting)\n return;\n this.isInView = isIntersecting;\n /**\n * Handle hasEnteredView. If this is only meant to run once, and\n * element isn't visible, early return. Otherwise set hasEnteredView to true.\n */\n if (once && !isIntersecting && this.hasEnteredView) {\n return;\n }\n else if (isIntersecting) {\n this.hasEnteredView = true;\n }\n if (this.node.animationState) {\n this.node.animationState.setActive(\"whileInView\", isIntersecting);\n }\n /**\n * Use the latest committed props rather than the ones in scope\n * when this observer is created\n */\n const { onViewportEnter, onViewportLeave } = this.node.getProps();\n const callback = isIntersecting ? onViewportEnter : onViewportLeave;\n callback && callback(entry);\n };\n this.stopObserver = observeIntersection(this.node.current, options, onIntersectionUpdate);\n }\n mount() {\n this.startObserver();\n }\n update() {\n if (typeof IntersectionObserver === \"undefined\")\n return;\n const { props, prevProps } = this.node;\n const hasOptionsChanged = [\"amount\", \"margin\", \"root\"].some(hasViewportOptionChanged(props, prevProps));\n if (hasOptionsChanged) {\n this.startObserver();\n }\n }\n unmount() {\n this.stopObserver?.();\n this.hasEnteredView = false;\n this.isInView = false;\n }\n}\nfunction hasViewportOptionChanged({ viewport = {} }, { viewport: prevViewport = {} } = {}) {\n return (name) => viewport[name] !== prevViewport[name];\n}\n\nexport { InViewFeature };\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAM,IAAiB;CACnB,MAAM;CACN,KAAK;CACR,EACK,IAAN,cAA4B,EAAQ;CAChC,cAAc;AAGV,EAFA,MAAM,GAAG,UAAU,EACnB,KAAK,iBAAiB,IACtB,KAAK,WAAW;;CAEpB,gBAAgB;AACZ,OAAK,gBAAgB;EACrB,IAAM,EAAE,cAAW,EAAE,KAAK,KAAK,KAAK,UAAU,EACxC,EAAE,SAAM,QAAQ,GAAY,YAAS,QAAQ,YAAS,GACtD,IAAU;GACZ,MAAM,IAAO,EAAK,UAAU,KAAA;GAC5B;GACA,WAAW,OAAO,KAAW,WAAW,IAAS,EAAe;GACnE;AA8BD,OAAK,eAAe,EAAoB,KAAK,KAAK,SAAS,IA7B7B,MAAU;GACpC,IAAM,EAAE,sBAAmB;AAW3B,OAPI,KAAK,aAAa,MAEtB,KAAK,WAAW,GAKZ,KAAQ,CAAC,KAAkB,KAAK,gBAChC;AAKJ,GAHS,MACL,KAAK,iBAAiB,KAEtB,KAAK,KAAK,kBACV,KAAK,KAAK,eAAe,UAAU,eAAe,EAAe;GAMrE,IAAM,EAAE,oBAAiB,uBAAoB,KAAK,KAAK,UAAU,EAC3D,IAAW,IAAiB,IAAkB;AACpD,QAAY,EAAS,EAAM;IAE0D;;CAE7F,QAAQ;AACJ,OAAK,eAAe;;CAExB,SAAS;AACL,MAAI,OAAO,uBAAyB,IAChC;EACJ,IAAM,EAAE,UAAO,iBAAc,KAAK;AAElC,EAD0B;GAAC;GAAU;GAAU;GAAO,CAAC,KAAK,EAAyB,GAAO,EAAU,CAAC,IAEnG,KAAK,eAAe;;CAG5B,UAAU;AAGN,EAFA,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,IACtB,KAAK,WAAW;;;AAGxB,SAAS,EAAyB,EAAE,cAAW,EAAE,IAAI,EAAE,UAAU,IAAe,EAAE,KAAK,EAAE,EAAE;AACvF,SAAQ,MAAS,EAAS,OAAU,EAAa"}
@@ -1,26 +0,0 @@
1
- //#region node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs
2
- var e = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap(), n = (t) => {
3
- let n = e.get(t.target);
4
- n && n(t);
5
- }, r = (e) => {
6
- e.forEach(n);
7
- };
8
- function i({ root: e, ...n }) {
9
- let i = e || document;
10
- t.has(i) || t.set(i, {});
11
- let a = t.get(i), o = JSON.stringify(n);
12
- return a[o] || (a[o] = new IntersectionObserver(r, {
13
- root: e,
14
- ...n
15
- })), a[o];
16
- }
17
- function a(t, n, r) {
18
- let a = i(n);
19
- return e.set(t, r), a.observe(t), () => {
20
- e.delete(t), a.unobserve(t);
21
- };
22
- }
23
- //#endregion
24
- export { a as observeIntersection };
25
-
26
- //# sourceMappingURL=observers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"observers.js","names":[],"sources":["../../../../../../../../node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs"],"sourcesContent":["/**\n * Map an IntersectionHandler callback to an element. We only ever make one handler for one\n * element, so even though these handlers might all be triggered by different\n * observers, we can keep them in the same map.\n */\nconst observerCallbacks = new WeakMap();\n/**\n * Multiple observers can be created for multiple element/document roots. Each with\n * different settings. So here we store dictionaries of observers to each root,\n * using serialised settings (threshold/margin) as lookup keys.\n */\nconst observers = new WeakMap();\nconst fireObserverCallback = (entry) => {\n const callback = observerCallbacks.get(entry.target);\n callback && callback(entry);\n};\nconst fireAllObserverCallbacks = (entries) => {\n entries.forEach(fireObserverCallback);\n};\nfunction initIntersectionObserver({ root, ...options }) {\n const lookupRoot = root || document;\n /**\n * If we don't have an observer lookup map for this root, create one.\n */\n if (!observers.has(lookupRoot)) {\n observers.set(lookupRoot, {});\n }\n const rootObservers = observers.get(lookupRoot);\n const key = JSON.stringify(options);\n /**\n * If we don't have an observer for this combination of root and settings,\n * create one.\n */\n if (!rootObservers[key]) {\n rootObservers[key] = new IntersectionObserver(fireAllObserverCallbacks, { root, ...options });\n }\n return rootObservers[key];\n}\nfunction observeIntersection(element, options, callback) {\n const rootInteresectionObserver = initIntersectionObserver(options);\n observerCallbacks.set(element, callback);\n rootInteresectionObserver.observe(element);\n return () => {\n observerCallbacks.delete(element);\n rootInteresectionObserver.unobserve(element);\n };\n}\n\nexport { observeIntersection };\n//# sourceMappingURL=observers.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAKA,IAAM,oBAAoB,IAAI,SAAS,EAMjC,oBAAY,IAAI,SAAS,EACzB,KAAwB,MAAU;CACpC,IAAM,IAAW,EAAkB,IAAI,EAAM,OAAO;AACpD,MAAY,EAAS,EAAM;GAEzB,KAA4B,MAAY;AAC1C,GAAQ,QAAQ,EAAqB;;AAEzC,SAAS,EAAyB,EAAE,SAAM,GAAG,KAAW;CACpD,IAAM,IAAa,KAAQ;AAI3B,CAAK,EAAU,IAAI,EAAW,IAC1B,EAAU,IAAI,GAAY,EAAE,CAAC;CAEjC,IAAM,IAAgB,EAAU,IAAI,EAAW,EACzC,IAAM,KAAK,UAAU,EAAQ;AAQnC,QAHK,EAAc,OACf,EAAc,KAAO,IAAI,qBAAqB,GAA0B;EAAE;EAAM,GAAG;EAAS,CAAC,GAE1F,EAAc;;AAEzB,SAAS,EAAoB,GAAS,GAAS,GAAU;CACrD,IAAM,IAA4B,EAAyB,EAAQ;AAGnE,QAFA,EAAkB,IAAI,GAAS,EAAS,EACxC,EAA0B,QAAQ,EAAQ,QAC7B;AAET,EADA,EAAkB,OAAO,EAAQ,EACjC,EAA0B,UAAU,EAAQ"}
@@ -1,72 +0,0 @@
1
- "use client";
2
- import { LayoutGroupContext as e } from "../context/LayoutGroupContext.js";
3
- import { invariant as t, warning as n } from "../../../../motion-utils/dist/es/errors.js";
4
- import { MotionConfigContext as r } from "../context/MotionConfigContext.js";
5
- import { LazyContext as i } from "../context/LazyContext.js";
6
- import { getInitializedFeatureDefinitions as a } from "./features/definitions.js";
7
- import { loadFeatures as o } from "./features/load-features.js";
8
- import { MotionContext as s } from "../context/MotionContext/index.js";
9
- import { useCreateMotionContext as c } from "../context/MotionContext/create.js";
10
- import { isSVGComponent as l } from "../render/dom/utils/is-svg-component.js";
11
- import { useRender as u } from "../render/dom/use-render.js";
12
- import { useHTMLVisualState as d } from "../render/html/use-html-visual-state.js";
13
- import { useSVGVisualState as f } from "../render/svg/use-svg-visual-state.js";
14
- import { motionComponentSymbol as p } from "./utils/symbol.js";
15
- import { useMotionRef as m } from "./utils/use-motion-ref.js";
16
- import { useVisualElement as h } from "./utils/use-visual-element.js";
17
- import { forwardRef as g, useContext as _ } from "react";
18
- import { jsx as v, jsxs as y } from "react/jsx-runtime";
19
- //#region node_modules/framer-motion/dist/es/motion/index.mjs
20
- function b(e, { forwardMotionProps: t = !1, type: n } = {}, i, a) {
21
- i && o(i);
22
- let b = n ? n === "svg" : l(e), w = b ? f : d;
23
- function T(n, o) {
24
- let l, d = {
25
- ..._(r),
26
- ...n,
27
- layoutId: x(n)
28
- }, { isStatic: f } = d, p = c(n), g = w(n, f);
29
- if (!f && typeof window < "u") {
30
- S(d, i);
31
- let t = C(d);
32
- l = t.MeasureLayout, p.visualElement = h(e, g, d, a, t.ProjectionNode, b);
33
- }
34
- return y(s.Provider, {
35
- value: p,
36
- children: [l && p.visualElement ? v(l, {
37
- visualElement: p.visualElement,
38
- ...d
39
- }) : null, u(e, n, m(g, p.visualElement, o), g, f, t, b)]
40
- });
41
- }
42
- T.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
43
- let E = g(T);
44
- return E[p] = e, E;
45
- }
46
- function x({ layoutId: t }) {
47
- let n = _(e).id;
48
- return n && t !== void 0 ? n + "-" + t : t;
49
- }
50
- function S(e, r) {
51
- let a = _(i).strict;
52
- if (process.env.NODE_ENV !== "production" && r && a) {
53
- let r = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
54
- e.ignoreStrict ? n(!1, r, "lazy-strict-mode") : t(!1, r, "lazy-strict-mode");
55
- }
56
- }
57
- function C(e) {
58
- let { drag: t, layout: n } = a();
59
- if (!t && !n) return {};
60
- let r = {
61
- ...t,
62
- ...n
63
- };
64
- return {
65
- MeasureLayout: t?.isEnabled(e) || n?.isEnabled(e) ? r.MeasureLayout : void 0,
66
- ProjectionNode: r.ProjectionNode
67
- };
68
- }
69
- //#endregion
70
- export { b as createMotionComponent };
71
-
72
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../../../node_modules/framer-motion/dist/es/motion/index.mjs"],"sourcesContent":["\"use client\";\nimport { jsxs, jsx } from 'react/jsx-runtime';\nimport { warning, invariant } from 'motion-utils';\nimport { forwardRef, useContext } from 'react';\nimport { LayoutGroupContext } from '../context/LayoutGroupContext.mjs';\nimport { LazyContext } from '../context/LazyContext.mjs';\nimport { MotionConfigContext } from '../context/MotionConfigContext.mjs';\nimport { MotionContext } from '../context/MotionContext/index.mjs';\nimport { useCreateMotionContext } from '../context/MotionContext/create.mjs';\nimport { useRender } from '../render/dom/use-render.mjs';\nimport { isSVGComponent } from '../render/dom/utils/is-svg-component.mjs';\nimport { useHTMLVisualState } from '../render/html/use-html-visual-state.mjs';\nimport { useSVGVisualState } from '../render/svg/use-svg-visual-state.mjs';\nimport { getInitializedFeatureDefinitions } from './features/definitions.mjs';\nimport { loadFeatures } from './features/load-features.mjs';\nimport { motionComponentSymbol } from './utils/symbol.mjs';\nimport { useMotionRef } from './utils/use-motion-ref.mjs';\nimport { useVisualElement } from './utils/use-visual-element.mjs';\n\n/**\n * Create a `motion` component.\n *\n * This function accepts a Component argument, which can be either a string (ie \"div\"\n * for `motion.div`), or an actual React component.\n *\n * Alongside this is a config option which provides a way of rendering the provided\n * component \"offline\", or outside the React render cycle.\n */\nfunction createMotionComponent(Component, { forwardMotionProps = false, type } = {}, preloadedFeatures, createVisualElement) {\n preloadedFeatures && loadFeatures(preloadedFeatures);\n /**\n * Determine whether to use SVG or HTML rendering based on:\n * 1. Explicit `type` option (highest priority)\n * 2. Auto-detection via `isSVGComponent`\n */\n const isSVG = type ? type === \"svg\" : isSVGComponent(Component);\n const useVisualState = isSVG ? useSVGVisualState : useHTMLVisualState;\n function MotionDOMComponent(props, externalRef) {\n /**\n * If we need to measure the element we load this functionality in a\n * separate class component in order to gain access to getSnapshotBeforeUpdate.\n */\n let MeasureLayout;\n const configAndProps = {\n ...useContext(MotionConfigContext),\n ...props,\n layoutId: useLayoutId(props),\n };\n const { isStatic } = configAndProps;\n const context = useCreateMotionContext(props);\n const visualState = useVisualState(props, isStatic);\n if (!isStatic && typeof window !== \"undefined\") {\n useStrictMode(configAndProps, preloadedFeatures);\n const layoutProjection = getProjectionFunctionality(configAndProps);\n MeasureLayout = layoutProjection.MeasureLayout;\n /**\n * Create a VisualElement for this component. A VisualElement provides a common\n * interface to renderer-specific APIs (ie DOM/Three.js etc) as well as\n * providing a way of rendering to these APIs outside of the React render loop\n * for more performant animations and interactions\n */\n context.visualElement = useVisualElement(Component, visualState, configAndProps, createVisualElement, layoutProjection.ProjectionNode, isSVG);\n }\n /**\n * The mount order and hierarchy is specific to ensure our element ref\n * is hydrated by the time features fire their effects.\n */\n return (jsxs(MotionContext.Provider, { value: context, children: [MeasureLayout && context.visualElement ? (jsx(MeasureLayout, { visualElement: context.visualElement, ...configAndProps })) : null, useRender(Component, props, useMotionRef(visualState, context.visualElement, externalRef), visualState, isStatic, forwardMotionProps, isSVG)] }));\n }\n MotionDOMComponent.displayName = `motion.${typeof Component === \"string\"\n ? Component\n : `create(${Component.displayName ?? Component.name ?? \"\"})`}`;\n const ForwardRefMotionComponent = forwardRef(MotionDOMComponent);\n ForwardRefMotionComponent[motionComponentSymbol] = Component;\n return ForwardRefMotionComponent;\n}\nfunction useLayoutId({ layoutId }) {\n const layoutGroupId = useContext(LayoutGroupContext).id;\n return layoutGroupId && layoutId !== undefined\n ? layoutGroupId + \"-\" + layoutId\n : layoutId;\n}\nfunction useStrictMode(configAndProps, preloadedFeatures) {\n const isStrict = useContext(LazyContext).strict;\n /**\n * If we're in development mode, check to make sure we're not rendering a motion component\n * as a child of LazyMotion, as this will break the file-size benefits of using it.\n */\n if (process.env.NODE_ENV !== \"production\" &&\n preloadedFeatures &&\n isStrict) {\n const strictMessage = \"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.\";\n configAndProps.ignoreStrict\n ? warning(false, strictMessage, \"lazy-strict-mode\")\n : invariant(false, strictMessage, \"lazy-strict-mode\");\n }\n}\nfunction getProjectionFunctionality(props) {\n const featureDefinitions = getInitializedFeatureDefinitions();\n const { drag, layout } = featureDefinitions;\n if (!drag && !layout)\n return {};\n const combined = { ...drag, ...layout };\n return {\n MeasureLayout: drag?.isEnabled(props) || layout?.isEnabled(props)\n ? combined.MeasureLayout\n : undefined,\n ProjectionNode: combined.ProjectionNode,\n };\n}\n\nexport { createMotionComponent };\n//# sourceMappingURL=index.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;AA4BA,SAAS,EAAsB,GAAW,EAAE,wBAAqB,IAAO,YAAS,EAAE,EAAE,GAAmB,GAAqB;AACzH,MAAqB,EAAa,EAAkB;CAMpD,IAAM,IAAQ,IAAO,MAAS,QAAQ,EAAe,EAAU,EACzD,IAAiB,IAAQ,IAAoB;CACnD,SAAS,EAAmB,GAAO,GAAa;EAK5C,IAAI,GACE,IAAiB;GACnB,GAAG,EAAW,EAAoB;GAClC,GAAG;GACH,UAAU,EAAY,EAAM;GAC/B,EACK,EAAE,gBAAa,GACf,IAAU,EAAuB,EAAM,EACvC,IAAc,EAAe,GAAO,EAAS;AACnD,MAAI,CAAC,KAAY,OAAO,SAAW,KAAa;AAC5C,KAAc,GAAgB,EAAkB;GAChD,IAAM,IAAmB,EAA2B,EAAe;AAQnE,GAPA,IAAgB,EAAiB,eAOjC,EAAQ,gBAAgB,EAAiB,GAAW,GAAa,GAAgB,GAAqB,EAAiB,gBAAgB,EAAM;;AAMjJ,SAAQ,EAAK,EAAc,UAAU;GAAE,OAAO;GAAS,UAAU,CAAC,KAAiB,EAAQ,gBAAiB,EAAI,GAAe;IAAE,eAAe,EAAQ;IAAe,GAAG;IAAgB,CAAC,GAAI,MAAM,EAAU,GAAW,GAAO,EAAa,GAAa,EAAQ,eAAe,EAAY,EAAE,GAAa,GAAU,GAAoB,EAAM,CAAC;GAAE,CAAC;;AAEzV,GAAmB,cAAc,UAAU,OAAO,KAAc,WAC1D,IACA,UAAU,EAAU,eAAe,EAAU,QAAQ,GAAG;CAC9D,IAAM,IAA4B,EAAW,EAAmB;AAEhE,QADA,EAA0B,KAAyB,GAC5C;;AAEX,SAAS,EAAY,EAAE,eAAY;CAC/B,IAAM,IAAgB,EAAW,EAAmB,CAAC;AACrD,QAAO,KAAiB,MAAa,KAAA,IAC/B,IAAgB,MAAM,IACtB;;AAEV,SAAS,EAAc,GAAgB,GAAmB;CACtD,IAAM,IAAW,EAAW,EAAY,CAAC;AAKzC,KAAA,QAAA,IAAA,aAA6B,gBACzB,KACA,GAAU;EACV,IAAM,IAAgB;AACtB,IAAe,eACT,EAAQ,IAAO,GAAe,mBAAmB,GACjD,EAAU,IAAO,GAAe,mBAAmB;;;AAGjE,SAAS,EAA2B,GAAO;CAEvC,IAAM,EAAE,SAAM,cADa,GAAkC;AAE7D,KAAI,CAAC,KAAQ,CAAC,EACV,QAAO,EAAE;CACb,IAAM,IAAW;EAAE,GAAG;EAAM,GAAG;EAAQ;AACvC,QAAO;EACH,eAAe,GAAM,UAAU,EAAM,IAAI,GAAQ,UAAU,EAAM,GAC3D,EAAS,gBACT,KAAA;EACN,gBAAgB,EAAS;EAC5B"}
@@ -1,6 +0,0 @@
1
- //#region node_modules/framer-motion/dist/es/motion/utils/symbol.mjs
2
- var e = Symbol.for("motionComponentSymbol");
3
- //#endregion
4
- export { e as motionComponentSymbol };
5
-
6
- //# sourceMappingURL=symbol.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"symbol.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/symbol.mjs"],"sourcesContent":["const motionComponentSymbol = Symbol.for(\"motionComponentSymbol\");\n\nexport { motionComponentSymbol };\n//# sourceMappingURL=symbol.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAwB,OAAO,IAAI,wBAAwB"}
@@ -1,24 +0,0 @@
1
- "use client";
2
- import { useCallback as e, useInsertionEffect as t, useRef as n } from "react";
3
- //#region node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
4
- function r(r, i, a) {
5
- let o = n(a);
6
- t(() => {
7
- o.current = a;
8
- });
9
- let s = n(null);
10
- return e((e) => {
11
- e && r.onMount?.(e);
12
- let t = o.current;
13
- if (typeof t == "function") if (e) {
14
- let n = t(e);
15
- typeof n == "function" && (s.current = n);
16
- } else s.current ? (s.current(), s.current = null) : t(e);
17
- else t && (t.current = e);
18
- i && (e ? i.mount(e) : i.unmount());
19
- }, [i]);
20
- }
21
- //#endregion
22
- export { r as useMotionRef };
23
-
24
- //# sourceMappingURL=use-motion-ref.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-motion-ref.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs"],"sourcesContent":["\"use client\";\nimport { useRef, useInsertionEffect, useCallback } from 'react';\n\n/**\n * Creates a ref function that, when called, hydrates the provided\n * external ref and VisualElement.\n */\nfunction useMotionRef(visualState, visualElement, externalRef) {\n /**\n * Store externalRef in a ref to avoid including it in the useCallback\n * dependency array. Including externalRef in dependencies causes issues\n * with libraries like Radix UI that create new callback refs on each render\n * when using asChild - this would cause the callback to be recreated,\n * triggering element remounts and breaking AnimatePresence exit animations.\n */\n const externalRefContainer = useRef(externalRef);\n useInsertionEffect(() => {\n externalRefContainer.current = externalRef;\n });\n // Store cleanup function returned by callback refs (React 19 feature)\n const refCleanup = useRef(null);\n return useCallback((instance) => {\n if (instance) {\n visualState.onMount?.(instance);\n }\n const ref = externalRefContainer.current;\n if (typeof ref === \"function\") {\n if (instance) {\n const cleanup = ref(instance);\n if (typeof cleanup === \"function\") {\n refCleanup.current = cleanup;\n }\n }\n else if (refCleanup.current) {\n refCleanup.current();\n refCleanup.current = null;\n }\n else {\n ref(instance);\n }\n }\n else if (ref) {\n ref.current = instance;\n }\n if (visualElement) {\n instance ? visualElement.mount(instance) : visualElement.unmount();\n }\n }, [visualElement]);\n}\n\nexport { useMotionRef };\n//# sourceMappingURL=use-motion-ref.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAOA,SAAS,EAAa,GAAa,GAAe,GAAa;CAQ3D,IAAM,IAAuB,EAAO,EAAY;AAChD,SAAyB;AACrB,IAAqB,UAAU;GACjC;CAEF,IAAM,IAAa,EAAO,KAAK;AAC/B,QAAO,GAAa,MAAa;AAC7B,EAAI,KACA,EAAY,UAAU,EAAS;EAEnC,IAAM,IAAM,EAAqB;AACjC,MAAI,OAAO,KAAQ,WACf,KAAI,GAAU;GACV,IAAM,IAAU,EAAI,EAAS;AAC7B,GAAI,OAAO,KAAY,eACnB,EAAW,UAAU;SAGpB,EAAW,WAChB,EAAW,SAAS,EACpB,EAAW,UAAU,QAGrB,EAAI,EAAS;OAGZ,MACL,EAAI,UAAU;AAElB,EAAI,MACA,IAAW,EAAc,MAAM,EAAS,GAAG,EAAc,SAAS;IAEvE,CAAC,EAAc,CAAC"}
@@ -1,60 +0,0 @@
1
- "use client";
2
- import { useIsomorphicLayoutEffect as e } from "../../utils/use-isomorphic-effect.js";
3
- import { PresenceContext as t } from "../../context/PresenceContext.js";
4
- import { optimizedAppearDataAttribute as n } from "../../../../../motion-dom/dist/es/animation/optimized-appear/data-id.js";
5
- import { MotionConfigContext as r } from "../../context/MotionConfigContext.js";
6
- import { LazyContext as i } from "../../context/LazyContext.js";
7
- import { MotionContext as a } from "../../context/MotionContext/index.js";
8
- import { SwitchLayoutGroupContext as o } from "../../context/SwitchLayoutGroupContext.js";
9
- import { isRefObject as s } from "../../utils/is-ref-object.js";
10
- import { useContext as c, useEffect as l, useInsertionEffect as u, useRef as d } from "react";
11
- //#region node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
12
- function f(s, f, m, h, g, _) {
13
- let { visualElement: v } = c(a), y = c(i), b = c(t), x = c(r), S = x.reducedMotion, C = x.skipAnimations, w = d(null), T = d(!1);
14
- h ||= y.renderer, !w.current && h && (w.current = h(s, {
15
- visualState: f,
16
- parent: v,
17
- props: m,
18
- presenceContext: b,
19
- blockInitialAnimation: b ? b.initial === !1 : !1,
20
- reducedMotionConfig: S,
21
- skipAnimations: C,
22
- isSVG: _
23
- }), T.current && w.current && (w.current.manuallyAnimateOnMount = !0));
24
- let E = w.current, D = c(o);
25
- E && !E.projection && g && (E.type === "html" || E.type === "svg") && p(w.current, m, g, D);
26
- let O = d(!1);
27
- u(() => {
28
- E && O.current && E.update(m, b);
29
- });
30
- let k = m[n], A = d(!!k && typeof window < "u" && !window.MotionHandoffIsComplete?.(k) && window.MotionHasOptimisedAnimation?.(k));
31
- return e(() => {
32
- T.current = !0, E && (O.current = !0, window.MotionIsMounted = !0, E.updateFeatures(), E.scheduleRenderMicrotask(), A.current && E.animationState && E.animationState.animateChanges());
33
- }), l(() => {
34
- E && (!A.current && E.animationState && E.animationState.animateChanges(), A.current &&= (queueMicrotask(() => {
35
- window.MotionHandoffMarkAsComplete?.(k);
36
- }), !1), E.enteringChildren = void 0);
37
- }), E;
38
- }
39
- function p(e, t, n, r) {
40
- let { layoutId: i, layout: a, drag: o, dragConstraints: c, layoutScroll: l, layoutRoot: u, layoutAnchor: d, layoutCrossfade: f } = t;
41
- e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : m(e.parent)), e.projection.setOptions({
42
- layoutId: i,
43
- layout: a,
44
- alwaysMeasureLayout: !!o || c && s(c),
45
- visualElement: e,
46
- animationType: typeof a == "string" ? a : "both",
47
- initialPromotionConfig: r,
48
- crossfade: f,
49
- layoutScroll: l,
50
- layoutRoot: u,
51
- layoutAnchor: d
52
- });
53
- }
54
- function m(e) {
55
- if (e) return e.options.allowProjection === !1 ? m(e.parent) : e.projection;
56
- }
57
- //#endregion
58
- export { f as useVisualElement };
59
-
60
- //# sourceMappingURL=use-visual-element.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-visual-element.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs"],"sourcesContent":["\"use client\";\nimport { optimizedAppearDataAttribute } from 'motion-dom';\nimport { useContext, useRef, useInsertionEffect, useEffect } from 'react';\nimport { LazyContext } from '../../context/LazyContext.mjs';\nimport { MotionConfigContext } from '../../context/MotionConfigContext.mjs';\nimport { MotionContext } from '../../context/MotionContext/index.mjs';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { SwitchLayoutGroupContext } from '../../context/SwitchLayoutGroupContext.mjs';\nimport { isRefObject } from '../../utils/is-ref-object.mjs';\nimport { useIsomorphicLayoutEffect } from '../../utils/use-isomorphic-effect.mjs';\n\nfunction useVisualElement(Component, visualState, props, createVisualElement, ProjectionNodeConstructor, isSVG) {\n const { visualElement: parent } = useContext(MotionContext);\n const lazyContext = useContext(LazyContext);\n const presenceContext = useContext(PresenceContext);\n const motionConfig = useContext(MotionConfigContext);\n const reducedMotionConfig = motionConfig.reducedMotion;\n const skipAnimations = motionConfig.skipAnimations;\n const visualElementRef = useRef(null);\n /**\n * Track whether the component has been through React's commit phase.\n * Used to detect when LazyMotion features load after the component has mounted.\n */\n const hasMountedOnce = useRef(false);\n /**\n * If we haven't preloaded a renderer, check to see if we have one lazy-loaded\n */\n createVisualElement =\n createVisualElement ||\n lazyContext.renderer;\n if (!visualElementRef.current && createVisualElement) {\n visualElementRef.current = createVisualElement(Component, {\n visualState,\n parent,\n props,\n presenceContext,\n blockInitialAnimation: presenceContext\n ? presenceContext.initial === false\n : false,\n reducedMotionConfig,\n skipAnimations,\n isSVG,\n });\n /**\n * If the component has already mounted before features loaded (e.g. via\n * LazyMotion with async feature loading), we need to force the initial\n * animation to run. Otherwise state changes that occurred before features\n * loaded will be lost and the element will snap to its final state.\n */\n if (hasMountedOnce.current && visualElementRef.current) {\n visualElementRef.current.manuallyAnimateOnMount = true;\n }\n }\n const visualElement = visualElementRef.current;\n /**\n * Load Motion gesture and animation features. These are rendered as renderless\n * components so each feature can optionally make use of React lifecycle methods.\n */\n const initialLayoutGroupConfig = useContext(SwitchLayoutGroupContext);\n if (visualElement &&\n !visualElement.projection &&\n ProjectionNodeConstructor &&\n (visualElement.type === \"html\" || visualElement.type === \"svg\")) {\n createProjectionNode(visualElementRef.current, props, ProjectionNodeConstructor, initialLayoutGroupConfig);\n }\n const isMounted = useRef(false);\n useInsertionEffect(() => {\n /**\n * Check the component has already mounted before calling\n * `update` unnecessarily. This ensures we skip the initial update.\n */\n if (visualElement && isMounted.current) {\n visualElement.update(props, presenceContext);\n }\n });\n /**\n * Cache this value as we want to know whether HandoffAppearAnimations\n * was present on initial render - it will be deleted after this.\n */\n const optimisedAppearId = props[optimizedAppearDataAttribute];\n const wantsHandoff = useRef(Boolean(optimisedAppearId) &&\n typeof window !== \"undefined\" &&\n !window.MotionHandoffIsComplete?.(optimisedAppearId) &&\n window.MotionHasOptimisedAnimation?.(optimisedAppearId));\n useIsomorphicLayoutEffect(() => {\n /**\n * Track that this component has mounted. This is used to detect when\n * LazyMotion features load after the component has already committed.\n */\n hasMountedOnce.current = true;\n if (!visualElement)\n return;\n isMounted.current = true;\n window.MotionIsMounted = true;\n visualElement.updateFeatures();\n visualElement.scheduleRenderMicrotask();\n /**\n * Ideally this function would always run in a useEffect.\n *\n * However, if we have optimised appear animations to handoff from,\n * it needs to happen synchronously to ensure there's no flash of\n * incorrect styles in the event of a hydration error.\n *\n * So if we detect a situtation where optimised appear animations\n * are running, we use useLayoutEffect to trigger animations.\n */\n if (wantsHandoff.current && visualElement.animationState) {\n visualElement.animationState.animateChanges();\n }\n });\n useEffect(() => {\n if (!visualElement)\n return;\n if (!wantsHandoff.current && visualElement.animationState) {\n visualElement.animationState.animateChanges();\n }\n if (wantsHandoff.current) {\n // This ensures all future calls to animateChanges() in this component will run in useEffect\n queueMicrotask(() => {\n window.MotionHandoffMarkAsComplete?.(optimisedAppearId);\n });\n wantsHandoff.current = false;\n }\n /**\n * Now we've finished triggering animations for this element we\n * can wipe the enteringChildren set for the next render.\n */\n visualElement.enteringChildren = undefined;\n });\n return visualElement;\n}\nfunction createProjectionNode(visualElement, props, ProjectionNodeConstructor, initialPromotionConfig) {\n const { layoutId, layout, drag, dragConstraints, layoutScroll, layoutRoot, layoutAnchor, layoutCrossfade, } = props;\n visualElement.projection = new ProjectionNodeConstructor(visualElement.latestValues, props[\"data-framer-portal-id\"]\n ? undefined\n : getClosestProjectingNode(visualElement.parent));\n visualElement.projection.setOptions({\n layoutId,\n layout,\n alwaysMeasureLayout: Boolean(drag) || (dragConstraints && isRefObject(dragConstraints)),\n visualElement,\n /**\n * TODO: Update options in an effect. This could be tricky as it'll be too late\n * to update by the time layout animations run.\n * We also need to fix this safeToRemove by linking it up to the one returned by usePresence,\n * ensuring it gets called if there's no potential layout animations.\n *\n */\n animationType: typeof layout === \"string\" ? layout : \"both\",\n initialPromotionConfig,\n crossfade: layoutCrossfade,\n layoutScroll,\n layoutRoot,\n layoutAnchor,\n });\n}\nfunction getClosestProjectingNode(visualElement) {\n if (!visualElement)\n return undefined;\n return visualElement.options.allowProjection !== false\n ? visualElement.projection\n : getClosestProjectingNode(visualElement.parent);\n}\n\nexport { useVisualElement };\n//# sourceMappingURL=use-visual-element.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;AAWA,SAAS,EAAiB,GAAW,GAAa,GAAO,GAAqB,GAA2B,GAAO;CAC5G,IAAM,EAAE,eAAe,MAAW,EAAW,EAAc,EACrD,IAAc,EAAW,EAAY,EACrC,IAAkB,EAAW,EAAgB,EAC7C,IAAe,EAAW,EAAoB,EAC9C,IAAsB,EAAa,eACnC,IAAiB,EAAa,gBAC9B,IAAmB,EAAO,KAAK,EAK/B,IAAiB,EAAO,GAAM;AAOpC,CAHA,MAEQ,EAAY,UAChB,CAAC,EAAiB,WAAW,MAC7B,EAAiB,UAAU,EAAoB,GAAW;EACtD;EACA;EACA;EACA;EACA,uBAAuB,IACjB,EAAgB,YAAY,KAC5B;EACN;EACA;EACA;EACH,CAAC,EAOE,EAAe,WAAW,EAAiB,YAC3C,EAAiB,QAAQ,yBAAyB;CAG1D,IAAM,IAAgB,EAAiB,SAKjC,IAA2B,EAAW,EAAyB;AACrE,CAAI,KACA,CAAC,EAAc,cACf,MACC,EAAc,SAAS,UAAU,EAAc,SAAS,UACzD,EAAqB,EAAiB,SAAS,GAAO,GAA2B,EAAyB;CAE9G,IAAM,IAAY,EAAO,GAAM;AAC/B,SAAyB;AAKrB,EAAI,KAAiB,EAAU,WAC3B,EAAc,OAAO,GAAO,EAAgB;GAElD;CAKF,IAAM,IAAoB,EAAM,IAC1B,IAAe,EAAO,EAAQ,KAChC,OAAO,SAAW,OAClB,CAAC,OAAO,0BAA0B,EAAkB,IACpD,OAAO,8BAA8B,EAAkB,CAAC;AA8C5D,QA7CA,QAAgC;AAK5B,IAAe,UAAU,IACpB,MAEL,EAAU,UAAU,IACpB,OAAO,kBAAkB,IACzB,EAAc,gBAAgB,EAC9B,EAAc,yBAAyB,EAWnC,EAAa,WAAW,EAAc,kBACtC,EAAc,eAAe,gBAAgB;GAEnD,EACF,QAAgB;AACP,QAED,CAAC,EAAa,WAAW,EAAc,kBACvC,EAAc,eAAe,gBAAgB,EAEjD,AAKI,EAAa,aAHb,qBAAqB;AACjB,UAAO,8BAA8B,EAAkB;IACzD,EACqB,KAM3B,EAAc,mBAAmB,KAAA;GACnC,EACK;;AAEX,SAAS,EAAqB,GAAe,GAAO,GAA2B,GAAwB;CACnG,IAAM,EAAE,aAAU,WAAQ,SAAM,oBAAiB,iBAAc,eAAY,iBAAc,uBAAqB;AAI9G,CAHA,EAAc,aAAa,IAAI,EAA0B,EAAc,cAAc,EAAM,2BACrF,KAAA,IACA,EAAyB,EAAc,OAAO,CAAC,EACrD,EAAc,WAAW,WAAW;EAChC;EACA;EACA,qBAAqB,EAAQ,KAAU,KAAmB,EAAY,EAAgB;EACtF;EAQA,eAAe,OAAO,KAAW,WAAW,IAAS;EACrD;EACA,WAAW;EACX;EACA;EACA;EACH,CAAC;;AAEN,SAAS,EAAyB,GAAe;AACxC,OAEL,QAAO,EAAc,QAAQ,oBAAoB,KAE3C,EAAyB,EAAc,OAAO,GAD9C,EAAc"}
@@ -1,52 +0,0 @@
1
- "use client";
2
- import { useConstant as e } from "../../utils/use-constant.js";
3
- import { PresenceContext as t } from "../../context/PresenceContext.js";
4
- import { resolveVariantFromProps as n } from "../../../../../motion-dom/dist/es/render/utils/resolve-variants.js";
5
- import { isAnimationControls as r } from "../../../../../motion-dom/dist/es/render/utils/is-animation-controls.js";
6
- import { isControllingVariants as i, isVariantNode as a } from "../../../../../motion-dom/dist/es/render/utils/is-controlling-variants.js";
7
- import { resolveMotionValue as o } from "../../../../../motion-dom/dist/es/value/utils/resolve-motion-value.js";
8
- import { MotionContext as s } from "../../context/MotionContext/index.js";
9
- import { useContext as c } from "react";
10
- //#region node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
11
- function l({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
12
- return {
13
- latestValues: u(n, r, i, e),
14
- renderState: t()
15
- };
16
- }
17
- function u(e, t, s, c) {
18
- let l = {}, u = c(e, {});
19
- for (let e in u) l[e] = o(u[e]);
20
- let { initial: d, animate: f } = e, p = i(e), m = a(e);
21
- t && m && !p && e.inherit !== !1 && (d === void 0 && (d = t.initial), f === void 0 && (f = t.animate));
22
- let h = s ? s.initial === !1 : !1;
23
- h ||= d === !1;
24
- let g = h ? f : d;
25
- if (g && typeof g != "boolean" && !r(g)) {
26
- let t = Array.isArray(g) ? g : [g];
27
- for (let r = 0; r < t.length; r++) {
28
- let i = n(e, t[r]);
29
- if (i) {
30
- let { transitionEnd: e, transition: t, ...n } = i;
31
- for (let e in n) {
32
- let t = n[e];
33
- if (Array.isArray(t)) {
34
- let e = h ? t.length - 1 : 0;
35
- t = t[e];
36
- }
37
- t !== null && (l[e] = t);
38
- }
39
- for (let t in e) l[t] = e[t];
40
- }
41
- }
42
- }
43
- return l;
44
- }
45
- var d = (n) => (r, i) => {
46
- let a = c(s), o = c(t), u = () => l(n, r, a, o);
47
- return i ? u() : e(u);
48
- };
49
- //#endregion
50
- export { d as makeUseVisualState };
51
-
52
- //# sourceMappingURL=use-visual-state.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-visual-state.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs"],"sourcesContent":["\"use client\";\nimport { resolveMotionValue, isControllingVariants, isVariantNode, isAnimationControls, resolveVariantFromProps } from 'motion-dom';\nimport { useContext } from 'react';\nimport { MotionContext } from '../../context/MotionContext/index.mjs';\nimport { PresenceContext } from '../../context/PresenceContext.mjs';\nimport { useConstant } from '../../utils/use-constant.mjs';\n\nfunction makeState({ scrapeMotionValuesFromProps, createRenderState, }, props, context, presenceContext) {\n const state = {\n latestValues: makeLatestValues(props, context, presenceContext, scrapeMotionValuesFromProps),\n renderState: createRenderState(),\n };\n return state;\n}\nfunction makeLatestValues(props, context, presenceContext, scrapeMotionValues) {\n const values = {};\n const motionValues = scrapeMotionValues(props, {});\n for (const key in motionValues) {\n values[key] = resolveMotionValue(motionValues[key]);\n }\n let { initial, animate } = props;\n const isControllingVariants$1 = isControllingVariants(props);\n const isVariantNode$1 = isVariantNode(props);\n if (context &&\n isVariantNode$1 &&\n !isControllingVariants$1 &&\n props.inherit !== false) {\n if (initial === undefined)\n initial = context.initial;\n if (animate === undefined)\n animate = context.animate;\n }\n let isInitialAnimationBlocked = presenceContext\n ? presenceContext.initial === false\n : false;\n isInitialAnimationBlocked = isInitialAnimationBlocked || initial === false;\n const variantToSet = isInitialAnimationBlocked ? animate : initial;\n if (variantToSet &&\n typeof variantToSet !== \"boolean\" &&\n !isAnimationControls(variantToSet)) {\n const list = Array.isArray(variantToSet) ? variantToSet : [variantToSet];\n for (let i = 0; i < list.length; i++) {\n const resolved = resolveVariantFromProps(props, list[i]);\n if (resolved) {\n const { transitionEnd, transition, ...target } = resolved;\n for (const key in target) {\n let valueTarget = target[key];\n if (Array.isArray(valueTarget)) {\n /**\n * Take final keyframe if the initial animation is blocked because\n * we want to initialise at the end of that blocked animation.\n */\n const index = isInitialAnimationBlocked\n ? valueTarget.length - 1\n : 0;\n valueTarget = valueTarget[index];\n }\n if (valueTarget !== null) {\n values[key] = valueTarget;\n }\n }\n for (const key in transitionEnd) {\n values[key] = transitionEnd[key];\n }\n }\n }\n }\n return values;\n}\nconst makeUseVisualState = (config) => (props, isStatic) => {\n const context = useContext(MotionContext);\n const presenceContext = useContext(PresenceContext);\n const make = () => makeState(config, props, context, presenceContext);\n return isStatic ? make() : useConstant(make);\n};\n\nexport { makeUseVisualState };\n//# sourceMappingURL=use-visual-state.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;AAOA,SAAS,EAAU,EAAE,gCAA6B,wBAAsB,GAAO,GAAS,GAAiB;AAKrG,QAJc;EACV,cAAc,EAAiB,GAAO,GAAS,GAAiB,EAA4B;EAC5F,aAAa,GAAmB;EACnC;;AAGL,SAAS,EAAiB,GAAO,GAAS,GAAiB,GAAoB;CAC3E,IAAM,IAAS,EAAE,EACX,IAAe,EAAmB,GAAO,EAAE,CAAC;AAClD,MAAK,IAAM,KAAO,EACd,GAAO,KAAO,EAAmB,EAAa,GAAK;CAEvD,IAAI,EAAE,YAAS,eAAY,GACrB,IAA0B,EAAsB,EAAM,EACtD,IAAkB,EAAc,EAAM;AAC5C,CAAI,KACA,KACA,CAAC,KACD,EAAM,YAAY,OACd,MAAY,KAAA,MACZ,IAAU,EAAQ,UAClB,MAAY,KAAA,MACZ,IAAU,EAAQ;CAE1B,IAAI,IAA4B,IAC1B,EAAgB,YAAY,KAC5B;AACN,OAAyD,MAAY;CACrE,IAAM,IAAe,IAA4B,IAAU;AAC3D,KAAI,KACA,OAAO,KAAiB,aACxB,CAAC,EAAoB,EAAa,EAAE;EACpC,IAAM,IAAO,MAAM,QAAQ,EAAa,GAAG,IAAe,CAAC,EAAa;AACxE,OAAK,IAAI,IAAI,GAAG,IAAI,EAAK,QAAQ,KAAK;GAClC,IAAM,IAAW,EAAwB,GAAO,EAAK,GAAG;AACxD,OAAI,GAAU;IACV,IAAM,EAAE,kBAAe,eAAY,GAAG,MAAW;AACjD,SAAK,IAAM,KAAO,GAAQ;KACtB,IAAI,IAAc,EAAO;AACzB,SAAI,MAAM,QAAQ,EAAY,EAAE;MAK5B,IAAM,IAAQ,IACR,EAAY,SAAS,IACrB;AACN,UAAc,EAAY;;AAE9B,KAAI,MAAgB,SAChB,EAAO,KAAO;;AAGtB,SAAK,IAAM,KAAO,EACd,GAAO,KAAO,EAAc;;;;AAK5C,QAAO;;AAEX,IAAM,KAAsB,OAAY,GAAO,MAAa;CACxD,IAAM,IAAU,EAAW,EAAc,EACnC,IAAkB,EAAW,EAAgB,EAC7C,UAAa,EAAU,GAAQ,GAAO,GAAS,EAAgB;AACrE,QAAO,IAAW,GAAM,GAAG,EAAY,EAAK"}