@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,294 @@
1
+ import { useMyBodyShield as e } from "../../context/MyBodyShieldContext.js";
2
+ import { PageLayout as t } from "../../components/PageLayout.js";
3
+ import { formatKcal as n, formatNumber as ee, formatRelativeTime as r } from "../../utils/formatters.js";
4
+ import { StatusBadge as te } from "../../components/StatusBadge.js";
5
+ import { ErrorView as i, LoadingView as a } from "../../components/StateViews.js";
6
+ import { EmptyState as o } from "../../components/EmptyState.js";
7
+ import { IconChip as s } from "../_shared/visuals.js";
8
+ import "../../context/index.js";
9
+ import { useMybPrograms as c, useMybSessions as l, useMybStartSession as u } from "../../hooks/useMyBodyShieldApi.js";
10
+ import { useOffsetPager as ne } from "../../hooks/usePager.js";
11
+ import "../../hooks/index.js";
12
+ import { FilterTabs as d } from "../../components/FilterTabs.js";
13
+ import { Pagination as f } from "../../components/Pagination.js";
14
+ import "../../components/index.js";
15
+ import { useState as p } from "react";
16
+ import { CalendarClock as m, CheckCircle2 as h, Flame as g, Gauge as _, ListChecks as re, PlayCircle as v, Plus as y, SkipForward as b } from "lucide-react";
17
+ import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
18
+ import { Button as w, GlassCard as ie, Input as ae, Label as T, ResponsiveDialog as E, ResponsiveDialogContent as D, ResponsiveDialogDescription as O, ResponsiveDialogFooter as k, ResponsiveDialogHeader as A, ResponsiveDialogTitle as j, Select as M, SelectContent as N, SelectItem as P, SelectTrigger as F, SelectValue as I, Textarea as L } from "@burdenoff/fe-libs/ui";
19
+ //#region src/mybodyshield/pages/train/SessionsPage.tsx
20
+ var R = [
21
+ {
22
+ value: "ALL",
23
+ label: "All"
24
+ },
25
+ {
26
+ value: "SCHEDULED",
27
+ label: "Scheduled"
28
+ },
29
+ {
30
+ value: "IN_PROGRESS",
31
+ label: "Live"
32
+ },
33
+ {
34
+ value: "COMPLETED",
35
+ label: "Completed"
36
+ }
37
+ ], z = 24, B = "__none__", V = {
38
+ programId: B,
39
+ scheduledFor: "",
40
+ notes: ""
41
+ };
42
+ function H(e) {
43
+ switch (e.status) {
44
+ case "IN_PROGRESS": return {
45
+ icon: v,
46
+ tint: "var(--color-accent-teal)",
47
+ title: "Live workout in progress",
48
+ stampLabel: "Started",
49
+ stamp: e.startedAt ?? e.createdAt
50
+ };
51
+ case "COMPLETED": return {
52
+ icon: h,
53
+ tint: "var(--color-status-success-text)",
54
+ title: e.caloriesBurned > 0 ? `${n(e.caloriesBurned)} burned` : "Workout completed",
55
+ stampLabel: "Completed",
56
+ stamp: e.completedAt ?? e.startedAt ?? e.createdAt
57
+ };
58
+ case "SKIPPED": return {
59
+ icon: b,
60
+ tint: "var(--color-text-secondary)",
61
+ title: "Skipped session",
62
+ stampLabel: "Scheduled",
63
+ stamp: e.scheduledFor ?? e.createdAt
64
+ };
65
+ default: return {
66
+ icon: m,
67
+ tint: "var(--color-accent-primary)",
68
+ title: "Scheduled session",
69
+ stampLabel: "Scheduled",
70
+ stamp: e.scheduledFor ?? e.createdAt
71
+ };
72
+ }
73
+ }
74
+ function U() {
75
+ let { navigateTo: m } = e(), [h, v] = p("ALL"), b = ne(z), U = l({
76
+ status: h === "ALL" ? void 0 : h,
77
+ pagination: {
78
+ limit: z,
79
+ offset: b.offset
80
+ }
81
+ }), W = c({
82
+ status: "ACTIVE",
83
+ pagination: { limit: 50 }
84
+ }).data?.items ?? [], G = u(), [K, q] = p(!1), [J, Y] = p(V), [X, Z] = p(null), Q = U.data?.items ?? [], oe = U.data?.pageInfo?.hasMore ?? !1, se = (e) => {
85
+ v(e), b.reset();
86
+ }, $ = () => {
87
+ Y(V), Z(null), q(!0);
88
+ };
89
+ return /* @__PURE__ */ C(t, {
90
+ title: "Train",
91
+ description: "Live workout sessions — start, log sets, and complete.",
92
+ actions: /* @__PURE__ */ C(w, {
93
+ onClick: $,
94
+ children: [/* @__PURE__ */ S(y, { className: "h-4 w-4" }), " Start session"]
95
+ }),
96
+ children: [
97
+ /* @__PURE__ */ S("div", {
98
+ className: "mb-6",
99
+ children: /* @__PURE__ */ S(d, {
100
+ options: R,
101
+ value: h,
102
+ onChange: se
103
+ })
104
+ }),
105
+ U.isLoading ? /* @__PURE__ */ S(a, { label: "Loading your sessions…" }) : U.isError ? /* @__PURE__ */ S(i, {
106
+ message: "We couldn't load your workout sessions.",
107
+ onRetry: () => U.refetch()
108
+ }) : Q.length === 0 ? /* @__PURE__ */ S(o, {
109
+ illustration: "empty-data",
110
+ icon: /* @__PURE__ */ S(g, { className: "h-10 w-10" }),
111
+ title: h === "ALL" ? "No sessions yet" : "No sessions in this state",
112
+ description: h === "ALL" ? "Start a workout session to begin logging sets and tracking your training." : "Try a different filter, or start a new workout session.",
113
+ action: /* @__PURE__ */ C(w, {
114
+ onClick: $,
115
+ children: [/* @__PURE__ */ S(y, { className: "h-4 w-4" }), " Start session"]
116
+ })
117
+ }) : /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("div", {
118
+ className: "grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3",
119
+ children: Q.map((e) => {
120
+ let t = H(e), i = t.icon, a = e.status === "IN_PROGRESS", o = e.sets?.length;
121
+ return /* @__PURE__ */ S("button", {
122
+ type: "button",
123
+ onClick: () => m(`train/${e.id}`),
124
+ className: "text-left",
125
+ children: /* @__PURE__ */ C(ie, {
126
+ treatment: "plain",
127
+ className: "h-full p-4 transition-shadow hover:shadow-float" + (a ? " ring-2 ring-inset ring-accent-teal" : ""),
128
+ children: [
129
+ /* @__PURE__ */ C("div", {
130
+ className: "flex items-center justify-between gap-2",
131
+ children: [/* @__PURE__ */ S(s, {
132
+ icon: /* @__PURE__ */ S(i, { className: "h-4 w-4" }),
133
+ tint: t.tint
134
+ }), /* @__PURE__ */ S(te, { status: e.status })]
135
+ }),
136
+ /* @__PURE__ */ S("p", {
137
+ className: "mt-3 text-sm font-medium text-text-primary",
138
+ children: t.title
139
+ }),
140
+ /* @__PURE__ */ C("p", {
141
+ className: "mt-0.5 text-xs text-text-tertiary",
142
+ children: [
143
+ t.stampLabel,
144
+ " ",
145
+ r(t.stamp)
146
+ ]
147
+ }),
148
+ /* @__PURE__ */ C("div", {
149
+ className: "mt-3 flex flex-wrap items-center gap-x-4 gap-y-1 text-xs text-text-secondary",
150
+ children: [
151
+ e.caloriesBurned > 0 && /* @__PURE__ */ C("span", {
152
+ className: "inline-flex items-center gap-1 tabular-nums",
153
+ children: [/* @__PURE__ */ S(g, { className: "h-3.5 w-3.5 text-status-warning-text" }), n(e.caloriesBurned)]
154
+ }),
155
+ e.perceivedExertion != null && /* @__PURE__ */ C("span", {
156
+ className: "inline-flex items-center gap-1 tabular-nums",
157
+ children: [
158
+ /* @__PURE__ */ S(_, { className: "h-3.5 w-3.5 text-accent" }),
159
+ "RPE ",
160
+ e.perceivedExertion,
161
+ "/10"
162
+ ]
163
+ }),
164
+ o != null && o > 0 && /* @__PURE__ */ C("span", {
165
+ className: "inline-flex items-center gap-1 tabular-nums",
166
+ children: [
167
+ /* @__PURE__ */ S(re, { className: "h-3.5 w-3.5 text-accent" }),
168
+ ee(o),
169
+ " sets"
170
+ ]
171
+ })
172
+ ]
173
+ }),
174
+ a && /* @__PURE__ */ S("p", {
175
+ className: "mt-3 inline-flex items-center gap-1 text-xs font-medium text-accent",
176
+ children: "Resume session →"
177
+ })
178
+ ]
179
+ })
180
+ }, e.id);
181
+ })
182
+ }), /* @__PURE__ */ S(f, {
183
+ page: b.page,
184
+ pageSize: z,
185
+ itemCount: Q.length,
186
+ hasMore: oe,
187
+ onPageChange: (e) => b.onPageChange(e)
188
+ })] }),
189
+ /* @__PURE__ */ S(E, {
190
+ open: K,
191
+ onOpenChange: q,
192
+ children: /* @__PURE__ */ C(D, { children: [
193
+ /* @__PURE__ */ C(A, { children: [/* @__PURE__ */ S(j, { children: "Start a workout session" }), /* @__PURE__ */ S(O, { children: "Begin a live session now, or schedule one for later. Attach an active program to keep your training organised." })] }),
194
+ /* @__PURE__ */ C("div", {
195
+ className: "space-y-4 px-1",
196
+ children: [
197
+ /* @__PURE__ */ C("div", {
198
+ className: "space-y-1.5",
199
+ children: [/* @__PURE__ */ S(T, {
200
+ htmlFor: "myb-start-program",
201
+ children: "Program (optional)"
202
+ }), /* @__PURE__ */ C(M, {
203
+ value: J.programId,
204
+ onValueChange: (e) => Y((t) => ({
205
+ ...t,
206
+ programId: e
207
+ })),
208
+ children: [/* @__PURE__ */ S(F, {
209
+ id: "myb-start-program",
210
+ children: /* @__PURE__ */ S(I, { placeholder: "No program" })
211
+ }), /* @__PURE__ */ C(N, { children: [/* @__PURE__ */ S(P, {
212
+ value: B,
213
+ children: "No program"
214
+ }), W.map((e) => /* @__PURE__ */ S(P, {
215
+ value: e.id,
216
+ children: e.name
217
+ }, e.id))] })]
218
+ })]
219
+ }),
220
+ /* @__PURE__ */ C("div", {
221
+ className: "space-y-1.5",
222
+ children: [
223
+ /* @__PURE__ */ S(T, {
224
+ htmlFor: "myb-start-scheduled",
225
+ children: "Scheduled for (optional)"
226
+ }),
227
+ /* @__PURE__ */ S(ae, {
228
+ id: "myb-start-scheduled",
229
+ type: "datetime-local",
230
+ value: J.scheduledFor,
231
+ onChange: (e) => Y((t) => ({
232
+ ...t,
233
+ scheduledFor: e.target.value
234
+ }))
235
+ }),
236
+ /* @__PURE__ */ S("p", {
237
+ className: "text-xs text-text-tertiary",
238
+ children: "Leave empty to start a live session right now."
239
+ })
240
+ ]
241
+ }),
242
+ /* @__PURE__ */ C("div", {
243
+ className: "space-y-1.5",
244
+ children: [/* @__PURE__ */ S(T, {
245
+ htmlFor: "myb-start-notes",
246
+ children: "Notes (optional)"
247
+ }), /* @__PURE__ */ S(L, {
248
+ id: "myb-start-notes",
249
+ rows: 3,
250
+ value: J.notes,
251
+ onChange: (e) => Y((t) => ({
252
+ ...t,
253
+ notes: e.target.value
254
+ })),
255
+ placeholder: "Focus, target lifts, how you're feeling…"
256
+ })]
257
+ }),
258
+ X && /* @__PURE__ */ S("p", {
259
+ className: "text-sm text-status-error-text",
260
+ children: X
261
+ })
262
+ ]
263
+ }),
264
+ /* @__PURE__ */ C(k, { children: [/* @__PURE__ */ S(w, {
265
+ variant: "outline",
266
+ onClick: () => q(!1),
267
+ disabled: G.isPending,
268
+ children: "Cancel"
269
+ }), /* @__PURE__ */ S(w, {
270
+ onClick: async () => {
271
+ Z(null);
272
+ try {
273
+ let e = await G.mutateAsync({
274
+ programId: J.programId === B ? void 0 : J.programId,
275
+ scheduledFor: J.scheduledFor ? new Date(J.scheduledFor).toISOString() : void 0,
276
+ notes: J.notes.trim() ? J.notes.trim() : void 0
277
+ });
278
+ q(!1), m(`train/${e.id}`);
279
+ } catch (e) {
280
+ Z(e instanceof Error ? e.message : "Failed to start the session.");
281
+ }
282
+ },
283
+ disabled: G.isPending,
284
+ children: G.isPending ? "Starting…" : "Start session"
285
+ })] })
286
+ ] })
287
+ })
288
+ ]
289
+ });
290
+ }
291
+ //#endregion
292
+ export { U as SessionsPage };
293
+
294
+ //# sourceMappingURL=SessionsPage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SessionsPage.js","names":[],"sources":["../../../../src/mybodyshield/pages/train/SessionsPage.tsx"],"sourcesContent":["/**\n * Train — live workout sessions.\n * @module mybodyshield/pages/train\n *\n * Lists the member's workout sessions (real `mybListSessions`) filtered by\n * status, and lets you start a new live session (optionally attached to an\n * active program). In-progress sessions are highlighted with an accent ring and\n * a \"Resume\" affordance. No mock data — everything comes from the myb* hooks.\n */\n\nimport { useState } from 'react';\nimport {\n Plus,\n Flame,\n CheckCircle2,\n CalendarClock,\n PlayCircle,\n SkipForward,\n Gauge,\n ListChecks,\n} from 'lucide-react';\nimport {\n Button,\n GlassCard,\n Label,\n Textarea,\n Input,\n Select,\n SelectTrigger,\n SelectContent,\n SelectItem,\n SelectValue,\n ResponsiveDialog,\n ResponsiveDialogContent,\n ResponsiveDialogHeader,\n ResponsiveDialogTitle,\n ResponsiveDialogDescription,\n ResponsiveDialogFooter,\n} from '@burdenoff/fe-libs/ui';\nimport {\n PageLayout,\n StatusBadge,\n FilterTabs,\n Pagination,\n LoadingView,\n ErrorView,\n EmptyState,\n type FilterOption,\n} from '../../components';\nimport { IconChip } from '../_shared/visuals';\nimport { useMyBodyShield } from '../../context';\nimport { useMybSessions, useMybStartSession, useMybPrograms, useOffsetPager } from '../../hooks';\nimport { formatRelativeTime, formatKcal, formatNumber } from '../../utils/formatters';\nimport type { MybSessionStatus, MybWorkoutSession } from '../../types';\n\ntype SessionFilterValue = MybSessionStatus | 'ALL';\n\n// Only statuses a control can actually reach are offered as filters: start →\n// IN_PROGRESS / SCHEDULED, complete → COMPLETED. Nothing moves a session to\n// SKIPPED, so that tab would always be empty. sessionMeta still handles the\n// SKIPPED case for display safety.\nconst STATUS_TABS: FilterOption<SessionFilterValue>[] = [\n { value: 'ALL', label: 'All' },\n { value: 'SCHEDULED', label: 'Scheduled' },\n { value: 'IN_PROGRESS', label: 'Live' },\n { value: 'COMPLETED', label: 'Completed' },\n];\n\nconst PAGE_SIZE = 24;\n\n/** Sentinel for the optional program picker (Radix Select forbids an empty value). */\nconst NO_PROGRAM = '__none__';\n\ninterface StartForm {\n programId: string;\n scheduledFor: string;\n notes: string;\n}\n\nconst EMPTY_START_FORM: StartForm = { programId: NO_PROGRAM, scheduledFor: '', notes: '' };\n\ninterface SessionMeta {\n icon: typeof Flame;\n tint: string;\n title: string;\n stampLabel: string;\n stamp?: string | null;\n}\n\nfunction sessionMeta(s: MybWorkoutSession): SessionMeta {\n switch (s.status) {\n case 'IN_PROGRESS':\n return {\n icon: PlayCircle,\n tint: 'var(--color-accent-teal)',\n title: 'Live workout in progress',\n stampLabel: 'Started',\n stamp: s.startedAt ?? s.createdAt,\n };\n case 'COMPLETED':\n return {\n icon: CheckCircle2,\n tint: 'var(--color-status-success-text)',\n title:\n s.caloriesBurned > 0 ? `${formatKcal(s.caloriesBurned)} burned` : 'Workout completed',\n stampLabel: 'Completed',\n stamp: s.completedAt ?? s.startedAt ?? s.createdAt,\n };\n case 'SKIPPED':\n return {\n icon: SkipForward,\n tint: 'var(--color-text-secondary)',\n title: 'Skipped session',\n stampLabel: 'Scheduled',\n stamp: s.scheduledFor ?? s.createdAt,\n };\n case 'SCHEDULED':\n default:\n return {\n icon: CalendarClock,\n tint: 'var(--color-accent-primary)',\n title: 'Scheduled session',\n stampLabel: 'Scheduled',\n stamp: s.scheduledFor ?? s.createdAt,\n };\n }\n}\n\nexport function SessionsPage() {\n const { navigateTo } = useMyBodyShield();\n\n const [filter, setFilter] = useState<SessionFilterValue>('ALL');\n const pager = useOffsetPager(PAGE_SIZE);\n\n const sessions = useMybSessions({\n status: filter === 'ALL' ? undefined : filter,\n pagination: { limit: PAGE_SIZE, offset: pager.offset },\n });\n\n const programs = useMybPrograms({ status: 'ACTIVE', pagination: { limit: 50 } });\n const activePrograms = programs.data?.items ?? [];\n\n const startSession = useMybStartSession();\n\n const [startOpen, setStartOpen] = useState(false);\n const [form, setForm] = useState<StartForm>(EMPTY_START_FORM);\n const [formError, setFormError] = useState<string | null>(null);\n\n const rows = sessions.data?.items ?? [];\n const hasMore = sessions.data?.pageInfo?.hasMore ?? false;\n\n const onFilterChange = (value: SessionFilterValue) => {\n setFilter(value);\n pager.reset();\n };\n\n const openStart = () => {\n setForm(EMPTY_START_FORM);\n setFormError(null);\n setStartOpen(true);\n };\n\n const submitStart = async () => {\n setFormError(null);\n try {\n const created = await startSession.mutateAsync({\n programId: form.programId === NO_PROGRAM ? undefined : form.programId,\n scheduledFor: form.scheduledFor ? new Date(form.scheduledFor).toISOString() : undefined,\n notes: form.notes.trim() ? form.notes.trim() : undefined,\n });\n setStartOpen(false);\n navigateTo(`train/${created.id}`);\n } catch (e) {\n setFormError(e instanceof Error ? e.message : 'Failed to start the session.');\n }\n };\n\n return (\n <PageLayout\n title=\"Train\"\n description=\"Live workout sessions — start, log sets, and complete.\"\n actions={\n <Button onClick={openStart}>\n <Plus className=\"h-4 w-4\" /> Start session\n </Button>\n }\n >\n <div className=\"mb-6\">\n <FilterTabs options={STATUS_TABS} value={filter} onChange={onFilterChange} />\n </div>\n\n {sessions.isLoading ? (\n <LoadingView label=\"Loading your sessions…\" />\n ) : sessions.isError ? (\n <ErrorView\n message=\"We couldn't load your workout sessions.\"\n onRetry={() => sessions.refetch()}\n />\n ) : rows.length === 0 ? (\n <EmptyState\n illustration=\"empty-data\"\n icon={<Flame className=\"h-10 w-10\" />}\n title={filter === 'ALL' ? 'No sessions yet' : 'No sessions in this state'}\n description={\n filter === 'ALL'\n ? 'Start a workout session to begin logging sets and tracking your training.'\n : 'Try a different filter, or start a new workout session.'\n }\n action={\n <Button onClick={openStart}>\n <Plus className=\"h-4 w-4\" /> Start session\n </Button>\n }\n />\n ) : (\n <>\n <div className=\"grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3\">\n {rows.map((s) => {\n const meta = sessionMeta(s);\n const Icon = meta.icon;\n const isLive = s.status === 'IN_PROGRESS';\n const setCount = s.sets?.length;\n return (\n <button\n key={s.id}\n type=\"button\"\n onClick={() => navigateTo(`train/${s.id}`)}\n className=\"text-left\"\n >\n <GlassCard\n treatment=\"plain\"\n className={\n 'h-full p-4 transition-shadow hover:shadow-float' +\n (isLive ? ' ring-2 ring-inset ring-accent-teal' : '')\n }\n >\n <div className=\"flex items-center justify-between gap-2\">\n <IconChip icon={<Icon className=\"h-4 w-4\" />} tint={meta.tint} />\n <StatusBadge status={s.status} />\n </div>\n <p className=\"mt-3 text-sm font-medium text-text-primary\">{meta.title}</p>\n <p className=\"mt-0.5 text-xs text-text-tertiary\">\n {meta.stampLabel} {formatRelativeTime(meta.stamp)}\n </p>\n\n <div className=\"mt-3 flex flex-wrap items-center gap-x-4 gap-y-1 text-xs text-text-secondary\">\n {s.caloriesBurned > 0 && (\n <span className=\"inline-flex items-center gap-1 tabular-nums\">\n <Flame className=\"h-3.5 w-3.5 text-status-warning-text\" />\n {formatKcal(s.caloriesBurned)}\n </span>\n )}\n {s.perceivedExertion != null && (\n <span className=\"inline-flex items-center gap-1 tabular-nums\">\n <Gauge className=\"h-3.5 w-3.5 text-accent\" />\n RPE {s.perceivedExertion}/10\n </span>\n )}\n {setCount != null && setCount > 0 && (\n <span className=\"inline-flex items-center gap-1 tabular-nums\">\n <ListChecks className=\"h-3.5 w-3.5 text-accent\" />\n {formatNumber(setCount)} sets\n </span>\n )}\n </div>\n\n {isLive && (\n <p className=\"mt-3 inline-flex items-center gap-1 text-xs font-medium text-accent\">\n Resume session →\n </p>\n )}\n </GlassCard>\n </button>\n );\n })}\n </div>\n\n <Pagination\n page={pager.page}\n pageSize={PAGE_SIZE}\n itemCount={rows.length}\n hasMore={hasMore}\n onPageChange={(t) => pager.onPageChange(t)}\n />\n </>\n )}\n\n {/* Start session dialog */}\n <ResponsiveDialog open={startOpen} onOpenChange={setStartOpen}>\n <ResponsiveDialogContent>\n <ResponsiveDialogHeader>\n <ResponsiveDialogTitle>Start a workout session</ResponsiveDialogTitle>\n <ResponsiveDialogDescription>\n Begin a live session now, or schedule one for later. Attach an active program to keep\n your training organised.\n </ResponsiveDialogDescription>\n </ResponsiveDialogHeader>\n\n <div className=\"space-y-4 px-1\">\n <div className=\"space-y-1.5\">\n <Label htmlFor=\"myb-start-program\">Program (optional)</Label>\n <Select\n value={form.programId}\n onValueChange={(v) => setForm((f) => ({ ...f, programId: v }))}\n >\n <SelectTrigger id=\"myb-start-program\">\n <SelectValue placeholder=\"No program\" />\n </SelectTrigger>\n <SelectContent>\n <SelectItem value={NO_PROGRAM}>No program</SelectItem>\n {activePrograms.map((p) => (\n <SelectItem key={p.id} value={p.id}>\n {p.name}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </div>\n\n <div className=\"space-y-1.5\">\n <Label htmlFor=\"myb-start-scheduled\">Scheduled for (optional)</Label>\n <Input\n id=\"myb-start-scheduled\"\n type=\"datetime-local\"\n value={form.scheduledFor}\n onChange={(e) => setForm((f) => ({ ...f, scheduledFor: e.target.value }))}\n />\n <p className=\"text-xs text-text-tertiary\">\n Leave empty to start a live session right now.\n </p>\n </div>\n\n <div className=\"space-y-1.5\">\n <Label htmlFor=\"myb-start-notes\">Notes (optional)</Label>\n <Textarea\n id=\"myb-start-notes\"\n rows={3}\n value={form.notes}\n onChange={(e) => setForm((f) => ({ ...f, notes: e.target.value }))}\n placeholder=\"Focus, target lifts, how you're feeling…\"\n />\n </div>\n\n {formError && <p className=\"text-sm text-status-error-text\">{formError}</p>}\n </div>\n\n <ResponsiveDialogFooter>\n <Button\n variant=\"outline\"\n onClick={() => setStartOpen(false)}\n disabled={startSession.isPending}\n >\n Cancel\n </Button>\n <Button onClick={submitStart} disabled={startSession.isPending}>\n {startSession.isPending ? 'Starting…' : 'Start session'}\n </Button>\n </ResponsiveDialogFooter>\n </ResponsiveDialogContent>\n </ResponsiveDialog>\n </PageLayout>\n );\n}\n"],"mappings":"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"}
@@ -0,0 +1,10 @@
1
+ import e from "../../node_modules/clsx/dist/clsx.js";
2
+ import { twMerge as t } from "../../node_modules/tailwind-merge/dist/bundle-mjs.js";
3
+ //#region src/mybodyshield/utils/cn.ts
4
+ function n(...n) {
5
+ return t(e(n));
6
+ }
7
+ //#endregion
8
+ export { n as cn };
9
+
10
+ //# sourceMappingURL=cn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cn.js","names":[],"sources":["../../../src/mybodyshield/utils/cn.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n"],"mappings":";;;AAGA,SAAgB,EAAG,GAAG,GAAsB;AAC1C,QAAO,EAAQ,EAAK,EAAO,CAAC"}
@@ -0,0 +1,76 @@
1
+ //#region src/mybodyshield/utils/formatters.ts
2
+ function e(e, t) {
3
+ if (!e) return "—";
4
+ let n = typeof e == "string" ? new Date(e) : e;
5
+ return Number.isNaN(n.getTime()) ? "—" : new Intl.DateTimeFormat(void 0, {
6
+ day: "numeric",
7
+ month: "short",
8
+ year: "numeric",
9
+ ...t
10
+ }).format(n);
11
+ }
12
+ function t(e, t) {
13
+ if (!e) return "—";
14
+ let n = typeof e == "string" ? new Date(e) : e;
15
+ return Number.isNaN(n.getTime()) ? "—" : new Intl.DateTimeFormat(void 0, {
16
+ day: "numeric",
17
+ month: "short",
18
+ year: "numeric",
19
+ hour: "numeric",
20
+ minute: "2-digit",
21
+ ...t
22
+ }).format(n);
23
+ }
24
+ function n(e) {
25
+ if (!e) return "—";
26
+ let t = typeof e == "string" ? new Date(e) : e;
27
+ if (Number.isNaN(t.getTime())) return "—";
28
+ let n = /* @__PURE__ */ new Date(), r = t.getTime() - n.getTime(), i = r >= 0, a = Math.floor(Math.abs(r) / 1e3), o = Math.floor(a / 60), s = Math.floor(o / 60), c = Math.floor(s / 24), l = Math.floor(c / 7), u = Math.floor(c / 30), d = Math.floor(c / 365), f = (e, t) => {
29
+ let n = `${e} ${t}${e === 1 ? "" : "s"}`;
30
+ return i ? `in ${n}` : `${n} ago`;
31
+ };
32
+ return a < 60 ? i ? "soon" : "just now" : o < 60 ? f(o, "min") : s < 24 ? f(s, "hour") : c < 7 ? f(c, "day") : l < 4 ? f(l, "week") : u < 12 ? f(u, "month") : f(d, "year");
33
+ }
34
+ function r(e, t) {
35
+ return e == null || Number.isNaN(e) ? "—" : new Intl.NumberFormat(void 0, t).format(e);
36
+ }
37
+ function i(e, t) {
38
+ if (e == null || Number.isNaN(e)) return "—";
39
+ let n = r(e, { maximumFractionDigits: 2 });
40
+ return t ? `${n} ${t}` : n;
41
+ }
42
+ function a(e, t = 0) {
43
+ return e == null || Number.isNaN(e) ? "—" : `${e.toFixed(t)}%`;
44
+ }
45
+ function o(e) {
46
+ return e == null || Number.isNaN(e) ? "—" : `${r(e, { maximumFractionDigits: 1 })} kg`;
47
+ }
48
+ function s(e) {
49
+ return e == null || Number.isNaN(e) ? "—" : `${r(Math.round(e))} kcal`;
50
+ }
51
+ function c(e) {
52
+ return e == null || Number.isNaN(e) ? "—" : `${r(Math.round(e))} g`;
53
+ }
54
+ function l(e) {
55
+ if (e == null || Number.isNaN(e) || e < 0) return "—";
56
+ let t = Math.round(e);
57
+ if (t < 60) return `${t}s`;
58
+ let n = Math.floor(t / 3600), r = Math.floor(t % 3600 / 60);
59
+ if (n > 0) return `${n}h ${String(r).padStart(2, "0")}m`;
60
+ let i = t % 60;
61
+ return i > 0 ? `${r}m ${String(i).padStart(2, "0")}s` : `${r}m`;
62
+ }
63
+ function u(e) {
64
+ if (e == null || Number.isNaN(e) || e < 0) return "—";
65
+ let t = Math.round(e);
66
+ if (t < 60) return `${t} min`;
67
+ let n = Math.floor(t / 60), r = t % 60;
68
+ return r > 0 ? `${n}h ${String(r).padStart(2, "0")}m` : `${n}h`;
69
+ }
70
+ function d(e) {
71
+ return e ? e.toLowerCase().replace(/_/g, " ").replace(/\b\w/g, (e) => e.toUpperCase()) : "—";
72
+ }
73
+ //#endregion
74
+ export { e as formatDate, t as formatDateTime, l as formatDuration, d as formatEnumLabel, c as formatGrams, s as formatKcal, u as formatMinutes, r as formatNumber, a as formatPercent, i as formatQuantity, n as formatRelativeTime, o as formatWeight };
75
+
76
+ //# sourceMappingURL=formatters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatters.js","names":[],"sources":["../../../src/mybodyshield/utils/formatters.ts"],"sourcesContent":["/**\n * Formatting utilities for the MyBodyShield microfrontend\n * @module mybodyshield/utils/formatters\n */\n\n/** Format a date string or Date into a human-readable date. */\nexport function formatDate(\n date: string | Date | null | undefined,\n options?: Partial<Intl.DateTimeFormatOptions>\n): string {\n if (!date) return '—';\n const d = typeof date === 'string' ? new Date(date) : date;\n if (Number.isNaN(d.getTime())) return '—';\n return new Intl.DateTimeFormat(undefined, {\n day: 'numeric',\n month: 'short',\n year: 'numeric',\n ...options,\n }).format(d);\n}\n\n/** Format a date-time into a date + time string. */\nexport function formatDateTime(\n date: string | Date | null | undefined,\n options?: Partial<Intl.DateTimeFormatOptions>\n): string {\n if (!date) return '—';\n const d = typeof date === 'string' ? new Date(date) : date;\n if (Number.isNaN(d.getTime())) return '—';\n return new Intl.DateTimeFormat(undefined, {\n day: 'numeric',\n month: 'short',\n year: 'numeric',\n hour: 'numeric',\n minute: '2-digit',\n ...options,\n }).format(d);\n}\n\n/** Format a date into a relative time string (e.g. \"2 hours ago\", \"in 3 days\"). */\nexport function formatRelativeTime(date: string | Date | null | undefined): string {\n if (!date) return '—';\n const d = typeof date === 'string' ? new Date(date) : date;\n if (Number.isNaN(d.getTime())) return '—';\n\n const now = new Date();\n const diffMs = d.getTime() - now.getTime();\n const future = diffMs >= 0;\n const absSeconds = Math.floor(Math.abs(diffMs) / 1000);\n const minutes = Math.floor(absSeconds / 60);\n const hours = Math.floor(minutes / 60);\n const days = Math.floor(hours / 24);\n const weeks = Math.floor(days / 7);\n const months = Math.floor(days / 30);\n const years = Math.floor(days / 365);\n\n const phrase = (value: number, unit: string): string => {\n const label = `${value} ${unit}${value !== 1 ? 's' : ''}`;\n return future ? `in ${label}` : `${label} ago`;\n };\n\n if (absSeconds < 60) return future ? 'soon' : 'just now';\n if (minutes < 60) return phrase(minutes, 'min');\n if (hours < 24) return phrase(hours, 'hour');\n if (days < 7) return phrase(days, 'day');\n if (weeks < 4) return phrase(weeks, 'week');\n if (months < 12) return phrase(months, 'month');\n return phrase(years, 'year');\n}\n\n/** Format a number with locale grouping. */\nexport function formatNumber(\n value: number | null | undefined,\n options?: Partial<Intl.NumberFormatOptions>\n): string {\n if (value == null || Number.isNaN(value)) return '—';\n return new Intl.NumberFormat(undefined, options).format(value);\n}\n\n/** Format a quantity with an optional unit suffix (e.g. \"1,200 kg\"). */\nexport function formatQuantity(value: number | null | undefined, unit?: string | null): string {\n if (value == null || Number.isNaN(value)) return '—';\n const num = formatNumber(value, { maximumFractionDigits: 2 });\n return unit ? `${num} ${unit}` : num;\n}\n\n/** Format a percentage (0–100) into a rounded \"%\" string. */\nexport function formatPercent(value: number | null | undefined, fractionDigits = 0): string {\n if (value == null || Number.isNaN(value)) return '—';\n return `${value.toFixed(fractionDigits)}%`;\n}\n\n/** Format a body weight / load in kilograms (e.g. \"72.5 kg\"). */\nexport function formatWeight(kg: number | null | undefined): string {\n if (kg == null || Number.isNaN(kg)) return '—';\n return `${formatNumber(kg, { maximumFractionDigits: 1 })} kg`;\n}\n\n/** Format a calorie value (e.g. \"2,100 kcal\"). */\nexport function formatKcal(value: number | null | undefined): string {\n if (value == null || Number.isNaN(value)) return '—';\n return `${formatNumber(Math.round(value))} kcal`;\n}\n\n/** Format a gram value for macros (e.g. \"180 g\"). */\nexport function formatGrams(value: number | null | undefined): string {\n if (value == null || Number.isNaN(value)) return '—';\n return `${formatNumber(Math.round(value))} g`;\n}\n\n/**\n * Format a duration given in SECONDS into a compact human string:\n * < 60s → \"45s\"; < 1h → \"12m 30s\"; ≥ 1h → \"1h 05m\".\n */\nexport function formatDuration(seconds: number | null | undefined): string {\n if (seconds == null || Number.isNaN(seconds) || seconds < 0) return '—';\n const s = Math.round(seconds);\n if (s < 60) return `${s}s`;\n const h = Math.floor(s / 3600);\n const m = Math.floor((s % 3600) / 60);\n if (h > 0) return `${h}h ${String(m).padStart(2, '0')}m`;\n const rem = s % 60;\n return rem > 0 ? `${m}m ${String(rem).padStart(2, '0')}s` : `${m}m`;\n}\n\n/** Format a duration given in MINUTES (e.g. \"45 min\", \"1h 15m\"). */\nexport function formatMinutes(minutes: number | null | undefined): string {\n if (minutes == null || Number.isNaN(minutes) || minutes < 0) return '—';\n const m = Math.round(minutes);\n if (m < 60) return `${m} min`;\n const h = Math.floor(m / 60);\n const rem = m % 60;\n return rem > 0 ? `${h}h ${String(rem).padStart(2, '0')}m` : `${h}h`;\n}\n\n/** Turn an ENUM_LIKE_TOKEN into a human \"Enum Like Token\" label. */\nexport function formatEnumLabel(value: string | null | undefined): string {\n if (!value) return '—';\n return value\n .toLowerCase()\n .replace(/_/g, ' ')\n .replace(/\\b\\w/g, (char) => char.toUpperCase());\n}\n"],"mappings":"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"}
@@ -1,6 +1,7 @@
1
1
  //#region src/mybodyshield/utils/navigation.ts
2
2
  function e(e, t) {
3
- return (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
3
+ let n = e.endsWith("/") ? e.slice(0, -1) : e;
4
+ return !t || t === "" ? n || "/" : n + (t.startsWith("/") ? t : `/${t}`);
4
5
  }
5
6
  //#endregion
6
7
  export { e as joinPath };
@@ -1 +1 @@
1
- {"version":3,"file":"navigation.js","names":[],"sources":["../../../src/mybodyshield/utils/navigation.ts"],"sourcesContent":["export function joinPath(basePath: string, relativePath: string): string {\n const cleanBase = basePath.endsWith('/') ? basePath.slice(0, -1) : basePath;\n const cleanPath = relativePath.startsWith('/') ? relativePath : `/${relativePath}`;\n return cleanBase + cleanPath;\n}\n"],"mappings":";AAAA,SAAgB,EAAS,GAAkB,GAA8B;AAGvE,SAFkB,EAAS,SAAS,IAAI,GAAG,EAAS,MAAM,GAAG,GAAG,GAAG,MACjD,EAAa,WAAW,IAAI,GAAG,IAAe,IAAI"}
1
+ {"version":3,"file":"navigation.js","names":[],"sources":["../../../src/mybodyshield/utils/navigation.ts"],"sourcesContent":["/**\n * Navigation utilities for the MyBodyShield microfrontend\n * @module mybodyshield/utils\n */\n\n/**\n * Join basePath with a relative path, correctly handling slashes.\n *\n * @example\n * joinPath('/mybodyshield', 'sites') // => '/mybodyshield/sites'\n * joinPath('/mybodyshield/', 'sites') // => '/mybodyshield/sites'\n * joinPath('/mybodyshield', '') // => '/mybodyshield'\n */\nexport function joinPath(basePath: string, relativePath: string): string {\n const cleanBase = basePath.endsWith('/') ? basePath.slice(0, -1) : basePath;\n if (!relativePath || relativePath === '') {\n return cleanBase || '/';\n }\n const cleanPath = relativePath.startsWith('/') ? relativePath : `/${relativePath}`;\n return cleanBase + cleanPath;\n}\n"],"mappings":";AAaA,SAAgB,EAAS,GAAkB,GAA8B;CACvE,IAAM,IAAY,EAAS,SAAS,IAAI,GAAG,EAAS,MAAM,GAAG,GAAG,GAAG;AAKnE,QAJI,CAAC,KAAgB,MAAiB,KAC7B,KAAa,MAGf,KADW,EAAa,WAAW,IAAI,GAAG,IAAe,IAAI"}
@@ -0,0 +1,18 @@
1
+ //#region node_modules/clsx/dist/clsx.mjs
2
+ function e(t) {
3
+ var n, r, i = "";
4
+ if (typeof t == "string" || typeof t == "number") i += t;
5
+ else if (typeof t == "object") if (Array.isArray(t)) {
6
+ var a = t.length;
7
+ for (n = 0; n < a; n++) t[n] && (r = e(t[n])) && (i && (i += " "), i += r);
8
+ } else for (r in t) t[r] && (i && (i += " "), i += r);
9
+ return i;
10
+ }
11
+ function t() {
12
+ for (var t, n, r = 0, i = "", a = arguments.length; r < a; r++) (t = arguments[r]) && (n = e(t)) && (i && (i += " "), i += n);
13
+ return i;
14
+ }
15
+ //#endregion
16
+ export { t as default };
17
+
18
+ //# sourceMappingURL=clsx.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clsx.js","names":[],"sources":["../../../../node_modules/clsx/dist/clsx.mjs"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f)}else for(f in e)e[f]&&(n&&(n+=\" \"),n+=f);return n}export function clsx(){for(var e,t,f=0,n=\"\",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export default clsx;"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAE,GAAE;CAAC,IAAI,GAAE,GAAE,IAAE;AAAG,KAAa,OAAO,KAAjB,YAA8B,OAAO,KAAjB,SAAmB,MAAG;UAAoB,OAAO,KAAjB,SAAmB,KAAG,MAAM,QAAQ,EAAE,EAAC;EAAC,IAAI,IAAE,EAAE;AAAO,OAAI,IAAE,GAAE,IAAE,GAAE,IAAI,GAAE,OAAK,IAAE,EAAE,EAAE,GAAG,MAAI,MAAI,KAAG,MAAK,KAAG;OAAQ,MAAI,KAAK,EAAE,GAAE,OAAK,MAAI,KAAG,MAAK,KAAG;AAAG,QAAO;;AAAE,SAAgB,IAAM;AAAC,MAAI,IAAI,GAAE,GAAE,IAAE,GAAE,IAAE,IAAG,IAAE,UAAU,QAAO,IAAE,GAAE,IAAI,EAAC,IAAE,UAAU,QAAM,IAAE,EAAE,EAAE,MAAI,MAAI,KAAG,MAAK,KAAG;AAAG,QAAO"}
@@ -0,0 +1,8 @@
1
+ //#region node_modules/d3-array/src/ascending.js
2
+ function e(e, t) {
3
+ return e == null || t == null ? NaN : e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
4
+ }
5
+ //#endregion
6
+ export { e as default };
7
+
8
+ //# sourceMappingURL=ascending.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ascending.js","names":[],"sources":["../../../../node_modules/d3-array/src/ascending.js"],"sourcesContent":["export default function ascending(a, b) {\n return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n}\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAwB,EAAU,GAAG,GAAG;AACtC,QAAO,KAAK,QAAQ,KAAK,OAAO,MAAM,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,IAAI,IAAI"}
@@ -0,0 +1,10 @@
1
+ import e from "./ascending.js";
2
+ import t from "./bisector.js";
3
+ import n from "./number.js";
4
+ //#region node_modules/d3-array/src/bisect.js
5
+ var r = t(e), i = r.right;
6
+ r.left, t(n).center;
7
+ //#endregion
8
+ export { i as default };
9
+
10
+ //# sourceMappingURL=bisect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bisect.js","names":[],"sources":["../../../../node_modules/d3-array/src/bisect.js"],"sourcesContent":["import ascending from \"./ascending.js\";\nimport bisector from \"./bisector.js\";\nimport number from \"./number.js\";\n\nconst ascendingBisect = bisector(ascending);\nexport const bisectRight = ascendingBisect.right;\nexport const bisectLeft = ascendingBisect.left;\nexport const bisectCenter = bisector(number).center;\nexport default bisectRight;\n"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAM,IAAkB,EAAS,EAAU,EAC9B,IAAc,EAAgB;AACjB,EAAgB,MACd,EAAS,EAAO,CAAC"}
@@ -0,0 +1,43 @@
1
+ import e from "./ascending.js";
2
+ import t from "./descending.js";
3
+ //#region node_modules/d3-array/src/bisector.js
4
+ function n(n) {
5
+ let i, a, o;
6
+ n.length === 2 ? (i = n === e || n === t ? n : r, a = n, o = n) : (i = e, a = (t, r) => e(n(t), r), o = (e, t) => n(e) - t);
7
+ function s(e, t, n = 0, r = e.length) {
8
+ if (n < r) {
9
+ if (i(t, t) !== 0) return r;
10
+ do {
11
+ let i = n + r >>> 1;
12
+ a(e[i], t) < 0 ? n = i + 1 : r = i;
13
+ } while (n < r);
14
+ }
15
+ return n;
16
+ }
17
+ function c(e, t, n = 0, r = e.length) {
18
+ if (n < r) {
19
+ if (i(t, t) !== 0) return r;
20
+ do {
21
+ let i = n + r >>> 1;
22
+ a(e[i], t) <= 0 ? n = i + 1 : r = i;
23
+ } while (n < r);
24
+ }
25
+ return n;
26
+ }
27
+ function l(e, t, n = 0, r = e.length) {
28
+ let i = s(e, t, n, r - 1);
29
+ return i > n && o(e[i - 1], t) > -o(e[i], t) ? i - 1 : i;
30
+ }
31
+ return {
32
+ left: s,
33
+ center: l,
34
+ right: c
35
+ };
36
+ }
37
+ function r() {
38
+ return 0;
39
+ }
40
+ //#endregion
41
+ export { n as default };
42
+
43
+ //# sourceMappingURL=bisector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bisector.js","names":[],"sources":["../../../../node_modules/d3-array/src/bisector.js"],"sourcesContent":["import ascending from \"./ascending.js\";\nimport descending from \"./descending.js\";\n\nexport default function bisector(f) {\n let compare1, compare2, delta;\n\n // If an accessor is specified, promote it to a comparator. In this case we\n // can test whether the search value is (self-) comparable. We can’t do this\n // for a comparator (except for specific, known comparators) because we can’t\n // tell if the comparator is symmetric, and an asymmetric comparator can’t be\n // used to test whether a single value is comparable.\n if (f.length !== 2) {\n compare1 = ascending;\n compare2 = (d, x) => ascending(f(d), x);\n delta = (d, x) => f(d) - x;\n } else {\n compare1 = f === ascending || f === descending ? f : zero;\n compare2 = f;\n delta = f;\n }\n\n function left(a, x, lo = 0, hi = a.length) {\n if (lo < hi) {\n if (compare1(x, x) !== 0) return hi;\n do {\n const mid = (lo + hi) >>> 1;\n if (compare2(a[mid], x) < 0) lo = mid + 1;\n else hi = mid;\n } while (lo < hi);\n }\n return lo;\n }\n\n function right(a, x, lo = 0, hi = a.length) {\n if (lo < hi) {\n if (compare1(x, x) !== 0) return hi;\n do {\n const mid = (lo + hi) >>> 1;\n if (compare2(a[mid], x) <= 0) lo = mid + 1;\n else hi = mid;\n } while (lo < hi);\n }\n return lo;\n }\n\n function center(a, x, lo = 0, hi = a.length) {\n const i = left(a, x, lo, hi - 1);\n return i > lo && delta(a[i - 1], x) > -delta(a[i], x) ? i - 1 : i;\n }\n\n return {left, center, right};\n}\n\nfunction zero() {\n return 0;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,SAAwB,EAAS,GAAG;CAClC,IAAI,GAAU,GAAU;AAOxB,CAAI,EAAE,WAAW,KAKf,IAAW,MAAM,KAAa,MAAM,IAAa,IAAI,GACrD,IAAW,GACX,IAAQ,MANR,IAAW,GACX,KAAY,GAAG,MAAM,EAAU,EAAE,EAAE,EAAE,EAAE,EACvC,KAAS,GAAG,MAAM,EAAE,EAAE,GAAG;CAO3B,SAAS,EAAK,GAAG,GAAG,IAAK,GAAG,IAAK,EAAE,QAAQ;AACzC,MAAI,IAAK,GAAI;AACX,OAAI,EAAS,GAAG,EAAE,KAAK,EAAG,QAAO;AACjC,MAAG;IACD,IAAM,IAAO,IAAK,MAAQ;AAC1B,IAAI,EAAS,EAAE,IAAM,EAAE,GAAG,IAAG,IAAK,IAAM,IACnC,IAAK;YACH,IAAK;;AAEhB,SAAO;;CAGT,SAAS,EAAM,GAAG,GAAG,IAAK,GAAG,IAAK,EAAE,QAAQ;AAC1C,MAAI,IAAK,GAAI;AACX,OAAI,EAAS,GAAG,EAAE,KAAK,EAAG,QAAO;AACjC,MAAG;IACD,IAAM,IAAO,IAAK,MAAQ;AAC1B,IAAI,EAAS,EAAE,IAAM,EAAE,IAAI,IAAG,IAAK,IAAM,IACpC,IAAK;YACH,IAAK;;AAEhB,SAAO;;CAGT,SAAS,EAAO,GAAG,GAAG,IAAK,GAAG,IAAK,EAAE,QAAQ;EAC3C,IAAM,IAAI,EAAK,GAAG,GAAG,GAAI,IAAK,EAAE;AAChC,SAAO,IAAI,KAAM,EAAM,EAAE,IAAI,IAAI,EAAE,GAAG,CAAC,EAAM,EAAE,IAAI,EAAE,GAAG,IAAI,IAAI;;AAGlE,QAAO;EAAC;EAAM;EAAQ;EAAM;;AAG9B,SAAS,IAAO;AACd,QAAO"}
@@ -0,0 +1,8 @@
1
+ //#region node_modules/d3-array/src/descending.js
2
+ function e(e, t) {
3
+ return e == null || t == null ? NaN : t < e ? -1 : t > e ? 1 : t >= e ? 0 : NaN;
4
+ }
5
+ //#endregion
6
+ export { e as default };
7
+
8
+ //# sourceMappingURL=descending.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"descending.js","names":[],"sources":["../../../../node_modules/d3-array/src/descending.js"],"sourcesContent":["export default function descending(a, b) {\n return a == null || b == null ? NaN\n : b < a ? -1\n : b > a ? 1\n : b >= a ? 0\n : NaN;\n}\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAwB,EAAW,GAAG,GAAG;AACvC,QAAO,KAAK,QAAQ,KAAK,OAAO,MAC5B,IAAI,IAAI,KACR,IAAI,IAAI,IACR,KAAK,IAAI,IACT"}
@@ -0,0 +1,14 @@
1
+ //#region node_modules/d3-array/src/max.js
2
+ function e(e, t) {
3
+ let n;
4
+ if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
5
+ else {
6
+ let r = -1;
7
+ for (let i of e) (i = t(i, ++r, e)) != null && (n < i || n === void 0 && i >= i) && (n = i);
8
+ }
9
+ return n;
10
+ }
11
+ //#endregion
12
+ export { e as default };
13
+
14
+ //# sourceMappingURL=max.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"max.js","names":[],"sources":["../../../../node_modules/d3-array/src/max.js"],"sourcesContent":["export default function max(values, valueof) {\n let max;\n if (valueof === undefined) {\n for (const value of values) {\n if (value != null\n && (max < value || (max === undefined && value >= value))) {\n max = value;\n }\n }\n } else {\n let index = -1;\n for (let value of values) {\n if ((value = valueof(value, ++index, values)) != null\n && (max < value || (max === undefined && value >= value))) {\n max = value;\n }\n }\n }\n return max;\n}\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAwB,EAAI,GAAQ,GAAS;CAC3C,IAAI;AACJ,KAAI,MAAY,KAAA,QACT,IAAM,KAAS,EAClB,CAAI,KAAS,SACL,IAAM,KAAU,MAAQ,KAAA,KAAa,KAAS,OACpD,IAAM;MAGL;EACL,IAAI,IAAQ;AACZ,OAAK,IAAI,KAAS,EAChB,EAAK,IAAQ,EAAQ,GAAO,EAAE,GAAO,EAAO,KAAK,SACzC,IAAM,KAAU,MAAQ,KAAA,KAAa,KAAS,OACpD,IAAM;;AAIZ,QAAO"}
@@ -0,0 +1,14 @@
1
+ //#region node_modules/d3-array/src/min.js
2
+ function e(e, t) {
3
+ let n;
4
+ if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
5
+ else {
6
+ let r = -1;
7
+ for (let i of e) (i = t(i, ++r, e)) != null && (n > i || n === void 0 && i >= i) && (n = i);
8
+ }
9
+ return n;
10
+ }
11
+ //#endregion
12
+ export { e as default };
13
+
14
+ //# sourceMappingURL=min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"min.js","names":[],"sources":["../../../../node_modules/d3-array/src/min.js"],"sourcesContent":["export default function min(values, valueof) {\n let min;\n if (valueof === undefined) {\n for (const value of values) {\n if (value != null\n && (min > value || (min === undefined && value >= value))) {\n min = value;\n }\n }\n } else {\n let index = -1;\n for (let value of values) {\n if ((value = valueof(value, ++index, values)) != null\n && (min > value || (min === undefined && value >= value))) {\n min = value;\n }\n }\n }\n return min;\n}\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAwB,EAAI,GAAQ,GAAS;CAC3C,IAAI;AACJ,KAAI,MAAY,KAAA,QACT,IAAM,KAAS,EAClB,CAAI,KAAS,SACL,IAAM,KAAU,MAAQ,KAAA,KAAa,KAAS,OACpD,IAAM;MAGL;EACL,IAAI,IAAQ;AACZ,OAAK,IAAI,KAAS,EAChB,EAAK,IAAQ,EAAQ,GAAO,EAAE,GAAO,EAAO,KAAK,SACzC,IAAM,KAAU,MAAQ,KAAA,KAAa,KAAS,OACpD,IAAM;;AAIZ,QAAO"}
@@ -0,0 +1,15 @@
1
+ //#region node_modules/d3-array/src/number.js
2
+ function e(e) {
3
+ return e === null ? NaN : +e;
4
+ }
5
+ function* t(e, t) {
6
+ if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
7
+ else {
8
+ let n = -1;
9
+ for (let r of e) (r = t(r, ++n, e)) != null && (r = +r) >= r && (yield r);
10
+ }
11
+ }
12
+ //#endregion
13
+ export { e as default, t as numbers };
14
+
15
+ //# sourceMappingURL=number.js.map