@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,28 +1,52 @@
1
1
  import { useMyBodyShield as e } from "../../context/MyBodyShieldContext.js";
2
- import { PageLayout as t } from "../../components/PageLayout.js";
3
- import { formatDate as n } from "../../utils/formatters.js";
4
- import { StatusBadge as r } from "../../components/StatusBadge.js";
5
- import { ErrorView as i, LoadingView as a } from "../../components/StateViews.js";
6
- import { EmptyState as o } from "../../components/EmptyState.js";
7
- import { IconChip as s } from "../_shared/visuals.js";
2
+ import { AnimatePresence as t } from "../../../node_modules/framer-motion/dist/es/components/AnimatePresence/index.js";
3
+ import { motion as n } from "../../../node_modules/framer-motion/dist/es/render/components/motion/proxy.js";
4
+ import { useReducedMotion as r } from "../../../node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.js";
5
+ import { PageLayout as i } from "../../components/PageLayout.js";
6
+ import { formatDate as a } from "../../utils/formatters.js";
7
+ import { StatusBadge as o } from "../../components/StatusBadge.js";
8
+ import { ErrorView as s, LoadingView as c } from "../../components/StateViews.js";
9
+ import { EmptyState as l } from "../../components/EmptyState.js";
10
+ import { IconChip as u } from "../_shared/visuals.js";
8
11
  import "../../context/index.js";
9
- import { useMybCoaching as c, useMybCreateCoaching as l, useMybTransitionCoaching as u } from "../../hooks/useMyBodyShieldApi.js";
12
+ import { useMybCoaching as d, useMybCreateCoaching as f, useMybTransitionCoaching as p } from "../../hooks/useMyBodyShieldApi.js";
10
13
  import "../../hooks/index.js";
11
- import { FilterTabs as d } from "../../components/FilterTabs.js";
12
- import { MybDiscussion as f } from "../../components/MybDiscussion.js";
13
- import { UserSearchSelect as p } from "../../components/UserSearchSelect.js";
14
+ import { FilterTabs as m } from "../../components/FilterTabs.js";
15
+ import { MybDiscussion as h } from "../../components/MybDiscussion.js";
16
+ import { UserSearchSelect as g } from "../../components/UserSearchSelect.js";
14
17
  import "../../components/index.js";
15
- import { useMemo as m, useState as h } from "react";
16
- import { CalendarClock as g, CalendarX as _, Check as v, ChevronDown as y, ChevronUp as b, Dumbbell as x, HeartHandshake as S, LineChart as C, MessageSquare as w, Minus as T, Plus as E, Salad as D } from "lucide-react";
17
- import { jsx as O, jsxs as k } from "react/jsx-runtime";
18
- import { Button as A, GlassCard as j, Input as M, Label as N, ResponsiveDialog as P, ResponsiveDialogContent as F, ResponsiveDialogDescription as I, ResponsiveDialogFooter as L, ResponsiveDialogHeader as R, ResponsiveDialogTitle as z, Switch as B } from "@burdenoff/fe-libs/ui";
18
+ import { useMemo as _, useState as v } from "react";
19
+ import { CalendarClock as y, CalendarX as b, Check as x, ChevronDown as S, ChevronUp as C, Dumbbell as w, HeartHandshake as T, LineChart as E, MessageSquare as D, Minus as O, Plus as k, Salad as A, User as j } from "lucide-react";
20
+ import { jsx as M, jsxs as N } from "react/jsx-runtime";
21
+ import { Button as P, GlassCard as F, Input as I, Label as L, ResponsiveDialog as R, ResponsiveDialogContent as z, ResponsiveDialogDescription as B, ResponsiveDialogFooter as V, ResponsiveDialogHeader as H, ResponsiveDialogTitle as U, Switch as W } from "@burdenoff/fe-libs/ui";
19
22
  //#region src/mybodyshield/pages/coaching/CoachingPage.tsx
20
- var V = [
23
+ var G = [
21
24
  "PENDING",
22
25
  "ACTIVE",
23
26
  "PAUSED",
24
27
  "ENDED"
25
- ], H = {
28
+ ], K = [
29
+ .16,
30
+ 1,
31
+ .3,
32
+ 1
33
+ ], q = {
34
+ hidden: {},
35
+ show: { transition: { staggerChildren: .06 } }
36
+ }, J = {
37
+ hidden: {
38
+ opacity: 0,
39
+ y: 12
40
+ },
41
+ show: {
42
+ opacity: 1,
43
+ y: 0,
44
+ transition: {
45
+ duration: .35,
46
+ ease: K
47
+ }
48
+ }
49
+ }, Y = {
26
50
  PENDING: [{
27
51
  to: "ACTIVE",
28
52
  label: "Accept",
@@ -48,10 +72,10 @@ var V = [
48
72
  }],
49
73
  ENDED: []
50
74
  };
51
- function U(e) {
75
+ function X(e) {
52
76
  return e.length <= 10 ? e : `${e.slice(0, 8)}…`;
53
77
  }
54
- function W(e) {
78
+ function Z(e) {
55
79
  return {
56
80
  memberId: e.userId,
57
81
  memberName: e.displayName,
@@ -63,30 +87,30 @@ function W(e) {
63
87
  shareMetrics: !0
64
88
  };
65
89
  }
66
- function G({ id: e, label: t, description: n, checked: r, onChange: i }) {
67
- return /* @__PURE__ */ k("div", {
90
+ function Q({ id: e, label: t, description: n, checked: r, onChange: i }) {
91
+ return /* @__PURE__ */ N("div", {
68
92
  className: "flex items-center justify-between gap-4 rounded-xl bg-bg-sunken/60 p-3",
69
- children: [/* @__PURE__ */ k("div", {
93
+ children: [/* @__PURE__ */ N("div", {
70
94
  className: "min-w-0",
71
- children: [/* @__PURE__ */ O(N, {
95
+ children: [/* @__PURE__ */ M(L, {
72
96
  htmlFor: e,
73
97
  className: "cursor-pointer",
74
98
  children: t
75
- }), /* @__PURE__ */ O("p", {
99
+ }), /* @__PURE__ */ M("p", {
76
100
  className: "text-xs text-text-tertiary",
77
101
  children: n
78
102
  })]
79
- }), /* @__PURE__ */ O(B, {
103
+ }), /* @__PURE__ */ M(W, {
80
104
  id: e,
81
105
  checked: r,
82
106
  onCheckedChange: i
83
107
  })]
84
108
  });
85
109
  }
86
- function K({ open: e, onOpenChange: t, defaultMember: n }) {
87
- let r = l(), [i, a] = h(() => W(n)), [o, s] = h(null), c = (e) => {
88
- e || (a(W(n)), s(null)), t(e);
89
- }, u = async () => {
110
+ function ee({ open: e, onOpenChange: t, defaultMember: n }) {
111
+ let r = f(), [i, a] = v(() => Z(n)), [o, s] = v(null), c = (e) => {
112
+ e || (a(Z(n)), s(null)), t(e);
113
+ }, l = async () => {
90
114
  let e = i.coachId.trim(), o = i.memberId.trim();
91
115
  if (!e) {
92
116
  s("Coach user id is required.");
@@ -106,25 +130,25 @@ function K({ open: e, onOpenChange: t, defaultMember: n }) {
106
130
  shareMetrics: i.shareMetrics
107
131
  };
108
132
  try {
109
- await r.mutateAsync(c), a(W(n)), t(!1);
133
+ await r.mutateAsync(c), a(Z(n)), t(!1);
110
134
  } catch (e) {
111
135
  s(e instanceof Error ? e.message : "Failed to create coaching relationship.");
112
136
  }
113
137
  };
114
- return /* @__PURE__ */ O(P, {
138
+ return /* @__PURE__ */ M(R, {
115
139
  open: e,
116
140
  onOpenChange: c,
117
- children: /* @__PURE__ */ k(F, { children: [/* @__PURE__ */ k(R, { children: [/* @__PURE__ */ O(z, { children: "New coaching" }), /* @__PURE__ */ O(I, { children: "Link a coach and member, and choose exactly what training, nutrition and progress data is shared." })] }), /* @__PURE__ */ k("form", {
141
+ children: /* @__PURE__ */ N(z, { children: [/* @__PURE__ */ N(H, { children: [/* @__PURE__ */ M(U, { children: "New coaching" }), /* @__PURE__ */ M(B, { children: "Link a coach and member, and choose exactly what training, nutrition and progress data is shared." })] }), /* @__PURE__ */ N("form", {
118
142
  className: "space-y-4",
119
143
  onSubmit: (e) => {
120
- e.preventDefault(), u();
144
+ e.preventDefault(), l();
121
145
  },
122
146
  children: [
123
- o && /* @__PURE__ */ O("p", {
147
+ o && /* @__PURE__ */ M("p", {
124
148
  className: "rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
125
149
  children: o
126
150
  }),
127
- /* @__PURE__ */ O(p, {
151
+ /* @__PURE__ */ M(g, {
128
152
  label: "Coach",
129
153
  required: !0,
130
154
  htmlId: "myb-coaching-coach",
@@ -136,7 +160,7 @@ function K({ open: e, onOpenChange: t, defaultMember: n }) {
136
160
  coachName: t
137
161
  }))
138
162
  }),
139
- /* @__PURE__ */ O(p, {
163
+ /* @__PURE__ */ M(g, {
140
164
  label: "Member",
141
165
  htmlId: "myb-coaching-member",
142
166
  userId: i.memberId,
@@ -147,12 +171,12 @@ function K({ open: e, onOpenChange: t, defaultMember: n }) {
147
171
  memberName: t
148
172
  }))
149
173
  }),
150
- /* @__PURE__ */ k("div", {
174
+ /* @__PURE__ */ N("div", {
151
175
  className: "space-y-2",
152
- children: [/* @__PURE__ */ O(N, {
176
+ children: [/* @__PURE__ */ M(L, {
153
177
  htmlFor: "myb-coaching-specialty",
154
178
  children: "Specialty"
155
- }), /* @__PURE__ */ O(M, {
179
+ }), /* @__PURE__ */ M(I, {
156
180
  id: "myb-coaching-specialty",
157
181
  value: i.specialty,
158
182
  onChange: (e) => a((t) => ({
@@ -162,14 +186,14 @@ function K({ open: e, onOpenChange: t, defaultMember: n }) {
162
186
  placeholder: "e.g., Strength & conditioning"
163
187
  })]
164
188
  }),
165
- /* @__PURE__ */ k("div", {
189
+ /* @__PURE__ */ N("div", {
166
190
  className: "space-y-2",
167
191
  children: [
168
- /* @__PURE__ */ O("p", {
192
+ /* @__PURE__ */ M("p", {
169
193
  className: "text-sm font-medium text-text-primary",
170
194
  children: "Shared with the coach"
171
195
  }),
172
- /* @__PURE__ */ O(G, {
196
+ /* @__PURE__ */ M(Q, {
173
197
  id: "myb-coaching-share-workouts",
174
198
  label: "Workouts",
175
199
  description: "Programs, sessions and logged sets.",
@@ -179,7 +203,7 @@ function K({ open: e, onOpenChange: t, defaultMember: n }) {
179
203
  shareWorkouts: e
180
204
  }))
181
205
  }),
182
- /* @__PURE__ */ O(G, {
206
+ /* @__PURE__ */ M(Q, {
183
207
  id: "myb-coaching-share-nutrition",
184
208
  label: "Nutrition",
185
209
  description: "Plans, meals and daily macros.",
@@ -189,7 +213,7 @@ function K({ open: e, onOpenChange: t, defaultMember: n }) {
189
213
  shareNutrition: e
190
214
  }))
191
215
  }),
192
- /* @__PURE__ */ O(G, {
216
+ /* @__PURE__ */ M(Q, {
193
217
  id: "myb-coaching-share-metrics",
194
218
  label: "Metrics",
195
219
  description: "Body metrics and recovery logs.",
@@ -201,13 +225,13 @@ function K({ open: e, onOpenChange: t, defaultMember: n }) {
201
225
  })
202
226
  ]
203
227
  }),
204
- /* @__PURE__ */ k(L, { children: [/* @__PURE__ */ O(A, {
228
+ /* @__PURE__ */ N(V, { children: [/* @__PURE__ */ M(P, {
205
229
  type: "button",
206
230
  variant: "outline",
207
231
  onClick: () => c(!1),
208
232
  disabled: r.isPending,
209
233
  children: "Cancel"
210
- }), /* @__PURE__ */ O(A, {
234
+ }), /* @__PURE__ */ M(P, {
211
235
  type: "submit",
212
236
  disabled: r.isPending,
213
237
  children: r.isPending ? "Creating…" : "Create coaching"
@@ -216,231 +240,276 @@ function K({ open: e, onOpenChange: t, defaultMember: n }) {
216
240
  })] })
217
241
  });
218
242
  }
219
- function q({ label: e, icon: t, on: n }) {
220
- let r = t, i = n ? v : T;
221
- return /* @__PURE__ */ k("span", {
243
+ function $({ label: e, icon: t, on: n }) {
244
+ let r = t, i = n ? x : O;
245
+ return /* @__PURE__ */ N("span", {
222
246
  "aria-label": `${e} ${n ? "shared" : "not shared"}`,
223
- className: `inline-flex items-center gap-1 rounded-full px-2 py-0.5 text-xs font-medium ${n ? "bg-status-success-bg-subtle text-status-success-text" : "bg-bg-sunken text-text-tertiary"}`,
247
+ className: `inline-flex items-center gap-1.5 rounded-full py-0.5 pl-1 pr-2.5 text-xs font-medium ${n ? "bg-status-success-bg-subtle text-status-success-text ring-1 ring-inset ring-[color-mix(in_oklab,var(--color-status-success-text)_28%,transparent)]" : "bg-bg-sunken text-text-tertiary ring-1 ring-inset ring-border-seam"}`,
224
248
  children: [
225
- /* @__PURE__ */ O(r, {
226
- className: "h-3 w-3",
227
- "aria-hidden": "true"
249
+ /* @__PURE__ */ M("span", {
250
+ "aria-hidden": "true",
251
+ className: `inline-flex size-4 items-center justify-center rounded-full ${n ? "bg-[color-mix(in_oklab,var(--color-status-success-text)_22%,transparent)]" : "bg-[color-mix(in_oklab,var(--color-text-tertiary)_18%,transparent)]"}`,
252
+ children: /* @__PURE__ */ M(i, { className: "h-2.5 w-2.5" })
228
253
  }),
229
- e,
230
- /* @__PURE__ */ O(i, {
254
+ /* @__PURE__ */ M(r, {
231
255
  className: "h-3 w-3",
232
256
  "aria-hidden": "true"
233
257
  }),
234
- /* @__PURE__ */ O("span", {
235
- "aria-hidden": "true",
236
- children: n ? "On" : "Off"
237
- })
258
+ /* @__PURE__ */ N("span", { children: [
259
+ e,
260
+ " · ",
261
+ n ? "On" : "Off"
262
+ ] })
238
263
  ]
239
264
  });
240
265
  }
241
- function J({ relationship: e, currentUserId: t, busy: i, onTransition: a }) {
242
- let o = !!t && e.coachId === t, c = !!t && e.memberId === t, l = H[e.status], u = e.status === "ACTIVE" || e.status === "PAUSED", [d, p] = h(!1);
243
- return /* @__PURE__ */ k(j, {
266
+ function te({ relationship: e, currentUserId: i, busy: s, onTransition: c }) {
267
+ let l = !!i && e.coachId === i, d = !!i && e.memberId === i, f = Y[e.status], p = e.status === "ACTIVE" || e.status === "PAUSED", [m, g] = v(!1), _ = r();
268
+ return /* @__PURE__ */ N(F, {
244
269
  treatment: "glass",
245
- className: "flex flex-col gap-4 p-5",
270
+ glow: e.status === "ACTIVE",
271
+ className: "flex h-full flex-col gap-4 p-5 transition-shadow hover:shadow-float" + (e.status === "PENDING" ? " ring-1 ring-inset ring-[color-mix(in_oklab,var(--color-status-warning-text)_35%,transparent)]" : ""),
246
272
  children: [
247
- /* @__PURE__ */ k("div", {
273
+ /* @__PURE__ */ N("div", {
248
274
  className: "flex items-start justify-between gap-3",
249
- children: [/* @__PURE__ */ k("div", {
275
+ children: [/* @__PURE__ */ N("div", {
250
276
  className: "flex min-w-0 items-start gap-3",
251
- children: [/* @__PURE__ */ O(s, { icon: /* @__PURE__ */ O(S, { className: "h-4 w-4" }) }), /* @__PURE__ */ k("div", {
277
+ children: [/* @__PURE__ */ M(u, { icon: /* @__PURE__ */ M(T, { className: "h-4 w-4" }) }), /* @__PURE__ */ N("div", {
252
278
  className: "min-w-0",
253
- children: [/* @__PURE__ */ O("p", {
279
+ children: [/* @__PURE__ */ M("p", {
254
280
  className: "truncate text-sm font-semibold text-text-primary",
255
281
  children: e.specialty?.trim() || "Coaching relationship"
256
- }), /* @__PURE__ */ O("p", {
282
+ }), /* @__PURE__ */ M("p", {
257
283
  className: "text-xs text-text-tertiary",
258
284
  children: "Coach ↔ member"
259
285
  })]
260
286
  })]
261
- }), /* @__PURE__ */ O(r, { status: e.status })]
287
+ }), /* @__PURE__ */ M(o, { status: e.status })]
262
288
  }),
263
- /* @__PURE__ */ k("div", {
289
+ /* @__PURE__ */ N("div", {
264
290
  className: "grid grid-cols-2 gap-3",
265
- children: [/* @__PURE__ */ k("div", {
266
- className: "rounded-lg bg-bg-sunken/60 p-2.5",
267
- children: [/* @__PURE__ */ O("p", {
268
- className: "text-[11px] font-medium uppercase tracking-wide text-text-tertiary",
269
- children: "Coach"
270
- }), /* @__PURE__ */ O("p", {
271
- className: "mt-0.5 truncate text-sm font-medium text-text-primary",
272
- title: e.coachId,
273
- children: o ? "You" : `#${U(e.coachId)}`
291
+ children: [/* @__PURE__ */ N("div", {
292
+ className: "flex items-center gap-2.5 rounded-lg bg-bg-sunken/60 p-2.5",
293
+ children: [/* @__PURE__ */ M("span", {
294
+ "aria-hidden": "true",
295
+ className: `flex size-8 shrink-0 items-center justify-center rounded-full ring-1 ring-inset ${l ? "bg-[color-mix(in_oklab,var(--color-action-primary-bg)_16%,transparent)] text-action-primary-bg ring-[color-mix(in_oklab,var(--color-action-primary-bg)_40%,transparent)]" : "bg-bg-surface text-text-tertiary ring-border-seam"}`,
296
+ children: /* @__PURE__ */ M(j, { className: "h-4 w-4" })
297
+ }), /* @__PURE__ */ N("div", {
298
+ className: "min-w-0",
299
+ children: [/* @__PURE__ */ M("p", {
300
+ className: "text-[11px] font-medium uppercase tracking-wide text-text-tertiary",
301
+ children: "Coach"
302
+ }), /* @__PURE__ */ M("p", {
303
+ className: "mt-0.5 truncate text-sm font-medium text-text-primary",
304
+ title: e.coachId,
305
+ children: l ? "You" : `#${X(e.coachId)}`
306
+ })]
274
307
  })]
275
- }), /* @__PURE__ */ k("div", {
276
- className: "rounded-lg bg-bg-sunken/60 p-2.5",
277
- children: [/* @__PURE__ */ O("p", {
278
- className: "text-[11px] font-medium uppercase tracking-wide text-text-tertiary",
279
- children: "Member"
280
- }), /* @__PURE__ */ O("p", {
281
- className: "mt-0.5 truncate text-sm font-medium text-text-primary",
282
- title: e.memberId,
283
- children: c ? "You" : `#${U(e.memberId)}`
308
+ }), /* @__PURE__ */ N("div", {
309
+ className: "flex items-center gap-2.5 rounded-lg bg-bg-sunken/60 p-2.5",
310
+ children: [/* @__PURE__ */ M("span", {
311
+ "aria-hidden": "true",
312
+ className: `flex size-8 shrink-0 items-center justify-center rounded-full ring-1 ring-inset ${d ? "bg-[color-mix(in_oklab,var(--color-action-primary-bg)_16%,transparent)] text-action-primary-bg ring-[color-mix(in_oklab,var(--color-action-primary-bg)_40%,transparent)]" : "bg-bg-surface text-text-tertiary ring-border-seam"}`,
313
+ children: /* @__PURE__ */ M(j, { className: "h-4 w-4" })
314
+ }), /* @__PURE__ */ N("div", {
315
+ className: "min-w-0",
316
+ children: [/* @__PURE__ */ M("p", {
317
+ className: "text-[11px] font-medium uppercase tracking-wide text-text-tertiary",
318
+ children: "Member"
319
+ }), /* @__PURE__ */ M("p", {
320
+ className: "mt-0.5 truncate text-sm font-medium text-text-primary",
321
+ title: e.memberId,
322
+ children: d ? "You" : `#${X(e.memberId)}`
323
+ })]
284
324
  })]
285
325
  })]
286
326
  }),
287
- /* @__PURE__ */ k("div", {
327
+ /* @__PURE__ */ N("div", {
288
328
  className: "flex flex-wrap gap-1.5",
289
329
  children: [
290
- /* @__PURE__ */ O(q, {
330
+ /* @__PURE__ */ M($, {
291
331
  label: "Workouts",
292
- icon: x,
332
+ icon: w,
293
333
  on: e.shareWorkouts
294
334
  }),
295
- /* @__PURE__ */ O(q, {
335
+ /* @__PURE__ */ M($, {
296
336
  label: "Nutrition",
297
- icon: D,
337
+ icon: A,
298
338
  on: e.shareNutrition
299
339
  }),
300
- /* @__PURE__ */ O(q, {
340
+ /* @__PURE__ */ M($, {
301
341
  label: "Metrics",
302
- icon: C,
342
+ icon: E,
303
343
  on: e.shareMetrics
304
344
  })
305
345
  ]
306
346
  }),
307
- (e.startedAt || e.endedAt) && /* @__PURE__ */ k("div", {
347
+ (e.startedAt || e.endedAt) && /* @__PURE__ */ N("div", {
308
348
  className: "flex flex-wrap items-center gap-x-4 gap-y-1 text-xs text-text-tertiary",
309
- children: [e.startedAt && /* @__PURE__ */ k("span", {
349
+ children: [e.startedAt && /* @__PURE__ */ N("span", {
310
350
  className: "inline-flex items-center gap-1",
311
351
  children: [
312
- /* @__PURE__ */ O(g, { className: "h-3.5 w-3.5" }),
352
+ /* @__PURE__ */ M(y, { className: "h-3.5 w-3.5" }),
313
353
  "Started ",
314
- n(e.startedAt)
354
+ a(e.startedAt)
315
355
  ]
316
- }), e.endedAt && /* @__PURE__ */ k("span", {
356
+ }), e.endedAt && /* @__PURE__ */ N("span", {
317
357
  className: "inline-flex items-center gap-1",
318
358
  children: [
319
- /* @__PURE__ */ O(_, { className: "h-3.5 w-3.5" }),
359
+ /* @__PURE__ */ M(b, { className: "h-3.5 w-3.5" }),
320
360
  "Ended ",
321
- n(e.endedAt)
361
+ a(e.endedAt)
322
362
  ]
323
363
  })]
324
364
  }),
325
- l.length > 0 && /* @__PURE__ */ O("div", {
365
+ f.length > 0 && /* @__PURE__ */ M("div", {
326
366
  className: "mt-auto flex flex-wrap gap-2 pt-1",
327
- children: l.map((t) => /* @__PURE__ */ O(A, {
367
+ children: f.map((t) => /* @__PURE__ */ M(P, {
328
368
  size: "sm",
329
369
  variant: t.primary ? void 0 : "outline",
330
- disabled: i,
331
- onClick: () => a(e.id, t.to),
370
+ disabled: s,
371
+ onClick: () => c(e.id, t.to),
332
372
  children: t.label
333
373
  }, t.to))
334
374
  }),
335
- u && /* @__PURE__ */ k("div", {
336
- className: `border-t border-border-seam pt-3 ${l.length === 0 ? "mt-auto" : ""}`,
337
- children: [/* @__PURE__ */ k("button", {
375
+ p && /* @__PURE__ */ N("div", {
376
+ className: `border-t border-border-seam pt-3 ${f.length === 0 ? "mt-auto" : ""}`,
377
+ children: [/* @__PURE__ */ N("button", {
338
378
  type: "button",
339
- onClick: () => p((e) => !e),
340
- "aria-expanded": d,
379
+ onClick: () => g((e) => !e),
380
+ "aria-expanded": m,
341
381
  className: "inline-flex items-center gap-1.5 text-sm font-medium text-accent hover:underline",
342
382
  children: [
343
- /* @__PURE__ */ O(w, { className: "h-4 w-4" }),
344
- d ? "Hide discussion" : "Discussion",
345
- O(d ? b : y, { className: "h-4 w-4" })
383
+ /* @__PURE__ */ M(D, { className: "h-4 w-4" }),
384
+ m ? "Hide discussion" : "Discussion",
385
+ M(m ? C : S, { className: "h-4 w-4" })
346
386
  ]
347
- }), d && /* @__PURE__ */ O("div", {
348
- className: "mt-3",
349
- children: /* @__PURE__ */ O(f, {
350
- entityType: "mybodyshield-coaching",
351
- entityId: e.id,
352
- title: "Coaching discussion",
353
- description: "A private thread between the coach and member."
354
- })
387
+ }), /* @__PURE__ */ M(t, {
388
+ initial: !1,
389
+ children: m && /* @__PURE__ */ M(n.div, {
390
+ initial: _ ? !1 : {
391
+ opacity: 0,
392
+ height: 0
393
+ },
394
+ animate: {
395
+ opacity: 1,
396
+ height: "auto"
397
+ },
398
+ exit: _ ? { opacity: 0 } : {
399
+ opacity: 0,
400
+ height: 0
401
+ },
402
+ transition: _ ? { duration: 0 } : {
403
+ duration: .25,
404
+ ease: K
405
+ },
406
+ className: "overflow-hidden",
407
+ children: /* @__PURE__ */ M("div", {
408
+ className: "mt-3",
409
+ children: /* @__PURE__ */ M(h, {
410
+ entityType: "mybodyshield-coaching",
411
+ entityId: e.id,
412
+ title: "Coaching discussion",
413
+ description: "A private thread between the coach and member."
414
+ })
415
+ })
416
+ }, "discussion")
355
417
  })]
356
418
  })
357
419
  ]
358
420
  });
359
421
  }
360
- function Y() {
361
- let { currentUser: n } = e(), [r, s] = h("ALL"), [l, f] = h(!1), [p, g] = h(null), [_, v] = h(null), y = c(), b = u(), x = y.data ?? [], C = m(() => {
422
+ function ne() {
423
+ let { currentUser: t } = e(), a = r(), [o, u] = v("ALL"), [f, h] = v(!1), [g, y] = v(null), [b, x] = v(null), S = d(), C = p(), w = S.data ?? [], E = _(() => {
362
424
  let e = {
363
425
  PENDING: 0,
364
426
  ACTIVE: 0,
365
427
  PAUSED: 0,
366
428
  ENDED: 0
367
429
  };
368
- for (let t of x) e[t.status] += 1;
430
+ for (let t of w) e[t.status] += 1;
369
431
  return e;
370
- }, [x]), w = m(() => [{
432
+ }, [w]), D = _(() => [{
371
433
  value: "ALL",
372
434
  label: "All",
373
- count: x.length
374
- }, ...V.map((e) => ({
435
+ count: w.length
436
+ }, ...G.map((e) => ({
375
437
  value: e,
376
438
  label: e.charAt(0) + e.slice(1).toLowerCase(),
377
- count: C[e]
378
- }))], [x.length, C]), T = m(() => r === "ALL" ? x : x.filter((e) => e.status === r), [x, r]), D = async (e, t) => {
379
- g(e), v(null);
439
+ count: E[e]
440
+ }))], [w.length, E]), O = _(() => o === "ALL" ? w : w.filter((e) => e.status === o), [w, o]), A = async (e, t) => {
441
+ y(e), x(null);
380
442
  try {
381
- await b.mutateAsync({
443
+ await C.mutateAsync({
382
444
  id: e,
383
445
  status: t
384
446
  });
385
447
  } catch (e) {
386
- v(e instanceof Error ? e.message : "Failed to update the relationship.");
448
+ x(e instanceof Error ? e.message : "Failed to update the relationship.");
387
449
  } finally {
388
- g(null);
450
+ y(null);
389
451
  }
390
- }, j = y.isLoading && !y.data;
391
- return /* @__PURE__ */ k(t, {
452
+ }, j = S.isLoading && !S.data;
453
+ return /* @__PURE__ */ N(i, {
392
454
  title: "Coaching",
393
455
  description: "Coach ↔ member relationships and what's shared.",
394
- actions: /* @__PURE__ */ k(A, {
395
- onClick: () => f(!0),
396
- children: [/* @__PURE__ */ O(E, { className: "mr-2 h-4 w-4" }), "New coaching"]
456
+ actions: /* @__PURE__ */ N(P, {
457
+ onClick: () => h(!0),
458
+ children: [/* @__PURE__ */ M(k, { className: "mr-2 h-4 w-4" }), "New coaching"]
397
459
  }),
398
460
  children: [
399
- /* @__PURE__ */ O("div", {
461
+ /* @__PURE__ */ M("div", {
400
462
  className: "mb-6",
401
- children: /* @__PURE__ */ O(d, {
402
- options: w,
403
- value: r,
404
- onChange: s
463
+ children: /* @__PURE__ */ M(m, {
464
+ options: D,
465
+ value: o,
466
+ onChange: u
405
467
  })
406
468
  }),
407
- _ && /* @__PURE__ */ O("p", {
469
+ b && /* @__PURE__ */ M("p", {
408
470
  className: "mb-4 rounded-lg bg-status-error-bg-subtle px-3 py-2 text-sm text-status-error-text",
409
- children: _
471
+ children: b
410
472
  }),
411
- j ? /* @__PURE__ */ O(a, { label: "Loading coaching relationships…" }) : y.isError ? /* @__PURE__ */ O(i, {
473
+ j ? /* @__PURE__ */ M(c, { label: "Loading coaching relationships…" }) : S.isError ? /* @__PURE__ */ M(s, {
412
474
  message: "We couldn't load your coaching relationships.",
413
- onRetry: () => void y.refetch()
414
- }) : T.length === 0 ? /* @__PURE__ */ O(o, {
475
+ onRetry: () => void S.refetch()
476
+ }) : O.length === 0 ? /* @__PURE__ */ M(l, {
415
477
  illustration: "empty-data",
416
- icon: /* @__PURE__ */ O(S, { className: "h-10 w-10" }),
417
- title: x.length === 0 ? "No coaching relationships" : "No relationships match this filter",
418
- description: x.length === 0 ? "Connect a coach and a member to start sharing training, nutrition and progress data." : "Try a different status filter, or create a new coaching relationship.",
419
- action: /* @__PURE__ */ k(A, {
420
- onClick: () => f(!0),
421
- children: [/* @__PURE__ */ O(E, { className: "mr-2 h-4 w-4" }), "New coaching"]
478
+ icon: /* @__PURE__ */ M(T, { className: "h-10 w-10" }),
479
+ title: w.length === 0 ? "No coaching relationships" : "No relationships match this filter",
480
+ description: w.length === 0 ? "Connect a coach and a member to start sharing training, nutrition and progress data." : "Try a different status filter, or create a new coaching relationship.",
481
+ action: /* @__PURE__ */ N(P, {
482
+ onClick: () => h(!0),
483
+ children: [/* @__PURE__ */ M(k, { className: "mr-2 h-4 w-4" }), "New coaching"]
422
484
  })
423
- }) : /* @__PURE__ */ O("div", {
485
+ }) : /* @__PURE__ */ M(n.div, {
424
486
  className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
425
- children: T.map((e) => /* @__PURE__ */ O(J, {
426
- relationship: e,
427
- currentUserId: n?.id,
428
- busy: p === e.id,
429
- onTransition: (e, t) => void D(e, t)
487
+ variants: a ? void 0 : q,
488
+ initial: a ? !1 : "hidden",
489
+ animate: "show",
490
+ children: O.map((e) => /* @__PURE__ */ M(n.div, {
491
+ className: "h-full",
492
+ variants: a ? void 0 : J,
493
+ children: /* @__PURE__ */ M(te, {
494
+ relationship: e,
495
+ currentUserId: t?.id,
496
+ busy: g === e.id,
497
+ onTransition: (e, t) => void A(e, t)
498
+ })
430
499
  }, e.id))
431
500
  }),
432
- /* @__PURE__ */ O(K, {
433
- open: l,
434
- onOpenChange: f,
501
+ /* @__PURE__ */ M(ee, {
502
+ open: f,
503
+ onOpenChange: h,
435
504
  defaultMember: {
436
- userId: n?.id ?? "",
437
- displayName: n?.name || n?.email || ""
505
+ userId: t?.id ?? "",
506
+ displayName: t?.name || t?.email || ""
438
507
  }
439
508
  })
440
509
  ]
441
510
  });
442
511
  }
443
512
  //#endregion
444
- export { Y as CoachingPage };
513
+ export { ne as CoachingPage };
445
514
 
446
515
  //# sourceMappingURL=CoachingPage.js.map