react-aiops 0.1.6 → 0.1.8

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
1
  import { jsxs as d, jsx as e, Fragment as ve } from "react/jsx-runtime";
2
- import J, { createContext as je, useContext as we, useState as L, useEffect as Ee, useMemo as Et, useRef as ee } from "react";
3
- const Tt = {
2
+ import J, { createContext as je, useContext as we, useState as I, useEffect as Te, useMemo as Tt, useRef as ee } from "react";
3
+ const At = {
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 At({
8
+ function It({
9
9
  name: t,
10
10
  status: n,
11
11
  dbSync: o = !0,
@@ -146,7 +146,7 @@ function At({
146
146
  }
147
147
  ),
148
148
  c.map((p, f) => {
149
- const y = Tt[p.level];
149
+ const g = At[p.level];
150
150
  return /* @__PURE__ */ d(
151
151
  "div",
152
152
  {
@@ -154,15 +154,15 @@ function At({
154
154
  display: "flex",
155
155
  gap: 8,
156
156
  alignItems: "flex-start",
157
- color: y.color,
157
+ color: g.color,
158
158
  fontSize: 12,
159
- background: y.bg,
159
+ background: g.bg,
160
160
  padding: "6px 10px",
161
161
  borderRadius: 4,
162
- borderLeft: `2px solid ${y.border}`
162
+ borderLeft: `2px solid ${g.border}`
163
163
  },
164
164
  children: [
165
- /* @__PURE__ */ e("span", { children: y.icon }),
165
+ /* @__PURE__ */ e("span", { children: g.icon }),
166
166
  " ",
167
167
  /* @__PURE__ */ e("span", { children: p.message })
168
168
  ]
@@ -183,7 +183,7 @@ const w = {
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
185
  }, yi = "#00e5ff", mi = "#0055cc", Se = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Qe = "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 qe(t, n, o) {
186
+ function Ge(t, n, o) {
187
187
  const i = {
188
188
  position: "absolute",
189
189
  overflow: "hidden",
@@ -234,7 +234,7 @@ function qe(t, n, o) {
234
234
  };
235
235
  }
236
236
  const Ve = "cubic-bezier(0.34, 1.56, 0.64, 1)", _e = "cubic-bezier(0.16, 1, 0.3, 1)";
237
- function st(t) {
237
+ function ct(t) {
238
238
  return w[t]?.color ?? w.online.color;
239
239
  }
240
240
  function Lt(t, n, o) {
@@ -243,38 +243,38 @@ function Lt(t, n, o) {
243
243
  function Le(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 It({
246
+ function Ot({
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 = st(l), y = h >= i / 2, u = c >= r / 2, g = {
253
+ const { type: a, name: s, status: l, ex: h, ey: c, context: p = {} } = t, f = ct(l), g = h >= i / 2, u = c >= r / 2, y = {
254
254
  position: "fixed",
255
- ...y ? { right: 28 } : { left: 28 },
255
+ ...g ? { right: 28 } : { left: 28 },
256
256
  ...u ? { bottom: 110 } : { top: 72 }
257
- }, m = y ? 40 : -40, x = u ? 30 : -30, v = t.dialogMetrics ?? p.dialogMetrics;
257
+ }, m = g ? 40 : -40, x = u ? 30 : -30, v = t.dialogMetrics ?? p.dialogMetrics;
258
258
  let $;
259
259
  if (v && v.length > 0)
260
- $ = v.map((b, k) => {
261
- const D = b.warnAt ?? 70, P = b.critAt ?? 85;
260
+ $ = v.map((b, R) => {
261
+ const D = b.warnAt ?? 70, C = 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: Le(l, b.value, D, P),
268
+ status: Le(l, b.value, D, C),
269
269
  icon: b.icon ?? "cpu",
270
- delay: k,
270
+ delay: R,
271
271
  colorOverride: b.color,
272
272
  warnAt: D,
273
- critAt: P
273
+ critAt: C
274
274
  };
275
275
  });
276
276
  else {
277
- const b = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60, D = p.capacity ?? 72, P = Le(l, b, 70, 85), E = Le(l, k, 75, 88), W = Le(l, D, 75, 90);
277
+ const b = p.cpuLoad ?? p.traffic ?? 50, R = p.memLoad ?? p.queueDepth ?? 60, D = p.capacity ?? 72, C = Le(l, b, 70, 85), T = Le(l, R, 75, 88), W = Le(l, D, 75, 90);
278
278
  $ = [
279
279
  {
280
280
  id: "cpu",
@@ -282,7 +282,7 @@ function It({
282
282
  sublabel: a === "dispatcher" ? "PORT LOAD" : a === "messageServer" ? "QUEUE DEPTH" : "PROCESSOR",
283
283
  value: b,
284
284
  unit: "%",
285
- status: P,
285
+ status: C,
286
286
  icon: "cpu",
287
287
  delay: 0
288
288
  },
@@ -290,9 +290,9 @@ function It({
290
290
  id: "mem",
291
291
  label: "MEMORY",
292
292
  sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
293
- value: k,
293
+ value: R,
294
294
  unit: "%",
295
- status: E,
295
+ status: T,
296
296
  icon: "mem",
297
297
  delay: 1
298
298
  },
@@ -312,7 +312,7 @@ function It({
312
312
  "div",
313
313
  {
314
314
  style: {
315
- ...g,
315
+ ...y,
316
316
  width: 420,
317
317
  background: "linear-gradient(170deg, rgba(2, 10, 22, 0.96) 0%, rgba(2, 6, 14, 0.98) 100%)",
318
318
  backdropFilter: "blur(20px)",
@@ -393,12 +393,12 @@ function It({
393
393
  borderRight: `2px solid ${f}66`,
394
394
  borderRadius: "0 0 14px 0"
395
395
  }
396
- ].map((b, k) => /* @__PURE__ */ e(
396
+ ].map((b, R) => /* @__PURE__ */ e(
397
397
  "div",
398
398
  {
399
399
  style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...b }
400
400
  },
401
- k
401
+ R
402
402
  )),
403
403
  /* @__PURE__ */ d(
404
404
  "div",
@@ -519,7 +519,7 @@ function It({
519
519
  position: "relative",
520
520
  zIndex: 2
521
521
  },
522
- children: $.map((b) => /* @__PURE__ */ e(Ot, { metric: b, visible: o, accentColor: f }, b.id))
522
+ children: $.map((b) => /* @__PURE__ */ e(Dt, { metric: b, visible: o, accentColor: f }, b.id))
523
523
  }
524
524
  ),
525
525
  /* @__PURE__ */ d(
@@ -568,7 +568,7 @@ function It({
568
568
  }
569
569
  );
570
570
  }
571
- function Ot({
571
+ function Dt({
572
572
  metric: t,
573
573
  visible: n,
574
574
  accentColor: o
@@ -583,8 +583,8 @@ function Ot({
583
583
  delay: c,
584
584
  colorOverride: p,
585
585
  warnAt: f = 70,
586
- critAt: y = 85
587
- } = t, u = p ?? Lt(a, f, y), g = p ?? st(l);
586
+ critAt: g = 85
587
+ } = t, u = p ?? Lt(a, f, g), y = p ?? ct(l);
588
588
  return /* @__PURE__ */ d(
589
589
  "div",
590
590
  {
@@ -604,8 +604,8 @@ function Ot({
604
604
  width: 52,
605
605
  height: 52,
606
606
  borderRadius: 12,
607
- border: `1px solid ${g}44`,
608
- background: `linear-gradient(135deg, ${g}0c 0%, ${g}04 100%)`,
607
+ border: `1px solid ${y}44`,
608
+ background: `linear-gradient(135deg, ${y}0c 0%, ${y}04 100%)`,
609
609
  display: "flex",
610
610
  alignItems: "center",
611
611
  justifyContent: "center",
@@ -615,7 +615,7 @@ function Ot({
615
615
  animation: n ? `comp-dialog-icon-pop 0.5s ${Ve} ${0.35 + c * 0.12}s both` : "none"
616
616
  },
617
617
  children: [
618
- /* @__PURE__ */ e(Dt, { type: h, color: g }),
618
+ /* @__PURE__ */ e(Wt, { type: h, color: y }),
619
619
  (l === "warning" || l === "critical") && /* @__PURE__ */ e(
620
620
  "div",
621
621
  {
@@ -626,8 +626,8 @@ function Ot({
626
626
  width: 5,
627
627
  height: 5,
628
628
  borderRadius: "50%",
629
- background: g,
630
- boxShadow: `0 0 6px ${g}`,
629
+ background: y,
630
+ boxShadow: `0 0 6px ${y}`,
631
631
  animation: "holo-led-blink 1.2s infinite"
632
632
  }
633
633
  }
@@ -736,7 +736,7 @@ function Ot({
736
736
  {
737
737
  style: {
738
738
  position: "absolute",
739
- left: `${y}%`,
739
+ left: `${g}%`,
740
740
  top: 0,
741
741
  bottom: 0,
742
742
  width: 1,
@@ -780,7 +780,7 @@ function Ot({
780
780
  {
781
781
  style: {
782
782
  position: "absolute",
783
- left: `${y}%`,
783
+ left: `${g}%`,
784
784
  transform: "translateX(-50%)",
785
785
  fontSize: 6,
786
786
  color: "rgba(255,34,85,0.3)",
@@ -808,7 +808,7 @@ function Ot({
808
808
  }
809
809
  );
810
810
  }
811
- function Dt({ type: t, color: n }) {
811
+ function Wt({ 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 Dt({ 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 Ge = je(null), Ke = je({ index: 0 });
896
+ const qe = je(null), Ke = je({ index: 0 });
897
897
  function xi() {
898
- return we(Ge);
898
+ return we(qe);
899
899
  }
900
900
  function vi() {
901
901
  return we(Ke);
902
902
  }
903
- function Wt({
903
+ function zt({
904
904
  children: t,
905
905
  logoUrl: n,
906
906
  viewState: o,
@@ -913,32 +913,32 @@ function Wt({
913
913
  componentScale: c = 0.35,
914
914
  drillZoom: p = 3.3,
915
915
  autoRotateCarousel: f = !0,
916
- carouselSpeed: y = 6e-3,
916
+ carouselSpeed: g = 6e-3,
917
917
  width: u = 950,
918
- height: g = 790,
918
+ height: y = 790,
919
919
  onSelectSystem: m,
920
920
  onBackgroundClick: x,
921
921
  onComponentClick: v,
922
922
  onCloseDrill: $,
923
923
  selectedSystemStatus: b = "online",
924
- selectedSystemDbSync: k = !0,
924
+ selectedSystemDbSync: R = !0,
925
925
  selectedSystemMetrics: D,
926
- selectedSystemAlerts: P
926
+ selectedSystemAlerts: C
927
927
  }) {
928
- const [E, W] = L(0);
929
- Ee(() => {
928
+ const [T, W] = I(0);
929
+ Te(() => {
930
930
  let z;
931
931
  if ((o === "compact" || o === "collapsing") && f) {
932
932
  const F = () => {
933
- W((ne) => ne + y), z = requestAnimationFrame(F);
933
+ W((ne) => ne + g), z = requestAnimationFrame(F);
934
934
  };
935
935
  z = requestAnimationFrame(F);
936
936
  }
937
937
  return () => cancelAnimationFrame(z);
938
- }, [o, f, y]);
939
- const X = J.Children.toArray(t), j = X.length, N = Et(() => ({
938
+ }, [o, f, g]);
939
+ const X = J.Children.toArray(t), j = X.length, N = Tt(() => ({
940
940
  totalSystems: j,
941
- carouselRotation: E,
941
+ carouselRotation: T,
942
942
  viewState: o,
943
943
  animPhase: i,
944
944
  selectedSystem: r,
@@ -952,7 +952,7 @@ function Wt({
952
952
  containerWidth: u
953
953
  }), [
954
954
  j,
955
- E,
955
+ T,
956
956
  o,
957
957
  i,
958
958
  r,
@@ -965,8 +965,8 @@ function Wt({
965
965
  v,
966
966
  u
967
967
  ]), te = X.map((z, F) => /* @__PURE__ */ e(Ke.Provider, { value: { index: F }, children: z }, F)), ie = o === "expanded" || o === "expanding" && i >= 4;
968
- return /* @__PURE__ */ d(Ge.Provider, { value: N, children: [
969
- /* @__PURE__ */ d("div", { style: { position: "relative", width: u, height: g, margin: "0 auto", flexShrink: 0 }, children: [
968
+ return /* @__PURE__ */ d(qe.Provider, { value: N, children: [
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",
972
972
  {
@@ -990,29 +990,29 @@ function Wt({
990
990
  te
991
991
  ] }),
992
992
  r && /* @__PURE__ */ e("div", { onClick: (z) => z.stopPropagation(), children: /* @__PURE__ */ e(
993
- At,
993
+ It,
994
994
  {
995
995
  name: r,
996
996
  status: b,
997
- dbSync: k,
997
+ dbSync: R,
998
998
  visible: ie && !a,
999
999
  metrics: D,
1000
- alerts: P
1000
+ alerts: C
1001
1001
  }
1002
1002
  ) }),
1003
1003
  a && /* @__PURE__ */ e("div", { onClick: (z) => z.stopPropagation(), children: /* @__PURE__ */ e(
1004
- It,
1004
+ Ot,
1005
1005
  {
1006
1006
  component: a,
1007
1007
  onClose: $,
1008
1008
  visible: s >= 0.3,
1009
1009
  sceneWidth: u,
1010
- sceneHeight: g
1010
+ sceneHeight: y
1011
1011
  }
1012
1012
  ) })
1013
1013
  ] });
1014
1014
  }
1015
- function zt({
1015
+ function Mt({
1016
1016
  x1: t,
1017
1017
  y1: n,
1018
1018
  x2: o,
@@ -1079,14 +1079,14 @@ function zt({
1079
1079
  ] })
1080
1080
  ] });
1081
1081
  }
1082
- const Mt = [
1082
+ const Nt = [
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 Nt({
1089
+ function Bt({
1090
1090
  children: t,
1091
1091
  size: n = 230,
1092
1092
  widthRatio: o = 1,
@@ -1252,7 +1252,7 @@ function Nt({
1252
1252
  background: `radial-gradient(ellipse, ${i}88 0%, ${i}33 40%, transparent 72%)`,
1253
1253
  filter: "blur(12px)"
1254
1254
  } }),
1255
- Mt.map((s, l) => /* @__PURE__ */ e("div", { style: {
1255
+ Nt.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 Nt({
1295
1295
  }, children: r })
1296
1296
  ] });
1297
1297
  }
1298
- const ae = je(null), Bt = "cubic-bezier(0.34, 1.56, 0.64, 1)", it = 330, nt = 340, Ft = 660;
1299
- function dt({
1298
+ const le = je(null), Ft = "cubic-bezier(0.34, 1.56, 0.64, 1)", ot = 330, rt = 340, Ht = 660;
1299
+ function pt({
1300
1300
  name: t,
1301
1301
  status: n = "online",
1302
1302
  connections: o = [],
@@ -1309,32 +1309,32 @@ function dt({
1309
1309
  _animPhase: c,
1310
1310
  _selectedSystem: p,
1311
1311
  _selectedComponent: f,
1312
- _rotateY: y,
1312
+ _rotateY: g,
1313
1313
  _autoRotateComponents: u,
1314
- _componentScale: g,
1314
+ _componentScale: y,
1315
1315
  _drillZoom: m,
1316
1316
  _onSelectSystem: x,
1317
1317
  _onComponentClick: v,
1318
1318
  _containerWidth: $
1319
1319
  }) {
1320
- const b = we(Ge), k = we(Ke), D = a ?? k.index, P = s ?? b?.totalSystems ?? 1, E = l ?? b?.carouselRotation ?? 0, W = h ?? b?.viewState ?? "compact", X = c ?? b?.animPhase ?? 0, j = p ?? b?.selectedSystem ?? null, N = f ?? b?.selectedComponent ?? null, te = y ?? b?.rotateY ?? 20, ie = u ?? b?.autoRotateComponents ?? !0, z = g ?? b?.componentScale ?? 0.35, F = m ?? b?.drillZoom ?? 3.3, ne = x ?? b?.onSelectSystem, $e = v ?? b?.onComponentClick, ke = $ ?? b?.containerWidth ?? 950, V = j === t, M = V && (W === "expanded" || W === "expanding" && X >= 1), R = !M, Re = (ke - Ft) / 2, oe = it + Re, le = D / P * Math.PI * 2 + E, Ne = 420, Te = 160, Pe = oe + Math.cos(le) * Ne, se = 450 + Math.sin(le) * Te, mt = Math.round(se), Be = !V && (W === "expanding" || W === "expanded"), xt = Be ? 0 : 1, Ce = R ? 0.3 + (Math.sin(le) + 1) * 0.1 : 1, vt = R ? Ce : z, Ae = W === "compact" || W === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", tt = V && N, Fe = tt ? F : 1, wt = N?.ex ?? 330, St = N?.ey ?? 300, { size: $t = 90, color: kt = "#00e5ff", widthRatio: Rt = 3 } = i ?? {}, Pt = {
1320
+ const b = we(qe), R = we(Ke), D = a ?? R.index, C = s ?? b?.totalSystems ?? 1, T = l ?? b?.carouselRotation ?? 0, W = h ?? b?.viewState ?? "compact", X = c ?? b?.animPhase ?? 0, j = p ?? b?.selectedSystem ?? null, N = f ?? b?.selectedComponent ?? null, te = g ?? b?.rotateY ?? 20, ie = u ?? b?.autoRotateComponents ?? !0, z = y ?? b?.componentScale ?? 0.35, F = m ?? b?.drillZoom ?? 3.3, ne = x ?? b?.onSelectSystem, $e = v ?? b?.onComponentClick, ke = $ ?? b?.containerWidth ?? 950, V = j === t, M = V && (W === "expanded" || W === "expanding" && X >= 1), P = !M, Re = (ke - Ht) / 2, oe = ot + Re, se = D / C * Math.PI * 2 + T, Ne = 420, Ae = 160, Pe = oe + Math.cos(se) * Ne, de = 450 + Math.sin(se) * Ae, xt = Math.round(de), Be = !V && (W === "expanding" || W === "expanded"), vt = Be ? 0 : 1, Ce = P ? 0.3 + (Math.sin(se) + 1) * 0.1 : 1, wt = P ? Ce : z, Ie = W === "compact" || W === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", nt = V && N, Fe = nt ? F : 1, St = N?.ex ?? 330, $t = N?.ey ?? 300, { size: kt = 90, color: Rt = "#00e5ff", widthRatio: Pt = 3 } = i ?? {}, Ct = {
1321
1321
  name: t,
1322
1322
  isSelected: V,
1323
1323
  isExpandedPos: M,
1324
- isCompact: R,
1324
+ isCompact: P,
1325
1325
  animPhase: X,
1326
1326
  compactCx: Pe,
1327
- compactCy: se,
1327
+ compactCy: de,
1328
1328
  groupScale: Ce,
1329
- effectiveScale: vt,
1330
- transitionValue: Ae,
1329
+ effectiveScale: wt,
1330
+ transitionValue: Ie,
1331
1331
  rotateY: te,
1332
1332
  autoRotateComponents: ie,
1333
1333
  onComponentClick: $e,
1334
1334
  selectedComponentName: N?.name ?? null,
1335
1335
  expandedOffsetX: Re
1336
1336
  };
1337
- return /* @__PURE__ */ e(ae.Provider, { value: Pt, children: /* @__PURE__ */ d(
1337
+ return /* @__PURE__ */ e(le.Provider, { value: Ct, children: /* @__PURE__ */ d(
1338
1338
  "div",
1339
1339
  {
1340
1340
  style: {
@@ -1344,21 +1344,21 @@ function dt({
1344
1344
  width: "100%",
1345
1345
  height: "100%",
1346
1346
  pointerEvents: "none",
1347
- opacity: xt,
1348
- transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Bt}`,
1349
- filter: R && Math.sin(le) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1350
- zIndex: V ? 500 : Be ? 0 : mt,
1351
- transformOrigin: `${oe}px ${nt}px`,
1352
- transform: tt ? `translate(${-(wt - it) * Fe}px, ${-(St - nt) * Fe}px) scale(${Fe})` : "none"
1347
+ opacity: vt,
1348
+ transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Ft}`,
1349
+ filter: P && Math.sin(se) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1350
+ zIndex: V ? 500 : Be ? 0 : xt,
1351
+ transformOrigin: `${oe}px ${rt}px`,
1352
+ transform: nt ? `translate(${-(St - ot) * Fe}px, ${-($t - rt) * Fe}px) scale(${Fe})` : "none"
1353
1353
  },
1354
1354
  children: [
1355
- R && !Be && /* @__PURE__ */ e(
1355
+ P && !Be && /* @__PURE__ */ e(
1356
1356
  "div",
1357
1357
  {
1358
1358
  style: {
1359
1359
  position: "absolute",
1360
1360
  left: Pe,
1361
- top: se,
1361
+ top: de,
1362
1362
  width: 160,
1363
1363
  height: 180,
1364
1364
  transform: "translate(-50%, -80%)",
@@ -1371,13 +1371,13 @@ function dt({
1371
1371
  }
1372
1372
  }
1373
1373
  ),
1374
- R && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
1374
+ P && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
1375
1375
  "div",
1376
1376
  {
1377
1377
  style: {
1378
1378
  position: "absolute",
1379
1379
  left: Pe,
1380
- top: se - 200,
1380
+ top: de - 200,
1381
1381
  transform: `translate(-50%, -50%) scale(${Ce})`,
1382
1382
  zIndex: 110,
1383
1383
  pointerEvents: "none",
@@ -1425,12 +1425,12 @@ function dt({
1425
1425
  style: {
1426
1426
  position: "absolute",
1427
1427
  left: M ? oe : Pe,
1428
- top: M ? 48 : se - 180,
1428
+ top: M ? 48 : de - 180,
1429
1429
  transform: `translate(-50%, -50%) scale(${M ? 1.2 : Ce * 1.5})`,
1430
1430
  opacity: 1,
1431
1431
  pointerEvents: "none",
1432
1432
  zIndex: 100,
1433
- transition: Ae,
1433
+ transition: Ie,
1434
1434
  fontSize: 36,
1435
1435
  fontWeight: 700,
1436
1436
  letterSpacing: "0.18em",
@@ -1455,10 +1455,10 @@ function dt({
1455
1455
  height: 640,
1456
1456
  pointerEvents: "none",
1457
1457
  zIndex: 0,
1458
- transition: Ae
1458
+ transition: Ie
1459
1459
  },
1460
- children: o.map((Q, Ct) => /* @__PURE__ */ e(
1461
- zt,
1460
+ children: o.map((Q, Et) => /* @__PURE__ */ e(
1461
+ Mt,
1462
1462
  {
1463
1463
  x1: Q.from[0],
1464
1464
  y1: Q.from[1],
@@ -1468,7 +1468,7 @@ function dt({
1468
1468
  color: Q.color,
1469
1469
  dur: Q.duration
1470
1470
  },
1471
- Ct
1471
+ Et
1472
1472
  ))
1473
1473
  }
1474
1474
  ),
@@ -1478,12 +1478,12 @@ function dt({
1478
1478
  style: {
1479
1479
  position: "absolute",
1480
1480
  left: M ? oe : Pe,
1481
- top: M ? 570 : se + 70,
1481
+ top: M ? 570 : de + 70,
1482
1482
  transform: `translate(-50%, -50%) scaleX(${M ? 1 : 0.4}) scaleY(${M ? 1 : 0.6}) scale(${M ? 1 : Ce})`,
1483
- transition: Ae,
1483
+ transition: Ie,
1484
1484
  zIndex: 1
1485
1485
  },
1486
- children: /* @__PURE__ */ e(Nt, { size: $t, color: kt, widthRatio: Rt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1486
+ children: /* @__PURE__ */ e(Bt, { size: kt, color: Rt, widthRatio: Pt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1487
1487
  }
1488
1488
  ),
1489
1489
  r
@@ -1491,7 +1491,7 @@ function dt({
1491
1491
  }
1492
1492
  ) });
1493
1493
  }
1494
- function I({
1494
+ function L({
1495
1495
  ex: t,
1496
1496
  ey: n,
1497
1497
  status: o,
@@ -1503,20 +1503,20 @@ function I({
1503
1503
  align: h = "right",
1504
1504
  internalRef: c
1505
1505
  }) {
1506
- const p = we(ae), f = p?.expandedOffsetX ?? 0;
1506
+ const p = we(le), f = p?.expandedOffsetX ?? 0;
1507
1507
  if (o === "online") return null;
1508
- const y = l && !!p?.isExpandedPos, u = w[o]?.color ?? w.warning.color, g = Math.abs(a) > Math.abs(s), m = t + f + (g ? Math.sign(a) * 45 : 0), x = n + (g ? 0 : Math.sign(s) * 40), v = t + f + a, $ = n + s;
1508
+ const g = l && !!p?.isExpandedPos, u = w[o]?.color ?? w.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, $ = n + s;
1509
1509
  let b = "";
1510
- if (g) {
1511
- const E = m + (v - m) / 2;
1512
- b = `M ${m} ${x} L ${E} ${x} L ${E} ${$} L ${v} ${$}`;
1510
+ if (y) {
1511
+ const T = m + (v - m) / 2;
1512
+ b = `M ${m} ${x} L ${T} ${x} L ${T} ${$} L ${v} ${$}`;
1513
1513
  } else {
1514
- const E = x + ($ - x) / 2;
1515
- b = `M ${m} ${x} L ${m} ${E} L ${v} ${E} L ${v} ${$}`;
1514
+ const T = x + ($ - x) / 2;
1515
+ b = `M ${m} ${x} L ${m} ${T} L ${v} ${T} L ${v} ${$}`;
1516
1516
  }
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 D = h === "left" ? -8 : h === "right" ? 8 : 0, P = h === "top" ? -8 : h === "bottom" ? 8 : 0;
1517
+ let R = "translate(0, -50%)";
1518
+ h === "left" && (R = "translate(-100%, -50%)"), h === "top" && (R = "translate(-50%, -100%)"), h === "bottom" && (R = "translate(-50%, 0)");
1519
+ const D = h === "left" ? -8 : h === "right" ? 8 : 0, C = h === "top" ? -8 : h === "bottom" ? 8 : 0;
1520
1520
  return /* @__PURE__ */ d(
1521
1521
  "div",
1522
1522
  {
@@ -1527,7 +1527,7 @@ function I({
1527
1527
  width: "100%",
1528
1528
  height: "100%",
1529
1529
  pointerEvents: "none",
1530
- opacity: y ? 1 : 0,
1530
+ opacity: g ? 1 : 0,
1531
1531
  transition: "opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s",
1532
1532
  zIndex: 150
1533
1533
  },
@@ -1564,9 +1564,9 @@ function I({
1564
1564
  position: "absolute",
1565
1565
  left: v,
1566
1566
  top: $,
1567
- transform: k,
1567
+ transform: R,
1568
1568
  marginLeft: D,
1569
- marginTop: P,
1569
+ marginTop: C,
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}`,
@@ -1638,7 +1638,7 @@ function I({
1638
1638
  }
1639
1639
  );
1640
1640
  }
1641
- function A({
1641
+ function k({
1642
1642
  ex: t,
1643
1643
  ey: n,
1644
1644
  compactOffset: o,
@@ -1651,11 +1651,11 @@ function A({
1651
1651
  componentInfo: c,
1652
1652
  visibleAtPhase: p = 0,
1653
1653
  fixedScale: f,
1654
- bare: y = !1,
1654
+ bare: g = !1,
1655
1655
  alert: u
1656
1656
  }) {
1657
- const g = we(ae);
1658
- if (!g)
1657
+ const y = we(le);
1658
+ if (!y)
1659
1659
  throw new Error("ServiceNode must be used inside a <Service> component.");
1660
1660
  const {
1661
1661
  isExpandedPos: m,
@@ -1663,12 +1663,12 @@ function A({
1663
1663
  compactCx: v,
1664
1664
  compactCy: $,
1665
1665
  groupScale: b,
1666
- effectiveScale: k,
1666
+ effectiveScale: R,
1667
1667
  transitionValue: D,
1668
- onComponentClick: P,
1669
- selectedComponentName: E,
1668
+ onComponentClick: C,
1669
+ selectedComponentName: T,
1670
1670
  expandedOffsetX: W
1671
- } = g, j = p === 0 || g.isSelected && x >= p ? 1 : 0, N = v + o.x, te = $ + o.y, ie = m ? t + W : N, z = m ? n : te, F = f !== void 0 ? f : g.isCompact ? b : k, ne = !!c && !!E && c.name === E, $e = c?.status ? w[c.status]?.color ?? a : a, ke = c?.status === "offline" ? "#4a6a8a" : $e, V = c && m && P ? () => P({
1671
+ } = y, j = p === 0 || y.isSelected && x >= p ? 1 : 0, N = v + o.x, te = $ + o.y, ie = m ? t + W : N, z = m ? n : te, F = f !== void 0 ? f : y.isCompact ? b : R, ne = !!c && !!T && c.name === T, $e = c?.status ? w[c.status]?.color ?? a : a, ke = c?.status === "offline" ? "#4a6a8a" : $e, V = c && m && C ? () => C({
1672
1672
  type: c.type,
1673
1673
  name: c.name,
1674
1674
  status: c.status,
@@ -1678,7 +1678,7 @@ function A({
1678
1678
  dialogMetrics: c.dialogMetrics,
1679
1679
  subComponents: c.subComponents,
1680
1680
  graphSeries: c.graphSeries
1681
- }) : void 0, M = c?.status ?? "online", R = c?.name ?? s ?? "";
1681
+ }) : void 0, M = c?.status ?? "online", P = c?.name ?? s ?? "";
1682
1682
  return /* @__PURE__ */ d(ve, { children: [
1683
1683
  /* @__PURE__ */ e(
1684
1684
  "div",
@@ -1693,15 +1693,15 @@ function A({
1693
1693
  transition: D || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1694
1694
  pointerEvents: m && j >= 0.5 ? "auto" : "none"
1695
1695
  },
1696
- children: y ? r : /* @__PURE__ */ e(
1697
- Ht,
1696
+ children: g ? r : /* @__PURE__ */ e(
1697
+ Ut,
1698
1698
  {
1699
1699
  statusColor: ke,
1700
1700
  label: s,
1701
1701
  subLabel: l,
1702
1702
  delay: h,
1703
1703
  showLabels: m,
1704
- isCompact: g.isCompact,
1704
+ isCompact: y.isCompact,
1705
1705
  onClick: V,
1706
1706
  isSelected: ne,
1707
1707
  children: r
@@ -1710,12 +1710,12 @@ function A({
1710
1710
  }
1711
1711
  ),
1712
1712
  u && /* @__PURE__ */ e(
1713
- I,
1713
+ L,
1714
1714
  {
1715
1715
  ex: t,
1716
1716
  ey: n,
1717
1717
  status: M,
1718
- title: R,
1718
+ title: P,
1719
1719
  msg: u.msg,
1720
1720
  offsetX: u.offsetX ?? 110,
1721
1721
  offsetY: u.offsetY ?? -30,
@@ -1726,7 +1726,7 @@ function A({
1726
1726
  )
1727
1727
  ] });
1728
1728
  }
1729
- function Ht({
1729
+ function Ut({
1730
1730
  children: t,
1731
1731
  statusColor: n,
1732
1732
  label: o,
@@ -1737,13 +1737,13 @@ function Ht({
1737
1737
  onClick: l,
1738
1738
  isSelected: h = !1
1739
1739
  }) {
1740
- const [c, p] = L(!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] = I(!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
  {
1744
1744
  className: `float-node${l ? " float-node--interactive" : ""}`,
1745
- onClick: (y) => {
1746
- l && (y.stopPropagation(), l());
1745
+ onClick: (g) => {
1746
+ l && (g.stopPropagation(), l());
1747
1747
  },
1748
1748
  style: {
1749
1749
  cursor: l ? "pointer" : void 0,
@@ -1787,7 +1787,7 @@ function Ht({
1787
1787
  }
1788
1788
  );
1789
1789
  }
1790
- function ct({ synced: t, latencyMs: n }) {
1790
+ function ft({ 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 ct({ synced: t, latencyMs: n }) {
1822
1822
  ] })
1823
1823
  ] });
1824
1824
  }
1825
- const q = 140, H = 240, Z = 160, de = qe(q, H, Z);
1826
- function Ut({
1825
+ const G = 140, H = 240, Z = 160, ce = Ge(G, H, Z);
1826
+ function Yt({
1827
1827
  cfg: t,
1828
1828
  name: n,
1829
1829
  cpuLoad: o,
@@ -1842,7 +1842,7 @@ function Ut({
1842
1842
  "div",
1843
1843
  {
1844
1844
  style: {
1845
- width: q,
1845
+ width: G,
1846
1846
  height: H,
1847
1847
  background: a ? Se : Qe,
1848
1848
  position: "relative",
@@ -2005,7 +2005,7 @@ function Ut({
2005
2005
  }
2006
2006
  ),
2007
2007
  Array.from({ length: 3 }, (p, f) => {
2008
- const y = f < l;
2008
+ const g = f < l;
2009
2009
  return /* @__PURE__ */ d(
2010
2010
  "div",
2011
2011
  {
@@ -2032,8 +2032,8 @@ function Ut({
2032
2032
  height: 5,
2033
2033
  borderRadius: "50%",
2034
2034
  flexShrink: 0,
2035
- background: y ? t.color : "#08142a",
2036
- boxShadow: y ? `0 0 6px ${t.color}, 0 0 12px ${t.color}66` : "none"
2035
+ background: g ? t.color : "#08142a",
2036
+ boxShadow: g ? `0 0 6px ${t.color}, 0 0 12px ${t.color}66` : "none"
2037
2037
  }
2038
2038
  }
2039
2039
  ),
@@ -2049,7 +2049,7 @@ function Ut({
2049
2049
  position: "relative",
2050
2050
  overflow: "hidden"
2051
2051
  },
2052
- children: y && /* @__PURE__ */ e(
2052
+ children: g && /* @__PURE__ */ e(
2053
2053
  "div",
2054
2054
  {
2055
2055
  style: {
@@ -2235,12 +2235,12 @@ function Ut({
2235
2235
  }
2236
2236
  );
2237
2237
  }
2238
- function Yt() {
2238
+ function Vt() {
2239
2239
  return /* @__PURE__ */ d(
2240
2240
  "div",
2241
2241
  {
2242
2242
  style: {
2243
- width: q,
2243
+ width: G,
2244
2244
  height: H,
2245
2245
  background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
2246
2246
  position: "relative",
@@ -2349,7 +2349,7 @@ function Yt() {
2349
2349
  }
2350
2350
  );
2351
2351
  }
2352
- function ot({
2352
+ function at({
2353
2353
  side: t,
2354
2354
  color: n,
2355
2355
  brandLabel: o
@@ -2449,13 +2449,13 @@ function ot({
2449
2449
  }
2450
2450
  );
2451
2451
  }
2452
- function Vt({ cpuLoad: t }) {
2452
+ function _t({ 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((Z - 18) / 7);
2454
2454
  return /* @__PURE__ */ d(
2455
2455
  "div",
2456
2456
  {
2457
2457
  style: {
2458
- width: q,
2458
+ width: G,
2459
2459
  height: Z,
2460
2460
  background: "linear-gradient(180deg, #0c1c30 0%, #070f1e 40%, #040c1a 100%)",
2461
2461
  position: "relative",
@@ -2529,7 +2529,7 @@ function Vt({ cpuLoad: t }) {
2529
2529
  }
2530
2530
  );
2531
2531
  }
2532
- function ue({
2532
+ function ae({
2533
2533
  rotateX: t = -22,
2534
2534
  rotateY: n = 20,
2535
2535
  rotateZ: o = 0,
@@ -2542,17 +2542,17 @@ function ue({
2542
2542
  brandLabel: c = "BUSAUD",
2543
2543
  _compact: p
2544
2544
  }) {
2545
- const [f, y] = L(n), u = ee(0), g = ee(0);
2546
- Ee(() => {
2545
+ const [f, g] = I(n), u = ee(0), y = ee(0);
2546
+ Te(() => {
2547
2547
  if (!r) {
2548
- y(n);
2548
+ g(n);
2549
2549
  return;
2550
2550
  }
2551
2551
  const x = (v) => {
2552
- g.current && y(($) => $ + (v - g.current) * 0.027), g.current = v, u.current = requestAnimationFrame(x);
2552
+ y.current && g(($) => $ + (v - y.current) * 0.027), y.current = v, u.current = requestAnimationFrame(x);
2553
2553
  };
2554
2554
  return u.current = requestAnimationFrame(x), () => {
2555
- cancelAnimationFrame(u.current), g.current = 0;
2555
+ cancelAnimationFrame(u.current), y.current = 0;
2556
2556
  };
2557
2557
  }, [r, n]);
2558
2558
  const m = w[a] ?? w.online;
@@ -2560,7 +2560,7 @@ function ue({
2560
2560
  "div",
2561
2561
  {
2562
2562
  style: {
2563
- width: q * i,
2563
+ width: G * i,
2564
2564
  height: H * i,
2565
2565
  position: "relative",
2566
2566
  display: "flex",
@@ -2613,7 +2613,7 @@ function ue({
2613
2613
  {
2614
2614
  style: {
2615
2615
  position: "absolute",
2616
- width: q * 1.4 * i,
2616
+ width: G * 1.4 * i,
2617
2617
  height: H * 0.8 * i,
2618
2618
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
2619
2619
  filter: `blur(${Math.round(45 * i)}px)`,
@@ -2637,7 +2637,7 @@ function ue({
2637
2637
  "div",
2638
2638
  {
2639
2639
  style: {
2640
- width: q,
2640
+ width: G,
2641
2641
  height: H,
2642
2642
  position: "relative",
2643
2643
  transformStyle: "preserve-3d",
@@ -2645,8 +2645,8 @@ function ue({
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: de.front, children: /* @__PURE__ */ e(
2649
- Ut,
2648
+ /* @__PURE__ */ e("div", { style: ce.front, children: /* @__PURE__ */ e(
2649
+ Yt,
2650
2650
  {
2651
2651
  cfg: m,
2652
2652
  name: s,
@@ -2657,15 +2657,15 @@ function ue({
2657
2657
  brandLabel: c
2658
2658
  }
2659
2659
  ) }),
2660
- /* @__PURE__ */ e("div", { style: de.back, children: /* @__PURE__ */ e(Yt, {}) }),
2661
- /* @__PURE__ */ e("div", { style: de.left, children: /* @__PURE__ */ e(ot, { side: "left", color: m.color, brandLabel: c }) }),
2662
- /* @__PURE__ */ e("div", { style: de.right, children: /* @__PURE__ */ e(ot, { side: "right", color: m.color, brandLabel: c }) }),
2663
- /* @__PURE__ */ e("div", { style: de.top, children: /* @__PURE__ */ e(Vt, { cpuLoad: l }) }),
2664
- /* @__PURE__ */ e("div", { style: de.bottom, children: /* @__PURE__ */ e(
2660
+ /* @__PURE__ */ e("div", { style: ce.back, children: /* @__PURE__ */ e(Vt, {}) }),
2661
+ /* @__PURE__ */ e("div", { style: ce.left, children: /* @__PURE__ */ e(at, { side: "left", color: m.color, brandLabel: c }) }),
2662
+ /* @__PURE__ */ e("div", { style: ce.right, children: /* @__PURE__ */ e(at, { side: "right", color: m.color, brandLabel: c }) }),
2663
+ /* @__PURE__ */ e("div", { style: ce.top, children: /* @__PURE__ */ e(_t, { cpuLoad: l }) }),
2664
+ /* @__PURE__ */ e("div", { style: ce.bottom, children: /* @__PURE__ */ e(
2665
2665
  "div",
2666
2666
  {
2667
2667
  style: {
2668
- width: q,
2668
+ width: G,
2669
2669
  height: Z,
2670
2670
  background: "linear-gradient(180deg, #030710, #020508)"
2671
2671
  }
@@ -2680,11 +2680,56 @@ function ue({
2680
2680
  }
2681
2681
  );
2682
2682
  }
2683
- const Xe = 12, re = 55, _ = re * 2, he = 52, Ze = 10, He = 3 * he + 2 * Ze, ce = 2 * Math.PI * re / Xe, Ue = Array.from({ length: Xe }, (t, n) => n / Xe * 360);
2683
+ function wi({
2684
+ ex: t,
2685
+ ey: n,
2686
+ compactOffset: o,
2687
+ zIndex: i,
2688
+ name: r = "SRV-01",
2689
+ status: a = "online",
2690
+ subLabel: s,
2691
+ color: l,
2692
+ delay: h,
2693
+ visibleAtPhase: c,
2694
+ cpuLoad: p,
2695
+ memLoad: f,
2696
+ brandLabel: g,
2697
+ dialogMetrics: u,
2698
+ subComponents: y,
2699
+ graphSeries: m,
2700
+ alert: x
2701
+ }) {
2702
+ return /* @__PURE__ */ e(
2703
+ k,
2704
+ {
2705
+ ex: t,
2706
+ ey: n,
2707
+ compactOffset: o,
2708
+ zIndex: i,
2709
+ label: r,
2710
+ subLabel: s,
2711
+ color: l,
2712
+ delay: h,
2713
+ visibleAtPhase: c,
2714
+ componentInfo: {
2715
+ type: "server",
2716
+ name: r,
2717
+ status: a,
2718
+ context: { cpuLoad: p, memLoad: f },
2719
+ dialogMetrics: u,
2720
+ subComponents: y,
2721
+ graphSeries: m
2722
+ },
2723
+ alert: x,
2724
+ children: /* @__PURE__ */ e(ae, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
2725
+ }
2726
+ );
2727
+ }
2728
+ const Xe = 12, re = 55, _ = re * 2, ue = 52, Ze = 10, He = 3 * ue + 2 * Ze, pe = 2 * Math.PI * re / Xe, Ue = Array.from({ length: Xe }, (t, n) => n / Xe * 360);
2684
2729
  function Ye(t) {
2685
2730
  return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
2686
2731
  }
2687
- function _t({
2732
+ function Xt({
2688
2733
  diskY: t,
2689
2734
  diskIdx: n,
2690
2735
  cfg: o,
@@ -2694,19 +2739,19 @@ function _t({
2694
2739
  }) {
2695
2740
  return /* @__PURE__ */ d(ve, { children: [
2696
2741
  Ue.map((s, l) => {
2697
- const h = Ye(s), c = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22), y = Math.round(28 + h * 44), u = Math.round(h * 0.55 * 255).toString(16).padStart(2, "0");
2742
+ const h = Ye(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");
2698
2743
  return /* @__PURE__ */ e(
2699
2744
  "div",
2700
2745
  {
2701
2746
  style: {
2702
2747
  position: "absolute",
2703
- width: ce,
2704
- height: he,
2705
- left: (_ - ce) / 2,
2748
+ width: pe,
2749
+ height: ue,
2750
+ left: (_ - pe) / 2,
2706
2751
  top: t,
2707
2752
  transform: `rotateY(${s}deg) translateZ(${re}px)`,
2708
2753
  backfaceVisibility: "hidden",
2709
- 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},${y})`,
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})`,
2710
2755
  borderLeft: `1px solid ${o.color}${u}`,
2711
2756
  boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
2712
2757
  },
@@ -2827,7 +2872,7 @@ function _t({
2827
2872
  width: _ + 4,
2828
2873
  height: _ + 4,
2829
2874
  left: -2,
2830
- top: t + he - re,
2875
+ top: t + ue - re,
2831
2876
  borderRadius: "50%",
2832
2877
  transform: "rotateX(-90deg)",
2833
2878
  backfaceVisibility: "hidden",
@@ -2858,10 +2903,10 @@ function _t({
2858
2903
  {
2859
2904
  style: {
2860
2905
  position: "absolute",
2861
- width: ce + 1.5,
2906
+ width: pe + 1.5,
2862
2907
  height: 6,
2863
- left: (_ - ce - 1.5) / 2,
2864
- top: t + he - 3,
2908
+ left: (_ - pe - 1.5) / 2,
2909
+ top: t + ue - 3,
2865
2910
  transform: `rotateY(${s}deg) translateZ(${re + 1.5}px)`,
2866
2911
  backfaceVisibility: "hidden",
2867
2912
  background: o.color,
@@ -2879,10 +2924,10 @@ function _t({
2879
2924
  {
2880
2925
  style: {
2881
2926
  position: "absolute",
2882
- width: ce,
2927
+ width: pe,
2883
2928
  height: Ze,
2884
- left: (_ - ce) / 2,
2885
- top: t + he,
2929
+ left: (_ - pe) / 2,
2930
+ top: t + ue,
2886
2931
  transform: `rotateY(${s}deg) translateZ(${re}px)`,
2887
2932
  backfaceVisibility: "hidden",
2888
2933
  background: `rgb(${c},${p},${f})`
@@ -2893,7 +2938,7 @@ function _t({
2893
2938
  })
2894
2939
  ] });
2895
2940
  }
2896
- function Oe({
2941
+ function Ee({
2897
2942
  rotateX: t = -22,
2898
2943
  rotateY: n = -15,
2899
2944
  rotateZ: o = 0,
@@ -2905,20 +2950,20 @@ function Oe({
2905
2950
  // connections = 284,
2906
2951
  _compact: l
2907
2952
  }) {
2908
- const [h, c] = L(n), p = ee(0), f = ee(0);
2909
- Ee(() => {
2953
+ const [h, c] = I(n), p = ee(0), f = ee(0);
2954
+ Te(() => {
2910
2955
  if (!r) {
2911
2956
  c(n);
2912
2957
  return;
2913
2958
  }
2914
- const u = (g) => {
2915
- f.current && c((m) => m + (g - f.current) * 0.027), f.current = g, p.current = requestAnimationFrame(u);
2959
+ const u = (y) => {
2960
+ f.current && c((m) => m + (y - f.current) * 0.027), f.current = y, p.current = requestAnimationFrame(u);
2916
2961
  };
2917
2962
  return p.current = requestAnimationFrame(u), () => {
2918
2963
  cancelAnimationFrame(p.current), f.current = 0;
2919
2964
  };
2920
2965
  }, [r, n]);
2921
- const y = w[a] ?? w.online;
2966
+ const g = w[a] ?? w.online;
2922
2967
  return /* @__PURE__ */ d(
2923
2968
  "div",
2924
2969
  {
@@ -2986,7 +3031,7 @@ function Oe({
2986
3031
  position: "absolute",
2987
3032
  width: _ * 2.8 * i,
2988
3033
  height: He * 0.85 * i,
2989
- background: `radial-gradient(ellipse, ${y.glow} 0%, transparent 65%)`,
3034
+ background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
2990
3035
  filter: `blur(${Math.round(50 * i)}px)`,
2991
3036
  pointerEvents: "none",
2992
3037
  top: "45%",
@@ -3016,11 +3061,11 @@ function Oe({
3016
3061
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
3017
3062
  },
3018
3063
  children: [0, 1, 2].map((u) => /* @__PURE__ */ e(
3019
- _t,
3064
+ Xt,
3020
3065
  {
3021
- diskY: u * (he + Ze),
3066
+ diskY: u * (ue + Ze),
3022
3067
  diskIdx: u,
3023
- cfg: y,
3068
+ cfg: g,
3024
3069
  hasRingBelow: u < 2,
3025
3070
  capacity: s,
3026
3071
  compact: l
@@ -3035,8 +3080,186 @@ function Oe({
3035
3080
  }
3036
3081
  );
3037
3082
  }
3038
- const G = 190, U = 72, be = 120, pe = qe(G, U, be);
3039
- function Xt({
3083
+ function Si({
3084
+ ex: t,
3085
+ ey: n,
3086
+ compactOffset: o,
3087
+ zIndex: i,
3088
+ name: r = "DB-01",
3089
+ status: a = "online",
3090
+ subLabel: s,
3091
+ color: l,
3092
+ delay: h,
3093
+ visibleAtPhase: c,
3094
+ capacity: p,
3095
+ dialogMetrics: f,
3096
+ subComponents: g,
3097
+ graphSeries: u,
3098
+ alert: y
3099
+ }) {
3100
+ return /* @__PURE__ */ e(
3101
+ k,
3102
+ {
3103
+ ex: t,
3104
+ ey: n,
3105
+ compactOffset: o,
3106
+ zIndex: i,
3107
+ label: r,
3108
+ subLabel: s,
3109
+ color: l,
3110
+ delay: h,
3111
+ visibleAtPhase: c,
3112
+ componentInfo: {
3113
+ type: "database",
3114
+ name: r,
3115
+ status: a,
3116
+ context: { capacity: p },
3117
+ dialogMetrics: f,
3118
+ subComponents: g,
3119
+ graphSeries: u
3120
+ },
3121
+ alert: y,
3122
+ children: /* @__PURE__ */ e(Ee, { status: a, capacity: p })
3123
+ }
3124
+ );
3125
+ }
3126
+ function Je({ status: t = "online", scale: n = 1 }) {
3127
+ const i = (w[t] ?? w.online).color;
3128
+ return /* @__PURE__ */ e(
3129
+ "div",
3130
+ {
3131
+ style: {
3132
+ width: 80 * n,
3133
+ height: 140 * n,
3134
+ display: "flex",
3135
+ alignItems: "center",
3136
+ justifyContent: "center"
3137
+ },
3138
+ children: /* @__PURE__ */ d(
3139
+ "div",
3140
+ {
3141
+ style: {
3142
+ display: "flex",
3143
+ flexDirection: "column",
3144
+ alignItems: "center",
3145
+ fontFamily: "'Courier New', monospace",
3146
+ userSelect: "none",
3147
+ transform: `scale(${n})`,
3148
+ transformOrigin: "center center"
3149
+ },
3150
+ children: [
3151
+ /* @__PURE__ */ d("div", { style: { position: "relative", animation: "holo-float 4s ease-in-out infinite" }, children: [
3152
+ /* @__PURE__ */ e(
3153
+ "div",
3154
+ {
3155
+ style: {
3156
+ position: "absolute",
3157
+ top: 0,
3158
+ left: 0,
3159
+ right: 0,
3160
+ height: "1.5px",
3161
+ background: `linear-gradient(90deg, transparent 5%, ${i}cc 40%, #fff 50%, ${i}cc 60%, transparent 95%)`,
3162
+ boxShadow: `0 0 8px ${i}`,
3163
+ animation: "holo-scan 3.5s linear infinite",
3164
+ pointerEvents: "none",
3165
+ zIndex: 10
3166
+ }
3167
+ }
3168
+ ),
3169
+ /* @__PURE__ */ d(
3170
+ "svg",
3171
+ {
3172
+ width: "70",
3173
+ height: "75",
3174
+ viewBox: "0 0 70 75",
3175
+ style: { display: "block", overflow: "visible" },
3176
+ children: [
3177
+ /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ d("radialGradient", { id: `usr-glow-${t}`, cx: "50%", cy: "45%", r: "55%", children: [
3178
+ /* @__PURE__ */ e("stop", { offset: "0%", stopColor: i, stopOpacity: "0.12" }),
3179
+ /* @__PURE__ */ e("stop", { offset: "100%", stopColor: i, stopOpacity: "0" })
3180
+ ] }) }),
3181
+ /* @__PURE__ */ e("ellipse", { cx: "35", cy: "37", rx: "34", ry: "32", fill: `url(#usr-glow-${t})` }),
3182
+ /* @__PURE__ */ e(
3183
+ "circle",
3184
+ {
3185
+ cx: "35",
3186
+ cy: "20",
3187
+ r: "13",
3188
+ fill: i + "0a",
3189
+ stroke: i,
3190
+ strokeWidth: "1.5",
3191
+ style: { filter: `drop-shadow(0 0 6px ${i})` }
3192
+ }
3193
+ ),
3194
+ /* @__PURE__ */ e("circle", { cx: "35", cy: "20", r: "7", fill: "none", stroke: i + "30", strokeWidth: "0.5" }),
3195
+ /* @__PURE__ */ e("circle", { cx: "35", cy: "20", r: "3", fill: i + "18", stroke: "none" }),
3196
+ /* @__PURE__ */ e(
3197
+ "path",
3198
+ {
3199
+ d: "M7 71 Q7 47 20 39 Q27 35 35 35 Q43 35 50 39 Q63 47 63 71",
3200
+ fill: i + "08",
3201
+ stroke: i,
3202
+ strokeWidth: "1.5",
3203
+ strokeLinecap: "round",
3204
+ style: { filter: `drop-shadow(0 0 5px ${i})` }
3205
+ }
3206
+ ),
3207
+ /* @__PURE__ */ e(
3208
+ "path",
3209
+ {
3210
+ d: "M16 65 Q16 51 26 44 Q30 42 35 42 Q40 42 44 44 Q54 51 54 65",
3211
+ fill: "none",
3212
+ stroke: i + "20",
3213
+ strokeWidth: "0.6",
3214
+ strokeDasharray: "4,5"
3215
+ }
3216
+ ),
3217
+ /* @__PURE__ */ e(
3218
+ "path",
3219
+ {
3220
+ d: "M24 61 Q24 53 30 49 Q32 48 35 48 Q38 48 40 49 Q46 53 46 61",
3221
+ fill: "none",
3222
+ stroke: i + "18",
3223
+ strokeWidth: "0.5",
3224
+ strokeDasharray: "2,4"
3225
+ }
3226
+ )
3227
+ ]
3228
+ }
3229
+ )
3230
+ ] }),
3231
+ /* @__PURE__ */ e("div", { style: { height: 22 } })
3232
+ ]
3233
+ }
3234
+ )
3235
+ }
3236
+ );
3237
+ }
3238
+ function $i({
3239
+ ex: t,
3240
+ ey: n,
3241
+ compactOffset: o,
3242
+ zIndex: i,
3243
+ status: r = "online",
3244
+ scale: a,
3245
+ color: s,
3246
+ visibleAtPhase: l
3247
+ }) {
3248
+ return /* @__PURE__ */ e(
3249
+ k,
3250
+ {
3251
+ ex: t,
3252
+ ey: n,
3253
+ compactOffset: o,
3254
+ zIndex: i,
3255
+ color: s,
3256
+ visibleAtPhase: l,
3257
+ children: /* @__PURE__ */ e(Je, { status: r, scale: a })
3258
+ }
3259
+ );
3260
+ }
3261
+ const q = 190, U = 72, be = 120, fe = Ge(q, U, be);
3262
+ function jt({
3040
3263
  cfg: t,
3041
3264
  name: n,
3042
3265
  traffic: o,
@@ -3048,7 +3271,7 @@ function Xt({
3048
3271
  "div",
3049
3272
  {
3050
3273
  style: {
3051
- width: G,
3274
+ width: q,
3052
3275
  height: U,
3053
3276
  background: r ? Se : Qe,
3054
3277
  position: "relative",
@@ -3298,12 +3521,12 @@ function Xt({
3298
3521
  }
3299
3522
  );
3300
3523
  }
3301
- function jt() {
3524
+ function Qt() {
3302
3525
  return /* @__PURE__ */ d(
3303
3526
  "div",
3304
3527
  {
3305
3528
  style: {
3306
- width: G,
3529
+ width: q,
3307
3530
  height: U,
3308
3531
  background: "linear-gradient(180deg, #040c1a, #030810)",
3309
3532
  position: "relative",
@@ -3386,7 +3609,7 @@ function jt() {
3386
3609
  }
3387
3610
  );
3388
3611
  }
3389
- function rt({ side: t, color: n }) {
3612
+ function lt({ side: t, color: n }) {
3390
3613
  return /* @__PURE__ */ d(
3391
3614
  "div",
3392
3615
  {
@@ -3443,13 +3666,13 @@ function rt({ side: t, color: n }) {
3443
3666
  }
3444
3667
  );
3445
3668
  }
3446
- function Qt({ traffic: t }) {
3669
+ function Gt({ traffic: t }) {
3447
3670
  const n = Math.floor((be - 14) / 7);
3448
3671
  return /* @__PURE__ */ d(
3449
3672
  "div",
3450
3673
  {
3451
3674
  style: {
3452
- width: G,
3675
+ width: q,
3453
3676
  height: be,
3454
3677
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
3455
3678
  position: "relative",
@@ -3502,7 +3725,7 @@ function Qt({ traffic: t }) {
3502
3725
  }
3503
3726
  );
3504
3727
  }
3505
- function pt({
3728
+ function et({
3506
3729
  rotateX: t = -20,
3507
3730
  rotateY: n = 20,
3508
3731
  rotateZ: o = 0,
@@ -3514,25 +3737,25 @@ function pt({
3514
3737
  activeRoutes: h = 12,
3515
3738
  _compact: c
3516
3739
  }) {
3517
- const [p, f] = L(n), y = ee(0), u = ee(0);
3518
- Ee(() => {
3740
+ const [p, f] = I(n), g = ee(0), u = ee(0);
3741
+ Te(() => {
3519
3742
  if (!r) {
3520
3743
  f(n);
3521
3744
  return;
3522
3745
  }
3523
3746
  const m = (x) => {
3524
- u.current && f((v) => v + (x - u.current) * 0.027), u.current = x, y.current = requestAnimationFrame(m);
3747
+ u.current && f((v) => v + (x - u.current) * 0.027), u.current = x, g.current = requestAnimationFrame(m);
3525
3748
  };
3526
- return y.current = requestAnimationFrame(m), () => {
3527
- cancelAnimationFrame(y.current), u.current = 0;
3749
+ return g.current = requestAnimationFrame(m), () => {
3750
+ cancelAnimationFrame(g.current), u.current = 0;
3528
3751
  };
3529
3752
  }, [r, n]);
3530
- const g = w[a] ?? w.online;
3753
+ const y = w[a] ?? w.online;
3531
3754
  return /* @__PURE__ */ d(
3532
3755
  "div",
3533
3756
  {
3534
3757
  style: {
3535
- width: G * i,
3758
+ width: q * i,
3536
3759
  height: U * i,
3537
3760
  position: "relative",
3538
3761
  display: "flex",
@@ -3593,9 +3816,9 @@ function pt({
3593
3816
  {
3594
3817
  style: {
3595
3818
  position: "absolute",
3596
- width: G * 1.3 * i,
3819
+ width: q * 1.3 * i,
3597
3820
  height: U * 2 * i,
3598
- background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
3821
+ background: `radial-gradient(ellipse, ${y.glow} 0%, transparent 65%)`,
3599
3822
  filter: `blur(${Math.round(40 * i)}px)`,
3600
3823
  pointerEvents: "none",
3601
3824
  top: "40%",
@@ -3617,7 +3840,7 @@ function pt({
3617
3840
  "div",
3618
3841
  {
3619
3842
  style: {
3620
- width: G,
3843
+ width: q,
3621
3844
  height: U,
3622
3845
  position: "relative",
3623
3846
  transformStyle: "preserve-3d",
@@ -3625,21 +3848,21 @@ function pt({
3625
3848
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
3626
3849
  },
3627
3850
  children: [
3628
- /* @__PURE__ */ e("div", { style: pe.front, children: /* @__PURE__ */ e(
3629
- Xt,
3851
+ /* @__PURE__ */ e("div", { style: fe.front, children: /* @__PURE__ */ e(
3852
+ jt,
3630
3853
  {
3631
- cfg: g,
3854
+ cfg: y,
3632
3855
  name: s,
3633
3856
  traffic: l,
3634
3857
  activeRoutes: h,
3635
3858
  compact: c
3636
3859
  }
3637
3860
  ) }),
3638
- /* @__PURE__ */ e("div", { style: pe.back, children: /* @__PURE__ */ e(jt, {}) }),
3639
- /* @__PURE__ */ e("div", { style: pe.left, children: /* @__PURE__ */ e(rt, { side: "left", color: g.color }) }),
3640
- /* @__PURE__ */ e("div", { style: pe.right, children: /* @__PURE__ */ e(rt, { side: "right", color: g.color }) }),
3641
- /* @__PURE__ */ e("div", { style: pe.top, children: /* @__PURE__ */ e(Qt, { traffic: l }) }),
3642
- /* @__PURE__ */ e("div", { style: pe.bottom, children: /* @__PURE__ */ e("div", { style: { width: G, height: be, background: "#020508" } }) })
3861
+ /* @__PURE__ */ e("div", { style: fe.back, children: /* @__PURE__ */ e(Qt, {}) }),
3862
+ /* @__PURE__ */ e("div", { style: fe.left, children: /* @__PURE__ */ e(lt, { side: "left", color: y.color }) }),
3863
+ /* @__PURE__ */ e("div", { style: fe.right, children: /* @__PURE__ */ e(lt, { side: "right", color: y.color }) }),
3864
+ /* @__PURE__ */ e("div", { style: fe.top, children: /* @__PURE__ */ e(Gt, { traffic: l }) }),
3865
+ /* @__PURE__ */ e("div", { style: fe.bottom, children: /* @__PURE__ */ e("div", { style: { width: q, height: be, background: "#020508" } }) })
3643
3866
  ]
3644
3867
  }
3645
3868
  )
@@ -3649,7 +3872,51 @@ function pt({
3649
3872
  }
3650
3873
  );
3651
3874
  }
3652
- const K = 190, Y = 72, ge = 120, fe = qe(K, Y, ge), at = {
3875
+ function ki({
3876
+ ex: t,
3877
+ ey: n,
3878
+ compactOffset: o,
3879
+ zIndex: i,
3880
+ name: r = "WEB-DISP",
3881
+ status: a = "online",
3882
+ subLabel: s,
3883
+ color: l,
3884
+ delay: h,
3885
+ visibleAtPhase: c,
3886
+ traffic: p,
3887
+ activeRoutes: f,
3888
+ dialogMetrics: g,
3889
+ subComponents: u,
3890
+ graphSeries: y,
3891
+ alert: m
3892
+ }) {
3893
+ return /* @__PURE__ */ e(
3894
+ k,
3895
+ {
3896
+ ex: t,
3897
+ ey: n,
3898
+ compactOffset: o,
3899
+ zIndex: i,
3900
+ label: r,
3901
+ subLabel: s,
3902
+ color: l,
3903
+ delay: h,
3904
+ visibleAtPhase: c,
3905
+ componentInfo: {
3906
+ type: "dispatcher",
3907
+ name: r,
3908
+ status: a,
3909
+ context: { traffic: p, activeRoutes: f },
3910
+ dialogMetrics: g,
3911
+ subComponents: u,
3912
+ graphSeries: y
3913
+ },
3914
+ alert: m,
3915
+ children: /* @__PURE__ */ e(et, { status: a, traffic: p, activeRoutes: f })
3916
+ }
3917
+ );
3918
+ }
3919
+ const K = 190, Y = 72, ge = 120, he = Ge(K, Y, ge), st = {
3653
3920
  online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
3654
3921
  warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
3655
3922
  critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
@@ -3914,7 +4181,7 @@ function qt({
3914
4181
  }
3915
4182
  );
3916
4183
  }
3917
- function Gt() {
4184
+ function Kt() {
3918
4185
  return /* @__PURE__ */ d(
3919
4186
  "div",
3920
4187
  {
@@ -4002,7 +4269,7 @@ function Gt() {
4002
4269
  }
4003
4270
  );
4004
4271
  }
4005
- function lt({ side: t, color: n }) {
4272
+ function dt({ side: t, color: n }) {
4006
4273
  return /* @__PURE__ */ d(
4007
4274
  "div",
4008
4275
  {
@@ -4059,7 +4326,7 @@ function lt({ side: t, color: n }) {
4059
4326
  }
4060
4327
  );
4061
4328
  }
4062
- function Kt({ queueDepth: t, color: n }) {
4329
+ function Zt({ queueDepth: t, color: n }) {
4063
4330
  const o = Math.floor((ge - 14) / 7);
4064
4331
  return /* @__PURE__ */ d(
4065
4332
  "div",
@@ -4118,7 +4385,7 @@ function Kt({ queueDepth: t, color: n }) {
4118
4385
  }
4119
4386
  );
4120
4387
  }
4121
- function Zt({
4388
+ function ht({
4122
4389
  rotateX: t = -20,
4123
4390
  rotateY: n = 20,
4124
4391
  rotateZ: o = 0,
@@ -4131,20 +4398,20 @@ function Zt({
4131
4398
  instances: c = 3,
4132
4399
  _compact: p
4133
4400
  }) {
4134
- const [f, y] = L(n), u = ee(0), g = ee(0);
4135
- Ee(() => {
4401
+ const [f, g] = I(n), u = ee(0), y = ee(0);
4402
+ Te(() => {
4136
4403
  if (!r) {
4137
- y(n);
4404
+ g(n);
4138
4405
  return;
4139
4406
  }
4140
4407
  const x = (v) => {
4141
- g.current && y(($) => $ + (v - g.current) * 0.027), g.current = v, u.current = requestAnimationFrame(x);
4408
+ y.current && g(($) => $ + (v - y.current) * 0.027), y.current = v, u.current = requestAnimationFrame(x);
4142
4409
  };
4143
4410
  return u.current = requestAnimationFrame(x), () => {
4144
- cancelAnimationFrame(u.current), g.current = 0;
4411
+ cancelAnimationFrame(u.current), y.current = 0;
4145
4412
  };
4146
4413
  }, [r, n]);
4147
- const m = at[a] ?? at.online;
4414
+ const m = st[a] ?? st.online;
4148
4415
  return /* @__PURE__ */ d(
4149
4416
  "div",
4150
4417
  {
@@ -4242,7 +4509,7 @@ function Zt({
4242
4509
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
4243
4510
  },
4244
4511
  children: [
4245
- /* @__PURE__ */ e("div", { style: fe.front, children: /* @__PURE__ */ e(
4512
+ /* @__PURE__ */ e("div", { style: he.front, children: /* @__PURE__ */ e(
4246
4513
  qt,
4247
4514
  {
4248
4515
  cfg: m,
@@ -4253,11 +4520,11 @@ function Zt({
4253
4520
  compact: p
4254
4521
  }
4255
4522
  ) }),
4256
- /* @__PURE__ */ e("div", { style: fe.back, children: /* @__PURE__ */ e(Gt, {}) }),
4257
- /* @__PURE__ */ e("div", { style: fe.left, children: /* @__PURE__ */ e(lt, { side: "left", color: m.color }) }),
4258
- /* @__PURE__ */ e("div", { style: fe.right, children: /* @__PURE__ */ e(lt, { side: "right", color: m.color }) }),
4259
- /* @__PURE__ */ e("div", { style: fe.top, children: /* @__PURE__ */ e(Kt, { queueDepth: l, color: m.color }) }),
4260
- /* @__PURE__ */ e("div", { style: fe.bottom, children: /* @__PURE__ */ e("div", { style: { width: K, height: ge, background: "#020508" } }) })
4523
+ /* @__PURE__ */ e("div", { style: he.back, children: /* @__PURE__ */ e(Kt, {}) }),
4524
+ /* @__PURE__ */ e("div", { style: he.left, children: /* @__PURE__ */ e(dt, { side: "left", color: m.color }) }),
4525
+ /* @__PURE__ */ e("div", { style: he.right, children: /* @__PURE__ */ e(dt, { side: "right", color: m.color }) }),
4526
+ /* @__PURE__ */ e("div", { style: he.top, children: /* @__PURE__ */ e(Zt, { queueDepth: l, color: m.color }) }),
4527
+ /* @__PURE__ */ e("div", { style: he.bottom, children: /* @__PURE__ */ e("div", { style: { width: K, height: ge, background: "#020508" } }) })
4261
4528
  ]
4262
4529
  }
4263
4530
  )
@@ -4267,119 +4534,60 @@ function Zt({
4267
4534
  }
4268
4535
  );
4269
4536
  }
4270
- function ft({ status: t = "online", scale: n = 1 }) {
4271
- const i = (w[t] ?? w.online).color;
4537
+ function Ri({
4538
+ ex: t,
4539
+ ey: n,
4540
+ compactOffset: o,
4541
+ zIndex: i,
4542
+ name: r = "MSG-SRV",
4543
+ status: a = "online",
4544
+ subLabel: s,
4545
+ color: l,
4546
+ delay: h,
4547
+ visibleAtPhase: c,
4548
+ queueDepth: p,
4549
+ msgsPerSec: f,
4550
+ instances: g,
4551
+ dialogMetrics: u,
4552
+ subComponents: y,
4553
+ graphSeries: m,
4554
+ alert: x
4555
+ }) {
4272
4556
  return /* @__PURE__ */ e(
4273
- "div",
4557
+ k,
4274
4558
  {
4275
- style: {
4276
- width: 80 * n,
4277
- height: 140 * n,
4278
- display: "flex",
4279
- alignItems: "center",
4280
- justifyContent: "center"
4559
+ ex: t,
4560
+ ey: n,
4561
+ compactOffset: o,
4562
+ zIndex: i,
4563
+ label: r,
4564
+ subLabel: s,
4565
+ color: l,
4566
+ delay: h,
4567
+ visibleAtPhase: c,
4568
+ componentInfo: {
4569
+ type: "messageServer",
4570
+ name: r,
4571
+ status: a,
4572
+ context: { queueDepth: p, msgsPerSec: f, instances: g },
4573
+ dialogMetrics: u,
4574
+ subComponents: y,
4575
+ graphSeries: m
4281
4576
  },
4282
- children: /* @__PURE__ */ d(
4283
- "div",
4577
+ alert: x,
4578
+ children: /* @__PURE__ */ e(
4579
+ ht,
4284
4580
  {
4285
- style: {
4286
- display: "flex",
4287
- flexDirection: "column",
4288
- alignItems: "center",
4289
- fontFamily: "'Courier New', monospace",
4290
- userSelect: "none",
4291
- transform: `scale(${n})`,
4292
- transformOrigin: "center center"
4293
- },
4294
- children: [
4295
- /* @__PURE__ */ d("div", { style: { position: "relative", animation: "holo-float 4s ease-in-out infinite" }, children: [
4296
- /* @__PURE__ */ e(
4297
- "div",
4298
- {
4299
- style: {
4300
- position: "absolute",
4301
- top: 0,
4302
- left: 0,
4303
- right: 0,
4304
- height: "1.5px",
4305
- background: `linear-gradient(90deg, transparent 5%, ${i}cc 40%, #fff 50%, ${i}cc 60%, transparent 95%)`,
4306
- boxShadow: `0 0 8px ${i}`,
4307
- animation: "holo-scan 3.5s linear infinite",
4308
- pointerEvents: "none",
4309
- zIndex: 10
4310
- }
4311
- }
4312
- ),
4313
- /* @__PURE__ */ d(
4314
- "svg",
4315
- {
4316
- width: "70",
4317
- height: "75",
4318
- viewBox: "0 0 70 75",
4319
- style: { display: "block", overflow: "visible" },
4320
- children: [
4321
- /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ d("radialGradient", { id: `usr-glow-${t}`, cx: "50%", cy: "45%", r: "55%", children: [
4322
- /* @__PURE__ */ e("stop", { offset: "0%", stopColor: i, stopOpacity: "0.12" }),
4323
- /* @__PURE__ */ e("stop", { offset: "100%", stopColor: i, stopOpacity: "0" })
4324
- ] }) }),
4325
- /* @__PURE__ */ e("ellipse", { cx: "35", cy: "37", rx: "34", ry: "32", fill: `url(#usr-glow-${t})` }),
4326
- /* @__PURE__ */ e(
4327
- "circle",
4328
- {
4329
- cx: "35",
4330
- cy: "20",
4331
- r: "13",
4332
- fill: i + "0a",
4333
- stroke: i,
4334
- strokeWidth: "1.5",
4335
- style: { filter: `drop-shadow(0 0 6px ${i})` }
4336
- }
4337
- ),
4338
- /* @__PURE__ */ e("circle", { cx: "35", cy: "20", r: "7", fill: "none", stroke: i + "30", strokeWidth: "0.5" }),
4339
- /* @__PURE__ */ e("circle", { cx: "35", cy: "20", r: "3", fill: i + "18", stroke: "none" }),
4340
- /* @__PURE__ */ e(
4341
- "path",
4342
- {
4343
- d: "M7 71 Q7 47 20 39 Q27 35 35 35 Q43 35 50 39 Q63 47 63 71",
4344
- fill: i + "08",
4345
- stroke: i,
4346
- strokeWidth: "1.5",
4347
- strokeLinecap: "round",
4348
- style: { filter: `drop-shadow(0 0 5px ${i})` }
4349
- }
4350
- ),
4351
- /* @__PURE__ */ e(
4352
- "path",
4353
- {
4354
- d: "M16 65 Q16 51 26 44 Q30 42 35 42 Q40 42 44 44 Q54 51 54 65",
4355
- fill: "none",
4356
- stroke: i + "20",
4357
- strokeWidth: "0.6",
4358
- strokeDasharray: "4,5"
4359
- }
4360
- ),
4361
- /* @__PURE__ */ e(
4362
- "path",
4363
- {
4364
- d: "M24 61 Q24 53 30 49 Q32 48 35 48 Q38 48 40 49 Q46 53 46 61",
4365
- fill: "none",
4366
- stroke: i + "18",
4367
- strokeWidth: "0.5",
4368
- strokeDasharray: "2,4"
4369
- }
4370
- )
4371
- ]
4372
- }
4373
- )
4374
- ] }),
4375
- /* @__PURE__ */ e("div", { style: { height: 22 } })
4376
- ]
4581
+ status: a,
4582
+ queueDepth: p,
4583
+ msgsPerSec: f,
4584
+ instances: g
4377
4585
  }
4378
4586
  )
4379
4587
  }
4380
4588
  );
4381
4589
  }
4382
- function C(t, n, o = 24) {
4590
+ function E(t, n, o = 24) {
4383
4591
  return Array.from({ length: o }, (i, r) => {
4384
4592
  const a = r / o;
4385
4593
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
@@ -4479,39 +4687,39 @@ function ti(t, n) {
4479
4687
  if (t === "server") {
4480
4688
  const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
4481
4689
  return [
4482
- { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: C(o, 15) },
4483
- { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: C(o * 0.7, 12) },
4484
- { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: C(i, 18) },
4485
- { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: C(i * 0.85, 14) },
4486
- { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: C(40, 25) },
4487
- { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: C(35, 20) },
4488
- { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: C(30, 22) },
4489
- { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: C(55, 20) }
4690
+ { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: E(o, 15) },
4691
+ { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: E(o * 0.7, 12) },
4692
+ { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: E(i, 18) },
4693
+ { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: E(i * 0.85, 14) },
4694
+ { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: E(40, 25) },
4695
+ { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: E(35, 20) },
4696
+ { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: E(30, 22) },
4697
+ { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: E(55, 20) }
4490
4698
  ];
4491
4699
  }
4492
4700
  if (t === "dispatcher" || t === "messageServer") {
4493
4701
  const o = n.traffic ?? n.queueDepth ?? 50;
4494
4702
  return [
4495
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: C(o, 20) },
4496
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: C(60, 25) },
4497
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: C(45, 20) },
4498
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: C(70, 30) },
4499
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: C(o * 0.9, 15) }
4703
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(o, 20) },
4704
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: E(60, 25) },
4705
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: E(45, 20) },
4706
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: E(70, 30) },
4707
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(o * 0.9, 15) }
4500
4708
  ];
4501
4709
  }
4502
4710
  if (t === "database") {
4503
4711
  const o = n.capacity ?? 70;
4504
4712
  return [
4505
- { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: C(40, 20) },
4506
- { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: C(55, 25) },
4507
- { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: C(35, 18) },
4508
- { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: C(o, 15) },
4509
- { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: C(75, 12) }
4713
+ { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: E(40, 20) },
4714
+ { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: E(55, 25) },
4715
+ { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: E(35, 18) },
4716
+ { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: E(o, 15) },
4717
+ { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: E(75, 12) }
4510
4718
  ];
4511
4719
  }
4512
4720
  return [];
4513
4721
  }
4514
- function ht({
4722
+ function ut({
4515
4723
  w: t,
4516
4724
  h: n,
4517
4725
  color: o,
@@ -4818,7 +5026,7 @@ function ye({
4818
5026
  status: o = "online",
4819
5027
  activity: i = !1
4820
5028
  }) {
4821
- return /* @__PURE__ */ d(ht, { w: 56, h: 22, color: t, label: n, status: o, children: [
5029
+ return /* @__PURE__ */ d(ut, { w: 56, h: 22, color: t, label: n, status: o, children: [
4822
5030
  /* @__PURE__ */ e(
4823
5031
  "div",
4824
5032
  {
@@ -4851,7 +5059,7 @@ function ye({
4851
5059
  )
4852
5060
  ] });
4853
5061
  }
4854
- function ut({
5062
+ function bt({
4855
5063
  color: t = "#00e5ff",
4856
5064
  label: n = "NET",
4857
5065
  status: o = "online"
@@ -4920,9 +5128,9 @@ function O({
4920
5128
  label: n = "THREAD",
4921
5129
  status: o = "online"
4922
5130
  }) {
4923
- return /* @__PURE__ */ e(ht, { w: 44, h: 28, color: t, label: n, status: o });
5131
+ return /* @__PURE__ */ e(ut, { w: 44, h: 28, color: t, label: n, status: o });
4924
5132
  }
4925
- function Ie({
5133
+ function Oe({
4926
5134
  color: t = "#ff8c00",
4927
5135
  label: n = "PLATTER-0",
4928
5136
  status: o = "online",
@@ -5180,7 +5388,7 @@ function ii(t, n, o, i) {
5180
5388
  }
5181
5389
  ] : [];
5182
5390
  }
5183
- const T = "cubic-bezier(0.34, 1.56, 0.64, 1)", ni = "cubic-bezier(0.16, 1, 0.3, 1)";
5391
+ const A = "cubic-bezier(0.34, 1.56, 0.64, 1)", ni = "cubic-bezier(0.16, 1, 0.3, 1)";
5184
5392
  function oi({ items: t, revealPhase: n }) {
5185
5393
  return /* @__PURE__ */ e(
5186
5394
  "div",
@@ -5199,7 +5407,7 @@ function oi({ items: t, revealPhase: n }) {
5199
5407
  style: {
5200
5408
  opacity: n >= 0.2 + i * 0.06 ? 1 : 0,
5201
5409
  transform: `scale(${n >= 0.2 + i * 0.06 ? 1 : 0.6})`,
5202
- transition: `opacity 0.4s ${T} ${i * 0.06}s, transform 0.45s ${T} ${i * 0.06}s`
5410
+ transition: `opacity 0.4s ${A} ${i * 0.06}s, transform 0.45s ${A} ${i * 0.06}s`
5203
5411
  },
5204
5412
  children: o.element
5205
5413
  },
@@ -5313,7 +5521,7 @@ function ri({
5313
5521
  {
5314
5522
  key: "net",
5315
5523
  delay: 8,
5316
- el: /* @__PURE__ */ e(ut, { color: a, label: "NET", status: i[8]?.status })
5524
+ el: /* @__PURE__ */ e(bt, { color: a, label: "NET", status: i[8]?.status })
5317
5525
  }
5318
5526
  ];
5319
5527
  return /* @__PURE__ */ e(
@@ -5327,15 +5535,15 @@ function ri({
5327
5535
  alignItems: "center",
5328
5536
  padding: 24
5329
5537
  },
5330
- children: c.map(({ key: p, delay: f, el: y }) => /* @__PURE__ */ e(
5538
+ children: c.map(({ key: p, delay: f, el: g }) => /* @__PURE__ */ e(
5331
5539
  "div",
5332
5540
  {
5333
5541
  style: {
5334
5542
  opacity: r >= 0.2 + f * 0.08 ? 1 : 0,
5335
5543
  transform: `scale(${r >= 0.2 + f * 0.08 ? 1 : 0.6})`,
5336
- transition: `opacity 0.4s ${T} ${f * 0.06}s, transform 0.45s ${T} ${f * 0.06}s`
5544
+ transition: `opacity 0.4s ${A} ${f * 0.06}s, transform 0.45s ${A} ${f * 0.06}s`
5337
5545
  },
5338
- children: y
5546
+ children: g
5339
5547
  },
5340
5548
  p
5341
5549
  ))
@@ -5351,7 +5559,7 @@ function ri({
5351
5559
  style: {
5352
5560
  opacity: r >= 0.25 + c * 0.04 ? 1 : 0,
5353
5561
  transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
5354
- transition: `opacity 0.35s ${T} ${c * 0.04}s, transform 0.4s ${T} ${c * 0.04}s`
5562
+ transition: `opacity 0.35s ${A} ${c * 0.04}s, transform 0.4s ${A} ${c * 0.04}s`
5355
5563
  },
5356
5564
  children: /* @__PURE__ */ e(B, { color: a, label: `PORT-${c + 1}`, status: p?.status })
5357
5565
  },
@@ -5377,7 +5585,7 @@ function ri({
5377
5585
  style: {
5378
5586
  opacity: r >= 0.7 ? 1 : 0,
5379
5587
  transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
5380
- transition: `all 0.4s ${T} 0.3s`
5588
+ transition: `all 0.4s ${A} 0.3s`
5381
5589
  },
5382
5590
  children: /* @__PURE__ */ e(O, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
5383
5591
  }
@@ -5388,7 +5596,7 @@ function ri({
5388
5596
  style: {
5389
5597
  opacity: r >= 0.8 ? 1 : 0,
5390
5598
  transform: `scale(${r >= 0.8 ? 1 : 0.6})`,
5391
- transition: `all 0.4s ${T} 0.4s`
5599
+ transition: `all 0.4s ${A} 0.4s`
5392
5600
  },
5393
5601
  children: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
5394
5602
  }
@@ -5417,7 +5625,7 @@ function ri({
5417
5625
  style: {
5418
5626
  opacity: r >= 0.25 + l * 0.1 ? 1 : 0,
5419
5627
  transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
5420
- transition: `all 0.4s ${T} ${l * 0.08}s`
5628
+ transition: `all 0.4s ${A} ${l * 0.08}s`
5421
5629
  },
5422
5630
  children: /* @__PURE__ */ e(B, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5423
5631
  },
@@ -5429,7 +5637,7 @@ function ri({
5429
5637
  style: {
5430
5638
  opacity: r >= 0.6 ? 1 : 0,
5431
5639
  transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
5432
- transition: `all 0.4s ${T} 0.25s`
5640
+ transition: `all 0.4s ${A} 0.25s`
5433
5641
  },
5434
5642
  children: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
5435
5643
  }
@@ -5440,7 +5648,7 @@ function ri({
5440
5648
  style: {
5441
5649
  opacity: r >= 0.7 + (l - 4) * 0.08 ? 1 : 0,
5442
5650
  transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
5443
- transition: `all 0.4s ${T} ${0.35 + (l - 4) * 0.05}s`
5651
+ transition: `all 0.4s ${A} ${0.35 + (l - 4) * 0.05}s`
5444
5652
  },
5445
5653
  children: /* @__PURE__ */ e(
5446
5654
  O,
@@ -5476,10 +5684,10 @@ function ri({
5476
5684
  style: {
5477
5685
  opacity: r >= 0.2 + h * 0.12 ? 1 : 0,
5478
5686
  transform: `scale(${r >= 0.2 + h * 0.12 ? 1 : 0.5})`,
5479
- transition: `all 0.45s ${T} ${h * 0.1}s`
5687
+ transition: `all 0.45s ${A} ${h * 0.1}s`
5480
5688
  },
5481
5689
  children: /* @__PURE__ */ e(
5482
- Ie,
5690
+ Oe,
5483
5691
  {
5484
5692
  color: s,
5485
5693
  label: `PLATTER-${h}`,
@@ -5496,7 +5704,7 @@ function ri({
5496
5704
  style: {
5497
5705
  opacity: r >= 0.6 ? 1 : 0,
5498
5706
  transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
5499
- transition: `all 0.4s ${T} 0.3s`
5707
+ transition: `all 0.4s ${A} 0.3s`
5500
5708
  },
5501
5709
  children: /* @__PURE__ */ e(O, { color: s, label: "CONN-POOL", status: i[3]?.status })
5502
5710
  }
@@ -5507,7 +5715,7 @@ function ri({
5507
5715
  style: {
5508
5716
  opacity: r >= 0.75 ? 1 : 0,
5509
5717
  transform: `scale(${r >= 0.75 ? 1 : 0.6})`,
5510
- transition: `all 0.4s ${T} 0.4s`
5718
+ transition: `all 0.4s ${A} 0.4s`
5511
5719
  },
5512
5720
  children: /* @__PURE__ */ e(O, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
5513
5721
  }
@@ -5518,7 +5726,7 @@ function ri({
5518
5726
  }
5519
5727
  return null;
5520
5728
  }
5521
- function wi({
5729
+ function Pi({
5522
5730
  type: t,
5523
5731
  name: n,
5524
5732
  status: o,
@@ -5528,7 +5736,7 @@ function wi({
5528
5736
  subComponents: s,
5529
5737
  graphSeries: l
5530
5738
  }) {
5531
- const h = ii(t, n, o, a), c = w[o]?.color ?? w.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", y = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5739
+ const h = ii(t, n, o, a), c = w[o]?.color ?? w.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;
5532
5740
  return /* @__PURE__ */ d(
5533
5741
  "div",
5534
5742
  {
@@ -5540,7 +5748,7 @@ function wi({
5540
5748
  flexDirection: "row",
5541
5749
  pointerEvents: "auto"
5542
5750
  },
5543
- onClick: (g) => g.stopPropagation(),
5751
+ onClick: (y) => y.stopPropagation(),
5544
5752
  children: [
5545
5753
  /* @__PURE__ */ e(
5546
5754
  "div",
@@ -5602,7 +5810,7 @@ function wi({
5602
5810
  borderRight: `2px solid ${c}44`,
5603
5811
  boxShadow: "4px 0 32px rgba(0,0,0,0.6)",
5604
5812
  transform: `translateX(${f})`,
5605
- transition: `transform 0.7s ${T}`
5813
+ transition: `transform 0.7s ${A}`
5606
5814
  }
5607
5815
  }
5608
5816
  ),
@@ -5616,8 +5824,8 @@ function wi({
5616
5824
  background: "linear-gradient(90deg, rgba(2, 12, 28, 0.95) 0%, rgba(2, 8, 20, 0.98) 100%)",
5617
5825
  borderLeft: `2px solid ${c}44`,
5618
5826
  boxShadow: "-4px 0 32px rgba(0,0,0,0.6)",
5619
- transform: `translateX(${y})`,
5620
- transition: `transform 0.7s ${T}`
5827
+ transform: `translateX(${g})`,
5828
+ transition: `transform 0.7s ${A}`
5621
5829
  }
5622
5830
  }
5623
5831
  )
@@ -5640,7 +5848,7 @@ function wi({
5640
5848
  display: "flex",
5641
5849
  flexDirection: "column",
5642
5850
  opacity: u >= 0.1 ? 1 : 0,
5643
- transition: `opacity 0.5s ${T} 0.2s`
5851
+ transition: `opacity 0.5s ${A} 0.2s`
5644
5852
  },
5645
5853
  children: [
5646
5854
  /* @__PURE__ */ d(
@@ -5749,7 +5957,7 @@ function wi({
5749
5957
  }
5750
5958
  );
5751
5959
  }
5752
- function Si({
5960
+ function Ci({
5753
5961
  brandName: t = "BUSAUD AIOps",
5754
5962
  brandTag: n = "3D MONITOR",
5755
5963
  services: o = [],
@@ -5759,28 +5967,28 @@ function Si({
5759
5967
  fontFamily: s,
5760
5968
  children: l
5761
5969
  }) {
5762
- const [h] = L(20), [c] = L(!1), [p] = L(!0), [f] = L(0.45), [y] = L(3.3), [u, g] = L("compact"), [m, x] = L(0), [v, $] = L(null), [b, k] = L(null), [D, P] = L(0), E = (R) => {
5763
- u === "compact" && ($(R), g("expanding"), x(0), setTimeout(() => x(1), 50), setTimeout(() => x(2), 800), setTimeout(() => x(3), 1200), setTimeout(() => x(4), 1600), setTimeout(() => x(5), 2e3), setTimeout(() => {
5764
- x(6), g("expanded");
5970
+ const [h] = I(20), [c] = I(!1), [p] = I(!0), [f] = I(0.45), [g] = I(3.3), [u, y] = I("compact"), [m, x] = I(0), [v, $] = I(null), [b, R] = I(null), [D, C] = I(0), T = (P) => {
5971
+ u === "compact" && ($(P), y("expanding"), x(0), setTimeout(() => x(1), 50), setTimeout(() => x(2), 800), setTimeout(() => x(3), 1200), setTimeout(() => x(4), 1600), setTimeout(() => x(5), 2e3), setTimeout(() => {
5972
+ x(6), y("expanded");
5765
5973
  }, 2400));
5766
5974
  }, W = () => {
5767
- b ? (k(null), P(0)) : u === "expanded" && (g("collapsing"), x(0), $(null), setTimeout(() => {
5768
- g((R) => R === "collapsing" ? "compact" : R);
5975
+ b ? (R(null), C(0)) : u === "expanded" && (y("collapsing"), x(0), $(null), setTimeout(() => {
5976
+ y((P) => P === "collapsing" ? "compact" : P);
5769
5977
  }, 1e3));
5770
- }, X = (R) => {
5771
- k(R), P(0);
5978
+ }, X = (P) => {
5979
+ R(P), C(0);
5772
5980
  };
5773
5981
  J.useEffect(() => {
5774
5982
  if (!b) return;
5775
- const R = performance.now(), Re = 1200, oe = () => {
5776
- const Ne = performance.now() - R, Te = Math.min(1, Ne / Re);
5777
- P(Te), Te < 1 && requestAnimationFrame(oe);
5778
- }, le = requestAnimationFrame(oe);
5779
- return () => cancelAnimationFrame(le);
5983
+ const P = performance.now(), Re = 1200, oe = () => {
5984
+ const Ne = performance.now() - P, Ae = Math.min(1, Ne / Re);
5985
+ C(Ae), Ae < 1 && requestAnimationFrame(oe);
5986
+ }, se = requestAnimationFrame(oe);
5987
+ return () => cancelAnimationFrame(se);
5780
5988
  }, [b]);
5781
5989
  const j = () => {
5782
- k(null), P(0);
5783
- }, N = o.find((R) => R.name === v), te = N?.status ?? "online", ie = N?.dbSync ?? !0, z = N?.metrics, F = N?.alerts, ne = 330, $e = 340, ke = b ? 1.15 : 1, V = b ? -(b.ex - ne) * 0.06 : 0, M = b ? -(b.ey - $e) * 0.06 : 0;
5990
+ R(null), C(0);
5991
+ }, N = o.find((P) => P.name === v), te = N?.status ?? "online", ie = N?.dbSync ?? !0, z = N?.metrics, F = N?.alerts, ne = 330, $e = 340, ke = b ? 1.15 : 1, V = b ? -(b.ex - ne) * 0.06 : 0, M = b ? -(b.ey - $e) * 0.06 : 0;
5784
5992
  return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
5785
5993
  /* @__PURE__ */ e(
5786
5994
  "div",
@@ -5816,7 +6024,7 @@ function Si({
5816
6024
  },
5817
6025
  onClick: W,
5818
6026
  children: /* @__PURE__ */ e(
5819
- Wt,
6027
+ zt,
5820
6028
  {
5821
6029
  viewState: u,
5822
6030
  animPhase: m,
@@ -5826,11 +6034,11 @@ function Si({
5826
6034
  rotateY: h,
5827
6035
  autoRotateComponents: c,
5828
6036
  componentScale: f,
5829
- drillZoom: y,
6037
+ drillZoom: g,
5830
6038
  autoRotateCarousel: p,
5831
6039
  carouselSpeed: a,
5832
6040
  logoUrl: r,
5833
- onSelectSystem: E,
6041
+ onSelectSystem: T,
5834
6042
  onBackgroundClick: W,
5835
6043
  onComponentClick: X,
5836
6044
  onCloseDrill: j,
@@ -5851,11 +6059,11 @@ function S(t, n, o = 24) {
5851
6059
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
5852
6060
  });
5853
6061
  }
5854
- function bt(t) {
6062
+ function gt(t) {
5855
6063
  return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
5856
6064
  }
5857
6065
  function me(t, n, o) {
5858
- const i = t === "online" ? "online" : t, r = bt(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";
6066
+ const i = t === "online" ? "online" : t, r = gt(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";
5859
6067
  return [
5860
6068
  { id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(De, { color: r, label: "CPU-0", status: l, load: a }) },
5861
6069
  { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
@@ -5865,7 +6073,7 @@ function me(t, n, o) {
5865
6073
  { id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
5866
6074
  { id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
5867
6075
  { id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(O, { color: r, label: "THREAD-POOL", status: c }) },
5868
- { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(ut, { color: r, label: "NET", status: p }) }
6076
+ { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(bt, { color: r, label: "NET", status: p }) }
5869
6077
  ];
5870
6078
  }
5871
6079
  function xe(t) {
@@ -5881,8 +6089,8 @@ function xe(t) {
5881
6089
  { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: S(55, 20) }
5882
6090
  ];
5883
6091
  }
5884
- function gt(t, n, o) {
5885
- const i = t === "online" ? "online" : t, r = bt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
6092
+ function yt(t, n, o) {
6093
+ const i = t === "online" ? "online" : t, r = gt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
5886
6094
  return [
5887
6095
  { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(B, { color: r, label: "PORT-1", status: "online" }) },
5888
6096
  { id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(B, { color: r, label: "PORT-2", status: "online" }) },
@@ -5896,7 +6104,7 @@ function gt(t, n, o) {
5896
6104
  { id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(O, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
5897
6105
  ];
5898
6106
  }
5899
- function yt(t) {
6107
+ function mt(t) {
5900
6108
  const n = t?.traffic ?? 50;
5901
6109
  return [
5902
6110
  { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: S(n, 20) },
@@ -5931,9 +6139,9 @@ function li(t) {
5931
6139
  function ze(t, n, o) {
5932
6140
  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";
5933
6141
  return [
5934
- { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Ie, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
5935
- { 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(Ie, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
5936
- { id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Ie, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
6142
+ { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Oe, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
6143
+ { 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(Oe, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
6144
+ { id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Oe, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
5937
6145
  { id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(O, { color: r, label: "CONN-POOL", status: h }) },
5938
6146
  { id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(O, { color: "#00ff88", label: "QUERY-CACHE", status: c }) }
5939
6147
  ];
@@ -5948,7 +6156,7 @@ function Me(t) {
5948
6156
  { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: S(75, 12) }
5949
6157
  ];
5950
6158
  }
5951
- function Je(t) {
6159
+ function tt(t) {
5952
6160
  const n = [
5953
6161
  t.wdStatus,
5954
6162
  t.msStatus,
@@ -5960,8 +6168,8 @@ function Je(t) {
5960
6168
  ];
5961
6169
  return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
5962
6170
  }
5963
- function $i(t) {
5964
- const n = Je(t), o = n === "critical" || n === "offline", i = n === "warning";
6171
+ function Ei(t) {
6172
+ const n = tt(t), o = n === "critical" || n === "offline", i = n === "warning";
5965
6173
  return [
5966
6174
  {
5967
6175
  label: "Uptime",
@@ -5982,8 +6190,8 @@ function $i(t) {
5982
6190
  }
5983
6191
  ];
5984
6192
  }
5985
- function ki(t) {
5986
- const n = Je(t), o = n === "critical" || n === "offline", i = n === "warning";
6193
+ function Ti(t) {
6194
+ const n = tt(t), o = n === "critical" || n === "offline", i = n === "warning";
5987
6195
  return [
5988
6196
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
5989
6197
  ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
@@ -6005,10 +6213,10 @@ const si = [
6005
6213
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6006
6214
  ];
6007
6215
  function di({ config: t }) {
6008
- const n = J.useContext(ae), 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;
6216
+ const n = J.useContext(le), 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;
6009
6217
  return /* @__PURE__ */ d(ve, { children: [
6010
6218
  /* @__PURE__ */ e(
6011
- A,
6219
+ k,
6012
6220
  {
6013
6221
  ex: 330,
6014
6222
  ey: 120,
@@ -6016,11 +6224,11 @@ function di({ config: t }) {
6016
6224
  zIndex: 10,
6017
6225
  visibleAtPhase: 2,
6018
6226
  color: "#00e5ff",
6019
- children: /* @__PURE__ */ e(ft, { status: "online", scale: 1.5 })
6227
+ children: /* @__PURE__ */ e(Je, { status: "online", scale: 1.5 })
6020
6228
  }
6021
6229
  ),
6022
6230
  /* @__PURE__ */ e(
6023
- A,
6231
+ k,
6024
6232
  {
6025
6233
  ex: 220,
6026
6234
  ey: 260,
@@ -6035,11 +6243,11 @@ function di({ config: t }) {
6035
6243
  name: "WEB-DISP",
6036
6244
  status: r,
6037
6245
  context: { traffic: 78 },
6038
- subComponents: gt(r),
6039
- graphSeries: yt({ traffic: 78 })
6246
+ subComponents: yt(r),
6247
+ graphSeries: mt({ traffic: 78 })
6040
6248
  },
6041
6249
  children: /* @__PURE__ */ e(
6042
- pt,
6250
+ et,
6043
6251
  {
6044
6252
  rotateY: o,
6045
6253
  autoRotate: i,
@@ -6053,7 +6261,7 @@ function di({ config: t }) {
6053
6261
  }
6054
6262
  ),
6055
6263
  /* @__PURE__ */ e(
6056
- A,
6264
+ k,
6057
6265
  {
6058
6266
  ex: 440,
6059
6267
  ey: 260,
@@ -6072,7 +6280,7 @@ function di({ config: t }) {
6072
6280
  graphSeries: li({ queueDepth: 45 })
6073
6281
  },
6074
6282
  children: /* @__PURE__ */ e(
6075
- Zt,
6283
+ ht,
6076
6284
  {
6077
6285
  rotateY: -o,
6078
6286
  autoRotate: i,
@@ -6087,7 +6295,7 @@ function di({ config: t }) {
6087
6295
  }
6088
6296
  ),
6089
6297
  /* @__PURE__ */ e(
6090
- A,
6298
+ k,
6091
6299
  {
6092
6300
  ex: 165,
6093
6301
  ey: 390,
@@ -6106,7 +6314,7 @@ function di({ config: t }) {
6106
6314
  graphSeries: xe({ cpuLoad: 67, memLoad: 72 })
6107
6315
  },
6108
6316
  children: /* @__PURE__ */ e(
6109
- ue,
6317
+ ae,
6110
6318
  {
6111
6319
  rotateY: o,
6112
6320
  autoRotate: i,
@@ -6120,7 +6328,7 @@ function di({ config: t }) {
6120
6328
  }
6121
6329
  ),
6122
6330
  /* @__PURE__ */ e(
6123
- A,
6331
+ k,
6124
6332
  {
6125
6333
  ex: 330,
6126
6334
  ey: 390,
@@ -6139,7 +6347,7 @@ function di({ config: t }) {
6139
6347
  graphSeries: xe({ cpuLoad: 89, memLoad: 91 })
6140
6348
  },
6141
6349
  children: /* @__PURE__ */ e(
6142
- ue,
6350
+ ae,
6143
6351
  {
6144
6352
  rotateY: o,
6145
6353
  autoRotate: i,
@@ -6153,7 +6361,7 @@ function di({ config: t }) {
6153
6361
  }
6154
6362
  ),
6155
6363
  /* @__PURE__ */ e(
6156
- A,
6364
+ k,
6157
6365
  {
6158
6366
  ex: 495,
6159
6367
  ey: 390,
@@ -6172,7 +6380,7 @@ function di({ config: t }) {
6172
6380
  graphSeries: xe({ cpuLoad: 45, memLoad: 63 })
6173
6381
  },
6174
6382
  children: /* @__PURE__ */ e(
6175
- ue,
6383
+ ae,
6176
6384
  {
6177
6385
  rotateY: o,
6178
6386
  autoRotate: i,
@@ -6186,7 +6394,7 @@ function di({ config: t }) {
6186
6394
  }
6187
6395
  ),
6188
6396
  /* @__PURE__ */ e(
6189
- A,
6397
+ k,
6190
6398
  {
6191
6399
  ex: 200,
6192
6400
  ey: 520,
@@ -6205,7 +6413,7 @@ function di({ config: t }) {
6205
6413
  graphSeries: Me({ capacity: 72 })
6206
6414
  },
6207
6415
  children: /* @__PURE__ */ e(
6208
- Oe,
6416
+ Ee,
6209
6417
  {
6210
6418
  rotateY: -o,
6211
6419
  autoRotate: i,
@@ -6219,7 +6427,7 @@ function di({ config: t }) {
6219
6427
  }
6220
6428
  ),
6221
6429
  /* @__PURE__ */ e(
6222
- A,
6430
+ k,
6223
6431
  {
6224
6432
  ex: 460,
6225
6433
  ey: 520,
@@ -6238,7 +6446,7 @@ function di({ config: t }) {
6238
6446
  graphSeries: Me({ capacity: 72 })
6239
6447
  },
6240
6448
  children: /* @__PURE__ */ e(
6241
- Oe,
6449
+ Ee,
6242
6450
  {
6243
6451
  rotateY: o,
6244
6452
  autoRotate: i,
@@ -6252,7 +6460,7 @@ function di({ config: t }) {
6252
6460
  }
6253
6461
  ),
6254
6462
  /* @__PURE__ */ e(
6255
- A,
6463
+ k,
6256
6464
  {
6257
6465
  ex: 330,
6258
6466
  ey: 520,
@@ -6261,17 +6469,17 @@ function di({ config: t }) {
6261
6469
  visibleAtPhase: 6,
6262
6470
  fixedScale: 1,
6263
6471
  bare: !0,
6264
- children: /* @__PURE__ */ e(ct, { synced: f, latencyMs: f ? 8 : 342 })
6472
+ children: /* @__PURE__ */ e(ft, { synced: f, latencyMs: f ? 8 : 342 })
6265
6473
  }
6266
6474
  ),
6267
6475
  /* @__PURE__ */ e(ci, { config: t })
6268
6476
  ] });
6269
6477
  }
6270
6478
  function ci({ config: t }) {
6271
- const n = J.useContext(ae), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: h, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
6479
+ const n = J.useContext(le), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: h, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
6272
6480
  return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6273
6481
  /* @__PURE__ */ e(
6274
- I,
6482
+ L,
6275
6483
  {
6276
6484
  ex: 220,
6277
6485
  ey: 260,
@@ -6286,7 +6494,7 @@ function ci({ config: t }) {
6286
6494
  }
6287
6495
  ),
6288
6496
  /* @__PURE__ */ e(
6289
- I,
6497
+ L,
6290
6498
  {
6291
6499
  ex: 440,
6292
6500
  ey: 260,
@@ -6301,7 +6509,7 @@ function ci({ config: t }) {
6301
6509
  }
6302
6510
  ),
6303
6511
  /* @__PURE__ */ e(
6304
- I,
6512
+ L,
6305
6513
  {
6306
6514
  ex: 165,
6307
6515
  ey: 390,
@@ -6316,7 +6524,7 @@ function ci({ config: t }) {
6316
6524
  }
6317
6525
  ),
6318
6526
  /* @__PURE__ */ e(
6319
- I,
6527
+ L,
6320
6528
  {
6321
6529
  ex: 330,
6322
6530
  ey: 390,
@@ -6331,7 +6539,7 @@ function ci({ config: t }) {
6331
6539
  }
6332
6540
  ),
6333
6541
  /* @__PURE__ */ e(
6334
- I,
6542
+ L,
6335
6543
  {
6336
6544
  ex: 495,
6337
6545
  ey: 390,
@@ -6346,7 +6554,7 @@ function ci({ config: t }) {
6346
6554
  }
6347
6555
  ),
6348
6556
  /* @__PURE__ */ e(
6349
- I,
6557
+ L,
6350
6558
  {
6351
6559
  ex: 200,
6352
6560
  ey: 520,
@@ -6361,7 +6569,7 @@ function ci({ config: t }) {
6361
6569
  }
6362
6570
  ),
6363
6571
  /* @__PURE__ */ e(
6364
- I,
6572
+ L,
6365
6573
  {
6366
6574
  ex: 460,
6367
6575
  ey: 520,
@@ -6376,7 +6584,7 @@ function ci({ config: t }) {
6376
6584
  }
6377
6585
  ),
6378
6586
  !c && /* @__PURE__ */ e(
6379
- I,
6587
+ L,
6380
6588
  {
6381
6589
  ex: 330,
6382
6590
  ey: 520,
@@ -6392,19 +6600,19 @@ function ci({ config: t }) {
6392
6600
  )
6393
6601
  ] }) : null;
6394
6602
  }
6395
- function Ri({ config: t, ...n }) {
6603
+ function Ai({ config: t, ...n }) {
6396
6604
  return /* @__PURE__ */ e(
6397
- dt,
6605
+ pt,
6398
6606
  {
6399
6607
  name: t.name,
6400
- status: Je(t),
6608
+ status: tt(t),
6401
6609
  connections: si,
6402
6610
  ...n,
6403
6611
  children: /* @__PURE__ */ e(di, { config: t })
6404
6612
  }
6405
6613
  );
6406
6614
  }
6407
- function et(t) {
6615
+ function it(t) {
6408
6616
  const n = [
6409
6617
  t.dispStatus,
6410
6618
  t.srv1Status,
@@ -6415,8 +6623,8 @@ function et(t) {
6415
6623
  ];
6416
6624
  return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
6417
6625
  }
6418
- function Pi(t) {
6419
- const n = et(t), o = n === "critical" || n === "offline", i = n === "warning";
6626
+ function Ii(t) {
6627
+ const n = it(t), o = n === "critical" || n === "offline", i = n === "warning";
6420
6628
  return [
6421
6629
  {
6422
6630
  label: "Uptime",
@@ -6437,8 +6645,8 @@ function Pi(t) {
6437
6645
  }
6438
6646
  ];
6439
6647
  }
6440
- function Ci(t) {
6441
- const n = et(t), o = n === "critical" || n === "offline", i = n === "warning";
6648
+ function Li(t) {
6649
+ const n = it(t), o = n === "critical" || n === "offline", i = n === "warning";
6442
6650
  return [
6443
6651
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
6444
6652
  ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
@@ -6456,10 +6664,10 @@ const pi = [
6456
6664
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6457
6665
  ];
6458
6666
  function fi({ config: t }) {
6459
- const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: h, sdbStatus: c, dbSync: p } = t;
6667
+ const n = J.useContext(le), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: h, sdbStatus: c, dbSync: p } = t;
6460
6668
  return /* @__PURE__ */ d(ve, { children: [
6461
6669
  /* @__PURE__ */ e(
6462
- A,
6670
+ k,
6463
6671
  {
6464
6672
  ex: 330,
6465
6673
  ey: 120,
@@ -6467,11 +6675,11 @@ function fi({ config: t }) {
6467
6675
  zIndex: 10,
6468
6676
  visibleAtPhase: 2,
6469
6677
  color: "#00e5ff",
6470
- children: /* @__PURE__ */ e(ft, { status: "online", scale: 1.5 })
6678
+ children: /* @__PURE__ */ e(Je, { status: "online", scale: 1.5 })
6471
6679
  }
6472
6680
  ),
6473
6681
  /* @__PURE__ */ e(
6474
- A,
6682
+ k,
6475
6683
  {
6476
6684
  ex: 330,
6477
6685
  ey: 260,
@@ -6486,11 +6694,11 @@ function fi({ config: t }) {
6486
6694
  name: "DISP-01",
6487
6695
  status: r,
6488
6696
  context: { traffic: 78 },
6489
- subComponents: gt(r),
6490
- graphSeries: yt({ traffic: 78 })
6697
+ subComponents: yt(r),
6698
+ graphSeries: mt({ traffic: 78 })
6491
6699
  },
6492
6700
  children: /* @__PURE__ */ e(
6493
- pt,
6701
+ et,
6494
6702
  {
6495
6703
  rotateY: o,
6496
6704
  autoRotate: i,
@@ -6504,7 +6712,7 @@ function fi({ config: t }) {
6504
6712
  }
6505
6713
  ),
6506
6714
  /* @__PURE__ */ e(
6507
- A,
6715
+ k,
6508
6716
  {
6509
6717
  ex: 165,
6510
6718
  ey: 390,
@@ -6523,7 +6731,7 @@ function fi({ config: t }) {
6523
6731
  graphSeries: xe({ cpuLoad: 67, memLoad: 72 })
6524
6732
  },
6525
6733
  children: /* @__PURE__ */ e(
6526
- ue,
6734
+ ae,
6527
6735
  {
6528
6736
  rotateY: o,
6529
6737
  autoRotate: i,
@@ -6537,7 +6745,7 @@ function fi({ config: t }) {
6537
6745
  }
6538
6746
  ),
6539
6747
  /* @__PURE__ */ e(
6540
- A,
6748
+ k,
6541
6749
  {
6542
6750
  ex: 330,
6543
6751
  ey: 390,
@@ -6556,7 +6764,7 @@ function fi({ config: t }) {
6556
6764
  graphSeries: xe({ cpuLoad: 89, memLoad: 91 })
6557
6765
  },
6558
6766
  children: /* @__PURE__ */ e(
6559
- ue,
6767
+ ae,
6560
6768
  {
6561
6769
  rotateY: o,
6562
6770
  autoRotate: i,
@@ -6570,7 +6778,7 @@ function fi({ config: t }) {
6570
6778
  }
6571
6779
  ),
6572
6780
  /* @__PURE__ */ e(
6573
- A,
6781
+ k,
6574
6782
  {
6575
6783
  ex: 495,
6576
6784
  ey: 390,
@@ -6589,7 +6797,7 @@ function fi({ config: t }) {
6589
6797
  graphSeries: xe({ cpuLoad: 45, memLoad: 63 })
6590
6798
  },
6591
6799
  children: /* @__PURE__ */ e(
6592
- ue,
6800
+ ae,
6593
6801
  {
6594
6802
  rotateY: o,
6595
6803
  autoRotate: i,
@@ -6603,7 +6811,7 @@ function fi({ config: t }) {
6603
6811
  }
6604
6812
  ),
6605
6813
  /* @__PURE__ */ e(
6606
- A,
6814
+ k,
6607
6815
  {
6608
6816
  ex: 200,
6609
6817
  ey: 520,
@@ -6622,7 +6830,7 @@ function fi({ config: t }) {
6622
6830
  graphSeries: Me({ capacity: 72 })
6623
6831
  },
6624
6832
  children: /* @__PURE__ */ e(
6625
- Oe,
6833
+ Ee,
6626
6834
  {
6627
6835
  rotateY: -o,
6628
6836
  autoRotate: i,
@@ -6636,7 +6844,7 @@ function fi({ config: t }) {
6636
6844
  }
6637
6845
  ),
6638
6846
  /* @__PURE__ */ e(
6639
- A,
6847
+ k,
6640
6848
  {
6641
6849
  ex: 460,
6642
6850
  ey: 520,
@@ -6655,7 +6863,7 @@ function fi({ config: t }) {
6655
6863
  graphSeries: Me({ capacity: 72 })
6656
6864
  },
6657
6865
  children: /* @__PURE__ */ e(
6658
- Oe,
6866
+ Ee,
6659
6867
  {
6660
6868
  rotateY: o,
6661
6869
  autoRotate: i,
@@ -6669,7 +6877,7 @@ function fi({ config: t }) {
6669
6877
  }
6670
6878
  ),
6671
6879
  /* @__PURE__ */ e(
6672
- A,
6880
+ k,
6673
6881
  {
6674
6882
  ex: 330,
6675
6883
  ey: 520,
@@ -6678,17 +6886,17 @@ function fi({ config: t }) {
6678
6886
  visibleAtPhase: 6,
6679
6887
  fixedScale: 1,
6680
6888
  bare: !0,
6681
- children: /* @__PURE__ */ e(ct, { synced: p, latencyMs: p ? 8 : 342 })
6889
+ children: /* @__PURE__ */ e(ft, { synced: p, latencyMs: p ? 8 : 342 })
6682
6890
  }
6683
6891
  ),
6684
6892
  /* @__PURE__ */ e(hi, { config: t })
6685
6893
  ] });
6686
6894
  }
6687
6895
  function hi({ config: t }) {
6688
- const n = J.useContext(ae), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: h } = t, c = n?.isSelected && n?.isExpandedPos;
6896
+ const n = J.useContext(le), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: h } = t, c = n?.isSelected && n?.isExpandedPos;
6689
6897
  return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6690
6898
  /* @__PURE__ */ e(
6691
- I,
6899
+ L,
6692
6900
  {
6693
6901
  ex: 330,
6694
6902
  ey: 260,
@@ -6703,7 +6911,7 @@ function hi({ config: t }) {
6703
6911
  }
6704
6912
  ),
6705
6913
  /* @__PURE__ */ e(
6706
- I,
6914
+ L,
6707
6915
  {
6708
6916
  ex: 165,
6709
6917
  ey: 390,
@@ -6718,7 +6926,7 @@ function hi({ config: t }) {
6718
6926
  }
6719
6927
  ),
6720
6928
  /* @__PURE__ */ e(
6721
- I,
6929
+ L,
6722
6930
  {
6723
6931
  ex: 330,
6724
6932
  ey: 390,
@@ -6733,7 +6941,7 @@ function hi({ config: t }) {
6733
6941
  }
6734
6942
  ),
6735
6943
  /* @__PURE__ */ e(
6736
- I,
6944
+ L,
6737
6945
  {
6738
6946
  ex: 495,
6739
6947
  ey: 390,
@@ -6748,7 +6956,7 @@ function hi({ config: t }) {
6748
6956
  }
6749
6957
  ),
6750
6958
  /* @__PURE__ */ e(
6751
- I,
6959
+ L,
6752
6960
  {
6753
6961
  ex: 200,
6754
6962
  ey: 520,
@@ -6763,7 +6971,7 @@ function hi({ config: t }) {
6763
6971
  }
6764
6972
  ),
6765
6973
  /* @__PURE__ */ e(
6766
- I,
6974
+ L,
6767
6975
  {
6768
6976
  ex: 460,
6769
6977
  ey: 520,
@@ -6778,7 +6986,7 @@ function hi({ config: t }) {
6778
6986
  }
6779
6987
  ),
6780
6988
  !h && /* @__PURE__ */ e(
6781
- I,
6989
+ L,
6782
6990
  {
6783
6991
  ex: 330,
6784
6992
  ey: 520,
@@ -6794,12 +7002,12 @@ function hi({ config: t }) {
6794
7002
  )
6795
7003
  ] }) : null;
6796
7004
  }
6797
- function Ei({ config: t, ...n }) {
7005
+ function Oi({ config: t, ...n }) {
6798
7006
  return /* @__PURE__ */ e(
6799
- dt,
7007
+ pt,
6800
7008
  {
6801
7009
  name: t.name,
6802
- status: et(t),
7010
+ status: it(t),
6803
7011
  connections: pi,
6804
7012
  ...n,
6805
7013
  children: /* @__PURE__ */ e(fi, { config: t })
@@ -6807,57 +7015,62 @@ function Ei({ config: t, ...n }) {
6807
7015
  );
6808
7016
  }
6809
7017
  export {
6810
- Si as AIOPsDashboard,
7018
+ Ci as AIOPsDashboard,
6811
7019
  De as CPU3D,
6812
- Wt as Carousel,
6813
- Ge as CarouselContext,
7020
+ zt as Carousel,
7021
+ qe as CarouselContext,
6814
7022
  Ke as CarouselItemContext,
6815
- It as ComponentDialog,
6816
- wi as ComponentDrillView,
6817
- Oe as Database3D,
7023
+ Ot as ComponentDialog,
7024
+ Pi as ComponentDrillView,
7025
+ Ee as Database3D,
7026
+ Si as DatabaseNode,
6818
7027
  ye as DriveBay3D,
6819
7028
  pi as EXCHANGE_CONNECTIONS,
6820
- Ei as ExchangeService,
7029
+ Oi as ExchangeService,
6821
7030
  mi as HOLO_BLUE,
6822
7031
  yi as HOLO_CYAN,
6823
7032
  Qe as HOLO_GLASS,
6824
7033
  Se as HOLO_SURFACE,
6825
7034
  ei as HistoricalGraphPanel,
6826
- Nt as HoloBase,
6827
- ft as Human3D,
7035
+ Bt as HoloBase,
7036
+ Je as Human3D,
7037
+ $i as HumanNode,
6828
7038
  We as Memory3D,
6829
- Zt as MessageServer3D,
6830
- ut as NetworkBlock3D,
6831
- I as NodeCallout,
6832
- Ie as Platter3D,
7039
+ ht as MessageServer3D,
7040
+ Ri as MessageServerNode,
7041
+ bt as NetworkBlock3D,
7042
+ L as NodeCallout,
7043
+ Oe as Platter3D,
6833
7044
  B as Port3D,
6834
- Ri as SAPService,
7045
+ Ai as SAPService,
6835
7046
  si as SAP_CONNECTIONS,
6836
7047
  w as STATUS_CFG,
6837
- ue as Server3D,
6838
- dt as Service,
6839
- ae as ServiceContext,
6840
- At as ServiceDialog,
6841
- A as ServiceNode,
6842
- zt as SvgConnection,
6843
- ct as SyncBridge,
7048
+ ae as Server3D,
7049
+ wi as ServerNode,
7050
+ pt as Service,
7051
+ le as ServiceContext,
7052
+ It as ServiceDialog,
7053
+ k as ServiceNode,
7054
+ Mt as SvgConnection,
7055
+ ft as SyncBridge,
6844
7056
  O as ThreadPool3D,
6845
- pt as WebDispatcher3D,
6846
- Ci as computeExchangeDialogAlerts,
6847
- Pi as computeExchangeDialogMetrics,
6848
- et as computeExchangeServiceStatus,
6849
- ki as computeSAPDialogAlerts,
6850
- $i as computeSAPDialogMetrics,
6851
- Je as computeSAPServiceStatus,
7057
+ et as WebDispatcher3D,
7058
+ ki as WebDispatcherNode,
7059
+ Li as computeExchangeDialogAlerts,
7060
+ Ii as computeExchangeDialogMetrics,
7061
+ it as computeExchangeServiceStatus,
7062
+ Ti as computeSAPDialogAlerts,
7063
+ Ei as computeSAPDialogMetrics,
7064
+ tt as computeSAPServiceStatus,
6852
7065
  Me as getDatabaseGraphSeries,
6853
7066
  ze as getDatabaseSubComponents,
6854
- yt as getDispatcherGraphSeries,
6855
- gt as getDispatcherSubComponents,
7067
+ mt as getDispatcherGraphSeries,
7068
+ yt as getDispatcherSubComponents,
6856
7069
  li as getMessageServerGraphSeries,
6857
7070
  ai as getMessageServerSubComponents,
6858
7071
  xe as getServerGraphSeries,
6859
7072
  me as getServerSubComponents,
6860
- qe as makeFaceStyles,
7073
+ Ge as makeFaceStyles,
6861
7074
  xi as useCarouselContext,
6862
7075
  vi as useCarouselItemContext
6863
7076
  };