@metaboliccode-dev/widget 0.2.17 → 0.2.18

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/index.js CHANGED
@@ -3,7 +3,7 @@ var Jr = (e, r, n) => r in e ? qr(e, r, { enumerable: !0, configurable: !0, writ
3
3
  var yt = (e, r, n) => Jr(e, typeof r != "symbol" ? r + "" : r, n);
4
4
  import { useAgCharts as Me, ensureAgChartsModules as _r } from "./ag-charts.js";
5
5
  import { jsx as t, jsxs as l, Fragment as ae } from "react/jsx-runtime";
6
- import { useRef as F, useState as H, useLayoutEffect as $e, useMemo as j, useId as at, useCallback as B, isValidElement as $r, cloneElement as en, useEffect as V, useContext as ot, createContext as qt, lazy as Q, useReducer as tn, Component as rn, Suspense as nn, StrictMode as an } from "react";
6
+ import { useRef as F, useState as k, useLayoutEffect as $e, useMemo as j, useId as at, useCallback as I, isValidElement as $r, cloneElement as en, useEffect as V, useContext as ot, createContext as qt, lazy as Q, useReducer as tn, Component as rn, Suspense as nn, StrictMode as an } from "react";
7
7
  import { A as lt, a as on } from "./vendor-ag-charts-W8mi59GS.js";
8
8
  import { createRoot as ln } from "react-dom/client";
9
9
  import { createPortal as Jt } from "react-dom";
@@ -79,7 +79,7 @@ function _t(e) {
79
79
  "--mb-category-panel-header-height": o.categoryPanelHeaderHeight
80
80
  };
81
81
  }
82
- const sn = "data:image/svg+xml,%3csvg%20width='220'%20height='29'%20viewBox='0%200%20220%2029'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_96_1263)'%3e%3cpath%20d='M15.7296%2020.8716C17.8177%2020.8716%2019.5105%2019.1788%2019.5105%2017.0906C19.5105%2015.0024%2017.8177%2013.3096%2015.7296%2013.3096C13.6414%2013.3096%2011.9486%2015.0024%2011.9486%2017.0906C11.9486%2019.1788%2013.6414%2020.8716%2015.7296%2020.8716Z'%20fill='black'/%3e%3cpath%20d='M40.1166%204.41165H45.1623L49.4822%2016.4983H49.6826L54.0024%204.41165H59.0704V21.8914H55.2761V10.6776H55.0757L51.0542%2021.8914H48.1061L44.1113%2010.6776H43.9109V21.8914H40.1166V4.41165Z'%20fill='black'/%3e%3cpath%20d='M61.6623%2015.572V14.8238C61.6623%2011.0784%2063.7866%208.17925%2068.4049%208.17925C73.0231%208.17925%2074.7733%2010.8023%2074.7733%2014.6457V15.7946H65.283V15.9461C65.283%2018.2173%2066.1559%2019.2416%2068.4049%2019.2416C70.4045%2019.2416%2071.1749%2018.3197%2071.2283%2017.4959L71.2551%2017.1218H74.7777C74.7287%2019.7938%2072.8316%2022.2165%2068.3336%2022.2165C63.8356%2022.2165%2061.6668%2019.3218%2061.6668%2015.572H61.6623ZM71.2239%2013.6258C71.0502%2011.8044%2070.2753%2010.9805%2068.3291%2010.9805C66.383%2010.9805%2065.4567%2011.8044%2065.3097%2013.6258H71.2283H71.2239Z'%20fill='black'/%3e%3cpath%20d='M77.9798%2018.1193V11.5015H76.0336V8.50436H77.9798V5.73432L81.6494%204.93715V8.50881H84.9449V11.506H81.6494V17.9011C81.6494%2018.5736%2081.9745%2018.8987%2082.647%2018.8987H84.9182V21.8959C84.0453%2021.9938%2083.0967%2022.0963%2081.9478%2022.0963C79.1243%2022.0963%2077.9753%2020.9473%2077.9753%2018.1238L77.9798%2018.1193Z'%20fill='black'/%3e%3cpath%20d='M95.3972%2019.295H95.1968C94.4219%2021.1699%2093.2996%2022.2655%2090.6498%2022.2655C88.1514%2022.2655%2086.4057%2020.9428%2086.4057%2018.5691V17.8699C86.4057%2015.6744%2088.1024%2014.1246%2091.3%2014.1246H95.2457V13.176C95.2457%2011.5772%2094.5198%2010.927%2092.8988%2010.927C91.2777%2010.927%2090.5251%2011.5015%2090.4538%2012.5481L90.4271%2012.8999H86.9044C87.0291%209.75132%2088.9263%208.13026%2093.0992%208.13026C96.9959%208.13026%2098.9198%209.55537%2098.9198%2013.323V18.1193C98.9198%2018.7918%2099.1959%2019.0456%2099.8684%2019.0456H100.394V21.8914C99.8461%2021.9894%2099.2449%2022.0918%2098.3231%2022.0918C96.4749%2022.0918%2095.4016%2021.3169%2095.4016%2019.295H95.3972ZM91.8522%2019.491C94.2482%2019.491%2095.2502%2018.7918%2095.2502%2016.6452V16.2979H91.7275C90.5518%2016.2979%2090.004%2016.8724%2090.004%2017.7942V18.0926C90.004%2018.9922%2090.6275%2019.491%2091.8522%2019.491Z'%20fill='black'/%3e%3cpath%20d='M115.843%2014.8728V15.523C115.843%2019.5444%20114.044%2022.2165%20110.597%2022.2165C108.125%2022.2165%20106.802%2021.0185%20106.174%2018.872H105.974V21.8914H102.304V3.66346H105.974V11.5282H106.174C106.798%209.38168%20108.121%208.18371%20110.597%208.18371C114.044%208.18371%20115.843%2010.8825%20115.843%2014.8772V14.8728ZM109.074%2019.0189C111.171%2019.0189%20112.044%2018.1193%20112.044%2015.7457V14.6724C112.044%2012.2764%20111.171%2011.3768%20109.074%2011.3768C106.851%2011.3768%20105.979%2012.2764%20105.979%2014.6234V15.8971C105.979%2018.1193%20106.851%2019.0189%20109.074%2019.0189Z'%20fill='black'/%3e%3cpath%20d='M131.167%2014.8238V15.572C131.167%2019.3173%20129.021%2022.2165%20124.398%2022.2165C119.775%2022.2165%20117.655%2019.3218%20117.655%2015.572V14.8238C117.655%2011.0784%20119.802%208.17925%20124.398%208.17925C128.994%208.17925%20131.167%2011.074%20131.167%2014.8238ZM124.402%2019.1703C126.451%2019.1703%20127.373%2018.2975%20127.373%2015.9505V14.4542C127.373%2012.1339%20126.447%2011.2566%20124.402%2011.2566C122.358%2011.2566%20121.454%2012.1295%20121.454%2014.4542V15.9505C121.454%2018.2975%20122.381%2019.1703%20124.402%2019.1703Z'%20fill='black'/%3e%3cpath%20d='M133.519%203.65901H137.188V21.8869H133.519V3.65901Z'%20fill='black'/%3e%3cpath%20d='M139.963%203.76144H143.859V6.65618H139.963V3.76144ZM140.065%208.50436H143.735V21.8914H140.065V8.50436Z'%20fill='black'/%3e%3cpath%20d='M155.34%2016.7699H158.863C158.814%2019.7404%20156.988%2022.212%20152.668%2022.212C148.072%2022.212%20146.002%2019.3173%20146.002%2015.5675V14.8193C146.002%2011.074%20148.072%208.1748%20152.668%208.1748C156.988%208.1748%20158.81%2010.6732%20158.863%2013.4922H155.34L155.314%2013.1181C155.265%2012.1428%20154.539%2011.2432%20152.668%2011.2432C150.571%2011.2432%20149.796%2012.2408%20149.796%2014.4408V15.9371C149.796%2018.1327%20150.571%2019.157%20152.668%2019.157C154.543%2019.157%20155.265%2018.1594%20155.314%2017.1351L155.34%2016.761V16.7699Z'%20fill='black'/%3e%3cpath%20d='M160.903%2012.8955C160.903%205.58736%20162.221%203.55213%20169.066%203.55213C175.287%203.55213%20176.695%205.5161%20176.695%209.77359V9.86711H175.421V9.82257C175.421%206.28654%20174.45%204.78128%20169.062%204.78128C163.236%204.78128%20162.217%206.07723%20162.217%2012.8955C162.217%2019.7137%20163.232%2021.0096%20169.062%2021.0096C174.588%2021.0096%20175.488%2019.7137%20175.488%2015.6699V15.5987H176.784V15.6922C176.784%2020.4307%20175.443%2022.2343%20169.062%2022.2343C162.217%2022.2343%20160.898%2020.1991%20160.898%2012.891L160.903%2012.8955Z'%20fill='black'/%3e%3cpath%20d='M179.3%2015.6254C179.3%2010.7712%20180.431%209.1991%20185.334%209.1991C190.238%209.1991%20191.347%2010.7712%20191.347%2015.6254C191.347%2020.4797%20190.215%2022.0295%20185.334%2022.0295C180.453%2022.0295%20179.3%2020.4574%20179.3%2015.6254ZM185.334%2020.8716C189.267%2020.8716%20190.073%2019.8784%20190.073%2015.621C190.073%2011.3635%20189.262%2010.3481%20185.334%2010.3481C181.406%2010.3481%20180.569%2011.3412%20180.569%2015.621C180.569%2019.9007%20181.38%2020.8716%20185.334%2020.8716Z'%20fill='black'/%3e%3cpath%20d='M193.827%2015.6254C193.827%2010.7712%20194.843%209.1991%20199.398%209.1991C202.961%209.1991%20203.723%2010.0319%20204.253%2011.3946H204.297V3.90395H205.522V21.8914H204.297V19.8339H204.275C203.767%2021.1521%20202.957%2022.0295%20199.398%2022.0295C194.843%2022.0295%20193.827%2020.4574%20193.827%2015.6254ZM199.724%2020.8716C203.398%2020.8716%20204.302%2019.7137%20204.302%2016.8234V14.4185C204.302%2011.4837%20203.398%2010.3481%20199.724%2010.3481C195.862%2010.3481%20195.101%2011.3189%20195.101%2015.621C195.101%2019.923%20195.862%2020.8716%20199.724%2020.8716Z'%20fill='black'/%3e%3cpath%20d='M208.368%2015.6254C208.368%2010.7934%20209.432%209.1991%20214.242%209.1991C218.588%209.1991%20219.929%2010.5173%20219.929%2014.5655V15.9772H209.641C209.664%2019.9542%20210.381%2020.925%20214.451%2020.925C217.551%2020.925%20218.66%2020.3238%20218.66%2017.7586V17.6428H219.906V17.7809C219.906%2021.1343%20218.357%2022.0339%20214.451%2022.0339C209.432%2022.0339%20208.372%2020.4841%20208.372%2015.6299L208.368%2015.6254ZM218.655%2014.8594V14.3295C218.655%2011.2299%20217.729%2010.308%20214.237%2010.308C210.536%2010.308%20209.681%2011.3234%20209.637%2014.8639H218.655V14.8594Z'%20fill='black'/%3e%3cpath%20d='M22.0045%2028.5003H4.99231C2.23563%2028.5003%200%2026.2647%200%2023.508C0%2019.6736%204.13725%2017.2687%207.46842%2019.1703L22.2449%2027.5963C22.6769%2027.8412%2022.5032%2028.5048%2022.0045%2028.5048V28.5003Z'%20fill='black'/%3e%3cpath%20d='M22.2628%206.27764L30.7866%2020.9963C32.1672%2023.3833%2031.3567%2026.4384%2028.9696%2027.8234C25.6518%2029.7428%2021.4968%2027.3691%2021.47%2023.5347L21.3542%206.52257C21.3542%206.02379%2022.0089%205.84566%2022.2583%206.27764H22.2628Z'%20fill='black'/%3e%3cpath%20d='M2.99271%2017.2242L11.5032%202.49666C12.8838%200.10962%2015.9389%20-0.709816%2018.3259%200.670751C21.6437%202.58573%2021.6571%207.37318%2018.3482%209.30597L3.66073%2017.8878C3.22874%2018.1372%202.74777%2017.6562%202.99717%2017.2242H2.99271Z'%20fill='black'/%3e%3cpath%20d='M72.9607%2027.1465H40.5352C40.2057%2027.1465%2039.9385%2026.8793%2039.9385%2026.5497C39.9385%2026.2202%2040.2057%2025.9529%2040.5352%2025.9529H72.9607C73.2903%2025.9529%2073.5575%2026.2202%2073.5575%2026.5497C73.5575%2026.8793%2073.2903%2027.1465%2072.9607%2027.1465Z'%20fill='black'/%3e%3cpath%20d='M109.684%2027.1465H77.2583C76.9287%2027.1465%2076.6615%2026.8793%2076.6615%2026.5497C76.6615%2026.2201%2076.9287%2025.9529%2077.2583%2025.9529H109.684C110.013%2025.9529%20110.281%2026.2201%20110.281%2026.5497C110.281%2026.8793%20110.013%2027.1465%20109.684%2027.1465Z'%20fill='black'/%3e%3cpath%20d='M146.402%2027.1465H113.977C113.647%2027.1465%20113.38%2026.8793%20113.38%2026.5497C113.38%2026.2201%20113.647%2025.9529%20113.977%2025.9529H146.402C146.732%2025.9529%20146.999%2026.2201%20146.999%2026.5497C146.999%2026.8793%20146.732%2027.1465%20146.402%2027.1465Z'%20fill='black'/%3e%3cpath%20d='M183.126%2027.1465H150.7C150.37%2027.1465%20150.103%2026.8793%20150.103%2026.5497C150.103%2026.2201%20150.37%2025.9529%20150.7%2025.9529H183.126C183.455%2025.9529%20183.722%2026.2201%20183.722%2026.5497C183.722%2026.8793%20183.455%2027.1465%20183.126%2027.1465Z'%20fill='black'/%3e%3cpath%20d='M219.849%2027.1465H187.423C187.094%2027.1465%20186.826%2026.8793%20186.826%2026.5497C186.826%2026.2201%20187.094%2025.9529%20187.423%2025.9529H219.849C220.178%2025.9529%20220.445%2026.2201%20220.445%2026.5497C220.445%2026.8793%20220.178%2027.1465%20219.849%2027.1465Z'%20fill='black'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_96_1263'%3e%3crect%20width='220'%20height='28.502'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", cn = "data:image/svg+xml,%3csvg%20width='32'%20height='29'%20viewBox='0%200%2032%2029'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.7297%2020.8716C17.8179%2020.8716%2019.5107%2019.1788%2019.5107%2017.0906C19.5107%2015.0024%2017.8179%2013.3096%2015.7297%2013.3096C13.6415%2013.3096%2011.9487%2015.0024%2011.9487%2017.0906C11.9487%2019.1788%2013.6415%2020.8716%2015.7297%2020.8716Z'%20fill='black'/%3e%3cpath%20d='M22.0045%2028.5003H4.99231C2.23563%2028.5003%200%2026.2647%200%2023.508C0%2019.6736%204.13725%2017.2687%207.46842%2019.1703L22.2449%2027.5963C22.6769%2027.8412%2022.5032%2028.5048%2022.0045%2028.5048V28.5003Z'%20fill='black'/%3e%3cpath%20d='M22.263%206.27764L30.7869%2020.9963C32.1674%2023.3833%2031.3569%2026.4384%2028.9699%2027.8234C25.6521%2029.7428%2021.497%2027.3691%2021.4703%2023.5347L21.3545%206.52257C21.3545%206.02379%2022.0091%205.84566%2022.2585%206.27764H22.263Z'%20fill='black'/%3e%3cpath%20d='M2.99266%2017.2242L11.5032%202.49666C12.8838%200.109618%2015.9388%20-0.709818%2018.3259%200.670749C21.6437%202.58573%2021.657%207.37318%2018.3481%209.30597L3.66067%2017.8878C3.22869%2018.1372%202.74772%2017.6562%202.99711%2017.2242H2.99266Z'%20fill='black'/%3e%3c/svg%3e", dn = "290px", k = {
82
+ const sn = "data:image/svg+xml,%3csvg%20width='220'%20height='29'%20viewBox='0%200%20220%2029'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_96_1263)'%3e%3cpath%20d='M15.7296%2020.8716C17.8177%2020.8716%2019.5105%2019.1788%2019.5105%2017.0906C19.5105%2015.0024%2017.8177%2013.3096%2015.7296%2013.3096C13.6414%2013.3096%2011.9486%2015.0024%2011.9486%2017.0906C11.9486%2019.1788%2013.6414%2020.8716%2015.7296%2020.8716Z'%20fill='black'/%3e%3cpath%20d='M40.1166%204.41165H45.1623L49.4822%2016.4983H49.6826L54.0024%204.41165H59.0704V21.8914H55.2761V10.6776H55.0757L51.0542%2021.8914H48.1061L44.1113%2010.6776H43.9109V21.8914H40.1166V4.41165Z'%20fill='black'/%3e%3cpath%20d='M61.6623%2015.572V14.8238C61.6623%2011.0784%2063.7866%208.17925%2068.4049%208.17925C73.0231%208.17925%2074.7733%2010.8023%2074.7733%2014.6457V15.7946H65.283V15.9461C65.283%2018.2173%2066.1559%2019.2416%2068.4049%2019.2416C70.4045%2019.2416%2071.1749%2018.3197%2071.2283%2017.4959L71.2551%2017.1218H74.7777C74.7287%2019.7938%2072.8316%2022.2165%2068.3336%2022.2165C63.8356%2022.2165%2061.6668%2019.3218%2061.6668%2015.572H61.6623ZM71.2239%2013.6258C71.0502%2011.8044%2070.2753%2010.9805%2068.3291%2010.9805C66.383%2010.9805%2065.4567%2011.8044%2065.3097%2013.6258H71.2283H71.2239Z'%20fill='black'/%3e%3cpath%20d='M77.9798%2018.1193V11.5015H76.0336V8.50436H77.9798V5.73432L81.6494%204.93715V8.50881H84.9449V11.506H81.6494V17.9011C81.6494%2018.5736%2081.9745%2018.8987%2082.647%2018.8987H84.9182V21.8959C84.0453%2021.9938%2083.0967%2022.0963%2081.9478%2022.0963C79.1243%2022.0963%2077.9753%2020.9473%2077.9753%2018.1238L77.9798%2018.1193Z'%20fill='black'/%3e%3cpath%20d='M95.3972%2019.295H95.1968C94.4219%2021.1699%2093.2996%2022.2655%2090.6498%2022.2655C88.1514%2022.2655%2086.4057%2020.9428%2086.4057%2018.5691V17.8699C86.4057%2015.6744%2088.1024%2014.1246%2091.3%2014.1246H95.2457V13.176C95.2457%2011.5772%2094.5198%2010.927%2092.8988%2010.927C91.2777%2010.927%2090.5251%2011.5015%2090.4538%2012.5481L90.4271%2012.8999H86.9044C87.0291%209.75132%2088.9263%208.13026%2093.0992%208.13026C96.9959%208.13026%2098.9198%209.55537%2098.9198%2013.323V18.1193C98.9198%2018.7918%2099.1959%2019.0456%2099.8684%2019.0456H100.394V21.8914C99.8461%2021.9894%2099.2449%2022.0918%2098.3231%2022.0918C96.4749%2022.0918%2095.4016%2021.3169%2095.4016%2019.295H95.3972ZM91.8522%2019.491C94.2482%2019.491%2095.2502%2018.7918%2095.2502%2016.6452V16.2979H91.7275C90.5518%2016.2979%2090.004%2016.8724%2090.004%2017.7942V18.0926C90.004%2018.9922%2090.6275%2019.491%2091.8522%2019.491Z'%20fill='black'/%3e%3cpath%20d='M115.843%2014.8728V15.523C115.843%2019.5444%20114.044%2022.2165%20110.597%2022.2165C108.125%2022.2165%20106.802%2021.0185%20106.174%2018.872H105.974V21.8914H102.304V3.66346H105.974V11.5282H106.174C106.798%209.38168%20108.121%208.18371%20110.597%208.18371C114.044%208.18371%20115.843%2010.8825%20115.843%2014.8772V14.8728ZM109.074%2019.0189C111.171%2019.0189%20112.044%2018.1193%20112.044%2015.7457V14.6724C112.044%2012.2764%20111.171%2011.3768%20109.074%2011.3768C106.851%2011.3768%20105.979%2012.2764%20105.979%2014.6234V15.8971C105.979%2018.1193%20106.851%2019.0189%20109.074%2019.0189Z'%20fill='black'/%3e%3cpath%20d='M131.167%2014.8238V15.572C131.167%2019.3173%20129.021%2022.2165%20124.398%2022.2165C119.775%2022.2165%20117.655%2019.3218%20117.655%2015.572V14.8238C117.655%2011.0784%20119.802%208.17925%20124.398%208.17925C128.994%208.17925%20131.167%2011.074%20131.167%2014.8238ZM124.402%2019.1703C126.451%2019.1703%20127.373%2018.2975%20127.373%2015.9505V14.4542C127.373%2012.1339%20126.447%2011.2566%20124.402%2011.2566C122.358%2011.2566%20121.454%2012.1295%20121.454%2014.4542V15.9505C121.454%2018.2975%20122.381%2019.1703%20124.402%2019.1703Z'%20fill='black'/%3e%3cpath%20d='M133.519%203.65901H137.188V21.8869H133.519V3.65901Z'%20fill='black'/%3e%3cpath%20d='M139.963%203.76144H143.859V6.65618H139.963V3.76144ZM140.065%208.50436H143.735V21.8914H140.065V8.50436Z'%20fill='black'/%3e%3cpath%20d='M155.34%2016.7699H158.863C158.814%2019.7404%20156.988%2022.212%20152.668%2022.212C148.072%2022.212%20146.002%2019.3173%20146.002%2015.5675V14.8193C146.002%2011.074%20148.072%208.1748%20152.668%208.1748C156.988%208.1748%20158.81%2010.6732%20158.863%2013.4922H155.34L155.314%2013.1181C155.265%2012.1428%20154.539%2011.2432%20152.668%2011.2432C150.571%2011.2432%20149.796%2012.2408%20149.796%2014.4408V15.9371C149.796%2018.1327%20150.571%2019.157%20152.668%2019.157C154.543%2019.157%20155.265%2018.1594%20155.314%2017.1351L155.34%2016.761V16.7699Z'%20fill='black'/%3e%3cpath%20d='M160.903%2012.8955C160.903%205.58736%20162.221%203.55213%20169.066%203.55213C175.287%203.55213%20176.695%205.5161%20176.695%209.77359V9.86711H175.421V9.82257C175.421%206.28654%20174.45%204.78128%20169.062%204.78128C163.236%204.78128%20162.217%206.07723%20162.217%2012.8955C162.217%2019.7137%20163.232%2021.0096%20169.062%2021.0096C174.588%2021.0096%20175.488%2019.7137%20175.488%2015.6699V15.5987H176.784V15.6922C176.784%2020.4307%20175.443%2022.2343%20169.062%2022.2343C162.217%2022.2343%20160.898%2020.1991%20160.898%2012.891L160.903%2012.8955Z'%20fill='black'/%3e%3cpath%20d='M179.3%2015.6254C179.3%2010.7712%20180.431%209.1991%20185.334%209.1991C190.238%209.1991%20191.347%2010.7712%20191.347%2015.6254C191.347%2020.4797%20190.215%2022.0295%20185.334%2022.0295C180.453%2022.0295%20179.3%2020.4574%20179.3%2015.6254ZM185.334%2020.8716C189.267%2020.8716%20190.073%2019.8784%20190.073%2015.621C190.073%2011.3635%20189.262%2010.3481%20185.334%2010.3481C181.406%2010.3481%20180.569%2011.3412%20180.569%2015.621C180.569%2019.9007%20181.38%2020.8716%20185.334%2020.8716Z'%20fill='black'/%3e%3cpath%20d='M193.827%2015.6254C193.827%2010.7712%20194.843%209.1991%20199.398%209.1991C202.961%209.1991%20203.723%2010.0319%20204.253%2011.3946H204.297V3.90395H205.522V21.8914H204.297V19.8339H204.275C203.767%2021.1521%20202.957%2022.0295%20199.398%2022.0295C194.843%2022.0295%20193.827%2020.4574%20193.827%2015.6254ZM199.724%2020.8716C203.398%2020.8716%20204.302%2019.7137%20204.302%2016.8234V14.4185C204.302%2011.4837%20203.398%2010.3481%20199.724%2010.3481C195.862%2010.3481%20195.101%2011.3189%20195.101%2015.621C195.101%2019.923%20195.862%2020.8716%20199.724%2020.8716Z'%20fill='black'/%3e%3cpath%20d='M208.368%2015.6254C208.368%2010.7934%20209.432%209.1991%20214.242%209.1991C218.588%209.1991%20219.929%2010.5173%20219.929%2014.5655V15.9772H209.641C209.664%2019.9542%20210.381%2020.925%20214.451%2020.925C217.551%2020.925%20218.66%2020.3238%20218.66%2017.7586V17.6428H219.906V17.7809C219.906%2021.1343%20218.357%2022.0339%20214.451%2022.0339C209.432%2022.0339%20208.372%2020.4841%20208.372%2015.6299L208.368%2015.6254ZM218.655%2014.8594V14.3295C218.655%2011.2299%20217.729%2010.308%20214.237%2010.308C210.536%2010.308%20209.681%2011.3234%20209.637%2014.8639H218.655V14.8594Z'%20fill='black'/%3e%3cpath%20d='M22.0045%2028.5003H4.99231C2.23563%2028.5003%200%2026.2647%200%2023.508C0%2019.6736%204.13725%2017.2687%207.46842%2019.1703L22.2449%2027.5963C22.6769%2027.8412%2022.5032%2028.5048%2022.0045%2028.5048V28.5003Z'%20fill='black'/%3e%3cpath%20d='M22.2628%206.27764L30.7866%2020.9963C32.1672%2023.3833%2031.3567%2026.4384%2028.9696%2027.8234C25.6518%2029.7428%2021.4968%2027.3691%2021.47%2023.5347L21.3542%206.52257C21.3542%206.02379%2022.0089%205.84566%2022.2583%206.27764H22.2628Z'%20fill='black'/%3e%3cpath%20d='M2.99271%2017.2242L11.5032%202.49666C12.8838%200.10962%2015.9389%20-0.709816%2018.3259%200.670751C21.6437%202.58573%2021.6571%207.37318%2018.3482%209.30597L3.66073%2017.8878C3.22874%2018.1372%202.74777%2017.6562%202.99717%2017.2242H2.99271Z'%20fill='black'/%3e%3cpath%20d='M72.9607%2027.1465H40.5352C40.2057%2027.1465%2039.9385%2026.8793%2039.9385%2026.5497C39.9385%2026.2202%2040.2057%2025.9529%2040.5352%2025.9529H72.9607C73.2903%2025.9529%2073.5575%2026.2202%2073.5575%2026.5497C73.5575%2026.8793%2073.2903%2027.1465%2072.9607%2027.1465Z'%20fill='black'/%3e%3cpath%20d='M109.684%2027.1465H77.2583C76.9287%2027.1465%2076.6615%2026.8793%2076.6615%2026.5497C76.6615%2026.2201%2076.9287%2025.9529%2077.2583%2025.9529H109.684C110.013%2025.9529%20110.281%2026.2201%20110.281%2026.5497C110.281%2026.8793%20110.013%2027.1465%20109.684%2027.1465Z'%20fill='black'/%3e%3cpath%20d='M146.402%2027.1465H113.977C113.647%2027.1465%20113.38%2026.8793%20113.38%2026.5497C113.38%2026.2201%20113.647%2025.9529%20113.977%2025.9529H146.402C146.732%2025.9529%20146.999%2026.2201%20146.999%2026.5497C146.999%2026.8793%20146.732%2027.1465%20146.402%2027.1465Z'%20fill='black'/%3e%3cpath%20d='M183.126%2027.1465H150.7C150.37%2027.1465%20150.103%2026.8793%20150.103%2026.5497C150.103%2026.2201%20150.37%2025.9529%20150.7%2025.9529H183.126C183.455%2025.9529%20183.722%2026.2201%20183.722%2026.5497C183.722%2026.8793%20183.455%2027.1465%20183.126%2027.1465Z'%20fill='black'/%3e%3cpath%20d='M219.849%2027.1465H187.423C187.094%2027.1465%20186.826%2026.8793%20186.826%2026.5497C186.826%2026.2201%20187.094%2025.9529%20187.423%2025.9529H219.849C220.178%2025.9529%20220.445%2026.2201%20220.445%2026.5497C220.445%2026.8793%20220.178%2027.1465%20219.849%2027.1465Z'%20fill='black'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_96_1263'%3e%3crect%20width='220'%20height='28.502'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", cn = "data:image/svg+xml,%3csvg%20width='32'%20height='29'%20viewBox='0%200%2032%2029'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.7297%2020.8716C17.8179%2020.8716%2019.5107%2019.1788%2019.5107%2017.0906C19.5107%2015.0024%2017.8179%2013.3096%2015.7297%2013.3096C13.6415%2013.3096%2011.9487%2015.0024%2011.9487%2017.0906C11.9487%2019.1788%2013.6415%2020.8716%2015.7297%2020.8716Z'%20fill='black'/%3e%3cpath%20d='M22.0045%2028.5003H4.99231C2.23563%2028.5003%200%2026.2647%200%2023.508C0%2019.6736%204.13725%2017.2687%207.46842%2019.1703L22.2449%2027.5963C22.6769%2027.8412%2022.5032%2028.5048%2022.0045%2028.5048V28.5003Z'%20fill='black'/%3e%3cpath%20d='M22.263%206.27764L30.7869%2020.9963C32.1674%2023.3833%2031.3569%2026.4384%2028.9699%2027.8234C25.6521%2029.7428%2021.497%2027.3691%2021.4703%2023.5347L21.3545%206.52257C21.3545%206.02379%2022.0091%205.84566%2022.2585%206.27764H22.263Z'%20fill='black'/%3e%3cpath%20d='M2.99266%2017.2242L11.5032%202.49666C12.8838%200.109618%2015.9388%20-0.709818%2018.3259%200.670749C21.6437%202.58573%2021.657%207.37318%2018.3481%209.30597L3.66067%2017.8878C3.22869%2018.1372%202.74772%2017.6562%202.99711%2017.2242H2.99266Z'%20fill='black'/%3e%3c/svg%3e", dn = "290px", H = {
83
83
  title: "",
84
84
  logo: {
85
85
  src: sn,
@@ -181,34 +181,34 @@ function mn() {
181
181
  }
182
182
  function un() {
183
183
  return {
184
- ...k,
185
- logo: { ...k.logo },
186
- fonts: { ...k.fonts },
187
- colors: { ...k.colors },
188
- radius: { ...k.radius },
189
- sizes: { ...k.sizes },
190
- button: { ...k.button },
191
- sideMenu: { ...k.sideMenu },
192
- badge: { ...k.badge }
184
+ ...H,
185
+ logo: { ...H.logo },
186
+ fonts: { ...H.fonts },
187
+ colors: { ...H.colors },
188
+ radius: { ...H.radius },
189
+ sizes: { ...H.sizes },
190
+ button: { ...H.button },
191
+ sideMenu: { ...H.sideMenu },
192
+ badge: { ...H.badge }
193
193
  };
194
194
  }
195
195
  function bn(e) {
196
- var g, v, u, h, f, p, y, C, N, w, P, A, S, L, z, G, D, q, $;
196
+ var g, v, u, h, f, p, y, C, N, w, P, A, S, T, z, G, B, q, $;
197
197
  if (!e)
198
198
  return un();
199
199
  const r = {
200
- ...k.sizes,
200
+ ...H.sizes,
201
201
  ...e.sizes
202
- }, n = ((g = e.card) == null ? void 0 : g.padding) ?? r.cardPadding ?? k.sizes.cardPadding, a = {
203
- ...k.button,
202
+ }, n = ((g = e.card) == null ? void 0 : g.padding) ?? r.cardPadding ?? H.sizes.cardPadding, a = {
203
+ ...H.button,
204
204
  ...e.button,
205
- borderRadius: ((v = e.button) == null ? void 0 : v.borderRadius) ?? ((u = e.radius) == null ? void 0 : u.button) ?? k.button.borderRadius
205
+ borderRadius: ((v = e.button) == null ? void 0 : v.borderRadius) ?? ((u = e.radius) == null ? void 0 : u.button) ?? H.button.borderRadius
206
206
  }, o = {
207
- ...k.badge,
207
+ ...H.badge,
208
208
  ...e.badge,
209
- borderRadius: ((h = e.badge) == null ? void 0 : h.borderRadius) ?? ((f = e.radius) == null ? void 0 : f.badge) ?? k.badge.borderRadius
209
+ borderRadius: ((h = e.badge) == null ? void 0 : h.borderRadius) ?? ((f = e.radius) == null ? void 0 : f.badge) ?? H.badge.borderRadius
210
210
  }, i = {
211
- ...k.colors,
211
+ ...H.colors,
212
212
  ...e.colors
213
213
  }, s = ((p = e.colors) == null ? void 0 : p.sideMenuItemText) ?? i.textPrimary, c = ((y = e.colors) == null ? void 0 : y.sideMenuItemTextActive) ?? i.textPrimary, d = {
214
214
  ...i,
@@ -220,30 +220,30 @@ function bn(e) {
220
220
  badgeValueBackground: ((P = e.colors) == null ? void 0 : P.badgeValueBackground) ?? i.navHoverBackground,
221
221
  badgeValueText: ((A = e.colors) == null ? void 0 : A.badgeValueText) ?? i.textPrimary,
222
222
  badgeValueBorder: ((S = e.colors) == null ? void 0 : S.badgeValueBorder) ?? i.badgeValueBorder,
223
- cardInlineButtonBackground: ((L = e.colors) == null ? void 0 : L.cardInlineButtonBackground) ?? i.cardBackground,
223
+ cardInlineButtonBackground: ((T = e.colors) == null ? void 0 : T.cardInlineButtonBackground) ?? i.cardBackground,
224
224
  cardInlineButtonBorder: ((z = e.colors) == null ? void 0 : z.cardInlineButtonBorder) ?? i.cardBorder,
225
225
  cardInlineButtonText: ((G = e.colors) == null ? void 0 : G.cardInlineButtonText) ?? i.textPrimary,
226
- cardInlineButtonHoverBackground: ((D = e.colors) == null ? void 0 : D.cardInlineButtonHoverBackground) ?? i.navHoverBackground
226
+ cardInlineButtonHoverBackground: ((B = e.colors) == null ? void 0 : B.cardInlineButtonHoverBackground) ?? i.navHoverBackground
227
227
  }, m = {
228
- ...k.sideMenu,
228
+ ...H.sideMenu,
229
229
  ...e.sideMenu
230
230
  }, b = {
231
231
  ...m,
232
232
  borderRadius: ((q = e.sideMenu) == null ? void 0 : q.borderRadius) ?? (e.sideMenu === void 0 ? ($ = e.radius) == null ? void 0 : $.navItem : void 0) ?? m.borderRadius
233
233
  };
234
234
  return {
235
- title: e.title ?? k.title,
235
+ title: e.title ?? H.title,
236
236
  logo: {
237
- ...k.logo,
237
+ ...H.logo,
238
238
  ...e.logo
239
239
  },
240
240
  fonts: {
241
- ...k.fonts,
241
+ ...H.fonts,
242
242
  ...e.fonts
243
243
  },
244
244
  colors: d,
245
245
  radius: {
246
- ...k.radius,
246
+ ...H.radius,
247
247
  ...e.radius,
248
248
  button: a.borderRadius,
249
249
  badge: o.borderRadius
@@ -257,7 +257,7 @@ function bn(e) {
257
257
  badge: o
258
258
  };
259
259
  }
260
- const hn = "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", fn = "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-[15px] font-medium 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", gn = "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)]", pn = "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", He = "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-wide 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", xn = `${He} bg-[#3a9e6a]`, vn = `${He} bg-[#d94040]`, wn = `${He} bg-[#d94040]`, yn = `${He} bg-[#e09a1a]`;
260
+ const hn = "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", fn = "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-[15px] font-medium 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", gn = "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)]", pn = "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", ke = "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-wide 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", xn = `${ke} bg-[#3a9e6a]`, vn = `${ke} bg-[#d94040]`, wn = `${ke} bg-[#d94040]`, yn = `${ke} bg-[#e09a1a]`;
261
261
  function M({
262
262
  className: e = "",
263
263
  fullWidth: r = !1,
@@ -306,7 +306,7 @@ function An(e) {
306
306
  }
307
307
  return e;
308
308
  }
309
- const Tn = {
309
+ const Ln = {
310
310
  default: "border-[color:var(--mb-color-badge-border)] bg-[color:var(--mb-color-badge-bg)] text-[color:var(--mb-color-badge-text)] [border-width:var(--mb-badge-border-width)] px-[length:var(--mb-badge-padding-x)] py-[length:var(--mb-badge-padding-y)]",
311
311
  value: "border-[color:var(--mb-color-badge-value-border)] bg-[color:var(--mb-color-badge-value-bg)] text-[color:var(--mb-color-badge-value-text)] [border-width:var(--mb-badge-border-width)] px-[length:var(--mb-badge-value-padding-x)] py-[length:var(--mb-badge-value-padding-y)]"
312
312
  };
@@ -318,12 +318,12 @@ function _({
318
318
  return /* @__PURE__ */ t(
319
319
  "span",
320
320
  {
321
- className: `inline-flex shrink-0 items-center justify-center rounded-[length:var(--mb-badge-radius)] border border-solid [font-size:var(--mb-badge-font-size)] [font-weight:var(--mb-badge-font-weight)] ${Tn[n]} ${r}`.trim(),
321
+ className: `inline-flex shrink-0 items-center justify-center rounded-[length:var(--mb-badge-radius)] border border-solid [font-size:var(--mb-badge-font-size)] [font-weight:var(--mb-badge-font-weight)] ${Ln[n]} ${r}`.trim(),
322
322
  children: An(e)
323
323
  }
324
324
  );
325
325
  }
326
- function T({
326
+ function L({
327
327
  children: e,
328
328
  className: r = ""
329
329
  }) {
@@ -338,7 +338,7 @@ function T({
338
338
  }
339
339
  );
340
340
  }
341
- const $t = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M27.7784%2037.6667H6.69083C3.27029%2037.6667%200.5%2034.894%200.5%2031.476C0.5%2026.7256%205.6308%2023.7444%209.75802%2026.0975L28.0753%2036.5429C28.6102%2036.8496%2028.3943%2037.6667%2027.7784%2037.6667Z'%20fill='%23E9AD80'/%3e%3cpath%20d='M28.0974%2010.1165L38.6657%2028.3622C40.3784%2031.3214%2039.3699%2035.1099%2036.4107%2036.8226C32.2982%2039.2027%2027.1477%2036.2582%2027.1159%2031.5079L26.9735%2010.4232C26.9686%209.80485%2027.7857%209.58401%2028.0949%2010.1165'%20fill='%23E49B67'/%3e%3cpath%20d='M4.21009%2023.6879L14.7563%205.42744C16.4666%202.46828%2020.2527%201.4549%2023.2144%203.16513C27.3294%205.54031%2027.3441%2011.4758%2023.2414%2013.8706L5.03455%2024.5074C4.50209%2024.8191%203.90092%2024.2228%204.21009%2023.6879Z'%20fill='%23ECC09C'/%3e%3cpath%20d='M20.8171%2025.9674H19.6737V21.9114H19.6614L18.3585%2023.0426L17.7278%2022.3187L19.3988%2020.8588H20.8196V25.9674H20.8171ZM20%2018.8345C17.4138%2018.8345%2015.3158%2020.9324%2015.3158%2023.5186C15.3158%2026.1048%2017.4138%2028.2027%2020%2028.2027C22.5863%2028.2027%2024.6842%2026.1048%2024.6842%2023.5186C24.6842%2020.9324%2022.5863%2018.8345%2020%2018.8345Z'%20fill='%23EFC160'/%3e%3c/svg%3e", er = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M27.7784%2037.6667H6.69083C3.27029%2037.6667%200.5%2034.894%200.5%2031.476C0.5%2026.7256%205.6308%2023.7443%209.75802%2026.0974L28.0753%2036.5429C28.6127%2036.8496%2028.3943%2037.6667%2027.7784%2037.6667Z'%20fill='%2395C9EA'/%3e%3cpath%20d='M28.0974%2010.1165L38.6657%2028.3622C40.3784%2031.3214%2039.3699%2035.1099%2036.4107%2036.8226C32.2982%2039.2027%2027.1477%2036.2582%2027.1159%2031.5078L26.9735%2010.4232C26.9686%209.80483%2027.7857%209.584%2028.0974%2010.1165Z'%20fill='%237ABFE4'/%3e%3cpath%20d='M4.21009%2023.6879L14.7563%205.42746C16.4666%202.46829%2020.2527%201.45491%2023.2144%203.16514C27.3294%205.54033%2027.3441%2011.4758%2023.2414%2013.8707L5.03455%2024.5075C4.50209%2024.8191%203.90092%2024.2228%204.21009%2023.6879Z'%20fill='%23B0D5EE'/%3e%3cpath%20d='M22.2354%2025.9674H17.7646V24.9687C17.7646%2024.4044%2017.8702%2024.0093%2018.1253%2023.7517C18.3953%2023.4818%2018.783%2023.337%2019.7424%2023.1873C20.4515%2023.0745%2020.768%2022.996%2020.9128%2022.8512C21.011%2022.753%2021.0502%2022.6205%2021.0502%2022.3506C21.0502%2021.8182%2020.9251%2021.7004%2020.0123%2021.7004C19.0995%2021.7004%2018.9866%2021.8182%2018.9866%2022.4291V22.515H17.8554V22.3187C17.8554%2021.1483%2018.2309%2020.7533%2020.0246%2020.7533C21.8182%2020.7533%2022.2084%2021.1606%2022.2084%2022.331C22.2084%2022.8831%2022.1176%2023.2708%2021.8477%2023.5407C21.5655%2023.8179%2021.1508%2023.9554%2020.2503%2024.0928C19.4749%2024.2105%2019.1854%2024.2891%2019.048%2024.4289C18.9498%2024.5271%2018.9302%2024.6596%2018.9302%2024.9417V25.0129H22.2378V25.9674H22.2354ZM20%2018.8345C17.4138%2018.8345%2015.3158%2020.9324%2015.3158%2023.5186C15.3158%2026.1048%2017.4138%2028.2027%2020%2028.2027C22.5863%2028.2027%2024.6842%2026.1048%2024.6842%2023.5186C24.6842%2020.9324%2022.5863%2018.8345%2020%2018.8345Z'%20fill='%2396D7E1'/%3e%3c/svg%3e", tr = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M28.0753%2036.5428L9.75802%2026.0974C5.6308%2023.7443%200.5%2026.7255%200.5%2031.4759C0.5%2034.8964%203.27274%2037.6666%206.69083%2037.6666H27.7784C28.3968%2037.6666%2028.6127%2036.8471%2028.0778%2036.5428'%20fill='%2398D2AE'/%3e%3cpath%20d='M38.6657%2028.3622L28.0973%2010.1165C27.7882%209.58158%2026.9711%209.80486%2026.976%2010.4232L27.1183%2031.5079C27.1502%2036.2582%2032.3006%2039.2051%2036.4131%2036.8226C39.3723%2035.1099%2040.3808%2031.3214%2038.6681%2028.3622'%20fill='%237FC99C'/%3e%3cpath%20d='M5.03455%2024.5075L23.2414%2013.8707C27.3441%2011.4734%2027.3294%205.54036%2023.2144%203.16518C20.2527%201.45495%2016.4666%202.46833%2014.7563%205.42995L4.21009%2023.688C3.90092%2024.2229%204.50209%2024.8191%205.03455%2024.5075Z'%20fill='%23B1DCC0'/%3e%3cpath%20d='M19.9976%2026.176C18.2824%2026.176%2017.7548%2025.8594%2017.7548%2024.6105V24.4117H18.8664V24.4976C18.8664%2025.1209%2019.0112%2025.2337%2019.9976%2025.2337C20.984%2025.2337%2021.1018%2025.1086%2021.1018%2024.5884C21.1018%2024.0682%2020.9496%2023.9504%2020.0221%2023.9504H19.4038V23.0229H20.0221C20.9496%2023.0229%2021.0478%2022.8978%2021.0478%2022.4193C21.0478%2021.9409%2020.8956%2021.801%2019.9706%2021.801C19.0455%2021.801%2018.9179%2021.9065%2018.9179%2022.4709V22.5567H17.8064V22.3604C17.8064%2021.163%2018.3192%2020.8612%2019.9951%2020.8612C21.671%2020.8612%2022.1912%2021.1974%2022.1912%2022.2427C22.1912%2022.9861%2021.9483%2023.3198%2021.3103%2023.4523V23.4646C21.9876%2023.6216%2022.2427%2023.9578%2022.2427%2024.7332C22.2427%2025.8447%2021.7103%2026.1735%2019.9951%2026.1735M20%2018.8345C17.4138%2018.8345%2015.3158%2020.9324%2015.3158%2023.5186C15.3158%2026.1048%2017.4138%2028.2027%2020%2028.2027C22.5863%2028.2027%2024.6842%2026.1048%2024.6842%2023.5186C24.6842%2020.9324%2022.5863%2018.8345%2020%2018.8345Z'%20fill='%238ECB84'/%3e%3c/svg%3e", rr = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M28.0753%2036.5429L9.75802%2026.0975C5.6308%2023.7444%200.5%2026.7256%200.5%2031.476C0.5%2034.8965%203.27274%2037.6667%206.69083%2037.6667H27.7784C28.3968%2037.6667%2028.6127%2036.8472%2028.0778%2036.5429'%20fill='%23EC8792'/%3e%3cpath%20d='M38.6657%2028.3622L28.0973%2010.1165C27.7882%209.58158%2026.9711%209.80486%2026.976%2010.4232L27.1183%2031.5079C27.1502%2036.2582%2032.3006%2039.2051%2036.4131%2036.8226C39.3723%2035.1099%2040.3808%2031.3214%2038.6681%2028.3622'%20fill='%23E86C7F'/%3e%3cpath%20d='M5.03455%2024.5075L23.2414%2013.8707C27.3441%2011.4734%2027.3294%205.54036%2023.2144%203.16518C20.2527%201.45495%2016.4666%202.46833%2014.7563%205.42995L4.21009%2023.688C3.90092%2024.2229%204.50209%2024.8191%205.03455%2024.5075Z'%20fill='%23F1A4A9'/%3e%3cpath%20d='M22.2477%2025.0276H21.5361V26.0729H20.4638V25.0276H17.4334V23.8449L20.0319%2020.9643H21.5385V24.1001H22.2501V25.0276H22.2477ZM20%2018.8345C17.4138%2018.8345%2015.3158%2020.9324%2015.3158%2023.5186C15.3158%2026.1048%2017.4138%2028.2027%2020%2028.2027C22.5863%2028.2027%2024.6842%2026.1048%2024.6842%2023.5186C24.6842%2020.9324%2022.5863%2018.8345%2020%2018.8345Z'%20fill='%23F3756A'/%3e%3cpath%20d='M18.5131%2024.0879V24.1026H20.4663V21.9261H20.4515L18.5131%2024.0879Z'%20fill='%23E86C7F'/%3e%3c/svg%3e", nr = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M28.0753%2036.5429L9.75802%2026.0975C5.6308%2023.7444%200.5%2026.7256%200.5%2031.476C0.5%2034.8965%203.27274%2037.6667%206.69083%2037.6667H27.7784C28.3968%2037.6667%2028.6127%2036.8472%2028.0753%2036.5429Z'%20fill='%239291C7'/%3e%3cpath%20d='M38.6657%2028.3622L28.0973%2010.1165C27.7882%209.58158%2026.9711%209.80486%2026.976%2010.4232L27.1183%2031.5079C27.1502%2036.2582%2032.3006%2039.2051%2036.4131%2036.8226C39.3723%2035.1099%2040.3808%2031.3214%2038.6681%2028.3622'%20fill='%237D7DBB'/%3e%3cpath%20d='M5.03455%2024.5075L23.2414%2013.8707C27.3441%2011.4734%2027.3294%205.54036%2023.2144%203.16518C20.2527%201.45495%2016.4666%202.46833%2014.7563%205.42995L4.21009%2023.688C3.90092%2024.2229%204.50209%2024.8191%205.03455%2024.5075Z'%20fill='%23A9A8D4'/%3e%3cpath%20d='M20.1153%2026.3478C18.4517%2026.3478%2017.907%2026.019%2017.907%2024.9933V24.8019H19.0185V24.8878C19.0185%2025.3074%2019.2295%2025.408%2020.1031%2025.408C21.0895%2025.408%2021.195%2025.2829%2021.195%2024.5983C21.195%2023.9137%2021.0772%2023.7763%2020.1031%2023.7763C19.3473%2023.7763%2019.1437%2023.8622%2019.0774%2024.2032H17.9928V21.1337H22.1495V22.0808H19.0799V23.2782H19.0921C19.2712%2022.9764%2019.6786%2022.8782%2020.4589%2022.8782C21.7863%2022.8782%2022.3335%2023.234%2022.3335%2024.5737C22.3335%2025.9797%2021.887%2026.3478%2020.1178%2026.3478M20%2018.8345C17.4113%2018.8345%2015.3158%2020.9324%2015.3158%2023.5187C15.3158%2026.1049%2017.4138%2028.2028%2020%2028.2028C22.5863%2028.2028%2024.6842%2026.1049%2024.6842%2023.5187C24.6842%2020.9324%2022.5863%2018.8345%2020%2018.8345Z'%20fill='%239081BD'/%3e%3c/svg%3e", Ln = {
341
+ const $t = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M27.7784%2037.6667H6.69083C3.27029%2037.6667%200.5%2034.894%200.5%2031.476C0.5%2026.7256%205.6308%2023.7444%209.75802%2026.0975L28.0753%2036.5429C28.6102%2036.8496%2028.3943%2037.6667%2027.7784%2037.6667Z'%20fill='%23E9AD80'/%3e%3cpath%20d='M28.0974%2010.1165L38.6657%2028.3622C40.3784%2031.3214%2039.3699%2035.1099%2036.4107%2036.8226C32.2982%2039.2027%2027.1477%2036.2582%2027.1159%2031.5079L26.9735%2010.4232C26.9686%209.80485%2027.7857%209.58401%2028.0949%2010.1165'%20fill='%23E49B67'/%3e%3cpath%20d='M4.21009%2023.6879L14.7563%205.42744C16.4666%202.46828%2020.2527%201.4549%2023.2144%203.16513C27.3294%205.54031%2027.3441%2011.4758%2023.2414%2013.8706L5.03455%2024.5074C4.50209%2024.8191%203.90092%2024.2228%204.21009%2023.6879Z'%20fill='%23ECC09C'/%3e%3cpath%20d='M20.8171%2025.9674H19.6737V21.9114H19.6614L18.3585%2023.0426L17.7278%2022.3187L19.3988%2020.8588H20.8196V25.9674H20.8171ZM20%2018.8345C17.4138%2018.8345%2015.3158%2020.9324%2015.3158%2023.5186C15.3158%2026.1048%2017.4138%2028.2027%2020%2028.2027C22.5863%2028.2027%2024.6842%2026.1048%2024.6842%2023.5186C24.6842%2020.9324%2022.5863%2018.8345%2020%2018.8345Z'%20fill='%23EFC160'/%3e%3c/svg%3e", er = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M27.7784%2037.6667H6.69083C3.27029%2037.6667%200.5%2034.894%200.5%2031.476C0.5%2026.7256%205.6308%2023.7443%209.75802%2026.0974L28.0753%2036.5429C28.6127%2036.8496%2028.3943%2037.6667%2027.7784%2037.6667Z'%20fill='%2395C9EA'/%3e%3cpath%20d='M28.0974%2010.1165L38.6657%2028.3622C40.3784%2031.3214%2039.3699%2035.1099%2036.4107%2036.8226C32.2982%2039.2027%2027.1477%2036.2582%2027.1159%2031.5078L26.9735%2010.4232C26.9686%209.80483%2027.7857%209.584%2028.0974%2010.1165Z'%20fill='%237ABFE4'/%3e%3cpath%20d='M4.21009%2023.6879L14.7563%205.42746C16.4666%202.46829%2020.2527%201.45491%2023.2144%203.16514C27.3294%205.54033%2027.3441%2011.4758%2023.2414%2013.8707L5.03455%2024.5075C4.50209%2024.8191%203.90092%2024.2228%204.21009%2023.6879Z'%20fill='%23B0D5EE'/%3e%3cpath%20d='M22.2354%2025.9674H17.7646V24.9687C17.7646%2024.4044%2017.8702%2024.0093%2018.1253%2023.7517C18.3953%2023.4818%2018.783%2023.337%2019.7424%2023.1873C20.4515%2023.0745%2020.768%2022.996%2020.9128%2022.8512C21.011%2022.753%2021.0502%2022.6205%2021.0502%2022.3506C21.0502%2021.8182%2020.9251%2021.7004%2020.0123%2021.7004C19.0995%2021.7004%2018.9866%2021.8182%2018.9866%2022.4291V22.515H17.8554V22.3187C17.8554%2021.1483%2018.2309%2020.7533%2020.0246%2020.7533C21.8182%2020.7533%2022.2084%2021.1606%2022.2084%2022.331C22.2084%2022.8831%2022.1176%2023.2708%2021.8477%2023.5407C21.5655%2023.8179%2021.1508%2023.9554%2020.2503%2024.0928C19.4749%2024.2105%2019.1854%2024.2891%2019.048%2024.4289C18.9498%2024.5271%2018.9302%2024.6596%2018.9302%2024.9417V25.0129H22.2378V25.9674H22.2354ZM20%2018.8345C17.4138%2018.8345%2015.3158%2020.9324%2015.3158%2023.5186C15.3158%2026.1048%2017.4138%2028.2027%2020%2028.2027C22.5863%2028.2027%2024.6842%2026.1048%2024.6842%2023.5186C24.6842%2020.9324%2022.5863%2018.8345%2020%2018.8345Z'%20fill='%2396D7E1'/%3e%3c/svg%3e", tr = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M28.0753%2036.5428L9.75802%2026.0974C5.6308%2023.7443%200.5%2026.7255%200.5%2031.4759C0.5%2034.8964%203.27274%2037.6666%206.69083%2037.6666H27.7784C28.3968%2037.6666%2028.6127%2036.8471%2028.0778%2036.5428'%20fill='%2398D2AE'/%3e%3cpath%20d='M38.6657%2028.3622L28.0973%2010.1165C27.7882%209.58158%2026.9711%209.80486%2026.976%2010.4232L27.1183%2031.5079C27.1502%2036.2582%2032.3006%2039.2051%2036.4131%2036.8226C39.3723%2035.1099%2040.3808%2031.3214%2038.6681%2028.3622'%20fill='%237FC99C'/%3e%3cpath%20d='M5.03455%2024.5075L23.2414%2013.8707C27.3441%2011.4734%2027.3294%205.54036%2023.2144%203.16518C20.2527%201.45495%2016.4666%202.46833%2014.7563%205.42995L4.21009%2023.688C3.90092%2024.2229%204.50209%2024.8191%205.03455%2024.5075Z'%20fill='%23B1DCC0'/%3e%3cpath%20d='M19.9976%2026.176C18.2824%2026.176%2017.7548%2025.8594%2017.7548%2024.6105V24.4117H18.8664V24.4976C18.8664%2025.1209%2019.0112%2025.2337%2019.9976%2025.2337C20.984%2025.2337%2021.1018%2025.1086%2021.1018%2024.5884C21.1018%2024.0682%2020.9496%2023.9504%2020.0221%2023.9504H19.4038V23.0229H20.0221C20.9496%2023.0229%2021.0478%2022.8978%2021.0478%2022.4193C21.0478%2021.9409%2020.8956%2021.801%2019.9706%2021.801C19.0455%2021.801%2018.9179%2021.9065%2018.9179%2022.4709V22.5567H17.8064V22.3604C17.8064%2021.163%2018.3192%2020.8612%2019.9951%2020.8612C21.671%2020.8612%2022.1912%2021.1974%2022.1912%2022.2427C22.1912%2022.9861%2021.9483%2023.3198%2021.3103%2023.4523V23.4646C21.9876%2023.6216%2022.2427%2023.9578%2022.2427%2024.7332C22.2427%2025.8447%2021.7103%2026.1735%2019.9951%2026.1735M20%2018.8345C17.4138%2018.8345%2015.3158%2020.9324%2015.3158%2023.5186C15.3158%2026.1048%2017.4138%2028.2027%2020%2028.2027C22.5863%2028.2027%2024.6842%2026.1048%2024.6842%2023.5186C24.6842%2020.9324%2022.5863%2018.8345%2020%2018.8345Z'%20fill='%238ECB84'/%3e%3c/svg%3e", rr = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M28.0753%2036.5429L9.75802%2026.0975C5.6308%2023.7444%200.5%2026.7256%200.5%2031.476C0.5%2034.8965%203.27274%2037.6667%206.69083%2037.6667H27.7784C28.3968%2037.6667%2028.6127%2036.8472%2028.0778%2036.5429'%20fill='%23EC8792'/%3e%3cpath%20d='M38.6657%2028.3622L28.0973%2010.1165C27.7882%209.58158%2026.9711%209.80486%2026.976%2010.4232L27.1183%2031.5079C27.1502%2036.2582%2032.3006%2039.2051%2036.4131%2036.8226C39.3723%2035.1099%2040.3808%2031.3214%2038.6681%2028.3622'%20fill='%23E86C7F'/%3e%3cpath%20d='M5.03455%2024.5075L23.2414%2013.8707C27.3441%2011.4734%2027.3294%205.54036%2023.2144%203.16518C20.2527%201.45495%2016.4666%202.46833%2014.7563%205.42995L4.21009%2023.688C3.90092%2024.2229%204.50209%2024.8191%205.03455%2024.5075Z'%20fill='%23F1A4A9'/%3e%3cpath%20d='M22.2477%2025.0276H21.5361V26.0729H20.4638V25.0276H17.4334V23.8449L20.0319%2020.9643H21.5385V24.1001H22.2501V25.0276H22.2477ZM20%2018.8345C17.4138%2018.8345%2015.3158%2020.9324%2015.3158%2023.5186C15.3158%2026.1048%2017.4138%2028.2027%2020%2028.2027C22.5863%2028.2027%2024.6842%2026.1048%2024.6842%2023.5186C24.6842%2020.9324%2022.5863%2018.8345%2020%2018.8345Z'%20fill='%23F3756A'/%3e%3cpath%20d='M18.5131%2024.0879V24.1026H20.4663V21.9261H20.4515L18.5131%2024.0879Z'%20fill='%23E86C7F'/%3e%3c/svg%3e", nr = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M28.0753%2036.5429L9.75802%2026.0975C5.6308%2023.7444%200.5%2026.7256%200.5%2031.476C0.5%2034.8965%203.27274%2037.6667%206.69083%2037.6667H27.7784C28.3968%2037.6667%2028.6127%2036.8472%2028.0753%2036.5429Z'%20fill='%239291C7'/%3e%3cpath%20d='M38.6657%2028.3622L28.0973%2010.1165C27.7882%209.58158%2026.9711%209.80486%2026.976%2010.4232L27.1183%2031.5079C27.1502%2036.2582%2032.3006%2039.2051%2036.4131%2036.8226C39.3723%2035.1099%2040.3808%2031.3214%2038.6681%2028.3622'%20fill='%237D7DBB'/%3e%3cpath%20d='M5.03455%2024.5075L23.2414%2013.8707C27.3441%2011.4734%2027.3294%205.54036%2023.2144%203.16518C20.2527%201.45495%2016.4666%202.46833%2014.7563%205.42995L4.21009%2023.688C3.90092%2024.2229%204.50209%2024.8191%205.03455%2024.5075Z'%20fill='%23A9A8D4'/%3e%3cpath%20d='M20.1153%2026.3478C18.4517%2026.3478%2017.907%2026.019%2017.907%2024.9933V24.8019H19.0185V24.8878C19.0185%2025.3074%2019.2295%2025.408%2020.1031%2025.408C21.0895%2025.408%2021.195%2025.2829%2021.195%2024.5983C21.195%2023.9137%2021.0772%2023.7763%2020.1031%2023.7763C19.3473%2023.7763%2019.1437%2023.8622%2019.0774%2024.2032H17.9928V21.1337H22.1495V22.0808H19.0799V23.2782H19.0921C19.2712%2022.9764%2019.6786%2022.8782%2020.4589%2022.8782C21.7863%2022.8782%2022.3335%2023.234%2022.3335%2024.5737C22.3335%2025.9797%2021.887%2026.3478%2020.1178%2026.3478M20%2018.8345C17.4113%2018.8345%2015.3158%2020.9324%2015.3158%2023.5187C15.3158%2026.1049%2017.4138%2028.2028%2020%2028.2028C22.5863%2028.2028%2024.6842%2026.1049%2024.6842%2023.5187C24.6842%2020.9324%2022.5863%2018.8345%2020%2018.8345Z'%20fill='%239081BD'/%3e%3c/svg%3e", Tn = {
342
342
  1: $t,
343
343
  2: er,
344
344
  3: tr,
@@ -346,7 +346,7 @@ const $t = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%20
346
346
  5: nr
347
347
  };
348
348
  function ee({ triadNumber: e, className: r = "size-10" }) {
349
- const n = Ln[e];
349
+ const n = Tn[e];
350
350
  return n ? /* @__PURE__ */ t("img", { src: n, alt: "", className: `${r} shrink-0 object-contain` }) : null;
351
351
  }
352
352
  const Ee = "text-xl font-bold text-[color:var(--mb-color-text)]";
@@ -388,8 +388,8 @@ const Pn = [
388
388
  { color: "#E53935", position: 0 },
389
389
  { color: "#FFB300", position: 50 },
390
390
  { color: "#4CAF50", position: 100 }
391
- ], Sn = ["0", "20", "40", "60", "80", "100"], Mn = 24, Ct = 26, At = 13, Hn = 2;
392
- function kn(e) {
391
+ ], Sn = ["0", "20", "40", "60", "80", "100"], Mn = 24, Ct = 26, At = 13, kn = 2;
392
+ function Hn(e) {
393
393
  return `linear-gradient(to right, ${e.map((n) => `${n.color} ${n.position}%`).join(", ")})`;
394
394
  }
395
395
  function or({
@@ -399,7 +399,7 @@ function or({
399
399
  labels: a,
400
400
  barHeight: o = Mn
401
401
  }) {
402
- const i = Math.min(100, Math.max(0, r)), s = `${i}%`, c = n ? At + Hn + o : o;
402
+ const i = Math.min(100, Math.max(0, r)), s = `${i}%`, c = n ? At + kn + o : o;
403
403
  return /* @__PURE__ */ l("div", { className: "w-full min-w-0", children: [
404
404
  /* @__PURE__ */ l("div", { className: "relative w-full", style: { height: c }, children: [
405
405
  /* @__PURE__ */ t(
@@ -431,7 +431,7 @@ function or({
431
431
  style: {
432
432
  height: "100%",
433
433
  width: i >= 100 ? "100%" : `${100 / i * 100}%`,
434
- background: kn(e)
434
+ background: Hn(e)
435
435
  }
436
436
  }
437
437
  )
@@ -468,7 +468,7 @@ function et(e) {
468
468
  const n = document.createElement("div");
469
469
  return n.style.backgroundColor = r, n.style.backgroundColor || r;
470
470
  }
471
- function Tt(e) {
471
+ function Lt(e) {
472
472
  const r = e.trim();
473
473
  if (!r || typeof document > "u") return r;
474
474
  const n = document.createElement("div");
@@ -489,14 +489,14 @@ function In(e, r) {
489
489
  return Bn(a, n);
490
490
  }
491
491
  function st() {
492
- const e = F(null), [r, n] = H(null);
492
+ const e = F(null), [r, n] = k(null);
493
493
  return $e(() => {
494
494
  const a = e.current;
495
495
  if (!a) return;
496
496
  const o = getComputedStyle(a), i = o.getPropertyValue("--mb-color-text").trim() || "#1C2024", s = o.getPropertyValue("--mb-color-text-muted").trim() || "#64748b", c = o.getPropertyValue("--mb-color-card-border").trim() || "#e5e5e5", d = o.getPropertyValue("--mb-color-badge-value-bg").trim() || "#f1f5f9", m = o.getPropertyValue("--mb-color-card-bg").trim() || "#ffffff";
497
497
  n({
498
- colorText: Tt(i),
499
- colorTextMuted: Tt(s),
498
+ colorText: Lt(i),
499
+ colorTextMuted: Lt(s),
500
500
  colorCardBorder: et(c),
501
501
  colorBadgeValueBg: In(d, m),
502
502
  fontFamily: o.fontFamily || "ui-sans-serif, system-ui, sans-serif"
@@ -908,7 +908,7 @@ function Wn(e) {
908
908
  b: parseInt(r.slice(4, 6), 16)
909
909
  };
910
910
  }
911
- function Lt(e, r = 0.3) {
911
+ function Tt(e, r = 0.3) {
912
912
  const n = Wn(e);
913
913
  if (!n) return e;
914
914
  const a = Math.round(n.r + (255 - n.r) * (1 - r)), o = Math.round(n.g + (255 - n.g) * (1 - r)), i = Math.round(n.b + (255 - n.b) * (1 - r));
@@ -916,11 +916,11 @@ function Lt(e, r = 0.3) {
916
916
  }
917
917
  function Un(e, r) {
918
918
  const n = e.length, a = e.slice(0, -1).map((i, s) => ({
919
- color: s === r ? i.activeColor ?? i.color : Lt(i.color),
919
+ color: s === r ? i.activeColor ?? i.color : Tt(i.color),
920
920
  stop: (s + 1) * 100 / n
921
921
  })), o = e[n - 1];
922
922
  return a.push({
923
- color: n - 1 === r ? o.activeColor ?? o.color : Lt(o.color),
923
+ color: n - 1 === r ? o.activeColor ?? o.color : Tt(o.color),
924
924
  stop: void 0
925
925
  }), a;
926
926
  }
@@ -1181,7 +1181,7 @@ function St({ rows: e = [] }) {
1181
1181
  `${r.left}-${n}`
1182
1182
  )) });
1183
1183
  }
1184
- function Ls(e) {
1184
+ function Ps(e) {
1185
1185
  const {
1186
1186
  metricTitle: r,
1187
1187
  statusText: n,
@@ -1193,7 +1193,7 @@ function Ls(e) {
1193
1193
  nutrientsLeadParagraph: d,
1194
1194
  nutrientRows: m
1195
1195
  } = e, b = Kn(he, a);
1196
- return /* @__PURE__ */ l(T, { className: "flex flex-col gap-4", children: [
1196
+ return /* @__PURE__ */ l(L, { className: "flex flex-col gap-4", children: [
1197
1197
  /* @__PURE__ */ l("div", { className: "flex flex-wrap items-start justify-between gap-3", children: [
1198
1198
  /* @__PURE__ */ t("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children: r }),
1199
1199
  /* @__PURE__ */ t("p", { className: "text-xl font-bold", style: { color: b }, children: n })
@@ -1230,7 +1230,7 @@ function Mt(e) {
1230
1230
  function te(e) {
1231
1231
  return Math.min(100, Math.max(0, e));
1232
1232
  }
1233
- function ke(e) {
1233
+ function He(e) {
1234
1234
  if (e === void 0 || e === "") return null;
1235
1235
  const r = Number.parseFloat(String(e).replace(/,/g, ""));
1236
1236
  return Number.isFinite(r) ? r : null;
@@ -1264,7 +1264,7 @@ function aa(e, r, n, a) {
1264
1264
  return te(2 * d + g * d);
1265
1265
  }
1266
1266
  function Z({ content: e, children: r, side: n = "top" }) {
1267
- const a = at(), o = F(null), i = F(null), [s, c] = H(!1), [d, m] = H(null), b = F(null), g = B(() => {
1267
+ const a = at(), o = F(null), i = F(null), [s, c] = k(!1), [d, m] = k(null), b = F(null), g = I(() => {
1268
1268
  b.current !== null && cancelAnimationFrame(b.current), b.current = requestAnimationFrame(() => {
1269
1269
  b.current = null;
1270
1270
  const h = o.current, f = i.current;
@@ -1433,7 +1433,7 @@ function me(e, r) {
1433
1433
  const n = e.length, a = Math.min(100, Math.max(0, r)), o = 100 / n, i = Math.min(n - 1, Math.floor(a / o));
1434
1434
  return (s = e[i]) == null ? void 0 : s.color;
1435
1435
  }
1436
- function Ht({
1436
+ function kt({
1437
1437
  columnHeaders: e,
1438
1438
  rows: r,
1439
1439
  rangeBar: n
@@ -1675,7 +1675,7 @@ function ne(e) {
1675
1675
  }
1676
1676
  ),
1677
1677
  /* @__PURE__ */ t(
1678
- Ht,
1678
+ kt,
1679
1679
  {
1680
1680
  columnHeaders: [h, f],
1681
1681
  rows: [
@@ -1702,7 +1702,7 @@ function ne(e) {
1702
1702
  trendBar: i,
1703
1703
  onCategoryClick: s
1704
1704
  } = e, c = aa(
1705
- ke(r.totalScore),
1705
+ He(r.totalScore),
1706
1706
  o,
1707
1707
  r.trendIndicatorPercent,
1708
1708
  i
@@ -1721,7 +1721,7 @@ function ne(e) {
1721
1721
  children: /* @__PURE__ */ l(ce, { trendColor: d, children: [
1722
1722
  /* @__PURE__ */ t(de, { title: r.title, trendColor: d }),
1723
1723
  /* @__PURE__ */ t(
1724
- Ht,
1724
+ kt,
1725
1725
  {
1726
1726
  columnHeaders: [n, a],
1727
1727
  rows: [
@@ -1772,7 +1772,7 @@ function ua(e) {
1772
1772
  descriptionPrimary: c,
1773
1773
  descriptionSecondary: d
1774
1774
  } = e;
1775
- return /* @__PURE__ */ l(T, { className: "flex min-w-0 flex-col", children: [
1775
+ return /* @__PURE__ */ l(L, { className: "flex min-w-0 flex-col", children: [
1776
1776
  /* @__PURE__ */ l("div", { className: "mb-6 flex flex-wrap items-center justify-between gap-3", children: [
1777
1777
  /* @__PURE__ */ l("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
1778
1778
  /* @__PURE__ */ t(ee, { triadNumber: r }),
@@ -1802,13 +1802,13 @@ function ua(e) {
1802
1802
  ] });
1803
1803
  }
1804
1804
  const ba = "flex items-baseline justify-between gap-3", ha = "text-[color:var(--mb-color-text-muted)]", fa = "text-right font-medium text-[color:var(--mb-color-text)]";
1805
- function kt({ label: e, value: r }) {
1805
+ function Ht({ label: e, value: r }) {
1806
1806
  return /* @__PURE__ */ l("div", { className: ba, children: [
1807
1807
  /* @__PURE__ */ t("span", { className: ha, children: e }),
1808
1808
  /* @__PURE__ */ t("span", { className: fa, children: r })
1809
1809
  ] });
1810
1810
  }
1811
- function Ps({
1811
+ function Ss({
1812
1812
  title: e,
1813
1813
  valueDisplay: r,
1814
1814
  indicatorPercent: n,
@@ -1822,7 +1822,7 @@ function Ps({
1822
1822
  onInfoClick: b,
1823
1823
  onDownloadClick: g
1824
1824
  }) {
1825
- return /* @__PURE__ */ l(T, { className: "flex flex-col", children: [
1825
+ return /* @__PURE__ */ l(L, { className: "flex flex-col", children: [
1826
1826
  /* @__PURE__ */ t(
1827
1827
  it,
1828
1828
  {
@@ -1863,8 +1863,8 @@ function Ps({
1863
1863
  }
1864
1864
  ),
1865
1865
  /* @__PURE__ */ l("div", { className: "mt-6 space-y-0 pt-3 text-sm", children: [
1866
- /* @__PURE__ */ t("div", { className: "pb-3", children: /* @__PURE__ */ t(kt, { label: a, value: o }) }),
1867
- /* @__PURE__ */ t("div", { className: "border-t border-gray-200 pt-3", children: /* @__PURE__ */ t(kt, { label: i, value: s }) })
1866
+ /* @__PURE__ */ t("div", { className: "pb-3", children: /* @__PURE__ */ t(Ht, { label: a, value: o }) }),
1867
+ /* @__PURE__ */ t("div", { className: "border-t border-gray-200 pt-3", children: /* @__PURE__ */ t(Ht, { label: i, value: s }) })
1868
1868
  ] })
1869
1869
  ] });
1870
1870
  }
@@ -1893,8 +1893,8 @@ function hr({
1893
1893
  }
1894
1894
  );
1895
1895
  return /* @__PURE__ */ l("div", { className: "grid min-w-0 grid-cols-1 gap-6 xl:grid-cols-2 xl:items-stretch", children: [
1896
- i ? /* @__PURE__ */ t("div", { className: "min-w-0", children: s }) : /* @__PURE__ */ t(T, { className: "min-w-0 xl:flex-1", children: s }),
1897
- i ? /* @__PURE__ */ t("div", { className: "flex min-w-0 items-center", children: c }) : /* @__PURE__ */ t(T, { className: "flex min-w-0 xl:flex-1 xl:flex-col xl:justify-center", children: c })
1896
+ i ? /* @__PURE__ */ t("div", { className: "min-w-0", children: s }) : /* @__PURE__ */ t(L, { className: "min-w-0 xl:flex-1", children: s }),
1897
+ i ? /* @__PURE__ */ t("div", { className: "flex min-w-0 items-center", children: c }) : /* @__PURE__ */ t(L, { className: "flex min-w-0 xl:flex-1 xl:flex-col xl:justify-center", children: c })
1898
1898
  ] });
1899
1899
  }
1900
1900
  function K({
@@ -2064,8 +2064,8 @@ function Be(e) {
2064
2064
  )
2065
2065
  ] });
2066
2066
  }
2067
- function Ss({ children: e }) {
2068
- return /* @__PURE__ */ l(T, { className: "flex h-full min-h-0 min-w-0 flex-col", children: [
2067
+ function Ms({ children: e }) {
2068
+ return /* @__PURE__ */ l(L, { className: "flex h-full min-h-0 min-w-0 flex-col", children: [
2069
2069
  /* @__PURE__ */ t(it, { title: "Metabolic Triad", className: "!mb-3 shrink-0" }),
2070
2070
  /* @__PURE__ */ t("div", { className: "min-h-0 flex-1 space-y-3 text-sm leading-relaxed text-[color:var(--mb-color-text-muted)]", children: e })
2071
2071
  ] });
@@ -2088,7 +2088,7 @@ function gr(e) {
2088
2088
  previousRangeLabel: P,
2089
2089
  onCategoryInfoClick: A
2090
2090
  } = e, S = N ?? [];
2091
- return /* @__PURE__ */ l(T, { className: "flex flex-col", children: [
2091
+ return /* @__PURE__ */ l(L, { className: "flex flex-col", children: [
2092
2092
  /* @__PURE__ */ l("div", { className: "mb-4 flex flex-col gap-3 sm:flex-row sm:flex-wrap sm:items-center sm:justify-start sm:gap-4", children: [
2093
2093
  /* @__PURE__ */ l("div", { className: "flex min-w-0 w-full flex-1 items-center gap-2 sm:w-auto", children: [
2094
2094
  /* @__PURE__ */ t(ee, { triadNumber: p }),
@@ -2102,16 +2102,16 @@ function gr(e) {
2102
2102
  }
2103
2103
  )
2104
2104
  ] }),
2105
- /* @__PURE__ */ t("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-2 xl:grid-cols-3", children: S.map((L) => /* @__PURE__ */ t(
2105
+ /* @__PURE__ */ t("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-2 xl:grid-cols-3", children: S.map((T) => /* @__PURE__ */ t(
2106
2106
  ne,
2107
2107
  {
2108
2108
  layout: "questionnaire",
2109
- category: L,
2109
+ category: T,
2110
2110
  currentRangeLabel: w,
2111
2111
  previousRangeLabel: P,
2112
2112
  onInfoClick: A
2113
2113
  },
2114
- L.title
2114
+ T.title
2115
2115
  )) })
2116
2116
  ] });
2117
2117
  }
@@ -2127,8 +2127,8 @@ function gr(e) {
2127
2127
  categories: b,
2128
2128
  onInfoClick: g,
2129
2129
  onCategoryClick: v
2130
- } = e, u = b ?? [], h = u.map((p) => ke(p.totalScore));
2131
- return /* @__PURE__ */ l(T, { className: "flex flex-col", children: [
2130
+ } = e, u = b ?? [], h = u.map((p) => He(p.totalScore));
2131
+ return /* @__PURE__ */ l(L, { className: "flex flex-col", children: [
2132
2132
  /* @__PURE__ */ l("div", { className: "mb-4 flex flex-col gap-3 sm:flex-row sm:flex-wrap sm:items-center sm:justify-start sm:gap-4", children: [
2133
2133
  /* @__PURE__ */ l("div", { className: "flex min-w-0 w-full flex-1 items-center gap-2 sm:w-auto", children: [
2134
2134
  /* @__PURE__ */ t(ee, { triadNumber: n }),
@@ -2179,7 +2179,7 @@ function wa({
2179
2179
  centerValueColor: i
2180
2180
  }) {
2181
2181
  const s = o ?? a;
2182
- return /* @__PURE__ */ l(T, { className: "min-w-0 overflow-x-clip", children: [
2182
+ return /* @__PURE__ */ l(L, { className: "min-w-0 overflow-x-clip", children: [
2183
2183
  /* @__PURE__ */ l("div", { className: "mb-4 flex min-w-0 items-center gap-1.5", children: [
2184
2184
  /* @__PURE__ */ t("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)] m-0 p-0", children: e }),
2185
2185
  a && s ? /* @__PURE__ */ t(Z, { content: s, children: /* @__PURE__ */ t(
@@ -2196,7 +2196,7 @@ function wa({
2196
2196
  /* @__PURE__ */ t(lr, { value: r, max: n, centerValueColor: i })
2197
2197
  ] });
2198
2198
  }
2199
- const ya = "flex min-h-10 items-center justify-between gap-4 py-3.5 text-sm leading-5 text-[color:var(--mb-color-text)]", Na = "border-t border-[color:var(--mb-color-card-border)]", Ca = "flex min-w-0 flex-1 items-center gap-3", Aa = "flex size-5 shrink-0 items-center justify-center text-[color:var(--mb-color-text-muted)]", Ta = "size-[18px] shrink-0";
2199
+ const ya = "flex min-h-10 items-center justify-between gap-4 py-3.5 text-sm leading-5 text-[color:var(--mb-color-text)]", Na = "border-t border-[color:var(--mb-color-card-border)]", Ca = "flex min-w-0 flex-1 items-center gap-3", Aa = "flex size-5 shrink-0 items-center justify-center text-[color:var(--mb-color-text-muted)]", La = "size-[18px] shrink-0";
2200
2200
  function Xe({
2201
2201
  Icon: e,
2202
2202
  label: r,
@@ -2205,13 +2205,13 @@ function Xe({
2205
2205
  }) {
2206
2206
  return /* @__PURE__ */ l("li", { className: `${ya} ${a ? Na : ""}`, children: [
2207
2207
  /* @__PURE__ */ l("span", { className: Ca, children: [
2208
- /* @__PURE__ */ t("span", { className: Aa, "aria-hidden": !0, children: /* @__PURE__ */ t(e, { className: Ta }) }),
2208
+ /* @__PURE__ */ t("span", { className: Aa, "aria-hidden": !0, children: /* @__PURE__ */ t(e, { className: La }) }),
2209
2209
  /* @__PURE__ */ t("span", { className: "min-w-0 truncate", children: r })
2210
2210
  ] }),
2211
2211
  /* @__PURE__ */ t(_, { variant: "value", children: n })
2212
2212
  ] });
2213
2213
  }
2214
- function La({
2214
+ function Ta({
2215
2215
  sectionTitle: e,
2216
2216
  scorePercent: r,
2217
2217
  score: n,
@@ -2226,7 +2226,7 @@ function La({
2226
2226
  wearableValueLabel: g
2227
2227
  }) {
2228
2228
  const v = i ?? o, u = !!(s && c), h = !!(d && m), f = !!(b && g), p = u || h || f;
2229
- return /* @__PURE__ */ l(T, { className: "min-w-0", children: [
2229
+ return /* @__PURE__ */ l(L, { className: "min-w-0", children: [
2230
2230
  /* @__PURE__ */ l("div", { className: "mb-4 flex items-start justify-between gap-4", children: [
2231
2231
  /* @__PURE__ */ l("div", { className: "flex min-w-0 flex-1 items-center gap-1.5", children: [
2232
2232
  /* @__PURE__ */ t("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)] m-0 p-0", children: e }),
@@ -2286,17 +2286,17 @@ function La({
2286
2286
  ] });
2287
2287
  }
2288
2288
  function Pa({ title: e, items: r = [] }) {
2289
- return /* @__PURE__ */ l(T, { className: "flex flex-col gap-2", children: [
2289
+ return /* @__PURE__ */ l(L, { className: "flex flex-col gap-2", children: [
2290
2290
  /* @__PURE__ */ t("h2", { className: "text-xl font-bold leading-7 tracking-[-0.08px] text-[color:var(--mb-color-text)]", children: e }),
2291
2291
  /* @__PURE__ */ t("div", { className: "w-full overflow-hidden", children: r.map((n, a) => /* @__PURE__ */ t(Yn, { text: n, isFirst: a === 0 }, n)) })
2292
2292
  ] });
2293
2293
  }
2294
- function Ms({
2294
+ function ks({
2295
2295
  heading: e,
2296
2296
  initials: r,
2297
2297
  rows: n = []
2298
2298
  }) {
2299
- return /* @__PURE__ */ l(T, { className: "min-w-0", children: [
2299
+ return /* @__PURE__ */ l(L, { className: "min-w-0", children: [
2300
2300
  e ? /* @__PURE__ */ t("h2", { className: "m-0 mb-4 p-0 text-xl font-bold text-[color:var(--mb-color-text)]", children: e }) : null,
2301
2301
  /* @__PURE__ */ l("div", { className: "flex min-w-0 flex-col gap-4 sm:flex-row sm:items-center", children: [
2302
2302
  /* @__PURE__ */ t("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-lg font-semibold text-neutral-700 sm:mx-0", children: r }),
@@ -2326,7 +2326,7 @@ function Sa({
2326
2326
  var m;
2327
2327
  return (m = d.dosage) == null ? void 0 : m.trim();
2328
2328
  });
2329
- return /* @__PURE__ */ l(T, { className: "flex flex-col gap-4", children: [
2329
+ return /* @__PURE__ */ l(L, { className: "flex flex-col gap-4", children: [
2330
2330
  /* @__PURE__ */ l("div", { className: "flex min-w-0 flex-col gap-3 sm:flex-row sm:items-start sm:justify-between", children: [
2331
2331
  /* @__PURE__ */ t("h2", { className: "min-w-0 text-xl font-bold leading-7 tracking-[-0.08px] text-[color:var(--mb-color-text)] sm:flex-1", children: e }),
2332
2332
  /* @__PURE__ */ t("div", { className: "flex w-full shrink-0 justify-start sm:w-auto", children: /* @__PURE__ */ t($n, { triadNumbers: r }) })
@@ -2365,7 +2365,7 @@ function Hs({
2365
2365
  viewReportButtonLabel: c,
2366
2366
  onViewReport: d
2367
2367
  }) {
2368
- return /* @__PURE__ */ l(T, { className: "flex h-full min-h-0 flex-col", children: [
2368
+ return /* @__PURE__ */ l(L, { className: "flex h-full min-h-0 flex-col", children: [
2369
2369
  /* @__PURE__ */ t(
2370
2370
  it,
2371
2371
  {
@@ -2400,8 +2400,8 @@ function Hs({
2400
2400
  ] })
2401
2401
  ] });
2402
2402
  }
2403
- function ks({ title: e, children: r, actions: n }) {
2404
- return /* @__PURE__ */ l(T, { className: "min-w-0 flex flex-col", children: [
2403
+ function js({ title: e, children: r, actions: n }) {
2404
+ return /* @__PURE__ */ l(L, { className: "min-w-0 flex flex-col", children: [
2405
2405
  /* @__PURE__ */ t("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children: e }),
2406
2406
  r,
2407
2407
  /* @__PURE__ */ t("div", { className: "mt-6 flex flex-wrap gap-3", children: n })
@@ -2411,11 +2411,11 @@ const Ma = {
2411
2411
  low: "text-[#86CD95]",
2412
2412
  moderate: "text-[#E1CB7F]",
2413
2413
  high: "text-[#E97180]"
2414
- }, Ha = {
2414
+ }, ka = {
2415
2415
  low: 0,
2416
2416
  moderate: 1,
2417
2417
  high: 2
2418
- }, ka = {
2418
+ }, Ha = {
2419
2419
  low: 100 / 3 * 0.5,
2420
2420
  moderate: 100 / 3 * 1.5,
2421
2421
  high: 100 / 3 * 2.5
@@ -2426,7 +2426,7 @@ function Ve(e) {
2426
2426
  function ja(e, r) {
2427
2427
  return e <= r.low.max ? "low" : e <= r.moderate.max ? "moderate" : "high";
2428
2428
  }
2429
- function js({
2429
+ function Bs({
2430
2430
  title: e,
2431
2431
  score: r,
2432
2432
  infoAriaLabel: n,
@@ -2434,8 +2434,8 @@ function js({
2434
2434
  zones: o,
2435
2435
  onInfoClick: i
2436
2436
  }) {
2437
- const s = ja(r, o), c = ka[s];
2438
- return /* @__PURE__ */ l(T, { className: "flex flex-col", children: [
2437
+ const s = ja(r, o), c = Ha[s];
2438
+ return /* @__PURE__ */ l(L, { className: "flex flex-col", children: [
2439
2439
  /* @__PURE__ */ l("div", { className: "mb-5 flex flex-col gap-2 sm:flex-row sm:items-center sm:justify-between sm:gap-3", children: [
2440
2440
  /* @__PURE__ */ l("div", { className: "flex min-w-0 items-center gap-2 sm:min-w-0 sm:flex-1", children: [
2441
2441
  /* @__PURE__ */ t("h2", { className: "min-w-0 flex-1 break-words text-lg font-bold leading-snug text-[color:var(--mb-color-text)] sm:text-xl", children: e }),
@@ -2477,7 +2477,7 @@ function js({
2477
2477
  segments: Y,
2478
2478
  indicatorPercent: c,
2479
2479
  indicatorPosition: "segmentCenter",
2480
- highlightedSegmentIndex: Ha[s]
2480
+ highlightedSegmentIndex: ka[s]
2481
2481
  }
2482
2482
  )
2483
2483
  ] });
@@ -2581,9 +2581,9 @@ function za({
2581
2581
  }
2582
2582
  );
2583
2583
  }
2584
- const zt = _t(k), Oa = ["--mb-color-focus-ring", "--mb-color-focus-offset"];
2584
+ const zt = _t(H), Oa = ["--mb-color-focus-ring", "--mb-color-focus-offset"];
2585
2585
  function Ea() {
2586
- const e = F(zt), [, r] = H(0);
2586
+ const e = F(zt), [, r] = k(0);
2587
2587
  return V(() => {
2588
2588
  const n = { ...zt }, a = document.querySelector(".mb-root");
2589
2589
  if (a instanceof HTMLElement) {
@@ -2615,10 +2615,10 @@ function Fa({
2615
2615
  organContent: b
2616
2616
  }) {
2617
2617
  var ie, ge, pe, xe, ve, se, J, xt, vt, wt;
2618
- const g = at(), [v, u] = H(!1), [h, f] = H(e), [p, y] = H(!1), C = Ea(), N = m && b ? b[m] : void 0, w = s != null ? {
2618
+ const g = at(), [v, u] = k(!1), [h, f] = k(e), [p, y] = k(!1), C = Ea(), N = m && b ? b[m] : void 0, w = s != null ? {
2619
2619
  ...s,
2620
2620
  currentDateLabel: ((ie = s.currentDateLabel) == null ? void 0 : ie.trim()) || (c == null ? void 0 : c.trim()) || void 0
2621
- } : void 0, P = ((ge = w == null ? void 0 : w.name) == null ? void 0 : ge.trim()) || n.trim() || "Category", A = Da(a, P), S = d != null && ((pe = w == null ? void 0 : w.name) != null && pe.trim()) ? `Triad ${d}: ${w.name.trim()}` : d != null ? `Triad ${d}` : n, L = (xe = w == null ? void 0 : w.previousSymptomScore) == null ? void 0 : xe.trim(), z = (ve = w == null ? void 0 : w.previousLabScore) == null ? void 0 : ve.trim(), G = (se = w == null ? void 0 : w.previousTotalScore) == null ? void 0 : se.trim(), D = !!(L && L !== "—" && L !== "-" && L !== "–") || !!(z && z !== "—" && z !== "-" && z !== "–") || !!(G && G !== "—" && G !== "-" && G !== "–"), q = ((J = w == null ? void 0 : w.previousDateLabel) == null ? void 0 : J.trim()) || "Previous", $ = ((xt = w == null ? void 0 : w.currentDateLabel) == null ? void 0 : xt.trim()) || "Current", ze = w != null && !!((vt = w.currentDateLabel) != null && vt.trim()) && !!((wt = w.previousDateLabel) != null && wt.trim()) && D;
2621
+ } : void 0, P = ((ge = w == null ? void 0 : w.name) == null ? void 0 : ge.trim()) || n.trim() || "Category", A = Da(a, P), S = d != null && ((pe = w == null ? void 0 : w.name) != null && pe.trim()) ? `Triad ${d}: ${w.name.trim()}` : d != null ? `Triad ${d}` : n, T = (xe = w == null ? void 0 : w.previousSymptomScore) == null ? void 0 : xe.trim(), z = (ve = w == null ? void 0 : w.previousLabScore) == null ? void 0 : ve.trim(), G = (se = w == null ? void 0 : w.previousTotalScore) == null ? void 0 : se.trim(), B = !!(T && T !== "—" && T !== "-" && T !== "–") || !!(z && z !== "—" && z !== "-" && z !== "–") || !!(G && G !== "—" && G !== "-" && G !== "–"), q = ((J = w == null ? void 0 : w.previousDateLabel) == null ? void 0 : J.trim()) || "Previous", $ = ((xt = w == null ? void 0 : w.currentDateLabel) == null ? void 0 : xt.trim()) || "Current", ze = w != null && !!((vt = w.currentDateLabel) != null && vt.trim()) && !!((wt = w.previousDateLabel) != null && wt.trim()) && B;
2622
2622
  return V(() => {
2623
2623
  y(!0);
2624
2624
  }, []), V(() => {
@@ -2755,7 +2755,7 @@ function Fa({
2755
2755
  },
2756
2756
  currentRangeLabel: $,
2757
2757
  previousRangeLabel: q,
2758
- siblingTotals: [ke(w.totalScore)]
2758
+ siblingTotals: [He(w.totalScore)]
2759
2759
  }
2760
2760
  ) : /* @__PURE__ */ t(
2761
2761
  ne,
@@ -2853,7 +2853,7 @@ function Ga({
2853
2853
  organContent: m
2854
2854
  }) {
2855
2855
  var f;
2856
- const [b, g] = H(!1), v = (o == null ? void 0 : o.bodyParagraphs) ?? [], u = ((f = o == null ? void 0 : o.panelTitle) == null ? void 0 : f.trim()) || e, h = o == null ? void 0 : o.organKey;
2856
+ const [b, g] = k(!1), v = (o == null ? void 0 : o.bodyParagraphs) ?? [], u = ((f = o == null ? void 0 : o.panelTitle) == null ? void 0 : f.trim()) || e, h = o == null ? void 0 : o.organKey;
2857
2857
  return /* @__PURE__ */ l(ae, { children: [
2858
2858
  /* @__PURE__ */ l(
2859
2859
  M,
@@ -2898,67 +2898,62 @@ function le({
2898
2898
  organContent: o,
2899
2899
  metricLabels: i = Ya,
2900
2900
  metricSlots: s = 3,
2901
- layoutBreakpoint: c
2901
+ layoutBreakpoint: c,
2902
+ rowSize: d
2902
2903
  }) {
2903
- const d = e.infoTooltip ?? e.infoAriaLabel, m = e.status === "optimal", b = e.status === "high", g = e.status === "low", v = m ? "border-[#3a9e6a]" : b || g ? "border-[#d94040]" : "border-[#e09a1a]", u = m ? "bg-[#e8f6ee]" : b || g ? "bg-[#fdecec]" : "bg-[#fff8eb]", h = m ? "OPTIMAL" : b ? "HIGH" : g ? "LOW" : "TRENDING", f = m ? "trendRowStatusOptimal" : b ? "trendRowStatusHigh" : g ? "trendRowStatusLow" : "trendRowStatusTrending", p = s === 2, y = c ?? (p ? "2xl" : "xl"), C = y === "2xl" ? "2xl:flex-row 2xl:items-stretch" : "xl:flex-row xl:items-stretch", N = y === "2xl" ? "2xl:shrink-0 2xl:w-[14rem]" : "xl:shrink-0 xl:w-[14rem]", w = y === "2xl" ? "2xl:shrink-0 2xl:w-[20rem]" : "xl:shrink-0 xl:w-[20rem]", P = p ? y === "2xl" ? "sm:grid-cols-2 2xl:mx-auto 2xl:w-full 2xl:max-w-[50rem] 2xl:border-t-0 2xl:px-8 2xl:py-1" : "sm:grid-cols-2 xl:mx-auto xl:w-full xl:max-w-[50rem] xl:border-t-0 xl:px-8 xl:py-1" : y === "2xl" ? "sm:grid-cols-3 2xl:border-t-0 2xl:px-16 2xl:py-1" : "sm:grid-cols-3 xl:border-t-0 xl:px-16 xl:py-1", A = p ? y === "2xl" ? "2xl:shrink-0 2xl:w-[9rem]" : "xl:shrink-0 xl:w-[9rem]" : y === "2xl" ? "2xl:shrink-0 2xl:w-[7rem]" : "xl:shrink-0 xl:w-[7rem]", S = (L, z, G) => /* @__PURE__ */ l("span", { className: "flex min-w-0 max-w-full items-center gap-1.5", children: [
2904
- /* @__PURE__ */ t("span", { className: "shrink-0 text-xs text-[color:var(--mb-color-text-muted)] sm:text-sm", children: L }),
2904
+ const m = e.infoTooltip ?? e.infoAriaLabel, b = e.status === "optimal", g = e.status === "high", v = e.status === "low", u = b ? "border-[#3a9e6a]" : g || v ? "border-[#d94040]" : "border-[#e09a1a]", h = b ? "bg-[#e8f6ee]" : g || v ? "bg-[#fdecec]" : "bg-[#fff8eb]", f = b ? "OPTIMAL" : g ? "HIGH" : v ? "LOW" : "TRENDING", p = b ? "trendRowStatusOptimal" : g ? "trendRowStatusHigh" : v ? "trendRowStatusLow" : "trendRowStatusTrending", y = s === 2, C = d ? d === "wellness" : y, N = c ?? (y ? "2xl" : "xl"), w = N === "2xl" ? "2xl:flex-row 2xl:items-stretch" : "xl:flex-row xl:items-stretch", P = C ? N === "2xl" ? "2xl:shrink-0 2xl:w-[20rem]" : "xl:shrink-0 xl:w-[20rem]" : N === "2xl" ? "2xl:shrink-0 2xl:w-[14rem]" : "xl:shrink-0 xl:w-[14rem]", A = y ? N === "2xl" ? "sm:grid-cols-2 2xl:mx-auto 2xl:w-full 2xl:max-w-[50rem] 2xl:border-t-0 2xl:px-8 2xl:py-1" : "sm:grid-cols-2 xl:mx-auto xl:w-full xl:max-w-[50rem] xl:border-t-0 xl:px-8 xl:py-1" : N === "2xl" ? "sm:grid-cols-3 2xl:border-t-0 2xl:px-16 2xl:py-1" : "sm:grid-cols-3 xl:border-t-0 xl:px-16 xl:py-1", S = y || C ? N === "2xl" ? "2xl:shrink-0 2xl:w-[9rem]" : "xl:shrink-0 xl:w-[9rem]" : N === "2xl" ? "2xl:shrink-0 2xl:w-[7rem]" : "xl:shrink-0 xl:w-[7rem]", T = (z, G, B) => /* @__PURE__ */ l("span", { className: "flex min-w-0 max-w-full items-center gap-1.5", children: [
2905
+ /* @__PURE__ */ t("span", { className: "shrink-0 text-xs text-[color:var(--mb-color-text-muted)] sm:text-sm", children: z }),
2905
2906
  /* @__PURE__ */ t(
2906
2907
  _,
2907
2908
  {
2908
2909
  variant: "value",
2909
- className: `!bg-[#EBEBEB] !text-[#1C2024] min-h-[1.5rem] min-w-[2.25rem] max-w-full shrink truncate tabular-nums ${G ? "font-bold" : ""}`,
2910
- children: z
2910
+ className: `!bg-[#EBEBEB] !text-[#1C2024] min-h-[1.5rem] min-w-[2.25rem] max-w-full shrink truncate tabular-nums ${B ? "font-bold" : ""}`,
2911
+ children: G
2911
2912
  }
2912
2913
  )
2913
2914
  ] });
2914
2915
  return /* @__PURE__ */ l(
2915
2916
  "div",
2916
2917
  {
2917
- 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:1px] ${C} ${v}`,
2918
+ 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:1px] ${w} ${u}`,
2918
2919
  children: [
2920
+ /* @__PURE__ */ l("div", { className: `flex min-w-0 items-center gap-2 px-3 ${P} ${h}`, children: [
2921
+ /* @__PURE__ */ t(Z, { content: m, children: /* @__PURE__ */ t(
2922
+ M,
2923
+ {
2924
+ type: "button",
2925
+ align: "center",
2926
+ "aria-label": e.infoAriaLabel,
2927
+ className: `${X} !m-0 shrink-0 !border-0 !bg-transparent !shadow-none hover:!bg-black/5`,
2928
+ children: /* @__PURE__ */ t(E, { className: "size-4 text-[color:var(--mb-color-text-muted)]" })
2929
+ }
2930
+ ) }),
2931
+ /* @__PURE__ */ t("span", { className: "min-w-0 flex-1 whitespace-normal break-normal text-xs font-bold uppercase leading-snug tracking-wide text-[color:var(--mb-color-text)] sm:text-sm", children: e.name })
2932
+ ] }),
2919
2933
  /* @__PURE__ */ l(
2920
2934
  "div",
2921
2935
  {
2922
- className: `flex min-w-0 items-center gap-2 px-3 ${p ? w : N} ${u}`,
2923
- children: [
2924
- /* @__PURE__ */ t(Z, { content: d, children: /* @__PURE__ */ t(
2925
- M,
2926
- {
2927
- type: "button",
2928
- align: "center",
2929
- "aria-label": e.infoAriaLabel,
2930
- className: `${X} !m-0 shrink-0 !border-0 !bg-transparent !shadow-none hover:!bg-black/5`,
2931
- children: /* @__PURE__ */ t(E, { className: "size-4 text-[color:var(--mb-color-text-muted)]" })
2932
- }
2933
- ) }),
2934
- /* @__PURE__ */ t("span", { className: "min-w-0 flex-1 whitespace-normal break-normal text-xs font-bold uppercase leading-snug tracking-wide text-[color:var(--mb-color-text)] sm:text-sm", children: e.name })
2935
- ]
2936
- }
2937
- ),
2938
- /* @__PURE__ */ l(
2939
- "div",
2940
- {
2941
- className: `grid min-w-0 flex-1 grid-cols-1 gap-y-2 border-t border-[color:var(--mb-color-card-border)] bg-[color:var(--mb-color-card-bg)] px-3 py-2 sm:gap-x-3 sm:gap-y-0 ${P}`,
2936
+ className: `grid min-w-0 flex-1 grid-cols-1 gap-y-2 border-t border-[color:var(--mb-color-card-border)] bg-[color:var(--mb-color-card-bg)] px-3 py-2 sm:gap-x-3 sm:gap-y-0 ${A}`,
2942
2937
  children: [
2943
- /* @__PURE__ */ t("div", { className: `flex min-w-0 ${p ? "justify-center" : "justify-start"}`, children: S(i[0], e.symptomScore) }),
2938
+ /* @__PURE__ */ t("div", { className: `flex min-w-0 ${y ? "justify-center" : "justify-start"}`, children: T(i[0], e.symptomScore) }),
2944
2939
  /* @__PURE__ */ t(
2945
2940
  "div",
2946
2941
  {
2947
- className: `flex min-w-0 ${p ? "justify-center" : "justify-start ml-0 md:ml-16"}`,
2948
- children: S(i[1], e.labScore, p)
2942
+ className: `flex min-w-0 ${y ? "justify-center" : "justify-start ml-0 md:ml-16"}`,
2943
+ children: T(i[1], e.labScore, y)
2949
2944
  }
2950
2945
  ),
2951
- s === 3 ? /* @__PURE__ */ t("div", { className: "flex min-w-0 justify-start sm:justify-end", children: S(i[2], e.totalScore, !0) }) : null
2946
+ s === 3 ? /* @__PURE__ */ t("div", { className: "flex min-w-0 justify-start sm:justify-end", children: T(i[2], e.totalScore, !0) }) : null
2952
2947
  ]
2953
2948
  }
2954
2949
  ),
2955
2950
  /* @__PURE__ */ t(
2956
2951
  Ga,
2957
2952
  {
2958
- badgeLabel: h,
2953
+ badgeLabel: f,
2959
2954
  trendStatus: e.status,
2960
- trendStatusVariant: f,
2961
- className: `flex !self-stretch !rounded-none rounded-br-[length:var(--mb-radius-button)] rounded-tr-[length:var(--mb-radius-button)] ${A}`,
2955
+ trendStatusVariant: p,
2956
+ className: `flex !self-stretch !rounded-none rounded-br-[length:var(--mb-radius-button)] rounded-tr-[length:var(--mb-radius-button)] ${S}`,
2962
2957
  statusExplanationPanel: e.statusExplanationPanel,
2963
2958
  panelIntroParagraphs: r,
2964
2959
  panelLabsDateLabel: n,
@@ -2976,7 +2971,7 @@ function le({
2976
2971
  }
2977
2972
  );
2978
2973
  }
2979
- function I({ title: e, subtitle: r, className: n = "" }) {
2974
+ function D({ title: e, subtitle: r, className: n = "" }) {
2980
2975
  return /* @__PURE__ */ l("header", { className: `space-y-1 ${n}`.trim(), children: [
2981
2976
  /* @__PURE__ */ t("h1", { className: "text-4xl font-bold tracking-tight text-[color:var(--mb-color-text)] m-0 p-0 mb-2", children: e }),
2982
2977
  r ? /* @__PURE__ */ t("p", { className: "max-w-3xl text-sm leading-relaxed text-[color:var(--mb-color-text-muted)] m-0 p-0", children: r }) : null
@@ -3001,18 +2996,19 @@ function Za(e) {
3001
2996
  rows: r.get(n) ?? []
3002
2997
  })).filter((n) => n.rows.length > 0);
3003
2998
  }
3004
- function Bs({ content: e }) {
2999
+ function Is({ content: e }) {
3005
3000
  const { pageHeader: r, indicators: n } = e, o = Za(n ?? []);
3006
3001
  return /* @__PURE__ */ l("div", { className: "mx-auto w-full min-w-0 space-y-6", children: [
3007
- /* @__PURE__ */ t(I, { title: r.title, subtitle: r.subtitle }),
3008
- /* @__PURE__ */ t("div", { className: "flex min-w-0 flex-col gap-6", children: o.map(({ category: i, title: s, rows: c }) => /* @__PURE__ */ l(T, { className: "min-w-0", children: [
3002
+ /* @__PURE__ */ t(D, { title: r.title, subtitle: r.subtitle }),
3003
+ /* @__PURE__ */ t("div", { className: "flex min-w-0 flex-col gap-6", children: o.map(({ category: i, title: s, rows: c }) => /* @__PURE__ */ l(L, { className: "min-w-0", children: [
3009
3004
  /* @__PURE__ */ t("h2", { className: "mb-4 m-0 text-lg font-bold text-[color:var(--mb-color-text)]", children: s }),
3010
3005
  /* @__PURE__ */ t("div", { className: "space-y-2", children: c.map((d) => /* @__PURE__ */ t(
3011
3006
  le,
3012
3007
  {
3013
3008
  row: d,
3014
3009
  metricLabels: Xa,
3015
- layoutBreakpoint: "2xl"
3010
+ layoutBreakpoint: "2xl",
3011
+ rowSize: "wellness"
3016
3012
  },
3017
3013
  d.name
3018
3014
  )) })
@@ -3020,32 +3016,32 @@ function Bs({ content: e }) {
3020
3016
  ] });
3021
3017
  }
3022
3018
  function Wa() {
3023
- return /* @__PURE__ */ l("div", { className: "flex min-w-0 flex-col overflow-hidden rounded-[length:var(--mb-radius-button)] border border-solid border-[color:var(--mb-color-card-border)] bg-[color:var(--mb-color-card-bg)] [border-width:1px] xl:flex-row xl:items-stretch", children: [
3024
- /* @__PURE__ */ l("div", { className: "flex min-w-0 items-center gap-2 bg-[#ebebeb]/40 px-3 py-2.5 xl:w-[10rem] xl:shrink-0", children: [
3019
+ return /* @__PURE__ */ l("div", { className: "flex min-w-0 flex-col overflow-hidden rounded-[length:var(--mb-radius-button)] border border-solid border-[color:var(--mb-color-card-border)] bg-[color:var(--mb-color-card-bg)] [border-width:1px] 2xl:flex-row 2xl:items-stretch", children: [
3020
+ /* @__PURE__ */ l("div", { className: "flex min-w-0 items-center gap-2 bg-[#ebebeb]/40 px-3 py-2.5 2xl:w-[20rem] 2xl:shrink-0", children: [
3025
3021
  /* @__PURE__ */ t(x, { className: "size-4 shrink-0 rounded" }),
3026
- /* @__PURE__ */ t(x, { className: "h-3.5 min-w-0 flex-1 max-w-[5.5rem] sm:h-4" })
3022
+ /* @__PURE__ */ t(x, { className: "h-3.5 min-w-0 flex-1 max-w-[14rem] sm:h-4" })
3027
3023
  ] }),
3028
- /* @__PURE__ */ l("div", { className: "grid min-w-0 flex-1 grid-cols-1 gap-y-2 border-t border-[color:var(--mb-color-card-border)] bg-[color:var(--mb-color-card-bg)] px-3 py-2 sm:grid-cols-3 sm:gap-x-3 sm:gap-y-0 xl:border-t-0 xl:px-16 xl:py-1", children: [
3024
+ /* @__PURE__ */ l("div", { className: "grid min-w-0 flex-1 grid-cols-1 gap-y-2 border-t border-[color:var(--mb-color-card-border)] bg-[color:var(--mb-color-card-bg)] px-3 py-2 sm:grid-cols-3 sm:gap-x-3 sm:gap-y-0 2xl:border-t-0 2xl:px-16 2xl:py-1", children: [
3029
3025
  /* @__PURE__ */ t("div", { className: "flex min-w-0 justify-start", children: /* @__PURE__ */ t(x, { className: "h-6 w-[min(100%,6.5rem)]" }) }),
3030
3026
  /* @__PURE__ */ t("div", { className: "flex min-w-0 justify-start md:ml-16", children: /* @__PURE__ */ t(x, { className: "h-6 w-[min(100%,6.5rem)]" }) }),
3031
3027
  /* @__PURE__ */ t("div", { className: "flex min-w-0 justify-start sm:justify-end", children: /* @__PURE__ */ t(x, { className: "h-6 w-[min(100%,6.5rem)]" }) })
3032
3028
  ] }),
3033
- /* @__PURE__ */ t(x, { className: "min-h-[3.25rem] w-full shrink-0 rounded-none rounded-br-[length:var(--mb-radius-button)] rounded-tr-[length:var(--mb-radius-button)] xl:w-[7rem] xl:min-h-0 xl:self-stretch" })
3029
+ /* @__PURE__ */ t(x, { className: "min-h-[3.25rem] w-full shrink-0 rounded-none rounded-br-[length:var(--mb-radius-button)] rounded-tr-[length:var(--mb-radius-button)] 2xl:w-[9rem] 2xl:min-h-0 2xl:self-stretch" })
3034
3030
  ] });
3035
3031
  }
3036
3032
  const Ua = [
3037
- { title: "Alert High", rowCount: 3 },
3038
- { title: "Alert Low", rowCount: 2 },
3039
- { title: "High Normal", rowCount: 2 }
3033
+ { title: "Alert High", rowKeys: ["alert-high-1", "alert-high-2", "alert-high-3"] },
3034
+ { title: "Alert Low", rowKeys: ["alert-low-1", "alert-low-2"] },
3035
+ { title: "High Normal", rowKeys: ["high-normal-1", "high-normal-2"] }
3040
3036
  ];
3041
3037
  function Qa({
3042
3038
  pageHeader: e
3043
3039
  }) {
3044
3040
  return /* @__PURE__ */ l(K, { children: [
3045
- /* @__PURE__ */ t(I, { title: e.title, subtitle: e.subtitle }),
3046
- /* @__PURE__ */ t("div", { className: "flex min-w-0 flex-col gap-6", children: Ua.map((r) => /* @__PURE__ */ l(T, { className: "min-w-0", children: [
3041
+ /* @__PURE__ */ t(D, { title: e.title, subtitle: e.subtitle }),
3042
+ /* @__PURE__ */ t("div", { className: "flex min-w-0 flex-col gap-6", children: Ua.map((r) => /* @__PURE__ */ l(L, { className: "min-w-0", children: [
3047
3043
  /* @__PURE__ */ t("h2", { className: "mb-4 m-0 text-lg font-bold text-[color:var(--mb-color-text)]", children: r.title }),
3048
- /* @__PURE__ */ t("div", { className: "space-y-2", children: Array.from({ length: r.rowCount }, (n, a) => /* @__PURE__ */ t(Wa, {}, a)) })
3044
+ /* @__PURE__ */ t("div", { className: "space-y-2", children: r.rowKeys.map((n) => /* @__PURE__ */ t(Wa, {}, n)) })
3049
3045
  ] }, r.title)) })
3050
3046
  ] });
3051
3047
  }
@@ -3115,7 +3111,7 @@ function Ja({
3115
3111
  organContent: r
3116
3112
  }) {
3117
3113
  const { onNavigateToNavItem: n } = Ie(), a = e.infoTooltip ?? e.infoAriaLabel;
3118
- return /* @__PURE__ */ l(T, { className: "min-w-0", children: [
3114
+ return /* @__PURE__ */ l(L, { className: "min-w-0", children: [
3119
3115
  /* @__PURE__ */ t(
3120
3116
  mt,
3121
3117
  {
@@ -3134,7 +3130,8 @@ function Ja({
3134
3130
  {
3135
3131
  row: o,
3136
3132
  lastLabsLabel: e.lastLabsLabel,
3137
- organContent: r
3133
+ organContent: r,
3134
+ rowSize: "wellness"
3138
3135
  },
3139
3136
  o.name
3140
3137
  )) })
@@ -3209,7 +3206,7 @@ function to({
3209
3206
  organContent: r
3210
3207
  }) {
3211
3208
  const { onNavigateToNavItem: n } = Ie(), a = e.infoTooltip ?? e.infoAriaLabel;
3212
- return /* @__PURE__ */ l(T, { className: "min-w-0", children: [
3209
+ return /* @__PURE__ */ l(L, { className: "min-w-0", children: [
3213
3210
  /* @__PURE__ */ t(
3214
3211
  mt,
3215
3212
  {
@@ -3347,8 +3344,8 @@ function oo({
3347
3344
  data: e,
3348
3345
  organContent: r
3349
3346
  }) {
3350
- const { onNavigateToNavItem: n } = Ie(), [a, o] = H(0), i = Math.min(a, Math.max(0, e.triads.length - 1)), s = e.categoriesByTriadIndex[i] ?? [], c = e.infoTooltip ?? e.infoAriaLabel, d = e.triads[i], m = (d == null ? void 0 : d.triadNumber) === 1 ? no : void 0;
3351
- return /* @__PURE__ */ l(T, { className: "min-w-0", children: [
3347
+ const { onNavigateToNavItem: n } = Ie(), [a, o] = k(0), i = Math.min(a, Math.max(0, e.triads.length - 1)), s = e.categoriesByTriadIndex[i] ?? [], c = e.infoTooltip ?? e.infoAriaLabel, d = e.triads[i], m = (d == null ? void 0 : d.triadNumber) === 1 ? no : void 0;
3348
+ return /* @__PURE__ */ l(L, { className: "min-w-0", children: [
3352
3349
  /* @__PURE__ */ t(
3353
3350
  mt,
3354
3351
  {
@@ -3379,7 +3376,8 @@ function oo({
3379
3376
  statusPanelIntroParagraphs: m,
3380
3377
  lastLabsLabel: e.lastLabsLabel,
3381
3378
  triadNumber: d == null ? void 0 : d.triadNumber,
3382
- organContent: r
3379
+ organContent: r,
3380
+ rowSize: "wellness"
3383
3381
  },
3384
3382
  b.name
3385
3383
  )) })
@@ -3390,8 +3388,8 @@ const lo = {
3390
3388
  "schedule-labs": ct,
3391
3389
  "export-reports": dt
3392
3390
  };
3393
- function Is({ content: e }) {
3394
- const { onExportReports: r } = Ie(), [n, a] = H(!1);
3391
+ function Ds({ content: e }) {
3392
+ const { onExportReports: r } = Ie(), [n, a] = k(!1);
3395
3393
  if (!e) return null;
3396
3394
  const {
3397
3395
  pageHeader: o,
@@ -3412,7 +3410,7 @@ function Is({ content: e }) {
3412
3410
  return /* @__PURE__ */ l("div", { className: "mx-auto w-full min-w-0 max-w-full space-y-4 lg:space-y-6", children: [
3413
3411
  /* @__PURE__ */ l("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: [
3414
3412
  /* @__PURE__ */ t(
3415
- I,
3413
+ D,
3416
3414
  {
3417
3415
  title: o.title,
3418
3416
  subtitle: o.subtitle,
@@ -3439,12 +3437,18 @@ function Is({ content: e }) {
3439
3437
  {
3440
3438
  className: `grid min-w-0 grid-cols-1 gap-4 xl:gap-6 [&>*]:min-w-0 ${s && c ? "xl:grid-cols-[minmax(0,1fr)_minmax(0,1fr)]" : ""}`,
3441
3439
  children: [
3442
- s ? /* @__PURE__ */ t(La, { ...s }) : null,
3440
+ s ? /* @__PURE__ */ t(Ta, { ...s }) : null,
3443
3441
  c ? /* @__PURE__ */ t(wa, { ...c }) : null
3444
3442
  ]
3445
3443
  }
3446
3444
  ) : null,
3447
- /* @__PURE__ */ t("div", { className: "xl:hidden", children: /* @__PURE__ */ t(to, { data: g, organContent: b }) }),
3445
+ /* @__PURE__ */ t("div", { className: "xl:hidden", children: /* @__PURE__ */ t(
3446
+ to,
3447
+ {
3448
+ data: g,
3449
+ organContent: b
3450
+ }
3451
+ ) }),
3448
3452
  /* @__PURE__ */ t("div", { className: "hidden xl:block", children: /* @__PURE__ */ t(oo, { data: g, organContent: b }) }),
3449
3453
  m ? /* @__PURE__ */ t(Ja, { data: m, organContent: b }) : null
3450
3454
  ] });
@@ -3498,14 +3502,21 @@ function so({
3498
3502
  }) {
3499
3503
  return /* @__PURE__ */ l(K, { className: "mx-auto w-full min-w-0 max-w-full space-y-4 lg:space-y-6", children: [
3500
3504
  /* @__PURE__ */ l("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: [
3501
- /* @__PURE__ */ t(I, { title: e.title, subtitle: e.subtitle, className: "min-w-0 flex-1" }),
3505
+ /* @__PURE__ */ t(
3506
+ D,
3507
+ {
3508
+ title: e.title,
3509
+ subtitle: e.subtitle,
3510
+ className: "min-w-0 flex-1"
3511
+ }
3512
+ ),
3502
3513
  /* @__PURE__ */ l(M, { type: "button", variant: "default", className: br, disabled: !0, children: [
3503
3514
  /* @__PURE__ */ t(dt, { className: "size-4 shrink-0" }),
3504
3515
  "Export All Reports"
3505
3516
  ] })
3506
3517
  ] }),
3507
3518
  /* @__PURE__ */ l("div", { className: "grid min-w-0 grid-cols-1 gap-4 xl:gap-6 [&>*]:min-w-0 xl:grid-cols-[minmax(0,1fr)_minmax(0,1fr)]", children: [
3508
- /* @__PURE__ */ l(T, { children: [
3519
+ /* @__PURE__ */ l(L, { children: [
3509
3520
  /* @__PURE__ */ l("div", { className: "mb-4 flex items-start justify-between gap-4", children: [
3510
3521
  /* @__PURE__ */ l("div", { className: "flex min-w-0 items-center gap-1.5", children: [
3511
3522
  /* @__PURE__ */ t("span", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children: "Overall Metabolic Score" }),
@@ -3538,7 +3549,7 @@ function so({
3538
3549
  ] })
3539
3550
  ] })
3540
3551
  ] }),
3541
- /* @__PURE__ */ l(T, { className: "min-w-0 overflow-visible", children: [
3552
+ /* @__PURE__ */ l(L, { className: "min-w-0 overflow-visible", children: [
3542
3553
  /* @__PURE__ */ l("div", { className: "mb-4 flex items-center gap-1.5", children: [
3543
3554
  /* @__PURE__ */ t("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children: "Metaflammation Gauge" }),
3544
3555
  /* @__PURE__ */ t("span", { className: "pointer-events-none opacity-70", "aria-hidden": !0, children: /* @__PURE__ */ t(E, { className: "size-4" }) })
@@ -3546,23 +3557,30 @@ function so({
3546
3557
  /* @__PURE__ */ t(lr, { value: 0, max: 7e3 })
3547
3558
  ] })
3548
3559
  ] }),
3549
- /* @__PURE__ */ l(T, { children: [
3560
+ /* @__PURE__ */ l(L, { children: [
3550
3561
  /* @__PURE__ */ t(Ke, { titleWidthClass: "w-52 max-w-full sm:w-64" }),
3551
- /* @__PURE__ */ t("div", { className: "flex gap-3 overflow-x-auto pb-0.5", "data-testid": "dashboard-skeleton-triad-strip", children: [0, 1, 2, 3, 4].map((r) => /* @__PURE__ */ l(
3562
+ /* @__PURE__ */ t(
3552
3563
  "div",
3553
3564
  {
3554
- className: [
3555
- "flex min-w-[9rem] flex-1 flex-col items-center gap-3 rounded-t-[var(--mb-radius-card)] px-5 py-4 transition",
3556
- r === 0 ? "border border-b-0 border-[color:var(--mb-color-card-border)] bg-[color:var(--mb-color-nav-hover)] [border-width:var(--mb-card-border-width)]" : "border border-b-0 border-transparent"
3557
- ].join(" "),
3558
- children: [
3559
- /* @__PURE__ */ t(jt, { className: "size-[6.5rem] max-w-full" }),
3560
- /* @__PURE__ */ t(x, { className: "h-3 w-[4.5rem]" }),
3561
- /* @__PURE__ */ t(x, { className: "h-8 w-12" })
3562
- ]
3563
- },
3564
- r
3565
- )) }),
3565
+ className: "flex gap-3 overflow-x-auto pb-0.5",
3566
+ "data-testid": "dashboard-skeleton-triad-strip",
3567
+ children: [0, 1, 2, 3, 4].map((r) => /* @__PURE__ */ l(
3568
+ "div",
3569
+ {
3570
+ className: [
3571
+ "flex min-w-[9rem] flex-1 flex-col items-center gap-3 rounded-t-[var(--mb-radius-card)] px-5 py-4 transition",
3572
+ r === 0 ? "border border-b-0 border-[color:var(--mb-color-card-border)] bg-[color:var(--mb-color-nav-hover)] [border-width:var(--mb-card-border-width)]" : "border border-b-0 border-transparent"
3573
+ ].join(" "),
3574
+ children: [
3575
+ /* @__PURE__ */ t(jt, { className: "size-[6.5rem] max-w-full" }),
3576
+ /* @__PURE__ */ t(x, { className: "h-3 w-[4.5rem]" }),
3577
+ /* @__PURE__ */ t(x, { className: "h-8 w-12" })
3578
+ ]
3579
+ },
3580
+ r
3581
+ ))
3582
+ }
3583
+ ),
3566
3584
  /* @__PURE__ */ t(
3567
3585
  "div",
3568
3586
  {
@@ -3574,11 +3592,11 @@ function so({
3574
3592
  }
3575
3593
  )
3576
3594
  ] }),
3577
- /* @__PURE__ */ l(T, { children: [
3595
+ /* @__PURE__ */ l(L, { children: [
3578
3596
  /* @__PURE__ */ t(Ke, { titleWidthClass: "w-48 max-w-full sm:w-56" }),
3579
3597
  /* @__PURE__ */ t("div", { className: "space-y-2", "data-testid": "dashboard-skeleton-alert-rows", children: [0, 1, 2].map((r) => /* @__PURE__ */ t(Gt, {}, r)) })
3580
3598
  ] }),
3581
- /* @__PURE__ */ l(T, { className: "min-w-0", children: [
3599
+ /* @__PURE__ */ l(L, { className: "min-w-0", children: [
3582
3600
  /* @__PURE__ */ t(Ke, { titleWidthClass: "w-64 max-w-full sm:w-72" }),
3583
3601
  /* @__PURE__ */ t(
3584
3602
  "div",
@@ -3605,10 +3623,10 @@ function so({
3605
3623
  ] })
3606
3624
  ] });
3607
3625
  }
3608
- function Ds({ content: e }) {
3626
+ function Rs({ content: e }) {
3609
3627
  const { pageHeader: r, sections: n } = e, a = n ?? [];
3610
3628
  return /* @__PURE__ */ l("div", { className: "mx-auto w-full max-w-full min-w-0 space-y-6", children: [
3611
- /* @__PURE__ */ t(I, { title: r.title, subtitle: r.subtitle }),
3629
+ /* @__PURE__ */ t(D, { title: r.title, subtitle: r.subtitle }),
3612
3630
  /* @__PURE__ */ t("div", { className: "space-y-6", children: a.map((o) => /* @__PURE__ */ t(ua, { ...o }, `${o.triadNumber}-${o.heading}`)) })
3613
3631
  ] });
3614
3632
  }
@@ -3616,8 +3634,8 @@ function co({
3616
3634
  pageHeader: e
3617
3635
  }) {
3618
3636
  return /* @__PURE__ */ l(K, { children: [
3619
- /* @__PURE__ */ t(I, { title: e.title, subtitle: e.subtitle }),
3620
- /* @__PURE__ */ t("div", { className: "space-y-6", children: [0, 1, 2].map((r) => /* @__PURE__ */ l(T, { className: "flex flex-col", children: [
3637
+ /* @__PURE__ */ t(D, { title: e.title, subtitle: e.subtitle }),
3638
+ /* @__PURE__ */ t("div", { className: "space-y-6", children: [0, 1, 2].map((r) => /* @__PURE__ */ l(L, { className: "flex flex-col", children: [
3621
3639
  /* @__PURE__ */ l("div", { className: "mb-6 flex flex-wrap items-center justify-between gap-3", children: [
3622
3640
  /* @__PURE__ */ l("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
3623
3641
  /* @__PURE__ */ t(x, { className: "h-9 w-9 shrink-0 rounded-md" }),
@@ -3662,9 +3680,9 @@ function fo(e) {
3662
3680
  groups: a
3663
3681
  }));
3664
3682
  }
3665
- function Rs({ content: e }) {
3683
+ function zs({ content: e }) {
3666
3684
  var f, p;
3667
- const r = (e == null ? void 0 : e.groups) ?? uo, n = j(() => fo(r ?? []), [r]), [a, o] = H(0);
3685
+ const r = (e == null ? void 0 : e.groups) ?? uo, n = j(() => fo(r ?? []), [r]), [a, o] = k(0);
3668
3686
  if (!e) return null;
3669
3687
  const { pageHeader: i, intro: s } = e, c = r.length > 0, d = Math.min(a, Math.max(0, n.length - 1)), m = n[d], b = (m == null ? void 0 : m.groups) ?? [], g = ((f = e.intros) == null ? void 0 : f.find((y) => y.triadNumber === (m == null ? void 0 : m.triadNumber))) ?? s, v = !!(g && (g.heading || (p = g.paragraphs) != null && p.length)), u = n.map((y) => ({
3670
3688
  triadNumber: y.triadNumber,
@@ -3672,7 +3690,7 @@ function Rs({ content: e }) {
3672
3690
  aggregateScoreDisplay: String(y.triadNumber)
3673
3691
  })), h = v || c;
3674
3692
  return /* @__PURE__ */ l("div", { className: "mx-auto w-full min-w-0 space-y-6", children: [
3675
- /* @__PURE__ */ t(I, { title: i.title, subtitle: i.subtitle }),
3693
+ /* @__PURE__ */ t(D, { title: i.title, subtitle: i.subtitle }),
3676
3694
  c ? /* @__PURE__ */ t(
3677
3695
  ut,
3678
3696
  {
@@ -3681,7 +3699,7 @@ function Rs({ content: e }) {
3681
3699
  onSelectIndex: o
3682
3700
  }
3683
3701
  ) : null,
3684
- h ? /* @__PURE__ */ t(T, { className: "min-w-0", children: /* @__PURE__ */ l("div", { className: "space-y-6", children: [
3702
+ h ? /* @__PURE__ */ t(L, { className: "min-w-0", children: /* @__PURE__ */ l("div", { className: "space-y-6", children: [
3685
3703
  v && g ? /* @__PURE__ */ t(hr, { ...g, embeddedInCard: !0 }) : null,
3686
3704
  v && c ? /* @__PURE__ */ t("div", { className: "border-t border-[color:var(--mb-color-card-border)]" }) : null,
3687
3705
  c ? /* @__PURE__ */ t("div", { className: "space-y-6", children: b.map((y) => /* @__PURE__ */ l(
@@ -3727,7 +3745,7 @@ function xo({
3727
3745
  pageHeader: e
3728
3746
  }) {
3729
3747
  return /* @__PURE__ */ l(K, { children: [
3730
- /* @__PURE__ */ t(I, { title: e.title, subtitle: e.subtitle }),
3748
+ /* @__PURE__ */ t(D, { title: e.title, subtitle: e.subtitle }),
3731
3749
  /* @__PURE__ */ t("div", { className: "flex gap-3 overflow-x-auto", role: "presentation", "aria-hidden": !0, children: Array.from({ length: go }, (r, n) => /* @__PURE__ */ l(
3732
3750
  "div",
3733
3751
  {
@@ -3740,7 +3758,7 @@ function xo({
3740
3758
  },
3741
3759
  n
3742
3760
  )) }),
3743
- /* @__PURE__ */ t(T, { className: "min-w-0", children: /* @__PURE__ */ l("div", { className: "space-y-6", children: [
3761
+ /* @__PURE__ */ t(L, { className: "min-w-0", children: /* @__PURE__ */ l("div", { className: "space-y-6", children: [
3744
3762
  /* @__PURE__ */ l("div", { className: "grid min-w-0 grid-cols-1 gap-6 xl:grid-cols-2 xl:items-stretch", children: [
3745
3763
  /* @__PURE__ */ l("div", { className: "min-w-0 space-y-4", children: [
3746
3764
  /* @__PURE__ */ l("div", { className: "flex items-center gap-2", children: [
@@ -3830,13 +3848,13 @@ const Co = No() ?? "", yr = (() => {
3830
3848
  function Ao(e) {
3831
3849
  return e === yr;
3832
3850
  }
3833
- function To(e) {
3851
+ function Lo(e) {
3834
3852
  return e.replace(/\/+$/, "");
3835
3853
  }
3836
3854
  function fe() {
3837
- return To(Co);
3855
+ return Lo(Co);
3838
3856
  }
3839
- function Te(e) {
3857
+ function Le(e) {
3840
3858
  if (!e || /^https?:\/\//i.test(e)) return e;
3841
3859
  const r = fe();
3842
3860
  return r ? `${r}${e.startsWith("/") ? e : `/${e}`}` : e;
@@ -3847,7 +3865,7 @@ function Yt({ variant: e }) {
3847
3865
  /* @__PURE__ */ t(
3848
3866
  "img",
3849
3867
  {
3850
- src: Te(e.triad_image_url),
3868
+ src: Le(e.triad_image_url),
3851
3869
  alt: "",
3852
3870
  className: "size-10 shrink-0 object-contain"
3853
3871
  }
@@ -3872,7 +3890,7 @@ function Yt({ variant: e }) {
3872
3890
  /* @__PURE__ */ t(wr, { blocks: e.blocks })
3873
3891
  ] });
3874
3892
  }
3875
- function Lo({
3893
+ function To({
3876
3894
  urinary: e,
3877
3895
  salivary: r
3878
3896
  }) {
@@ -3895,7 +3913,7 @@ function Je({ label: e, value: r }) {
3895
3913
  /* @__PURE__ */ t("span", { className: Mo, children: r })
3896
3914
  ] });
3897
3915
  }
3898
- function Ho({ patient: e }) {
3916
+ function ko({ patient: e }) {
3899
3917
  const r = e.trendIndicatorPercent ?? 50;
3900
3918
  return /* @__PURE__ */ l("div", { className: "rounded-lg border border-[color:var(--mb-color-card-border)] bg-[color:var(--mb-color-card-bg)] p-4 sm:p-5", children: [
3901
3919
  /* @__PURE__ */ t("h2", { className: "mb-3 text-sm font-bold uppercase tracking-wide text-[color:var(--mb-color-text)]", children: e.organDisplayName }),
@@ -3914,13 +3932,13 @@ function Ho({ patient: e }) {
3914
3932
  ] })
3915
3933
  ] });
3916
3934
  }
3917
- function ko({ stage: e }) {
3935
+ function Ho({ stage: e }) {
3918
3936
  return /* @__PURE__ */ l("div", { className: "rounded-lg border border-[color:var(--mb-color-card-border)] bg-[color:var(--mb-color-card-bg)] p-4 sm:p-5", children: [
3919
3937
  /* @__PURE__ */ l("div", { className: "mb-3 flex items-center gap-3", children: [
3920
3938
  /* @__PURE__ */ t(
3921
3939
  "img",
3922
3940
  {
3923
- src: Te(e.image_url),
3941
+ src: Le(e.image_url),
3924
3942
  alt: "",
3925
3943
  className: "size-12 shrink-0 object-contain"
3926
3944
  }
@@ -3945,14 +3963,14 @@ function ko({ stage: e }) {
3945
3963
  ] });
3946
3964
  }
3947
3965
  function jo({ stages: e }) {
3948
- return /* @__PURE__ */ t("div", { className: "grid grid-cols-1 gap-4", children: e.map((r) => /* @__PURE__ */ t(ko, { stage: r }, r.number)) });
3966
+ return /* @__PURE__ */ t("div", { className: "grid grid-cols-1 gap-4", children: e.map((r) => /* @__PURE__ */ t(Ho, { stage: r }, r.number)) });
3949
3967
  }
3950
3968
  function Bo({
3951
3969
  bodyUrl: e,
3952
3970
  organUrl: r,
3953
3971
  organDisplayName: n
3954
3972
  }) {
3955
- const a = Te(e), o = Te(r), i = a === o;
3973
+ const a = Le(e), o = Le(r), i = a === o;
3956
3974
  return /* @__PURE__ */ l("div", { className: "flex min-h-[14rem] items-center justify-center gap-2 rounded-lg border border-[color:var(--mb-color-card-border)] bg-[color:var(--mb-color-card-bg)] p-4", children: [
3957
3975
  /* @__PURE__ */ t(
3958
3976
  "img",
@@ -3991,7 +4009,7 @@ function Do({
3991
4009
  ] }),
3992
4010
  /* @__PURE__ */ t("header", { children: /* @__PURE__ */ t("h1", { className: "text-2xl font-bold leading-tight text-[color:var(--mb-color-text)]", children: e.triadHeading }) }),
3993
4011
  /* @__PURE__ */ l("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-[minmax(0,1fr)_minmax(0,1fr)]", children: [
3994
- /* @__PURE__ */ t(Ho, { patient: e }),
4012
+ /* @__PURE__ */ t(ko, { patient: e }),
3995
4013
  /* @__PURE__ */ t(
3996
4014
  Bo,
3997
4015
  {
@@ -4017,7 +4035,7 @@ function Do({
4017
4035
  /* @__PURE__ */ t(jo, { stages: r.stages })
4018
4036
  ] }) : null,
4019
4037
  a ? /* @__PURE__ */ t(
4020
- Lo,
4038
+ To,
4021
4039
  {
4022
4040
  urinary: a.urinary,
4023
4041
  salivary: a.salivary
@@ -4025,12 +4043,12 @@ function Do({
4025
4043
  ) : null
4026
4044
  ] });
4027
4045
  }
4028
- function zs({
4046
+ function Os({
4029
4047
  content: e
4030
4048
  }) {
4031
4049
  const { pageHeader: r, sections: n } = e, a = n ?? [];
4032
4050
  return /* @__PURE__ */ l("div", { className: "mx-auto w-full min-w-0 space-y-6", children: [
4033
- /* @__PURE__ */ t(I, { title: r.title, subtitle: r.subtitle }),
4051
+ /* @__PURE__ */ t(D, { title: r.title, subtitle: r.subtitle }),
4034
4052
  /* @__PURE__ */ t("div", { className: "space-y-6", children: a.map((o) => /* @__PURE__ */ t(
4035
4053
  gr,
4036
4054
  {
@@ -4046,8 +4064,8 @@ function zo({
4046
4064
  pageHeader: e
4047
4065
  }) {
4048
4066
  return /* @__PURE__ */ l(K, { children: [
4049
- /* @__PURE__ */ t(I, { title: e.title, subtitle: e.subtitle }),
4050
- /* @__PURE__ */ t("div", { className: "space-y-6", children: [0, 1, 2].map((r) => /* @__PURE__ */ l(T, { className: "flex flex-col", children: [
4067
+ /* @__PURE__ */ t(D, { title: e.title, subtitle: e.subtitle }),
4068
+ /* @__PURE__ */ t("div", { className: "space-y-6", children: [0, 1, 2].map((r) => /* @__PURE__ */ l(L, { className: "flex flex-col", children: [
4051
4069
  /* @__PURE__ */ l("div", { className: "mb-6 flex flex-wrap items-center justify-between gap-3", children: [
4052
4070
  /* @__PURE__ */ l("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
4053
4071
  /* @__PURE__ */ t(x, { className: "h-9 w-9 shrink-0 rounded-md" }),
@@ -4073,7 +4091,7 @@ function Oo(e) {
4073
4091
  r.push(e.slice(n, n + Xt));
4074
4092
  return r;
4075
4093
  }
4076
- function Os({ content: e }) {
4094
+ function Es({ content: e }) {
4077
4095
  var S;
4078
4096
  if (!e) return null;
4079
4097
  const {
@@ -4091,9 +4109,9 @@ function Os({ content: e }) {
4091
4109
  name: `Triad ${n.triadNumber}`,
4092
4110
  aggregateScoreDisplay: String(n.triadNumber)
4093
4111
  }
4094
- ] : [], [N, w] = H(0), P = Math.min(N, Math.max(0, C.length - 1)), A = h || f || u;
4112
+ ] : [], [N, w] = k(0), P = Math.min(N, Math.max(0, C.length - 1)), A = h || f || u;
4095
4113
  return /* @__PURE__ */ l("div", { className: "mx-auto w-full min-w-0 space-y-6", children: [
4096
- /* @__PURE__ */ t(I, { title: r.title, subtitle: r.subtitle }),
4114
+ /* @__PURE__ */ t(D, { title: r.title, subtitle: r.subtitle }),
4097
4115
  C.length > 0 ? /* @__PURE__ */ t(
4098
4116
  ut,
4099
4117
  {
@@ -4102,27 +4120,27 @@ function Os({ content: e }) {
4102
4120
  onSelectIndex: w
4103
4121
  }
4104
4122
  ) : null,
4105
- p ? /* @__PURE__ */ t(T, { className: "min-w-0", children: /* @__PURE__ */ l("div", { className: "space-y-6", children: [
4123
+ p ? /* @__PURE__ */ t(L, { className: "min-w-0", children: /* @__PURE__ */ l("div", { className: "space-y-6", children: [
4106
4124
  m && n ? /* @__PURE__ */ t(hr, { ...n, embeddedInCard: !0 }) : null,
4107
4125
  m && A ? /* @__PURE__ */ t("div", { className: "border-t border-[color:var(--mb-color-card-border)]" }) : null,
4108
4126
  h ? /* @__PURE__ */ l("div", { className: "space-y-5", children: [
4109
4127
  /* @__PURE__ */ t("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children: i }),
4110
- /* @__PURE__ */ t("div", { className: "space-y-0", children: Oo(g).map((L) => /* @__PURE__ */ t(
4128
+ /* @__PURE__ */ t("div", { className: "space-y-0", children: Oo(g).map((T) => /* @__PURE__ */ t(
4111
4129
  "div",
4112
4130
  {
4113
4131
  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",
4114
- children: L.map((z) => /* @__PURE__ */ l("div", { className: "flex min-h-10 items-center gap-3", children: [
4132
+ children: T.map((z) => /* @__PURE__ */ l("div", { className: "flex min-h-10 items-center gap-3", children: [
4115
4133
  /* @__PURE__ */ t("span", { className: "inline-flex size-4 shrink-0 items-center justify-center text-[color:var(--mb-color-text)]", children: /* @__PURE__ */ t(re, { className: "size-4", "aria-hidden": !0 }) }),
4116
4134
  /* @__PURE__ */ t("span", { className: "text-sm leading-5 text-[color:var(--mb-color-text)]", children: z })
4117
4135
  ] }, z))
4118
4136
  },
4119
- L[0]
4137
+ T[0]
4120
4138
  )) })
4121
4139
  ] }) : null,
4122
4140
  h && (f || u) ? /* @__PURE__ */ t("div", { className: "border-t border-[color:var(--mb-color-card-border)]" }) : null,
4123
4141
  f ? /* @__PURE__ */ l("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: [
4124
4142
  /* @__PURE__ */ t("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children: c }),
4125
- /* @__PURE__ */ t("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: v.map((L) => /* @__PURE__ */ l(
4143
+ /* @__PURE__ */ t("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: v.map((T) => /* @__PURE__ */ l(
4126
4144
  "div",
4127
4145
  {
4128
4146
  className: "flex min-w-0 w-full flex-col items-center",
@@ -4130,30 +4148,30 @@ function Os({ content: e }) {
4130
4148
  /* @__PURE__ */ t("div", { className: "relative flex h-40 w-full max-w-[15rem] items-center justify-center sm:h-48 md:h-52 lg:max-w-[17rem]", children: /* @__PURE__ */ t(
4131
4149
  "img",
4132
4150
  {
4133
- src: L.imageSrc ?? pr,
4134
- alt: L.imageAlt,
4151
+ src: T.imageSrc ?? pr,
4152
+ alt: T.imageAlt,
4135
4153
  className: "max-h-full w-auto max-w-full object-contain [filter:drop-shadow(0_10px_20px_rgba(15,23,42,0.15))] md:[filter:drop-shadow(0_14px_28px_rgba(15,23,42,0.12))]",
4136
4154
  width: 320,
4137
4155
  height: 320
4138
4156
  }
4139
4157
  ) }),
4140
- /* @__PURE__ */ t("span", { className: "mt-3 w-full min-w-0 break-words px-0.5 text-center text-sm font-medium text-[color:var(--mb-color-text)]", children: L.name }),
4141
- L.tagline ? /* @__PURE__ */ t("span", { className: "mt-1 w-full min-w-0 break-words px-0.5 text-center text-xs text-[color:var(--mb-color-text-muted)]", children: L.tagline }) : null
4158
+ /* @__PURE__ */ t("span", { className: "mt-3 w-full min-w-0 break-words px-0.5 text-center text-sm font-medium text-[color:var(--mb-color-text)]", children: T.name }),
4159
+ T.tagline ? /* @__PURE__ */ t("span", { className: "mt-1 w-full min-w-0 break-words px-0.5 text-center text-xs text-[color:var(--mb-color-text-muted)]", children: T.tagline }) : null
4142
4160
  ]
4143
4161
  },
4144
- L.name
4162
+ T.name
4145
4163
  )) })
4146
4164
  ] }) : null,
4147
4165
  f && u ? /* @__PURE__ */ t("div", { className: "border-t border-[color:var(--mb-color-card-border)]" }) : null,
4148
4166
  u ? /* @__PURE__ */ l("div", { className: "space-y-5", children: [
4149
4167
  /* @__PURE__ */ t("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children: a }),
4150
- /* @__PURE__ */ t("div", { className: "grid grid-cols-1 items-start gap-4 sm:grid-cols-2 xl:grid-cols-3 xl:gap-6", children: b.map((L) => /* @__PURE__ */ t(
4168
+ /* @__PURE__ */ t("div", { className: "grid grid-cols-1 items-start gap-4 sm:grid-cols-2 xl:grid-cols-3 xl:gap-6", children: b.map((T) => /* @__PURE__ */ t(
4151
4169
  ne,
4152
4170
  {
4153
4171
  layout: "labResults",
4154
- category: L
4172
+ category: T
4155
4173
  },
4156
- L.title
4174
+ T.title
4157
4175
  )) })
4158
4176
  ] }) : null
4159
4177
  ] }) }) : null
@@ -4164,7 +4182,7 @@ function Go({
4164
4182
  pageHeader: e
4165
4183
  }) {
4166
4184
  return /* @__PURE__ */ l(K, { children: [
4167
- /* @__PURE__ */ t(I, { title: e.title, subtitle: e.subtitle }),
4185
+ /* @__PURE__ */ t(D, { title: e.title, subtitle: e.subtitle }),
4168
4186
  /* @__PURE__ */ t(
4169
4187
  "div",
4170
4188
  {
@@ -4185,7 +4203,7 @@ function Go({
4185
4203
  ))
4186
4204
  }
4187
4205
  ),
4188
- /* @__PURE__ */ t(T, { className: "min-w-0", children: /* @__PURE__ */ l("div", { className: "space-y-6", children: [
4206
+ /* @__PURE__ */ t(L, { className: "min-w-0", children: /* @__PURE__ */ l("div", { className: "space-y-6", children: [
4189
4207
  /* @__PURE__ */ l("div", { className: "grid min-w-0 grid-cols-1 gap-6 xl:grid-cols-2 xl:items-stretch", children: [
4190
4208
  /* @__PURE__ */ l("div", { className: "min-w-0 space-y-4", children: [
4191
4209
  /* @__PURE__ */ l("div", { className: "flex items-center gap-2", children: [
@@ -4225,11 +4243,11 @@ function Go({
4225
4243
  ] }) })
4226
4244
  ] });
4227
4245
  }
4228
- function Es({ content: e }) {
4246
+ function Fs({ content: e }) {
4229
4247
  if (!e) return null;
4230
4248
  const { pageHeader: r, practitionerNotes: n, cards: a } = e, o = a && a.length > 0;
4231
4249
  return /* @__PURE__ */ l("div", { className: "mx-auto w-full min-w-0 space-y-6", children: [
4232
- /* @__PURE__ */ t(I, { title: r.title, subtitle: r.subtitle }),
4250
+ /* @__PURE__ */ t(D, { title: r.title, subtitle: r.subtitle }),
4233
4251
  o ? /* @__PURE__ */ t("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2", children: a.map((i, s) => /* @__PURE__ */ t(Sa, { ...i }, `${i.title}-${s}`)) }) : null,
4234
4252
  n ? /* @__PURE__ */ t(Pa, { ...n }) : null
4235
4253
  ] });
@@ -4238,8 +4256,8 @@ function Yo({
4238
4256
  pageHeader: e
4239
4257
  }) {
4240
4258
  return /* @__PURE__ */ l(K, { children: [
4241
- /* @__PURE__ */ t(I, { title: e.title, subtitle: e.subtitle }),
4242
- /* @__PURE__ */ t("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2", children: [0, 1].map((r) => /* @__PURE__ */ t(T, { children: /* @__PURE__ */ l("div", { className: "flex flex-col gap-4 sm:flex-row", children: [
4259
+ /* @__PURE__ */ t(D, { title: e.title, subtitle: e.subtitle }),
4260
+ /* @__PURE__ */ t("div", { className: "grid grid-cols-1 gap-6 lg:grid-cols-2", children: [0, 1].map((r) => /* @__PURE__ */ t(L, { children: /* @__PURE__ */ l("div", { className: "flex flex-col gap-4 sm:flex-row", children: [
4243
4261
  /* @__PURE__ */ t(x, { className: "mx-auto h-32 w-32 shrink-0 rounded-lg sm:mx-0" }),
4244
4262
  /* @__PURE__ */ l("div", { className: "min-w-0 flex-1 space-y-3", children: [
4245
4263
  /* @__PURE__ */ t(x, { className: "h-6 w-3/4" }),
@@ -4256,7 +4274,7 @@ function Yo({
4256
4274
  )) })
4257
4275
  ] })
4258
4276
  ] }) }, r)) }),
4259
- /* @__PURE__ */ l(T, { children: [
4277
+ /* @__PURE__ */ l(L, { children: [
4260
4278
  /* @__PURE__ */ t("h2", { className: "text-xl font-bold text-[color:var(--mb-color-text)]", children: "Practitioner Notes" }),
4261
4279
  /* @__PURE__ */ l("div", { className: "mt-4 space-y-3", children: [
4262
4280
  /* @__PURE__ */ t(x, { className: "h-3.5 w-full" }),
@@ -4267,7 +4285,7 @@ function Yo({
4267
4285
  ] });
4268
4286
  }
4269
4287
  function Xo(e, r) {
4270
- const n = ke(r.totalScore), a = n == null ? void 0 : Math.max(0, Math.min(100, n)), o = r.title.toLowerCase().replace(/(^|\s)\S/g, (i) => i.toUpperCase());
4288
+ const n = He(r.totalScore), a = n == null ? void 0 : Math.max(0, Math.min(100, n)), o = r.title.toLowerCase().replace(/(^|\s)\S/g, (i) => i.toUpperCase());
4271
4289
  return {
4272
4290
  triadHeading: `${e.heading.split(":")[0]}: ${o}`,
4273
4291
  organDisplayName: o,
@@ -4278,8 +4296,8 @@ function Xo(e, r) {
4278
4296
  interpretationLabel: a != null && a >= 66 ? `Your ${o} is High` : a != null && a >= 33 ? `Your ${o} is Trending` : a != null ? `Your ${o} is Optimal` : void 0
4279
4297
  };
4280
4298
  }
4281
- function Fs({ content: e }) {
4282
- const { pageHeader: r, triadCards: n, organContent: a, cortisolContent: o } = e, i = n ?? [], [s, c] = H(null), d = j(
4299
+ function Gs({ content: e }) {
4300
+ const { pageHeader: r, triadCards: n, organContent: a, cortisolContent: o } = e, i = n ?? [], [s, c] = k(null), d = j(
4283
4301
  () => (m) => (b) => {
4284
4302
  b.organKey && a != null && a[b.organKey] && c({ triadCard: m, category: b });
4285
4303
  },
@@ -4299,7 +4317,7 @@ function Fs({ content: e }) {
4299
4317
  );
4300
4318
  }
4301
4319
  return /* @__PURE__ */ l("div", { className: "mx-auto w-full min-w-0 space-y-6", children: [
4302
- /* @__PURE__ */ t(I, { title: r.title, subtitle: r.subtitle }),
4320
+ /* @__PURE__ */ t(D, { title: r.title, subtitle: r.subtitle }),
4303
4321
  /* @__PURE__ */ t("div", { className: "space-y-6", children: i.map((m) => /* @__PURE__ */ t(
4304
4322
  gr,
4305
4323
  {
@@ -4315,8 +4333,8 @@ function Zo({
4315
4333
  pageHeader: e
4316
4334
  }) {
4317
4335
  return /* @__PURE__ */ l(K, { children: [
4318
- /* @__PURE__ */ t(I, { title: e.title, subtitle: e.subtitle }),
4319
- /* @__PURE__ */ t("div", { className: "space-y-6", children: [0, 1, 2].map((r) => /* @__PURE__ */ l(T, { className: "flex flex-col", children: [
4336
+ /* @__PURE__ */ t(D, { title: e.title, subtitle: e.subtitle }),
4337
+ /* @__PURE__ */ t("div", { className: "space-y-6", children: [0, 1, 2].map((r) => /* @__PURE__ */ l(L, { className: "flex flex-col", children: [
4320
4338
  /* @__PURE__ */ l("div", { className: "mb-6 flex flex-wrap items-center justify-between gap-3", children: [
4321
4339
  /* @__PURE__ */ l("div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
4322
4340
  /* @__PURE__ */ t(x, { className: "h-9 w-9 shrink-0 rounded-md" }),
@@ -4359,11 +4377,11 @@ function Qo(e) {
4359
4377
  rows: r.get(n) ?? []
4360
4378
  })).filter((n) => n.rows.length > 0);
4361
4379
  }
4362
- function Gs({ content: e }) {
4380
+ function Ys({ content: e }) {
4363
4381
  const { pageHeader: r, indicators: n } = e, o = Qo(n ?? []);
4364
4382
  return /* @__PURE__ */ l("div", { className: "mx-auto w-full min-w-0 space-y-6", children: [
4365
- /* @__PURE__ */ t(I, { title: r.title, subtitle: r.subtitle }),
4366
- /* @__PURE__ */ t("div", { className: "flex min-w-0 flex-col gap-6", children: o.map(({ status: i, title: s, rows: c }) => /* @__PURE__ */ l(T, { className: "min-w-0", children: [
4383
+ /* @__PURE__ */ t(D, { title: r.title, subtitle: r.subtitle }),
4384
+ /* @__PURE__ */ t("div", { className: "flex min-w-0 flex-col gap-6", children: o.map(({ status: i, title: s, rows: c }) => /* @__PURE__ */ l(L, { className: "min-w-0", children: [
4367
4385
  /* @__PURE__ */ t("h2", { className: "mb-4 m-0 text-lg font-bold text-[color:var(--mb-color-text)]", children: s }),
4368
4386
  /* @__PURE__ */ t("div", { className: "space-y-2", children: c.map((d) => /* @__PURE__ */ t(
4369
4387
  le,
@@ -4399,8 +4417,8 @@ function Jo({
4399
4417
  pageHeader: e
4400
4418
  }) {
4401
4419
  return /* @__PURE__ */ l(K, { children: [
4402
- /* @__PURE__ */ t(I, { title: e.title, subtitle: e.subtitle }),
4403
- /* @__PURE__ */ t("div", { className: "flex min-w-0 flex-col gap-6", children: Ko.map(({ title: r, rowCount: n }) => /* @__PURE__ */ l(T, { className: "min-w-0", children: [
4420
+ /* @__PURE__ */ t(D, { title: e.title, subtitle: e.subtitle }),
4421
+ /* @__PURE__ */ t("div", { className: "flex min-w-0 flex-col gap-6", children: Ko.map(({ title: r, rowCount: n }) => /* @__PURE__ */ l(L, { className: "min-w-0", children: [
4404
4422
  /* @__PURE__ */ t(x, { className: "mb-4 h-6 w-28 rounded-md" }),
4405
4423
  /* @__PURE__ */ t("div", { className: "space-y-2", children: Array.from({ length: n }, (a, o) => /* @__PURE__ */ t(qo, {}, `${r}-${o}`)) })
4406
4424
  ] }, r)) })
@@ -4444,7 +4462,7 @@ function rl(e) {
4444
4462
  if (r)
4445
4463
  return tl(r) ?? void 0;
4446
4464
  }
4447
- function Ys(e, r) {
4465
+ function Xs(e, r) {
4448
4466
  const n = encodeURIComponent(el(r)), a = e.includes("?") ? "&" : "?";
4449
4467
  return `${e}${a}${Nr}=${n}`;
4450
4468
  }
@@ -4466,7 +4484,7 @@ function ol(e) {
4466
4484
  patientFullName: Zt(e, al)
4467
4485
  };
4468
4486
  }
4469
- function Xs(e, r) {
4487
+ function Vs(e, r) {
4470
4488
  const n = new URLSearchParams();
4471
4489
  r.patientId && n.set("patientId", r.patientId), r.patientFullName && n.set("patientFullName", r.patientFullName);
4472
4490
  const a = n.toString();
@@ -4474,13 +4492,13 @@ function Xs(e, r) {
4474
4492
  const o = e.includes("?") ? "&" : "?";
4475
4493
  return `${e}${o}${a}`;
4476
4494
  }
4477
- function Vs() {
4495
+ function Zs() {
4478
4496
  window.dispatchEvent(new CustomEvent("metabolic:logout")), window.parent !== window && window.parent.postMessage({ type: "metabolic:logout" }, "*");
4479
4497
  }
4480
4498
  function ll(e, r) {
4481
4499
  return r.length === 0 ? !1 : r.some((n) => n === e);
4482
4500
  }
4483
- function Zs(e, r, n) {
4501
+ function Ws(e, r, n) {
4484
4502
  var a;
4485
4503
  (a = e.contentWindow) == null || a.postMessage(
4486
4504
  {
@@ -4575,7 +4593,7 @@ function cl() {
4575
4593
  }
4576
4594
  );
4577
4595
  }
4578
- function Ws() {
4596
+ function Us() {
4579
4597
  return /* @__PURE__ */ l(
4580
4598
  "svg",
4581
4599
  {
@@ -4795,13 +4813,13 @@ async function U(e, r) {
4795
4813
  );
4796
4814
  return b;
4797
4815
  }
4798
- const Ar = "Your metabolic overview brings together triad priorities, key metrics, and next steps in one place.", Tr = "Trends and predictive signals help you see how your metabolic trajectory may evolve over time.", Lr = "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.", Pr = "Your answers are synthesized into themes and insights that inform your personalized recommendations.", Sr = "Your personalized supplement timing helps you align intake with your metabolic rhythm and triad priorities.", Mr = "Review your laboratory values with reference context and ordering details.", Hr = "Discover products selected to support your metabolic goals and triad priorities.", kr = "Deeper interpretation connects your lab patterns to your overall metabolic picture.", jr = "Focus on labs that are out of range or flagged so you can address them with your care team.", vl = () => import("./dashboard-x4GA8cqi.js"), wl = () => import("./totalPredictiveIndex-DQdWbzgU.js"), yl = () => import("./wellnessIndicators-CNQcbuvH.js"), Nl = () => import("./questionnaireAnalysis-S3k2ZioO.js"), Cl = () => import("./supplementSchedule-D8PmXo88.js"), Al = () => import("./labResults-CV9K31Os.js"), Tl = () => import("./suggestedProducts-DJlYkHhQ.js"), Ll = () => import("./labAnalysis-CaOCpV2g.js"), Pl = () => import("./alertLabSummary-BAIlZ2_U.js"), Sl = Q(
4816
+ const Ar = "Your metabolic overview brings together triad priorities, key metrics, and next steps in one place.", Lr = "Trends and predictive signals help you see how your metabolic trajectory may evolve over time.", Tr = "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.", Pr = "Your answers are synthesized into themes and insights that inform your personalized recommendations.", Sr = "Your personalized supplement timing helps you align intake with your metabolic rhythm and triad priorities.", Mr = "Review your laboratory values with reference context and ordering details.", kr = "Discover products selected to support your metabolic goals and triad priorities.", Hr = "Deeper interpretation connects your lab patterns to your overall metabolic picture.", jr = "Focus on labs that are out of range or flagged so you can address them with your care team.", vl = () => import("./dashboard-x4GA8cqi.js"), wl = () => import("./totalPredictiveIndex-DQdWbzgU.js"), yl = () => import("./wellnessIndicators-CNQcbuvH.js"), Nl = () => import("./questionnaireAnalysis-S3k2ZioO.js"), Cl = () => import("./supplementSchedule-D8PmXo88.js"), Al = () => import("./labResults-CV9K31Os.js"), Ll = () => import("./suggestedProducts-DJlYkHhQ.js"), Tl = () => import("./labAnalysis-CaOCpV2g.js"), Pl = () => import("./alertLabSummary-BAIlZ2_U.js"), Sl = Q(
4799
4817
  () => vl().then((e) => ({ default: e.DashboardTab }))
4800
4818
  ), Ml = Q(
4801
4819
  () => wl().then((e) => ({ default: e.TotalPredictiveIndexTab }))
4802
- ), Hl = Q(
4803
- () => yl().then((e) => ({ default: e.WellnessIndicatorsTab }))
4804
4820
  ), kl = Q(
4821
+ () => yl().then((e) => ({ default: e.WellnessIndicatorsTab }))
4822
+ ), Hl = Q(
4805
4823
  () => Nl().then((e) => ({
4806
4824
  default: e.QuestionnaireAnalysisTab
4807
4825
  }))
@@ -4810,9 +4828,9 @@ const Ar = "Your metabolic overview brings together triad priorities, key metric
4810
4828
  ), Bl = Q(
4811
4829
  () => Al().then((e) => ({ default: e.LabResultsTab }))
4812
4830
  ), Il = Q(
4813
- () => Tl().then((e) => ({ default: e.SuggestedProductsTab }))
4831
+ () => Ll().then((e) => ({ default: e.SuggestedProductsTab }))
4814
4832
  ), Dl = Q(
4815
- () => Ll().then((e) => ({ default: e.LabAnalysisTab }))
4833
+ () => Tl().then((e) => ({ default: e.LabAnalysisTab }))
4816
4834
  ), Rl = Q(
4817
4835
  () => Pl().then((e) => ({ default: e.AlertLabSummaryTab }))
4818
4836
  );
@@ -4830,7 +4848,7 @@ const De = [
4830
4848
  createHttpFetcher: (e, r) => (n) => e(n, async () => {
4831
4849
  const [a, { mapDashboardPageDtoToTabContent: o }] = await Promise.all([
4832
4850
  U("dashboard", r(n)),
4833
- Promise.resolve().then(() => bi)
4851
+ Promise.resolve().then(() => hi)
4834
4852
  ]);
4835
4853
  return o(a);
4836
4854
  })
@@ -4841,7 +4859,7 @@ const De = [
4841
4859
  icon: /* @__PURE__ */ t(dl, {}),
4842
4860
  pageHeader: {
4843
4861
  title: "Total Predictive Trends",
4844
- subtitle: Tr
4862
+ subtitle: Lr
4845
4863
  },
4846
4864
  Tab: Ml,
4847
4865
  Skeleton: Zo,
@@ -4859,14 +4877,14 @@ const De = [
4859
4877
  icon: /* @__PURE__ */ t(hl, {}),
4860
4878
  pageHeader: {
4861
4879
  title: "Wellness Indicators",
4862
- subtitle: Lr
4880
+ subtitle: Tr
4863
4881
  },
4864
- Tab: Hl,
4882
+ Tab: kl,
4865
4883
  Skeleton: Jo,
4866
4884
  createHttpFetcher: (e, r) => (n) => e(n, async () => {
4867
4885
  const [a, { mapWellnessIndicatorsDtoToTabContent: o }] = await Promise.all([
4868
4886
  U("wellness-indicators", r(n)),
4869
- Promise.resolve().then(() => Mi)
4887
+ Promise.resolve().then(() => ki)
4870
4888
  ]);
4871
4889
  return o(a);
4872
4890
  })
@@ -4884,7 +4902,7 @@ const De = [
4884
4902
  createHttpFetcher: (e, r) => (n) => e(n, async () => {
4885
4903
  const [a, { mapLabResultsDtoToTabContent: o }] = await Promise.all([
4886
4904
  U("lab-results", r(n)),
4887
- Promise.resolve().then(() => xi)
4905
+ Promise.resolve().then(() => vi)
4888
4906
  ]);
4889
4907
  return o(a);
4890
4908
  })
@@ -4895,14 +4913,14 @@ const De = [
4895
4913
  icon: /* @__PURE__ */ t(sl, {}),
4896
4914
  pageHeader: {
4897
4915
  title: "Lab Analysis",
4898
- subtitle: kr
4916
+ subtitle: Hr
4899
4917
  },
4900
4918
  Tab: Dl,
4901
4919
  Skeleton: co,
4902
4920
  createHttpFetcher: (e, r) => (n) => e(n, async () => {
4903
4921
  const [a, { mapLabAnalysisDtoToTabContent: o }] = await Promise.all([
4904
4922
  U("lab-analysis", r(n)),
4905
- Promise.resolve().then(() => hi)
4923
+ Promise.resolve().then(() => fi)
4906
4924
  ]);
4907
4925
  return o(a);
4908
4926
  })
@@ -4920,7 +4938,7 @@ const De = [
4920
4938
  createHttpFetcher: (e, r) => (n) => e(n, async () => {
4921
4939
  const [a, { mapAlertLabSummaryDtoToTabContent: o }] = await Promise.all([
4922
4940
  U("alert-lab-summary", r(n)),
4923
- Promise.resolve().then(() => ti)
4941
+ Promise.resolve().then(() => ri)
4924
4942
  ]);
4925
4943
  return o(a);
4926
4944
  })
@@ -4933,12 +4951,12 @@ const De = [
4933
4951
  title: "Questionnaire Analysis",
4934
4952
  subtitle: Pr
4935
4953
  },
4936
- Tab: kl,
4954
+ Tab: Hl,
4937
4955
  Skeleton: zo,
4938
4956
  createHttpFetcher: (e, r) => (n) => e(n, async () => {
4939
4957
  const [a, { mapQuestionnaireAnalysisDtoToTabContent: o }] = await Promise.all([
4940
4958
  U("questionnaire-analysis", r(n)),
4941
- Promise.resolve().then(() => vi)
4959
+ Promise.resolve().then(() => wi)
4942
4960
  ]);
4943
4961
  return o(a);
4944
4962
  })
@@ -4949,14 +4967,14 @@ const De = [
4949
4967
  icon: /* @__PURE__ */ t(ul, {}),
4950
4968
  pageHeader: {
4951
4969
  title: "Suggested Products",
4952
- subtitle: Hr
4970
+ subtitle: kr
4953
4971
  },
4954
4972
  Tab: Il,
4955
4973
  Skeleton: Go,
4956
4974
  createHttpFetcher: (e, r) => (n) => e(n, async () => {
4957
4975
  const [a, { mapSuggestedProductsDtoToTabContent: o }] = await Promise.all([
4958
4976
  U("suggested-products", r(n)),
4959
- Promise.resolve().then(() => yi)
4977
+ Promise.resolve().then(() => Ni)
4960
4978
  ]);
4961
4979
  return o(a);
4962
4980
  })
@@ -4974,29 +4992,33 @@ const De = [
4974
4992
  createHttpFetcher: (e, r) => (n) => e(n, async () => {
4975
4993
  const [a, { mapSupplementScheduleDtoToTabContent: o }] = await Promise.all([
4976
4994
  U("supplement-schedule", r(n)),
4977
- Promise.resolve().then(() => Ni)
4995
+ Promise.resolve().then(() => Ci)
4978
4996
  ]);
4979
4997
  return o(a);
4980
4998
  })
4981
4999
  }
4982
- ], Le = De.map((e) => ({
5000
+ ], zl = "Supplement schedule is currently unavailable.", Te = De.map((e) => ({
4983
5001
  id: e.id,
4984
5002
  label: e.sideMenuLabel,
4985
- icon: e.icon
5003
+ icon: e.icon,
5004
+ ...e.id === "supplement-schedule" ? {
5005
+ disabled: !0,
5006
+ disabledTooltip: zl
5007
+ } : {}
4986
5008
  })), ht = Object.fromEntries(
4987
5009
  De.map((e) => [
4988
5010
  e.id,
4989
5011
  { Tab: e.Tab, Skeleton: e.Skeleton, pageHeader: e.pageHeader }
4990
5012
  ])
4991
5013
  );
4992
- function zl(e) {
5014
+ function Ol(e) {
4993
5015
  return ht[e].pageHeader;
4994
5016
  }
4995
- function Ol(e, r) {
5017
+ function El(e, r) {
4996
5018
  const n = De.map((a) => [a.id, a.createHttpFetcher(e, r)]);
4997
5019
  return Object.fromEntries(n);
4998
5020
  }
4999
- function El({
5021
+ function Fl({
5000
5022
  label: e,
5001
5023
  icon: r,
5002
5024
  isActive: n = !1,
@@ -5057,19 +5079,19 @@ function El({
5057
5079
  )
5058
5080
  ] }) : v;
5059
5081
  }
5060
- function Fl({
5082
+ function Gl({
5061
5083
  title: e,
5062
5084
  logo: r,
5063
5085
  footerContent: n,
5064
5086
  className: a = "",
5065
5087
  navClassName: o = "",
5066
- items: i = Le,
5088
+ items: i = Te,
5067
5089
  activeItemId: s,
5068
5090
  defaultActiveItemId: c = "dashboard",
5069
5091
  onItemClick: d,
5070
5092
  onNavItemPrefetch: m
5071
5093
  }) {
5072
- const b = s !== void 0, [g, v] = H(c), u = s ?? g, h = B(
5094
+ const b = s !== void 0, [g, v] = k(c), u = s ?? g, h = I(
5073
5095
  (C) => {
5074
5096
  d == null || d(C), b || v(C);
5075
5097
  },
@@ -5101,7 +5123,7 @@ function Fl({
5101
5123
  children: i.map((C) => {
5102
5124
  const N = C.disabled === !0;
5103
5125
  return /* @__PURE__ */ t(
5104
- El,
5126
+ Fl,
5105
5127
  {
5106
5128
  label: C.label,
5107
5129
  icon: C.icon,
@@ -5127,14 +5149,14 @@ function Br(e) {
5127
5149
  const r = e.displayName;
5128
5150
  return typeof r != "string" || r.trim() === "";
5129
5151
  }
5130
- function Gl(e) {
5152
+ function Yl(e) {
5131
5153
  var n;
5132
5154
  const r = (e ?? "").trim();
5133
5155
  return r ? ((n = r[0]) == null ? void 0 : n.toUpperCase()) ?? "?" : "?";
5134
5156
  }
5135
- function Us({ userProfile: e }) {
5157
+ function Qs({ userProfile: e }) {
5136
5158
  return !e || Br(e) ? null : /* @__PURE__ */ t("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__ */ l("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: [
5137
- /* @__PURE__ */ t("div", { className: "relative size-10 shrink-0 overflow-hidden rounded-[20px] bg-[color:var(--mb-color-nav-hover)]", children: e.avatarSrc ? /* @__PURE__ */ t("img", { src: e.avatarSrc, alt: "", className: "size-full object-cover" }) : /* @__PURE__ */ t("span", { className: "flex size-full items-center justify-center text-sm font-medium text-[color:var(--mb-color-text)]", children: Gl(e.displayName) }) }),
5159
+ /* @__PURE__ */ t("div", { className: "relative size-10 shrink-0 overflow-hidden rounded-[20px] bg-[color:var(--mb-color-nav-hover)]", children: e.avatarSrc ? /* @__PURE__ */ t("img", { src: e.avatarSrc, alt: "", className: "size-full object-cover" }) : /* @__PURE__ */ t("span", { className: "flex size-full items-center justify-center text-sm font-medium text-[color:var(--mb-color-text)]", children: Yl(e.displayName) }) }),
5138
5160
  /* @__PURE__ */ l("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: [
5139
5161
  /* @__PURE__ */ t(
5140
5162
  "p",
@@ -5165,7 +5187,7 @@ function Re({
5165
5187
  const o = new Headers(a ?? void 0);
5166
5188
  return e && o.set("X-Api-Key", e), r && o.set("X-User-Id", r), n && (o.set("X-Questionnaire-Response-Id", n), o.set("X-Appointment-Id", n)), o;
5167
5189
  }
5168
- function Yl(e, r) {
5190
+ function Xl(e, r) {
5169
5191
  return new Promise((n, a) => {
5170
5192
  if (r.aborted) {
5171
5193
  a(new DOMException("Aborted", "AbortError"));
@@ -5179,10 +5201,10 @@ function Yl(e, r) {
5179
5201
  r.addEventListener("abort", o, { once: !0 });
5180
5202
  });
5181
5203
  }
5182
- async function Xl(e, r, n) {
5183
- return e != null && e > 0 && await Yl(e, r), n();
5204
+ async function Vl(e, r, n) {
5205
+ return e != null && e > 0 && await Xl(e, r), n();
5184
5206
  }
5185
- function Vl(e) {
5207
+ function Zl(e) {
5186
5208
  const {
5187
5209
  reportId: r,
5188
5210
  headers: n,
@@ -5199,7 +5221,7 @@ function Vl(e) {
5199
5221
  questionnaireResponseId: i,
5200
5222
  headers: n
5201
5223
  });
5202
- return Ol((h, f) => Xl(c, h, async () => {
5224
+ return El((h, f) => Vl(c, h, async () => {
5203
5225
  if (d)
5204
5226
  throw new Error(m);
5205
5227
  return f();
@@ -5211,27 +5233,27 @@ function Vl(e) {
5211
5233
  signal: h
5212
5234
  }));
5213
5235
  }
5214
- function Zl(e, r) {
5236
+ function Wl(e, r) {
5215
5237
  const n = e.replace(/\/$/, ""), a = r.startsWith("/") ? r : `/${r}`;
5216
5238
  return `${n}${a}`;
5217
5239
  }
5218
- function Wl(e, r) {
5219
- const n = Zl(e || "", "/api/v1/report/download");
5240
+ function Ul(e, r) {
5241
+ const n = Wl(e || "", "/api/v1/report/download");
5220
5242
  if (!r) return n;
5221
5243
  const a = n.includes("?") ? "&" : "?";
5222
5244
  return `${n}${a}report_id=${encodeURIComponent(r)}`;
5223
5245
  }
5224
- function Ul(e, r) {
5246
+ function Ql(e, r) {
5225
5247
  const n = e.headers.get("Content-Disposition");
5226
5248
  if (!n) return r;
5227
5249
  const a = /filename\*?=(?:UTF-8'')?"?([^";]+)"?/i.exec(n);
5228
5250
  return a != null && a[1] ? decodeURIComponent(a[1]) : r;
5229
5251
  }
5230
- function Ql(e, r) {
5252
+ function Kl(e, r) {
5231
5253
  const n = URL.createObjectURL(e), a = document.createElement("a");
5232
5254
  a.href = n, a.download = r, a.rel = "noopener", document.body.appendChild(a), a.click(), a.remove(), setTimeout(() => URL.revokeObjectURL(n), 1e3);
5233
5255
  }
5234
- function Kl(e) {
5256
+ function ql(e) {
5235
5257
  const {
5236
5258
  apiKey: r,
5237
5259
  userId: n,
@@ -5241,7 +5263,7 @@ function Kl(e) {
5241
5263
  fetchImpl: s
5242
5264
  } = e, c = fe();
5243
5265
  return async (d) => {
5244
- const m = s ?? globalThis.fetch.bind(globalThis), b = (d == null ? void 0 : d.reportId) ?? a, g = Wl(c, b), v = Re({
5266
+ const m = s ?? globalThis.fetch.bind(globalThis), b = (d == null ? void 0 : d.reportId) ?? a, g = Ul(c, b), v = Re({
5245
5267
  apiKey: r,
5246
5268
  userId: n,
5247
5269
  questionnaireResponseId: o,
@@ -5253,22 +5275,22 @@ function Kl(e) {
5253
5275
  });
5254
5276
  if (!u.ok)
5255
5277
  throw new Error(`Failed to download report PDF (HTTP ${u.status})`);
5256
- const h = await u.blob(), f = Ul(u, b ? `report-${b}.pdf` : "report.pdf");
5257
- Ql(h, f);
5278
+ const h = await u.blob(), f = Ql(u, b ? `report-${b}.pdf` : "report.pdf");
5279
+ Kl(h, f);
5258
5280
  };
5259
5281
  }
5260
- function ql(e, r) {
5282
+ function Jl(e, r) {
5261
5283
  const n = e.replace(/\/$/, ""), a = r.startsWith("/") ? r : `/${r}`;
5262
5284
  return `${n}${a}`;
5263
5285
  }
5264
- function Jl(e, r) {
5265
- const n = ql(e || "", "/api/v1/report/exists");
5286
+ function _l(e, r) {
5287
+ const n = Jl(e || "", "/api/v1/report/exists");
5266
5288
  return r ? `${n}?report_id=${encodeURIComponent(r)}` : n;
5267
5289
  }
5268
- function _l(e) {
5290
+ function $l(e) {
5269
5291
  return e instanceof DOMException && e.name === "AbortError";
5270
5292
  }
5271
- async function Qs(e) {
5293
+ async function Ks(e) {
5272
5294
  const {
5273
5295
  reportId: r,
5274
5296
  headers: n,
@@ -5277,7 +5299,7 @@ async function Qs(e) {
5277
5299
  questionnaireResponseId: i,
5278
5300
  fetchImpl: s = globalThis.fetch.bind(globalThis),
5279
5301
  signal: c
5280
- } = e, d = fe(), m = Jl(d, r), b = Re({
5302
+ } = e, d = fe(), m = _l(d, r), b = Re({
5281
5303
  apiKey: a,
5282
5304
  userId: o,
5283
5305
  questionnaireResponseId: i,
@@ -5287,7 +5309,7 @@ async function Qs(e) {
5287
5309
  try {
5288
5310
  g = await s(m, { method: "GET", headers: b, signal: c });
5289
5311
  } catch (h) {
5290
- throw _l(h) ? h : new Error(
5312
+ throw $l(h) ? h : new Error(
5291
5313
  `Network error checking report availability: ${h instanceof Error ? h.message : String(h)}`,
5292
5314
  { cause: h }
5293
5315
  );
@@ -5338,7 +5360,7 @@ const Ut = {
5338
5360
  function Ir(e) {
5339
5361
  return Ut[e] ?? Ut[1];
5340
5362
  }
5341
- const $l = [
5363
+ const ei = [
5342
5364
  ["morning", "Morning (AM)"],
5343
5365
  ["noon", "Noon"],
5344
5366
  ["afternoon", "Afternoon"],
@@ -5365,7 +5387,7 @@ function Dr(e) {
5365
5387
  const r = (e ?? "low").toLowerCase();
5366
5388
  return r === "high" ? "high" : r === "med" || r === "moderate" ? "moderate" : "low";
5367
5389
  }
5368
- function ei(e) {
5390
+ function ti(e) {
5369
5391
  const r = e.toLowerCase().trim();
5370
5392
  switch (r) {
5371
5393
  case "hi":
@@ -5406,17 +5428,17 @@ function Rr(e, r) {
5406
5428
  indicators: n
5407
5429
  };
5408
5430
  }
5409
- const ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5431
+ const ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5410
5432
  __proto__: null,
5411
5433
  mapAlertLabSummaryDtoToTabContent: Rr
5412
5434
  }, Symbol.toStringTag, { value: "Module" }));
5413
5435
  function Ce(e) {
5414
5436
  return e != null ? String(Math.round(e)) : "—";
5415
5437
  }
5416
- function ri(e) {
5438
+ function ni(e) {
5417
5439
  return e ?? "";
5418
5440
  }
5419
- function ni(e) {
5441
+ function ai(e) {
5420
5442
  switch ((e ?? "").toLowerCase()) {
5421
5443
  case "low":
5422
5444
  return "optimal";
@@ -5428,7 +5450,7 @@ function ni(e) {
5428
5450
  return "trending";
5429
5451
  }
5430
5452
  }
5431
- const ai = {
5453
+ const oi = {
5432
5454
  cardio: "cardiopulmonary",
5433
5455
  pulmonary: "cardiopulmonary",
5434
5456
  cardiopulmonary: "cardiopulmonary",
@@ -5436,49 +5458,49 @@ const ai = {
5436
5458
  neuro: "neurovascular",
5437
5459
  vascular: "neurovascular"
5438
5460
  };
5439
- function oi(e) {
5461
+ function li(e) {
5440
5462
  const r = e.trim().toLowerCase().replace(/[\s-]+/g, "");
5441
- return ai[r] ?? r;
5463
+ return oi[r] ?? r;
5442
5464
  }
5443
- function li(e, r) {
5444
- const n = oi(e.name);
5465
+ function ii(e, r) {
5466
+ const n = li(e.name);
5445
5467
  return {
5446
5468
  name: e.name,
5447
5469
  infoAriaLabel: `${e.name} category information`,
5448
5470
  symptomScore: Ce(e.survey_score),
5449
5471
  labScore: Ce(e.lab_score),
5450
5472
  totalScore: Ce(e.total_score),
5451
- status: ni(e.interpretation),
5473
+ status: ai(e.interpretation),
5452
5474
  statusExplanationPanel: r != null && r[n] ? {
5453
5475
  bodyParagraphs: [],
5454
5476
  organKey: n
5455
5477
  } : void 0
5456
5478
  };
5457
5479
  }
5458
- function ii(e) {
5480
+ function si(e) {
5459
5481
  const r = e.trim().split(/\s+/).filter(Boolean);
5460
5482
  if (r.length === 0) return "?";
5461
5483
  if (r.length === 1) return r[0].slice(0, 2).toUpperCase();
5462
5484
  const n = r[0][0], a = r[r.length - 1][0];
5463
5485
  return `${n}${a}`.toUpperCase();
5464
5486
  }
5465
- function si(e) {
5487
+ function ci(e) {
5466
5488
  if (!e) return "—";
5467
5489
  const r = e.toLowerCase();
5468
5490
  return r === "female" ? "Female" : r === "male" ? "Male" : e.charAt(0).toUpperCase() + e.slice(1).toLowerCase();
5469
5491
  }
5470
- function ci(e) {
5492
+ function di(e) {
5471
5493
  var a, o;
5472
5494
  const r = (o = (a = e.patient) == null ? void 0 : a.name) == null ? void 0 : o.trim();
5473
5495
  if (!r) return;
5474
5496
  const n = [
5475
- ["Gender", si(e.patient.gender)],
5497
+ ["Gender", ci(e.patient.gender)],
5476
5498
  ["Chronological age", e.patient.chrono_age != null ? String(e.patient.chrono_age) : "—"],
5477
5499
  ["Biological age", e.patient.bio_age != null ? String(e.patient.bio_age) : "—"]
5478
5500
  ];
5479
5501
  return {
5480
5502
  patientName: r,
5481
- initials: ii(r),
5503
+ initials: si(r),
5482
5504
  rows: n
5483
5505
  };
5484
5506
  }
@@ -5491,7 +5513,7 @@ function Se(e) {
5491
5513
  day: "numeric"
5492
5514
  });
5493
5515
  }
5494
- function di(e) {
5516
+ function mi(e) {
5495
5517
  if (e.overall_score == null) return;
5496
5518
  const r = Math.round(e.overall_score), n = Se(e.labs_last_date), a = Se(e.questionnaire_last_date), o = e.wearable_last_activity ?? null;
5497
5519
  return {
@@ -5508,14 +5530,14 @@ function di(e) {
5508
5530
  wearableValueLabel: o ?? ""
5509
5531
  };
5510
5532
  }
5511
- function mi(e, r) {
5533
+ function ui(e, r) {
5512
5534
  if (e.triads.length === 0) return;
5513
5535
  const n = e.triads.map((i) => ({
5514
5536
  triadNumber: i.number,
5515
5537
  name: `${i.name} Triad`,
5516
5538
  aggregateScoreDisplay: Ce(i.total_score)
5517
5539
  })), a = e.triads.map(
5518
- (i) => i.organs.map((s) => li(s, r))
5540
+ (i) => i.organs.map((s) => ii(s, r))
5519
5541
  ), o = Se(e.labs_last_date);
5520
5542
  return {
5521
5543
  sectionTitle: "Total Predictive Trends",
@@ -5528,13 +5550,13 @@ function mi(e, r) {
5528
5550
  categoriesByTriadIndex: a
5529
5551
  };
5530
5552
  }
5531
- function ui(e) {
5553
+ function bi(e) {
5532
5554
  if (e.lab_metrics.length === 0) return;
5533
5555
  const r = e.lab_metrics.map((a) => ({
5534
5556
  name: a.name,
5535
5557
  infoAriaLabel: `${a.name} information`,
5536
5558
  symptomScore: "—",
5537
- labScore: a.value != null ? Pe(a.value, ri(a.unit)) : "—",
5559
+ labScore: a.value != null ? Pe(a.value, ni(a.unit)) : "—",
5538
5560
  totalScore: a.indicator_percent != null ? String(Math.round(a.indicator_percent)) : "—",
5539
5561
  status: a.status
5540
5562
  })), n = Se(e.labs_last_date);
@@ -5554,13 +5576,13 @@ function zr(e, r) {
5554
5576
  title: "Dashboard",
5555
5577
  subtitle: Ar
5556
5578
  },
5557
- patientSummary: ci(e),
5579
+ patientSummary: di(e),
5558
5580
  welcome: {
5559
5581
  title: "",
5560
5582
  paragraphs: [],
5561
5583
  actions: [{ id: "export-reports", label: "Export All Reports" }]
5562
5584
  },
5563
- overallScore: di(e),
5585
+ overallScore: mi(e),
5564
5586
  metaflammation: e.metaflammation ? {
5565
5587
  title: "Metaflammation Gauge",
5566
5588
  value: e.metaflammation.value,
@@ -5568,12 +5590,12 @@ function zr(e, r) {
5568
5590
  infoAriaLabel: "Metaflammation gauge information",
5569
5591
  centerValueColor: "#E97180"
5570
5592
  } : void 0,
5571
- totalPredictiveTrends: mi(e, r),
5572
- alertLabSummaryTable: ui(e),
5593
+ totalPredictiveTrends: ui(e, r),
5594
+ alertLabSummaryTable: bi(e),
5573
5595
  organContent: r
5574
5596
  };
5575
5597
  }
5576
- const bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5598
+ const hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5577
5599
  __proto__: null,
5578
5600
  mapDashboardPageDtoToTabContent: zr
5579
5601
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5581,12 +5603,12 @@ function Or(e) {
5581
5603
  return {
5582
5604
  pageHeader: {
5583
5605
  title: "Lab Analysis",
5584
- subtitle: kr
5606
+ subtitle: Hr
5585
5607
  },
5586
5608
  sections: (e.triads ?? []).map((r) => {
5587
5609
  const n = (r.markers ?? []).map((a) => ({
5588
5610
  label: a.name,
5589
- arrows: ei(a.direction)
5611
+ arrows: ti(a.direction)
5590
5612
  }));
5591
5613
  return {
5592
5614
  triadNumber: r.number,
@@ -5599,11 +5621,11 @@ function Or(e) {
5599
5621
  })
5600
5622
  };
5601
5623
  }
5602
- const hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5624
+ const fi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5603
5625
  __proto__: null,
5604
5626
  mapLabAnalysisDtoToTabContent: Or
5605
5627
  }, Symbol.toStringTag, { value: "Module" }));
5606
- function fi(e) {
5628
+ function gi(e) {
5607
5629
  const r = e.unit ?? "";
5608
5630
  return {
5609
5631
  title: e.name,
@@ -5615,14 +5637,14 @@ function fi(e) {
5615
5637
  status: e.status
5616
5638
  };
5617
5639
  }
5618
- function gi(e) {
5640
+ function pi(e) {
5619
5641
  return {
5620
5642
  title: e.organ_name,
5621
5643
  subtitle: `T${e.triad_number} Lab Values`,
5622
- metrics: e.metrics.map(fi)
5644
+ metrics: e.metrics.map(gi)
5623
5645
  };
5624
5646
  }
5625
- function pi(e, r) {
5647
+ function xi(e, r) {
5626
5648
  const n = /* @__PURE__ */ new Map();
5627
5649
  return e.forEach((a) => {
5628
5650
  n.has(a.triad_number) || n.set(a.triad_number, a);
@@ -5638,7 +5660,7 @@ function pi(e, r) {
5638
5660
  });
5639
5661
  }
5640
5662
  function Er(e, r) {
5641
- const n = e.groups ?? [], a = pi(n, r), o = a[0];
5663
+ const n = e.groups ?? [], a = xi(n, r), o = a[0];
5642
5664
  return {
5643
5665
  pageHeader: {
5644
5666
  title: "Lab Results",
@@ -5646,10 +5668,10 @@ function Er(e, r) {
5646
5668
  },
5647
5669
  intro: o,
5648
5670
  intros: a,
5649
- groups: n.map(gi)
5671
+ groups: n.map(pi)
5650
5672
  };
5651
5673
  }
5652
- const xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5674
+ const vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5653
5675
  __proto__: null,
5654
5676
  mapLabResultsDtoToTabContent: Er
5655
5677
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5673,11 +5695,11 @@ function Fr(e) {
5673
5695
  }))
5674
5696
  };
5675
5697
  }
5676
- const vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5698
+ const wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5677
5699
  __proto__: null,
5678
5700
  mapQuestionnaireAnalysisDtoToTabContent: Fr
5679
5701
  }, Symbol.toStringTag, { value: "Module" }));
5680
- function wi(e) {
5702
+ function yi(e) {
5681
5703
  return e >= 60 ? "high" : e <= 40 ? "low" : "optimal";
5682
5704
  }
5683
5705
  function Gr(e, r) {
@@ -5685,7 +5707,7 @@ function Gr(e, r) {
5685
5707
  return {
5686
5708
  pageHeader: {
5687
5709
  title: "Suggested Products",
5688
- subtitle: Hr
5710
+ subtitle: kr
5689
5711
  },
5690
5712
  intro: n != null ? {
5691
5713
  triadNumber: n,
@@ -5701,7 +5723,7 @@ function Gr(e, r) {
5701
5723
  currentRange: String(i.score),
5702
5724
  previousRange: i.previous_score != null ? String(i.previous_score) : void 0,
5703
5725
  indicatorPercent: Math.round(i.indicator_percent),
5704
- status: wi(i.indicator_percent)
5726
+ status: yi(i.indicator_percent)
5705
5727
  })) : [],
5706
5728
  symptomsSectionTitle: "Symptoms",
5707
5729
  symptoms: [...e.symptoms],
@@ -5714,7 +5736,7 @@ function Gr(e, r) {
5714
5736
  }))
5715
5737
  };
5716
5738
  }
5717
- const yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5739
+ const Ni = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5718
5740
  __proto__: null,
5719
5741
  mapSuggestedProductsDtoToTabContent: Gr
5720
5742
  }, Symbol.toStringTag, { value: "Module" }));
@@ -5729,7 +5751,7 @@ function Yr(e) {
5729
5751
  triadNumbers: [...r.triad_numbers],
5730
5752
  imageSrc: r.image_url ?? void 0,
5731
5753
  imageAlt: r.name,
5732
- scheduleRows: $l.map(([n, a]) => ({
5754
+ scheduleRows: ei.map(([n, a]) => ({
5733
5755
  timeLabel: a,
5734
5756
  dosage: r.schedule[n] ?? null
5735
5757
  }))
@@ -5740,10 +5762,10 @@ function Yr(e) {
5740
5762
  } : void 0
5741
5763
  };
5742
5764
  }
5743
- const Ni = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5765
+ const Ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5744
5766
  __proto__: null,
5745
5767
  mapSupplementScheduleDtoToTabContent: Yr
5746
- }, Symbol.toStringTag, { value: "Module" })), Ci = {
5768
+ }, Symbol.toStringTag, { value: "Module" })), Ai = {
5747
5769
  cardio: "cardiopulmonary",
5748
5770
  pulmonary: "cardiopulmonary",
5749
5771
  cardiopulmonary: "cardiopulmonary",
@@ -5751,15 +5773,15 @@ const Ni = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5751
5773
  neuro: "neurovascular",
5752
5774
  vascular: "neurovascular"
5753
5775
  };
5754
- function Ai(e) {
5776
+ function Li(e) {
5755
5777
  const r = e.trim().toLowerCase().replace(/[\s-]+/g, "");
5756
- return Ci[r] ?? r;
5778
+ return Ai[r] ?? r;
5757
5779
  }
5758
5780
  function Xr(e, r, n) {
5759
5781
  return {
5760
5782
  pageHeader: {
5761
5783
  title: "Total Predictive Trends",
5762
- subtitle: Tr
5784
+ subtitle: Lr
5763
5785
  },
5764
5786
  triadCards: e.triads.map((a) => ({
5765
5787
  triadNumber: a.number,
@@ -5769,7 +5791,7 @@ function Xr(e, r, n) {
5769
5791
  currentRangeLabel: "Current Range",
5770
5792
  previousRangeLabel: "Previous Range",
5771
5793
  categories: a.categories.map((o) => {
5772
- const i = Ai(o.name);
5794
+ const i = Li(o.name);
5773
5795
  return {
5774
5796
  title: o.name.toUpperCase(),
5775
5797
  symptomScore: o.symptom_score != null ? String(o.symptom_score) : "—",
@@ -5793,22 +5815,22 @@ const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5793
5815
  function Qt(e) {
5794
5816
  return `${e.min} - ${e.max}`;
5795
5817
  }
5796
- function Li(e, r) {
5818
+ function Pi(e, r) {
5797
5819
  return e <= r.low.max ? "low" : e <= r.moderate.max ? "moderate" : "high";
5798
5820
  }
5799
- function Pi(e) {
5821
+ function Si(e) {
5800
5822
  return e === "low" ? "optimal" : e === "moderate" ? "trending" : "high";
5801
5823
  }
5802
- function Si(e) {
5824
+ function Mi(e) {
5803
5825
  var a;
5804
- const r = Li(e.score, e.zones), n = (a = e.interpretation) == null ? void 0 : a.trim();
5826
+ const r = Pi(e.score, e.zones), n = (a = e.interpretation) == null ? void 0 : a.trim();
5805
5827
  return {
5806
5828
  name: e.name,
5807
5829
  infoAriaLabel: `${e.name} indicator information`,
5808
5830
  symptomScore: Qt(e.zones.moderate),
5809
5831
  labScore: String(e.score),
5810
5832
  totalScore: Qt(e.zones.high),
5811
- status: Pi(r),
5833
+ status: Si(r),
5812
5834
  statusExplanationPanel: n && n.length > 0 ? { bodyParagraphs: [n] } : void 0
5813
5835
  };
5814
5836
  }
@@ -5816,44 +5838,44 @@ function Vr(e) {
5816
5838
  return {
5817
5839
  pageHeader: {
5818
5840
  title: "Predictive Vitality Wellness Indicators",
5819
- subtitle: Lr
5841
+ subtitle: Tr
5820
5842
  },
5821
- indicators: e.indicators.map(Si)
5843
+ indicators: e.indicators.map(Mi)
5822
5844
  };
5823
5845
  }
5824
- const Mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5846
+ const ki = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5825
5847
  __proto__: null,
5826
5848
  mapWellnessIndicatorsDtoToTabContent: Vr
5827
5849
  }, Symbol.toStringTag, { value: "Module" }));
5828
5850
  function Hi(e, r) {
5829
5851
  return r ? { ...e, ...r } : e;
5830
5852
  }
5831
- const ki = De.map(
5853
+ const ji = De.map(
5832
5854
  (e) => e.id
5833
5855
  );
5834
5856
  function gt(e) {
5835
- return ki.includes(e);
5857
+ return ji.includes(e);
5836
5858
  }
5837
- const ji = 3e5, pt = qt(
5859
+ const Bi = 3e5, pt = qt(
5838
5860
  null
5839
5861
  );
5840
5862
  function Zr() {
5841
5863
  return ot(pt);
5842
5864
  }
5843
- function Ks() {
5865
+ function qs() {
5844
5866
  const e = ot(pt);
5845
- return B(() => {
5867
+ return I(() => {
5846
5868
  e == null || e.invalidate();
5847
5869
  }, [e]);
5848
5870
  }
5849
- function Bi({
5871
+ function Ii({
5850
5872
  children: e,
5851
5873
  fetchers: r,
5852
5874
  ttlMs: n
5853
5875
  }) {
5854
5876
  const a = F(/* @__PURE__ */ new Map()), o = F(/* @__PURE__ */ new Map()), i = F(r);
5855
5877
  i.current = r;
5856
- const s = F(0), c = B(
5878
+ const s = F(0), c = I(
5857
5879
  (u) => {
5858
5880
  if (n <= 0) return;
5859
5881
  const h = a.current.get(u);
@@ -5866,7 +5888,7 @@ function Bi({
5866
5888
  }
5867
5889
  },
5868
5890
  [n]
5869
- ), d = B(
5891
+ ), d = I(
5870
5892
  (u, h) => {
5871
5893
  n <= 0 || a.current.set(u, { data: h, expiresAt: Date.now() + n });
5872
5894
  },
@@ -5883,9 +5905,9 @@ function Bi({
5883
5905
  });
5884
5906
  }), () => u.abort();
5885
5907
  }, [r, d]);
5886
- const m = B((u) => {
5908
+ const m = I((u) => {
5887
5909
  u === void 0 ? a.current.clear() : a.current.delete(u);
5888
- }, []), b = B(
5910
+ }, []), b = I(
5889
5911
  async (u, h) => {
5890
5912
  const f = c(u);
5891
5913
  if (f !== void 0) return f;
@@ -5902,7 +5924,7 @@ function Bi({
5902
5924
  return o.current.set(u, C), C;
5903
5925
  },
5904
5926
  [c, d]
5905
- ), g = B(
5927
+ ), g = I(
5906
5928
  (u) => {
5907
5929
  if (!gt(u)) return;
5908
5930
  const h = new AbortController();
@@ -5921,10 +5943,10 @@ function Bi({
5921
5943
  );
5922
5944
  return /* @__PURE__ */ t(pt.Provider, { value: v, children: e });
5923
5945
  }
5924
- function Ii(e) {
5946
+ function Di(e) {
5925
5947
  return e instanceof DOMException && e.name === "AbortError" ? !0 : e instanceof Error && e.name === "AbortError";
5926
5948
  }
5927
- function Di(e, r) {
5949
+ function Ri(e, r) {
5928
5950
  switch (r.type) {
5929
5951
  case "loadStart":
5930
5952
  return { status: "loading" };
@@ -5934,10 +5956,10 @@ function Di(e, r) {
5934
5956
  return { status: "error", error: r.error };
5935
5957
  }
5936
5958
  }
5937
- function Ri(e, r) {
5938
- const [n, a] = tn(Di, { status: "idle" }), [o, i] = H(0), s = F(r.onLoadError);
5959
+ function zi(e, r) {
5960
+ const [n, a] = tn(Ri, { status: "idle" }), [o, i] = k(0), s = F(r.onLoadError);
5939
5961
  s.current = r.onLoadError;
5940
- const c = Zr(), d = B(() => {
5962
+ const c = Zr(), d = I(() => {
5941
5963
  c == null || c.invalidate(e), a({ type: "loadStart" }), i((b) => b + 1);
5942
5964
  }, [c, e]), m = F(r.fetchers);
5943
5965
  return m.current = r.fetchers, V(() => {
@@ -5958,7 +5980,7 @@ function Ri(e, r) {
5958
5980
  if (!b) return;
5959
5981
  a({ type: "loadSuccess", data: f });
5960
5982
  } catch (f) {
5961
- if (!b || Ii(f)) return;
5983
+ if (!b || Di(f)) return;
5962
5984
  const p = f instanceof Error ? f : new Error(String(f));
5963
5985
  a({ type: "loadError", error: p }), (h = s.current) == null || h.call(s, { navItemId: e, error: p });
5964
5986
  }
@@ -5968,7 +5990,7 @@ function Ri(e, r) {
5968
5990
  }, [e, o, c]), { ...n, refetch: d, loadGeneration: o };
5969
5991
  }
5970
5992
  const Kt = "dashboard";
5971
- function zi({ className: e }) {
5993
+ function Oi({ className: e }) {
5972
5994
  return /* @__PURE__ */ l(
5973
5995
  "div",
5974
5996
  {
@@ -5990,7 +6012,7 @@ function zi({ className: e }) {
5990
6012
  }
5991
6013
  );
5992
6014
  }
5993
- function Oi({ className: e }) {
6015
+ function Ei({ className: e }) {
5994
6016
  return /* @__PURE__ */ l(
5995
6017
  "div",
5996
6018
  {
@@ -6009,7 +6031,7 @@ function Oi({ className: e }) {
6009
6031
  }
6010
6032
  );
6011
6033
  }
6012
- function Ei({ onRetry: e }) {
6034
+ function Fi({ onRetry: e }) {
6013
6035
  return /* @__PURE__ */ l(
6014
6036
  "div",
6015
6037
  {
@@ -6049,7 +6071,7 @@ function Ei({ onRetry: e }) {
6049
6071
  }
6050
6072
  );
6051
6073
  }
6052
- class Fi extends rn {
6074
+ class Gi extends rn {
6053
6075
  constructor() {
6054
6076
  super(...arguments);
6055
6077
  yt(this, "state", { error: null });
@@ -6065,7 +6087,7 @@ class Fi extends rn {
6065
6087
  }
6066
6088
  render() {
6067
6089
  return this.state.error ? /* @__PURE__ */ t(
6068
- Gi,
6090
+ Yi,
6069
6091
  {
6070
6092
  onRetry: () => {
6071
6093
  this.props.onRecover();
@@ -6074,7 +6096,7 @@ class Fi extends rn {
6074
6096
  ) : this.props.children;
6075
6097
  }
6076
6098
  }
6077
- function Gi({ onRetry: e }) {
6099
+ function Yi({ onRetry: e }) {
6078
6100
  return /* @__PURE__ */ l(
6079
6101
  "div",
6080
6102
  {
@@ -6114,41 +6136,41 @@ function Gi({ onRetry: e }) {
6114
6136
  }
6115
6137
  );
6116
6138
  }
6117
- function Yi({
6139
+ function Xi({
6118
6140
  navItemId: e,
6119
6141
  data: r
6120
6142
  }) {
6121
6143
  const { Tab: n } = ht[e];
6122
6144
  return /* @__PURE__ */ t(n, { content: r });
6123
6145
  }
6124
- function Xi({
6146
+ function Vi({
6125
6147
  navItemId: e,
6126
6148
  contentFetchers: r,
6127
6149
  onDashboardTabContentLoadError: n
6128
6150
  }) {
6129
- const a = Ri(e, {
6151
+ const a = zi(e, {
6130
6152
  fetchers: r,
6131
6153
  onLoadError: n
6132
- }), o = zl(e), s = ht[e].Skeleton;
6133
- return a.status === "idle" || a.status === "loading" ? /* @__PURE__ */ t(s, { pageHeader: o }) : a.status === "error" ? /* @__PURE__ */ t(Ei, { onRetry: () => a.refetch() }) : /* @__PURE__ */ t(
6134
- Fi,
6154
+ }), o = Ol(e), s = ht[e].Skeleton;
6155
+ return a.status === "idle" || a.status === "loading" ? /* @__PURE__ */ t(s, { pageHeader: o }) : a.status === "error" ? /* @__PURE__ */ t(Fi, { onRetry: () => a.refetch() }) : /* @__PURE__ */ t(
6156
+ Gi,
6135
6157
  {
6136
6158
  resetKey: `${e}-${a.loadGeneration}`,
6137
6159
  onRecover: () => {
6138
6160
  a.refetch();
6139
6161
  },
6140
- children: /* @__PURE__ */ t(nn, { fallback: /* @__PURE__ */ t(s, { pageHeader: o }), children: /* @__PURE__ */ t(Yi, { navItemId: e, data: a.data }) })
6162
+ children: /* @__PURE__ */ t(nn, { fallback: /* @__PURE__ */ t(s, { pageHeader: o }), children: /* @__PURE__ */ t(Xi, { navItemId: e, data: a.data }) })
6141
6163
  }
6142
6164
  );
6143
6165
  }
6144
- function Vi({
6166
+ function Zi({
6145
6167
  activeItemId: e,
6146
6168
  activeLabel: r,
6147
6169
  contentFetchers: n,
6148
6170
  onDashboardTabContentLoadError: a
6149
6171
  }) {
6150
6172
  return gt(e) ? /* @__PURE__ */ t(
6151
- Xi,
6173
+ Vi,
6152
6174
  {
6153
6175
  navItemId: e,
6154
6176
  contentFetchers: n,
@@ -6156,7 +6178,7 @@ function Vi({
6156
6178
  }
6157
6179
  ) : /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t("h1", { className: "text-2xl font-semibold tracking-tight text-[color:var(--mb-color-text)]", children: r }) });
6158
6180
  }
6159
- function Zi({
6181
+ function Wi({
6160
6182
  renderMainContent: e,
6161
6183
  content: r,
6162
6184
  activeItemId: n,
@@ -6168,7 +6190,7 @@ function Zi({
6168
6190
  useDefaultTabData: d
6169
6191
  }) {
6170
6192
  const m = (e == null ? void 0 : e(n)) ?? (r !== void 0 ? r : /* @__PURE__ */ t(
6171
- Vi,
6193
+ Zi,
6172
6194
  {
6173
6195
  activeItemId: n,
6174
6196
  activeLabel: a,
@@ -6176,12 +6198,12 @@ function Zi({
6176
6198
  onDashboardTabContentLoadError: i
6177
6199
  }
6178
6200
  ));
6179
- return !c && d ? /* @__PURE__ */ t(Oi, { className: "max-w-full shrink-0" }) : Br(s) ? /* @__PURE__ */ l(ae, { children: [
6180
- /* @__PURE__ */ t(zi, { className: "max-w-full shrink-0" }),
6201
+ return !c && d ? /* @__PURE__ */ t(Ei, { className: "max-w-full shrink-0" }) : Br(s) ? /* @__PURE__ */ l(ae, { children: [
6202
+ /* @__PURE__ */ t(Oi, { className: "max-w-full shrink-0" }),
6181
6203
  m
6182
6204
  ] }) : m;
6183
6205
  }
6184
- function Wi({
6206
+ function Ui({
6185
6207
  rootStyle: e,
6186
6208
  enableTabContentCache: r,
6187
6209
  menuTitle: n,
@@ -6207,7 +6229,7 @@ function Wi({
6207
6229
  gl,
6208
6230
  {
6209
6231
  sidebar: /* @__PURE__ */ t(
6210
- Fl,
6232
+ Gl,
6211
6233
  {
6212
6234
  title: n,
6213
6235
  logo: a,
@@ -6224,27 +6246,30 @@ function Wi({
6224
6246
  ),
6225
6247
  sidebarWidthClassName: g,
6226
6248
  className: b,
6227
- children: /* @__PURE__ */ t("div", { className: v, children: u })
6249
+ children: /* @__PURE__ */ l("div", { className: v, children: [
6250
+ u,
6251
+ /* @__PURE__ */ t("div", { "aria-hidden": "true", className: "h-8 shrink-0" })
6252
+ ] })
6228
6253
  }
6229
6254
  )
6230
6255
  }
6231
6256
  );
6232
6257
  }
6233
- function Ui({
6258
+ function Qi({
6234
6259
  wrapTabContentCache: e,
6235
6260
  fetchers: r,
6236
6261
  cacheTtlMs: n,
6237
6262
  viewProps: a
6238
6263
  }) {
6239
- const o = /* @__PURE__ */ t(Wi, { ...a });
6240
- return e ? /* @__PURE__ */ t(Bi, { fetchers: r, ttlMs: n, children: o }) : o;
6264
+ const o = /* @__PURE__ */ t(Ui, { ...a });
6265
+ return e ? /* @__PURE__ */ t(Ii, { fetchers: r, ttlMs: n, children: o }) : o;
6241
6266
  }
6242
- const Qi = [
6267
+ const Ki = [
6243
6268
  { id: "sim-pt-001", label: "Alex Morgan" },
6244
6269
  { id: "sim-pt-002", label: "Jordan Lee" },
6245
6270
  { id: "sim-pt-003", label: "Sam Rivera" },
6246
6271
  { id: "sim-pt-004", label: "Taylor Chen" }
6247
- ], Ki = [
6272
+ ], qi = [
6248
6273
  { id: "sim-rpt-001", label: "March 12, 2026" },
6249
6274
  { id: "sim-rpt-002", label: "February 4, 2026" },
6250
6275
  { id: "sim-rpt-003", label: "January 18, 2026" },
@@ -6264,18 +6289,18 @@ function Qr({
6264
6289
  }
6265
6290
  );
6266
6291
  }
6267
- function qi() {
6268
- return Qi;
6269
- }
6270
6292
  function Ji() {
6271
6293
  return Ki;
6272
6294
  }
6273
- function _i({
6295
+ function _i() {
6296
+ return qi;
6297
+ }
6298
+ function $i({
6274
6299
  rootStyle: e,
6275
6300
  onSelectPatient: r,
6276
6301
  onBack: n
6277
6302
  }) {
6278
- const a = qi();
6303
+ const a = Ji();
6279
6304
  return /* @__PURE__ */ t(
6280
6305
  Qr,
6281
6306
  {
@@ -6311,12 +6336,12 @@ function _i({
6311
6336
  }
6312
6337
  );
6313
6338
  }
6314
- function $i({
6339
+ function es({
6315
6340
  rootStyle: e,
6316
6341
  onSelectReport: r,
6317
6342
  onBack: n
6318
6343
  }) {
6319
- const a = Ji();
6344
+ const a = _i();
6320
6345
  return /* @__PURE__ */ t(
6321
6346
  Qr,
6322
6347
  {
@@ -6352,7 +6377,7 @@ function $i({
6352
6377
  }
6353
6378
  );
6354
6379
  }
6355
- function es({
6380
+ function ts({
6356
6381
  rootStyle: e,
6357
6382
  simulationSessionReady: r,
6358
6383
  simRole: n,
@@ -6365,7 +6390,7 @@ function es({
6365
6390
  if (!r) {
6366
6391
  if (n === "practitioner")
6367
6392
  return /* @__PURE__ */ t(
6368
- _i,
6393
+ $i,
6369
6394
  {
6370
6395
  rootStyle: e,
6371
6396
  onSelectPatient: a,
@@ -6374,7 +6399,7 @@ function es({
6374
6399
  );
6375
6400
  if (n === "patient")
6376
6401
  return /* @__PURE__ */ t(
6377
- $i,
6402
+ es,
6378
6403
  {
6379
6404
  rootStyle: e,
6380
6405
  onSelectReport: i,
@@ -6384,7 +6409,7 @@ function es({
6384
6409
  }
6385
6410
  return c;
6386
6411
  }
6387
- function ts(e) {
6412
+ function rs(e) {
6388
6413
  return j(() => {
6389
6414
  const r = bn(e);
6390
6415
  return {
@@ -6393,18 +6418,18 @@ function ts(e) {
6393
6418
  };
6394
6419
  }, [e]);
6395
6420
  }
6396
- function rs(e, r) {
6421
+ function ns(e, r) {
6397
6422
  const n = e.replace(/\/$/, ""), a = r.startsWith("/") ? r : `/${r}`;
6398
6423
  return `${n}${a}`;
6399
6424
  }
6400
6425
  function Kr(e, r) {
6401
- const n = rs(e || "", "/api/v1/report/full");
6426
+ const n = ns(e || "", "/api/v1/report/full");
6402
6427
  return r ? `${n}?report_id=${encodeURIComponent(r)}` : n;
6403
6428
  }
6404
- function ns(e) {
6429
+ function as(e) {
6405
6430
  return e instanceof DOMException && e.name === "AbortError";
6406
6431
  }
6407
- async function as(e) {
6432
+ async function os(e) {
6408
6433
  const {
6409
6434
  baseUrl: r,
6410
6435
  reportId: n,
@@ -6416,7 +6441,7 @@ async function as(e) {
6416
6441
  try {
6417
6442
  c = await o(s, { method: "GET", headers: a, signal: i });
6418
6443
  } catch (b) {
6419
- throw ns(b) ? b : new Error(
6444
+ throw as(b) ? b : new Error(
6420
6445
  `Network error fetching full report: ${b instanceof Error ? b.message : String(b)}`,
6421
6446
  { cause: b }
6422
6447
  );
@@ -6436,11 +6461,11 @@ async function as(e) {
6436
6461
  throw new Error("Unexpected response shape for /report/full: missing 'report' or 'pages'");
6437
6462
  return m;
6438
6463
  }
6439
- const os = 5e3, _e = /* @__PURE__ */ new Map();
6440
- function ls(e, r, n, a) {
6464
+ const ls = 5e3, _e = /* @__PURE__ */ new Map();
6465
+ function is(e, r, n, a) {
6441
6466
  return `${e}|${r ?? ""}|${n ?? ""}|${a ?? ""}`;
6442
6467
  }
6443
- function is(e) {
6468
+ function ss(e) {
6444
6469
  const {
6445
6470
  reportId: r,
6446
6471
  headers: n,
@@ -6454,7 +6479,7 @@ function is(e) {
6454
6479
  userId: o,
6455
6480
  questionnaireResponseId: i,
6456
6481
  headers: n
6457
- }), b = ls(
6482
+ }), b = is(
6458
6483
  Kr(d, r),
6459
6484
  a,
6460
6485
  o,
@@ -6463,13 +6488,13 @@ function is(e) {
6463
6488
  }), f), v = () => {
6464
6489
  const f = _e.get(b);
6465
6490
  if (f && Date.now() < f.expiresAt) return g(f.promise);
6466
- const p = as({
6491
+ const p = os({
6467
6492
  baseUrl: d,
6468
6493
  reportId: r,
6469
6494
  headers: m,
6470
6495
  fetchImpl: s
6471
6496
  });
6472
- return p.catch(() => _e.delete(b)), _e.set(b, { promise: p, expiresAt: Date.now() + os }), g(p);
6497
+ return p.catch(() => _e.delete(b)), _e.set(b, { promise: p, expiresAt: Date.now() + ls }), g(p);
6473
6498
  };
6474
6499
  v();
6475
6500
  const u = (f) => v();
@@ -6512,10 +6537,10 @@ function is(e) {
6512
6537
  }
6513
6538
  };
6514
6539
  }
6515
- function ss(e, r) {
6540
+ function cs(e, r) {
6516
6541
  return e === r ? !0 : !e || !r || e.length !== r.length ? !1 : e.every((n, a) => n === r[a]);
6517
6542
  }
6518
- function cs({
6543
+ function ds({
6519
6544
  config: e,
6520
6545
  apiKey: r,
6521
6546
  reportHttpConfig: n,
@@ -6526,7 +6551,7 @@ function cs({
6526
6551
  dashboardTabContentCacheTtlMs: c,
6527
6552
  simulationReportId: d
6528
6553
  }) {
6529
- const m = r ?? (e == null ? void 0 : e.apiKey), b = Ao(m), g = i === void 0 && s === void 0, [v, u] = H(), h = j(() => {
6554
+ const m = r ?? (e == null ? void 0 : e.apiKey), b = Ao(m), g = i === void 0 && s === void 0, [v, u] = k(), h = j(() => {
6530
6555
  const P = { ...n ?? {} };
6531
6556
  return d != null && (P.reportId = d), P;
6532
6557
  }, [n, d]), f = j(
@@ -6546,29 +6571,29 @@ function cs({
6546
6571
  V(() => {
6547
6572
  p.current = f, u(void 0);
6548
6573
  }, [f]);
6549
- const y = B((P, A) => {
6574
+ const y = I((P, A) => {
6550
6575
  if (p.current !== A) return;
6551
6576
  const S = [...P.report.available_pages];
6552
6577
  u(
6553
- (L) => ss(L, S) ? L : S
6578
+ (T) => cs(T, S) ? T : S
6554
6579
  );
6555
6580
  }, []), C = j(() => {
6556
- const P = is({
6581
+ const P = ss({
6557
6582
  ...h,
6558
6583
  onFullReportLoaded: (A) => y(A, f)
6559
6584
  });
6560
6585
  return Hi(P, a);
6561
- }, [a, y, f, h]), N = j(() => o || Kl(h), [o, h]);
6586
+ }, [a, y, f, h]), N = j(() => o || ql(h), [o, h]);
6562
6587
  return {
6563
6588
  apiKeyAccepted: b,
6564
6589
  useDefaultTabData: g,
6565
6590
  resolvedDashboardContentFetchers: C,
6566
6591
  resolvedExportReports: N,
6567
- resolvedCacheTtlMs: c ?? ji,
6592
+ resolvedCacheTtlMs: c ?? Bi,
6568
6593
  availableReportPages: v
6569
6594
  };
6570
6595
  }
6571
- function ds(e) {
6596
+ function ms(e) {
6572
6597
  const { logo: r } = e, { src: n, srcMobile: a, alt: o, width: i, height: s, widthMobile: c, heightMobile: d, placeholder: m } = r;
6573
6598
  if (n && a)
6574
6599
  return /* @__PURE__ */ l(ae, { children: [
@@ -6608,7 +6633,7 @@ function ds(e) {
6608
6633
  );
6609
6634
  if (m) return /* @__PURE__ */ t(mn, {});
6610
6635
  }
6611
- function ms({
6636
+ function us({
6612
6637
  role: e,
6613
6638
  patientLabel: r,
6614
6639
  onChangeUser: n
@@ -6639,25 +6664,25 @@ function ms({
6639
6664
  function Ne(e) {
6640
6665
  return e === "practitioner" ? "practitioner" : e === "patient" ? "patient" : null;
6641
6666
  }
6642
- function us(e) {
6643
- const [r, n] = H(
6667
+ function bs(e) {
6668
+ const [r, n] = k(
6644
6669
  () => Ne(e)
6645
- ), [a, o] = H(null), [i, s] = H(""), [c, d] = H(null), [m, b] = H(""), g = j(() => {
6670
+ ), [a, o] = k(null), [i, s] = k(""), [c, d] = k(null), [m, b] = k(""), g = j(() => {
6646
6671
  if (r === "practitioner" && a != null)
6647
6672
  return a;
6648
6673
  if (r === "patient" && c != null)
6649
6674
  return c;
6650
- }, [r, a, c]), v = r === "practitioner" && a !== null || r === "patient" && c !== null, u = B(() => {
6675
+ }, [r, a, c]), v = r === "practitioner" && a !== null || r === "patient" && c !== null, u = I(() => {
6651
6676
  n(Ne(e)), o(null), s(""), d(null), b("");
6652
- }, [e]), h = B(() => n("practitioner"), []), f = B(() => n("patient"), []), p = B(
6677
+ }, [e]), h = I(() => n("practitioner"), []), f = I(() => n("patient"), []), p = I(
6653
6678
  () => n(Ne(e)),
6654
6679
  [e]
6655
- ), y = B(
6680
+ ), y = I(
6656
6681
  () => n(Ne(e)),
6657
6682
  [e]
6658
- ), C = B((w, P) => {
6683
+ ), C = I((w, P) => {
6659
6684
  o(w), s(P);
6660
- }, []), N = B((w, P) => {
6685
+ }, []), N = I((w, P) => {
6661
6686
  d(w), b(P);
6662
6687
  }, []);
6663
6688
  return {
@@ -6682,12 +6707,12 @@ function us(e) {
6682
6707
  onSelectPatientReport: N
6683
6708
  };
6684
6709
  }
6685
- function bs({
6710
+ function hs({
6686
6711
  activeNavItemIdProp: e,
6687
6712
  defaultActiveNavItemId: r,
6688
6713
  onActiveNavItemChange: n
6689
6714
  }) {
6690
- const [a, o] = H(r), i = e !== void 0 ? e : a, s = B(
6715
+ const [a, o] = k(r), i = e !== void 0 ? e : a, s = I(
6691
6716
  (c) => {
6692
6717
  n == null || n(c), e === void 0 && o(c);
6693
6718
  },
@@ -6695,21 +6720,21 @@ function bs({
6695
6720
  );
6696
6721
  return { activeItemId: i, handleNavItemClick: s };
6697
6722
  }
6698
- const hs = "Your lab results will be available once the lab requisition has been completed and processed.", fs = /* @__PURE__ */ new Set([
6723
+ const fs = "Your lab results will be available once the lab requisition has been completed and processed.", gs = /* @__PURE__ */ new Set([
6699
6724
  "lab-results",
6700
6725
  "lab-analysis",
6701
6726
  "alert-lab-summary"
6702
6727
  ]);
6703
- function gs(e) {
6704
- if (!e) return Le;
6728
+ function ps(e) {
6729
+ if (!e) return Te;
6705
6730
  const r = new Set(e);
6706
- return Le.map((n) => !fs.has(n.id) || r.has(n.id) ? n : {
6731
+ return Te.map((n) => !gs.has(n.id) || r.has(n.id) ? n : {
6707
6732
  ...n,
6708
6733
  disabled: !0,
6709
- disabledTooltip: hs
6734
+ disabledTooltip: fs
6710
6735
  });
6711
6736
  }
6712
- function ps({
6737
+ function xs({
6713
6738
  config: e,
6714
6739
  apiKey: r,
6715
6740
  viewerRole: n,
@@ -6733,14 +6758,14 @@ function ps({
6733
6758
  }) {
6734
6759
  var se;
6735
6760
  _r();
6736
- const { resolvedBranding: w, rootStyle: P } = ts(e), A = us(n), { activeItemId: S, handleNavItemClick: L } = bs({
6761
+ const { resolvedBranding: w, rootStyle: P } = rs(e), A = bs(n), { activeItemId: S, handleNavItemClick: T } = hs({
6737
6762
  activeNavItemIdProp: v,
6738
6763
  defaultActiveNavItemId: u,
6739
6764
  onActiveNavItemChange: h
6740
- }), z = ((se = Le.find((J) => J.id === S)) == null ? void 0 : se.label) ?? S, G = j(
6741
- () => o !== void 0 ? o : ds(w),
6765
+ }), z = ((se = Te.find((J) => J.id === S)) == null ? void 0 : se.label) ?? S, G = j(
6766
+ () => o !== void 0 ? o : ms(w),
6742
6767
  [w, o]
6743
- ), D = cs({
6768
+ ), B = ds({
6744
6769
  config: e,
6745
6770
  apiKey: r,
6746
6771
  reportHttpConfig: c,
@@ -6751,47 +6776,47 @@ function ps({
6751
6776
  dashboardTabContentCacheTtlMs: N,
6752
6777
  simulationReportId: A.simulationReportId
6753
6778
  }), q = j(
6754
- () => gs(D.availableReportPages),
6755
- [D.availableReportPages]
6779
+ () => ps(B.availableReportPages),
6780
+ [B.availableReportPages]
6756
6781
  ), $ = j(
6757
6782
  () => new Set(q.filter((J) => J.disabled).map((J) => J.id)),
6758
6783
  [q]
6759
6784
  );
6760
6785
  V(() => {
6761
- $.has(S) && L(Kt);
6762
- }, [S, $, L]);
6786
+ $.has(S) && T(Kt);
6787
+ }, [S, $, T]);
6763
6788
  const ze = j(
6764
6789
  () => [
6765
6790
  "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))]",
6766
6791
  y
6767
6792
  ].filter(Boolean).join(" "),
6768
6793
  [y]
6769
- ), ie = D.useDefaultTabData && D.apiKeyAccepted, ge = /* @__PURE__ */ t(
6770
- Zi,
6794
+ ), ie = B.useDefaultTabData && B.apiKeyAccepted, ge = /* @__PURE__ */ t(
6795
+ Wi,
6771
6796
  {
6772
6797
  renderMainContent: g,
6773
6798
  content: s,
6774
6799
  activeItemId: S,
6775
6800
  activeLabel: z,
6776
- resolvedDashboardContentFetchers: D.resolvedDashboardContentFetchers,
6801
+ resolvedDashboardContentFetchers: B.resolvedDashboardContentFetchers,
6777
6802
  onDashboardTabContentLoadError: m,
6778
6803
  sideMenuUserProfile: i,
6779
- apiKeyAccepted: D.apiKeyAccepted,
6780
- useDefaultTabData: D.useDefaultTabData
6804
+ apiKeyAccepted: B.apiKeyAccepted,
6805
+ useDefaultTabData: B.useDefaultTabData
6781
6806
  }
6782
6807
  ), pe = /* @__PURE__ */ t(
6783
- ms,
6808
+ us,
6784
6809
  {
6785
6810
  role: A.simRole,
6786
6811
  patientLabel: A.simRole === "patient" ? A.simPatientReportLabel : A.simPractitionerPatientLabel,
6787
6812
  onChangeUser: A.resetSimulationSession
6788
6813
  }
6789
6814
  ), xe = /* @__PURE__ */ t(
6790
- Ui,
6815
+ Qi,
6791
6816
  {
6792
6817
  wrapTabContentCache: ie,
6793
- fetchers: D.resolvedDashboardContentFetchers,
6794
- cacheTtlMs: D.resolvedCacheTtlMs,
6818
+ fetchers: B.resolvedDashboardContentFetchers,
6819
+ cacheTtlMs: B.resolvedCacheTtlMs,
6795
6820
  viewProps: {
6796
6821
  rootStyle: P,
6797
6822
  enableTabContentCache: ie,
@@ -6802,7 +6827,7 @@ function ps({
6802
6827
  sideMenuClassName: p,
6803
6828
  sideMenuItems: q,
6804
6829
  activeItemId: S,
6805
- handleNavItemClick: L,
6830
+ handleNavItemClick: T,
6806
6831
  shellClassName: f,
6807
6832
  sidebarWidthClassName: C,
6808
6833
  mainAreaClassName: ze,
@@ -6811,13 +6836,13 @@ function ps({
6811
6836
  }
6812
6837
  ), ve = j(
6813
6838
  () => ({
6814
- onExportReports: D.resolvedExportReports,
6815
- onNavigateToNavItem: L
6839
+ onExportReports: B.resolvedExportReports,
6840
+ onNavigateToNavItem: T
6816
6841
  }),
6817
- [D.resolvedExportReports, L]
6842
+ [B.resolvedExportReports, T]
6818
6843
  );
6819
6844
  return /* @__PURE__ */ t(Ka, { value: ve, children: /* @__PURE__ */ t(
6820
- es,
6845
+ ts,
6821
6846
  {
6822
6847
  rootStyle: P,
6823
6848
  simulationSessionReady: A.simulationSessionReady,
@@ -6830,11 +6855,11 @@ function ps({
6830
6855
  }
6831
6856
  ) });
6832
6857
  }
6833
- function xs({
6858
+ function vs({
6834
6859
  allowedPostMessageOrigins: e,
6835
6860
  validatePostMessageConfig: r
6836
6861
  } = {}) {
6837
- const [n, a] = H(() => {
6862
+ const [n, a] = k(() => {
6838
6863
  if (!(typeof window > "u"))
6839
6864
  return rl(new URLSearchParams(window.location.search));
6840
6865
  }), o = j(
@@ -6844,7 +6869,7 @@ function xs({
6844
6869
  []
6845
6870
  ), i = j(() => {
6846
6871
  if (o.patientId)
6847
- return Vl({
6872
+ return Zl({
6848
6873
  reportId: o.patientId,
6849
6874
  apiKey: n == null ? void 0 : n.apiKey
6850
6875
  });
@@ -6859,7 +6884,7 @@ function xs({
6859
6884
  };
6860
6885
  return window.addEventListener("message", s), () => window.removeEventListener("message", s);
6861
6886
  }, [e, r]), /* @__PURE__ */ t(
6862
- ps,
6887
+ xs,
6863
6888
  {
6864
6889
  apiKey: yr,
6865
6890
  config: n,
@@ -6868,13 +6893,13 @@ function xs({
6868
6893
  }
6869
6894
  );
6870
6895
  }
6871
- function qs(e = "root", r) {
6896
+ function Js(e = "root", r) {
6872
6897
  const n = document.getElementById(e);
6873
6898
  if (!n)
6874
6899
  throw new Error("Root element not found");
6875
6900
  ln(n).render(
6876
6901
  /* @__PURE__ */ t(an, { children: /* @__PURE__ */ t("div", { className: "flex h-full min-h-0 w-full flex-col", children: /* @__PURE__ */ t(
6877
- xs,
6902
+ vs,
6878
6903
  {
6879
6904
  allowedPostMessageOrigins: r == null ? void 0 : r.allowedPostMessageOrigins,
6880
6905
  validatePostMessageConfig: r == null ? void 0 : r.validatePostMessageConfig
@@ -6883,103 +6908,103 @@ function qs(e = "root", r) {
6883
6908
  );
6884
6909
  }
6885
6910
  export {
6886
- Ls as AlertLabSummaryCard,
6911
+ Ps as AlertLabSummaryCard,
6887
6912
  bt as AlertLabSummaryIcon,
6888
- Bs as AlertLabSummaryTab,
6913
+ Is as AlertLabSummaryTab,
6889
6914
  Qa as AlertLabSummaryTabSkeleton,
6890
6915
  _ as Badge,
6891
6916
  M as Button,
6892
- ki as DASHBOARD_TAB_NAV_IDS,
6917
+ ji as DASHBOARD_TAB_NAV_IDS,
6893
6918
  De as DASHBOARD_TAB_PLUGINS,
6894
- ji as DEFAULT_DASHBOARD_TAB_CONTENT_CACHE_TTL_MS,
6895
- k as DEFAULT_METABOLIC_BRANDING,
6896
- T as DashboardCard,
6919
+ Bi as DEFAULT_DASHBOARD_TAB_CONTENT_CACHE_TTL_MS,
6920
+ H as DEFAULT_METABOLIC_BRANDING,
6921
+ L as DashboardCard,
6897
6922
  it as DashboardCardSectionHeader,
6898
6923
  il as DashboardIcon,
6899
- Is as DashboardTab,
6900
- Bi as DashboardTabContentCacheProvider,
6924
+ Ds as DashboardTab,
6925
+ Ii as DashboardTabContentCacheProvider,
6901
6926
  so as DashboardTabSkeleton,
6902
6927
  or as GradientRangeBar,
6903
6928
  he as LAB_METRIC_RANGE_BAR_SEGMENTS,
6904
6929
  sl as LabAnalysisIcon,
6905
- Ds as LabAnalysisTab,
6930
+ Rs as LabAnalysisTab,
6906
6931
  co as LabAnalysisTabSkeleton,
6907
6932
  ua as LabAnalysisTriadCard,
6908
- Ps as LabMetricRangeCard,
6933
+ Ss as LabMetricRangeCard,
6909
6934
  cl as LabResultsIcon,
6910
6935
  hr as LabResultsIntroCard,
6911
- Rs as LabResultsTab,
6936
+ zs as LabResultsTab,
6912
6937
  xo as LabResultsTabSkeleton,
6913
6938
  mn as LogoPlaceholder,
6914
- Ws as LogoutIcon,
6939
+ Us as LogoutIcon,
6915
6940
  yr as METABOLIC_DASHBOARD_STUB_API_KEY,
6916
6941
  Nr as METABOLIC_IFRAME_CONFIG_QUERY_KEY,
6917
6942
  Cr as METABOLIC_IFRAME_SET_CONFIG_MESSAGE,
6918
6943
  Co as METABOLIC_REPORT_PAGES_API_BASE_URL,
6919
- ps as MetabolicDashboard,
6920
- Vi as MetabolicDashboardDefaultMain,
6921
- xs as MetabolicEmbedRoot,
6944
+ xs as MetabolicDashboard,
6945
+ Zi as MetabolicDashboardDefaultMain,
6946
+ vs as MetabolicEmbedRoot,
6922
6947
  Rn as MetabolicScoreBar,
6923
6948
  ne as MetabolicTriadCategoryPanel,
6924
6949
  Be as MetabolicTriadCategoryPanelSkeleton,
6925
- Ss as MetabolicTriadIntroCard,
6950
+ Ms as MetabolicTriadIntroCard,
6926
6951
  gr as MetabolicTriadSectionCard,
6927
6952
  lr as MetaflammationGauge,
6928
6953
  wa as MetaflammationGaugeCard,
6929
6954
  Pn as OVERALL_SCORE_GRADIENT_STOPS,
6930
6955
  Sn as OVERALL_SCORE_LABELS,
6931
6956
  Do as OrganDetailPage,
6932
- La as OverallMetabolicScoreCard,
6933
- I as PageHeader,
6957
+ Ta as OverallMetabolicScoreCard,
6958
+ D as PageHeader,
6934
6959
  Yn as PractitionerNoteRow,
6935
6960
  Pa as PractitionerNotesCard,
6936
6961
  dl as PredictiveIndexIcon,
6937
- Ms as ProfileSummaryCard,
6938
- zs as QuestionnaireAnalysisTab,
6962
+ ks as ProfileSummaryCard,
6963
+ Os as QuestionnaireAnalysisTab,
6939
6964
  zo as QuestionnaireAnalysisTabSkeleton,
6940
6965
  ml as QuestionnaireIcon,
6941
6966
  oe as SegmentedRangeBar,
6942
6967
  gl as ShellLayout,
6943
- Fl as SideMenu,
6944
- Us as SideMenuFooter,
6945
- El as SideMenuNavButton,
6968
+ Gl as SideMenu,
6969
+ Qs as SideMenuFooter,
6970
+ Fl as SideMenuNavButton,
6946
6971
  jt as SkeletonCircle,
6947
6972
  x as SkeletonRect,
6948
6973
  ul as SuggestedProductsIcon,
6949
- Os as SuggestedProductsTab,
6974
+ Es as SuggestedProductsTab,
6950
6975
  Go as SuggestedProductsTabSkeleton,
6951
6976
  Sa as SupplementScheduleCard,
6952
6977
  bl as SupplementScheduleIcon,
6953
- Es as SupplementScheduleTab,
6978
+ Fs as SupplementScheduleTab,
6954
6979
  Yo as SupplementScheduleTabSkeleton,
6955
6980
  qn as SupplementScheduleTableRow,
6956
6981
  $n as SupplementTriadMarkGroup,
6957
6982
  Y as TRIAD_RESILIENCY_TREND_SEGMENTS,
6958
6983
  K as TabSkeletonRoot,
6959
6984
  Z as Tooltip,
6960
- Fs as TotalPredictiveIndexTab,
6985
+ Gs as TotalPredictiveIndexTab,
6961
6986
  Zo as TotalPredictiveIndexTabSkeleton,
6962
6987
  ee as TriadMarkIcon,
6963
6988
  ra as TriadRadar,
6964
6989
  Hs as TriadRadarReportCard,
6965
- ks as WelcomeMessageCard,
6966
- js as WellnessIndicatorCard,
6990
+ js as WelcomeMessageCard,
6991
+ Bs as WellnessIndicatorCard,
6967
6992
  hl as WellnessIndicatorsIcon,
6968
- Gs as WellnessIndicatorsTab,
6993
+ Ys as WellnessIndicatorsTab,
6969
6994
  Jo as WellnessIndicatorsTabSkeleton,
6970
6995
  Kn as activeSegmentHighlightColor,
6971
- Jl as buildReportExistsUrl,
6996
+ _l as buildReportExistsUrl,
6972
6997
  xl as buildReportPageUrl,
6973
- Qs as checkMetabolicReportExists,
6974
- Vl as createHttpDashboardContentFetchers,
6975
- Kl as createReportPdfDownloader,
6998
+ Ks as checkMetabolicReportExists,
6999
+ Zl as createHttpDashboardContentFetchers,
7000
+ ql as createReportPdfDownloader,
6976
7001
  tl as decodeMetabolicIframeConfig,
6977
- Vs as emitMetabolicDashboardLogout,
7002
+ Zs as emitMetabolicDashboardLogout,
6978
7003
  el as encodeMetabolicIframeConfig,
6979
7004
  _r as ensureAgChartsModules,
6980
7005
  U as fetchReportPage,
6981
7006
  fe as getBuiltInReportPagesApiBaseUrl,
6982
- zl as getDashboardTabStaticPageHeader,
7007
+ Ol as getDashboardTabStaticPageHeader,
6983
7008
  gt as isDashboardNavItemId,
6984
7009
  Ao as isMetabolicDashboardApiKeyAccepted,
6985
7010
  ll as isMetabolicEmbedPostMessageOriginAllowed,
@@ -6994,15 +7019,15 @@ export {
6994
7019
  Vr as mapWellnessIndicatorsDtoToTabContent,
6995
7020
  Hi as mergeDashboardContentFetchers,
6996
7021
  _t as metabolicBrandingToStyle,
6997
- Xs as metabolicIframeSrcAppendStealthParams,
6998
- Ys as metabolicIframeSrcWithConfig,
6999
- qs as mountMetabolicEmbed,
7000
- Zs as postMetabolicIframeConfig,
7022
+ Vs as metabolicIframeSrcAppendStealthParams,
7023
+ Xs as metabolicIframeSrcWithConfig,
7024
+ Js as mountMetabolicEmbed,
7025
+ Ws as postMetabolicIframeConfig,
7001
7026
  ol as readMetabolicEmbedStealthParams,
7002
7027
  rl as readMetabolicIframeConfigFromSearchParams,
7003
7028
  bn as resolveMetabolicBranding,
7004
7029
  W as sideMenuItemIconClass,
7005
7030
  Me as useAgCharts,
7006
- Ri as useDashboardTabContent,
7007
- Ks as useInvalidateDashboardTabContentCache
7031
+ zi as useDashboardTabContent,
7032
+ qs as useInvalidateDashboardTabContentCache
7008
7033
  };