@burdenoff/microfe-brainyrich 2026.706.3 → 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.
- package/dist/_virtual/_rolldown/runtime.js +5 -5
- package/dist/brainyrich/components/viz.js +155 -156
- package/dist/brainyrich/components/viz.js.map +1 -1
- package/dist/brainyrich/pages/_shared.js +76 -68
- package/dist/brainyrich/pages/_shared.js.map +1 -1
- package/package.json +1 -3
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +0 -13
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +0 -1
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -14
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +0 -19
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +0 -259
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +0 -61
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +0 -29
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +0 -22
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +0 -135
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +0 -44
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +0 -41
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +0 -27
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +0 -53
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +0 -17
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +0 -63
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +0 -48
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +0 -26
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +0 -72
- package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +0 -24
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +0 -60
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +0 -52
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +0 -12
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +0 -23
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +0 -21
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +0 -32
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +0 -28
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +0 -13
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +0 -10
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +0 -6
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +0 -8
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +0 -15
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +0 -11
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +0 -1
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +0 -9
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +0 -109
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +0 -132
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +0 -86
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +0 -34
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +0 -168
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +0 -47
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +0 -56
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +0 -63
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +0 -69
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +0 -29
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +0 -27
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +0 -19
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +0 -35
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +0 -38
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +0 -35
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +0 -41
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +0 -45
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +0 -31
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +0 -590
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +0 -53
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +0 -20
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +0 -206
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +0 -58
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +0 -37
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/store.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/store.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +0 -42
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +0 -30
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +0 -137
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +0 -13
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +0 -22
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +0 -12
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +0 -39
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +0 -24
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/stats/animation-count.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/stats/animation-count.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +0 -35
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +0 -32
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +0 -54
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +0 -11
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +0 -7
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/index.js +0 -94
- package/dist/node_modules/motion-dom/dist/es/value/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +0 -21
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +0 -23
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +0 -28
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +0 -54
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +0 -16
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +0 -18
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +0 -10
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +0 -26
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +0 -66
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +0 -33
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +0 -17
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +0 -14
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +0 -8
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +0 -6
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +0 -15
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +0 -1
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +0 -9
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/array.js +0 -12
- package/dist/node_modules/motion-utils/dist/es/array.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/clamp.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/clamp.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +0 -9
- package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +0 -19
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +0 -7
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +0 -33
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/errors.js +0 -12
- package/dist/node_modules/motion-utils/dist/es/errors.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/global-config.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/global-config.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/is-object.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/is-object.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/memo.js +0 -10
- package/dist/node_modules/motion-utils/dist/es/memo.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/noop.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/noop.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/pipe.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/pipe.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/progress.js +0 -9
- package/dist/node_modules/motion-utils/dist/es/progress.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +0 -28
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +0 -6
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +0 -8
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +0 -1
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +0 -10
- package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +0 -1
|
@@ -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 +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"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
//#region node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
|
|
2
|
-
var e = new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
|
|
3
|
-
function t(t) {
|
|
4
|
-
return t.startsWith("while") || t.startsWith("drag") && t !== "draggable" || t.startsWith("layout") || t.startsWith("onTap") || t.startsWith("onPan") || t.startsWith("onLayout") || e.has(t);
|
|
5
|
-
}
|
|
6
|
-
//#endregion
|
|
7
|
-
export { t as isValidMotionProp };
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=valid-prop.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"valid-prop.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs"],"sourcesContent":["/**\n * A list of all valid MotionProps.\n *\n * @privateRemarks\n * This doesn't throw if a `MotionProp` name is missing - it should.\n */\nconst validMotionProps = new Set([\n \"animate\",\n \"exit\",\n \"variants\",\n \"initial\",\n \"style\",\n \"values\",\n \"variants\",\n \"transition\",\n \"transformTemplate\",\n \"custom\",\n \"inherit\",\n \"onBeforeLayoutMeasure\",\n \"onAnimationStart\",\n \"onAnimationComplete\",\n \"onUpdate\",\n \"onDragStart\",\n \"onDrag\",\n \"onDragEnd\",\n \"onMeasureDragConstraints\",\n \"onDirectionLock\",\n \"onDragTransitionEnd\",\n \"_dragX\",\n \"_dragY\",\n \"onHoverStart\",\n \"onHoverEnd\",\n \"onViewportEnter\",\n \"onViewportLeave\",\n \"globalTapTarget\",\n \"propagate\",\n \"ignoreStrict\",\n \"viewport\",\n]);\n/**\n * Check whether a prop name is a valid `MotionProp` key.\n *\n * @param key - Name of the property to check\n * @returns `true` is key is a valid `MotionProp`.\n *\n * @public\n */\nfunction isValidMotionProp(key) {\n return (key.startsWith(\"while\") ||\n (key.startsWith(\"drag\") && key !== \"draggable\") ||\n key.startsWith(\"layout\") ||\n key.startsWith(\"onTap\") ||\n key.startsWith(\"onPan\") ||\n key.startsWith(\"onLayout\") ||\n validMotionProps.has(key));\n}\n\nexport { isValidMotionProp };\n//# sourceMappingURL=valid-prop.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";AAMA,IAAM,IAAmB,IAAI,IAAI,gZAgChC,CAAC;AASF,SAAS,EAAkB,GAAK;AAC5B,QAAQ,EAAI,WAAW,QAAQ,IAC1B,EAAI,WAAW,OAAO,IAAI,MAAQ,eACnC,EAAI,WAAW,SAAS,IACxB,EAAI,WAAW,QAAQ,IACvB,EAAI,WAAW,QAAQ,IACvB,EAAI,WAAW,WAAW,IAC1B,EAAiB,IAAI,EAAI"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { warnOnce as e } from "../../../../../motion-utils/dist/es/warn-once.js";
|
|
2
|
-
import { createMotionComponent as t } from "../../motion/index.js";
|
|
3
|
-
//#region node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
|
|
4
|
-
function n(n, r) {
|
|
5
|
-
if (typeof Proxy > "u") return t;
|
|
6
|
-
let i = /* @__PURE__ */ new Map(), a = (e, i) => t(e, i, n, r);
|
|
7
|
-
return new Proxy((t, n) => (process.env.NODE_ENV !== "production" && e(!1, "motion() is deprecated. Use motion.create() instead."), a(t, n)), { get: (e, o) => o === "create" ? a : (i.has(o) || i.set(o, t(o, void 0, n, r)), i.get(o)) });
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
10
|
-
export { n as createMotionProxy };
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=create-proxy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-proxy.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/render/components/create-proxy.mjs"],"sourcesContent":["import { warnOnce } from 'motion-utils';\nimport { createMotionComponent } from '../../motion/index.mjs';\n\nfunction createMotionProxy(preloadedFeatures, createVisualElement) {\n if (typeof Proxy === \"undefined\") {\n return createMotionComponent;\n }\n /**\n * A cache of generated `motion` components, e.g `motion.div`, `motion.input` etc.\n * Rather than generating them anew every render.\n */\n const componentCache = new Map();\n const factory = (Component, options) => {\n return createMotionComponent(Component, options, preloadedFeatures, createVisualElement);\n };\n /**\n * Support for deprecated`motion(Component)` pattern\n */\n const deprecatedFactoryFunction = (Component, options) => {\n if (process.env.NODE_ENV !== \"production\") {\n warnOnce(false, \"motion() is deprecated. Use motion.create() instead.\");\n }\n return factory(Component, options);\n };\n return new Proxy(deprecatedFactoryFunction, {\n /**\n * Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.\n * The prop name is passed through as `key` and we can use that to generate a `motion`\n * DOM component with that name.\n */\n get: (_target, key) => {\n if (key === \"create\")\n return factory;\n /**\n * If this element doesn't exist in the component cache, create it and cache.\n */\n if (!componentCache.has(key)) {\n componentCache.set(key, createMotionComponent(key, undefined, preloadedFeatures, createVisualElement));\n }\n return componentCache.get(key);\n },\n });\n}\n\nexport { createMotionProxy };\n//# sourceMappingURL=create-proxy.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,SAAS,EAAkB,GAAmB,GAAqB;AAC/D,KAAI,OAAO,QAAU,IACjB,QAAO;CAMX,IAAM,oBAAiB,IAAI,KAAK,EAC1B,KAAW,GAAW,MACjB,EAAsB,GAAW,GAAS,GAAmB,EAAoB;AAW5F,QAAO,IAAI,OANwB,GAAW,OAC1C,QAAA,IAAA,aAA6B,gBACzB,EAAS,IAAO,uDAAuD,EAEpE,EAAQ,GAAW,EAAQ,GAEM,EAMxC,MAAM,GAAS,MACP,MAAQ,WACD,KAIN,EAAe,IAAI,EAAI,IACxB,EAAe,IAAI,GAAK,EAAsB,GAAK,KAAA,GAAW,GAAmB,EAAoB,CAAC,EAEnG,EAAe,IAAI,EAAI,GAErC,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { animations as e } from "../../../motion/features/animations.js";
|
|
2
|
-
import { drag as t } from "../../../motion/features/drag.js";
|
|
3
|
-
import { gestureAnimations as n } from "../../../motion/features/gestures.js";
|
|
4
|
-
import { layout as r } from "../../../motion/features/layout.js";
|
|
5
|
-
//#region node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs
|
|
6
|
-
var i = {
|
|
7
|
-
...e,
|
|
8
|
-
...n,
|
|
9
|
-
...t,
|
|
10
|
-
...r
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
13
|
-
export { i as featureBundle };
|
|
14
|
-
|
|
15
|
-
//# sourceMappingURL=feature-bundle.js.map
|
package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"feature-bundle.js","names":[],"sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs"],"sourcesContent":["import { animations } from '../../../motion/features/animations.mjs';\nimport { drag } from '../../../motion/features/drag.mjs';\nimport { gestureAnimations } from '../../../motion/features/gestures.mjs';\nimport { layout } from '../../../motion/features/layout.mjs';\n\nconst featureBundle = {\n ...animations,\n ...gestureAnimations,\n ...drag,\n ...layout,\n};\n\nexport { featureBundle };\n//# sourceMappingURL=feature-bundle.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKA,IAAM,IAAgB;CAClB,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACN"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { createMotionProxy as e } from "../create-proxy.js";
|
|
2
|
-
import { createDomVisualElement as t } from "../../dom/create-visual-element.js";
|
|
3
|
-
import { featureBundle as n } from "./feature-bundle.js";
|
|
4
|
-
//#region node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs
|
|
5
|
-
var r = /* @__PURE__ */ e(n, t);
|
|
6
|
-
//#endregion
|
|
7
|
-
export { r as motion };
|
|
8
|
-
|
|
9
|
-
//# sourceMappingURL=proxy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"proxy.js","names":[],"sources":["../../../../../../../../node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs"],"sourcesContent":["import { createDomVisualElement } from '../../dom/create-visual-element.mjs';\nimport { createMotionProxy } from '../create-proxy.mjs';\nimport { featureBundle } from './feature-bundle.mjs';\n\nconst motion = /*@__PURE__*/ createMotionProxy(featureBundle, createDomVisualElement);\n\nexport { motion };\n//# sourceMappingURL=proxy.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAM,IAAuB,kBAAkB,GAAe,EAAuB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { HTMLVisualElement as e } from "../../../../../motion-dom/dist/es/render/html/HTMLVisualElement.js";
|
|
2
|
-
import { SVGVisualElement as t } from "../../../../../motion-dom/dist/es/render/svg/SVGVisualElement.js";
|
|
3
|
-
import { isSVGComponent as n } from "./utils/is-svg-component.js";
|
|
4
|
-
import { Fragment as r } from "react";
|
|
5
|
-
//#region node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
|
|
6
|
-
var i = (i, a) => a.isSVG ?? n(i) ? new t(a) : new e(a, { allowProjection: i !== r });
|
|
7
|
-
//#endregion
|
|
8
|
-
export { i as createDomVisualElement };
|
|
9
|
-
|
|
10
|
-
//# sourceMappingURL=create-visual-element.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-visual-element.js","names":[],"sources":["../../../../../../../node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs"],"sourcesContent":["import { SVGVisualElement, HTMLVisualElement } from 'motion-dom';\nimport { Fragment } from 'react';\nimport { isSVGComponent } from './utils/is-svg-component.mjs';\n\nconst createDomVisualElement = (Component, options) => {\n /**\n * Use explicit isSVG override if provided, otherwise auto-detect\n */\n const isSVG = options.isSVG ?? isSVGComponent(Component);\n return isSVG\n ? new SVGVisualElement(options)\n : new HTMLVisualElement(options, {\n allowProjection: Component !== Fragment,\n });\n};\n\nexport { createDomVisualElement };\n//# sourceMappingURL=create-visual-element.mjs.map\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAIA,IAAM,KAA0B,GAAW,MAIzB,EAAQ,SAAS,EAAe,EAAU,GAElD,IAAI,EAAiB,EAAQ,GAC7B,IAAI,EAAkB,GAAS,EAC7B,iBAAiB,MAAc,GAClC,CAAC"}
|