react-aiops 0.1.9 → 0.1.11

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,11 +1,11 @@
1
- import { jsxs as d, jsx as e, Fragment as $e } from "react/jsx-runtime";
2
- import re, { createContext as Fe, useContext as de, useState as $, useEffect as ke, useMemo as It, useRef as V, useCallback as at } from "react";
3
- const Ot = {
1
+ import { jsxs as d, jsx as e, Fragment as Ee } from "react/jsx-runtime";
2
+ import j, { createContext as Ue, useContext as re, useState as R, useEffect as Ae, useMemo as yt, useRef as K, useCallback as dt } from "react";
3
+ const Dt = {
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: "⚠️" },
6
6
  critical: { color: "#ff2255", bg: "rgba(255, 34, 85, 0.1)", border: "#ff2255", icon: "🛑" }
7
7
  };
8
- function Lt({
8
+ function Nt({
9
9
  name: t,
10
10
  status: n,
11
11
  dbSync: o = !0,
@@ -146,7 +146,7 @@ function Lt({
146
146
  }
147
147
  ),
148
148
  c.map((p, f) => {
149
- const g = Ot[p.level];
149
+ const g = Dt[p.level];
150
150
  return /* @__PURE__ */ d(
151
151
  "div",
152
152
  {
@@ -177,13 +177,13 @@ function Lt({
177
177
  }
178
178
  );
179
179
  }
180
- const k = {
180
+ const P = {
181
181
  online: { color: "#00e5ff", glow: "rgba(0,229,255,0.55)" },
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
- }, Si = "#00e5ff", $i = "#0055cc", Re = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Ge = "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
- function Ke(t, n, o) {
185
+ }, Pi = "#00e5ff", Ci = "#0055cc", Te = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Ze = "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
+ function Je(t, n, o) {
187
187
  const i = {
188
188
  position: "absolute",
189
189
  overflow: "hidden",
@@ -233,56 +233,56 @@ function Ke(t, n, o) {
233
233
  }
234
234
  };
235
235
  }
236
- const Xe = "cubic-bezier(0.34, 1.56, 0.64, 1)", Qe = "cubic-bezier(0.16, 1, 0.3, 1)";
237
- function ht(t) {
238
- return k[t]?.color ?? k.online.color;
236
+ const Qe = "cubic-bezier(0.34, 1.56, 0.64, 1)", Ge = "cubic-bezier(0.16, 1, 0.3, 1)";
237
+ function mt(t) {
238
+ return P[t]?.color ?? P.online.color;
239
239
  }
240
- function Dt(t, n, o) {
240
+ function Wt(t, n, o) {
241
241
  return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
242
242
  }
243
- function De(t, n, o, i) {
243
+ function We(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
- function Nt({
246
+ function Mt({
247
247
  component: t,
248
248
  onClose: n,
249
249
  visible: o,
250
250
  sceneWidth: i = 660,
251
251
  sceneHeight: r = 600
252
252
  }) {
253
- const { type: a, name: s, status: l, ex: h, ey: c, context: p = {} } = t, f = ht(l), g = h >= i / 2, u = c >= r / 2, y = {
253
+ const { type: a, name: s, status: l, ex: h, ey: c, context: p = {} } = t, f = mt(l), g = h >= i / 2, u = c >= r / 2, y = {
254
254
  position: "fixed",
255
255
  ...g ? { right: 28 } : { left: 28 },
256
256
  ...u ? { bottom: 110 } : { top: 72 }
257
- }, m = g ? 40 : -40, x = u ? 30 : -30, v = t.dialogMetrics ?? p.dialogMetrics;
258
- let P;
259
- if (v && v.length > 0)
260
- P = v.map((b, S) => {
261
- const C = b.warnAt ?? 70, w = b.critAt ?? 85;
257
+ }, m = g ? 40 : -40, v = u ? 30 : -30, x = t.dialogMetrics ?? p.dialogMetrics;
258
+ let w;
259
+ if (x && x.length > 0)
260
+ w = x.map((b, k) => {
261
+ const T = 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: De(l, b.value, C, w),
268
+ status: We(l, b.value, T, $),
269
269
  icon: b.icon ?? "cpu",
270
- delay: S,
270
+ delay: k,
271
271
  colorOverride: b.color,
272
- warnAt: C,
273
- critAt: w
272
+ warnAt: T,
273
+ critAt: $
274
274
  };
275
275
  });
276
276
  else {
277
- const b = p.cpuLoad ?? p.traffic ?? 50, S = p.memLoad ?? p.queueDepth ?? 60, C = p.capacity ?? 72, w = De(l, b, 70, 85), T = De(l, S, 75, 88), I = De(l, C, 75, 90);
278
- P = [
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);
278
+ w = [
279
279
  {
280
280
  id: "cpu",
281
281
  label: a === "dispatcher" ? "TRAFFIC" : a === "messageServer" ? "QUEUE" : "CPU",
282
282
  sublabel: a === "dispatcher" ? "PORT LOAD" : a === "messageServer" ? "QUEUE DEPTH" : "PROCESSOR",
283
283
  value: b,
284
284
  unit: "%",
285
- status: w,
285
+ status: $,
286
286
  icon: "cpu",
287
287
  delay: 0
288
288
  },
@@ -290,9 +290,9 @@ function Nt({
290
290
  id: "mem",
291
291
  label: "MEMORY",
292
292
  sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
293
- value: S,
293
+ value: k,
294
294
  unit: "%",
295
- status: T,
295
+ status: S,
296
296
  icon: "mem",
297
297
  delay: 1
298
298
  },
@@ -300,9 +300,9 @@ function Nt({
300
300
  id: "storage",
301
301
  label: "STORAGE",
302
302
  sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
303
- value: C,
303
+ value: T,
304
304
  unit: "%",
305
- status: I,
305
+ status: N,
306
306
  icon: "disk",
307
307
  delay: 2
308
308
  }
@@ -322,8 +322,8 @@ function Nt({
322
322
  fontFamily: "'Courier New', monospace",
323
323
  overflow: "hidden",
324
324
  opacity: o ? 1 : 0,
325
- transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${x}px)`,
326
- transition: `opacity 0.45s ${Qe}, transform 0.55s ${Xe}`,
325
+ transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${v}px)`,
326
+ transition: `opacity 0.45s ${Ge}, transform 0.55s ${Qe}`,
327
327
  pointerEvents: o ? "auto" : "none",
328
328
  zIndex: 9999,
329
329
  animation: o ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
@@ -393,12 +393,12 @@ function Nt({
393
393
  borderRight: `2px solid ${f}66`,
394
394
  borderRadius: "0 0 14px 0"
395
395
  }
396
- ].map((b, S) => /* @__PURE__ */ e(
396
+ ].map((b, k) => /* @__PURE__ */ e(
397
397
  "div",
398
398
  {
399
399
  style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...b }
400
400
  },
401
- S
401
+ k
402
402
  )),
403
403
  /* @__PURE__ */ d(
404
404
  "div",
@@ -519,7 +519,7 @@ function Nt({
519
519
  position: "relative",
520
520
  zIndex: 2
521
521
  },
522
- children: P.map((b) => /* @__PURE__ */ e(Wt, { metric: b, visible: o, accentColor: f }, b.id))
522
+ children: w.map((b) => /* @__PURE__ */ e(zt, { metric: b, visible: o, accentColor: f }, b.id))
523
523
  }
524
524
  ),
525
525
  /* @__PURE__ */ d(
@@ -568,7 +568,7 @@ function Nt({
568
568
  }
569
569
  );
570
570
  }
571
- function Wt({
571
+ function zt({
572
572
  metric: t,
573
573
  visible: n,
574
574
  accentColor: o
@@ -584,7 +584,7 @@ function Wt({
584
584
  colorOverride: p,
585
585
  warnAt: f = 70,
586
586
  critAt: g = 85
587
- } = t, u = p ?? Dt(a, f, g), y = p ?? ht(l);
587
+ } = t, u = p ?? Wt(a, f, g), y = p ?? mt(l);
588
588
  return /* @__PURE__ */ d(
589
589
  "div",
590
590
  {
@@ -594,7 +594,7 @@ function Wt({
594
594
  gap: 16,
595
595
  opacity: n ? 1 : 0,
596
596
  transform: n ? "translateY(0)" : "translateY(12px)",
597
- transition: `opacity 0.4s ${Qe} ${0.3 + c * 0.12}s, transform 0.5s ${Xe} ${0.3 + c * 0.12}s`
597
+ transition: `opacity 0.4s ${Ge} ${0.3 + c * 0.12}s, transform 0.5s ${Qe} ${0.3 + c * 0.12}s`
598
598
  },
599
599
  children: [
600
600
  /* @__PURE__ */ d(
@@ -612,10 +612,10 @@ function Wt({
612
612
  flexShrink: 0,
613
613
  position: "relative",
614
614
  overflow: "hidden",
615
- animation: n ? `comp-dialog-icon-pop 0.5s ${Xe} ${0.35 + c * 0.12}s both` : "none"
615
+ animation: n ? `comp-dialog-icon-pop 0.5s ${Qe} ${0.35 + c * 0.12}s both` : "none"
616
616
  },
617
617
  children: [
618
- /* @__PURE__ */ e(Mt, { type: h, color: y }),
618
+ /* @__PURE__ */ e(Bt, { type: h, color: y }),
619
619
  (l === "warning" || l === "critical") && /* @__PURE__ */ e(
620
620
  "div",
621
621
  {
@@ -714,7 +714,7 @@ function Wt({
714
714
  background: `linear-gradient(90deg, ${u}66, ${u})`,
715
715
  boxShadow: `0 0 8px ${u}44`,
716
716
  transformOrigin: "left center",
717
- animation: n ? `comp-dialog-metric-fill 0.8s ${Qe} ${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
  ),
@@ -808,7 +808,7 @@ function Wt({
808
808
  }
809
809
  );
810
810
  }
811
- function Mt({ type: t, color: n }) {
811
+ function Bt({ type: t, color: n }) {
812
812
  return t === "cpu" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
813
813
  /* @__PURE__ */ e("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2", stroke: n, strokeWidth: "1.5" }),
814
814
  /* @__PURE__ */ e(
@@ -893,14 +893,14 @@ function Mt({ 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 Ze = Fe(null), Je = Fe({ index: 0 });
897
- function ki() {
898
- return de(Ze);
896
+ const et = Ue(null), tt = Ue({ index: 0 });
897
+ function Ei() {
898
+ return re(et);
899
899
  }
900
- function Ri() {
901
- return de(Je);
900
+ function Ai() {
901
+ return re(tt);
902
902
  }
903
- function zt({
903
+ function Ft({
904
904
  children: t,
905
905
  logoUrl: n,
906
906
  viewState: o,
@@ -917,28 +917,28 @@ function zt({
917
917
  width: u = 950,
918
918
  height: y = 790,
919
919
  onSelectSystem: m,
920
- onBackgroundClick: x,
921
- onComponentClick: v,
922
- onCloseDrill: P,
920
+ onBackgroundClick: v,
921
+ onComponentClick: x,
922
+ onCloseDrill: w,
923
923
  selectedSystemStatus: b = "online",
924
- selectedSystemDbSync: S = !0,
925
- selectedSystemMetrics: C,
926
- selectedSystemAlerts: w
924
+ selectedSystemDbSync: k = !0,
925
+ selectedSystemMetrics: T,
926
+ selectedSystemAlerts: $
927
927
  }) {
928
- const [T, I] = $(0);
929
- ke(() => {
930
- let R;
928
+ const [S, N] = R(0);
929
+ Ae(() => {
930
+ let I;
931
931
  if ((o === "compact" || o === "collapsing") && f) {
932
932
  const U = () => {
933
- I((ae) => ae + g), R = requestAnimationFrame(U);
933
+ N((se) => se + g), I = requestAnimationFrame(U);
934
934
  };
935
- R = requestAnimationFrame(U);
935
+ I = requestAnimationFrame(U);
936
936
  }
937
- return () => cancelAnimationFrame(R);
937
+ return () => cancelAnimationFrame(I);
938
938
  }, [o, f, g]);
939
- const z = re.Children.toArray(t), L = z.length, F = It(() => ({
940
- totalSystems: L,
941
- carouselRotation: T,
939
+ const B = j.Children.toArray(t), z = B.length, H = yt(() => ({
940
+ totalSystems: z,
941
+ carouselRotation: S,
942
942
  viewState: o,
943
943
  animPhase: i,
944
944
  selectedSystem: r,
@@ -948,11 +948,11 @@ function zt({
948
948
  componentScale: c,
949
949
  drillZoom: p,
950
950
  onSelectSystem: m,
951
- onComponentClick: v,
951
+ onComponentClick: x,
952
952
  containerWidth: u
953
953
  }), [
954
- L,
955
- T,
954
+ z,
955
+ S,
956
956
  o,
957
957
  i,
958
958
  r,
@@ -962,10 +962,10 @@ function zt({
962
962
  c,
963
963
  p,
964
964
  m,
965
- v,
965
+ x,
966
966
  u
967
- ]), G = z.map((R, U) => /* @__PURE__ */ e(Je.Provider, { value: { index: U }, children: R }, U)), K = o === "expanded" || o === "expanding" && i >= 4;
968
- return /* @__PURE__ */ d(Ze.Provider, { value: F, children: [
967
+ ]), ae = B.map((I, U) => /* @__PURE__ */ e(tt.Provider, { value: { index: U }, children: I }, U)), le = o === "expanded" || o === "expanding" && i >= 4;
968
+ return /* @__PURE__ */ d(et.Provider, { value: H, children: [
969
969
  /* @__PURE__ */ d("div", { style: { position: "relative", width: u, height: y, margin: "0 auto", flexShrink: 0 }, children: [
970
970
  n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
971
971
  "img",
@@ -987,24 +987,24 @@ function zt({
987
987
  }
988
988
  }
989
989
  ),
990
- G
990
+ ae
991
991
  ] }),
992
- r && /* @__PURE__ */ e("div", { onClick: (R) => R.stopPropagation(), children: /* @__PURE__ */ e(
993
- Lt,
992
+ r && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
993
+ Nt,
994
994
  {
995
995
  name: r,
996
996
  status: b,
997
- dbSync: S,
998
- visible: K && !a,
999
- metrics: C,
1000
- alerts: w
997
+ dbSync: k,
998
+ visible: le && !a,
999
+ metrics: T,
1000
+ alerts: $
1001
1001
  }
1002
1002
  ) }),
1003
- a && /* @__PURE__ */ e("div", { onClick: (R) => R.stopPropagation(), children: /* @__PURE__ */ e(
1004
- Nt,
1003
+ a && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
1004
+ Mt,
1005
1005
  {
1006
1006
  component: a,
1007
- onClose: P,
1007
+ onClose: w,
1008
1008
  visible: s >= 0.3,
1009
1009
  sceneWidth: u,
1010
1010
  sceneHeight: y
@@ -1012,7 +1012,7 @@ function zt({
1012
1012
  ) })
1013
1013
  ] });
1014
1014
  }
1015
- function Bt({
1015
+ function Ht({
1016
1016
  x1: t,
1017
1017
  y1: n,
1018
1018
  x2: o,
@@ -1059,7 +1059,7 @@ function Bt({
1059
1059
  )
1060
1060
  }
1061
1061
  ),
1062
- r && /* @__PURE__ */ d($e, { children: [
1062
+ r && /* @__PURE__ */ d(Ee, { children: [
1063
1063
  /* @__PURE__ */ e("circle", { r: "3", fill: a, opacity: 0.85, children: /* @__PURE__ */ e(
1064
1064
  "animateMotion",
1065
1065
  {
@@ -1079,14 +1079,14 @@ function Bt({
1079
1079
  ] })
1080
1080
  ] });
1081
1081
  }
1082
- const Ft = [
1082
+ const Ut = [
1083
1083
  { scale: 1, op: 1, delay: "0.0s", bw: "2px", glow: 1 },
1084
1084
  { scale: 0.82, op: 0.88, delay: "0.5s", bw: "1.5px", glow: 0.7 },
1085
1085
  { scale: 0.64, op: 0.72, delay: "1.0s", bw: "1px", glow: 0.5 },
1086
1086
  { scale: 0.47, op: 0.58, delay: "1.5s", bw: "1px", glow: 0.35 },
1087
1087
  { scale: 0.3, op: 0.45, delay: "2.0s", bw: "1px", glow: 0.25 }
1088
1088
  ];
1089
- function Ht({
1089
+ function Yt({
1090
1090
  children: t,
1091
1091
  size: n = 230,
1092
1092
  widthRatio: o = 1,
@@ -1252,7 +1252,7 @@ function Ht({
1252
1252
  background: `radial-gradient(ellipse, ${i}88 0%, ${i}33 40%, transparent 72%)`,
1253
1253
  filter: "blur(12px)"
1254
1254
  } }),
1255
- Ft.map((s, l) => /* @__PURE__ */ e("div", { style: {
1255
+ Ut.map((s, l) => /* @__PURE__ */ e("div", { style: {
1256
1256
  position: "absolute",
1257
1257
  width: a * s.scale,
1258
1258
  height: n * s.scale,
@@ -1295,8 +1295,8 @@ function Ht({
1295
1295
  }, children: r })
1296
1296
  ] });
1297
1297
  }
1298
- const ce = Fe(null), Ut = "cubic-bezier(0.34, 1.56, 0.64, 1)", lt = 330, st = 340, Yt = 660;
1299
- function ut({
1298
+ const ue = Ue(null), Vt = "cubic-bezier(0.34, 1.56, 0.64, 1)", ct = 330, pt = 340, _t = 660;
1299
+ function xt({
1300
1300
  name: t,
1301
1301
  status: n = "online",
1302
1302
  connections: o = [],
@@ -1313,28 +1313,28 @@ function ut({
1313
1313
  _autoRotateComponents: u,
1314
1314
  _componentScale: y,
1315
1315
  _drillZoom: m,
1316
- _onSelectSystem: x,
1317
- _onComponentClick: v,
1318
- _containerWidth: P
1316
+ _onSelectSystem: v,
1317
+ _onComponentClick: x,
1318
+ _containerWidth: w
1319
1319
  }) {
1320
- const b = de(Ze), S = de(Je), C = a ?? S.index, w = s ?? b?.totalSystems ?? 1, T = l ?? b?.carouselRotation ?? 0, I = h ?? b?.viewState ?? "compact", z = c ?? b?.animPhase ?? 0, L = p ?? b?.selectedSystem ?? null, F = f ?? b?.selectedComponent ?? null, G = g ?? b?.rotateY ?? 20, K = u ?? b?.autoRotateComponents ?? !0, R = y ?? b?.componentScale ?? 0.35, U = m ?? b?.drillZoom ?? 3.3, ae = x ?? b?.onSelectSystem, Pe = v ?? b?.onComponentClick, Ce = P ?? b?.containerWidth ?? 950, X = L === t, B = X && (I === "expanded" || I === "expanding" && z >= 1), Q = !B, Ee = (Ce - Yt) / 2, pe = lt + Ee, fe = C / w * Math.PI * 2 + T, He = 420, Ie = 160, N = pe + Math.cos(fe) * He, J = 450 + Math.sin(fe) * Ie, Oe = Math.round(J), Te = !X && (I === "expanding" || I === "expanded"), Ue = Te ? 0 : 1, ee = Q ? 0.3 + (Math.sin(fe) + 1) * 0.1 : 1, $t = Q ? ee : R, Le = I === "compact" || I === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", rt = X && F, Ye = rt ? U : 1, kt = F?.ex ?? 330, Rt = F?.ey ?? 300, { size: Pt = 90, color: Ct = "#00e5ff", widthRatio: Et = 3 } = i ?? {}, Tt = {
1320
+ const b = re(et), k = re(tt), T = a ?? k.index, $ = s ?? b?.totalSystems ?? 1, S = l ?? b?.carouselRotation ?? 0, N = h ?? b?.viewState ?? "compact", B = c ?? b?.animPhase ?? 0, z = p ?? b?.selectedSystem ?? null, H = f ?? b?.selectedComponent ?? null, ae = g ?? b?.rotateY ?? 20, le = u ?? b?.autoRotateComponents ?? !0, I = y ?? b?.componentScale ?? 0.35, U = m ?? b?.drillZoom ?? 3.3, se = v ?? b?.onSelectSystem, Ie = x ?? b?.onComponentClick, Oe = w ?? b?.containerWidth ?? 950, Y = z === t, L = Y && (N === "expanded" || N === "expanding" && B >= 1), Q = !L, Le = (Oe - _t) / 2, be = ct + Le, ge = T / $ * Math.PI * 2 + S, Ye = 420, Ve = 160, de = be + Math.cos(ge) * Ye, C = 450 + Math.sin(ge) * Ve, ce = Math.round(C), ee = !Y && (N === "expanding" || N === "expanded"), pe = ee ? 0 : 1, Z = Q ? 0.3 + (Math.sin(ge) + 1) * 0.1 : 1, V = Q ? Z : I, ye = N === "compact" || N === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", De = Y && H, _e = De ? U : 1, Ct = H?.ex ?? 330, Et = H?.ey ?? 300, { size: At = 90, color: Tt = "#00e5ff", widthRatio: It = 3 } = i ?? {}, Ot = {
1321
1321
  name: t,
1322
- isSelected: X,
1323
- isExpandedPos: B,
1322
+ isSelected: Y,
1323
+ isExpandedPos: L,
1324
1324
  isCompact: Q,
1325
- animPhase: z,
1326
- compactCx: N,
1327
- compactCy: J,
1328
- groupScale: ee,
1329
- effectiveScale: $t,
1330
- transitionValue: Le,
1331
- rotateY: G,
1332
- autoRotateComponents: K,
1333
- onComponentClick: Pe,
1334
- selectedComponentName: F?.name ?? null,
1335
- expandedOffsetX: Ee
1325
+ animPhase: B,
1326
+ compactCx: de,
1327
+ compactCy: C,
1328
+ groupScale: Z,
1329
+ effectiveScale: V,
1330
+ transitionValue: ye,
1331
+ rotateY: ae,
1332
+ autoRotateComponents: le,
1333
+ onComponentClick: Ie,
1334
+ selectedComponentName: H?.name ?? null,
1335
+ expandedOffsetX: Le
1336
1336
  };
1337
- return /* @__PURE__ */ e(ce.Provider, { value: Tt, children: /* @__PURE__ */ d(
1337
+ return /* @__PURE__ */ e(ue.Provider, { value: Ot, children: /* @__PURE__ */ d(
1338
1338
  "div",
1339
1339
  {
1340
1340
  style: {
@@ -1344,21 +1344,21 @@ function ut({
1344
1344
  width: "100%",
1345
1345
  height: "100%",
1346
1346
  pointerEvents: "none",
1347
- opacity: Ue,
1348
- transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Ut}`,
1349
- filter: Q && Math.sin(fe) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1350
- zIndex: X ? 500 : Te ? 0 : Oe,
1351
- transformOrigin: `${pe}px ${st}px`,
1352
- transform: rt ? `translate(${-(kt - lt) * Ye}px, ${-(Rt - st) * Ye}px) scale(${Ye})` : "none"
1347
+ opacity: pe,
1348
+ transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Vt}`,
1349
+ filter: Q && Math.sin(ge) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1350
+ zIndex: Y ? 500 : ee ? 0 : ce,
1351
+ transformOrigin: `${be}px ${pt}px`,
1352
+ transform: De ? `translate(${-(Ct - ct) * _e}px, ${-(Et - pt) * _e}px) scale(${_e})` : "none"
1353
1353
  },
1354
1354
  children: [
1355
- Q && !Te && /* @__PURE__ */ e(
1355
+ Q && !ee && /* @__PURE__ */ e(
1356
1356
  "div",
1357
1357
  {
1358
1358
  style: {
1359
1359
  position: "absolute",
1360
- left: N,
1361
- top: J,
1360
+ left: de,
1361
+ top: C,
1362
1362
  width: 160,
1363
1363
  height: 180,
1364
1364
  transform: "translate(-50%, -80%)",
@@ -1366,8 +1366,8 @@ function ut({
1366
1366
  cursor: "pointer",
1367
1367
  zIndex: 101
1368
1368
  },
1369
- onClick: (Z) => {
1370
- Z.stopPropagation(), ae?.(t);
1369
+ onClick: (J) => {
1370
+ J.stopPropagation(), se?.(t);
1371
1371
  }
1372
1372
  }
1373
1373
  ),
@@ -1376,9 +1376,9 @@ function ut({
1376
1376
  {
1377
1377
  style: {
1378
1378
  position: "absolute",
1379
- left: N,
1380
- top: J - 200,
1381
- transform: `translate(-50%, -50%) scale(${ee})`,
1379
+ left: de,
1380
+ top: C - 200,
1381
+ transform: `translate(-50%, -50%) scale(${Z})`,
1382
1382
  zIndex: 110,
1383
1383
  pointerEvents: "none",
1384
1384
  animation: "holo-led-blink 1.5s infinite",
@@ -1424,13 +1424,13 @@ function ut({
1424
1424
  {
1425
1425
  style: {
1426
1426
  position: "absolute",
1427
- left: B ? pe : N,
1428
- top: B ? 48 : J - 180,
1429
- transform: `translate(-50%, -50%) scale(${B ? 1.2 : ee * 1.5})`,
1427
+ left: L ? be : de,
1428
+ top: L ? 48 : C - 180,
1429
+ transform: `translate(-50%, -50%) scale(${L ? 1.2 : Z * 1.5})`,
1430
1430
  opacity: 1,
1431
1431
  pointerEvents: "none",
1432
1432
  zIndex: 100,
1433
- transition: Le,
1433
+ transition: ye,
1434
1434
  fontSize: 36,
1435
1435
  fontWeight: 700,
1436
1436
  letterSpacing: "0.18em",
@@ -1450,25 +1450,25 @@ function ut({
1450
1450
  style: {
1451
1451
  position: "absolute",
1452
1452
  top: 0,
1453
- left: B ? Ee : 0,
1453
+ left: L ? Le : 0,
1454
1454
  width: 660,
1455
1455
  height: 640,
1456
1456
  pointerEvents: "none",
1457
1457
  zIndex: 0,
1458
- transition: Le
1458
+ transition: ye
1459
1459
  },
1460
- children: o.map((Z, At) => /* @__PURE__ */ e(
1461
- Bt,
1460
+ children: o.map((J, Lt) => /* @__PURE__ */ e(
1461
+ Ht,
1462
1462
  {
1463
- x1: Z.from[0],
1464
- y1: Z.from[1],
1465
- x2: Z.to[0],
1466
- y2: Z.to[1],
1467
- show: X && z >= (Z.visibleAtPhase ?? 0),
1468
- color: Z.color,
1469
- dur: Z.duration
1463
+ x1: J.from[0],
1464
+ y1: J.from[1],
1465
+ x2: J.to[0],
1466
+ y2: J.to[1],
1467
+ show: Y && B >= (J.visibleAtPhase ?? 0),
1468
+ color: J.color,
1469
+ dur: J.duration
1470
1470
  },
1471
- At
1471
+ Lt
1472
1472
  ))
1473
1473
  }
1474
1474
  ),
@@ -1477,13 +1477,13 @@ function ut({
1477
1477
  {
1478
1478
  style: {
1479
1479
  position: "absolute",
1480
- left: B ? pe : N,
1481
- top: B ? 570 : J + 70,
1482
- transform: `translate(-50%, -50%) scaleX(${B ? 1 : 0.4}) scaleY(${B ? 1 : 0.6}) scale(${B ? 1 : ee})`,
1483
- transition: Le,
1480
+ left: L ? be : de,
1481
+ top: L ? 570 : C + 70,
1482
+ transform: `translate(-50%, -50%) scaleX(${L ? 1 : 0.4}) scaleY(${L ? 1 : 0.6}) scale(${L ? 1 : Z})`,
1483
+ transition: ye,
1484
1484
  zIndex: 1
1485
1485
  },
1486
- children: /* @__PURE__ */ e(Ht, { size: Pt, color: Ct, widthRatio: Et, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1486
+ children: /* @__PURE__ */ e(Yt, { size: At, color: Tt, widthRatio: It, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1487
1487
  }
1488
1488
  ),
1489
1489
  r
@@ -1503,20 +1503,20 @@ function W({
1503
1503
  align: h = "right",
1504
1504
  internalRef: c
1505
1505
  }) {
1506
- const p = de(ce), f = p?.expandedOffsetX ?? 0;
1506
+ const p = re(ue), f = p?.expandedOffsetX ?? 0;
1507
1507
  if (o === "online") return null;
1508
- const g = l && !!p?.isExpandedPos, u = k[o]?.color ?? k.warning.color, y = Math.abs(a) > Math.abs(s), m = t + f + (y ? Math.sign(a) * 45 : 0), x = n + (y ? 0 : Math.sign(s) * 40), v = t + f + a, P = n + s;
1508
+ const g = l && !!p?.isExpandedPos, u = P[o]?.color ?? P.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;
1509
1509
  let b = "";
1510
1510
  if (y) {
1511
- const T = m + (v - m) / 2;
1512
- b = `M ${m} ${x} L ${T} ${x} L ${T} ${P} L ${v} ${P}`;
1511
+ const S = m + (x - m) / 2;
1512
+ b = `M ${m} ${v} L ${S} ${v} L ${S} ${w} L ${x} ${w}`;
1513
1513
  } else {
1514
- const T = x + (P - x) / 2;
1515
- b = `M ${m} ${x} L ${m} ${T} L ${v} ${T} L ${v} ${P}`;
1514
+ const S = v + (w - v) / 2;
1515
+ b = `M ${m} ${v} L ${m} ${S} L ${x} ${S} L ${x} ${w}`;
1516
1516
  }
1517
- let S = "translate(0, -50%)";
1518
- h === "left" && (S = "translate(-100%, -50%)"), h === "top" && (S = "translate(-50%, -100%)"), h === "bottom" && (S = "translate(-50%, 0)");
1519
- const C = h === "left" ? -8 : h === "right" ? 8 : 0, w = h === "top" ? -8 : h === "bottom" ? 8 : 0;
1517
+ let k = "translate(0, -50%)";
1518
+ h === "left" && (k = "translate(-100%, -50%)"), h === "top" && (k = "translate(-50%, -100%)"), h === "bottom" && (k = "translate(-50%, 0)");
1519
+ const T = h === "left" ? -8 : h === "right" ? 8 : 0, $ = h === "top" ? -8 : h === "bottom" ? 8 : 0;
1520
1520
  return /* @__PURE__ */ d(
1521
1521
  "div",
1522
1522
  {
@@ -1562,11 +1562,11 @@ function W({
1562
1562
  {
1563
1563
  style: {
1564
1564
  position: "absolute",
1565
- left: v,
1566
- top: P,
1567
- transform: S,
1568
- marginLeft: C,
1569
- marginTop: w,
1565
+ left: x,
1566
+ top: w,
1567
+ transform: k,
1568
+ marginLeft: T,
1569
+ marginTop: $,
1570
1570
  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)",
1571
1571
  border: `1px solid ${u}55`,
1572
1572
  borderLeft: `2px solid ${u}`,
@@ -1654,21 +1654,21 @@ function A({
1654
1654
  bare: g = !1,
1655
1655
  alert: u
1656
1656
  }) {
1657
- const y = de(ce);
1657
+ const y = re(ue);
1658
1658
  if (!y)
1659
1659
  throw new Error("ServiceNode must be used inside a <Service> component.");
1660
1660
  const {
1661
1661
  isExpandedPos: m,
1662
- animPhase: x,
1663
- compactCx: v,
1664
- compactCy: P,
1662
+ animPhase: v,
1663
+ compactCx: x,
1664
+ compactCy: w,
1665
1665
  groupScale: b,
1666
- effectiveScale: S,
1667
- transitionValue: C,
1668
- onComponentClick: w,
1669
- selectedComponentName: T,
1670
- expandedOffsetX: I
1671
- } = y, L = p === 0 || y.isSelected && x >= p ? 1 : 0, F = v + o.x, G = P + o.y, K = m ? t + I : F, R = m ? n : G, U = f !== void 0 ? f : y.isCompact ? b : S, ae = !!c && !!T && c.name === T, Pe = c?.status ? k[c.status]?.color ?? a : a, Ce = c?.status === "offline" ? "#4a6a8a" : Pe, X = c && m && w ? () => w({
1666
+ effectiveScale: k,
1667
+ transitionValue: T,
1668
+ onComponentClick: $,
1669
+ selectedComponentName: S,
1670
+ expandedOffsetX: N
1671
+ } = y, z = p === 0 || y.isSelected && v >= p ? 1 : 0, H = x + o.x, ae = w + o.y, le = m ? t + N : H, I = m ? n : ae, U = f !== void 0 ? f : y.isCompact ? b : k, se = !!c && !!S && c.name === S, Ie = c?.status ? P[c.status]?.color ?? a : a, Oe = c?.status === "offline" ? "#4a6a8a" : Ie, Y = c && m && $ ? () => $({
1672
1672
  type: c.type,
1673
1673
  name: c.name,
1674
1674
  status: c.status,
@@ -1678,32 +1678,32 @@ function A({
1678
1678
  dialogMetrics: c.dialogMetrics,
1679
1679
  subComponents: c.subComponents,
1680
1680
  graphSeries: c.graphSeries
1681
- }) : void 0, B = c?.status ?? "online", Q = c?.name ?? s ?? "";
1682
- return /* @__PURE__ */ d($e, { children: [
1681
+ }) : void 0, L = c?.status ?? "online", Q = c?.name ?? s ?? "";
1682
+ return /* @__PURE__ */ d(Ee, { children: [
1683
1683
  /* @__PURE__ */ e(
1684
1684
  "div",
1685
1685
  {
1686
1686
  style: {
1687
1687
  position: "absolute",
1688
- left: K,
1689
- top: R,
1688
+ left: le,
1689
+ top: I,
1690
1690
  transform: `translate(-50%, -50%) scale(${U})`,
1691
- opacity: L,
1691
+ opacity: z,
1692
1692
  zIndex: i,
1693
- transition: C || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1694
- pointerEvents: m && L >= 0.5 ? "auto" : "none"
1693
+ transition: T || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1694
+ pointerEvents: m && z >= 0.5 ? "auto" : "none"
1695
1695
  },
1696
1696
  children: g ? r : /* @__PURE__ */ e(
1697
- Vt,
1697
+ jt,
1698
1698
  {
1699
- statusColor: Ce,
1699
+ statusColor: Oe,
1700
1700
  label: s,
1701
1701
  subLabel: l,
1702
1702
  delay: h,
1703
1703
  showLabels: m,
1704
1704
  isCompact: y.isCompact,
1705
- onClick: X,
1706
- isSelected: ae,
1705
+ onClick: Y,
1706
+ isSelected: se,
1707
1707
  children: r
1708
1708
  }
1709
1709
  )
@@ -1714,7 +1714,7 @@ function A({
1714
1714
  {
1715
1715
  ex: t,
1716
1716
  ey: n,
1717
- status: B,
1717
+ status: L,
1718
1718
  title: Q,
1719
1719
  msg: u.msg,
1720
1720
  offsetX: u.offsetX ?? 110,
@@ -1726,7 +1726,7 @@ function A({
1726
1726
  )
1727
1727
  ] });
1728
1728
  }
1729
- function Vt({
1729
+ function jt({
1730
1730
  children: t,
1731
1731
  statusColor: n,
1732
1732
  label: o,
@@ -1737,7 +1737,7 @@ function Vt({
1737
1737
  onClick: l,
1738
1738
  isSelected: h = !1
1739
1739
  }) {
1740
- const [c, p] = $(!1), f = h ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : c && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
1740
+ const [c, p] = R(!1), f = h ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : c && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
1741
1741
  return /* @__PURE__ */ d(
1742
1742
  "div",
1743
1743
  {
@@ -1766,7 +1766,7 @@ function Vt({
1766
1766
  }
1767
1767
  }
1768
1768
  ),
1769
- /* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && re.isValidElement(t) ? re.cloneElement(t, {
1769
+ /* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && j.isValidElement(t) ? j.cloneElement(t, {
1770
1770
  _compact: !0
1771
1771
  }) : t })
1772
1772
  ] }),
@@ -1787,7 +1787,7 @@ function Vt({
1787
1787
  }
1788
1788
  );
1789
1789
  }
1790
- function bt({ synced: t, latencyMs: n }) {
1790
+ function vt({ synced: t, latencyMs: n }) {
1791
1791
  const o = t ? "#00ff88" : "#ff8c00";
1792
1792
  return /* @__PURE__ */ d("div", { className: "sync-bridge", children: [
1793
1793
  /* @__PURE__ */ d("div", { className: "sync-arrows", children: [
@@ -1822,8 +1822,8 @@ function bt({ synced: t, latencyMs: n }) {
1822
1822
  ] })
1823
1823
  ] });
1824
1824
  }
1825
- const te = 140, Y = 240, oe = 160, he = Ke(te, Y, oe);
1826
- function _t({
1825
+ const te = 140, _ = 240, oe = 160, me = Je(te, _, oe);
1826
+ function Xt({
1827
1827
  cfg: t,
1828
1828
  name: n,
1829
1829
  cpuLoad: o,
@@ -1843,8 +1843,8 @@ function _t({
1843
1843
  {
1844
1844
  style: {
1845
1845
  width: te,
1846
- height: Y,
1847
- background: a ? Re : Ge,
1846
+ height: _,
1847
+ background: a ? Te : Ze,
1848
1848
  position: "relative",
1849
1849
  overflow: "hidden",
1850
1850
  fontFamily: "'Courier New', monospace",
@@ -2235,13 +2235,13 @@ function _t({
2235
2235
  }
2236
2236
  );
2237
2237
  }
2238
- function jt() {
2238
+ function qt() {
2239
2239
  return /* @__PURE__ */ d(
2240
2240
  "div",
2241
2241
  {
2242
2242
  style: {
2243
2243
  width: te,
2244
- height: Y,
2244
+ height: _,
2245
2245
  background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
2246
2246
  position: "relative",
2247
2247
  overflow: "hidden",
@@ -2349,7 +2349,7 @@ function jt() {
2349
2349
  }
2350
2350
  );
2351
2351
  }
2352
- function dt({
2352
+ function ft({
2353
2353
  side: t,
2354
2354
  color: n,
2355
2355
  brandLabel: o
@@ -2360,7 +2360,7 @@ function dt({
2360
2360
  {
2361
2361
  style: {
2362
2362
  width: oe,
2363
- height: Y,
2363
+ height: _,
2364
2364
  background: i ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
2365
2365
  position: "relative",
2366
2366
  overflow: "hidden"
@@ -2379,7 +2379,7 @@ function dt({
2379
2379
  }
2380
2380
  }
2381
2381
  ),
2382
- [8, Y - 20].map((r) => /* @__PURE__ */ e(
2382
+ [8, _ - 20].map((r) => /* @__PURE__ */ e(
2383
2383
  "div",
2384
2384
  {
2385
2385
  style: {
@@ -2401,8 +2401,8 @@ function dt({
2401
2401
  {
2402
2402
  style: {
2403
2403
  position: "absolute",
2404
- top: Y * 0.35,
2405
- bottom: Y * 0.15,
2404
+ top: _ * 0.35,
2405
+ bottom: _ * 0.15,
2406
2406
  left: i ? 22 : 18,
2407
2407
  right: i ? 18 : 22,
2408
2408
  display: "flex",
@@ -2430,7 +2430,7 @@ function dt({
2430
2430
  {
2431
2431
  style: {
2432
2432
  position: "absolute",
2433
- top: Y * 0.18,
2433
+ top: _ * 0.18,
2434
2434
  left: i ? 12 : oe - 78,
2435
2435
  fontSize: 7,
2436
2436
  color: "#1a3050",
@@ -2449,7 +2449,7 @@ function dt({
2449
2449
  }
2450
2450
  );
2451
2451
  }
2452
- function Xt({ cpuLoad: t }) {
2452
+ function Qt({ cpuLoad: t }) {
2453
2453
  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((oe - 18) / 7);
2454
2454
  return /* @__PURE__ */ d(
2455
2455
  "div",
@@ -2529,7 +2529,7 @@ function Xt({ cpuLoad: t }) {
2529
2529
  }
2530
2530
  );
2531
2531
  }
2532
- function se({
2532
+ function he({
2533
2533
  rotateX: t = -22,
2534
2534
  rotateY: n = 20,
2535
2535
  rotateZ: o = 0,
@@ -2542,26 +2542,26 @@ function se({
2542
2542
  brandLabel: c = "BUSAUD",
2543
2543
  _compact: p
2544
2544
  }) {
2545
- const [f, g] = $(n), u = V(0), y = V(0);
2546
- ke(() => {
2545
+ const [f, g] = R(n), u = K(0), y = K(0);
2546
+ Ae(() => {
2547
2547
  if (!r) {
2548
2548
  g(n);
2549
2549
  return;
2550
2550
  }
2551
- const x = (v) => {
2552
- y.current && g((P) => P + (v - y.current) * 0.027), y.current = v, u.current = requestAnimationFrame(x);
2551
+ const v = (x) => {
2552
+ y.current && g((w) => w + (x - y.current) * 0.027), y.current = x, u.current = requestAnimationFrame(v);
2553
2553
  };
2554
- return u.current = requestAnimationFrame(x), () => {
2554
+ return u.current = requestAnimationFrame(v), () => {
2555
2555
  cancelAnimationFrame(u.current), y.current = 0;
2556
2556
  };
2557
2557
  }, [r, n]);
2558
- const m = k[a] ?? k.online;
2558
+ const m = P[a] ?? P.online;
2559
2559
  return /* @__PURE__ */ d(
2560
2560
  "div",
2561
2561
  {
2562
2562
  style: {
2563
2563
  width: te * i,
2564
- height: Y * i,
2564
+ height: _ * i,
2565
2565
  position: "relative",
2566
2566
  display: "flex",
2567
2567
  alignItems: "center",
@@ -2614,7 +2614,7 @@ function se({
2614
2614
  style: {
2615
2615
  position: "absolute",
2616
2616
  width: te * 1.4 * i,
2617
- height: Y * 0.8 * i,
2617
+ height: _ * 0.8 * i,
2618
2618
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
2619
2619
  filter: `blur(${Math.round(45 * i)}px)`,
2620
2620
  pointerEvents: "none",
@@ -2638,15 +2638,15 @@ function se({
2638
2638
  {
2639
2639
  style: {
2640
2640
  width: te,
2641
- height: Y,
2641
+ height: _,
2642
2642
  position: "relative",
2643
2643
  transformStyle: "preserve-3d",
2644
2644
  transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
2645
2645
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
2646
2646
  },
2647
2647
  children: [
2648
- /* @__PURE__ */ e("div", { style: he.front, children: /* @__PURE__ */ e(
2649
- _t,
2648
+ /* @__PURE__ */ e("div", { style: me.front, children: /* @__PURE__ */ e(
2649
+ Xt,
2650
2650
  {
2651
2651
  cfg: m,
2652
2652
  name: s,
@@ -2657,11 +2657,11 @@ function se({
2657
2657
  brandLabel: c
2658
2658
  }
2659
2659
  ) }),
2660
- /* @__PURE__ */ e("div", { style: he.back, children: /* @__PURE__ */ e(jt, {}) }),
2661
- /* @__PURE__ */ e("div", { style: he.left, children: /* @__PURE__ */ e(dt, { side: "left", color: m.color, brandLabel: c }) }),
2662
- /* @__PURE__ */ e("div", { style: he.right, children: /* @__PURE__ */ e(dt, { side: "right", color: m.color, brandLabel: c }) }),
2663
- /* @__PURE__ */ e("div", { style: he.top, children: /* @__PURE__ */ e(Xt, { cpuLoad: l }) }),
2664
- /* @__PURE__ */ e("div", { style: he.bottom, children: /* @__PURE__ */ e(
2660
+ /* @__PURE__ */ e("div", { style: me.back, children: /* @__PURE__ */ e(qt, {}) }),
2661
+ /* @__PURE__ */ e("div", { style: me.left, children: /* @__PURE__ */ e(ft, { side: "left", color: m.color, brandLabel: c }) }),
2662
+ /* @__PURE__ */ e("div", { style: me.right, children: /* @__PURE__ */ e(ft, { side: "right", color: m.color, brandLabel: c }) }),
2663
+ /* @__PURE__ */ e("div", { style: me.top, children: /* @__PURE__ */ e(Qt, { cpuLoad: l }) }),
2664
+ /* @__PURE__ */ e("div", { style: me.bottom, children: /* @__PURE__ */ e(
2665
2665
  "div",
2666
2666
  {
2667
2667
  style: {
@@ -2680,7 +2680,7 @@ function se({
2680
2680
  }
2681
2681
  );
2682
2682
  }
2683
- function Pi({
2683
+ function Ti({
2684
2684
  ex: t,
2685
2685
  ey: n,
2686
2686
  compactOffset: o,
@@ -2697,7 +2697,7 @@ function Pi({
2697
2697
  dialogMetrics: u,
2698
2698
  subComponents: y,
2699
2699
  graphSeries: m,
2700
- alert: x
2700
+ alert: v
2701
2701
  }) {
2702
2702
  return /* @__PURE__ */ e(
2703
2703
  A,
@@ -2720,16 +2720,16 @@ function Pi({
2720
2720
  subComponents: y,
2721
2721
  graphSeries: m
2722
2722
  },
2723
- alert: x,
2724
- children: /* @__PURE__ */ e(se, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
2723
+ alert: v,
2724
+ children: /* @__PURE__ */ e(he, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
2725
2725
  }
2726
2726
  );
2727
2727
  }
2728
- const qe = 12, le = 55, q = le * 2, ye = 52, et = 10, Ve = 3 * ye + 2 * et, ue = 2 * Math.PI * le / qe, _e = Array.from({ length: qe }, (t, n) => n / qe * 360);
2729
- function je(t) {
2728
+ const Ke = 12, fe = 55, G = fe * 2, Se = 52, it = 10, je = 3 * Se + 2 * it, xe = 2 * Math.PI * fe / Ke, Xe = Array.from({ length: Ke }, (t, n) => n / Ke * 360);
2729
+ function qe(t) {
2730
2730
  return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
2731
2731
  }
2732
- function Qt({
2732
+ function Gt({
2733
2733
  diskY: t,
2734
2734
  diskIdx: n,
2735
2735
  cfg: o,
@@ -2737,25 +2737,25 @@ function Qt({
2737
2737
  capacity: r,
2738
2738
  compact: a
2739
2739
  }) {
2740
- return /* @__PURE__ */ d($e, { children: [
2741
- _e.map((s, l) => {
2742
- const h = je(s), c = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22), g = Math.round(28 + h * 44), u = Math.round(h * 0.55 * 255).toString(16).padStart(2, "0");
2740
+ return /* @__PURE__ */ d(Ee, { children: [
2741
+ Xe.map((s, l) => {
2742
+ const h = qe(s), c = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22), g = Math.round(28 + h * 44), u = Math.round(h * 0.55 * 255).toString(16).padStart(2, "0");
2743
2743
  return /* @__PURE__ */ e(
2744
2744
  "div",
2745
2745
  {
2746
2746
  style: {
2747
2747
  position: "absolute",
2748
- width: ue,
2749
- height: ye,
2750
- left: (q - ue) / 2,
2748
+ width: xe,
2749
+ height: Se,
2750
+ left: (G - xe) / 2,
2751
2751
  top: t,
2752
- transform: `rotateY(${s}deg) translateZ(${le}px)`,
2752
+ transform: `rotateY(${s}deg) translateZ(${fe}px)`,
2753
2753
  backfaceVisibility: "hidden",
2754
2754
  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})`,
2755
2755
  borderLeft: `1px solid ${o.color}${u}`,
2756
2756
  boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
2757
2757
  },
2758
- children: c && /* @__PURE__ */ d($e, { children: [
2758
+ children: c && /* @__PURE__ */ d(Ee, { children: [
2759
2759
  /* @__PURE__ */ e(
2760
2760
  "div",
2761
2761
  {
@@ -2808,10 +2808,10 @@ function Qt({
2808
2808
  {
2809
2809
  style: {
2810
2810
  position: "absolute",
2811
- width: q + 4,
2812
- height: q + 4,
2811
+ width: G + 4,
2812
+ height: G + 4,
2813
2813
  left: -2,
2814
- top: t - le,
2814
+ top: t - fe,
2815
2815
  borderRadius: "50%",
2816
2816
  transform: "rotateX(90deg)",
2817
2817
  backfaceVisibility: "hidden",
@@ -2869,10 +2869,10 @@ function Qt({
2869
2869
  {
2870
2870
  style: {
2871
2871
  position: "absolute",
2872
- width: q + 4,
2873
- height: q + 4,
2872
+ width: G + 4,
2873
+ height: G + 4,
2874
2874
  left: -2,
2875
- top: t + ye - le,
2875
+ top: t + Se - fe,
2876
2876
  borderRadius: "50%",
2877
2877
  transform: "rotateX(-90deg)",
2878
2878
  backfaceVisibility: "hidden",
@@ -2896,18 +2896,18 @@ function Qt({
2896
2896
  )
2897
2897
  }
2898
2898
  ),
2899
- i && _e.map((s, l) => {
2900
- const h = je(s);
2899
+ i && Xe.map((s, l) => {
2900
+ const h = qe(s);
2901
2901
  return /* @__PURE__ */ e(
2902
2902
  "div",
2903
2903
  {
2904
2904
  style: {
2905
2905
  position: "absolute",
2906
- width: ue + 1.5,
2906
+ width: xe + 1.5,
2907
2907
  height: 6,
2908
- left: (q - ue - 1.5) / 2,
2909
- top: t + ye - 3,
2910
- transform: `rotateY(${s}deg) translateZ(${le + 1.5}px)`,
2908
+ left: (G - xe - 1.5) / 2,
2909
+ top: t + Se - 3,
2910
+ transform: `rotateY(${s}deg) translateZ(${fe + 1.5}px)`,
2911
2911
  backfaceVisibility: "hidden",
2912
2912
  background: o.color,
2913
2913
  boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
@@ -2917,18 +2917,18 @@ function Qt({
2917
2917
  `rng${n}${l}`
2918
2918
  );
2919
2919
  }),
2920
- i && _e.map((s, l) => {
2921
- const h = je(s), c = Math.round(2 + h * 4), p = Math.round(5 + h * 10), f = Math.round(12 + h * 20);
2920
+ i && Xe.map((s, l) => {
2921
+ const h = qe(s), c = Math.round(2 + h * 4), p = Math.round(5 + h * 10), f = Math.round(12 + h * 20);
2922
2922
  return /* @__PURE__ */ e(
2923
2923
  "div",
2924
2924
  {
2925
2925
  style: {
2926
2926
  position: "absolute",
2927
- width: ue,
2928
- height: et,
2929
- left: (q - ue) / 2,
2930
- top: t + ye,
2931
- transform: `rotateY(${s}deg) translateZ(${le}px)`,
2927
+ width: xe,
2928
+ height: it,
2929
+ left: (G - xe) / 2,
2930
+ top: t + Se,
2931
+ transform: `rotateY(${s}deg) translateZ(${fe}px)`,
2932
2932
  backfaceVisibility: "hidden",
2933
2933
  background: `rgb(${c},${p},${f})`
2934
2934
  }
@@ -2938,7 +2938,7 @@ function Qt({
2938
2938
  })
2939
2939
  ] });
2940
2940
  }
2941
- function Ae({
2941
+ function Ne({
2942
2942
  rotateX: t = -22,
2943
2943
  rotateY: n = -15,
2944
2944
  rotateZ: o = 0,
@@ -2950,8 +2950,8 @@ function Ae({
2950
2950
  // connections = 284,
2951
2951
  _compact: l
2952
2952
  }) {
2953
- const [h, c] = $(n), p = V(0), f = V(0);
2954
- ke(() => {
2953
+ const [h, c] = R(n), p = K(0), f = K(0);
2954
+ Ae(() => {
2955
2955
  if (!r) {
2956
2956
  c(n);
2957
2957
  return;
@@ -2963,13 +2963,13 @@ function Ae({
2963
2963
  cancelAnimationFrame(p.current), f.current = 0;
2964
2964
  };
2965
2965
  }, [r, n]);
2966
- const g = k[a] ?? k.online;
2966
+ const g = P[a] ?? P.online;
2967
2967
  return /* @__PURE__ */ d(
2968
2968
  "div",
2969
2969
  {
2970
2970
  style: {
2971
- width: q * i,
2972
- height: Ve * i,
2971
+ width: G * i,
2972
+ height: je * i,
2973
2973
  position: "relative",
2974
2974
  display: "flex",
2975
2975
  alignItems: "center",
@@ -3029,8 +3029,8 @@ function Ae({
3029
3029
  {
3030
3030
  style: {
3031
3031
  position: "absolute",
3032
- width: q * 2.8 * i,
3033
- height: Ve * 0.85 * i,
3032
+ width: G * 2.8 * i,
3033
+ height: je * 0.85 * i,
3034
3034
  background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
3035
3035
  filter: `blur(${Math.round(50 * i)}px)`,
3036
3036
  pointerEvents: "none",
@@ -3053,17 +3053,17 @@ function Ae({
3053
3053
  "div",
3054
3054
  {
3055
3055
  style: {
3056
- width: q,
3057
- height: Ve,
3056
+ width: G,
3057
+ height: je,
3058
3058
  position: "relative",
3059
3059
  transformStyle: "preserve-3d",
3060
3060
  transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${o}deg)`,
3061
3061
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
3062
3062
  },
3063
3063
  children: [0, 1, 2].map((u) => /* @__PURE__ */ e(
3064
- Qt,
3064
+ Gt,
3065
3065
  {
3066
- diskY: u * (ye + et),
3066
+ diskY: u * (Se + it),
3067
3067
  diskIdx: u,
3068
3068
  cfg: g,
3069
3069
  hasRingBelow: u < 2,
@@ -3080,7 +3080,7 @@ function Ae({
3080
3080
  }
3081
3081
  );
3082
3082
  }
3083
- function Ci({
3083
+ function Ii({
3084
3084
  ex: t,
3085
3085
  ey: n,
3086
3086
  compactOffset: o,
@@ -3119,12 +3119,12 @@ function Ci({
3119
3119
  graphSeries: u
3120
3120
  },
3121
3121
  alert: y,
3122
- children: /* @__PURE__ */ e(Ae, { status: a, capacity: p })
3122
+ children: /* @__PURE__ */ e(Ne, { status: a, capacity: p })
3123
3123
  }
3124
3124
  );
3125
3125
  }
3126
- function tt({ status: t = "online", scale: n = 1 }) {
3127
- const i = (k[t] ?? k.online).color;
3126
+ function nt({ status: t = "online", scale: n = 1 }) {
3127
+ const i = (P[t] ?? P.online).color;
3128
3128
  return /* @__PURE__ */ e(
3129
3129
  "div",
3130
3130
  {
@@ -3235,7 +3235,7 @@ function tt({ status: t = "online", scale: n = 1 }) {
3235
3235
  }
3236
3236
  );
3237
3237
  }
3238
- function Ei({
3238
+ function Oi({
3239
3239
  ex: t,
3240
3240
  ey: n,
3241
3241
  compactOffset: o,
@@ -3254,12 +3254,12 @@ function Ei({
3254
3254
  zIndex: i,
3255
3255
  color: s,
3256
3256
  visibleAtPhase: l,
3257
- children: /* @__PURE__ */ e(tt, { status: r, scale: a })
3257
+ children: /* @__PURE__ */ e(nt, { status: r, scale: a })
3258
3258
  }
3259
3259
  );
3260
3260
  }
3261
- const ie = 190, _ = 72, me = 120, be = Ke(ie, _, me);
3262
- function qt({
3261
+ const ie = 190, X = 72, $e = 120, ve = Je(ie, X, $e);
3262
+ function Kt({
3263
3263
  cfg: t,
3264
3264
  name: n,
3265
3265
  traffic: o,
@@ -3272,8 +3272,8 @@ function qt({
3272
3272
  {
3273
3273
  style: {
3274
3274
  width: ie,
3275
- height: _,
3276
- background: r ? Re : Ge,
3275
+ height: X,
3276
+ background: r ? Te : Ze,
3277
3277
  position: "relative",
3278
3278
  overflow: "hidden",
3279
3279
  fontFamily: "'Courier New', monospace",
@@ -3521,13 +3521,13 @@ function qt({
3521
3521
  }
3522
3522
  );
3523
3523
  }
3524
- function Gt() {
3524
+ function Zt() {
3525
3525
  return /* @__PURE__ */ d(
3526
3526
  "div",
3527
3527
  {
3528
3528
  style: {
3529
3529
  width: ie,
3530
- height: _,
3530
+ height: X,
3531
3531
  background: "linear-gradient(180deg, #040c1a, #030810)",
3532
3532
  position: "relative",
3533
3533
  overflow: "hidden",
@@ -3542,7 +3542,7 @@ function Gt() {
3542
3542
  {
3543
3543
  style: {
3544
3544
  width: 40,
3545
- height: _ - 16,
3545
+ height: X - 16,
3546
3546
  background: "#020710",
3547
3547
  border: "1px solid #1a2d40",
3548
3548
  borderRadius: 2,
@@ -3598,7 +3598,7 @@ function Gt() {
3598
3598
  style: {
3599
3599
  marginLeft: "auto",
3600
3600
  width: 12,
3601
- height: _ - 16,
3601
+ height: X - 16,
3602
3602
  background: "#020710",
3603
3603
  border: "1px solid #1a3050",
3604
3604
  borderRadius: 1
@@ -3609,13 +3609,13 @@ function Gt() {
3609
3609
  }
3610
3610
  );
3611
3611
  }
3612
- function ct({ side: t, color: n }) {
3612
+ function ht({ side: t, color: n }) {
3613
3613
  return /* @__PURE__ */ d(
3614
3614
  "div",
3615
3615
  {
3616
3616
  style: {
3617
- width: me,
3618
- height: _,
3617
+ width: $e,
3618
+ height: X,
3619
3619
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
3620
3620
  position: "relative",
3621
3621
  overflow: "hidden"
@@ -3639,8 +3639,8 @@ function ct({ side: t, color: n }) {
3639
3639
  {
3640
3640
  style: {
3641
3641
  position: "absolute",
3642
- top: _ * 0.25,
3643
- bottom: _ * 0.25,
3642
+ top: X * 0.25,
3643
+ bottom: X * 0.25,
3644
3644
  left: 14,
3645
3645
  right: 14,
3646
3646
  display: "flex",
@@ -3666,14 +3666,14 @@ function ct({ side: t, color: n }) {
3666
3666
  }
3667
3667
  );
3668
3668
  }
3669
- function Kt({ traffic: t }) {
3670
- const n = Math.floor((me - 14) / 7);
3669
+ function Jt({ traffic: t }) {
3670
+ const n = Math.floor(($e - 14) / 7);
3671
3671
  return /* @__PURE__ */ d(
3672
3672
  "div",
3673
3673
  {
3674
3674
  style: {
3675
3675
  width: ie,
3676
- height: me,
3676
+ height: $e,
3677
3677
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
3678
3678
  position: "relative",
3679
3679
  overflow: "hidden"
@@ -3687,7 +3687,7 @@ function Kt({ traffic: t }) {
3687
3687
  top: 0,
3688
3688
  left: 0,
3689
3689
  right: 0,
3690
- height: me * 0.35,
3690
+ height: $e * 0.35,
3691
3691
  background: `radial-gradient(ellipse at 50% 0%,
3692
3692
  ${t > 70 ? "rgba(255,34,85,0.14)" : "rgba(0,229,255,0.08)"} 0%,
3693
3693
  transparent 70%)`
@@ -3725,7 +3725,7 @@ function Kt({ traffic: t }) {
3725
3725
  }
3726
3726
  );
3727
3727
  }
3728
- function it({
3728
+ function ot({
3729
3729
  rotateX: t = -20,
3730
3730
  rotateY: n = 20,
3731
3731
  rotateZ: o = 0,
@@ -3737,26 +3737,26 @@ function it({
3737
3737
  activeRoutes: h = 12,
3738
3738
  _compact: c
3739
3739
  }) {
3740
- const [p, f] = $(n), g = V(0), u = V(0);
3741
- ke(() => {
3740
+ const [p, f] = R(n), g = K(0), u = K(0);
3741
+ Ae(() => {
3742
3742
  if (!r) {
3743
3743
  f(n);
3744
3744
  return;
3745
3745
  }
3746
- const m = (x) => {
3747
- u.current && f((v) => v + (x - u.current) * 0.027), u.current = x, g.current = requestAnimationFrame(m);
3746
+ const m = (v) => {
3747
+ u.current && f((x) => x + (v - u.current) * 0.027), u.current = v, g.current = requestAnimationFrame(m);
3748
3748
  };
3749
3749
  return g.current = requestAnimationFrame(m), () => {
3750
3750
  cancelAnimationFrame(g.current), u.current = 0;
3751
3751
  };
3752
3752
  }, [r, n]);
3753
- const y = k[a] ?? k.online;
3753
+ const y = P[a] ?? P.online;
3754
3754
  return /* @__PURE__ */ d(
3755
3755
  "div",
3756
3756
  {
3757
3757
  style: {
3758
3758
  width: ie * i,
3759
- height: _ * i,
3759
+ height: X * i,
3760
3760
  position: "relative",
3761
3761
  display: "flex",
3762
3762
  alignItems: "center",
@@ -3817,7 +3817,7 @@ function it({
3817
3817
  style: {
3818
3818
  position: "absolute",
3819
3819
  width: ie * 1.3 * i,
3820
- height: _ * 2 * i,
3820
+ height: X * 2 * i,
3821
3821
  background: `radial-gradient(ellipse, ${y.glow} 0%, transparent 65%)`,
3822
3822
  filter: `blur(${Math.round(40 * i)}px)`,
3823
3823
  pointerEvents: "none",
@@ -3841,15 +3841,15 @@ function it({
3841
3841
  {
3842
3842
  style: {
3843
3843
  width: ie,
3844
- height: _,
3844
+ height: X,
3845
3845
  position: "relative",
3846
3846
  transformStyle: "preserve-3d",
3847
3847
  transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
3848
3848
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
3849
3849
  },
3850
3850
  children: [
3851
- /* @__PURE__ */ e("div", { style: be.front, children: /* @__PURE__ */ e(
3852
- qt,
3851
+ /* @__PURE__ */ e("div", { style: ve.front, children: /* @__PURE__ */ e(
3852
+ Kt,
3853
3853
  {
3854
3854
  cfg: y,
3855
3855
  name: s,
@@ -3858,11 +3858,11 @@ function it({
3858
3858
  compact: c
3859
3859
  }
3860
3860
  ) }),
3861
- /* @__PURE__ */ e("div", { style: be.back, children: /* @__PURE__ */ e(Gt, {}) }),
3862
- /* @__PURE__ */ e("div", { style: be.left, children: /* @__PURE__ */ e(ct, { side: "left", color: y.color }) }),
3863
- /* @__PURE__ */ e("div", { style: be.right, children: /* @__PURE__ */ e(ct, { side: "right", color: y.color }) }),
3864
- /* @__PURE__ */ e("div", { style: be.top, children: /* @__PURE__ */ e(Kt, { traffic: l }) }),
3865
- /* @__PURE__ */ e("div", { style: be.bottom, children: /* @__PURE__ */ e("div", { style: { width: ie, height: me, background: "#020508" } }) })
3861
+ /* @__PURE__ */ e("div", { style: ve.back, children: /* @__PURE__ */ e(Zt, {}) }),
3862
+ /* @__PURE__ */ e("div", { style: ve.left, children: /* @__PURE__ */ e(ht, { side: "left", color: y.color }) }),
3863
+ /* @__PURE__ */ e("div", { style: ve.right, children: /* @__PURE__ */ e(ht, { side: "right", color: y.color }) }),
3864
+ /* @__PURE__ */ e("div", { style: ve.top, children: /* @__PURE__ */ e(Jt, { traffic: l }) }),
3865
+ /* @__PURE__ */ e("div", { style: ve.bottom, children: /* @__PURE__ */ e("div", { style: { width: ie, height: $e, background: "#020508" } }) })
3866
3866
  ]
3867
3867
  }
3868
3868
  )
@@ -3872,7 +3872,7 @@ function it({
3872
3872
  }
3873
3873
  );
3874
3874
  }
3875
- function Ti({
3875
+ function Li({
3876
3876
  ex: t,
3877
3877
  ey: n,
3878
3878
  compactOffset: o,
@@ -3912,17 +3912,17 @@ function Ti({
3912
3912
  graphSeries: y
3913
3913
  },
3914
3914
  alert: m,
3915
- children: /* @__PURE__ */ e(it, { status: a, traffic: p, activeRoutes: f })
3915
+ children: /* @__PURE__ */ e(ot, { status: a, traffic: p, activeRoutes: f })
3916
3916
  }
3917
3917
  );
3918
3918
  }
3919
- const ne = 190, j = 72, xe = 120, ge = Ke(ne, j, xe), pt = {
3919
+ const ne = 190, q = 72, ke = 120, we = Je(ne, q, ke), ut = {
3920
3920
  online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
3921
3921
  warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
3922
3922
  critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
3923
3923
  offline: { color: "#1e3a5a", glow: "rgba(30,58,90,0.25)" }
3924
3924
  };
3925
- function Zt({
3925
+ function ei({
3926
3926
  cfg: t,
3927
3927
  name: n,
3928
3928
  queueDepth: o,
@@ -3936,8 +3936,8 @@ function Zt({
3936
3936
  {
3937
3937
  style: {
3938
3938
  width: ne,
3939
- height: j,
3940
- background: a ? Re : Ge,
3939
+ height: q,
3940
+ background: a ? Te : Ze,
3941
3941
  position: "relative",
3942
3942
  overflow: "hidden",
3943
3943
  fontFamily: "'Courier New', monospace",
@@ -4181,13 +4181,13 @@ function Zt({
4181
4181
  }
4182
4182
  );
4183
4183
  }
4184
- function Jt() {
4184
+ function ti() {
4185
4185
  return /* @__PURE__ */ d(
4186
4186
  "div",
4187
4187
  {
4188
4188
  style: {
4189
4189
  width: ne,
4190
- height: j,
4190
+ height: q,
4191
4191
  background: "linear-gradient(180deg, #040c1a, #030810)",
4192
4192
  position: "relative",
4193
4193
  overflow: "hidden",
@@ -4202,7 +4202,7 @@ function Jt() {
4202
4202
  {
4203
4203
  style: {
4204
4204
  width: 40,
4205
- height: j - 16,
4205
+ height: q - 16,
4206
4206
  background: "#020710",
4207
4207
  border: "1px solid #1a2d40",
4208
4208
  borderRadius: 2,
@@ -4258,7 +4258,7 @@ function Jt() {
4258
4258
  style: {
4259
4259
  marginLeft: "auto",
4260
4260
  width: 12,
4261
- height: j - 16,
4261
+ height: q - 16,
4262
4262
  background: "#020710",
4263
4263
  border: "1px solid #1a3050",
4264
4264
  borderRadius: 1
@@ -4269,13 +4269,13 @@ function Jt() {
4269
4269
  }
4270
4270
  );
4271
4271
  }
4272
- function ft({ side: t, color: n }) {
4272
+ function bt({ side: t, color: n }) {
4273
4273
  return /* @__PURE__ */ d(
4274
4274
  "div",
4275
4275
  {
4276
4276
  style: {
4277
- width: xe,
4278
- height: j,
4277
+ width: ke,
4278
+ height: q,
4279
4279
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
4280
4280
  position: "relative",
4281
4281
  overflow: "hidden"
@@ -4299,8 +4299,8 @@ function ft({ side: t, color: n }) {
4299
4299
  {
4300
4300
  style: {
4301
4301
  position: "absolute",
4302
- top: j * 0.25,
4303
- bottom: j * 0.25,
4302
+ top: q * 0.25,
4303
+ bottom: q * 0.25,
4304
4304
  left: 14,
4305
4305
  right: 14,
4306
4306
  display: "flex",
@@ -4326,14 +4326,14 @@ function ft({ side: t, color: n }) {
4326
4326
  }
4327
4327
  );
4328
4328
  }
4329
- function ei({ queueDepth: t, color: n }) {
4330
- const o = Math.floor((xe - 14) / 7);
4329
+ function ii({ queueDepth: t, color: n }) {
4330
+ const o = Math.floor((ke - 14) / 7);
4331
4331
  return /* @__PURE__ */ d(
4332
4332
  "div",
4333
4333
  {
4334
4334
  style: {
4335
4335
  width: ne,
4336
- height: xe,
4336
+ height: ke,
4337
4337
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
4338
4338
  position: "relative",
4339
4339
  overflow: "hidden"
@@ -4347,7 +4347,7 @@ function ei({ queueDepth: t, color: n }) {
4347
4347
  top: 0,
4348
4348
  left: 0,
4349
4349
  right: 0,
4350
- height: xe * 0.35,
4350
+ height: ke * 0.35,
4351
4351
  background: `radial-gradient(ellipse at 50% 0%,
4352
4352
  ${t > 70 ? "rgba(255,34,85,0.14)" : `${n}15`} 0%,
4353
4353
  transparent 70%)`
@@ -4385,7 +4385,7 @@ function ei({ queueDepth: t, color: n }) {
4385
4385
  }
4386
4386
  );
4387
4387
  }
4388
- function gt({
4388
+ function wt({
4389
4389
  rotateX: t = -20,
4390
4390
  rotateY: n = 20,
4391
4391
  rotateZ: o = 0,
@@ -4398,26 +4398,26 @@ function gt({
4398
4398
  instances: c = 3,
4399
4399
  _compact: p
4400
4400
  }) {
4401
- const [f, g] = $(n), u = V(0), y = V(0);
4402
- ke(() => {
4401
+ const [f, g] = R(n), u = K(0), y = K(0);
4402
+ Ae(() => {
4403
4403
  if (!r) {
4404
4404
  g(n);
4405
4405
  return;
4406
4406
  }
4407
- const x = (v) => {
4408
- y.current && g((P) => P + (v - y.current) * 0.027), y.current = v, u.current = requestAnimationFrame(x);
4407
+ const v = (x) => {
4408
+ y.current && g((w) => w + (x - y.current) * 0.027), y.current = x, u.current = requestAnimationFrame(v);
4409
4409
  };
4410
- return u.current = requestAnimationFrame(x), () => {
4410
+ return u.current = requestAnimationFrame(v), () => {
4411
4411
  cancelAnimationFrame(u.current), y.current = 0;
4412
4412
  };
4413
4413
  }, [r, n]);
4414
- const m = pt[a] ?? pt.online;
4414
+ const m = ut[a] ?? ut.online;
4415
4415
  return /* @__PURE__ */ d(
4416
4416
  "div",
4417
4417
  {
4418
4418
  style: {
4419
4419
  width: ne * i,
4420
- height: j * i,
4420
+ height: q * i,
4421
4421
  position: "relative",
4422
4422
  display: "flex",
4423
4423
  alignItems: "center",
@@ -4478,7 +4478,7 @@ function gt({
4478
4478
  style: {
4479
4479
  position: "absolute",
4480
4480
  width: ne * 1.3 * i,
4481
- height: j * 2 * i,
4481
+ height: q * 2 * i,
4482
4482
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
4483
4483
  filter: `blur(${Math.round(40 * i)}px)`,
4484
4484
  pointerEvents: "none",
@@ -4502,15 +4502,15 @@ function gt({
4502
4502
  {
4503
4503
  style: {
4504
4504
  width: ne,
4505
- height: j,
4505
+ height: q,
4506
4506
  position: "relative",
4507
4507
  transformStyle: "preserve-3d",
4508
4508
  transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
4509
4509
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
4510
4510
  },
4511
4511
  children: [
4512
- /* @__PURE__ */ e("div", { style: ge.front, children: /* @__PURE__ */ e(
4513
- Zt,
4512
+ /* @__PURE__ */ e("div", { style: we.front, children: /* @__PURE__ */ e(
4513
+ ei,
4514
4514
  {
4515
4515
  cfg: m,
4516
4516
  name: s,
@@ -4520,11 +4520,11 @@ function gt({
4520
4520
  compact: p
4521
4521
  }
4522
4522
  ) }),
4523
- /* @__PURE__ */ e("div", { style: ge.back, children: /* @__PURE__ */ e(Jt, {}) }),
4524
- /* @__PURE__ */ e("div", { style: ge.left, children: /* @__PURE__ */ e(ft, { side: "left", color: m.color }) }),
4525
- /* @__PURE__ */ e("div", { style: ge.right, children: /* @__PURE__ */ e(ft, { side: "right", color: m.color }) }),
4526
- /* @__PURE__ */ e("div", { style: ge.top, children: /* @__PURE__ */ e(ei, { queueDepth: l, color: m.color }) }),
4527
- /* @__PURE__ */ e("div", { style: ge.bottom, children: /* @__PURE__ */ e("div", { style: { width: ne, height: xe, background: "#020508" } }) })
4523
+ /* @__PURE__ */ e("div", { style: we.back, children: /* @__PURE__ */ e(ti, {}) }),
4524
+ /* @__PURE__ */ e("div", { style: we.left, children: /* @__PURE__ */ e(bt, { side: "left", color: m.color }) }),
4525
+ /* @__PURE__ */ e("div", { style: we.right, children: /* @__PURE__ */ e(bt, { side: "right", color: m.color }) }),
4526
+ /* @__PURE__ */ e("div", { style: we.top, children: /* @__PURE__ */ e(ii, { queueDepth: l, color: m.color }) }),
4527
+ /* @__PURE__ */ e("div", { style: we.bottom, children: /* @__PURE__ */ e("div", { style: { width: ne, height: ke, background: "#020508" } }) })
4528
4528
  ]
4529
4529
  }
4530
4530
  )
@@ -4534,7 +4534,7 @@ function gt({
4534
4534
  }
4535
4535
  );
4536
4536
  }
4537
- function Ai({
4537
+ function Di({
4538
4538
  ex: t,
4539
4539
  ey: n,
4540
4540
  compactOffset: o,
@@ -4551,7 +4551,7 @@ function Ai({
4551
4551
  dialogMetrics: u,
4552
4552
  subComponents: y,
4553
4553
  graphSeries: m,
4554
- alert: x
4554
+ alert: v
4555
4555
  }) {
4556
4556
  return /* @__PURE__ */ e(
4557
4557
  A,
@@ -4574,9 +4574,9 @@ function Ai({
4574
4574
  subComponents: y,
4575
4575
  graphSeries: m
4576
4576
  },
4577
- alert: x,
4577
+ alert: v,
4578
4578
  children: /* @__PURE__ */ e(
4579
- gt,
4579
+ wt,
4580
4580
  {
4581
4581
  status: a,
4582
4582
  queueDepth: p,
@@ -4593,7 +4593,7 @@ function O(t, n, o = 24) {
4593
4593
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
4594
4594
  });
4595
4595
  }
4596
- function ti({ data: t, color: n, height: o = 28 }) {
4596
+ function ni({ data: t, color: n, height: o = 28 }) {
4597
4597
  const r = o, a = Math.max(...t, 1), s = t.map((l, h) => {
4598
4598
  const c = h / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
4599
4599
  return `${c},${p}`;
@@ -4611,7 +4611,7 @@ function ti({ data: t, color: n, height: o = 28 }) {
4611
4611
  }
4612
4612
  ) });
4613
4613
  }
4614
- function ii({
4614
+ function oi({
4615
4615
  type: t,
4616
4616
  name: n,
4617
4617
  context: o = {},
@@ -4619,7 +4619,7 @@ function ii({
4619
4619
  animPhase: r,
4620
4620
  series: a
4621
4621
  }) {
4622
- const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ni(t, o), h = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
4622
+ const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ri(t, o), h = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
4623
4623
  return /* @__PURE__ */ d(
4624
4624
  "div",
4625
4625
  {
@@ -4674,7 +4674,7 @@ function ii({
4674
4674
  p.unit
4675
4675
  ] })
4676
4676
  ] }),
4677
- /* @__PURE__ */ e(ti, { data: p.data, color: p.color, height: 26 })
4677
+ /* @__PURE__ */ e(ni, { data: p.data, color: p.color, height: 26 })
4678
4678
  ]
4679
4679
  },
4680
4680
  p.id
@@ -4683,7 +4683,7 @@ function ii({
4683
4683
  }
4684
4684
  );
4685
4685
  }
4686
- function ni(t, n) {
4686
+ function ri(t, n) {
4687
4687
  if (t === "server") {
4688
4688
  const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
4689
4689
  return [
@@ -4719,7 +4719,7 @@ function ni(t, n) {
4719
4719
  }
4720
4720
  return [];
4721
4721
  }
4722
- function yt({
4722
+ function St({
4723
4723
  w: t,
4724
4724
  h: n,
4725
4725
  color: o,
@@ -4728,14 +4728,14 @@ function yt({
4728
4728
  delay: a = "0s",
4729
4729
  children: s
4730
4730
  }) {
4731
- const l = r ? k[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
4731
+ const l = r ? P[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
4732
4732
  return /* @__PURE__ */ d(
4733
4733
  "div",
4734
4734
  {
4735
4735
  style: {
4736
4736
  width: t,
4737
4737
  height: n,
4738
- background: Re,
4738
+ background: Te,
4739
4739
  position: "relative",
4740
4740
  overflow: "hidden",
4741
4741
  borderRadius: 2,
@@ -4769,8 +4769,8 @@ function yt({
4769
4769
  width: 4,
4770
4770
  height: 4,
4771
4771
  borderRadius: "50%",
4772
- background: k[r]?.color,
4773
- boxShadow: `0 0 6px ${k[r]?.color}`,
4772
+ background: P[r]?.color,
4773
+ boxShadow: `0 0 6px ${P[r]?.color}`,
4774
4774
  animation: "holo-led-blink 1.2s infinite"
4775
4775
  }
4776
4776
  }
@@ -4812,7 +4812,7 @@ function yt({
4812
4812
  }
4813
4813
  );
4814
4814
  }
4815
- function We({
4815
+ function ze({
4816
4816
  color: t = "#00e5ff",
4817
4817
  label: n = "CPU-0",
4818
4818
  status: o = "online",
@@ -4825,7 +4825,7 @@ function We({
4825
4825
  style: {
4826
4826
  width: 52,
4827
4827
  height: 36,
4828
- background: Re,
4828
+ background: Te,
4829
4829
  position: "relative",
4830
4830
  borderRadius: 2,
4831
4831
  border: `1px solid ${t}55`,
@@ -4896,8 +4896,8 @@ function We({
4896
4896
  width: 4,
4897
4897
  height: 4,
4898
4898
  borderRadius: "50%",
4899
- background: k[o]?.color,
4900
- boxShadow: `0 0 6px ${k[o]?.color}`,
4899
+ background: P[o]?.color,
4900
+ boxShadow: `0 0 6px ${P[o]?.color}`,
4901
4901
  animation: "holo-led-blink 1.2s infinite"
4902
4902
  }
4903
4903
  }
@@ -4923,7 +4923,7 @@ function We({
4923
4923
  )
4924
4924
  ] });
4925
4925
  }
4926
- function Me({
4926
+ function Be({
4927
4927
  color: t = "#00e5ff",
4928
4928
  label: n = "HEAP-0",
4929
4929
  status: o = "online",
@@ -4994,7 +4994,7 @@ function Me({
4994
4994
  width: 3,
4995
4995
  height: 3,
4996
4996
  borderRadius: "50%",
4997
- background: k[o]?.color,
4997
+ background: P[o]?.color,
4998
4998
  animation: "holo-led-blink 1.2s infinite"
4999
4999
  }
5000
5000
  }
@@ -5020,13 +5020,13 @@ function Me({
5020
5020
  )
5021
5021
  ] });
5022
5022
  }
5023
- function ve({
5023
+ function Re({
5024
5024
  color: t = "#00e5ff",
5025
5025
  label: n = "DRIVE-1",
5026
5026
  status: o = "online",
5027
5027
  activity: i = !1
5028
5028
  }) {
5029
- return /* @__PURE__ */ d(yt, { w: 56, h: 22, color: t, label: n, status: o, children: [
5029
+ return /* @__PURE__ */ d(St, { w: 56, h: 22, color: t, label: n, status: o, children: [
5030
5030
  /* @__PURE__ */ e(
5031
5031
  "div",
5032
5032
  {
@@ -5059,7 +5059,7 @@ function ve({
5059
5059
  )
5060
5060
  ] });
5061
5061
  }
5062
- function mt({
5062
+ function $t({
5063
5063
  color: t = "#00e5ff",
5064
5064
  label: n = "NET",
5065
5065
  status: o = "online"
@@ -5070,7 +5070,7 @@ function mt({
5070
5070
  style: {
5071
5071
  width: 48,
5072
5072
  height: 28,
5073
- background: Re,
5073
+ background: Te,
5074
5074
  position: "relative",
5075
5075
  borderRadius: 2,
5076
5076
  border: `1px solid ${t}44`,
@@ -5128,9 +5128,9 @@ function M({
5128
5128
  label: n = "THREAD",
5129
5129
  status: o = "online"
5130
5130
  }) {
5131
- return /* @__PURE__ */ e(yt, { w: 44, h: 28, color: t, label: n, status: o });
5131
+ return /* @__PURE__ */ e(St, { w: 44, h: 28, color: t, label: n, status: o });
5132
5132
  }
5133
- function Ne({
5133
+ function Me({
5134
5134
  color: t = "#ff8c00",
5135
5135
  label: n = "PLATTER-0",
5136
5136
  status: o = "online",
@@ -5188,7 +5188,7 @@ function Ne({
5188
5188
  width: 4,
5189
5189
  height: 4,
5190
5190
  borderRadius: "50%",
5191
- background: k[o]?.color,
5191
+ background: P[o]?.color,
5192
5192
  animation: "holo-led-blink 1.2s infinite"
5193
5193
  }
5194
5194
  }
@@ -5214,7 +5214,7 @@ function Ne({
5214
5214
  )
5215
5215
  ] });
5216
5216
  }
5217
- function H({
5217
+ function F({
5218
5218
  color: t = "#00e5ff",
5219
5219
  label: n = "PORT-1",
5220
5220
  status: o = "online"
@@ -5243,7 +5243,7 @@ function H({
5243
5243
  width: 4,
5244
5244
  height: 4,
5245
5245
  borderRadius: "50%",
5246
- background: o && o !== "online" ? k[o]?.color ?? t : t,
5246
+ background: o && o !== "online" ? P[o]?.color ?? t : t,
5247
5247
  boxShadow: `0 0 4px ${t}`,
5248
5248
  animation: o && o !== "online" && o !== "offline" ? "holo-led-blink 1s infinite" : "none"
5249
5249
  }
@@ -5284,7 +5284,7 @@ function H({
5284
5284
  }
5285
5285
  );
5286
5286
  }
5287
- function oi(t, n, o, i) {
5287
+ function ai(t, n, o, i) {
5288
5288
  const r = o === "online" ? "online" : o;
5289
5289
  return t === "server" ? [
5290
5290
  {
@@ -5388,8 +5388,8 @@ function oi(t, n, o, i) {
5388
5388
  }
5389
5389
  ] : [];
5390
5390
  }
5391
- const D = "cubic-bezier(0.34, 1.56, 0.64, 1)", ri = "cubic-bezier(0.16, 1, 0.3, 1)";
5392
- function ai({ items: t, revealPhase: n }) {
5391
+ const D = "cubic-bezier(0.34, 1.56, 0.64, 1)", li = "cubic-bezier(0.16, 1, 0.3, 1)";
5392
+ function si({ items: t, revealPhase: n }) {
5393
5393
  return /* @__PURE__ */ e(
5394
5394
  "div",
5395
5395
  {
@@ -5416,21 +5416,21 @@ function ai({ items: t, revealPhase: n }) {
5416
5416
  }
5417
5417
  );
5418
5418
  }
5419
- function li({
5419
+ function di({
5420
5420
  type: t,
5421
5421
  status: n,
5422
5422
  context: o,
5423
5423
  internal: i,
5424
5424
  revealPhase: r
5425
5425
  }) {
5426
- const a = k[n]?.color ?? k.online.color, s = "#ff8c00";
5426
+ const a = P[n]?.color ?? P.online.color, s = "#ff8c00";
5427
5427
  if (t === "server") {
5428
5428
  const l = o.cpuLoad ?? 50, h = o.memLoad ?? 60, c = [
5429
5429
  {
5430
5430
  key: "cpu0",
5431
5431
  delay: 0,
5432
5432
  el: /* @__PURE__ */ e(
5433
- We,
5433
+ ze,
5434
5434
  {
5435
5435
  color: a,
5436
5436
  label: "CPU-0",
@@ -5444,7 +5444,7 @@ function li({
5444
5444
  key: "cpu1",
5445
5445
  delay: 1,
5446
5446
  el: /* @__PURE__ */ e(
5447
- We,
5447
+ ze,
5448
5448
  {
5449
5449
  color: a,
5450
5450
  label: "CPU-1",
@@ -5458,7 +5458,7 @@ function li({
5458
5458
  key: "heap0",
5459
5459
  delay: 2,
5460
5460
  el: /* @__PURE__ */ e(
5461
- Me,
5461
+ Be,
5462
5462
  {
5463
5463
  color: "#8855ee",
5464
5464
  label: "HEAP-0",
@@ -5472,7 +5472,7 @@ function li({
5472
5472
  key: "heap1",
5473
5473
  delay: 3,
5474
5474
  el: /* @__PURE__ */ e(
5475
- Me,
5475
+ Be,
5476
5476
  {
5477
5477
  color: "#8855ee",
5478
5478
  label: "HEAP-1",
@@ -5485,13 +5485,13 @@ function li({
5485
5485
  {
5486
5486
  key: "d1",
5487
5487
  delay: 4,
5488
- el: /* @__PURE__ */ e(ve, { color: a, label: "DRIVE-1", status: i[4]?.status, activity: !0 })
5488
+ el: /* @__PURE__ */ e(Re, { color: a, label: "DRIVE-1", status: i[4]?.status, activity: !0 })
5489
5489
  },
5490
5490
  {
5491
5491
  key: "d2",
5492
5492
  delay: 5,
5493
5493
  el: /* @__PURE__ */ e(
5494
- ve,
5494
+ Re,
5495
5495
  {
5496
5496
  color: a,
5497
5497
  label: "DRIVE-2",
@@ -5504,7 +5504,7 @@ function li({
5504
5504
  key: "d3",
5505
5505
  delay: 6,
5506
5506
  el: /* @__PURE__ */ e(
5507
- ve,
5507
+ Re,
5508
5508
  {
5509
5509
  color: a,
5510
5510
  label: "DRIVE-3",
@@ -5521,7 +5521,7 @@ function li({
5521
5521
  {
5522
5522
  key: "net",
5523
5523
  delay: 8,
5524
- el: /* @__PURE__ */ e(mt, { color: a, label: "NET", status: i[8]?.status })
5524
+ el: /* @__PURE__ */ e($t, { color: a, label: "NET", status: i[8]?.status })
5525
5525
  }
5526
5526
  ];
5527
5527
  return /* @__PURE__ */ e(
@@ -5561,7 +5561,7 @@ function li({
5561
5561
  transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
5562
5562
  transition: `opacity 0.35s ${D} ${c * 0.04}s, transform 0.4s ${D} ${c * 0.04}s`
5563
5563
  },
5564
- children: /* @__PURE__ */ e(H, { color: a, label: `PORT-${c + 1}`, status: p?.status })
5564
+ children: /* @__PURE__ */ e(F, { color: a, label: `PORT-${c + 1}`, status: p?.status })
5565
5565
  },
5566
5566
  `p${c}`
5567
5567
  );
@@ -5627,7 +5627,7 @@ function li({
5627
5627
  transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
5628
5628
  transition: `all 0.4s ${D} ${l * 0.08}s`
5629
5629
  },
5630
- children: /* @__PURE__ */ e(H, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5630
+ children: /* @__PURE__ */ e(F, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5631
5631
  },
5632
5632
  l
5633
5633
  )),
@@ -5687,7 +5687,7 @@ function li({
5687
5687
  transition: `all 0.45s ${D} ${h * 0.1}s`
5688
5688
  },
5689
5689
  children: /* @__PURE__ */ e(
5690
- Ne,
5690
+ Me,
5691
5691
  {
5692
5692
  color: s,
5693
5693
  label: `PLATTER-${h}`,
@@ -5726,7 +5726,7 @@ function li({
5726
5726
  }
5727
5727
  return null;
5728
5728
  }
5729
- function Ii({
5729
+ function Ni({
5730
5730
  type: t,
5731
5731
  name: n,
5732
5732
  status: o,
@@ -5736,7 +5736,7 @@ function Ii({
5736
5736
  subComponents: s,
5737
5737
  graphSeries: l
5738
5738
  }) {
5739
- const h = oi(t, n, o, a), c = k[o]?.color ?? k.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", g = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5739
+ const h = ai(t, n, o, a), c = P[o]?.color ?? P.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", g = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5740
5740
  return /* @__PURE__ */ d(
5741
5741
  "div",
5742
5742
  {
@@ -5760,13 +5760,13 @@ function Ii({
5760
5760
  backdropFilter: "blur(10px)",
5761
5761
  WebkitBackdropFilter: "blur(10px)",
5762
5762
  opacity: p,
5763
- transition: `opacity 0.4s ${ri}`
5763
+ transition: `opacity 0.4s ${li}`
5764
5764
  },
5765
5765
  onClick: i
5766
5766
  }
5767
5767
  ),
5768
5768
  /* @__PURE__ */ e(
5769
- ii,
5769
+ oi,
5770
5770
  {
5771
5771
  type: t,
5772
5772
  name: n,
@@ -5936,8 +5936,8 @@ function Ii({
5936
5936
  }
5937
5937
  }
5938
5938
  ),
5939
- /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(ai, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
5940
- li,
5939
+ /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(si, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
5940
+ di,
5941
5941
  {
5942
5942
  type: t,
5943
5943
  name: n,
@@ -5957,8 +5957,8 @@ function Ii({
5957
5957
  }
5958
5958
  );
5959
5959
  }
5960
- function si({ onSubmit: t }) {
5961
- const [n, o] = $(""), [i, r] = $(""), [a, s] = $(null), [l, h] = $(!1), c = n.trim().length > 0 && i.trim().length > 0;
5960
+ function ci({ onSubmit: t }) {
5961
+ const [n, o] = R(""), [i, r] = R(""), [a, s] = R(null), [l, h] = R(!1), c = n.trim().length > 0 && i.trim().length > 0;
5962
5962
  return /* @__PURE__ */ e("div", { className: "cred-overlay", children: /* @__PURE__ */ d("form", { className: "cred-panel", onSubmit: (f) => {
5963
5963
  f.preventDefault(), c && t({ accessKey: n.trim(), secretKey: i.trim() });
5964
5964
  }, onClick: (f) => f.stopPropagation(), children: [
@@ -5967,10 +5967,21 @@ function si({ onSubmit: t }) {
5967
5967
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--tr" }),
5968
5968
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--bl" }),
5969
5969
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--br" }),
5970
- /* @__PURE__ */ e("div", { className: "cred-icon", children: /* @__PURE__ */ d("svg", { width: "32", height: "32", viewBox: "0 0 24 24", fill: "none", stroke: "#00e5ff", strokeWidth: "1.5", children: [
5971
- /* @__PURE__ */ e("rect", { x: "5", y: "11", width: "14", height: "10", rx: "2" }),
5972
- /* @__PURE__ */ e("path", { d: "M8 11V7a4 4 0 118 0v4" })
5973
- ] }) }),
5970
+ /* @__PURE__ */ e("div", { className: "cred-icon", children: /* @__PURE__ */ d(
5971
+ "svg",
5972
+ {
5973
+ width: "32",
5974
+ height: "32",
5975
+ viewBox: "0 0 24 24",
5976
+ fill: "none",
5977
+ stroke: "#00e5ff",
5978
+ strokeWidth: "1.5",
5979
+ children: [
5980
+ /* @__PURE__ */ e("rect", { x: "5", y: "11", width: "14", height: "10", rx: "2" }),
5981
+ /* @__PURE__ */ e("path", { d: "M8 11V7a4 4 0 118 0v4" })
5982
+ ]
5983
+ }
5984
+ ) }),
5974
5985
  /* @__PURE__ */ e("div", { className: "cred-title", children: "DATA SOURCE ACCESS" }),
5975
5986
  /* @__PURE__ */ e("div", { className: "cred-subtitle", children: "AUTHENTICATION REQUIRED" }),
5976
5987
  /* @__PURE__ */ d("div", { className: "cred-field", children: [
@@ -6037,79 +6048,116 @@ function si({ onSubmit: t }) {
6037
6048
  /* @__PURE__ */ e("div", { className: "cred-footer", children: "CREDENTIALS ARE STORED IN MEMORY ONLY" })
6038
6049
  ] }) });
6039
6050
  }
6040
- const xt = Fe(null);
6041
- function di() {
6042
- const t = de(xt);
6043
- if (!t) throw new Error("useAIOpsData must be used within an AIOPsDashboard with dataEndpoint configured");
6051
+ const rt = Ue(null);
6052
+ function pi() {
6053
+ const t = re(rt);
6054
+ if (!t)
6055
+ throw new Error("useAIOpsData must be used within an AIOPsDashboard with dataEndpoint configured");
6044
6056
  return t;
6045
6057
  }
6046
- function Oi(t) {
6047
- const { data: n } = di();
6058
+ function fi() {
6059
+ return re(rt);
6060
+ }
6061
+ function Wi(t) {
6062
+ const { data: n } = pi();
6048
6063
  return n[t] ?? null;
6049
6064
  }
6050
- function ci({ config: t, children: n, onRefreshStatusChange: o }) {
6051
- const [i, r] = $({}), [a, s] = $(null), [l, h] = $(!1), [c, p] = $(null), [f, g] = $(null), u = V(t);
6052
- u.current = t;
6053
- const y = V(o);
6054
- y.current = o;
6055
- const m = V(a);
6056
- m.current = a;
6057
- const x = at(async () => {
6058
- const b = m.current, S = u.current;
6059
- if (b) {
6060
- h(!0);
6065
+ function hi(t) {
6066
+ const n = /* @__PURE__ */ new Set();
6067
+ for (const o of Object.values(t))
6068
+ for (const i of Object.values(o))
6069
+ n.add(typeof i == "string" ? i : i.query);
6070
+ return Array.from(n);
6071
+ }
6072
+ function ui(t) {
6073
+ if (typeof t == "number") return t;
6074
+ if (typeof t == "string") {
6075
+ const n = Number(t);
6076
+ return isNaN(n) ? t : n;
6077
+ }
6078
+ return t;
6079
+ }
6080
+ function bi({ config: t, children: n }) {
6081
+ const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [h, c] = R(null), [p, f] = R(null), g = K(t);
6082
+ g.current = t;
6083
+ const u = K(r);
6084
+ u.current = r;
6085
+ const y = dt(async () => {
6086
+ const x = u.current, w = g.current;
6087
+ if (x) {
6088
+ l(!0);
6061
6089
  try {
6062
- const C = Object.entries(S.queries), w = await Promise.allSettled(
6063
- C.map(([L, F]) => {
6064
- const G = S.endpoint.includes("?") ? "&" : "?", K = `${S.endpoint}${G}query=${encodeURIComponent(F)}`;
6065
- return fetch(K, {
6090
+ const b = await Promise.allSettled(
6091
+ w.queries.map((S) => {
6092
+ const N = w.endpoint.includes("?") ? "&" : "?", B = `${w.endpoint}${N}query=${encodeURIComponent(S)}`;
6093
+ return fetch(B, {
6066
6094
  method: "GET",
6067
6095
  headers: {
6068
- "access-key": b.accessKey,
6069
- "access-secret-key": b.secretKey
6096
+ "access-key": x.accessKey,
6097
+ "access-secret-key": x.secretKey
6070
6098
  }
6071
- }).then((R) => {
6072
- if (!R.ok) throw new Error(`HTTP ${R.status}`);
6073
- return R.json();
6074
- }).then((R) => ({ key: L, data: R }));
6099
+ }).then((z) => {
6100
+ if (!z.ok) throw new Error(`HTTP ${z.status}`);
6101
+ return z.text();
6102
+ }).then((z) => ({ query: S, data: z.trim() }));
6075
6103
  })
6076
- ), T = {};
6077
- let I = 0;
6078
- for (const L of w)
6079
- L.status === "fulfilled" ? T[L.value.key] = L.value.data : I++;
6080
- r((L) => ({ ...L, ...T }));
6081
- const z = I > 0 ? `${I} of ${C.length} queries failed to refresh` : null;
6082
- p(z), y.current?.(z), I < C.length && g(/* @__PURE__ */ new Date());
6083
- } catch (C) {
6084
- const w = C instanceof Error ? C.message : "Refresh failed";
6085
- p(w), y.current?.(w);
6104
+ ), k = {};
6105
+ let T = 0;
6106
+ for (const S of b)
6107
+ S.status === "fulfilled" ? k[S.value.query] = S.value.data : T++;
6108
+ i((S) => ({ ...S, ...k }));
6109
+ const $ = w.queries.length;
6110
+ c(
6111
+ T > 0 ? `${T} of ${$} queries failed to refresh` : null
6112
+ ), T < $ && f(/* @__PURE__ */ new Date());
6113
+ } catch (b) {
6114
+ const k = b instanceof Error ? b.message : "Refresh failed";
6115
+ c(k);
6086
6116
  } finally {
6087
- h(!1);
6117
+ l(!1);
6088
6118
  }
6089
6119
  }
6090
6120
  }, []);
6091
- ke(() => {
6092
- if (!a) return;
6093
- x();
6094
- const b = u.current.refreshInterval ?? 6e4, S = window.setInterval(x, b);
6095
- return () => clearInterval(S);
6096
- }, [a, x]);
6097
- const v = at((b) => {
6098
- s(b);
6099
- }, []), P = {
6100
- data: i,
6101
- isRefreshing: l,
6102
- lastRefreshError: c,
6103
- lastRefreshTime: f,
6104
- credentialsSet: !!a,
6105
- setCredentials: v
6121
+ Ae(() => {
6122
+ if (!r) return;
6123
+ y();
6124
+ const x = g.current.refreshInterval ?? 6e4, w = window.setInterval(y, x);
6125
+ return () => clearInterval(w);
6126
+ }, [r, y]);
6127
+ const m = dt((x) => {
6128
+ a(x);
6129
+ }, []), v = {
6130
+ data: o,
6131
+ isRefreshing: s,
6132
+ lastRefreshError: h,
6133
+ lastRefreshTime: p,
6134
+ credentialsSet: !!r,
6135
+ setCredentials: m
6106
6136
  };
6107
- return /* @__PURE__ */ d(xt.Provider, { value: P, children: [
6137
+ return /* @__PURE__ */ d(rt.Provider, { value: v, children: [
6108
6138
  n,
6109
- !a && /* @__PURE__ */ e(si, { onSubmit: v })
6139
+ !r && /* @__PURE__ */ e(ci, { onSubmit: m })
6110
6140
  ] });
6111
6141
  }
6112
- function Li({
6142
+ function Mi(t) {
6143
+ const { dataEndpoint: n, dataBindings: o, dataRefreshInterval: i } = t;
6144
+ if (n && o) {
6145
+ const r = hi(o);
6146
+ return /* @__PURE__ */ e(
6147
+ bi,
6148
+ {
6149
+ config: {
6150
+ endpoint: n,
6151
+ queries: r,
6152
+ refreshInterval: i
6153
+ },
6154
+ children: /* @__PURE__ */ e(gt, { ...t })
6155
+ }
6156
+ );
6157
+ }
6158
+ return /* @__PURE__ */ e(gt, { ...t });
6159
+ }
6160
+ function gt({
6113
6161
  brandName: t = "BUSAUD AIOps",
6114
6162
  brandTag: n = "3D MONITOR",
6115
6163
  services: o = [],
@@ -6117,33 +6165,43 @@ function Li({
6117
6165
  logoUrl: r,
6118
6166
  carouselSpeed: a = 6e-3,
6119
6167
  fontFamily: s,
6120
- dataEndpoint: l,
6121
- dataQueries: h,
6122
- dataRefreshInterval: c,
6123
- children: p
6168
+ dataBindings: l,
6169
+ dataTransform: h,
6170
+ children: c
6124
6171
  }) {
6125
- const [f] = $(20), [g] = $(!1), [u] = $(!0), [y] = $(0.45), [m] = $(3.3), [x, v] = $("compact"), [P, b] = $(0), [S, C] = $(null), [w, T] = $(null), [I, z] = $(0), L = (N) => {
6126
- x === "compact" && (C(N), v("expanding"), b(0), setTimeout(() => b(1), 50), setTimeout(() => b(2), 800), setTimeout(() => b(3), 1200), setTimeout(() => b(4), 1600), setTimeout(() => b(5), 2e3), setTimeout(() => {
6127
- b(6), v("expanded");
6172
+ const p = fi(), [f] = R(20), [g] = R(!1), [u] = 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) => {
6173
+ 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(() => {
6174
+ b(6), x("expanded");
6128
6175
  }, 2400));
6129
- }, F = () => {
6130
- w ? (T(null), z(0)) : x === "expanded" && (v("collapsing"), b(0), C(null), setTimeout(() => {
6131
- v((N) => N === "collapsing" ? "compact" : N);
6176
+ }, H = () => {
6177
+ $ ? (S(null), B(0)) : v === "expanded" && (x("collapsing"), b(0), T(null), setTimeout(() => {
6178
+ x((C) => C === "collapsing" ? "compact" : C);
6132
6179
  }, 1e3));
6133
- }, G = (N) => {
6134
- T(N), z(0);
6180
+ }, ae = (C) => {
6181
+ S(C), B(0);
6135
6182
  };
6136
- re.useEffect(() => {
6137
- if (!w) return;
6138
- const N = performance.now(), J = 1200, Oe = () => {
6139
- const Ue = performance.now() - N, ee = Math.min(1, Ue / J);
6140
- z(ee), ee < 1 && requestAnimationFrame(Oe);
6141
- }, Te = requestAnimationFrame(Oe);
6142
- return () => cancelAnimationFrame(Te);
6143
- }, [w]);
6144
- const K = () => {
6145
- T(null), z(0);
6146
- }, R = o.find((N) => N.name === S), U = R?.status ?? "online", ae = R?.dbSync ?? !0, Pe = R?.metrics, Ce = R?.alerts, [X, B] = $(null), Q = 330, Ee = 340, pe = w ? 1.15 : 1, fe = w ? -(w.ex - Q) * 0.06 : 0, He = w ? -(w.ey - Ee) * 0.06 : 0, Ie = /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
6183
+ j.useEffect(() => {
6184
+ if (!$) return;
6185
+ const C = performance.now(), ce = 1200, ee = () => {
6186
+ const Z = performance.now() - C, V = Math.min(1, Z / ce);
6187
+ B(V), V < 1 && requestAnimationFrame(ee);
6188
+ }, pe = requestAnimationFrame(ee);
6189
+ return () => cancelAnimationFrame(pe);
6190
+ }, [$]);
6191
+ const le = () => {
6192
+ S(null), B(0);
6193
+ }, I = o.find((C) => C.name === k), U = I?.status ?? "online", se = I?.dbSync ?? !0, Ie = I?.metrics, Oe = I?.alerts, Y = h ?? ui, L = p?.data, Q = yt(() => !L || !l ? c : j.Children.map(c, (C) => {
6194
+ if (!j.isValidElement(C)) return C;
6195
+ const ce = C.props.name;
6196
+ if (!ce || !l[ce]) return C;
6197
+ const ee = l[ce], pe = {};
6198
+ for (const [Z, V] of Object.entries(ee)) {
6199
+ const st = typeof V == "string" ? V : V.query, ye = typeof V == "object" && V.transform ? V.transform : Y, De = L[st];
6200
+ De !== void 0 && (pe[Z] = ye(De));
6201
+ }
6202
+ return Object.keys(pe).length > 0 ? j.cloneElement(C, pe) : C;
6203
+ }), [c, L, l, Y]), Le = p?.lastRefreshError ?? null, be = 330, ge = 340, Ye = $ ? 1.15 : 1, Ve = $ ? -($.ex - be) * 0.06 : 0, de = $ ? -($.ey - ge) * 0.06 : 0;
6204
+ return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
6147
6205
  /* @__PURE__ */ e(
6148
6206
  "div",
6149
6207
  {
@@ -6157,7 +6215,7 @@ function Li({
6157
6215
  backgroundPosition: "center center",
6158
6216
  backgroundRepeat: "no-repeat",
6159
6217
  transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
6160
- transform: `translate(${fe}px, ${He}px) scale(${pe})`,
6218
+ transform: `translate(${Ve}px, ${de}px) scale(${Ye})`,
6161
6219
  willChange: "transform"
6162
6220
  }
6163
6221
  }
@@ -6168,7 +6226,7 @@ function Li({
6168
6226
  /* @__PURE__ */ e("span", { className: "brand-text", children: t })
6169
6227
  ] }),
6170
6228
  /* @__PURE__ */ d("div", { className: "hdr-right", children: [
6171
- X && /* @__PURE__ */ d("div", { className: "hdr-refresh-error", children: [
6229
+ Le && /* @__PURE__ */ d("div", { className: "hdr-refresh-error", children: [
6172
6230
  /* @__PURE__ */ e("span", { className: "refresh-error-dot" }),
6173
6231
  /* @__PURE__ */ e("span", { className: "refresh-error-text", children: "DATA REFRESH FAILED" })
6174
6232
  ] }),
@@ -6180,17 +6238,17 @@ function Li({
6180
6238
  {
6181
6239
  className: "scene",
6182
6240
  style: {
6183
- cursor: x === "expanded" ? "zoom-out" : "default"
6241
+ cursor: v === "expanded" ? "zoom-out" : "default"
6184
6242
  },
6185
- onClick: F,
6243
+ onClick: H,
6186
6244
  children: /* @__PURE__ */ e(
6187
- zt,
6245
+ Ft,
6188
6246
  {
6189
- viewState: x,
6190
- animPhase: P,
6191
- selectedSystem: S,
6192
- selectedComponent: w,
6193
- drillAnimPhase: I,
6247
+ viewState: v,
6248
+ animPhase: w,
6249
+ selectedSystem: k,
6250
+ selectedComponent: $,
6251
+ drillAnimPhase: N,
6194
6252
  rotateY: f,
6195
6253
  autoRotateComponents: g,
6196
6254
  componentScale: y,
@@ -6198,32 +6256,20 @@ function Li({
6198
6256
  autoRotateCarousel: u,
6199
6257
  carouselSpeed: a,
6200
6258
  logoUrl: r,
6201
- onSelectSystem: L,
6202
- onBackgroundClick: F,
6203
- onComponentClick: G,
6204
- onCloseDrill: K,
6259
+ onSelectSystem: z,
6260
+ onBackgroundClick: H,
6261
+ onComponentClick: ae,
6262
+ onCloseDrill: le,
6205
6263
  selectedSystemStatus: U,
6206
- selectedSystemDbSync: ae,
6207
- selectedSystemMetrics: Pe,
6208
- selectedSystemAlerts: Ce,
6209
- children: p
6264
+ selectedSystemDbSync: se,
6265
+ selectedSystemMetrics: Ie,
6266
+ selectedSystemAlerts: Oe,
6267
+ children: Q
6210
6268
  }
6211
6269
  )
6212
6270
  }
6213
6271
  )
6214
6272
  ] });
6215
- return l && h ? /* @__PURE__ */ e(
6216
- ci,
6217
- {
6218
- config: {
6219
- endpoint: l,
6220
- queries: h,
6221
- refreshInterval: c
6222
- },
6223
- onRefreshStatusChange: B,
6224
- children: Ie
6225
- }
6226
- ) : Ie;
6227
6273
  }
6228
6274
  function E(t, n, o = 24) {
6229
6275
  return Array.from({ length: o }, (i, r) => {
@@ -6231,24 +6277,24 @@ function E(t, n, o = 24) {
6231
6277
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
6232
6278
  });
6233
6279
  }
6234
- function vt(t) {
6280
+ function kt(t) {
6235
6281
  return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
6236
6282
  }
6237
- function we(t, n, o) {
6238
- const i = t === "online" ? "online" : t, r = vt(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", h = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
6283
+ function Pe(t, n, o) {
6284
+ const i = t === "online" ? "online" : t, r = kt(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", h = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
6239
6285
  return [
6240
- { id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(We, { color: r, label: "CPU-0", status: l, load: a }) },
6241
- { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(We, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
6242
- { id: "heap-0", label: "HEAP-0", status: h, detail: h === "warning" ? "Memory heap usage" : h === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(Me, { color: "#8855ee", label: "HEAP-0", status: h, usedPercent: s }) },
6243
- { id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(Me, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
6244
- { id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(ve, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
6245
- { id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(ve, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
6246
- { id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(ve, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
6286
+ { 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 }) },
6287
+ { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(ze, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
6288
+ { id: "heap-0", label: "HEAP-0", status: h, detail: h === "warning" ? "Memory heap usage" : h === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(Be, { color: "#8855ee", label: "HEAP-0", status: h, usedPercent: s }) },
6289
+ { id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(Be, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
6290
+ { id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(Re, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
6291
+ { id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(Re, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
6292
+ { id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(Re, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
6247
6293
  { 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 }) },
6248
- { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(mt, { color: r, label: "NET", status: p }) }
6294
+ { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e($t, { color: r, label: "NET", status: p }) }
6249
6295
  ];
6250
6296
  }
6251
- function Se(t) {
6297
+ function Ce(t) {
6252
6298
  const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
6253
6299
  return [
6254
6300
  { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: E(n, 15) },
@@ -6261,22 +6307,22 @@ function Se(t) {
6261
6307
  { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: E(55, 20) }
6262
6308
  ];
6263
6309
  }
6264
- function wt(t, n, o) {
6265
- const i = t === "online" ? "online" : t, r = vt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
6310
+ function Rt(t, n, o) {
6311
+ const i = t === "online" ? "online" : t, r = kt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
6266
6312
  return [
6267
- { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-1", status: "online" }) },
6268
- { id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-2", status: "online" }) },
6269
- { id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(H, { color: r, label: "PORT-3", status: a }) },
6270
- { id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-4", status: "online" }) },
6271
- { id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(H, { color: r, label: "PORT-5", status: s }) },
6272
- { id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-6", status: "online" }) },
6273
- { id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-7", status: "online" }) },
6274
- { id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-8", status: "online" }) },
6313
+ { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-1", status: "online" }) },
6314
+ { id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-2", status: "online" }) },
6315
+ { 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 }) },
6316
+ { id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-4", status: "online" }) },
6317
+ { 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 }) },
6318
+ { id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-6", status: "online" }) },
6319
+ { id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-7", status: "online" }) },
6320
+ { id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-8", status: "online" }) },
6275
6321
  { 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 }) },
6276
6322
  { id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
6277
6323
  ];
6278
6324
  }
6279
- function St(t) {
6325
+ function Pt(t) {
6280
6326
  const n = t?.traffic ?? 50;
6281
6327
  return [
6282
6328
  { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
@@ -6286,19 +6332,19 @@ function St(t) {
6286
6332
  { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
6287
6333
  ];
6288
6334
  }
6289
- function pi(t, n, o) {
6335
+ function gi(t, n, o) {
6290
6336
  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";
6291
6337
  return [
6292
- { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(H, { color: "#bb55ff", label: "INST-0", status: "online" }) },
6293
- { id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(H, { color: "#bb55ff", label: "INST-1", status: "online" }) },
6294
- { id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(H, { color: "#bb55ff", label: "INST-2", status: r }) },
6338
+ { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-0", status: "online" }) },
6339
+ { id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-1", status: "online" }) },
6340
+ { 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 }) },
6295
6341
  { 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 }) },
6296
6342
  { id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
6297
6343
  { id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
6298
6344
  { id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-3", status: s }) }
6299
6345
  ];
6300
6346
  }
6301
- function fi(t) {
6347
+ function yi(t) {
6302
6348
  const n = t?.queueDepth ?? 50;
6303
6349
  return [
6304
6350
  { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
@@ -6308,17 +6354,17 @@ function fi(t) {
6308
6354
  { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
6309
6355
  ];
6310
6356
  }
6311
- function ze(t, n, o) {
6357
+ function Fe(t, n, o) {
6312
6358
  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", h = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
6313
6359
  return [
6314
- { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Ne, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
6315
- { 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(Ne, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
6316
- { id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Ne, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
6360
+ { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Me, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
6361
+ { 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 }) },
6362
+ { 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 }) },
6317
6363
  { id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "CONN-POOL", status: h }) },
6318
6364
  { 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 }) }
6319
6365
  ];
6320
6366
  }
6321
- function Be(t) {
6367
+ function He(t) {
6322
6368
  const n = t?.capacity ?? 70;
6323
6369
  return [
6324
6370
  { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: E(40, 20) },
@@ -6328,7 +6374,7 @@ function Be(t) {
6328
6374
  { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: E(75, 12) }
6329
6375
  ];
6330
6376
  }
6331
- function nt(t) {
6377
+ function at(t) {
6332
6378
  const n = [
6333
6379
  t.wdStatus,
6334
6380
  t.msStatus,
@@ -6340,8 +6386,8 @@ function nt(t) {
6340
6386
  ];
6341
6387
  return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
6342
6388
  }
6343
- function Di(t) {
6344
- const n = nt(t), o = n === "critical" || n === "offline", i = n === "warning";
6389
+ function zi(t) {
6390
+ const n = at(t), o = n === "critical" || n === "offline", i = n === "warning";
6345
6391
  return [
6346
6392
  {
6347
6393
  label: "Uptime",
@@ -6362,8 +6408,8 @@ function Di(t) {
6362
6408
  }
6363
6409
  ];
6364
6410
  }
6365
- function Ni(t) {
6366
- const n = nt(t), o = n === "critical" || n === "offline", i = n === "warning";
6411
+ function Bi(t) {
6412
+ const n = at(t), o = n === "critical" || n === "offline", i = n === "warning";
6367
6413
  return [
6368
6414
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
6369
6415
  ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
@@ -6371,7 +6417,7 @@ function Ni(t) {
6371
6417
  ...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6372
6418
  ];
6373
6419
  }
6374
- const hi = [
6420
+ const mi = [
6375
6421
  { from: [330, 120], to: [220, 260], visibleAtPhase: 3 },
6376
6422
  { from: [330, 120], to: [440, 260], visibleAtPhase: 3 },
6377
6423
  { from: [220, 260], to: [165, 390], visibleAtPhase: 4 },
@@ -6384,9 +6430,9 @@ const hi = [
6384
6430
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
6385
6431
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6386
6432
  ];
6387
- function ui({ config: t }) {
6388
- const n = re.useContext(ce), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: h, pdbStatus: c, sdbStatus: p, dbSync: f } = t;
6389
- return /* @__PURE__ */ d($e, { children: [
6433
+ function xi({ config: t }) {
6434
+ const n = j.useContext(ue), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: h, pdbStatus: c, sdbStatus: p, dbSync: f } = t;
6435
+ return /* @__PURE__ */ d(Ee, { children: [
6390
6436
  /* @__PURE__ */ e(
6391
6437
  A,
6392
6438
  {
@@ -6396,7 +6442,7 @@ function ui({ config: t }) {
6396
6442
  zIndex: 10,
6397
6443
  visibleAtPhase: 2,
6398
6444
  color: "#00e5ff",
6399
- children: /* @__PURE__ */ e(tt, { status: "online", scale: 1.5 })
6445
+ children: /* @__PURE__ */ e(nt, { status: "online", scale: 1.5 })
6400
6446
  }
6401
6447
  ),
6402
6448
  /* @__PURE__ */ e(
@@ -6415,11 +6461,11 @@ function ui({ config: t }) {
6415
6461
  name: "WEB-DISP",
6416
6462
  status: r,
6417
6463
  context: { traffic: 78 },
6418
- subComponents: wt(r),
6419
- graphSeries: St({ traffic: 78 })
6464
+ subComponents: Rt(r),
6465
+ graphSeries: Pt({ traffic: 78 })
6420
6466
  },
6421
6467
  children: /* @__PURE__ */ e(
6422
- it,
6468
+ ot,
6423
6469
  {
6424
6470
  rotateY: o,
6425
6471
  autoRotate: i,
@@ -6448,11 +6494,11 @@ function ui({ config: t }) {
6448
6494
  name: "MSG-SRV",
6449
6495
  status: a,
6450
6496
  context: { queueDepth: 45 },
6451
- subComponents: pi(a),
6452
- graphSeries: fi({ queueDepth: 45 })
6497
+ subComponents: gi(a),
6498
+ graphSeries: yi({ queueDepth: 45 })
6453
6499
  },
6454
6500
  children: /* @__PURE__ */ e(
6455
- gt,
6501
+ wt,
6456
6502
  {
6457
6503
  rotateY: -o,
6458
6504
  autoRotate: i,
@@ -6482,11 +6528,11 @@ function ui({ config: t }) {
6482
6528
  name: "APP-01",
6483
6529
  status: s,
6484
6530
  context: { cpuLoad: 67, memLoad: 72 },
6485
- subComponents: we(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6486
- graphSeries: Se({ cpuLoad: 67, memLoad: 72 })
6531
+ subComponents: Pe(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6532
+ graphSeries: Ce({ cpuLoad: 67, memLoad: 72 })
6487
6533
  },
6488
6534
  children: /* @__PURE__ */ e(
6489
- se,
6535
+ he,
6490
6536
  {
6491
6537
  rotateY: o,
6492
6538
  autoRotate: i,
@@ -6515,11 +6561,11 @@ function ui({ config: t }) {
6515
6561
  name: "APP-02",
6516
6562
  status: l,
6517
6563
  context: { cpuLoad: 89, memLoad: 91 },
6518
- subComponents: we(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6519
- graphSeries: Se({ cpuLoad: 89, memLoad: 91 })
6564
+ subComponents: Pe(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6565
+ graphSeries: Ce({ cpuLoad: 89, memLoad: 91 })
6520
6566
  },
6521
6567
  children: /* @__PURE__ */ e(
6522
- se,
6568
+ he,
6523
6569
  {
6524
6570
  rotateY: o,
6525
6571
  autoRotate: i,
@@ -6548,11 +6594,11 @@ function ui({ config: t }) {
6548
6594
  name: "APP-03",
6549
6595
  status: h,
6550
6596
  context: { cpuLoad: 45, memLoad: 63 },
6551
- subComponents: we(h, "APP-03", { cpuLoad: 45, memLoad: 63 }),
6552
- graphSeries: Se({ cpuLoad: 45, memLoad: 63 })
6597
+ subComponents: Pe(h, "APP-03", { cpuLoad: 45, memLoad: 63 }),
6598
+ graphSeries: Ce({ cpuLoad: 45, memLoad: 63 })
6553
6599
  },
6554
6600
  children: /* @__PURE__ */ e(
6555
- se,
6601
+ he,
6556
6602
  {
6557
6603
  rotateY: o,
6558
6604
  autoRotate: i,
@@ -6581,11 +6627,11 @@ function ui({ config: t }) {
6581
6627
  name: "DB-PRI",
6582
6628
  status: c,
6583
6629
  context: { capacity: 72 },
6584
- subComponents: ze(c, "DB-PRI", { capacity: 72 }),
6585
- graphSeries: Be({ capacity: 72 })
6630
+ subComponents: Fe(c, "DB-PRI", { capacity: 72 }),
6631
+ graphSeries: He({ capacity: 72 })
6586
6632
  },
6587
6633
  children: /* @__PURE__ */ e(
6588
- Ae,
6634
+ Ne,
6589
6635
  {
6590
6636
  rotateY: -o,
6591
6637
  autoRotate: i,
@@ -6614,11 +6660,11 @@ function ui({ config: t }) {
6614
6660
  name: "DB-STB",
6615
6661
  status: p,
6616
6662
  context: { capacity: 72 },
6617
- subComponents: ze(p, "DB-STB", { capacity: 72 }),
6618
- graphSeries: Be({ capacity: 72 })
6663
+ subComponents: Fe(p, "DB-STB", { capacity: 72 }),
6664
+ graphSeries: He({ capacity: 72 })
6619
6665
  },
6620
6666
  children: /* @__PURE__ */ e(
6621
- Ae,
6667
+ Ne,
6622
6668
  {
6623
6669
  rotateY: o,
6624
6670
  autoRotate: i,
@@ -6641,14 +6687,14 @@ function ui({ config: t }) {
6641
6687
  visibleAtPhase: 6,
6642
6688
  fixedScale: 1,
6643
6689
  bare: !0,
6644
- children: /* @__PURE__ */ e(bt, { synced: f, latencyMs: f ? 8 : 342 })
6690
+ children: /* @__PURE__ */ e(vt, { synced: f, latencyMs: f ? 8 : 342 })
6645
6691
  }
6646
6692
  ),
6647
- /* @__PURE__ */ e(bi, { config: t })
6693
+ /* @__PURE__ */ e(vi, { config: t })
6648
6694
  ] });
6649
6695
  }
6650
- function bi({ config: t }) {
6651
- const n = re.useContext(ce), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: h, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
6696
+ function vi({ config: t }) {
6697
+ const n = j.useContext(ue), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: h, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
6652
6698
  return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6653
6699
  /* @__PURE__ */ e(
6654
6700
  W,
@@ -6772,19 +6818,19 @@ function bi({ config: t }) {
6772
6818
  )
6773
6819
  ] }) : null;
6774
6820
  }
6775
- function Wi({ config: t, ...n }) {
6821
+ function Fi({ config: t, ...n }) {
6776
6822
  return /* @__PURE__ */ e(
6777
- ut,
6823
+ xt,
6778
6824
  {
6779
6825
  name: t.name,
6780
- status: nt(t),
6781
- connections: hi,
6826
+ status: at(t),
6827
+ connections: mi,
6782
6828
  ...n,
6783
- children: /* @__PURE__ */ e(ui, { config: t })
6829
+ children: /* @__PURE__ */ e(xi, { config: t })
6784
6830
  }
6785
6831
  );
6786
6832
  }
6787
- function ot(t) {
6833
+ function lt(t) {
6788
6834
  const n = [
6789
6835
  t.dispStatus,
6790
6836
  t.srv1Status,
@@ -6795,8 +6841,8 @@ function ot(t) {
6795
6841
  ];
6796
6842
  return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
6797
6843
  }
6798
- function Mi(t) {
6799
- const n = ot(t), o = n === "critical" || n === "offline", i = n === "warning";
6844
+ function Hi(t) {
6845
+ const n = lt(t), o = n === "critical" || n === "offline", i = n === "warning";
6800
6846
  return [
6801
6847
  {
6802
6848
  label: "Uptime",
@@ -6817,8 +6863,8 @@ function Mi(t) {
6817
6863
  }
6818
6864
  ];
6819
6865
  }
6820
- function zi(t) {
6821
- const n = ot(t), o = n === "critical" || n === "offline", i = n === "warning";
6866
+ function Ui(t) {
6867
+ const n = lt(t), o = n === "critical" || n === "offline", i = n === "warning";
6822
6868
  return [
6823
6869
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
6824
6870
  ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
@@ -6826,7 +6872,7 @@ function zi(t) {
6826
6872
  ...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6827
6873
  ];
6828
6874
  }
6829
- const gi = [
6875
+ const wi = [
6830
6876
  { from: [330, 120], to: [330, 260], visibleAtPhase: 3 },
6831
6877
  { from: [330, 260], to: [165, 390], visibleAtPhase: 4 },
6832
6878
  { from: [330, 260], to: [330, 390], visibleAtPhase: 4 },
@@ -6835,9 +6881,9 @@ const gi = [
6835
6881
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
6836
6882
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6837
6883
  ];
6838
- function yi({ config: t }) {
6839
- const n = re.useContext(ce), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: h, sdbStatus: c, dbSync: p } = t;
6840
- return /* @__PURE__ */ d($e, { children: [
6884
+ function Si({ config: t }) {
6885
+ const n = j.useContext(ue), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: h, sdbStatus: c, dbSync: p } = t;
6886
+ return /* @__PURE__ */ d(Ee, { children: [
6841
6887
  /* @__PURE__ */ e(
6842
6888
  A,
6843
6889
  {
@@ -6847,7 +6893,7 @@ function yi({ config: t }) {
6847
6893
  zIndex: 10,
6848
6894
  visibleAtPhase: 2,
6849
6895
  color: "#00e5ff",
6850
- children: /* @__PURE__ */ e(tt, { status: "online", scale: 1.5 })
6896
+ children: /* @__PURE__ */ e(nt, { status: "online", scale: 1.5 })
6851
6897
  }
6852
6898
  ),
6853
6899
  /* @__PURE__ */ e(
@@ -6866,11 +6912,11 @@ function yi({ config: t }) {
6866
6912
  name: "DISP-01",
6867
6913
  status: r,
6868
6914
  context: { traffic: 78 },
6869
- subComponents: wt(r),
6870
- graphSeries: St({ traffic: 78 })
6915
+ subComponents: Rt(r),
6916
+ graphSeries: Pt({ traffic: 78 })
6871
6917
  },
6872
6918
  children: /* @__PURE__ */ e(
6873
- it,
6919
+ ot,
6874
6920
  {
6875
6921
  rotateY: o,
6876
6922
  autoRotate: i,
@@ -6899,11 +6945,11 @@ function yi({ config: t }) {
6899
6945
  name: "APP-01",
6900
6946
  status: a,
6901
6947
  context: { cpuLoad: 67, memLoad: 72 },
6902
- subComponents: we(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6903
- graphSeries: Se({ cpuLoad: 67, memLoad: 72 })
6948
+ subComponents: Pe(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6949
+ graphSeries: Ce({ cpuLoad: 67, memLoad: 72 })
6904
6950
  },
6905
6951
  children: /* @__PURE__ */ e(
6906
- se,
6952
+ he,
6907
6953
  {
6908
6954
  rotateY: o,
6909
6955
  autoRotate: i,
@@ -6932,11 +6978,11 @@ function yi({ config: t }) {
6932
6978
  name: "APP-02",
6933
6979
  status: s,
6934
6980
  context: { cpuLoad: 89, memLoad: 91 },
6935
- subComponents: we(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6936
- graphSeries: Se({ cpuLoad: 89, memLoad: 91 })
6981
+ subComponents: Pe(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6982
+ graphSeries: Ce({ cpuLoad: 89, memLoad: 91 })
6937
6983
  },
6938
6984
  children: /* @__PURE__ */ e(
6939
- se,
6985
+ he,
6940
6986
  {
6941
6987
  rotateY: o,
6942
6988
  autoRotate: i,
@@ -6965,11 +7011,11 @@ function yi({ config: t }) {
6965
7011
  name: "APP-03",
6966
7012
  status: l,
6967
7013
  context: { cpuLoad: 45, memLoad: 63 },
6968
- subComponents: we(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
6969
- graphSeries: Se({ cpuLoad: 45, memLoad: 63 })
7014
+ subComponents: Pe(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
7015
+ graphSeries: Ce({ cpuLoad: 45, memLoad: 63 })
6970
7016
  },
6971
7017
  children: /* @__PURE__ */ e(
6972
- se,
7018
+ he,
6973
7019
  {
6974
7020
  rotateY: o,
6975
7021
  autoRotate: i,
@@ -6998,11 +7044,11 @@ function yi({ config: t }) {
6998
7044
  name: "DB-PRI",
6999
7045
  status: h,
7000
7046
  context: { capacity: 72 },
7001
- subComponents: ze(h, "DB-PRI", { capacity: 72 }),
7002
- graphSeries: Be({ capacity: 72 })
7047
+ subComponents: Fe(h, "DB-PRI", { capacity: 72 }),
7048
+ graphSeries: He({ capacity: 72 })
7003
7049
  },
7004
7050
  children: /* @__PURE__ */ e(
7005
- Ae,
7051
+ Ne,
7006
7052
  {
7007
7053
  rotateY: -o,
7008
7054
  autoRotate: i,
@@ -7031,11 +7077,11 @@ function yi({ config: t }) {
7031
7077
  name: "DB-STB",
7032
7078
  status: c,
7033
7079
  context: { capacity: 72 },
7034
- subComponents: ze(c, "DB-STB", { capacity: 72 }),
7035
- graphSeries: Be({ capacity: 72 })
7080
+ subComponents: Fe(c, "DB-STB", { capacity: 72 }),
7081
+ graphSeries: He({ capacity: 72 })
7036
7082
  },
7037
7083
  children: /* @__PURE__ */ e(
7038
- Ae,
7084
+ Ne,
7039
7085
  {
7040
7086
  rotateY: o,
7041
7087
  autoRotate: i,
@@ -7058,14 +7104,14 @@ function yi({ config: t }) {
7058
7104
  visibleAtPhase: 6,
7059
7105
  fixedScale: 1,
7060
7106
  bare: !0,
7061
- children: /* @__PURE__ */ e(bt, { synced: p, latencyMs: p ? 8 : 342 })
7107
+ children: /* @__PURE__ */ e(vt, { synced: p, latencyMs: p ? 8 : 342 })
7062
7108
  }
7063
7109
  ),
7064
- /* @__PURE__ */ e(mi, { config: t })
7110
+ /* @__PURE__ */ e($i, { config: t })
7065
7111
  ] });
7066
7112
  }
7067
- function mi({ config: t }) {
7068
- const n = re.useContext(ce), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: h } = t, c = n?.isSelected && n?.isExpandedPos;
7113
+ function $i({ config: t }) {
7114
+ const n = j.useContext(ue), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: h } = t, c = n?.isSelected && n?.isExpandedPos;
7069
7115
  return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
7070
7116
  /* @__PURE__ */ e(
7071
7117
  W,
@@ -7174,78 +7220,80 @@ function mi({ config: t }) {
7174
7220
  )
7175
7221
  ] }) : null;
7176
7222
  }
7177
- function Bi({ config: t, ...n }) {
7223
+ function Yi({ config: t, ...n }) {
7178
7224
  return /* @__PURE__ */ e(
7179
- ut,
7225
+ xt,
7180
7226
  {
7181
7227
  name: t.name,
7182
- status: ot(t),
7183
- connections: gi,
7228
+ status: lt(t),
7229
+ connections: wi,
7184
7230
  ...n,
7185
- children: /* @__PURE__ */ e(yi, { config: t })
7231
+ children: /* @__PURE__ */ e(Si, { config: t })
7186
7232
  }
7187
7233
  );
7188
7234
  }
7189
7235
  export {
7190
- Li as AIOPsDashboard,
7191
- We as CPU3D,
7192
- zt as Carousel,
7193
- Ze as CarouselContext,
7194
- Je as CarouselItemContext,
7195
- Nt as ComponentDialog,
7196
- Ii as ComponentDrillView,
7197
- ci as DataProvider,
7198
- Ae as Database3D,
7199
- Ci as DatabaseNode,
7200
- ve as DriveBay3D,
7201
- gi as EXCHANGE_CONNECTIONS,
7202
- Bi as ExchangeService,
7203
- $i as HOLO_BLUE,
7204
- Si as HOLO_CYAN,
7205
- Ge as HOLO_GLASS,
7206
- Re as HOLO_SURFACE,
7207
- ii as HistoricalGraphPanel,
7208
- Ht as HoloBase,
7209
- tt as Human3D,
7210
- Ei as HumanNode,
7211
- Me as Memory3D,
7212
- gt as MessageServer3D,
7213
- Ai as MessageServerNode,
7214
- mt as NetworkBlock3D,
7236
+ Mi as AIOPsDashboard,
7237
+ ze as CPU3D,
7238
+ Ft as Carousel,
7239
+ et as CarouselContext,
7240
+ tt as CarouselItemContext,
7241
+ Mt as ComponentDialog,
7242
+ Ni as ComponentDrillView,
7243
+ bi as DataProvider,
7244
+ Ne as Database3D,
7245
+ Ii as DatabaseNode,
7246
+ Re as DriveBay3D,
7247
+ wi as EXCHANGE_CONNECTIONS,
7248
+ Yi as ExchangeService,
7249
+ Ci as HOLO_BLUE,
7250
+ Pi as HOLO_CYAN,
7251
+ Ze as HOLO_GLASS,
7252
+ Te as HOLO_SURFACE,
7253
+ oi as HistoricalGraphPanel,
7254
+ Yt as HoloBase,
7255
+ nt as Human3D,
7256
+ Oi as HumanNode,
7257
+ Be as Memory3D,
7258
+ wt as MessageServer3D,
7259
+ Di as MessageServerNode,
7260
+ $t as NetworkBlock3D,
7215
7261
  W as NodeCallout,
7216
- Ne as Platter3D,
7217
- H as Port3D,
7218
- Wi as SAPService,
7219
- hi as SAP_CONNECTIONS,
7220
- k as STATUS_CFG,
7221
- se as Server3D,
7222
- Pi as ServerNode,
7223
- ut as Service,
7224
- ce as ServiceContext,
7225
- Lt as ServiceDialog,
7262
+ Me as Platter3D,
7263
+ F as Port3D,
7264
+ Fi as SAPService,
7265
+ mi as SAP_CONNECTIONS,
7266
+ P as STATUS_CFG,
7267
+ he as Server3D,
7268
+ Ti as ServerNode,
7269
+ xt as Service,
7270
+ ue as ServiceContext,
7271
+ Nt as ServiceDialog,
7226
7272
  A as ServiceNode,
7227
- Bt as SvgConnection,
7228
- bt as SyncBridge,
7273
+ Ht as SvgConnection,
7274
+ vt as SyncBridge,
7229
7275
  M as ThreadPool3D,
7230
- it as WebDispatcher3D,
7231
- Ti as WebDispatcherNode,
7232
- zi as computeExchangeDialogAlerts,
7233
- Mi as computeExchangeDialogMetrics,
7234
- ot as computeExchangeServiceStatus,
7235
- Ni as computeSAPDialogAlerts,
7236
- Di as computeSAPDialogMetrics,
7237
- nt as computeSAPServiceStatus,
7238
- Be as getDatabaseGraphSeries,
7239
- ze as getDatabaseSubComponents,
7240
- St as getDispatcherGraphSeries,
7241
- wt as getDispatcherSubComponents,
7242
- fi as getMessageServerGraphSeries,
7243
- pi as getMessageServerSubComponents,
7244
- Se as getServerGraphSeries,
7245
- we as getServerSubComponents,
7246
- Ke as makeFaceStyles,
7247
- di as useAIOpsData,
7248
- ki as useCarouselContext,
7249
- Ri as useCarouselItemContext,
7250
- Oi as useQueryResult
7276
+ ot as WebDispatcher3D,
7277
+ Li as WebDispatcherNode,
7278
+ Ui as computeExchangeDialogAlerts,
7279
+ Hi as computeExchangeDialogMetrics,
7280
+ lt as computeExchangeServiceStatus,
7281
+ Bi as computeSAPDialogAlerts,
7282
+ zi as computeSAPDialogMetrics,
7283
+ at as computeSAPServiceStatus,
7284
+ ui as defaultDataTransform,
7285
+ He as getDatabaseGraphSeries,
7286
+ Fe as getDatabaseSubComponents,
7287
+ Pt as getDispatcherGraphSeries,
7288
+ Rt as getDispatcherSubComponents,
7289
+ yi as getMessageServerGraphSeries,
7290
+ gi as getMessageServerSubComponents,
7291
+ Ce as getServerGraphSeries,
7292
+ Pe as getServerSubComponents,
7293
+ Je as makeFaceStyles,
7294
+ pi as useAIOpsData,
7295
+ fi as useAIOpsDataOptional,
7296
+ Ei as useCarouselContext,
7297
+ Ai as useCarouselItemContext,
7298
+ Wi as useQueryResult
7251
7299
  };