@burdenoff/microfe-mybodyshield 2026.525.1 → 2026.705.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 (964) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +20 -0
  2. package/dist/index.js +6 -4
  3. package/dist/mybodyshield/MyBodyShieldRoot.js +101 -350
  4. package/dist/mybodyshield/MyBodyShieldRoot.js.map +1 -1
  5. package/dist/mybodyshield/MyBodyShieldRoutes.js +66 -193
  6. package/dist/mybodyshield/MyBodyShieldRoutes.js.map +1 -1
  7. package/dist/mybodyshield/components/DataTable.js +75 -0
  8. package/dist/mybodyshield/components/DataTable.js.map +1 -0
  9. package/dist/mybodyshield/components/EmptyState.js +35 -0
  10. package/dist/mybodyshield/components/EmptyState.js.map +1 -0
  11. package/dist/mybodyshield/components/EvidenceUpload.js +93 -0
  12. package/dist/mybodyshield/components/EvidenceUpload.js.map +1 -0
  13. package/dist/mybodyshield/components/FileLink.js +36 -0
  14. package/dist/mybodyshield/components/FileLink.js.map +1 -0
  15. package/dist/mybodyshield/components/FilterTabs.js +27 -0
  16. package/dist/mybodyshield/components/FilterTabs.js.map +1 -0
  17. package/dist/mybodyshield/components/MetricsCard.js +64 -0
  18. package/dist/mybodyshield/components/MetricsCard.js.map +1 -0
  19. package/dist/mybodyshield/components/MiniBar.js +22 -0
  20. package/dist/mybodyshield/components/MiniBar.js.map +1 -0
  21. package/dist/mybodyshield/components/MybDiscussion.js +109 -0
  22. package/dist/mybodyshield/components/MybDiscussion.js.map +1 -0
  23. package/dist/mybodyshield/components/MybTags.js +149 -0
  24. package/dist/mybodyshield/components/MybTags.js.map +1 -0
  25. package/dist/mybodyshield/components/PageLayout.js +38 -0
  26. package/dist/mybodyshield/components/PageLayout.js.map +1 -0
  27. package/dist/mybodyshield/components/Pagination.js +50 -0
  28. package/dist/mybodyshield/components/Pagination.js.map +1 -0
  29. package/dist/mybodyshield/components/StateViews.js +49 -0
  30. package/dist/mybodyshield/components/StateViews.js.map +1 -0
  31. package/dist/mybodyshield/components/StatusBadge.js +62 -0
  32. package/dist/mybodyshield/components/StatusBadge.js.map +1 -0
  33. package/dist/mybodyshield/components/Tabs.js +31 -0
  34. package/dist/mybodyshield/components/Tabs.js.map +1 -0
  35. package/dist/mybodyshield/components/UserSearchSelect.js +148 -0
  36. package/dist/mybodyshield/components/UserSearchSelect.js.map +1 -0
  37. package/dist/mybodyshield/components/index.js +15 -0
  38. package/dist/mybodyshield/context/MyBodyShieldContext.js +85 -0
  39. package/dist/mybodyshield/context/MyBodyShieldContext.js.map +1 -0
  40. package/dist/mybodyshield/context/index.js +1 -0
  41. package/dist/mybodyshield/hooks/index.js +6 -0
  42. package/dist/mybodyshield/hooks/useMyBodyShieldApi.js +398 -0
  43. package/dist/mybodyshield/hooks/useMyBodyShieldApi.js.map +1 -0
  44. package/dist/mybodyshield/hooks/useMybComments.js +45 -0
  45. package/dist/mybodyshield/hooks/useMybComments.js.map +1 -0
  46. package/dist/mybodyshield/hooks/useMybFiles.js +81 -0
  47. package/dist/mybodyshield/hooks/useMybFiles.js.map +1 -0
  48. package/dist/mybodyshield/hooks/useMybTags.js +89 -0
  49. package/dist/mybodyshield/hooks/useMybTags.js.map +1 -0
  50. package/dist/mybodyshield/hooks/useMybUsers.js +36 -0
  51. package/dist/mybodyshield/hooks/useMybUsers.js.map +1 -0
  52. package/dist/mybodyshield/hooks/usePager.js +27 -0
  53. package/dist/mybodyshield/hooks/usePager.js.map +1 -0
  54. package/dist/mybodyshield/index.js +5 -2
  55. package/dist/mybodyshield/pages/DashboardPage.js +432 -0
  56. package/dist/mybodyshield/pages/DashboardPage.js.map +1 -0
  57. package/dist/mybodyshield/pages/_shared/visuals.js +261 -0
  58. package/dist/mybodyshield/pages/_shared/visuals.js.map +1 -0
  59. package/dist/mybodyshield/pages/coaching/CoachingPage.js +446 -0
  60. package/dist/mybodyshield/pages/coaching/CoachingPage.js.map +1 -0
  61. package/dist/mybodyshield/pages/goals/GoalsPage.js +510 -0
  62. package/dist/mybodyshield/pages/goals/GoalsPage.js.map +1 -0
  63. package/dist/mybodyshield/pages/nutrition/NutritionPage.js +1012 -0
  64. package/dist/mybodyshield/pages/nutrition/NutritionPage.js.map +1 -0
  65. package/dist/mybodyshield/pages/programs/ProgramDetailPage.js +932 -0
  66. package/dist/mybodyshield/pages/programs/ProgramDetailPage.js.map +1 -0
  67. package/dist/mybodyshield/pages/programs/ProgramsPage.js +450 -0
  68. package/dist/mybodyshield/pages/programs/ProgramsPage.js.map +1 -0
  69. package/dist/mybodyshield/pages/progress/ProgressPage.js +484 -0
  70. package/dist/mybodyshield/pages/progress/ProgressPage.js.map +1 -0
  71. package/dist/mybodyshield/pages/recovery/RecoveryPage.js +484 -0
  72. package/dist/mybodyshield/pages/recovery/RecoveryPage.js.map +1 -0
  73. package/dist/mybodyshield/pages/train/SessionDetailPage.js +579 -0
  74. package/dist/mybodyshield/pages/train/SessionDetailPage.js.map +1 -0
  75. package/dist/mybodyshield/pages/train/SessionsPage.js +294 -0
  76. package/dist/mybodyshield/pages/train/SessionsPage.js.map +1 -0
  77. package/dist/mybodyshield/utils/cn.js +10 -0
  78. package/dist/mybodyshield/utils/cn.js.map +1 -0
  79. package/dist/mybodyshield/utils/formatters.js +76 -0
  80. package/dist/mybodyshield/utils/formatters.js.map +1 -0
  81. package/dist/mybodyshield/utils/navigation.js +2 -1
  82. package/dist/mybodyshield/utils/navigation.js.map +1 -1
  83. package/dist/node_modules/clsx/dist/clsx.js +18 -0
  84. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  85. package/dist/node_modules/d3-array/src/ascending.js +8 -0
  86. package/dist/node_modules/d3-array/src/ascending.js.map +1 -0
  87. package/dist/node_modules/d3-array/src/bisect.js +10 -0
  88. package/dist/node_modules/d3-array/src/bisect.js.map +1 -0
  89. package/dist/node_modules/d3-array/src/bisector.js +43 -0
  90. package/dist/node_modules/d3-array/src/bisector.js.map +1 -0
  91. package/dist/node_modules/d3-array/src/descending.js +8 -0
  92. package/dist/node_modules/d3-array/src/descending.js.map +1 -0
  93. package/dist/node_modules/d3-array/src/max.js +14 -0
  94. package/dist/node_modules/d3-array/src/max.js.map +1 -0
  95. package/dist/node_modules/d3-array/src/min.js +14 -0
  96. package/dist/node_modules/d3-array/src/min.js.map +1 -0
  97. package/dist/node_modules/d3-array/src/number.js +15 -0
  98. package/dist/node_modules/d3-array/src/number.js.map +1 -0
  99. package/dist/node_modules/d3-array/src/quantile.js +25 -0
  100. package/dist/node_modules/d3-array/src/quantile.js.map +1 -0
  101. package/dist/node_modules/d3-array/src/quickselect.js +26 -0
  102. package/dist/node_modules/d3-array/src/quickselect.js.map +1 -0
  103. package/dist/node_modules/d3-array/src/range.js +10 -0
  104. package/dist/node_modules/d3-array/src/range.js.map +1 -0
  105. package/dist/node_modules/d3-array/src/sort.js +17 -0
  106. package/dist/node_modules/d3-array/src/sort.js.map +1 -0
  107. package/dist/node_modules/d3-array/src/ticks.js +34 -0
  108. package/dist/node_modules/d3-array/src/ticks.js.map +1 -0
  109. package/dist/node_modules/d3-color/src/color.js +291 -0
  110. package/dist/node_modules/d3-color/src/color.js.map +1 -0
  111. package/dist/node_modules/d3-color/src/define.js +13 -0
  112. package/dist/node_modules/d3-color/src/define.js.map +1 -0
  113. package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
  114. package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -0
  115. package/dist/node_modules/d3-format/src/exponent.js +9 -0
  116. package/dist/node_modules/d3-format/src/exponent.js.map +1 -0
  117. package/dist/node_modules/d3-format/src/formatDecimal.js +13 -0
  118. package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -0
  119. package/dist/node_modules/d3-format/src/formatGroup.js +11 -0
  120. package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -0
  121. package/dist/node_modules/d3-format/src/formatNumerals.js +12 -0
  122. package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -0
  123. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +13 -0
  124. package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -0
  125. package/dist/node_modules/d3-format/src/formatRounded.js +12 -0
  126. package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -0
  127. package/dist/node_modules/d3-format/src/formatSpecifier.js +29 -0
  128. package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -0
  129. package/dist/node_modules/d3-format/src/formatTrim.js +20 -0
  130. package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -0
  131. package/dist/node_modules/d3-format/src/formatTypes.js +23 -0
  132. package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -0
  133. package/dist/node_modules/d3-format/src/identity.js +8 -0
  134. package/dist/node_modules/d3-format/src/identity.js.map +1 -0
  135. package/dist/node_modules/d3-format/src/locale.js +86 -0
  136. package/dist/node_modules/d3-format/src/locale.js.map +1 -0
  137. package/dist/node_modules/d3-format/src/precisionFixed.js +9 -0
  138. package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -0
  139. package/dist/node_modules/d3-format/src/precisionPrefix.js +9 -0
  140. package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -0
  141. package/dist/node_modules/d3-format/src/precisionRound.js +9 -0
  142. package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -0
  143. package/dist/node_modules/d3-interpolate/src/array.js +15 -0
  144. package/dist/node_modules/d3-interpolate/src/array.js.map +1 -0
  145. package/dist/node_modules/d3-interpolate/src/basis.js +16 -0
  146. package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -0
  147. package/dist/node_modules/d3-interpolate/src/basisClosed.js +13 -0
  148. package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -0
  149. package/dist/node_modules/d3-interpolate/src/color.js +25 -0
  150. package/dist/node_modules/d3-interpolate/src/color.js.map +1 -0
  151. package/dist/node_modules/d3-interpolate/src/constant.js +6 -0
  152. package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -0
  153. package/dist/node_modules/d3-interpolate/src/date.js +11 -0
  154. package/dist/node_modules/d3-interpolate/src/date.js.map +1 -0
  155. package/dist/node_modules/d3-interpolate/src/number.js +10 -0
  156. package/dist/node_modules/d3-interpolate/src/number.js.map +1 -0
  157. package/dist/node_modules/d3-interpolate/src/numberArray.js +16 -0
  158. package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -0
  159. package/dist/node_modules/d3-interpolate/src/object.js +14 -0
  160. package/dist/node_modules/d3-interpolate/src/object.js.map +1 -0
  161. package/dist/node_modules/d3-interpolate/src/piecewise.js +14 -0
  162. package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -0
  163. package/dist/node_modules/d3-interpolate/src/rgb.js +19 -0
  164. package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -0
  165. package/dist/node_modules/d3-interpolate/src/round.js +10 -0
  166. package/dist/node_modules/d3-interpolate/src/round.js.map +1 -0
  167. package/dist/node_modules/d3-interpolate/src/string.js +28 -0
  168. package/dist/node_modules/d3-interpolate/src/string.js.map +1 -0
  169. package/dist/node_modules/d3-interpolate/src/value.js +18 -0
  170. package/dist/node_modules/d3-interpolate/src/value.js.map +1 -0
  171. package/dist/node_modules/d3-path/src/path.js +65 -0
  172. package/dist/node_modules/d3-path/src/path.js.map +1 -0
  173. package/dist/node_modules/d3-scale/src/band.js +52 -0
  174. package/dist/node_modules/d3-scale/src/band.js.map +1 -0
  175. package/dist/node_modules/d3-scale/src/constant.js +10 -0
  176. package/dist/node_modules/d3-scale/src/constant.js.map +1 -0
  177. package/dist/node_modules/d3-scale/src/continuous.js +73 -0
  178. package/dist/node_modules/d3-scale/src/continuous.js.map +1 -0
  179. package/dist/node_modules/d3-scale/src/diverging.js +82 -0
  180. package/dist/node_modules/d3-scale/src/diverging.js.map +1 -0
  181. package/dist/node_modules/d3-scale/src/identity.js +20 -0
  182. package/dist/node_modules/d3-scale/src/identity.js.map +1 -0
  183. package/dist/node_modules/d3-scale/src/init.js +29 -0
  184. package/dist/node_modules/d3-scale/src/init.js.map +1 -0
  185. package/dist/node_modules/d3-scale/src/linear.js +36 -0
  186. package/dist/node_modules/d3-scale/src/linear.js.map +1 -0
  187. package/dist/node_modules/d3-scale/src/log.js +77 -0
  188. package/dist/node_modules/d3-scale/src/log.js.map +1 -0
  189. package/dist/node_modules/d3-scale/src/nice.js +10 -0
  190. package/dist/node_modules/d3-scale/src/nice.js.map +1 -0
  191. package/dist/node_modules/d3-scale/src/number.js +8 -0
  192. package/dist/node_modules/d3-scale/src/number.js.map +1 -0
  193. package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
  194. package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -0
  195. package/dist/node_modules/d3-scale/src/pow.js +37 -0
  196. package/dist/node_modules/d3-scale/src/pow.js.map +1 -0
  197. package/dist/node_modules/d3-scale/src/quantile.js +37 -0
  198. package/dist/node_modules/d3-scale/src/quantile.js.map +1 -0
  199. package/dist/node_modules/d3-scale/src/quantize.js +33 -0
  200. package/dist/node_modules/d3-scale/src/quantize.js.map +1 -0
  201. package/dist/node_modules/d3-scale/src/radial.js +39 -0
  202. package/dist/node_modules/d3-scale/src/radial.js.map +1 -0
  203. package/dist/node_modules/d3-scale/src/sequential.js +67 -0
  204. package/dist/node_modules/d3-scale/src/sequential.js.map +1 -0
  205. package/dist/node_modules/d3-scale/src/sequentialQuantile.js +30 -0
  206. package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -0
  207. package/dist/node_modules/d3-scale/src/symlog.js +30 -0
  208. package/dist/node_modules/d3-scale/src/symlog.js.map +1 -0
  209. package/dist/node_modules/d3-scale/src/threshold.js +25 -0
  210. package/dist/node_modules/d3-scale/src/threshold.js.map +1 -0
  211. package/dist/node_modules/d3-scale/src/tickFormat.js +31 -0
  212. package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -0
  213. package/dist/node_modules/d3-scale/src/time.js +47 -0
  214. package/dist/node_modules/d3-scale/src/time.js.map +1 -0
  215. package/dist/node_modules/d3-scale/src/utcTime.js +19 -0
  216. package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -0
  217. package/dist/node_modules/d3-shape/src/area.js +55 -0
  218. package/dist/node_modules/d3-shape/src/area.js.map +1 -0
  219. package/dist/node_modules/d3-shape/src/array.js +8 -0
  220. package/dist/node_modules/d3-shape/src/array.js.map +1 -0
  221. package/dist/node_modules/d3-shape/src/constant.js +10 -0
  222. package/dist/node_modules/d3-shape/src/constant.js.map +1 -0
  223. package/dist/node_modules/d3-shape/src/curve/basis.js +49 -0
  224. package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -0
  225. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +50 -0
  226. package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -0
  227. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
  228. package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -0
  229. package/dist/node_modules/d3-shape/src/curve/bump.js +40 -0
  230. package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -0
  231. package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
  232. package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -0
  233. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
  234. package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -0
  235. package/dist/node_modules/d3-shape/src/curve/monotone.js +94 -0
  236. package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -0
  237. package/dist/node_modules/d3-shape/src/curve/natural.js +39 -0
  238. package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -0
  239. package/dist/node_modules/d3-shape/src/curve/step.js +47 -0
  240. package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -0
  241. package/dist/node_modules/d3-shape/src/line.js +30 -0
  242. package/dist/node_modules/d3-shape/src/line.js.map +1 -0
  243. package/dist/node_modules/d3-shape/src/math.js +8 -0
  244. package/dist/node_modules/d3-shape/src/math.js.map +1 -0
  245. package/dist/node_modules/d3-shape/src/noop.js +6 -0
  246. package/dist/node_modules/d3-shape/src/noop.js.map +1 -0
  247. package/dist/node_modules/d3-shape/src/offset/expand.js +15 -0
  248. package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -0
  249. package/dist/node_modules/d3-shape/src/offset/none.js +8 -0
  250. package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -0
  251. package/dist/node_modules/d3-shape/src/offset/silhouette.js +15 -0
  252. package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -0
  253. package/dist/node_modules/d3-shape/src/offset/wiggle.js +21 -0
  254. package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -0
  255. package/dist/node_modules/d3-shape/src/order/none.js +9 -0
  256. package/dist/node_modules/d3-shape/src/order/none.js.map +1 -0
  257. package/dist/node_modules/d3-shape/src/path.js +19 -0
  258. package/dist/node_modules/d3-shape/src/path.js.map +1 -0
  259. package/dist/node_modules/d3-shape/src/point.js +11 -0
  260. package/dist/node_modules/d3-shape/src/point.js.map +1 -0
  261. package/dist/node_modules/d3-shape/src/stack.js +34 -0
  262. package/dist/node_modules/d3-shape/src/stack.js.map +1 -0
  263. package/dist/node_modules/d3-shape/src/symbol/circle.js +10 -0
  264. package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -0
  265. package/dist/node_modules/d3-shape/src/symbol/cross.js +10 -0
  266. package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -0
  267. package/dist/node_modules/d3-shape/src/symbol/diamond.js +10 -0
  268. package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -0
  269. package/dist/node_modules/d3-shape/src/symbol/square.js +10 -0
  270. package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -0
  271. package/dist/node_modules/d3-shape/src/symbol/star.js +15 -0
  272. package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -0
  273. package/dist/node_modules/d3-shape/src/symbol/triangle.js +10 -0
  274. package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -0
  275. package/dist/node_modules/d3-shape/src/symbol/wye.js +10 -0
  276. package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -0
  277. package/dist/node_modules/d3-shape/src/symbol.js +23 -0
  278. package/dist/node_modules/d3-shape/src/symbol.js.map +1 -0
  279. package/dist/node_modules/d3-time/src/day.js +21 -0
  280. package/dist/node_modules/d3-time/src/day.js.map +1 -0
  281. package/dist/node_modules/d3-time/src/duration.js +6 -0
  282. package/dist/node_modules/d3-time/src/duration.js.map +1 -0
  283. package/dist/node_modules/d3-time/src/hour.js +19 -0
  284. package/dist/node_modules/d3-time/src/hour.js.map +1 -0
  285. package/dist/node_modules/d3-time/src/interval.js +28 -0
  286. package/dist/node_modules/d3-time/src/interval.js.map +1 -0
  287. package/dist/node_modules/d3-time/src/millisecond.js +14 -0
  288. package/dist/node_modules/d3-time/src/millisecond.js.map +1 -0
  289. package/dist/node_modules/d3-time/src/minute.js +19 -0
  290. package/dist/node_modules/d3-time/src/minute.js.map +1 -0
  291. package/dist/node_modules/d3-time/src/month.js +18 -0
  292. package/dist/node_modules/d3-time/src/month.js.map +1 -0
  293. package/dist/node_modules/d3-time/src/second.js +13 -0
  294. package/dist/node_modules/d3-time/src/second.js.map +1 -0
  295. package/dist/node_modules/d3-time/src/ticks.js +125 -0
  296. package/dist/node_modules/d3-time/src/ticks.js.map +1 -0
  297. package/dist/node_modules/d3-time/src/week.js +25 -0
  298. package/dist/node_modules/d3-time/src/week.js.map +1 -0
  299. package/dist/node_modules/d3-time/src/year.js +26 -0
  300. package/dist/node_modules/d3-time/src/year.js.map +1 -0
  301. package/dist/node_modules/d3-time-format/src/defaultLocale.js +62 -0
  302. package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -0
  303. package/dist/node_modules/d3-time-format/src/locale.js +490 -0
  304. package/dist/node_modules/d3-time-format/src/locale.js.map +1 -0
  305. package/dist/node_modules/decimal.js-light/decimal.js +378 -0
  306. package/dist/node_modules/decimal.js-light/decimal.js.map +1 -0
  307. package/dist/node_modules/eventemitter3/index.js +95 -0
  308. package/dist/node_modules/eventemitter3/index.js.map +1 -0
  309. package/dist/node_modules/fast-equals/dist/es/index.js +267 -0
  310. package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -0
  311. package/dist/node_modules/internmap/src/index.js +40 -0
  312. package/dist/node_modules/internmap/src/index.js.map +1 -0
  313. package/dist/node_modules/lodash/_DataView.js +12 -0
  314. package/dist/node_modules/lodash/_DataView.js.map +1 -0
  315. package/dist/node_modules/lodash/_Hash.js +23 -0
  316. package/dist/node_modules/lodash/_Hash.js.map +1 -0
  317. package/dist/node_modules/lodash/_ListCache.js +23 -0
  318. package/dist/node_modules/lodash/_ListCache.js.map +1 -0
  319. package/dist/node_modules/lodash/_Map.js +12 -0
  320. package/dist/node_modules/lodash/_Map.js.map +1 -0
  321. package/dist/node_modules/lodash/_MapCache.js +23 -0
  322. package/dist/node_modules/lodash/_MapCache.js.map +1 -0
  323. package/dist/node_modules/lodash/_Promise.js +12 -0
  324. package/dist/node_modules/lodash/_Promise.js.map +1 -0
  325. package/dist/node_modules/lodash/_Set.js +12 -0
  326. package/dist/node_modules/lodash/_Set.js.map +1 -0
  327. package/dist/node_modules/lodash/_SetCache.js +18 -0
  328. package/dist/node_modules/lodash/_SetCache.js.map +1 -0
  329. package/dist/node_modules/lodash/_Stack.js +20 -0
  330. package/dist/node_modules/lodash/_Stack.js.map +1 -0
  331. package/dist/node_modules/lodash/_Symbol.js +11 -0
  332. package/dist/node_modules/lodash/_Symbol.js.map +1 -0
  333. package/dist/node_modules/lodash/_Uint8Array.js +11 -0
  334. package/dist/node_modules/lodash/_Uint8Array.js.map +1 -0
  335. package/dist/node_modules/lodash/_WeakMap.js +12 -0
  336. package/dist/node_modules/lodash/_WeakMap.js.map +1 -0
  337. package/dist/node_modules/lodash/_apply.js +19 -0
  338. package/dist/node_modules/lodash/_apply.js.map +1 -0
  339. package/dist/node_modules/lodash/_arrayEvery.js +14 -0
  340. package/dist/node_modules/lodash/_arrayEvery.js.map +1 -0
  341. package/dist/node_modules/lodash/_arrayFilter.js +17 -0
  342. package/dist/node_modules/lodash/_arrayFilter.js.map +1 -0
  343. package/dist/node_modules/lodash/_arrayIncludes.js +15 -0
  344. package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -0
  345. package/dist/node_modules/lodash/_arrayIncludesWith.js +14 -0
  346. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -0
  347. package/dist/node_modules/lodash/_arrayLikeKeys.js +22 -0
  348. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -0
  349. package/dist/node_modules/lodash/_arrayMap.js +14 -0
  350. package/dist/node_modules/lodash/_arrayMap.js.map +1 -0
  351. package/dist/node_modules/lodash/_arrayPush.js +14 -0
  352. package/dist/node_modules/lodash/_arrayPush.js.map +1 -0
  353. package/dist/node_modules/lodash/_arraySome.js +14 -0
  354. package/dist/node_modules/lodash/_arraySome.js.map +1 -0
  355. package/dist/node_modules/lodash/_asciiToArray.js +13 -0
  356. package/dist/node_modules/lodash/_asciiToArray.js.map +1 -0
  357. package/dist/node_modules/lodash/_assocIndexOf.js +16 -0
  358. package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -0
  359. package/dist/node_modules/lodash/_baseAssignValue.js +20 -0
  360. package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -0
  361. package/dist/node_modules/lodash/_baseEach.js +13 -0
  362. package/dist/node_modules/lodash/_baseEach.js.map +1 -0
  363. package/dist/node_modules/lodash/_baseEvery.js +18 -0
  364. package/dist/node_modules/lodash/_baseEvery.js.map +1 -0
  365. package/dist/node_modules/lodash/_baseExtremum.js +19 -0
  366. package/dist/node_modules/lodash/_baseExtremum.js.map +1 -0
  367. package/dist/node_modules/lodash/_baseFindIndex.js +14 -0
  368. package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -0
  369. package/dist/node_modules/lodash/_baseFlatten.js +21 -0
  370. package/dist/node_modules/lodash/_baseFlatten.js.map +1 -0
  371. package/dist/node_modules/lodash/_baseFor.js +11 -0
  372. package/dist/node_modules/lodash/_baseFor.js.map +1 -0
  373. package/dist/node_modules/lodash/_baseForOwn.js +16 -0
  374. package/dist/node_modules/lodash/_baseForOwn.js.map +1 -0
  375. package/dist/node_modules/lodash/_baseGet.js +18 -0
  376. package/dist/node_modules/lodash/_baseGet.js.map +1 -0
  377. package/dist/node_modules/lodash/_baseGetAllKeys.js +17 -0
  378. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -0
  379. package/dist/node_modules/lodash/_baseGetTag.js +17 -0
  380. package/dist/node_modules/lodash/_baseGetTag.js.map +1 -0
  381. package/dist/node_modules/lodash/_baseGt.js +13 -0
  382. package/dist/node_modules/lodash/_baseGt.js.map +1 -0
  383. package/dist/node_modules/lodash/_baseHasIn.js +13 -0
  384. package/dist/node_modules/lodash/_baseHasIn.js.map +1 -0
  385. package/dist/node_modules/lodash/_baseIndexOf.js +17 -0
  386. package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -0
  387. package/dist/node_modules/lodash/_baseIsArguments.js +16 -0
  388. package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -0
  389. package/dist/node_modules/lodash/_baseIsEqual.js +16 -0
  390. package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -0
  391. package/dist/node_modules/lodash/_baseIsEqualDeep.js +37 -0
  392. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -0
  393. package/dist/node_modules/lodash/_baseIsMatch.js +33 -0
  394. package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -0
  395. package/dist/node_modules/lodash/_baseIsNaN.js +13 -0
  396. package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -0
  397. package/dist/node_modules/lodash/_baseIsNative.js +18 -0
  398. package/dist/node_modules/lodash/_baseIsNative.js.map +1 -0
  399. package/dist/node_modules/lodash/_baseIsTypedArray.js +18 -0
  400. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -0
  401. package/dist/node_modules/lodash/_baseIteratee.js +19 -0
  402. package/dist/node_modules/lodash/_baseIteratee.js.map +1 -0
  403. package/dist/node_modules/lodash/_baseKeys.js +19 -0
  404. package/dist/node_modules/lodash/_baseKeys.js.map +1 -0
  405. package/dist/node_modules/lodash/_baseLt.js +13 -0
  406. package/dist/node_modules/lodash/_baseLt.js.map +1 -0
  407. package/dist/node_modules/lodash/_baseMap.js +19 -0
  408. package/dist/node_modules/lodash/_baseMap.js.map +1 -0
  409. package/dist/node_modules/lodash/_baseMatches.js +20 -0
  410. package/dist/node_modules/lodash/_baseMatches.js.map +1 -0
  411. package/dist/node_modules/lodash/_baseMatchesProperty.js +24 -0
  412. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -0
  413. package/dist/node_modules/lodash/_baseOrderBy.js +39 -0
  414. package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -0
  415. package/dist/node_modules/lodash/_baseProperty.js +15 -0
  416. package/dist/node_modules/lodash/_baseProperty.js.map +1 -0
  417. package/dist/node_modules/lodash/_basePropertyDeep.js +17 -0
  418. package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -0
  419. package/dist/node_modules/lodash/_baseRange.js +15 -0
  420. package/dist/node_modules/lodash/_baseRange.js.map +1 -0
  421. package/dist/node_modules/lodash/_baseRest.js +17 -0
  422. package/dist/node_modules/lodash/_baseRest.js.map +1 -0
  423. package/dist/node_modules/lodash/_baseSetToString.js +21 -0
  424. package/dist/node_modules/lodash/_baseSetToString.js.map +1 -0
  425. package/dist/node_modules/lodash/_baseSlice.js +16 -0
  426. package/dist/node_modules/lodash/_baseSlice.js.map +1 -0
  427. package/dist/node_modules/lodash/_baseSome.js +18 -0
  428. package/dist/node_modules/lodash/_baseSome.js.map +1 -0
  429. package/dist/node_modules/lodash/_baseSortBy.js +15 -0
  430. package/dist/node_modules/lodash/_baseSortBy.js.map +1 -0
  431. package/dist/node_modules/lodash/_baseTimes.js +14 -0
  432. package/dist/node_modules/lodash/_baseTimes.js.map +1 -0
  433. package/dist/node_modules/lodash/_baseToString.js +22 -0
  434. package/dist/node_modules/lodash/_baseToString.js.map +1 -0
  435. package/dist/node_modules/lodash/_baseTrim.js +15 -0
  436. package/dist/node_modules/lodash/_baseTrim.js.map +1 -0
  437. package/dist/node_modules/lodash/_baseUnary.js +15 -0
  438. package/dist/node_modules/lodash/_baseUnary.js.map +1 -0
  439. package/dist/node_modules/lodash/_baseUniq.js +34 -0
  440. package/dist/node_modules/lodash/_baseUniq.js.map +1 -0
  441. package/dist/node_modules/lodash/_cacheHas.js +13 -0
  442. package/dist/node_modules/lodash/_cacheHas.js.map +1 -0
  443. package/dist/node_modules/lodash/_castPath.js +18 -0
  444. package/dist/node_modules/lodash/_castPath.js.map +1 -0
  445. package/dist/node_modules/lodash/_castSlice.js +16 -0
  446. package/dist/node_modules/lodash/_castSlice.js.map +1 -0
  447. package/dist/node_modules/lodash/_compareAscending.js +20 -0
  448. package/dist/node_modules/lodash/_compareAscending.js.map +1 -0
  449. package/dist/node_modules/lodash/_compareMultiple.js +19 -0
  450. package/dist/node_modules/lodash/_compareMultiple.js.map +1 -0
  451. package/dist/node_modules/lodash/_coreJsData.js +11 -0
  452. package/dist/node_modules/lodash/_coreJsData.js.map +1 -0
  453. package/dist/node_modules/lodash/_createBaseEach.js +20 -0
  454. package/dist/node_modules/lodash/_createBaseEach.js.map +1 -0
  455. package/dist/node_modules/lodash/_createBaseFor.js +19 -0
  456. package/dist/node_modules/lodash/_createBaseFor.js.map +1 -0
  457. package/dist/node_modules/lodash/_createCaseFirst.js +22 -0
  458. package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -0
  459. package/dist/node_modules/lodash/_createFind.js +27 -0
  460. package/dist/node_modules/lodash/_createFind.js.map +1 -0
  461. package/dist/node_modules/lodash/_createRange.js +19 -0
  462. package/dist/node_modules/lodash/_createRange.js.map +1 -0
  463. package/dist/node_modules/lodash/_createSet.js +16 -0
  464. package/dist/node_modules/lodash/_createSet.js.map +1 -0
  465. package/dist/node_modules/lodash/_defineProperty.js +17 -0
  466. package/dist/node_modules/lodash/_defineProperty.js.map +1 -0
  467. package/dist/node_modules/lodash/_equalArrays.js +42 -0
  468. package/dist/node_modules/lodash/_equalArrays.js.map +1 -0
  469. package/dist/node_modules/lodash/_equalByTag.js +42 -0
  470. package/dist/node_modules/lodash/_equalByTag.js.map +1 -0
  471. package/dist/node_modules/lodash/_equalObjects.js +39 -0
  472. package/dist/node_modules/lodash/_equalObjects.js.map +1 -0
  473. package/dist/node_modules/lodash/_freeGlobal.js +10 -0
  474. package/dist/node_modules/lodash/_freeGlobal.js.map +1 -0
  475. package/dist/node_modules/lodash/_getAllKeys.js +17 -0
  476. package/dist/node_modules/lodash/_getAllKeys.js.map +1 -0
  477. package/dist/node_modules/lodash/_getMapData.js +16 -0
  478. package/dist/node_modules/lodash/_getMapData.js.map +1 -0
  479. package/dist/node_modules/lodash/_getMatchData.js +24 -0
  480. package/dist/node_modules/lodash/_getMatchData.js.map +1 -0
  481. package/dist/node_modules/lodash/_getNative.js +17 -0
  482. package/dist/node_modules/lodash/_getNative.js.map +1 -0
  483. package/dist/node_modules/lodash/_getPrototype.js +11 -0
  484. package/dist/node_modules/lodash/_getPrototype.js.map +1 -0
  485. package/dist/node_modules/lodash/_getRawTag.js +21 -0
  486. package/dist/node_modules/lodash/_getRawTag.js.map +1 -0
  487. package/dist/node_modules/lodash/_getSymbols.js +17 -0
  488. package/dist/node_modules/lodash/_getSymbols.js.map +1 -0
  489. package/dist/node_modules/lodash/_getTag.js +28 -0
  490. package/dist/node_modules/lodash/_getTag.js.map +1 -0
  491. package/dist/node_modules/lodash/_getValue.js +13 -0
  492. package/dist/node_modules/lodash/_getValue.js.map +1 -0
  493. package/dist/node_modules/lodash/_hasPath.js +26 -0
  494. package/dist/node_modules/lodash/_hasPath.js.map +1 -0
  495. package/dist/node_modules/lodash/_hasUnicode.js +14 -0
  496. package/dist/node_modules/lodash/_hasUnicode.js.map +1 -0
  497. package/dist/node_modules/lodash/_hashClear.js +15 -0
  498. package/dist/node_modules/lodash/_hashClear.js.map +1 -0
  499. package/dist/node_modules/lodash/_hashDelete.js +14 -0
  500. package/dist/node_modules/lodash/_hashDelete.js.map +1 -0
  501. package/dist/node_modules/lodash/_hashGet.js +20 -0
  502. package/dist/node_modules/lodash/_hashGet.js.map +1 -0
  503. package/dist/node_modules/lodash/_hashHas.js +16 -0
  504. package/dist/node_modules/lodash/_hashHas.js.map +1 -0
  505. package/dist/node_modules/lodash/_hashSet.js +16 -0
  506. package/dist/node_modules/lodash/_hashSet.js.map +1 -0
  507. package/dist/node_modules/lodash/_isFlattenable.js +17 -0
  508. package/dist/node_modules/lodash/_isFlattenable.js.map +1 -0
  509. package/dist/node_modules/lodash/_isIndex.js +15 -0
  510. package/dist/node_modules/lodash/_isIndex.js.map +1 -0
  511. package/dist/node_modules/lodash/_isIterateeCall.js +20 -0
  512. package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -0
  513. package/dist/node_modules/lodash/_isKey.js +18 -0
  514. package/dist/node_modules/lodash/_isKey.js.map +1 -0
  515. package/dist/node_modules/lodash/_isKeyable.js +14 -0
  516. package/dist/node_modules/lodash/_isKeyable.js.map +1 -0
  517. package/dist/node_modules/lodash/_isMasked.js +18 -0
  518. package/dist/node_modules/lodash/_isMasked.js.map +1 -0
  519. package/dist/node_modules/lodash/_isPrototype.js +15 -0
  520. package/dist/node_modules/lodash/_isPrototype.js.map +1 -0
  521. package/dist/node_modules/lodash/_isStrictComparable.js +15 -0
  522. package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -0
  523. package/dist/node_modules/lodash/_listCacheClear.js +13 -0
  524. package/dist/node_modules/lodash/_listCacheClear.js.map +1 -0
  525. package/dist/node_modules/lodash/_listCacheDelete.js +16 -0
  526. package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -0
  527. package/dist/node_modules/lodash/_listCacheGet.js +16 -0
  528. package/dist/node_modules/lodash/_listCacheGet.js.map +1 -0
  529. package/dist/node_modules/lodash/_listCacheHas.js +15 -0
  530. package/dist/node_modules/lodash/_listCacheHas.js.map +1 -0
  531. package/dist/node_modules/lodash/_listCacheSet.js +16 -0
  532. package/dist/node_modules/lodash/_listCacheSet.js.map +1 -0
  533. package/dist/node_modules/lodash/_mapCacheClear.js +21 -0
  534. package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -0
  535. package/dist/node_modules/lodash/_mapCacheDelete.js +16 -0
  536. package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -0
  537. package/dist/node_modules/lodash/_mapCacheGet.js +15 -0
  538. package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -0
  539. package/dist/node_modules/lodash/_mapCacheHas.js +15 -0
  540. package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -0
  541. package/dist/node_modules/lodash/_mapCacheSet.js +16 -0
  542. package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -0
  543. package/dist/node_modules/lodash/_mapToArray.js +16 -0
  544. package/dist/node_modules/lodash/_mapToArray.js.map +1 -0
  545. package/dist/node_modules/lodash/_matchesStrictComparable.js +15 -0
  546. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -0
  547. package/dist/node_modules/lodash/_memoizeCapped.js +18 -0
  548. package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -0
  549. package/dist/node_modules/lodash/_nativeCreate.js +11 -0
  550. package/dist/node_modules/lodash/_nativeCreate.js.map +1 -0
  551. package/dist/node_modules/lodash/_nativeKeys.js +11 -0
  552. package/dist/node_modules/lodash/_nativeKeys.js.map +1 -0
  553. package/dist/node_modules/lodash/_nodeUtil.js +16 -0
  554. package/dist/node_modules/lodash/_nodeUtil.js.map +1 -0
  555. package/dist/node_modules/lodash/_objectToString.js +14 -0
  556. package/dist/node_modules/lodash/_objectToString.js.map +1 -0
  557. package/dist/node_modules/lodash/_overArg.js +15 -0
  558. package/dist/node_modules/lodash/_overArg.js.map +1 -0
  559. package/dist/node_modules/lodash/_overRest.js +20 -0
  560. package/dist/node_modules/lodash/_overRest.js.map +1 -0
  561. package/dist/node_modules/lodash/_root.js +12 -0
  562. package/dist/node_modules/lodash/_root.js.map +1 -0
  563. package/dist/node_modules/lodash/_setCacheAdd.js +14 -0
  564. package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -0
  565. package/dist/node_modules/lodash/_setCacheHas.js +13 -0
  566. package/dist/node_modules/lodash/_setCacheHas.js.map +1 -0
  567. package/dist/node_modules/lodash/_setToArray.js +16 -0
  568. package/dist/node_modules/lodash/_setToArray.js.map +1 -0
  569. package/dist/node_modules/lodash/_setToString.js +13 -0
  570. package/dist/node_modules/lodash/_setToString.js.map +1 -0
  571. package/dist/node_modules/lodash/_shortOut.js +21 -0
  572. package/dist/node_modules/lodash/_shortOut.js.map +1 -0
  573. package/dist/node_modules/lodash/_stackClear.js +15 -0
  574. package/dist/node_modules/lodash/_stackClear.js.map +1 -0
  575. package/dist/node_modules/lodash/_stackDelete.js +14 -0
  576. package/dist/node_modules/lodash/_stackDelete.js.map +1 -0
  577. package/dist/node_modules/lodash/_stackGet.js +13 -0
  578. package/dist/node_modules/lodash/_stackGet.js.map +1 -0
  579. package/dist/node_modules/lodash/_stackHas.js +13 -0
  580. package/dist/node_modules/lodash/_stackHas.js.map +1 -0
  581. package/dist/node_modules/lodash/_stackSet.js +23 -0
  582. package/dist/node_modules/lodash/_stackSet.js.map +1 -0
  583. package/dist/node_modules/lodash/_strictIndexOf.js +14 -0
  584. package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -0
  585. package/dist/node_modules/lodash/_stringToArray.js +17 -0
  586. package/dist/node_modules/lodash/_stringToArray.js.map +1 -0
  587. package/dist/node_modules/lodash/_stringToPath.js +17 -0
  588. package/dist/node_modules/lodash/_stringToPath.js.map +1 -0
  589. package/dist/node_modules/lodash/_toKey.js +17 -0
  590. package/dist/node_modules/lodash/_toKey.js.map +1 -0
  591. package/dist/node_modules/lodash/_toSource.js +22 -0
  592. package/dist/node_modules/lodash/_toSource.js.map +1 -0
  593. package/dist/node_modules/lodash/_trimmedEndIndex.js +15 -0
  594. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -0
  595. package/dist/node_modules/lodash/_unicodeToArray.js +24 -0
  596. package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -0
  597. package/dist/node_modules/lodash/constant.js +15 -0
  598. package/dist/node_modules/lodash/constant.js.map +1 -0
  599. package/dist/node_modules/lodash/debounce.js +57 -0
  600. package/dist/node_modules/lodash/debounce.js.map +1 -0
  601. package/dist/node_modules/lodash/eq.js +13 -0
  602. package/dist/node_modules/lodash/eq.js.map +1 -0
  603. package/dist/node_modules/lodash/every.js +20 -0
  604. package/dist/node_modules/lodash/every.js.map +1 -0
  605. package/dist/node_modules/lodash/find.js +12 -0
  606. package/dist/node_modules/lodash/find.js.map +1 -0
  607. package/dist/node_modules/lodash/findIndex.js +20 -0
  608. package/dist/node_modules/lodash/findIndex.js.map +1 -0
  609. package/dist/node_modules/lodash/flatMap.js +16 -0
  610. package/dist/node_modules/lodash/flatMap.js.map +1 -0
  611. package/dist/node_modules/lodash/get.js +16 -0
  612. package/dist/node_modules/lodash/get.js.map +1 -0
  613. package/dist/node_modules/lodash/hasIn.js +16 -0
  614. package/dist/node_modules/lodash/hasIn.js.map +1 -0
  615. package/dist/node_modules/lodash/identity.js +13 -0
  616. package/dist/node_modules/lodash/identity.js.map +1 -0
  617. package/dist/node_modules/lodash/isArguments.js +17 -0
  618. package/dist/node_modules/lodash/isArguments.js.map +1 -0
  619. package/dist/node_modules/lodash/isArray.js +10 -0
  620. package/dist/node_modules/lodash/isArray.js.map +1 -0
  621. package/dist/node_modules/lodash/isArrayLike.js +16 -0
  622. package/dist/node_modules/lodash/isArrayLike.js.map +1 -0
  623. package/dist/node_modules/lodash/isBoolean.js +16 -0
  624. package/dist/node_modules/lodash/isBoolean.js.map +1 -0
  625. package/dist/node_modules/lodash/isBuffer.js +13 -0
  626. package/dist/node_modules/lodash/isBuffer.js.map +1 -0
  627. package/dist/node_modules/lodash/isEqual.js +15 -0
  628. package/dist/node_modules/lodash/isEqual.js.map +1 -0
  629. package/dist/node_modules/lodash/isFunction.js +18 -0
  630. package/dist/node_modules/lodash/isFunction.js.map +1 -0
  631. package/dist/node_modules/lodash/isLength.js +14 -0
  632. package/dist/node_modules/lodash/isLength.js.map +1 -0
  633. package/dist/node_modules/lodash/isNaN.js +15 -0
  634. package/dist/node_modules/lodash/isNaN.js.map +1 -0
  635. package/dist/node_modules/lodash/isNil.js +13 -0
  636. package/dist/node_modules/lodash/isNil.js.map +1 -0
  637. package/dist/node_modules/lodash/isNumber.js +16 -0
  638. package/dist/node_modules/lodash/isNumber.js.map +1 -0
  639. package/dist/node_modules/lodash/isObject.js +14 -0
  640. package/dist/node_modules/lodash/isObject.js.map +1 -0
  641. package/dist/node_modules/lodash/isObjectLike.js +13 -0
  642. package/dist/node_modules/lodash/isObjectLike.js.map +1 -0
  643. package/dist/node_modules/lodash/isPlainObject.js +21 -0
  644. package/dist/node_modules/lodash/isPlainObject.js.map +1 -0
  645. package/dist/node_modules/lodash/isString.js +17 -0
  646. package/dist/node_modules/lodash/isString.js.map +1 -0
  647. package/dist/node_modules/lodash/isSymbol.js +16 -0
  648. package/dist/node_modules/lodash/isSymbol.js.map +1 -0
  649. package/dist/node_modules/lodash/isTypedArray.js +14 -0
  650. package/dist/node_modules/lodash/isTypedArray.js.map +1 -0
  651. package/dist/node_modules/lodash/keys.js +17 -0
  652. package/dist/node_modules/lodash/keys.js.map +1 -0
  653. package/dist/node_modules/lodash/last.js +14 -0
  654. package/dist/node_modules/lodash/last.js.map +1 -0
  655. package/dist/node_modules/lodash/map.js +18 -0
  656. package/dist/node_modules/lodash/map.js.map +1 -0
  657. package/dist/node_modules/lodash/mapValues.js +20 -0
  658. package/dist/node_modules/lodash/mapValues.js.map +1 -0
  659. package/dist/node_modules/lodash/max.js +17 -0
  660. package/dist/node_modules/lodash/max.js.map +1 -0
  661. package/dist/node_modules/lodash/memoize.js +22 -0
  662. package/dist/node_modules/lodash/memoize.js.map +1 -0
  663. package/dist/node_modules/lodash/min.js +17 -0
  664. package/dist/node_modules/lodash/min.js.map +1 -0
  665. package/dist/node_modules/lodash/noop.js +11 -0
  666. package/dist/node_modules/lodash/noop.js.map +1 -0
  667. package/dist/node_modules/lodash/now.js +14 -0
  668. package/dist/node_modules/lodash/now.js.map +1 -0
  669. package/dist/node_modules/lodash/property.js +18 -0
  670. package/dist/node_modules/lodash/property.js.map +1 -0
  671. package/dist/node_modules/lodash/range.js +11 -0
  672. package/dist/node_modules/lodash/range.js.map +1 -0
  673. package/dist/node_modules/lodash/some.js +20 -0
  674. package/dist/node_modules/lodash/some.js.map +1 -0
  675. package/dist/node_modules/lodash/sortBy.js +19 -0
  676. package/dist/node_modules/lodash/sortBy.js.map +1 -0
  677. package/dist/node_modules/lodash/stubArray.js +13 -0
  678. package/dist/node_modules/lodash/stubArray.js.map +1 -0
  679. package/dist/node_modules/lodash/stubFalse.js +13 -0
  680. package/dist/node_modules/lodash/stubFalse.js.map +1 -0
  681. package/dist/node_modules/lodash/throttle.js +22 -0
  682. package/dist/node_modules/lodash/throttle.js.map +1 -0
  683. package/dist/node_modules/lodash/toFinite.js +15 -0
  684. package/dist/node_modules/lodash/toFinite.js.map +1 -0
  685. package/dist/node_modules/lodash/toInteger.js +16 -0
  686. package/dist/node_modules/lodash/toInteger.js.map +1 -0
  687. package/dist/node_modules/lodash/toNumber.js +26 -0
  688. package/dist/node_modules/lodash/toNumber.js.map +1 -0
  689. package/dist/node_modules/lodash/toString.js +15 -0
  690. package/dist/node_modules/lodash/toString.js.map +1 -0
  691. package/dist/node_modules/lodash/uniqBy.js +16 -0
  692. package/dist/node_modules/lodash/uniqBy.js.map +1 -0
  693. package/dist/node_modules/lodash/upperFirst.js +11 -0
  694. package/dist/node_modules/lodash/upperFirst.js.map +1 -0
  695. package/dist/node_modules/object-assign/index.js +41 -0
  696. package/dist/node_modules/object-assign/index.js.map +1 -0
  697. package/dist/node_modules/prop-types/checkPropTypes.js +46 -0
  698. package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
  699. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +49 -0
  700. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
  701. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +272 -0
  702. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
  703. package/dist/node_modules/prop-types/index.js +16 -0
  704. package/dist/node_modules/prop-types/index.js.map +1 -0
  705. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
  706. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
  707. package/dist/node_modules/prop-types/lib/has.js +10 -0
  708. package/dist/node_modules/prop-types/lib/has.js.map +1 -0
  709. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +84 -0
  710. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  711. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +64 -0
  712. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  713. package/dist/node_modules/prop-types/node_modules/react-is/index.js +12 -0
  714. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
  715. package/dist/node_modules/react-is/cjs/react-is.development.js +87 -0
  716. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  717. package/dist/node_modules/react-is/cjs/react-is.production.min.js +65 -0
  718. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  719. package/dist/node_modules/react-is/index.js +12 -0
  720. package/dist/node_modules/react-is/index.js.map +1 -0
  721. package/dist/node_modules/react-smooth/es6/Animate.js +374 -0
  722. package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -0
  723. package/dist/node_modules/react-smooth/es6/AnimateManager.js +73 -0
  724. package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -0
  725. package/dist/node_modules/react-smooth/es6/configUpdate.js +173 -0
  726. package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -0
  727. package/dist/node_modules/react-smooth/es6/easing.js +152 -0
  728. package/dist/node_modules/react-smooth/es6/easing.js.map +1 -0
  729. package/dist/node_modules/react-smooth/es6/index.js +9 -0
  730. package/dist/node_modules/react-smooth/es6/index.js.map +1 -0
  731. package/dist/node_modules/react-smooth/es6/setRafTimeout.js +14 -0
  732. package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -0
  733. package/dist/node_modules/react-smooth/es6/util.js +92 -0
  734. package/dist/node_modules/react-smooth/es6/util.js.map +1 -0
  735. package/dist/node_modules/recharts/es6/cartesian/Bar.js +387 -0
  736. package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -0
  737. package/dist/node_modules/recharts/es6/cartesian/Brush.js +499 -0
  738. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -0
  739. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +338 -0
  740. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -0
  741. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js +305 -0
  742. package/dist/node_modules/recharts/es6/cartesian/CartesianGrid.js.map +1 -0
  743. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +243 -0
  744. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -0
  745. package/dist/node_modules/recharts/es6/cartesian/Line.js +473 -0
  746. package/dist/node_modules/recharts/es6/cartesian/Line.js.map +1 -0
  747. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +173 -0
  748. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -0
  749. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +178 -0
  750. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -0
  751. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +254 -0
  752. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -0
  753. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +144 -0
  754. package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -0
  755. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +143 -0
  756. package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -0
  757. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +18 -0
  758. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -0
  759. package/dist/node_modules/recharts/es6/cartesian/getTicks.js +121 -0
  760. package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -0
  761. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +101 -0
  762. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -0
  763. package/dist/node_modules/recharts/es6/chart/LineChart.js +22 -0
  764. package/dist/node_modules/recharts/es6/chart/LineChart.js.map +1 -0
  765. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +1245 -0
  766. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -0
  767. package/dist/node_modules/recharts/es6/component/Cell.js +9 -0
  768. package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -0
  769. package/dist/node_modules/recharts/es6/component/Cursor.js +93 -0
  770. package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -0
  771. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +237 -0
  772. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -0
  773. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +171 -0
  774. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -0
  775. package/dist/node_modules/recharts/es6/component/Label.js +353 -0
  776. package/dist/node_modules/recharts/es6/component/Label.js.map +1 -0
  777. package/dist/node_modules/recharts/es6/component/LabelList.js +166 -0
  778. package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -0
  779. package/dist/node_modules/recharts/es6/component/Legend.js +234 -0
  780. package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -0
  781. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +187 -0
  782. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -0
  783. package/dist/node_modules/recharts/es6/component/Text.js +225 -0
  784. package/dist/node_modules/recharts/es6/component/Text.js.map +1 -0
  785. package/dist/node_modules/recharts/es6/component/Tooltip.js +182 -0
  786. package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -0
  787. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +198 -0
  788. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -0
  789. package/dist/node_modules/recharts/es6/container/Layer.js +40 -0
  790. package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -0
  791. package/dist/node_modules/recharts/es6/container/Surface.js +60 -0
  792. package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -0
  793. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +57 -0
  794. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -0
  795. package/dist/node_modules/recharts/es6/shape/Cross.js +112 -0
  796. package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -0
  797. package/dist/node_modules/recharts/es6/shape/Curve.js +136 -0
  798. package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -0
  799. package/dist/node_modules/recharts/es6/shape/Dot.js +27 -0
  800. package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -0
  801. package/dist/node_modules/recharts/es6/shape/Rectangle.js +205 -0
  802. package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -0
  803. package/dist/node_modules/recharts/es6/shape/Sector.js +192 -0
  804. package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -0
  805. package/dist/node_modules/recharts/es6/shape/Symbols.js +143 -0
  806. package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -0
  807. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +175 -0
  808. package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -0
  809. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +181 -0
  810. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -0
  811. package/dist/node_modules/recharts/es6/util/BarUtils.js +112 -0
  812. package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -0
  813. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +234 -0
  814. package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -0
  815. package/dist/node_modules/recharts/es6/util/ChartUtils.js +562 -0
  816. package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -0
  817. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +70 -0
  818. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -0
  819. package/dist/node_modules/recharts/es6/util/DOMUtils.js +108 -0
  820. package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -0
  821. package/dist/node_modules/recharts/es6/util/DataUtils.js +57 -0
  822. package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -0
  823. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +58 -0
  824. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -0
  825. package/dist/node_modules/recharts/es6/util/Events.js +7 -0
  826. package/dist/node_modules/recharts/es6/util/Events.js.map +1 -0
  827. package/dist/node_modules/recharts/es6/util/Global.js +21 -0
  828. package/dist/node_modules/recharts/es6/util/Global.js.map +1 -0
  829. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +9 -0
  830. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -0
  831. package/dist/node_modules/recharts/es6/util/LogUtils.js +15 -0
  832. package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -0
  833. package/dist/node_modules/recharts/es6/util/PolarUtils.js +116 -0
  834. package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -0
  835. package/dist/node_modules/recharts/es6/util/ReactUtils.js +137 -0
  836. package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -0
  837. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +181 -0
  838. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -0
  839. package/dist/node_modules/recharts/es6/util/ShallowEqual.js +10 -0
  840. package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -0
  841. package/dist/node_modules/recharts/es6/util/TickUtils.js +31 -0
  842. package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -0
  843. package/dist/node_modules/recharts/es6/util/calculateViewBox.js +25 -0
  844. package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -0
  845. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +23 -0
  846. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -0
  847. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +16 -0
  848. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -0
  849. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +17 -0
  850. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -0
  851. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +12 -0
  852. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -0
  853. package/dist/node_modules/recharts/es6/util/getLegendProps.js +88 -0
  854. package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -0
  855. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +13 -0
  856. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -0
  857. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +12 -0
  858. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -0
  859. package/dist/node_modules/recharts/es6/util/tooltip/translate.js +87 -0
  860. package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -0
  861. package/dist/node_modules/recharts/es6/util/types.js +43 -0
  862. package/dist/node_modules/recharts/es6/util/types.js.map +1 -0
  863. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +132 -0
  864. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -0
  865. package/dist/node_modules/recharts-scale/es6/index.js +1 -0
  866. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +32 -0
  867. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -0
  868. package/dist/node_modules/recharts-scale/es6/util/utils.js +79 -0
  869. package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -0
  870. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1716 -0
  871. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
  872. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +13 -0
  873. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -0
  874. package/dist/node_modules/victory-vendor/es/d3-scale.js +53 -0
  875. package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -0
  876. package/package.json +3 -3
  877. package/dist/mybodyshield/pages/AdminAiinsightsPage.js +0 -161
  878. package/dist/mybodyshield/pages/AdminAiinsightsPage.js.map +0 -1
  879. package/dist/mybodyshield/pages/AdminAnalyticsPage.js +0 -193
  880. package/dist/mybodyshield/pages/AdminAnalyticsPage.js.map +0 -1
  881. package/dist/mybodyshield/pages/AdminComplianceReportsPage.js +0 -214
  882. package/dist/mybodyshield/pages/AdminComplianceReportsPage.js.map +0 -1
  883. package/dist/mybodyshield/pages/AdminDashboardPage.js +0 -186
  884. package/dist/mybodyshield/pages/AdminDashboardPage.js.map +0 -1
  885. package/dist/mybodyshield/pages/AdminOrganizationManagementPage.js +0 -252
  886. package/dist/mybodyshield/pages/AdminOrganizationManagementPage.js.map +0 -1
  887. package/dist/mybodyshield/pages/AdminSystemSettingsPage.js +0 -159
  888. package/dist/mybodyshield/pages/AdminSystemSettingsPage.js.map +0 -1
  889. package/dist/mybodyshield/pages/AdminUserManagementPage.js +0 -208
  890. package/dist/mybodyshield/pages/AdminUserManagementPage.js.map +0 -1
  891. package/dist/mybodyshield/pages/FitnessAssessmentsPage.js +0 -194
  892. package/dist/mybodyshield/pages/FitnessAssessmentsPage.js.map +0 -1
  893. package/dist/mybodyshield/pages/FitnessClientDetailsPage.js +0 -192
  894. package/dist/mybodyshield/pages/FitnessClientDetailsPage.js.map +0 -1
  895. package/dist/mybodyshield/pages/FitnessClientManagementPage.js +0 -128
  896. package/dist/mybodyshield/pages/FitnessClientManagementPage.js.map +0 -1
  897. package/dist/mybodyshield/pages/FitnessDashboardPage.js +0 -156
  898. package/dist/mybodyshield/pages/FitnessDashboardPage.js.map +0 -1
  899. package/dist/mybodyshield/pages/FitnessReportsPage.js +0 -138
  900. package/dist/mybodyshield/pages/FitnessReportsPage.js.map +0 -1
  901. package/dist/mybodyshield/pages/FitnessWorkoutPlansPage.js +0 -176
  902. package/dist/mybodyshield/pages/FitnessWorkoutPlansPage.js.map +0 -1
  903. package/dist/mybodyshield/pages/PatientAppointmentsPage.js +0 -132
  904. package/dist/mybodyshield/pages/PatientAppointmentsPage.js.map +0 -1
  905. package/dist/mybodyshield/pages/PatientDashboardPage.js +0 -190
  906. package/dist/mybodyshield/pages/PatientDashboardPage.js.map +0 -1
  907. package/dist/mybodyshield/pages/PatientFitnessTrackingPage.js +0 -137
  908. package/dist/mybodyshield/pages/PatientFitnessTrackingPage.js.map +0 -1
  909. package/dist/mybodyshield/pages/PatientHealthGoalsPage.js +0 -131
  910. package/dist/mybodyshield/pages/PatientHealthGoalsPage.js.map +0 -1
  911. package/dist/mybodyshield/pages/PatientHealthOverviewPage.js +0 -273
  912. package/dist/mybodyshield/pages/PatientHealthOverviewPage.js.map +0 -1
  913. package/dist/mybodyshield/pages/PatientLabResultsPage.js +0 -133
  914. package/dist/mybodyshield/pages/PatientLabResultsPage.js.map +0 -1
  915. package/dist/mybodyshield/pages/PatientMedicationsPage.js +0 -158
  916. package/dist/mybodyshield/pages/PatientMedicationsPage.js.map +0 -1
  917. package/dist/mybodyshield/pages/PatientMentalHealthPage.js +0 -152
  918. package/dist/mybodyshield/pages/PatientMentalHealthPage.js.map +0 -1
  919. package/dist/mybodyshield/pages/PatientNutritionTrackingPage.js +0 -141
  920. package/dist/mybodyshield/pages/PatientNutritionTrackingPage.js.map +0 -1
  921. package/dist/mybodyshield/pages/PatientVitalSignsPage.js +0 -160
  922. package/dist/mybodyshield/pages/PatientVitalSignsPage.js.map +0 -1
  923. package/dist/mybodyshield/pages/ProviderCalendarPage.js +0 -127
  924. package/dist/mybodyshield/pages/ProviderCalendarPage.js.map +0 -1
  925. package/dist/mybodyshield/pages/ProviderCarePlansPage.js +0 -153
  926. package/dist/mybodyshield/pages/ProviderCarePlansPage.js.map +0 -1
  927. package/dist/mybodyshield/pages/ProviderClinicalToolsPage.js +0 -174
  928. package/dist/mybodyshield/pages/ProviderClinicalToolsPage.js.map +0 -1
  929. package/dist/mybodyshield/pages/ProviderDashboardPage.js +0 -154
  930. package/dist/mybodyshield/pages/ProviderDashboardPage.js.map +0 -1
  931. package/dist/mybodyshield/pages/ProviderPatientDetailsPage.js +0 -295
  932. package/dist/mybodyshield/pages/ProviderPatientDetailsPage.js.map +0 -1
  933. package/dist/mybodyshield/pages/ProviderPatientManagementPage.js +0 -133
  934. package/dist/mybodyshield/pages/ProviderPatientManagementPage.js.map +0 -1
  935. package/dist/mybodyshield/pages/ProviderPrescriptionsPage.js +0 -138
  936. package/dist/mybodyshield/pages/ProviderPrescriptionsPage.js.map +0 -1
  937. package/dist/mybodyshield/pages/ProviderReportsPage.js +0 -149
  938. package/dist/mybodyshield/pages/ProviderReportsPage.js.map +0 -1
  939. package/dist/mybodyshield/pages/SharedAppointmentsPage.js +0 -129
  940. package/dist/mybodyshield/pages/SharedAppointmentsPage.js.map +0 -1
  941. package/dist/mybodyshield/pages/SharedCommunityPage.js +0 -152
  942. package/dist/mybodyshield/pages/SharedCommunityPage.js.map +0 -1
  943. package/dist/mybodyshield/pages/SharedEmergencyAlertsPage.js +0 -165
  944. package/dist/mybodyshield/pages/SharedEmergencyAlertsPage.js.map +0 -1
  945. package/dist/mybodyshield/pages/SharedEmergencyPage.js +0 -183
  946. package/dist/mybodyshield/pages/SharedEmergencyPage.js.map +0 -1
  947. package/dist/mybodyshield/pages/SharedHealthAnalyticsPage.js +0 -159
  948. package/dist/mybodyshield/pages/SharedHealthAnalyticsPage.js.map +0 -1
  949. package/dist/mybodyshield/pages/SharedMarketplacePage.js +0 -193
  950. package/dist/mybodyshield/pages/SharedMarketplacePage.js.map +0 -1
  951. package/dist/mybodyshield/pages/SharedMessagesPage.js +0 -156
  952. package/dist/mybodyshield/pages/SharedMessagesPage.js.map +0 -1
  953. package/dist/mybodyshield/pages/WellnessAssessmentsPage.js +0 -147
  954. package/dist/mybodyshield/pages/WellnessAssessmentsPage.js.map +0 -1
  955. package/dist/mybodyshield/pages/WellnessClientsPage.js +0 -182
  956. package/dist/mybodyshield/pages/WellnessClientsPage.js.map +0 -1
  957. package/dist/mybodyshield/pages/WellnessDashboardPage.js +0 -136
  958. package/dist/mybodyshield/pages/WellnessDashboardPage.js.map +0 -1
  959. package/dist/mybodyshield/pages/WellnessProgramsPage.js +0 -140
  960. package/dist/mybodyshield/pages/WellnessProgramsPage.js.map +0 -1
  961. package/dist/mybodyshield/providers/MyBodyShieldProvider.js +0 -27
  962. package/dist/mybodyshield/providers/MyBodyShieldProvider.js.map +0 -1
  963. package/dist/mybodyshield/store/mybodyshieldStore.js +0 -710
  964. package/dist/mybodyshield/store/mybodyshieldStore.js.map +0 -1
@@ -0,0 +1,89 @@
1
+ import { useMyBodyShield as e } from "../context/MyBodyShieldContext.js";
2
+ import "../context/index.js";
3
+ import { wspaceFetch as t } from "./useMybFiles.js";
4
+ import { useMutation as n, useQuery as r, useQueryClient as i } from "@tanstack/react-query";
5
+ //#region src/mybodyshield/hooks/useMybTags.ts
6
+ var a = "mybodyshield", o = (e, t) => [
7
+ "mybodyshield",
8
+ "entity-tags",
9
+ e,
10
+ t
11
+ ], s = "id label color key", c = (e) => e.toLowerCase().trim().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "").slice(0, 48) || "tag", l = (n, i) => {
12
+ let { apiGatewayUrl: a } = e();
13
+ return r({
14
+ queryKey: o(n, i ?? ""),
15
+ enabled: !!i,
16
+ queryFn: async () => (await t(`query MybGetEntityTags($entityType: String!, $entityId: ID!) {
17
+ getEntityTags(entityType: $entityType, entityId: $entityId) {
18
+ id
19
+ tag { ${s} }
20
+ }
21
+ }`, {
22
+ entityType: n,
23
+ entityId: i
24
+ }, a)).getEntityTags
25
+ });
26
+ }, u = (n) => {
27
+ let { apiGatewayUrl: i } = e(), a = n.trim();
28
+ return r({
29
+ queryKey: [
30
+ "mybodyshield",
31
+ "tag-search",
32
+ a
33
+ ],
34
+ enabled: a.length > 0,
35
+ queryFn: async () => (await t(`query MybSearchTags($query: String!, $limit: Int) {
36
+ searchTags(query: $query, limit: $limit) { ${s} }
37
+ }`, {
38
+ query: a,
39
+ limit: 8
40
+ }, i)).searchTags
41
+ });
42
+ }, d = (r, a) => {
43
+ let { apiGatewayUrl: s } = e(), c = i();
44
+ return n({
45
+ mutationFn: async (e) => (await t("mutation MybAssignTag($input: AssignTagInput!) {\n assignTag(input: $input) { id }\n }", { input: {
46
+ entityType: r,
47
+ entityId: a,
48
+ tagId: e
49
+ } }, s)).assignTag,
50
+ onSuccess: () => c.invalidateQueries({ queryKey: o(r, a) })
51
+ });
52
+ }, f = (r, a) => {
53
+ let { apiGatewayUrl: s } = e(), c = i();
54
+ return n({
55
+ mutationFn: async (e) => (await t("mutation MybRemoveTagAssignment($id: ID!) {\n removeTagAssignment(id: $id)\n }", { id: e }, s)).removeTagAssignment,
56
+ onSuccess: () => c.invalidateQueries({ queryKey: o(r, a) })
57
+ });
58
+ }, p = async (e) => {
59
+ let n = await t("query MybGetVocabulary($key: String!) {\n getVocabularyByKey(key: $key) { id }\n }", { key: a }, e);
60
+ return n.getVocabularyByKey?.id ? n.getVocabularyByKey.id : (await t("mutation MybCreateVocabulary($input: CreateVocabularyInput!) {\n createVocabulary(input: $input) { id }\n }", { input: {
61
+ key: a,
62
+ name: "MyBodyShield",
63
+ description: "Tags for MyBodyShield programs, coaching and other records.",
64
+ allowCustomTags: !0
65
+ } }, e)).createVocabulary.id;
66
+ }, m = (r, a) => {
67
+ let { apiGatewayUrl: s } = e(), l = i();
68
+ return n({
69
+ mutationFn: async (e) => {
70
+ let n = e.trim();
71
+ if (!n) throw Error("A tag label is required.");
72
+ let i = await t("mutation MybCreateTag($input: CreateTagInput!) {\n createTag(input: $input) { id }\n }", { input: {
73
+ vocabularyId: await p(s),
74
+ key: `${c(n)}-${Math.random().toString(36).slice(2, 6)}`,
75
+ label: n
76
+ } }, s);
77
+ return await t("mutation MybAssignCreatedTag($input: AssignTagInput!) {\n assignTag(input: $input) { id }\n }", { input: {
78
+ entityType: r,
79
+ entityId: a,
80
+ tagId: i.createTag.id
81
+ } }, s), i.createTag;
82
+ },
83
+ onSuccess: () => l.invalidateQueries({ queryKey: o(r, a) })
84
+ });
85
+ };
86
+ //#endregion
87
+ export { d as useMybAssignTag, m as useMybCreateAndAssignTag, l as useMybEntityTags, f as useMybRemoveTagAssignment, u as useMybTagSearch };
88
+
89
+ //# sourceMappingURL=useMybTags.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMybTags.js","names":[],"sources":["../../../src/mybodyshield/hooks/useMybTags.ts"],"sourcesContent":["/**\n * MyBodyShield — wspace-tags-svc UniversalTag REUSE hooks (Integration C).\n * @module mybodyshield/hooks/useMybTags\n *\n * The mybodyshield svc does NOT expose a tags field, so we drive the platform tag\n * assignment store directly (approach (b) in the reuse audit) — no mybodyshield-svc\n * change. All operations are composed into the WORKSPACE supergraph:\n * - `getEntityTags(entityType, entityId)` → current assignments (display)\n * - `searchTags(query)` → pick an existing tag\n * - `createTag(input)` → create a new tag (needs a vocabulary)\n * - `assignTag(input)` → link tag ↔ entity\n * - `removeTagAssignment(id)` → unlink\n *\n * `createTag` requires a `vocabularyId`; we resolve a stable, workspace-scoped\n * \"mybodyshield\" vocabulary (`getVocabularyByKey`, creating it on first use).\n *\n * Transport reuses `wspaceFetch` from `useMybFiles`. Lives in a separate file;\n * `useMyBodyShieldApi.ts` is untouched.\n */\n\nimport { useMutation, useQuery, useQueryClient } from '@tanstack/react-query';\n\nimport { useMyBodyShield } from '../context';\nimport { wspaceFetch } from './useMybFiles';\n\nexport interface MybTag {\n id: string;\n label: string;\n color: string | null;\n key: string;\n}\n\nexport interface MybTagAssignment {\n id: string;\n tag: MybTag;\n}\n\nconst MYB_VOCABULARY_KEY = 'mybodyshield';\n\nconst entityTagsKey = (entityType: string, entityId: string) =>\n ['mybodyshield', 'entity-tags', entityType, entityId] as const;\n\nconst TAG_FIELDS = 'id label color key';\n\nconst slugify = (value: string): string =>\n value\n .toLowerCase()\n .trim()\n .replace(/[^a-z0-9]+/g, '-')\n .replace(/^-+|-+$/g, '')\n .slice(0, 48) || 'tag';\n\n/** Current tag assignments for an mybodyshield entity. */\nexport const useMybEntityTags = (entityType: string, entityId: string | undefined) => {\n const { apiGatewayUrl } = useMyBodyShield();\n return useQuery({\n queryKey: entityTagsKey(entityType, entityId ?? ''),\n enabled: Boolean(entityId),\n queryFn: async () => {\n const data = await wspaceFetch<{ getEntityTags: MybTagAssignment[] }>(\n `query MybGetEntityTags($entityType: String!, $entityId: ID!) {\n getEntityTags(entityType: $entityType, entityId: $entityId) {\n id\n tag { ${TAG_FIELDS} }\n }\n }`,\n { entityType, entityId },\n apiGatewayUrl\n );\n return data.getEntityTags;\n },\n });\n};\n\n/** Search existing tags (enabled only for a non-empty query). */\nexport const useMybTagSearch = (query: string) => {\n const { apiGatewayUrl } = useMyBodyShield();\n const trimmed = query.trim();\n return useQuery({\n queryKey: ['mybodyshield', 'tag-search', trimmed],\n enabled: trimmed.length > 0,\n queryFn: async () => {\n const data = await wspaceFetch<{ searchTags: MybTag[] }>(\n `query MybSearchTags($query: String!, $limit: Int) {\n searchTags(query: $query, limit: $limit) { ${TAG_FIELDS} }\n }`,\n { query: trimmed, limit: 8 },\n apiGatewayUrl\n );\n return data.searchTags;\n },\n });\n};\n\n/** Assign an existing tag to the entity. */\nexport const useMybAssignTag = (entityType: string, entityId: string) => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (tagId: string) => {\n const data = await wspaceFetch<{ assignTag: { id: string } }>(\n `mutation MybAssignTag($input: AssignTagInput!) {\n assignTag(input: $input) { id }\n }`,\n { input: { entityType, entityId, tagId } },\n apiGatewayUrl\n );\n return data.assignTag;\n },\n onSuccess: () => qc.invalidateQueries({ queryKey: entityTagsKey(entityType, entityId) }),\n });\n};\n\n/** Remove a tag assignment by its assignment id. */\nexport const useMybRemoveTagAssignment = (entityType: string, entityId: string) => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (assignmentId: string) => {\n const data = await wspaceFetch<{ removeTagAssignment: boolean }>(\n `mutation MybRemoveTagAssignment($id: ID!) {\n removeTagAssignment(id: $id)\n }`,\n { id: assignmentId },\n apiGatewayUrl\n );\n return data.removeTagAssignment;\n },\n onSuccess: () => qc.invalidateQueries({ queryKey: entityTagsKey(entityType, entityId) }),\n });\n};\n\n/** Resolve (creating on first use) the workspace-scoped \"mybodyshield\" vocabulary. */\nconst resolveMybVocabularyId = async (baseUrl?: string): Promise<string> => {\n const existing = await wspaceFetch<{ getVocabularyByKey: { id: string } | null }>(\n `query MybGetVocabulary($key: String!) {\n getVocabularyByKey(key: $key) { id }\n }`,\n { key: MYB_VOCABULARY_KEY },\n baseUrl\n );\n if (existing.getVocabularyByKey?.id) {\n return existing.getVocabularyByKey.id;\n }\n const created = await wspaceFetch<{ createVocabulary: { id: string } }>(\n `mutation MybCreateVocabulary($input: CreateVocabularyInput!) {\n createVocabulary(input: $input) { id }\n }`,\n {\n input: {\n key: MYB_VOCABULARY_KEY,\n name: 'MyBodyShield',\n description: 'Tags for MyBodyShield programs, coaching and other records.',\n allowCustomTags: true,\n },\n },\n baseUrl\n );\n return created.createVocabulary.id;\n};\n\n/** Create a new tag from a free-text label and assign it to the entity. */\nexport const useMybCreateAndAssignTag = (entityType: string, entityId: string) => {\n const { apiGatewayUrl } = useMyBodyShield();\n const qc = useQueryClient();\n return useMutation({\n mutationFn: async (label: string) => {\n const trimmed = label.trim();\n if (!trimmed) {\n throw new Error('A tag label is required.');\n }\n const vocabularyId = await resolveMybVocabularyId(apiGatewayUrl);\n // A unique key avoids collisions with existing tags in the vocabulary;\n // the (non-unique) label is what users see.\n const key = `${slugify(trimmed)}-${Math.random().toString(36).slice(2, 6)}`;\n const created = await wspaceFetch<{ createTag: { id: string } }>(\n `mutation MybCreateTag($input: CreateTagInput!) {\n createTag(input: $input) { id }\n }`,\n { input: { vocabularyId, key, label: trimmed } },\n apiGatewayUrl\n );\n await wspaceFetch<{ assignTag: { id: string } }>(\n `mutation MybAssignCreatedTag($input: AssignTagInput!) {\n assignTag(input: $input) { id }\n }`,\n { input: { entityType, entityId, tagId: created.createTag.id } },\n apiGatewayUrl\n );\n return created.createTag;\n },\n onSuccess: () => qc.invalidateQueries({ queryKey: entityTagsKey(entityType, entityId) }),\n });\n};\n"],"mappings":";;;;;AAqCA,IAAM,IAAqB,gBAErB,KAAiB,GAAoB,MACzC;CAAC;CAAgB;CAAe;CAAY;CAAS,EAEjD,IAAa,sBAEb,KAAW,MACf,EACG,aAAa,CACb,MAAM,CACN,QAAQ,eAAe,IAAI,CAC3B,QAAQ,YAAY,GAAG,CACvB,MAAM,GAAG,GAAG,IAAI,OAGR,KAAoB,GAAoB,MAAiC;CACpF,IAAM,EAAE,qBAAkB,GAAiB;AAC3C,QAAO,EAAS;EACd,UAAU,EAAc,GAAY,KAAY,GAAG;EACnD,SAAS,EAAQ;EACjB,SAAS,aACM,MAAM,EACjB;;;oBAGY,EAAW;;YAGvB;GAAE;GAAY;GAAU,EACxB,EACD,EACW;EAEf,CAAC;GAIS,KAAmB,MAAkB;CAChD,IAAM,EAAE,qBAAkB,GAAiB,EACrC,IAAU,EAAM,MAAM;AAC5B,QAAO,EAAS;EACd,UAAU;GAAC;GAAgB;GAAc;GAAQ;EACjD,SAAS,EAAQ,SAAS;EAC1B,SAAS,aACM,MAAM,EACjB;uDAC+C,EAAW;YAE1D;GAAE,OAAO;GAAS,OAAO;GAAG,EAC5B,EACD,EACW;EAEf,CAAC;GAIS,KAAmB,GAAoB,MAAqB;CACvE,IAAM,EAAE,qBAAkB,GAAiB,EACrC,IAAK,GAAgB;AAC3B,QAAO,EAAY;EACjB,YAAY,OAAO,OACJ,MAAM,EACjB,0GAGA,EAAE,OAAO;GAAE;GAAY;GAAU;GAAO,EAAE,EAC1C,EACD,EACW;EAEd,iBAAiB,EAAG,kBAAkB,EAAE,UAAU,EAAc,GAAY,EAAS,EAAE,CAAC;EACzF,CAAC;GAIS,KAA6B,GAAoB,MAAqB;CACjF,IAAM,EAAE,qBAAkB,GAAiB,EACrC,IAAK,GAAgB;AAC3B,QAAO,EAAY;EACjB,YAAY,OAAO,OACJ,MAAM,EACjB,kGAGA,EAAE,IAAI,GAAc,EACpB,EACD,EACW;EAEd,iBAAiB,EAAG,kBAAkB,EAAE,UAAU,EAAc,GAAY,EAAS,EAAE,CAAC;EACzF,CAAC;GAIE,IAAyB,OAAO,MAAsC;CAC1E,IAAM,IAAW,MAAM,EACrB,8FAGA,EAAE,KAAK,GAAoB,EAC3B,EACD;AAkBD,QAjBI,EAAS,oBAAoB,KACxB,EAAS,mBAAmB,MAErB,MAAM,EACpB,uHAGA,EACE,OAAO;EACL,KAAK;EACL,MAAM;EACN,aAAa;EACb,iBAAiB;EAClB,EACF,EACD,EACD,EACc,iBAAiB;GAIrB,KAA4B,GAAoB,MAAqB;CAChF,IAAM,EAAE,qBAAkB,GAAiB,EACrC,IAAK,GAAgB;AAC3B,QAAO,EAAY;EACjB,YAAY,OAAO,MAAkB;GACnC,IAAM,IAAU,EAAM,MAAM;AAC5B,OAAI,CAAC,EACH,OAAU,MAAM,2BAA2B;GAM7C,IAAM,IAAU,MAAM,EACpB,0GAGA,EAAE,OAAO;IAAE,cARQ,MAAM,EAAuB,EAAc;IAQrC,KALf,GAAG,EAAQ,EAAQ,CAAC,GAAG,KAAK,QAAQ,CAAC,SAAS,GAAG,CAAC,MAAM,GAAG,EAAE;IAKzC,OAAO;IAAS,EAAE,EAChD,EACD;AAQD,UAPA,MAAM,EACJ,iHAGA,EAAE,OAAO;IAAE;IAAY;IAAU,OAAO,EAAQ,UAAU;IAAI,EAAE,EAChE,EACD,EACM,EAAQ;;EAEjB,iBAAiB,EAAG,kBAAkB,EAAE,UAAU,EAAc,GAAY,EAAS,EAAE,CAAC;EACzF,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { useQuery as e } from "@tanstack/react-query";
2
+ import { graphqlFetch as t } from "@burdenoff/fe-libs/shared/graphql";
3
+ //#region src/mybodyshield/hooks/useMybUsers.ts
4
+ var n = (e) => e.name?.trim() ? e.name.trim() : [e.firstName, e.lastName].filter(Boolean).join(" ").trim() || (e.username?.trim() ? e.username.trim() : e.email), r = async (e, n) => {
5
+ let r = await t({
6
+ gateway: "global",
7
+ query: e,
8
+ variables: n
9
+ });
10
+ if (r.errors?.length) throw Error(r.errors[0]?.message ?? "GraphQL request failed");
11
+ if (!r.data) throw Error("GraphQL response did not include data");
12
+ return r.data;
13
+ }, i = (t) => {
14
+ let n = t.trim();
15
+ return e({
16
+ queryKey: [
17
+ "mybodyshield",
18
+ "user-search",
19
+ n
20
+ ],
21
+ enabled: n.length >= 2,
22
+ staleTime: 3e4,
23
+ retry: !1,
24
+ queryFn: async () => (await r("query MybUserSearch($filter: UserFilterInput, $pagination: PaginationInput) {\n users(filter: $filter, pagination: $pagination) {\n users { id name firstName lastName email username }\n hasMore\n }\n }", {
25
+ filter: { search: n },
26
+ pagination: {
27
+ limit: 8,
28
+ offset: 0
29
+ }
30
+ })).users.users
31
+ });
32
+ };
33
+ //#endregion
34
+ export { n as directoryUserName, i as useMybUserSearch };
35
+
36
+ //# sourceMappingURL=useMybUsers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMybUsers.js","names":[],"sources":["../../../src/mybodyshield/hooks/useMybUsers.ts"],"sourcesContent":["/**\n * MyBodyShield — global user directory search (identity reuse).\n * @module mybodyshield/hooks/useMybUsers\n *\n * Resolves real users (coach / member) from the global auth directory so the\n * coaching form can pick a person by name/email instead of pasting a raw UUID.\n * Reuses the composed GLOBAL supergraph `users(filter, pagination)` op — no\n * bespoke identity storage in the mybodyshield svc. Transport mirrors the other\n * hooks (`graphqlFetch`) but targets the GLOBAL gateway.\n */\n\nimport { useQuery } from '@tanstack/react-query';\nimport { graphqlFetch } from '@burdenoff/fe-libs/shared/graphql';\n\nimport { useMyBodyShield } from '../context';\n\nexport interface DirectoryUser {\n id: string;\n name: string | null;\n firstName: string | null;\n lastName: string | null;\n email: string;\n username: string;\n}\n\n/** Best display name for a directory user (name → first+last → username → email). */\nexport const directoryUserName = (user: DirectoryUser): string => {\n if (user.name?.trim()) return user.name.trim();\n const full = [user.firstName, user.lastName].filter(Boolean).join(' ').trim();\n if (full) return full;\n if (user.username?.trim()) return user.username.trim();\n return user.email;\n};\n\nconst globalQuery = async <TData>(\n query: string,\n variables: Record<string, unknown>\n): Promise<TData> => {\n const response = await graphqlFetch<TData>({ gateway: 'global', query, variables });\n if (response.errors?.length) {\n throw new Error(response.errors[0]?.message ?? 'GraphQL request failed');\n }\n if (!response.data) {\n throw new Error('GraphQL response did not include data');\n }\n return response.data;\n};\n\n/**\n * Search the tenant user directory by name/email. Enabled once the term is at\n * least two characters; failures are surfaced to the caller (which offers a\n * manual-id fallback) rather than as a global error toast.\n */\nexport const useMybUserSearch = (search: string) => {\n const term = search.trim();\n return useQuery({\n queryKey: ['mybodyshield', 'user-search', term],\n enabled: term.length >= 2,\n staleTime: 30_000,\n retry: false,\n queryFn: async () => {\n const result = await globalQuery<{\n users: { users: DirectoryUser[]; hasMore: boolean };\n }>(\n `query MybUserSearch($filter: UserFilterInput, $pagination: PaginationInput) {\n users(filter: $filter, pagination: $pagination) {\n users { id name firstName lastName email username }\n hasMore\n }\n }`,\n { filter: { search: term }, pagination: { limit: 8, offset: 0 } }\n );\n return result.users.users;\n },\n });\n};\n"],"mappings":";;;AA0BA,IAAa,KAAqB,MAC5B,EAAK,MAAM,MAAM,GAAS,EAAK,KAAK,MAAM,GACjC,CAAC,EAAK,WAAW,EAAK,SAAS,CAAC,OAAO,QAAQ,CAAC,KAAK,IAAI,CAAC,MAAM,KAEzE,EAAK,UAAU,MAAM,GAAS,EAAK,SAAS,MAAM,GAC/C,EAAK,QAGR,IAAc,OAClB,GACA,MACmB;CACnB,IAAM,IAAW,MAAM,EAAoB;EAAE,SAAS;EAAU;EAAO;EAAW,CAAC;AACnF,KAAI,EAAS,QAAQ,OACnB,OAAU,MAAM,EAAS,OAAO,IAAI,WAAW,yBAAyB;AAE1E,KAAI,CAAC,EAAS,KACZ,OAAU,MAAM,wCAAwC;AAE1D,QAAO,EAAS;GAQL,KAAoB,MAAmB;CAClD,IAAM,IAAO,EAAO,MAAM;AAC1B,QAAO,EAAS;EACd,UAAU;GAAC;GAAgB;GAAe;GAAK;EAC/C,SAAS,EAAK,UAAU;EACxB,WAAW;EACX,OAAO;EACP,SAAS,aACQ,MAAM,EAGnB,4PAMA;GAAE,QAAQ,EAAE,QAAQ,GAAM;GAAE,YAAY;IAAE,OAAO;IAAG,QAAQ;IAAG;GAAE,CAClE,EACa,MAAM;EAEvB,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { useCallback as e, useMemo as t, useState as n } from "react";
2
+ //#region src/mybodyshield/hooks/usePager.ts
3
+ function r(r = 25) {
4
+ let [i, a] = n(0), o = e(() => a((e) => e + 1), []), s = e(() => a((e) => e > 0 ? e - 1 : 0), []), c = e(() => a(0), []), l = e((e) => {
5
+ a(e < 0 ? 0 : e);
6
+ }, []);
7
+ return t(() => ({
8
+ page: i,
9
+ offset: i * r,
10
+ pageSize: r,
11
+ next: o,
12
+ prev: s,
13
+ reset: c,
14
+ onPageChange: l
15
+ }), [
16
+ i,
17
+ r,
18
+ o,
19
+ s,
20
+ c,
21
+ l
22
+ ]);
23
+ }
24
+ //#endregion
25
+ export { r as useOffsetPager };
26
+
27
+ //# sourceMappingURL=usePager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePager.js","names":[],"sources":["../../../src/mybodyshield/hooks/usePager.ts"],"sourcesContent":["/**\n * useOffsetPager — offset/limit pagination for Myb* list connections.\n * @module mybodyshield/hooks\n *\n * The workspaces public gateway's composed `PaginationInput` does NOT reliably\n * carry `cursor` (the federated intersection drops it) — sending\n * `pagination.cursor` fails (GRAPHQL_VALIDATION_FAILED, or INTERNAL_SERVER_ERROR\n * on a null end-cursor). So MFE lists paginate by **offset**: pass\n * `pagination: { limit, offset: page * limit }` and drive \"Next\" from\n * `pageInfo.hasMore`. This hook keeps a 0-indexed `page` and derives `offset`.\n */\n\nimport { useCallback, useMemo, useState } from 'react';\n\nexport interface OffsetPager {\n /** 0-indexed page number for display. */\n page: number;\n /** Number of rows to skip — pass as `pagination.offset`. */\n offset: number;\n /** Rows per page. */\n pageSize: number;\n /** Advance to the next page. */\n next: () => void;\n /** Go back one page (no-op on the first page). */\n prev: () => void;\n /** Reset to the first page (call when filters change). */\n reset: () => void;\n /** Adapter for `<Pagination onPageChange>` — jumps to an absolute 0-indexed page. */\n onPageChange: (targetPage: number) => void;\n}\n\nexport function useOffsetPager(pageSize = 25): OffsetPager {\n const [page, setPage] = useState(0);\n\n const next = useCallback(() => setPage((p) => p + 1), []);\n const prev = useCallback(() => setPage((p) => (p > 0 ? p - 1 : 0)), []);\n const reset = useCallback(() => setPage(0), []);\n const onPageChange = useCallback((targetPage: number) => {\n setPage(targetPage < 0 ? 0 : targetPage);\n }, []);\n\n return useMemo(\n () => ({ page, offset: page * pageSize, pageSize, next, prev, reset, onPageChange }),\n [page, pageSize, next, prev, reset, onPageChange]\n );\n}\n"],"mappings":";;AA+BA,SAAgB,EAAe,IAAW,IAAiB;CACzD,IAAM,CAAC,GAAM,KAAW,EAAS,EAAE,EAE7B,IAAO,QAAkB,GAAS,MAAM,IAAI,EAAE,EAAE,EAAE,CAAC,EACnD,IAAO,QAAkB,GAAS,MAAO,IAAI,IAAI,IAAI,IAAI,EAAG,EAAE,EAAE,CAAC,EACjE,IAAQ,QAAkB,EAAQ,EAAE,EAAE,EAAE,CAAC,EACzC,IAAe,GAAa,MAAuB;AACvD,IAAQ,IAAa,IAAI,IAAI,EAAW;IACvC,EAAE,CAAC;AAEN,QAAO,SACE;EAAE;EAAM,QAAQ,IAAO;EAAU;EAAU;EAAM;EAAM;EAAO;EAAc,GACnF;EAAC;EAAM;EAAU;EAAM;EAAM;EAAO;EAAa,CAClD"}
@@ -1,3 +1,6 @@
1
- import "./providers/MyBodyShieldProvider.js";
2
- import "./store/mybodyshieldStore.js";
1
+ import "./utils/navigation.js";
2
+ import "./context/MyBodyShieldContext.js";
3
+ import "./utils/cn.js";
4
+ import "./utils/formatters.js";
5
+ import "./context/index.js";
3
6
  import "./MyBodyShieldRoot.js";
@@ -0,0 +1,432 @@
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";
10
+ 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";
12
+ 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";
17
+ //#region src/mybodyshield/pages/DashboardPage.tsx
18
+ function j() {
19
+ let { navigateTo: j, currentUser: M } = e(), N = b({
20
+ status: "ACTIVE",
21
+ pagination: { limit: 50 }
22
+ }), P = S({ pagination: { limit: 20 } }), F = y({
23
+ status: "ACTIVE",
24
+ pagination: { limit: 50 }
25
+ }), I = v(), L = _({
26
+ type: "WEIGHT",
27
+ 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) => {
29
+ 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, {
33
+ title: "MyBodyShield",
34
+ titleGradient: !0,
35
+ aurora: !0,
36
+ children: /* @__PURE__ */ O(c, { label: "Loading your fitness overview…" })
37
+ }) : /* @__PURE__ */ k(t, {
38
+ title: "MyBodyShield",
39
+ titleGradient: !0,
40
+ aurora: !0,
41
+ description: `Welcome back, ${M?.firstName || M?.name || "there"} — your training, nutrition, progress & recovery control room.`,
42
+ children: [
43
+ /* @__PURE__ */ k("div", {
44
+ 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
+ ]
146
+ }),
147
+ /* @__PURE__ */ k("div", {
148
+ 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
+ ]
187
+ })]
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",
218
+ children: [
219
+ /* @__PURE__ */ O("p", {
220
+ className: "text-xs text-text-tertiary",
221
+ children: e
222
+ }),
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
+ })]
234
+ }),
235
+ /* @__PURE__ */ O(m, {
236
+ value: n ? t / n * 100 : 0,
237
+ height: 4,
238
+ className: "mt-2"
239
+ })
240
+ ]
241
+ }, e))
242
+ })]
243
+ })]
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", {
303
+ type: "button",
304
+ onClick: () => j("train"),
305
+ className: "mt-1 text-xs font-medium text-accent hover:underline",
306
+ children: "Start a workout"
307
+ })
308
+ ]
309
+ })]
310
+ })]
311
+ }),
312
+ /* @__PURE__ */ O(l, {
313
+ title: "Active goals",
314
+ description: "Your current targets across training, nutrition and body composition.",
315
+ action: /* @__PURE__ */ k("button", {
316
+ type: "button",
317
+ onClick: () => j("goals"),
318
+ 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" })]
320
+ }),
321
+ children: V.length === 0 ? /* @__PURE__ */ O(u, {
322
+ illustration: "empty-data",
323
+ icon: /* @__PURE__ */ O(D, { className: "h-10 w-10" }),
324
+ title: "No active goals",
325
+ description: "Set a goal to give your training and nutrition a clear target to work toward."
326
+ }) : /* @__PURE__ */ O("div", {
327
+ 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", {
331
+ type: "button",
332
+ onClick: () => j("goals"),
333
+ className: "text-left",
334
+ children: /* @__PURE__ */ k(A, {
335
+ treatment: "plain",
336
+ className: "h-full p-4 transition-shadow hover:shadow-float",
337
+ children: [/* @__PURE__ */ k("div", {
338
+ 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", {
343
+ className: "min-w-0 flex-1",
344
+ children: [/* @__PURE__ */ O("p", {
345
+ className: "truncate text-sm font-semibold text-text-primary",
346
+ children: e.title
347
+ }), /* @__PURE__ */ O("p", {
348
+ className: "text-xs text-text-tertiary",
349
+ children: r(e.type)
350
+ })]
351
+ })]
352
+ }), /* @__PURE__ */ k("div", {
353
+ className: "mt-3 space-y-1.5",
354
+ children: [/* @__PURE__ */ O(m, {
355
+ value: t,
356
+ color: n.tint
357
+ }), /* @__PURE__ */ k("div", {
358
+ className: "flex items-center justify-between text-xs",
359
+ children: [/* @__PURE__ */ k("span", {
360
+ className: "tabular-nums text-text-secondary",
361
+ children: [
362
+ i(e.currentValue),
363
+ e.unit ? ` ${e.unit}` : "",
364
+ " / ",
365
+ i(e.targetValue),
366
+ e.unit ? ` ${e.unit}` : ""
367
+ ]
368
+ }), /* @__PURE__ */ O("span", {
369
+ className: "tabular-nums text-text-tertiary",
370
+ children: a(t)
371
+ })]
372
+ })]
373
+ })]
374
+ })
375
+ }, e.id);
376
+ })
377
+ })
378
+ }),
379
+ /* @__PURE__ */ O(l, {
380
+ title: "Recent sessions",
381
+ description: "Your latest logged and scheduled workouts.",
382
+ action: /* @__PURE__ */ k("button", {
383
+ type: "button",
384
+ onClick: () => j("train"),
385
+ 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" })]
387
+ }),
388
+ children: B.length === 0 ? /* @__PURE__ */ O(u, {
389
+ illustration: "empty-data",
390
+ icon: /* @__PURE__ */ O(E, { className: "h-10 w-10" }),
391
+ title: "No sessions yet",
392
+ description: "Start a workout session to begin logging sets and tracking your training."
393
+ }) : /* @__PURE__ */ O("div", {
394
+ 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", {
398
+ type: "button",
399
+ onClick: () => j(`train/${e.id}`),
400
+ className: "text-left",
401
+ children: /* @__PURE__ */ k(A, {
402
+ treatment: "plain",
403
+ className: "p-4 transition-shadow hover:shadow-float",
404
+ children: [
405
+ /* @__PURE__ */ k("div", {
406
+ 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 })]
411
+ }),
412
+ /* @__PURE__ */ O("p", {
413
+ className: "mt-3 text-sm font-medium text-text-primary",
414
+ children: e.caloriesBurned > 0 ? `${i(e.caloriesBurned)} kcal burned` : "Workout session"
415
+ }),
416
+ /* @__PURE__ */ O("p", {
417
+ className: "mt-0.5 text-xs text-text-tertiary",
418
+ children: o(e.completedAt ?? e.startedAt ?? e.createdAt)
419
+ })
420
+ ]
421
+ })
422
+ }, e.id);
423
+ })
424
+ })
425
+ })
426
+ ]
427
+ });
428
+ }
429
+ //#endregion
430
+ export { j as DashboardPage };
431
+
432
+ //# sourceMappingURL=DashboardPage.js.map