@windrun-huaiin/third-ui 14.2.0 → 14.3.0
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/fuma/mdx/index.d.ts +1 -0
- package/dist/fuma/mdx/index.js +2 -0
- package/dist/fuma/mdx/index.mjs +1 -0
- package/dist/fuma/mdx/suno-embed.d.ts +7 -0
- package/dist/fuma/mdx/suno-embed.js +120 -0
- package/dist/fuma/mdx/suno-embed.mjs +118 -0
- package/dist/main/delayed-img.js +2 -1
- package/dist/main/delayed-img.mjs +3 -2
- package/dist/main/index.d.ts +1 -0
- package/dist/main/index.js +3 -0
- package/dist/main/index.mjs +1 -0
- package/dist/main/snake-loading-frame.d.ts +23 -0
- package/dist/main/snake-loading-frame.js +344 -0
- package/dist/main/snake-loading-frame.mjs +341 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +47 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs +45 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +8 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs +6 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/LazyContext.js +8 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/LazyContext.mjs +6 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +15 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs +13 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/create.js +16 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs +14 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/index.js +8 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs +6 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +19 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs +17 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/PresenceContext.js +12 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/PresenceContext.mjs +10 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +11 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs +9 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/events/add-pointer-event.js +10 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs +8 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/events/event-info.js +16 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/events/event-info.mjs +13 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +576 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs +573 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/index.js +52 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/index.mjs +50 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +141 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs +129 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/focus.js +43 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/focus.mjs +41 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/hover.js +32 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/hover.mjs +30 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +282 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs +280 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/pan/index.js +52 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/pan/index.mjs +50 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/press.js +39 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/gestures/press.mjs +37 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +69 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animation/exit.mjs +67 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animation/index.js +42 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animation/index.mjs +40 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animations.js +15 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/animations.mjs +13 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/definitions.js +51 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/definitions.mjs +48 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/drag.js +19 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/drag.mjs +17 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/gestures.js +23 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/gestures.mjs +21 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +139 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.mjs +137 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/layout.js +13 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/layout.mjs +11 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/load-features.js +17 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/load-features.mjs +15 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +78 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs +76 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +51 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/features/viewport/observers.mjs +49 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/index.js +114 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/index.mjs +112 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/symbol.js +5 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/symbol.mjs +3 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +53 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs +51 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +167 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs +165 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +82 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs +80 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +60 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs +58 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/create-proxy.js +47 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs +45 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +15 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.mjs +13 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +9 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs +7 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +20 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs +18 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/use-render.js +29 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/use-render.mjs +27 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +69 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs +66 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +32 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs +30 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +13 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.mjs +11 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/use-props.js +61 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/use-props.mjs +58 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +10 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs +8 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +35 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs +33 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/use-props.js +27 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/use-props.mjs +25 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +13 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.mjs +11 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +10 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs +8 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/distance.js +12 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/distance.mjs +9 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/get-context-window.js +8 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/get-context-window.mjs +6 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/is-browser.js +5 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/is-browser.mjs +3 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/is-ref-object.js +9 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs +7 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-animation-frame.js +24 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-animation-frame.mjs +22 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-constant.js +21 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-constant.mjs +19 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +9 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs +7 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-combine-values.js +40 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-combine-values.mjs +38 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-computed.js +22 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-computed.mjs +20 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-motion-value.js +41 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-motion-value.mjs +39 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-transform.js +50 -0
- package/dist/node_modules/.pnpm/framer-motion@12.38.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/framer-motion/dist/es/value/use-transform.mjs +48 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +201 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs +199 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/JSAnimation.js +387 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/JSAnimation.mjs +385 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +182 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs +180 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +89 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs +87 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/animate/single-value.js +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/animate/single-value.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/drivers/frame.js +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/inertia.js +89 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs +87 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +54 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs +51 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/spring.js +332 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/spring.mjs +330 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +21 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +106 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs +104 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +101 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs +99 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +61 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs +59 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs +26 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +143 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs +141 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +150 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs +147 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +32 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +50 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.mjs +46 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs +26 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +45 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs +43 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +45 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs +42 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +42 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs +40 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +32 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-animatable.mjs +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.mjs +26 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.mjs +26 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs +18 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs +29 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +54 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs +52 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +22 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.mjs +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/events/add-dom-event.js +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/events/add-dom-event.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/batcher.js +74 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/batcher.mjs +72 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/frame.js +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/frame.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/microtask.js +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/microtask.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/order.js +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/order.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/render-step.js +85 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/render-step.mjs +83 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/sync-time.js +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/frameloop/sync-time.mjs +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/hover.js +71 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/hover.mjs +69 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/index.js +91 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/index.mjs +89 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +36 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +40 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs +38 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +22 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.mjs +18 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/setup.js +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/gestures/utils/setup.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +75 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs +73 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +37 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/copy.js +35 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/copy.mjs +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +133 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs +124 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +67 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs +58 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +59 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs +54 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/models.js +22 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/models.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/utils.js +39 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/geometry/utils.mjs +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs +27 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +1644 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/create-projection-node.mjs +1637 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/state.js +21 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/node/state.mjs +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/shared/stack.js +86 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/shared/stack.mjs +84 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +44 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs +41 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +37 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.mjs +35 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +23 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs +21 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/transform.js +51 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/styles/transform.mjs +49 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +26 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/flat-tree.mjs +24 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs +26 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/measure.js +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/projection/utils/measure.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/Feature.js +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/Feature.mjs +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/VisualElement.js +567 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/VisualElement.mjs +563 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +44 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.mjs +42 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +87 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs +83 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/style-set.js +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/style-set.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +47 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs +44 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +67 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs +65 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +65 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs +63 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/render.js +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/render.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +23 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs +21 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/store.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/store.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +47 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs +45 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +74 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs +72 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +32 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/path.js +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/path.mjs +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/render.js +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/render.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +21 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/animation-state.js +388 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs +385 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +34 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/get-variant-context.mjs +32 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +10 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/keys-position.js +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/keys-position.mjs +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/motion-values.js +57 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/motion-values.mjs +55 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +23 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.mjs +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +10 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +38 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs +36 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/setters.js +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/setters.mjs +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/variant-props.js +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/render/utils/variant-props.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/handle-element.js +65 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/handle-element.mjs +63 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/handle-window.js +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/handle-window.mjs +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/index.js +10 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/resize/index.mjs +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/delay.js +22 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/delay.mjs +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/interpolate.js +81 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/interpolate.mjs +79 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-html-element.js +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-html-element.mjs +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-svg-element.js +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +13 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/color.js +50 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/color.mjs +47 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/complex.js +98 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/complex.mjs +93 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/immediate.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/immediate.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/index.js +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/index.mjs +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/number.js +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/number.mjs +26 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/visibility.js +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/mix/visibility.mjs +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/resolve-elements.js +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/flags.js +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/flags.mjs +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/linear-easing.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/memo.js +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/memo.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/transform.js +16 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/utils/transform.mjs +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/index.js +322 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/index.mjs +319 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/auto.js +11 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/auto.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hex.js +42 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hex.mjs +40 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +44 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs +42 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hsla.js +24 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/hsla.mjs +22 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/index.js +34 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/index.mjs +32 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/rgba.js +28 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/rgba.mjs +25 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/utils.js +32 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/color/utils.mjs +29 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/filter.js +32 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/filter.mjs +30 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/index.js +116 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/index.mjs +113 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/mask.js +14 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/complex/mask.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/dimensions.js +18 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/dimensions.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/int.js +10 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/int.mjs +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +36 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/defaults.mjs +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/number.js +72 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/number.mjs +70 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/transform.js +33 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/maps/transform.mjs +31 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/numbers/index.js +21 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/numbers/units.js +25 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/numbers/units.mjs +18 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/test.js +8 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/test.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +19 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.mjs +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/color-regex.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/find.js +17 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/find.mjs +15 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/float-regex.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs +10 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +7 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/sanitize.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +5 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +12 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs +10 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +22 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs +20 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/will-change/is.js +9 -0
- package/dist/node_modules/.pnpm/motion-dom@12.38.0/node_modules/motion-dom/dist/es/value/will-change/is.mjs +7 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/array.js +14 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/array.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/clamp.js +11 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/clamp.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/anticipate.js +11 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/anticipate.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/back.js +13 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/back.mjs +9 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/circ.js +12 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/circ.mjs +8 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +53 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/cubic-bezier.mjs +51 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/ease.js +11 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/ease.mjs +7 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +7 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +7 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/modifiers/reverse.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +5 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +7 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/map.js +43 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/map.mjs +41 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/errors.js +19 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/errors.mjs +19 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/format-error-message.js +9 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/format-error-message.mjs +7 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/global-config.js +5 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/global-config.mjs +3 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-numerical-string.js +8 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-numerical-string.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-object.js +7 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-object.mjs +5 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-zero-value-string.js +8 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-zero-value-string.mjs +6 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/memo.js +13 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/memo.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/noop.js +6 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/noop.mjs +4 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/pipe.js +13 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/pipe.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/progress.js +21 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/progress.mjs +19 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/subscription-manager.js +42 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/subscription-manager.mjs +40 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/time-conversion.js +15 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/time-conversion.mjs +12 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/velocity-per-second.js +13 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/velocity-per-second.mjs +11 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/warn-once.js +13 -0
- package/dist/node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/warn-once.mjs +11 -0
- package/package.json +2 -1
- package/src/fuma/mdx/index.ts +2 -1
- package/src/fuma/mdx/suno-embed.tsx +213 -0
- package/src/main/delayed-img.tsx +12 -10
- package/src/main/index.ts +2 -1
- package/src/main/snake-loading-frame.tsx +709 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var number = require('../../utils/mix/number.js');
|
|
4
|
+
var hasTransform = require('../utils/has-transform.js');
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Scales a point based on a factor and an originPoint
|
|
8
|
+
*/
|
|
9
|
+
function scalePoint(point, scale, originPoint) {
|
|
10
|
+
const distanceFromOrigin = point - originPoint;
|
|
11
|
+
const scaled = scale * distanceFromOrigin;
|
|
12
|
+
return originPoint + scaled;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Applies a translate/scale delta to a point
|
|
16
|
+
*/
|
|
17
|
+
function applyPointDelta(point, translate, scale, originPoint, boxScale) {
|
|
18
|
+
if (boxScale !== undefined) {
|
|
19
|
+
point = scalePoint(point, boxScale, originPoint);
|
|
20
|
+
}
|
|
21
|
+
return scalePoint(point, scale, originPoint) + translate;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Applies a translate/scale delta to an axis
|
|
25
|
+
*/
|
|
26
|
+
function applyAxisDelta(axis, translate = 0, scale = 1, originPoint, boxScale) {
|
|
27
|
+
axis.min = applyPointDelta(axis.min, translate, scale, originPoint, boxScale);
|
|
28
|
+
axis.max = applyPointDelta(axis.max, translate, scale, originPoint, boxScale);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Applies a translate/scale delta to a box
|
|
32
|
+
*/
|
|
33
|
+
function applyBoxDelta(box, { x, y }) {
|
|
34
|
+
applyAxisDelta(box.x, x.translate, x.scale, x.originPoint);
|
|
35
|
+
applyAxisDelta(box.y, y.translate, y.scale, y.originPoint);
|
|
36
|
+
}
|
|
37
|
+
const TREE_SCALE_SNAP_MIN = 0.999999999999;
|
|
38
|
+
const TREE_SCALE_SNAP_MAX = 1.0000000000001;
|
|
39
|
+
/**
|
|
40
|
+
* Apply a tree of deltas to a box. We do this to calculate the effect of all the transforms
|
|
41
|
+
* in a tree upon our box before then calculating how to project it into our desired viewport-relative box
|
|
42
|
+
*
|
|
43
|
+
* This is the final nested loop within updateLayoutDelta for future refactoring
|
|
44
|
+
*/
|
|
45
|
+
function applyTreeDeltas(box, treeScale, treePath, isSharedTransition = false) {
|
|
46
|
+
const treeLength = treePath.length;
|
|
47
|
+
if (!treeLength)
|
|
48
|
+
return;
|
|
49
|
+
// Reset the treeScale
|
|
50
|
+
treeScale.x = treeScale.y = 1;
|
|
51
|
+
let node;
|
|
52
|
+
let delta;
|
|
53
|
+
for (let i = 0; i < treeLength; i++) {
|
|
54
|
+
node = treePath[i];
|
|
55
|
+
delta = node.projectionDelta;
|
|
56
|
+
/**
|
|
57
|
+
* TODO: Prefer to remove this, but currently we have motion components with
|
|
58
|
+
* display: contents in Framer.
|
|
59
|
+
*/
|
|
60
|
+
const { visualElement } = node.options;
|
|
61
|
+
if (visualElement &&
|
|
62
|
+
visualElement.props.style &&
|
|
63
|
+
visualElement.props.style.display === "contents") {
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
if (isSharedTransition &&
|
|
67
|
+
node.options.layoutScroll &&
|
|
68
|
+
node.scroll &&
|
|
69
|
+
node !== node.root) {
|
|
70
|
+
translateAxis(box.x, -node.scroll.offset.x);
|
|
71
|
+
translateAxis(box.y, -node.scroll.offset.y);
|
|
72
|
+
}
|
|
73
|
+
if (delta) {
|
|
74
|
+
// Incoporate each ancestor's scale into a cumulative treeScale for this component
|
|
75
|
+
treeScale.x *= delta.x.scale;
|
|
76
|
+
treeScale.y *= delta.y.scale;
|
|
77
|
+
// Apply each ancestor's calculated delta into this component's recorded layout box
|
|
78
|
+
applyBoxDelta(box, delta);
|
|
79
|
+
}
|
|
80
|
+
if (isSharedTransition && hasTransform.hasTransform(node.latestValues)) {
|
|
81
|
+
transformBox(box, node.latestValues, node.layout?.layoutBox);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Snap tree scale back to 1 if it's within a non-perceivable threshold.
|
|
86
|
+
* This will help reduce useless scales getting rendered.
|
|
87
|
+
*/
|
|
88
|
+
if (treeScale.x < TREE_SCALE_SNAP_MAX &&
|
|
89
|
+
treeScale.x > TREE_SCALE_SNAP_MIN) {
|
|
90
|
+
treeScale.x = 1.0;
|
|
91
|
+
}
|
|
92
|
+
if (treeScale.y < TREE_SCALE_SNAP_MAX &&
|
|
93
|
+
treeScale.y > TREE_SCALE_SNAP_MIN) {
|
|
94
|
+
treeScale.y = 1.0;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
function translateAxis(axis, distance) {
|
|
98
|
+
axis.min += distance;
|
|
99
|
+
axis.max += distance;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Apply a transform to an axis from the latest resolved motion values.
|
|
103
|
+
* This function basically acts as a bridge between a flat motion value map
|
|
104
|
+
* and applyAxisDelta
|
|
105
|
+
*/
|
|
106
|
+
function transformAxis(axis, axisTranslate, axisScale, boxScale, axisOrigin = 0.5) {
|
|
107
|
+
const originPoint = number.mixNumber(axis.min, axis.max, axisOrigin);
|
|
108
|
+
// Apply the axis delta to the final axis
|
|
109
|
+
applyAxisDelta(axis, axisTranslate, axisScale, originPoint, boxScale);
|
|
110
|
+
}
|
|
111
|
+
function resolveAxisTranslate(value, axis) {
|
|
112
|
+
if (typeof value === "string") {
|
|
113
|
+
return (parseFloat(value) / 100) * (axis.max - axis.min);
|
|
114
|
+
}
|
|
115
|
+
return value;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Apply a transform to a box from the latest resolved motion values.
|
|
119
|
+
*/
|
|
120
|
+
function transformBox(box, transform, sourceBox) {
|
|
121
|
+
const resolveBox = sourceBox ?? box;
|
|
122
|
+
transformAxis(box.x, resolveAxisTranslate(transform.x, resolveBox.x), transform.scaleX, transform.scale, transform.originX);
|
|
123
|
+
transformAxis(box.y, resolveAxisTranslate(transform.y, resolveBox.y), transform.scaleY, transform.scale, transform.originY);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
exports.applyAxisDelta = applyAxisDelta;
|
|
127
|
+
exports.applyBoxDelta = applyBoxDelta;
|
|
128
|
+
exports.applyPointDelta = applyPointDelta;
|
|
129
|
+
exports.applyTreeDeltas = applyTreeDeltas;
|
|
130
|
+
exports.scalePoint = scalePoint;
|
|
131
|
+
exports.transformAxis = transformAxis;
|
|
132
|
+
exports.transformBox = transformBox;
|
|
133
|
+
exports.translateAxis = translateAxis;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { mixNumber } from '../../utils/mix/number.mjs';
|
|
2
|
+
import { hasTransform } from '../utils/has-transform.mjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Scales a point based on a factor and an originPoint
|
|
6
|
+
*/
|
|
7
|
+
function scalePoint(point, scale, originPoint) {
|
|
8
|
+
const distanceFromOrigin = point - originPoint;
|
|
9
|
+
const scaled = scale * distanceFromOrigin;
|
|
10
|
+
return originPoint + scaled;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Applies a translate/scale delta to a point
|
|
14
|
+
*/
|
|
15
|
+
function applyPointDelta(point, translate, scale, originPoint, boxScale) {
|
|
16
|
+
if (boxScale !== undefined) {
|
|
17
|
+
point = scalePoint(point, boxScale, originPoint);
|
|
18
|
+
}
|
|
19
|
+
return scalePoint(point, scale, originPoint) + translate;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Applies a translate/scale delta to an axis
|
|
23
|
+
*/
|
|
24
|
+
function applyAxisDelta(axis, translate = 0, scale = 1, originPoint, boxScale) {
|
|
25
|
+
axis.min = applyPointDelta(axis.min, translate, scale, originPoint, boxScale);
|
|
26
|
+
axis.max = applyPointDelta(axis.max, translate, scale, originPoint, boxScale);
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Applies a translate/scale delta to a box
|
|
30
|
+
*/
|
|
31
|
+
function applyBoxDelta(box, { x, y }) {
|
|
32
|
+
applyAxisDelta(box.x, x.translate, x.scale, x.originPoint);
|
|
33
|
+
applyAxisDelta(box.y, y.translate, y.scale, y.originPoint);
|
|
34
|
+
}
|
|
35
|
+
const TREE_SCALE_SNAP_MIN = 0.999999999999;
|
|
36
|
+
const TREE_SCALE_SNAP_MAX = 1.0000000000001;
|
|
37
|
+
/**
|
|
38
|
+
* Apply a tree of deltas to a box. We do this to calculate the effect of all the transforms
|
|
39
|
+
* in a tree upon our box before then calculating how to project it into our desired viewport-relative box
|
|
40
|
+
*
|
|
41
|
+
* This is the final nested loop within updateLayoutDelta for future refactoring
|
|
42
|
+
*/
|
|
43
|
+
function applyTreeDeltas(box, treeScale, treePath, isSharedTransition = false) {
|
|
44
|
+
const treeLength = treePath.length;
|
|
45
|
+
if (!treeLength)
|
|
46
|
+
return;
|
|
47
|
+
// Reset the treeScale
|
|
48
|
+
treeScale.x = treeScale.y = 1;
|
|
49
|
+
let node;
|
|
50
|
+
let delta;
|
|
51
|
+
for (let i = 0; i < treeLength; i++) {
|
|
52
|
+
node = treePath[i];
|
|
53
|
+
delta = node.projectionDelta;
|
|
54
|
+
/**
|
|
55
|
+
* TODO: Prefer to remove this, but currently we have motion components with
|
|
56
|
+
* display: contents in Framer.
|
|
57
|
+
*/
|
|
58
|
+
const { visualElement } = node.options;
|
|
59
|
+
if (visualElement &&
|
|
60
|
+
visualElement.props.style &&
|
|
61
|
+
visualElement.props.style.display === "contents") {
|
|
62
|
+
continue;
|
|
63
|
+
}
|
|
64
|
+
if (isSharedTransition &&
|
|
65
|
+
node.options.layoutScroll &&
|
|
66
|
+
node.scroll &&
|
|
67
|
+
node !== node.root) {
|
|
68
|
+
translateAxis(box.x, -node.scroll.offset.x);
|
|
69
|
+
translateAxis(box.y, -node.scroll.offset.y);
|
|
70
|
+
}
|
|
71
|
+
if (delta) {
|
|
72
|
+
// Incoporate each ancestor's scale into a cumulative treeScale for this component
|
|
73
|
+
treeScale.x *= delta.x.scale;
|
|
74
|
+
treeScale.y *= delta.y.scale;
|
|
75
|
+
// Apply each ancestor's calculated delta into this component's recorded layout box
|
|
76
|
+
applyBoxDelta(box, delta);
|
|
77
|
+
}
|
|
78
|
+
if (isSharedTransition && hasTransform(node.latestValues)) {
|
|
79
|
+
transformBox(box, node.latestValues, node.layout?.layoutBox);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Snap tree scale back to 1 if it's within a non-perceivable threshold.
|
|
84
|
+
* This will help reduce useless scales getting rendered.
|
|
85
|
+
*/
|
|
86
|
+
if (treeScale.x < TREE_SCALE_SNAP_MAX &&
|
|
87
|
+
treeScale.x > TREE_SCALE_SNAP_MIN) {
|
|
88
|
+
treeScale.x = 1.0;
|
|
89
|
+
}
|
|
90
|
+
if (treeScale.y < TREE_SCALE_SNAP_MAX &&
|
|
91
|
+
treeScale.y > TREE_SCALE_SNAP_MIN) {
|
|
92
|
+
treeScale.y = 1.0;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
function translateAxis(axis, distance) {
|
|
96
|
+
axis.min += distance;
|
|
97
|
+
axis.max += distance;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Apply a transform to an axis from the latest resolved motion values.
|
|
101
|
+
* This function basically acts as a bridge between a flat motion value map
|
|
102
|
+
* and applyAxisDelta
|
|
103
|
+
*/
|
|
104
|
+
function transformAxis(axis, axisTranslate, axisScale, boxScale, axisOrigin = 0.5) {
|
|
105
|
+
const originPoint = mixNumber(axis.min, axis.max, axisOrigin);
|
|
106
|
+
// Apply the axis delta to the final axis
|
|
107
|
+
applyAxisDelta(axis, axisTranslate, axisScale, originPoint, boxScale);
|
|
108
|
+
}
|
|
109
|
+
function resolveAxisTranslate(value, axis) {
|
|
110
|
+
if (typeof value === "string") {
|
|
111
|
+
return (parseFloat(value) / 100) * (axis.max - axis.min);
|
|
112
|
+
}
|
|
113
|
+
return value;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Apply a transform to a box from the latest resolved motion values.
|
|
117
|
+
*/
|
|
118
|
+
function transformBox(box, transform, sourceBox) {
|
|
119
|
+
const resolveBox = sourceBox ?? box;
|
|
120
|
+
transformAxis(box.x, resolveAxisTranslate(transform.x, resolveBox.x), transform.scaleX, transform.scale, transform.originX);
|
|
121
|
+
transformAxis(box.y, resolveAxisTranslate(transform.y, resolveBox.y), transform.scaleY, transform.scale, transform.originY);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export { applyAxisDelta, applyBoxDelta, applyPointDelta, applyTreeDeltas, scalePoint, transformAxis, transformBox, translateAxis };
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var number = require('../../utils/mix/number.js');
|
|
4
|
+
|
|
5
|
+
const SCALE_PRECISION = 0.0001;
|
|
6
|
+
const SCALE_MIN = 1 - SCALE_PRECISION;
|
|
7
|
+
const SCALE_MAX = 1 + SCALE_PRECISION;
|
|
8
|
+
const TRANSLATE_PRECISION = 0.01;
|
|
9
|
+
const TRANSLATE_MIN = 0 - TRANSLATE_PRECISION;
|
|
10
|
+
const TRANSLATE_MAX = 0 + TRANSLATE_PRECISION;
|
|
11
|
+
function calcLength(axis) {
|
|
12
|
+
return axis.max - axis.min;
|
|
13
|
+
}
|
|
14
|
+
function isNear(value, target, maxDistance) {
|
|
15
|
+
return Math.abs(value - target) <= maxDistance;
|
|
16
|
+
}
|
|
17
|
+
function calcAxisDelta(delta, source, target, origin = 0.5) {
|
|
18
|
+
delta.origin = origin;
|
|
19
|
+
delta.originPoint = number.mixNumber(source.min, source.max, delta.origin);
|
|
20
|
+
delta.scale = calcLength(target) / calcLength(source);
|
|
21
|
+
delta.translate =
|
|
22
|
+
number.mixNumber(target.min, target.max, delta.origin) - delta.originPoint;
|
|
23
|
+
if ((delta.scale >= SCALE_MIN && delta.scale <= SCALE_MAX) ||
|
|
24
|
+
isNaN(delta.scale)) {
|
|
25
|
+
delta.scale = 1.0;
|
|
26
|
+
}
|
|
27
|
+
if ((delta.translate >= TRANSLATE_MIN &&
|
|
28
|
+
delta.translate <= TRANSLATE_MAX) ||
|
|
29
|
+
isNaN(delta.translate)) {
|
|
30
|
+
delta.translate = 0.0;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
function calcBoxDelta(delta, source, target, origin) {
|
|
34
|
+
calcAxisDelta(delta.x, source.x, target.x, origin ? origin.originX : undefined);
|
|
35
|
+
calcAxisDelta(delta.y, source.y, target.y, origin ? origin.originY : undefined);
|
|
36
|
+
}
|
|
37
|
+
function calcRelativeAxis(target, relative, parent, anchor = 0) {
|
|
38
|
+
const anchorPoint = anchor
|
|
39
|
+
? number.mixNumber(parent.min, parent.max, anchor)
|
|
40
|
+
: parent.min;
|
|
41
|
+
target.min = anchorPoint + relative.min;
|
|
42
|
+
target.max = target.min + calcLength(relative);
|
|
43
|
+
}
|
|
44
|
+
function calcRelativeBox(target, relative, parent, anchor) {
|
|
45
|
+
calcRelativeAxis(target.x, relative.x, parent.x, anchor?.x);
|
|
46
|
+
calcRelativeAxis(target.y, relative.y, parent.y, anchor?.y);
|
|
47
|
+
}
|
|
48
|
+
function calcRelativeAxisPosition(target, layout, parent, anchor = 0) {
|
|
49
|
+
const anchorPoint = anchor
|
|
50
|
+
? number.mixNumber(parent.min, parent.max, anchor)
|
|
51
|
+
: parent.min;
|
|
52
|
+
target.min = layout.min - anchorPoint;
|
|
53
|
+
target.max = target.min + calcLength(layout);
|
|
54
|
+
}
|
|
55
|
+
function calcRelativePosition(target, layout, parent, anchor) {
|
|
56
|
+
calcRelativeAxisPosition(target.x, layout.x, parent.x, anchor?.x);
|
|
57
|
+
calcRelativeAxisPosition(target.y, layout.y, parent.y, anchor?.y);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
exports.calcAxisDelta = calcAxisDelta;
|
|
61
|
+
exports.calcBoxDelta = calcBoxDelta;
|
|
62
|
+
exports.calcLength = calcLength;
|
|
63
|
+
exports.calcRelativeAxis = calcRelativeAxis;
|
|
64
|
+
exports.calcRelativeAxisPosition = calcRelativeAxisPosition;
|
|
65
|
+
exports.calcRelativeBox = calcRelativeBox;
|
|
66
|
+
exports.calcRelativePosition = calcRelativePosition;
|
|
67
|
+
exports.isNear = isNear;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { mixNumber } from '../../utils/mix/number.mjs';
|
|
2
|
+
|
|
3
|
+
const SCALE_PRECISION = 0.0001;
|
|
4
|
+
const SCALE_MIN = 1 - SCALE_PRECISION;
|
|
5
|
+
const SCALE_MAX = 1 + SCALE_PRECISION;
|
|
6
|
+
const TRANSLATE_PRECISION = 0.01;
|
|
7
|
+
const TRANSLATE_MIN = 0 - TRANSLATE_PRECISION;
|
|
8
|
+
const TRANSLATE_MAX = 0 + TRANSLATE_PRECISION;
|
|
9
|
+
function calcLength(axis) {
|
|
10
|
+
return axis.max - axis.min;
|
|
11
|
+
}
|
|
12
|
+
function isNear(value, target, maxDistance) {
|
|
13
|
+
return Math.abs(value - target) <= maxDistance;
|
|
14
|
+
}
|
|
15
|
+
function calcAxisDelta(delta, source, target, origin = 0.5) {
|
|
16
|
+
delta.origin = origin;
|
|
17
|
+
delta.originPoint = mixNumber(source.min, source.max, delta.origin);
|
|
18
|
+
delta.scale = calcLength(target) / calcLength(source);
|
|
19
|
+
delta.translate =
|
|
20
|
+
mixNumber(target.min, target.max, delta.origin) - delta.originPoint;
|
|
21
|
+
if ((delta.scale >= SCALE_MIN && delta.scale <= SCALE_MAX) ||
|
|
22
|
+
isNaN(delta.scale)) {
|
|
23
|
+
delta.scale = 1.0;
|
|
24
|
+
}
|
|
25
|
+
if ((delta.translate >= TRANSLATE_MIN &&
|
|
26
|
+
delta.translate <= TRANSLATE_MAX) ||
|
|
27
|
+
isNaN(delta.translate)) {
|
|
28
|
+
delta.translate = 0.0;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function calcBoxDelta(delta, source, target, origin) {
|
|
32
|
+
calcAxisDelta(delta.x, source.x, target.x, origin ? origin.originX : undefined);
|
|
33
|
+
calcAxisDelta(delta.y, source.y, target.y, origin ? origin.originY : undefined);
|
|
34
|
+
}
|
|
35
|
+
function calcRelativeAxis(target, relative, parent, anchor = 0) {
|
|
36
|
+
const anchorPoint = anchor
|
|
37
|
+
? mixNumber(parent.min, parent.max, anchor)
|
|
38
|
+
: parent.min;
|
|
39
|
+
target.min = anchorPoint + relative.min;
|
|
40
|
+
target.max = target.min + calcLength(relative);
|
|
41
|
+
}
|
|
42
|
+
function calcRelativeBox(target, relative, parent, anchor) {
|
|
43
|
+
calcRelativeAxis(target.x, relative.x, parent.x, anchor?.x);
|
|
44
|
+
calcRelativeAxis(target.y, relative.y, parent.y, anchor?.y);
|
|
45
|
+
}
|
|
46
|
+
function calcRelativeAxisPosition(target, layout, parent, anchor = 0) {
|
|
47
|
+
const anchorPoint = anchor
|
|
48
|
+
? mixNumber(parent.min, parent.max, anchor)
|
|
49
|
+
: parent.min;
|
|
50
|
+
target.min = layout.min - anchorPoint;
|
|
51
|
+
target.max = target.min + calcLength(layout);
|
|
52
|
+
}
|
|
53
|
+
function calcRelativePosition(target, layout, parent, anchor) {
|
|
54
|
+
calcRelativeAxisPosition(target.x, layout.x, parent.x, anchor?.x);
|
|
55
|
+
calcRelativeAxisPosition(target.y, layout.y, parent.y, anchor?.y);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export { calcAxisDelta, calcBoxDelta, calcLength, calcRelativeAxis, calcRelativeAxisPosition, calcRelativeBox, calcRelativePosition, isNear };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var number = require('../../utils/mix/number.js');
|
|
4
|
+
var units = require('../../value/types/numbers/units.js');
|
|
5
|
+
var deltaApply = require('./delta-apply.js');
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Remove a delta from a point. This is essentially the steps of applyPointDelta in reverse
|
|
9
|
+
*/
|
|
10
|
+
function removePointDelta(point, translate, scale, originPoint, boxScale) {
|
|
11
|
+
point -= translate;
|
|
12
|
+
point = deltaApply.scalePoint(point, 1 / scale, originPoint);
|
|
13
|
+
if (boxScale !== undefined) {
|
|
14
|
+
point = deltaApply.scalePoint(point, 1 / boxScale, originPoint);
|
|
15
|
+
}
|
|
16
|
+
return point;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Remove a delta from an axis. This is essentially the steps of applyAxisDelta in reverse
|
|
20
|
+
*/
|
|
21
|
+
function removeAxisDelta(axis, translate = 0, scale = 1, origin = 0.5, boxScale, originAxis = axis, sourceAxis = axis) {
|
|
22
|
+
if (units.percent.test(translate)) {
|
|
23
|
+
translate = parseFloat(translate);
|
|
24
|
+
const relativeProgress = number.mixNumber(sourceAxis.min, sourceAxis.max, translate / 100);
|
|
25
|
+
translate = relativeProgress - sourceAxis.min;
|
|
26
|
+
}
|
|
27
|
+
if (typeof translate !== "number")
|
|
28
|
+
return;
|
|
29
|
+
let originPoint = number.mixNumber(originAxis.min, originAxis.max, origin);
|
|
30
|
+
if (axis === originAxis)
|
|
31
|
+
originPoint -= translate;
|
|
32
|
+
axis.min = removePointDelta(axis.min, translate, scale, originPoint, boxScale);
|
|
33
|
+
axis.max = removePointDelta(axis.max, translate, scale, originPoint, boxScale);
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Remove a transforms from an axis. This is essentially the steps of applyAxisTransforms in reverse
|
|
37
|
+
* and acts as a bridge between motion values and removeAxisDelta
|
|
38
|
+
*/
|
|
39
|
+
function removeAxisTransforms(axis, transforms, [key, scaleKey, originKey], origin, sourceAxis) {
|
|
40
|
+
removeAxisDelta(axis, transforms[key], transforms[scaleKey], transforms[originKey], transforms.scale, origin, sourceAxis);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The names of the motion values we want to apply as translation, scale and origin.
|
|
44
|
+
*/
|
|
45
|
+
const xKeys = ["x", "scaleX", "originX"];
|
|
46
|
+
const yKeys = ["y", "scaleY", "originY"];
|
|
47
|
+
/**
|
|
48
|
+
* Remove a transforms from an box. This is essentially the steps of applyAxisBox in reverse
|
|
49
|
+
* and acts as a bridge between motion values and removeAxisDelta
|
|
50
|
+
*/
|
|
51
|
+
function removeBoxTransforms(box, transforms, originBox, sourceBox) {
|
|
52
|
+
removeAxisTransforms(box.x, transforms, xKeys, originBox ? originBox.x : undefined, sourceBox ? sourceBox.x : undefined);
|
|
53
|
+
removeAxisTransforms(box.y, transforms, yKeys, originBox ? originBox.y : undefined, sourceBox ? sourceBox.y : undefined);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
exports.removeAxisDelta = removeAxisDelta;
|
|
57
|
+
exports.removeAxisTransforms = removeAxisTransforms;
|
|
58
|
+
exports.removeBoxTransforms = removeBoxTransforms;
|
|
59
|
+
exports.removePointDelta = removePointDelta;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { mixNumber } from '../../utils/mix/number.mjs';
|
|
2
|
+
import { percent } from '../../value/types/numbers/units.mjs';
|
|
3
|
+
import { scalePoint } from './delta-apply.mjs';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Remove a delta from a point. This is essentially the steps of applyPointDelta in reverse
|
|
7
|
+
*/
|
|
8
|
+
function removePointDelta(point, translate, scale, originPoint, boxScale) {
|
|
9
|
+
point -= translate;
|
|
10
|
+
point = scalePoint(point, 1 / scale, originPoint);
|
|
11
|
+
if (boxScale !== undefined) {
|
|
12
|
+
point = scalePoint(point, 1 / boxScale, originPoint);
|
|
13
|
+
}
|
|
14
|
+
return point;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Remove a delta from an axis. This is essentially the steps of applyAxisDelta in reverse
|
|
18
|
+
*/
|
|
19
|
+
function removeAxisDelta(axis, translate = 0, scale = 1, origin = 0.5, boxScale, originAxis = axis, sourceAxis = axis) {
|
|
20
|
+
if (percent.test(translate)) {
|
|
21
|
+
translate = parseFloat(translate);
|
|
22
|
+
const relativeProgress = mixNumber(sourceAxis.min, sourceAxis.max, translate / 100);
|
|
23
|
+
translate = relativeProgress - sourceAxis.min;
|
|
24
|
+
}
|
|
25
|
+
if (typeof translate !== "number")
|
|
26
|
+
return;
|
|
27
|
+
let originPoint = mixNumber(originAxis.min, originAxis.max, origin);
|
|
28
|
+
if (axis === originAxis)
|
|
29
|
+
originPoint -= translate;
|
|
30
|
+
axis.min = removePointDelta(axis.min, translate, scale, originPoint, boxScale);
|
|
31
|
+
axis.max = removePointDelta(axis.max, translate, scale, originPoint, boxScale);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Remove a transforms from an axis. This is essentially the steps of applyAxisTransforms in reverse
|
|
35
|
+
* and acts as a bridge between motion values and removeAxisDelta
|
|
36
|
+
*/
|
|
37
|
+
function removeAxisTransforms(axis, transforms, [key, scaleKey, originKey], origin, sourceAxis) {
|
|
38
|
+
removeAxisDelta(axis, transforms[key], transforms[scaleKey], transforms[originKey], transforms.scale, origin, sourceAxis);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* The names of the motion values we want to apply as translation, scale and origin.
|
|
42
|
+
*/
|
|
43
|
+
const xKeys = ["x", "scaleX", "originX"];
|
|
44
|
+
const yKeys = ["y", "scaleY", "originY"];
|
|
45
|
+
/**
|
|
46
|
+
* Remove a transforms from an box. This is essentially the steps of applyAxisBox in reverse
|
|
47
|
+
* and acts as a bridge between motion values and removeAxisDelta
|
|
48
|
+
*/
|
|
49
|
+
function removeBoxTransforms(box, transforms, originBox, sourceBox) {
|
|
50
|
+
removeAxisTransforms(box.x, transforms, xKeys, originBox ? originBox.x : undefined, sourceBox ? sourceBox.x : undefined);
|
|
51
|
+
removeAxisTransforms(box.y, transforms, yKeys, originBox ? originBox.y : undefined, sourceBox ? sourceBox.y : undefined);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { removeAxisDelta, removeAxisTransforms, removeBoxTransforms, removePointDelta };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const createAxisDelta = () => ({
|
|
4
|
+
translate: 0,
|
|
5
|
+
scale: 1,
|
|
6
|
+
origin: 0,
|
|
7
|
+
originPoint: 0,
|
|
8
|
+
});
|
|
9
|
+
const createDelta = () => ({
|
|
10
|
+
x: createAxisDelta(),
|
|
11
|
+
y: createAxisDelta(),
|
|
12
|
+
});
|
|
13
|
+
const createAxis = () => ({ min: 0, max: 0 });
|
|
14
|
+
const createBox = () => ({
|
|
15
|
+
x: createAxis(),
|
|
16
|
+
y: createAxis(),
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
exports.createAxis = createAxis;
|
|
20
|
+
exports.createAxisDelta = createAxisDelta;
|
|
21
|
+
exports.createBox = createBox;
|
|
22
|
+
exports.createDelta = createDelta;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const createAxisDelta = () => ({
|
|
2
|
+
translate: 0,
|
|
3
|
+
scale: 1,
|
|
4
|
+
origin: 0,
|
|
5
|
+
originPoint: 0,
|
|
6
|
+
});
|
|
7
|
+
const createDelta = () => ({
|
|
8
|
+
x: createAxisDelta(),
|
|
9
|
+
y: createAxisDelta(),
|
|
10
|
+
});
|
|
11
|
+
const createAxis = () => ({ min: 0, max: 0 });
|
|
12
|
+
const createBox = () => ({
|
|
13
|
+
x: createAxis(),
|
|
14
|
+
y: createAxis(),
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
export { createAxis, createAxisDelta, createBox, createDelta };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var deltaCalc = require('./delta-calc.js');
|
|
4
|
+
|
|
5
|
+
function isAxisDeltaZero(delta) {
|
|
6
|
+
return delta.translate === 0 && delta.scale === 1;
|
|
7
|
+
}
|
|
8
|
+
function isDeltaZero(delta) {
|
|
9
|
+
return isAxisDeltaZero(delta.x) && isAxisDeltaZero(delta.y);
|
|
10
|
+
}
|
|
11
|
+
function axisEquals(a, b) {
|
|
12
|
+
return a.min === b.min && a.max === b.max;
|
|
13
|
+
}
|
|
14
|
+
function boxEquals(a, b) {
|
|
15
|
+
return axisEquals(a.x, b.x) && axisEquals(a.y, b.y);
|
|
16
|
+
}
|
|
17
|
+
function axisEqualsRounded(a, b) {
|
|
18
|
+
return (Math.round(a.min) === Math.round(b.min) &&
|
|
19
|
+
Math.round(a.max) === Math.round(b.max));
|
|
20
|
+
}
|
|
21
|
+
function boxEqualsRounded(a, b) {
|
|
22
|
+
return axisEqualsRounded(a.x, b.x) && axisEqualsRounded(a.y, b.y);
|
|
23
|
+
}
|
|
24
|
+
function aspectRatio(box) {
|
|
25
|
+
return deltaCalc.calcLength(box.x) / deltaCalc.calcLength(box.y);
|
|
26
|
+
}
|
|
27
|
+
function axisDeltaEquals(a, b) {
|
|
28
|
+
return (a.translate === b.translate &&
|
|
29
|
+
a.scale === b.scale &&
|
|
30
|
+
a.originPoint === b.originPoint);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.aspectRatio = aspectRatio;
|
|
34
|
+
exports.axisDeltaEquals = axisDeltaEquals;
|
|
35
|
+
exports.axisEquals = axisEquals;
|
|
36
|
+
exports.axisEqualsRounded = axisEqualsRounded;
|
|
37
|
+
exports.boxEquals = boxEquals;
|
|
38
|
+
exports.boxEqualsRounded = boxEqualsRounded;
|
|
39
|
+
exports.isDeltaZero = isDeltaZero;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { calcLength } from './delta-calc.mjs';
|
|
2
|
+
|
|
3
|
+
function isAxisDeltaZero(delta) {
|
|
4
|
+
return delta.translate === 0 && delta.scale === 1;
|
|
5
|
+
}
|
|
6
|
+
function isDeltaZero(delta) {
|
|
7
|
+
return isAxisDeltaZero(delta.x) && isAxisDeltaZero(delta.y);
|
|
8
|
+
}
|
|
9
|
+
function axisEquals(a, b) {
|
|
10
|
+
return a.min === b.min && a.max === b.max;
|
|
11
|
+
}
|
|
12
|
+
function boxEquals(a, b) {
|
|
13
|
+
return axisEquals(a.x, b.x) && axisEquals(a.y, b.y);
|
|
14
|
+
}
|
|
15
|
+
function axisEqualsRounded(a, b) {
|
|
16
|
+
return (Math.round(a.min) === Math.round(b.min) &&
|
|
17
|
+
Math.round(a.max) === Math.round(b.max));
|
|
18
|
+
}
|
|
19
|
+
function boxEqualsRounded(a, b) {
|
|
20
|
+
return axisEqualsRounded(a.x, b.x) && axisEqualsRounded(a.y, b.y);
|
|
21
|
+
}
|
|
22
|
+
function aspectRatio(box) {
|
|
23
|
+
return calcLength(box.x) / calcLength(box.y);
|
|
24
|
+
}
|
|
25
|
+
function axisDeltaEquals(a, b) {
|
|
26
|
+
return (a.translate === b.translate &&
|
|
27
|
+
a.scale === b.scale &&
|
|
28
|
+
a.originPoint === b.originPoint);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { aspectRatio, axisDeltaEquals, axisEquals, axisEqualsRounded, boxEquals, boxEqualsRounded, isDeltaZero };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var addDomEvent = require('../../events/add-dom-event.js');
|
|
4
|
+
var createProjectionNode = require('./create-projection-node.js');
|
|
5
|
+
|
|
6
|
+
const DocumentProjectionNode = createProjectionNode.createProjectionNode({
|
|
7
|
+
attachResizeListener: (ref, notify) => addDomEvent.addDomEvent(ref, "resize", notify),
|
|
8
|
+
measureScroll: () => ({
|
|
9
|
+
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
|
|
10
|
+
y: document.documentElement.scrollTop || document.body?.scrollTop || 0,
|
|
11
|
+
}),
|
|
12
|
+
checkIsScrollRoot: () => true,
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
exports.DocumentProjectionNode = DocumentProjectionNode;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { addDomEvent } from '../../events/add-dom-event.mjs';
|
|
2
|
+
import { createProjectionNode } from './create-projection-node.mjs';
|
|
3
|
+
|
|
4
|
+
const DocumentProjectionNode = createProjectionNode({
|
|
5
|
+
attachResizeListener: (ref, notify) => addDomEvent(ref, "resize", notify),
|
|
6
|
+
measureScroll: () => ({
|
|
7
|
+
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
|
|
8
|
+
y: document.documentElement.scrollTop || document.body?.scrollTop || 0,
|
|
9
|
+
}),
|
|
10
|
+
checkIsScrollRoot: () => true,
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
export { DocumentProjectionNode };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var createProjectionNode = require('./create-projection-node.js');
|
|
4
|
+
var DocumentProjectionNode = require('./DocumentProjectionNode.js');
|
|
5
|
+
|
|
6
|
+
const rootProjectionNode = {
|
|
7
|
+
current: undefined,
|
|
8
|
+
};
|
|
9
|
+
const HTMLProjectionNode = createProjectionNode.createProjectionNode({
|
|
10
|
+
measureScroll: (instance) => ({
|
|
11
|
+
x: instance.scrollLeft,
|
|
12
|
+
y: instance.scrollTop,
|
|
13
|
+
}),
|
|
14
|
+
defaultParent: () => {
|
|
15
|
+
if (!rootProjectionNode.current) {
|
|
16
|
+
const documentNode = new DocumentProjectionNode.DocumentProjectionNode({});
|
|
17
|
+
documentNode.mount(window);
|
|
18
|
+
documentNode.setOptions({ layoutScroll: true });
|
|
19
|
+
rootProjectionNode.current = documentNode;
|
|
20
|
+
}
|
|
21
|
+
return rootProjectionNode.current;
|
|
22
|
+
},
|
|
23
|
+
resetTransform: (instance, value) => {
|
|
24
|
+
instance.style.transform = value !== undefined ? value : "none";
|
|
25
|
+
},
|
|
26
|
+
checkIsScrollRoot: (instance) => Boolean(window.getComputedStyle(instance).position === "fixed"),
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
exports.HTMLProjectionNode = HTMLProjectionNode;
|
|
30
|
+
exports.rootProjectionNode = rootProjectionNode;
|