@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.
Files changed (568) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +5 -5
  2. package/dist/mybodyshield/pages/DashboardPage.js +422 -323
  3. package/dist/mybodyshield/pages/DashboardPage.js.map +1 -1
  4. package/dist/mybodyshield/pages/_shared/visuals.js +16 -16
  5. package/dist/mybodyshield/pages/_shared/visuals.js.map +1 -1
  6. package/dist/mybodyshield/pages/coaching/CoachingPage.js +235 -166
  7. package/dist/mybodyshield/pages/coaching/CoachingPage.js.map +1 -1
  8. package/dist/mybodyshield/pages/goals/GoalsPage.js +304 -249
  9. package/dist/mybodyshield/pages/goals/GoalsPage.js.map +1 -1
  10. package/dist/mybodyshield/pages/nutrition/NutritionPage.js +700 -533
  11. package/dist/mybodyshield/pages/nutrition/NutritionPage.js.map +1 -1
  12. package/dist/mybodyshield/pages/programs/ProgramDetailPage.js +518 -454
  13. package/dist/mybodyshield/pages/programs/ProgramDetailPage.js.map +1 -1
  14. package/dist/mybodyshield/pages/programs/ProgramsPage.js +282 -234
  15. package/dist/mybodyshield/pages/programs/ProgramsPage.js.map +1 -1
  16. package/dist/mybodyshield/pages/progress/ProgressPage.js +422 -311
  17. package/dist/mybodyshield/pages/progress/ProgressPage.js.map +1 -1
  18. package/dist/mybodyshield/pages/recovery/RecoveryPage.js +335 -246
  19. package/dist/mybodyshield/pages/recovery/RecoveryPage.js.map +1 -1
  20. package/dist/mybodyshield/pages/train/SessionDetailPage.js +395 -302
  21. package/dist/mybodyshield/pages/train/SessionDetailPage.js.map +1 -1
  22. package/dist/mybodyshield/pages/train/SessionsPage.js +111 -75
  23. package/dist/mybodyshield/pages/train/SessionsPage.js.map +1 -1
  24. package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +13 -0
  25. package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +1 -0
  26. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +14 -0
  27. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +1 -0
  28. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js +63 -0
  29. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.js.map +1 -0
  30. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js +55 -0
  31. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.js.map +1 -0
  32. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js +62 -0
  33. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/index.js.map +1 -0
  34. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js +22 -0
  35. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.js.map +1 -0
  36. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js +13 -0
  37. package/dist/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.js.map +1 -0
  38. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js +8 -0
  39. package/dist/node_modules/framer-motion/dist/es/context/LayoutGroupContext.js.map +1 -0
  40. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js +8 -0
  41. package/dist/node_modules/framer-motion/dist/es/context/LazyContext.js.map +1 -0
  42. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js +12 -0
  43. package/dist/node_modules/framer-motion/dist/es/context/MotionConfigContext.js.map +1 -0
  44. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js +19 -0
  45. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/create.js.map +1 -0
  46. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js +8 -0
  47. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/index.js.map +1 -0
  48. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js +17 -0
  49. package/dist/node_modules/framer-motion/dist/es/context/MotionContext/utils.js.map +1 -0
  50. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js +8 -0
  51. package/dist/node_modules/framer-motion/dist/es/context/PresenceContext.js.map +1 -0
  52. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js +8 -0
  53. package/dist/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.js.map +1 -0
  54. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js +10 -0
  55. package/dist/node_modules/framer-motion/dist/es/events/add-pointer-event.js.map +1 -0
  56. package/dist/node_modules/framer-motion/dist/es/events/event-info.js +13 -0
  57. package/dist/node_modules/framer-motion/dist/es/events/event-info.js.map +1 -0
  58. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js +260 -0
  59. package/dist/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.js.map +1 -0
  60. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js +24 -0
  61. package/dist/node_modules/framer-motion/dist/es/gestures/drag/index.js.map +1 -0
  62. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js +61 -0
  63. package/dist/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.js.map +1 -0
  64. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js +29 -0
  65. package/dist/node_modules/framer-motion/dist/es/gestures/focus.js.map +1 -0
  66. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js +22 -0
  67. package/dist/node_modules/framer-motion/dist/es/gestures/hover.js.map +1 -0
  68. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js +140 -0
  69. package/dist/node_modules/framer-motion/dist/es/gestures/pan/PanSession.js.map +1 -0
  70. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js +44 -0
  71. package/dist/node_modules/framer-motion/dist/es/gestures/pan/index.js.map +1 -0
  72. package/dist/node_modules/framer-motion/dist/es/gestures/press.js +28 -0
  73. package/dist/node_modules/framer-motion/dist/es/gestures/press.js.map +1 -0
  74. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js +41 -0
  75. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/exit.js.map +1 -0
  76. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js +27 -0
  77. package/dist/node_modules/framer-motion/dist/es/motion/features/animation/index.js.map +1 -0
  78. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js +11 -0
  79. package/dist/node_modules/framer-motion/dist/es/motion/features/animations.js.map +1 -0
  80. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js +53 -0
  81. package/dist/node_modules/framer-motion/dist/es/motion/features/definitions.js.map +1 -0
  82. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js +17 -0
  83. package/dist/node_modules/framer-motion/dist/es/motion/features/drag.js.map +1 -0
  84. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js +15 -0
  85. package/dist/node_modules/framer-motion/dist/es/motion/features/gestures.js.map +1 -0
  86. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js +63 -0
  87. package/dist/node_modules/framer-motion/dist/es/motion/features/layout/MeasureLayout.js.map +1 -0
  88. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js +11 -0
  89. package/dist/node_modules/framer-motion/dist/es/motion/features/layout.js.map +1 -0
  90. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js +15 -0
  91. package/dist/node_modules/framer-motion/dist/es/motion/features/load-features.js.map +1 -0
  92. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js +48 -0
  93. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/index.js.map +1 -0
  94. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js +26 -0
  95. package/dist/node_modules/framer-motion/dist/es/motion/features/viewport/observers.js.map +1 -0
  96. package/dist/node_modules/framer-motion/dist/es/motion/index.js +72 -0
  97. package/dist/node_modules/framer-motion/dist/es/motion/index.js.map +1 -0
  98. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js +6 -0
  99. package/dist/node_modules/framer-motion/dist/es/motion/utils/symbol.js.map +1 -0
  100. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js +23 -0
  101. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.js.map +1 -0
  102. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js +60 -0
  103. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.js.map +1 -0
  104. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js +52 -0
  105. package/dist/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.js.map +1 -0
  106. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js +9 -0
  107. package/dist/node_modules/framer-motion/dist/es/motion/utils/valid-prop.js.map +1 -0
  108. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js +12 -0
  109. package/dist/node_modules/framer-motion/dist/es/render/components/create-proxy.js.map +1 -0
  110. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js +15 -0
  111. package/dist/node_modules/framer-motion/dist/es/render/components/motion/feature-bundle.js.map +1 -0
  112. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js +9 -0
  113. package/dist/node_modules/framer-motion/dist/es/render/components/motion/proxy.js.map +1 -0
  114. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js +10 -0
  115. package/dist/node_modules/framer-motion/dist/es/render/dom/create-visual-element.js.map +1 -0
  116. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js +23 -0
  117. package/dist/node_modules/framer-motion/dist/es/render/dom/use-render.js.map +1 -0
  118. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js +21 -0
  119. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/filter-props.js.map +1 -0
  120. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js +9 -0
  121. package/dist/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.js.map +1 -0
  122. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js +13 -0
  123. package/dist/node_modules/framer-motion/dist/es/render/html/use-html-visual-state.js.map +1 -0
  124. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js +28 -0
  125. package/dist/node_modules/framer-motion/dist/es/render/html/use-props.js.map +1 -0
  126. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js +11 -0
  127. package/dist/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.js.map +1 -0
  128. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js +32 -0
  129. package/dist/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.js.map +1 -0
  130. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js +28 -0
  131. package/dist/node_modules/framer-motion/dist/es/render/svg/use-props.js.map +1 -0
  132. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js +13 -0
  133. package/dist/node_modules/framer-motion/dist/es/render/svg/use-svg-visual-state.js.map +1 -0
  134. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js +10 -0
  135. package/dist/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.js.map +1 -0
  136. package/dist/node_modules/framer-motion/dist/es/utils/distance.js +10 -0
  137. package/dist/node_modules/framer-motion/dist/es/utils/distance.js.map +1 -0
  138. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js +6 -0
  139. package/dist/node_modules/framer-motion/dist/es/utils/get-context-window.js.map +1 -0
  140. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js +6 -0
  141. package/dist/node_modules/framer-motion/dist/es/utils/is-browser.js.map +1 -0
  142. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js +8 -0
  143. package/dist/node_modules/framer-motion/dist/es/utils/is-ref-object.js.map +1 -0
  144. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js +15 -0
  145. package/dist/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js.map +1 -0
  146. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js +27 -0
  147. package/dist/node_modules/framer-motion/dist/es/utils/use-composed-ref.js.map +1 -0
  148. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js +11 -0
  149. package/dist/node_modules/framer-motion/dist/es/utils/use-constant.js.map +1 -0
  150. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js +9 -0
  151. package/dist/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.js.map +1 -0
  152. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js +109 -0
  153. package/dist/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.js.map +1 -0
  154. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js +131 -0
  155. package/dist/node_modules/motion-dom/dist/es/animation/JSAnimation.js.map +1 -0
  156. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js +86 -0
  157. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimation.js.map +1 -0
  158. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js +30 -0
  159. package/dist/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.js.map +1 -0
  160. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js +12 -0
  161. package/dist/node_modules/motion-dom/dist/es/animation/animate/single-value.js.map +1 -0
  162. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js +15 -0
  163. package/dist/node_modules/motion-dom/dist/es/animation/drivers/frame.js.map +1 -0
  164. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js +34 -0
  165. package/dist/node_modules/motion-dom/dist/es/animation/generators/inertia.js.map +1 -0
  166. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js +24 -0
  167. package/dist/node_modules/motion-dom/dist/es/animation/generators/keyframes.js.map +1 -0
  168. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js +168 -0
  169. package/dist/node_modules/motion-dom/dist/es/animation/generators/spring.js.map +1 -0
  170. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js +11 -0
  171. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/calc-duration.js.map +1 -0
  172. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js +18 -0
  173. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.js.map +1 -0
  174. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js +8 -0
  175. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.js.map +1 -0
  176. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js +11 -0
  177. package/dist/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.js.map +1 -0
  178. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js +47 -0
  179. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.js.map +1 -0
  180. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js +59 -0
  181. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.js.map +1 -0
  182. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js +28 -0
  183. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.js.map +1 -0
  184. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js +23 -0
  185. package/dist/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.js.map +1 -0
  186. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js +63 -0
  187. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.js.map +1 -0
  188. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js +69 -0
  189. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.js.map +1 -0
  190. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js +10 -0
  191. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/get-final.js.map +1 -0
  192. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js +10 -0
  193. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.js.map +1 -0
  194. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js +14 -0
  195. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.js.map +1 -0
  196. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js +8 -0
  197. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.js.map +1 -0
  198. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js +8 -0
  199. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.js.map +1 -0
  200. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js +9 -0
  201. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.js.map +1 -0
  202. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js +20 -0
  203. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.js.map +1 -0
  204. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js +38 -0
  205. package/dist/node_modules/motion-dom/dist/es/animation/keyframes/utils/unit-conversion.js.map +1 -0
  206. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js +6 -0
  207. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.js.map +1 -0
  208. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js +9 -0
  209. package/dist/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.js.map +1 -0
  210. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js +24 -0
  211. package/dist/node_modules/motion-dom/dist/es/animation/utils/WithPromise.js.map +1 -0
  212. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js +9 -0
  213. package/dist/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.js.map +1 -0
  214. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js +20 -0
  215. package/dist/node_modules/motion-dom/dist/es/animation/utils/can-animate.js.map +1 -0
  216. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js +27 -0
  217. package/dist/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.js.map +1 -0
  218. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js +29 -0
  219. package/dist/node_modules/motion-dom/dist/es/animation/utils/default-transitions.js.map +1 -0
  220. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js +10 -0
  221. package/dist/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.js.map +1 -0
  222. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js +7 -0
  223. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-animatable.js.map +1 -0
  224. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js +9 -0
  225. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-css-variable.js.map +1 -0
  226. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js +21 -0
  227. package/dist/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.js.map +1 -0
  228. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js +8 -0
  229. package/dist/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.js.map +1 -0
  230. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js +18 -0
  231. package/dist/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.js.map +1 -0
  232. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js +15 -0
  233. package/dist/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.js.map +1 -0
  234. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js +6 -0
  235. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/cubic-bezier.js.map +1 -0
  236. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js +13 -0
  237. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.js.map +1 -0
  238. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js +37 -0
  239. package/dist/node_modules/motion-dom/dist/es/animation/waapi/easing/supported.js.map +1 -0
  240. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js +21 -0
  241. package/dist/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.js.map +1 -0
  242. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js +26 -0
  243. package/dist/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.js.map +1 -0
  244. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js +11 -0
  245. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.js.map +1 -0
  246. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js +10 -0
  247. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.js.map +1 -0
  248. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js +10 -0
  249. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/is-browser-color.js.map +1 -0
  250. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js +10 -0
  251. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/linear.js.map +1 -0
  252. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js +19 -0
  253. package/dist/node_modules/motion-dom/dist/es/animation/waapi/utils/unsupported-easing.js.map +1 -0
  254. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js +8 -0
  255. package/dist/node_modules/motion-dom/dist/es/events/add-dom-event.js.map +1 -0
  256. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js +32 -0
  257. package/dist/node_modules/motion-dom/dist/es/frameloop/batcher.js.map +1 -0
  258. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js +8 -0
  259. package/dist/node_modules/motion-dom/dist/es/frameloop/frame.js.map +1 -0
  260. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js +7 -0
  261. package/dist/node_modules/motion-dom/dist/es/frameloop/microtask.js.map +1 -0
  262. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js +15 -0
  263. package/dist/node_modules/motion-dom/dist/es/frameloop/order.js.map +1 -0
  264. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js +34 -0
  265. package/dist/node_modules/motion-dom/dist/es/frameloop/render-step.js.map +1 -0
  266. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js +17 -0
  267. package/dist/node_modules/motion-dom/dist/es/frameloop/sync-time.js.map +1 -0
  268. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js +12 -0
  269. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/is-active.js.map +1 -0
  270. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js +13 -0
  271. package/dist/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.js.map +1 -0
  272. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js +38 -0
  273. package/dist/node_modules/motion-dom/dist/es/gestures/hover.js.map +1 -0
  274. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js +38 -0
  275. package/dist/node_modules/motion-dom/dist/es/gestures/press/index.js.map +1 -0
  276. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js +23 -0
  277. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.js.map +1 -0
  278. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js +30 -0
  279. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.js.map +1 -0
  280. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js +6 -0
  281. package/dist/node_modules/motion-dom/dist/es/gestures/press/utils/state.js.map +1 -0
  282. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js +6 -0
  283. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.js.map +1 -0
  284. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js +6 -0
  285. package/dist/node_modules/motion-dom/dist/es/gestures/utils/is-primary-pointer.js.map +1 -0
  286. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js +18 -0
  287. package/dist/node_modules/motion-dom/dist/es/gestures/utils/setup.js.map +1 -0
  288. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js +27 -0
  289. package/dist/node_modules/motion-dom/dist/es/projection/animation/mix-values.js.map +1 -0
  290. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js +41 -0
  291. package/dist/node_modules/motion-dom/dist/es/projection/geometry/conversion.js.map +1 -0
  292. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js +14 -0
  293. package/dist/node_modules/motion-dom/dist/es/projection/geometry/copy.js.map +1 -0
  294. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js +45 -0
  295. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.js.map +1 -0
  296. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js +32 -0
  297. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.js.map +1 -0
  298. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js +31 -0
  299. package/dist/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.js.map +1 -0
  300. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js +20 -0
  301. package/dist/node_modules/motion-dom/dist/es/projection/geometry/models.js.map +1 -0
  302. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js +30 -0
  303. package/dist/node_modules/motion-dom/dist/es/projection/geometry/utils.js.map +1 -0
  304. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js +15 -0
  305. package/dist/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.js.map +1 -0
  306. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js +24 -0
  307. package/dist/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.js.map +1 -0
  308. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js +586 -0
  309. package/dist/node_modules/motion-dom/dist/es/projection/node/create-projection-node.js.map +1 -0
  310. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js +9 -0
  311. package/dist/node_modules/motion-dom/dist/es/projection/node/state.js.map +1 -0
  312. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js +53 -0
  313. package/dist/node_modules/motion-dom/dist/es/projection/shared/stack.js.map +1 -0
  314. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js +15 -0
  315. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.js.map +1 -0
  316. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js +15 -0
  317. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-box-shadow.js.map +1 -0
  318. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js +19 -0
  319. package/dist/node_modules/motion-dom/dist/es/projection/styles/scale-correction.js.map +1 -0
  320. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js +14 -0
  321. package/dist/node_modules/motion-dom/dist/es/projection/styles/transform.js.map +1 -0
  322. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js +6 -0
  323. package/dist/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.js.map +1 -0
  324. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js +8 -0
  325. package/dist/node_modules/motion-dom/dist/es/projection/utils/each-axis.js.map +1 -0
  326. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js +21 -0
  327. package/dist/node_modules/motion-dom/dist/es/projection/utils/flat-tree.js.map +1 -0
  328. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js +20 -0
  329. package/dist/node_modules/motion-dom/dist/es/projection/utils/has-transform.js.map +1 -0
  330. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js +14 -0
  331. package/dist/node_modules/motion-dom/dist/es/projection/utils/measure.js.map +1 -0
  332. package/dist/node_modules/motion-dom/dist/es/render/Feature.js +11 -0
  333. package/dist/node_modules/motion-dom/dist/es/render/Feature.js.map +1 -0
  334. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js +206 -0
  335. package/dist/node_modules/motion-dom/dist/es/render/VisualElement.js.map +1 -0
  336. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js +30 -0
  337. package/dist/node_modules/motion-dom/dist/es/render/dom/DOMVisualElement.js.map +1 -0
  338. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js +6 -0
  339. package/dist/node_modules/motion-dom/dist/es/render/dom/is-css-var.js.map +1 -0
  340. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js +58 -0
  341. package/dist/node_modules/motion-dom/dist/es/render/dom/parse-transform.js.map +1 -0
  342. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js +9 -0
  343. package/dist/node_modules/motion-dom/dist/es/render/dom/style-set.js.map +1 -0
  344. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js +8 -0
  345. package/dist/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.js.map +1 -0
  346. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js +37 -0
  347. package/dist/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.js.map +1 -0
  348. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js +30 -0
  349. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-styles.js.map +1 -0
  350. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js +38 -0
  351. package/dist/node_modules/motion-dom/dist/es/render/html/utils/build-transform.js.map +1 -0
  352. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js +10 -0
  353. package/dist/node_modules/motion-dom/dist/es/render/html/utils/render.js.map +1 -0
  354. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js +13 -0
  355. package/dist/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.js.map +1 -0
  356. package/dist/node_modules/motion-dom/dist/es/render/store.js +6 -0
  357. package/dist/node_modules/motion-dom/dist/es/render/store.js.map +1 -0
  358. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js +42 -0
  359. package/dist/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.js.map +1 -0
  360. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js +24 -0
  361. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.js.map +1 -0
  362. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js +30 -0
  363. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.js.map +1 -0
  364. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js +6 -0
  365. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/is-svg-tag.js.map +1 -0
  366. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js +17 -0
  367. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/path.js.map +1 -0
  368. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js +12 -0
  369. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/render.js.map +1 -0
  370. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js +16 -0
  371. package/dist/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.js.map +1 -0
  372. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js +137 -0
  373. package/dist/node_modules/motion-dom/dist/es/render/utils/animation-state.js.map +1 -0
  374. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js +21 -0
  375. package/dist/node_modules/motion-dom/dist/es/render/utils/get-variant-context.js.map +1 -0
  376. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js +8 -0
  377. package/dist/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.js.map +1 -0
  378. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js +14 -0
  379. package/dist/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.js.map +1 -0
  380. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js +10 -0
  381. package/dist/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.js.map +1 -0
  382. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js +6 -0
  383. package/dist/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.js.map +1 -0
  384. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js +8 -0
  385. package/dist/node_modules/motion-dom/dist/es/render/utils/is-variant-label.js.map +1 -0
  386. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js +15 -0
  387. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-position.js.map +1 -0
  388. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js +24 -0
  389. package/dist/node_modules/motion-dom/dist/es/render/utils/keys-transform.js.map +1 -0
  390. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js +23 -0
  391. package/dist/node_modules/motion-dom/dist/es/render/utils/motion-values.js.map +1 -0
  392. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js +13 -0
  393. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/index.js.map +1 -0
  394. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js +6 -0
  395. package/dist/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.js.map +1 -0
  396. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js +10 -0
  397. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.js.map +1 -0
  398. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js +22 -0
  399. package/dist/node_modules/motion-dom/dist/es/render/utils/resolve-variants.js.map +1 -0
  400. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js +22 -0
  401. package/dist/node_modules/motion-dom/dist/es/render/utils/setters.js.map +1 -0
  402. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js +12 -0
  403. package/dist/node_modules/motion-dom/dist/es/render/utils/shallow-compare.js.map +1 -0
  404. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js +14 -0
  405. package/dist/node_modules/motion-dom/dist/es/render/utils/variant-props.js.map +1 -0
  406. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js +39 -0
  407. package/dist/node_modules/motion-dom/dist/es/resize/handle-element.js.map +1 -0
  408. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js +24 -0
  409. package/dist/node_modules/motion-dom/dist/es/resize/handle-window.js.map +1 -0
  410. package/dist/node_modules/motion-dom/dist/es/resize/index.js +10 -0
  411. package/dist/node_modules/motion-dom/dist/es/resize/index.js.map +1 -0
  412. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js +9 -0
  413. package/dist/node_modules/motion-dom/dist/es/stats/buffer.js.map +1 -0
  414. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js +11 -0
  415. package/dist/node_modules/motion-dom/dist/es/utils/border-radius.js.map +1 -0
  416. package/dist/node_modules/motion-dom/dist/es/utils/delay.js +14 -0
  417. package/dist/node_modules/motion-dom/dist/es/utils/delay.js.map +1 -0
  418. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js +35 -0
  419. package/dist/node_modules/motion-dom/dist/es/utils/interpolate.js.map +1 -0
  420. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js +9 -0
  421. package/dist/node_modules/motion-dom/dist/es/utils/is-html-element.js.map +1 -0
  422. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js +9 -0
  423. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-element.js.map +1 -0
  424. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js +9 -0
  425. package/dist/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.js.map +1 -0
  426. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js +32 -0
  427. package/dist/node_modules/motion-dom/dist/es/utils/mix/color.js.map +1 -0
  428. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js +54 -0
  429. package/dist/node_modules/motion-dom/dist/es/utils/mix/complex.js.map +1 -0
  430. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js +8 -0
  431. package/dist/node_modules/motion-dom/dist/es/utils/mix/immediate.js.map +1 -0
  432. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js +10 -0
  433. package/dist/node_modules/motion-dom/dist/es/utils/mix/index.js.map +1 -0
  434. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js +6 -0
  435. package/dist/node_modules/motion-dom/dist/es/utils/mix/number.js.map +1 -0
  436. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js +9 -0
  437. package/dist/node_modules/motion-dom/dist/es/utils/mix/visibility.js.map +1 -0
  438. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js +16 -0
  439. package/dist/node_modules/motion-dom/dist/es/utils/resolve-elements.js.map +1 -0
  440. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js +6 -0
  441. package/dist/node_modules/motion-dom/dist/es/utils/supports/flags.js.map +1 -0
  442. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js +14 -0
  443. package/dist/node_modules/motion-dom/dist/es/utils/supports/linear-easing.js.map +1 -0
  444. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js +11 -0
  445. package/dist/node_modules/motion-dom/dist/es/utils/supports/memo.js.map +1 -0
  446. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js +7 -0
  447. package/dist/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.js.map +1 -0
  448. package/dist/node_modules/motion-dom/dist/es/value/index.js +94 -0
  449. package/dist/node_modules/motion-dom/dist/es/value/index.js.map +1 -0
  450. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js +9 -0
  451. package/dist/node_modules/motion-dom/dist/es/value/types/auto.js.map +1 -0
  452. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js +21 -0
  453. package/dist/node_modules/motion-dom/dist/es/value/types/color/hex.js.map +1 -0
  454. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js +23 -0
  455. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.js.map +1 -0
  456. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js +14 -0
  457. package/dist/node_modules/motion-dom/dist/es/value/types/color/hsla.js.map +1 -0
  458. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js +17 -0
  459. package/dist/node_modules/motion-dom/dist/es/value/types/color/index.js.map +1 -0
  460. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js +17 -0
  461. package/dist/node_modules/motion-dom/dist/es/value/types/color/rgba.js.map +1 -0
  462. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js +18 -0
  463. package/dist/node_modules/motion-dom/dist/es/value/types/color/utils.js.map +1 -0
  464. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js +28 -0
  465. package/dist/node_modules/motion-dom/dist/es/value/types/complex/filter.js.map +1 -0
  466. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js +54 -0
  467. package/dist/node_modules/motion-dom/dist/es/value/types/complex/index.js.map +1 -0
  468. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js +16 -0
  469. package/dist/node_modules/motion-dom/dist/es/value/types/complex/mask.js.map +1 -0
  470. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js +18 -0
  471. package/dist/node_modules/motion-dom/dist/es/value/types/dimensions.js.map +1 -0
  472. package/dist/node_modules/motion-dom/dist/es/value/types/int.js +10 -0
  473. package/dist/node_modules/motion-dom/dist/es/value/types/int.js.map +1 -0
  474. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js +26 -0
  475. package/dist/node_modules/motion-dom/dist/es/value/types/maps/defaults.js.map +1 -0
  476. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js +66 -0
  477. package/dist/node_modules/motion-dom/dist/es/value/types/maps/number.js.map +1 -0
  478. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js +34 -0
  479. package/dist/node_modules/motion-dom/dist/es/value/types/maps/transform.js.map +1 -0
  480. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js +17 -0
  481. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/index.js.map +1 -0
  482. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js +14 -0
  483. package/dist/node_modules/motion-dom/dist/es/value/types/numbers/units.js.map +1 -0
  484. package/dist/node_modules/motion-dom/dist/es/value/types/test.js +6 -0
  485. package/dist/node_modules/motion-dom/dist/es/value/types/test.js.map +1 -0
  486. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js +14 -0
  487. package/dist/node_modules/motion-dom/dist/es/value/types/utils/animatable-none.js.map +1 -0
  488. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js +6 -0
  489. package/dist/node_modules/motion-dom/dist/es/value/types/utils/color-regex.js.map +1 -0
  490. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js +14 -0
  491. package/dist/node_modules/motion-dom/dist/es/value/types/utils/find.js.map +1 -0
  492. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js +6 -0
  493. package/dist/node_modules/motion-dom/dist/es/value/types/utils/float-regex.js.map +1 -0
  494. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js +6 -0
  495. package/dist/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.js.map +1 -0
  496. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js +8 -0
  497. package/dist/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.js.map +1 -0
  498. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js +6 -0
  499. package/dist/node_modules/motion-dom/dist/es/value/types/utils/sanitize.js.map +1 -0
  500. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js +6 -0
  501. package/dist/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.js.map +1 -0
  502. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js +6 -0
  503. package/dist/node_modules/motion-dom/dist/es/value/utils/is-motion-value.js.map +1 -0
  504. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js +9 -0
  505. package/dist/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.js.map +1 -0
  506. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js +15 -0
  507. package/dist/node_modules/motion-dom/dist/es/value/will-change/add-will-change.js.map +1 -0
  508. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js +9 -0
  509. package/dist/node_modules/motion-dom/dist/es/value/will-change/is.js.map +1 -0
  510. package/dist/node_modules/motion-utils/dist/es/array.js +12 -0
  511. package/dist/node_modules/motion-utils/dist/es/array.js.map +1 -0
  512. package/dist/node_modules/motion-utils/dist/es/clamp.js +6 -0
  513. package/dist/node_modules/motion-utils/dist/es/clamp.js.map +1 -0
  514. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js +7 -0
  515. package/dist/node_modules/motion-utils/dist/es/easing/anticipate.js.map +1 -0
  516. package/dist/node_modules/motion-utils/dist/es/easing/back.js +9 -0
  517. package/dist/node_modules/motion-utils/dist/es/easing/back.js.map +1 -0
  518. package/dist/node_modules/motion-utils/dist/es/easing/circ.js +8 -0
  519. package/dist/node_modules/motion-utils/dist/es/easing/circ.js.map +1 -0
  520. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js +20 -0
  521. package/dist/node_modules/motion-utils/dist/es/easing/cubic-bezier.js.map +1 -0
  522. package/dist/node_modules/motion-utils/dist/es/easing/ease.js +7 -0
  523. package/dist/node_modules/motion-utils/dist/es/easing/ease.js.map +1 -0
  524. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js +6 -0
  525. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/mirror.js.map +1 -0
  526. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js +6 -0
  527. package/dist/node_modules/motion-utils/dist/es/easing/modifiers/reverse.js.map +1 -0
  528. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js +6 -0
  529. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.js.map +1 -0
  530. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js +6 -0
  531. package/dist/node_modules/motion-utils/dist/es/easing/utils/is-easing-array.js.map +1 -0
  532. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js +33 -0
  533. package/dist/node_modules/motion-utils/dist/es/easing/utils/map.js.map +1 -0
  534. package/dist/node_modules/motion-utils/dist/es/errors.js +12 -0
  535. package/dist/node_modules/motion-utils/dist/es/errors.js.map +1 -0
  536. package/dist/node_modules/motion-utils/dist/es/format-error-message.js +8 -0
  537. package/dist/node_modules/motion-utils/dist/es/format-error-message.js.map +1 -0
  538. package/dist/node_modules/motion-utils/dist/es/global-config.js +6 -0
  539. package/dist/node_modules/motion-utils/dist/es/global-config.js.map +1 -0
  540. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js +6 -0
  541. package/dist/node_modules/motion-utils/dist/es/is-numerical-string.js.map +1 -0
  542. package/dist/node_modules/motion-utils/dist/es/is-object.js +6 -0
  543. package/dist/node_modules/motion-utils/dist/es/is-object.js.map +1 -0
  544. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js +6 -0
  545. package/dist/node_modules/motion-utils/dist/es/is-zero-value-string.js.map +1 -0
  546. package/dist/node_modules/motion-utils/dist/es/memo.js +10 -0
  547. package/dist/node_modules/motion-utils/dist/es/memo.js.map +1 -0
  548. package/dist/node_modules/motion-utils/dist/es/noop.js +6 -0
  549. package/dist/node_modules/motion-utils/dist/es/noop.js.map +1 -0
  550. package/dist/node_modules/motion-utils/dist/es/pipe.js +6 -0
  551. package/dist/node_modules/motion-utils/dist/es/pipe.js.map +1 -0
  552. package/dist/node_modules/motion-utils/dist/es/progress.js +9 -0
  553. package/dist/node_modules/motion-utils/dist/es/progress.js.map +1 -0
  554. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js +28 -0
  555. package/dist/node_modules/motion-utils/dist/es/subscription-manager.js.map +1 -0
  556. package/dist/node_modules/motion-utils/dist/es/time-conversion.js +6 -0
  557. package/dist/node_modules/motion-utils/dist/es/time-conversion.js.map +1 -0
  558. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js +6 -0
  559. package/dist/node_modules/motion-utils/dist/es/velocity-per-second.js.map +1 -0
  560. package/dist/node_modules/motion-utils/dist/es/warn-once.js +10 -0
  561. package/dist/node_modules/motion-utils/dist/es/warn-once.js.map +1 -0
  562. package/dist/node_modules/recharts/es6/cartesian/Area.js +435 -0
  563. package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -0
  564. package/dist/node_modules/recharts/es6/chart/{LineChart.js → AreaChart.js} +5 -5
  565. package/dist/node_modules/recharts/es6/chart/{LineChart.js.map → AreaChart.js.map} +1 -1
  566. package/package.json +5 -4
  567. package/dist/node_modules/recharts/es6/cartesian/Line.js +0 -473
  568. package/dist/node_modules/recharts/es6/cartesian/Line.js.map +0 -1
@@ -1,373 +1,470 @@
1
1
  import { useMyBodyShield as e } from "../context/MyBodyShieldContext.js";
2
- import { PageLayout as t } from "../components/PageLayout.js";
3
- import { MetricsCard as n } from "../components/MetricsCard.js";
4
- import { formatEnumLabel as r, formatNumber as i, formatPercent as a, formatRelativeTime as o, formatWeight as ee } from "../utils/formatters.js";
5
- import { StatusBadge as s } from "../components/StatusBadge.js";
6
- import { MiniBar as te } from "../components/MiniBar.js";
7
- import { LoadingView as c, Section as l } from "../components/StateViews.js";
8
- import { EmptyState as u } from "../components/EmptyState.js";
9
- import { GOAL_TYPE_META as ne, IconChip as d, MacroBar as f, MacroLegend as p, Meter as m, ProgressRing as re, WORKOUT_TYPE_META as h, computeGoalProgress as g } from "./_shared/visuals.js";
2
+ import { motion as t } from "../../node_modules/framer-motion/dist/es/render/components/motion/proxy.js";
3
+ import { useReducedMotion as n } from "../../node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js";
4
+ import { PageLayout as r } from "../components/PageLayout.js";
5
+ import { MetricsCard as i } from "../components/MetricsCard.js";
6
+ import { formatEnumLabel as ee, formatNumber as a, formatPercent as o, formatRelativeTime as s, formatWeight as c } from "../utils/formatters.js";
7
+ import { StatusBadge as l } from "../components/StatusBadge.js";
8
+ import { MiniBar as u } from "../components/MiniBar.js";
9
+ import { LoadingView as te, Section as d } from "../components/StateViews.js";
10
+ import { EmptyState as f } from "../components/EmptyState.js";
11
+ import { GOAL_TYPE_META as ne, IconChip as p, MacroBar as re, MacroLegend as ie, Meter as m, ProgressRing as ae, WORKOUT_TYPE_META as oe, computeGoalProgress as h } from "./_shared/visuals.js";
10
12
  import "../context/index.js";
11
- import { useMybBodyMetrics as _, useMybDailyMacros as v, useMybGoals as y, useMybPrograms as b, useMybRecoveryLogs as x, useMybSessions as S } from "../hooks/useMyBodyShieldApi.js";
13
+ import { useMybBodyMetrics as g, useMybDailyMacros as _, useMybGoals as v, useMybPrograms as y, useMybRecoveryLogs as b, useMybSessions as x } from "../hooks/useMyBodyShieldApi.js";
12
14
  import "../hooks/index.js";
13
- import { useMemo as C } from "react";
14
- import { ArrowRight as w, CalendarCheck as T, CheckCircle2 as ie, Dumbbell as ae, Flame as E, Moon as oe, Salad as se, Target as D, Weight as ce } from "lucide-react";
15
- import { jsx as O, jsxs as k } from "react/jsx-runtime";
16
- import { GlassCard as A } from "@burdenoff/fe-libs/ui";
15
+ import { useMemo as S } from "react";
16
+ import { ArrowRight as C, CalendarCheck as w, CheckCircle2 as se, Dumbbell as ce, Flame as T, Moon as le, Salad as ue, Target as E, Weight as de } from "lucide-react";
17
+ import { jsx as D, jsxs as O } from "react/jsx-runtime";
18
+ import { GlassCard as k } from "@burdenoff/fe-libs/ui";
17
19
  //#region src/mybodyshield/pages/DashboardPage.tsx
20
+ var A = [
21
+ .16,
22
+ 1,
23
+ .3,
24
+ 1
25
+ ];
18
26
  function j() {
19
- let { navigateTo: j, currentUser: M } = e(), N = b({
27
+ let { navigateTo: j, currentUser: M } = e(), N = n(), P = (e) => N ? {} : {
28
+ initial: {
29
+ opacity: 0,
30
+ y: 14
31
+ },
32
+ whileInView: {
33
+ opacity: 1,
34
+ y: 0
35
+ },
36
+ viewport: {
37
+ once: !0,
38
+ amount: .15
39
+ },
40
+ transition: {
41
+ duration: .45,
42
+ delay: Math.min(e, 8) * .05,
43
+ ease: A
44
+ }
45
+ }, F = N ? {} : { whileHover: {
46
+ y: -3,
47
+ transition: {
48
+ duration: .2,
49
+ ease: A
50
+ }
51
+ } }, I = N ? {} : {
52
+ whileHover: {
53
+ y: -3,
54
+ transition: {
55
+ duration: .2,
56
+ ease: A
57
+ }
58
+ },
59
+ whileTap: { scale: .985 }
60
+ }, L = y({
20
61
  status: "ACTIVE",
21
62
  pagination: { limit: 50 }
22
- }), P = S({ pagination: { limit: 20 } }), F = y({
63
+ }), R = x({ pagination: { limit: 20 } }), z = v({
23
64
  status: "ACTIVE",
24
65
  pagination: { limit: 50 }
25
- }), I = v(), L = _({
66
+ }), B = _(), V = g({
26
67
  type: "WEIGHT",
27
68
  pagination: { limit: 30 }
28
- }), R = x("READINESS"), z = N.data?.items ?? [], B = P.data?.items ?? [], V = F.data?.items ?? [], H = L.data?.items ?? [], U = R.data ?? [], W = (/* @__PURE__ */ new Date()).getTime() - 10080 * 60 * 1e3, G = B.filter((e) => {
69
+ }), fe = b("READINESS"), pe = L.data?.items ?? [], H = R.data?.items ?? [], U = z.data?.items ?? [], W = V.data?.items ?? [], me = fe.data ?? [], he = (/* @__PURE__ */ new Date()).getTime() - 10080 * 60 * 1e3, G = H.filter((e) => {
29
70
  let t = e.completedAt ?? e.startedAt ?? e.scheduledFor ?? e.createdAt;
30
- return t ? new Date(t).getTime() >= W : !1;
31
- }), le = G.filter((e) => e.status === "COMPLETED").length, K = B.find((e) => e.status === "IN_PROGRESS"), q = B.filter((e) => e.status === "SCHEDULED" && e.scheduledFor).sort((e, t) => new Date(e.scheduledFor).getTime() - new Date(t.scheduledFor).getTime())[0], J = H[0], Y = H[1], X = J && Y ? J.value - Y.value : void 0, Z = U.slice().sort((e, t) => new Date(t.loggedAt).getTime() - new Date(e.loggedAt).getTime())[0], Q = C(() => V.length === 0 ? 0 : V.reduce((e, t) => e + g(t), 0) / V.length, [V]), $ = I.data, ue = $?.calorieTarget ? $.calories / $.calorieTarget * 100 : 0;
32
- return N.isLoading && P.isLoading && F.isLoading && I.isLoading ? /* @__PURE__ */ O(t, {
71
+ return t ? new Date(t).getTime() >= he : !1;
72
+ }), ge = G.filter((e) => e.status === "COMPLETED").length, K = H.find((e) => e.status === "IN_PROGRESS"), q = H.filter((e) => e.status === "SCHEDULED" && e.scheduledFor).sort((e, t) => new Date(e.scheduledFor).getTime() - new Date(t.scheduledFor).getTime())[0], J = W[0], Y = W[1], X = J && Y ? J.value - Y.value : void 0, Z = me.slice().sort((e, t) => new Date(t.loggedAt).getTime() - new Date(e.loggedAt).getTime())[0], Q = S(() => U.length === 0 ? 0 : U.reduce((e, t) => e + h(t), 0) / U.length, [U]), $ = B.data, _e = $?.calorieTarget ? $.calories / $.calorieTarget * 100 : 0;
73
+ if (L.isLoading && R.isLoading && z.isLoading && B.isLoading) return /* @__PURE__ */ D(r, {
33
74
  title: "MyBodyShield",
34
75
  titleGradient: !0,
35
76
  aurora: !0,
36
- children: /* @__PURE__ */ O(c, { label: "Loading your fitness overview…" })
37
- }) : /* @__PURE__ */ k(t, {
77
+ children: /* @__PURE__ */ D(te, { label: "Loading your fitness overview…" })
78
+ });
79
+ let ve = M?.firstName || M?.name || "there", ye = [
80
+ {
81
+ id: "programs",
82
+ node: /* @__PURE__ */ D(i, {
83
+ icon: /* @__PURE__ */ D(ce, { className: "h-5 w-5" }),
84
+ value: a(pe.length),
85
+ label: "Active programs",
86
+ footer: /* @__PURE__ */ D("p", {
87
+ className: "text-xs text-text-tertiary",
88
+ children: /* @__PURE__ */ D("button", {
89
+ type: "button",
90
+ onClick: () => j("programs"),
91
+ className: "font-medium text-accent hover:underline",
92
+ children: "Manage programs"
93
+ })
94
+ })
95
+ })
96
+ },
97
+ {
98
+ id: "sessions",
99
+ node: /* @__PURE__ */ D(i, {
100
+ icon: /* @__PURE__ */ D(T, { className: "h-5 w-5" }),
101
+ value: a(ge),
102
+ label: "Sessions this week",
103
+ accent: K ? "warning" : void 0,
104
+ footer: K ? /* @__PURE__ */ D("button", {
105
+ type: "button",
106
+ onClick: () => j(`train/${K.id}`),
107
+ className: "text-xs font-medium text-status-warning-text hover:underline",
108
+ children: "Resume live session →"
109
+ }) : /* @__PURE__ */ O("p", {
110
+ className: "text-xs text-text-tertiary",
111
+ children: [
112
+ /* @__PURE__ */ D("span", {
113
+ className: "tabular-nums text-text-secondary",
114
+ children: G.length
115
+ }),
116
+ " ",
117
+ "logged"
118
+ ]
119
+ })
120
+ })
121
+ },
122
+ {
123
+ id: "goals",
124
+ node: /* @__PURE__ */ D(i, {
125
+ icon: /* @__PURE__ */ D(E, { className: "h-5 w-5" }),
126
+ value: a(U.length),
127
+ label: "Active goals",
128
+ footer: /* @__PURE__ */ O("div", {
129
+ className: "space-y-2",
130
+ children: [/* @__PURE__ */ D(u, {
131
+ value: Q,
132
+ height: 4,
133
+ barClassName: "bg-action-primary-bg"
134
+ }), /* @__PURE__ */ O("p", {
135
+ className: "text-xs text-text-tertiary",
136
+ children: [
137
+ /* @__PURE__ */ D("span", {
138
+ className: "tabular-nums text-text-secondary",
139
+ children: o(Q)
140
+ }),
141
+ " ",
142
+ "avg progress"
143
+ ]
144
+ })]
145
+ })
146
+ })
147
+ },
148
+ {
149
+ id: "weight",
150
+ node: /* @__PURE__ */ D(i, {
151
+ icon: /* @__PURE__ */ D(de, { className: "h-5 w-5" }),
152
+ value: J ? c(J.value) : "—",
153
+ label: "Latest weight",
154
+ footer: X == null ? /* @__PURE__ */ D("button", {
155
+ type: "button",
156
+ onClick: () => j("progress"),
157
+ className: "text-xs font-medium text-accent hover:underline",
158
+ children: "Log a measurement →"
159
+ }) : /* @__PURE__ */ O("p", {
160
+ className: "text-xs text-text-tertiary",
161
+ children: [
162
+ /* @__PURE__ */ O("span", {
163
+ className: X <= 0 ? "font-medium text-status-success-text" : "font-medium text-text-secondary",
164
+ children: [
165
+ X > 0 ? "+" : "",
166
+ X.toFixed(1),
167
+ " kg"
168
+ ]
169
+ }),
170
+ " ",
171
+ "vs last"
172
+ ]
173
+ })
174
+ })
175
+ },
176
+ {
177
+ id: "recovery",
178
+ node: /* @__PURE__ */ D(i, {
179
+ icon: /* @__PURE__ */ D(le, { className: "h-5 w-5" }),
180
+ value: Z ? `${Z.score}` : "—",
181
+ label: "Recovery readiness",
182
+ accent: Z ? Z.score >= 70 ? "success" : Z.score >= 40 ? "warning" : "error" : void 0,
183
+ footer: Z ? /* @__PURE__ */ D("p", {
184
+ className: "text-xs text-text-tertiary",
185
+ children: s(Z.loggedAt)
186
+ }) : /* @__PURE__ */ D("button", {
187
+ type: "button",
188
+ onClick: () => j("recovery"),
189
+ className: "text-xs font-medium text-accent hover:underline",
190
+ children: "Log recovery →"
191
+ })
192
+ })
193
+ }
194
+ ];
195
+ return /* @__PURE__ */ O(r, {
38
196
  title: "MyBodyShield",
39
197
  titleGradient: !0,
40
198
  aurora: !0,
41
- description: `Welcome back, ${M?.firstName || M?.name || "there"} — your training, nutrition, progress & recovery control room.`,
199
+ description: `Welcome back, ${ve} — your training, nutrition, progress & recovery control room.`,
42
200
  children: [
43
- /* @__PURE__ */ k("div", {
201
+ /* @__PURE__ */ D("div", {
44
202
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",
45
- children: [
46
- /* @__PURE__ */ O(n, {
47
- icon: /* @__PURE__ */ O(ae, { className: "h-5 w-5" }),
48
- value: i(z.length),
49
- label: "Active programs",
50
- footer: /* @__PURE__ */ O("p", {
51
- className: "text-xs text-text-tertiary",
52
- children: /* @__PURE__ */ O("button", {
53
- type: "button",
54
- onClick: () => j("programs"),
55
- className: "font-medium text-accent hover:underline",
56
- children: "Manage programs"
57
- })
58
- })
59
- }),
60
- /* @__PURE__ */ O(n, {
61
- icon: /* @__PURE__ */ O(E, { className: "h-5 w-5" }),
62
- value: i(le),
63
- label: "Sessions this week",
64
- accent: K ? "warning" : void 0,
65
- footer: K ? /* @__PURE__ */ O("button", {
66
- type: "button",
67
- onClick: () => j(`train/${K.id}`),
68
- className: "text-xs font-medium text-status-warning-text hover:underline",
69
- children: "Resume live session →"
70
- }) : /* @__PURE__ */ k("p", {
71
- className: "text-xs text-text-tertiary",
72
- children: [
73
- /* @__PURE__ */ O("span", {
74
- className: "tabular-nums text-text-secondary",
75
- children: G.length
76
- }),
77
- " ",
78
- "logged"
79
- ]
80
- })
81
- }),
82
- /* @__PURE__ */ O(n, {
83
- icon: /* @__PURE__ */ O(D, { className: "h-5 w-5" }),
84
- value: i(V.length),
85
- label: "Active goals",
86
- footer: /* @__PURE__ */ k("div", {
87
- className: "space-y-2",
88
- children: [/* @__PURE__ */ O(te, {
89
- value: Q,
90
- height: 4,
91
- barClassName: "bg-accent-teal"
92
- }), /* @__PURE__ */ k("p", {
93
- className: "text-xs text-text-tertiary",
94
- children: [
95
- /* @__PURE__ */ O("span", {
96
- className: "tabular-nums text-text-secondary",
97
- children: a(Q)
98
- }),
99
- " ",
100
- "avg progress"
101
- ]
102
- })]
103
- })
104
- }),
105
- /* @__PURE__ */ O(n, {
106
- icon: /* @__PURE__ */ O(ce, { className: "h-5 w-5" }),
107
- value: J ? ee(J.value) : "—",
108
- label: "Latest weight",
109
- footer: X == null ? /* @__PURE__ */ O("button", {
110
- type: "button",
111
- onClick: () => j("progress"),
112
- className: "text-xs font-medium text-accent hover:underline",
113
- children: "Log a measurement →"
114
- }) : /* @__PURE__ */ k("p", {
115
- className: "text-xs text-text-tertiary",
116
- children: [
117
- /* @__PURE__ */ k("span", {
118
- className: X <= 0 ? "font-medium text-status-success-text" : "font-medium text-text-secondary",
119
- children: [
120
- X > 0 ? "+" : "",
121
- X.toFixed(1),
122
- " kg"
123
- ]
124
- }),
125
- " ",
126
- "vs last"
127
- ]
128
- })
129
- }),
130
- /* @__PURE__ */ O(n, {
131
- icon: /* @__PURE__ */ O(oe, { className: "h-5 w-5" }),
132
- value: Z ? `${Z.score}` : "—",
133
- label: "Recovery readiness",
134
- accent: Z ? Z.score >= 70 ? "success" : Z.score >= 40 ? "warning" : "error" : void 0,
135
- footer: Z ? /* @__PURE__ */ O("p", {
136
- className: "text-xs text-text-tertiary",
137
- children: o(Z.loggedAt)
138
- }) : /* @__PURE__ */ O("button", {
139
- type: "button",
140
- onClick: () => j("recovery"),
141
- className: "text-xs font-medium text-accent hover:underline",
142
- children: "Log recovery →"
143
- })
144
- })
145
- ]
203
+ children: ye.map((e, n) => /* @__PURE__ */ O(t.div, {
204
+ className: "group relative rounded-2xl transition-shadow duration-300 hover:shadow-float",
205
+ ...P(n),
206
+ ...F,
207
+ children: [/* @__PURE__ */ D("span", {
208
+ "aria-hidden": !0,
209
+ className: "pointer-events-none absolute inset-x-6 top-0 z-10 h-px rounded-full bg-gradient-to-r from-transparent via-action-primary-bg to-transparent opacity-40 transition-opacity duration-300 group-hover:opacity-90"
210
+ }), e.node]
211
+ }, e.id))
146
212
  }),
147
- /* @__PURE__ */ k("div", {
213
+ /* @__PURE__ */ O("div", {
148
214
  className: "mt-6 grid grid-cols-1 gap-6 lg:grid-cols-3",
149
- children: [/* @__PURE__ */ k(A, {
150
- treatment: "glass",
151
- className: "p-6 lg:col-span-2",
152
- children: [/* @__PURE__ */ k("div", {
153
- className: "mb-4 flex flex-wrap items-start justify-between gap-3",
154
- children: [/* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("h2", {
155
- className: "text-base font-semibold text-text-primary",
156
- children: "Today's nutrition"
157
- }), /* @__PURE__ */ O("p", {
158
- className: "mt-0.5 text-sm text-text-secondary",
159
- children: "Calories & macros logged against your active plan."
160
- })] }), /* @__PURE__ */ k("button", {
161
- type: "button",
162
- onClick: () => j("nutrition"),
163
- className: "inline-flex items-center gap-1 text-sm font-medium text-accent hover:underline",
164
- children: ["Nutrition ", /* @__PURE__ */ O(w, { className: "h-4 w-4" })]
165
- })]
166
- }), !$ || $.calorieTarget === 0 && $.calories === 0 ? /* @__PURE__ */ O(u, {
167
- illustration: "empty-data",
168
- icon: /* @__PURE__ */ O(se, { className: "h-10 w-10" }),
169
- title: "No nutrition data yet",
170
- description: "Activate a nutrition plan and log meals to track your daily macros here."
171
- }) : /* @__PURE__ */ k("div", {
172
- className: "flex flex-col gap-6 sm:flex-row sm:items-center",
173
- children: [/* @__PURE__ */ k(re, {
174
- value: ue,
175
- size: 128,
176
- stroke: 12,
177
- children: [/* @__PURE__ */ O("span", {
178
- className: "text-xl font-bold tabular-nums text-text-primary",
179
- children: i($.calories)
180
- }), /* @__PURE__ */ k("span", {
181
- className: "text-xs text-text-tertiary",
182
- children: [
183
- "/ ",
184
- i($.calorieTarget),
185
- " kcal"
186
- ]
215
+ children: [/* @__PURE__ */ D(t.div, {
216
+ className: "lg:col-span-2",
217
+ ...P(0),
218
+ children: /* @__PURE__ */ O(k, {
219
+ treatment: "glass",
220
+ className: "h-full p-6",
221
+ children: [/* @__PURE__ */ O("div", {
222
+ className: "mb-4 flex flex-wrap items-start justify-between gap-3",
223
+ children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("h2", {
224
+ className: "text-base font-semibold text-text-primary",
225
+ children: "Today's nutrition"
226
+ }), /* @__PURE__ */ D("p", {
227
+ className: "mt-0.5 text-sm text-text-secondary",
228
+ children: "Calories & macros logged against your active plan."
229
+ })] }), /* @__PURE__ */ O("button", {
230
+ type: "button",
231
+ onClick: () => j("nutrition"),
232
+ className: "inline-flex items-center gap-1 text-sm font-medium text-accent hover:underline",
233
+ children: ["Nutrition ", /* @__PURE__ */ D(C, { className: "h-4 w-4" })]
187
234
  })]
188
- }), /* @__PURE__ */ k("div", {
189
- className: "flex-1 space-y-4",
190
- children: [/* @__PURE__ */ k("div", {
191
- className: "space-y-2",
192
- children: [/* @__PURE__ */ O(f, {
193
- proteinG: $.proteinG,
194
- carbsG: $.carbsG,
195
- fatG: $.fatG,
196
- height: 10
197
- }), /* @__PURE__ */ O(p, {})]
198
- }), /* @__PURE__ */ O("div", {
199
- className: "grid grid-cols-3 gap-3",
200
- children: [
201
- [
202
- "Protein",
203
- $.proteinG,
204
- $.proteinTarget
205
- ],
206
- [
207
- "Carbs",
208
- $.carbsG,
209
- $.carbsTarget
210
- ],
211
- [
212
- "Fat",
213
- $.fatG,
214
- $.fatTarget
215
- ]
216
- ].map(([e, t, n]) => /* @__PURE__ */ k("div", {
217
- className: "rounded-xl bg-bg-sunken/60 p-3",
235
+ }), !$ || $.calorieTarget === 0 && $.calories === 0 ? /* @__PURE__ */ D(f, {
236
+ illustration: "empty-data",
237
+ icon: /* @__PURE__ */ D(ue, { className: "h-10 w-10" }),
238
+ title: "No nutrition data yet",
239
+ description: "Activate a nutrition plan and log meals to track your daily macros here."
240
+ }) : /* @__PURE__ */ O("div", {
241
+ className: "flex flex-col gap-8 sm:flex-row sm:items-center",
242
+ children: [/* @__PURE__ */ O("div", {
243
+ className: "relative mx-auto flex shrink-0 items-center justify-center sm:mx-0",
244
+ children: [/* @__PURE__ */ D("span", {
245
+ "aria-hidden": !0,
246
+ className: "pointer-events-none absolute inset-2 rounded-full opacity-70 blur-2xl",
247
+ style: { background: "radial-gradient(circle, color-mix(in srgb, var(--color-action-primary-bg) 26%, transparent), transparent 70%)" }
248
+ }), /* @__PURE__ */ O(ae, {
249
+ value: _e,
250
+ size: 188,
251
+ stroke: 16,
218
252
  children: [
219
- /* @__PURE__ */ O("p", {
220
- className: "text-xs text-text-tertiary",
221
- children: e
253
+ /* @__PURE__ */ D("span", {
254
+ className: "text-[11px] font-medium uppercase tracking-wide text-text-tertiary",
255
+ children: "Calories"
222
256
  }),
223
- /* @__PURE__ */ k("p", {
224
- className: "mt-0.5 text-sm font-semibold tabular-nums text-text-primary",
225
- children: [i(t), /* @__PURE__ */ k("span", {
226
- className: "text-xs font-normal text-text-tertiary",
227
- children: [
228
- " ",
229
- "/ ",
230
- i(n),
231
- " g"
232
- ]
233
- })]
257
+ /* @__PURE__ */ D("span", {
258
+ className: "text-3xl font-bold tabular-nums text-text-primary",
259
+ children: a($.calories)
234
260
  }),
235
- /* @__PURE__ */ O(m, {
236
- value: n ? t / n * 100 : 0,
237
- height: 4,
238
- className: "mt-2"
261
+ /* @__PURE__ */ O("span", {
262
+ className: "mt-0.5 text-xs text-text-tertiary",
263
+ children: [
264
+ "/ ",
265
+ a($.calorieTarget),
266
+ " kcal"
267
+ ]
239
268
  })
240
269
  ]
241
- }, e))
270
+ })]
271
+ }), /* @__PURE__ */ O("div", {
272
+ className: "flex-1 space-y-4",
273
+ children: [/* @__PURE__ */ O("div", {
274
+ className: "space-y-2",
275
+ children: [/* @__PURE__ */ D(re, {
276
+ proteinG: $.proteinG,
277
+ carbsG: $.carbsG,
278
+ fatG: $.fatG,
279
+ height: 12
280
+ }), /* @__PURE__ */ D(ie, {})]
281
+ }), /* @__PURE__ */ D("div", {
282
+ className: "grid grid-cols-3 gap-3",
283
+ children: [
284
+ [
285
+ "Protein",
286
+ $.proteinG,
287
+ $.proteinTarget
288
+ ],
289
+ [
290
+ "Carbs",
291
+ $.carbsG,
292
+ $.carbsTarget
293
+ ],
294
+ [
295
+ "Fat",
296
+ $.fatG,
297
+ $.fatTarget
298
+ ]
299
+ ].map(([e, t, n]) => {
300
+ let r = n ? t / n * 100 : 0;
301
+ return /* @__PURE__ */ O("div", {
302
+ className: "rounded-2xl bg-bg-sunken/60 p-3 ring-1 ring-inset ring-border-seam/40 transition-shadow hover:shadow-float",
303
+ children: [
304
+ /* @__PURE__ */ O("div", {
305
+ className: "flex items-center justify-between gap-1",
306
+ children: [/* @__PURE__ */ D("p", {
307
+ className: "text-xs font-medium text-text-tertiary",
308
+ children: e
309
+ }), /* @__PURE__ */ D("span", {
310
+ className: "text-[11px] tabular-nums text-text-tertiary",
311
+ children: o(r)
312
+ })]
313
+ }),
314
+ /* @__PURE__ */ O("p", {
315
+ className: "mt-1 text-sm font-semibold tabular-nums text-text-primary",
316
+ children: [a(t), /* @__PURE__ */ O("span", {
317
+ className: "text-xs font-normal text-text-tertiary",
318
+ children: [
319
+ " ",
320
+ "/ ",
321
+ a(n),
322
+ " g"
323
+ ]
324
+ })]
325
+ }),
326
+ /* @__PURE__ */ D(m, {
327
+ value: r,
328
+ height: 5,
329
+ className: "mt-2"
330
+ })
331
+ ]
332
+ }, e);
333
+ })
334
+ })]
242
335
  })]
243
336
  })]
244
- })]
245
- }), /* @__PURE__ */ k(A, {
246
- treatment: "glass",
247
- className: "p-6",
248
- children: [/* @__PURE__ */ k("div", {
249
- className: "mb-4 flex items-center justify-between gap-3",
250
- children: [/* @__PURE__ */ O("h2", {
251
- className: "text-base font-semibold text-text-primary",
252
- children: "Next up"
253
- }), /* @__PURE__ */ k("button", {
254
- type: "button",
255
- onClick: () => j("train"),
256
- className: "inline-flex items-center gap-1 text-sm font-medium text-accent hover:underline",
257
- children: ["Train ", /* @__PURE__ */ O(w, { className: "h-4 w-4" })]
258
- })]
259
- }), K ? /* @__PURE__ */ k("button", {
260
- type: "button",
261
- onClick: () => j(`train/${K.id}`),
262
- className: "w-full rounded-xl border border-status-warning-text/40 bg-status-warning-bg-subtle p-4 text-left",
263
- children: [
264
- /* @__PURE__ */ O("div", {
265
- className: "flex items-center gap-2",
266
- children: /* @__PURE__ */ O(s, { status: K.status })
267
- }),
268
- /* @__PURE__ */ O("p", {
269
- className: "mt-2 text-sm font-medium text-text-primary",
270
- children: "Live workout in progress"
271
- }),
272
- /* @__PURE__ */ k("p", {
273
- className: "mt-0.5 text-xs text-text-tertiary",
274
- children: ["Started ", o(K.startedAt)]
275
- })
276
- ]
277
- }) : q ? /* @__PURE__ */ O("button", {
278
- type: "button",
279
- onClick: () => j(`train/${q.id}`),
280
- className: "w-full rounded-xl bg-bg-sunken/60 p-4 text-left transition-shadow hover:shadow-float",
281
- children: /* @__PURE__ */ k("div", {
282
- className: "flex items-center gap-2",
283
- children: [/* @__PURE__ */ O(d, { icon: /* @__PURE__ */ O(T, { className: "h-4 w-4" }) }), /* @__PURE__ */ k("div", { children: [/* @__PURE__ */ O("p", {
284
- className: "text-sm font-medium text-text-primary",
285
- children: "Scheduled session"
286
- }), /* @__PURE__ */ O("p", {
287
- className: "text-xs text-text-tertiary",
288
- children: o(q.scheduledFor)
289
- })] })]
290
- })
291
- }) : /* @__PURE__ */ k("div", {
292
- className: "flex flex-col items-center justify-center rounded-xl border border-dashed border-border-seam py-8 text-center",
293
- children: [
294
- /* @__PURE__ */ O("span", {
295
- className: "flex size-11 items-center justify-center rounded-full bg-[var(--color-accent-soft)]",
296
- children: /* @__PURE__ */ O(E, { className: "h-5 w-5 text-accent" })
297
- }),
298
- /* @__PURE__ */ O("p", {
299
- className: "mt-3 text-sm font-medium text-text-primary",
300
- children: "No session scheduled"
301
- }),
302
- /* @__PURE__ */ O("button", {
337
+ })
338
+ }), /* @__PURE__ */ D(t.div, {
339
+ ...P(1),
340
+ children: /* @__PURE__ */ O(k, {
341
+ treatment: "glass",
342
+ className: "h-full p-6",
343
+ children: [/* @__PURE__ */ O("div", {
344
+ className: "mb-4 flex items-center justify-between gap-3",
345
+ children: [/* @__PURE__ */ D("h2", {
346
+ className: "text-base font-semibold text-text-primary",
347
+ children: "Next up"
348
+ }), /* @__PURE__ */ O("button", {
303
349
  type: "button",
304
350
  onClick: () => j("train"),
305
- className: "mt-1 text-xs font-medium text-accent hover:underline",
306
- children: "Start a workout"
351
+ className: "inline-flex items-center gap-1 text-sm font-medium text-accent hover:underline",
352
+ children: ["Train ", /* @__PURE__ */ D(C, { className: "h-4 w-4" })]
353
+ })]
354
+ }), K ? /* @__PURE__ */ O(t.button, {
355
+ type: "button",
356
+ onClick: () => j(`train/${K.id}`),
357
+ className: "w-full rounded-2xl border border-status-warning-text/40 bg-status-warning-bg-subtle p-4 text-left transition-shadow hover:shadow-float",
358
+ ...I,
359
+ children: [
360
+ /* @__PURE__ */ D("div", {
361
+ className: "flex items-center gap-2",
362
+ children: /* @__PURE__ */ D(l, { status: K.status })
363
+ }),
364
+ /* @__PURE__ */ D("p", {
365
+ className: "mt-2 text-sm font-medium text-text-primary",
366
+ children: "Live workout in progress"
367
+ }),
368
+ /* @__PURE__ */ O("p", {
369
+ className: "mt-0.5 text-xs text-text-tertiary",
370
+ children: ["Started ", s(K.startedAt)]
371
+ })
372
+ ]
373
+ }) : q ? /* @__PURE__ */ D(t.button, {
374
+ type: "button",
375
+ onClick: () => j(`train/${q.id}`),
376
+ className: "w-full rounded-2xl bg-bg-sunken/60 p-4 text-left ring-1 ring-inset ring-border-seam/40 transition-shadow hover:shadow-float",
377
+ ...I,
378
+ children: /* @__PURE__ */ O("div", {
379
+ className: "flex items-center gap-2",
380
+ children: [/* @__PURE__ */ D(p, { icon: /* @__PURE__ */ D(w, { className: "h-4 w-4" }) }), /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("p", {
381
+ className: "text-sm font-medium text-text-primary",
382
+ children: "Scheduled session"
383
+ }), /* @__PURE__ */ D("p", {
384
+ className: "text-xs text-text-tertiary",
385
+ children: s(q.scheduledFor)
386
+ })] })]
307
387
  })
308
- ]
309
- })]
388
+ }) : /* @__PURE__ */ O("div", {
389
+ className: "flex flex-col items-center justify-center rounded-2xl border border-dashed border-border-seam py-8 text-center",
390
+ children: [
391
+ /* @__PURE__ */ D("span", {
392
+ className: "flex size-11 items-center justify-center rounded-full bg-[var(--color-accent-soft)]",
393
+ children: /* @__PURE__ */ D(T, { className: "h-5 w-5 text-accent" })
394
+ }),
395
+ /* @__PURE__ */ D("p", {
396
+ className: "mt-3 text-sm font-medium text-text-primary",
397
+ children: "No session scheduled"
398
+ }),
399
+ /* @__PURE__ */ D("button", {
400
+ type: "button",
401
+ onClick: () => j("train"),
402
+ className: "mt-1 text-xs font-medium text-accent hover:underline",
403
+ children: "Start a workout"
404
+ })
405
+ ]
406
+ })]
407
+ })
310
408
  })]
311
409
  }),
312
- /* @__PURE__ */ O(l, {
410
+ /* @__PURE__ */ D(d, {
313
411
  title: "Active goals",
314
412
  description: "Your current targets across training, nutrition and body composition.",
315
- action: /* @__PURE__ */ k("button", {
413
+ action: /* @__PURE__ */ O("button", {
316
414
  type: "button",
317
415
  onClick: () => j("goals"),
318
416
  className: "inline-flex items-center gap-1 text-sm font-medium text-accent hover:underline",
319
- children: ["All goals ", /* @__PURE__ */ O(w, { className: "h-4 w-4" })]
417
+ children: ["All goals ", /* @__PURE__ */ D(C, { className: "h-4 w-4" })]
320
418
  }),
321
- children: V.length === 0 ? /* @__PURE__ */ O(u, {
419
+ children: U.length === 0 ? /* @__PURE__ */ D(f, {
322
420
  illustration: "empty-data",
323
- icon: /* @__PURE__ */ O(D, { className: "h-10 w-10" }),
421
+ icon: /* @__PURE__ */ D(E, { className: "h-10 w-10" }),
324
422
  title: "No active goals",
325
423
  description: "Set a goal to give your training and nutrition a clear target to work toward."
326
- }) : /* @__PURE__ */ O("div", {
424
+ }) : /* @__PURE__ */ D("div", {
327
425
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
328
- children: V.slice(0, 6).map((e) => {
329
- let t = g(e), n = ne[e.type], o = n.icon;
330
- return /* @__PURE__ */ O("button", {
426
+ children: U.slice(0, 6).map((e, n) => {
427
+ let r = h(e), i = ne[e.type], s = i.icon;
428
+ return /* @__PURE__ */ D(t.button, {
331
429
  type: "button",
332
430
  onClick: () => j("goals"),
333
431
  className: "text-left",
334
- children: /* @__PURE__ */ k(A, {
432
+ ...P(n),
433
+ ...I,
434
+ children: /* @__PURE__ */ O(k, {
335
435
  treatment: "plain",
336
436
  className: "h-full p-4 transition-shadow hover:shadow-float",
337
- children: [/* @__PURE__ */ k("div", {
437
+ children: [/* @__PURE__ */ O("div", {
338
438
  className: "flex items-start gap-3",
339
- children: [/* @__PURE__ */ O(d, {
340
- icon: /* @__PURE__ */ O(o, { className: "h-4 w-4" }),
341
- tint: n.tint
342
- }), /* @__PURE__ */ k("div", {
439
+ children: [/* @__PURE__ */ D(p, {
440
+ icon: /* @__PURE__ */ D(s, { className: "h-4 w-4" }),
441
+ tint: i.tint
442
+ }), /* @__PURE__ */ O("div", {
343
443
  className: "min-w-0 flex-1",
344
- children: [/* @__PURE__ */ O("p", {
444
+ children: [/* @__PURE__ */ D("p", {
345
445
  className: "truncate text-sm font-semibold text-text-primary",
346
446
  children: e.title
347
- }), /* @__PURE__ */ O("p", {
447
+ }), /* @__PURE__ */ D("p", {
348
448
  className: "text-xs text-text-tertiary",
349
- children: r(e.type)
449
+ children: ee(e.type)
350
450
  })]
351
451
  })]
352
- }), /* @__PURE__ */ k("div", {
452
+ }), /* @__PURE__ */ O("div", {
353
453
  className: "mt-3 space-y-1.5",
354
- children: [/* @__PURE__ */ O(m, {
355
- value: t,
356
- color: n.tint
357
- }), /* @__PURE__ */ k("div", {
454
+ children: [/* @__PURE__ */ D(m, { value: r }), /* @__PURE__ */ O("div", {
358
455
  className: "flex items-center justify-between text-xs",
359
- children: [/* @__PURE__ */ k("span", {
456
+ children: [/* @__PURE__ */ O("span", {
360
457
  className: "tabular-nums text-text-secondary",
361
458
  children: [
362
- i(e.currentValue),
459
+ a(e.currentValue),
363
460
  e.unit ? ` ${e.unit}` : "",
364
461
  " / ",
365
- i(e.targetValue),
462
+ a(e.targetValue),
366
463
  e.unit ? ` ${e.unit}` : ""
367
464
  ]
368
- }), /* @__PURE__ */ O("span", {
465
+ }), /* @__PURE__ */ D("span", {
369
466
  className: "tabular-nums text-text-tertiary",
370
- children: a(t)
467
+ children: o(r)
371
468
  })]
372
469
  })]
373
470
  })]
@@ -376,46 +473,48 @@ function j() {
376
473
  })
377
474
  })
378
475
  }),
379
- /* @__PURE__ */ O(l, {
476
+ /* @__PURE__ */ D(d, {
380
477
  title: "Recent sessions",
381
478
  description: "Your latest logged and scheduled workouts.",
382
- action: /* @__PURE__ */ k("button", {
479
+ action: /* @__PURE__ */ O("button", {
383
480
  type: "button",
384
481
  onClick: () => j("train"),
385
482
  className: "inline-flex items-center gap-1 text-sm font-medium text-accent hover:underline",
386
- children: ["All sessions ", /* @__PURE__ */ O(w, { className: "h-4 w-4" })]
483
+ children: ["All sessions ", /* @__PURE__ */ D(C, { className: "h-4 w-4" })]
387
484
  }),
388
- children: B.length === 0 ? /* @__PURE__ */ O(u, {
485
+ children: H.length === 0 ? /* @__PURE__ */ D(f, {
389
486
  illustration: "empty-data",
390
- icon: /* @__PURE__ */ O(E, { className: "h-10 w-10" }),
487
+ icon: /* @__PURE__ */ D(T, { className: "h-10 w-10" }),
391
488
  title: "No sessions yet",
392
489
  description: "Start a workout session to begin logging sets and tracking your training."
393
- }) : /* @__PURE__ */ O("div", {
490
+ }) : /* @__PURE__ */ D("div", {
394
491
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
395
- children: B.slice(0, 6).map((e) => {
396
- let t = h.STRENGTH;
397
- return /* @__PURE__ */ O("button", {
492
+ children: H.slice(0, 6).map((e, n) => {
493
+ let r = oe.STRENGTH, i = e.status === "COMPLETED" ? se : r.icon;
494
+ return /* @__PURE__ */ D(t.button, {
398
495
  type: "button",
399
496
  onClick: () => j(`train/${e.id}`),
400
497
  className: "text-left",
401
- children: /* @__PURE__ */ k(A, {
498
+ ...P(n),
499
+ ...I,
500
+ children: /* @__PURE__ */ O(k, {
402
501
  treatment: "plain",
403
502
  className: "p-4 transition-shadow hover:shadow-float",
404
503
  children: [
405
- /* @__PURE__ */ k("div", {
504
+ /* @__PURE__ */ O("div", {
406
505
  className: "flex items-center justify-between gap-2",
407
- children: [/* @__PURE__ */ O(d, {
408
- icon: /* @__PURE__ */ O(e.status === "COMPLETED" ? ie : t.icon, { className: "h-4 w-4" }),
409
- tint: t.tint
410
- }), /* @__PURE__ */ O(s, { status: e.status })]
506
+ children: [/* @__PURE__ */ D(p, {
507
+ icon: /* @__PURE__ */ D(i, { className: "h-4 w-4" }),
508
+ tint: r.tint
509
+ }), /* @__PURE__ */ D(l, { status: e.status })]
411
510
  }),
412
- /* @__PURE__ */ O("p", {
511
+ /* @__PURE__ */ D("p", {
413
512
  className: "mt-3 text-sm font-medium text-text-primary",
414
- children: e.caloriesBurned > 0 ? `${i(e.caloriesBurned)} kcal burned` : "Workout session"
513
+ children: e.caloriesBurned > 0 ? `${a(e.caloriesBurned)} kcal burned` : "Workout session"
415
514
  }),
416
- /* @__PURE__ */ O("p", {
515
+ /* @__PURE__ */ D("p", {
417
516
  className: "mt-0.5 text-xs text-text-tertiary",
418
- children: o(e.completedAt ?? e.startedAt ?? e.createdAt)
517
+ children: s(e.completedAt ?? e.startedAt ?? e.createdAt)
419
518
  })
420
519
  ]
421
520
  })