@metaboliccode-dev/widget 0.2.39 → 0.2.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/dashboard/components/sections/MetabolicTriadCategoryPanel/primitives.d.ts +1 -1
- package/dist/components/dashboard/components/sections/MetaflammationGaugeCard.d.ts +3 -1
- package/dist/components/dashboard/components/sections/OverallMetabolicScoreCard.d.ts +6 -2
- package/dist/components/dashboard/constants.d.ts +2 -2
- package/dist/index.css +1 -1
- package/dist/index.js +516 -486
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var ME = (A, E, r) => E in A ? KE(A, E, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var K3 = (A, E, r) => ME(A, typeof E != "symbol" ? E + "" : E, r);
|
|
4
4
|
import { useAgCharts as d7, ensureAgChartsModules as fE } from "./ag-charts.js";
|
|
5
5
|
import { jsx as I, jsxs as e, Fragment as _ } from "react/jsx-runtime";
|
|
6
|
-
import { useId as q7, useRef as D, useState as s, useLayoutEffect as T7, useMemo as Y, useEffect as EA, useCallback as F, isValidElement as UE, cloneElement as sE, createContext as A3, useContext as Z7, lazy as
|
|
6
|
+
import { useId as q7, useRef as D, useState as s, useLayoutEffect as T7, useMemo as Y, useEffect as EA, useCallback as F, isValidElement as UE, cloneElement as sE, createContext as A3, useContext as Z7, lazy as qA, useReducer as bE, Component as oE, Suspense as gE, StrictMode as BE } from "react";
|
|
7
7
|
import { g as TA, b as ZI, i as kE, M as GE } from "./entry-api-DLaOtREf.js";
|
|
8
8
|
import { a as KV, c as MV, d as fV, e as UV, f as sV, h as bV, S as oV, j as gV, k as BV, l as kV, m as GV, n as YV, o as JV, p as cV, q as OV, r as jV, s as XV, t as FV, u as xV, v as NV, w as hV, x as yV, y as TV, z as PV, A as LV, B as wV, C as HV, D as DV, E as _V, F as $V, G as An, H as In, I as En, J as rn, K as zn, L as tn, N as en } from "./entry-api-DLaOtREf.js";
|
|
9
9
|
import { A as I3, a as YE } from "./vendor-ag-charts-W8mi59GS.js";
|
|
@@ -282,7 +282,7 @@ const er = "18.125rem", B = Q.ui, J = {
|
|
|
282
282
|
placeholder: !1
|
|
283
283
|
},
|
|
284
284
|
fonts: {
|
|
285
|
-
sans: 'ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"'
|
|
285
|
+
sans: '"SF Pro", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"'
|
|
286
286
|
},
|
|
287
287
|
colors: {
|
|
288
288
|
shellBackground: B.shellBackground,
|
|
@@ -337,7 +337,7 @@ const er = "18.125rem", B = Q.ui, J = {
|
|
|
337
337
|
borderRadius: "0.5rem",
|
|
338
338
|
borderWidth: "0.0625rem",
|
|
339
339
|
fontSize: "1rem",
|
|
340
|
-
fontWeight: "
|
|
340
|
+
fontWeight: "510",
|
|
341
341
|
gap: "0.75rem",
|
|
342
342
|
shadow: "0 0.0625rem 0.125rem 0 rgb(0 0 0 / 0.05)"
|
|
343
343
|
},
|
|
@@ -348,7 +348,7 @@ const er = "18.125rem", B = Q.ui, J = {
|
|
|
348
348
|
borderRadius: "0.5rem",
|
|
349
349
|
borderWidth: "0",
|
|
350
350
|
fontSize: "1rem",
|
|
351
|
-
fontWeight: "
|
|
351
|
+
fontWeight: "400",
|
|
352
352
|
gap: "0.75rem",
|
|
353
353
|
shadow: "none"
|
|
354
354
|
},
|
|
@@ -360,7 +360,7 @@ const er = "18.125rem", B = Q.ui, J = {
|
|
|
360
360
|
borderRadius: "0.375rem",
|
|
361
361
|
borderWidth: "0",
|
|
362
362
|
fontSize: "0.875rem",
|
|
363
|
-
fontWeight: "
|
|
363
|
+
fontWeight: "510"
|
|
364
364
|
}
|
|
365
365
|
};
|
|
366
366
|
function vr() {
|
|
@@ -387,7 +387,7 @@ function ar() {
|
|
|
387
387
|
};
|
|
388
388
|
}
|
|
389
389
|
function ir(A) {
|
|
390
|
-
var d, l, u, Z, m,
|
|
390
|
+
var d, l, u, q, Z, m, S, p, K, o, f, C, U, b, X, O, k, x, T;
|
|
391
391
|
if (!A)
|
|
392
392
|
return ar();
|
|
393
393
|
const E = {
|
|
@@ -400,21 +400,21 @@ function ir(A) {
|
|
|
400
400
|
}, t = {
|
|
401
401
|
...J.badge,
|
|
402
402
|
...A.badge,
|
|
403
|
-
borderRadius: ((
|
|
403
|
+
borderRadius: ((q = A.badge) == null ? void 0 : q.borderRadius) ?? ((Z = A.radius) == null ? void 0 : Z.badge) ?? J.badge.borderRadius
|
|
404
404
|
}, v = {
|
|
405
405
|
...J.colors,
|
|
406
406
|
...A.colors
|
|
407
|
-
}, a = ((
|
|
407
|
+
}, a = ((m = A.colors) == null ? void 0 : m.sideMenuItemText) ?? v.textPrimary, i = ((S = A.colors) == null ? void 0 : S.sideMenuItemTextActive) ?? v.textPrimary, V = {
|
|
408
408
|
...v,
|
|
409
409
|
sideMenuItemText: a,
|
|
410
410
|
sideMenuItemTextActive: i,
|
|
411
411
|
sideMenuIcon: ((p = A.colors) == null ? void 0 : p.sideMenuIcon) ?? a,
|
|
412
412
|
sideMenuIconActive: ((K = A.colors) == null ? void 0 : K.sideMenuIconActive) ?? i,
|
|
413
|
-
badgeText: ((
|
|
413
|
+
badgeText: ((o = A.colors) == null ? void 0 : o.badgeText) ?? v.textMuted,
|
|
414
414
|
badgeValueBackground: ((f = A.colors) == null ? void 0 : f.badgeValueBackground) ?? v.navHoverBackground,
|
|
415
415
|
badgeValueText: ((C = A.colors) == null ? void 0 : C.badgeValueText) ?? v.textPrimary,
|
|
416
416
|
badgeValueBorder: ((U = A.colors) == null ? void 0 : U.badgeValueBorder) ?? v.badgeValueBorder,
|
|
417
|
-
cardInlineButtonBackground: ((
|
|
417
|
+
cardInlineButtonBackground: ((b = A.colors) == null ? void 0 : b.cardInlineButtonBackground) ?? v.cardBackground,
|
|
418
418
|
cardInlineButtonBorder: ((X = A.colors) == null ? void 0 : X.cardInlineButtonBorder) ?? v.cardBorder,
|
|
419
419
|
cardInlineButtonText: ((O = A.colors) == null ? void 0 : O.cardInlineButtonText) ?? v.textPrimary,
|
|
420
420
|
cardInlineButtonHoverBackground: ((k = A.colors) == null ? void 0 : k.cardInlineButtonHoverBackground) ?? v.navHoverBackground
|
|
@@ -476,7 +476,7 @@ const w = {
|
|
|
476
476
|
{ color: Vr, position: 0 },
|
|
477
477
|
{ color: nr, position: 50 },
|
|
478
478
|
{ color: Wr, position: 100 }
|
|
479
|
-
], qr = "inline-flex cursor-pointer items-center gap-[var(--mb-button-gap)] rounded-[var(--mb-button-radius)] border border-[color:var(--mb-color-button-border)] [border-width:var(--mb-button-border-width)] bg-[color:var(--mb-color-button-bg)] px-[var(--mb-button-padding-x)] py-[var(--mb-button-padding-y)] [font-size:var(--mb-button-font-size)] [font-weight:var(--mb-button-font-weight)] text-[color:var(--mb-color-button-text)] shadow-[var(--mb-button-shadow)] transition hover:bg-[color:var(--mb-color-button-hover)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--mb-color-focus-ring)] focus-visible:ring-offset-2 focus-visible:ring-offset-[color:var(--mb-color-focus-offset)] disabled:cursor-not-allowed disabled:opacity-50", Zr = "inline-flex cursor-pointer items-center gap-[var(--mb-button-gap)] rounded-[var(--mb-button-radius)] border-0 bg-[color:var(--mb-color-nav-hover)] px-4 py-3.5 text-base font-
|
|
479
|
+
], qr = "inline-flex cursor-pointer items-center gap-[var(--mb-button-gap)] rounded-[var(--mb-button-radius)] border border-[color:var(--mb-color-button-border)] [border-width:var(--mb-button-border-width)] bg-[color:var(--mb-color-button-bg)] px-[var(--mb-button-padding-x)] py-[var(--mb-button-padding-y)] [font-size:var(--mb-button-font-size)] [font-weight:var(--mb-button-font-weight)] text-[color:var(--mb-color-button-text)] shadow-[var(--mb-button-shadow)] transition hover:bg-[color:var(--mb-color-button-hover)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--mb-color-focus-ring)] focus-visible:ring-offset-2 focus-visible:ring-offset-[color:var(--mb-color-focus-offset)] disabled:cursor-not-allowed disabled:opacity-50", Zr = "inline-flex cursor-pointer items-center gap-[var(--mb-button-gap)] rounded-[var(--mb-button-radius)] border-0 bg-[color:var(--mb-color-nav-hover)] px-4 py-3.5 text-base font-[510] leading-normal text-[color:var(--mb-color-text)] shadow-none transition hover:bg-[color:var(--mb-color-nav-active)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--mb-color-focus-ring)] focus-visible:ring-offset-2 focus-visible:ring-offset-[color:var(--mb-color-focus-offset)] disabled:cursor-not-allowed disabled:opacity-50", mr = "flex w-full min-w-0 shrink-0 cursor-pointer items-center justify-center gap-0 rounded-[var(--mb-side-menu-radius)] border border-transparent px-2 py-[var(--mb-side-menu-padding-y)] text-left [font-size:var(--mb-side-menu-font-size)] [font-weight:var(--mb-side-menu-font-weight)] [border-width:var(--mb-side-menu-border-width)] shadow-[var(--mb-side-menu-shadow)] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--mb-color-focus-ring)] focus-visible:ring-offset-2 focus-visible:ring-offset-[color:var(--mb-color-focus-offset)] disabled:cursor-not-allowed disabled:opacity-50 lg:justify-start lg:gap-[var(--mb-side-menu-gap)] lg:px-[var(--mb-side-menu-padding-x)]", lr = "flex h-8 w-full min-w-0 shrink-0 cursor-pointer items-center justify-center gap-2 rounded-[var(--mb-side-menu-radius)] border-0 bg-transparent px-3 py-0 text-left text-sm text-[color:var(--mb-color-text)] shadow-none transition-colors hover:bg-[color:var(--mb-color-nav-hover)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--mb-color-focus-ring)] focus-visible:ring-offset-2 focus-visible:ring-offset-[color:var(--mb-color-focus-offset)] disabled:cursor-not-allowed disabled:opacity-50 lg:justify-start [&_svg]:block", l7 = "inline-flex shrink-0 cursor-pointer items-center gap-1.5 rounded-none rounded-br-[length:var(--mb-radius-button)] rounded-tr-[length:var(--mb-radius-button)] border-0 px-5 py-2.5 text-sm font-bold uppercase tracking-normal text-white shadow-none transition hover:brightness-90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--mb-color-focus-ring)] focus-visible:ring-offset-2 focus-visible:ring-offset-[color:var(--mb-color-card-bg)] disabled:cursor-not-allowed disabled:opacity-50 [&_svg]:shrink-0 [&_svg]:text-white", ur = `${l7} ${m7.optimal}`, Cr = `${l7} ${m7.high}`, Sr = `${l7} ${m7.low}`, Qr = `${l7} ${m7.trending}`;
|
|
480
480
|
function G({
|
|
481
481
|
className: A = "",
|
|
482
482
|
fullWidth: E = !1,
|
|
@@ -581,7 +581,7 @@ function E3({
|
|
|
581
581
|
E
|
|
582
582
|
] }) : /* @__PURE__ */ I("h2", { className: `mb-2 ${U7} ${z}`.trim(), children: A });
|
|
583
583
|
}
|
|
584
|
-
function
|
|
584
|
+
function uA({
|
|
585
585
|
size: A = 32,
|
|
586
586
|
variant: E = "current"
|
|
587
587
|
}) {
|
|
@@ -721,7 +721,7 @@ function SI({
|
|
|
721
721
|
width: IA(s3),
|
|
722
722
|
height: IA(b3)
|
|
723
723
|
},
|
|
724
|
-
children: /* @__PURE__ */ I(
|
|
724
|
+
children: /* @__PURE__ */ I(uA, { size: s3 })
|
|
725
725
|
}
|
|
726
726
|
) : null
|
|
727
727
|
] }),
|
|
@@ -886,15 +886,15 @@ function e7(A, {
|
|
|
886
886
|
if (n === 0) return;
|
|
887
887
|
let W = 0;
|
|
888
888
|
const d = window.performance.now(), l = (u) => {
|
|
889
|
-
const
|
|
890
|
-
i.current =
|
|
889
|
+
const q = Math.min(1, (u - d) / E), Z = V + n * jr(q);
|
|
890
|
+
i.current = Z, a(Z), q < 1 && (W = window.requestAnimationFrame(l));
|
|
891
891
|
};
|
|
892
892
|
return W = window.requestAnimationFrame(l), () => {
|
|
893
893
|
window.cancelAnimationFrame(W);
|
|
894
894
|
};
|
|
895
895
|
}, [E, t]), v;
|
|
896
896
|
}
|
|
897
|
-
const xr = 4e3, Nr = "h-[
|
|
897
|
+
const xr = 4e3, Nr = "h-[19.25rem]", hr = "max-w-[24.5rem]", yr = 118, Tr = 308, Pr = -3, Lr = 50, wr = 50, Hr = 24.5, Dr = 28.5, _r = 32, $r = 20, Az = 16, Iz = 0.875, Ez = 2.1875, rz = 2.5, zz = 0.5, tz = 0.75, { metaflammation: BA } = Q;
|
|
898
898
|
function QI(A, E) {
|
|
899
899
|
return Math.min(E, Math.max(0, A));
|
|
900
900
|
}
|
|
@@ -982,7 +982,7 @@ function g3({
|
|
|
982
982
|
transformOrigin: "0 0"
|
|
983
983
|
},
|
|
984
984
|
"aria-hidden": !0,
|
|
985
|
-
children: /* @__PURE__ */ I("span", { className: "block", style: { transform: t }, children: /* @__PURE__ */ I(
|
|
985
|
+
children: /* @__PURE__ */ I("span", { className: "block", style: { transform: t }, children: /* @__PURE__ */ I(uA, { size: _r, variant: r }) })
|
|
986
986
|
}
|
|
987
987
|
);
|
|
988
988
|
}
|
|
@@ -1237,13 +1237,13 @@ function iz({
|
|
|
1237
1237
|
}
|
|
1238
1238
|
);
|
|
1239
1239
|
}
|
|
1240
|
-
const { risk: j } = Q,
|
|
1240
|
+
const { risk: j } = Q, dA = [
|
|
1241
1241
|
{ color: j.highTrack, activeColor: j.high, label: "Alert Low" },
|
|
1242
1242
|
{ color: j.moderateTrack, activeColor: j.moderate, label: "Low Normal" },
|
|
1243
1243
|
{ color: j.lowTrack, activeColor: j.low, label: "Optimal" },
|
|
1244
1244
|
{ color: j.moderateTrack, activeColor: j.moderate, label: "High Normal" },
|
|
1245
1245
|
{ color: j.highTrack, activeColor: j.high, label: "Alert High" }
|
|
1246
|
-
],
|
|
1246
|
+
], nA = [
|
|
1247
1247
|
{ color: j.lowTrack, activeColor: j.low, label: "Low Risk" },
|
|
1248
1248
|
{ color: j.moderateTrack, activeColor: j.moderate, label: "Moderate Risk" },
|
|
1249
1249
|
{ color: j.highTrack, activeColor: j.high, label: "High Risk" }
|
|
@@ -1331,7 +1331,7 @@ function oA({
|
|
|
1331
1331
|
d7();
|
|
1332
1332
|
const i = A.length, V = v !== void 0 ? Math.min(i - 1, Math.max(0, v)) : sI(E, i), n = Y(() => Rz(A, V, a), [A, V, a]);
|
|
1333
1333
|
if (i === 0) return null;
|
|
1334
|
-
const W = k3(E, i, z), d = r === void 0 ? void 0 : k3(r, i, z), l = pA(L7), u = pA(L7 + UI),
|
|
1334
|
+
const W = k3(E, i, z), d = r === void 0 ? void 0 : k3(r, i, z), l = pA(L7), u = pA(L7 + UI), q = `calc(${l} + (100% - ${u}) * ${W / 100})`, Z = d === void 0 ? void 0 : `calc(${l} + (100% - ${u}) * ${d / 100})`;
|
|
1335
1335
|
return /* @__PURE__ */ e("div", { className: "w-full", children: [
|
|
1336
1336
|
/* @__PURE__ */ e(
|
|
1337
1337
|
"div",
|
|
@@ -1347,15 +1347,15 @@ function oA({
|
|
|
1347
1347
|
style: { height: pA(k7), minHeight: pA(k7) }
|
|
1348
1348
|
}
|
|
1349
1349
|
),
|
|
1350
|
-
t &&
|
|
1350
|
+
t && Z ? /* @__PURE__ */ I(
|
|
1351
1351
|
"div",
|
|
1352
1352
|
{
|
|
1353
1353
|
className: "pointer-events-none absolute z-20 -translate-x-1/2",
|
|
1354
1354
|
style: {
|
|
1355
|
-
left:
|
|
1355
|
+
left: Z,
|
|
1356
1356
|
top: pA(1)
|
|
1357
1357
|
},
|
|
1358
|
-
children: /* @__PURE__ */ I(
|
|
1358
|
+
children: /* @__PURE__ */ I(uA, { size: B3, variant: "previous" })
|
|
1359
1359
|
}
|
|
1360
1360
|
) : null,
|
|
1361
1361
|
t ? /* @__PURE__ */ I(
|
|
@@ -1363,10 +1363,10 @@ function oA({
|
|
|
1363
1363
|
{
|
|
1364
1364
|
className: "pointer-events-none absolute z-20 -translate-x-1/2",
|
|
1365
1365
|
style: {
|
|
1366
|
-
left:
|
|
1366
|
+
left: q,
|
|
1367
1367
|
bottom: pA(5)
|
|
1368
1368
|
},
|
|
1369
|
-
children: /* @__PURE__ */ I(
|
|
1369
|
+
children: /* @__PURE__ */ I(uA, { size: B3 })
|
|
1370
1370
|
}
|
|
1371
1371
|
) : null
|
|
1372
1372
|
]
|
|
@@ -1377,7 +1377,7 @@ function oA({
|
|
|
1377
1377
|
{
|
|
1378
1378
|
className: "mt-1.5 grid gap-x-0.5 gap-y-1 text-center text-[0.625rem] leading-snug text-[color:var(--mb-color-text-muted)]",
|
|
1379
1379
|
style: { gridTemplateColumns: `repeat(${i}, minmax(0, 1fr))` },
|
|
1380
|
-
children: A.map((
|
|
1380
|
+
children: A.map((m) => /* @__PURE__ */ I("span", { className: "min-w-0 break-words px-0.5", children: m.label }, m.label))
|
|
1381
1381
|
}
|
|
1382
1382
|
)
|
|
1383
1383
|
] });
|
|
@@ -1387,7 +1387,7 @@ function qz({
|
|
|
1387
1387
|
dosage: E,
|
|
1388
1388
|
isFirst: r = !1
|
|
1389
1389
|
}) {
|
|
1390
|
-
const z = (E == null ? void 0 : E.trim()) ?? "", t = z.length > 0, v = `inline-flex min-h-5 min-w-4 shrink-0 items-center justify-center rounded bg-[#ebebeb] px-2 py-0.5 text-center text-sm font-
|
|
1390
|
+
const z = (E == null ? void 0 : E.trim()) ?? "", t = z.length > 0, v = `inline-flex min-h-5 min-w-4 shrink-0 items-center justify-center rounded bg-[#ebebeb] px-2 py-0.5 text-center text-sm font-[510] leading-5 text-[color:var(--mb-color-text)] ${t ? "whitespace-nowrap" : ""}`.trim();
|
|
1391
1391
|
return /* @__PURE__ */ e(
|
|
1392
1392
|
"div",
|
|
1393
1393
|
{
|
|
@@ -1406,7 +1406,7 @@ function qz({
|
|
|
1406
1406
|
}
|
|
1407
1407
|
);
|
|
1408
1408
|
}
|
|
1409
|
-
function
|
|
1409
|
+
function WA() {
|
|
1410
1410
|
const A = /* @__PURE__ */ new Map();
|
|
1411
1411
|
return (E, r = "item") => {
|
|
1412
1412
|
const z = E.trim() || r, t = A.get(z) ?? 0;
|
|
@@ -1417,7 +1417,7 @@ const Zz = [1, 2, 3, 4];
|
|
|
1417
1417
|
function mz({
|
|
1418
1418
|
triadNumbers: A = Zz
|
|
1419
1419
|
}) {
|
|
1420
|
-
const E =
|
|
1420
|
+
const E = WA();
|
|
1421
1421
|
return /* @__PURE__ */ I("div", { className: "flex shrink-0 items-center gap-2", children: A.map((r) => {
|
|
1422
1422
|
const z = uI(r);
|
|
1423
1423
|
return z ? /* @__PURE__ */ I(
|
|
@@ -1571,7 +1571,7 @@ function Hi(A) {
|
|
|
1571
1571
|
riskRows: i,
|
|
1572
1572
|
nutrientsLeadParagraph: V,
|
|
1573
1573
|
nutrientRows: n
|
|
1574
|
-
} = A, W = dz(
|
|
1574
|
+
} = A, W = dz(dA, z);
|
|
1575
1575
|
return /* @__PURE__ */ e(M, { className: "flex flex-col gap-4", children: [
|
|
1576
1576
|
/* @__PURE__ */ e("div", { className: "flex flex-wrap items-start justify-between gap-3", children: [
|
|
1577
1577
|
/* @__PURE__ */ I("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children: E }),
|
|
@@ -1580,7 +1580,7 @@ function Hi(A) {
|
|
|
1580
1580
|
/* @__PURE__ */ I(
|
|
1581
1581
|
oA,
|
|
1582
1582
|
{
|
|
1583
|
-
segments:
|
|
1583
|
+
segments: dA,
|
|
1584
1584
|
indicatorPercent: z,
|
|
1585
1585
|
indicatorPosition: "segmentCenter"
|
|
1586
1586
|
}
|
|
@@ -1597,11 +1597,11 @@ function N({ content: A, children: E, side: r = "top" }) {
|
|
|
1597
1597
|
const z = q7(), t = D(null), v = D(null), [a, i] = s(!1), [V, n] = s(null), W = D(null), d = F(() => {
|
|
1598
1598
|
W.current !== null && cancelAnimationFrame(W.current), W.current = requestAnimationFrame(() => {
|
|
1599
1599
|
W.current = null;
|
|
1600
|
-
const
|
|
1601
|
-
if (!
|
|
1602
|
-
const
|
|
1603
|
-
let C = r === "top" ?
|
|
1604
|
-
U = Math.max(K, Math.min(U,
|
|
1600
|
+
const q = t.current, Z = v.current;
|
|
1601
|
+
if (!q || !Z) return;
|
|
1602
|
+
const m = q.getBoundingClientRect(), S = Z.getBoundingClientRect(), p = 4, K = 12, o = window.innerWidth, f = window.innerHeight;
|
|
1603
|
+
let C = r === "top" ? m.top - S.height - p : m.bottom + p, U = m.left + m.width / 2 - S.width / 2;
|
|
1604
|
+
U = Math.max(K, Math.min(U, o - S.width - K)), r === "top" && C < K ? C = m.bottom + p : r === "bottom" && C + S.height > f - K && (C = m.top - S.height - p), C = Math.max(K, Math.min(C, f - S.height - K)), n({ top: C, left: U });
|
|
1605
1605
|
});
|
|
1606
1606
|
}, [r]);
|
|
1607
1607
|
T7(() => {
|
|
@@ -1617,21 +1617,21 @@ function N({ content: A, children: E, side: r = "top" }) {
|
|
|
1617
1617
|
});
|
|
1618
1618
|
const l = UE(E) ? sE(E, {
|
|
1619
1619
|
"aria-describedby": a ? z : void 0,
|
|
1620
|
-
onMouseEnter: (
|
|
1621
|
-
var
|
|
1622
|
-
(
|
|
1620
|
+
onMouseEnter: (q) => {
|
|
1621
|
+
var Z, m;
|
|
1622
|
+
(m = (Z = E.props).onMouseEnter) == null || m.call(Z, q), i(!0);
|
|
1623
1623
|
},
|
|
1624
|
-
onMouseLeave: (
|
|
1625
|
-
var
|
|
1626
|
-
(
|
|
1624
|
+
onMouseLeave: (q) => {
|
|
1625
|
+
var Z, m;
|
|
1626
|
+
(m = (Z = E.props).onMouseLeave) == null || m.call(Z, q), i(!1);
|
|
1627
1627
|
},
|
|
1628
|
-
onFocus: (
|
|
1629
|
-
var
|
|
1630
|
-
(
|
|
1628
|
+
onFocus: (q) => {
|
|
1629
|
+
var Z, m;
|
|
1630
|
+
(m = (Z = E.props).onFocus) == null || m.call(Z, q), i(!0);
|
|
1631
1631
|
},
|
|
1632
|
-
onBlur: (
|
|
1633
|
-
var
|
|
1634
|
-
(
|
|
1632
|
+
onBlur: (q) => {
|
|
1633
|
+
var Z, m;
|
|
1634
|
+
(m = (Z = E.props).onBlur) == null || m.call(Z, q), i(!1);
|
|
1635
1635
|
}
|
|
1636
1636
|
}) : E, u = typeof document < "u" ? document.body : null;
|
|
1637
1637
|
return /* @__PURE__ */ e(_, { children: [
|
|
@@ -1712,7 +1712,7 @@ function Qz(A, E, r, z) {
|
|
|
1712
1712
|
const n = i - a, W = n > 0 ? n : 1, d = Math.min(1, (A - i) / W);
|
|
1713
1713
|
return kA(2 * V + d * V);
|
|
1714
1714
|
}
|
|
1715
|
-
const rA = "rounded-full p-0.5 text-[color:var(--mb-color-text-muted)] transition hover:text-[color:var(--mb-color-text)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--mb-color-focus-ring)]", pz = "whitespace-nowrap !border-[color:var(--mb-color-card-inline-button-border)] !bg-[color:var(--mb-color-card-inline-button-bg)] !px-3 !py-2 !text-base !font-
|
|
1715
|
+
const rA = "rounded-full p-0.5 text-[color:var(--mb-color-text-muted)] transition hover:text-[color:var(--mb-color-text)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--mb-color-focus-ring)]", pz = "whitespace-nowrap !border-[color:var(--mb-color-card-inline-button-border)] !bg-[color:var(--mb-color-card-inline-button-bg)] !px-3 !py-2 !text-base !font-[510] !text-[color:var(--mb-color-card-inline-button-text)] [&_svg]:!text-[color:var(--mb-color-card-inline-button-text)] !shadow-none hover:!bg-[color:var(--mb-color-card-inline-button-hover)]", bI = "whitespace-nowrap !border-[color:var(--mb-color-card-border)] !bg-transparent !px-3 !py-2 !text-base !font-[510] !text-[color:var(--mb-color-text)] [&_svg]:!text-[color:var(--mb-color-text)] !shadow-none transition-[background-color,border-color] duration-150 ease-out hover:!border-[color:var(--mb-color-button-border)] hover:!bg-[color:var(--mb-color-card-inline-button-hover)] disabled:hover:!border-[color:var(--mb-color-card-border)] disabled:hover:!bg-transparent";
|
|
1716
1716
|
function t3({
|
|
1717
1717
|
value: A,
|
|
1718
1718
|
variant: E = "default",
|
|
@@ -1731,8 +1731,7 @@ function t3({
|
|
|
1731
1731
|
) : /* @__PURE__ */ I(
|
|
1732
1732
|
"span",
|
|
1733
1733
|
{
|
|
1734
|
-
className: `inline-flex h-6 min-w-[2.4375rem] shrink-0 items-center justify-center rounded-[0.25rem] px-2 py-0.5 text-center text-sm leading-5 tabular-nums ${i} ${V} ${
|
|
1735
|
-
style: { fontWeight: E === "total" ? 700 : 510 },
|
|
1734
|
+
className: `inline-flex h-6 min-w-[2.4375rem] shrink-0 items-center justify-center rounded-[0.25rem] px-2 py-0.5 text-center text-sm font-[510] leading-5 tabular-nums ${i} ${V} ${t}`.trim(),
|
|
1736
1735
|
children: A
|
|
1737
1736
|
}
|
|
1738
1737
|
);
|
|
@@ -1748,7 +1747,7 @@ function t3({
|
|
|
1748
1747
|
sA,
|
|
1749
1748
|
{
|
|
1750
1749
|
variant: r === "range" ? "value" : "valueCompact",
|
|
1751
|
-
className: `shrink-0 ${
|
|
1750
|
+
className: `shrink-0 ${t}`.trim(),
|
|
1752
1751
|
children: A
|
|
1753
1752
|
}
|
|
1754
1753
|
);
|
|
@@ -1783,7 +1782,7 @@ function xA({
|
|
|
1783
1782
|
height: "var(--mb-category-panel-header-height)"
|
|
1784
1783
|
},
|
|
1785
1784
|
children: [
|
|
1786
|
-
/* @__PURE__ */ I("h3", { className: "min-w-0 break-words text-sm font-bold tracking-
|
|
1785
|
+
/* @__PURE__ */ I("h3", { className: "min-w-0 break-words text-sm font-bold tracking-normal text-[color:var(--mb-color-text)] uppercase", children: A }),
|
|
1787
1786
|
E ? /* @__PURE__ */ I("span", { className: "inline-flex shrink-0", children: E }) : null,
|
|
1788
1787
|
r ? /* @__PURE__ */ I("span", { className: "inline-flex shrink-0", children: r }) : null
|
|
1789
1788
|
]
|
|
@@ -1909,14 +1908,14 @@ function Uz({
|
|
|
1909
1908
|
children: z.map((v) => /* @__PURE__ */ e(
|
|
1910
1909
|
"div",
|
|
1911
1910
|
{
|
|
1912
|
-
className: "flex w-full min-w-0 items-baseline gap-1.5 text-sm font-
|
|
1911
|
+
className: "flex w-full min-w-0 items-baseline gap-1.5 text-sm font-[510] text-[color:var(--mb-color-text)]",
|
|
1913
1912
|
children: [
|
|
1914
1913
|
/* @__PURE__ */ I("span", { className: "min-w-0 break-words leading-snug", children: v.label }),
|
|
1915
1914
|
/* @__PURE__ */ I(
|
|
1916
1915
|
"span",
|
|
1917
1916
|
{
|
|
1918
1917
|
role: "img",
|
|
1919
|
-
className: "shrink-0 whitespace-nowrap tabular-nums text-base font-
|
|
1918
|
+
className: "shrink-0 whitespace-nowrap tabular-nums text-base font-[510] text-[color:var(--mb-color-text)]",
|
|
1920
1919
|
"aria-label": `Trend ${v.arrows}`,
|
|
1921
1920
|
children: v.arrows
|
|
1922
1921
|
}
|
|
@@ -1965,13 +1964,13 @@ function sz({
|
|
|
1965
1964
|
}
|
|
1966
1965
|
function UA(A) {
|
|
1967
1966
|
if (A.layout === "labAnalysis") {
|
|
1968
|
-
const { title:
|
|
1967
|
+
const { title: Z, markers: m, trendZone: S } = A, p = G7(S), K = NA(DA, p);
|
|
1969
1968
|
return /* @__PURE__ */ e(FA, { trendColor: K, children: [
|
|
1970
|
-
/* @__PURE__ */ I(xA, { title:
|
|
1969
|
+
/* @__PURE__ */ I(xA, { title: Z, trendColor: K }),
|
|
1971
1970
|
/* @__PURE__ */ I(
|
|
1972
1971
|
Uz,
|
|
1973
1972
|
{
|
|
1974
|
-
markers:
|
|
1973
|
+
markers: m,
|
|
1975
1974
|
rangeBar: {
|
|
1976
1975
|
segments: DA,
|
|
1977
1976
|
indicatorPercent: p,
|
|
@@ -1983,19 +1982,19 @@ function UA(A) {
|
|
|
1983
1982
|
] });
|
|
1984
1983
|
}
|
|
1985
1984
|
if (A.layout === "labResults") {
|
|
1986
|
-
const { category:
|
|
1985
|
+
const { category: Z, onInfoClick: m } = A, S = NA(nA, Z.indicatorPercent);
|
|
1987
1986
|
return /* @__PURE__ */ e(FA, { trendColor: S, children: [
|
|
1988
1987
|
/* @__PURE__ */ I(
|
|
1989
1988
|
xA,
|
|
1990
1989
|
{
|
|
1991
|
-
title:
|
|
1990
|
+
title: Z.title,
|
|
1992
1991
|
trendColor: S,
|
|
1993
1992
|
trailingInfo: /* @__PURE__ */ I(
|
|
1994
1993
|
c3,
|
|
1995
1994
|
{
|
|
1996
|
-
ariaLabel:
|
|
1997
|
-
tooltip:
|
|
1998
|
-
onClick:
|
|
1995
|
+
ariaLabel: Z.infoAriaLabel,
|
|
1996
|
+
tooltip: Z.infoTooltip ?? Z.infoAriaLabel,
|
|
1997
|
+
onClick: m
|
|
1999
1998
|
}
|
|
2000
1999
|
)
|
|
2001
2000
|
}
|
|
@@ -2003,12 +2002,12 @@ function UA(A) {
|
|
|
2003
2002
|
/* @__PURE__ */ I(
|
|
2004
2003
|
sz,
|
|
2005
2004
|
{
|
|
2006
|
-
normalRange:
|
|
2007
|
-
currentRange:
|
|
2008
|
-
previousRange:
|
|
2005
|
+
normalRange: Z.normalRange,
|
|
2006
|
+
currentRange: Z.currentRange,
|
|
2007
|
+
previousRange: Z.previousRange,
|
|
2009
2008
|
rangeBar: {
|
|
2010
|
-
segments:
|
|
2011
|
-
indicatorPercent:
|
|
2009
|
+
segments: nA,
|
|
2010
|
+
indicatorPercent: Z.indicatorPercent,
|
|
2012
2011
|
indicatorPosition: "segmentCenter"
|
|
2013
2012
|
}
|
|
2014
2013
|
}
|
|
@@ -2017,27 +2016,27 @@ function UA(A) {
|
|
|
2017
2016
|
}
|
|
2018
2017
|
if (A.layout === "metricRows") {
|
|
2019
2018
|
const {
|
|
2020
|
-
title:
|
|
2021
|
-
infoAriaLabel:
|
|
2019
|
+
title: Z,
|
|
2020
|
+
infoAriaLabel: m,
|
|
2022
2021
|
infoTooltip: S,
|
|
2023
2022
|
onInfoClick: p,
|
|
2024
2023
|
showInfoButton: K = !0,
|
|
2025
|
-
rows:
|
|
2024
|
+
rows: o,
|
|
2026
2025
|
indicatorPercent: f,
|
|
2027
2026
|
indicatorPosition: C,
|
|
2028
|
-
segments: U =
|
|
2029
|
-
} = A,
|
|
2030
|
-
return /* @__PURE__ */ e(FA, { trendColor:
|
|
2027
|
+
segments: U = dA
|
|
2028
|
+
} = A, b = NA(U, f);
|
|
2029
|
+
return /* @__PURE__ */ e(FA, { trendColor: b, children: [
|
|
2031
2030
|
/* @__PURE__ */ I(
|
|
2032
2031
|
xA,
|
|
2033
2032
|
{
|
|
2034
|
-
title:
|
|
2035
|
-
trendColor:
|
|
2033
|
+
title: Z,
|
|
2034
|
+
trendColor: b,
|
|
2036
2035
|
trailingInfo: K ? /* @__PURE__ */ I(
|
|
2037
2036
|
c3,
|
|
2038
2037
|
{
|
|
2039
|
-
ariaLabel:
|
|
2040
|
-
tooltip: S ??
|
|
2038
|
+
ariaLabel: m,
|
|
2039
|
+
tooltip: S ?? m,
|
|
2041
2040
|
onClick: p
|
|
2042
2041
|
}
|
|
2043
2042
|
) : void 0
|
|
@@ -2046,7 +2045,7 @@ function UA(A) {
|
|
|
2046
2045
|
/* @__PURE__ */ I(
|
|
2047
2046
|
fz,
|
|
2048
2047
|
{
|
|
2049
|
-
rows:
|
|
2048
|
+
rows: o,
|
|
2050
2049
|
rangeBar: {
|
|
2051
2050
|
segments: U,
|
|
2052
2051
|
indicatorPercent: f,
|
|
@@ -2058,17 +2057,17 @@ function UA(A) {
|
|
|
2058
2057
|
}
|
|
2059
2058
|
if (A.layout === "questionnaire") {
|
|
2060
2059
|
const {
|
|
2061
|
-
category:
|
|
2062
|
-
currentRangeLabel:
|
|
2060
|
+
category: Z,
|
|
2061
|
+
currentRangeLabel: m = "Current Range",
|
|
2063
2062
|
previousRangeLabel: S = "Previous Range",
|
|
2064
2063
|
onCategoryClick: p
|
|
2065
|
-
} = A, K = G7(
|
|
2064
|
+
} = A, K = G7(Z.trendZone), o = Z.previousTrendZone === void 0 ? void 0 : G7(Z.previousTrendZone), f = NA(DA, K), C = !!(p && Z.organKey), U = C ? () => p == null ? void 0 : p(Z) : void 0, b = /* @__PURE__ */ e(FA, { trendColor: f, children: [
|
|
2066
2065
|
/* @__PURE__ */ I(
|
|
2067
2066
|
xA,
|
|
2068
2067
|
{
|
|
2069
|
-
title:
|
|
2068
|
+
title: Z.title,
|
|
2070
2069
|
trendColor: f,
|
|
2071
|
-
titleAccessory: /* @__PURE__ */ I(N, { content:
|
|
2070
|
+
titleAccessory: /* @__PURE__ */ I(N, { content: Z.infoTooltip ?? Z.infoAriaLabel, side: "bottom", children: /* @__PURE__ */ I(
|
|
2072
2071
|
"span",
|
|
2073
2072
|
{
|
|
2074
2073
|
className: "inline-flex shrink-0 text-[color:var(--mb-color-text-muted)]",
|
|
@@ -2083,18 +2082,18 @@ function UA(A) {
|
|
|
2083
2082
|
O3,
|
|
2084
2083
|
{
|
|
2085
2084
|
variant: "questionnaire",
|
|
2086
|
-
columnHeaders: [S,
|
|
2085
|
+
columnHeaders: [S, m],
|
|
2087
2086
|
rows: [
|
|
2088
2087
|
{
|
|
2089
2088
|
label: "Symptom Score",
|
|
2090
|
-
current:
|
|
2091
|
-
previous:
|
|
2089
|
+
current: Z.symptomScore,
|
|
2090
|
+
previous: Z.previousSymptom
|
|
2092
2091
|
}
|
|
2093
2092
|
],
|
|
2094
2093
|
rangeBar: {
|
|
2095
2094
|
segments: DA,
|
|
2096
2095
|
indicatorPercent: K,
|
|
2097
|
-
previousIndicatorPercent:
|
|
2096
|
+
previousIndicatorPercent: o,
|
|
2098
2097
|
indicatorPosition: "segmentCenter",
|
|
2099
2098
|
dimInactiveSegments: !1,
|
|
2100
2099
|
className: "mt-1"
|
|
@@ -2108,10 +2107,10 @@ function UA(A) {
|
|
|
2108
2107
|
type: "button",
|
|
2109
2108
|
className: "w-full cursor-pointer rounded-lg border-0 bg-transparent p-0 text-left transition-colors hover:bg-[color:var(--mb-color-nav-hover)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--mb-color-focus-ring)]",
|
|
2110
2109
|
onClick: U,
|
|
2111
|
-
"aria-label": `View ${
|
|
2112
|
-
children:
|
|
2110
|
+
"aria-label": `View ${Z.title} details`,
|
|
2111
|
+
children: b
|
|
2113
2112
|
}
|
|
2114
|
-
) :
|
|
2113
|
+
) : b;
|
|
2115
2114
|
}
|
|
2116
2115
|
const {
|
|
2117
2116
|
category: E,
|
|
@@ -2125,7 +2124,7 @@ function UA(A) {
|
|
|
2125
2124
|
t,
|
|
2126
2125
|
E.trendIndicatorPercent,
|
|
2127
2126
|
v
|
|
2128
|
-
), V = NA(
|
|
2127
|
+
), V = NA(nA, i), n = !!(a && E.organKey), W = n ? () => a == null ? void 0 : a(E) : void 0, d = E.infoAriaLabel ?? `${E.title} information`, l = E.infoTooltip ?? d, u = n ? "w-full cursor-pointer border-0 bg-transparent p-0 text-left transition-colors hover:bg-[color:var(--mb-color-nav-hover)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[color:var(--mb-color-focus-ring)]" : "", q = /* @__PURE__ */ I(_, { children: /* @__PURE__ */ e(FA, { trendColor: V, children: [
|
|
2129
2128
|
/* @__PURE__ */ I(
|
|
2130
2129
|
xA,
|
|
2131
2130
|
{
|
|
@@ -2166,7 +2165,7 @@ function UA(A) {
|
|
|
2166
2165
|
}
|
|
2167
2166
|
],
|
|
2168
2167
|
rangeBar: {
|
|
2169
|
-
segments:
|
|
2168
|
+
segments: nA,
|
|
2170
2169
|
indicatorPercent: i,
|
|
2171
2170
|
indicatorPosition: "segmentCenter"
|
|
2172
2171
|
}
|
|
@@ -2180,9 +2179,9 @@ function UA(A) {
|
|
|
2180
2179
|
className: u,
|
|
2181
2180
|
onClick: W,
|
|
2182
2181
|
"aria-label": `View ${E.title} details`,
|
|
2183
|
-
children:
|
|
2182
|
+
children: q
|
|
2184
2183
|
}
|
|
2185
|
-
) : /* @__PURE__ */ I("div", { children:
|
|
2184
|
+
) : /* @__PURE__ */ I("div", { children: q });
|
|
2186
2185
|
}
|
|
2187
2186
|
const bz = {
|
|
2188
2187
|
1: "text-[color:var(--mb-color-triad-1)]",
|
|
@@ -2203,7 +2202,7 @@ function H7({
|
|
|
2203
2202
|
infoTooltip: i,
|
|
2204
2203
|
onInfoClick: V
|
|
2205
2204
|
}) {
|
|
2206
|
-
const n = a ?? `${E} information`, W = i ?? n, d = t ? "text-[color:var(--mb-color-text)]" : v ? bz[v] : "text-[color:var(--mb-color-text)]", l = t ? `var(--mb-color-risk-${t})` : "var(--mb-color-card-border)", u = t ? `var(--mb-color-risk-${t}-tint)` : "var(--mb-color-card-bg)",
|
|
2205
|
+
const n = a ?? `${E} information`, W = i ?? n, d = t ? "text-[color:var(--mb-color-text)]" : v ? bz[v] : "text-[color:var(--mb-color-text)]", l = t ? `var(--mb-color-risk-${t})` : "var(--mb-color-card-border)", u = t ? `var(--mb-color-risk-${t}-tint)` : "var(--mb-color-card-bg)", q = r.endsWith(":") ? r : `${r}:`;
|
|
2207
2206
|
return /* @__PURE__ */ e("div", { className: "mb-6 flex min-w-0 flex-wrap items-center justify-between gap-4", children: [
|
|
2208
2207
|
/* @__PURE__ */ e("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
|
|
2209
2208
|
/* @__PURE__ */ I(OA, { triadNumber: A, className: "size-10" }),
|
|
@@ -2223,7 +2222,7 @@ function H7({
|
|
|
2223
2222
|
] })
|
|
2224
2223
|
] }),
|
|
2225
2224
|
/* @__PURE__ */ e("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
2226
|
-
/* @__PURE__ */ I("span", { className: "text-base font-bold text-[color:var(--mb-color-text)]", children:
|
|
2225
|
+
/* @__PURE__ */ I("span", { className: "text-base font-bold text-[color:var(--mb-color-text)]", children: q }),
|
|
2227
2226
|
/* @__PURE__ */ I(
|
|
2228
2227
|
"span",
|
|
2229
2228
|
{
|
|
@@ -2246,7 +2245,7 @@ function oz(A) {
|
|
|
2246
2245
|
descriptionParagraphs: i,
|
|
2247
2246
|
descriptionPrimary: V,
|
|
2248
2247
|
descriptionSecondary: n
|
|
2249
|
-
} = A, W = i != null && i.length ? i : [V, n].filter((l) => !!l), d =
|
|
2248
|
+
} = A, W = i != null && i.length ? i : [V, n].filter((l) => !!l), d = WA();
|
|
2250
2249
|
return /* @__PURE__ */ e(M, { className: "flex min-w-0 flex-col", children: [
|
|
2251
2250
|
/* @__PURE__ */ I(
|
|
2252
2251
|
H7,
|
|
@@ -2277,7 +2276,7 @@ function oz(A) {
|
|
|
2277
2276
|
)) }) : null
|
|
2278
2277
|
] });
|
|
2279
2278
|
}
|
|
2280
|
-
const gz = "flex items-baseline justify-between gap-3", Bz = "text-[color:var(--mb-color-text-muted)]", kz = "text-right font-
|
|
2279
|
+
const gz = "flex items-baseline justify-between gap-3", Bz = "text-[color:var(--mb-color-text-muted)]", kz = "text-right font-[510] text-[color:var(--mb-color-text)]";
|
|
2281
2280
|
function j3({ label: A, value: E }) {
|
|
2282
2281
|
return /* @__PURE__ */ e("div", { className: gz, children: [
|
|
2283
2282
|
/* @__PURE__ */ I("span", { className: Bz, children: A }),
|
|
@@ -2333,7 +2332,7 @@ function Di({
|
|
|
2333
2332
|
/* @__PURE__ */ I(
|
|
2334
2333
|
oA,
|
|
2335
2334
|
{
|
|
2336
|
-
segments:
|
|
2335
|
+
segments: dA,
|
|
2337
2336
|
indicatorPercent: r,
|
|
2338
2337
|
indicatorPosition: "segmentCenter"
|
|
2339
2338
|
}
|
|
@@ -2373,7 +2372,7 @@ function oI({
|
|
|
2373
2372
|
v ? /* @__PURE__ */ I("div", { className: "flex min-w-0 items-center", children: i }) : /* @__PURE__ */ I(M, { className: "flex min-w-0 xl:flex-1 xl:flex-col xl:justify-center", children: i })
|
|
2374
2373
|
] });
|
|
2375
2374
|
}
|
|
2376
|
-
function
|
|
2375
|
+
function ZA({
|
|
2377
2376
|
children: A,
|
|
2378
2377
|
className: E = "mx-auto w-full min-w-0 space-y-6"
|
|
2379
2378
|
}) {
|
|
@@ -2394,7 +2393,7 @@ function A7({ title: A, showInfo: E }) {
|
|
|
2394
2393
|
{
|
|
2395
2394
|
className: `flex min-h-9 items-center bg-[color:var(--mb-color-nav-active)] px-4 py-2 ${E ? "justify-between gap-2" : ""}`,
|
|
2396
2395
|
children: [
|
|
2397
|
-
/* @__PURE__ */ I("h3", { className: "min-w-0 text-sm font-bold tracking-
|
|
2396
|
+
/* @__PURE__ */ I("h3", { className: "min-w-0 text-sm font-bold tracking-normal text-[color:var(--mb-color-text)] uppercase", children: A }),
|
|
2398
2397
|
E ? /* @__PURE__ */ I("span", { className: "shrink-0 text-[color:var(--mb-color-text-muted)]", "aria-hidden": !0, children: /* @__PURE__ */ I(c, { className: "size-4" }) }) : null
|
|
2399
2398
|
]
|
|
2400
2399
|
}
|
|
@@ -2422,7 +2421,7 @@ function gI() {
|
|
|
2422
2421
|
return /* @__PURE__ */ I("div", { className: "mt-4 w-full min-w-0", children: /* @__PURE__ */ I(
|
|
2423
2422
|
oA,
|
|
2424
2423
|
{
|
|
2425
|
-
segments:
|
|
2424
|
+
segments: nA,
|
|
2426
2425
|
indicatorPercent: 0,
|
|
2427
2426
|
indicatorPosition: "segmentCenter",
|
|
2428
2427
|
showIndicator: !1
|
|
@@ -2433,7 +2432,7 @@ function Yz() {
|
|
|
2433
2432
|
return /* @__PURE__ */ I("div", { className: "mt-4 w-full min-w-0", children: /* @__PURE__ */ I(
|
|
2434
2433
|
oA,
|
|
2435
2434
|
{
|
|
2436
|
-
segments:
|
|
2435
|
+
segments: dA,
|
|
2437
2436
|
indicatorPercent: 0,
|
|
2438
2437
|
indicatorPosition: "segmentCenter",
|
|
2439
2438
|
showIndicator: !1
|
|
@@ -2546,11 +2545,11 @@ function Oz(A) {
|
|
|
2546
2545
|
triadNumber: S,
|
|
2547
2546
|
heading: p,
|
|
2548
2547
|
aggregateScore: K,
|
|
2549
|
-
aggregateTrendZone:
|
|
2548
|
+
aggregateTrendZone: o,
|
|
2550
2549
|
categories: f,
|
|
2551
2550
|
currentRangeLabel: C,
|
|
2552
2551
|
previousRangeLabel: U,
|
|
2553
|
-
onCategoryInfoClick:
|
|
2552
|
+
onCategoryInfoClick: b,
|
|
2554
2553
|
onCategoryClick: X
|
|
2555
2554
|
} = A;
|
|
2556
2555
|
return /* @__PURE__ */ e(M, { className: "flex flex-col", children: [
|
|
@@ -2561,7 +2560,7 @@ function Oz(A) {
|
|
|
2561
2560
|
heading: p,
|
|
2562
2561
|
scoreLabel: "Score",
|
|
2563
2562
|
score: K,
|
|
2564
|
-
scoreTone:
|
|
2563
|
+
scoreTone: o
|
|
2565
2564
|
}
|
|
2566
2565
|
),
|
|
2567
2566
|
/* @__PURE__ */ I("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-2 xl:grid-cols-3", children: (f ?? []).map((k) => /* @__PURE__ */ I(
|
|
@@ -2571,7 +2570,7 @@ function Oz(A) {
|
|
|
2571
2570
|
category: k,
|
|
2572
2571
|
currentRangeLabel: C,
|
|
2573
2572
|
previousRangeLabel: U,
|
|
2574
|
-
onInfoClick:
|
|
2573
|
+
onInfoClick: b,
|
|
2575
2574
|
onCategoryClick: X
|
|
2576
2575
|
},
|
|
2577
2576
|
k.title
|
|
@@ -2591,7 +2590,7 @@ function Oz(A) {
|
|
|
2591
2590
|
categories: d,
|
|
2592
2591
|
onInfoClick: l,
|
|
2593
2592
|
onCategoryClick: u
|
|
2594
|
-
} = A,
|
|
2593
|
+
} = A, q = d ?? [], Z = q.map((S) => S7(S.totalScore));
|
|
2595
2594
|
return /* @__PURE__ */ e(M, { className: "flex flex-col", children: [
|
|
2596
2595
|
/* @__PURE__ */ I(
|
|
2597
2596
|
H7,
|
|
@@ -2607,14 +2606,14 @@ function Oz(A) {
|
|
|
2607
2606
|
onInfoClick: l
|
|
2608
2607
|
}
|
|
2609
2608
|
),
|
|
2610
|
-
/* @__PURE__ */ I("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-2 xl:grid-cols-3", children:
|
|
2609
|
+
/* @__PURE__ */ I("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-2 xl:grid-cols-3", children: q.map((S) => /* @__PURE__ */ I(
|
|
2611
2610
|
UA,
|
|
2612
2611
|
{
|
|
2613
2612
|
layout: "triadResiliency",
|
|
2614
2613
|
category: S,
|
|
2615
2614
|
currentRangeLabel: V,
|
|
2616
2615
|
previousRangeLabel: n,
|
|
2617
|
-
siblingTotals:
|
|
2616
|
+
siblingTotals: Z,
|
|
2618
2617
|
trendBar: W,
|
|
2619
2618
|
onCategoryClick: u
|
|
2620
2619
|
},
|
|
@@ -2629,13 +2628,14 @@ function jz({
|
|
|
2629
2628
|
previousValue: z,
|
|
2630
2629
|
infoAriaLabel: t,
|
|
2631
2630
|
infoTooltip: v,
|
|
2632
|
-
centerValueColor: a
|
|
2631
|
+
centerValueColor: a,
|
|
2632
|
+
className: i = ""
|
|
2633
2633
|
}) {
|
|
2634
|
-
const
|
|
2635
|
-
return /* @__PURE__ */ e(M, { className:
|
|
2636
|
-
/* @__PURE__ */ e("div", { className: "
|
|
2634
|
+
const V = v ?? t;
|
|
2635
|
+
return /* @__PURE__ */ e(M, { className: `flex min-w-0 flex-col overflow-x-clip ${i}`.trim(), children: [
|
|
2636
|
+
/* @__PURE__ */ e("div", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
2637
2637
|
/* @__PURE__ */ I("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)] m-0 p-0", children: A }),
|
|
2638
|
-
t &&
|
|
2638
|
+
t && V ? /* @__PURE__ */ I(N, { content: V, children: /* @__PURE__ */ I(
|
|
2639
2639
|
G,
|
|
2640
2640
|
{
|
|
2641
2641
|
type: "button",
|
|
@@ -2646,18 +2646,20 @@ function jz({
|
|
|
2646
2646
|
}
|
|
2647
2647
|
) }) : null
|
|
2648
2648
|
] }),
|
|
2649
|
-
/* @__PURE__ */
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2649
|
+
/* @__PURE__ */ e("div", { className: "flex min-h-0 flex-1 flex-col items-center justify-end gap-2 pt-2", children: [
|
|
2650
|
+
/* @__PURE__ */ I(
|
|
2651
|
+
pI,
|
|
2652
|
+
{
|
|
2653
|
+
value: E,
|
|
2654
|
+
max: r,
|
|
2655
|
+
previousValue: z,
|
|
2656
|
+
centerValueColor: a
|
|
2657
|
+
}
|
|
2658
|
+
),
|
|
2659
|
+
/* @__PURE__ */ e("div", { className: "flex min-w-0 flex-wrap items-center justify-center gap-x-8 gap-y-3", children: [
|
|
2660
|
+
z != null ? /* @__PURE__ */ I(N3, { label: "Previous", value: z, tone: "previous" }) : null,
|
|
2661
|
+
/* @__PURE__ */ I(N3, { label: "Current", value: E, tone: "current" })
|
|
2662
|
+
] })
|
|
2661
2663
|
] })
|
|
2662
2664
|
] });
|
|
2663
2665
|
}
|
|
@@ -2671,7 +2673,7 @@ function N3({
|
|
|
2671
2673
|
/* @__PURE__ */ I(
|
|
2672
2674
|
"span",
|
|
2673
2675
|
{
|
|
2674
|
-
className: `inline-flex min-h-6 min-w-[3.25rem] items-center justify-center rounded px-2 text-sm font-
|
|
2676
|
+
className: `inline-flex min-h-6 min-w-[3.25rem] items-center justify-center rounded px-2 text-sm font-[510] leading-none tabular-nums ${r === "current" ? "bg-[color:var(--mb-color-text)] text-white" : "bg-[#ebebeb] text-[color:var(--mb-color-text)]"}`,
|
|
2675
2677
|
children: Math.round(E).toLocaleString("en-US", {
|
|
2676
2678
|
useGrouping: !1,
|
|
2677
2679
|
maximumFractionDigits: 0
|
|
@@ -2707,14 +2709,15 @@ function yz({
|
|
|
2707
2709
|
labsRowLabel: V,
|
|
2708
2710
|
labsLastLabel: n,
|
|
2709
2711
|
wearableRowLabel: W,
|
|
2710
|
-
wearableValueLabel: d
|
|
2712
|
+
wearableValueLabel: d,
|
|
2713
|
+
className: l = ""
|
|
2711
2714
|
}) {
|
|
2712
|
-
const
|
|
2713
|
-
return /* @__PURE__ */ e(M, { className:
|
|
2715
|
+
const u = v ?? t, q = !!(a && i), Z = !!(V && n), m = !!(W && d), S = q || Z || m, p = e7(r, { min: 0, max: 100 }), K = Math.round(e7(E, { min: 0, max: 100 }));
|
|
2716
|
+
return /* @__PURE__ */ e(M, { className: `min-w-0 ${l}`.trim(), children: [
|
|
2714
2717
|
/* @__PURE__ */ e("div", { className: "mb-4 flex items-start justify-between gap-4", children: [
|
|
2715
2718
|
/* @__PURE__ */ e("div", { className: "flex min-w-0 flex-1 items-center gap-1.5", children: [
|
|
2716
2719
|
/* @__PURE__ */ I("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)] m-0 p-0", children: A }),
|
|
2717
|
-
t &&
|
|
2720
|
+
t && u ? /* @__PURE__ */ I(N, { content: u, children: /* @__PURE__ */ I(
|
|
2718
2721
|
G,
|
|
2719
2722
|
{
|
|
2720
2723
|
type: "button",
|
|
@@ -2726,7 +2729,7 @@ function yz({
|
|
|
2726
2729
|
) }) : null
|
|
2727
2730
|
] }),
|
|
2728
2731
|
/* @__PURE__ */ e("span", { className: `shrink-0 text-[3.75rem] font-bold leading-none ${z}`, children: [
|
|
2729
|
-
|
|
2732
|
+
K,
|
|
2730
2733
|
"%"
|
|
2731
2734
|
] })
|
|
2732
2735
|
] }),
|
|
@@ -2734,12 +2737,12 @@ function yz({
|
|
|
2734
2737
|
SI,
|
|
2735
2738
|
{
|
|
2736
2739
|
stops: sr,
|
|
2737
|
-
indicatorPercent:
|
|
2740
|
+
indicatorPercent: p,
|
|
2738
2741
|
labels: br
|
|
2739
2742
|
}
|
|
2740
2743
|
),
|
|
2741
|
-
|
|
2742
|
-
|
|
2744
|
+
S ? /* @__PURE__ */ e("ul", { className: "list-none p-0 mx-0 mb-0 mt-4", children: [
|
|
2745
|
+
q ? /* @__PURE__ */ I(
|
|
2743
2746
|
GA,
|
|
2744
2747
|
{
|
|
2745
2748
|
Icon: u7,
|
|
@@ -2753,7 +2756,7 @@ function yz({
|
|
|
2753
2756
|
Icon: MI,
|
|
2754
2757
|
label: V,
|
|
2755
2758
|
badge: n,
|
|
2756
|
-
bordered:
|
|
2759
|
+
bordered: q
|
|
2757
2760
|
}
|
|
2758
2761
|
) : null,
|
|
2759
2762
|
m ? /* @__PURE__ */ I(
|
|
@@ -2762,7 +2765,7 @@ function yz({
|
|
|
2762
2765
|
Icon: z3,
|
|
2763
2766
|
label: W,
|
|
2764
2767
|
badge: d,
|
|
2765
|
-
bordered:
|
|
2768
|
+
bordered: q || Z
|
|
2766
2769
|
}
|
|
2767
2770
|
) : null
|
|
2768
2771
|
] }) : null
|
|
@@ -2774,11 +2777,12 @@ function Tz({
|
|
|
2774
2777
|
labsRowLabel: r,
|
|
2775
2778
|
labsLastLabel: z,
|
|
2776
2779
|
wearableRowLabel: t,
|
|
2777
|
-
wearableValueLabel: v
|
|
2780
|
+
wearableValueLabel: v,
|
|
2781
|
+
className: a = ""
|
|
2778
2782
|
}) {
|
|
2779
|
-
const
|
|
2780
|
-
return
|
|
2781
|
-
|
|
2783
|
+
const i = !!(A && E), V = !!(r && z), n = !!(t && v);
|
|
2784
|
+
return i || V || n ? /* @__PURE__ */ I(M, { className: `min-w-0 ${a}`.trim(), children: /* @__PURE__ */ e("ul", { className: "list-none p-0 m-0", children: [
|
|
2785
|
+
i ? /* @__PURE__ */ I(
|
|
2782
2786
|
GA,
|
|
2783
2787
|
{
|
|
2784
2788
|
Icon: u7,
|
|
@@ -2786,28 +2790,28 @@ function Tz({
|
|
|
2786
2790
|
badge: E
|
|
2787
2791
|
}
|
|
2788
2792
|
) : null,
|
|
2789
|
-
|
|
2793
|
+
V ? /* @__PURE__ */ I(
|
|
2790
2794
|
GA,
|
|
2791
2795
|
{
|
|
2792
2796
|
Icon: MI,
|
|
2793
2797
|
label: r,
|
|
2794
2798
|
badge: z,
|
|
2795
|
-
bordered:
|
|
2799
|
+
bordered: i
|
|
2796
2800
|
}
|
|
2797
2801
|
) : null,
|
|
2798
|
-
|
|
2802
|
+
n ? /* @__PURE__ */ I(
|
|
2799
2803
|
GA,
|
|
2800
2804
|
{
|
|
2801
2805
|
Icon: z3,
|
|
2802
2806
|
label: t,
|
|
2803
2807
|
badge: v,
|
|
2804
|
-
bordered:
|
|
2808
|
+
bordered: i || V
|
|
2805
2809
|
}
|
|
2806
2810
|
) : null
|
|
2807
2811
|
] }) }) : null;
|
|
2808
2812
|
}
|
|
2809
2813
|
function Pz({ title: A, items: E = [] }) {
|
|
2810
|
-
const r =
|
|
2814
|
+
const r = WA();
|
|
2811
2815
|
return /* @__PURE__ */ e(M, { className: "flex flex-col gap-2", children: [
|
|
2812
2816
|
/* @__PURE__ */ I("h2", { className: "text-xl font-bold leading-7 tracking-[-0.005rem] text-[color:var(--mb-color-text)]", children: A }),
|
|
2813
2817
|
/* @__PURE__ */ I("div", { className: "w-full overflow-hidden", children: E.map((z) => /* @__PURE__ */ I(
|
|
@@ -2828,7 +2832,7 @@ function $i({
|
|
|
2828
2832
|
return /* @__PURE__ */ e(M, { className: "min-w-0", children: [
|
|
2829
2833
|
A ? /* @__PURE__ */ I("h2", { className: "m-0 mb-4 p-0 text-xl font-bold text-[color:var(--mb-color-text)]", children: A }) : null,
|
|
2830
2834
|
/* @__PURE__ */ e("div", { className: "flex min-w-0 flex-col gap-4 sm:flex-row sm:items-center", children: [
|
|
2831
|
-
/* @__PURE__ */ I("div", { className: "mx-auto flex h-24 w-24 shrink-0 items-center justify-center rounded-full bg-gradient-to-br from-neutral-200 to-neutral-300 text-base font-
|
|
2835
|
+
/* @__PURE__ */ I("div", { className: "mx-auto flex h-24 w-24 shrink-0 items-center justify-center rounded-full bg-gradient-to-br from-neutral-200 to-neutral-300 text-base font-[510] text-neutral-700 sm:mx-0", children: E }),
|
|
2832
2836
|
/* @__PURE__ */ I("dl", { className: "w-full min-w-0 flex-1 space-y-2 text-sm sm:min-w-0", children: r.map(([z, t]) => /* @__PURE__ */ e(
|
|
2833
2837
|
"div",
|
|
2834
2838
|
{
|
|
@@ -2851,7 +2855,7 @@ function Lz({
|
|
|
2851
2855
|
imageAlt: z,
|
|
2852
2856
|
scheduleRows: t = []
|
|
2853
2857
|
}) {
|
|
2854
|
-
const v = r ?? BI, a = z ?? A, i = t.length > 0, V =
|
|
2858
|
+
const v = r ?? BI, a = z ?? A, i = t.length > 0, V = WA();
|
|
2855
2859
|
return /* @__PURE__ */ e(M, { className: "flex min-w-0 flex-col gap-4 overflow-hidden", children: [
|
|
2856
2860
|
/* @__PURE__ */ e("div", { className: "flex min-w-0 items-start justify-between gap-4", children: [
|
|
2857
2861
|
/* @__PURE__ */ I("h2", { className: "min-w-0 text-xl font-bold leading-7 tracking-[-0.005rem] text-[color:var(--mb-color-text)] sm:flex-1", children: A }),
|
|
@@ -3008,7 +3012,7 @@ function IV({
|
|
|
3008
3012
|
/* @__PURE__ */ e(
|
|
3009
3013
|
"div",
|
|
3010
3014
|
{
|
|
3011
|
-
className: "mb-2.5 grid gap-x-0.5 gap-y-0.5 text-center text-[0.625rem] font-
|
|
3015
|
+
className: "mb-2.5 grid gap-x-0.5 gap-y-0.5 text-center text-[0.625rem] font-[510] leading-tight text-[color:var(--mb-color-text-muted)] sm:gap-1",
|
|
3012
3016
|
style: { gridTemplateColumns: "repeat(3, minmax(0, 1fr))" },
|
|
3013
3017
|
children: [
|
|
3014
3018
|
/* @__PURE__ */ I("span", { className: "min-w-0 break-words px-0.5", children: Y7(t.low) }),
|
|
@@ -3020,7 +3024,7 @@ function IV({
|
|
|
3020
3024
|
/* @__PURE__ */ I(
|
|
3021
3025
|
oA,
|
|
3022
3026
|
{
|
|
3023
|
-
segments:
|
|
3027
|
+
segments: nA,
|
|
3024
3028
|
indicatorPercent: i,
|
|
3025
3029
|
indicatorPosition: "segmentCenter",
|
|
3026
3030
|
highlightedSegmentIndex: Dz[a]
|
|
@@ -3032,10 +3036,10 @@ function h3({
|
|
|
3032
3036
|
blocks: A,
|
|
3033
3037
|
variant: E = "default"
|
|
3034
3038
|
}) {
|
|
3035
|
-
return E === "relationship" ? /* @__PURE__ */ I(At, { blocks: A }) : /* @__PURE__ */ I("div", { className: "space-y-3", children:
|
|
3039
|
+
return E === "relationship" ? /* @__PURE__ */ I(At, { blocks: A }) : /* @__PURE__ */ I("div", { className: "space-y-3", children: CA(A, GI).map(({ item: r, key: z }) => r.type === "paragraph" ? /* @__PURE__ */ I("p", { className: "m-0", children: r.text }, z) : r.type === "subheading" ? /* @__PURE__ */ I("p", { className: "m-0 text-sm font-bold", children: r.text }, z) : r.type === "list" ? /* @__PURE__ */ I(rt, { items: r.items }, z) : r.type === "table" ? /* @__PURE__ */ I(kI, { rows: r.rows }, z) : null) });
|
|
3036
3040
|
}
|
|
3037
3041
|
function At({ blocks: A }) {
|
|
3038
|
-
const E =
|
|
3042
|
+
const E = CA(A, GI);
|
|
3039
3043
|
return /* @__PURE__ */ I("div", { className: "min-w-0", children: E.map(({ item: r, key: z }, t) => {
|
|
3040
3044
|
const v = A[t - 1];
|
|
3041
3045
|
return r.type === "paragraph" ? /* @__PURE__ */ I(
|
|
@@ -3073,12 +3077,12 @@ function It({
|
|
|
3073
3077
|
items: A,
|
|
3074
3078
|
className: E
|
|
3075
3079
|
}) {
|
|
3076
|
-
return /* @__PURE__ */ I("div", { className: `flex min-w-0 flex-col gap-1 ${E ?? ""}`, children:
|
|
3080
|
+
return /* @__PURE__ */ I("div", { className: `flex min-w-0 flex-col gap-1 ${E ?? ""}`, children: CA(A, v3).map(({ item: r, key: z }) => /* @__PURE__ */ I(Et, { item: r }, z)) });
|
|
3077
3081
|
}
|
|
3078
3082
|
function Et({ item: A }) {
|
|
3079
3083
|
return typeof A == "string" ? /* @__PURE__ */ I(J7, { text: A }) : /* @__PURE__ */ e("div", { className: "min-w-0", children: [
|
|
3080
3084
|
/* @__PURE__ */ I(J7, { text: A.text }),
|
|
3081
|
-
A.children.length > 0 ? /* @__PURE__ */ I("div", { className: "mt-1 flex min-w-0 flex-col gap-1 pl-6", children:
|
|
3085
|
+
A.children.length > 0 ? /* @__PURE__ */ I("div", { className: "mt-1 flex min-w-0 flex-col gap-1 pl-6", children: CA(A.children, (E) => E).map(({ item: E, key: r }) => /* @__PURE__ */ I(J7, { text: E }, r)) }) : null
|
|
3082
3086
|
] });
|
|
3083
3087
|
}
|
|
3084
3088
|
function J7({ text: A }) {
|
|
@@ -3088,17 +3092,17 @@ function J7({ text: A }) {
|
|
|
3088
3092
|
] });
|
|
3089
3093
|
}
|
|
3090
3094
|
function rt({ items: A }) {
|
|
3091
|
-
return /* @__PURE__ */ I("ul", { className: "m-0 list-disc space-y-1.5 pl-5", children:
|
|
3095
|
+
return /* @__PURE__ */ I("ul", { className: "m-0 list-disc space-y-1.5 pl-5", children: CA(A, v3).map(({ item: E, key: r }) => typeof E == "string" ? /* @__PURE__ */ I("li", { className: "text-sm leading-relaxed", children: E }, r) : /* @__PURE__ */ e("li", { className: "text-sm leading-relaxed", children: [
|
|
3092
3096
|
E.text,
|
|
3093
|
-
E.children && E.children.length > 0 && /* @__PURE__ */ I("ul", { className: "mt-1.5 list-disc pl-5", children:
|
|
3097
|
+
E.children && E.children.length > 0 && /* @__PURE__ */ I("ul", { className: "mt-1.5 list-disc pl-5", children: CA(E.children, (z) => z).map(({ item: z, key: t }) => /* @__PURE__ */ I("li", { children: z }, t)) })
|
|
3094
3098
|
] }, r)) });
|
|
3095
3099
|
}
|
|
3096
3100
|
function kI({ rows: A }) {
|
|
3097
|
-
return /* @__PURE__ */ I("div", { className: "overflow-x-auto", children: /* @__PURE__ */ I("table", { className: "w-full border-collapse text-sm leading-relaxed", children: /* @__PURE__ */ I("tbody", { children:
|
|
3101
|
+
return /* @__PURE__ */ I("div", { className: "overflow-x-auto", children: /* @__PURE__ */ I("table", { className: "w-full border-collapse text-sm leading-relaxed", children: /* @__PURE__ */ I("tbody", { children: CA(A, (E) => E.join("|")).map(({ item: E, key: r }) => {
|
|
3098
3102
|
const [z, ...t] = E;
|
|
3099
3103
|
return /* @__PURE__ */ e("tr", { className: "align-top", children: [
|
|
3100
3104
|
/* @__PURE__ */ I("td", { className: "border border-[color:var(--mb-color-card-border)] p-2 font-normal", children: /* @__PURE__ */ I("strong", { className: "text-[color:var(--mb-color-text)]", children: z }) }),
|
|
3101
|
-
|
|
3105
|
+
CA(t, (v) => v).map(({ item: v, key: a }) => /* @__PURE__ */ I(
|
|
3102
3106
|
"td",
|
|
3103
3107
|
{
|
|
3104
3108
|
className: "border border-[color:var(--mb-color-card-border)] p-2 font-normal",
|
|
@@ -3115,7 +3119,7 @@ function GI(A) {
|
|
|
3115
3119
|
function v3(A) {
|
|
3116
3120
|
return typeof A == "string" ? A : `${A.text}:${A.children.join("|")}`;
|
|
3117
3121
|
}
|
|
3118
|
-
function
|
|
3122
|
+
function CA(A, E) {
|
|
3119
3123
|
const r = /* @__PURE__ */ new Map();
|
|
3120
3124
|
return A.map((z) => {
|
|
3121
3125
|
const t = E(z), v = r.get(t) ?? 0;
|
|
@@ -3550,7 +3554,7 @@ function de({ value: A }) {
|
|
|
3550
3554
|
sA,
|
|
3551
3555
|
{
|
|
3552
3556
|
variant: "value",
|
|
3553
|
-
className: "min-h-[1.875rem] min-w-[3.25rem] justify-center px-3 text-base font-
|
|
3557
|
+
className: "min-h-[1.875rem] min-w-[3.25rem] justify-center px-3 text-base font-[510] tabular-nums",
|
|
3554
3558
|
children: E ?? ""
|
|
3555
3559
|
}
|
|
3556
3560
|
);
|
|
@@ -3586,7 +3590,7 @@ function qe({
|
|
|
3586
3590
|
/* @__PURE__ */ I("div", { className: "mt-5", children: /* @__PURE__ */ I(
|
|
3587
3591
|
oA,
|
|
3588
3592
|
{
|
|
3589
|
-
segments:
|
|
3593
|
+
segments: dA,
|
|
3590
3594
|
indicatorPercent: A.indicatorPercent,
|
|
3591
3595
|
previousIndicatorPercent: A.previousIndicatorPercent,
|
|
3592
3596
|
indicatorPosition: "continuous",
|
|
@@ -3657,11 +3661,11 @@ function vA({
|
|
|
3657
3661
|
patientGender: d,
|
|
3658
3662
|
alertLabDetail: l
|
|
3659
3663
|
}) {
|
|
3660
|
-
var
|
|
3661
|
-
const u = q7(), [
|
|
3664
|
+
var SA, QA, zA, LA, wA, HA, jA, XA, g, VA, Q3, p3;
|
|
3665
|
+
const u = q7(), [q, Z] = s(!1), [m, S] = s(A), [p, K] = s(!1), o = ne(), f = n && W ? W[n] : void 0, C = a != null ? {
|
|
3662
3666
|
...a,
|
|
3663
|
-
currentDateLabel: ((
|
|
3664
|
-
} : void 0, U = ((QA = C == null ? void 0 : C.name) == null ? void 0 : QA.trim()) || r.trim() || "Category",
|
|
3667
|
+
currentDateLabel: ((SA = a.currentDateLabel) == null ? void 0 : SA.trim()) || (i == null ? void 0 : i.trim()) || void 0
|
|
3668
|
+
} : void 0, U = ((QA = C == null ? void 0 : C.name) == null ? void 0 : QA.trim()) || r.trim() || "Category", b = nt(z, U, C == null ? void 0 : C.riskLabel), X = V != null && ((zA = C == null ? void 0 : C.name) != null && zA.trim()) ? `Triad ${V}: ${C.name.trim()}` : V != null ? `Triad ${V}` : r, O = (LA = C == null ? void 0 : C.previousSymptomScore) == null ? void 0 : LA.trim(), k = (wA = C == null ? void 0 : C.previousLabScore) == null ? void 0 : wA.trim(), x = (HA = C == null ? void 0 : C.previousTotalScore) == null ? void 0 : HA.trim(), T = !!(O && O !== "—" && O !== "-" && O !== "–") || !!(k && k !== "—" && k !== "-" && k !== "–") || !!(x && x !== "—" && x !== "-" && x !== "–"), mA = ((jA = C == null ? void 0 : C.previousDateLabel) == null ? void 0 : jA.trim()) || "Previous", $ = ((XA = C == null ? void 0 : C.currentDateLabel) == null ? void 0 : XA.trim()) || "Current", iA = C != null && C.scoreLayout !== "questionnaire" && !!((g = C.currentDateLabel) != null && g.trim()) && !!((VA = C.previousDateLabel) != null && VA.trim()) && T, AA = z === "high" || z === "low" ? "high" : z === "trending" ? "moderate" : "low", lA = l ? /* @__PURE__ */ I("div", { className: "min-w-0", children: /* @__PURE__ */ I(qe, { detail: l, trendStatus: z }) }) : C ? /* @__PURE__ */ I("div", { className: "min-w-0", children: C.scoreLayout === "questionnaire" ? /* @__PURE__ */ I(
|
|
3665
3669
|
UA,
|
|
3666
3670
|
{
|
|
3667
3671
|
layout: "questionnaire",
|
|
@@ -3691,7 +3695,7 @@ function vA({
|
|
|
3691
3695
|
organKey: n
|
|
3692
3696
|
},
|
|
3693
3697
|
currentRangeLabel: $,
|
|
3694
|
-
previousRangeLabel:
|
|
3698
|
+
previousRangeLabel: mA,
|
|
3695
3699
|
siblingTotals: [S7(C.totalScore ?? C.symptomScore)]
|
|
3696
3700
|
}
|
|
3697
3701
|
) : /* @__PURE__ */ I(
|
|
@@ -3715,7 +3719,7 @@ function vA({
|
|
|
3715
3719
|
],
|
|
3716
3720
|
indicatorPercent: P3(z),
|
|
3717
3721
|
indicatorPosition: "segmentCenter",
|
|
3718
|
-
segments:
|
|
3722
|
+
segments: nA
|
|
3719
3723
|
}
|
|
3720
3724
|
) }) : null;
|
|
3721
3725
|
return EA(() => {
|
|
@@ -3724,29 +3728,29 @@ function vA({
|
|
|
3724
3728
|
if (A) {
|
|
3725
3729
|
S(!0);
|
|
3726
3730
|
const f7 = requestAnimationFrame(() => {
|
|
3727
|
-
requestAnimationFrame(() =>
|
|
3731
|
+
requestAnimationFrame(() => Z(!0));
|
|
3728
3732
|
});
|
|
3729
3733
|
return () => cancelAnimationFrame(f7);
|
|
3730
3734
|
}
|
|
3731
|
-
|
|
3735
|
+
Z(!1);
|
|
3732
3736
|
const gA = window.setTimeout(() => {
|
|
3733
3737
|
S(!1);
|
|
3734
3738
|
}, 300);
|
|
3735
3739
|
return () => window.clearTimeout(gA);
|
|
3736
3740
|
}, [A]), EA(() => {
|
|
3737
|
-
if (!
|
|
3741
|
+
if (!m) return;
|
|
3738
3742
|
const gA = (f7) => {
|
|
3739
3743
|
f7.key === "Escape" && E();
|
|
3740
3744
|
};
|
|
3741
3745
|
return window.addEventListener("keydown", gA), () => window.removeEventListener("keydown", gA);
|
|
3742
|
-
}, [
|
|
3743
|
-
if (!
|
|
3746
|
+
}, [m, E]), EA(() => {
|
|
3747
|
+
if (!m) return;
|
|
3744
3748
|
const gA = document.body.style.overflow;
|
|
3745
3749
|
return document.body.style.overflow = "hidden", () => {
|
|
3746
3750
|
document.body.style.overflow = gA;
|
|
3747
3751
|
};
|
|
3748
|
-
}, [
|
|
3749
|
-
/* @__PURE__ */ e("div", { className: "mb-root fixed inset-0 z-[9999]", role: "presentation", style:
|
|
3752
|
+
}, [m]), !p || typeof document > "u" || !m ? null : mI(
|
|
3753
|
+
/* @__PURE__ */ e("div", { className: "mb-root fixed inset-0 z-[9999]", role: "presentation", style: o, children: [
|
|
3750
3754
|
/* @__PURE__ */ I(
|
|
3751
3755
|
"button",
|
|
3752
3756
|
{
|
|
@@ -3754,7 +3758,7 @@ function vA({
|
|
|
3754
3758
|
className: "absolute inset-0 z-0 transition-opacity duration-300",
|
|
3755
3759
|
style: {
|
|
3756
3760
|
backgroundColor: "var(--mb-color-trend-panel-backdrop)",
|
|
3757
|
-
opacity:
|
|
3761
|
+
opacity: q ? 1 : 0
|
|
3758
3762
|
},
|
|
3759
3763
|
"aria-label": "Close panel",
|
|
3760
3764
|
onClick: E
|
|
@@ -3768,7 +3772,7 @@ function vA({
|
|
|
3768
3772
|
"aria-labelledby": u,
|
|
3769
3773
|
className: "absolute right-0 top-0 z-10 flex h-full w-full max-w-[min(100vw,72rem)] shrink-0 flex-col overflow-hidden rounded-l-2xl border border-solid border-[color:var(--mb-color-card-border)] shadow-xl transition-transform duration-300 ease-out",
|
|
3770
3774
|
style: {
|
|
3771
|
-
transform:
|
|
3775
|
+
transform: q ? "translateX(0)" : "translateX(100%)",
|
|
3772
3776
|
backgroundColor: "#FFFFFF"
|
|
3773
3777
|
},
|
|
3774
3778
|
children: [
|
|
@@ -3786,7 +3790,7 @@ function vA({
|
|
|
3786
3790
|
"h2",
|
|
3787
3791
|
{
|
|
3788
3792
|
id: u,
|
|
3789
|
-
className: "m-0 min-w-0 flex-1 text-xl font-
|
|
3793
|
+
className: "m-0 min-w-0 flex-1 text-xl font-[510] leading-snug",
|
|
3790
3794
|
style: { color: "var(--mb-color-text)" },
|
|
3791
3795
|
children: X
|
|
3792
3796
|
}
|
|
@@ -3796,9 +3800,9 @@ function vA({
|
|
|
3796
3800
|
/* @__PURE__ */ I(
|
|
3797
3801
|
"p",
|
|
3798
3802
|
{
|
|
3799
|
-
className: "m-0 hidden max-w-[14rem] text-right text-sm font-
|
|
3800
|
-
style: { color:
|
|
3801
|
-
children:
|
|
3803
|
+
className: "m-0 hidden max-w-[14rem] text-right text-sm font-[510] leading-snug sm:block sm:max-w-xs md:max-w-md",
|
|
3804
|
+
style: { color: b.color },
|
|
3805
|
+
children: b.text
|
|
3802
3806
|
}
|
|
3803
3807
|
),
|
|
3804
3808
|
/* @__PURE__ */ I(
|
|
@@ -3821,12 +3825,12 @@ function vA({
|
|
|
3821
3825
|
/* @__PURE__ */ I(
|
|
3822
3826
|
"p",
|
|
3823
3827
|
{
|
|
3824
|
-
className: "m-0 shrink-0 border-b border-solid px-4 py-2 text-sm font-
|
|
3828
|
+
className: "m-0 shrink-0 border-b border-solid px-4 py-2 text-sm font-[510] leading-snug sm:px-6 sm:hidden",
|
|
3825
3829
|
style: {
|
|
3826
|
-
color:
|
|
3830
|
+
color: b.color,
|
|
3827
3831
|
borderColor: "var(--mb-color-card-border)"
|
|
3828
3832
|
},
|
|
3829
|
-
children:
|
|
3833
|
+
children: b.text
|
|
3830
3834
|
}
|
|
3831
3835
|
),
|
|
3832
3836
|
/* @__PURE__ */ I("div", { className: "min-h-0 flex-1 overflow-y-auto px-4 py-4 sm:px-6 sm:py-6", children: f ? /* @__PURE__ */ e("div", { className: "grid min-w-0 grid-cols-1 gap-5 lg:grid-cols-[minmax(18rem,27rem)_minmax(0,1fr)] lg:items-start lg:gap-6", children: [
|
|
@@ -3841,7 +3845,7 @@ function vA({
|
|
|
3841
3845
|
}
|
|
3842
3846
|
) }),
|
|
3843
3847
|
/* @__PURE__ */ e("div", { className: "flex min-w-0 flex-col gap-5", children: [
|
|
3844
|
-
|
|
3848
|
+
lA,
|
|
3845
3849
|
/* @__PURE__ */ I(
|
|
3846
3850
|
et,
|
|
3847
3851
|
{
|
|
@@ -3856,7 +3860,7 @@ function vA({
|
|
|
3856
3860
|
{
|
|
3857
3861
|
className: `mx-auto flex w-full flex-col gap-4 ${l ? "max-w-6xl" : "max-w-3xl"}`,
|
|
3858
3862
|
children: [
|
|
3859
|
-
|
|
3863
|
+
lA,
|
|
3860
3864
|
l ? /* @__PURE__ */ I(le, { detail: l }) : null,
|
|
3861
3865
|
t.length > 0 && /* @__PURE__ */ I(
|
|
3862
3866
|
"div",
|
|
@@ -3958,7 +3962,7 @@ function P({
|
|
|
3958
3962
|
return /* @__PURE__ */ I(
|
|
3959
3963
|
"span",
|
|
3960
3964
|
{
|
|
3961
|
-
className: `inline-flex h-6 min-w-[3rem] shrink-0 items-center justify-center rounded px-2 text-center text-sm font-
|
|
3965
|
+
className: `inline-flex h-6 min-w-[3rem] shrink-0 items-center justify-center rounded px-2 text-center text-sm font-[510] leading-none tabular-nums ${E === "current" ? "bg-[color:var(--mb-color-text)] text-white" : "bg-[color:var(--mb-color-metric-badge-bg)] text-[color:var(--mb-color-text)]"} ${r ?? ""}`.trim(),
|
|
3962
3966
|
children: z ? A : ""
|
|
3963
3967
|
}
|
|
3964
3968
|
);
|
|
@@ -3969,7 +3973,7 @@ function i3({
|
|
|
3969
3973
|
}) {
|
|
3970
3974
|
const r = Math.min(95, Math.max(5, A)), z = E == null ? void 0 : Math.min(95, Math.max(5, E));
|
|
3971
3975
|
return /* @__PURE__ */ e("div", { className: "relative h-8 w-full min-w-0 py-1", children: [
|
|
3972
|
-
/* @__PURE__ */ I("div", { className: "flex h-6 overflow-hidden rounded-full", children:
|
|
3976
|
+
/* @__PURE__ */ I("div", { className: "flex h-6 overflow-hidden rounded-full", children: nA.map((t) => /* @__PURE__ */ I(
|
|
3973
3977
|
"span",
|
|
3974
3978
|
{
|
|
3975
3979
|
className: "h-full flex-1",
|
|
@@ -3984,7 +3988,7 @@ function i3({
|
|
|
3984
3988
|
className: "pointer-events-none absolute top-[-0.25rem] -translate-x-1/2",
|
|
3985
3989
|
style: { left: `${z}%` },
|
|
3986
3990
|
"aria-hidden": !0,
|
|
3987
|
-
children: /* @__PURE__ */ I(
|
|
3991
|
+
children: /* @__PURE__ */ I(uA, { size: 24, variant: "previous" })
|
|
3988
3992
|
}
|
|
3989
3993
|
) : null,
|
|
3990
3994
|
/* @__PURE__ */ I(
|
|
@@ -3993,13 +3997,13 @@ function i3({
|
|
|
3993
3997
|
className: "pointer-events-none absolute bottom-0 -translate-x-1/2",
|
|
3994
3998
|
style: { left: `${r}%` },
|
|
3995
3999
|
"aria-hidden": !0,
|
|
3996
|
-
children: /* @__PURE__ */ I(
|
|
4000
|
+
children: /* @__PURE__ */ I(uA, { size: 32 })
|
|
3997
4001
|
}
|
|
3998
4002
|
)
|
|
3999
4003
|
] });
|
|
4000
4004
|
}
|
|
4001
4005
|
function pe() {
|
|
4002
|
-
return /* @__PURE__ */ I("div", { className: "mt-1.5 grid grid-cols-3 gap-x-1 text-center text-[0.625rem] leading-snug text-[color:var(--mb-color-text-muted)]", children:
|
|
4006
|
+
return /* @__PURE__ */ I("div", { className: "mt-1.5 grid grid-cols-3 gap-x-1 text-center text-[0.625rem] leading-snug text-[color:var(--mb-color-text-muted)]", children: nA.map((A) => /* @__PURE__ */ I("span", { className: "min-w-0 break-words", children: A.label }, A.label)) });
|
|
4003
4007
|
}
|
|
4004
4008
|
function O7({
|
|
4005
4009
|
label: A,
|
|
@@ -4036,7 +4040,7 @@ function Ke({
|
|
|
4036
4040
|
className: "flex min-w-0 items-center justify-between gap-3 px-3 py-3 @min-[56rem]:py-0",
|
|
4037
4041
|
style: { backgroundColor: a.tint },
|
|
4038
4042
|
children: [
|
|
4039
|
-
/* @__PURE__ */ I("span", { className: "min-w-0 break-words text-sm font-bold uppercase leading-tight tracking-
|
|
4043
|
+
/* @__PURE__ */ I("span", { className: "min-w-0 break-words text-sm font-bold uppercase leading-tight tracking-normal text-[color:var(--mb-color-text)]", children: A.title }),
|
|
4040
4044
|
/* @__PURE__ */ I(
|
|
4041
4045
|
N,
|
|
4042
4046
|
{
|
|
@@ -4145,7 +4149,7 @@ function Me({
|
|
|
4145
4149
|
/* @__PURE__ */ e("div", { className: "flex min-w-0 items-center gap-4 @min-[76rem]:flex-col @min-[76rem]:justify-center @min-[76rem]:gap-2", children: [
|
|
4146
4150
|
/* @__PURE__ */ I(OA, { triadNumber: A.triadNumber, className: "size-20 @min-[76rem]:size-30" }),
|
|
4147
4151
|
/* @__PURE__ */ e("div", { className: "min-w-0 flex-1 text-left @min-[76rem]:flex-none @min-[76rem]:text-center", children: [
|
|
4148
|
-
/* @__PURE__ */ I("p", { className: "m-0 text-
|
|
4152
|
+
/* @__PURE__ */ I("p", { className: "m-0 text-[0.75rem] font-bold uppercase leading-4 tracking-normal text-[color:var(--mb-color-text)]", children: Se(A.heading) }),
|
|
4149
4153
|
/* @__PURE__ */ I(
|
|
4150
4154
|
"p",
|
|
4151
4155
|
{
|
|
@@ -4182,7 +4186,7 @@ function oe({
|
|
|
4182
4186
|
}) {
|
|
4183
4187
|
const r = Math.min(95, Math.max(5, A ?? 50)), z = E == null ? void 0 : Math.min(95, Math.max(5, E));
|
|
4184
4188
|
return /* @__PURE__ */ e("div", { className: "relative h-8 w-full min-w-0 py-1", children: [
|
|
4185
|
-
/* @__PURE__ */ I("div", { className: "flex h-6 overflow-hidden rounded-full", children:
|
|
4189
|
+
/* @__PURE__ */ I("div", { className: "flex h-6 overflow-hidden rounded-full", children: dA.map((t) => /* @__PURE__ */ I(
|
|
4186
4190
|
"span",
|
|
4187
4191
|
{
|
|
4188
4192
|
className: "h-full flex-1",
|
|
@@ -4197,7 +4201,7 @@ function oe({
|
|
|
4197
4201
|
className: "pointer-events-none absolute top-[-0.25rem] -translate-x-1/2",
|
|
4198
4202
|
style: { left: `${z}%` },
|
|
4199
4203
|
"aria-hidden": !0,
|
|
4200
|
-
children: /* @__PURE__ */ I(
|
|
4204
|
+
children: /* @__PURE__ */ I(uA, { size: 24, variant: "previous" })
|
|
4201
4205
|
}
|
|
4202
4206
|
) : null,
|
|
4203
4207
|
/* @__PURE__ */ I(
|
|
@@ -4206,13 +4210,13 @@ function oe({
|
|
|
4206
4210
|
className: "pointer-events-none absolute bottom-[-0.25rem] -translate-x-1/2",
|
|
4207
4211
|
style: { left: `${r}%` },
|
|
4208
4212
|
"aria-hidden": !0,
|
|
4209
|
-
children: /* @__PURE__ */ I(
|
|
4213
|
+
children: /* @__PURE__ */ I(uA, { size: 32 })
|
|
4210
4214
|
}
|
|
4211
4215
|
)
|
|
4212
4216
|
] });
|
|
4213
4217
|
}
|
|
4214
4218
|
function ge() {
|
|
4215
|
-
return /* @__PURE__ */ I("div", { className: "mt-1.5 grid grid-cols-5 gap-x-0.5 gap-y-1 text-center text-[0.625rem] leading-snug text-[color:var(--mb-color-text-muted)]", children:
|
|
4219
|
+
return /* @__PURE__ */ I("div", { className: "mt-1.5 grid grid-cols-5 gap-x-0.5 gap-y-1 text-center text-[0.625rem] leading-snug text-[color:var(--mb-color-text-muted)]", children: dA.map((A) => /* @__PURE__ */ I("span", { className: "min-w-0 break-words px-0.5", children: A.label }, A.label)) });
|
|
4216
4220
|
}
|
|
4217
4221
|
function H3({
|
|
4218
4222
|
label: A,
|
|
@@ -4231,7 +4235,7 @@ function W3({ valueHeading: A = "Lab Score" }) {
|
|
|
4231
4235
|
/* @__PURE__ */ I("span", { "aria-hidden": !0 }),
|
|
4232
4236
|
/* @__PURE__ */ I("span", { className: "whitespace-nowrap text-center", children: A }),
|
|
4233
4237
|
/* @__PURE__ */ I("span", { "aria-hidden": !0 }),
|
|
4234
|
-
/* @__PURE__ */ I("span", { className: "grid grid-cols-5 text-center", children:
|
|
4238
|
+
/* @__PURE__ */ I("span", { className: "grid grid-cols-5 text-center", children: dA.map((E) => /* @__PURE__ */ I("span", { className: "min-w-0 break-words px-0.5", children: E.label }, E.label)) }),
|
|
4235
4239
|
/* @__PURE__ */ I("span", { "aria-hidden": !0 })
|
|
4236
4240
|
] }) });
|
|
4237
4241
|
}
|
|
@@ -4255,7 +4259,7 @@ function Be({
|
|
|
4255
4259
|
className: `grid min-w-0 ${v} items-center gap-x-3 gap-y-2 px-3 py-3 @min-[56rem]:py-0 ${Ue(A.status)}`,
|
|
4256
4260
|
children: [
|
|
4257
4261
|
/* @__PURE__ */ e("span", { className: "grid min-w-0 grid-cols-[minmax(0,1fr)_auto] items-center gap-2", children: [
|
|
4258
|
-
/* @__PURE__ */ I("span", { className: "min-w-0 break-normal hyphens-none text-sm font-bold uppercase leading-tight tracking-
|
|
4262
|
+
/* @__PURE__ */ I("span", { className: "min-w-0 break-normal hyphens-none text-sm font-bold uppercase leading-tight tracking-normal text-[color:var(--mb-color-text)]", children: be(A.name) }),
|
|
4259
4263
|
/* @__PURE__ */ I(N, { content: z, children: /* @__PURE__ */ I("span", { className: "inline-flex shrink-0 text-[color:var(--mb-color-text-muted)]", children: /* @__PURE__ */ I(c, { className: "size-4" }) }) })
|
|
4260
4264
|
] }),
|
|
4261
4265
|
t.length > 0 ? /* @__PURE__ */ I("span", { className: "flex shrink-0 items-center justify-end gap-1.5", "aria-hidden": !0, children: t.map((a) => /* @__PURE__ */ I(OA, { triadNumber: a, className: "size-6" }, a)) }) : null
|
|
@@ -4468,7 +4472,7 @@ const Oe = [
|
|
|
4468
4472
|
function je({
|
|
4469
4473
|
pageHeader: A
|
|
4470
4474
|
}) {
|
|
4471
|
-
return /* @__PURE__ */ e(
|
|
4475
|
+
return /* @__PURE__ */ e(ZA, { children: [
|
|
4472
4476
|
/* @__PURE__ */ I(
|
|
4473
4477
|
h,
|
|
4474
4478
|
{
|
|
@@ -4659,7 +4663,7 @@ function Ne({
|
|
|
4659
4663
|
patientGender: W
|
|
4660
4664
|
}) {
|
|
4661
4665
|
var S;
|
|
4662
|
-
const [d, l] = s(!1), u = (t == null ? void 0 : t.bodyParagraphs) ?? [],
|
|
4666
|
+
const [d, l] = s(!1), u = (t == null ? void 0 : t.bodyParagraphs) ?? [], q = ((S = t == null ? void 0 : t.panelTitle) == null ? void 0 : S.trim()) || A, Z = t == null ? void 0 : t.organKey, m = t == null ? void 0 : t.alertLabDetail;
|
|
4663
4667
|
return /* @__PURE__ */ e(_, { children: [
|
|
4664
4668
|
/* @__PURE__ */ e(
|
|
4665
4669
|
G,
|
|
@@ -4689,17 +4693,17 @@ function Ne({
|
|
|
4689
4693
|
{
|
|
4690
4694
|
open: d,
|
|
4691
4695
|
onClose: () => l(!1),
|
|
4692
|
-
title:
|
|
4696
|
+
title: q,
|
|
4693
4697
|
trendStatus: E,
|
|
4694
4698
|
introParagraphs: v,
|
|
4695
4699
|
bodyParagraphs: u,
|
|
4696
4700
|
rowData: a,
|
|
4697
4701
|
labsDateLabel: i,
|
|
4698
4702
|
triadNumber: V,
|
|
4699
|
-
organKey:
|
|
4703
|
+
organKey: Z,
|
|
4700
4704
|
organContent: n,
|
|
4701
4705
|
patientGender: W,
|
|
4702
|
-
alertLabDetail:
|
|
4706
|
+
alertLabDetail: m
|
|
4703
4707
|
}
|
|
4704
4708
|
)
|
|
4705
4709
|
] });
|
|
@@ -4718,7 +4722,7 @@ function ye({
|
|
|
4718
4722
|
rowSize: n
|
|
4719
4723
|
}) {
|
|
4720
4724
|
var iA;
|
|
4721
|
-
const W = A.infoTooltip ?? A.infoAriaLabel, d = A.status === "optimal", l = A.status === "high", u = A.status === "low",
|
|
4725
|
+
const W = A.infoTooltip ?? A.infoAriaLabel, d = A.status === "optimal", l = A.status === "high", u = A.status === "low", q = d ? w.low : l || u ? w.high : w.moderate, Z = d ? H.low : l || u ? H.high : H.moderate, m = d ? "OPTIMAL" : l ? "HIGH" : u ? "LOW" : "TRENDING", S = (iA = A.riskLabel) == null ? void 0 : iA.trim(), p = S ? S.toUpperCase() : m, K = d ? "trendRowStatusOptimal" : l ? "trendRowStatusHigh" : u ? "trendRowStatusLow" : "trendRowStatusTrending", o = i === 2, f = n ? n === "wellness" : o, C = V ?? (o ? "2xl" : "xl"), U = o ? C === "2xl" ? "2xl:grid-cols-[minmax(10rem,16rem)_minmax(0,1fr)_minmax(8rem,9rem)]" : "xl:grid-cols-[minmax(10rem,16rem)_minmax(0,1fr)_minmax(8rem,9rem)]" : f ? C === "2xl" ? "2xl:grid-cols-[minmax(11rem,14rem)_minmax(0,1fr)_minmax(10rem,11rem)]" : "xl:grid-cols-[minmax(11rem,14rem)_minmax(0,1fr)_minmax(10rem,11rem)]" : C === "2xl" ? "2xl:grid-cols-[minmax(10rem,14rem)_minmax(0,1fr)_minmax(10rem,12rem)]" : "xl:grid-cols-[minmax(10rem,14rem)_minmax(0,1fr)_minmax(10rem,12rem)]", b = C === "2xl" ? `2xl:grid 2xl:items-stretch ${U}` : `xl:grid xl:items-stretch ${U}`, X = C === "2xl" ? "2xl:h-full" : "xl:h-full", O = C === "2xl" ? "2xl:border-t-0 2xl:px-3 2xl:py-1" : "xl:border-t-0 xl:px-3 xl:py-1", k = C === "2xl" ? "2xl:w-auto" : "xl:w-auto", x = a.some((AA) => AA.length > 8), T = o || x ? "grid-cols-[6.5rem_7.5rem] xl:grid-cols-[7rem_9rem]" : "grid-cols-[4.5rem_7.5rem] xl:grid-cols-[5rem_9rem]", mA = o ? "sm:gap-x-10" : x ? "sm:gap-x-4" : "sm:gap-x-5", $ = (AA, lA) => /* @__PURE__ */ e(
|
|
4722
4726
|
"span",
|
|
4723
4727
|
{
|
|
4724
4728
|
className: `grid min-w-0 max-w-full shrink-0 items-center justify-center gap-x-2 ${T}`,
|
|
@@ -4728,8 +4732,8 @@ function ye({
|
|
|
4728
4732
|
sA,
|
|
4729
4733
|
{
|
|
4730
4734
|
variant: "rowMetricValue",
|
|
4731
|
-
className:
|
|
4732
|
-
children:
|
|
4735
|
+
className: "shrink-0 justify-self-start tabular-nums",
|
|
4736
|
+
children: lA
|
|
4733
4737
|
}
|
|
4734
4738
|
)
|
|
4735
4739
|
]
|
|
@@ -4738,14 +4742,14 @@ function ye({
|
|
|
4738
4742
|
return /* @__PURE__ */ e(
|
|
4739
4743
|
"div",
|
|
4740
4744
|
{
|
|
4741
|
-
className: `flex min-w-0 flex-col overflow-hidden rounded-[length:var(--mb-radius-button)] border border-solid bg-[color:var(--mb-color-card-bg)] [border-width:0.0625rem] ${
|
|
4745
|
+
className: `flex min-w-0 flex-col overflow-hidden rounded-[length:var(--mb-radius-button)] border border-solid bg-[color:var(--mb-color-card-bg)] [border-width:0.0625rem] ${b} ${q}`,
|
|
4742
4746
|
children: [
|
|
4743
4747
|
/* @__PURE__ */ e(
|
|
4744
4748
|
"div",
|
|
4745
4749
|
{
|
|
4746
|
-
className: `grid min-w-0 grid-cols-[minmax(0,1fr)_auto] items-center gap-3 px-3 py-2 ${X} ${
|
|
4750
|
+
className: `grid min-w-0 grid-cols-[minmax(0,1fr)_auto] items-center gap-3 px-3 py-2 ${X} ${Z}`,
|
|
4747
4751
|
children: [
|
|
4748
|
-
/* @__PURE__ */ I("span", { className: "min-w-0 whitespace-normal break-normal [overflow-wrap:anywhere] text-xs font-bold uppercase leading-snug tracking-
|
|
4752
|
+
/* @__PURE__ */ I("span", { className: "min-w-0 whitespace-normal break-normal [overflow-wrap:anywhere] text-xs font-bold uppercase leading-snug tracking-normal text-[color:var(--mb-color-text)] sm:text-sm", children: A.name }),
|
|
4749
4753
|
/* @__PURE__ */ I(N, { content: W, children: /* @__PURE__ */ I(
|
|
4750
4754
|
G,
|
|
4751
4755
|
{
|
|
@@ -4762,11 +4766,11 @@ function ye({
|
|
|
4762
4766
|
/* @__PURE__ */ e(
|
|
4763
4767
|
"div",
|
|
4764
4768
|
{
|
|
4765
|
-
className: `flex min-w-0 flex-1 flex-col content-center items-center justify-center gap-y-2 border-t border-[color:var(--mb-color-card-border)] bg-[color:var(--mb-color-card-bg)] px-2 py-2 sm:flex-row sm:flex-wrap sm:px-3 ${
|
|
4769
|
+
className: `flex min-w-0 flex-1 flex-col content-center items-center justify-center gap-y-2 border-t border-[color:var(--mb-color-card-border)] bg-[color:var(--mb-color-card-bg)] px-2 py-2 sm:flex-row sm:flex-wrap sm:px-3 ${mA} ${O}`,
|
|
4766
4770
|
children: [
|
|
4767
4771
|
/* @__PURE__ */ I("div", { className: "flex min-w-0 justify-center", children: $(a[0], A.symptomScore) }),
|
|
4768
|
-
/* @__PURE__ */ I("div", { className: "flex min-w-0 justify-center", children: $(a[1], A.labScore
|
|
4769
|
-
i === 3 ? /* @__PURE__ */ I("div", { className: "flex min-w-0 justify-center", children: $(a[2], A.totalScore
|
|
4772
|
+
/* @__PURE__ */ I("div", { className: "flex min-w-0 justify-center", children: $(a[1], A.labScore) }),
|
|
4773
|
+
i === 3 ? /* @__PURE__ */ I("div", { className: "flex min-w-0 justify-center", children: $(a[2], A.totalScore) }) : null
|
|
4770
4774
|
]
|
|
4771
4775
|
}
|
|
4772
4776
|
),
|
|
@@ -4844,7 +4848,7 @@ function i7({
|
|
|
4844
4848
|
"span",
|
|
4845
4849
|
{
|
|
4846
4850
|
className: [
|
|
4847
|
-
"text-center text-[0.75rem] font-
|
|
4851
|
+
"text-center text-[0.75rem] font-bold uppercase leading-4 tracking-normal",
|
|
4848
4852
|
n || !a ? "text-[color:var(--mb-color-text)]" : j7
|
|
4849
4853
|
].join(" "),
|
|
4850
4854
|
children: W
|
|
@@ -4873,7 +4877,7 @@ function Le({
|
|
|
4873
4877
|
organContent: E,
|
|
4874
4878
|
patientGender: r
|
|
4875
4879
|
}) {
|
|
4876
|
-
const { onNavigateToNavItem: z } = p7(), [t, v] = s(0), [a, i] = s(null), V = Math.min(t, Math.max(0, A.triads.length - 1)), n = A.categoriesByTriadIndex[V] ?? [], W = A.infoTooltip ?? A.infoAriaLabel, d = A.triads[V], l = (d == null ? void 0 : d.descriptionParagraphs) ?? [], u = l.join(" "),
|
|
4880
|
+
const { onNavigateToNavItem: z } = p7(), [t, v] = s(0), [a, i] = s(null), V = Math.min(t, Math.max(0, A.triads.length - 1)), n = A.categoriesByTriadIndex[V] ?? [], W = A.infoTooltip ?? A.infoAriaLabel, d = A.triads[V], l = (d == null ? void 0 : d.descriptionParagraphs) ?? [], u = l.join(" "), q = a ? a3(a.category.title) : "", Z = a == null ? void 0 : a.category.organKey, m = (S) => (p) => {
|
|
4877
4881
|
p.organKey && E != null && E[p.organKey] && i({ triadCard: S, category: p });
|
|
4878
4882
|
};
|
|
4879
4883
|
if (A.triadCards) {
|
|
@@ -4908,7 +4912,7 @@ function Le({
|
|
|
4908
4912
|
V3,
|
|
4909
4913
|
{
|
|
4910
4914
|
card: S,
|
|
4911
|
-
onCategoryClick:
|
|
4915
|
+
onCategoryClick: m(S)
|
|
4912
4916
|
}
|
|
4913
4917
|
) : null
|
|
4914
4918
|
] }),
|
|
@@ -4917,11 +4921,11 @@ function Le({
|
|
|
4917
4921
|
{
|
|
4918
4922
|
open: !0,
|
|
4919
4923
|
onClose: () => i(null),
|
|
4920
|
-
title:
|
|
4924
|
+
title: q,
|
|
4921
4925
|
trendStatus: PA(a.category),
|
|
4922
4926
|
bodyParagraphs: [],
|
|
4923
4927
|
rowData: {
|
|
4924
|
-
name:
|
|
4928
|
+
name: q,
|
|
4925
4929
|
symptomScore: a.category.symptomScore,
|
|
4926
4930
|
labScore: a.category.labScore,
|
|
4927
4931
|
totalScore: a.category.totalScore,
|
|
@@ -4933,7 +4937,7 @@ function Le({
|
|
|
4933
4937
|
riskLabel: a.category.riskLabel
|
|
4934
4938
|
},
|
|
4935
4939
|
triadNumber: a.triadCard.triadNumber,
|
|
4936
|
-
organKey:
|
|
4940
|
+
organKey: Z,
|
|
4937
4941
|
organContent: E,
|
|
4938
4942
|
patientGender: r
|
|
4939
4943
|
}
|
|
@@ -5054,7 +5058,7 @@ function _e({
|
|
|
5054
5058
|
{
|
|
5055
5059
|
className: `flex min-w-0 items-center justify-between gap-3 px-3 py-3 @min-[56rem]:py-0 ${He(A.status)}`,
|
|
5056
5060
|
children: [
|
|
5057
|
-
/* @__PURE__ */ I("span", { className: "min-w-0 break-words text-sm font-bold uppercase leading-tight tracking-
|
|
5061
|
+
/* @__PURE__ */ I("span", { className: "min-w-0 break-words text-sm font-bold uppercase leading-tight tracking-normal text-[color:var(--mb-color-text)]", children: A.name }),
|
|
5058
5062
|
/* @__PURE__ */ I(N, { content: r, children: /* @__PURE__ */ I("span", { className: "inline-flex shrink-0 text-[color:var(--mb-color-text-muted)]", children: /* @__PURE__ */ I(c, { className: "size-4" }) }) })
|
|
5059
5063
|
]
|
|
5060
5064
|
}
|
|
@@ -5151,7 +5155,7 @@ function rV({ content: A }) {
|
|
|
5151
5155
|
wellnessIndicatorSummary: W,
|
|
5152
5156
|
alertLabSummaryTable: d,
|
|
5153
5157
|
organContent: l
|
|
5154
|
-
} = A, u = n ?? xe,
|
|
5158
|
+
} = A, u = n ?? xe, q = (v == null ? void 0 : v.actions.filter((S) => S.id !== "export-reports")) ?? [], Z = !!(a || i || V), m = !!((a || i) && V);
|
|
5155
5159
|
return /* @__PURE__ */ e("div", { className: "w-full min-w-0 max-w-full space-y-4 lg:space-y-6", children: [
|
|
5156
5160
|
/* @__PURE__ */ I(h, { title: z.title, subtitle: z.subtitle }),
|
|
5157
5161
|
v && E && (v.title || v.paragraphs.length > 0) ? /* @__PURE__ */ I(
|
|
@@ -5159,8 +5163,8 @@ function rV({ content: A }) {
|
|
|
5159
5163
|
{
|
|
5160
5164
|
title: v.title,
|
|
5161
5165
|
onDismiss: () => r(!1),
|
|
5162
|
-
actions:
|
|
5163
|
-
const
|
|
5166
|
+
actions: q.map((S) => {
|
|
5167
|
+
const p = I9[S.id];
|
|
5164
5168
|
return /* @__PURE__ */ e(
|
|
5165
5169
|
G,
|
|
5166
5170
|
{
|
|
@@ -5168,26 +5172,50 @@ function rV({ content: A }) {
|
|
|
5168
5172
|
variant: "default",
|
|
5169
5173
|
className: "!h-11 !border-0 !bg-white !px-5 !py-2.5 !text-base !font-medium !text-[color:var(--mb-color-welcome-banner-bg)] !shadow-none hover:!bg-white/90 [&_svg]:!text-[color:var(--mb-color-welcome-banner-bg)]",
|
|
5170
5174
|
children: [
|
|
5171
|
-
/* @__PURE__ */ I(
|
|
5172
|
-
|
|
5175
|
+
/* @__PURE__ */ I(p, { className: "size-4 shrink-0" }),
|
|
5176
|
+
S.label
|
|
5173
5177
|
]
|
|
5174
5178
|
},
|
|
5175
|
-
|
|
5179
|
+
S.id
|
|
5176
5180
|
);
|
|
5177
5181
|
}),
|
|
5178
|
-
children: v.paragraphs.map((
|
|
5182
|
+
children: v.paragraphs.map((S) => /* @__PURE__ */ I("p", { className: "m-0", children: S }, S))
|
|
5179
5183
|
}
|
|
5180
5184
|
) : null,
|
|
5181
|
-
|
|
5185
|
+
Z ? /* @__PURE__ */ e(
|
|
5182
5186
|
"div",
|
|
5183
5187
|
{
|
|
5184
|
-
className: `grid min-w-0 grid-cols-1 gap-4 xl:gap-6 [&>*]:min-w-0 ${
|
|
5188
|
+
className: `grid min-w-0 grid-cols-1 gap-4 xl:gap-6 [&>*]:min-w-0 ${m ? "xl:grid-cols-[minmax(0,1fr)_minmax(0,1fr)] xl:items-stretch" : ""}`,
|
|
5185
5189
|
children: [
|
|
5186
|
-
a || i ? /* @__PURE__ */ e(
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
|
|
5190
|
-
|
|
5190
|
+
a || i ? /* @__PURE__ */ e(
|
|
5191
|
+
"div",
|
|
5192
|
+
{
|
|
5193
|
+
className: `min-w-0 space-y-4 ${m ? "xl:flex xl:h-[26.25rem] xl:flex-col xl:gap-6 xl:space-y-0" : ""}`,
|
|
5194
|
+
children: [
|
|
5195
|
+
a ? /* @__PURE__ */ I(
|
|
5196
|
+
yz,
|
|
5197
|
+
{
|
|
5198
|
+
...a,
|
|
5199
|
+
className: m ? "xl:h-[11.25rem]" : ""
|
|
5200
|
+
}
|
|
5201
|
+
) : null,
|
|
5202
|
+
i ? /* @__PURE__ */ I(
|
|
5203
|
+
Tz,
|
|
5204
|
+
{
|
|
5205
|
+
...i,
|
|
5206
|
+
className: m ? "xl:flex-1 xl:overflow-hidden" : ""
|
|
5207
|
+
}
|
|
5208
|
+
) : null
|
|
5209
|
+
]
|
|
5210
|
+
}
|
|
5211
|
+
) : null,
|
|
5212
|
+
V ? /* @__PURE__ */ I(
|
|
5213
|
+
jz,
|
|
5214
|
+
{
|
|
5215
|
+
...V,
|
|
5216
|
+
className: m ? "xl:h-[26.25rem]" : ""
|
|
5217
|
+
}
|
|
5218
|
+
) : null
|
|
5191
5219
|
]
|
|
5192
5220
|
}
|
|
5193
5221
|
) : null,
|
|
@@ -5308,7 +5336,7 @@ function i9() {
|
|
|
5308
5336
|
function V9({
|
|
5309
5337
|
pageHeader: A
|
|
5310
5338
|
}) {
|
|
5311
|
-
return /* @__PURE__ */ e(
|
|
5339
|
+
return /* @__PURE__ */ e(ZA, { className: "mx-auto w-full min-w-0 max-w-full space-y-4 lg:space-y-6", children: [
|
|
5312
5340
|
/* @__PURE__ */ e("div", { className: "flex min-w-0 max-w-full flex-col gap-4 xl:flex-row xl:items-start xl:justify-between xl:gap-8", children: [
|
|
5313
5341
|
/* @__PURE__ */ I(
|
|
5314
5342
|
h,
|
|
@@ -5335,17 +5363,19 @@ function V9({
|
|
|
5335
5363
|
/* @__PURE__ */ I(R, { className: "h-11 w-[min(100%,11rem)] shrink-0 rounded-[var(--mb-button-radius)] bg-white/90" })
|
|
5336
5364
|
] })
|
|
5337
5365
|
] }),
|
|
5338
|
-
/* @__PURE__ */ e("div", { className: "grid min-w-0 grid-cols-1 gap-4 xl:
|
|
5339
|
-
/* @__PURE__ */ e(
|
|
5340
|
-
/* @__PURE__ */ e(
|
|
5341
|
-
/* @__PURE__ */ e("div", { className: "flex
|
|
5342
|
-
/* @__PURE__ */
|
|
5343
|
-
|
|
5366
|
+
/* @__PURE__ */ e("div", { className: "grid min-w-0 grid-cols-1 gap-4 xl:grid-cols-[minmax(0,1fr)_minmax(0,1fr)] xl:items-stretch xl:gap-6 [&>*]:min-w-0", children: [
|
|
5367
|
+
/* @__PURE__ */ e("div", { className: "min-w-0 space-y-4 xl:flex xl:h-[26.25rem] xl:flex-col xl:gap-6 xl:space-y-0", children: [
|
|
5368
|
+
/* @__PURE__ */ e(M, { className: "xl:h-[11.25rem]", children: [
|
|
5369
|
+
/* @__PURE__ */ e("div", { className: "mb-4 flex items-start justify-between gap-4", children: [
|
|
5370
|
+
/* @__PURE__ */ e("div", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
5371
|
+
/* @__PURE__ */ I("span", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children: "Overall Metabolic Score" }),
|
|
5372
|
+
/* @__PURE__ */ I("span", { className: "pointer-events-none opacity-70", "aria-hidden": !0, children: /* @__PURE__ */ I(c, { className: "size-4" }) })
|
|
5373
|
+
] }),
|
|
5374
|
+
/* @__PURE__ */ I(R, { className: "h-8 w-[3.25rem] shrink-0 rounded-md" })
|
|
5344
5375
|
] }),
|
|
5345
|
-
/* @__PURE__ */ I(
|
|
5376
|
+
/* @__PURE__ */ I(cr, { score: 0, showIndicator: !1 })
|
|
5346
5377
|
] }),
|
|
5347
|
-
/* @__PURE__ */ I(
|
|
5348
|
-
/* @__PURE__ */ e("ul", { className: "list-none p-0 mx-0 mb-0 mt-4", children: [
|
|
5378
|
+
/* @__PURE__ */ I(M, { className: "xl:flex-1 xl:overflow-hidden", children: /* @__PURE__ */ e("ul", { className: "list-none p-0 m-0", children: [
|
|
5349
5379
|
/* @__PURE__ */ e("li", { className: AI, children: [
|
|
5350
5380
|
/* @__PURE__ */ e("span", { className: II, children: [
|
|
5351
5381
|
/* @__PURE__ */ I("span", { className: EI, "aria-hidden": !0, children: /* @__PURE__ */ I(u7, { className: rI }) }),
|
|
@@ -5360,9 +5390,9 @@ function V9({
|
|
|
5360
5390
|
] }),
|
|
5361
5391
|
/* @__PURE__ */ I(sA, { variant: "value", children: /* @__PURE__ */ I(R, { className: "h-3.5 w-12" }) })
|
|
5362
5392
|
] })
|
|
5363
|
-
] })
|
|
5393
|
+
] }) })
|
|
5364
5394
|
] }),
|
|
5365
|
-
/* @__PURE__ */ e(M, { className: "min-w-0 overflow-visible", children: [
|
|
5395
|
+
/* @__PURE__ */ e(M, { className: "min-w-0 overflow-visible xl:h-[26.25rem]", children: [
|
|
5366
5396
|
/* @__PURE__ */ e("div", { className: "mb-4 flex items-center gap-1.5", children: [
|
|
5367
5397
|
/* @__PURE__ */ I("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children: "Metaflammation Gauge" }),
|
|
5368
5398
|
/* @__PURE__ */ I("span", { className: "pointer-events-none opacity-70", "aria-hidden": !0, children: /* @__PURE__ */ I(c, { className: "size-4" }) })
|
|
@@ -5451,7 +5481,7 @@ const n9 = ["triad-1", "triad-2", "triad-3"];
|
|
|
5451
5481
|
function W9({
|
|
5452
5482
|
pageHeader: A
|
|
5453
5483
|
}) {
|
|
5454
|
-
return /* @__PURE__ */ e(
|
|
5484
|
+
return /* @__PURE__ */ e(ZA, { children: [
|
|
5455
5485
|
/* @__PURE__ */ I(
|
|
5456
5486
|
h,
|
|
5457
5487
|
{
|
|
@@ -5517,25 +5547,25 @@ function tV({ content: A }) {
|
|
|
5517
5547
|
null
|
|
5518
5548
|
);
|
|
5519
5549
|
if (!A) return null;
|
|
5520
|
-
const { pageHeader: i, intro: V } = A, n = E.length > 0, W = Math.min(z, Math.max(0, r.length - 1)), d = r[W], l = (d == null ? void 0 : d.groups) ?? [], u = d == null ? V : d.triadNumber == null ? void 0 : ((S = A.intros) == null ? void 0 : S.find((K) => K.triadNumber === d.triadNumber)) ?? V,
|
|
5550
|
+
const { pageHeader: i, intro: V } = A, n = E.length > 0, W = Math.min(z, Math.max(0, r.length - 1)), d = r[W], l = (d == null ? void 0 : d.groups) ?? [], u = d == null ? V : d.triadNumber == null ? void 0 : ((S = A.intros) == null ? void 0 : S.find((K) => K.triadNumber === d.triadNumber)) ?? V, q = !!(u && (u.heading || (p = u.paragraphs) != null && p.length)), Z = r.map((K) => ({
|
|
5521
5551
|
triadNumber: K.triadNumber ?? d9,
|
|
5522
5552
|
name: K.tabName,
|
|
5523
5553
|
aggregateScoreDisplay: K.tabDisplay
|
|
5524
|
-
})),
|
|
5554
|
+
})), m = q || n;
|
|
5525
5555
|
return /* @__PURE__ */ e("div", { className: "mx-auto w-full min-w-0 space-y-6", children: [
|
|
5526
5556
|
/* @__PURE__ */ I(h, { title: i.title, subtitle: i.subtitle }),
|
|
5527
5557
|
n ? /* @__PURE__ */ I(
|
|
5528
5558
|
i7,
|
|
5529
5559
|
{
|
|
5530
|
-
triads:
|
|
5560
|
+
triads: Z,
|
|
5531
5561
|
selectedIndex: W,
|
|
5532
5562
|
onSelectIndex: t,
|
|
5533
5563
|
showAggregateScore: !1
|
|
5534
5564
|
}
|
|
5535
5565
|
) : null,
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5566
|
+
m ? /* @__PURE__ */ I(M, { className: "min-w-0", children: /* @__PURE__ */ e("div", { className: "space-y-6", children: [
|
|
5567
|
+
q && u ? /* @__PURE__ */ I(oI, { ...u, embeddedInCard: !0 }) : null,
|
|
5568
|
+
q && n ? /* @__PURE__ */ I("div", { className: "border-t border-[color:var(--mb-color-card-border)]" }) : null,
|
|
5539
5569
|
n ? /* @__PURE__ */ I("div", { className: "space-y-6", children: l.map((K) => /* @__PURE__ */ e(
|
|
5540
5570
|
"div",
|
|
5541
5571
|
{
|
|
@@ -5604,7 +5634,7 @@ function C9() {
|
|
|
5604
5634
|
function S9({
|
|
5605
5635
|
pageHeader: A
|
|
5606
5636
|
}) {
|
|
5607
|
-
return /* @__PURE__ */ e(
|
|
5637
|
+
return /* @__PURE__ */ e(ZA, { children: [
|
|
5608
5638
|
/* @__PURE__ */ I(
|
|
5609
5639
|
h,
|
|
5610
5640
|
{
|
|
@@ -5701,7 +5731,7 @@ function K7(A, E) {
|
|
|
5701
5731
|
function hA(A) {
|
|
5702
5732
|
return !Number.isFinite(A) || Number.isInteger(A) ? String(A) : A.toFixed(2).replace(/\.?0+$/, "");
|
|
5703
5733
|
}
|
|
5704
|
-
function
|
|
5734
|
+
function RA(A, E) {
|
|
5705
5735
|
if (A == null) return "—";
|
|
5706
5736
|
const r = E == null ? void 0 : E.trim(), z = typeof A == "number" ? hA(A) : A.trim();
|
|
5707
5737
|
return z ? r ? `${z} ${r}` : z : "—";
|
|
@@ -5839,29 +5869,29 @@ function eV({
|
|
|
5839
5869
|
const r = vI(A, "long_report");
|
|
5840
5870
|
return /* @__PURE__ */ e("div", { className: "mb-root mx-auto w-full max-w-4xl space-y-6", children: [
|
|
5841
5871
|
/* @__PURE__ */ e("div", { className: "space-y-2", children: [
|
|
5842
|
-
/* @__PURE__ */ I("div", { className: "text-sm font-
|
|
5843
|
-
/* @__PURE__ */ I("h1", { className: "text-3xl font-
|
|
5872
|
+
/* @__PURE__ */ I("div", { className: "text-sm font-[510] uppercase text-[color:var(--mb-color-text-muted)]", children: "Metabolic Code" }),
|
|
5873
|
+
/* @__PURE__ */ I("h1", { className: "text-3xl font-[510] leading-tight text-[color:var(--mb-color-text)]", children: "Patient Progress" })
|
|
5844
5874
|
] }),
|
|
5845
5875
|
/* @__PURE__ */ I("div", { className: "grid gap-4 sm:grid-cols-2", children: M9.map((z) => {
|
|
5846
5876
|
var a;
|
|
5847
5877
|
const t = vI(A, z.id), v = (a = A.milestones[z.id]) == null ? void 0 : a.completed_at;
|
|
5848
5878
|
return /* @__PURE__ */ I(M, { className: "space-y-3", children: /* @__PURE__ */ e("div", { className: "flex items-start justify-between gap-3", children: [
|
|
5849
5879
|
/* @__PURE__ */ e("div", { children: [
|
|
5850
|
-
/* @__PURE__ */ I("div", { className: "text-lg font-
|
|
5880
|
+
/* @__PURE__ */ I("div", { className: "text-lg font-[510] text-[color:var(--mb-color-text)]", children: z.title }),
|
|
5851
5881
|
v ? /* @__PURE__ */ I("div", { className: "mt-1 text-sm text-[color:var(--mb-color-text-muted)]", children: V7(v) }) : null
|
|
5852
5882
|
] }),
|
|
5853
|
-
/* @__PURE__ */ I("span", { className: "rounded-[var(--mb-button-radius)] bg-[color:var(--mb-color-nav-hover)] px-3 py-1.5 text-sm font-
|
|
5883
|
+
/* @__PURE__ */ I("span", { className: "rounded-[var(--mb-button-radius)] bg-[color:var(--mb-color-nav-hover)] px-3 py-1.5 text-sm font-[510] text-[color:var(--mb-color-text)]", children: t ? z.completedLabel : z.pendingLabel })
|
|
5854
5884
|
] }) }, z.id);
|
|
5855
5885
|
}) }),
|
|
5856
5886
|
r ? null : /* @__PURE__ */ e(M, { className: "flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between", children: [
|
|
5857
5887
|
/* @__PURE__ */ e("div", { children: [
|
|
5858
|
-
/* @__PURE__ */ I("div", { className: "text-lg font-
|
|
5888
|
+
/* @__PURE__ */ I("div", { className: "text-lg font-[510] text-[color:var(--mb-color-text)]", children: "Full Assessment" }),
|
|
5859
5889
|
/* @__PURE__ */ I("div", { className: "mt-1 text-sm text-[color:var(--mb-color-text-muted)]", children: "Complete the full questionnaire to unlock the long report." })
|
|
5860
5890
|
] }),
|
|
5861
5891
|
/* @__PURE__ */ I(
|
|
5862
5892
|
"a",
|
|
5863
5893
|
{
|
|
5864
|
-
className: "inline-flex justify-center rounded-[var(--mb-button-radius)] border border-[color:var(--mb-color-button-border)] bg-[color:var(--mb-color-button-bg)] px-5 py-3 text-sm font-
|
|
5894
|
+
className: "inline-flex justify-center rounded-[var(--mb-button-radius)] border border-[color:var(--mb-color-button-border)] bg-[color:var(--mb-color-button-bg)] px-5 py-3 text-sm font-[510] text-[color:var(--mb-color-button-text)] shadow-[var(--mb-button-shadow)] transition hover:bg-[color:var(--mb-color-button-hover)]",
|
|
5865
5895
|
href: E,
|
|
5866
5896
|
children: "Start Full Assessment"
|
|
5867
5897
|
}
|
|
@@ -5892,24 +5922,24 @@ function vV({
|
|
|
5892
5922
|
const t = A.summary ?? A.overall, v = r7(t == null ? void 0 : t.score, "0"), a = r7(t == null ? void 0 : t.max_score, "10"), i = r7(t == null ? void 0 : t.yes_count, v), V = r7(t == null ? void 0 : t.total_questions, a), n = s9(t);
|
|
5893
5923
|
return /* @__PURE__ */ I("div", { className: "mb-root mx-auto w-full max-w-3xl", children: /* @__PURE__ */ e(M, { className: "space-y-6", children: [
|
|
5894
5924
|
/* @__PURE__ */ e("div", { className: "space-y-2", children: [
|
|
5895
|
-
/* @__PURE__ */ I("div", { className: "text-sm font-
|
|
5896
|
-
/* @__PURE__ */ I("h1", { className: "text-3xl font-
|
|
5925
|
+
/* @__PURE__ */ I("div", { className: "text-sm font-[510] uppercase text-[color:var(--mb-color-text-muted)]", children: "Short Assessment" }),
|
|
5926
|
+
/* @__PURE__ */ I("h1", { className: "text-3xl font-[510] leading-tight text-[color:var(--mb-color-text)]", children: "Vitality Index" })
|
|
5897
5927
|
] }),
|
|
5898
5928
|
/* @__PURE__ */ e("div", { className: "rounded-[var(--mb-radius-card)] bg-[color:var(--mb-color-nav-hover)] p-5", children: [
|
|
5899
5929
|
/* @__PURE__ */ e("div", { className: "flex flex-wrap items-end justify-between gap-4", children: [
|
|
5900
5930
|
/* @__PURE__ */ e("div", { children: [
|
|
5901
|
-
/* @__PURE__ */ I("div", { className: "text-sm font-
|
|
5931
|
+
/* @__PURE__ */ I("div", { className: "text-sm font-[510] text-[color:var(--mb-color-text-muted)]", children: "Your score" }),
|
|
5902
5932
|
/* @__PURE__ */ e("div", { className: "mt-2 flex items-baseline gap-2 text-[color:var(--mb-color-text)]", children: [
|
|
5903
|
-
/* @__PURE__ */ I("span", { className: "text-5xl font-
|
|
5904
|
-
/* @__PURE__ */ e("span", { className: "text-xl font-
|
|
5933
|
+
/* @__PURE__ */ I("span", { className: "text-5xl font-[510] leading-none", children: v }),
|
|
5934
|
+
/* @__PURE__ */ e("span", { className: "text-xl font-[510] text-[color:var(--mb-color-text-muted)]", children: [
|
|
5905
5935
|
"/ ",
|
|
5906
5936
|
a
|
|
5907
5937
|
] })
|
|
5908
5938
|
] })
|
|
5909
5939
|
] }),
|
|
5910
5940
|
/* @__PURE__ */ e("div", { className: "rounded-[var(--mb-button-radius)] bg-[color:var(--mb-color-card-bg)] px-4 py-3 text-right", children: [
|
|
5911
|
-
/* @__PURE__ */ I("div", { className: "text-xs font-
|
|
5912
|
-
/* @__PURE__ */ I("div", { className: "mt-1 text-lg font-
|
|
5941
|
+
/* @__PURE__ */ I("div", { className: "text-xs font-[510] uppercase text-[color:var(--mb-color-text-muted)]", children: "Result" }),
|
|
5942
|
+
/* @__PURE__ */ I("div", { className: "mt-1 text-lg font-[510] text-[color:var(--mb-color-text)]", children: U9(t) })
|
|
5913
5943
|
] })
|
|
5914
5944
|
] }),
|
|
5915
5945
|
/* @__PURE__ */ e("div", { className: "mt-4 text-sm font-medium text-[color:var(--mb-color-text-muted)]", children: [
|
|
@@ -5929,7 +5959,7 @@ function vV({
|
|
|
5929
5959
|
d ? "border-[color:var(--mb-color-text)] bg-[color:var(--mb-color-card-bg)]" : "border-[color:var(--mb-color-card-border)] bg-[color:var(--mb-color-nav-hover)]"
|
|
5930
5960
|
].join(" "),
|
|
5931
5961
|
children: [
|
|
5932
|
-
/* @__PURE__ */ I("div", { className: "text-sm font-
|
|
5962
|
+
/* @__PURE__ */ I("div", { className: "text-sm font-[510] text-[color:var(--mb-color-text)]", children: W.label }),
|
|
5933
5963
|
/* @__PURE__ */ I("div", { className: "mt-1 text-sm text-[color:var(--mb-color-text-muted)]", children: W.range })
|
|
5934
5964
|
]
|
|
5935
5965
|
},
|
|
@@ -5977,7 +6007,7 @@ function TI({ blocks: A }) {
|
|
|
5977
6007
|
) : E.type === "subheading" ? /* @__PURE__ */ I(
|
|
5978
6008
|
"h4",
|
|
5979
6009
|
{
|
|
5980
|
-
className: "mt-2 text-[0.875rem] font-
|
|
6010
|
+
className: "mt-2 text-[0.875rem] font-[510] text-[color:var(--mb-color-text)]",
|
|
5981
6011
|
children: E.text
|
|
5982
6012
|
},
|
|
5983
6013
|
r
|
|
@@ -5996,7 +6026,7 @@ function aI({ variant: A }) {
|
|
|
5996
6026
|
/* @__PURE__ */ e("div", { className: "mb-3 flex items-center gap-3", children: [
|
|
5997
6027
|
/* @__PURE__ */ I("img", { src: E, alt: "", className: "size-10 shrink-0 object-contain" }),
|
|
5998
6028
|
/* @__PURE__ */ e("div", { className: "min-w-0", children: [
|
|
5999
|
-
/* @__PURE__ */ e("p", { className: "text-xs font-
|
|
6029
|
+
/* @__PURE__ */ e("p", { className: "text-xs font-[510] uppercase tracking-wide text-[color:var(--mb-color-text-muted)]", children: [
|
|
6000
6030
|
A.heading,
|
|
6001
6031
|
" · ",
|
|
6002
6032
|
A.sub_heading
|
|
@@ -6004,7 +6034,7 @@ function aI({ variant: A }) {
|
|
|
6004
6034
|
/* @__PURE__ */ I("h4", { className: "text-base font-bold leading-tight text-[color:var(--mb-color-text)]", children: A.lab_title })
|
|
6005
6035
|
] })
|
|
6006
6036
|
] }),
|
|
6007
|
-
/* @__PURE__ */ I("ul", { className: "mb-3 flex flex-wrap gap-2 text-[0.6875rem] font-
|
|
6037
|
+
/* @__PURE__ */ I("ul", { className: "mb-3 flex flex-wrap gap-2 text-[0.6875rem] font-[510] uppercase tracking-wide", children: A.ranges.map((r) => /* @__PURE__ */ I(
|
|
6008
6038
|
"li",
|
|
6009
6039
|
{
|
|
6010
6040
|
className: "rounded bg-[color:var(--mb-color-nav-hover)] px-2 py-1 text-[color:var(--mb-color-text)]",
|
|
@@ -6059,7 +6089,7 @@ function c9({ stage: A }) {
|
|
|
6059
6089
|
/* @__PURE__ */ e("div", { className: "mb-3 flex items-center gap-3", children: [
|
|
6060
6090
|
/* @__PURE__ */ I("img", { src: E, alt: "", className: "size-12 shrink-0 object-contain" }),
|
|
6061
6091
|
/* @__PURE__ */ e("div", { className: "min-w-0", children: [
|
|
6062
|
-
/* @__PURE__ */ e("p", { className: "text-xs font-
|
|
6092
|
+
/* @__PURE__ */ e("p", { className: "text-xs font-[510] uppercase tracking-wide text-[color:var(--mb-color-text-muted)]", children: [
|
|
6063
6093
|
"Stage ",
|
|
6064
6094
|
A.number
|
|
6065
6095
|
] }),
|
|
@@ -6214,7 +6244,7 @@ const N9 = ["ADRENAL", "THYROID", "PANCREAS"], h9 = ["triad-1", "triad-2", "tria
|
|
|
6214
6244
|
function y9({
|
|
6215
6245
|
pageHeader: A
|
|
6216
6246
|
}) {
|
|
6217
|
-
return /* @__PURE__ */ e(
|
|
6247
|
+
return /* @__PURE__ */ e(ZA, { children: [
|
|
6218
6248
|
/* @__PURE__ */ I(
|
|
6219
6249
|
h,
|
|
6220
6250
|
{
|
|
@@ -6252,8 +6282,8 @@ function T9(A) {
|
|
|
6252
6282
|
function VV({ content: A }) {
|
|
6253
6283
|
var jA, XA;
|
|
6254
6284
|
const [E, r] = s(0), [z, t] = s(null), v = A == null ? void 0 : A.organContent, a = Y(
|
|
6255
|
-
() => (g) => (
|
|
6256
|
-
|
|
6285
|
+
() => (g) => (VA) => {
|
|
6286
|
+
VA.organKey && v != null && v[VA.organKey] && t({ triadCard: g, category: VA });
|
|
6257
6287
|
},
|
|
6258
6288
|
[v]
|
|
6259
6289
|
);
|
|
@@ -6266,11 +6296,11 @@ function VV({ content: A }) {
|
|
|
6266
6296
|
patientGender: d,
|
|
6267
6297
|
labSectionTitle: l,
|
|
6268
6298
|
labMetrics: u,
|
|
6269
|
-
symptomsSectionTitle:
|
|
6270
|
-
symptoms:
|
|
6271
|
-
productsSectionTitle:
|
|
6299
|
+
symptomsSectionTitle: q,
|
|
6300
|
+
symptoms: Z,
|
|
6301
|
+
productsSectionTitle: m,
|
|
6272
6302
|
products: S
|
|
6273
|
-
} = A, p = !!(V && (V.heading || (jA = V.paragraphs) != null && jA.length)), K = u ?? [],
|
|
6303
|
+
} = A, p = !!(V && (V.heading || (jA = V.paragraphs) != null && jA.length)), K = u ?? [], o = Z ?? [], f = S ?? [], C = K.length > 0, U = W ?? [], b = o.length > 0, X = f.length > 0, O = U.length > 0, k = p || O || C || b || X, x = O || (V == null ? void 0 : V.triadNumber) != null, T = x && O ? U.map((g) => ({
|
|
6274
6304
|
triadNumber: g.triadNumber,
|
|
6275
6305
|
name: `Triad ${g.triadNumber}`,
|
|
6276
6306
|
aggregateScoreDisplay: String(g.triadNumber)
|
|
@@ -6280,7 +6310,7 @@ function VV({ content: A }) {
|
|
|
6280
6310
|
name: `Triad ${V.triadNumber}`,
|
|
6281
6311
|
aggregateScoreDisplay: String(V.triadNumber)
|
|
6282
6312
|
}
|
|
6283
|
-
] : [],
|
|
6313
|
+
] : [], mA = Math.min(E, Math.max(0, T.length - 1)), $ = (XA = T[mA]) == null ? void 0 : XA.triadNumber, iA = (n == null ? void 0 : n.find((g) => g.triadNumber === $)) ?? V, AA = U.find((g) => g.triadNumber === $), lA = b || X || O || C, SA = z ? a3(z.category.title) : "", QA = z == null ? void 0 : z.category.organKey, zA = WA(), LA = WA(), wA = WA(), HA = WA();
|
|
6284
6314
|
return /* @__PURE__ */ e(_, { children: [
|
|
6285
6315
|
/* @__PURE__ */ e("div", { className: "mx-auto w-full min-w-0 space-y-6", children: [
|
|
6286
6316
|
/* @__PURE__ */ I(h, { title: i.title, subtitle: i.subtitle }),
|
|
@@ -6288,16 +6318,16 @@ function VV({ content: A }) {
|
|
|
6288
6318
|
i7,
|
|
6289
6319
|
{
|
|
6290
6320
|
triads: T,
|
|
6291
|
-
selectedIndex:
|
|
6321
|
+
selectedIndex: mA,
|
|
6292
6322
|
onSelectIndex: r,
|
|
6293
6323
|
showAggregateScore: !1
|
|
6294
6324
|
}
|
|
6295
6325
|
) : null,
|
|
6296
6326
|
k ? /* @__PURE__ */ I(M, { className: "min-w-0", children: /* @__PURE__ */ e("div", { className: "space-y-6", children: [
|
|
6297
6327
|
p && iA ? /* @__PURE__ */ I(oI, { ...iA, embeddedInCard: !0 }) : null,
|
|
6298
|
-
p &&
|
|
6328
|
+
p && lA ? /* @__PURE__ */ I("div", { className: "border-t border-[color:var(--mb-color-card-border)]" }) : null,
|
|
6299
6329
|
X ? /* @__PURE__ */ e("div", { className: "min-w-0 space-y-5 rounded-[length:var(--mb-radius-card)] bg-[color:var(--mb-color-muted-section-bg)] p-[length:var(--mb-card-padding)]", children: [
|
|
6300
|
-
/* @__PURE__ */ I("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children:
|
|
6330
|
+
/* @__PURE__ */ I("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children: m }),
|
|
6301
6331
|
/* @__PURE__ */ I("div", { className: "grid w-full min-w-0 grid-cols-1 gap-5 sm:grid-cols-2 sm:gap-6 xl:grid-cols-3 xl:gap-8", children: f.map((g) => /* @__PURE__ */ e(
|
|
6302
6332
|
"div",
|
|
6303
6333
|
{
|
|
@@ -6323,29 +6353,29 @@ function VV({ content: A }) {
|
|
|
6323
6353
|
)
|
|
6324
6354
|
)) })
|
|
6325
6355
|
] }) : null,
|
|
6326
|
-
X && (
|
|
6327
|
-
|
|
6328
|
-
/* @__PURE__ */ I("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children:
|
|
6329
|
-
/* @__PURE__ */ I("div", { className: "space-y-0", children: T9(
|
|
6356
|
+
X && (b || O || C) ? /* @__PURE__ */ I("div", { className: "border-t border-[color:var(--mb-color-card-border)]" }) : null,
|
|
6357
|
+
b ? /* @__PURE__ */ e("div", { className: "space-y-5", children: [
|
|
6358
|
+
/* @__PURE__ */ I("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children: q }),
|
|
6359
|
+
/* @__PURE__ */ I("div", { className: "space-y-0", children: T9(o).map((g) => /* @__PURE__ */ I(
|
|
6330
6360
|
"div",
|
|
6331
6361
|
{
|
|
6332
6362
|
className: "grid grid-cols-1 gap-4 border-b border-gray-200 py-3 last:border-b-0 md:grid-cols-3 md:gap-6",
|
|
6333
|
-
children: g.map((
|
|
6363
|
+
children: g.map((VA) => /* @__PURE__ */ e(
|
|
6334
6364
|
"div",
|
|
6335
6365
|
{
|
|
6336
6366
|
className: "flex min-h-10 items-center gap-3",
|
|
6337
6367
|
children: [
|
|
6338
6368
|
/* @__PURE__ */ I("span", { className: "inline-flex size-4 shrink-0 items-center justify-center text-[color:var(--mb-color-text)]", children: /* @__PURE__ */ I(eA, { className: "size-4", "aria-hidden": !0 }) }),
|
|
6339
|
-
/* @__PURE__ */ I("span", { className: "text-sm leading-5 text-[color:var(--mb-color-text)]", children:
|
|
6369
|
+
/* @__PURE__ */ I("span", { className: "text-sm leading-5 text-[color:var(--mb-color-text)]", children: VA })
|
|
6340
6370
|
]
|
|
6341
6371
|
},
|
|
6342
|
-
wA(
|
|
6372
|
+
wA(VA, "symptom")
|
|
6343
6373
|
))
|
|
6344
6374
|
},
|
|
6345
6375
|
LA(g.join("|"), "symptom-row")
|
|
6346
6376
|
)) })
|
|
6347
6377
|
] }) : null,
|
|
6348
|
-
|
|
6378
|
+
b && (O || C) ? /* @__PURE__ */ I("div", { className: "border-t border-[color:var(--mb-color-card-border)]" }) : null,
|
|
6349
6379
|
AA ? /* @__PURE__ */ e("div", { className: "space-y-5", children: [
|
|
6350
6380
|
/* @__PURE__ */ I("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children: l }),
|
|
6351
6381
|
/* @__PURE__ */ I(
|
|
@@ -6376,11 +6406,11 @@ function VV({ content: A }) {
|
|
|
6376
6406
|
{
|
|
6377
6407
|
open: !0,
|
|
6378
6408
|
onClose: () => t(null),
|
|
6379
|
-
title:
|
|
6409
|
+
title: SA,
|
|
6380
6410
|
trendStatus: PA(z.category),
|
|
6381
6411
|
bodyParagraphs: [],
|
|
6382
6412
|
rowData: {
|
|
6383
|
-
name:
|
|
6413
|
+
name: SA,
|
|
6384
6414
|
symptomScore: z.category.symptomScore,
|
|
6385
6415
|
labScore: z.category.labScore,
|
|
6386
6416
|
totalScore: z.category.totalScore,
|
|
@@ -6409,7 +6439,7 @@ const P9 = ["GGT", "CRP", "GLUCOSE"], L9 = [
|
|
|
6409
6439
|
function _9({
|
|
6410
6440
|
pageHeader: A
|
|
6411
6441
|
}) {
|
|
6412
|
-
return /* @__PURE__ */ e(
|
|
6442
|
+
return /* @__PURE__ */ e(ZA, { children: [
|
|
6413
6443
|
/* @__PURE__ */ I(
|
|
6414
6444
|
h,
|
|
6415
6445
|
{
|
|
@@ -6472,7 +6502,7 @@ function _9({
|
|
|
6472
6502
|
}
|
|
6473
6503
|
function nV({ content: A }) {
|
|
6474
6504
|
if (!A) return null;
|
|
6475
|
-
const { pageHeader: E, practitionerNotes: r, cards: z } = A, t = z && z.length > 0, v =
|
|
6505
|
+
const { pageHeader: E, practitionerNotes: r, cards: z } = A, t = z && z.length > 0, v = WA();
|
|
6476
6506
|
return /* @__PURE__ */ e("div", { className: "w-full min-w-0 space-y-6", children: [
|
|
6477
6507
|
/* @__PURE__ */ I(h, { title: E.title, subtitle: E.subtitle }),
|
|
6478
6508
|
t ? /* @__PURE__ */ I("div", { className: "grid grid-cols-1 gap-6 xl:grid-cols-2", children: z.map((a) => /* @__PURE__ */ I(
|
|
@@ -6495,7 +6525,7 @@ const $9 = ["card-1", "card-2"], Av = [
|
|
|
6495
6525
|
function Iv({
|
|
6496
6526
|
pageHeader: A
|
|
6497
6527
|
}) {
|
|
6498
|
-
return /* @__PURE__ */ e(
|
|
6528
|
+
return /* @__PURE__ */ e(ZA, { children: [
|
|
6499
6529
|
/* @__PURE__ */ I(
|
|
6500
6530
|
h,
|
|
6501
6531
|
{
|
|
@@ -6663,7 +6693,7 @@ function ev({ index: A }) {
|
|
|
6663
6693
|
function vv({
|
|
6664
6694
|
pageHeader: A
|
|
6665
6695
|
}) {
|
|
6666
|
-
return /* @__PURE__ */ e(
|
|
6696
|
+
return /* @__PURE__ */ e(ZA, { className: "w-full min-w-0 space-y-6", children: [
|
|
6667
6697
|
/* @__PURE__ */ e("div", { className: "flex min-w-0 flex-col gap-4 sm:flex-row sm:items-start sm:justify-between", children: [
|
|
6668
6698
|
/* @__PURE__ */ e("div", { className: "min-w-0", children: [
|
|
6669
6699
|
/* @__PURE__ */ I("h1", { className: "m-0 text-3xl font-bold leading-tight tracking-normal text-[color:var(--mb-color-text)]", children: A.title }),
|
|
@@ -6779,7 +6809,7 @@ function Vv() {
|
|
|
6779
6809
|
function nv({
|
|
6780
6810
|
pageHeader: A
|
|
6781
6811
|
}) {
|
|
6782
|
-
return /* @__PURE__ */ e(
|
|
6812
|
+
return /* @__PURE__ */ e(ZA, { children: [
|
|
6783
6813
|
/* @__PURE__ */ I(
|
|
6784
6814
|
h,
|
|
6785
6815
|
{
|
|
@@ -7211,25 +7241,25 @@ async function tA(A, E) {
|
|
|
7211
7241
|
);
|
|
7212
7242
|
return W;
|
|
7213
7243
|
}
|
|
7214
|
-
const wI = "Your metabolic overview brings together triad priorities, key metrics, and next steps in one place.", HI = "Trends and predictive signals help you see how your metabolic trajectory may evolve over time.", DI = "Your Metabolic Code Vitality Index is the total value of how optimized your body chemistry is performing. Your metabolism is more than just how many calories you burn – it’s the sum total of all the biochemical reactions in all your organ systems that drive your mental and physical vigor.", _I = "Your answers are synthesized into themes and insights that inform your personalized recommendations.", $I = "Your personalized supplement timing helps you align intake with your metabolic rhythm and triad priorities.", AE = "Review your laboratory values with reference context and ordering details.", IE = "Discover products selected to support your metabolic goals and triad priorities.", EE = "Deeper interpretation connects your lab patterns to your overall metabolic picture.", rE = "Focus on labs that are out of range or flagged so you can address them with your care team.", kv = () => import("./dashboard-x4GA8cqi.js"), Gv = () => import("./totalPredictiveIndex-DQdWbzgU.js"), Yv = () => import("./wellnessIndicators-CNQcbuvH.js"), Jv = () => import("./questionnaireAnalysis-S3k2ZioO.js"), cv = () => import("./supplementSchedule-D8PmXo88.js"), Ov = () => import("./labResults-CV9K31Os.js"), jv = () => import("./suggestedProducts-DJlYkHhQ.js"), Xv = () => import("./labAnalysis-CaOCpV2g.js"), Fv = () => import("./alertLabSummary-BAIlZ2_U.js"), xv =
|
|
7244
|
+
const wI = "Your metabolic overview brings together triad priorities, key metrics, and next steps in one place.", HI = "Trends and predictive signals help you see how your metabolic trajectory may evolve over time.", DI = "Your Metabolic Code Vitality Index is the total value of how optimized your body chemistry is performing. Your metabolism is more than just how many calories you burn – it’s the sum total of all the biochemical reactions in all your organ systems that drive your mental and physical vigor.", _I = "Your answers are synthesized into themes and insights that inform your personalized recommendations.", $I = "Your personalized supplement timing helps you align intake with your metabolic rhythm and triad priorities.", AE = "Review your laboratory values with reference context and ordering details.", IE = "Discover products selected to support your metabolic goals and triad priorities.", EE = "Deeper interpretation connects your lab patterns to your overall metabolic picture.", rE = "Focus on labs that are out of range or flagged so you can address them with your care team.", kv = () => import("./dashboard-x4GA8cqi.js"), Gv = () => import("./totalPredictiveIndex-DQdWbzgU.js"), Yv = () => import("./wellnessIndicators-CNQcbuvH.js"), Jv = () => import("./questionnaireAnalysis-S3k2ZioO.js"), cv = () => import("./supplementSchedule-D8PmXo88.js"), Ov = () => import("./labResults-CV9K31Os.js"), jv = () => import("./suggestedProducts-DJlYkHhQ.js"), Xv = () => import("./labAnalysis-CaOCpV2g.js"), Fv = () => import("./alertLabSummary-BAIlZ2_U.js"), xv = qA(
|
|
7215
7245
|
() => kv().then((A) => ({ default: A.DashboardTab }))
|
|
7216
|
-
), Nv =
|
|
7246
|
+
), Nv = qA(
|
|
7217
7247
|
() => Gv().then((A) => ({ default: A.TotalPredictiveIndexTab }))
|
|
7218
|
-
), hv =
|
|
7248
|
+
), hv = qA(
|
|
7219
7249
|
() => Yv().then((A) => ({ default: A.WellnessIndicatorsTab }))
|
|
7220
|
-
), yv =
|
|
7250
|
+
), yv = qA(
|
|
7221
7251
|
() => Jv().then((A) => ({
|
|
7222
7252
|
default: A.QuestionnaireAnalysisTab
|
|
7223
7253
|
}))
|
|
7224
|
-
), Tv =
|
|
7254
|
+
), Tv = qA(
|
|
7225
7255
|
() => cv().then((A) => ({ default: A.SupplementScheduleTab }))
|
|
7226
|
-
), Pv =
|
|
7256
|
+
), Pv = qA(
|
|
7227
7257
|
() => Ov().then((A) => ({ default: A.LabResultsTab }))
|
|
7228
|
-
), Lv =
|
|
7258
|
+
), Lv = qA(
|
|
7229
7259
|
() => jv().then((A) => ({ default: A.SuggestedProductsTab }))
|
|
7230
|
-
), wv =
|
|
7260
|
+
), wv = qA(
|
|
7231
7261
|
() => Xv().then((A) => ({ default: A.LabAnalysisTab }))
|
|
7232
|
-
), Hv =
|
|
7262
|
+
), Hv = qA(
|
|
7233
7263
|
() => Fv().then((A) => ({ default: A.AlertLabSummaryTab }))
|
|
7234
7264
|
);
|
|
7235
7265
|
const m3 = [
|
|
@@ -7482,25 +7512,25 @@ function $v({
|
|
|
7482
7512
|
onItemClick: V,
|
|
7483
7513
|
onNavItemPrefetch: n
|
|
7484
7514
|
}) {
|
|
7485
|
-
const W = a !== void 0, [d, l] = s(i), u = a ?? d,
|
|
7515
|
+
const W = a !== void 0, [d, l] = s(i), u = a ?? d, q = F(
|
|
7486
7516
|
(p) => {
|
|
7487
7517
|
V == null || V(p), W || l(p);
|
|
7488
7518
|
},
|
|
7489
7519
|
[W, V]
|
|
7490
|
-
),
|
|
7520
|
+
), Z = !!E, m = A != null && (typeof A != "string" || A.trim().length > 0), S = Z || m;
|
|
7491
7521
|
return /* @__PURE__ */ e(
|
|
7492
7522
|
"div",
|
|
7493
7523
|
{
|
|
7494
7524
|
className: `mb-root flex h-full min-h-0 flex-col p-2 lg:p-[var(--mb-side-menu-inset,1.5rem)] ${z}`.trim(),
|
|
7495
7525
|
children: [
|
|
7496
7526
|
S ? /* @__PURE__ */ e("div", { className: "mb-4 flex min-w-0 shrink-0 flex-col items-center gap-2 lg:mb-8 lg:flex-row lg:items-center", children: [
|
|
7497
|
-
|
|
7498
|
-
|
|
7527
|
+
Z ? /* @__PURE__ */ I("div", { className: "flex w-full shrink-0 justify-center lg:justify-start", children: E }) : null,
|
|
7528
|
+
m ? /* @__PURE__ */ I(
|
|
7499
7529
|
"div",
|
|
7500
7530
|
{
|
|
7501
7531
|
className: [
|
|
7502
|
-
"min-w-0 flex-1 text-sm font-
|
|
7503
|
-
|
|
7532
|
+
"min-w-0 flex-1 text-sm font-normal tracking-normal text-[color:var(--mb-color-text)]",
|
|
7533
|
+
Z ? "text-center lg:pr-2 lg:text-left" : "hidden lg:block"
|
|
7504
7534
|
].join(" "),
|
|
7505
7535
|
children: A
|
|
7506
7536
|
}
|
|
@@ -7521,7 +7551,7 @@ function $v({
|
|
|
7521
7551
|
isActive: p.id === u,
|
|
7522
7552
|
disabled: K,
|
|
7523
7553
|
disabledTooltip: p.disabledTooltip,
|
|
7524
|
-
onClick: K ? void 0 : () =>
|
|
7554
|
+
onClick: K ? void 0 : () => q(p.id),
|
|
7525
7555
|
onPointerEnter: K ? void 0 : () => n == null ? void 0 : n(p.id),
|
|
7526
7556
|
onFocus: K ? void 0 : () => n == null ? void 0 : n(p.id)
|
|
7527
7557
|
},
|
|
@@ -7547,12 +7577,12 @@ function Aa(A) {
|
|
|
7547
7577
|
}
|
|
7548
7578
|
function uV({ userProfile: A }) {
|
|
7549
7579
|
return !A || zE(A) ? null : /* @__PURE__ */ I("div", { className: "mt-2 flex shrink-0 flex-col gap-2 border-t border-[color:var(--mb-color-sidebar-border)] pt-2 lg:mt-4 lg:pt-4", children: /* @__PURE__ */ e("div", { className: "flex w-full min-w-0 flex-col items-center gap-2 lg:flex-row lg:items-center lg:gap-3 lg:justify-start", children: [
|
|
7550
|
-
/* @__PURE__ */ I("div", { className: "relative size-10 shrink-0 overflow-hidden rounded-[1.25rem] bg-[color:var(--mb-color-nav-hover)]", children: A.avatarSrc ? /* @__PURE__ */ I("img", { src: A.avatarSrc, alt: "", className: "size-full object-cover" }) : /* @__PURE__ */ I("span", { className: "flex size-full items-center justify-center text-sm font-
|
|
7580
|
+
/* @__PURE__ */ I("div", { className: "relative size-10 shrink-0 overflow-hidden rounded-[1.25rem] bg-[color:var(--mb-color-nav-hover)]", children: A.avatarSrc ? /* @__PURE__ */ I("img", { src: A.avatarSrc, alt: "", className: "size-full object-cover" }) : /* @__PURE__ */ I("span", { className: "flex size-full items-center justify-center text-sm font-normal text-[color:var(--mb-color-text)]", children: Aa(A.displayName) }) }),
|
|
7551
7581
|
/* @__PURE__ */ e("div", { className: "flex min-w-0 max-w-full flex-col items-center gap-0.5 text-center lg:items-start lg:text-left", children: [
|
|
7552
7582
|
/* @__PURE__ */ I(
|
|
7553
7583
|
"p",
|
|
7554
7584
|
{
|
|
7555
|
-
className: "w-full max-w-[10rem] truncate text-xs font-
|
|
7585
|
+
className: "w-full max-w-[10rem] truncate text-xs font-normal leading-snug text-[color:var(--mb-color-text)] lg:max-w-none lg:text-sm",
|
|
7556
7586
|
title: A.displayName,
|
|
7557
7587
|
children: A.displayName
|
|
7558
7588
|
}
|
|
@@ -7671,8 +7701,8 @@ function Va(A, E) {
|
|
|
7671
7701
|
return {
|
|
7672
7702
|
metricTitle: A.name,
|
|
7673
7703
|
normalRangeValue: K7(z, r),
|
|
7674
|
-
currentRangeValue:
|
|
7675
|
-
previousRangeValue:
|
|
7704
|
+
currentRangeValue: RA(A.value, r),
|
|
7705
|
+
previousRangeValue: RA(A.previous_value, r),
|
|
7676
7706
|
indicatorPercent: $7(
|
|
7677
7707
|
A.indicator_percent ?? aa(A.status)
|
|
7678
7708
|
),
|
|
@@ -7697,9 +7727,9 @@ function vE(A, E) {
|
|
|
7697
7727
|
triadNumbers: z.triad_numbers ? [...z.triad_numbers] : void 0,
|
|
7698
7728
|
infoAriaLabel: `${z.name} information`,
|
|
7699
7729
|
symptomScore: K7(z.normal_range, z.unit ?? ""),
|
|
7700
|
-
labScore:
|
|
7701
|
-
previousLabScore: z.previous_value != null ?
|
|
7702
|
-
totalScore:
|
|
7730
|
+
labScore: RA(z.value, z.unit ?? ""),
|
|
7731
|
+
previousLabScore: z.previous_value != null ? RA(z.previous_value, z.unit ?? "") : void 0,
|
|
7732
|
+
totalScore: RA(z.previous_value, z.unit ?? ""),
|
|
7703
7733
|
indicatorPercent: (v == null ? void 0 : v.indicatorPercent) ?? z.indicator_percent ?? void 0,
|
|
7704
7734
|
previousIndicatorPercent: (v == null ? void 0 : v.previousIndicatorPercent) ?? z.previous_indicator_percent ?? void 0,
|
|
7705
7735
|
status: z.status,
|
|
@@ -7921,8 +7951,8 @@ function sa(A, E) {
|
|
|
7921
7951
|
triadNumbers: t.triad_numbers ? [...t.triad_numbers] : void 0,
|
|
7922
7952
|
infoAriaLabel: `${t.name} information`,
|
|
7923
7953
|
symptomScore: "—",
|
|
7924
|
-
labScore: t.value != null ?
|
|
7925
|
-
previousLabScore: t.previous_value != null ?
|
|
7954
|
+
labScore: t.value != null ? RA(t.value, "") : "—",
|
|
7955
|
+
previousLabScore: t.previous_value != null ? RA(t.previous_value, "") : void 0,
|
|
7926
7956
|
totalScore: t.indicator_percent != null ? String(Math.round(t.indicator_percent)) : "—",
|
|
7927
7957
|
indicatorPercent: t.indicator_percent ?? void 0,
|
|
7928
7958
|
previousIndicatorPercent: t.previous_indicator_percent ?? void 0,
|
|
@@ -8014,8 +8044,8 @@ function ga(A) {
|
|
|
8014
8044
|
title: A.name,
|
|
8015
8045
|
infoAriaLabel: `${A.name} information`,
|
|
8016
8046
|
normalRange: K7(A.normal_range, E),
|
|
8017
|
-
currentRange:
|
|
8018
|
-
previousRange: A.previous_value != null ?
|
|
8047
|
+
currentRange: RA(A.value, E),
|
|
8048
|
+
previousRange: A.previous_value != null ? RA(A.previous_value, E) : void 0,
|
|
8019
8049
|
indicatorPercent: A.indicator_percent ?? 50,
|
|
8020
8050
|
status: A.status,
|
|
8021
8051
|
riskLabel: q3(A)
|
|
@@ -8118,15 +8148,15 @@ function Oa(A) {
|
|
|
8118
8148
|
}
|
|
8119
8149
|
function dE(A, E, r, z, t) {
|
|
8120
8150
|
var u;
|
|
8121
|
-
const v = A.triad_number ?? null, a = A.triad_name ?? null, i = (E == null ? void 0 : E.includes("lab-results")) ?? !0, V = [...(r == null ? void 0 : r.triads) ?? []].sort((
|
|
8122
|
-
const
|
|
8151
|
+
const v = A.triad_number ?? null, a = A.triad_name ?? null, i = (E == null ? void 0 : E.includes("lab-results")) ?? !0, V = [...(r == null ? void 0 : r.triads) ?? []].sort((q, Z) => q.number - Z.number), n = i ? V.map((q) => u3(q, z)) : [], d = (V.length ? V.map((q) => ({ number: q.number, name: q.name })) : v != null ? [{ number: v, name: a ?? "" }] : []).map((q) => {
|
|
8152
|
+
const Z = t == null ? void 0 : t.find((m) => m.number === q.number);
|
|
8123
8153
|
return {
|
|
8124
|
-
triadNumber:
|
|
8125
|
-
heading: `Triad ${
|
|
8154
|
+
triadNumber: q.number,
|
|
8155
|
+
heading: `Triad ${q.number}${q.name ? `: ${q.name}` : ""}`,
|
|
8126
8156
|
videoAriaLabel: "Play introduction video",
|
|
8127
|
-
paragraphs: (
|
|
8157
|
+
paragraphs: (Z == null ? void 0 : Z.explainer_paragraphs) ?? yI(q.number)
|
|
8128
8158
|
};
|
|
8129
|
-
}), l = (v == null ? d[0] : d.find((
|
|
8159
|
+
}), l = (v == null ? d[0] : d.find((q) => q.triadNumber === v)) ?? d[0];
|
|
8130
8160
|
return {
|
|
8131
8161
|
pageHeader: {
|
|
8132
8162
|
title: "Suggested Products",
|
|
@@ -8138,23 +8168,23 @@ function dE(A, E, r, z, t) {
|
|
|
8138
8168
|
intros: d,
|
|
8139
8169
|
labTriadCards: n,
|
|
8140
8170
|
labSectionTitle: "My Current Lab Values",
|
|
8141
|
-
labMetrics: i ? A.organ_metrics.map((
|
|
8142
|
-
title:
|
|
8143
|
-
infoAriaLabel: `${
|
|
8144
|
-
normalRange: K7(
|
|
8145
|
-
currentRange: String(
|
|
8146
|
-
previousRange:
|
|
8147
|
-
indicatorPercent: Math.round(
|
|
8148
|
-
status: Oa(
|
|
8171
|
+
labMetrics: i ? A.organ_metrics.map((q) => ({
|
|
8172
|
+
title: q.name.toUpperCase(),
|
|
8173
|
+
infoAriaLabel: `${q.name} lab summary information`,
|
|
8174
|
+
normalRange: K7(q.normal_range, ""),
|
|
8175
|
+
currentRange: String(q.score),
|
|
8176
|
+
previousRange: q.previous_score != null ? String(q.previous_score) : void 0,
|
|
8177
|
+
indicatorPercent: Math.round(q.indicator_percent),
|
|
8178
|
+
status: Oa(q.indicator_percent)
|
|
8149
8179
|
})) : [],
|
|
8150
8180
|
symptomsSectionTitle: "Symptoms",
|
|
8151
8181
|
symptoms: [...A.symptoms],
|
|
8152
8182
|
productsSectionTitle: "Suggested Products",
|
|
8153
|
-
products: A.products.map((
|
|
8154
|
-
imageSrc:
|
|
8155
|
-
imageAlt:
|
|
8156
|
-
name:
|
|
8157
|
-
tagline:
|
|
8183
|
+
products: A.products.map((q) => ({
|
|
8184
|
+
imageSrc: q.image_url ?? void 0,
|
|
8185
|
+
imageAlt: q.name,
|
|
8186
|
+
name: q.name,
|
|
8187
|
+
tagline: q.tagline ?? void 0
|
|
8158
8188
|
}))
|
|
8159
8189
|
};
|
|
8160
8190
|
}
|
|
@@ -8221,7 +8251,7 @@ function ZE(A, E, r, z) {
|
|
|
8221
8251
|
currentRangeLabel: t,
|
|
8222
8252
|
previousRangeLabel: v,
|
|
8223
8253
|
categories: V.categories.map((n) => {
|
|
8224
|
-
var l, u,
|
|
8254
|
+
var l, u, q, Z;
|
|
8225
8255
|
const W = dI(n.name), d = n.interpretation ?? a.get(W);
|
|
8226
8256
|
return {
|
|
8227
8257
|
title: n.name.toUpperCase(),
|
|
@@ -8233,7 +8263,7 @@ function ZE(A, E, r, z) {
|
|
|
8233
8263
|
previousLab: n.previous_lab_score != null ? String(n.previous_lab_score) : void 0,
|
|
8234
8264
|
previousTotal: n.previous_total_score != null ? String(n.previous_total_score) : void 0,
|
|
8235
8265
|
trendIndicatorPercent: ((u = (l = n.trend_markers) == null ? void 0 : l.current) == null ? void 0 : u.indicator_percent) ?? n.indicator_percent ?? void 0,
|
|
8236
|
-
previousTrendIndicatorPercent: ((
|
|
8266
|
+
previousTrendIndicatorPercent: ((Z = (q = n.trend_markers) == null ? void 0 : q.previous) == null ? void 0 : Z.indicator_percent) ?? n.previous_indicator_percent ?? void 0,
|
|
8237
8267
|
status: d ? d3(d) : void 0,
|
|
8238
8268
|
riskLabel: M7(d),
|
|
8239
8269
|
organKey: E != null && E[W] ? W : void 0
|
|
@@ -8340,78 +8370,78 @@ function uE(A) {
|
|
|
8340
8370
|
z,
|
|
8341
8371
|
t,
|
|
8342
8372
|
v
|
|
8343
|
-
), d = (
|
|
8344
|
-
}),
|
|
8345
|
-
const
|
|
8346
|
-
if (
|
|
8347
|
-
const
|
|
8373
|
+
), d = (Z) => (i && Z.then(i, () => {
|
|
8374
|
+
}), Z), l = () => {
|
|
8375
|
+
const Z = y7.get(W);
|
|
8376
|
+
if (Z && Date.now() < Z.expiresAt) return d(Z.promise);
|
|
8377
|
+
const m = ra({
|
|
8348
8378
|
baseUrl: V,
|
|
8349
8379
|
reportId: E,
|
|
8350
8380
|
headers: n,
|
|
8351
8381
|
fetchImpl: a
|
|
8352
8382
|
});
|
|
8353
|
-
return
|
|
8383
|
+
return m.catch(() => y7.delete(W)), y7.set(W, { promise: m, expiresAt: Date.now() + wa }), d(m);
|
|
8354
8384
|
};
|
|
8355
8385
|
l();
|
|
8356
|
-
const u = (
|
|
8386
|
+
const u = (Z) => l();
|
|
8357
8387
|
return {
|
|
8358
|
-
dashboard: async (
|
|
8359
|
-
const
|
|
8388
|
+
dashboard: async (Z) => {
|
|
8389
|
+
const m = await u();
|
|
8360
8390
|
return VE(
|
|
8361
|
-
|
|
8362
|
-
|
|
8363
|
-
|
|
8364
|
-
|
|
8391
|
+
m.pages.dashboard,
|
|
8392
|
+
m.organ_content,
|
|
8393
|
+
m.alert_lab_content,
|
|
8394
|
+
m.triad_content
|
|
8365
8395
|
);
|
|
8366
8396
|
},
|
|
8367
|
-
"total-predictive-index": async (
|
|
8368
|
-
const
|
|
8397
|
+
"total-predictive-index": async (Z) => {
|
|
8398
|
+
const m = await u();
|
|
8369
8399
|
return ZE(
|
|
8370
|
-
|
|
8371
|
-
|
|
8372
|
-
|
|
8373
|
-
|
|
8400
|
+
m.pages["total-predictive-index"],
|
|
8401
|
+
m.organ_content,
|
|
8402
|
+
m.cortisol_content,
|
|
8403
|
+
m.pages.dashboard
|
|
8374
8404
|
);
|
|
8375
8405
|
},
|
|
8376
|
-
"wellness-indicators": async (
|
|
8377
|
-
const
|
|
8406
|
+
"wellness-indicators": async (Z) => {
|
|
8407
|
+
const m = await u();
|
|
8378
8408
|
return lE(
|
|
8379
|
-
|
|
8380
|
-
|
|
8409
|
+
m.pages["wellness-indicators"],
|
|
8410
|
+
m.pages.dashboard
|
|
8381
8411
|
);
|
|
8382
8412
|
},
|
|
8383
|
-
"questionnaire-analysis": async (
|
|
8384
|
-
const
|
|
8413
|
+
"questionnaire-analysis": async (Z) => {
|
|
8414
|
+
const m = await u();
|
|
8385
8415
|
return RE(
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
|
|
8416
|
+
m.pages["questionnaire-analysis"],
|
|
8417
|
+
m.organ_content,
|
|
8418
|
+
m.pages.dashboard
|
|
8389
8419
|
);
|
|
8390
8420
|
},
|
|
8391
|
-
"supplement-schedule": async (
|
|
8392
|
-
"lab-results": async (
|
|
8393
|
-
const
|
|
8394
|
-
return WE(
|
|
8421
|
+
"supplement-schedule": async (Z) => qE((await u()).pages["supplement-schedule"]),
|
|
8422
|
+
"lab-results": async (Z) => {
|
|
8423
|
+
const m = await u();
|
|
8424
|
+
return WE(m.pages["lab-results"], m.triad_content);
|
|
8395
8425
|
},
|
|
8396
|
-
"suggested-products": async (
|
|
8397
|
-
const
|
|
8426
|
+
"suggested-products": async (Z) => {
|
|
8427
|
+
const m = await u();
|
|
8398
8428
|
return dE(
|
|
8399
|
-
|
|
8400
|
-
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
|
|
8429
|
+
m.pages["suggested-products"],
|
|
8430
|
+
m.report.available_pages,
|
|
8431
|
+
m.pages.dashboard,
|
|
8432
|
+
m.organ_content,
|
|
8433
|
+
m.triad_content
|
|
8404
8434
|
);
|
|
8405
8435
|
},
|
|
8406
|
-
"lab-analysis": async (
|
|
8407
|
-
const
|
|
8408
|
-
return nE(
|
|
8436
|
+
"lab-analysis": async (Z) => {
|
|
8437
|
+
const m = await u();
|
|
8438
|
+
return nE(m.pages["lab-analysis"], m.triad_content);
|
|
8409
8439
|
},
|
|
8410
|
-
"alert-lab-summary": async (
|
|
8411
|
-
const
|
|
8440
|
+
"alert-lab-summary": async (Z) => {
|
|
8441
|
+
const m = await u();
|
|
8412
8442
|
return vE(
|
|
8413
|
-
|
|
8414
|
-
|
|
8443
|
+
m.pages["alert-lab-summary"],
|
|
8444
|
+
m.alert_lab_content
|
|
8415
8445
|
);
|
|
8416
8446
|
}
|
|
8417
8447
|
};
|
|
@@ -8480,8 +8510,8 @@ function ri(A) {
|
|
|
8480
8510
|
});
|
|
8481
8511
|
if (!u.ok)
|
|
8482
8512
|
throw new Error(`Failed to download report PDF (HTTP ${u.status})`);
|
|
8483
|
-
const
|
|
8484
|
-
Ei(
|
|
8513
|
+
const q = await u.blob(), Z = Ii(u, W ? `report-${W}.pdf` : "report.pdf");
|
|
8514
|
+
Ei(q, Z);
|
|
8485
8515
|
};
|
|
8486
8516
|
}
|
|
8487
8517
|
function zi(A, E) {
|
|
@@ -8515,29 +8545,29 @@ function vi({
|
|
|
8515
8545
|
const a = D(0), i = F(
|
|
8516
8546
|
(u) => {
|
|
8517
8547
|
if (r <= 0) return;
|
|
8518
|
-
const
|
|
8519
|
-
if (
|
|
8520
|
-
if (Date.now() >
|
|
8548
|
+
const q = z.current.get(u);
|
|
8549
|
+
if (q) {
|
|
8550
|
+
if (Date.now() > q.expiresAt) {
|
|
8521
8551
|
z.current.delete(u);
|
|
8522
8552
|
return;
|
|
8523
8553
|
}
|
|
8524
|
-
return
|
|
8554
|
+
return q.data;
|
|
8525
8555
|
}
|
|
8526
8556
|
},
|
|
8527
8557
|
[r]
|
|
8528
8558
|
), V = F(
|
|
8529
|
-
(u,
|
|
8530
|
-
r <= 0 || z.current.set(u, { data:
|
|
8559
|
+
(u, q) => {
|
|
8560
|
+
r <= 0 || z.current.set(u, { data: q, expiresAt: Date.now() + r });
|
|
8531
8561
|
},
|
|
8532
8562
|
[r]
|
|
8533
8563
|
);
|
|
8534
8564
|
EA(() => {
|
|
8535
8565
|
a.current += 1, z.current.clear(), t.current.clear(), v.current = E;
|
|
8536
|
-
const u = new AbortController(),
|
|
8537
|
-
return Object.keys(E).forEach((
|
|
8538
|
-
const
|
|
8539
|
-
E[
|
|
8540
|
-
a.current ===
|
|
8566
|
+
const u = new AbortController(), q = a.current;
|
|
8567
|
+
return Object.keys(E).forEach((Z) => {
|
|
8568
|
+
const m = Z;
|
|
8569
|
+
E[m](u.signal).then((S) => {
|
|
8570
|
+
a.current === q && V(m, S);
|
|
8541
8571
|
}).catch(() => {
|
|
8542
8572
|
});
|
|
8543
8573
|
}), () => u.abort();
|
|
@@ -8545,14 +8575,14 @@ function vi({
|
|
|
8545
8575
|
const n = F((u) => {
|
|
8546
8576
|
u === void 0 ? z.current.clear() : z.current.delete(u);
|
|
8547
8577
|
}, []), W = F(
|
|
8548
|
-
async (u,
|
|
8549
|
-
const
|
|
8550
|
-
if (
|
|
8551
|
-
const
|
|
8552
|
-
if (
|
|
8578
|
+
async (u, q) => {
|
|
8579
|
+
const Z = i(u);
|
|
8580
|
+
if (Z !== void 0) return Z;
|
|
8581
|
+
const m = t.current.get(u);
|
|
8582
|
+
if (m) return m;
|
|
8553
8583
|
const S = a.current, p = (async () => {
|
|
8554
8584
|
try {
|
|
8555
|
-
const K = await v.current[u](
|
|
8585
|
+
const K = await v.current[u](q);
|
|
8556
8586
|
return S === a.current && V(u, K), K;
|
|
8557
8587
|
} finally {
|
|
8558
8588
|
t.current.delete(u);
|
|
@@ -8564,8 +8594,8 @@ function vi({
|
|
|
8564
8594
|
), d = F(
|
|
8565
8595
|
(u) => {
|
|
8566
8596
|
if (!C3(u)) return;
|
|
8567
|
-
const
|
|
8568
|
-
W(u,
|
|
8597
|
+
const q = new AbortController();
|
|
8598
|
+
W(u, q.signal).catch(() => {
|
|
8569
8599
|
});
|
|
8570
8600
|
},
|
|
8571
8601
|
[W]
|
|
@@ -8603,23 +8633,23 @@ function Vi(A, E) {
|
|
|
8603
8633
|
let W = !0;
|
|
8604
8634
|
const d = new AbortController(), { signal: l } = d;
|
|
8605
8635
|
return (async () => {
|
|
8606
|
-
var
|
|
8636
|
+
var q;
|
|
8607
8637
|
if (i) {
|
|
8608
|
-
const
|
|
8609
|
-
if (
|
|
8610
|
-
z({ type: "loadSuccess", data:
|
|
8638
|
+
const Z = i.readValid(A);
|
|
8639
|
+
if (Z !== void 0) {
|
|
8640
|
+
z({ type: "loadSuccess", data: Z });
|
|
8611
8641
|
return;
|
|
8612
8642
|
}
|
|
8613
8643
|
}
|
|
8614
8644
|
z({ type: "loadStart" });
|
|
8615
8645
|
try {
|
|
8616
|
-
const
|
|
8646
|
+
const Z = i ? await i.loadTab(A, l) : await n.current[A](l);
|
|
8617
8647
|
if (!W) return;
|
|
8618
|
-
z({ type: "loadSuccess", data:
|
|
8619
|
-
} catch (
|
|
8620
|
-
if (!W || ai(
|
|
8621
|
-
const
|
|
8622
|
-
z({ type: "loadError", error:
|
|
8648
|
+
z({ type: "loadSuccess", data: Z });
|
|
8649
|
+
} catch (Z) {
|
|
8650
|
+
if (!W || ai(Z)) return;
|
|
8651
|
+
const m = Z instanceof Error ? Z : new Error(String(Z));
|
|
8652
|
+
z({ type: "loadError", error: m }), (q = a.current) == null || q.call(a, { navItemId: A, error: m });
|
|
8623
8653
|
}
|
|
8624
8654
|
})(), () => {
|
|
8625
8655
|
W = !1, d.abort();
|
|
@@ -8699,7 +8729,7 @@ function Ri({ onRetry: A }) {
|
|
|
8699
8729
|
}
|
|
8700
8730
|
),
|
|
8701
8731
|
/* @__PURE__ */ e("div", { className: "flex max-w-2xl flex-col gap-2", children: [
|
|
8702
|
-
/* @__PURE__ */ I("p", { className: "text-[0.9375rem] font-
|
|
8732
|
+
/* @__PURE__ */ I("p", { className: "text-[0.9375rem] font-[510] leading-snug tracking-tight text-red-700 dark:text-red-300", children: "Couldn't load this section" }),
|
|
8703
8733
|
/* @__PURE__ */ I("p", { className: "text-sm leading-relaxed text-[color:var(--mb-color-text-muted)]", children: "Check your connection and try again." })
|
|
8704
8734
|
] }),
|
|
8705
8735
|
/* @__PURE__ */ I(G, { type: "button", onClick: A, align: "center", className: "min-w-[8.5rem]", children: "Try again" })
|
|
@@ -8764,7 +8794,7 @@ function qi({ onRetry: A }) {
|
|
|
8764
8794
|
}
|
|
8765
8795
|
),
|
|
8766
8796
|
/* @__PURE__ */ e("div", { className: "flex max-w-2xl flex-col gap-2", children: [
|
|
8767
|
-
/* @__PURE__ */ I("p", { className: "text-[0.9375rem] font-
|
|
8797
|
+
/* @__PURE__ */ I("p", { className: "text-[0.9375rem] font-[510] leading-snug tracking-tight text-red-700 dark:text-red-300", children: "Couldn't display this section" }),
|
|
8768
8798
|
/* @__PURE__ */ I("p", { className: "text-sm leading-relaxed text-[color:var(--mb-color-text-muted)]", children: "Something went wrong while rendering. You can try again or reload the data." })
|
|
8769
8799
|
] }),
|
|
8770
8800
|
/* @__PURE__ */ I(G, { type: "button", onClick: A, align: "center", className: "min-w-[8.5rem]", children: "Try again" })
|
|
@@ -8813,7 +8843,7 @@ function li({
|
|
|
8813
8843
|
contentFetchers: r,
|
|
8814
8844
|
onDashboardTabContentLoadError: z
|
|
8815
8845
|
}
|
|
8816
|
-
) : /* @__PURE__ */ I("div", { children: /* @__PURE__ */ I("h1", { className: "text-2xl font-
|
|
8846
|
+
) : /* @__PURE__ */ I("div", { children: /* @__PURE__ */ I("h1", { className: "text-2xl font-[510] tracking-tight text-[color:var(--mb-color-text)]", children: E }) });
|
|
8817
8847
|
}
|
|
8818
8848
|
function ui({
|
|
8819
8849
|
renderMainContent: A,
|
|
@@ -8856,7 +8886,7 @@ function Ci({
|
|
|
8856
8886
|
mainAreaClassName: l,
|
|
8857
8887
|
mainContent: u
|
|
8858
8888
|
}) {
|
|
8859
|
-
const
|
|
8889
|
+
const q = CE();
|
|
8860
8890
|
return /* @__PURE__ */ I(
|
|
8861
8891
|
"div",
|
|
8862
8892
|
{
|
|
@@ -8876,8 +8906,8 @@ function Ci({
|
|
|
8876
8906
|
items: i,
|
|
8877
8907
|
activeItemId: V,
|
|
8878
8908
|
onItemClick: n,
|
|
8879
|
-
onNavItemPrefetch: E &&
|
|
8880
|
-
C3(
|
|
8909
|
+
onNavItemPrefetch: E && q ? (m) => {
|
|
8910
|
+
C3(m) && q.prefetch(m);
|
|
8881
8911
|
} : void 0
|
|
8882
8912
|
}
|
|
8883
8913
|
),
|
|
@@ -9069,50 +9099,50 @@ function gi({
|
|
|
9069
9099
|
dashboardTabContentCacheTtlMs: i,
|
|
9070
9100
|
simulationReportId: V
|
|
9071
9101
|
}) {
|
|
9072
|
-
const n = E ?? (A == null ? void 0 : A.apiKey), W = kE(n), d = v === void 0 && a === void 0, [l, u] = s(),
|
|
9102
|
+
const n = E ?? (A == null ? void 0 : A.apiKey), W = kE(n), d = v === void 0 && a === void 0, [l, u] = s(), q = Y(() => {
|
|
9073
9103
|
const C = { ...r ?? {} };
|
|
9074
9104
|
return V != null && (C.reportId = V), C;
|
|
9075
|
-
}, [r, V]),
|
|
9076
|
-
() => TA(
|
|
9077
|
-
[
|
|
9078
|
-
),
|
|
9105
|
+
}, [r, V]), Z = Y(
|
|
9106
|
+
() => TA(q.apiKey),
|
|
9107
|
+
[q.apiKey]
|
|
9108
|
+
), m = Y(
|
|
9079
9109
|
() => [
|
|
9080
|
-
|
|
9081
|
-
|
|
9082
|
-
|
|
9083
|
-
|
|
9110
|
+
q.apiKey ?? "",
|
|
9111
|
+
q.userId ?? "",
|
|
9112
|
+
q.reportId ?? "",
|
|
9113
|
+
q.questionnaireResponseId ?? ""
|
|
9084
9114
|
].join("|"),
|
|
9085
9115
|
[
|
|
9086
|
-
|
|
9087
|
-
|
|
9088
|
-
|
|
9089
|
-
|
|
9116
|
+
q.apiKey,
|
|
9117
|
+
q.userId,
|
|
9118
|
+
q.reportId,
|
|
9119
|
+
q.questionnaireResponseId
|
|
9090
9120
|
]
|
|
9091
|
-
), S = D(
|
|
9121
|
+
), S = D(m);
|
|
9092
9122
|
EA(() => {
|
|
9093
|
-
S.current =
|
|
9094
|
-
}, [
|
|
9123
|
+
S.current = m, u(void 0);
|
|
9124
|
+
}, [m]);
|
|
9095
9125
|
const p = F((C, U) => {
|
|
9096
9126
|
if (S.current !== U) return;
|
|
9097
|
-
const
|
|
9127
|
+
const b = [...C.report.available_pages];
|
|
9098
9128
|
u(
|
|
9099
|
-
(X) => oi(X,
|
|
9129
|
+
(X) => oi(X, b) ? X : b
|
|
9100
9130
|
);
|
|
9101
9131
|
}, []), K = Y(() => {
|
|
9102
9132
|
const C = uE({
|
|
9103
|
-
...
|
|
9104
|
-
onFullReportLoaded: (U) => p(U,
|
|
9133
|
+
...q,
|
|
9134
|
+
onFullReportLoaded: (U) => p(U, m)
|
|
9105
9135
|
});
|
|
9106
9136
|
return zi(C, z);
|
|
9107
|
-
}, [z, p,
|
|
9137
|
+
}, [z, p, m, q]), o = Y(() => t || ri(q), [t, q]);
|
|
9108
9138
|
return {
|
|
9109
9139
|
apiKeyAccepted: W,
|
|
9110
9140
|
useDefaultTabData: d,
|
|
9111
9141
|
resolvedDashboardContentFetchers: K,
|
|
9112
|
-
resolvedExportReports:
|
|
9142
|
+
resolvedExportReports: o,
|
|
9113
9143
|
resolvedCacheTtlMs: i ?? ei,
|
|
9114
9144
|
availableReportPages: l,
|
|
9115
|
-
reportPagesApiBaseUrl:
|
|
9145
|
+
reportPagesApiBaseUrl: Z
|
|
9116
9146
|
};
|
|
9117
9147
|
}
|
|
9118
9148
|
function Bi(A) {
|
|
@@ -9196,16 +9226,16 @@ function Gi(A) {
|
|
|
9196
9226
|
return i;
|
|
9197
9227
|
}, [E, z, i]), l = E === "practitioner" && z !== null || E === "patient" && i !== null, u = F(() => {
|
|
9198
9228
|
r(z7(A)), t(null), a(""), V(null), W("");
|
|
9199
|
-
}, [A]),
|
|
9229
|
+
}, [A]), q = F(() => r("practitioner"), []), Z = F(() => r("patient"), []), m = F(
|
|
9200
9230
|
() => r(z7(A)),
|
|
9201
9231
|
[A]
|
|
9202
9232
|
), S = F(
|
|
9203
9233
|
() => r(z7(A)),
|
|
9204
9234
|
[A]
|
|
9205
|
-
), p = F((
|
|
9206
|
-
t(
|
|
9207
|
-
}, []), K = F((
|
|
9208
|
-
V(
|
|
9235
|
+
), p = F((o, f) => {
|
|
9236
|
+
t(o), a(f);
|
|
9237
|
+
}, []), K = F((o, f) => {
|
|
9238
|
+
V(o), W(f);
|
|
9209
9239
|
}, []);
|
|
9210
9240
|
return {
|
|
9211
9241
|
simRole: E,
|
|
@@ -9221,9 +9251,9 @@ function Gi(A) {
|
|
|
9221
9251
|
simulationReportId: d,
|
|
9222
9252
|
simulationSessionReady: l,
|
|
9223
9253
|
resetSimulationSession: u,
|
|
9224
|
-
onChoosePractitioner:
|
|
9225
|
-
onChoosePatient:
|
|
9226
|
-
onBackFromPatientPicker:
|
|
9254
|
+
onChoosePractitioner: q,
|
|
9255
|
+
onChoosePatient: Z,
|
|
9256
|
+
onBackFromPatientPicker: m,
|
|
9227
9257
|
onBackFromPatientReportPicker: S,
|
|
9228
9258
|
onSelectPatient: p,
|
|
9229
9259
|
onSelectPatientReport: K
|
|
@@ -9271,22 +9301,22 @@ function ji({
|
|
|
9271
9301
|
renderMainContent: d,
|
|
9272
9302
|
activeNavItemId: l,
|
|
9273
9303
|
defaultActiveNavItemId: u = qI,
|
|
9274
|
-
onActiveNavItemChange:
|
|
9275
|
-
shellClassName:
|
|
9276
|
-
sideMenuClassName:
|
|
9304
|
+
onActiveNavItemChange: q,
|
|
9305
|
+
shellClassName: Z,
|
|
9306
|
+
sideMenuClassName: m,
|
|
9277
9307
|
mainClassName: S,
|
|
9278
9308
|
sidebarWidthClassName: p,
|
|
9279
9309
|
dashboardTabContentCacheTtlMs: K
|
|
9280
9310
|
}) {
|
|
9281
9311
|
var QA;
|
|
9282
9312
|
fE();
|
|
9283
|
-
const { resolvedBranding:
|
|
9313
|
+
const { resolvedBranding: o, rootStyle: f } = bi(A), C = Gi(r), { activeItemId: U, handleNavItemClick: b } = Yi({
|
|
9284
9314
|
activeNavItemIdProp: l,
|
|
9285
9315
|
defaultActiveNavItemId: u,
|
|
9286
|
-
onActiveNavItemChange:
|
|
9316
|
+
onActiveNavItemChange: q
|
|
9287
9317
|
}), X = ((QA = n7.find((zA) => zA.id === U)) == null ? void 0 : QA.label) ?? U, O = Y(
|
|
9288
|
-
() => t !== void 0 ? t : Bi(
|
|
9289
|
-
[
|
|
9318
|
+
() => t !== void 0 ? t : Bi(o),
|
|
9319
|
+
[o, t]
|
|
9290
9320
|
), k = gi({
|
|
9291
9321
|
config: A,
|
|
9292
9322
|
apiKey: E,
|
|
@@ -9305,9 +9335,9 @@ function ji({
|
|
|
9305
9335
|
[x]
|
|
9306
9336
|
);
|
|
9307
9337
|
EA(() => {
|
|
9308
|
-
T.has(U) &&
|
|
9309
|
-
}, [U, T,
|
|
9310
|
-
const
|
|
9338
|
+
T.has(U) && b(qI);
|
|
9339
|
+
}, [U, T, b]);
|
|
9340
|
+
const mA = Y(
|
|
9311
9341
|
() => [
|
|
9312
9342
|
"flex min-h-0 min-w-0 w-full max-w-full flex-1 flex-col items-stretch gap-4 py-4 px-[max(1rem,var(--mb-main-padding,1.5rem))] text-[color:var(--mb-color-text-muted)] sm:px-[max(1.25rem,var(--mb-main-padding,1.5rem))]",
|
|
9313
9343
|
S
|
|
@@ -9333,7 +9363,7 @@ function ji({
|
|
|
9333
9363
|
patientLabel: C.simRole === "patient" ? C.simPatientReportLabel : C.simPractitionerPatientLabel,
|
|
9334
9364
|
onChangeUser: C.resetSimulationSession
|
|
9335
9365
|
}
|
|
9336
|
-
),
|
|
9366
|
+
), lA = /* @__PURE__ */ I(
|
|
9337
9367
|
Si,
|
|
9338
9368
|
{
|
|
9339
9369
|
wrapTabContentCache: $,
|
|
@@ -9342,28 +9372,28 @@ function ji({
|
|
|
9342
9372
|
viewProps: {
|
|
9343
9373
|
rootStyle: f,
|
|
9344
9374
|
enableTabContentCache: $,
|
|
9345
|
-
menuTitle: z !== void 0 ? z :
|
|
9375
|
+
menuTitle: z !== void 0 ? z : o.title,
|
|
9346
9376
|
logo: O,
|
|
9347
9377
|
sideMenuUserProfile: v,
|
|
9348
9378
|
sideMenuFooterContent: AA,
|
|
9349
|
-
sideMenuClassName:
|
|
9379
|
+
sideMenuClassName: m,
|
|
9350
9380
|
sideMenuItems: x,
|
|
9351
9381
|
activeItemId: U,
|
|
9352
|
-
handleNavItemClick:
|
|
9353
|
-
shellClassName:
|
|
9382
|
+
handleNavItemClick: b,
|
|
9383
|
+
shellClassName: Z,
|
|
9354
9384
|
sidebarWidthClassName: p,
|
|
9355
|
-
mainAreaClassName:
|
|
9385
|
+
mainAreaClassName: mA,
|
|
9356
9386
|
mainContent: iA
|
|
9357
9387
|
}
|
|
9358
9388
|
}
|
|
9359
|
-
),
|
|
9389
|
+
), SA = Y(
|
|
9360
9390
|
() => ({
|
|
9361
9391
|
onExportReports: k.resolvedExportReports,
|
|
9362
|
-
onNavigateToNavItem:
|
|
9392
|
+
onNavigateToNavItem: b
|
|
9363
9393
|
}),
|
|
9364
|
-
[k.resolvedExportReports,
|
|
9394
|
+
[k.resolvedExportReports, b]
|
|
9365
9395
|
);
|
|
9366
|
-
return /* @__PURE__ */ I(ee, { value: k.reportPagesApiBaseUrl, children: /* @__PURE__ */ I(ke, { value:
|
|
9396
|
+
return /* @__PURE__ */ I(ee, { value: k.reportPagesApiBaseUrl, children: /* @__PURE__ */ I(ke, { value: SA, children: /* @__PURE__ */ I(
|
|
9367
9397
|
si,
|
|
9368
9398
|
{
|
|
9369
9399
|
rootStyle: f,
|
|
@@ -9373,7 +9403,7 @@ function ji({
|
|
|
9373
9403
|
onBackFromPatientPicker: C.onBackFromPatientPicker,
|
|
9374
9404
|
onSelectPatientReport: C.onSelectPatientReport,
|
|
9375
9405
|
onBackFromPatientReportPicker: C.onBackFromPatientReportPicker,
|
|
9376
|
-
children:
|
|
9406
|
+
children: lA
|
|
9377
9407
|
}
|
|
9378
9408
|
) }) });
|
|
9379
9409
|
}
|
|
@@ -9447,7 +9477,7 @@ export {
|
|
|
9447
9477
|
vi as DashboardTabContentCacheProvider,
|
|
9448
9478
|
V9 as DashboardTabSkeleton,
|
|
9449
9479
|
SI as GradientRangeBar,
|
|
9450
|
-
|
|
9480
|
+
dA as LAB_METRIC_RANGE_BAR_SEGMENTS,
|
|
9451
9481
|
Qv as LabAnalysisIcon,
|
|
9452
9482
|
zV as LabAnalysisTab,
|
|
9453
9483
|
W9 as LabAnalysisTabSkeleton,
|
|
@@ -9516,8 +9546,8 @@ export {
|
|
|
9516
9546
|
Iv as SupplementScheduleTabSkeleton,
|
|
9517
9547
|
qz as SupplementScheduleTableRow,
|
|
9518
9548
|
mz as SupplementTriadMarkGroup,
|
|
9519
|
-
|
|
9520
|
-
|
|
9549
|
+
nA as TRIAD_RESILIENCY_TREND_SEGMENTS,
|
|
9550
|
+
ZA as TabSkeletonRoot,
|
|
9521
9551
|
N as Tooltip,
|
|
9522
9552
|
WV as TotalPredictiveIndexTab,
|
|
9523
9553
|
vv as TotalPredictiveIndexTabSkeleton,
|