@burdenoff/microfe-mybodyshield 2026.705.2 → 2026.706.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.js +5 -5
- package/dist/mybodyshield/pages/DashboardPage.js +422 -323
- package/dist/mybodyshield/pages/DashboardPage.js.map +1 -1
- package/dist/mybodyshield/pages/_shared/visuals.js +16 -16
- package/dist/mybodyshield/pages/_shared/visuals.js.map +1 -1
- package/dist/mybodyshield/pages/coaching/CoachingPage.js +235 -166
- package/dist/mybodyshield/pages/coaching/CoachingPage.js.map +1 -1
- package/dist/mybodyshield/pages/goals/GoalsPage.js +304 -249
- package/dist/mybodyshield/pages/goals/GoalsPage.js.map +1 -1
- package/dist/mybodyshield/pages/nutrition/NutritionPage.js +700 -533
- package/dist/mybodyshield/pages/nutrition/NutritionPage.js.map +1 -1
- package/dist/mybodyshield/pages/programs/ProgramDetailPage.js +518 -454
- package/dist/mybodyshield/pages/programs/ProgramDetailPage.js.map +1 -1
- package/dist/mybodyshield/pages/programs/ProgramsPage.js +282 -234
- package/dist/mybodyshield/pages/programs/ProgramsPage.js.map +1 -1
- package/dist/mybodyshield/pages/progress/ProgressPage.js +422 -311
- package/dist/mybodyshield/pages/progress/ProgressPage.js.map +1 -1
- package/dist/mybodyshield/pages/recovery/RecoveryPage.js +335 -246
- package/dist/mybodyshield/pages/recovery/RecoveryPage.js.map +1 -1
- package/dist/mybodyshield/pages/train/SessionDetailPage.js +395 -302
- package/dist/mybodyshield/pages/train/SessionDetailPage.js.map +1 -1
- package/dist/mybodyshield/pages/train/SessionsPage.js +111 -75
- package/dist/mybodyshield/pages/train/SessionsPage.js.map +1 -1
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +13 -0
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +1 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +14 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +63 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +55 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +62 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +19 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +260 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +24 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +61 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +29 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +22 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +140 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +44 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +41 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +53 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +63 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +48 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +26 -0
- package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js +72 -0
- package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +60 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +52 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +12 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +23 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +21 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +32 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +28 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +13 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js +10 -0
- package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +6 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +8 -0
- package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +15 -0
- package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +27 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +11 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +9 -0
- package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +109 -0
- package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +131 -0
- package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +86 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +168 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +47 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +59 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +63 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +69 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +29 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +26 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +27 -0
- package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +41 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +45 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +31 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +586 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +53 -0
- package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +19 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +20 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +206 -0
- package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +58 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +37 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +38 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/store.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/store.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +42 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +30 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +137 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +13 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +22 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +12 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +39 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +24 -0
- package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/stats/buffer.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +35 -0
- package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +32 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +54 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +11 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +7 -0
- package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js +94 -0
- package/dist/node_modules/motion-dom/dist/es/value/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +21 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +23 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +28 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +54 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +16 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +18 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js +10 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +26 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +66 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +34 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +14 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +8 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +6 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +15 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +1 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +9 -0
- package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/array.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/array.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/clamp.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
- package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +20 -0
- package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
- package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +33 -0
- package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js +12 -0
- package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js +8 -0
- package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/global-config.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/is-object.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js +10 -0
- package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/pipe.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js +9 -0
- package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +28 -0
- package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +6 -0
- package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +1 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js +10 -0
- package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +1 -0
- package/dist/node_modules/recharts/es6/cartesian/Area.js +435 -0
- package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -0
- package/dist/node_modules/recharts/es6/chart/{LineChart.js → AreaChart.js} +5 -5
- package/dist/node_modules/recharts/es6/chart/{LineChart.js.map → AreaChart.js.map} +1 -1
- package/package.json +5 -4
- package/dist/node_modules/recharts/es6/cartesian/Line.js +0 -473
- package/dist/node_modules/recharts/es6/cartesian/Line.js.map +0 -1
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { motion as e } from "../../../node_modules/framer-motion/dist/es/render/components/motion/proxy.js";
|
|
2
|
+
import { useReducedMotion as t } from "../../../node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js";
|
|
3
|
+
import { PageLayout as n } from "../../components/PageLayout.js";
|
|
4
|
+
import { MetricsCard as r } from "../../components/MetricsCard.js";
|
|
5
|
+
import { formatDate as ee, formatNumber as i, formatRelativeTime as a } from "../../utils/formatters.js";
|
|
6
|
+
import { ErrorView as o, LoadingView as te, Section as s } from "../../components/StateViews.js";
|
|
7
|
+
import { EmptyState as ne } from "../../components/EmptyState.js";
|
|
8
|
+
import { IconChip as c, RECOVERY_META as l } from "../_shared/visuals.js";
|
|
9
|
+
import { useMybLogRecovery as re, useMybRecoveryLogs as u } from "../../hooks/useMyBodyShieldApi.js";
|
|
8
10
|
import "../../hooks/index.js";
|
|
9
|
-
import { DataTable as
|
|
10
|
-
import { FilterTabs as
|
|
11
|
+
import { DataTable as ie } from "../../components/DataTable.js";
|
|
12
|
+
import { FilterTabs as ae } from "../../components/FilterTabs.js";
|
|
11
13
|
import "../../components/index.js";
|
|
12
|
-
import { Tooltip as
|
|
13
|
-
import { ResponsiveContainer as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
14
|
+
import { Tooltip as d } from "../../../node_modules/recharts/es6/component/Tooltip.js";
|
|
15
|
+
import { ResponsiveContainer as oe } from "../../../node_modules/recharts/es6/component/ResponsiveContainer.js";
|
|
16
|
+
import { ReferenceDot as f } from "../../../node_modules/recharts/es6/cartesian/ReferenceDot.js";
|
|
17
|
+
import { CartesianGrid as p } from "../../../node_modules/recharts/es6/cartesian/CartesianGrid.js";
|
|
18
|
+
import { Area as se } from "../../../node_modules/recharts/es6/cartesian/Area.js";
|
|
19
|
+
import { XAxis as ce } from "../../../node_modules/recharts/es6/cartesian/XAxis.js";
|
|
20
|
+
import { YAxis as le } from "../../../node_modules/recharts/es6/cartesian/YAxis.js";
|
|
21
|
+
import { AreaChart as ue } from "../../../node_modules/recharts/es6/chart/AreaChart.js";
|
|
22
|
+
import { useMemo as m, useState as h } from "react";
|
|
23
|
+
import { HeartPulse as g, Plus as _ } from "lucide-react";
|
|
24
|
+
import { jsx as v, jsxs as y } from "react/jsx-runtime";
|
|
25
|
+
import { Button as b, GlassCard as de, Input as x, Label as S, ResponsiveDialog as fe, ResponsiveDialogContent as pe, ResponsiveDialogDescription as me, ResponsiveDialogFooter as C, ResponsiveDialogHeader as w, ResponsiveDialogTitle as he, Select as ge, SelectContent as _e, SelectItem as ve, SelectTrigger as ye, SelectValue as be, Spinner as xe, Textarea as Se } from "@burdenoff/fe-libs/ui";
|
|
23
26
|
//#region src/mybodyshield/pages/recovery/RecoveryPage.tsx
|
|
24
27
|
var T = [
|
|
25
28
|
"SLEEP",
|
|
@@ -27,13 +30,13 @@ var T = [
|
|
|
27
30
|
"SORENESS",
|
|
28
31
|
"STRESS",
|
|
29
32
|
"MOOD"
|
|
30
|
-
],
|
|
33
|
+
], Ce = [{
|
|
31
34
|
value: "ALL",
|
|
32
35
|
label: "All"
|
|
33
36
|
}, ...T.map((e) => ({
|
|
34
37
|
value: e,
|
|
35
|
-
label:
|
|
36
|
-
}))], D = (e) => e >= 70 ? "success" : e >= 40 ? "warning" : "error", O = (e) => e >= 7 ? "success" : e >= 6 ? "warning" : "error";
|
|
38
|
+
label: l[e].label
|
|
39
|
+
}))], E = "var(--color-action-primary-bg)", D = (e) => e >= 70 ? "success" : e >= 40 ? "warning" : "error", O = (e) => e >= 7 ? "success" : e >= 6 ? "warning" : "error";
|
|
37
40
|
function k(e) {
|
|
38
41
|
let t = (e) => String(e).padStart(2, "0");
|
|
39
42
|
return `${e.getFullYear()}-${t(e.getMonth() + 1)}-${t(e.getDate())}T${t(e.getHours())}:${t(e.getMinutes())}`;
|
|
@@ -46,58 +49,80 @@ var A = (e = "READINESS") => ({
|
|
|
46
49
|
loggedAt: k(/* @__PURE__ */ new Date())
|
|
47
50
|
});
|
|
48
51
|
function j() {
|
|
49
|
-
let [k, j] =
|
|
50
|
-
|
|
52
|
+
let [k, j] = h("ALL"), [we, M] = h(!1), [N, P] = h(A), [F, I] = h(null), Te = u("READINESS"), Ee = u("SLEEP"), De = u("MOOD"), L = u(k === "ALL" ? void 0 : k), R = re(), z = t(), B = (e, t = !0) => z ? { initial: !1 } : {
|
|
53
|
+
initial: {
|
|
54
|
+
opacity: 0,
|
|
55
|
+
y: 14
|
|
56
|
+
},
|
|
57
|
+
animate: {
|
|
58
|
+
opacity: 1,
|
|
59
|
+
y: 0
|
|
60
|
+
},
|
|
61
|
+
transition: {
|
|
62
|
+
duration: .45,
|
|
63
|
+
delay: e,
|
|
64
|
+
ease: "easeOut"
|
|
65
|
+
},
|
|
66
|
+
...t ? { whileHover: {
|
|
67
|
+
y: -3,
|
|
68
|
+
transition: {
|
|
69
|
+
type: "spring",
|
|
70
|
+
stiffness: 300,
|
|
71
|
+
damping: 22
|
|
72
|
+
}
|
|
73
|
+
} } : {}
|
|
74
|
+
}, V = Te.data ?? [], H = Ee.data ?? [], U = De.data ?? [], W = L.data ?? [], G = m(() => [...V].sort((e, t) => new Date(t.loggedAt).getTime() - new Date(e.loggedAt).getTime())[0], [V]), K = m(() => [...U].sort((e, t) => new Date(t.loggedAt).getTime() - new Date(e.loggedAt).getTime())[0], [U]), q = m(() => H.length === 0 ? null : H.reduce((e, t) => e + t.sleepHours, 0) / H.length, [H]), J = k === "SLEEP", Y = k === "ALL" ? "All metrics" : l[k].label, X = m(() => [...W].sort((e, t) => new Date(e.loggedAt).getTime() - new Date(t.loggedAt).getTime()).map((e) => ({
|
|
75
|
+
label: ee(e.loggedAt),
|
|
51
76
|
value: J ? e.sleepHours : e.score
|
|
52
|
-
})), [W, J]), Q = (e = "READINESS") => {
|
|
53
|
-
|
|
54
|
-
}, $ =
|
|
55
|
-
if (
|
|
56
|
-
if (
|
|
57
|
-
|
|
77
|
+
})), [W, J]), Z = X.length > 0 ? X[X.length - 1] : void 0, Q = (e = "READINESS") => {
|
|
78
|
+
P(A(e)), I(null), M(!0);
|
|
79
|
+
}, $ = N.metric === "SLEEP", Oe = async () => {
|
|
80
|
+
if (I(null), $) {
|
|
81
|
+
if (N.sleepHours.trim() === "") {
|
|
82
|
+
I("Sleep hours is required for sleep entries.");
|
|
58
83
|
return;
|
|
59
84
|
}
|
|
60
|
-
let e = Number(
|
|
85
|
+
let e = Number(N.sleepHours);
|
|
61
86
|
if (!Number.isFinite(e) || e < 0 || e > 24) {
|
|
62
|
-
|
|
87
|
+
I("Enter sleep hours between 0 and 24.");
|
|
63
88
|
return;
|
|
64
89
|
}
|
|
65
|
-
} else if (
|
|
66
|
-
|
|
90
|
+
} else if (N.score.trim() === "") {
|
|
91
|
+
I("A score is required.");
|
|
67
92
|
return;
|
|
68
93
|
}
|
|
69
|
-
if (
|
|
70
|
-
let e = Number(
|
|
94
|
+
if (N.score.trim() !== "") {
|
|
95
|
+
let e = Number(N.score);
|
|
71
96
|
if (!Number.isFinite(e) || e < 0 || e > 100) {
|
|
72
|
-
|
|
97
|
+
I("Enter a score between 0 and 100.");
|
|
73
98
|
return;
|
|
74
99
|
}
|
|
75
100
|
}
|
|
76
101
|
let e = {
|
|
77
|
-
metric:
|
|
78
|
-
score:
|
|
79
|
-
sleepHours:
|
|
80
|
-
notes:
|
|
81
|
-
loggedAt:
|
|
102
|
+
metric: N.metric,
|
|
103
|
+
score: N.score.trim() === "" ? void 0 : Number(N.score),
|
|
104
|
+
sleepHours: N.sleepHours.trim() === "" ? void 0 : Number(N.sleepHours),
|
|
105
|
+
notes: N.notes.trim() || void 0,
|
|
106
|
+
loggedAt: N.loggedAt ? new Date(N.loggedAt).toISOString() : void 0
|
|
82
107
|
};
|
|
83
108
|
try {
|
|
84
|
-
await
|
|
109
|
+
await R.mutateAsync(e), M(!1);
|
|
85
110
|
} catch (e) {
|
|
86
|
-
|
|
111
|
+
I(e instanceof Error ? e.message : "Failed to log recovery.");
|
|
87
112
|
}
|
|
88
|
-
},
|
|
113
|
+
}, ke = [
|
|
89
114
|
{
|
|
90
115
|
key: "metric",
|
|
91
116
|
header: "Metric",
|
|
92
|
-
sortValue: (e) =>
|
|
117
|
+
sortValue: (e) => l[e.metric].label,
|
|
93
118
|
render: (e) => {
|
|
94
|
-
let t =
|
|
95
|
-
return /* @__PURE__ */
|
|
119
|
+
let t = l[e.metric], n = t.icon;
|
|
120
|
+
return /* @__PURE__ */ y("span", {
|
|
96
121
|
className: "inline-flex items-center gap-2.5",
|
|
97
|
-
children: [/* @__PURE__ */
|
|
98
|
-
icon: /* @__PURE__ */
|
|
122
|
+
children: [/* @__PURE__ */ v(c, {
|
|
123
|
+
icon: /* @__PURE__ */ v(n, { className: "h-4 w-4" }),
|
|
99
124
|
tint: t.tint
|
|
100
|
-
}), /* @__PURE__ */
|
|
125
|
+
}), /* @__PURE__ */ v("span", {
|
|
101
126
|
className: "font-medium text-text-primary",
|
|
102
127
|
children: t.label
|
|
103
128
|
})]
|
|
@@ -109,22 +134,22 @@ function j() {
|
|
|
109
134
|
header: "Value",
|
|
110
135
|
align: "right",
|
|
111
136
|
sortValue: (e) => e.metric === "SLEEP" ? e.sleepHours : e.score,
|
|
112
|
-
render: (e) => e.metric === "SLEEP" ? /* @__PURE__ */
|
|
137
|
+
render: (e) => e.metric === "SLEEP" ? /* @__PURE__ */ y("span", {
|
|
113
138
|
className: "tabular-nums text-text-primary",
|
|
114
|
-
children: [
|
|
115
|
-
}) : /* @__PURE__ */
|
|
139
|
+
children: [i(e.sleepHours, { maximumFractionDigits: 1 }), " h"]
|
|
140
|
+
}) : /* @__PURE__ */ v("span", {
|
|
116
141
|
className: "tabular-nums text-text-primary",
|
|
117
|
-
children:
|
|
142
|
+
children: i(e.score)
|
|
118
143
|
})
|
|
119
144
|
},
|
|
120
145
|
{
|
|
121
146
|
key: "notes",
|
|
122
147
|
header: "Notes",
|
|
123
148
|
hideOnMobile: !0,
|
|
124
|
-
render: (e) => e.notes && e.notes.trim() ? /* @__PURE__ */
|
|
149
|
+
render: (e) => e.notes && e.notes.trim() ? /* @__PURE__ */ v("span", {
|
|
125
150
|
className: "text-text-secondary",
|
|
126
151
|
children: e.notes
|
|
127
|
-
}) : /* @__PURE__ */
|
|
152
|
+
}) : /* @__PURE__ */ v("span", {
|
|
128
153
|
className: "text-text-tertiary",
|
|
129
154
|
children: "—"
|
|
130
155
|
})
|
|
@@ -134,48 +159,55 @@ function j() {
|
|
|
134
159
|
header: "Logged",
|
|
135
160
|
align: "right",
|
|
136
161
|
sortValue: (e) => new Date(e.loggedAt).getTime(),
|
|
137
|
-
render: (e) => /* @__PURE__ */
|
|
162
|
+
render: (e) => /* @__PURE__ */ v("span", {
|
|
138
163
|
className: "whitespace-nowrap text-text-tertiary",
|
|
139
|
-
children:
|
|
164
|
+
children: a(e.loggedAt)
|
|
140
165
|
})
|
|
141
166
|
}
|
|
142
|
-
],
|
|
143
|
-
return /* @__PURE__ */
|
|
167
|
+
], Ae = l.READINESS.icon, je = l.SLEEP.icon, Me = l.MOOD.icon;
|
|
168
|
+
return /* @__PURE__ */ y(n, {
|
|
144
169
|
title: "Recovery",
|
|
145
170
|
description: "Sleep, readiness, soreness, stress & mood.",
|
|
146
|
-
actions: /* @__PURE__ */
|
|
171
|
+
actions: /* @__PURE__ */ y(b, {
|
|
147
172
|
className: "gap-2",
|
|
148
173
|
onClick: () => Q(),
|
|
149
|
-
children: [/* @__PURE__ */ _
|
|
174
|
+
children: [/* @__PURE__ */ v(_, { className: "h-4 w-4" }), "Log recovery"]
|
|
150
175
|
}),
|
|
151
176
|
children: [
|
|
152
|
-
/* @__PURE__ */
|
|
177
|
+
/* @__PURE__ */ y(e.div, {
|
|
178
|
+
...B(0),
|
|
153
179
|
className: "grid grid-cols-1 gap-4 sm:grid-cols-3",
|
|
154
180
|
children: [
|
|
155
|
-
/* @__PURE__ */
|
|
156
|
-
icon: /* @__PURE__ */
|
|
157
|
-
|
|
181
|
+
/* @__PURE__ */ v(r, {
|
|
182
|
+
icon: /* @__PURE__ */ v(c, {
|
|
183
|
+
icon: /* @__PURE__ */ v(Ae, { className: "h-5 w-5" }),
|
|
184
|
+
tint: l.READINESS.tint
|
|
185
|
+
}),
|
|
186
|
+
value: G ? i(G.score) : "—",
|
|
158
187
|
label: "Latest readiness",
|
|
159
188
|
accent: G ? D(G.score) : void 0,
|
|
160
|
-
footer: G ? /* @__PURE__ */
|
|
189
|
+
footer: G ? /* @__PURE__ */ v("p", {
|
|
161
190
|
className: "text-xs text-text-tertiary",
|
|
162
|
-
children:
|
|
163
|
-
}) : /* @__PURE__ */
|
|
191
|
+
children: a(G.loggedAt)
|
|
192
|
+
}) : /* @__PURE__ */ v("button", {
|
|
164
193
|
type: "button",
|
|
165
194
|
onClick: () => Q("READINESS"),
|
|
166
195
|
className: "text-xs font-medium text-accent hover:underline",
|
|
167
196
|
children: "Log readiness →"
|
|
168
197
|
})
|
|
169
198
|
}),
|
|
170
|
-
/* @__PURE__ */
|
|
171
|
-
icon: /* @__PURE__ */
|
|
172
|
-
|
|
199
|
+
/* @__PURE__ */ v(r, {
|
|
200
|
+
icon: /* @__PURE__ */ v(c, {
|
|
201
|
+
icon: /* @__PURE__ */ v(je, { className: "h-5 w-5" }),
|
|
202
|
+
tint: l.SLEEP.tint
|
|
203
|
+
}),
|
|
204
|
+
value: q == null ? "—" : `${i(q, { maximumFractionDigits: 1 })} h`,
|
|
173
205
|
label: "Avg sleep",
|
|
174
206
|
accent: q == null ? void 0 : O(q),
|
|
175
|
-
footer: H.length > 0 ? /* @__PURE__ */
|
|
207
|
+
footer: H.length > 0 ? /* @__PURE__ */ y("p", {
|
|
176
208
|
className: "text-xs text-text-tertiary",
|
|
177
209
|
children: [
|
|
178
|
-
/* @__PURE__ */
|
|
210
|
+
/* @__PURE__ */ v("span", {
|
|
179
211
|
className: "tabular-nums text-text-secondary",
|
|
180
212
|
children: H.length
|
|
181
213
|
}),
|
|
@@ -183,22 +215,25 @@ function j() {
|
|
|
183
215
|
H.length === 1 ? "night" : "nights",
|
|
184
216
|
" logged"
|
|
185
217
|
]
|
|
186
|
-
}) : /* @__PURE__ */
|
|
218
|
+
}) : /* @__PURE__ */ v("button", {
|
|
187
219
|
type: "button",
|
|
188
220
|
onClick: () => Q("SLEEP"),
|
|
189
221
|
className: "text-xs font-medium text-accent hover:underline",
|
|
190
222
|
children: "Log sleep →"
|
|
191
223
|
})
|
|
192
224
|
}),
|
|
193
|
-
/* @__PURE__ */
|
|
194
|
-
icon: /* @__PURE__ */
|
|
195
|
-
|
|
225
|
+
/* @__PURE__ */ v(r, {
|
|
226
|
+
icon: /* @__PURE__ */ v(c, {
|
|
227
|
+
icon: /* @__PURE__ */ v(Me, { className: "h-5 w-5" }),
|
|
228
|
+
tint: l.MOOD.tint
|
|
229
|
+
}),
|
|
230
|
+
value: K ? i(K.score) : "—",
|
|
196
231
|
label: "Latest mood",
|
|
197
232
|
accent: K ? D(K.score) : void 0,
|
|
198
|
-
footer: K ? /* @__PURE__ */
|
|
233
|
+
footer: K ? /* @__PURE__ */ v("p", {
|
|
199
234
|
className: "text-xs text-text-tertiary",
|
|
200
|
-
children:
|
|
201
|
-
}) : /* @__PURE__ */
|
|
235
|
+
children: a(K.loggedAt)
|
|
236
|
+
}) : /* @__PURE__ */ v("button", {
|
|
202
237
|
type: "button",
|
|
203
238
|
onClick: () => Q("MOOD"),
|
|
204
239
|
className: "text-xs font-medium text-accent hover:underline",
|
|
@@ -207,270 +242,324 @@ function j() {
|
|
|
207
242
|
})
|
|
208
243
|
]
|
|
209
244
|
}),
|
|
210
|
-
/* @__PURE__ */
|
|
245
|
+
/* @__PURE__ */ v("div", {
|
|
211
246
|
className: "mt-6 flex flex-wrap items-center gap-3",
|
|
212
|
-
children: /* @__PURE__ */
|
|
213
|
-
options:
|
|
247
|
+
children: /* @__PURE__ */ v(ae, {
|
|
248
|
+
options: Ce,
|
|
214
249
|
value: k,
|
|
215
250
|
onChange: j
|
|
216
251
|
})
|
|
217
252
|
}),
|
|
218
|
-
/* @__PURE__ */
|
|
253
|
+
/* @__PURE__ */ v(s, {
|
|
219
254
|
title: `${Y} trend`,
|
|
220
255
|
description: J ? "Sleep hours over time." : "Recovery score over time.",
|
|
221
|
-
children: /* @__PURE__ */
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
className: "
|
|
226
|
-
children: /* @__PURE__ */
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
className: "flex size-11 items-center justify-center rounded-full bg-[var(--color-accent-soft)]",
|
|
235
|
-
children: /* @__PURE__ */ _(h, { className: "h-5 w-5 text-accent" })
|
|
236
|
-
}),
|
|
237
|
-
/* @__PURE__ */ _("p", {
|
|
238
|
-
className: "mt-3 text-sm font-medium text-text-primary",
|
|
239
|
-
children: "Nothing to chart yet"
|
|
240
|
-
}),
|
|
241
|
-
/* @__PURE__ */ v("p", {
|
|
242
|
-
className: "mt-1 max-w-xs text-xs text-text-tertiary",
|
|
243
|
-
children: [
|
|
244
|
-
"Log a few ",
|
|
245
|
-
Y.toLowerCase(),
|
|
246
|
-
" entries to see your trend here."
|
|
247
|
-
]
|
|
248
|
-
})
|
|
249
|
-
]
|
|
250
|
-
}) : /* @__PURE__ */ _(re, {
|
|
251
|
-
width: "100%",
|
|
252
|
-
height: 280,
|
|
253
|
-
children: /* @__PURE__ */ v(ce, {
|
|
254
|
-
data: Z,
|
|
255
|
-
margin: {
|
|
256
|
-
top: 12,
|
|
257
|
-
right: 16,
|
|
258
|
-
bottom: 4,
|
|
259
|
-
left: 4
|
|
260
|
-
},
|
|
256
|
+
children: /* @__PURE__ */ v(e.div, {
|
|
257
|
+
...B(.08),
|
|
258
|
+
children: /* @__PURE__ */ v(de, {
|
|
259
|
+
treatment: "glass",
|
|
260
|
+
className: "rounded-2xl p-6 transition-shadow duration-300 hover:shadow-2xl",
|
|
261
|
+
children: L.isLoading ? /* @__PURE__ */ v("div", {
|
|
262
|
+
className: "flex h-[280px] items-center justify-center",
|
|
263
|
+
children: /* @__PURE__ */ v(xe, { size: "lg" })
|
|
264
|
+
}) : L.isError ? /* @__PURE__ */ v(o, {
|
|
265
|
+
message: "We couldn't load this metric's history.",
|
|
266
|
+
onRetry: () => L.refetch()
|
|
267
|
+
}) : X.length === 0 ? /* @__PURE__ */ y("div", {
|
|
268
|
+
className: "flex h-[280px] flex-col items-center justify-center text-center",
|
|
261
269
|
children: [
|
|
262
|
-
/* @__PURE__ */
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
strokeWidth: 1
|
|
266
|
-
}),
|
|
267
|
-
/* @__PURE__ */ _(oe, {
|
|
268
|
-
dataKey: "label",
|
|
269
|
-
tickLine: !1,
|
|
270
|
-
axisLine: !1,
|
|
271
|
-
tickMargin: 8,
|
|
272
|
-
minTickGap: 20,
|
|
273
|
-
tick: {
|
|
274
|
-
fill: "var(--color-text-tertiary)",
|
|
275
|
-
fontSize: 12
|
|
276
|
-
}
|
|
270
|
+
/* @__PURE__ */ v("span", {
|
|
271
|
+
className: "flex size-11 items-center justify-center rounded-full bg-[var(--color-accent-soft)]",
|
|
272
|
+
children: /* @__PURE__ */ v(g, { className: "h-5 w-5 text-accent" })
|
|
277
273
|
}),
|
|
278
|
-
/* @__PURE__ */
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
axisLine: !1,
|
|
282
|
-
tick: {
|
|
283
|
-
fill: "var(--color-text-tertiary)",
|
|
284
|
-
fontSize: 12
|
|
285
|
-
}
|
|
274
|
+
/* @__PURE__ */ v("p", {
|
|
275
|
+
className: "mt-3 text-sm font-medium text-text-primary",
|
|
276
|
+
children: "Nothing to chart yet"
|
|
286
277
|
}),
|
|
287
|
-
/* @__PURE__ */
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
},
|
|
295
|
-
labelStyle: { color: "var(--color-text-tertiary)" },
|
|
296
|
-
cursor: {
|
|
297
|
-
stroke: "var(--color-border-seam)",
|
|
298
|
-
strokeWidth: 1
|
|
299
|
-
}
|
|
300
|
-
}),
|
|
301
|
-
/* @__PURE__ */ _(ae, {
|
|
302
|
-
type: "monotone",
|
|
303
|
-
dataKey: "value",
|
|
304
|
-
name: J ? "Sleep hours" : "Score",
|
|
305
|
-
stroke: X,
|
|
306
|
-
strokeWidth: 2,
|
|
307
|
-
dot: !1,
|
|
308
|
-
activeDot: {
|
|
309
|
-
r: 4,
|
|
310
|
-
strokeWidth: 2,
|
|
311
|
-
stroke: "var(--color-bg-surface)",
|
|
312
|
-
fill: X
|
|
313
|
-
}
|
|
278
|
+
/* @__PURE__ */ y("p", {
|
|
279
|
+
className: "mt-1 max-w-xs text-xs text-text-tertiary",
|
|
280
|
+
children: [
|
|
281
|
+
"Log a few ",
|
|
282
|
+
Y.toLowerCase(),
|
|
283
|
+
" entries to see your trend here."
|
|
284
|
+
]
|
|
314
285
|
})
|
|
315
286
|
]
|
|
287
|
+
}) : /* @__PURE__ */ v(oe, {
|
|
288
|
+
width: "100%",
|
|
289
|
+
height: 280,
|
|
290
|
+
children: /* @__PURE__ */ y(ue, {
|
|
291
|
+
data: X,
|
|
292
|
+
margin: {
|
|
293
|
+
top: 12,
|
|
294
|
+
right: 16,
|
|
295
|
+
bottom: 4,
|
|
296
|
+
left: 4
|
|
297
|
+
},
|
|
298
|
+
children: [
|
|
299
|
+
/* @__PURE__ */ v("defs", { children: /* @__PURE__ */ y("linearGradient", {
|
|
300
|
+
id: "myb-recovery-fill",
|
|
301
|
+
x1: "0",
|
|
302
|
+
y1: "0",
|
|
303
|
+
x2: "0",
|
|
304
|
+
y2: "1",
|
|
305
|
+
children: [
|
|
306
|
+
/* @__PURE__ */ v("stop", {
|
|
307
|
+
offset: "0%",
|
|
308
|
+
stopColor: E,
|
|
309
|
+
stopOpacity: .38
|
|
310
|
+
}),
|
|
311
|
+
/* @__PURE__ */ v("stop", {
|
|
312
|
+
offset: "55%",
|
|
313
|
+
stopColor: E,
|
|
314
|
+
stopOpacity: .12
|
|
315
|
+
}),
|
|
316
|
+
/* @__PURE__ */ v("stop", {
|
|
317
|
+
offset: "100%",
|
|
318
|
+
stopColor: E,
|
|
319
|
+
stopOpacity: 0
|
|
320
|
+
})
|
|
321
|
+
]
|
|
322
|
+
}) }),
|
|
323
|
+
/* @__PURE__ */ v(p, {
|
|
324
|
+
vertical: !1,
|
|
325
|
+
stroke: "var(--color-border-seam)",
|
|
326
|
+
strokeDasharray: "4 4"
|
|
327
|
+
}),
|
|
328
|
+
/* @__PURE__ */ v(ce, {
|
|
329
|
+
dataKey: "label",
|
|
330
|
+
tickLine: !1,
|
|
331
|
+
axisLine: !1,
|
|
332
|
+
tickMargin: 8,
|
|
333
|
+
minTickGap: 20,
|
|
334
|
+
tick: {
|
|
335
|
+
fill: "var(--color-text-tertiary)",
|
|
336
|
+
fontSize: 12
|
|
337
|
+
}
|
|
338
|
+
}),
|
|
339
|
+
/* @__PURE__ */ v(le, {
|
|
340
|
+
width: 44,
|
|
341
|
+
tickLine: !1,
|
|
342
|
+
axisLine: !1,
|
|
343
|
+
tick: {
|
|
344
|
+
fill: "var(--color-text-tertiary)",
|
|
345
|
+
fontSize: 12
|
|
346
|
+
}
|
|
347
|
+
}),
|
|
348
|
+
/* @__PURE__ */ v(d, {
|
|
349
|
+
contentStyle: {
|
|
350
|
+
background: "var(--color-bg-surface)",
|
|
351
|
+
border: "1px solid var(--color-border-seam)",
|
|
352
|
+
borderRadius: 12,
|
|
353
|
+
color: "var(--color-text-primary)",
|
|
354
|
+
fontSize: 12
|
|
355
|
+
},
|
|
356
|
+
labelStyle: { color: "var(--color-text-tertiary)" },
|
|
357
|
+
cursor: {
|
|
358
|
+
stroke: "var(--color-border-seam)",
|
|
359
|
+
strokeDasharray: "4 4"
|
|
360
|
+
}
|
|
361
|
+
}),
|
|
362
|
+
/* @__PURE__ */ v(se, {
|
|
363
|
+
type: "monotone",
|
|
364
|
+
dataKey: "value",
|
|
365
|
+
name: J ? "Sleep hours" : "Score",
|
|
366
|
+
stroke: E,
|
|
367
|
+
strokeWidth: 2.5,
|
|
368
|
+
fill: "url(#myb-recovery-fill)",
|
|
369
|
+
fillOpacity: 1,
|
|
370
|
+
dot: !1,
|
|
371
|
+
activeDot: {
|
|
372
|
+
r: 4,
|
|
373
|
+
strokeWidth: 2,
|
|
374
|
+
stroke: "var(--color-bg-surface)",
|
|
375
|
+
fill: E
|
|
376
|
+
},
|
|
377
|
+
isAnimationActive: !z,
|
|
378
|
+
animationDuration: 900
|
|
379
|
+
}),
|
|
380
|
+
Z && /* @__PURE__ */ v(f, {
|
|
381
|
+
x: Z.label,
|
|
382
|
+
y: Z.value,
|
|
383
|
+
r: 12,
|
|
384
|
+
isFront: !0,
|
|
385
|
+
ifOverflow: "visible",
|
|
386
|
+
fill: E,
|
|
387
|
+
fillOpacity: .16,
|
|
388
|
+
stroke: "none"
|
|
389
|
+
}),
|
|
390
|
+
Z && /* @__PURE__ */ v(f, {
|
|
391
|
+
x: Z.label,
|
|
392
|
+
y: Z.value,
|
|
393
|
+
r: 5,
|
|
394
|
+
isFront: !0,
|
|
395
|
+
ifOverflow: "visible",
|
|
396
|
+
fill: E,
|
|
397
|
+
stroke: "var(--color-bg-surface)",
|
|
398
|
+
strokeWidth: 2
|
|
399
|
+
})
|
|
400
|
+
]
|
|
401
|
+
})
|
|
316
402
|
})
|
|
317
403
|
})
|
|
318
404
|
})
|
|
319
405
|
}),
|
|
320
|
-
/* @__PURE__ */
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
406
|
+
/* @__PURE__ */ v(e.div, {
|
|
407
|
+
...B(.16, !1),
|
|
408
|
+
children: /* @__PURE__ */ v(s, {
|
|
409
|
+
title: "Recovery log",
|
|
410
|
+
description: "Every recovery entry, most recent first.",
|
|
411
|
+
children: L.isLoading ? /* @__PURE__ */ v(te, { label: "Loading recovery logs…" }) : L.isError ? /* @__PURE__ */ v(o, {
|
|
412
|
+
message: "We couldn't load your recovery logs.",
|
|
413
|
+
onRetry: () => L.refetch()
|
|
414
|
+
}) : W.length === 0 ? /* @__PURE__ */ v(ne, {
|
|
415
|
+
illustration: "empty-data",
|
|
416
|
+
icon: /* @__PURE__ */ v(g, { className: "h-10 w-10" }),
|
|
417
|
+
title: "No recovery logs yet",
|
|
418
|
+
description: "Track your sleep, readiness, soreness, stress or mood to see how your body is recovering between sessions.",
|
|
419
|
+
action: /* @__PURE__ */ y(b, {
|
|
420
|
+
className: "gap-2",
|
|
421
|
+
onClick: () => Q(),
|
|
422
|
+
children: [/* @__PURE__ */ v(_, { className: "h-4 w-4" }), "Log recovery"]
|
|
423
|
+
})
|
|
424
|
+
}) : /* @__PURE__ */ v(ie, {
|
|
425
|
+
columns: ke,
|
|
426
|
+
rows: W,
|
|
427
|
+
rowKey: (e) => e.id,
|
|
428
|
+
defaultSort: {
|
|
429
|
+
key: "loggedAt",
|
|
430
|
+
dir: "desc"
|
|
431
|
+
}
|
|
335
432
|
})
|
|
336
|
-
}) : /* @__PURE__ */ _(d, {
|
|
337
|
-
columns: Ce,
|
|
338
|
-
rows: W,
|
|
339
|
-
rowKey: (e) => e.id,
|
|
340
|
-
defaultSort: {
|
|
341
|
-
key: "loggedAt",
|
|
342
|
-
dir: "desc"
|
|
343
|
-
}
|
|
344
433
|
})
|
|
345
434
|
}),
|
|
346
|
-
/* @__PURE__ */
|
|
347
|
-
open:
|
|
348
|
-
onOpenChange:
|
|
349
|
-
children: /* @__PURE__ */
|
|
435
|
+
/* @__PURE__ */ v(fe, {
|
|
436
|
+
open: we,
|
|
437
|
+
onOpenChange: M,
|
|
438
|
+
children: /* @__PURE__ */ y(pe, {
|
|
350
439
|
className: "sm:max-w-[480px]",
|
|
351
440
|
children: [
|
|
352
|
-
/* @__PURE__ */
|
|
353
|
-
/* @__PURE__ */
|
|
441
|
+
/* @__PURE__ */ y(w, { children: [/* @__PURE__ */ v(he, { children: "Log recovery" }), /* @__PURE__ */ v(me, { children: "Capture how your body is recovering — one metric per entry." })] }),
|
|
442
|
+
/* @__PURE__ */ y("div", {
|
|
354
443
|
className: "space-y-4 py-2",
|
|
355
444
|
children: [
|
|
356
|
-
/* @__PURE__ */
|
|
445
|
+
/* @__PURE__ */ y("div", {
|
|
357
446
|
className: "space-y-1.5",
|
|
358
|
-
children: [/* @__PURE__ */
|
|
447
|
+
children: [/* @__PURE__ */ v(S, {
|
|
359
448
|
htmlFor: "myb-recovery-metric",
|
|
360
449
|
children: "Metric"
|
|
361
|
-
}), /* @__PURE__ */
|
|
362
|
-
value:
|
|
363
|
-
onValueChange: (e) =>
|
|
450
|
+
}), /* @__PURE__ */ y(ge, {
|
|
451
|
+
value: N.metric,
|
|
452
|
+
onValueChange: (e) => P((t) => ({
|
|
364
453
|
...t,
|
|
365
454
|
metric: e
|
|
366
455
|
})),
|
|
367
|
-
children: [/* @__PURE__ */
|
|
456
|
+
children: [/* @__PURE__ */ v(ye, {
|
|
368
457
|
id: "myb-recovery-metric",
|
|
369
|
-
children: /* @__PURE__ */
|
|
370
|
-
}), /* @__PURE__ */
|
|
458
|
+
children: /* @__PURE__ */ v(be, {})
|
|
459
|
+
}), /* @__PURE__ */ v(_e, { children: T.map((e) => /* @__PURE__ */ v(ve, {
|
|
371
460
|
value: e,
|
|
372
|
-
children:
|
|
461
|
+
children: l[e].label
|
|
373
462
|
}, e)) })]
|
|
374
463
|
})]
|
|
375
464
|
}),
|
|
376
|
-
$ && /* @__PURE__ */
|
|
465
|
+
$ && /* @__PURE__ */ y("div", {
|
|
377
466
|
className: "space-y-1.5",
|
|
378
467
|
children: [
|
|
379
|
-
/* @__PURE__ */
|
|
468
|
+
/* @__PURE__ */ v(S, {
|
|
380
469
|
htmlFor: "myb-recovery-sleep",
|
|
381
470
|
children: "Sleep hours"
|
|
382
471
|
}),
|
|
383
|
-
/* @__PURE__ */
|
|
472
|
+
/* @__PURE__ */ v(x, {
|
|
384
473
|
id: "myb-recovery-sleep",
|
|
385
474
|
type: "number",
|
|
386
475
|
min: "0",
|
|
387
476
|
max: "24",
|
|
388
477
|
step: "0.1",
|
|
389
|
-
value:
|
|
390
|
-
onChange: (e) =>
|
|
478
|
+
value: N.sleepHours,
|
|
479
|
+
onChange: (e) => P((t) => ({
|
|
391
480
|
...t,
|
|
392
481
|
sleepHours: e.target.value
|
|
393
482
|
})),
|
|
394
483
|
placeholder: "e.g. 7.5"
|
|
395
484
|
}),
|
|
396
|
-
/* @__PURE__ */
|
|
485
|
+
/* @__PURE__ */ v("p", {
|
|
397
486
|
className: "text-xs text-text-tertiary",
|
|
398
487
|
children: "Primary measure for sleep entries."
|
|
399
488
|
})
|
|
400
489
|
]
|
|
401
490
|
}),
|
|
402
|
-
/* @__PURE__ */
|
|
491
|
+
/* @__PURE__ */ y("div", {
|
|
403
492
|
className: "space-y-1.5",
|
|
404
493
|
children: [
|
|
405
|
-
/* @__PURE__ */
|
|
494
|
+
/* @__PURE__ */ y(S, {
|
|
406
495
|
htmlFor: "myb-recovery-score",
|
|
407
496
|
children: ["Score", $ ? " (optional)" : ""]
|
|
408
497
|
}),
|
|
409
|
-
/* @__PURE__ */
|
|
498
|
+
/* @__PURE__ */ v(x, {
|
|
410
499
|
id: "myb-recovery-score",
|
|
411
500
|
type: "number",
|
|
412
501
|
min: "0",
|
|
413
502
|
max: "100",
|
|
414
503
|
step: "1",
|
|
415
|
-
value:
|
|
416
|
-
onChange: (e) =>
|
|
504
|
+
value: N.score,
|
|
505
|
+
onChange: (e) => P((t) => ({
|
|
417
506
|
...t,
|
|
418
507
|
score: e.target.value
|
|
419
508
|
})),
|
|
420
509
|
placeholder: "0–100"
|
|
421
510
|
}),
|
|
422
|
-
/* @__PURE__ */
|
|
511
|
+
/* @__PURE__ */ v("p", {
|
|
423
512
|
className: "text-xs text-text-tertiary",
|
|
424
513
|
children: $ ? "Optional 0–100 sleep-quality score." : "A 0–100 rating for this metric."
|
|
425
514
|
})
|
|
426
515
|
]
|
|
427
516
|
}),
|
|
428
|
-
/* @__PURE__ */
|
|
517
|
+
/* @__PURE__ */ y("div", {
|
|
429
518
|
className: "space-y-1.5",
|
|
430
|
-
children: [/* @__PURE__ */
|
|
519
|
+
children: [/* @__PURE__ */ v(S, {
|
|
431
520
|
htmlFor: "myb-recovery-at",
|
|
432
521
|
children: "Logged at"
|
|
433
|
-
}), /* @__PURE__ */
|
|
522
|
+
}), /* @__PURE__ */ v(x, {
|
|
434
523
|
id: "myb-recovery-at",
|
|
435
524
|
type: "datetime-local",
|
|
436
|
-
value:
|
|
437
|
-
onChange: (e) =>
|
|
525
|
+
value: N.loggedAt,
|
|
526
|
+
onChange: (e) => P((t) => ({
|
|
438
527
|
...t,
|
|
439
528
|
loggedAt: e.target.value
|
|
440
529
|
}))
|
|
441
530
|
})]
|
|
442
531
|
}),
|
|
443
|
-
/* @__PURE__ */
|
|
532
|
+
/* @__PURE__ */ y("div", {
|
|
444
533
|
className: "space-y-1.5",
|
|
445
|
-
children: [/* @__PURE__ */
|
|
534
|
+
children: [/* @__PURE__ */ v(S, {
|
|
446
535
|
htmlFor: "myb-recovery-notes",
|
|
447
536
|
children: "Notes"
|
|
448
|
-
}), /* @__PURE__ */
|
|
537
|
+
}), /* @__PURE__ */ v(Se, {
|
|
449
538
|
id: "myb-recovery-notes",
|
|
450
539
|
rows: 3,
|
|
451
|
-
value:
|
|
452
|
-
onChange: (e) =>
|
|
540
|
+
value: N.notes,
|
|
541
|
+
onChange: (e) => P((t) => ({
|
|
453
542
|
...t,
|
|
454
543
|
notes: e.target.value
|
|
455
544
|
})),
|
|
456
545
|
placeholder: "How are you feeling? (optional)"
|
|
457
546
|
})]
|
|
458
547
|
}),
|
|
459
|
-
|
|
548
|
+
F && /* @__PURE__ */ v("p", {
|
|
460
549
|
className: "text-sm text-status-error-text",
|
|
461
|
-
children:
|
|
550
|
+
children: F
|
|
462
551
|
})
|
|
463
552
|
]
|
|
464
553
|
}),
|
|
465
|
-
/* @__PURE__ */
|
|
554
|
+
/* @__PURE__ */ y(C, { children: [/* @__PURE__ */ v(b, {
|
|
466
555
|
variant: "outline",
|
|
467
|
-
onClick: () =>
|
|
468
|
-
disabled:
|
|
556
|
+
onClick: () => M(!1),
|
|
557
|
+
disabled: R.isPending,
|
|
469
558
|
children: "Cancel"
|
|
470
|
-
}), /* @__PURE__ */
|
|
471
|
-
onClick:
|
|
472
|
-
disabled:
|
|
473
|
-
children:
|
|
559
|
+
}), /* @__PURE__ */ v(b, {
|
|
560
|
+
onClick: Oe,
|
|
561
|
+
disabled: R.isPending,
|
|
562
|
+
children: R.isPending ? "Saving…" : "Log recovery"
|
|
474
563
|
})] })
|
|
475
564
|
]
|
|
476
565
|
})
|