react-aiops 0.1.19 → 0.1.21

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
@@ -1,5 +1,5 @@
1
- import { jsxs as d, jsx as e, Fragment as Ie } from "react/jsx-runtime";
2
- import X, { createContext as He, useContext as ae, useState as R, useEffect as Oe, useMemo as Ze, useRef as Z, useCallback as ct } from "react";
1
+ import { jsxs as d, jsx as e, Fragment as Le } from "react/jsx-runtime";
2
+ import F, { createContext as _e, useContext as de, useState as R, useEffect as De, useMemo as Fe, useRef as J, useCallback as ct } from "react";
3
3
  const Mt = {
4
4
  info: { color: "#00ff88", bg: "rgba(0, 255, 136, 0.1)", border: "#00ff88", icon: "✅" },
5
5
  warning: { color: "#ff8c00", bg: "rgba(255, 140, 0, 0.1)", border: "#ff8c00", icon: "⚠️" },
@@ -182,7 +182,7 @@ const E = {
182
182
  warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.55)" },
183
183
  critical: { color: "#ff2255", glow: "rgba(255,34,85,0.55)" },
184
184
  offline: { color: "#1e3a5a", glow: "rgba(30,58,90,0.25)" }
185
- }, Di = "#00e5ff", Ni = "#0055cc", Le = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Je = "linear-gradient(180deg, rgba(10,25,50,0.35) 0%, rgba(5,15,35,0.25) 60%, rgba(3,10,20,0.15) 100%)";
185
+ }, Di = "#00e5ff", Ni = "#0055cc", Ne = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Je = "linear-gradient(180deg, rgba(10,25,50,0.35) 0%, rgba(5,15,35,0.25) 60%, rgba(3,10,20,0.15) 100%)";
186
186
  function et(t, n, o) {
187
187
  const i = {
188
188
  position: "absolute",
@@ -233,14 +233,14 @@ function et(t, n, o) {
233
233
  }
234
234
  };
235
235
  }
236
- const Qe = "cubic-bezier(0.34, 1.56, 0.64, 1)", Ke = "cubic-bezier(0.16, 1, 0.3, 1)";
236
+ const Ke = "cubic-bezier(0.34, 1.56, 0.64, 1)", Ge = "cubic-bezier(0.16, 1, 0.3, 1)";
237
237
  function xt(t) {
238
238
  return E[t]?.color ?? E.online.color;
239
239
  }
240
240
  function Bt(t, n, o) {
241
241
  return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
242
242
  }
243
- function We(t, n, o, i) {
243
+ function ze(t, n, o, i) {
244
244
  return t === "offline" ? "offline" : t === "critical" && n >= i ? "critical" : (t === "critical" || t === "warning") && n >= o ? "warning" : "online";
245
245
  }
246
246
  function Ft({
@@ -258,23 +258,23 @@ function Ft({
258
258
  let w;
259
259
  if (x && x.length > 0)
260
260
  w = x.map((b, k) => {
261
- const T = b.warnAt ?? 70, $ = b.critAt ?? 85;
261
+ const A = b.warnAt ?? 70, $ = b.critAt ?? 85;
262
262
  return {
263
263
  id: b.id,
264
264
  label: b.label,
265
265
  sublabel: b.sublabel,
266
266
  value: b.value,
267
267
  unit: b.unit ?? "%",
268
- status: We(l, b.value, T, $),
268
+ status: ze(l, b.value, A, $),
269
269
  icon: b.icon ?? "cpu",
270
270
  delay: k,
271
271
  colorOverride: b.color,
272
- warnAt: T,
272
+ warnAt: A,
273
273
  critAt: $
274
274
  };
275
275
  });
276
276
  else {
277
- const b = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60, T = p.capacity ?? 72, $ = We(l, b, 70, 85), S = We(l, k, 75, 88), N = We(l, T, 75, 90);
277
+ const b = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60, A = p.capacity ?? 72, $ = ze(l, b, 70, 85), S = ze(l, k, 75, 88), N = ze(l, A, 75, 90);
278
278
  w = [
279
279
  {
280
280
  id: "cpu",
@@ -300,7 +300,7 @@ function Ft({
300
300
  id: "storage",
301
301
  label: "STORAGE",
302
302
  sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
303
- value: T,
303
+ value: A,
304
304
  unit: "%",
305
305
  status: N,
306
306
  icon: "disk",
@@ -323,7 +323,7 @@ function Ft({
323
323
  overflow: "hidden",
324
324
  opacity: o ? 1 : 0,
325
325
  transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${v}px)`,
326
- transition: `opacity 0.45s ${Ke}, transform 0.55s ${Qe}`,
326
+ transition: `opacity 0.45s ${Ge}, transform 0.55s ${Ke}`,
327
327
  pointerEvents: o ? "auto" : "none",
328
328
  zIndex: 9999,
329
329
  animation: o ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
@@ -594,7 +594,7 @@ function Ut({
594
594
  gap: 16,
595
595
  opacity: n ? 1 : 0,
596
596
  transform: n ? "translateY(0)" : "translateY(12px)",
597
- transition: `opacity 0.4s ${Ke} ${0.3 + c * 0.12}s, transform 0.5s ${Qe} ${0.3 + c * 0.12}s`
597
+ transition: `opacity 0.4s ${Ge} ${0.3 + c * 0.12}s, transform 0.5s ${Ke} ${0.3 + c * 0.12}s`
598
598
  },
599
599
  children: [
600
600
  /* @__PURE__ */ d(
@@ -612,7 +612,7 @@ function Ut({
612
612
  flexShrink: 0,
613
613
  position: "relative",
614
614
  overflow: "hidden",
615
- animation: n ? `comp-dialog-icon-pop 0.5s ${Qe} ${0.35 + c * 0.12}s both` : "none"
615
+ animation: n ? `comp-dialog-icon-pop 0.5s ${Ke} ${0.35 + c * 0.12}s both` : "none"
616
616
  },
617
617
  children: [
618
618
  /* @__PURE__ */ e(Ht, { type: u, color: y }),
@@ -714,7 +714,7 @@ function Ut({
714
714
  background: `linear-gradient(90deg, ${h}66, ${h})`,
715
715
  boxShadow: `0 0 8px ${h}44`,
716
716
  transformOrigin: "left center",
717
- animation: n ? `comp-dialog-metric-fill 0.8s ${Ke} ${0.4 + c * 0.12}s both` : "none"
717
+ animation: n ? `comp-dialog-metric-fill 0.8s ${Ge} ${0.4 + c * 0.12}s both` : "none"
718
718
  }
719
719
  }
720
720
  ),
@@ -893,12 +893,12 @@ function Ht({ type: t, color: n }) {
893
893
  /* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke: n, strokeWidth: "0.8" })
894
894
  ] });
895
895
  }
896
- const tt = He(null), it = He({ index: 0 });
896
+ const tt = _e(null), it = _e({ index: 0 });
897
897
  function Wi() {
898
- return ae(tt);
898
+ return de(tt);
899
899
  }
900
900
  function Mi() {
901
- return ae(it);
901
+ return de(it);
902
902
  }
903
903
  function Yt({
904
904
  children: t,
@@ -922,21 +922,21 @@ function Yt({
922
922
  onCloseDrill: w,
923
923
  selectedSystemStatus: b = "online",
924
924
  selectedSystemDbSync: k = !0,
925
- selectedSystemMetrics: T,
925
+ selectedSystemMetrics: A,
926
926
  selectedSystemAlerts: $
927
927
  }) {
928
928
  const [S, N] = R(0);
929
- Oe(() => {
929
+ De(() => {
930
930
  let I;
931
931
  if ((o === "compact" || o === "collapsing") && f) {
932
- const H = () => {
933
- N((de) => de + g), I = requestAnimationFrame(H);
932
+ const Y = () => {
933
+ N((fe) => fe + g), I = requestAnimationFrame(Y);
934
934
  };
935
- I = requestAnimationFrame(H);
935
+ I = requestAnimationFrame(Y);
936
936
  }
937
937
  return () => cancelAnimationFrame(I);
938
938
  }, [o, f, g]);
939
- const B = X.Children.toArray(t), z = B.length, U = Ze(
939
+ const B = F.Children.toArray(t), z = B.length, H = Fe(
940
940
  () => ({
941
941
  totalSystems: z,
942
942
  carouselRotation: S,
@@ -967,8 +967,8 @@ function Yt({
967
967
  x,
968
968
  h
969
969
  ]
970
- ), le = B.map((I, H) => /* @__PURE__ */ e(it.Provider, { value: { index: H }, children: I }, H)), se = o === "expanded" || o === "expanding" && i >= 4;
971
- return /* @__PURE__ */ d(tt.Provider, { value: U, children: [
970
+ ), ce = B.map((I, Y) => /* @__PURE__ */ e(it.Provider, { value: { index: Y }, children: I }, Y)), pe = o === "expanded" || o === "expanding" && i >= 4;
971
+ return /* @__PURE__ */ d(tt.Provider, { value: H, children: [
972
972
  /* @__PURE__ */ d("div", { style: { position: "relative", width: h, height: y, margin: "0 auto", flexShrink: 0 }, children: [
973
973
  n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
974
974
  "img",
@@ -990,7 +990,7 @@ function Yt({
990
990
  }
991
991
  }
992
992
  ),
993
- le
993
+ ce
994
994
  ] }),
995
995
  r && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
996
996
  zt,
@@ -998,8 +998,8 @@ function Yt({
998
998
  name: r,
999
999
  status: b,
1000
1000
  dbSync: k,
1001
- visible: se && !a,
1002
- metrics: T,
1001
+ visible: pe && !a,
1002
+ metrics: A,
1003
1003
  alerts: $
1004
1004
  }
1005
1005
  ) }),
@@ -1062,7 +1062,7 @@ function Vt({
1062
1062
  )
1063
1063
  }
1064
1064
  ),
1065
- r && /* @__PURE__ */ d(Ie, { children: [
1065
+ r && /* @__PURE__ */ d(Le, { children: [
1066
1066
  /* @__PURE__ */ e("circle", { r: "3", fill: a, opacity: 0.85, children: /* @__PURE__ */ e(
1067
1067
  "animateMotion",
1068
1068
  {
@@ -1298,7 +1298,7 @@ function jt({
1298
1298
  }, children: r })
1299
1299
  ] });
1300
1300
  }
1301
- const ye = He(null), Xt = "cubic-bezier(0.34, 1.56, 0.64, 1)", pt = 330, ft = 340, qt = 660;
1301
+ const ve = _e(null), Xt = "cubic-bezier(0.34, 1.56, 0.64, 1)", pt = 330, ft = 340, qt = 660;
1302
1302
  function vt({
1303
1303
  name: t,
1304
1304
  status: n = "online",
@@ -1320,24 +1320,24 @@ function vt({
1320
1320
  _onComponentClick: x,
1321
1321
  _containerWidth: w
1322
1322
  }) {
1323
- const b = ae(tt), k = ae(it), T = a ?? k.index, $ = s ?? b?.totalSystems ?? 1, S = l ?? b?.carouselRotation ?? 0, N = u ?? b?.viewState ?? "compact", B = c ?? b?.animPhase ?? 0, z = p ?? b?.selectedSystem ?? null, U = f ?? b?.selectedComponent ?? null, le = g ?? b?.rotateY ?? 20, se = h ?? b?.autoRotateComponents ?? !0, I = y ?? b?.componentScale ?? 0.35, H = m ?? b?.drillZoom ?? 3.3, de = v ?? b?.onSelectSystem, ce = x ?? b?.onComponentClick, Y = w ?? b?.containerWidth ?? 950, V = z === t, L = V && (N === "expanded" || N === "expanding" && B >= 1), K = !L, pe = (Y - qt) / 2, me = pt + pe, xe = T / $ * Math.PI * 2 + S, Ye = 420, Ve = 160, fe = me + Math.cos(xe) * Ye, C = 450 + Math.sin(xe) * Ve, ue = Math.round(C), te = !V && (N === "expanding" || N === "expanded"), he = te ? 0 : 1, J = K ? 0.3 + (Math.sin(xe) + 1) * 0.1 : 1, _ = K ? J : I, ve = N === "compact" || N === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", De = V && U, _e = De ? H : 1, Tt = U?.ex ?? 330, It = U?.ey ?? 300, { size: Ot = 90, color: Lt = "#00e5ff", widthRatio: Dt = 3 } = i ?? {}, Nt = {
1323
+ const b = de(tt), k = de(it), A = a ?? k.index, $ = s ?? b?.totalSystems ?? 1, S = l ?? b?.carouselRotation ?? 0, N = u ?? b?.viewState ?? "compact", B = c ?? b?.animPhase ?? 0, z = p ?? b?.selectedSystem ?? null, H = f ?? b?.selectedComponent ?? null, ce = g ?? b?.rotateY ?? 20, pe = h ?? b?.autoRotateComponents ?? !0, I = y ?? b?.componentScale ?? 0.35, Y = m ?? b?.drillZoom ?? 3.3, fe = v ?? b?.onSelectSystem, V = x ?? b?.onComponentClick, _ = w ?? b?.containerWidth ?? 950, j = z === t, L = j && (N === "expanded" || N === "expanding" && B >= 1), G = !L, ue = (_ - qt) / 2, ne = pt + ue, ee = A / $ * Math.PI * 2 + S, we = 420, he = 160, be = ne + Math.cos(ee) * we, C = 450 + Math.sin(ee) * he, ge = Math.round(C), oe = !j && (N === "expanding" || N === "expanded"), ye = oe ? 0 : 1, te = G ? 0.3 + (Math.sin(ee) + 1) * 0.1 : 1, X = G ? te : I, Se = N === "compact" || N === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", We = j && H, je = We ? Y : 1, At = H?.ex ?? 330, It = H?.ey ?? 300, { size: Ot = 90, color: Lt = "#00e5ff", widthRatio: Dt = 3 } = i ?? {}, Nt = {
1324
1324
  name: t,
1325
- isSelected: V,
1325
+ isSelected: j,
1326
1326
  isExpandedPos: L,
1327
- isCompact: K,
1327
+ isCompact: G,
1328
1328
  animPhase: B,
1329
- compactCx: fe,
1329
+ compactCx: be,
1330
1330
  compactCy: C,
1331
- groupScale: J,
1332
- effectiveScale: _,
1333
- transitionValue: ve,
1334
- rotateY: le,
1335
- autoRotateComponents: se,
1336
- onComponentClick: ce,
1337
- selectedComponentName: U?.name ?? null,
1338
- expandedOffsetX: pe
1331
+ groupScale: te,
1332
+ effectiveScale: X,
1333
+ transitionValue: Se,
1334
+ rotateY: ce,
1335
+ autoRotateComponents: pe,
1336
+ onComponentClick: V,
1337
+ selectedComponentName: H?.name ?? null,
1338
+ expandedOffsetX: ue
1339
1339
  };
1340
- return /* @__PURE__ */ e(ye.Provider, { value: Nt, children: /* @__PURE__ */ d(
1340
+ return /* @__PURE__ */ e(ve.Provider, { value: Nt, children: /* @__PURE__ */ d(
1341
1341
  "div",
1342
1342
  {
1343
1343
  style: {
@@ -1347,20 +1347,20 @@ function vt({
1347
1347
  width: "100%",
1348
1348
  height: "100%",
1349
1349
  pointerEvents: "none",
1350
- opacity: he,
1350
+ opacity: ye,
1351
1351
  transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Xt}`,
1352
- filter: K && Math.sin(xe) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1353
- zIndex: V ? 500 : te ? 0 : ue,
1354
- transformOrigin: `${me}px ${ft}px`,
1355
- transform: De ? `translate(${-(Tt - pt) * _e}px, ${-(It - ft) * _e}px) scale(${_e})` : "none"
1352
+ filter: G && Math.sin(ee) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1353
+ zIndex: j ? 500 : oe ? 0 : ge,
1354
+ transformOrigin: `${ne}px ${ft}px`,
1355
+ transform: We ? `translate(${-(At - pt) * je}px, ${-(It - ft) * je}px) scale(${je})` : "none"
1356
1356
  },
1357
1357
  children: [
1358
- K && !te && /* @__PURE__ */ e(
1358
+ G && !oe && /* @__PURE__ */ e(
1359
1359
  "div",
1360
1360
  {
1361
1361
  style: {
1362
1362
  position: "absolute",
1363
- left: fe,
1363
+ left: be,
1364
1364
  top: C,
1365
1365
  width: 160,
1366
1366
  height: 180,
@@ -1369,19 +1369,19 @@ function vt({
1369
1369
  cursor: "pointer",
1370
1370
  zIndex: 101
1371
1371
  },
1372
- onClick: (ee) => {
1373
- ee.stopPropagation(), de?.(t);
1372
+ onClick: (ie) => {
1373
+ ie.stopPropagation(), fe?.(t);
1374
1374
  }
1375
1375
  }
1376
1376
  ),
1377
- K && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
1377
+ G && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
1378
1378
  "div",
1379
1379
  {
1380
1380
  style: {
1381
1381
  position: "absolute",
1382
- left: fe,
1382
+ left: be,
1383
1383
  top: C - 200,
1384
- transform: `translate(-50%, -50%) scale(${J})`,
1384
+ transform: `translate(-50%, -50%) scale(${te})`,
1385
1385
  zIndex: 110,
1386
1386
  pointerEvents: "none",
1387
1387
  animation: "holo-led-blink 1.5s infinite",
@@ -1427,13 +1427,13 @@ function vt({
1427
1427
  {
1428
1428
  style: {
1429
1429
  position: "absolute",
1430
- left: L ? me : fe,
1430
+ left: L ? ne : be,
1431
1431
  top: L ? 48 : C - 180,
1432
- transform: `translate(-50%, -50%) scale(${L ? 1.2 : J * 1.5})`,
1432
+ transform: `translate(-50%, -50%) scale(${L ? 1.2 : te * 1.5})`,
1433
1433
  opacity: 1,
1434
1434
  pointerEvents: "none",
1435
1435
  zIndex: 100,
1436
- transition: ve,
1436
+ transition: Se,
1437
1437
  fontSize: 36,
1438
1438
  fontWeight: 700,
1439
1439
  letterSpacing: "0.18em",
@@ -1453,23 +1453,23 @@ function vt({
1453
1453
  style: {
1454
1454
  position: "absolute",
1455
1455
  top: 0,
1456
- left: L ? pe : 0,
1456
+ left: L ? ue : 0,
1457
1457
  width: 660,
1458
1458
  height: 640,
1459
1459
  pointerEvents: "none",
1460
1460
  zIndex: 0,
1461
- transition: ve
1461
+ transition: Se
1462
1462
  },
1463
- children: o.map((ee, Wt) => /* @__PURE__ */ e(
1463
+ children: o.map((ie, Wt) => /* @__PURE__ */ e(
1464
1464
  Vt,
1465
1465
  {
1466
- x1: ee.from[0],
1467
- y1: ee.from[1],
1468
- x2: ee.to[0],
1469
- y2: ee.to[1],
1470
- show: V && B >= (ee.visibleAtPhase ?? 0),
1471
- color: ee.color,
1472
- dur: ee.duration
1466
+ x1: ie.from[0],
1467
+ y1: ie.from[1],
1468
+ x2: ie.to[0],
1469
+ y2: ie.to[1],
1470
+ show: j && B >= (ie.visibleAtPhase ?? 0),
1471
+ color: ie.color,
1472
+ dur: ie.duration
1473
1473
  },
1474
1474
  Wt
1475
1475
  ))
@@ -1480,10 +1480,10 @@ function vt({
1480
1480
  {
1481
1481
  style: {
1482
1482
  position: "absolute",
1483
- left: L ? me : fe,
1483
+ left: L ? ne : be,
1484
1484
  top: L ? 570 : C + 70,
1485
- transform: `translate(-50%, -50%) scaleX(${L ? 1 : 0.4}) scaleY(${L ? 1 : 0.6}) scale(${L ? 1 : J})`,
1486
- transition: ve,
1485
+ transform: `translate(-50%, -50%) scaleX(${L ? 1 : 0.4}) scaleY(${L ? 1 : 0.6}) scale(${L ? 1 : te})`,
1486
+ transition: Se,
1487
1487
  zIndex: 1
1488
1488
  },
1489
1489
  children: /* @__PURE__ */ e(jt, { size: Ot, color: Lt, widthRatio: Dt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
@@ -1506,7 +1506,7 @@ function W({
1506
1506
  align: u = "right",
1507
1507
  internalRef: c
1508
1508
  }) {
1509
- const p = ae(ye), f = p?.expandedOffsetX ?? 0;
1509
+ const p = de(ve), f = p?.expandedOffsetX ?? 0;
1510
1510
  if (o === "online") return null;
1511
1511
  const g = l && !!p?.isExpandedPos, h = E[o]?.color ?? E.warning.color, y = Math.abs(a) > Math.abs(s), m = t + f + (y ? Math.sign(a) * 45 : 0), v = n + (y ? 0 : Math.sign(s) * 40), x = t + f + a, w = n + s;
1512
1512
  let b = "";
@@ -1519,7 +1519,7 @@ function W({
1519
1519
  }
1520
1520
  let k = "translate(0, -50%)";
1521
1521
  u === "left" && (k = "translate(-100%, -50%)"), u === "top" && (k = "translate(-50%, -100%)"), u === "bottom" && (k = "translate(-50%, 0)");
1522
- const T = u === "left" ? -8 : u === "right" ? 8 : 0, $ = u === "top" ? -8 : u === "bottom" ? 8 : 0;
1522
+ const A = u === "left" ? -8 : u === "right" ? 8 : 0, $ = u === "top" ? -8 : u === "bottom" ? 8 : 0;
1523
1523
  return /* @__PURE__ */ d(
1524
1524
  "div",
1525
1525
  {
@@ -1568,7 +1568,7 @@ function W({
1568
1568
  left: x,
1569
1569
  top: w,
1570
1570
  transform: k,
1571
- marginLeft: T,
1571
+ marginLeft: A,
1572
1572
  marginTop: $,
1573
1573
  background: "repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px), rgba(2, 8, 16, 0.82)",
1574
1574
  border: `1px solid ${h}55`,
@@ -1693,13 +1693,10 @@ function Jt(t, n) {
1693
1693
  return i >= a && i > 0 ? l = {
1694
1694
  severity: o,
1695
1695
  msg: n?.msg ?? `Status: ${o.toUpperCase()}`,
1696
- internalRef: n?.internalRef,
1697
- offsetX: n?.offsetX,
1698
- offsetY: n?.offsetY,
1699
- align: n?.align
1700
- } : l = r, { effectiveSeverity: s, callout: l };
1696
+ internalRef: n?.internalRef
1697
+ } : l = { ...r }, n?.offsetX !== void 0 && (l.offsetX = n.offsetX), n?.offsetY !== void 0 && (l.offsetY = n.offsetY), n?.align !== void 0 && (l.align = n.align), { effectiveSeverity: s, callout: l };
1701
1698
  }
1702
- function A({
1699
+ function T({
1703
1700
  ex: t,
1704
1701
  ey: n,
1705
1702
  compactOffset: o,
@@ -1715,7 +1712,7 @@ function A({
1715
1712
  bare: g = !1,
1716
1713
  alert: h
1717
1714
  }) {
1718
- const y = ae(ye);
1715
+ const y = de(ve);
1719
1716
  if (!y)
1720
1717
  throw new Error("ServiceNode must be used inside a <Service> component.");
1721
1718
  const {
@@ -1725,14 +1722,14 @@ function A({
1725
1722
  compactCy: w,
1726
1723
  groupScale: b,
1727
1724
  effectiveScale: k,
1728
- transitionValue: T,
1725
+ transitionValue: A,
1729
1726
  onComponentClick: $,
1730
1727
  selectedComponentName: S,
1731
1728
  expandedOffsetX: N
1732
- } = y, z = p === 0 || y.isSelected && v >= p ? 1 : 0, U = x + o.x, le = w + o.y, se = m ? t + N : U, I = m ? n : le, H = f !== void 0 ? f : y.isCompact ? b : k, de = !!c && !!S && c.name === S, { effectiveSeverity: ce, callout: Y } = Ze(
1729
+ } = y, z = p === 0 || y.isSelected && v >= p ? 1 : 0, H = x + o.x, ce = w + o.y, pe = m ? t + N : H, I = m ? n : ce, Y = f !== void 0 ? f : y.isCompact ? b : k, fe = !!c && !!S && c.name === S, { effectiveSeverity: V, callout: _ } = Fe(
1733
1730
  () => Jt(c, h),
1734
1731
  [c, h]
1735
- ), V = ce !== "online" ? E[ce]?.color ?? a : a, L = ce === "offline" ? "#4a6a8a" : V, K = c && m && $ ? () => $({
1732
+ ), j = V !== "online" ? E[V]?.color ?? a : a, L = V === "offline" ? "#4a6a8a" : j, G = c && m && $ ? () => $({
1736
1733
  type: c.type,
1737
1734
  name: c.name,
1738
1735
  status: c.status,
@@ -1742,22 +1739,27 @@ function A({
1742
1739
  dialogMetrics: c.dialogMetrics,
1743
1740
  subComponents: c.subComponents,
1744
1741
  graphSeries: c.graphSeries
1745
- }) : void 0, pe = c?.name ?? s ?? "";
1746
- return /* @__PURE__ */ d(Ie, { children: [
1742
+ }) : void 0, ue = c?.name ?? s ?? "", ne = c?.status ?? "online", ee = V !== "online" && V !== ne, we = Fe(() => ee ? F.Children.map(
1743
+ r,
1744
+ (he) => F.isValidElement(he) ? F.cloneElement(he, {
1745
+ status: V
1746
+ }) : he
1747
+ ) : r, [r, ee, V]);
1748
+ return /* @__PURE__ */ d(Le, { children: [
1747
1749
  /* @__PURE__ */ e(
1748
1750
  "div",
1749
1751
  {
1750
1752
  style: {
1751
1753
  position: "absolute",
1752
- left: se,
1754
+ left: pe,
1753
1755
  top: I,
1754
- transform: `translate(-50%, -50%) scale(${H})`,
1756
+ transform: `translate(-50%, -50%) scale(${Y})`,
1755
1757
  opacity: z,
1756
1758
  zIndex: i,
1757
- transition: T || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1759
+ transition: A || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1758
1760
  pointerEvents: m && z >= 0.5 ? "auto" : "none"
1759
1761
  },
1760
- children: g ? r : /* @__PURE__ */ e(
1762
+ children: g ? we : /* @__PURE__ */ e(
1761
1763
  ei,
1762
1764
  {
1763
1765
  statusColor: L,
@@ -1766,25 +1768,25 @@ function A({
1766
1768
  delay: u,
1767
1769
  showLabels: m,
1768
1770
  isCompact: y.isCompact,
1769
- onClick: K,
1770
- isSelected: de,
1771
- children: r
1771
+ onClick: G,
1772
+ isSelected: fe,
1773
+ children: we
1772
1774
  }
1773
1775
  )
1774
1776
  }
1775
1777
  ),
1776
- Y && /* @__PURE__ */ e(
1778
+ _ && /* @__PURE__ */ e(
1777
1779
  W,
1778
1780
  {
1779
1781
  ex: t,
1780
1782
  ey: n,
1781
- status: Y.severity,
1782
- title: pe,
1783
- msg: Y.msg,
1784
- offsetX: Y.offsetX ?? 110,
1785
- offsetY: Y.offsetY ?? -30,
1786
- align: Y.align ?? "right",
1787
- internalRef: Y.internalRef,
1783
+ status: _.severity,
1784
+ title: ue,
1785
+ msg: _.msg,
1786
+ offsetX: _.offsetX ?? 110,
1787
+ offsetY: _.offsetY ?? -30,
1788
+ align: _.align ?? "right",
1789
+ internalRef: _.internalRef,
1788
1790
  isVisible: !0
1789
1791
  }
1790
1792
  )
@@ -1830,7 +1832,7 @@ function ei({
1830
1832
  }
1831
1833
  }
1832
1834
  ),
1833
- /* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && X.isValidElement(t) ? X.cloneElement(t, {
1835
+ /* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && F.isValidElement(t) ? F.cloneElement(t, {
1834
1836
  _compact: !0
1835
1837
  }) : t })
1836
1838
  ] }),
@@ -1886,7 +1888,7 @@ function $t({ synced: t, latencyMs: n }) {
1886
1888
  ] })
1887
1889
  ] });
1888
1890
  }
1889
- const ie = 140, j = 240, re = 160, we = et(ie, j, re);
1891
+ const re = 140, q = 240, se = 160, $e = et(re, q, se);
1890
1892
  function ti({
1891
1893
  cfg: t,
1892
1894
  name: n,
@@ -1906,9 +1908,9 @@ function ti({
1906
1908
  "div",
1907
1909
  {
1908
1910
  style: {
1909
- width: ie,
1910
- height: j,
1911
- background: a ? Le : Je,
1911
+ width: re,
1912
+ height: q,
1913
+ background: a ? Ne : Je,
1912
1914
  position: "relative",
1913
1915
  overflow: "hidden",
1914
1916
  fontFamily: "'Courier New', monospace",
@@ -2304,8 +2306,8 @@ function ii() {
2304
2306
  "div",
2305
2307
  {
2306
2308
  style: {
2307
- width: ie,
2308
- height: j,
2309
+ width: re,
2310
+ height: q,
2309
2311
  background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
2310
2312
  position: "relative",
2311
2313
  overflow: "hidden",
@@ -2423,8 +2425,8 @@ function ht({
2423
2425
  "div",
2424
2426
  {
2425
2427
  style: {
2426
- width: re,
2427
- height: j,
2428
+ width: se,
2429
+ height: q,
2428
2430
  background: i ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
2429
2431
  position: "relative",
2430
2432
  overflow: "hidden"
@@ -2443,13 +2445,13 @@ function ht({
2443
2445
  }
2444
2446
  }
2445
2447
  ),
2446
- [8, j - 20].map((r) => /* @__PURE__ */ e(
2448
+ [8, q - 20].map((r) => /* @__PURE__ */ e(
2447
2449
  "div",
2448
2450
  {
2449
2451
  style: {
2450
2452
  position: "absolute",
2451
2453
  top: r,
2452
- left: i ? 10 : re - 18,
2454
+ left: i ? 10 : se - 18,
2453
2455
  width: 8,
2454
2456
  height: 8,
2455
2457
  borderRadius: 1,
@@ -2465,8 +2467,8 @@ function ht({
2465
2467
  {
2466
2468
  style: {
2467
2469
  position: "absolute",
2468
- top: j * 0.35,
2469
- bottom: j * 0.15,
2470
+ top: q * 0.35,
2471
+ bottom: q * 0.15,
2470
2472
  left: i ? 22 : 18,
2471
2473
  right: i ? 18 : 22,
2472
2474
  display: "flex",
@@ -2494,8 +2496,8 @@ function ht({
2494
2496
  {
2495
2497
  style: {
2496
2498
  position: "absolute",
2497
- top: j * 0.18,
2498
- left: i ? 12 : re - 78,
2499
+ top: q * 0.18,
2500
+ left: i ? 12 : se - 78,
2499
2501
  fontSize: 7,
2500
2502
  color: "#1a3050",
2501
2503
  letterSpacing: "0.2em",
@@ -2514,13 +2516,13 @@ function ht({
2514
2516
  );
2515
2517
  }
2516
2518
  function ni({ cpuLoad: t }) {
2517
- const n = t / 100, o = n > 0.75 ? "rgba(255,34,85,0.16)" : n > 0.45 ? "rgba(255,140,0,0.12)" : "rgba(0,229,255,0.08)", i = Math.floor((re - 18) / 7);
2519
+ const n = t / 100, o = n > 0.75 ? "rgba(255,34,85,0.16)" : n > 0.45 ? "rgba(255,140,0,0.12)" : "rgba(0,229,255,0.08)", i = Math.floor((se - 18) / 7);
2518
2520
  return /* @__PURE__ */ d(
2519
2521
  "div",
2520
2522
  {
2521
2523
  style: {
2522
- width: ie,
2523
- height: re,
2524
+ width: re,
2525
+ height: se,
2524
2526
  background: "linear-gradient(180deg, #0c1c30 0%, #070f1e 40%, #040c1a 100%)",
2525
2527
  position: "relative",
2526
2528
  overflow: "hidden"
@@ -2534,7 +2536,7 @@ function ni({ cpuLoad: t }) {
2534
2536
  top: 0,
2535
2537
  left: 0,
2536
2538
  right: 0,
2537
- height: re * 0.4,
2539
+ height: se * 0.4,
2538
2540
  background: `radial-gradient(ellipse at 50% 0%, ${o} 0%, transparent 70%)`
2539
2541
  }
2540
2542
  }
@@ -2593,7 +2595,7 @@ function ni({ cpuLoad: t }) {
2593
2595
  }
2594
2596
  );
2595
2597
  }
2596
- function ge({
2598
+ function xe({
2597
2599
  rotateX: t = -22,
2598
2600
  rotateY: n = 20,
2599
2601
  rotateZ: o = 0,
@@ -2606,8 +2608,8 @@ function ge({
2606
2608
  brandLabel: c = "BUSAUD",
2607
2609
  _compact: p
2608
2610
  }) {
2609
- const [f, g] = R(n), h = Z(0), y = Z(0);
2610
- Oe(() => {
2611
+ const [f, g] = R(n), h = J(0), y = J(0);
2612
+ De(() => {
2611
2613
  if (!r) {
2612
2614
  g(n);
2613
2615
  return;
@@ -2624,8 +2626,8 @@ function ge({
2624
2626
  "div",
2625
2627
  {
2626
2628
  style: {
2627
- width: ie * i,
2628
- height: j * i,
2629
+ width: re * i,
2630
+ height: q * i,
2629
2631
  position: "relative",
2630
2632
  display: "flex",
2631
2633
  alignItems: "center",
@@ -2677,8 +2679,8 @@ function ge({
2677
2679
  {
2678
2680
  style: {
2679
2681
  position: "absolute",
2680
- width: ie * 1.4 * i,
2681
- height: j * 0.8 * i,
2682
+ width: re * 1.4 * i,
2683
+ height: q * 0.8 * i,
2682
2684
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
2683
2685
  filter: `blur(${Math.round(45 * i)}px)`,
2684
2686
  pointerEvents: "none",
@@ -2701,15 +2703,15 @@ function ge({
2701
2703
  "div",
2702
2704
  {
2703
2705
  style: {
2704
- width: ie,
2705
- height: j,
2706
+ width: re,
2707
+ height: q,
2706
2708
  position: "relative",
2707
2709
  transformStyle: "preserve-3d",
2708
2710
  transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
2709
2711
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
2710
2712
  },
2711
2713
  children: [
2712
- /* @__PURE__ */ e("div", { style: we.front, children: /* @__PURE__ */ e(
2714
+ /* @__PURE__ */ e("div", { style: $e.front, children: /* @__PURE__ */ e(
2713
2715
  ti,
2714
2716
  {
2715
2717
  cfg: m,
@@ -2721,16 +2723,16 @@ function ge({
2721
2723
  brandLabel: c
2722
2724
  }
2723
2725
  ) }),
2724
- /* @__PURE__ */ e("div", { style: we.back, children: /* @__PURE__ */ e(ii, {}) }),
2725
- /* @__PURE__ */ e("div", { style: we.left, children: /* @__PURE__ */ e(ht, { side: "left", color: m.color, brandLabel: c }) }),
2726
- /* @__PURE__ */ e("div", { style: we.right, children: /* @__PURE__ */ e(ht, { side: "right", color: m.color, brandLabel: c }) }),
2727
- /* @__PURE__ */ e("div", { style: we.top, children: /* @__PURE__ */ e(ni, { cpuLoad: l }) }),
2728
- /* @__PURE__ */ e("div", { style: we.bottom, children: /* @__PURE__ */ e(
2726
+ /* @__PURE__ */ e("div", { style: $e.back, children: /* @__PURE__ */ e(ii, {}) }),
2727
+ /* @__PURE__ */ e("div", { style: $e.left, children: /* @__PURE__ */ e(ht, { side: "left", color: m.color, brandLabel: c }) }),
2728
+ /* @__PURE__ */ e("div", { style: $e.right, children: /* @__PURE__ */ e(ht, { side: "right", color: m.color, brandLabel: c }) }),
2729
+ /* @__PURE__ */ e("div", { style: $e.top, children: /* @__PURE__ */ e(ni, { cpuLoad: l }) }),
2730
+ /* @__PURE__ */ e("div", { style: $e.bottom, children: /* @__PURE__ */ e(
2729
2731
  "div",
2730
2732
  {
2731
2733
  style: {
2732
- width: ie,
2733
- height: re,
2734
+ width: re,
2735
+ height: se,
2734
2736
  background: "linear-gradient(180deg, #030710, #020508)"
2735
2737
  }
2736
2738
  }
@@ -2764,7 +2766,7 @@ function zi({
2764
2766
  alert: v
2765
2767
  }) {
2766
2768
  return /* @__PURE__ */ e(
2767
- A,
2769
+ T,
2768
2770
  {
2769
2771
  ex: t,
2770
2772
  ey: n,
@@ -2785,12 +2787,12 @@ function zi({
2785
2787
  graphSeries: m
2786
2788
  },
2787
2789
  alert: v,
2788
- children: /* @__PURE__ */ e(ge, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
2790
+ children: /* @__PURE__ */ e(xe, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
2789
2791
  }
2790
2792
  );
2791
2793
  }
2792
- const Ge = 12, be = 55, G = be * 2, Re = 52, nt = 10, je = 3 * Re + 2 * nt, Se = 2 * Math.PI * be / Ge, Xe = Array.from({ length: Ge }, (t, n) => n / Ge * 360);
2793
- function qe(t) {
2794
+ const Ze = 12, me = 55, Z = me * 2, Ce = 52, nt = 10, Xe = 3 * Ce + 2 * nt, ke = 2 * Math.PI * me / Ze, qe = Array.from({ length: Ze }, (t, n) => n / Ze * 360);
2795
+ function Qe(t) {
2794
2796
  return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
2795
2797
  }
2796
2798
  function oi({
@@ -2801,25 +2803,25 @@ function oi({
2801
2803
  capacity: r,
2802
2804
  compact: a
2803
2805
  }) {
2804
- return /* @__PURE__ */ d(Ie, { children: [
2805
- Xe.map((s, l) => {
2806
- const u = qe(s), c = l === 0, p = Math.round(4 + u * 9), f = Math.round(12 + u * 22), g = Math.round(28 + u * 44), h = Math.round(u * 0.55 * 255).toString(16).padStart(2, "0");
2806
+ return /* @__PURE__ */ d(Le, { children: [
2807
+ qe.map((s, l) => {
2808
+ const u = Qe(s), c = l === 0, p = Math.round(4 + u * 9), f = Math.round(12 + u * 22), g = Math.round(28 + u * 44), h = Math.round(u * 0.55 * 255).toString(16).padStart(2, "0");
2807
2809
  return /* @__PURE__ */ e(
2808
2810
  "div",
2809
2811
  {
2810
2812
  style: {
2811
2813
  position: "absolute",
2812
- width: Se,
2813
- height: Re,
2814
- left: (G - Se) / 2,
2814
+ width: ke,
2815
+ height: Ce,
2816
+ left: (Z - ke) / 2,
2815
2817
  top: t,
2816
- transform: `rotateY(${s}deg) translateZ(${be}px)`,
2818
+ transform: `rotateY(${s}deg) translateZ(${me}px)`,
2817
2819
  backfaceVisibility: "hidden",
2818
2820
  background: c ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${f},${g})`,
2819
2821
  borderLeft: `1px solid ${o.color}${h}`,
2820
2822
  boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
2821
2823
  },
2822
- children: c && /* @__PURE__ */ d(Ie, { children: [
2824
+ children: c && /* @__PURE__ */ d(Le, { children: [
2823
2825
  /* @__PURE__ */ e(
2824
2826
  "div",
2825
2827
  {
@@ -2872,10 +2874,10 @@ function oi({
2872
2874
  {
2873
2875
  style: {
2874
2876
  position: "absolute",
2875
- width: G + 4,
2876
- height: G + 4,
2877
+ width: Z + 4,
2878
+ height: Z + 4,
2877
2879
  left: -2,
2878
- top: t - be,
2880
+ top: t - me,
2879
2881
  borderRadius: "50%",
2880
2882
  transform: "rotateX(90deg)",
2881
2883
  backfaceVisibility: "hidden",
@@ -2933,10 +2935,10 @@ function oi({
2933
2935
  {
2934
2936
  style: {
2935
2937
  position: "absolute",
2936
- width: G + 4,
2937
- height: G + 4,
2938
+ width: Z + 4,
2939
+ height: Z + 4,
2938
2940
  left: -2,
2939
- top: t + Re - be,
2941
+ top: t + Ce - me,
2940
2942
  borderRadius: "50%",
2941
2943
  transform: "rotateX(-90deg)",
2942
2944
  backfaceVisibility: "hidden",
@@ -2960,18 +2962,18 @@ function oi({
2960
2962
  )
2961
2963
  }
2962
2964
  ),
2963
- i && Xe.map((s, l) => {
2964
- const u = qe(s);
2965
+ i && qe.map((s, l) => {
2966
+ const u = Qe(s);
2965
2967
  return /* @__PURE__ */ e(
2966
2968
  "div",
2967
2969
  {
2968
2970
  style: {
2969
2971
  position: "absolute",
2970
- width: Se + 1.5,
2972
+ width: ke + 1.5,
2971
2973
  height: 6,
2972
- left: (G - Se - 1.5) / 2,
2973
- top: t + Re - 3,
2974
- transform: `rotateY(${s}deg) translateZ(${be + 1.5}px)`,
2974
+ left: (Z - ke - 1.5) / 2,
2975
+ top: t + Ce - 3,
2976
+ transform: `rotateY(${s}deg) translateZ(${me + 1.5}px)`,
2975
2977
  backfaceVisibility: "hidden",
2976
2978
  background: o.color,
2977
2979
  boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
@@ -2981,18 +2983,18 @@ function oi({
2981
2983
  `rng${n}${l}`
2982
2984
  );
2983
2985
  }),
2984
- i && Xe.map((s, l) => {
2985
- const u = qe(s), c = Math.round(2 + u * 4), p = Math.round(5 + u * 10), f = Math.round(12 + u * 20);
2986
+ i && qe.map((s, l) => {
2987
+ const u = Qe(s), c = Math.round(2 + u * 4), p = Math.round(5 + u * 10), f = Math.round(12 + u * 20);
2986
2988
  return /* @__PURE__ */ e(
2987
2989
  "div",
2988
2990
  {
2989
2991
  style: {
2990
2992
  position: "absolute",
2991
- width: Se,
2993
+ width: ke,
2992
2994
  height: nt,
2993
- left: (G - Se) / 2,
2994
- top: t + Re,
2995
- transform: `rotateY(${s}deg) translateZ(${be}px)`,
2995
+ left: (Z - ke) / 2,
2996
+ top: t + Ce,
2997
+ transform: `rotateY(${s}deg) translateZ(${me}px)`,
2996
2998
  backfaceVisibility: "hidden",
2997
2999
  background: `rgb(${c},${p},${f})`
2998
3000
  }
@@ -3002,7 +3004,7 @@ function oi({
3002
3004
  })
3003
3005
  ] });
3004
3006
  }
3005
- function Ne({
3007
+ function Me({
3006
3008
  rotateX: t = -22,
3007
3009
  rotateY: n = -15,
3008
3010
  rotateZ: o = 0,
@@ -3014,8 +3016,8 @@ function Ne({
3014
3016
  // connections = 284,
3015
3017
  _compact: l
3016
3018
  }) {
3017
- const [u, c] = R(n), p = Z(0), f = Z(0);
3018
- Oe(() => {
3019
+ const [u, c] = R(n), p = J(0), f = J(0);
3020
+ De(() => {
3019
3021
  if (!r) {
3020
3022
  c(n);
3021
3023
  return;
@@ -3032,8 +3034,8 @@ function Ne({
3032
3034
  "div",
3033
3035
  {
3034
3036
  style: {
3035
- width: G * i,
3036
- height: je * i,
3037
+ width: Z * i,
3038
+ height: Xe * i,
3037
3039
  position: "relative",
3038
3040
  display: "flex",
3039
3041
  alignItems: "center",
@@ -3093,8 +3095,8 @@ function Ne({
3093
3095
  {
3094
3096
  style: {
3095
3097
  position: "absolute",
3096
- width: G * 2.8 * i,
3097
- height: je * 0.85 * i,
3098
+ width: Z * 2.8 * i,
3099
+ height: Xe * 0.85 * i,
3098
3100
  background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
3099
3101
  filter: `blur(${Math.round(50 * i)}px)`,
3100
3102
  pointerEvents: "none",
@@ -3117,8 +3119,8 @@ function Ne({
3117
3119
  "div",
3118
3120
  {
3119
3121
  style: {
3120
- width: G,
3121
- height: je,
3122
+ width: Z,
3123
+ height: Xe,
3122
3124
  position: "relative",
3123
3125
  transformStyle: "preserve-3d",
3124
3126
  transform: `rotateX(${t}deg) rotateY(${u}deg) rotateZ(${o}deg)`,
@@ -3127,7 +3129,7 @@ function Ne({
3127
3129
  children: [0, 1, 2].map((h) => /* @__PURE__ */ e(
3128
3130
  oi,
3129
3131
  {
3130
- diskY: h * (Re + nt),
3132
+ diskY: h * (Ce + nt),
3131
3133
  diskIdx: h,
3132
3134
  cfg: g,
3133
3135
  hasRingBelow: h < 2,
@@ -3162,7 +3164,7 @@ function Bi({
3162
3164
  alert: y
3163
3165
  }) {
3164
3166
  return /* @__PURE__ */ e(
3165
- A,
3167
+ T,
3166
3168
  {
3167
3169
  ex: t,
3168
3170
  ey: n,
@@ -3183,7 +3185,7 @@ function Bi({
3183
3185
  graphSeries: h
3184
3186
  },
3185
3187
  alert: y,
3186
- children: /* @__PURE__ */ e(Ne, { status: a, capacity: p })
3188
+ children: /* @__PURE__ */ e(Me, { status: a, capacity: p })
3187
3189
  }
3188
3190
  );
3189
3191
  }
@@ -3310,7 +3312,7 @@ function Fi({
3310
3312
  visibleAtPhase: l
3311
3313
  }) {
3312
3314
  return /* @__PURE__ */ e(
3313
- A,
3315
+ T,
3314
3316
  {
3315
3317
  ex: t,
3316
3318
  ey: n,
@@ -3322,7 +3324,7 @@ function Fi({
3322
3324
  }
3323
3325
  );
3324
3326
  }
3325
- const ne = 190, q = 72, Ee = 120, $e = et(ne, q, Ee);
3327
+ const ae = 190, Q = 72, Pe = 120, Re = et(ae, Q, Pe);
3326
3328
  function ri({
3327
3329
  cfg: t,
3328
3330
  name: n,
@@ -3335,9 +3337,9 @@ function ri({
3335
3337
  "div",
3336
3338
  {
3337
3339
  style: {
3338
- width: ne,
3339
- height: q,
3340
- background: r ? Le : Je,
3340
+ width: ae,
3341
+ height: Q,
3342
+ background: r ? Ne : Je,
3341
3343
  position: "relative",
3342
3344
  overflow: "hidden",
3343
3345
  fontFamily: "'Courier New', monospace",
@@ -3590,8 +3592,8 @@ function ai() {
3590
3592
  "div",
3591
3593
  {
3592
3594
  style: {
3593
- width: ne,
3594
- height: q,
3595
+ width: ae,
3596
+ height: Q,
3595
3597
  background: "linear-gradient(180deg, #040c1a, #030810)",
3596
3598
  position: "relative",
3597
3599
  overflow: "hidden",
@@ -3606,7 +3608,7 @@ function ai() {
3606
3608
  {
3607
3609
  style: {
3608
3610
  width: 40,
3609
- height: q - 16,
3611
+ height: Q - 16,
3610
3612
  background: "#020710",
3611
3613
  border: "1px solid #1a2d40",
3612
3614
  borderRadius: 2,
@@ -3662,7 +3664,7 @@ function ai() {
3662
3664
  style: {
3663
3665
  marginLeft: "auto",
3664
3666
  width: 12,
3665
- height: q - 16,
3667
+ height: Q - 16,
3666
3668
  background: "#020710",
3667
3669
  border: "1px solid #1a3050",
3668
3670
  borderRadius: 1
@@ -3678,8 +3680,8 @@ function bt({ side: t, color: n }) {
3678
3680
  "div",
3679
3681
  {
3680
3682
  style: {
3681
- width: Ee,
3682
- height: q,
3683
+ width: Pe,
3684
+ height: Q,
3683
3685
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
3684
3686
  position: "relative",
3685
3687
  overflow: "hidden"
@@ -3703,8 +3705,8 @@ function bt({ side: t, color: n }) {
3703
3705
  {
3704
3706
  style: {
3705
3707
  position: "absolute",
3706
- top: q * 0.25,
3707
- bottom: q * 0.25,
3708
+ top: Q * 0.25,
3709
+ bottom: Q * 0.25,
3708
3710
  left: 14,
3709
3711
  right: 14,
3710
3712
  display: "flex",
@@ -3731,13 +3733,13 @@ function bt({ side: t, color: n }) {
3731
3733
  );
3732
3734
  }
3733
3735
  function li({ traffic: t }) {
3734
- const n = Math.floor((Ee - 14) / 7);
3736
+ const n = Math.floor((Pe - 14) / 7);
3735
3737
  return /* @__PURE__ */ d(
3736
3738
  "div",
3737
3739
  {
3738
3740
  style: {
3739
- width: ne,
3740
- height: Ee,
3741
+ width: ae,
3742
+ height: Pe,
3741
3743
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
3742
3744
  position: "relative",
3743
3745
  overflow: "hidden"
@@ -3751,7 +3753,7 @@ function li({ traffic: t }) {
3751
3753
  top: 0,
3752
3754
  left: 0,
3753
3755
  right: 0,
3754
- height: Ee * 0.35,
3756
+ height: Pe * 0.35,
3755
3757
  background: `radial-gradient(ellipse at 50% 0%,
3756
3758
  ${t > 70 ? "rgba(255,34,85,0.14)" : "rgba(0,229,255,0.08)"} 0%,
3757
3759
  transparent 70%)`
@@ -3801,8 +3803,8 @@ function rt({
3801
3803
  activeRoutes: u = 12,
3802
3804
  _compact: c
3803
3805
  }) {
3804
- const [p, f] = R(n), g = Z(0), h = Z(0);
3805
- Oe(() => {
3806
+ const [p, f] = R(n), g = J(0), h = J(0);
3807
+ De(() => {
3806
3808
  if (!r) {
3807
3809
  f(n);
3808
3810
  return;
@@ -3819,8 +3821,8 @@ function rt({
3819
3821
  "div",
3820
3822
  {
3821
3823
  style: {
3822
- width: ne * i,
3823
- height: q * i,
3824
+ width: ae * i,
3825
+ height: Q * i,
3824
3826
  position: "relative",
3825
3827
  display: "flex",
3826
3828
  alignItems: "center",
@@ -3880,8 +3882,8 @@ function rt({
3880
3882
  {
3881
3883
  style: {
3882
3884
  position: "absolute",
3883
- width: ne * 1.3 * i,
3884
- height: q * 2 * i,
3885
+ width: ae * 1.3 * i,
3886
+ height: Q * 2 * i,
3885
3887
  background: `radial-gradient(ellipse, ${y.glow} 0%, transparent 65%)`,
3886
3888
  filter: `blur(${Math.round(40 * i)}px)`,
3887
3889
  pointerEvents: "none",
@@ -3904,15 +3906,15 @@ function rt({
3904
3906
  "div",
3905
3907
  {
3906
3908
  style: {
3907
- width: ne,
3908
- height: q,
3909
+ width: ae,
3910
+ height: Q,
3909
3911
  position: "relative",
3910
3912
  transformStyle: "preserve-3d",
3911
3913
  transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
3912
3914
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
3913
3915
  },
3914
3916
  children: [
3915
- /* @__PURE__ */ e("div", { style: $e.front, children: /* @__PURE__ */ e(
3917
+ /* @__PURE__ */ e("div", { style: Re.front, children: /* @__PURE__ */ e(
3916
3918
  ri,
3917
3919
  {
3918
3920
  cfg: y,
@@ -3922,11 +3924,11 @@ function rt({
3922
3924
  compact: c
3923
3925
  }
3924
3926
  ) }),
3925
- /* @__PURE__ */ e("div", { style: $e.back, children: /* @__PURE__ */ e(ai, {}) }),
3926
- /* @__PURE__ */ e("div", { style: $e.left, children: /* @__PURE__ */ e(bt, { side: "left", color: y.color }) }),
3927
- /* @__PURE__ */ e("div", { style: $e.right, children: /* @__PURE__ */ e(bt, { side: "right", color: y.color }) }),
3928
- /* @__PURE__ */ e("div", { style: $e.top, children: /* @__PURE__ */ e(li, { traffic: l }) }),
3929
- /* @__PURE__ */ e("div", { style: $e.bottom, children: /* @__PURE__ */ e("div", { style: { width: ne, height: Ee, background: "#020508" } }) })
3927
+ /* @__PURE__ */ e("div", { style: Re.back, children: /* @__PURE__ */ e(ai, {}) }),
3928
+ /* @__PURE__ */ e("div", { style: Re.left, children: /* @__PURE__ */ e(bt, { side: "left", color: y.color }) }),
3929
+ /* @__PURE__ */ e("div", { style: Re.right, children: /* @__PURE__ */ e(bt, { side: "right", color: y.color }) }),
3930
+ /* @__PURE__ */ e("div", { style: Re.top, children: /* @__PURE__ */ e(li, { traffic: l }) }),
3931
+ /* @__PURE__ */ e("div", { style: Re.bottom, children: /* @__PURE__ */ e("div", { style: { width: ae, height: Pe, background: "#020508" } }) })
3930
3932
  ]
3931
3933
  }
3932
3934
  )
@@ -3955,7 +3957,7 @@ function Ui({
3955
3957
  alert: m
3956
3958
  }) {
3957
3959
  return /* @__PURE__ */ e(
3958
- A,
3960
+ T,
3959
3961
  {
3960
3962
  ex: t,
3961
3963
  ey: n,
@@ -3980,7 +3982,7 @@ function Ui({
3980
3982
  }
3981
3983
  );
3982
3984
  }
3983
- const oe = 190, Q = 72, Ce = 120, ke = et(oe, Q, Ce), gt = {
3985
+ const le = 190, K = 72, Te = 120, Ee = et(le, K, Te), gt = {
3984
3986
  online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
3985
3987
  warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
3986
3988
  critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
@@ -3999,9 +4001,9 @@ function si({
3999
4001
  "div",
4000
4002
  {
4001
4003
  style: {
4002
- width: oe,
4003
- height: Q,
4004
- background: a ? Le : Je,
4004
+ width: le,
4005
+ height: K,
4006
+ background: a ? Ne : Je,
4005
4007
  position: "relative",
4006
4008
  overflow: "hidden",
4007
4009
  fontFamily: "'Courier New', monospace",
@@ -4250,8 +4252,8 @@ function di() {
4250
4252
  "div",
4251
4253
  {
4252
4254
  style: {
4253
- width: oe,
4254
- height: Q,
4255
+ width: le,
4256
+ height: K,
4255
4257
  background: "linear-gradient(180deg, #040c1a, #030810)",
4256
4258
  position: "relative",
4257
4259
  overflow: "hidden",
@@ -4266,7 +4268,7 @@ function di() {
4266
4268
  {
4267
4269
  style: {
4268
4270
  width: 40,
4269
- height: Q - 16,
4271
+ height: K - 16,
4270
4272
  background: "#020710",
4271
4273
  border: "1px solid #1a2d40",
4272
4274
  borderRadius: 2,
@@ -4322,7 +4324,7 @@ function di() {
4322
4324
  style: {
4323
4325
  marginLeft: "auto",
4324
4326
  width: 12,
4325
- height: Q - 16,
4327
+ height: K - 16,
4326
4328
  background: "#020710",
4327
4329
  border: "1px solid #1a3050",
4328
4330
  borderRadius: 1
@@ -4338,8 +4340,8 @@ function yt({ side: t, color: n }) {
4338
4340
  "div",
4339
4341
  {
4340
4342
  style: {
4341
- width: Ce,
4342
- height: Q,
4343
+ width: Te,
4344
+ height: K,
4343
4345
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
4344
4346
  position: "relative",
4345
4347
  overflow: "hidden"
@@ -4363,8 +4365,8 @@ function yt({ side: t, color: n }) {
4363
4365
  {
4364
4366
  style: {
4365
4367
  position: "absolute",
4366
- top: Q * 0.25,
4367
- bottom: Q * 0.25,
4368
+ top: K * 0.25,
4369
+ bottom: K * 0.25,
4368
4370
  left: 14,
4369
4371
  right: 14,
4370
4372
  display: "flex",
@@ -4391,13 +4393,13 @@ function yt({ side: t, color: n }) {
4391
4393
  );
4392
4394
  }
4393
4395
  function ci({ queueDepth: t, color: n }) {
4394
- const o = Math.floor((Ce - 14) / 7);
4396
+ const o = Math.floor((Te - 14) / 7);
4395
4397
  return /* @__PURE__ */ d(
4396
4398
  "div",
4397
4399
  {
4398
4400
  style: {
4399
- width: oe,
4400
- height: Ce,
4401
+ width: le,
4402
+ height: Te,
4401
4403
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
4402
4404
  position: "relative",
4403
4405
  overflow: "hidden"
@@ -4411,7 +4413,7 @@ function ci({ queueDepth: t, color: n }) {
4411
4413
  top: 0,
4412
4414
  left: 0,
4413
4415
  right: 0,
4414
- height: Ce * 0.35,
4416
+ height: Te * 0.35,
4415
4417
  background: `radial-gradient(ellipse at 50% 0%,
4416
4418
  ${t > 70 ? "rgba(255,34,85,0.14)" : `${n}15`} 0%,
4417
4419
  transparent 70%)`
@@ -4462,8 +4464,8 @@ function kt({
4462
4464
  instances: c = 3,
4463
4465
  _compact: p
4464
4466
  }) {
4465
- const [f, g] = R(n), h = Z(0), y = Z(0);
4466
- Oe(() => {
4467
+ const [f, g] = R(n), h = J(0), y = J(0);
4468
+ De(() => {
4467
4469
  if (!r) {
4468
4470
  g(n);
4469
4471
  return;
@@ -4480,8 +4482,8 @@ function kt({
4480
4482
  "div",
4481
4483
  {
4482
4484
  style: {
4483
- width: oe * i,
4484
- height: Q * i,
4485
+ width: le * i,
4486
+ height: K * i,
4485
4487
  position: "relative",
4486
4488
  display: "flex",
4487
4489
  alignItems: "center",
@@ -4541,8 +4543,8 @@ function kt({
4541
4543
  {
4542
4544
  style: {
4543
4545
  position: "absolute",
4544
- width: oe * 1.3 * i,
4545
- height: Q * 2 * i,
4546
+ width: le * 1.3 * i,
4547
+ height: K * 2 * i,
4546
4548
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
4547
4549
  filter: `blur(${Math.round(40 * i)}px)`,
4548
4550
  pointerEvents: "none",
@@ -4565,15 +4567,15 @@ function kt({
4565
4567
  "div",
4566
4568
  {
4567
4569
  style: {
4568
- width: oe,
4569
- height: Q,
4570
+ width: le,
4571
+ height: K,
4570
4572
  position: "relative",
4571
4573
  transformStyle: "preserve-3d",
4572
4574
  transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
4573
4575
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
4574
4576
  },
4575
4577
  children: [
4576
- /* @__PURE__ */ e("div", { style: ke.front, children: /* @__PURE__ */ e(
4578
+ /* @__PURE__ */ e("div", { style: Ee.front, children: /* @__PURE__ */ e(
4577
4579
  si,
4578
4580
  {
4579
4581
  cfg: m,
@@ -4584,11 +4586,11 @@ function kt({
4584
4586
  compact: p
4585
4587
  }
4586
4588
  ) }),
4587
- /* @__PURE__ */ e("div", { style: ke.back, children: /* @__PURE__ */ e(di, {}) }),
4588
- /* @__PURE__ */ e("div", { style: ke.left, children: /* @__PURE__ */ e(yt, { side: "left", color: m.color }) }),
4589
- /* @__PURE__ */ e("div", { style: ke.right, children: /* @__PURE__ */ e(yt, { side: "right", color: m.color }) }),
4590
- /* @__PURE__ */ e("div", { style: ke.top, children: /* @__PURE__ */ e(ci, { queueDepth: l, color: m.color }) }),
4591
- /* @__PURE__ */ e("div", { style: ke.bottom, children: /* @__PURE__ */ e("div", { style: { width: oe, height: Ce, background: "#020508" } }) })
4589
+ /* @__PURE__ */ e("div", { style: Ee.back, children: /* @__PURE__ */ e(di, {}) }),
4590
+ /* @__PURE__ */ e("div", { style: Ee.left, children: /* @__PURE__ */ e(yt, { side: "left", color: m.color }) }),
4591
+ /* @__PURE__ */ e("div", { style: Ee.right, children: /* @__PURE__ */ e(yt, { side: "right", color: m.color }) }),
4592
+ /* @__PURE__ */ e("div", { style: Ee.top, children: /* @__PURE__ */ e(ci, { queueDepth: l, color: m.color }) }),
4593
+ /* @__PURE__ */ e("div", { style: Ee.bottom, children: /* @__PURE__ */ e("div", { style: { width: le, height: Te, background: "#020508" } }) })
4592
4594
  ]
4593
4595
  }
4594
4596
  )
@@ -4618,7 +4620,7 @@ function Hi({
4618
4620
  alert: v
4619
4621
  }) {
4620
4622
  return /* @__PURE__ */ e(
4621
- A,
4623
+ T,
4622
4624
  {
4623
4625
  ex: t,
4624
4626
  ey: n,
@@ -4799,7 +4801,7 @@ function Rt({
4799
4801
  style: {
4800
4802
  width: t,
4801
4803
  height: n,
4802
- background: Le,
4804
+ background: Ne,
4803
4805
  position: "relative",
4804
4806
  overflow: "hidden",
4805
4807
  borderRadius: 2,
@@ -4876,7 +4878,7 @@ function Rt({
4876
4878
  }
4877
4879
  );
4878
4880
  }
4879
- function ze({
4881
+ function Ue({
4880
4882
  color: t = "#00e5ff",
4881
4883
  label: n = "CPU-0",
4882
4884
  status: o = "online",
@@ -4889,7 +4891,7 @@ function ze({
4889
4891
  style: {
4890
4892
  width: 52,
4891
4893
  height: 36,
4892
- background: Le,
4894
+ background: Ne,
4893
4895
  position: "relative",
4894
4896
  borderRadius: 2,
4895
4897
  border: `1px solid ${t}55`,
@@ -4987,7 +4989,7 @@ function ze({
4987
4989
  )
4988
4990
  ] });
4989
4991
  }
4990
- function Be({
4992
+ function He({
4991
4993
  color: t = "#00e5ff",
4992
4994
  label: n = "HEAP-0",
4993
4995
  status: o = "online",
@@ -5084,7 +5086,7 @@ function Be({
5084
5086
  )
5085
5087
  ] });
5086
5088
  }
5087
- function Pe({
5089
+ function Ae({
5088
5090
  color: t = "#00e5ff",
5089
5091
  label: n = "DRIVE-1",
5090
5092
  status: o = "online",
@@ -5134,7 +5136,7 @@ function Et({
5134
5136
  style: {
5135
5137
  width: 48,
5136
5138
  height: 28,
5137
- background: Le,
5139
+ background: Ne,
5138
5140
  position: "relative",
5139
5141
  borderRadius: 2,
5140
5142
  border: `1px solid ${t}44`,
@@ -5194,7 +5196,7 @@ function M({
5194
5196
  }) {
5195
5197
  return /* @__PURE__ */ e(Rt, { w: 44, h: 28, color: t, label: n, status: o });
5196
5198
  }
5197
- function Me({
5199
+ function Be({
5198
5200
  color: t = "#ff8c00",
5199
5201
  label: n = "PLATTER-0",
5200
5202
  status: o = "online",
@@ -5278,7 +5280,7 @@ function Me({
5278
5280
  )
5279
5281
  ] });
5280
5282
  }
5281
- function F({
5283
+ function U({
5282
5284
  color: t = "#00e5ff",
5283
5285
  label: n = "PORT-1",
5284
5286
  status: o = "online"
@@ -5494,7 +5496,7 @@ function yi({
5494
5496
  key: "cpu0",
5495
5497
  delay: 0,
5496
5498
  el: /* @__PURE__ */ e(
5497
- ze,
5499
+ Ue,
5498
5500
  {
5499
5501
  color: a,
5500
5502
  label: "CPU-0",
@@ -5508,7 +5510,7 @@ function yi({
5508
5510
  key: "cpu1",
5509
5511
  delay: 1,
5510
5512
  el: /* @__PURE__ */ e(
5511
- ze,
5513
+ Ue,
5512
5514
  {
5513
5515
  color: a,
5514
5516
  label: "CPU-1",
@@ -5522,7 +5524,7 @@ function yi({
5522
5524
  key: "heap0",
5523
5525
  delay: 2,
5524
5526
  el: /* @__PURE__ */ e(
5525
- Be,
5527
+ He,
5526
5528
  {
5527
5529
  color: "#8855ee",
5528
5530
  label: "HEAP-0",
@@ -5536,7 +5538,7 @@ function yi({
5536
5538
  key: "heap1",
5537
5539
  delay: 3,
5538
5540
  el: /* @__PURE__ */ e(
5539
- Be,
5541
+ He,
5540
5542
  {
5541
5543
  color: "#8855ee",
5542
5544
  label: "HEAP-1",
@@ -5549,13 +5551,13 @@ function yi({
5549
5551
  {
5550
5552
  key: "d1",
5551
5553
  delay: 4,
5552
- el: /* @__PURE__ */ e(Pe, { color: a, label: "DRIVE-1", status: i[4]?.status, activity: !0 })
5554
+ el: /* @__PURE__ */ e(Ae, { color: a, label: "DRIVE-1", status: i[4]?.status, activity: !0 })
5553
5555
  },
5554
5556
  {
5555
5557
  key: "d2",
5556
5558
  delay: 5,
5557
5559
  el: /* @__PURE__ */ e(
5558
- Pe,
5560
+ Ae,
5559
5561
  {
5560
5562
  color: a,
5561
5563
  label: "DRIVE-2",
@@ -5568,7 +5570,7 @@ function yi({
5568
5570
  key: "d3",
5569
5571
  delay: 6,
5570
5572
  el: /* @__PURE__ */ e(
5571
- Pe,
5573
+ Ae,
5572
5574
  {
5573
5575
  color: a,
5574
5576
  label: "DRIVE-3",
@@ -5625,7 +5627,7 @@ function yi({
5625
5627
  transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
5626
5628
  transition: `opacity 0.35s ${D} ${c * 0.04}s, transform 0.4s ${D} ${c * 0.04}s`
5627
5629
  },
5628
- children: /* @__PURE__ */ e(F, { color: a, label: `PORT-${c + 1}`, status: p?.status })
5630
+ children: /* @__PURE__ */ e(U, { color: a, label: `PORT-${c + 1}`, status: p?.status })
5629
5631
  },
5630
5632
  `p${c}`
5631
5633
  );
@@ -5691,7 +5693,7 @@ function yi({
5691
5693
  transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
5692
5694
  transition: `all 0.4s ${D} ${l * 0.08}s`
5693
5695
  },
5694
- children: /* @__PURE__ */ e(F, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5696
+ children: /* @__PURE__ */ e(U, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5695
5697
  },
5696
5698
  l
5697
5699
  )),
@@ -5751,7 +5753,7 @@ function yi({
5751
5753
  transition: `all 0.45s ${D} ${u * 0.1}s`
5752
5754
  },
5753
5755
  children: /* @__PURE__ */ e(
5754
- Me,
5756
+ Be,
5755
5757
  {
5756
5758
  color: s,
5757
5759
  label: `PLATTER-${u}`,
@@ -6112,15 +6114,15 @@ function mi({ onSubmit: t }) {
6112
6114
  /* @__PURE__ */ e("div", { className: "cred-footer", children: "CREDENTIALS ARE STORED IN MEMORY ONLY" })
6113
6115
  ] }) });
6114
6116
  }
6115
- const at = He(null);
6117
+ const at = _e(null);
6116
6118
  function xi() {
6117
- const t = ae(at);
6119
+ const t = de(at);
6118
6120
  if (!t)
6119
6121
  throw new Error("useAIOpsData must be used within an AIOPsDashboard with dataEndpoint configured");
6120
6122
  return t;
6121
6123
  }
6122
6124
  function vi() {
6123
- return ae(at);
6125
+ return de(at);
6124
6126
  }
6125
6127
  function Vi(t) {
6126
6128
  const { data: n } = xi();
@@ -6142,9 +6144,9 @@ function Si(t) {
6142
6144
  return t;
6143
6145
  }
6144
6146
  function $i({ config: t, children: n }) {
6145
- const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [u, c] = R(null), [p, f] = R(null), g = Z(t);
6147
+ const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [u, c] = R(null), [p, f] = R(null), g = J(t);
6146
6148
  g.current = t;
6147
- const h = Z(r);
6149
+ const h = J(r);
6148
6150
  h.current = r;
6149
6151
  const y = ct(async () => {
6150
6152
  const x = h.current, w = g.current;
@@ -6166,14 +6168,14 @@ function $i({ config: t, children: n }) {
6166
6168
  }).then((z) => ({ query: S, data: z.trim() }));
6167
6169
  })
6168
6170
  ), k = {};
6169
- let T = 0;
6171
+ let A = 0;
6170
6172
  for (const S of b)
6171
- S.status === "fulfilled" ? k[S.value.query] = S.value.data : T++;
6173
+ S.status === "fulfilled" ? k[S.value.query] = S.value.data : A++;
6172
6174
  i((S) => ({ ...S, ...k }));
6173
6175
  const $ = w.queries.length;
6174
6176
  c(
6175
- T > 0 ? `${T} of ${$} queries failed to refresh` : null
6176
- ), T < $ && f(/* @__PURE__ */ new Date());
6177
+ A > 0 ? `${A} of ${$} queries failed to refresh` : null
6178
+ ), A < $ && f(/* @__PURE__ */ new Date());
6177
6179
  } catch (b) {
6178
6180
  const k = b instanceof Error ? b.message : "Refresh failed";
6179
6181
  c(k);
@@ -6182,7 +6184,7 @@ function $i({ config: t, children: n }) {
6182
6184
  }
6183
6185
  }
6184
6186
  }, []);
6185
- Oe(() => {
6187
+ De(() => {
6186
6188
  if (!r) return;
6187
6189
  y();
6188
6190
  const x = g.current.refreshInterval ?? 6e4, w = window.setInterval(y, x);
@@ -6233,38 +6235,38 @@ function mt({
6233
6235
  dataTransform: u,
6234
6236
  children: c
6235
6237
  }) {
6236
- const p = vi(), [f] = R(20), [g] = R(!1), [h] = R(!0), [y] = R(0.45), [m] = R(3.3), [v, x] = R("compact"), [w, b] = R(0), [k, T] = R(null), [$, S] = R(null), [N, B] = R(0), z = (C) => {
6237
- v === "compact" && (T(C), x("expanding"), b(0), setTimeout(() => b(1), 50), setTimeout(() => b(2), 800), setTimeout(() => b(3), 1200), setTimeout(() => b(4), 1600), setTimeout(() => b(5), 2e3), setTimeout(() => {
6238
+ const p = vi(), [f] = R(20), [g] = R(!1), [h] = R(!0), [y] = R(0.45), [m] = R(3.3), [v, x] = R("compact"), [w, b] = R(0), [k, A] = R(null), [$, S] = R(null), [N, B] = R(0), z = (C) => {
6239
+ v === "compact" && (A(C), x("expanding"), b(0), setTimeout(() => b(1), 50), setTimeout(() => b(2), 800), setTimeout(() => b(3), 1200), setTimeout(() => b(4), 1600), setTimeout(() => b(5), 2e3), setTimeout(() => {
6238
6240
  b(6), x("expanded");
6239
6241
  }, 2400));
6240
- }, U = () => {
6241
- $ ? (S(null), B(0)) : v === "expanded" && (x("collapsing"), b(0), T(null), setTimeout(() => {
6242
+ }, H = () => {
6243
+ $ ? (S(null), B(0)) : v === "expanded" && (x("collapsing"), b(0), A(null), setTimeout(() => {
6242
6244
  x((C) => C === "collapsing" ? "compact" : C);
6243
6245
  }, 1e3));
6244
- }, le = (C) => {
6246
+ }, ce = (C) => {
6245
6247
  S(C), B(0);
6246
6248
  };
6247
- X.useEffect(() => {
6249
+ F.useEffect(() => {
6248
6250
  if (!$) return;
6249
- const C = performance.now(), ue = 1200, te = () => {
6250
- const J = performance.now() - C, _ = Math.min(1, J / ue);
6251
- B(_), _ < 1 && requestAnimationFrame(te);
6252
- }, he = requestAnimationFrame(te);
6253
- return () => cancelAnimationFrame(he);
6251
+ const C = performance.now(), ge = 1200, oe = () => {
6252
+ const te = performance.now() - C, X = Math.min(1, te / ge);
6253
+ B(X), X < 1 && requestAnimationFrame(oe);
6254
+ }, ye = requestAnimationFrame(oe);
6255
+ return () => cancelAnimationFrame(ye);
6254
6256
  }, [$]);
6255
- const se = () => {
6257
+ const pe = () => {
6256
6258
  S(null), B(0);
6257
- }, I = o.find((C) => C.name === k), H = I?.status ?? "online", de = I?.dbSync ?? !0, ce = I?.metrics, Y = I?.alerts, V = u ?? Si, L = p?.data, K = Ze(() => !L || !l ? c : X.Children.map(c, (C) => {
6258
- if (!X.isValidElement(C)) return C;
6259
- const ue = C.props.name;
6260
- if (!ue || !l[ue]) return C;
6261
- const te = l[ue], he = {};
6262
- for (const [J, _] of Object.entries(te)) {
6263
- const dt = typeof _ == "string" ? _ : _.query, ve = typeof _ == "object" && _.transform ? _.transform : V, De = L[dt];
6264
- De !== void 0 && (he[J] = ve(De));
6259
+ }, I = o.find((C) => C.name === k), Y = I?.status ?? "online", fe = I?.dbSync ?? !0, V = I?.metrics, _ = I?.alerts, j = u ?? Si, L = p?.data, G = Fe(() => !L || !l ? c : F.Children.map(c, (C) => {
6260
+ if (!F.isValidElement(C)) return C;
6261
+ const ge = C.props.name;
6262
+ if (!ge || !l[ge]) return C;
6263
+ const oe = l[ge], ye = {};
6264
+ for (const [te, X] of Object.entries(oe)) {
6265
+ const dt = typeof X == "string" ? X : X.query, Se = typeof X == "object" && X.transform ? X.transform : j, We = L[dt];
6266
+ We !== void 0 && (ye[te] = Se(We));
6265
6267
  }
6266
- return Object.keys(he).length > 0 ? X.cloneElement(C, he) : C;
6267
- }), [c, L, l, V]), pe = p?.lastRefreshError ?? null, me = 330, xe = 340, Ye = $ ? 1.15 : 1, Ve = $ ? -($.ex - me) * 0.06 : 0, fe = $ ? -($.ey - xe) * 0.06 : 0;
6268
+ return Object.keys(ye).length > 0 ? F.cloneElement(C, ye) : C;
6269
+ }), [c, L, l, j]), ue = p?.lastRefreshError ?? null, ne = 330, ee = 340, we = $ ? 1.15 : 1, he = $ ? -($.ex - ne) * 0.06 : 0, be = $ ? -($.ey - ee) * 0.06 : 0;
6268
6270
  return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
6269
6271
  /* @__PURE__ */ e(
6270
6272
  "div",
@@ -6279,7 +6281,7 @@ function mt({
6279
6281
  backgroundPosition: "center center",
6280
6282
  backgroundRepeat: "no-repeat",
6281
6283
  transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
6282
- transform: `translate(${Ve}px, ${fe}px) scale(${Ye})`,
6284
+ transform: `translate(${he}px, ${be}px) scale(${we})`,
6283
6285
  willChange: "transform"
6284
6286
  }
6285
6287
  }
@@ -6290,7 +6292,7 @@ function mt({
6290
6292
  /* @__PURE__ */ e("span", { className: "brand-text", children: t })
6291
6293
  ] }),
6292
6294
  /* @__PURE__ */ d("div", { className: "hdr-right", children: [
6293
- pe && /* @__PURE__ */ d("div", { className: "hdr-refresh-error", children: [
6295
+ ue && /* @__PURE__ */ d("div", { className: "hdr-refresh-error", children: [
6294
6296
  /* @__PURE__ */ e("span", { className: "refresh-error-dot" }),
6295
6297
  /* @__PURE__ */ e("span", { className: "refresh-error-text", children: "DATA REFRESH FAILED" })
6296
6298
  ] }),
@@ -6304,7 +6306,7 @@ function mt({
6304
6306
  style: {
6305
6307
  cursor: v === "expanded" ? "zoom-out" : "default"
6306
6308
  },
6307
- onClick: U,
6309
+ onClick: H,
6308
6310
  children: /* @__PURE__ */ e(
6309
6311
  Yt,
6310
6312
  {
@@ -6321,14 +6323,14 @@ function mt({
6321
6323
  carouselSpeed: a,
6322
6324
  logoUrl: r,
6323
6325
  onSelectSystem: z,
6324
- onBackgroundClick: U,
6325
- onComponentClick: le,
6326
- onCloseDrill: se,
6327
- selectedSystemStatus: H,
6328
- selectedSystemDbSync: de,
6329
- selectedSystemMetrics: ce,
6330
- selectedSystemAlerts: Y,
6331
- children: K
6326
+ onBackgroundClick: H,
6327
+ onComponentClick: ce,
6328
+ onCloseDrill: pe,
6329
+ selectedSystemStatus: Y,
6330
+ selectedSystemDbSync: fe,
6331
+ selectedSystemMetrics: V,
6332
+ selectedSystemAlerts: _,
6333
+ children: G
6332
6334
  }
6333
6335
  )
6334
6336
  }
@@ -6344,21 +6346,21 @@ function P(t, n, o = 24) {
6344
6346
  function Ct(t) {
6345
6347
  return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
6346
6348
  }
6347
- function Ae(t, n, o) {
6349
+ function Ie(t, n, o) {
6348
6350
  const i = t === "online" ? "online" : t, r = Ct(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", u = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
6349
6351
  return [
6350
- { id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(ze, { color: r, label: "CPU-0", status: l, load: a }) },
6351
- { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(ze, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
6352
- { id: "heap-0", label: "HEAP-0", status: u, detail: u === "warning" ? "Memory heap usage" : u === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(Be, { color: "#8855ee", label: "HEAP-0", status: u, usedPercent: s }) },
6353
- { id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(Be, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
6354
- { id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(Pe, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
6355
- { id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(Pe, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
6356
- { id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(Pe, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
6352
+ { id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(Ue, { color: r, label: "CPU-0", status: l, load: a }) },
6353
+ { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(Ue, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
6354
+ { id: "heap-0", label: "HEAP-0", status: u, detail: u === "warning" ? "Memory heap usage" : u === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(He, { color: "#8855ee", label: "HEAP-0", status: u, usedPercent: s }) },
6355
+ { id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(He, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
6356
+ { id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(Ae, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
6357
+ { id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(Ae, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
6358
+ { id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(Ae, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
6357
6359
  { id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "THREAD-POOL", status: c }) },
6358
6360
  { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(Et, { color: r, label: "NET", status: p }) }
6359
6361
  ];
6360
6362
  }
6361
- function Te(t) {
6363
+ function Oe(t) {
6362
6364
  const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
6363
6365
  return [
6364
6366
  { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: P(n, 15) },
@@ -6374,19 +6376,19 @@ function Te(t) {
6374
6376
  function Pt(t, n, o) {
6375
6377
  const i = t === "online" ? "online" : t, r = Ct(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
6376
6378
  return [
6377
- { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-1", status: "online" }) },
6378
- { id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-2", status: "online" }) },
6379
- { id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(F, { color: r, label: "PORT-3", status: a }) },
6380
- { id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-4", status: "online" }) },
6381
- { id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(F, { color: r, label: "PORT-5", status: s }) },
6382
- { id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-6", status: "online" }) },
6383
- { id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-7", status: "online" }) },
6384
- { id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-8", status: "online" }) },
6379
+ { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(U, { color: r, label: "PORT-1", status: "online" }) },
6380
+ { id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(U, { color: r, label: "PORT-2", status: "online" }) },
6381
+ { id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(U, { color: r, label: "PORT-3", status: a }) },
6382
+ { id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(U, { color: r, label: "PORT-4", status: "online" }) },
6383
+ { id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(U, { color: r, label: "PORT-5", status: s }) },
6384
+ { id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(U, { color: r, label: "PORT-6", status: "online" }) },
6385
+ { id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(U, { color: r, label: "PORT-7", status: "online" }) },
6386
+ { id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(U, { color: r, label: "PORT-8", status: "online" }) },
6385
6387
  { id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "HTTP-WORKER", status: l }) },
6386
6388
  { id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
6387
6389
  ];
6388
6390
  }
6389
- function At(t) {
6391
+ function Tt(t) {
6390
6392
  const n = t?.traffic ?? 50;
6391
6393
  return [
6392
6394
  { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: P(n, 20) },
@@ -6399,9 +6401,9 @@ function At(t) {
6399
6401
  function ki(t, n, o) {
6400
6402
  const i = t === "online" ? "online" : t, r = i === "critical" ? "critical" : "online", a = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", s = i === "critical" ? "critical" : "online";
6401
6403
  return [
6402
- { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-0", status: "online" }) },
6403
- { id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-1", status: "online" }) },
6404
- { id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-2", status: r }) },
6404
+ { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(U, { color: "#bb55ff", label: "INST-0", status: "online" }) },
6405
+ { id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(U, { color: "#bb55ff", label: "INST-1", status: "online" }) },
6406
+ { id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(U, { color: "#bb55ff", label: "INST-2", status: r }) },
6405
6407
  { id: "queue-0", label: "QUEUE-0", status: a, detail: i === "critical" ? "Queue full" : i === "offline" ? "Unreachable" : i === "warning" ? "Queue depth warning" : void 0, element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
6406
6408
  { id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
6407
6409
  { id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
@@ -6418,17 +6420,17 @@ function Ri(t) {
6418
6420
  { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: P(n * 0.9, 15) }
6419
6421
  ];
6420
6422
  }
6421
- function Fe(t, n, o) {
6423
+ function Ye(t, n, o) {
6422
6424
  const i = t === "online" ? "online" : t, r = "#ff8c00", a = o?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && n === "DB-STB" ? "warning" : "online", u = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
6423
6425
  return [
6424
- { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Me, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
6425
- { id: "platter-1", label: "PLATTER-1", status: s, detail: i === "critical" ? "I/O failure" : i === "offline" ? "Connection lost" : i === "warning" ? "Slow queries" : void 0, element: /* @__PURE__ */ e(Me, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
6426
- { id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Me, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
6426
+ { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Be, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
6427
+ { id: "platter-1", label: "PLATTER-1", status: s, detail: i === "critical" ? "I/O failure" : i === "offline" ? "Connection lost" : i === "warning" ? "Slow queries" : void 0, element: /* @__PURE__ */ e(Be, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
6428
+ { id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Be, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
6427
6429
  { id: "conn-pool", label: "CONN-POOL", status: u, detail: u === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "CONN-POOL", status: u }) },
6428
6430
  { id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(M, { color: "#00ff88", label: "QUERY-CACHE", status: c }) }
6429
6431
  ];
6430
6432
  }
6431
- function Ue(t) {
6433
+ function Ve(t) {
6432
6434
  const n = t?.capacity ?? 70;
6433
6435
  return [
6434
6436
  { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: P(40, 20) },
@@ -6495,10 +6497,10 @@ const Ei = [
6495
6497
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6496
6498
  ];
6497
6499
  function Ci({ config: t }) {
6498
- const n = X.useContext(ye), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: u, pdbStatus: c, sdbStatus: p, dbSync: f } = t;
6499
- return /* @__PURE__ */ d(Ie, { children: [
6500
+ const n = F.useContext(ve), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: u, pdbStatus: c, sdbStatus: p, dbSync: f } = t;
6501
+ return /* @__PURE__ */ d(Le, { children: [
6500
6502
  /* @__PURE__ */ e(
6501
- A,
6503
+ T,
6502
6504
  {
6503
6505
  ex: 330,
6504
6506
  ey: 120,
@@ -6510,7 +6512,7 @@ function Ci({ config: t }) {
6510
6512
  }
6511
6513
  ),
6512
6514
  /* @__PURE__ */ e(
6513
- A,
6515
+ T,
6514
6516
  {
6515
6517
  ex: 220,
6516
6518
  ey: 260,
@@ -6526,7 +6528,7 @@ function Ci({ config: t }) {
6526
6528
  status: r,
6527
6529
  context: { traffic: 78 },
6528
6530
  subComponents: Pt(r),
6529
- graphSeries: At({ traffic: 78 })
6531
+ graphSeries: Tt({ traffic: 78 })
6530
6532
  },
6531
6533
  children: /* @__PURE__ */ e(
6532
6534
  rt,
@@ -6543,7 +6545,7 @@ function Ci({ config: t }) {
6543
6545
  }
6544
6546
  ),
6545
6547
  /* @__PURE__ */ e(
6546
- A,
6548
+ T,
6547
6549
  {
6548
6550
  ex: 440,
6549
6551
  ey: 260,
@@ -6577,7 +6579,7 @@ function Ci({ config: t }) {
6577
6579
  }
6578
6580
  ),
6579
6581
  /* @__PURE__ */ e(
6580
- A,
6582
+ T,
6581
6583
  {
6582
6584
  ex: 165,
6583
6585
  ey: 390,
@@ -6592,11 +6594,11 @@ function Ci({ config: t }) {
6592
6594
  name: "APP-01",
6593
6595
  status: s,
6594
6596
  context: { cpuLoad: 67, memLoad: 72 },
6595
- subComponents: Ae(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6596
- graphSeries: Te({ cpuLoad: 67, memLoad: 72 })
6597
+ subComponents: Ie(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6598
+ graphSeries: Oe({ cpuLoad: 67, memLoad: 72 })
6597
6599
  },
6598
6600
  children: /* @__PURE__ */ e(
6599
- ge,
6601
+ xe,
6600
6602
  {
6601
6603
  rotateY: o,
6602
6604
  autoRotate: i,
@@ -6610,7 +6612,7 @@ function Ci({ config: t }) {
6610
6612
  }
6611
6613
  ),
6612
6614
  /* @__PURE__ */ e(
6613
- A,
6615
+ T,
6614
6616
  {
6615
6617
  ex: 330,
6616
6618
  ey: 390,
@@ -6625,11 +6627,11 @@ function Ci({ config: t }) {
6625
6627
  name: "APP-02",
6626
6628
  status: l,
6627
6629
  context: { cpuLoad: 89, memLoad: 91 },
6628
- subComponents: Ae(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6629
- graphSeries: Te({ cpuLoad: 89, memLoad: 91 })
6630
+ subComponents: Ie(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6631
+ graphSeries: Oe({ cpuLoad: 89, memLoad: 91 })
6630
6632
  },
6631
6633
  children: /* @__PURE__ */ e(
6632
- ge,
6634
+ xe,
6633
6635
  {
6634
6636
  rotateY: o,
6635
6637
  autoRotate: i,
@@ -6643,7 +6645,7 @@ function Ci({ config: t }) {
6643
6645
  }
6644
6646
  ),
6645
6647
  /* @__PURE__ */ e(
6646
- A,
6648
+ T,
6647
6649
  {
6648
6650
  ex: 495,
6649
6651
  ey: 390,
@@ -6658,11 +6660,11 @@ function Ci({ config: t }) {
6658
6660
  name: "APP-03",
6659
6661
  status: u,
6660
6662
  context: { cpuLoad: 45, memLoad: 63 },
6661
- subComponents: Ae(u, "APP-03", { cpuLoad: 45, memLoad: 63 }),
6662
- graphSeries: Te({ cpuLoad: 45, memLoad: 63 })
6663
+ subComponents: Ie(u, "APP-03", { cpuLoad: 45, memLoad: 63 }),
6664
+ graphSeries: Oe({ cpuLoad: 45, memLoad: 63 })
6663
6665
  },
6664
6666
  children: /* @__PURE__ */ e(
6665
- ge,
6667
+ xe,
6666
6668
  {
6667
6669
  rotateY: o,
6668
6670
  autoRotate: i,
@@ -6676,7 +6678,7 @@ function Ci({ config: t }) {
6676
6678
  }
6677
6679
  ),
6678
6680
  /* @__PURE__ */ e(
6679
- A,
6681
+ T,
6680
6682
  {
6681
6683
  ex: 200,
6682
6684
  ey: 520,
@@ -6691,11 +6693,11 @@ function Ci({ config: t }) {
6691
6693
  name: "DB-PRI",
6692
6694
  status: c,
6693
6695
  context: { capacity: 72 },
6694
- subComponents: Fe(c, "DB-PRI", { capacity: 72 }),
6695
- graphSeries: Ue({ capacity: 72 })
6696
+ subComponents: Ye(c, "DB-PRI", { capacity: 72 }),
6697
+ graphSeries: Ve({ capacity: 72 })
6696
6698
  },
6697
6699
  children: /* @__PURE__ */ e(
6698
- Ne,
6700
+ Me,
6699
6701
  {
6700
6702
  rotateY: -o,
6701
6703
  autoRotate: i,
@@ -6709,7 +6711,7 @@ function Ci({ config: t }) {
6709
6711
  }
6710
6712
  ),
6711
6713
  /* @__PURE__ */ e(
6712
- A,
6714
+ T,
6713
6715
  {
6714
6716
  ex: 460,
6715
6717
  ey: 520,
@@ -6724,11 +6726,11 @@ function Ci({ config: t }) {
6724
6726
  name: "DB-STB",
6725
6727
  status: p,
6726
6728
  context: { capacity: 72 },
6727
- subComponents: Fe(p, "DB-STB", { capacity: 72 }),
6728
- graphSeries: Ue({ capacity: 72 })
6729
+ subComponents: Ye(p, "DB-STB", { capacity: 72 }),
6730
+ graphSeries: Ve({ capacity: 72 })
6729
6731
  },
6730
6732
  children: /* @__PURE__ */ e(
6731
- Ne,
6733
+ Me,
6732
6734
  {
6733
6735
  rotateY: o,
6734
6736
  autoRotate: i,
@@ -6742,7 +6744,7 @@ function Ci({ config: t }) {
6742
6744
  }
6743
6745
  ),
6744
6746
  /* @__PURE__ */ e(
6745
- A,
6747
+ T,
6746
6748
  {
6747
6749
  ex: 330,
6748
6750
  ey: 520,
@@ -6758,7 +6760,7 @@ function Ci({ config: t }) {
6758
6760
  ] });
6759
6761
  }
6760
6762
  function Pi({ config: t }) {
6761
- const n = X.useContext(ye), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: u, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
6763
+ const n = F.useContext(ve), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: u, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
6762
6764
  return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6763
6765
  /* @__PURE__ */ e(
6764
6766
  W,
@@ -6936,7 +6938,7 @@ function Ki(t) {
6936
6938
  ...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6937
6939
  ];
6938
6940
  }
6939
- const Ai = [
6941
+ const Ti = [
6940
6942
  { from: [330, 120], to: [330, 260], visibleAtPhase: 3 },
6941
6943
  { from: [330, 260], to: [165, 390], visibleAtPhase: 4 },
6942
6944
  { from: [330, 260], to: [330, 390], visibleAtPhase: 4 },
@@ -6945,11 +6947,11 @@ const Ai = [
6945
6947
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
6946
6948
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6947
6949
  ];
6948
- function Ti({ config: t }) {
6949
- const n = X.useContext(ye), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: u, sdbStatus: c, dbSync: p } = t;
6950
- return /* @__PURE__ */ d(Ie, { children: [
6950
+ function Ai({ config: t }) {
6951
+ const n = F.useContext(ve), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: u, sdbStatus: c, dbSync: p } = t;
6952
+ return /* @__PURE__ */ d(Le, { children: [
6951
6953
  /* @__PURE__ */ e(
6952
- A,
6954
+ T,
6953
6955
  {
6954
6956
  ex: 330,
6955
6957
  ey: 120,
@@ -6961,7 +6963,7 @@ function Ti({ config: t }) {
6961
6963
  }
6962
6964
  ),
6963
6965
  /* @__PURE__ */ e(
6964
- A,
6966
+ T,
6965
6967
  {
6966
6968
  ex: 330,
6967
6969
  ey: 260,
@@ -6977,7 +6979,7 @@ function Ti({ config: t }) {
6977
6979
  status: r,
6978
6980
  context: { traffic: 78 },
6979
6981
  subComponents: Pt(r),
6980
- graphSeries: At({ traffic: 78 })
6982
+ graphSeries: Tt({ traffic: 78 })
6981
6983
  },
6982
6984
  children: /* @__PURE__ */ e(
6983
6985
  rt,
@@ -6994,7 +6996,7 @@ function Ti({ config: t }) {
6994
6996
  }
6995
6997
  ),
6996
6998
  /* @__PURE__ */ e(
6997
- A,
6999
+ T,
6998
7000
  {
6999
7001
  ex: 165,
7000
7002
  ey: 390,
@@ -7009,11 +7011,11 @@ function Ti({ config: t }) {
7009
7011
  name: "APP-01",
7010
7012
  status: a,
7011
7013
  context: { cpuLoad: 67, memLoad: 72 },
7012
- subComponents: Ae(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
7013
- graphSeries: Te({ cpuLoad: 67, memLoad: 72 })
7014
+ subComponents: Ie(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
7015
+ graphSeries: Oe({ cpuLoad: 67, memLoad: 72 })
7014
7016
  },
7015
7017
  children: /* @__PURE__ */ e(
7016
- ge,
7018
+ xe,
7017
7019
  {
7018
7020
  rotateY: o,
7019
7021
  autoRotate: i,
@@ -7027,7 +7029,7 @@ function Ti({ config: t }) {
7027
7029
  }
7028
7030
  ),
7029
7031
  /* @__PURE__ */ e(
7030
- A,
7032
+ T,
7031
7033
  {
7032
7034
  ex: 330,
7033
7035
  ey: 390,
@@ -7042,11 +7044,11 @@ function Ti({ config: t }) {
7042
7044
  name: "APP-02",
7043
7045
  status: s,
7044
7046
  context: { cpuLoad: 89, memLoad: 91 },
7045
- subComponents: Ae(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
7046
- graphSeries: Te({ cpuLoad: 89, memLoad: 91 })
7047
+ subComponents: Ie(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
7048
+ graphSeries: Oe({ cpuLoad: 89, memLoad: 91 })
7047
7049
  },
7048
7050
  children: /* @__PURE__ */ e(
7049
- ge,
7051
+ xe,
7050
7052
  {
7051
7053
  rotateY: o,
7052
7054
  autoRotate: i,
@@ -7060,7 +7062,7 @@ function Ti({ config: t }) {
7060
7062
  }
7061
7063
  ),
7062
7064
  /* @__PURE__ */ e(
7063
- A,
7065
+ T,
7064
7066
  {
7065
7067
  ex: 495,
7066
7068
  ey: 390,
@@ -7075,11 +7077,11 @@ function Ti({ config: t }) {
7075
7077
  name: "APP-03",
7076
7078
  status: l,
7077
7079
  context: { cpuLoad: 45, memLoad: 63 },
7078
- subComponents: Ae(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
7079
- graphSeries: Te({ cpuLoad: 45, memLoad: 63 })
7080
+ subComponents: Ie(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
7081
+ graphSeries: Oe({ cpuLoad: 45, memLoad: 63 })
7080
7082
  },
7081
7083
  children: /* @__PURE__ */ e(
7082
- ge,
7084
+ xe,
7083
7085
  {
7084
7086
  rotateY: o,
7085
7087
  autoRotate: i,
@@ -7093,7 +7095,7 @@ function Ti({ config: t }) {
7093
7095
  }
7094
7096
  ),
7095
7097
  /* @__PURE__ */ e(
7096
- A,
7098
+ T,
7097
7099
  {
7098
7100
  ex: 200,
7099
7101
  ey: 520,
@@ -7108,11 +7110,11 @@ function Ti({ config: t }) {
7108
7110
  name: "DB-PRI",
7109
7111
  status: u,
7110
7112
  context: { capacity: 72 },
7111
- subComponents: Fe(u, "DB-PRI", { capacity: 72 }),
7112
- graphSeries: Ue({ capacity: 72 })
7113
+ subComponents: Ye(u, "DB-PRI", { capacity: 72 }),
7114
+ graphSeries: Ve({ capacity: 72 })
7113
7115
  },
7114
7116
  children: /* @__PURE__ */ e(
7115
- Ne,
7117
+ Me,
7116
7118
  {
7117
7119
  rotateY: -o,
7118
7120
  autoRotate: i,
@@ -7126,7 +7128,7 @@ function Ti({ config: t }) {
7126
7128
  }
7127
7129
  ),
7128
7130
  /* @__PURE__ */ e(
7129
- A,
7131
+ T,
7130
7132
  {
7131
7133
  ex: 460,
7132
7134
  ey: 520,
@@ -7141,11 +7143,11 @@ function Ti({ config: t }) {
7141
7143
  name: "DB-STB",
7142
7144
  status: c,
7143
7145
  context: { capacity: 72 },
7144
- subComponents: Fe(c, "DB-STB", { capacity: 72 }),
7145
- graphSeries: Ue({ capacity: 72 })
7146
+ subComponents: Ye(c, "DB-STB", { capacity: 72 }),
7147
+ graphSeries: Ve({ capacity: 72 })
7146
7148
  },
7147
7149
  children: /* @__PURE__ */ e(
7148
- Ne,
7150
+ Me,
7149
7151
  {
7150
7152
  rotateY: o,
7151
7153
  autoRotate: i,
@@ -7159,7 +7161,7 @@ function Ti({ config: t }) {
7159
7161
  }
7160
7162
  ),
7161
7163
  /* @__PURE__ */ e(
7162
- A,
7164
+ T,
7163
7165
  {
7164
7166
  ex: 330,
7165
7167
  ey: 520,
@@ -7175,7 +7177,7 @@ function Ti({ config: t }) {
7175
7177
  ] });
7176
7178
  }
7177
7179
  function Ii({ config: t }) {
7178
- const n = X.useContext(ye), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: u } = t, c = n?.isSelected && n?.isExpandedPos;
7180
+ const n = F.useContext(ve), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: u } = t, c = n?.isSelected && n?.isExpandedPos;
7179
7181
  return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
7180
7182
  /* @__PURE__ */ e(
7181
7183
  W,
@@ -7290,50 +7292,50 @@ function Gi({ config: t, ...n }) {
7290
7292
  {
7291
7293
  name: t.name,
7292
7294
  status: st(t),
7293
- connections: Ai,
7295
+ connections: Ti,
7294
7296
  ...n,
7295
- children: /* @__PURE__ */ e(Ti, { config: t })
7297
+ children: /* @__PURE__ */ e(Ai, { config: t })
7296
7298
  }
7297
7299
  );
7298
7300
  }
7299
7301
  export {
7300
7302
  _i as AIOPsDashboard,
7301
- ze as CPU3D,
7303
+ Ue as CPU3D,
7302
7304
  Yt as Carousel,
7303
7305
  tt as CarouselContext,
7304
7306
  it as CarouselItemContext,
7305
7307
  Ft as ComponentDialog,
7306
7308
  Yi as ComponentDrillView,
7307
7309
  $i as DataProvider,
7308
- Ne as Database3D,
7310
+ Me as Database3D,
7309
7311
  Bi as DatabaseNode,
7310
- Pe as DriveBay3D,
7311
- Ai as EXCHANGE_CONNECTIONS,
7312
+ Ae as DriveBay3D,
7313
+ Ti as EXCHANGE_CONNECTIONS,
7312
7314
  Gi as ExchangeService,
7313
7315
  Ni as HOLO_BLUE,
7314
7316
  Di as HOLO_CYAN,
7315
7317
  Je as HOLO_GLASS,
7316
- Le as HOLO_SURFACE,
7318
+ Ne as HOLO_SURFACE,
7317
7319
  fi as HistoricalGraphPanel,
7318
7320
  jt as HoloBase,
7319
7321
  ot as Human3D,
7320
7322
  Fi as HumanNode,
7321
- Be as Memory3D,
7323
+ He as Memory3D,
7322
7324
  kt as MessageServer3D,
7323
7325
  Hi as MessageServerNode,
7324
7326
  Et as NetworkBlock3D,
7325
7327
  W as NodeCallout,
7326
- Me as Platter3D,
7327
- F as Port3D,
7328
+ Be as Platter3D,
7329
+ U as Port3D,
7328
7330
  qi as SAPService,
7329
7331
  Ei as SAP_CONNECTIONS,
7330
7332
  E as STATUS_CFG,
7331
- ge as Server3D,
7333
+ xe as Server3D,
7332
7334
  zi as ServerNode,
7333
7335
  vt as Service,
7334
- ye as ServiceContext,
7336
+ ve as ServiceContext,
7335
7337
  zt as ServiceDialog,
7336
- A as ServiceNode,
7338
+ T as ServiceNode,
7337
7339
  Vt as SvgConnection,
7338
7340
  $t as SyncBridge,
7339
7341
  M as ThreadPool3D,
@@ -7346,14 +7348,14 @@ export {
7346
7348
  ji as computeSAPDialogMetrics,
7347
7349
  lt as computeSAPServiceStatus,
7348
7350
  Si as defaultDataTransform,
7349
- Ue as getDatabaseGraphSeries,
7350
- Fe as getDatabaseSubComponents,
7351
- At as getDispatcherGraphSeries,
7351
+ Ve as getDatabaseGraphSeries,
7352
+ Ye as getDatabaseSubComponents,
7353
+ Tt as getDispatcherGraphSeries,
7352
7354
  Pt as getDispatcherSubComponents,
7353
7355
  Ri as getMessageServerGraphSeries,
7354
7356
  ki as getMessageServerSubComponents,
7355
- Te as getServerGraphSeries,
7356
- Ae as getServerSubComponents,
7357
+ Oe as getServerGraphSeries,
7358
+ Ie as getServerSubComponents,
7357
7359
  et as makeFaceStyles,
7358
7360
  xi as useAIOpsData,
7359
7361
  vi as useAIOpsDataOptional,