@divami-artefacts/ai-design-system 1.0.21 → 1.0.23

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
@@ -1805,27 +1805,27 @@ function ut({ points: e = [], "data-testid": t }) {
1805
1805
  }
1806
1806
  //#endregion
1807
1807
  //#region src/components/trend/Trend.tsx
1808
- var dt = 680, q = 280, ft = 54, pt = 28, mt = 64, ht = f.font, gt = 12;
1809
- function _t({ points: e = [], "data-testid": t }) {
1808
+ var dt = 680, q = 280, ft = 54, pt = 28, mt = 64, ht = f.font, gt = 12, _t = Math.PI * 2, vt = 72, yt = 20, bt = 5e3;
1809
+ function xt({ points: e = [], "data-testid": t }) {
1810
1810
  let r = a(null), o = a(null), l = a(0), d = i(() => e.filter((e) => typeof e == "object" && !!e), [e]), p = i(() => {
1811
1811
  if (d.length <= 1) return mt;
1812
1812
  let e = document.createElement("canvas").getContext("2d");
1813
1813
  if (!e) return mt;
1814
1814
  e.font = ht;
1815
- let t = Math.max(...d.map((t) => e.measureText(t.week).width));
1816
- return Math.max(mt, t + gt);
1817
- }, [d]), m = Math.round(p / 2), g = Math.max(dt - ft, pt + m + Math.max(0, d.length - 1) * p), { tooltip: _, hitZonesRef: y } = w(r, {
1818
- width: g,
1815
+ let t = Math.max(1, Math.ceil(d.length / yt)), n = Math.max(...d.filter((e, n) => n % t === 0).map((t) => e.measureText(t.week).width));
1816
+ return Math.max(mt, n + gt);
1817
+ }, [d]), m = Math.round(p / 2), g = pt + m + Math.max(0, d.length - 1) * p, _ = Math.max(dt - ft, Math.min(g, bt)), { tooltip: y, hitZonesRef: b } = w(r, {
1818
+ width: _,
1819
1819
  height: q
1820
1820
  });
1821
1821
  return n(() => {
1822
1822
  let e = r.current;
1823
1823
  if (!e) return;
1824
- let t = v(e, g, q), n = o.current ? v(o.current, ft, q) : null;
1824
+ let t = v(e, _, q), n = o.current ? v(o.current, ft, q) : null;
1825
1825
  l.current = 0;
1826
- let i = g - pt, a = q - 30 - 54, s = Math.max(...d.map((e) => e.count), 1), c = d.length, _ = c > 1 ? Math.max((i - m) / (c - 1), p) : i - m, b = d.map((e, t) => ({
1827
- x: m + t * _,
1828
- y: 30 + a - e.count / s * a,
1826
+ let i = d.length <= vt ? vt : Math.max(24, Math.round(vt * (vt / d.length))), a = _ - pt, s = q - 30 - 54, c = Math.max(...d.map((e) => e.count), 1), g = d.length, y = g > 1 ? (a - m) / (g - 1) : a - m, x = Math.max(1, Math.ceil(p / y)), S = d.map((e, t) => ({
1827
+ x: m + t * y,
1828
+ y: 30 + s - e.count / c * s,
1829
1829
  point: e
1830
1830
  }));
1831
1831
  n && (n.clearRect(0, 0, ft, q), n.letterSpacing = f.letterSpacing, [
@@ -1834,52 +1834,60 @@ function _t({ points: e = [], "data-testid": t }) {
1834
1834
  .75,
1835
1835
  1
1836
1836
  ].forEach((e) => {
1837
- let t = 30 + a - e * a;
1838
- n.font = f.font, n.fillStyle = f.color, n.textAlign = "right", n.fillText(String(Math.round(s * e)), ft - 6, t + 3);
1839
- }), n.save(), n.translate(12, 30 + a / 2), n.rotate(-Math.PI / 2), n.font = f.font, n.fillStyle = f.color, n.textAlign = "center", n.fillText("Count", 0, 0), n.restore());
1840
- let x, S = () => {
1837
+ let t = 30 + s - e * s;
1838
+ n.font = f.font, n.fillStyle = f.color, n.textAlign = "right", n.fillText(String(Math.round(c * e)), ft - 6, t + 3);
1839
+ }), n.save(), n.translate(12, 30 + s / 2), n.rotate(-Math.PI / 2), n.font = f.font, n.fillStyle = f.color, n.textAlign = "center", n.fillText("Count", 0, 0), n.restore());
1840
+ let C = t.createLinearGradient(0, 30, 0, 30 + s);
1841
+ C.addColorStop(0, h(u.blue, .22)), C.addColorStop(1, h(u.blue, .02));
1842
+ let w = 0, E, O = (e) => {
1843
+ t.font = ht, t.fillStyle = f.color, t.textAlign = "center";
1844
+ for (let n = 0; n < e; n++) n % x === 0 && t.fillText(S[n].point.week, S[n].x, q - 54 + 14);
1845
+ }, k = () => {
1841
1846
  l.current++;
1842
- let e = Math.min(l.current / 72, 1), n = D(e);
1843
- t.clearRect(0, 0, g, q), t.letterSpacing = f.letterSpacing, [
1847
+ let e = Math.min(l.current / i, 1), n = D(e), r = e >= 1;
1848
+ t.clearRect(0, 0, _, q), t.letterSpacing = f.letterSpacing, [
1844
1849
  .25,
1845
1850
  .5,
1846
1851
  .75,
1847
1852
  1
1848
1853
  ].forEach((e) => {
1849
- let n = 30 + a - e * a;
1850
- t.strokeStyle = h(u.bd, .18), t.lineWidth = 1, t.setLineDash([3, 5]), t.beginPath(), t.moveTo(0, n), t.lineTo(i, n), t.stroke(), t.setLineDash([]);
1851
- }), t.font = f.font, t.fillStyle = f.color, t.textAlign = "center", t.fillText("Period", m + (i - m) / 2, q - 6), t.strokeStyle = h(u.bd, .3), t.lineWidth = 1, t.beginPath(), t.moveTo(m, 30 + a), t.lineTo(i, 30 + a), t.stroke();
1852
- let r = n * (c - 1), o = Math.floor(r) + 1;
1853
- if (o >= 2) {
1854
- t.beginPath(), t.moveTo(b[0].x, 30 + a), t.lineTo(b[0].x, b[0].y);
1855
- for (let e = 1; e < o; e++) {
1856
- let n = r - Math.floor(r), i = e === o - 1 && e === Math.ceil(r) && n > 0, a = i ? b[e - 1].x + (b[e].x - b[e - 1].x) * n : b[e].x, s = i ? b[e - 1].y + (b[e].y - b[e - 1].y) * n : b[e].y;
1857
- t.lineTo(a, s);
1854
+ let n = 30 + s - e * s;
1855
+ t.strokeStyle = h(u.bd, .18), t.lineWidth = 1, t.setLineDash([3, 5]), t.beginPath(), t.moveTo(0, n), t.lineTo(a, n), t.stroke(), t.setLineDash([]);
1856
+ }), t.font = f.font, t.fillStyle = f.color, t.textAlign = "center", t.fillText("Period", m + (a - m) / 2, q - 6), t.strokeStyle = h(u.bd, .3), t.lineWidth = 1, t.beginPath(), t.moveTo(m, 30 + s), t.lineTo(a, 30 + s), t.stroke();
1857
+ let o = n * (g - 1), c = Math.floor(o) + 1;
1858
+ if (c >= 2) {
1859
+ t.beginPath(), t.moveTo(S[0].x, 30 + s), t.lineTo(S[0].x, S[0].y);
1860
+ for (let e = 1; e < c; e++) {
1861
+ let n = o - Math.floor(o), r = e === c - 1 && e === Math.ceil(o) && n > 0, i = r ? S[e - 1].x + (S[e].x - S[e - 1].x) * n : S[e].x, a = r ? S[e - 1].y + (S[e].y - S[e - 1].y) * n : S[e].y;
1862
+ t.lineTo(i, a);
1858
1863
  }
1859
- t.lineTo(b[o - 1].x, 30 + a), t.closePath();
1860
- let e = t.createLinearGradient(0, 30, 0, 30 + a);
1861
- e.addColorStop(0, h(u.blue, .22)), e.addColorStop(1, h(u.blue, .02)), t.fillStyle = e, t.fill();
1864
+ t.lineTo(S[c - 1].x, 30 + s), t.closePath(), t.fillStyle = C, t.fill();
1862
1865
  }
1863
1866
  t.beginPath();
1864
- for (let e = 0; e < o; e++) {
1865
- let n = r - Math.floor(r), i = e === o - 1 && e > 0 && e === Math.ceil(r) && n > 0, a = i ? b[e - 1].x + (b[e].x - b[e - 1].x) * n : b[e].x, s = i ? b[e - 1].y + (b[e].y - b[e - 1].y) * n : b[e].y;
1866
- e === 0 ? t.moveTo(a, s) : t.lineTo(a, s);
1867
+ for (let e = 0; e < c; e++) {
1868
+ let n = o - Math.floor(o), r = e === c - 1 && e > 0 && e === Math.ceil(o) && n > 0, i = r ? S[e - 1].x + (S[e].x - S[e - 1].x) * n : S[e].x, a = r ? S[e - 1].y + (S[e].y - S[e - 1].y) * n : S[e].y;
1869
+ e === 0 ? t.moveTo(i, a) : t.lineTo(i, a);
1867
1870
  }
1868
- t.strokeStyle = h(u.blue, .85), t.lineWidth = 2, t.stroke(), y.current = [], b.forEach((e, n) => {
1869
- n >= o || (T(y.current, `pt-${n}`, e.x, e.y, 10, {
1870
- label: e.point.week,
1871
- value: `${e.point.count} submissions`,
1872
- sublabel: `£${e.point.value}M value`,
1871
+ t.strokeStyle = h(u.blue, .85), t.lineWidth = 2, t.stroke(), t.fillStyle = h(u.blue, .8), t.beginPath();
1872
+ for (let e = 0; e < c; e++) t.moveTo(S[e].x + 3.5, S[e].y), t.arc(S[e].x, S[e].y, 3.5, 0, _t);
1873
+ if (t.fill(), c > w) {
1874
+ b.current = [];
1875
+ for (let e = 0; e < c; e++) T(b.current, `pt-${e}`, S[e].x, S[e].y, 10, {
1876
+ label: S[e].point.week,
1877
+ value: `${S[e].point.count} submissions`,
1878
+ sublabel: `£${S[e].point.value}M value`,
1873
1879
  color: u.blue
1874
- }), t.beginPath(), t.arc(e.x, e.y, 3.5, 0, Math.PI * 2), t.fillStyle = h(u.blue, .8), t.fill(), t.font = ht, t.fillStyle = f.color, t.textAlign = "center", t.fillText(e.point.week, e.x, q - 54 + 14));
1875
- }), e < 1 && (x = requestAnimationFrame(S));
1880
+ });
1881
+ w = c;
1882
+ }
1883
+ r && O(g), r || (E = requestAnimationFrame(k));
1876
1884
  };
1877
- return S(), () => cancelAnimationFrame(x);
1885
+ return k(), () => cancelAnimationFrame(E);
1878
1886
  }, [
1879
1887
  d,
1880
- g,
1888
+ _,
1881
1889
  p,
1882
- y
1890
+ b
1883
1891
  ]), d.length < 2 ? /* @__PURE__ */ s(I, {
1884
1892
  width: dt,
1885
1893
  height: q,
@@ -1909,7 +1917,7 @@ function _t({ points: e = [], "data-testid": t }) {
1909
1917
  children: /* @__PURE__ */ c("div", {
1910
1918
  style: {
1911
1919
  position: "relative",
1912
- width: g,
1920
+ width: _,
1913
1921
  height: q
1914
1922
  },
1915
1923
  children: [/* @__PURE__ */ s("canvas", {
@@ -1917,13 +1925,13 @@ function _t({ points: e = [], "data-testid": t }) {
1917
1925
  role: "img",
1918
1926
  "aria-label": "Trend chart — count over time",
1919
1927
  style: {
1920
- width: g,
1928
+ width: _,
1921
1929
  height: q,
1922
1930
  display: "block"
1923
1931
  }
1924
1932
  }), /* @__PURE__ */ s(C, {
1925
- ..._,
1926
- parentW: g,
1933
+ ...y,
1934
+ parentW: _,
1927
1935
  parentH: q
1928
1936
  })]
1929
1937
  })
@@ -1932,38 +1940,38 @@ function _t({ points: e = [], "data-testid": t }) {
1932
1940
  }
1933
1941
  //#endregion
1934
1942
  //#region src/components/proportionalBandChart/ProportionalBandChart.tsx
1935
- var J = 680, vt = 240;
1936
- function yt(e, t, n) {
1943
+ var J = 680, St = 240;
1944
+ function Ct(e, t, n) {
1937
1945
  if (e.measureText(t).width <= n) return t;
1938
1946
  let r = t;
1939
1947
  for (; r.length > 0 && e.measureText(`${r}…`).width > n;) r = r.slice(0, -1);
1940
1948
  return `${r}…`;
1941
1949
  }
1942
- var bt = {
1950
+ var wt = {
1943
1951
  Critical: u.red,
1944
1952
  High: u.orange,
1945
1953
  Medium: u.amber,
1946
1954
  Low: u.green
1947
1955
  };
1948
- function xt({ severities: e = [], "data-testid": t }) {
1956
+ function Tt({ severities: e = [], "data-testid": t }) {
1949
1957
  let r = a(null), o = a(/* @__PURE__ */ new Map()), l = a(0), { hoveredRef: d, tooltip: m, hitZonesRef: g } = w(r, {
1950
1958
  width: J,
1951
- height: vt
1959
+ height: St
1952
1960
  }), _ = i(() => e.filter((e) => typeof e == "object" && !!e), [e]);
1953
1961
  return n(() => {
1954
1962
  let e = r.current;
1955
1963
  if (!e) return;
1956
- let t = v(e, J, vt);
1964
+ let t = v(e, J, St);
1957
1965
  l.current = 0;
1958
- let n = _.reduce((e, t) => e + t.count, 0), i = J - 28 - 28, a = vt - 50 - 52, s = _.map((e) => e.count / n * i), c, m = () => {
1966
+ let n = _.reduce((e, t) => e + t.count, 0), i = J - 28 - 28, a = St - 50 - 52, s = _.map((e) => e.count / n * i), c, m = () => {
1959
1967
  l.current++;
1960
1968
  let e = l.current;
1961
- t.clearRect(0, 0, J, vt), t.letterSpacing = f.letterSpacing;
1969
+ t.clearRect(0, 0, J, St), t.letterSpacing = f.letterSpacing;
1962
1970
  let r = O(Math.min(e / 60, 1));
1963
1971
  N(o.current, d.current), g.current = [], t.strokeStyle = h(u.bd, .2), t.lineWidth = 1, t.beginPath(), t.rect(28, 50, i, a), t.stroke(), t.strokeStyle = h(u.t2, .15), t.lineWidth = 1, t.setLineDash([4, 4]), t.beginPath(), t.moveTo(J / 2, 50), t.lineTo(J / 2, 50 + a), t.stroke(), t.setLineDash([]);
1964
1972
  let v = 28;
1965
1973
  _.forEach((e, i) => {
1966
- let c = bt[e.severity] ?? u.blue, l = s[i];
1974
+ let c = wt[e.severity] ?? u.blue, l = s[i];
1967
1975
  l * r;
1968
1976
  let d = o.current.get(e.severity) ?? 0, m = v + l / 2, _ = l * .85;
1969
1977
  m - _ / 2;
@@ -1975,7 +1983,7 @@ function xt({ severities: e = [], "data-testid": t }) {
1975
1983
  color: c
1976
1984
  }), r > .5) {
1977
1985
  let i = Math.min(1, (r - .5) / .5), o = v + l / 2;
1978
- t.globalAlpha = i, t.font = f.font, t.fillStyle = d > 0 ? c : h(c, .9), t.textAlign = "center", t.fillText(yt(t, e.severity, l - 12), o, 38), t.font = p.font, t.fillStyle = d > 0 ? u.t1 : h(u.t1, .85), t.fillText(String(e.count), o, 50 + a / 2 + 6), t.font = f.font, t.fillStyle = d > 0 ? c : f.color, t.fillText(`${Math.round(e.count / n * 100)}%`, o, 50 + a + 18), t.globalAlpha = 1;
1986
+ t.globalAlpha = i, t.font = f.font, t.fillStyle = d > 0 ? c : h(c, .9), t.textAlign = "center", t.fillText(Ct(t, e.severity, l - 12), o, 38), t.font = p.font, t.fillStyle = d > 0 ? u.t1 : h(u.t1, .85), t.fillText(String(e.count), o, 50 + a / 2 + 6), t.font = f.font, t.fillStyle = d > 0 ? c : f.color, t.fillText(`${Math.round(e.count / n * 100)}%`, o, 50 + a + 18), t.globalAlpha = 1;
1979
1987
  }
1980
1988
  v += l;
1981
1989
  });
@@ -1985,14 +1993,14 @@ function xt({ severities: e = [], "data-testid": t }) {
1985
1993
  return m(), () => cancelAnimationFrame(c);
1986
1994
  }, [_]), _.length === 0 ? /* @__PURE__ */ s(I, {
1987
1995
  width: J,
1988
- height: vt,
1996
+ height: St,
1989
1997
  "data-testid": t
1990
1998
  }) : /* @__PURE__ */ c("div", {
1991
1999
  "data-testid": t,
1992
2000
  style: {
1993
2001
  position: "relative",
1994
2002
  width: J,
1995
- height: vt
2003
+ height: St
1996
2004
  },
1997
2005
  children: [/* @__PURE__ */ s("canvas", {
1998
2006
  ref: r,
@@ -2000,48 +2008,48 @@ function xt({ severities: e = [], "data-testid": t }) {
2000
2008
  "aria-label": "Early Warning severity distribution — prism spectrum bands",
2001
2009
  style: {
2002
2010
  width: J,
2003
- height: vt,
2011
+ height: St,
2004
2012
  display: "block"
2005
2013
  }
2006
2014
  }), /* @__PURE__ */ s(C, {
2007
2015
  ...m,
2008
2016
  parentW: J,
2009
- parentH: vt
2017
+ parentH: St
2010
2018
  })]
2011
2019
  });
2012
2020
  }
2013
2021
  //#endregion
2014
2022
  //#region src/components/hubAndSpokeRadialChart/HubAndSpokeRadialChart.tsx
2015
- var Y = 460, St = 300, Ct = {
2023
+ var Y = 460, X = 300, Et = {
2016
2024
  Open: u.red,
2017
2025
  Submitted: u.amber,
2018
2026
  Closed: u.green
2019
2027
  };
2020
- function wt({ segments: e = [], title: t, "data-testid": r }) {
2028
+ function Dt({ segments: e = [], title: t, "data-testid": r }) {
2021
2029
  let o = a(null), l = a(0), d = a(/* @__PURE__ */ new Map()), { hoveredRef: m, tooltip: g, hitZonesRef: _ } = w(o, {
2022
2030
  width: Y,
2023
- height: St
2031
+ height: X
2024
2032
  }), S = i(() => e.filter((e) => typeof e == "object" && !!e), [e]);
2025
2033
  return n(() => {
2026
2034
  let e = o.current;
2027
2035
  if (!e) return;
2028
- let t = v(e, Y, St);
2036
+ let t = v(e, Y, X);
2029
2037
  l.current = 0;
2030
- let n = Y * .5, r = St * .54, i = Y * .22, a = S.reduce((e, t) => e + t.count, 0), s = Math.max(...S.map((e) => e.count), 1), c, g = () => {
2038
+ let n = Y * .5, r = X * .54, i = Y * .22, a = S.reduce((e, t) => e + t.count, 0), s = Math.max(...S.map((e) => e.count), 1), c, g = () => {
2031
2039
  l.current++;
2032
2040
  let e = l.current;
2033
- t.clearRect(0, 0, Y, St), t.letterSpacing = f.letterSpacing, _.current = [], d.current.forEach((e, t) => {
2041
+ t.clearRect(0, 0, Y, X), t.letterSpacing = f.letterSpacing, _.current = [], d.current.forEach((e, t) => {
2034
2042
  let n = t === m.current ? 1 : 0, r = e + (n - e) * .12;
2035
2043
  Math.abs(r - n) < .005 ? n === 0 ? d.current.delete(t) : d.current.set(t, 1) : d.current.set(t, r);
2036
- }), m.current && !d.current.has(m.current) && d.current.set(m.current, 0), b(t, Y, St, e, 40, h(u.blue, .04)), S.forEach((a, o) => {
2037
- let c = o / 3 * Math.PI * 2 - Math.PI / 2, l = n + Math.cos(c) * i, d = r + Math.sin(c) * i, f = Ct[a.status] ?? u.blue, m = 2 + a.count / s * 8;
2044
+ }), m.current && !d.current.has(m.current) && d.current.set(m.current, 0), b(t, Y, X, e, 40, h(u.blue, .04)), S.forEach((a, o) => {
2045
+ let c = o / 3 * Math.PI * 2 - Math.PI / 2, l = n + Math.cos(c) * i, d = r + Math.sin(c) * i, f = Et[a.status] ?? u.blue, m = 2 + a.count / s * 8;
2038
2046
  t.beginPath(), t.moveTo(n, r), t.lineTo(l, d), t.strokeStyle = h(f, .08), t.lineWidth = m * 2, t.stroke(), t.beginPath(), t.moveTo(n, r), t.lineTo(l, d), t.strokeStyle = h(f, .25), t.lineWidth = 1, t.stroke();
2039
2047
  let g = (e * .005 + o * .33) % 1, _ = n + (l - n) * g, v = r + (d - r) * g;
2040
2048
  y(t, _, v, 6, f, .4), t.beginPath(), t.arc(_, v, 2, 0, Math.PI * 2), t.fillStyle = h(f, .8), t.fill();
2041
2049
  let b = (n + l) / 2, x = (r + d) / 2;
2042
2050
  t.font = p.font, t.textAlign = "center", t.textBaseline = "middle", t.fillStyle = h(f, .85), t.fillText(String(a.count), b, x);
2043
2051
  }), S.forEach((e, o) => {
2044
- let c = o / 3 * Math.PI * 2 - Math.PI / 2, l = n + Math.cos(c) * i, p = r + Math.sin(c) * i, m = Ct[e.status] ?? u.blue, g = 10 + e.count / s * 18, v = d.current.get(e.status) ?? 0;
2052
+ let c = o / 3 * Math.PI * 2 - Math.PI / 2, l = n + Math.cos(c) * i, p = r + Math.sin(c) * i, m = Et[e.status] ?? u.blue, g = 10 + e.count / s * 18, v = d.current.get(e.status) ?? 0;
2045
2053
  y(t, l, p, g * 2.5, m, .2 + v * .15);
2046
2054
  let b = t.createRadialGradient(l, p - g * .2, 0, l, p, g);
2047
2055
  b.addColorStop(0, h(m, .8 + v * .2)), b.addColorStop(1, h(m, .4 + v * .1)), t.beginPath(), t.arc(l, p, g, 0, Math.PI * 2), t.fillStyle = b, t.fill(), t.font = "bold " + f.font, t.textAlign = "center", t.textBaseline = "middle", t.fillStyle = h(u.t1, .9), t.fillText(e.status, l, p), T(_.current, e.status, l, p, g + 6, {
@@ -2058,19 +2066,19 @@ function wt({ segments: e = [], title: t, "data-testid": r }) {
2058
2066
  label: "Total EW Status",
2059
2067
  value: `${a} Early Warnings`,
2060
2068
  color: u.t2
2061
- }), x(t, Y, St, e, .015), c = requestAnimationFrame(g);
2069
+ }), x(t, Y, X, e, .015), c = requestAnimationFrame(g);
2062
2070
  };
2063
2071
  return g(), () => cancelAnimationFrame(c);
2064
2072
  }, [S, t]), S.length === 0 ? /* @__PURE__ */ s(I, {
2065
2073
  width: Y,
2066
- height: St,
2074
+ height: X,
2067
2075
  "data-testid": r
2068
2076
  }) : /* @__PURE__ */ c("div", {
2069
2077
  "data-testid": r,
2070
2078
  style: {
2071
2079
  position: "relative",
2072
2080
  width: Y,
2073
- height: St
2081
+ height: X
2074
2082
  },
2075
2083
  children: [/* @__PURE__ */ s("canvas", {
2076
2084
  ref: o,
@@ -2078,21 +2086,21 @@ function wt({ segments: e = [], title: t, "data-testid": r }) {
2078
2086
  "aria-label": t ?? "EW status arc visualization",
2079
2087
  style: {
2080
2088
  width: Y,
2081
- height: St,
2089
+ height: X,
2082
2090
  display: "block",
2083
2091
  borderRadius: 8
2084
2092
  }
2085
2093
  }), /* @__PURE__ */ s(C, {
2086
2094
  ...g,
2087
2095
  parentW: Y,
2088
- parentH: St
2096
+ parentH: X
2089
2097
  })]
2090
2098
  });
2091
2099
  }
2092
2100
  //#endregion
2093
2101
  //#region src/components/trendChart/TrendChart.tsx
2094
- var Tt = 280, X = 96;
2095
- function Et({ points: e = [], className: t, colors: r }) {
2102
+ var Ot = 280, Z = 96;
2103
+ function kt({ points: e = [], className: t, colors: r }) {
2096
2104
  let o = a(null), d = a(/* @__PURE__ */ new Map()), f = a(0), p = i(() => e.map(([e, t]) => {
2097
2105
  let n = String(t).match(/-?\d+(\.\d+)?/);
2098
2106
  return {
@@ -2100,18 +2108,18 @@ function Et({ points: e = [], className: t, colors: r }) {
2100
2108
  value: n ? Number(n[0]) : 0
2101
2109
  };
2102
2110
  }), [e]), { mouseRef: m, hoveredRef: g, tooltip: _, hitZonesRef: b } = w(o, {
2103
- width: Tt,
2104
- height: X
2111
+ width: Ot,
2112
+ height: Z
2105
2113
  });
2106
2114
  return n(() => {
2107
2115
  let e = o.current;
2108
2116
  if (!e) return;
2109
- let t = v(e, Tt, X);
2117
+ let t = v(e, Ot, Z);
2110
2118
  f.current = 0;
2111
2119
  let n = r?.line ?? u.blue, i = r?.point ?? u.blue, a = r?.axisLine ?? u.bd, s, c = () => {
2112
2120
  f.current++;
2113
2121
  let e = f.current;
2114
- if (t.clearRect(0, 0, Tt, X), p.length < 2) {
2122
+ if (t.clearRect(0, 0, Ot, Z), p.length < 2) {
2115
2123
  s = requestAnimationFrame(c);
2116
2124
  return;
2117
2125
  }
@@ -2120,9 +2128,9 @@ function Et({ points: e = [], className: t, colors: r }) {
2120
2128
  right: 12,
2121
2129
  top: 16,
2122
2130
  bottom: 20
2123
- }, o = Tt - r.left - r.right, l = X - r.top - r.bottom, _ = p.map((e) => e.value), v = Math.min(..._), x = Math.max(..._) - v || 1, C = (e) => r.left + e / (p.length - 1) * o, w = (e) => r.top + (1 - (e - v) / x) * l, E = 1 - (1 - Math.min(e / 48, 1)) ** 3, D = Math.max(2, Math.floor(E * p.length));
2124
- if (N(d.current, g.current), b.current = [], t.strokeStyle = h(a, .3), t.lineWidth = .5, t.setLineDash([]), t.beginPath(), t.moveTo(r.left, X - r.bottom), t.lineTo(Tt - r.right, X - r.bottom), t.stroke(), t.font = "9px 'JetBrains Mono', monospace", t.fillStyle = h(u.t4, .9), t.textAlign = "center", p.forEach((e, n) => {
2125
- t.fillText(e.label.replace("Day ", "D"), C(n), X - 4);
2131
+ }, o = Ot - r.left - r.right, l = Z - r.top - r.bottom, _ = p.map((e) => e.value), v = Math.min(..._), x = Math.max(..._) - v || 1, C = (e) => r.left + e / (p.length - 1) * o, w = (e) => r.top + (1 - (e - v) / x) * l, E = 1 - (1 - Math.min(e / 48, 1)) ** 3, D = Math.max(2, Math.floor(E * p.length));
2132
+ if (N(d.current, g.current), b.current = [], t.strokeStyle = h(a, .3), t.lineWidth = .5, t.setLineDash([]), t.beginPath(), t.moveTo(r.left, Z - r.bottom), t.lineTo(Ot - r.right, Z - r.bottom), t.stroke(), t.font = "9px 'JetBrains Mono', monospace", t.fillStyle = h(u.t4, .9), t.textAlign = "center", p.forEach((e, n) => {
2133
+ t.fillText(e.label.replace("Day ", "D"), C(n), Z - 4);
2126
2134
  }), m.current.over && g.current) {
2127
2135
  let e = parseInt(g.current.split("-")[1]);
2128
2136
  isNaN(e) || S(t, C(e), r.top, r.top + l);
@@ -2158,44 +2166,44 @@ function Et({ points: e = [], className: t, colors: r }) {
2158
2166
  children: /* @__PURE__ */ c("div", {
2159
2167
  style: {
2160
2168
  position: "relative",
2161
- width: Tt,
2162
- height: X
2169
+ width: Ot,
2170
+ height: Z
2163
2171
  },
2164
2172
  children: [/* @__PURE__ */ s("canvas", {
2165
2173
  ref: o,
2166
2174
  role: "img",
2167
2175
  "aria-label": "trend chart",
2168
2176
  style: {
2169
- width: Tt,
2170
- height: X,
2177
+ width: Ot,
2178
+ height: Z,
2171
2179
  display: "block",
2172
2180
  borderRadius: 8
2173
2181
  }
2174
2182
  }), /* @__PURE__ */ s(C, {
2175
2183
  ..._,
2176
- parentW: Tt,
2177
- parentH: X
2184
+ parentW: Ot,
2185
+ parentH: Z
2178
2186
  })]
2179
2187
  })
2180
2188
  });
2181
2189
  }
2182
2190
  //#endregion
2183
2191
  //#region src/components/segmentedSplitBarChart/SegmentedSplitBarChart.tsx
2184
- var Dt = 680, Ot = 8, kt = 26, At = 14, jt = 16, Mt = 32;
2185
- function Nt({ items: e = [], "data-testid": t }) {
2186
- let r = a(null), l = a(/* @__PURE__ */ new Map()), d = a(0), [g, _] = o(!1), b = i(() => e.filter((e) => typeof e == "object" && !!e), [e]), x = i(() => g ? b : b.slice(0, Ot), [b, g]), S = jt + Mt + x.length * (kt + At) - At, { hoveredRef: T, tooltip: D, hitZonesRef: k } = w(r, {
2187
- width: Dt,
2192
+ var At = 680, jt = 8, Mt = 26, Nt = 14, Pt = 16, Ft = 32;
2193
+ function It({ items: e = [], "data-testid": t }) {
2194
+ let r = a(null), l = a(/* @__PURE__ */ new Map()), d = a(0), [g, _] = o(!1), b = i(() => e.filter((e) => typeof e == "object" && !!e), [e]), x = i(() => g ? b : b.slice(0, jt), [b, g]), S = Pt + Ft + x.length * (Mt + Nt) - Nt, { hoveredRef: T, tooltip: D, hitZonesRef: k } = w(r, {
2195
+ width: At,
2188
2196
  height: S
2189
2197
  });
2190
2198
  return n(() => {
2191
2199
  let e = r.current;
2192
2200
  if (!e) return;
2193
- let t = v(e, Dt, S);
2201
+ let t = v(e, At, S);
2194
2202
  d.current = 0;
2195
- let n = jt, i = Mt, a = kt, o = At, s = Dt - 60 - 28, c = Math.max(...x.map((e) => (e.implemented ?? 0) + (e.unimplemented ?? 0))), g = x.length * (a + o) - o, _ = n + (S - n - i - g) / 2, b, C = () => {
2203
+ let n = Pt, i = Ft, a = Mt, o = Nt, s = At - 60 - 28, c = Math.max(...x.map((e) => (e.implemented ?? 0) + (e.unimplemented ?? 0))), g = x.length * (a + o) - o, _ = n + (S - n - i - g) / 2, b, C = () => {
2196
2204
  d.current++;
2197
2205
  let e = d.current;
2198
- t.clearRect(0, 0, Dt, S);
2206
+ t.clearRect(0, 0, At, S);
2199
2207
  let n = O(Math.min(e / 60, 1));
2200
2208
  N(l.current, T.current), k.current = [], x.forEach((e, r) => {
2201
2209
  let i = M(n, r, x.length, O), d = _ + r * (a + o), m = (e.implemented ?? 0) + (e.unimplemented ?? 0), g = (e.implemented ?? 0) / c * s * i, v = (e.unimplemented ?? 0) / c * s * i, b = `${e.id}-impl`, S = `${e.id}-un`, C = l.current.get(b) ?? 0, w = l.current.get(S) ?? 0;
@@ -2226,16 +2234,16 @@ function Nt({ items: e = [], "data-testid": t }) {
2226
2234
  };
2227
2235
  return C(), () => cancelAnimationFrame(b);
2228
2236
  }, [x, S]), b.length === 0 ? /* @__PURE__ */ s(I, {
2229
- width: Dt,
2237
+ width: At,
2230
2238
  height: 160,
2231
2239
  "data-testid": t
2232
2240
  }) : /* @__PURE__ */ c("div", {
2233
2241
  "data-testid": t,
2234
- style: { width: Dt },
2242
+ style: { width: At },
2235
2243
  children: [/* @__PURE__ */ c("div", {
2236
2244
  style: {
2237
2245
  position: "relative",
2238
- width: Dt,
2246
+ width: At,
2239
2247
  height: S
2240
2248
  },
2241
2249
  children: [/* @__PURE__ */ s("canvas", {
@@ -2243,16 +2251,16 @@ function Nt({ items: e = [], "data-testid": t }) {
2243
2251
  role: "img",
2244
2252
  "aria-label": "Implemented vs unimplemented variations per contractor — split bar",
2245
2253
  style: {
2246
- width: Dt,
2254
+ width: At,
2247
2255
  height: S,
2248
2256
  display: "block"
2249
2257
  }
2250
2258
  }), /* @__PURE__ */ s(C, {
2251
2259
  ...D,
2252
- parentW: Dt,
2260
+ parentW: At,
2253
2261
  parentH: S
2254
2262
  })]
2255
- }), b.length > Ot && /* @__PURE__ */ s("div", {
2263
+ }), b.length > jt && /* @__PURE__ */ s("div", {
2256
2264
  style: { marginTop: 8 },
2257
2265
  children: /* @__PURE__ */ s(ae, {
2258
2266
  expanded: g,
@@ -2263,18 +2271,18 @@ function Nt({ items: e = [], "data-testid": t }) {
2263
2271
  }
2264
2272
  //#endregion
2265
2273
  //#region src/components/weeklyFlow/WeeklyFlow.tsx
2266
- var Pt = 800, Ft = 360;
2267
- function It({ items: e = [], "data-testid": t }) {
2274
+ var Lt = 800, Rt = 360;
2275
+ function zt({ items: e = [], "data-testid": t }) {
2268
2276
  let r = a(null), i = a(/* @__PURE__ */ new Map()), o = a(0), { hoveredRef: l, tooltip: m, hitZonesRef: g } = w(r, {
2269
- width: Pt,
2270
- height: Ft
2277
+ width: Lt,
2278
+ height: Rt
2271
2279
  });
2272
2280
  return n(() => {
2273
2281
  let t = r.current;
2274
2282
  if (!t) return;
2275
- let n = v(t, Pt, Ft);
2283
+ let n = v(t, Lt, Rt);
2276
2284
  o.current = 0;
2277
- let a = e.reduce((e, t) => e + (t.base ?? 0), 0), s = e.reduce((e, t) => e + (t.variation ?? 0), 0), c = e.reduce((e, t) => e + (t.total ?? 0), 0), m = Ft - 20 - 26, _ = m - 6 * (e.length - 1), b = 20, x = e.map((e, t) => {
2285
+ let a = e.reduce((e, t) => e + (t.base ?? 0), 0), s = e.reduce((e, t) => e + (t.variation ?? 0), 0), c = e.reduce((e, t) => e + (t.total ?? 0), 0), m = Rt - 20 - 26, _ = m - 6 * (e.length - 1), b = 20, x = e.map((e, t) => {
2278
2286
  let n = Math.max(24, (e.total ?? 0) / (c || 1) * _), r = {
2279
2287
  x: 100 - 110 / 2,
2280
2288
  y: b,
@@ -2302,16 +2310,16 @@ function It({ items: e = [], "data-testid": t }) {
2302
2310
  }, j, P = () => {
2303
2311
  o.current++;
2304
2312
  let t = o.current;
2305
- n.clearRect(0, 0, Pt, Ft), n.letterSpacing = f.letterSpacing;
2313
+ n.clearRect(0, 0, Lt, Rt), n.letterSpacing = f.letterSpacing;
2306
2314
  let r = D(Math.min(t / 80, 1));
2307
2315
  if (N(i.current, l.current), g.current = [], e.forEach((t, o) => {
2308
2316
  let c = x[o], l = M(r, o, e.length, D), u = i.current.get(t.id) ?? 0;
2309
2317
  if (l < .01) return;
2310
2318
  let d = (t.base ?? 0) / (t.total || 1), f = (t.variation ?? 0) / (t.total || 1), p = c.h * d, m = c.h * f, h = c.y + p / 2, g = c.y + p + m / 2, _ = Math.max(2, (t.base ?? 0) / a * C), v = Math.max(2, (t.variation ?? 0) / s * w), y = O.y + e.slice(0, o).reduce((e, t) => e + (t.base ?? 0) / a * C, 0) + _ / 2, b = k.y + e.slice(0, o).reduce((e, t) => e + (t.variation ?? 0) / s * w, 0) + v / 2, S = u * .2 + .18;
2311
- Lt(n, c.x + 110, h, 420 - 110 / 2, y, _ * l, c.color, S), Lt(n, c.x + 110, g, 420 - 110 / 2, b, v * l, c.color, S * .75);
2319
+ Bt(n, c.x + 110, h, 420 - 110 / 2, y, _ * l, c.color, S), Bt(n, c.x + 110, g, 420 - 110 / 2, b, v * l, c.color, S * .75);
2312
2320
  }), r > .3) {
2313
2321
  let e = Math.min(1, (r - .3) / .7), t = A.y + a / c * m / 2, i = A.y + m - s / c * m / 2;
2314
- Lt(n, 475, O.cy, 720 - 110 / 2, t, C * e, u.blue, .25 * e), Lt(n, 475, k.cy, 720 - 110 / 2, i, w * e, u.amber, .22 * e);
2322
+ Bt(n, 475, O.cy, 720 - 110 / 2, t, C * e, u.blue, .25 * e), Bt(n, 475, k.cy, 720 - 110 / 2, i, w * e, u.amber, .22 * e);
2315
2323
  }
2316
2324
  if ([
2317
2325
  "Contractors",
@@ -2323,7 +2331,7 @@ function It({ items: e = [], "data-testid": t }) {
2323
2331
  420,
2324
2332
  720
2325
2333
  ][t];
2326
- n.font = f.font, n.fillStyle = f.color, n.textAlign = "center", n.fillText(e, r, Ft - 8);
2334
+ n.font = f.font, n.fillStyle = f.color, n.textAlign = "center", n.fillText(e, r, Rt - 8);
2327
2335
  }), e.forEach((t, a) => {
2328
2336
  let o = x[a], s = M(r, a, e.length, D), c = i.current.get(t.id) ?? 0;
2329
2337
  E(g.current, t.id, o.x, o.y, 110, o.h, {
@@ -2347,32 +2355,32 @@ function It({ items: e = [], "data-testid": t }) {
2347
2355
  "data-testid": t,
2348
2356
  style: {
2349
2357
  position: "relative",
2350
- width: Pt,
2351
- height: Ft
2358
+ width: Lt,
2359
+ height: Rt
2352
2360
  },
2353
2361
  children: [/* @__PURE__ */ s("canvas", {
2354
2362
  ref: r,
2355
2363
  role: "img",
2356
2364
  "aria-label": "Weekly report flow — base value and variations per contractor flowing to total commitment",
2357
2365
  style: {
2358
- width: Pt,
2359
- height: Ft,
2366
+ width: Lt,
2367
+ height: Rt,
2360
2368
  display: "block"
2361
2369
  }
2362
2370
  }), /* @__PURE__ */ s(C, {
2363
2371
  ...m,
2364
- parentW: Pt,
2365
- parentH: Ft
2372
+ parentW: Lt,
2373
+ parentH: Rt
2366
2374
  })]
2367
2375
  });
2368
2376
  }
2369
- function Lt(e, t, n, r, i, a, o, s) {
2377
+ function Bt(e, t, n, r, i, a, o, s) {
2370
2378
  let c = (t + r) / 2;
2371
2379
  e.beginPath(), e.moveTo(t, n - a / 2), e.bezierCurveTo(c, n - a / 2, c, i - a / 2, r, i - a / 2), e.lineTo(r, i + a / 2), e.bezierCurveTo(c, i + a / 2, c, n + a / 2, t, n + a / 2), e.closePath(), e.fillStyle = h(o, s), e.fill();
2372
2380
  }
2373
2381
  //#endregion
2374
2382
  //#region src/components/visualizationRenderer/VisualizationRenderer.tsx
2375
- function Rt({ config: e, className: t }) {
2383
+ function Vt({ config: e, className: t }) {
2376
2384
  return e.type === "line" ? /* @__PURE__ */ s(Ie, {
2377
2385
  rows: e.rows,
2378
2386
  className: t
@@ -2396,62 +2404,62 @@ function Rt({ config: e, className: t }) {
2396
2404
  }) : e.type === "flow" ? /* @__PURE__ */ s(it, {
2397
2405
  selectedEntity: e.selectedEntity,
2398
2406
  className: t
2399
- }) : e.type === "trend" ? /* @__PURE__ */ s(Et, {
2407
+ }) : e.type === "trend" ? /* @__PURE__ */ s(kt, {
2400
2408
  points: e.points,
2401
2409
  className: t
2402
2410
  }) : e.type === "mini-bars" ? /* @__PURE__ */ s(ze, {
2403
2411
  rows: e.rows,
2404
2412
  className: t
2405
- }) : e.type === "stacked-horizontal-bar-chart" ? /* @__PURE__ */ s(Ae, { data: e.data }) : e.type === "multi-metric-constellation-chart" ? /* @__PURE__ */ s(Ce, { items: e.items }) : e.type === "progress-race-chart" ? /* @__PURE__ */ s(fe, { items: e.items }) : e.type === "hub-and-spoke-radial-chart" ? /* @__PURE__ */ s(wt, {
2413
+ }) : e.type === "stacked-horizontal-bar-chart" ? /* @__PURE__ */ s(Ae, { data: e.data }) : e.type === "multi-metric-constellation-chart" ? /* @__PURE__ */ s(Ce, { items: e.items }) : e.type === "progress-race-chart" ? /* @__PURE__ */ s(fe, { items: e.items }) : e.type === "hub-and-spoke-radial-chart" ? /* @__PURE__ */ s(Dt, {
2406
2414
  segments: e.segments,
2407
2415
  title: e.title
2408
- }) : e.type === "dot-matrix-chart" ? /* @__PURE__ */ s(Fe, { items: e.items }) : e.type === "ranked-card-leaderboard" ? /* @__PURE__ */ s(Pe, { items: e.items }) : e.type === "proportional-band-chart" ? /* @__PURE__ */ s(xt, { severities: e.severities }) : e.type === "radial-fan-tree-chart" ? /* @__PURE__ */ s(We, {
2416
+ }) : e.type === "dot-matrix-chart" ? /* @__PURE__ */ s(Fe, { items: e.items }) : e.type === "ranked-card-leaderboard" ? /* @__PURE__ */ s(Pe, { items: e.items }) : e.type === "proportional-band-chart" ? /* @__PURE__ */ s(Tt, { severities: e.severities }) : e.type === "radial-fan-tree-chart" ? /* @__PURE__ */ s(We, {
2409
2417
  total: e.total,
2410
2418
  items: e.items
2411
2419
  }) : e.type === "semi-circular-gauge-chart" ? /* @__PURE__ */ s(he, {
2412
2420
  value: e.value,
2413
2421
  confirmed: e.confirmed,
2414
2422
  total: e.total
2415
- }) : e.type === "segmented-split-bar-chart" ? /* @__PURE__ */ s(Nt, { items: e.items }) : e.type === "balance-scale-chart" ? /* @__PURE__ */ s(ct, {
2423
+ }) : e.type === "segmented-split-bar-chart" ? /* @__PURE__ */ s(It, { items: e.items }) : e.type === "balance-scale-chart" ? /* @__PURE__ */ s(ct, {
2416
2424
  left: e.left,
2417
2425
  right: e.right
2418
- }) : e.type === "area-line-chart" ? /* @__PURE__ */ s(ut, { points: e.points }) : e.type === "trend-view" ? /* @__PURE__ */ s(_t, { points: e.points }) : e.type === "weekly-flow" ? /* @__PURE__ */ s(It, { items: e.items }) : /* @__PURE__ */ s("div", {
2426
+ }) : e.type === "area-line-chart" ? /* @__PURE__ */ s(ut, { points: e.points }) : e.type === "trend-view" ? /* @__PURE__ */ s(xt, { points: e.points }) : e.type === "weekly-flow" ? /* @__PURE__ */ s(zt, { items: e.items }) : /* @__PURE__ */ s("div", {
2419
2427
  className: "viz-empty",
2420
2428
  children: "Visualization unavailable"
2421
2429
  });
2422
2430
  }
2423
2431
  //#endregion
2424
2432
  //#region src/utils/mounts.tsx
2425
- var zt = [];
2426
- function Bt(e) {
2433
+ var Ht = [];
2434
+ function Ut(e) {
2427
2435
  try {
2428
2436
  return JSON.parse(decodeURIComponent(e));
2429
2437
  } catch {
2430
2438
  return null;
2431
2439
  }
2432
2440
  }
2433
- function Vt() {
2434
- for (; zt.length;) {
2435
- let e = zt.pop();
2441
+ function Wt() {
2442
+ for (; Ht.length;) {
2443
+ let e = Ht.pop();
2436
2444
  e && e.unmount();
2437
2445
  }
2438
2446
  }
2439
- function Ht() {
2440
- Vt(), document.querySelectorAll("[data-d3-viz]").forEach((t) => {
2447
+ function Gt() {
2448
+ Wt(), document.querySelectorAll("[data-d3-viz]").forEach((t) => {
2441
2449
  let n = t.dataset.d3Viz;
2442
2450
  if (!n) return;
2443
- let r = Bt(n);
2451
+ let r = Ut(n);
2444
2452
  if (!r) return;
2445
2453
  let i = e(t);
2446
- zt.push(i), i.render(/* @__PURE__ */ s(Rt, { config: r }));
2454
+ Ht.push(i), i.render(/* @__PURE__ */ s(Vt, { config: r }));
2447
2455
  });
2448
2456
  }
2449
- function Ut(e) {
2457
+ function Kt(e) {
2450
2458
  return encodeURIComponent(JSON.stringify(e));
2451
2459
  }
2452
2460
  //#endregion
2453
2461
  //#region src/components/donutChart/DonutChart.tsx
2454
- function Wt({ rows: e = [], className: t, colors: n }) {
2462
+ function qt({ rows: e = [], className: t, colors: n }) {
2455
2463
  return /* @__PURE__ */ s(Je, {
2456
2464
  rows: e,
2457
2465
  variant: "donut",
@@ -2461,7 +2469,7 @@ function Wt({ rows: e = [], className: t, colors: n }) {
2461
2469
  }
2462
2470
  //#endregion
2463
2471
  //#region src/components/keyHighlights/KeyHighlights.tsx
2464
- var Z = {
2472
+ var Q = {
2465
2473
  bg: "transparent",
2466
2474
  border: "transparent",
2467
2475
  t1: u.t1,
@@ -2471,20 +2479,20 @@ var Z = {
2471
2479
  red: u.red,
2472
2480
  amber: u.amber,
2473
2481
  green: u.green
2474
- }, Q = "'Satoshi Variable', 'DM Sans', sans-serif", Gt = {
2482
+ }, $ = "'Satoshi Variable', 'DM Sans', sans-serif", Jt = {
2475
2483
  color: "#F7F7F7",
2476
- fontFamily: Q,
2484
+ fontFamily: $,
2477
2485
  fontSize: 24,
2478
2486
  fontWeight: 500,
2479
2487
  lineHeight: "32px"
2480
- }, $ = {
2488
+ }, Yt = {
2481
2489
  color: "#C2C2C2",
2482
- fontFamily: Q,
2490
+ fontFamily: $,
2483
2491
  fontSize: 18,
2484
2492
  fontWeight: 400,
2485
2493
  lineHeight: "20px"
2486
2494
  };
2487
- function Kt({ chips: e = [] }) {
2495
+ function Xt({ chips: e = [] }) {
2488
2496
  return /* @__PURE__ */ s("div", {
2489
2497
  style: {
2490
2498
  display: "flex",
@@ -2499,20 +2507,20 @@ function Kt({ chips: e = [] }) {
2499
2507
  alignItems: "baseline",
2500
2508
  gap: 8,
2501
2509
  padding: "8px 12px",
2502
- background: Z.bg,
2503
- border: `1px solid ${Z.border}`,
2510
+ background: Q.bg,
2511
+ border: `1px solid ${Q.border}`,
2504
2512
  borderRadius: 5,
2505
2513
  boxSizing: "border-box"
2506
2514
  },
2507
2515
  children: [/* @__PURE__ */ s("span", {
2508
2516
  style: {
2509
- ...Gt,
2510
- color: e.color ?? Z.t1
2517
+ ...Jt,
2518
+ color: e.color ?? Q.t1
2511
2519
  },
2512
2520
  children: e.value
2513
2521
  }), /* @__PURE__ */ s("span", {
2514
2522
  style: {
2515
- ...$,
2523
+ ...Yt,
2516
2524
  flex: 1
2517
2525
  },
2518
2526
  children: e.label
@@ -2520,7 +2528,7 @@ function Kt({ chips: e = [] }) {
2520
2528
  }, t))
2521
2529
  });
2522
2530
  }
2523
- function qt({ items: e = [] }) {
2531
+ function Zt({ items: e = [] }) {
2524
2532
  return /* @__PURE__ */ s("div", {
2525
2533
  style: {
2526
2534
  display: "flex",
@@ -2537,24 +2545,24 @@ function qt({ items: e = [] }) {
2537
2545
  padding: 24,
2538
2546
  gap: 8,
2539
2547
  flexShrink: 0,
2540
- border: `1px solid ${Z.border}`,
2541
- background: Z.bg,
2548
+ border: `1px solid ${Q.border}`,
2549
+ background: Q.bg,
2542
2550
  boxSizing: "border-box"
2543
2551
  },
2544
2552
  children: [/* @__PURE__ */ s("div", {
2545
2553
  style: {
2546
- ...Gt,
2547
- color: e.color ?? Z.t1
2554
+ ...Jt,
2555
+ color: e.color ?? Q.t1
2548
2556
  },
2549
2557
  children: e.value
2550
2558
  }), /* @__PURE__ */ s("div", {
2551
- style: { ...$ },
2559
+ style: { ...Yt },
2552
2560
  children: e.label
2553
2561
  })]
2554
2562
  }, t))
2555
2563
  });
2556
2564
  }
2557
- function Jt({ items: e = [] }) {
2565
+ function Qt({ items: e = [] }) {
2558
2566
  return /* @__PURE__ */ s("div", {
2559
2567
  style: {
2560
2568
  display: "flex",
@@ -2567,28 +2575,28 @@ function Jt({ items: e = [] }) {
2567
2575
  alignItems: "center",
2568
2576
  gap: 12,
2569
2577
  padding: "9px 14px",
2570
- background: Z.bg,
2571
- border: `1px solid ${Z.border}`
2578
+ background: Q.bg,
2579
+ border: `1px solid ${Q.border}`
2572
2580
  },
2573
2581
  children: [
2574
2582
  /* @__PURE__ */ s("span", {
2575
2583
  style: {
2576
2584
  fontSize: 18,
2577
2585
  fontWeight: 500,
2578
- color: e.color ?? Z.t2,
2579
- background: (e.color ?? Z.t2) + "22",
2586
+ color: e.color ?? Q.t2,
2587
+ background: (e.color ?? Q.t2) + "22",
2580
2588
  padding: "2px 8px",
2581
2589
  borderRadius: 4,
2582
- fontFamily: Q,
2590
+ fontFamily: $,
2583
2591
  flexShrink: 0
2584
2592
  },
2585
2593
  children: e.name
2586
2594
  }),
2587
2595
  /* @__PURE__ */ s("span", {
2588
2596
  style: {
2589
- ...Gt,
2597
+ ...Jt,
2590
2598
  fontSize: 18,
2591
- color: e.color ?? Z.t1,
2599
+ color: e.color ?? Q.t1,
2592
2600
  minWidth: 70,
2593
2601
  flexShrink: 0
2594
2602
  },
@@ -2596,7 +2604,7 @@ function Jt({ items: e = [] }) {
2596
2604
  }),
2597
2605
  /* @__PURE__ */ s("span", {
2598
2606
  style: {
2599
- ...$,
2607
+ ...Yt,
2600
2608
  flex: 1
2601
2609
  },
2602
2610
  children: e.kpiLabel
@@ -2605,7 +2613,7 @@ function Jt({ items: e = [] }) {
2605
2613
  }, t))
2606
2614
  });
2607
2615
  }
2608
- function Yt({ items: e = [] }) {
2616
+ function $t({ items: e = [] }) {
2609
2617
  return /* @__PURE__ */ s("div", {
2610
2618
  style: {
2611
2619
  display: "flex",
@@ -2622,28 +2630,28 @@ function Yt({ items: e = [] }) {
2622
2630
  padding: 24,
2623
2631
  gap: 8,
2624
2632
  flexShrink: 0,
2625
- background: Z.bg,
2633
+ background: Q.bg,
2626
2634
  boxSizing: "border-box"
2627
2635
  },
2628
2636
  children: [/* @__PURE__ */ s("div", {
2629
2637
  style: {
2630
- ...Gt,
2631
- color: e.color ?? Z.t1
2638
+ ...Jt,
2639
+ color: e.color ?? Q.t1
2632
2640
  },
2633
2641
  children: e.value
2634
2642
  }), /* @__PURE__ */ s("div", {
2635
- style: { ...$ },
2643
+ style: { ...Yt },
2636
2644
  children: e.label
2637
2645
  })]
2638
2646
  }, t))
2639
2647
  });
2640
2648
  }
2641
- var Xt = {
2642
- red: Z.red,
2643
- amber: Z.amber,
2644
- green: Z.green
2649
+ var en = {
2650
+ red: Q.red,
2651
+ amber: Q.amber,
2652
+ green: Q.green
2645
2653
  };
2646
- function Zt({ items: e = [] }) {
2654
+ function tn({ items: e = [] }) {
2647
2655
  return /* @__PURE__ */ s("div", {
2648
2656
  style: {
2649
2657
  display: "flex",
@@ -2651,15 +2659,15 @@ function Zt({ items: e = [] }) {
2651
2659
  gap: 5
2652
2660
  },
2653
2661
  children: e.map((e, t) => {
2654
- let n = Xt[e.severity];
2662
+ let n = en[e.severity];
2655
2663
  return /* @__PURE__ */ c("div", {
2656
2664
  style: {
2657
2665
  display: "flex",
2658
2666
  alignItems: "flex-start",
2659
2667
  gap: 10,
2660
2668
  padding: "10px 14px",
2661
- background: Z.bg,
2662
- border: `1px solid ${Z.border}`
2669
+ background: Q.bg,
2670
+ border: `1px solid ${Q.border}`
2663
2671
  },
2664
2672
  children: [/* @__PURE__ */ s("span", { style: {
2665
2673
  width: 7,
@@ -2669,14 +2677,14 @@ function Zt({ items: e = [] }) {
2669
2677
  flexShrink: 0,
2670
2678
  marginTop: 5
2671
2679
  } }), /* @__PURE__ */ s("span", {
2672
- style: { ...$ },
2680
+ style: { ...Yt },
2673
2681
  children: e.text
2674
2682
  })]
2675
2683
  }, t);
2676
2684
  })
2677
2685
  });
2678
2686
  }
2679
- function Qt({ min: e, max: t, unit: n, dots: r = [], chips: i = [] }) {
2687
+ function nn({ min: e, max: t, unit: n, dots: r = [], chips: i = [] }) {
2680
2688
  let a = t - e;
2681
2689
  return /* @__PURE__ */ c("div", { children: [/* @__PURE__ */ c("div", {
2682
2690
  style: {
@@ -2700,8 +2708,8 @@ function Qt({ min: e, max: t, unit: n, dots: r = [], chips: i = [] }) {
2700
2708
  top: 43,
2701
2709
  left: 0,
2702
2710
  fontSize: 16,
2703
- color: Z.t4,
2704
- fontFamily: Q
2711
+ color: Q.t4,
2712
+ fontFamily: $
2705
2713
  },
2706
2714
  children: [e, n]
2707
2715
  }),
@@ -2711,8 +2719,8 @@ function Qt({ min: e, max: t, unit: n, dots: r = [], chips: i = [] }) {
2711
2719
  top: 43,
2712
2720
  right: 0,
2713
2721
  fontSize: 16,
2714
- color: Z.t4,
2715
- fontFamily: Q
2722
+ color: Q.t4,
2723
+ fontFamily: $
2716
2724
  },
2717
2725
  children: [t, n]
2718
2726
  }),
@@ -2735,7 +2743,7 @@ function Qt({ min: e, max: t, unit: n, dots: r = [], chips: i = [] }) {
2735
2743
  style: {
2736
2744
  fontSize: 18,
2737
2745
  color: o,
2738
- fontFamily: Q,
2746
+ fontFamily: $,
2739
2747
  whiteSpace: "nowrap"
2740
2748
  },
2741
2749
  children: t.name
@@ -2744,7 +2752,7 @@ function Qt({ min: e, max: t, unit: n, dots: r = [], chips: i = [] }) {
2744
2752
  fontSize: 18,
2745
2753
  fontWeight: 500,
2746
2754
  color: o,
2747
- fontFamily: Q,
2755
+ fontFamily: $,
2748
2756
  whiteSpace: "nowrap"
2749
2757
  },
2750
2758
  children: [t.val, n]
@@ -2767,7 +2775,7 @@ function Qt({ min: e, max: t, unit: n, dots: r = [], chips: i = [] }) {
2767
2775
  style: {
2768
2776
  fontSize: 18,
2769
2777
  color: o,
2770
- fontFamily: Q,
2778
+ fontFamily: $,
2771
2779
  whiteSpace: "nowrap"
2772
2780
  },
2773
2781
  children: t.name
@@ -2776,7 +2784,7 @@ function Qt({ min: e, max: t, unit: n, dots: r = [], chips: i = [] }) {
2776
2784
  fontSize: 18,
2777
2785
  fontWeight: 500,
2778
2786
  color: o,
2779
- fontFamily: Q,
2787
+ fontFamily: $,
2780
2788
  whiteSpace: "nowrap"
2781
2789
  },
2782
2790
  children: [t.val, n]
@@ -2786,9 +2794,9 @@ function Qt({ min: e, max: t, unit: n, dots: r = [], chips: i = [] }) {
2786
2794
  }, r);
2787
2795
  })
2788
2796
  ]
2789
- }), i && i.length > 0 && /* @__PURE__ */ s(Kt, { chips: i })] });
2797
+ }), i && i.length > 0 && /* @__PURE__ */ s(Xt, { chips: i })] });
2790
2798
  }
2791
- function $t({ leftPct: e, leftLabel: t, leftValue: n, leftColor: r, rightPct: i, rightLabel: a, rightValue: o, rightColor: l, chips: d }) {
2799
+ function rn({ leftPct: e, leftLabel: t, leftValue: n, leftColor: r, rightPct: i, rightLabel: a, rightValue: o, rightColor: l, chips: d }) {
2792
2800
  let f = r ?? u.blue, p = l ?? u.blue;
2793
2801
  return /* @__PURE__ */ c("div", { children: [
2794
2802
  /* @__PURE__ */ c("div", {
@@ -2814,7 +2822,7 @@ function $t({ leftPct: e, leftLabel: t, leftValue: n, leftColor: r, rightPct: i,
2814
2822
  fontSize: 18,
2815
2823
  fontWeight: 500,
2816
2824
  color: f,
2817
- fontFamily: Q
2825
+ fontFamily: $
2818
2826
  },
2819
2827
  children: n
2820
2828
  })
@@ -2837,7 +2845,7 @@ function $t({ leftPct: e, leftLabel: t, leftValue: n, leftColor: r, rightPct: i,
2837
2845
  fontSize: 18,
2838
2846
  fontWeight: 500,
2839
2847
  color: p,
2840
- fontFamily: Q
2848
+ fontFamily: $
2841
2849
  },
2842
2850
  children: o
2843
2851
  })
@@ -2855,7 +2863,7 @@ function $t({ leftPct: e, leftLabel: t, leftValue: n, leftColor: r, rightPct: i,
2855
2863
  style: {
2856
2864
  fontSize: 18,
2857
2865
  color: f,
2858
- fontFamily: Q
2866
+ fontFamily: $
2859
2867
  },
2860
2868
  children: [
2861
2869
  e,
@@ -2872,7 +2880,7 @@ function $t({ leftPct: e, leftLabel: t, leftValue: n, leftColor: r, rightPct: i,
2872
2880
  style: {
2873
2881
  fontSize: 18,
2874
2882
  color: p,
2875
- fontFamily: Q
2883
+ fontFamily: $
2876
2884
  },
2877
2885
  children: [
2878
2886
  i,
@@ -2882,10 +2890,10 @@ function $t({ leftPct: e, leftLabel: t, leftValue: n, leftColor: r, rightPct: i,
2882
2890
  })
2883
2891
  })]
2884
2892
  }),
2885
- d && d.length > 0 && /* @__PURE__ */ s(Kt, { chips: d })
2893
+ d && d.length > 0 && /* @__PURE__ */ s(Xt, { chips: d })
2886
2894
  ] });
2887
2895
  }
2888
- function en({ pct: e, label: t, color: n, chips: r }) {
2896
+ function an({ pct: e, label: t, color: n, chips: r }) {
2889
2897
  let i = n ?? u.blue, a = 2 * Math.PI * 30, o = a * (1 - e / 100);
2890
2898
  return /* @__PURE__ */ c("div", {
2891
2899
  style: {
@@ -2935,7 +2943,7 @@ function en({ pct: e, label: t, color: n, chips: r }) {
2935
2943
  fontSize: 18,
2936
2944
  fontWeight: 500,
2937
2945
  color: i,
2938
- fontFamily: Q
2946
+ fontFamily: $
2939
2947
  },
2940
2948
  children: [e, "%"]
2941
2949
  })
@@ -2944,7 +2952,7 @@ function en({ pct: e, label: t, color: n, chips: r }) {
2944
2952
  style: { flex: 1 },
2945
2953
  children: [/* @__PURE__ */ s("div", {
2946
2954
  style: {
2947
- ...$,
2955
+ ...Yt,
2948
2956
  marginBottom: 10
2949
2957
  },
2950
2958
  children: t
@@ -2960,18 +2968,18 @@ function en({ pct: e, label: t, color: n, chips: r }) {
2960
2968
  alignItems: "baseline",
2961
2969
  gap: 8,
2962
2970
  padding: "7px 10px",
2963
- background: Z.bg,
2964
- border: `1px solid ${Z.border}`,
2971
+ background: Q.bg,
2972
+ border: `1px solid ${Q.border}`,
2965
2973
  borderRadius: 5
2966
2974
  },
2967
2975
  children: [/* @__PURE__ */ s("span", {
2968
2976
  style: {
2969
- ...Gt,
2970
- color: e.color ?? Z.t1
2977
+ ...Jt,
2978
+ color: e.color ?? Q.t1
2971
2979
  },
2972
2980
  children: e.value
2973
2981
  }), /* @__PURE__ */ s("span", {
2974
- style: { ...$ },
2982
+ style: { ...Yt },
2975
2983
  children: e.label
2976
2984
  })]
2977
2985
  }, t))
@@ -2979,16 +2987,16 @@ function en({ pct: e, label: t, color: n, chips: r }) {
2979
2987
  })]
2980
2988
  });
2981
2989
  }
2982
- var tn = {
2990
+ var on = {
2983
2991
  green: "#34D39918",
2984
2992
  amber: "#FBBF2418",
2985
2993
  red: "#F0606018"
2986
- }, nn = {
2994
+ }, sn = {
2987
2995
  green: "#34D399",
2988
2996
  amber: "#FBBF24",
2989
2997
  red: "#F06060"
2990
2998
  };
2991
- function rn({ items: e = [] }) {
2999
+ function cn({ items: e = [] }) {
2992
3000
  return /* @__PURE__ */ s("div", {
2993
3001
  style: {
2994
3002
  display: "flex",
@@ -3001,19 +3009,19 @@ function rn({ items: e = [] }) {
3001
3009
  alignItems: "center",
3002
3010
  gap: 10,
3003
3011
  padding: "8px 12px",
3004
- background: Z.bg,
3005
- border: `1px solid ${Z.border}`
3012
+ background: Q.bg,
3013
+ border: `1px solid ${Q.border}`
3006
3014
  },
3007
3015
  children: [
3008
3016
  /* @__PURE__ */ s("span", {
3009
3017
  style: {
3010
3018
  fontSize: 18,
3011
3019
  fontWeight: 500,
3012
- color: e.color ?? Z.t2,
3013
- background: (e.color ?? Z.t2) + "1A",
3020
+ color: e.color ?? Q.t2,
3021
+ background: (e.color ?? Q.t2) + "1A",
3014
3022
  padding: "2px 7px",
3015
3023
  borderRadius: 4,
3016
- fontFamily: Q,
3024
+ fontFamily: $,
3017
3025
  flexShrink: 0,
3018
3026
  minWidth: 62,
3019
3027
  textAlign: "center"
@@ -3031,7 +3039,7 @@ function rn({ items: e = [] }) {
3031
3039
  children: /* @__PURE__ */ s("div", { style: {
3032
3040
  height: "100%",
3033
3041
  width: `${e.pct}%`,
3034
- background: e.color ?? Z.t2,
3042
+ background: e.color ?? Q.t2,
3035
3043
  borderRadius: 2,
3036
3044
  opacity: .75
3037
3045
  } })
@@ -3040,8 +3048,8 @@ function rn({ items: e = [] }) {
3040
3048
  style: {
3041
3049
  fontSize: 18,
3042
3050
  fontWeight: 500,
3043
- color: e.color ?? Z.t1,
3044
- fontFamily: Q,
3051
+ color: e.color ?? Q.t1,
3052
+ fontFamily: $,
3045
3053
  flexShrink: 0,
3046
3054
  minWidth: 52,
3047
3055
  textAlign: "right"
@@ -3052,11 +3060,11 @@ function rn({ items: e = [] }) {
3052
3060
  style: {
3053
3061
  fontSize: 18,
3054
3062
  fontWeight: 500,
3055
- color: nn[e.badgeSeverity],
3056
- background: tn[e.badgeSeverity],
3063
+ color: sn[e.badgeSeverity],
3064
+ background: on[e.badgeSeverity],
3057
3065
  padding: "2px 7px",
3058
3066
  borderRadius: 4,
3059
- fontFamily: Q,
3067
+ fontFamily: $,
3060
3068
  flexShrink: 0,
3061
3069
  minWidth: 72,
3062
3070
  textAlign: "center"
@@ -3065,7 +3073,7 @@ function rn({ items: e = [] }) {
3065
3073
  }),
3066
3074
  e.sublabel && /* @__PURE__ */ s("span", {
3067
3075
  style: {
3068
- ...$,
3076
+ ...Yt,
3069
3077
  flexShrink: 0,
3070
3078
  minWidth: 80,
3071
3079
  textAlign: "right"
@@ -3076,12 +3084,12 @@ function rn({ items: e = [] }) {
3076
3084
  }, t))
3077
3085
  });
3078
3086
  }
3079
- var an = {
3080
- red: Z.red,
3081
- amber: Z.amber,
3082
- green: Z.green
3087
+ var ln = {
3088
+ red: Q.red,
3089
+ amber: Q.amber,
3090
+ green: Q.green
3083
3091
  };
3084
- function on({ items: e = [] }) {
3092
+ function un({ items: e = [] }) {
3085
3093
  return /* @__PURE__ */ s("div", {
3086
3094
  style: {
3087
3095
  display: "flex",
@@ -3089,7 +3097,7 @@ function on({ items: e = [] }) {
3089
3097
  gap: 5
3090
3098
  },
3091
3099
  children: e.map((e, t) => {
3092
- let n = an[e.severity];
3100
+ let n = ln[e.severity];
3093
3101
  return /* @__PURE__ */ c("div", {
3094
3102
  style: {
3095
3103
  display: "flex",
@@ -3111,7 +3119,7 @@ function on({ items: e = [] }) {
3111
3119
  /* @__PURE__ */ s("span", {
3112
3120
  style: {
3113
3121
  flex: 1,
3114
- ...$
3122
+ ...Yt
3115
3123
  },
3116
3124
  children: e.text
3117
3125
  }),
@@ -3123,14 +3131,14 @@ function on({ items: e = [] }) {
3123
3131
  background: n + "20",
3124
3132
  padding: "2px 7px",
3125
3133
  borderRadius: 4,
3126
- fontFamily: Q,
3134
+ fontFamily: $,
3127
3135
  flexShrink: 0
3128
3136
  },
3129
3137
  children: e.tag
3130
3138
  }),
3131
3139
  /* @__PURE__ */ s("span", {
3132
3140
  style: {
3133
- ...$,
3141
+ ...Yt,
3134
3142
  flexShrink: 0,
3135
3143
  marginTop: 1
3136
3144
  },
@@ -3141,7 +3149,7 @@ function on({ items: e = [] }) {
3141
3149
  })
3142
3150
  });
3143
3151
  }
3144
- function sn({ columns: e = [], rows: t = [] }) {
3152
+ function dn({ columns: e = [], rows: t = [] }) {
3145
3153
  return /* @__PURE__ */ c("div", {
3146
3154
  style: {
3147
3155
  display: "flex",
@@ -3154,15 +3162,15 @@ function sn({ columns: e = [], rows: t = [] }) {
3154
3162
  alignItems: "center",
3155
3163
  gap: 10,
3156
3164
  padding: "0 12px 6px",
3157
- borderBottom: `1px solid ${Z.border}`
3165
+ borderBottom: `1px solid ${Q.border}`
3158
3166
  },
3159
3167
  children: [/* @__PURE__ */ s("div", { style: { minWidth: 64 } }), e.map((e, t) => /* @__PURE__ */ s("div", {
3160
3168
  style: {
3161
3169
  flex: 1,
3162
3170
  fontSize: 18,
3163
3171
  fontWeight: 500,
3164
- color: Z.t2,
3165
- fontFamily: Q,
3172
+ color: Q.t2,
3173
+ fontFamily: $,
3166
3174
  textTransform: "uppercase",
3167
3175
  letterSpacing: .6
3168
3176
  },
@@ -3174,18 +3182,18 @@ function sn({ columns: e = [], rows: t = [] }) {
3174
3182
  alignItems: "center",
3175
3183
  gap: 10,
3176
3184
  padding: "8px 12px",
3177
- background: Z.bg,
3178
- border: `1px solid ${Z.border}`
3185
+ background: Q.bg,
3186
+ border: `1px solid ${Q.border}`
3179
3187
  },
3180
3188
  children: [/* @__PURE__ */ s("span", {
3181
3189
  style: {
3182
3190
  fontSize: 18,
3183
3191
  fontWeight: 600,
3184
- color: Z.t2,
3185
- background: (e.color ?? Z.t4) + "1A",
3192
+ color: Q.t2,
3193
+ background: (e.color ?? Q.t4) + "1A",
3186
3194
  padding: "2px 8px",
3187
3195
  borderRadius: 4,
3188
- fontFamily: Q,
3196
+ fontFamily: $,
3189
3197
  flexShrink: 0,
3190
3198
  minWidth: 64,
3191
3199
  textAlign: "center"
@@ -3196,29 +3204,29 @@ function sn({ columns: e = [], rows: t = [] }) {
3196
3204
  flex: 1,
3197
3205
  fontSize: 18,
3198
3206
  fontWeight: 500,
3199
- color: e.color ?? Z.t1,
3200
- fontFamily: Q
3207
+ color: e.color ?? Q.t1,
3208
+ fontFamily: $
3201
3209
  },
3202
3210
  children: t
3203
3211
  }, n))]
3204
3212
  }, t))]
3205
3213
  });
3206
3214
  }
3207
- function cn({ block: e }) {
3215
+ function fn({ block: e }) {
3208
3216
  if (!e) return null;
3209
3217
  switch (e.type) {
3210
- case "stats": return /* @__PURE__ */ s(qt, { items: e.items });
3211
- case "ranked": return /* @__PURE__ */ s(Jt, { items: e.items });
3212
- case "chips": return /* @__PURE__ */ s(Yt, { items: e.items });
3213
- case "badges": return /* @__PURE__ */ s(Zt, { items: e.items });
3214
- case "dot-strip": return /* @__PURE__ */ s(Qt, {
3218
+ case "stats": return /* @__PURE__ */ s(Zt, { items: e.items });
3219
+ case "ranked": return /* @__PURE__ */ s(Qt, { items: e.items });
3220
+ case "chips": return /* @__PURE__ */ s($t, { items: e.items });
3221
+ case "badges": return /* @__PURE__ */ s(tn, { items: e.items });
3222
+ case "dot-strip": return /* @__PURE__ */ s(nn, {
3215
3223
  min: e.min,
3216
3224
  max: e.max,
3217
3225
  unit: e.unit,
3218
3226
  dots: e.dots,
3219
3227
  chips: e.chips
3220
3228
  });
3221
- case "proportion": return /* @__PURE__ */ s($t, {
3229
+ case "proportion": return /* @__PURE__ */ s(rn, {
3222
3230
  leftPct: e.leftPct,
3223
3231
  leftLabel: e.leftLabel,
3224
3232
  leftValue: e.leftValue,
@@ -3229,15 +3237,15 @@ function cn({ block: e }) {
3229
3237
  rightColor: e.rightColor,
3230
3238
  chips: e.chips
3231
3239
  });
3232
- case "ring": return /* @__PURE__ */ s(en, {
3240
+ case "ring": return /* @__PURE__ */ s(an, {
3233
3241
  pct: e.pct,
3234
3242
  label: e.label,
3235
3243
  color: e.color,
3236
3244
  chips: e.chips
3237
3245
  });
3238
- case "scorecard-rows": return /* @__PURE__ */ s(rn, { items: e.items });
3239
- case "flags-list": return /* @__PURE__ */ s(on, { items: e.items });
3240
- case "comparison-rows": return /* @__PURE__ */ s(sn, {
3246
+ case "scorecard-rows": return /* @__PURE__ */ s(cn, { items: e.items });
3247
+ case "flags-list": return /* @__PURE__ */ s(un, { items: e.items });
3248
+ case "comparison-rows": return /* @__PURE__ */ s(dn, {
3241
3249
  columns: e.columns,
3242
3250
  rows: e.rows
3243
3251
  });
@@ -3246,14 +3254,14 @@ function cn({ block: e }) {
3246
3254
  }
3247
3255
  //#endregion
3248
3256
  //#region src/components/keyHighlights/Takeaway.tsx
3249
- var ln = "'Satoshi Variable', 'DM Sans', sans-serif", un = {
3257
+ var pn = "'Satoshi Variable', 'DM Sans', sans-serif", mn = {
3250
3258
  color: "#C2C2C2",
3251
- fontFamily: ln,
3259
+ fontFamily: pn,
3252
3260
  fontSize: 18,
3253
3261
  fontWeight: 400,
3254
3262
  lineHeight: "20px"
3255
3263
  };
3256
- function dn({ text: e }) {
3264
+ function hn({ text: e }) {
3257
3265
  return /* @__PURE__ */ c("div", {
3258
3266
  style: {
3259
3267
  padding: "8px 0px",
@@ -3266,16 +3274,16 @@ function dn({ text: e }) {
3266
3274
  fontSize: 18,
3267
3275
  fontWeight: 500,
3268
3276
  color: u.t1,
3269
- fontFamily: ln,
3277
+ fontFamily: pn,
3270
3278
  lineHeight: "20px",
3271
3279
  marginRight: 8
3272
3280
  },
3273
3281
  children: "Takeaway"
3274
3282
  }), /* @__PURE__ */ s("span", {
3275
- style: { ...un },
3283
+ style: { ...mn },
3276
3284
  children: e
3277
3285
  })]
3278
3286
  });
3279
3287
  }
3280
3288
  //#endregion
3281
- export { te as AreaChart, ie as BarChart, l as ChartFrame, Wt as DonutChart, cn as KeyHighlights, Ie as LineChart, ze as MiniBars, Je as PieChart, it as ProcessSankey, at as RankingSankey, Xe as SankeySvg, ee as SeriesChart, dn as Takeaway, _t as Trend, Et as TrendChart, Rt as VisualizationRenderer, Vt as cleanupVisualizationMounts, Ht as hydrateVisualizationMounts, Ut as serializeVisualizationConfig };
3289
+ export { te as AreaChart, ie as BarChart, l as ChartFrame, qt as DonutChart, fn as KeyHighlights, Ie as LineChart, ze as MiniBars, Je as PieChart, it as ProcessSankey, at as RankingSankey, Xe as SankeySvg, ee as SeriesChart, hn as Takeaway, xt as Trend, kt as TrendChart, Vt as VisualizationRenderer, Wt as cleanupVisualizationMounts, Gt as hydrateVisualizationMounts, Kt as serializeVisualizationConfig };