react-aiops 0.1.11 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import { jsxs as d, jsx as e, Fragment as Ee } from "react/jsx-runtime";
2
- import j, { createContext as Ue, useContext as re, useState as R, useEffect as Ae, useMemo as yt, useRef as K, useCallback as dt } from "react";
3
- const Dt = {
1
+ import { jsxs as c, jsx as e, Fragment as Me } from "react/jsx-runtime";
2
+ import q, { createContext as tt, useContext as ge, useState as R, useEffect as ke, useMemo as Tt, useRef as ie, useCallback as Ge } from "react";
3
+ const Ht = {
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 Nt({
8
+ function Ut({
9
9
  name: t,
10
10
  status: n,
11
11
  dbSync: o = !0,
@@ -31,13 +31,13 @@ function Nt({
31
31
  value: s ? "5.42%" : l ? "1.20%" : "0.01%",
32
32
  color: s ? "#ff2255" : l ? "#ff8c00" : "#00ff88"
33
33
  }
34
- ], c = a ?? [
34
+ ], d = a ?? [
35
35
  ...o ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
36
36
  ...s ? [{ level: "critical", message: "Critical Component Failure" }] : [],
37
37
  ...l && !s ? [{ level: "warning", message: "Component Warning State" }] : [],
38
38
  ...!s && !l && o ? [{ level: "info", message: "All Systems Nominal" }] : []
39
39
  ];
40
- return /* @__PURE__ */ d(
40
+ return /* @__PURE__ */ c(
41
41
  "div",
42
42
  {
43
43
  style: {
@@ -64,7 +64,7 @@ function Nt({
64
64
  gap: 16
65
65
  },
66
66
  children: [
67
- /* @__PURE__ */ d(
67
+ /* @__PURE__ */ c(
68
68
  "div",
69
69
  {
70
70
  style: {
@@ -115,13 +115,13 @@ function Nt({
115
115
  fontSize: 13,
116
116
  color: "#a0b0c0"
117
117
  },
118
- children: h.map((p, f) => /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
118
+ children: h.map((p, f) => /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
119
119
  /* @__PURE__ */ e("span", { children: p.label }),
120
120
  /* @__PURE__ */ e("span", { style: { color: p.color }, children: p.value })
121
121
  ] }, f))
122
122
  }
123
123
  ),
124
- /* @__PURE__ */ d(
124
+ /* @__PURE__ */ c(
125
125
  "div",
126
126
  {
127
127
  style: {
@@ -145,9 +145,9 @@ function Nt({
145
145
  children: "SYSTEM ALERTS"
146
146
  }
147
147
  ),
148
- c.map((p, f) => {
149
- const g = Dt[p.level];
150
- return /* @__PURE__ */ d(
148
+ d.map((p, f) => {
149
+ const g = Ht[p.level];
150
+ return /* @__PURE__ */ c(
151
151
  "div",
152
152
  {
153
153
  style: {
@@ -177,13 +177,13 @@ function Nt({
177
177
  }
178
178
  );
179
179
  }
180
- const P = {
180
+ const $ = {
181
181
  online: { color: "#00e5ff", glow: "rgba(0,229,255,0.55)" },
182
182
  warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.55)" },
183
183
  critical: { color: "#ff2255", glow: "rgba(255,34,85,0.55)" },
184
184
  offline: { color: "#1e3a5a", glow: "rgba(30,58,90,0.25)" }
185
- }, Pi = "#00e5ff", Ci = "#0055cc", Te = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Ze = "linear-gradient(180deg, rgba(10,25,50,0.35) 0%, rgba(5,15,35,0.25) 60%, rgba(3,10,20,0.15) 100%)";
186
- function Je(t, n, o) {
185
+ }, Ii = "#00e5ff", Di = "#0055cc", ze = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", ft = "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 ht(t, n, o) {
187
187
  const i = {
188
188
  position: "absolute",
189
189
  overflow: "hidden",
@@ -233,56 +233,56 @@ function Je(t, n, o) {
233
233
  }
234
234
  };
235
235
  }
236
- const Qe = "cubic-bezier(0.34, 1.56, 0.64, 1)", Ge = "cubic-bezier(0.16, 1, 0.3, 1)";
237
- function mt(t) {
238
- return P[t]?.color ?? P.online.color;
236
+ const ct = "cubic-bezier(0.34, 1.56, 0.64, 1)", qe = "cubic-bezier(0.16, 1, 0.3, 1)";
237
+ function Ot(t) {
238
+ return $[t]?.color ?? $.online.color;
239
239
  }
240
- function Wt(t, n, o) {
240
+ function Yt(t, n, o) {
241
241
  return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
242
242
  }
243
- function We(t, n, o, i) {
243
+ function Xe(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 Mt({
246
+ function Vt({
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 = mt(l), g = h >= i / 2, u = c >= r / 2, y = {
253
+ const { type: a, name: s, status: l, ex: h, ey: d, context: p = {} } = t, f = Ot(l), g = h >= i / 2, u = d >= r / 2, b = {
254
254
  position: "fixed",
255
255
  ...g ? { right: 28 } : { left: 28 },
256
256
  ...u ? { bottom: 110 } : { top: 72 }
257
- }, m = g ? 40 : -40, v = u ? 30 : -30, x = t.dialogMetrics ?? p.dialogMetrics;
258
- let w;
259
- if (x && x.length > 0)
260
- w = x.map((b, k) => {
261
- const T = b.warnAt ?? 70, $ = b.critAt ?? 85;
257
+ }, m = g ? 40 : -40, w = u ? 30 : -30, v = t.dialogMetrics ?? p.dialogMetrics;
258
+ let S;
259
+ if (v && v.length > 0)
260
+ S = v.map((y, x) => {
261
+ const C = y.warnAt ?? 70, k = y.critAt ?? 85;
262
262
  return {
263
- id: b.id,
264
- label: b.label,
265
- sublabel: b.sublabel,
266
- value: b.value,
267
- unit: b.unit ?? "%",
268
- status: We(l, b.value, T, $),
269
- icon: b.icon ?? "cpu",
270
- delay: k,
271
- colorOverride: b.color,
272
- warnAt: T,
273
- critAt: $
263
+ id: y.id,
264
+ label: y.label,
265
+ sublabel: y.sublabel,
266
+ value: y.value,
267
+ unit: y.unit ?? "%",
268
+ status: Xe(l, y.value, C, k),
269
+ icon: y.icon ?? "cpu",
270
+ delay: x,
271
+ colorOverride: y.color,
272
+ warnAt: C,
273
+ critAt: k
274
274
  };
275
275
  });
276
276
  else {
277
- const b = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60, T = p.capacity ?? 72, $ = We(l, b, 70, 85), S = We(l, k, 75, 88), N = We(l, T, 75, 90);
278
- w = [
277
+ const y = p.cpuLoad ?? p.traffic ?? 50, x = p.memLoad ?? p.queueDepth ?? 60, C = p.capacity ?? 72, k = Xe(l, y, 70, 85), P = Xe(l, x, 75, 88), O = Xe(l, C, 75, 90);
278
+ S = [
279
279
  {
280
280
  id: "cpu",
281
281
  label: a === "dispatcher" ? "TRAFFIC" : a === "messageServer" ? "QUEUE" : "CPU",
282
282
  sublabel: a === "dispatcher" ? "PORT LOAD" : a === "messageServer" ? "QUEUE DEPTH" : "PROCESSOR",
283
- value: b,
283
+ value: y,
284
284
  unit: "%",
285
- status: $,
285
+ status: k,
286
286
  icon: "cpu",
287
287
  delay: 0
288
288
  },
@@ -290,9 +290,9 @@ function Mt({
290
290
  id: "mem",
291
291
  label: "MEMORY",
292
292
  sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
293
- value: k,
293
+ value: x,
294
294
  unit: "%",
295
- status: S,
295
+ status: P,
296
296
  icon: "mem",
297
297
  delay: 1
298
298
  },
@@ -300,19 +300,19 @@ function Mt({
300
300
  id: "storage",
301
301
  label: "STORAGE",
302
302
  sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
303
- value: T,
303
+ value: C,
304
304
  unit: "%",
305
- status: N,
305
+ status: O,
306
306
  icon: "disk",
307
307
  delay: 2
308
308
  }
309
309
  ];
310
310
  }
311
- return /* @__PURE__ */ d(
311
+ return /* @__PURE__ */ c(
312
312
  "div",
313
313
  {
314
314
  style: {
315
- ...y,
315
+ ...b,
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)",
@@ -322,14 +322,14 @@ function Mt({
322
322
  fontFamily: "'Courier New', monospace",
323
323
  overflow: "hidden",
324
324
  opacity: o ? 1 : 0,
325
- transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${v}px)`,
326
- transition: `opacity 0.45s ${Ge}, transform 0.55s ${Qe}`,
325
+ transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${w}px)`,
326
+ transition: `opacity 0.45s ${qe}, transform 0.55s ${ct}`,
327
327
  pointerEvents: o ? "auto" : "none",
328
328
  zIndex: 9999,
329
329
  animation: o ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
330
330
  "--dialog-color": f
331
331
  },
332
- onClick: (b) => b.stopPropagation(),
332
+ onClick: (y) => y.stopPropagation(),
333
333
  children: [
334
334
  /* @__PURE__ */ e(
335
335
  "div",
@@ -393,14 +393,14 @@ function Mt({
393
393
  borderRight: `2px solid ${f}66`,
394
394
  borderRadius: "0 0 14px 0"
395
395
  }
396
- ].map((b, k) => /* @__PURE__ */ e(
396
+ ].map((y, x) => /* @__PURE__ */ e(
397
397
  "div",
398
398
  {
399
- style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...b }
399
+ style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...y }
400
400
  },
401
- k
401
+ x
402
402
  )),
403
- /* @__PURE__ */ d(
403
+ /* @__PURE__ */ c(
404
404
  "div",
405
405
  {
406
406
  style: {
@@ -414,8 +414,8 @@ function Mt({
414
414
  zIndex: 2
415
415
  },
416
416
  children: [
417
- /* @__PURE__ */ d("div", { style: { display: "flex", alignItems: "center", gap: 10, minWidth: 0 }, children: [
418
- /* @__PURE__ */ d("div", { style: { position: "relative" }, children: [
417
+ /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "center", gap: 10, minWidth: 0 }, children: [
418
+ /* @__PURE__ */ c("div", { style: { position: "relative" }, children: [
419
419
  /* @__PURE__ */ e(
420
420
  "div",
421
421
  {
@@ -442,7 +442,7 @@ function Mt({
442
442
  }
443
443
  )
444
444
  ] }),
445
- /* @__PURE__ */ d("div", { style: { display: "flex", flexDirection: "column", gap: 2, minWidth: 0 }, children: [
445
+ /* @__PURE__ */ c("div", { style: { display: "flex", flexDirection: "column", gap: 2, minWidth: 0 }, children: [
446
446
  /* @__PURE__ */ e(
447
447
  "span",
448
448
  {
@@ -477,8 +477,8 @@ function Mt({
477
477
  /* @__PURE__ */ e(
478
478
  "button",
479
479
  {
480
- onClick: (b) => {
481
- b.stopPropagation(), n();
480
+ onClick: (y) => {
481
+ y.stopPropagation(), n();
482
482
  },
483
483
  style: {
484
484
  width: 34,
@@ -496,11 +496,11 @@ function Mt({
496
496
  lineHeight: 1,
497
497
  flexShrink: 0
498
498
  },
499
- onMouseEnter: (b) => {
500
- b.currentTarget.style.background = `${f}22`, b.currentTarget.style.boxShadow = `0 0 12px ${f}44`;
499
+ onMouseEnter: (y) => {
500
+ y.currentTarget.style.background = `${f}22`, y.currentTarget.style.boxShadow = `0 0 12px ${f}44`;
501
501
  },
502
- onMouseLeave: (b) => {
503
- b.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${f}08 100%)`, b.currentTarget.style.boxShadow = "none";
502
+ onMouseLeave: (y) => {
503
+ y.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${f}08 100%)`, y.currentTarget.style.boxShadow = "none";
504
504
  },
505
505
  children: "×"
506
506
  }
@@ -519,10 +519,10 @@ function Mt({
519
519
  position: "relative",
520
520
  zIndex: 2
521
521
  },
522
- children: w.map((b) => /* @__PURE__ */ e(zt, { metric: b, visible: o, accentColor: f }, b.id))
522
+ children: S.map((y) => /* @__PURE__ */ e(_t, { metric: y, visible: o, accentColor: f }, y.id))
523
523
  }
524
524
  ),
525
- /* @__PURE__ */ d(
525
+ /* @__PURE__ */ c(
526
526
  "div",
527
527
  {
528
528
  style: {
@@ -540,12 +540,12 @@ function Mt({
540
540
  zIndex: 2
541
541
  },
542
542
  children: [
543
- /* @__PURE__ */ d("span", { children: [
543
+ /* @__PURE__ */ c("span", { children: [
544
544
  a.toUpperCase(),
545
545
  " · ",
546
546
  l.toUpperCase()
547
547
  ] }),
548
- /* @__PURE__ */ d("span", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
548
+ /* @__PURE__ */ c("span", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
549
549
  /* @__PURE__ */ e(
550
550
  "span",
551
551
  {
@@ -568,7 +568,7 @@ function Mt({
568
568
  }
569
569
  );
570
570
  }
571
- function zt({
571
+ function _t({
572
572
  metric: t,
573
573
  visible: n,
574
574
  accentColor: o
@@ -580,12 +580,12 @@ function zt({
580
580
  unit: s,
581
581
  status: l,
582
582
  icon: h,
583
- delay: c,
583
+ delay: d,
584
584
  colorOverride: p,
585
585
  warnAt: f = 70,
586
586
  critAt: g = 85
587
- } = t, u = p ?? Wt(a, f, g), y = p ?? mt(l);
588
- return /* @__PURE__ */ d(
587
+ } = t, u = p ?? Yt(a, f, g), b = p ?? Ot(l);
588
+ return /* @__PURE__ */ c(
589
589
  "div",
590
590
  {
591
591
  style: {
@@ -594,28 +594,28 @@ function zt({
594
594
  gap: 16,
595
595
  opacity: n ? 1 : 0,
596
596
  transform: n ? "translateY(0)" : "translateY(12px)",
597
- transition: `opacity 0.4s ${Ge} ${0.3 + c * 0.12}s, transform 0.5s ${Qe} ${0.3 + c * 0.12}s`
597
+ transition: `opacity 0.4s ${qe} ${0.3 + d * 0.12}s, transform 0.5s ${ct} ${0.3 + d * 0.12}s`
598
598
  },
599
599
  children: [
600
- /* @__PURE__ */ d(
600
+ /* @__PURE__ */ c(
601
601
  "div",
602
602
  {
603
603
  style: {
604
604
  width: 52,
605
605
  height: 52,
606
606
  borderRadius: 12,
607
- border: `1px solid ${y}44`,
608
- background: `linear-gradient(135deg, ${y}0c 0%, ${y}04 100%)`,
607
+ border: `1px solid ${b}44`,
608
+ background: `linear-gradient(135deg, ${b}0c 0%, ${b}04 100%)`,
609
609
  display: "flex",
610
610
  alignItems: "center",
611
611
  justifyContent: "center",
612
612
  flexShrink: 0,
613
613
  position: "relative",
614
614
  overflow: "hidden",
615
- animation: n ? `comp-dialog-icon-pop 0.5s ${Qe} ${0.35 + c * 0.12}s both` : "none"
615
+ animation: n ? `comp-dialog-icon-pop 0.5s ${ct} ${0.35 + d * 0.12}s both` : "none"
616
616
  },
617
617
  children: [
618
- /* @__PURE__ */ e(Bt, { type: h, color: y }),
618
+ /* @__PURE__ */ e(jt, { type: h, color: b }),
619
619
  (l === "warning" || l === "critical") && /* @__PURE__ */ e(
620
620
  "div",
621
621
  {
@@ -626,8 +626,8 @@ function zt({
626
626
  width: 5,
627
627
  height: 5,
628
628
  borderRadius: "50%",
629
- background: y,
630
- boxShadow: `0 0 6px ${y}`,
629
+ background: b,
630
+ boxShadow: `0 0 6px ${b}`,
631
631
  animation: "holo-led-blink 1.2s infinite"
632
632
  }
633
633
  }
@@ -635,8 +635,8 @@ function zt({
635
635
  ]
636
636
  }
637
637
  ),
638
- /* @__PURE__ */ d("div", { style: { flex: 1, minWidth: 0 }, children: [
639
- /* @__PURE__ */ d(
638
+ /* @__PURE__ */ c("div", { style: { flex: 1, minWidth: 0 }, children: [
639
+ /* @__PURE__ */ c(
640
640
  "div",
641
641
  {
642
642
  style: {
@@ -646,7 +646,7 @@ function zt({
646
646
  marginBottom: 6
647
647
  },
648
648
  children: [
649
- /* @__PURE__ */ d("div", { style: { display: "flex", flexDirection: "column", gap: 2 }, children: [
649
+ /* @__PURE__ */ c("div", { style: { display: "flex", flexDirection: "column", gap: 2 }, children: [
650
650
  /* @__PURE__ */ e(
651
651
  "span",
652
652
  {
@@ -672,7 +672,7 @@ function zt({
672
672
  }
673
673
  )
674
674
  ] }),
675
- /* @__PURE__ */ d(
675
+ /* @__PURE__ */ c(
676
676
  "span",
677
677
  {
678
678
  style: {
@@ -691,7 +691,7 @@ function zt({
691
691
  ]
692
692
  }
693
693
  ),
694
- /* @__PURE__ */ d(
694
+ /* @__PURE__ */ c(
695
695
  "div",
696
696
  {
697
697
  style: {
@@ -714,7 +714,8 @@ function zt({
714
714
  background: `linear-gradient(90deg, ${u}66, ${u})`,
715
715
  boxShadow: `0 0 8px ${u}44`,
716
716
  transformOrigin: "left center",
717
- animation: n ? `comp-dialog-metric-fill 0.8s ${Ge} ${0.4 + c * 0.12}s both` : "none"
717
+ animation: n ? `comp-dialog-metric-fill 0.8s ${qe} ${0.4 + d * 0.12}s both` : "none",
718
+ transition: `width 0.6s ${qe}, background 0.4s ease, box-shadow 0.4s ease`
718
719
  }
719
720
  }
720
721
  ),
@@ -747,7 +748,7 @@ function zt({
747
748
  ]
748
749
  }
749
750
  ),
750
- /* @__PURE__ */ d("div", { style: { position: "relative", height: 10, marginTop: 2 }, children: [
751
+ /* @__PURE__ */ c("div", { style: { position: "relative", height: 10, marginTop: 2 }, children: [
751
752
  /* @__PURE__ */ e(
752
753
  "span",
753
754
  {
@@ -808,8 +809,8 @@ function zt({
808
809
  }
809
810
  );
810
811
  }
811
- function Bt({ type: t, color: n }) {
812
- return t === "cpu" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
812
+ function jt({ type: t, color: n }) {
813
+ return t === "cpu" ? /* @__PURE__ */ c("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
813
814
  /* @__PURE__ */ e("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2", stroke: n, strokeWidth: "1.5" }),
814
815
  /* @__PURE__ */ e(
815
816
  "rect",
@@ -836,7 +837,7 @@ function Bt({ type: t, color: n }) {
836
837
  /* @__PURE__ */ e("line", { x1: "9", y1: "18", x2: "9", y2: "20", stroke: n, strokeWidth: "1" }),
837
838
  /* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "20", stroke: n, strokeWidth: "1" }),
838
839
  /* @__PURE__ */ e("line", { x1: "15", y1: "18", x2: "15", y2: "20", stroke: n, strokeWidth: "1" })
839
- ] }) : t === "mem" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
840
+ ] }) : t === "mem" ? /* @__PURE__ */ c("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
840
841
  /* @__PURE__ */ e("rect", { x: "7", y: "3", width: "10", height: "18", rx: "1.5", stroke: n, strokeWidth: "1.5" }),
841
842
  /* @__PURE__ */ e(
842
843
  "rect",
@@ -883,7 +884,7 @@ function Bt({ type: t, color: n }) {
883
884
  /* @__PURE__ */ e("line", { x1: "17", y1: "7", x2: "19", y2: "7", stroke: n, strokeWidth: "0.8" }),
884
885
  /* @__PURE__ */ e("line", { x1: "17", y1: "11", x2: "19", y2: "11", stroke: n, strokeWidth: "0.8" }),
885
886
  /* @__PURE__ */ e("line", { x1: "17", y1: "15", x2: "19", y2: "15", stroke: n, strokeWidth: "0.8" })
886
- ] }) : /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
887
+ ] }) : /* @__PURE__ */ c("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
887
888
  /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "8.5", stroke: n, strokeWidth: "1.5" }),
888
889
  /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "5.5", stroke: n, strokeWidth: "0.5", strokeDasharray: "2 2" }),
889
890
  /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "2", fill: `${n}55` }),
@@ -893,14 +894,14 @@ function Bt({ type: t, color: n }) {
893
894
  /* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke: n, strokeWidth: "0.8" })
894
895
  ] });
895
896
  }
896
- const et = Ue(null), tt = Ue({ index: 0 });
897
- function Ei() {
898
- return re(et);
897
+ const ut = tt(null), bt = tt({ index: 0 });
898
+ function Ni() {
899
+ return ge(ut);
899
900
  }
900
- function Ai() {
901
- return re(tt);
901
+ function Wi() {
902
+ return ge(bt);
902
903
  }
903
- function Ft({
904
+ function Xt({
904
905
  children: t,
905
906
  logoUrl: n,
906
907
  viewState: o,
@@ -910,63 +911,69 @@ function Ft({
910
911
  drillAnimPhase: s,
911
912
  rotateY: l = 20,
912
913
  autoRotateComponents: h = !0,
913
- componentScale: c = 0.35,
914
+ componentScale: d = 0.35,
914
915
  drillZoom: p = 3.3,
915
916
  autoRotateCarousel: f = !0,
916
917
  carouselSpeed: g = 6e-3,
917
918
  width: u = 950,
918
- height: y = 790,
919
+ height: b = 790,
919
920
  onSelectSystem: m,
920
- onBackgroundClick: v,
921
- onComponentClick: x,
922
- onCloseDrill: w,
923
- selectedSystemStatus: b = "online",
924
- selectedSystemDbSync: k = !0,
925
- selectedSystemMetrics: T,
926
- selectedSystemAlerts: $
921
+ onBackgroundClick: w,
922
+ onComponentClick: v,
923
+ onCloseDrill: S,
924
+ onComponentUpdate: y,
925
+ selectedSystemStatus: x = "online",
926
+ selectedSystemDbSync: C = !0,
927
+ selectedSystemMetrics: k,
928
+ selectedSystemAlerts: P
927
929
  }) {
928
- const [S, N] = R(0);
929
- Ae(() => {
930
- let I;
930
+ const [O, I] = R(0);
931
+ ke(() => {
932
+ let N;
931
933
  if ((o === "compact" || o === "collapsing") && f) {
932
934
  const U = () => {
933
- N((se) => se + g), I = requestAnimationFrame(U);
935
+ I((ne) => ne + g), N = requestAnimationFrame(U);
934
936
  };
935
- I = requestAnimationFrame(U);
937
+ N = requestAnimationFrame(U);
936
938
  }
937
- return () => cancelAnimationFrame(I);
939
+ return () => cancelAnimationFrame(N);
938
940
  }, [o, f, g]);
939
- const B = j.Children.toArray(t), z = B.length, H = yt(() => ({
940
- totalSystems: z,
941
- carouselRotation: S,
942
- viewState: o,
943
- animPhase: i,
944
- selectedSystem: r,
945
- selectedComponent: a,
946
- rotateY: l,
947
- autoRotateComponents: h,
948
- componentScale: c,
949
- drillZoom: p,
950
- onSelectSystem: m,
951
- onComponentClick: x,
952
- containerWidth: u
953
- }), [
954
- z,
955
- S,
956
- o,
957
- i,
958
- r,
959
- a,
960
- l,
961
- h,
962
- c,
963
- p,
964
- m,
965
- x,
966
- u
967
- ]), ae = B.map((I, U) => /* @__PURE__ */ e(tt.Provider, { value: { index: U }, children: I }, U)), le = o === "expanded" || o === "expanding" && i >= 4;
968
- return /* @__PURE__ */ d(et.Provider, { value: H, children: [
969
- /* @__PURE__ */ d("div", { style: { position: "relative", width: u, height: y, margin: "0 auto", flexShrink: 0 }, children: [
941
+ const z = q.Children.toArray(t), K = z.length, Z = Tt(
942
+ () => ({
943
+ totalSystems: K,
944
+ carouselRotation: O,
945
+ viewState: o,
946
+ animPhase: i,
947
+ selectedSystem: r,
948
+ selectedComponent: a,
949
+ rotateY: l,
950
+ autoRotateComponents: h,
951
+ componentScale: d,
952
+ drillZoom: p,
953
+ onSelectSystem: m,
954
+ onComponentClick: v,
955
+ onComponentUpdate: y,
956
+ containerWidth: u
957
+ }),
958
+ [
959
+ K,
960
+ O,
961
+ o,
962
+ i,
963
+ r,
964
+ a,
965
+ l,
966
+ h,
967
+ d,
968
+ p,
969
+ m,
970
+ v,
971
+ y,
972
+ u
973
+ ]
974
+ ), ye = z.map((N, U) => /* @__PURE__ */ e(bt.Provider, { value: { index: U }, children: N }, U)), me = o === "expanded" || o === "expanding" && i >= 4;
975
+ return /* @__PURE__ */ c(ut.Provider, { value: Z, children: [
976
+ /* @__PURE__ */ c("div", { style: { position: "relative", width: u, height: b, margin: "0 auto", flexShrink: 0 }, children: [
970
977
  n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
971
978
  "img",
972
979
  {
@@ -987,32 +994,32 @@ function Ft({
987
994
  }
988
995
  }
989
996
  ),
990
- ae
997
+ ye
991
998
  ] }),
992
- r && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
993
- Nt,
999
+ r && /* @__PURE__ */ e("div", { onClick: (N) => N.stopPropagation(), children: /* @__PURE__ */ e(
1000
+ Ut,
994
1001
  {
995
1002
  name: r,
996
- status: b,
997
- dbSync: k,
998
- visible: le && !a,
999
- metrics: T,
1000
- alerts: $
1003
+ status: x,
1004
+ dbSync: C,
1005
+ visible: me && !a,
1006
+ metrics: k,
1007
+ alerts: P
1001
1008
  }
1002
1009
  ) }),
1003
- a && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
1004
- Mt,
1010
+ a && /* @__PURE__ */ e("div", { onClick: (N) => N.stopPropagation(), children: /* @__PURE__ */ e(
1011
+ Vt,
1005
1012
  {
1006
1013
  component: a,
1007
- onClose: w,
1014
+ onClose: S,
1008
1015
  visible: s >= 0.3,
1009
1016
  sceneWidth: u,
1010
- sceneHeight: y
1017
+ sceneHeight: b
1011
1018
  }
1012
1019
  ) })
1013
1020
  ] });
1014
1021
  }
1015
- function Ht({
1022
+ function qt({
1016
1023
  x1: t,
1017
1024
  y1: n,
1018
1025
  x2: o,
@@ -1021,7 +1028,7 @@ function Ht({
1021
1028
  color: a = "#00e5ff",
1022
1029
  dur: s = "3s"
1023
1030
  }) {
1024
- return /* @__PURE__ */ d("g", { opacity: r ? 1 : 0, style: { transition: "opacity 0.6s ease" }, children: [
1031
+ return /* @__PURE__ */ c("g", { opacity: r ? 1 : 0, style: { transition: "opacity 0.6s ease" }, children: [
1025
1032
  /* @__PURE__ */ e(
1026
1033
  "line",
1027
1034
  {
@@ -1059,7 +1066,7 @@ function Ht({
1059
1066
  )
1060
1067
  }
1061
1068
  ),
1062
- r && /* @__PURE__ */ d(Ee, { children: [
1069
+ r && /* @__PURE__ */ c(Me, { children: [
1063
1070
  /* @__PURE__ */ e("circle", { r: "3", fill: a, opacity: 0.85, children: /* @__PURE__ */ e(
1064
1071
  "animateMotion",
1065
1072
  {
@@ -1079,14 +1086,14 @@ function Ht({
1079
1086
  ] })
1080
1087
  ] });
1081
1088
  }
1082
- const Ut = [
1089
+ const Qt = [
1083
1090
  { scale: 1, op: 1, delay: "0.0s", bw: "2px", glow: 1 },
1084
1091
  { scale: 0.82, op: 0.88, delay: "0.5s", bw: "1.5px", glow: 0.7 },
1085
1092
  { scale: 0.64, op: 0.72, delay: "1.0s", bw: "1px", glow: 0.5 },
1086
1093
  { scale: 0.47, op: 0.58, delay: "1.5s", bw: "1px", glow: 0.35 },
1087
1094
  { scale: 0.3, op: 0.45, delay: "2.0s", bw: "1px", glow: 0.25 }
1088
1095
  ];
1089
- function Yt({
1096
+ function Gt({
1090
1097
  children: t,
1091
1098
  size: n = 230,
1092
1099
  widthRatio: o = 1,
@@ -1094,13 +1101,13 @@ function Yt({
1094
1101
  label: r
1095
1102
  }) {
1096
1103
  const a = n * o;
1097
- return /* @__PURE__ */ d("div", { style: {
1104
+ return /* @__PURE__ */ c("div", { style: {
1098
1105
  display: "flex",
1099
1106
  flexDirection: "column",
1100
1107
  alignItems: "center",
1101
1108
  position: "relative"
1102
1109
  }, children: [
1103
- /* @__PURE__ */ d("div", { style: {
1110
+ /* @__PURE__ */ c("div", { style: {
1104
1111
  position: "relative",
1105
1112
  animation: "holo-float 4s ease-in-out infinite"
1106
1113
  }, children: [
@@ -1123,7 +1130,7 @@ function Yt({
1123
1130
  } }),
1124
1131
  t
1125
1132
  ] }),
1126
- /* @__PURE__ */ d("div", { style: {
1133
+ /* @__PURE__ */ c("div", { style: {
1127
1134
  position: "relative",
1128
1135
  width: a,
1129
1136
  height: 88,
@@ -1195,7 +1202,7 @@ function Yt({
1195
1202
  animationDelay: "0.06s"
1196
1203
  } })
1197
1204
  ] }),
1198
- /* @__PURE__ */ d("div", { style: {
1205
+ /* @__PURE__ */ c("div", { style: {
1199
1206
  position: "relative",
1200
1207
  width: a,
1201
1208
  height: n * 0.34,
@@ -1252,7 +1259,7 @@ function Yt({
1252
1259
  background: `radial-gradient(ellipse, ${i}88 0%, ${i}33 40%, transparent 72%)`,
1253
1260
  filter: "blur(12px)"
1254
1261
  } }),
1255
- Ut.map((s, l) => /* @__PURE__ */ e("div", { style: {
1262
+ Qt.map((s, l) => /* @__PURE__ */ e("div", { style: {
1256
1263
  position: "absolute",
1257
1264
  width: a * s.scale,
1258
1265
  height: n * s.scale,
@@ -1295,8 +1302,8 @@ function Yt({
1295
1302
  }, children: r })
1296
1303
  ] });
1297
1304
  }
1298
- const ue = Ue(null), Vt = "cubic-bezier(0.34, 1.56, 0.64, 1)", ct = 330, pt = 340, _t = 660;
1299
- function xt({
1305
+ const Re = tt(null), Kt = "cubic-bezier(0.34, 1.56, 0.64, 1)", $t = 330, kt = 340, Zt = 660;
1306
+ function Lt({
1300
1307
  name: t,
1301
1308
  status: n = "online",
1302
1309
  connections: o = [],
@@ -1306,35 +1313,37 @@ function xt({
1306
1313
  _totalSystems: s,
1307
1314
  _carouselRotation: l,
1308
1315
  _viewState: h,
1309
- _animPhase: c,
1316
+ _animPhase: d,
1310
1317
  _selectedSystem: p,
1311
1318
  _selectedComponent: f,
1312
1319
  _rotateY: g,
1313
1320
  _autoRotateComponents: u,
1314
- _componentScale: y,
1321
+ _componentScale: b,
1315
1322
  _drillZoom: m,
1316
- _onSelectSystem: v,
1317
- _onComponentClick: x,
1318
- _containerWidth: w
1323
+ _onSelectSystem: w,
1324
+ _onComponentClick: v,
1325
+ _onComponentUpdate: S,
1326
+ _containerWidth: y
1319
1327
  }) {
1320
- const b = re(et), k = re(tt), T = a ?? k.index, $ = s ?? b?.totalSystems ?? 1, S = l ?? b?.carouselRotation ?? 0, N = h ?? b?.viewState ?? "compact", B = c ?? b?.animPhase ?? 0, z = p ?? b?.selectedSystem ?? null, H = f ?? b?.selectedComponent ?? null, ae = g ?? b?.rotateY ?? 20, le = u ?? b?.autoRotateComponents ?? !0, I = y ?? b?.componentScale ?? 0.35, U = m ?? b?.drillZoom ?? 3.3, se = v ?? b?.onSelectSystem, Ie = x ?? b?.onComponentClick, Oe = w ?? b?.containerWidth ?? 950, Y = z === t, L = Y && (N === "expanded" || N === "expanding" && B >= 1), Q = !L, Le = (Oe - _t) / 2, be = ct + Le, ge = T / $ * Math.PI * 2 + S, Ye = 420, Ve = 160, de = be + Math.cos(ge) * Ye, C = 450 + Math.sin(ge) * Ve, ce = Math.round(C), ee = !Y && (N === "expanding" || N === "expanded"), pe = ee ? 0 : 1, Z = Q ? 0.3 + (Math.sin(ge) + 1) * 0.1 : 1, V = Q ? Z : I, ye = N === "compact" || N === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", De = Y && H, _e = De ? U : 1, Ct = H?.ex ?? 330, Et = H?.ey ?? 300, { size: At = 90, color: Tt = "#00e5ff", widthRatio: It = 3 } = i ?? {}, Ot = {
1328
+ const x = ge(ut), C = ge(bt), k = a ?? C.index, P = s ?? x?.totalSystems ?? 1, O = l ?? x?.carouselRotation ?? 0, I = h ?? x?.viewState ?? "compact", z = d ?? x?.animPhase ?? 0, K = p ?? x?.selectedSystem ?? null, Z = f ?? x?.selectedComponent ?? null, ye = g ?? x?.rotateY ?? 20, me = u ?? x?.autoRotateComponents ?? !0, N = b ?? x?.componentScale ?? 0.35, U = m ?? x?.drillZoom ?? 3.3, ne = w ?? x?.onSelectSystem, Be = v ?? x?.onComponentClick, oe = S ?? x?.onComponentUpdate, Fe = y ?? x?.containerWidth ?? 950, J = K === t, B = J && (I === "expanded" || I === "expanding" && z >= 1), _ = !B, se = (Fe - Zt) / 2, de = $t + se, Ce = k / P * Math.PI * 2 + O, it = 420, nt = 160, xe = de + Math.cos(Ce) * it, ce = 450 + Math.sin(Ce) * nt, ot = Math.round(ce), T = !J && (I === "expanding" || I === "expanded"), j = T ? 0 : 1, re = _ ? 0.3 + (Math.sin(Ce) + 1) * 0.1 : 1, ee = _ ? re : N, ae = I === "compact" || I === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", ve = J && Z, le = ve ? U : 1, pe = Z?.ex ?? 330, F = Z?.ey ?? 300, { size: rt = 90, color: at = "#00e5ff", widthRatio: Ye = 3 } = i ?? {}, we = {
1321
1329
  name: t,
1322
- isSelected: Y,
1323
- isExpandedPos: L,
1324
- isCompact: Q,
1325
- animPhase: B,
1326
- compactCx: de,
1327
- compactCy: C,
1328
- groupScale: Z,
1329
- effectiveScale: V,
1330
- transitionValue: ye,
1331
- rotateY: ae,
1332
- autoRotateComponents: le,
1333
- onComponentClick: Ie,
1334
- selectedComponentName: H?.name ?? null,
1335
- expandedOffsetX: Le
1330
+ isSelected: J,
1331
+ isExpandedPos: B,
1332
+ isCompact: _,
1333
+ animPhase: z,
1334
+ compactCx: xe,
1335
+ compactCy: ce,
1336
+ groupScale: re,
1337
+ effectiveScale: ee,
1338
+ transitionValue: ae,
1339
+ rotateY: ye,
1340
+ autoRotateComponents: me,
1341
+ onComponentClick: Be,
1342
+ onComponentUpdate: oe,
1343
+ selectedComponentName: Z?.name ?? null,
1344
+ expandedOffsetX: se
1336
1345
  };
1337
- return /* @__PURE__ */ e(ue.Provider, { value: Ot, children: /* @__PURE__ */ d(
1346
+ return /* @__PURE__ */ e(Re.Provider, { value: we, children: /* @__PURE__ */ c(
1338
1347
  "div",
1339
1348
  {
1340
1349
  style: {
@@ -1344,21 +1353,21 @@ function xt({
1344
1353
  width: "100%",
1345
1354
  height: "100%",
1346
1355
  pointerEvents: "none",
1347
- opacity: pe,
1348
- transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Vt}`,
1349
- filter: Q && Math.sin(ge) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1350
- zIndex: Y ? 500 : ee ? 0 : ce,
1351
- transformOrigin: `${be}px ${pt}px`,
1352
- transform: De ? `translate(${-(Ct - ct) * _e}px, ${-(Et - pt) * _e}px) scale(${_e})` : "none"
1356
+ opacity: j,
1357
+ transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Kt}`,
1358
+ filter: _ && Math.sin(Ce) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1359
+ zIndex: J ? 500 : T ? 0 : ot,
1360
+ transformOrigin: `${de}px ${kt}px`,
1361
+ transform: ve ? `translate(${-(pe - $t) * le}px, ${-(F - kt) * le}px) scale(${le})` : "none"
1353
1362
  },
1354
1363
  children: [
1355
- Q && !ee && /* @__PURE__ */ e(
1364
+ _ && !T && /* @__PURE__ */ e(
1356
1365
  "div",
1357
1366
  {
1358
1367
  style: {
1359
1368
  position: "absolute",
1360
- left: de,
1361
- top: C,
1369
+ left: xe,
1370
+ top: ce,
1362
1371
  width: 160,
1363
1372
  height: 180,
1364
1373
  transform: "translate(-50%, -80%)",
@@ -1366,25 +1375,25 @@ function xt({
1366
1375
  cursor: "pointer",
1367
1376
  zIndex: 101
1368
1377
  },
1369
- onClick: (J) => {
1370
- J.stopPropagation(), se?.(t);
1378
+ onClick: (H) => {
1379
+ H.stopPropagation(), ne?.(t);
1371
1380
  }
1372
1381
  }
1373
1382
  ),
1374
- Q && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
1383
+ _ && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
1375
1384
  "div",
1376
1385
  {
1377
1386
  style: {
1378
1387
  position: "absolute",
1379
- left: de,
1380
- top: C - 200,
1381
- transform: `translate(-50%, -50%) scale(${Z})`,
1388
+ left: xe,
1389
+ top: ce - 200,
1390
+ transform: `translate(-50%, -50%) scale(${re})`,
1382
1391
  zIndex: 110,
1383
1392
  pointerEvents: "none",
1384
1393
  animation: "holo-led-blink 1.5s infinite",
1385
1394
  filter: `drop-shadow(0 0 10px ${n === "critical" ? "#ff2255" : "#ff8c00"})`
1386
1395
  },
1387
- children: /* @__PURE__ */ d("svg", { width: "48", height: "48", viewBox: "0 0 28 28", fill: "none", children: [
1396
+ children: /* @__PURE__ */ c("svg", { width: "48", height: "48", viewBox: "0 0 28 28", fill: "none", children: [
1388
1397
  /* @__PURE__ */ e(
1389
1398
  "path",
1390
1399
  {
@@ -1424,13 +1433,13 @@ function xt({
1424
1433
  {
1425
1434
  style: {
1426
1435
  position: "absolute",
1427
- left: L ? be : de,
1428
- top: L ? 48 : C - 180,
1429
- transform: `translate(-50%, -50%) scale(${L ? 1.2 : Z * 1.5})`,
1436
+ left: B ? de : xe,
1437
+ top: B ? 48 : ce - 180,
1438
+ transform: `translate(-50%, -50%) scale(${B ? 1.2 : re * 1.5})`,
1430
1439
  opacity: 1,
1431
1440
  pointerEvents: "none",
1432
1441
  zIndex: 100,
1433
- transition: ye,
1442
+ transition: ae,
1434
1443
  fontSize: 36,
1435
1444
  fontWeight: 700,
1436
1445
  letterSpacing: "0.18em",
@@ -1450,25 +1459,25 @@ function xt({
1450
1459
  style: {
1451
1460
  position: "absolute",
1452
1461
  top: 0,
1453
- left: L ? Le : 0,
1462
+ left: B ? se : 0,
1454
1463
  width: 660,
1455
1464
  height: 640,
1456
1465
  pointerEvents: "none",
1457
1466
  zIndex: 0,
1458
- transition: ye
1467
+ transition: ae
1459
1468
  },
1460
- children: o.map((J, Lt) => /* @__PURE__ */ e(
1461
- Ht,
1469
+ children: o.map((H, Ve) => /* @__PURE__ */ e(
1470
+ qt,
1462
1471
  {
1463
- x1: J.from[0],
1464
- y1: J.from[1],
1465
- x2: J.to[0],
1466
- y2: J.to[1],
1467
- show: Y && B >= (J.visibleAtPhase ?? 0),
1468
- color: J.color,
1469
- dur: J.duration
1472
+ x1: H.from[0],
1473
+ y1: H.from[1],
1474
+ x2: H.to[0],
1475
+ y2: H.to[1],
1476
+ show: J && z >= (H.visibleAtPhase ?? 0),
1477
+ color: H.color,
1478
+ dur: H.duration
1470
1479
  },
1471
- Lt
1480
+ Ve
1472
1481
  ))
1473
1482
  }
1474
1483
  ),
@@ -1477,13 +1486,13 @@ function xt({
1477
1486
  {
1478
1487
  style: {
1479
1488
  position: "absolute",
1480
- left: L ? be : de,
1481
- top: L ? 570 : C + 70,
1482
- transform: `translate(-50%, -50%) scaleX(${L ? 1 : 0.4}) scaleY(${L ? 1 : 0.6}) scale(${L ? 1 : Z})`,
1483
- transition: ye,
1489
+ left: B ? de : xe,
1490
+ top: B ? 570 : ce + 70,
1491
+ transform: `translate(-50%, -50%) scaleX(${B ? 1 : 0.4}) scaleY(${B ? 1 : 0.6}) scale(${B ? 1 : re})`,
1492
+ transition: ae,
1484
1493
  zIndex: 1
1485
1494
  },
1486
- children: /* @__PURE__ */ e(Yt, { size: At, color: Tt, widthRatio: It, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1495
+ children: /* @__PURE__ */ e(Gt, { size: rt, color: at, widthRatio: Ye, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1487
1496
  }
1488
1497
  ),
1489
1498
  r
@@ -1501,23 +1510,24 @@ function W({
1501
1510
  offsetY: s,
1502
1511
  isVisible: l,
1503
1512
  align: h = "right",
1504
- internalRef: c
1513
+ internalRef: d,
1514
+ forceShow: p = !1
1505
1515
  }) {
1506
- const p = re(ue), f = p?.expandedOffsetX ?? 0;
1507
- if (o === "online") return null;
1508
- const g = l && !!p?.isExpandedPos, u = P[o]?.color ?? P.warning.color, y = Math.abs(a) > Math.abs(s), m = t + f + (y ? Math.sign(a) * 45 : 0), v = n + (y ? 0 : Math.sign(s) * 40), x = t + f + a, w = n + s;
1509
- let b = "";
1510
- if (y) {
1511
- const S = m + (x - m) / 2;
1512
- b = `M ${m} ${v} L ${S} ${v} L ${S} ${w} L ${x} ${w}`;
1516
+ const f = ge(Re), g = f?.expandedOffsetX ?? 0;
1517
+ if (o === "online" && !p) return null;
1518
+ const u = l && !!f?.isExpandedPos, b = o === "online" ? $.warning.color : $[o]?.color ?? $.warning.color, m = Math.abs(a) > Math.abs(s), w = t + g + (m ? Math.sign(a) * 45 : 0), v = n + (m ? 0 : Math.sign(s) * 40), S = t + g + a, y = n + s;
1519
+ let x = "";
1520
+ if (m) {
1521
+ const O = w + (S - w) / 2;
1522
+ x = `M ${w} ${v} L ${O} ${v} L ${O} ${y} L ${S} ${y}`;
1513
1523
  } else {
1514
- const S = v + (w - v) / 2;
1515
- b = `M ${m} ${v} L ${m} ${S} L ${x} ${S} L ${x} ${w}`;
1524
+ const O = v + (y - v) / 2;
1525
+ x = `M ${w} ${v} L ${w} ${O} L ${S} ${O} L ${S} ${y}`;
1516
1526
  }
1517
- let k = "translate(0, -50%)";
1518
- h === "left" && (k = "translate(-100%, -50%)"), h === "top" && (k = "translate(-50%, -100%)"), h === "bottom" && (k = "translate(-50%, 0)");
1519
- const T = h === "left" ? -8 : h === "right" ? 8 : 0, $ = h === "top" ? -8 : h === "bottom" ? 8 : 0;
1520
- return /* @__PURE__ */ d(
1527
+ let C = "translate(0, -50%)";
1528
+ h === "left" && (C = "translate(-100%, -50%)"), h === "top" && (C = "translate(-50%, -100%)"), h === "bottom" && (C = "translate(-50%, 0)");
1529
+ const k = h === "left" ? -8 : h === "right" ? 8 : 0, P = h === "top" ? -8 : h === "bottom" ? 8 : 0;
1530
+ return /* @__PURE__ */ c(
1521
1531
  "div",
1522
1532
  {
1523
1533
  style: {
@@ -1527,7 +1537,7 @@ function W({
1527
1537
  width: "100%",
1528
1538
  height: "100%",
1529
1539
  pointerEvents: "none",
1530
- opacity: g ? 1 : 0,
1540
+ opacity: u ? 1 : 0,
1531
1541
  transition: "opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s",
1532
1542
  zIndex: 150
1533
1543
  },
@@ -1547,29 +1557,29 @@ function W({
1547
1557
  children: /* @__PURE__ */ e(
1548
1558
  "path",
1549
1559
  {
1550
- d: b,
1560
+ d: x,
1551
1561
  fill: "none",
1552
- stroke: u,
1562
+ stroke: b,
1553
1563
  strokeWidth: "1.5",
1554
1564
  strokeDasharray: "5 4",
1555
- style: { filter: `drop-shadow(0 0 4px ${u})`, opacity: 0.55 }
1565
+ style: { filter: `drop-shadow(0 0 4px ${b})`, opacity: 0.55 }
1556
1566
  }
1557
1567
  )
1558
1568
  }
1559
1569
  ),
1560
- /* @__PURE__ */ d(
1570
+ /* @__PURE__ */ c(
1561
1571
  "div",
1562
1572
  {
1563
1573
  style: {
1564
1574
  position: "absolute",
1565
- left: x,
1566
- top: w,
1567
- transform: k,
1568
- marginLeft: T,
1569
- marginTop: $,
1575
+ left: S,
1576
+ top: y,
1577
+ transform: C,
1578
+ marginLeft: k,
1579
+ marginTop: P,
1570
1580
  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
- border: `1px solid ${u}55`,
1572
- borderLeft: `2px solid ${u}`,
1581
+ border: `1px solid ${b}55`,
1582
+ borderLeft: `2px solid ${b}`,
1573
1583
  backdropFilter: "blur(8px)",
1574
1584
  WebkitBackdropFilter: "blur(8px)",
1575
1585
  padding: "6px 10px",
@@ -1577,10 +1587,10 @@ function W({
1577
1587
  color: "#fff",
1578
1588
  fontFamily: "'Courier New', monospace",
1579
1589
  width: 140,
1580
- boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${u}22 inset`
1590
+ boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${b}22 inset`
1581
1591
  },
1582
1592
  children: [
1583
- /* @__PURE__ */ d(
1593
+ /* @__PURE__ */ c(
1584
1594
  "div",
1585
1595
  {
1586
1596
  style: {
@@ -1597,8 +1607,8 @@ function W({
1597
1607
  width: 4,
1598
1608
  height: 4,
1599
1609
  borderRadius: "50%",
1600
- background: u,
1601
- boxShadow: `0 0 6px ${u}`,
1610
+ background: b,
1611
+ boxShadow: `0 0 6px ${b}`,
1602
1612
  animation: "holo-led-blink 1.5s infinite"
1603
1613
  }
1604
1614
  }
@@ -1607,14 +1617,14 @@ function W({
1607
1617
  "div",
1608
1618
  {
1609
1619
  style: {
1610
- color: u,
1620
+ color: b,
1611
1621
  fontWeight: "600",
1612
1622
  fontSize: 10,
1613
1623
  letterSpacing: "1px",
1614
1624
  textTransform: "uppercase",
1615
- textShadow: `0 0 4px ${u}88`
1625
+ textShadow: `0 0 4px ${b}88`
1616
1626
  },
1617
- children: c ? `${i} · ${c}` : i
1627
+ children: d ? `${i} · ${d}` : i
1618
1628
  }
1619
1629
  )
1620
1630
  ]
@@ -1648,62 +1658,80 @@ function A({
1648
1658
  label: s,
1649
1659
  subLabel: l,
1650
1660
  delay: h = "0s",
1651
- componentInfo: c,
1661
+ componentInfo: d,
1652
1662
  visibleAtPhase: p = 0,
1653
1663
  fixedScale: f,
1654
1664
  bare: g = !1,
1655
1665
  alert: u
1656
1666
  }) {
1657
- const y = re(ue);
1658
- if (!y)
1667
+ const b = ge(Re);
1668
+ if (!b)
1659
1669
  throw new Error("ServiceNode must be used inside a <Service> component.");
1660
1670
  const {
1661
1671
  isExpandedPos: m,
1662
- animPhase: v,
1663
- compactCx: x,
1664
- compactCy: w,
1665
- groupScale: b,
1666
- effectiveScale: k,
1667
- transitionValue: T,
1668
- onComponentClick: $,
1669
- selectedComponentName: S,
1670
- expandedOffsetX: N
1671
- } = y, z = p === 0 || y.isSelected && v >= p ? 1 : 0, H = x + o.x, ae = w + o.y, le = m ? t + N : H, I = m ? n : ae, U = f !== void 0 ? f : y.isCompact ? b : k, se = !!c && !!S && c.name === S, Ie = c?.status ? P[c.status]?.color ?? a : a, Oe = c?.status === "offline" ? "#4a6a8a" : Ie, Y = c && m && $ ? () => $({
1672
- type: c.type,
1673
- name: c.name,
1674
- status: c.status,
1675
- ex: c.ex ?? t,
1676
- ey: c.ey ?? n,
1677
- context: c.context,
1678
- dialogMetrics: c.dialogMetrics,
1679
- subComponents: c.subComponents,
1680
- graphSeries: c.graphSeries
1681
- }) : void 0, L = c?.status ?? "online", Q = c?.name ?? s ?? "";
1682
- return /* @__PURE__ */ d(Ee, { children: [
1672
+ animPhase: w,
1673
+ compactCx: v,
1674
+ compactCy: S,
1675
+ groupScale: y,
1676
+ effectiveScale: x,
1677
+ transitionValue: C,
1678
+ onComponentClick: k,
1679
+ onComponentUpdate: P,
1680
+ selectedComponentName: O,
1681
+ expandedOffsetX: I
1682
+ } = b, K = p === 0 || b.isSelected && w >= p ? 1 : 0, Z = v + o.x, ye = S + o.y, me = m ? t + I : Z, N = m ? n : ye, U = f !== void 0 ? f : b.isCompact ? y : x, ne = !!d && !!O && d.name === O, Be = d?.status ? $[d.status]?.color ?? a : a, oe = d?.status === "offline" ? "#4a6a8a" : Be, Fe = d && m && k ? () => k({
1683
+ type: d.type,
1684
+ name: d.name,
1685
+ status: d.status,
1686
+ ex: d.ex ?? t,
1687
+ ey: d.ey ?? n,
1688
+ context: d.context,
1689
+ dialogMetrics: d.dialogMetrics,
1690
+ subComponents: d.subComponents,
1691
+ graphSeries: d.graphSeries
1692
+ }) : void 0, J = JSON.stringify(d?.context ?? {}), B = JSON.stringify(d?.dialogMetrics ?? []);
1693
+ ke(() => {
1694
+ !ne || !d || !P || P({
1695
+ type: d.type,
1696
+ name: d.name,
1697
+ status: d.status,
1698
+ ex: d.ex ?? t,
1699
+ ey: d.ey ?? n,
1700
+ context: d.context,
1701
+ dialogMetrics: d.dialogMetrics,
1702
+ subComponents: d.subComponents,
1703
+ graphSeries: d.graphSeries
1704
+ });
1705
+ }, [ne, d?.status, J, B]);
1706
+ const _ = d?.status === "warning" || d?.status === "critical" || !!u;
1707
+ u && d?.status === "online" && $.warning.color;
1708
+ const se = d?.status ?? "online", de = d?.name ?? s ?? "";
1709
+ return /* @__PURE__ */ c(Me, { children: [
1683
1710
  /* @__PURE__ */ e(
1684
1711
  "div",
1685
1712
  {
1686
1713
  style: {
1687
1714
  position: "absolute",
1688
- left: le,
1689
- top: I,
1715
+ left: me,
1716
+ top: N,
1690
1717
  transform: `translate(-50%, -50%) scale(${U})`,
1691
- opacity: z,
1718
+ opacity: K,
1692
1719
  zIndex: i,
1693
- transition: T || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1694
- pointerEvents: m && z >= 0.5 ? "auto" : "none"
1720
+ transition: C || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1721
+ pointerEvents: m && K >= 0.5 ? "auto" : "none"
1695
1722
  },
1696
1723
  children: g ? r : /* @__PURE__ */ e(
1697
- jt,
1724
+ Jt,
1698
1725
  {
1699
- statusColor: Oe,
1726
+ statusColor: oe,
1700
1727
  label: s,
1701
1728
  subLabel: l,
1702
1729
  delay: h,
1703
1730
  showLabels: m,
1704
- isCompact: y.isCompact,
1705
- onClick: Y,
1706
- isSelected: se,
1731
+ isCompact: b.isCompact,
1732
+ onClick: Fe,
1733
+ isSelected: ne,
1734
+ isAlerting: _,
1707
1735
  children: r
1708
1736
  }
1709
1737
  )
@@ -1714,19 +1742,20 @@ function A({
1714
1742
  {
1715
1743
  ex: t,
1716
1744
  ey: n,
1717
- status: L,
1718
- title: Q,
1745
+ status: se,
1746
+ title: de,
1719
1747
  msg: u.msg,
1720
1748
  offsetX: u.offsetX ?? 110,
1721
1749
  offsetY: u.offsetY ?? -30,
1722
1750
  align: u.align ?? "right",
1723
1751
  internalRef: u.internalRef,
1724
- isVisible: !0
1752
+ isVisible: !0,
1753
+ forceShow: !0
1725
1754
  }
1726
1755
  )
1727
1756
  ] });
1728
1757
  }
1729
- function jt({
1758
+ function Jt({
1730
1759
  children: t,
1731
1760
  statusColor: n,
1732
1761
  label: o,
@@ -1735,27 +1764,38 @@ function jt({
1735
1764
  showLabels: a = !0,
1736
1765
  isCompact: s = !1,
1737
1766
  onClick: l,
1738
- isSelected: h = !1
1767
+ isSelected: h = !1,
1768
+ isAlerting: d = !1
1739
1769
  }) {
1740
- const [c, p] = R(!1), f = h ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : c && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
1741
- return /* @__PURE__ */ d(
1770
+ const [p, f] = R(!1), g = h ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : p && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
1771
+ return /* @__PURE__ */ c(
1742
1772
  "div",
1743
1773
  {
1744
1774
  className: `float-node${l ? " float-node--interactive" : ""}`,
1745
- onClick: (g) => {
1746
- l && (g.stopPropagation(), l());
1775
+ onClick: (u) => {
1776
+ l && (u.stopPropagation(), l());
1747
1777
  },
1748
1778
  style: {
1749
1779
  cursor: l ? "pointer" : void 0,
1750
1780
  transition: "filter 0.3s ease",
1751
- filter: f
1781
+ filter: g
1752
1782
  },
1753
- onMouseEnter: () => p(!0),
1754
- onMouseLeave: () => p(!1),
1783
+ onMouseEnter: () => f(!0),
1784
+ onMouseLeave: () => f(!1),
1755
1785
  role: l ? "button" : void 0,
1756
1786
  title: l ? "Click to inspect internal components" : void 0,
1757
1787
  children: [
1758
- /* @__PURE__ */ d("div", { className: "float-body", style: { animationDelay: r }, children: [
1788
+ d && /* @__PURE__ */ e(
1789
+ "div",
1790
+ {
1791
+ className: "node-alert-glow",
1792
+ style: {
1793
+ "--pulse-color": alertGlowColor,
1794
+ boxShadow: `0 0 20px ${alertGlowColor}, 0 0 40px ${alertGlowColor}66`
1795
+ }
1796
+ }
1797
+ ),
1798
+ /* @__PURE__ */ c("div", { className: "float-body", style: { animationDelay: r }, children: [
1759
1799
  /* @__PURE__ */ e(
1760
1800
  "div",
1761
1801
  {
@@ -1766,11 +1806,11 @@ function jt({
1766
1806
  }
1767
1807
  }
1768
1808
  ),
1769
- /* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && j.isValidElement(t) ? j.cloneElement(t, {
1809
+ /* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && q.isValidElement(t) ? q.cloneElement(t, {
1770
1810
  _compact: !0
1771
1811
  }) : t })
1772
1812
  ] }),
1773
- /* @__PURE__ */ d(
1813
+ /* @__PURE__ */ c(
1774
1814
  "div",
1775
1815
  {
1776
1816
  style: {
@@ -1787,10 +1827,10 @@ function jt({
1787
1827
  }
1788
1828
  );
1789
1829
  }
1790
- function vt({ synced: t, latencyMs: n }) {
1830
+ function It({ synced: t, latencyMs: n }) {
1791
1831
  const o = t ? "#00ff88" : "#ff8c00";
1792
- return /* @__PURE__ */ d("div", { className: "sync-bridge", children: [
1793
- /* @__PURE__ */ d("div", { className: "sync-arrows", children: [
1832
+ return /* @__PURE__ */ c("div", { className: "sync-bridge", children: [
1833
+ /* @__PURE__ */ c("div", { className: "sync-arrows", children: [
1794
1834
  /* @__PURE__ */ e("span", { style: { color: o, fontSize: 10, lineHeight: 1 }, children: "◄" }),
1795
1835
  /* @__PURE__ */ e(
1796
1836
  "div",
@@ -1815,15 +1855,15 @@ function vt({ synced: t, latencyMs: n }) {
1815
1855
  children: t ? "SYNCED" : "LAG"
1816
1856
  }
1817
1857
  ),
1818
- /* @__PURE__ */ d("div", { className: "sync-latency", style: { color: o + "88" }, children: [
1858
+ /* @__PURE__ */ c("div", { className: "sync-latency", style: { color: o + "88" }, children: [
1819
1859
  n,
1820
1860
  "ms ",
1821
1861
  t ? "replication" : "behind"
1822
1862
  ] })
1823
1863
  ] });
1824
1864
  }
1825
- const te = 140, _ = 240, oe = 160, me = Je(te, _, oe);
1826
- function Xt({
1865
+ const fe = 140, X = 240, be = 160, Pe = ht(fe, X, be);
1866
+ function ei({
1827
1867
  cfg: t,
1828
1868
  name: n,
1829
1869
  cpuLoad: o,
@@ -1832,19 +1872,19 @@ function Xt({
1832
1872
  compact: a,
1833
1873
  brandLabel: s
1834
1874
  }) {
1835
- const l = Math.ceil(o / 100 * 3), h = r === "offline" ? "#4a6a8a" : t.color, c = [
1875
+ const l = Math.ceil(o / 100 * 3), h = r === "offline" ? "#4a6a8a" : t.color, d = [
1836
1876
  { color: t.color, on: r !== "offline", label: "PWR" },
1837
1877
  { color: t.color, on: r === "online" || r === "warning", label: "NET" },
1838
1878
  { color: t.color, on: o > 15, label: "DSK" },
1839
1879
  { color: r === "critical" ? "#ff2255" : t.color, on: r === "critical", label: "FLT" }
1840
1880
  ];
1841
- return /* @__PURE__ */ d(
1881
+ return /* @__PURE__ */ c(
1842
1882
  "div",
1843
1883
  {
1844
1884
  style: {
1845
- width: te,
1846
- height: _,
1847
- background: a ? Te : Ze,
1885
+ width: fe,
1886
+ height: X,
1887
+ background: a ? ze : ft,
1848
1888
  position: "relative",
1849
1889
  overflow: "hidden",
1850
1890
  fontFamily: "'Courier New', monospace",
@@ -1866,7 +1906,7 @@ function Xt({
1866
1906
  }
1867
1907
  }
1868
1908
  ),
1869
- /* @__PURE__ */ d(
1909
+ /* @__PURE__ */ c(
1870
1910
  "div",
1871
1911
  {
1872
1912
  style: {
@@ -1881,7 +1921,7 @@ function Xt({
1881
1921
  gap: 7
1882
1922
  },
1883
1923
  children: [
1884
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
1924
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
1885
1925
  /* @__PURE__ */ e("span", { style: { fontSize: 7, color: t.color + "55", letterSpacing: "0.22em" }, children: s }),
1886
1926
  /* @__PURE__ */ e(
1887
1927
  "div",
@@ -1897,7 +1937,7 @@ function Xt({
1897
1937
  alignItems: "center",
1898
1938
  justifyContent: "center"
1899
1939
  },
1900
- children: /* @__PURE__ */ d("svg", { width: "9", height: "9", viewBox: "0 0 10 10", fill: "none", children: [
1940
+ children: /* @__PURE__ */ c("svg", { width: "9", height: "9", viewBox: "0 0 10 10", fill: "none", children: [
1901
1941
  /* @__PURE__ */ e("path", { d: "M5 1.5v3", stroke: t.color, strokeWidth: "1.4", strokeLinecap: "round" }),
1902
1942
  /* @__PURE__ */ e(
1903
1943
  "path",
@@ -1912,7 +1952,7 @@ function Xt({
1912
1952
  }
1913
1953
  )
1914
1954
  ] }),
1915
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
1955
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
1916
1956
  /* @__PURE__ */ e(
1917
1957
  "span",
1918
1958
  {
@@ -1925,7 +1965,7 @@ function Xt({
1925
1965
  children: n
1926
1966
  }
1927
1967
  ),
1928
- /* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children: c.map((p, f) => /* @__PURE__ */ e(
1968
+ /* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children: d.map((p, f) => /* @__PURE__ */ e(
1929
1969
  "div",
1930
1970
  {
1931
1971
  style: {
@@ -1956,7 +1996,7 @@ function Xt({
1956
1996
  }
1957
1997
  }
1958
1998
  ),
1959
- /* @__PURE__ */ d(
1999
+ /* @__PURE__ */ c(
1960
2000
  "div",
1961
2001
  {
1962
2002
  style: {
@@ -2006,7 +2046,7 @@ function Xt({
2006
2046
  ),
2007
2047
  Array.from({ length: 3 }, (p, f) => {
2008
2048
  const g = f < l;
2009
- return /* @__PURE__ */ d(
2049
+ return /* @__PURE__ */ c(
2010
2050
  "div",
2011
2051
  {
2012
2052
  style: {
@@ -2096,7 +2136,7 @@ function Xt({
2096
2136
  }
2097
2137
  }
2098
2138
  ),
2099
- /* @__PURE__ */ d(
2139
+ /* @__PURE__ */ c(
2100
2140
  "div",
2101
2141
  {
2102
2142
  style: {
@@ -2235,13 +2275,13 @@ function Xt({
2235
2275
  }
2236
2276
  );
2237
2277
  }
2238
- function qt() {
2239
- return /* @__PURE__ */ d(
2278
+ function ti() {
2279
+ return /* @__PURE__ */ c(
2240
2280
  "div",
2241
2281
  {
2242
2282
  style: {
2243
- width: te,
2244
- height: _,
2283
+ width: fe,
2284
+ height: X,
2245
2285
  background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
2246
2286
  position: "relative",
2247
2287
  overflow: "hidden",
@@ -2349,18 +2389,18 @@ function qt() {
2349
2389
  }
2350
2390
  );
2351
2391
  }
2352
- function ft({
2392
+ function Rt({
2353
2393
  side: t,
2354
2394
  color: n,
2355
2395
  brandLabel: o
2356
2396
  }) {
2357
2397
  const i = t === "right";
2358
- return /* @__PURE__ */ d(
2398
+ return /* @__PURE__ */ c(
2359
2399
  "div",
2360
2400
  {
2361
2401
  style: {
2362
- width: oe,
2363
- height: _,
2402
+ width: be,
2403
+ height: X,
2364
2404
  background: i ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
2365
2405
  position: "relative",
2366
2406
  overflow: "hidden"
@@ -2379,13 +2419,13 @@ function ft({
2379
2419
  }
2380
2420
  }
2381
2421
  ),
2382
- [8, _ - 20].map((r) => /* @__PURE__ */ e(
2422
+ [8, X - 20].map((r) => /* @__PURE__ */ e(
2383
2423
  "div",
2384
2424
  {
2385
2425
  style: {
2386
2426
  position: "absolute",
2387
2427
  top: r,
2388
- left: i ? 10 : oe - 18,
2428
+ left: i ? 10 : be - 18,
2389
2429
  width: 8,
2390
2430
  height: 8,
2391
2431
  borderRadius: 1,
@@ -2401,8 +2441,8 @@ function ft({
2401
2441
  {
2402
2442
  style: {
2403
2443
  position: "absolute",
2404
- top: _ * 0.35,
2405
- bottom: _ * 0.15,
2444
+ top: X * 0.35,
2445
+ bottom: X * 0.15,
2406
2446
  left: i ? 22 : 18,
2407
2447
  right: i ? 18 : 22,
2408
2448
  display: "flex",
@@ -2425,13 +2465,13 @@ function ft({
2425
2465
  ))
2426
2466
  }
2427
2467
  ),
2428
- /* @__PURE__ */ d(
2468
+ /* @__PURE__ */ c(
2429
2469
  "div",
2430
2470
  {
2431
2471
  style: {
2432
2472
  position: "absolute",
2433
- top: _ * 0.18,
2434
- left: i ? 12 : oe - 78,
2473
+ top: X * 0.18,
2474
+ left: i ? 12 : be - 78,
2435
2475
  fontSize: 7,
2436
2476
  color: "#1a3050",
2437
2477
  letterSpacing: "0.2em",
@@ -2449,14 +2489,14 @@ function ft({
2449
2489
  }
2450
2490
  );
2451
2491
  }
2452
- function Qt({ cpuLoad: t }) {
2453
- const n = t / 100, o = n > 0.75 ? "rgba(255,34,85,0.16)" : n > 0.45 ? "rgba(255,140,0,0.12)" : "rgba(0,229,255,0.08)", i = Math.floor((oe - 18) / 7);
2454
- return /* @__PURE__ */ d(
2492
+ function ii({ cpuLoad: t }) {
2493
+ 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((be - 18) / 7);
2494
+ return /* @__PURE__ */ c(
2455
2495
  "div",
2456
2496
  {
2457
2497
  style: {
2458
- width: te,
2459
- height: oe,
2498
+ width: fe,
2499
+ height: be,
2460
2500
  background: "linear-gradient(180deg, #0c1c30 0%, #070f1e 40%, #040c1a 100%)",
2461
2501
  position: "relative",
2462
2502
  overflow: "hidden"
@@ -2470,7 +2510,7 @@ function Qt({ cpuLoad: t }) {
2470
2510
  top: 0,
2471
2511
  left: 0,
2472
2512
  right: 0,
2473
- height: oe * 0.4,
2513
+ height: be * 0.4,
2474
2514
  background: `radial-gradient(ellipse at 50% 0%, ${o} 0%, transparent 70%)`
2475
2515
  }
2476
2516
  }
@@ -2529,7 +2569,7 @@ function Qt({ cpuLoad: t }) {
2529
2569
  }
2530
2570
  );
2531
2571
  }
2532
- function he({
2572
+ function $e({
2533
2573
  rotateX: t = -22,
2534
2574
  rotateY: n = 20,
2535
2575
  rotateZ: o = 0,
@@ -2539,29 +2579,29 @@ function he({
2539
2579
  name: s = "SRV-001",
2540
2580
  cpuLoad: l = 67,
2541
2581
  memLoad: h = 82,
2542
- brandLabel: c = "BUSAUD",
2582
+ brandLabel: d = "BUSAUD",
2543
2583
  _compact: p
2544
2584
  }) {
2545
- const [f, g] = R(n), u = K(0), y = K(0);
2546
- Ae(() => {
2585
+ const [f, g] = R(n), u = ie(0), b = ie(0);
2586
+ ke(() => {
2547
2587
  if (!r) {
2548
2588
  g(n);
2549
2589
  return;
2550
2590
  }
2551
- const v = (x) => {
2552
- y.current && g((w) => w + (x - y.current) * 0.027), y.current = x, u.current = requestAnimationFrame(v);
2591
+ const w = (v) => {
2592
+ b.current && g((S) => S + (v - b.current) * 0.027), b.current = v, u.current = requestAnimationFrame(w);
2553
2593
  };
2554
- return u.current = requestAnimationFrame(v), () => {
2555
- cancelAnimationFrame(u.current), y.current = 0;
2594
+ return u.current = requestAnimationFrame(w), () => {
2595
+ cancelAnimationFrame(u.current), b.current = 0;
2556
2596
  };
2557
2597
  }, [r, n]);
2558
- const m = P[a] ?? P.online;
2559
- return /* @__PURE__ */ d(
2598
+ const m = $[a] ?? $.online;
2599
+ return /* @__PURE__ */ c(
2560
2600
  "div",
2561
2601
  {
2562
2602
  style: {
2563
- width: te * i,
2564
- height: _ * i,
2603
+ width: fe * i,
2604
+ height: X * i,
2565
2605
  position: "relative",
2566
2606
  display: "flex",
2567
2607
  alignItems: "center",
@@ -2581,7 +2621,7 @@ function he({
2581
2621
  animation: "holo-led-blink 1.5s infinite",
2582
2622
  filter: `drop-shadow(0 0 10px ${m.color})`
2583
2623
  },
2584
- children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
2624
+ children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
2585
2625
  /* @__PURE__ */ e(
2586
2626
  "path",
2587
2627
  {
@@ -2613,8 +2653,8 @@ function he({
2613
2653
  {
2614
2654
  style: {
2615
2655
  position: "absolute",
2616
- width: te * 1.4 * i,
2617
- height: _ * 0.8 * i,
2656
+ width: fe * 1.4 * i,
2657
+ height: X * 0.8 * i,
2618
2658
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
2619
2659
  filter: `blur(${Math.round(45 * i)}px)`,
2620
2660
  pointerEvents: "none",
@@ -2633,20 +2673,20 @@ function he({
2633
2673
  transform: `scale(${i})`,
2634
2674
  transformOrigin: "center center"
2635
2675
  },
2636
- children: /* @__PURE__ */ d(
2676
+ children: /* @__PURE__ */ c(
2637
2677
  "div",
2638
2678
  {
2639
2679
  style: {
2640
- width: te,
2641
- height: _,
2680
+ width: fe,
2681
+ height: X,
2642
2682
  position: "relative",
2643
2683
  transformStyle: "preserve-3d",
2644
2684
  transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
2645
2685
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
2646
2686
  },
2647
2687
  children: [
2648
- /* @__PURE__ */ e("div", { style: me.front, children: /* @__PURE__ */ e(
2649
- Xt,
2688
+ /* @__PURE__ */ e("div", { style: Pe.front, children: /* @__PURE__ */ e(
2689
+ ei,
2650
2690
  {
2651
2691
  cfg: m,
2652
2692
  name: s,
@@ -2654,19 +2694,19 @@ function he({
2654
2694
  memLoad: h,
2655
2695
  status: a,
2656
2696
  compact: p,
2657
- brandLabel: c
2697
+ brandLabel: d
2658
2698
  }
2659
2699
  ) }),
2660
- /* @__PURE__ */ e("div", { style: me.back, children: /* @__PURE__ */ e(qt, {}) }),
2661
- /* @__PURE__ */ e("div", { style: me.left, children: /* @__PURE__ */ e(ft, { side: "left", color: m.color, brandLabel: c }) }),
2662
- /* @__PURE__ */ e("div", { style: me.right, children: /* @__PURE__ */ e(ft, { side: "right", color: m.color, brandLabel: c }) }),
2663
- /* @__PURE__ */ e("div", { style: me.top, children: /* @__PURE__ */ e(Qt, { cpuLoad: l }) }),
2664
- /* @__PURE__ */ e("div", { style: me.bottom, children: /* @__PURE__ */ e(
2700
+ /* @__PURE__ */ e("div", { style: Pe.back, children: /* @__PURE__ */ e(ti, {}) }),
2701
+ /* @__PURE__ */ e("div", { style: Pe.left, children: /* @__PURE__ */ e(Rt, { side: "left", color: m.color, brandLabel: d }) }),
2702
+ /* @__PURE__ */ e("div", { style: Pe.right, children: /* @__PURE__ */ e(Rt, { side: "right", color: m.color, brandLabel: d }) }),
2703
+ /* @__PURE__ */ e("div", { style: Pe.top, children: /* @__PURE__ */ e(ii, { cpuLoad: l }) }),
2704
+ /* @__PURE__ */ e("div", { style: Pe.bottom, children: /* @__PURE__ */ e(
2665
2705
  "div",
2666
2706
  {
2667
2707
  style: {
2668
- width: te,
2669
- height: oe,
2708
+ width: fe,
2709
+ height: be,
2670
2710
  background: "linear-gradient(180deg, #030710, #020508)"
2671
2711
  }
2672
2712
  }
@@ -2680,7 +2720,7 @@ function he({
2680
2720
  }
2681
2721
  );
2682
2722
  }
2683
- function Ti({
2723
+ function Mi({
2684
2724
  ex: t,
2685
2725
  ey: n,
2686
2726
  compactOffset: o,
@@ -2690,14 +2730,14 @@ function Ti({
2690
2730
  subLabel: s,
2691
2731
  color: l,
2692
2732
  delay: h,
2693
- visibleAtPhase: c,
2733
+ visibleAtPhase: d,
2694
2734
  cpuLoad: p,
2695
2735
  memLoad: f,
2696
2736
  brandLabel: g,
2697
2737
  dialogMetrics: u,
2698
- subComponents: y,
2738
+ subComponents: b,
2699
2739
  graphSeries: m,
2700
- alert: v
2740
+ alert: w
2701
2741
  }) {
2702
2742
  return /* @__PURE__ */ e(
2703
2743
  A,
@@ -2710,26 +2750,26 @@ function Ti({
2710
2750
  subLabel: s,
2711
2751
  color: l,
2712
2752
  delay: h,
2713
- visibleAtPhase: c,
2753
+ visibleAtPhase: d,
2714
2754
  componentInfo: {
2715
2755
  type: "server",
2716
2756
  name: r,
2717
2757
  status: a,
2718
2758
  context: { cpuLoad: p, memLoad: f },
2719
2759
  dialogMetrics: u,
2720
- subComponents: y,
2760
+ subComponents: b,
2721
2761
  graphSeries: m
2722
2762
  },
2723
- alert: v,
2724
- children: /* @__PURE__ */ e(he, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
2763
+ alert: w,
2764
+ children: /* @__PURE__ */ e($e, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
2725
2765
  }
2726
2766
  );
2727
2767
  }
2728
- const Ke = 12, fe = 55, G = fe * 2, Se = 52, it = 10, je = 3 * Se + 2 * it, xe = 2 * Math.PI * fe / Ke, Xe = Array.from({ length: Ke }, (t, n) => n / Ke * 360);
2729
- function qe(t) {
2768
+ const pt = 12, Se = 55, te = Se * 2, Oe = 52, gt = 10, lt = 3 * Oe + 2 * gt, Ee = 2 * Math.PI * Se / pt, st = Array.from({ length: pt }, (t, n) => n / pt * 360);
2769
+ function dt(t) {
2730
2770
  return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
2731
2771
  }
2732
- function Gt({
2772
+ function ni({
2733
2773
  diskY: t,
2734
2774
  diskIdx: n,
2735
2775
  cfg: o,
@@ -2737,25 +2777,25 @@ function Gt({
2737
2777
  capacity: r,
2738
2778
  compact: a
2739
2779
  }) {
2740
- return /* @__PURE__ */ d(Ee, { children: [
2741
- Xe.map((s, l) => {
2742
- const h = qe(s), c = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22), g = Math.round(28 + h * 44), u = Math.round(h * 0.55 * 255).toString(16).padStart(2, "0");
2780
+ return /* @__PURE__ */ c(Me, { children: [
2781
+ st.map((s, l) => {
2782
+ const h = dt(s), d = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22), g = Math.round(28 + h * 44), u = Math.round(h * 0.55 * 255).toString(16).padStart(2, "0");
2743
2783
  return /* @__PURE__ */ e(
2744
2784
  "div",
2745
2785
  {
2746
2786
  style: {
2747
2787
  position: "absolute",
2748
- width: xe,
2749
- height: Se,
2750
- left: (G - xe) / 2,
2788
+ width: Ee,
2789
+ height: Oe,
2790
+ left: (te - Ee) / 2,
2751
2791
  top: t,
2752
- transform: `rotateY(${s}deg) translateZ(${fe}px)`,
2792
+ transform: `rotateY(${s}deg) translateZ(${Se}px)`,
2753
2793
  backfaceVisibility: "hidden",
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})`,
2794
+ background: d ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${f},${g})`,
2755
2795
  borderLeft: `1px solid ${o.color}${u}`,
2756
- boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
2796
+ boxShadow: d ? `inset 0 0 18px ${o.color}28` : "none"
2757
2797
  },
2758
- children: c && /* @__PURE__ */ d(Ee, { children: [
2798
+ children: d && /* @__PURE__ */ c(Me, { children: [
2759
2799
  /* @__PURE__ */ e(
2760
2800
  "div",
2761
2801
  {
@@ -2803,15 +2843,15 @@ function Gt({
2803
2843
  `p${n}${l}`
2804
2844
  );
2805
2845
  }),
2806
- /* @__PURE__ */ d(
2846
+ /* @__PURE__ */ c(
2807
2847
  "div",
2808
2848
  {
2809
2849
  style: {
2810
2850
  position: "absolute",
2811
- width: G + 4,
2812
- height: G + 4,
2851
+ width: te + 4,
2852
+ height: te + 4,
2813
2853
  left: -2,
2814
- top: t - fe,
2854
+ top: t - Se,
2815
2855
  borderRadius: "50%",
2816
2856
  transform: "rotateX(90deg)",
2817
2857
  backfaceVisibility: "hidden",
@@ -2869,10 +2909,10 @@ function Gt({
2869
2909
  {
2870
2910
  style: {
2871
2911
  position: "absolute",
2872
- width: G + 4,
2873
- height: G + 4,
2912
+ width: te + 4,
2913
+ height: te + 4,
2874
2914
  left: -2,
2875
- top: t + Se - fe,
2915
+ top: t + Oe - Se,
2876
2916
  borderRadius: "50%",
2877
2917
  transform: "rotateX(-90deg)",
2878
2918
  backfaceVisibility: "hidden",
@@ -2896,18 +2936,18 @@ function Gt({
2896
2936
  )
2897
2937
  }
2898
2938
  ),
2899
- i && Xe.map((s, l) => {
2900
- const h = qe(s);
2939
+ i && st.map((s, l) => {
2940
+ const h = dt(s);
2901
2941
  return /* @__PURE__ */ e(
2902
2942
  "div",
2903
2943
  {
2904
2944
  style: {
2905
2945
  position: "absolute",
2906
- width: xe + 1.5,
2946
+ width: Ee + 1.5,
2907
2947
  height: 6,
2908
- left: (G - xe - 1.5) / 2,
2909
- top: t + Se - 3,
2910
- transform: `rotateY(${s}deg) translateZ(${fe + 1.5}px)`,
2948
+ left: (te - Ee - 1.5) / 2,
2949
+ top: t + Oe - 3,
2950
+ transform: `rotateY(${s}deg) translateZ(${Se + 1.5}px)`,
2911
2951
  backfaceVisibility: "hidden",
2912
2952
  background: o.color,
2913
2953
  boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
@@ -2917,20 +2957,20 @@ function Gt({
2917
2957
  `rng${n}${l}`
2918
2958
  );
2919
2959
  }),
2920
- i && Xe.map((s, l) => {
2921
- const h = qe(s), c = Math.round(2 + h * 4), p = Math.round(5 + h * 10), f = Math.round(12 + h * 20);
2960
+ i && st.map((s, l) => {
2961
+ const h = dt(s), d = Math.round(2 + h * 4), p = Math.round(5 + h * 10), f = Math.round(12 + h * 20);
2922
2962
  return /* @__PURE__ */ e(
2923
2963
  "div",
2924
2964
  {
2925
2965
  style: {
2926
2966
  position: "absolute",
2927
- width: xe,
2928
- height: it,
2929
- left: (G - xe) / 2,
2930
- top: t + Se,
2931
- transform: `rotateY(${s}deg) translateZ(${fe}px)`,
2967
+ width: Ee,
2968
+ height: gt,
2969
+ left: (te - Ee) / 2,
2970
+ top: t + Oe,
2971
+ transform: `rotateY(${s}deg) translateZ(${Se}px)`,
2932
2972
  backfaceVisibility: "hidden",
2933
- background: `rgb(${c},${p},${f})`
2973
+ background: `rgb(${d},${p},${f})`
2934
2974
  }
2935
2975
  },
2936
2976
  `gap${n}${l}`
@@ -2938,7 +2978,7 @@ function Gt({
2938
2978
  })
2939
2979
  ] });
2940
2980
  }
2941
- function Ne({
2981
+ function Ue({
2942
2982
  rotateX: t = -22,
2943
2983
  rotateY: n = -15,
2944
2984
  rotateZ: o = 0,
@@ -2950,26 +2990,26 @@ function Ne({
2950
2990
  // connections = 284,
2951
2991
  _compact: l
2952
2992
  }) {
2953
- const [h, c] = R(n), p = K(0), f = K(0);
2954
- Ae(() => {
2993
+ const [h, d] = R(n), p = ie(0), f = ie(0);
2994
+ ke(() => {
2955
2995
  if (!r) {
2956
- c(n);
2996
+ d(n);
2957
2997
  return;
2958
2998
  }
2959
- const u = (y) => {
2960
- f.current && c((m) => m + (y - f.current) * 0.027), f.current = y, p.current = requestAnimationFrame(u);
2999
+ const u = (b) => {
3000
+ f.current && d((m) => m + (b - f.current) * 0.027), f.current = b, p.current = requestAnimationFrame(u);
2961
3001
  };
2962
3002
  return p.current = requestAnimationFrame(u), () => {
2963
3003
  cancelAnimationFrame(p.current), f.current = 0;
2964
3004
  };
2965
3005
  }, [r, n]);
2966
- const g = P[a] ?? P.online;
2967
- return /* @__PURE__ */ d(
3006
+ const g = $[a] ?? $.online;
3007
+ return /* @__PURE__ */ c(
2968
3008
  "div",
2969
3009
  {
2970
3010
  style: {
2971
- width: G * i,
2972
- height: je * i,
3011
+ width: te * i,
3012
+ height: lt * i,
2973
3013
  position: "relative",
2974
3014
  display: "flex",
2975
3015
  alignItems: "center",
@@ -2989,7 +3029,7 @@ function Ne({
2989
3029
  animation: "holo-led-blink 1.5s infinite",
2990
3030
  filter: `drop-shadow(0 0 10px ${a === "critical" ? "#ff2255" : "#ff8c00"})`
2991
3031
  },
2992
- children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
3032
+ children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
2993
3033
  /* @__PURE__ */ e(
2994
3034
  "path",
2995
3035
  {
@@ -3029,8 +3069,8 @@ function Ne({
3029
3069
  {
3030
3070
  style: {
3031
3071
  position: "absolute",
3032
- width: G * 2.8 * i,
3033
- height: je * 0.85 * i,
3072
+ width: te * 2.8 * i,
3073
+ height: lt * 0.85 * i,
3034
3074
  background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
3035
3075
  filter: `blur(${Math.round(50 * i)}px)`,
3036
3076
  pointerEvents: "none",
@@ -3053,17 +3093,17 @@ function Ne({
3053
3093
  "div",
3054
3094
  {
3055
3095
  style: {
3056
- width: G,
3057
- height: je,
3096
+ width: te,
3097
+ height: lt,
3058
3098
  position: "relative",
3059
3099
  transformStyle: "preserve-3d",
3060
3100
  transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${o}deg)`,
3061
3101
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
3062
3102
  },
3063
3103
  children: [0, 1, 2].map((u) => /* @__PURE__ */ e(
3064
- Gt,
3104
+ ni,
3065
3105
  {
3066
- diskY: u * (Se + it),
3106
+ diskY: u * (Oe + gt),
3067
3107
  diskIdx: u,
3068
3108
  cfg: g,
3069
3109
  hasRingBelow: u < 2,
@@ -3080,7 +3120,7 @@ function Ne({
3080
3120
  }
3081
3121
  );
3082
3122
  }
3083
- function Ii({
3123
+ function zi({
3084
3124
  ex: t,
3085
3125
  ey: n,
3086
3126
  compactOffset: o,
@@ -3090,12 +3130,12 @@ function Ii({
3090
3130
  subLabel: s,
3091
3131
  color: l,
3092
3132
  delay: h,
3093
- visibleAtPhase: c,
3133
+ visibleAtPhase: d,
3094
3134
  capacity: p,
3095
3135
  dialogMetrics: f,
3096
3136
  subComponents: g,
3097
3137
  graphSeries: u,
3098
- alert: y
3138
+ alert: b
3099
3139
  }) {
3100
3140
  return /* @__PURE__ */ e(
3101
3141
  A,
@@ -3108,7 +3148,7 @@ function Ii({
3108
3148
  subLabel: s,
3109
3149
  color: l,
3110
3150
  delay: h,
3111
- visibleAtPhase: c,
3151
+ visibleAtPhase: d,
3112
3152
  componentInfo: {
3113
3153
  type: "database",
3114
3154
  name: r,
@@ -3118,13 +3158,13 @@ function Ii({
3118
3158
  subComponents: g,
3119
3159
  graphSeries: u
3120
3160
  },
3121
- alert: y,
3122
- children: /* @__PURE__ */ e(Ne, { status: a, capacity: p })
3161
+ alert: b,
3162
+ children: /* @__PURE__ */ e(Ue, { status: a, capacity: p })
3123
3163
  }
3124
3164
  );
3125
3165
  }
3126
- function nt({ status: t = "online", scale: n = 1 }) {
3127
- const i = (P[t] ?? P.online).color;
3166
+ function yt({ status: t = "online", scale: n = 1 }) {
3167
+ const i = ($[t] ?? $.online).color;
3128
3168
  return /* @__PURE__ */ e(
3129
3169
  "div",
3130
3170
  {
@@ -3135,7 +3175,7 @@ function nt({ status: t = "online", scale: n = 1 }) {
3135
3175
  alignItems: "center",
3136
3176
  justifyContent: "center"
3137
3177
  },
3138
- children: /* @__PURE__ */ d(
3178
+ children: /* @__PURE__ */ c(
3139
3179
  "div",
3140
3180
  {
3141
3181
  style: {
@@ -3148,7 +3188,7 @@ function nt({ status: t = "online", scale: n = 1 }) {
3148
3188
  transformOrigin: "center center"
3149
3189
  },
3150
3190
  children: [
3151
- /* @__PURE__ */ d("div", { style: { position: "relative", animation: "holo-float 4s ease-in-out infinite" }, children: [
3191
+ /* @__PURE__ */ c("div", { style: { position: "relative", animation: "holo-float 4s ease-in-out infinite" }, children: [
3152
3192
  /* @__PURE__ */ e(
3153
3193
  "div",
3154
3194
  {
@@ -3166,7 +3206,7 @@ function nt({ status: t = "online", scale: n = 1 }) {
3166
3206
  }
3167
3207
  }
3168
3208
  ),
3169
- /* @__PURE__ */ d(
3209
+ /* @__PURE__ */ c(
3170
3210
  "svg",
3171
3211
  {
3172
3212
  width: "70",
@@ -3174,7 +3214,7 @@ function nt({ status: t = "online", scale: n = 1 }) {
3174
3214
  viewBox: "0 0 70 75",
3175
3215
  style: { display: "block", overflow: "visible" },
3176
3216
  children: [
3177
- /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ d("radialGradient", { id: `usr-glow-${t}`, cx: "50%", cy: "45%", r: "55%", children: [
3217
+ /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ c("radialGradient", { id: `usr-glow-${t}`, cx: "50%", cy: "45%", r: "55%", children: [
3178
3218
  /* @__PURE__ */ e("stop", { offset: "0%", stopColor: i, stopOpacity: "0.12" }),
3179
3219
  /* @__PURE__ */ e("stop", { offset: "100%", stopColor: i, stopOpacity: "0" })
3180
3220
  ] }) }),
@@ -3235,7 +3275,7 @@ function nt({ status: t = "online", scale: n = 1 }) {
3235
3275
  }
3236
3276
  );
3237
3277
  }
3238
- function Oi({
3278
+ function Bi({
3239
3279
  ex: t,
3240
3280
  ey: n,
3241
3281
  compactOffset: o,
@@ -3254,12 +3294,12 @@ function Oi({
3254
3294
  zIndex: i,
3255
3295
  color: s,
3256
3296
  visibleAtPhase: l,
3257
- children: /* @__PURE__ */ e(nt, { status: r, scale: a })
3297
+ children: /* @__PURE__ */ e(yt, { status: r, scale: a })
3258
3298
  }
3259
3299
  );
3260
3300
  }
3261
- const ie = 190, X = 72, $e = 120, ve = Je(ie, X, $e);
3262
- function Kt({
3301
+ const he = 190, Q = 72, Le = 120, Ae = ht(he, Q, Le);
3302
+ function oi({
3263
3303
  cfg: t,
3264
3304
  name: n,
3265
3305
  traffic: o,
@@ -3267,13 +3307,13 @@ function Kt({
3267
3307
  compact: r
3268
3308
  }) {
3269
3309
  const a = Math.ceil(o / 100 * 8), s = Array(8).fill(t.color);
3270
- return /* @__PURE__ */ d(
3310
+ return /* @__PURE__ */ c(
3271
3311
  "div",
3272
3312
  {
3273
3313
  style: {
3274
- width: ie,
3275
- height: X,
3276
- background: r ? Te : Ze,
3314
+ width: he,
3315
+ height: Q,
3316
+ background: r ? ze : ft,
3277
3317
  position: "relative",
3278
3318
  overflow: "hidden",
3279
3319
  fontFamily: "'Courier New', monospace",
@@ -3295,7 +3335,7 @@ function Kt({
3295
3335
  }
3296
3336
  }
3297
3337
  ),
3298
- /* @__PURE__ */ d(
3338
+ /* @__PURE__ */ c(
3299
3339
  "div",
3300
3340
  {
3301
3341
  style: {
@@ -3344,7 +3384,7 @@ function Kt({
3344
3384
  ]
3345
3385
  }
3346
3386
  ),
3347
- /* @__PURE__ */ d(
3387
+ /* @__PURE__ */ c(
3348
3388
  "div",
3349
3389
  {
3350
3390
  style: {
@@ -3359,15 +3399,15 @@ function Kt({
3359
3399
  },
3360
3400
  children: [
3361
3401
  /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 8 }, (l, h) => {
3362
- const c = h < a, p = s[h];
3363
- return /* @__PURE__ */ d(
3402
+ const d = h < a, p = s[h];
3403
+ return /* @__PURE__ */ c(
3364
3404
  "div",
3365
3405
  {
3366
3406
  style: {
3367
3407
  width: 14,
3368
3408
  height: 24,
3369
3409
  background: "#03070f",
3370
- border: `1px solid ${c ? p + "66" : "#1a2d40"}`,
3410
+ border: `1px solid ${d ? p + "66" : "#1a2d40"}`,
3371
3411
  borderRadius: 1.5,
3372
3412
  display: "flex",
3373
3413
  flexDirection: "column",
@@ -3384,8 +3424,8 @@ function Kt({
3384
3424
  width: 4,
3385
3425
  height: 4,
3386
3426
  borderRadius: "50%",
3387
- background: c ? p : "#0a1830",
3388
- boxShadow: c ? `0 0 5px ${p}, 0 0 10px ${p}88` : "none"
3427
+ background: d ? p : "#0a1830",
3428
+ boxShadow: d ? `0 0 5px ${p}, 0 0 10px ${p}88` : "none"
3389
3429
  }
3390
3430
  }
3391
3431
  ),
@@ -3408,9 +3448,9 @@ function Kt({
3408
3448
  width: 4,
3409
3449
  height: 4,
3410
3450
  borderRadius: "50%",
3411
- background: c ? t.color : "#0a1830",
3412
- boxShadow: c ? `0 0 5px ${t.color}` : "none",
3413
- animation: c ? "holo-led-blink 1.8s linear infinite" : "none",
3451
+ background: d ? t.color : "#0a1830",
3452
+ boxShadow: d ? `0 0 5px ${t.color}` : "none",
3453
+ animation: d ? "holo-led-blink 1.8s linear infinite" : "none",
3414
3454
  animationDelay: `${h * 0.2}s`
3415
3455
  }
3416
3456
  }
@@ -3430,11 +3470,11 @@ function Kt({
3430
3470
  }
3431
3471
  }
3432
3472
  ),
3433
- /* @__PURE__ */ d("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 5 }, children: [
3434
- /* @__PURE__ */ d("div", { children: [
3435
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
3473
+ /* @__PURE__ */ c("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 5 }, children: [
3474
+ /* @__PURE__ */ c("div", { children: [
3475
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
3436
3476
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "TRAFFIC" }),
3437
- /* @__PURE__ */ d("span", { style: { fontSize: 6, color: t.color }, children: [
3477
+ /* @__PURE__ */ c("span", { style: { fontSize: 6, color: t.color }, children: [
3438
3478
  o,
3439
3479
  "%"
3440
3480
  ] })
@@ -3464,9 +3504,9 @@ function Kt({
3464
3504
  }
3465
3505
  )
3466
3506
  ] }),
3467
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
3507
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
3468
3508
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "ROUTES" }),
3469
- /* @__PURE__ */ d("span", { style: { fontSize: 6, color: t.color }, children: [
3509
+ /* @__PURE__ */ c("span", { style: { fontSize: 6, color: t.color }, children: [
3470
3510
  i,
3471
3511
  " active"
3472
3512
  ] })
@@ -3494,9 +3534,9 @@ function Kt({
3494
3534
  { label: "HTTP", val: Math.round(o * 12.4), unit: "req/s" },
3495
3535
  { label: "HTTPS", val: Math.round(o * 8.6), unit: "req/s" },
3496
3536
  { label: "WS", val: Math.round(i * 3), unit: "conn" }
3497
- ].map((l) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
3537
+ ].map((l) => /* @__PURE__ */ c("div", { style: { display: "flex", gap: 3 }, children: [
3498
3538
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: l.label }),
3499
- /* @__PURE__ */ d("span", { style: { fontSize: 6, color: t.color + "88" }, children: [
3539
+ /* @__PURE__ */ c("span", { style: { fontSize: 6, color: t.color + "88" }, children: [
3500
3540
  l.val,
3501
3541
  " ",
3502
3542
  l.unit
@@ -3521,13 +3561,13 @@ function Kt({
3521
3561
  }
3522
3562
  );
3523
3563
  }
3524
- function Zt() {
3525
- return /* @__PURE__ */ d(
3564
+ function ri() {
3565
+ return /* @__PURE__ */ c(
3526
3566
  "div",
3527
3567
  {
3528
3568
  style: {
3529
- width: ie,
3530
- height: X,
3569
+ width: he,
3570
+ height: Q,
3531
3571
  background: "linear-gradient(180deg, #040c1a, #030810)",
3532
3572
  position: "relative",
3533
3573
  overflow: "hidden",
@@ -3542,7 +3582,7 @@ function Zt() {
3542
3582
  {
3543
3583
  style: {
3544
3584
  width: 40,
3545
- height: X - 16,
3585
+ height: Q - 16,
3546
3586
  background: "#020710",
3547
3587
  border: "1px solid #1a2d40",
3548
3588
  borderRadius: 2,
@@ -3598,7 +3638,7 @@ function Zt() {
3598
3638
  style: {
3599
3639
  marginLeft: "auto",
3600
3640
  width: 12,
3601
- height: X - 16,
3641
+ height: Q - 16,
3602
3642
  background: "#020710",
3603
3643
  border: "1px solid #1a3050",
3604
3644
  borderRadius: 1
@@ -3609,13 +3649,13 @@ function Zt() {
3609
3649
  }
3610
3650
  );
3611
3651
  }
3612
- function ht({ side: t, color: n }) {
3613
- return /* @__PURE__ */ d(
3652
+ function Ct({ side: t, color: n }) {
3653
+ return /* @__PURE__ */ c(
3614
3654
  "div",
3615
3655
  {
3616
3656
  style: {
3617
- width: $e,
3618
- height: X,
3657
+ width: Le,
3658
+ height: Q,
3619
3659
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
3620
3660
  position: "relative",
3621
3661
  overflow: "hidden"
@@ -3639,8 +3679,8 @@ function ht({ side: t, color: n }) {
3639
3679
  {
3640
3680
  style: {
3641
3681
  position: "absolute",
3642
- top: X * 0.25,
3643
- bottom: X * 0.25,
3682
+ top: Q * 0.25,
3683
+ bottom: Q * 0.25,
3644
3684
  left: 14,
3645
3685
  right: 14,
3646
3686
  display: "flex",
@@ -3666,14 +3706,14 @@ function ht({ side: t, color: n }) {
3666
3706
  }
3667
3707
  );
3668
3708
  }
3669
- function Jt({ traffic: t }) {
3670
- const n = Math.floor(($e - 14) / 7);
3671
- return /* @__PURE__ */ d(
3709
+ function ai({ traffic: t }) {
3710
+ const n = Math.floor((Le - 14) / 7);
3711
+ return /* @__PURE__ */ c(
3672
3712
  "div",
3673
3713
  {
3674
3714
  style: {
3675
- width: ie,
3676
- height: $e,
3715
+ width: he,
3716
+ height: Le,
3677
3717
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
3678
3718
  position: "relative",
3679
3719
  overflow: "hidden"
@@ -3687,7 +3727,7 @@ function Jt({ traffic: t }) {
3687
3727
  top: 0,
3688
3728
  left: 0,
3689
3729
  right: 0,
3690
- height: $e * 0.35,
3730
+ height: Le * 0.35,
3691
3731
  background: `radial-gradient(ellipse at 50% 0%,
3692
3732
  ${t > 70 ? "rgba(255,34,85,0.14)" : "rgba(0,229,255,0.08)"} 0%,
3693
3733
  transparent 70%)`
@@ -3725,7 +3765,7 @@ function Jt({ traffic: t }) {
3725
3765
  }
3726
3766
  );
3727
3767
  }
3728
- function ot({
3768
+ function mt({
3729
3769
  rotateX: t = -20,
3730
3770
  rotateY: n = 20,
3731
3771
  rotateZ: o = 0,
@@ -3735,28 +3775,28 @@ function ot({
3735
3775
  name: s = "WEB-DISP-01",
3736
3776
  traffic: l = 78,
3737
3777
  activeRoutes: h = 12,
3738
- _compact: c
3778
+ _compact: d
3739
3779
  }) {
3740
- const [p, f] = R(n), g = K(0), u = K(0);
3741
- Ae(() => {
3780
+ const [p, f] = R(n), g = ie(0), u = ie(0);
3781
+ ke(() => {
3742
3782
  if (!r) {
3743
3783
  f(n);
3744
3784
  return;
3745
3785
  }
3746
- const m = (v) => {
3747
- u.current && f((x) => x + (v - u.current) * 0.027), u.current = v, g.current = requestAnimationFrame(m);
3786
+ const m = (w) => {
3787
+ u.current && f((v) => v + (w - u.current) * 0.027), u.current = w, g.current = requestAnimationFrame(m);
3748
3788
  };
3749
3789
  return g.current = requestAnimationFrame(m), () => {
3750
3790
  cancelAnimationFrame(g.current), u.current = 0;
3751
3791
  };
3752
3792
  }, [r, n]);
3753
- const y = P[a] ?? P.online;
3754
- return /* @__PURE__ */ d(
3793
+ const b = $[a] ?? $.online;
3794
+ return /* @__PURE__ */ c(
3755
3795
  "div",
3756
3796
  {
3757
3797
  style: {
3758
- width: ie * i,
3759
- height: X * i,
3798
+ width: he * i,
3799
+ height: Q * i,
3760
3800
  position: "relative",
3761
3801
  display: "flex",
3762
3802
  alignItems: "center",
@@ -3776,7 +3816,7 @@ function ot({
3776
3816
  animation: "holo-led-blink 1.5s infinite",
3777
3817
  filter: `drop-shadow(0 0 10px ${a === "critical" ? "#ff2255" : "#ff8c00"})`
3778
3818
  },
3779
- children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
3819
+ children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
3780
3820
  /* @__PURE__ */ e(
3781
3821
  "path",
3782
3822
  {
@@ -3816,9 +3856,9 @@ function ot({
3816
3856
  {
3817
3857
  style: {
3818
3858
  position: "absolute",
3819
- width: ie * 1.3 * i,
3820
- height: X * 2 * i,
3821
- background: `radial-gradient(ellipse, ${y.glow} 0%, transparent 65%)`,
3859
+ width: he * 1.3 * i,
3860
+ height: Q * 2 * i,
3861
+ background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
3822
3862
  filter: `blur(${Math.round(40 * i)}px)`,
3823
3863
  pointerEvents: "none",
3824
3864
  top: "40%",
@@ -3836,33 +3876,33 @@ function ot({
3836
3876
  transform: `scale(${i})`,
3837
3877
  transformOrigin: "center center"
3838
3878
  },
3839
- children: /* @__PURE__ */ d(
3879
+ children: /* @__PURE__ */ c(
3840
3880
  "div",
3841
3881
  {
3842
3882
  style: {
3843
- width: ie,
3844
- height: X,
3883
+ width: he,
3884
+ height: Q,
3845
3885
  position: "relative",
3846
3886
  transformStyle: "preserve-3d",
3847
3887
  transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
3848
3888
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
3849
3889
  },
3850
3890
  children: [
3851
- /* @__PURE__ */ e("div", { style: ve.front, children: /* @__PURE__ */ e(
3852
- Kt,
3891
+ /* @__PURE__ */ e("div", { style: Ae.front, children: /* @__PURE__ */ e(
3892
+ oi,
3853
3893
  {
3854
- cfg: y,
3894
+ cfg: b,
3855
3895
  name: s,
3856
3896
  traffic: l,
3857
3897
  activeRoutes: h,
3858
- compact: c
3898
+ compact: d
3859
3899
  }
3860
3900
  ) }),
3861
- /* @__PURE__ */ e("div", { style: ve.back, children: /* @__PURE__ */ e(Zt, {}) }),
3862
- /* @__PURE__ */ e("div", { style: ve.left, children: /* @__PURE__ */ e(ht, { side: "left", color: y.color }) }),
3863
- /* @__PURE__ */ e("div", { style: ve.right, children: /* @__PURE__ */ e(ht, { side: "right", color: y.color }) }),
3864
- /* @__PURE__ */ e("div", { style: ve.top, children: /* @__PURE__ */ e(Jt, { traffic: l }) }),
3865
- /* @__PURE__ */ e("div", { style: ve.bottom, children: /* @__PURE__ */ e("div", { style: { width: ie, height: $e, background: "#020508" } }) })
3901
+ /* @__PURE__ */ e("div", { style: Ae.back, children: /* @__PURE__ */ e(ri, {}) }),
3902
+ /* @__PURE__ */ e("div", { style: Ae.left, children: /* @__PURE__ */ e(Ct, { side: "left", color: b.color }) }),
3903
+ /* @__PURE__ */ e("div", { style: Ae.right, children: /* @__PURE__ */ e(Ct, { side: "right", color: b.color }) }),
3904
+ /* @__PURE__ */ e("div", { style: Ae.top, children: /* @__PURE__ */ e(ai, { traffic: l }) }),
3905
+ /* @__PURE__ */ e("div", { style: Ae.bottom, children: /* @__PURE__ */ e("div", { style: { width: he, height: Le, background: "#020508" } }) })
3866
3906
  ]
3867
3907
  }
3868
3908
  )
@@ -3872,7 +3912,7 @@ function ot({
3872
3912
  }
3873
3913
  );
3874
3914
  }
3875
- function Li({
3915
+ function Fi({
3876
3916
  ex: t,
3877
3917
  ey: n,
3878
3918
  compactOffset: o,
@@ -3882,12 +3922,12 @@ function Li({
3882
3922
  subLabel: s,
3883
3923
  color: l,
3884
3924
  delay: h,
3885
- visibleAtPhase: c,
3925
+ visibleAtPhase: d,
3886
3926
  traffic: p,
3887
3927
  activeRoutes: f,
3888
3928
  dialogMetrics: g,
3889
3929
  subComponents: u,
3890
- graphSeries: y,
3930
+ graphSeries: b,
3891
3931
  alert: m
3892
3932
  }) {
3893
3933
  return /* @__PURE__ */ e(
@@ -3901,7 +3941,7 @@ function Li({
3901
3941
  subLabel: s,
3902
3942
  color: l,
3903
3943
  delay: h,
3904
- visibleAtPhase: c,
3944
+ visibleAtPhase: d,
3905
3945
  componentInfo: {
3906
3946
  type: "dispatcher",
3907
3947
  name: r,
@@ -3909,20 +3949,20 @@ function Li({
3909
3949
  context: { traffic: p, activeRoutes: f },
3910
3950
  dialogMetrics: g,
3911
3951
  subComponents: u,
3912
- graphSeries: y
3952
+ graphSeries: b
3913
3953
  },
3914
3954
  alert: m,
3915
- children: /* @__PURE__ */ e(ot, { status: a, traffic: p, activeRoutes: f })
3955
+ children: /* @__PURE__ */ e(mt, { status: a, traffic: p, activeRoutes: f })
3916
3956
  }
3917
3957
  );
3918
3958
  }
3919
- const ne = 190, q = 72, ke = 120, we = Je(ne, q, ke), ut = {
3959
+ const ue = 190, G = 72, Ie = 120, Te = ht(ue, G, Ie), Pt = {
3920
3960
  online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
3921
3961
  warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
3922
3962
  critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
3923
3963
  offline: { color: "#1e3a5a", glow: "rgba(30,58,90,0.25)" }
3924
3964
  };
3925
- function ei({
3965
+ function li({
3926
3966
  cfg: t,
3927
3967
  name: n,
3928
3968
  queueDepth: o,
@@ -3931,13 +3971,13 @@ function ei({
3931
3971
  compact: a
3932
3972
  }) {
3933
3973
  const { color: s, glow: l } = t;
3934
- return /* @__PURE__ */ d(
3974
+ return /* @__PURE__ */ c(
3935
3975
  "div",
3936
3976
  {
3937
3977
  style: {
3938
- width: ne,
3939
- height: q,
3940
- background: a ? Te : Ze,
3978
+ width: ue,
3979
+ height: G,
3980
+ background: a ? ze : ft,
3941
3981
  position: "relative",
3942
3982
  overflow: "hidden",
3943
3983
  fontFamily: "'Courier New', monospace",
@@ -3959,7 +3999,7 @@ function ei({
3959
3999
  }
3960
4000
  }
3961
4001
  ),
3962
- /* @__PURE__ */ d(
4002
+ /* @__PURE__ */ c(
3963
4003
  "div",
3964
4004
  {
3965
4005
  style: {
@@ -4008,7 +4048,7 @@ function ei({
4008
4048
  ]
4009
4049
  }
4010
4050
  ),
4011
- /* @__PURE__ */ d(
4051
+ /* @__PURE__ */ c(
4012
4052
  "div",
4013
4053
  {
4014
4054
  style: {
@@ -4022,9 +4062,9 @@ function ei({
4022
4062
  gap: 10
4023
4063
  },
4024
4064
  children: [
4025
- /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 5 }, (h, c) => {
4026
- const p = c < r;
4027
- return /* @__PURE__ */ d(
4065
+ /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 5 }, (h, d) => {
4066
+ const p = d < r;
4067
+ return /* @__PURE__ */ c(
4028
4068
  "div",
4029
4069
  {
4030
4070
  style: {
@@ -4074,13 +4114,13 @@ function ei({
4074
4114
  background: p ? s : "#0a1830",
4075
4115
  boxShadow: p ? `0 0 5px ${s}` : "none",
4076
4116
  animation: p ? "holo-led-blink 2.2s linear infinite" : "none",
4077
- animationDelay: `${c * 0.28}s`
4117
+ animationDelay: `${d * 0.28}s`
4078
4118
  }
4079
4119
  }
4080
4120
  )
4081
4121
  ]
4082
4122
  },
4083
- c
4123
+ d
4084
4124
  );
4085
4125
  }) }),
4086
4126
  /* @__PURE__ */ e(
@@ -4093,11 +4133,11 @@ function ei({
4093
4133
  }
4094
4134
  }
4095
4135
  ),
4096
- /* @__PURE__ */ d("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 5 }, children: [
4097
- /* @__PURE__ */ d("div", { children: [
4098
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
4136
+ /* @__PURE__ */ c("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 5 }, children: [
4137
+ /* @__PURE__ */ c("div", { children: [
4138
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
4099
4139
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "QUEUE" }),
4100
- /* @__PURE__ */ d("span", { style: { fontSize: 6, color: s }, children: [
4140
+ /* @__PURE__ */ c("span", { style: { fontSize: 6, color: s }, children: [
4101
4141
  o,
4102
4142
  "%"
4103
4143
  ] })
@@ -4127,7 +4167,7 @@ function ei({
4127
4167
  }
4128
4168
  )
4129
4169
  ] }),
4130
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
4170
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
4131
4171
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "MSG/S" }),
4132
4172
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: s }, children: i })
4133
4173
  ] })
@@ -4154,9 +4194,9 @@ function ei({
4154
4194
  { label: "INST", val: r, unit: "conn" },
4155
4195
  { label: "ENQUEUE", val: Math.round(o * 2.4), unit: "msgs" },
4156
4196
  { label: "DISP", val: Math.round(i * 0.1), unit: "/s" }
4157
- ].map((h) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
4197
+ ].map((h) => /* @__PURE__ */ c("div", { style: { display: "flex", gap: 3 }, children: [
4158
4198
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: h.label }),
4159
- /* @__PURE__ */ d("span", { style: { fontSize: 6, color: s + "88" }, children: [
4199
+ /* @__PURE__ */ c("span", { style: { fontSize: 6, color: s + "88" }, children: [
4160
4200
  h.val,
4161
4201
  " ",
4162
4202
  h.unit
@@ -4181,13 +4221,13 @@ function ei({
4181
4221
  }
4182
4222
  );
4183
4223
  }
4184
- function ti() {
4185
- return /* @__PURE__ */ d(
4224
+ function si() {
4225
+ return /* @__PURE__ */ c(
4186
4226
  "div",
4187
4227
  {
4188
4228
  style: {
4189
- width: ne,
4190
- height: q,
4229
+ width: ue,
4230
+ height: G,
4191
4231
  background: "linear-gradient(180deg, #040c1a, #030810)",
4192
4232
  position: "relative",
4193
4233
  overflow: "hidden",
@@ -4202,7 +4242,7 @@ function ti() {
4202
4242
  {
4203
4243
  style: {
4204
4244
  width: 40,
4205
- height: q - 16,
4245
+ height: G - 16,
4206
4246
  background: "#020710",
4207
4247
  border: "1px solid #1a2d40",
4208
4248
  borderRadius: 2,
@@ -4258,7 +4298,7 @@ function ti() {
4258
4298
  style: {
4259
4299
  marginLeft: "auto",
4260
4300
  width: 12,
4261
- height: q - 16,
4301
+ height: G - 16,
4262
4302
  background: "#020710",
4263
4303
  border: "1px solid #1a3050",
4264
4304
  borderRadius: 1
@@ -4269,13 +4309,13 @@ function ti() {
4269
4309
  }
4270
4310
  );
4271
4311
  }
4272
- function bt({ side: t, color: n }) {
4273
- return /* @__PURE__ */ d(
4312
+ function Et({ side: t, color: n }) {
4313
+ return /* @__PURE__ */ c(
4274
4314
  "div",
4275
4315
  {
4276
4316
  style: {
4277
- width: ke,
4278
- height: q,
4317
+ width: Ie,
4318
+ height: G,
4279
4319
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
4280
4320
  position: "relative",
4281
4321
  overflow: "hidden"
@@ -4299,8 +4339,8 @@ function bt({ side: t, color: n }) {
4299
4339
  {
4300
4340
  style: {
4301
4341
  position: "absolute",
4302
- top: q * 0.25,
4303
- bottom: q * 0.25,
4342
+ top: G * 0.25,
4343
+ bottom: G * 0.25,
4304
4344
  left: 14,
4305
4345
  right: 14,
4306
4346
  display: "flex",
@@ -4326,14 +4366,14 @@ function bt({ side: t, color: n }) {
4326
4366
  }
4327
4367
  );
4328
4368
  }
4329
- function ii({ queueDepth: t, color: n }) {
4330
- const o = Math.floor((ke - 14) / 7);
4331
- return /* @__PURE__ */ d(
4369
+ function di({ queueDepth: t, color: n }) {
4370
+ const o = Math.floor((Ie - 14) / 7);
4371
+ return /* @__PURE__ */ c(
4332
4372
  "div",
4333
4373
  {
4334
4374
  style: {
4335
- width: ne,
4336
- height: ke,
4375
+ width: ue,
4376
+ height: Ie,
4337
4377
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
4338
4378
  position: "relative",
4339
4379
  overflow: "hidden"
@@ -4347,7 +4387,7 @@ function ii({ queueDepth: t, color: n }) {
4347
4387
  top: 0,
4348
4388
  left: 0,
4349
4389
  right: 0,
4350
- height: ke * 0.35,
4390
+ height: Ie * 0.35,
4351
4391
  background: `radial-gradient(ellipse at 50% 0%,
4352
4392
  ${t > 70 ? "rgba(255,34,85,0.14)" : `${n}15`} 0%,
4353
4393
  transparent 70%)`
@@ -4385,7 +4425,7 @@ function ii({ queueDepth: t, color: n }) {
4385
4425
  }
4386
4426
  );
4387
4427
  }
4388
- function wt({
4428
+ function Dt({
4389
4429
  rotateX: t = -20,
4390
4430
  rotateY: n = 20,
4391
4431
  rotateZ: o = 0,
@@ -4395,29 +4435,29 @@ function wt({
4395
4435
  name: s = "MSG-SRV-01",
4396
4436
  queueDepth: l = 45,
4397
4437
  msgsPerSec: h = 230,
4398
- instances: c = 3,
4438
+ instances: d = 3,
4399
4439
  _compact: p
4400
4440
  }) {
4401
- const [f, g] = R(n), u = K(0), y = K(0);
4402
- Ae(() => {
4441
+ const [f, g] = R(n), u = ie(0), b = ie(0);
4442
+ ke(() => {
4403
4443
  if (!r) {
4404
4444
  g(n);
4405
4445
  return;
4406
4446
  }
4407
- const v = (x) => {
4408
- y.current && g((w) => w + (x - y.current) * 0.027), y.current = x, u.current = requestAnimationFrame(v);
4447
+ const w = (v) => {
4448
+ b.current && g((S) => S + (v - b.current) * 0.027), b.current = v, u.current = requestAnimationFrame(w);
4409
4449
  };
4410
- return u.current = requestAnimationFrame(v), () => {
4411
- cancelAnimationFrame(u.current), y.current = 0;
4450
+ return u.current = requestAnimationFrame(w), () => {
4451
+ cancelAnimationFrame(u.current), b.current = 0;
4412
4452
  };
4413
4453
  }, [r, n]);
4414
- const m = ut[a] ?? ut.online;
4415
- return /* @__PURE__ */ d(
4454
+ const m = Pt[a] ?? Pt.online;
4455
+ return /* @__PURE__ */ c(
4416
4456
  "div",
4417
4457
  {
4418
4458
  style: {
4419
- width: ne * i,
4420
- height: q * i,
4459
+ width: ue * i,
4460
+ height: G * i,
4421
4461
  position: "relative",
4422
4462
  display: "flex",
4423
4463
  alignItems: "center",
@@ -4437,7 +4477,7 @@ function wt({
4437
4477
  animation: "holo-led-blink 1.5s infinite",
4438
4478
  filter: `drop-shadow(0 0 10px ${a === "critical" ? "#ff2255" : "#ff8c00"})`
4439
4479
  },
4440
- children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
4480
+ children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
4441
4481
  /* @__PURE__ */ e(
4442
4482
  "path",
4443
4483
  {
@@ -4477,8 +4517,8 @@ function wt({
4477
4517
  {
4478
4518
  style: {
4479
4519
  position: "absolute",
4480
- width: ne * 1.3 * i,
4481
- height: q * 2 * i,
4520
+ width: ue * 1.3 * i,
4521
+ height: G * 2 * i,
4482
4522
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
4483
4523
  filter: `blur(${Math.round(40 * i)}px)`,
4484
4524
  pointerEvents: "none",
@@ -4497,34 +4537,34 @@ function wt({
4497
4537
  transform: `scale(${i})`,
4498
4538
  transformOrigin: "center center"
4499
4539
  },
4500
- children: /* @__PURE__ */ d(
4540
+ children: /* @__PURE__ */ c(
4501
4541
  "div",
4502
4542
  {
4503
4543
  style: {
4504
- width: ne,
4505
- height: q,
4544
+ width: ue,
4545
+ height: G,
4506
4546
  position: "relative",
4507
4547
  transformStyle: "preserve-3d",
4508
4548
  transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
4509
4549
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
4510
4550
  },
4511
4551
  children: [
4512
- /* @__PURE__ */ e("div", { style: we.front, children: /* @__PURE__ */ e(
4513
- ei,
4552
+ /* @__PURE__ */ e("div", { style: Te.front, children: /* @__PURE__ */ e(
4553
+ li,
4514
4554
  {
4515
4555
  cfg: m,
4516
4556
  name: s,
4517
4557
  queueDepth: l,
4518
4558
  msgsPerSec: h,
4519
- instances: c,
4559
+ instances: d,
4520
4560
  compact: p
4521
4561
  }
4522
4562
  ) }),
4523
- /* @__PURE__ */ e("div", { style: we.back, children: /* @__PURE__ */ e(ti, {}) }),
4524
- /* @__PURE__ */ e("div", { style: we.left, children: /* @__PURE__ */ e(bt, { side: "left", color: m.color }) }),
4525
- /* @__PURE__ */ e("div", { style: we.right, children: /* @__PURE__ */ e(bt, { side: "right", color: m.color }) }),
4526
- /* @__PURE__ */ e("div", { style: we.top, children: /* @__PURE__ */ e(ii, { queueDepth: l, color: m.color }) }),
4527
- /* @__PURE__ */ e("div", { style: we.bottom, children: /* @__PURE__ */ e("div", { style: { width: ne, height: ke, background: "#020508" } }) })
4563
+ /* @__PURE__ */ e("div", { style: Te.back, children: /* @__PURE__ */ e(si, {}) }),
4564
+ /* @__PURE__ */ e("div", { style: Te.left, children: /* @__PURE__ */ e(Et, { side: "left", color: m.color }) }),
4565
+ /* @__PURE__ */ e("div", { style: Te.right, children: /* @__PURE__ */ e(Et, { side: "right", color: m.color }) }),
4566
+ /* @__PURE__ */ e("div", { style: Te.top, children: /* @__PURE__ */ e(di, { queueDepth: l, color: m.color }) }),
4567
+ /* @__PURE__ */ e("div", { style: Te.bottom, children: /* @__PURE__ */ e("div", { style: { width: ue, height: Ie, background: "#020508" } }) })
4528
4568
  ]
4529
4569
  }
4530
4570
  )
@@ -4534,7 +4574,7 @@ function wt({
4534
4574
  }
4535
4575
  );
4536
4576
  }
4537
- function Di({
4577
+ function Hi({
4538
4578
  ex: t,
4539
4579
  ey: n,
4540
4580
  compactOffset: o,
@@ -4544,14 +4584,14 @@ function Di({
4544
4584
  subLabel: s,
4545
4585
  color: l,
4546
4586
  delay: h,
4547
- visibleAtPhase: c,
4587
+ visibleAtPhase: d,
4548
4588
  queueDepth: p,
4549
4589
  msgsPerSec: f,
4550
4590
  instances: g,
4551
4591
  dialogMetrics: u,
4552
- subComponents: y,
4592
+ subComponents: b,
4553
4593
  graphSeries: m,
4554
- alert: v
4594
+ alert: w
4555
4595
  }) {
4556
4596
  return /* @__PURE__ */ e(
4557
4597
  A,
@@ -4564,19 +4604,19 @@ function Di({
4564
4604
  subLabel: s,
4565
4605
  color: l,
4566
4606
  delay: h,
4567
- visibleAtPhase: c,
4607
+ visibleAtPhase: d,
4568
4608
  componentInfo: {
4569
4609
  type: "messageServer",
4570
4610
  name: r,
4571
4611
  status: a,
4572
4612
  context: { queueDepth: p, msgsPerSec: f, instances: g },
4573
4613
  dialogMetrics: u,
4574
- subComponents: y,
4614
+ subComponents: b,
4575
4615
  graphSeries: m
4576
4616
  },
4577
- alert: v,
4617
+ alert: w,
4578
4618
  children: /* @__PURE__ */ e(
4579
- wt,
4619
+ Dt,
4580
4620
  {
4581
4621
  status: a,
4582
4622
  queueDepth: p,
@@ -4587,16 +4627,16 @@ function Di({
4587
4627
  }
4588
4628
  );
4589
4629
  }
4590
- function O(t, n, o = 24) {
4630
+ function L(t, n, o = 24) {
4591
4631
  return Array.from({ length: o }, (i, r) => {
4592
4632
  const a = r / o;
4593
4633
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
4594
4634
  });
4595
4635
  }
4596
- function ni({ data: t, color: n, height: o = 28 }) {
4636
+ function ci({ data: t, color: n, height: o = 28 }) {
4597
4637
  const r = o, a = Math.max(...t, 1), s = t.map((l, h) => {
4598
- const c = h / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
4599
- return `${c},${p}`;
4638
+ const d = h / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
4639
+ return `${d},${p}`;
4600
4640
  }).join(" ");
4601
4641
  return /* @__PURE__ */ e("svg", { width: 120, height: r, style: { display: "block", overflow: "visible" }, children: /* @__PURE__ */ e(
4602
4642
  "polyline",
@@ -4611,7 +4651,7 @@ function ni({ data: t, color: n, height: o = 28 }) {
4611
4651
  }
4612
4652
  ) });
4613
4653
  }
4614
- function oi({
4654
+ function pi({
4615
4655
  type: t,
4616
4656
  name: n,
4617
4657
  context: o = {},
@@ -4619,8 +4659,8 @@ function oi({
4619
4659
  animPhase: r,
4620
4660
  series: a
4621
4661
  }) {
4622
- const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ri(t, o), h = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
4623
- return /* @__PURE__ */ d(
4662
+ const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : fi(t, o), h = r >= 0.3 ? 0 : -280, d = r >= 0.2 ? 1 : 0;
4663
+ return /* @__PURE__ */ c(
4624
4664
  "div",
4625
4665
  {
4626
4666
  style: {
@@ -4634,11 +4674,11 @@ function oi({
4634
4674
  flexDirection: "column",
4635
4675
  overflow: "hidden",
4636
4676
  transform: `translateX(${h}px)`,
4637
- opacity: c,
4677
+ opacity: d,
4638
4678
  transition: "transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease"
4639
4679
  },
4640
4680
  children: [
4641
- /* @__PURE__ */ d(
4681
+ /* @__PURE__ */ c(
4642
4682
  "div",
4643
4683
  {
4644
4684
  style: {
@@ -4648,14 +4688,14 @@ function oi({
4648
4688
  },
4649
4689
  children: [
4650
4690
  /* @__PURE__ */ e("div", { style: { fontSize: 10, color: s + "cc", letterSpacing: "0.12em", fontFamily: "'Courier New', monospace" }, children: "HISTORICAL" }),
4651
- /* @__PURE__ */ d("div", { style: { fontSize: 12, fontWeight: 700, color: "#fff", letterSpacing: "0.06em", marginTop: 2, fontFamily: "'Courier New', monospace" }, children: [
4691
+ /* @__PURE__ */ c("div", { style: { fontSize: 12, fontWeight: 700, color: "#fff", letterSpacing: "0.06em", marginTop: 2, fontFamily: "'Courier New', monospace" }, children: [
4652
4692
  n,
4653
4693
  " · Sub-components"
4654
4694
  ] })
4655
4695
  ]
4656
4696
  }
4657
4697
  ),
4658
- /* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", padding: "12px 10px", display: "flex", flexDirection: "column", gap: 16 }, children: l.map((p, f) => /* @__PURE__ */ d(
4698
+ /* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", padding: "12px 10px", display: "flex", flexDirection: "column", gap: 16 }, children: l.map((p, f) => /* @__PURE__ */ c(
4659
4699
  "div",
4660
4700
  {
4661
4701
  style: {
@@ -4667,14 +4707,14 @@ function oi({
4667
4707
  opacity: r >= 0.5 ? 1 : 0
4668
4708
  },
4669
4709
  children: [
4670
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center", marginBottom: 6 }, children: [
4710
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center", marginBottom: 6 }, children: [
4671
4711
  /* @__PURE__ */ e("span", { style: { fontSize: 9, fontWeight: 600, color: p.color, letterSpacing: "0.08em", fontFamily: "'Courier New', monospace" }, children: p.label }),
4672
- /* @__PURE__ */ d("span", { style: { fontSize: 8, color: p.color + "99", fontFamily: "'Courier New', monospace" }, children: [
4712
+ /* @__PURE__ */ c("span", { style: { fontSize: 8, color: p.color + "99", fontFamily: "'Courier New', monospace" }, children: [
4673
4713
  Math.round(p.data[p.data.length - 1] ?? 0),
4674
4714
  p.unit
4675
4715
  ] })
4676
4716
  ] }),
4677
- /* @__PURE__ */ e(ni, { data: p.data, color: p.color, height: 26 })
4717
+ /* @__PURE__ */ e(ci, { data: p.data, color: p.color, height: 26 })
4678
4718
  ]
4679
4719
  },
4680
4720
  p.id
@@ -4683,43 +4723,43 @@ function oi({
4683
4723
  }
4684
4724
  );
4685
4725
  }
4686
- function ri(t, n) {
4726
+ function fi(t, n) {
4687
4727
  if (t === "server") {
4688
4728
  const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
4689
4729
  return [
4690
- { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: O(o, 15) },
4691
- { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: O(o * 0.7, 12) },
4692
- { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: O(i, 18) },
4693
- { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: O(i * 0.85, 14) },
4694
- { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: O(40, 25) },
4695
- { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: O(35, 20) },
4696
- { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: O(30, 22) },
4697
- { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: O(55, 20) }
4730
+ { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: L(o, 15) },
4731
+ { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: L(o * 0.7, 12) },
4732
+ { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: L(i, 18) },
4733
+ { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: L(i * 0.85, 14) },
4734
+ { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: L(40, 25) },
4735
+ { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: L(35, 20) },
4736
+ { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: L(30, 22) },
4737
+ { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: L(55, 20) }
4698
4738
  ];
4699
4739
  }
4700
4740
  if (t === "dispatcher" || t === "messageServer") {
4701
4741
  const o = n.traffic ?? n.queueDepth ?? 50;
4702
4742
  return [
4703
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: O(o, 20) },
4704
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: O(60, 25) },
4705
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: O(45, 20) },
4706
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: O(70, 30) },
4707
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: O(o * 0.9, 15) }
4743
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: L(o, 20) },
4744
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: L(60, 25) },
4745
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: L(45, 20) },
4746
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: L(70, 30) },
4747
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: L(o * 0.9, 15) }
4708
4748
  ];
4709
4749
  }
4710
4750
  if (t === "database") {
4711
4751
  const o = n.capacity ?? 70;
4712
4752
  return [
4713
- { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: O(40, 20) },
4714
- { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: O(55, 25) },
4715
- { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: O(35, 18) },
4716
- { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: O(o, 15) },
4717
- { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: O(75, 12) }
4753
+ { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: L(40, 20) },
4754
+ { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: L(55, 25) },
4755
+ { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: L(35, 18) },
4756
+ { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: L(o, 15) },
4757
+ { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: L(75, 12) }
4718
4758
  ];
4719
4759
  }
4720
4760
  return [];
4721
4761
  }
4722
- function St({
4762
+ function Nt({
4723
4763
  w: t,
4724
4764
  h: n,
4725
4765
  color: o,
@@ -4728,14 +4768,14 @@ function St({
4728
4768
  delay: a = "0s",
4729
4769
  children: s
4730
4770
  }) {
4731
- const l = r ? P[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
4732
- return /* @__PURE__ */ d(
4771
+ const l = r ? $[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
4772
+ return /* @__PURE__ */ c(
4733
4773
  "div",
4734
4774
  {
4735
4775
  style: {
4736
4776
  width: t,
4737
4777
  height: n,
4738
- background: Te,
4778
+ background: ze,
4739
4779
  position: "relative",
4740
4780
  overflow: "hidden",
4741
4781
  borderRadius: 2,
@@ -4769,8 +4809,8 @@ function St({
4769
4809
  width: 4,
4770
4810
  height: 4,
4771
4811
  borderRadius: "50%",
4772
- background: P[r]?.color,
4773
- boxShadow: `0 0 6px ${P[r]?.color}`,
4812
+ background: $[r]?.color,
4813
+ boxShadow: `0 0 6px ${$[r]?.color}`,
4774
4814
  animation: "holo-led-blink 1.2s infinite"
4775
4815
  }
4776
4816
  }
@@ -4812,20 +4852,20 @@ function St({
4812
4852
  }
4813
4853
  );
4814
4854
  }
4815
- function ze({
4855
+ function Ke({
4816
4856
  color: t = "#00e5ff",
4817
4857
  label: n = "CPU-0",
4818
4858
  status: o = "online",
4819
4859
  load: i = 0
4820
4860
  }) {
4821
- return /* @__PURE__ */ d("div", { style: { position: "relative", width: 52, height: 36 }, children: [
4822
- /* @__PURE__ */ d(
4861
+ return /* @__PURE__ */ c("div", { style: { position: "relative", width: 52, height: 36 }, children: [
4862
+ /* @__PURE__ */ c(
4823
4863
  "div",
4824
4864
  {
4825
4865
  style: {
4826
4866
  width: 52,
4827
4867
  height: 36,
4828
- background: Te,
4868
+ background: ze,
4829
4869
  position: "relative",
4830
4870
  borderRadius: 2,
4831
4871
  border: `1px solid ${t}55`,
@@ -4896,8 +4936,8 @@ function ze({
4896
4936
  width: 4,
4897
4937
  height: 4,
4898
4938
  borderRadius: "50%",
4899
- background: P[o]?.color,
4900
- boxShadow: `0 0 6px ${P[o]?.color}`,
4939
+ background: $[o]?.color,
4940
+ boxShadow: `0 0 6px ${$[o]?.color}`,
4901
4941
  animation: "holo-led-blink 1.2s infinite"
4902
4942
  }
4903
4943
  }
@@ -4923,14 +4963,14 @@ function ze({
4923
4963
  )
4924
4964
  ] });
4925
4965
  }
4926
- function Be({
4966
+ function Ze({
4927
4967
  color: t = "#00e5ff",
4928
4968
  label: n = "HEAP-0",
4929
4969
  status: o = "online",
4930
4970
  usedPercent: i = 0
4931
4971
  }) {
4932
- return /* @__PURE__ */ d("div", { style: { position: "relative", width: 28, height: 48 }, children: [
4933
- /* @__PURE__ */ d(
4972
+ return /* @__PURE__ */ c("div", { style: { position: "relative", width: 28, height: 48 }, children: [
4973
+ /* @__PURE__ */ c(
4934
4974
  "div",
4935
4975
  {
4936
4976
  style: {
@@ -4994,7 +5034,7 @@ function Be({
4994
5034
  width: 3,
4995
5035
  height: 3,
4996
5036
  borderRadius: "50%",
4997
- background: P[o]?.color,
5037
+ background: $[o]?.color,
4998
5038
  animation: "holo-led-blink 1.2s infinite"
4999
5039
  }
5000
5040
  }
@@ -5020,13 +5060,13 @@ function Be({
5020
5060
  )
5021
5061
  ] });
5022
5062
  }
5023
- function Re({
5063
+ function De({
5024
5064
  color: t = "#00e5ff",
5025
5065
  label: n = "DRIVE-1",
5026
5066
  status: o = "online",
5027
5067
  activity: i = !1
5028
5068
  }) {
5029
- return /* @__PURE__ */ d(St, { w: 56, h: 22, color: t, label: n, status: o, children: [
5069
+ return /* @__PURE__ */ c(Nt, { w: 56, h: 22, color: t, label: n, status: o, children: [
5030
5070
  /* @__PURE__ */ e(
5031
5071
  "div",
5032
5072
  {
@@ -5059,18 +5099,18 @@ function Re({
5059
5099
  )
5060
5100
  ] });
5061
5101
  }
5062
- function $t({
5102
+ function Wt({
5063
5103
  color: t = "#00e5ff",
5064
5104
  label: n = "NET",
5065
5105
  status: o = "online"
5066
5106
  }) {
5067
- return /* @__PURE__ */ d(
5107
+ return /* @__PURE__ */ c(
5068
5108
  "div",
5069
5109
  {
5070
5110
  style: {
5071
5111
  width: 48,
5072
5112
  height: 28,
5073
- background: Te,
5113
+ background: ze,
5074
5114
  position: "relative",
5075
5115
  borderRadius: 2,
5076
5116
  border: `1px solid ${t}44`,
@@ -5128,16 +5168,16 @@ function M({
5128
5168
  label: n = "THREAD",
5129
5169
  status: o = "online"
5130
5170
  }) {
5131
- return /* @__PURE__ */ e(St, { w: 44, h: 28, color: t, label: n, status: o });
5171
+ return /* @__PURE__ */ e(Nt, { w: 44, h: 28, color: t, label: n, status: o });
5132
5172
  }
5133
- function Me({
5173
+ function Qe({
5134
5174
  color: t = "#ff8c00",
5135
5175
  label: n = "PLATTER-0",
5136
5176
  status: o = "online",
5137
5177
  capacityPercent: i = 0
5138
5178
  }) {
5139
- return /* @__PURE__ */ d("div", { style: { position: "relative", width: 48, height: 62 }, children: [
5140
- /* @__PURE__ */ d(
5179
+ return /* @__PURE__ */ c("div", { style: { position: "relative", width: 48, height: 62 }, children: [
5180
+ /* @__PURE__ */ c(
5141
5181
  "div",
5142
5182
  {
5143
5183
  style: {
@@ -5188,7 +5228,7 @@ function Me({
5188
5228
  width: 4,
5189
5229
  height: 4,
5190
5230
  borderRadius: "50%",
5191
- background: P[o]?.color,
5231
+ background: $[o]?.color,
5192
5232
  animation: "holo-led-blink 1.2s infinite"
5193
5233
  }
5194
5234
  }
@@ -5214,12 +5254,12 @@ function Me({
5214
5254
  )
5215
5255
  ] });
5216
5256
  }
5217
- function F({
5257
+ function Y({
5218
5258
  color: t = "#00e5ff",
5219
5259
  label: n = "PORT-1",
5220
5260
  status: o = "online"
5221
5261
  }) {
5222
- return /* @__PURE__ */ d(
5262
+ return /* @__PURE__ */ c(
5223
5263
  "div",
5224
5264
  {
5225
5265
  style: {
@@ -5243,7 +5283,7 @@ function F({
5243
5283
  width: 4,
5244
5284
  height: 4,
5245
5285
  borderRadius: "50%",
5246
- background: o && o !== "online" ? P[o]?.color ?? t : t,
5286
+ background: o && o !== "online" ? $[o]?.color ?? t : t,
5247
5287
  boxShadow: `0 0 4px ${t}`,
5248
5288
  animation: o && o !== "online" && o !== "offline" ? "holo-led-blink 1s infinite" : "none"
5249
5289
  }
@@ -5284,7 +5324,7 @@ function F({
5284
5324
  }
5285
5325
  );
5286
5326
  }
5287
- function ai(t, n, o, i) {
5327
+ function hi(t, n, o, i) {
5288
5328
  const r = o === "online" ? "online" : o;
5289
5329
  return t === "server" ? [
5290
5330
  {
@@ -5388,8 +5428,8 @@ function ai(t, n, o, i) {
5388
5428
  }
5389
5429
  ] : [];
5390
5430
  }
5391
- const D = "cubic-bezier(0.34, 1.56, 0.64, 1)", li = "cubic-bezier(0.16, 1, 0.3, 1)";
5392
- function si({ items: t, revealPhase: n }) {
5431
+ const D = "cubic-bezier(0.34, 1.56, 0.64, 1)", ui = "cubic-bezier(0.16, 1, 0.3, 1)";
5432
+ function bi({ items: t, revealPhase: n }) {
5393
5433
  return /* @__PURE__ */ e(
5394
5434
  "div",
5395
5435
  {
@@ -5416,21 +5456,21 @@ function si({ items: t, revealPhase: n }) {
5416
5456
  }
5417
5457
  );
5418
5458
  }
5419
- function di({
5459
+ function gi({
5420
5460
  type: t,
5421
5461
  status: n,
5422
5462
  context: o,
5423
5463
  internal: i,
5424
5464
  revealPhase: r
5425
5465
  }) {
5426
- const a = P[n]?.color ?? P.online.color, s = "#ff8c00";
5466
+ const a = $[n]?.color ?? $.online.color, s = "#ff8c00";
5427
5467
  if (t === "server") {
5428
- const l = o.cpuLoad ?? 50, h = o.memLoad ?? 60, c = [
5468
+ const l = o.cpuLoad ?? 50, h = o.memLoad ?? 60, d = [
5429
5469
  {
5430
5470
  key: "cpu0",
5431
5471
  delay: 0,
5432
5472
  el: /* @__PURE__ */ e(
5433
- ze,
5473
+ Ke,
5434
5474
  {
5435
5475
  color: a,
5436
5476
  label: "CPU-0",
@@ -5444,7 +5484,7 @@ function di({
5444
5484
  key: "cpu1",
5445
5485
  delay: 1,
5446
5486
  el: /* @__PURE__ */ e(
5447
- ze,
5487
+ Ke,
5448
5488
  {
5449
5489
  color: a,
5450
5490
  label: "CPU-1",
@@ -5458,7 +5498,7 @@ function di({
5458
5498
  key: "heap0",
5459
5499
  delay: 2,
5460
5500
  el: /* @__PURE__ */ e(
5461
- Be,
5501
+ Ze,
5462
5502
  {
5463
5503
  color: "#8855ee",
5464
5504
  label: "HEAP-0",
@@ -5472,7 +5512,7 @@ function di({
5472
5512
  key: "heap1",
5473
5513
  delay: 3,
5474
5514
  el: /* @__PURE__ */ e(
5475
- Be,
5515
+ Ze,
5476
5516
  {
5477
5517
  color: "#8855ee",
5478
5518
  label: "HEAP-1",
@@ -5485,13 +5525,13 @@ function di({
5485
5525
  {
5486
5526
  key: "d1",
5487
5527
  delay: 4,
5488
- el: /* @__PURE__ */ e(Re, { color: a, label: "DRIVE-1", status: i[4]?.status, activity: !0 })
5528
+ el: /* @__PURE__ */ e(De, { color: a, label: "DRIVE-1", status: i[4]?.status, activity: !0 })
5489
5529
  },
5490
5530
  {
5491
5531
  key: "d2",
5492
5532
  delay: 5,
5493
5533
  el: /* @__PURE__ */ e(
5494
- Re,
5534
+ De,
5495
5535
  {
5496
5536
  color: a,
5497
5537
  label: "DRIVE-2",
@@ -5504,7 +5544,7 @@ function di({
5504
5544
  key: "d3",
5505
5545
  delay: 6,
5506
5546
  el: /* @__PURE__ */ e(
5507
- Re,
5547
+ De,
5508
5548
  {
5509
5549
  color: a,
5510
5550
  label: "DRIVE-3",
@@ -5521,7 +5561,7 @@ function di({
5521
5561
  {
5522
5562
  key: "net",
5523
5563
  delay: 8,
5524
- el: /* @__PURE__ */ e($t, { color: a, label: "NET", status: i[8]?.status })
5564
+ el: /* @__PURE__ */ e(Wt, { color: a, label: "NET", status: i[8]?.status })
5525
5565
  }
5526
5566
  ];
5527
5567
  return /* @__PURE__ */ e(
@@ -5535,7 +5575,7 @@ function di({
5535
5575
  alignItems: "center",
5536
5576
  padding: 24
5537
5577
  },
5538
- children: c.map(({ key: p, delay: f, el: g }) => /* @__PURE__ */ e(
5578
+ children: d.map(({ key: p, delay: f, el: g }) => /* @__PURE__ */ e(
5539
5579
  "div",
5540
5580
  {
5541
5581
  style: {
@@ -5551,22 +5591,22 @@ function di({
5551
5591
  );
5552
5592
  }
5553
5593
  if (t === "dispatcher") {
5554
- const l = Array.from({ length: 8 }, (h, c) => {
5555
- const p = i[c];
5594
+ const l = Array.from({ length: 8 }, (h, d) => {
5595
+ const p = i[d];
5556
5596
  return /* @__PURE__ */ e(
5557
5597
  "div",
5558
5598
  {
5559
5599
  style: {
5560
- opacity: r >= 0.25 + c * 0.04 ? 1 : 0,
5561
- transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
5562
- transition: `opacity 0.35s ${D} ${c * 0.04}s, transform 0.4s ${D} ${c * 0.04}s`
5600
+ opacity: r >= 0.25 + d * 0.04 ? 1 : 0,
5601
+ transform: `scale(${r >= 0.25 + d * 0.04 ? 1 : 0.5})`,
5602
+ transition: `opacity 0.35s ${D} ${d * 0.04}s, transform 0.4s ${D} ${d * 0.04}s`
5563
5603
  },
5564
- children: /* @__PURE__ */ e(F, { color: a, label: `PORT-${c + 1}`, status: p?.status })
5604
+ children: /* @__PURE__ */ e(Y, { color: a, label: `PORT-${d + 1}`, status: p?.status })
5565
5605
  },
5566
- `p${c}`
5606
+ `p${d}`
5567
5607
  );
5568
5608
  });
5569
- return /* @__PURE__ */ d(
5609
+ return /* @__PURE__ */ c(
5570
5610
  "div",
5571
5611
  {
5572
5612
  style: {
@@ -5578,7 +5618,7 @@ function di({
5578
5618
  },
5579
5619
  children: [
5580
5620
  /* @__PURE__ */ e("div", { style: { display: "flex", gap: 10, flexWrap: "wrap", justifyContent: "center" }, children: l }),
5581
- /* @__PURE__ */ d("div", { style: { display: "flex", gap: 16 }, children: [
5621
+ /* @__PURE__ */ c("div", { style: { display: "flex", gap: 16 }, children: [
5582
5622
  /* @__PURE__ */ e(
5583
5623
  "div",
5584
5624
  {
@@ -5607,7 +5647,7 @@ function di({
5607
5647
  );
5608
5648
  }
5609
5649
  if (t === "messageServer")
5610
- return /* @__PURE__ */ d(
5650
+ return /* @__PURE__ */ c(
5611
5651
  "div",
5612
5652
  {
5613
5653
  style: {
@@ -5627,7 +5667,7 @@ function di({
5627
5667
  transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
5628
5668
  transition: `all 0.4s ${D} ${l * 0.08}s`
5629
5669
  },
5630
- children: /* @__PURE__ */ e(F, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5670
+ children: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5631
5671
  },
5632
5672
  l
5633
5673
  )),
@@ -5666,7 +5706,7 @@ function di({
5666
5706
  );
5667
5707
  if (t === "database") {
5668
5708
  const l = o.capacity ?? 72;
5669
- return /* @__PURE__ */ d(
5709
+ return /* @__PURE__ */ c(
5670
5710
  "div",
5671
5711
  {
5672
5712
  style: {
@@ -5687,7 +5727,7 @@ function di({
5687
5727
  transition: `all 0.45s ${D} ${h * 0.1}s`
5688
5728
  },
5689
5729
  children: /* @__PURE__ */ e(
5690
- Me,
5730
+ Qe,
5691
5731
  {
5692
5732
  color: s,
5693
5733
  label: `PLATTER-${h}`,
@@ -5726,7 +5766,7 @@ function di({
5726
5766
  }
5727
5767
  return null;
5728
5768
  }
5729
- function Ni({
5769
+ function Ui({
5730
5770
  type: t,
5731
5771
  name: n,
5732
5772
  status: o,
@@ -5736,8 +5776,8 @@ function Ni({
5736
5776
  subComponents: s,
5737
5777
  graphSeries: l
5738
5778
  }) {
5739
- const h = ai(t, n, o, a), c = P[o]?.color ?? P.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", g = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5740
- return /* @__PURE__ */ d(
5779
+ const h = hi(t, n, o, a), d = $[o]?.color ?? $.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;
5780
+ return /* @__PURE__ */ c(
5741
5781
  "div",
5742
5782
  {
5743
5783
  style: {
@@ -5748,7 +5788,7 @@ function Ni({
5748
5788
  flexDirection: "row",
5749
5789
  pointerEvents: "auto"
5750
5790
  },
5751
- onClick: (y) => y.stopPropagation(),
5791
+ onClick: (b) => b.stopPropagation(),
5752
5792
  children: [
5753
5793
  /* @__PURE__ */ e(
5754
5794
  "div",
@@ -5760,13 +5800,13 @@ function Ni({
5760
5800
  backdropFilter: "blur(10px)",
5761
5801
  WebkitBackdropFilter: "blur(10px)",
5762
5802
  opacity: p,
5763
- transition: `opacity 0.4s ${li}`
5803
+ transition: `opacity 0.4s ${ui}`
5764
5804
  },
5765
5805
  onClick: i
5766
5806
  }
5767
5807
  ),
5768
5808
  /* @__PURE__ */ e(
5769
- oi,
5809
+ pi,
5770
5810
  {
5771
5811
  type: t,
5772
5812
  name: n,
@@ -5776,7 +5816,7 @@ function Ni({
5776
5816
  series: l
5777
5817
  }
5778
5818
  ),
5779
- /* @__PURE__ */ d(
5819
+ /* @__PURE__ */ c(
5780
5820
  "div",
5781
5821
  {
5782
5822
  style: {
@@ -5789,7 +5829,7 @@ function Ni({
5789
5829
  minWidth: 0
5790
5830
  },
5791
5831
  children: [
5792
- /* @__PURE__ */ d(
5832
+ /* @__PURE__ */ c(
5793
5833
  "div",
5794
5834
  {
5795
5835
  style: {
@@ -5807,7 +5847,7 @@ function Ni({
5807
5847
  width: "50%",
5808
5848
  height: "100%",
5809
5849
  background: "linear-gradient(90deg, rgba(2, 8, 20, 0.98) 0%, rgba(2, 12, 28, 0.95) 100%)",
5810
- borderRight: `2px solid ${c}44`,
5850
+ borderRight: `2px solid ${d}44`,
5811
5851
  boxShadow: "4px 0 32px rgba(0,0,0,0.6)",
5812
5852
  transform: `translateX(${f})`,
5813
5853
  transition: `transform 0.7s ${D}`
@@ -5822,7 +5862,7 @@ function Ni({
5822
5862
  height: "100%",
5823
5863
  marginLeft: "auto",
5824
5864
  background: "linear-gradient(90deg, rgba(2, 12, 28, 0.95) 0%, rgba(2, 8, 20, 0.98) 100%)",
5825
- borderLeft: `2px solid ${c}44`,
5865
+ borderLeft: `2px solid ${d}44`,
5826
5866
  boxShadow: "-4px 0 32px rgba(0,0,0,0.6)",
5827
5867
  transform: `translateX(${g})`,
5828
5868
  transition: `transform 0.7s ${D}`
@@ -5832,7 +5872,7 @@ function Ni({
5832
5872
  ]
5833
5873
  }
5834
5874
  ),
5835
- /* @__PURE__ */ d(
5875
+ /* @__PURE__ */ c(
5836
5876
  "div",
5837
5877
  {
5838
5878
  style: {
@@ -5842,29 +5882,29 @@ function Ni({
5842
5882
  maxWidth: 520,
5843
5883
  minHeight: 320,
5844
5884
  background: "linear-gradient(180deg, rgba(4, 14, 28, 0.6) 0%, rgba(2, 8, 18, 0.85) 100%)",
5845
- border: `1px solid ${c}33`,
5885
+ border: `1px solid ${d}33`,
5846
5886
  borderRadius: 12,
5847
- boxShadow: `0 0 40px ${c}18, inset 0 0 60px rgba(0,0,0,0.4)`,
5887
+ boxShadow: `0 0 40px ${d}18, inset 0 0 60px rgba(0,0,0,0.4)`,
5848
5888
  display: "flex",
5849
5889
  flexDirection: "column",
5850
5890
  opacity: u >= 0.1 ? 1 : 0,
5851
5891
  transition: `opacity 0.5s ${D} 0.2s`
5852
5892
  },
5853
5893
  children: [
5854
- /* @__PURE__ */ d(
5894
+ /* @__PURE__ */ c(
5855
5895
  "div",
5856
5896
  {
5857
5897
  style: {
5858
5898
  padding: "12px 20px",
5859
- borderBottom: `1px solid ${c}22`,
5899
+ borderBottom: `1px solid ${d}22`,
5860
5900
  display: "flex",
5861
5901
  alignItems: "center",
5862
5902
  justifyContent: "space-between",
5863
- background: `linear-gradient(180deg, ${c}11 0%, transparent 100%)`,
5903
+ background: `linear-gradient(180deg, ${d}11 0%, transparent 100%)`,
5864
5904
  borderRadius: "12px 12px 0 0"
5865
5905
  },
5866
5906
  children: [
5867
- /* @__PURE__ */ d("div", { style: { display: "flex", alignItems: "center", gap: 10 }, children: [
5907
+ /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "center", gap: 10 }, children: [
5868
5908
  /* @__PURE__ */ e(
5869
5909
  "div",
5870
5910
  {
@@ -5872,13 +5912,13 @@ function Ni({
5872
5912
  width: 8,
5873
5913
  height: 8,
5874
5914
  borderRadius: "50%",
5875
- background: c,
5876
- boxShadow: `0 0 10px ${c}`,
5915
+ background: d,
5916
+ boxShadow: `0 0 10px ${d}`,
5877
5917
  animation: o === "warning" || o === "critical" ? "holo-led-blink 1.5s infinite" : "none"
5878
5918
  }
5879
5919
  }
5880
5920
  ),
5881
- /* @__PURE__ */ d(
5921
+ /* @__PURE__ */ c(
5882
5922
  "span",
5883
5923
  {
5884
5924
  style: {
@@ -5903,9 +5943,9 @@ function Ni({
5903
5943
  width: 32,
5904
5944
  height: 32,
5905
5945
  borderRadius: 6,
5906
- border: `1px solid ${c}44`,
5946
+ border: `1px solid ${d}44`,
5907
5947
  background: "rgba(0,0,0,0.4)",
5908
- color: c,
5948
+ color: d,
5909
5949
  fontSize: 18,
5910
5950
  cursor: "pointer",
5911
5951
  display: "flex",
@@ -5929,15 +5969,15 @@ function Ni({
5929
5969
  left: 0,
5930
5970
  right: 0,
5931
5971
  height: 1,
5932
- background: `linear-gradient(90deg, transparent 5%, ${c}88 50%, transparent 95%)`,
5933
- boxShadow: `0 0 8px ${c}`,
5972
+ background: `linear-gradient(90deg, transparent 5%, ${d}88 50%, transparent 95%)`,
5973
+ boxShadow: `0 0 8px ${d}`,
5934
5974
  animation: "holo-scan 3s linear infinite",
5935
5975
  pointerEvents: "none"
5936
5976
  }
5937
5977
  }
5938
5978
  ),
5939
- /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(si, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
5940
- di,
5979
+ /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(bi, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
5980
+ gi,
5941
5981
  {
5942
5982
  type: t,
5943
5983
  name: n,
@@ -5957,17 +5997,17 @@ function Ni({
5957
5997
  }
5958
5998
  );
5959
5999
  }
5960
- function ci({ onSubmit: t }) {
5961
- const [n, o] = R(""), [i, r] = R(""), [a, s] = R(null), [l, h] = R(!1), c = n.trim().length > 0 && i.trim().length > 0;
5962
- return /* @__PURE__ */ e("div", { className: "cred-overlay", children: /* @__PURE__ */ d("form", { className: "cred-panel", onSubmit: (f) => {
5963
- f.preventDefault(), c && t({ accessKey: n.trim(), secretKey: i.trim() });
6000
+ function yi({ onSubmit: t }) {
6001
+ const [n, o] = R(""), [i, r] = R(""), [a, s] = R(null), [l, h] = R(!1), d = n.trim().length > 0 && i.trim().length > 0;
6002
+ return /* @__PURE__ */ e("div", { className: "cred-overlay", children: /* @__PURE__ */ c("form", { className: "cred-panel", onSubmit: (f) => {
6003
+ f.preventDefault(), d && t({ accessKey: n.trim(), secretKey: i.trim() });
5964
6004
  }, onClick: (f) => f.stopPropagation(), children: [
5965
6005
  /* @__PURE__ */ e("div", { className: "cred-scanline" }),
5966
6006
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--tl" }),
5967
6007
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--tr" }),
5968
6008
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--bl" }),
5969
6009
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--br" }),
5970
- /* @__PURE__ */ e("div", { className: "cred-icon", children: /* @__PURE__ */ d(
6010
+ /* @__PURE__ */ e("div", { className: "cred-icon", children: /* @__PURE__ */ c(
5971
6011
  "svg",
5972
6012
  {
5973
6013
  width: "32",
@@ -5984,7 +6024,7 @@ function ci({ onSubmit: t }) {
5984
6024
  ) }),
5985
6025
  /* @__PURE__ */ e("div", { className: "cred-title", children: "DATA SOURCE ACCESS" }),
5986
6026
  /* @__PURE__ */ e("div", { className: "cred-subtitle", children: "AUTHENTICATION REQUIRED" }),
5987
- /* @__PURE__ */ d("div", { className: "cred-field", children: [
6027
+ /* @__PURE__ */ c("div", { className: "cred-field", children: [
5988
6028
  /* @__PURE__ */ e("label", { className: "cred-label", children: "ACCESS KEY" }),
5989
6029
  /* @__PURE__ */ e(
5990
6030
  "input",
@@ -6004,7 +6044,7 @@ function ci({ onSubmit: t }) {
6004
6044
  }
6005
6045
  )
6006
6046
  ] }),
6007
- /* @__PURE__ */ d("div", { className: "cred-field", children: [
6047
+ /* @__PURE__ */ c("div", { className: "cred-field", children: [
6008
6048
  /* @__PURE__ */ e("label", { className: "cred-label", children: "SECRET KEY" }),
6009
6049
  /* @__PURE__ */ e(
6010
6050
  "input",
@@ -6023,18 +6063,18 @@ function ci({ onSubmit: t }) {
6023
6063
  }
6024
6064
  )
6025
6065
  ] }),
6026
- /* @__PURE__ */ d(
6066
+ /* @__PURE__ */ c(
6027
6067
  "button",
6028
6068
  {
6029
6069
  className: "cred-btn",
6030
6070
  type: "submit",
6031
- disabled: !c,
6071
+ disabled: !d,
6032
6072
  onMouseEnter: () => h(!0),
6033
6073
  onMouseLeave: () => h(!1),
6034
6074
  style: {
6035
- opacity: c ? 1 : 0.35,
6036
- cursor: c ? "pointer" : "not-allowed",
6037
- ...l && c ? {
6075
+ opacity: d ? 1 : 0.35,
6076
+ cursor: d ? "pointer" : "not-allowed",
6077
+ ...l && d ? {
6038
6078
  background: "rgba(0,229,255,0.12)",
6039
6079
  boxShadow: "0 0 20px rgba(0,229,255,0.3), inset 0 0 12px rgba(0,229,255,0.08)"
6040
6080
  } : {}
@@ -6048,28 +6088,28 @@ function ci({ onSubmit: t }) {
6048
6088
  /* @__PURE__ */ e("div", { className: "cred-footer", children: "CREDENTIALS ARE STORED IN MEMORY ONLY" })
6049
6089
  ] }) });
6050
6090
  }
6051
- const rt = Ue(null);
6052
- function pi() {
6053
- const t = re(rt);
6091
+ const xt = tt(null);
6092
+ function mi() {
6093
+ const t = ge(xt);
6054
6094
  if (!t)
6055
6095
  throw new Error("useAIOpsData must be used within an AIOPsDashboard with dataEndpoint configured");
6056
6096
  return t;
6057
6097
  }
6058
- function fi() {
6059
- return re(rt);
6098
+ function xi() {
6099
+ return ge(xt);
6060
6100
  }
6061
- function Wi(t) {
6062
- const { data: n } = pi();
6101
+ function Yi(t) {
6102
+ const { data: n } = mi();
6063
6103
  return n[t] ?? null;
6064
6104
  }
6065
- function hi(t) {
6105
+ function vi(t) {
6066
6106
  const n = /* @__PURE__ */ new Set();
6067
6107
  for (const o of Object.values(t))
6068
6108
  for (const i of Object.values(o))
6069
6109
  n.add(typeof i == "string" ? i : i.query);
6070
6110
  return Array.from(n);
6071
6111
  }
6072
- function ui(t) {
6112
+ function wi(t) {
6073
6113
  if (typeof t == "number") return t;
6074
6114
  if (typeof t == "string") {
6075
6115
  const n = Number(t);
@@ -6077,56 +6117,56 @@ function ui(t) {
6077
6117
  }
6078
6118
  return t;
6079
6119
  }
6080
- function bi({ config: t, children: n }) {
6081
- const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [h, c] = R(null), [p, f] = R(null), g = K(t);
6120
+ function Si({ config: t, children: n }) {
6121
+ const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [h, d] = R(null), [p, f] = R(null), g = ie(t);
6082
6122
  g.current = t;
6083
- const u = K(r);
6123
+ const u = ie(r);
6084
6124
  u.current = r;
6085
- const y = dt(async () => {
6086
- const x = u.current, w = g.current;
6087
- if (x) {
6125
+ const b = Ge(async () => {
6126
+ const v = u.current, S = g.current;
6127
+ if (v) {
6088
6128
  l(!0);
6089
6129
  try {
6090
- const b = await Promise.allSettled(
6091
- w.queries.map((S) => {
6092
- const N = w.endpoint.includes("?") ? "&" : "?", B = `${w.endpoint}${N}query=${encodeURIComponent(S)}`;
6093
- return fetch(B, {
6130
+ const y = await Promise.allSettled(
6131
+ S.queries.map((P) => {
6132
+ const O = S.endpoint.includes("?") ? "&" : "?", I = `${S.endpoint}${O}query=${encodeURIComponent(P)}`;
6133
+ return fetch(I, {
6094
6134
  method: "GET",
6095
6135
  headers: {
6096
- "access-key": x.accessKey,
6097
- "access-secret-key": x.secretKey
6136
+ "access-key": v.accessKey,
6137
+ "access-secret-key": v.secretKey
6098
6138
  }
6099
6139
  }).then((z) => {
6100
6140
  if (!z.ok) throw new Error(`HTTP ${z.status}`);
6101
6141
  return z.text();
6102
- }).then((z) => ({ query: S, data: z.trim() }));
6142
+ }).then((z) => ({ query: P, data: z.trim() }));
6103
6143
  })
6104
- ), k = {};
6105
- let T = 0;
6106
- for (const S of b)
6107
- S.status === "fulfilled" ? k[S.value.query] = S.value.data : T++;
6108
- i((S) => ({ ...S, ...k }));
6109
- const $ = w.queries.length;
6110
- c(
6111
- T > 0 ? `${T} of ${$} queries failed to refresh` : null
6112
- ), T < $ && f(/* @__PURE__ */ new Date());
6113
- } catch (b) {
6114
- const k = b instanceof Error ? b.message : "Refresh failed";
6115
- c(k);
6144
+ ), x = {};
6145
+ let C = 0;
6146
+ for (const P of y)
6147
+ P.status === "fulfilled" ? x[P.value.query] = P.value.data : C++;
6148
+ i((P) => ({ ...P, ...x }));
6149
+ const k = S.queries.length;
6150
+ d(
6151
+ C > 0 ? `${C} of ${k} queries failed to refresh` : null
6152
+ ), C < k && f(/* @__PURE__ */ new Date());
6153
+ } catch (y) {
6154
+ const x = y instanceof Error ? y.message : "Refresh failed";
6155
+ d(x);
6116
6156
  } finally {
6117
6157
  l(!1);
6118
6158
  }
6119
6159
  }
6120
6160
  }, []);
6121
- Ae(() => {
6161
+ ke(() => {
6122
6162
  if (!r) return;
6123
- y();
6124
- const x = g.current.refreshInterval ?? 6e4, w = window.setInterval(y, x);
6125
- return () => clearInterval(w);
6126
- }, [r, y]);
6127
- const m = dt((x) => {
6128
- a(x);
6129
- }, []), v = {
6163
+ b();
6164
+ const v = g.current.refreshInterval ?? 6e4, S = window.setInterval(b, v);
6165
+ return () => clearInterval(S);
6166
+ }, [r, b]);
6167
+ const m = Ge((v) => {
6168
+ a(v);
6169
+ }, []), w = {
6130
6170
  data: o,
6131
6171
  isRefreshing: s,
6132
6172
  lastRefreshError: h,
@@ -6134,30 +6174,30 @@ function bi({ config: t, children: n }) {
6134
6174
  credentialsSet: !!r,
6135
6175
  setCredentials: m
6136
6176
  };
6137
- return /* @__PURE__ */ d(rt.Provider, { value: v, children: [
6177
+ return /* @__PURE__ */ c(xt.Provider, { value: w, children: [
6138
6178
  n,
6139
- !r && /* @__PURE__ */ e(ci, { onSubmit: m })
6179
+ !r && /* @__PURE__ */ e(yi, { onSubmit: m })
6140
6180
  ] });
6141
6181
  }
6142
- function Mi(t) {
6182
+ function Vi(t) {
6143
6183
  const { dataEndpoint: n, dataBindings: o, dataRefreshInterval: i } = t;
6144
6184
  if (n && o) {
6145
- const r = hi(o);
6185
+ const r = vi(o);
6146
6186
  return /* @__PURE__ */ e(
6147
- bi,
6187
+ Si,
6148
6188
  {
6149
6189
  config: {
6150
6190
  endpoint: n,
6151
6191
  queries: r,
6152
6192
  refreshInterval: i
6153
6193
  },
6154
- children: /* @__PURE__ */ e(gt, { ...t })
6194
+ children: /* @__PURE__ */ e(At, { ...t })
6155
6195
  }
6156
6196
  );
6157
6197
  }
6158
- return /* @__PURE__ */ e(gt, { ...t });
6198
+ return /* @__PURE__ */ e(At, { ...t });
6159
6199
  }
6160
- function gt({
6200
+ function At({
6161
6201
  brandName: t = "BUSAUD AIOps",
6162
6202
  brandTag: n = "3D MONITOR",
6163
6203
  services: o = [],
@@ -6167,41 +6207,75 @@ function gt({
6167
6207
  fontFamily: s,
6168
6208
  dataBindings: l,
6169
6209
  dataTransform: h,
6170
- children: c
6210
+ children: d
6171
6211
  }) {
6172
- const p = fi(), [f] = R(20), [g] = R(!1), [u] = R(!0), [y] = R(0.45), [m] = R(3.3), [v, x] = R("compact"), [w, b] = R(0), [k, T] = R(null), [$, S] = R(null), [N, B] = R(0), z = (C) => {
6173
- v === "compact" && (T(C), x("expanding"), b(0), setTimeout(() => b(1), 50), setTimeout(() => b(2), 800), setTimeout(() => b(3), 1200), setTimeout(() => b(4), 1600), setTimeout(() => b(5), 2e3), setTimeout(() => {
6174
- b(6), x("expanded");
6212
+ const p = xi(), [f] = R(20), [g] = R(!1), [u] = R(!0), [b] = R(0.45), [m] = R(3.3), [w, v] = R("compact"), [S, y] = R(0), [x, C] = R(null), [k, P] = R(null), [O, I] = R(0), z = (T) => {
6213
+ w === "compact" && (C(T), v("expanding"), y(0), setTimeout(() => y(1), 50), setTimeout(() => y(2), 800), setTimeout(() => y(3), 1200), setTimeout(() => y(4), 1600), setTimeout(() => y(5), 2e3), setTimeout(() => {
6214
+ y(6), v("expanded");
6175
6215
  }, 2400));
6176
- }, H = () => {
6177
- $ ? (S(null), B(0)) : v === "expanded" && (x("collapsing"), b(0), T(null), setTimeout(() => {
6178
- x((C) => C === "collapsing" ? "compact" : C);
6216
+ }, K = () => {
6217
+ k ? (P(null), I(0)) : w === "expanded" && (v("collapsing"), y(0), C(null), setTimeout(() => {
6218
+ v((T) => T === "collapsing" ? "compact" : T);
6179
6219
  }, 1e3));
6180
- }, ae = (C) => {
6181
- S(C), B(0);
6182
- };
6183
- j.useEffect(() => {
6184
- if (!$) return;
6185
- const C = performance.now(), ce = 1200, ee = () => {
6186
- const Z = performance.now() - C, V = Math.min(1, Z / ce);
6187
- B(V), V < 1 && requestAnimationFrame(ee);
6188
- }, pe = requestAnimationFrame(ee);
6189
- return () => cancelAnimationFrame(pe);
6190
- }, [$]);
6191
- const le = () => {
6192
- S(null), B(0);
6193
- }, I = o.find((C) => C.name === k), U = I?.status ?? "online", se = I?.dbSync ?? !0, Ie = I?.metrics, Oe = I?.alerts, Y = h ?? ui, L = p?.data, Q = yt(() => !L || !l ? c : j.Children.map(c, (C) => {
6194
- if (!j.isValidElement(C)) return C;
6195
- const ce = C.props.name;
6196
- if (!ce || !l[ce]) return C;
6197
- const ee = l[ce], pe = {};
6198
- for (const [Z, V] of Object.entries(ee)) {
6199
- const st = typeof V == "string" ? V : V.query, ye = typeof V == "object" && V.transform ? V.transform : Y, De = L[st];
6200
- De !== void 0 && (pe[Z] = ye(De));
6201
- }
6202
- return Object.keys(pe).length > 0 ? j.cloneElement(C, pe) : C;
6203
- }), [c, L, l, Y]), Le = p?.lastRefreshError ?? null, be = 330, ge = 340, Ye = $ ? 1.15 : 1, Ve = $ ? -($.ex - be) * 0.06 : 0, de = $ ? -($.ey - ge) * 0.06 : 0;
6204
- return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
6220
+ }, Z = Ge((T) => {
6221
+ P(T), I(0);
6222
+ }, []), ye = Ge((T) => {
6223
+ P(T);
6224
+ }, []);
6225
+ q.useEffect(() => {
6226
+ if (!k) return;
6227
+ const T = performance.now(), j = 1200, re = () => {
6228
+ const V = performance.now() - T, ae = Math.min(1, V / j);
6229
+ I(ae), ae < 1 && requestAnimationFrame(re);
6230
+ }, ee = requestAnimationFrame(re);
6231
+ return () => cancelAnimationFrame(ee);
6232
+ }, [k]);
6233
+ const me = () => {
6234
+ P(null), I(0);
6235
+ }, N = h ?? wi, U = p?.data, { enhancedChildren: ne, liveAlerts: Be } = Tt(() => {
6236
+ const T = {};
6237
+ if (!U || !l) return { enhancedChildren: d, liveAlerts: T };
6238
+ const j = {};
6239
+ return { enhancedChildren: q.Children.map(d, (ee) => {
6240
+ if (!q.isValidElement(ee)) return ee;
6241
+ const V = ee.props.name;
6242
+ if (!V || !l[V]) return ee;
6243
+ const ae = l[V], ve = {}, le = {};
6244
+ for (const [pe, F] of Object.entries(ae)) {
6245
+ const rt = typeof F == "string" ? F : F.query, at = typeof F == "object" && F.transform ? F.transform : N, Ye = U[rt];
6246
+ if (Ye === void 0) continue;
6247
+ const we = at(Ye);
6248
+ if (ve[pe] = we, typeof F == "object" && F.alert && typeof we == "number") {
6249
+ const { prop: H, warnAt: Ve = 70, critAt: St = 85, label: Ft } = F.alert, _e = Ft ?? pe, je = Math.round(we);
6250
+ if (we >= St) {
6251
+ const He = le[H];
6252
+ (!He || He.severity < 2) && (le[H] = {
6253
+ msg: `${_e} critical — ${je}%`,
6254
+ internalRef: pe,
6255
+ severity: 2
6256
+ }), j[V] || (j[V] = []), j[V].push({
6257
+ level: "critical",
6258
+ message: `${_e} at ${je}% — exceeds critical threshold (${St}%)`
6259
+ });
6260
+ } else if (we >= Ve) {
6261
+ const He = le[H];
6262
+ (!He || He.severity < 1) && (le[H] = {
6263
+ msg: `${_e} elevated — ${je}%`,
6264
+ internalRef: pe,
6265
+ severity: 1
6266
+ }), j[V] || (j[V] = []), j[V].push({
6267
+ level: "warning",
6268
+ message: `${_e} at ${je}% — exceeds warning threshold (${Ve}%)`
6269
+ });
6270
+ }
6271
+ }
6272
+ }
6273
+ for (const [pe, F] of Object.entries(le))
6274
+ ve[pe] = { msg: F.msg, internalRef: F.internalRef };
6275
+ return Object.keys(ve).length > 0 ? q.cloneElement(ee, ve) : ee;
6276
+ }), liveAlerts: j };
6277
+ }, [d, U, l, N]), oe = o.find((T) => T.name === x), Fe = oe?.status ?? "online", J = oe?.dbSync ?? !0, B = oe?.metrics, _ = Be[x ?? ""] ?? [], se = oe?.alerts ?? [], de = _.length > 0 ? [..._, ...se.filter((T) => T.level !== "info")] : se, Ce = p?.lastRefreshError ?? null, it = 330, nt = 340, xe = k ? 1.15 : 1, ce = k ? -(k.ex - it) * 0.06 : 0, ot = k ? -(k.ey - nt) * 0.06 : 0;
6278
+ return /* @__PURE__ */ c("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
6205
6279
  /* @__PURE__ */ e(
6206
6280
  "div",
6207
6281
  {
@@ -6215,18 +6289,18 @@ function gt({
6215
6289
  backgroundPosition: "center center",
6216
6290
  backgroundRepeat: "no-repeat",
6217
6291
  transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
6218
- transform: `translate(${Ve}px, ${de}px) scale(${Ye})`,
6292
+ transform: `translate(${ce}px, ${ot}px) scale(${xe})`,
6219
6293
  willChange: "transform"
6220
6294
  }
6221
6295
  }
6222
6296
  ),
6223
- /* @__PURE__ */ d("header", { className: "app-header", children: [
6224
- /* @__PURE__ */ d("div", { className: "hdr-brand", children: [
6297
+ /* @__PURE__ */ c("header", { className: "app-header", children: [
6298
+ /* @__PURE__ */ c("div", { className: "hdr-brand", children: [
6225
6299
  /* @__PURE__ */ e("span", { className: "brand-pulse" }),
6226
6300
  /* @__PURE__ */ e("span", { className: "brand-text", children: t })
6227
6301
  ] }),
6228
- /* @__PURE__ */ d("div", { className: "hdr-right", children: [
6229
- Le && /* @__PURE__ */ d("div", { className: "hdr-refresh-error", children: [
6302
+ /* @__PURE__ */ c("div", { className: "hdr-right", children: [
6303
+ Ce && /* @__PURE__ */ c("div", { className: "hdr-refresh-error", children: [
6230
6304
  /* @__PURE__ */ e("span", { className: "refresh-error-dot" }),
6231
6305
  /* @__PURE__ */ e("span", { className: "refresh-error-text", children: "DATA REFRESH FAILED" })
6232
6306
  ] }),
@@ -6238,33 +6312,34 @@ function gt({
6238
6312
  {
6239
6313
  className: "scene",
6240
6314
  style: {
6241
- cursor: v === "expanded" ? "zoom-out" : "default"
6315
+ cursor: w === "expanded" ? "zoom-out" : "default"
6242
6316
  },
6243
- onClick: H,
6317
+ onClick: K,
6244
6318
  children: /* @__PURE__ */ e(
6245
- Ft,
6319
+ Xt,
6246
6320
  {
6247
- viewState: v,
6248
- animPhase: w,
6249
- selectedSystem: k,
6250
- selectedComponent: $,
6251
- drillAnimPhase: N,
6321
+ viewState: w,
6322
+ animPhase: S,
6323
+ selectedSystem: x,
6324
+ selectedComponent: k,
6325
+ drillAnimPhase: O,
6252
6326
  rotateY: f,
6253
6327
  autoRotateComponents: g,
6254
- componentScale: y,
6328
+ componentScale: b,
6255
6329
  drillZoom: m,
6256
6330
  autoRotateCarousel: u,
6257
6331
  carouselSpeed: a,
6258
6332
  logoUrl: r,
6259
6333
  onSelectSystem: z,
6260
- onBackgroundClick: H,
6261
- onComponentClick: ae,
6262
- onCloseDrill: le,
6263
- selectedSystemStatus: U,
6264
- selectedSystemDbSync: se,
6265
- selectedSystemMetrics: Ie,
6266
- selectedSystemAlerts: Oe,
6267
- children: Q
6334
+ onBackgroundClick: K,
6335
+ onComponentClick: Z,
6336
+ onComponentUpdate: ye,
6337
+ onCloseDrill: me,
6338
+ selectedSystemStatus: Fe,
6339
+ selectedSystemDbSync: J,
6340
+ selectedSystemMetrics: B,
6341
+ selectedSystemAlerts: de,
6342
+ children: ne
6268
6343
  }
6269
6344
  )
6270
6345
  }
@@ -6277,24 +6352,24 @@ function E(t, n, o = 24) {
6277
6352
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
6278
6353
  });
6279
6354
  }
6280
- function kt(t) {
6355
+ function Mt(t) {
6281
6356
  return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
6282
6357
  }
6283
- function Pe(t, n, o) {
6284
- const i = t === "online" ? "online" : t, r = kt(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", h = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
6358
+ function Ne(t, n, o) {
6359
+ const i = t === "online" ? "online" : t, r = Mt(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", d = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
6285
6360
  return [
6286
- { id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(ze, { color: r, label: "CPU-0", status: l, load: a }) },
6287
- { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(ze, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
6288
- { id: "heap-0", label: "HEAP-0", status: h, detail: h === "warning" ? "Memory heap usage" : h === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(Be, { color: "#8855ee", label: "HEAP-0", status: h, usedPercent: s }) },
6289
- { id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(Be, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
6290
- { id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(Re, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
6291
- { id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(Re, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
6292
- { id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(Re, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
6293
- { id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "THREAD-POOL", status: c }) },
6294
- { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e($t, { color: r, label: "NET", status: p }) }
6361
+ { id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(Ke, { color: r, label: "CPU-0", status: l, load: a }) },
6362
+ { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(Ke, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
6363
+ { id: "heap-0", label: "HEAP-0", status: h, detail: h === "warning" ? "Memory heap usage" : h === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(Ze, { color: "#8855ee", label: "HEAP-0", status: h, usedPercent: s }) },
6364
+ { id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(Ze, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
6365
+ { id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
6366
+ { id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
6367
+ { id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
6368
+ { id: "thread-pool", label: "THREAD-POOL", status: d, detail: d === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "THREAD-POOL", status: d }) },
6369
+ { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(Wt, { color: r, label: "NET", status: p }) }
6295
6370
  ];
6296
6371
  }
6297
- function Ce(t) {
6372
+ function We(t) {
6298
6373
  const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
6299
6374
  return [
6300
6375
  { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: E(n, 15) },
@@ -6307,22 +6382,22 @@ function Ce(t) {
6307
6382
  { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: E(55, 20) }
6308
6383
  ];
6309
6384
  }
6310
- function Rt(t, n, o) {
6311
- const i = t === "online" ? "online" : t, r = kt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
6385
+ function zt(t, n, o) {
6386
+ const i = t === "online" ? "online" : t, r = Mt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
6312
6387
  return [
6313
- { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-1", status: "online" }) },
6314
- { id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-2", status: "online" }) },
6315
- { id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(F, { color: r, label: "PORT-3", status: a }) },
6316
- { id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-4", status: "online" }) },
6317
- { id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(F, { color: r, label: "PORT-5", status: s }) },
6318
- { id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-6", status: "online" }) },
6319
- { id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-7", status: "online" }) },
6320
- { id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(F, { color: r, label: "PORT-8", status: "online" }) },
6388
+ { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-1", status: "online" }) },
6389
+ { id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-2", status: "online" }) },
6390
+ { id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-3", status: a }) },
6391
+ { id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-4", status: "online" }) },
6392
+ { id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-5", status: s }) },
6393
+ { id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-6", status: "online" }) },
6394
+ { id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-7", status: "online" }) },
6395
+ { id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-8", status: "online" }) },
6321
6396
  { id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "HTTP-WORKER", status: l }) },
6322
6397
  { id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
6323
6398
  ];
6324
6399
  }
6325
- function Pt(t) {
6400
+ function Bt(t) {
6326
6401
  const n = t?.traffic ?? 50;
6327
6402
  return [
6328
6403
  { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
@@ -6332,19 +6407,19 @@ function Pt(t) {
6332
6407
  { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
6333
6408
  ];
6334
6409
  }
6335
- function gi(t, n, o) {
6410
+ function $i(t, n, o) {
6336
6411
  const i = t === "online" ? "online" : t, r = i === "critical" ? "critical" : "online", a = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", s = i === "critical" ? "critical" : "online";
6337
6412
  return [
6338
- { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-0", status: "online" }) },
6339
- { id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-1", status: "online" }) },
6340
- { id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "INST-2", status: r }) },
6413
+ { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: "INST-0", status: "online" }) },
6414
+ { id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: "INST-1", status: "online" }) },
6415
+ { id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: "INST-2", status: r }) },
6341
6416
  { id: "queue-0", label: "QUEUE-0", status: a, detail: i === "critical" ? "Queue full" : i === "offline" ? "Unreachable" : i === "warning" ? "Queue depth warning" : void 0, element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
6342
6417
  { id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
6343
6418
  { id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
6344
6419
  { id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-3", status: s }) }
6345
6420
  ];
6346
6421
  }
6347
- function yi(t) {
6422
+ function ki(t) {
6348
6423
  const n = t?.queueDepth ?? 50;
6349
6424
  return [
6350
6425
  { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
@@ -6354,17 +6429,17 @@ function yi(t) {
6354
6429
  { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
6355
6430
  ];
6356
6431
  }
6357
- function Fe(t, n, o) {
6358
- const i = t === "online" ? "online" : t, r = "#ff8c00", a = o?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && n === "DB-STB" ? "warning" : "online", h = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
6432
+ function Je(t, n, o) {
6433
+ 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", d = i === "warning" ? "warning" : "online";
6359
6434
  return [
6360
- { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Me, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
6361
- { id: "platter-1", label: "PLATTER-1", status: s, detail: i === "critical" ? "I/O failure" : i === "offline" ? "Connection lost" : i === "warning" ? "Slow queries" : void 0, element: /* @__PURE__ */ e(Me, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
6362
- { id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Me, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
6435
+ { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Qe, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
6436
+ { 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(Qe, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
6437
+ { id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Qe, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
6363
6438
  { id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "CONN-POOL", status: h }) },
6364
- { id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(M, { color: "#00ff88", label: "QUERY-CACHE", status: c }) }
6439
+ { id: "query-cache", label: "QUERY-CACHE", status: d, detail: d === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(M, { color: "#00ff88", label: "QUERY-CACHE", status: d }) }
6365
6440
  ];
6366
6441
  }
6367
- function He(t) {
6442
+ function et(t) {
6368
6443
  const n = t?.capacity ?? 70;
6369
6444
  return [
6370
6445
  { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: E(40, 20) },
@@ -6374,7 +6449,7 @@ function He(t) {
6374
6449
  { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: E(75, 12) }
6375
6450
  ];
6376
6451
  }
6377
- function at(t) {
6452
+ function vt(t) {
6378
6453
  const n = [
6379
6454
  t.wdStatus,
6380
6455
  t.msStatus,
@@ -6386,8 +6461,8 @@ function at(t) {
6386
6461
  ];
6387
6462
  return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
6388
6463
  }
6389
- function zi(t) {
6390
- const n = at(t), o = n === "critical" || n === "offline", i = n === "warning";
6464
+ function _i(t) {
6465
+ const n = vt(t), o = n === "critical" || n === "offline", i = n === "warning";
6391
6466
  return [
6392
6467
  {
6393
6468
  label: "Uptime",
@@ -6408,8 +6483,8 @@ function zi(t) {
6408
6483
  }
6409
6484
  ];
6410
6485
  }
6411
- function Bi(t) {
6412
- const n = at(t), o = n === "critical" || n === "offline", i = n === "warning";
6486
+ function ji(t) {
6487
+ const n = vt(t), o = n === "critical" || n === "offline", i = n === "warning";
6413
6488
  return [
6414
6489
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
6415
6490
  ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
@@ -6417,7 +6492,7 @@ function Bi(t) {
6417
6492
  ...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6418
6493
  ];
6419
6494
  }
6420
- const mi = [
6495
+ const Ri = [
6421
6496
  { from: [330, 120], to: [220, 260], visibleAtPhase: 3 },
6422
6497
  { from: [330, 120], to: [440, 260], visibleAtPhase: 3 },
6423
6498
  { from: [220, 260], to: [165, 390], visibleAtPhase: 4 },
@@ -6430,9 +6505,9 @@ const mi = [
6430
6505
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
6431
6506
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6432
6507
  ];
6433
- function xi({ config: t }) {
6434
- const n = j.useContext(ue), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: h, pdbStatus: c, sdbStatus: p, dbSync: f } = t;
6435
- return /* @__PURE__ */ d(Ee, { children: [
6508
+ function Ci({ config: t }) {
6509
+ const n = q.useContext(Re), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: h, pdbStatus: d, sdbStatus: p, dbSync: f } = t;
6510
+ return /* @__PURE__ */ c(Me, { children: [
6436
6511
  /* @__PURE__ */ e(
6437
6512
  A,
6438
6513
  {
@@ -6442,7 +6517,7 @@ function xi({ config: t }) {
6442
6517
  zIndex: 10,
6443
6518
  visibleAtPhase: 2,
6444
6519
  color: "#00e5ff",
6445
- children: /* @__PURE__ */ e(nt, { status: "online", scale: 1.5 })
6520
+ children: /* @__PURE__ */ e(yt, { status: "online", scale: 1.5 })
6446
6521
  }
6447
6522
  ),
6448
6523
  /* @__PURE__ */ e(
@@ -6461,11 +6536,11 @@ function xi({ config: t }) {
6461
6536
  name: "WEB-DISP",
6462
6537
  status: r,
6463
6538
  context: { traffic: 78 },
6464
- subComponents: Rt(r),
6465
- graphSeries: Pt({ traffic: 78 })
6539
+ subComponents: zt(r),
6540
+ graphSeries: Bt({ traffic: 78 })
6466
6541
  },
6467
6542
  children: /* @__PURE__ */ e(
6468
- ot,
6543
+ mt,
6469
6544
  {
6470
6545
  rotateY: o,
6471
6546
  autoRotate: i,
@@ -6494,11 +6569,11 @@ function xi({ config: t }) {
6494
6569
  name: "MSG-SRV",
6495
6570
  status: a,
6496
6571
  context: { queueDepth: 45 },
6497
- subComponents: gi(a),
6498
- graphSeries: yi({ queueDepth: 45 })
6572
+ subComponents: $i(a),
6573
+ graphSeries: ki({ queueDepth: 45 })
6499
6574
  },
6500
6575
  children: /* @__PURE__ */ e(
6501
- wt,
6576
+ Dt,
6502
6577
  {
6503
6578
  rotateY: -o,
6504
6579
  autoRotate: i,
@@ -6528,11 +6603,11 @@ function xi({ config: t }) {
6528
6603
  name: "APP-01",
6529
6604
  status: s,
6530
6605
  context: { cpuLoad: 67, memLoad: 72 },
6531
- subComponents: Pe(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6532
- graphSeries: Ce({ cpuLoad: 67, memLoad: 72 })
6606
+ subComponents: Ne(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6607
+ graphSeries: We({ cpuLoad: 67, memLoad: 72 })
6533
6608
  },
6534
6609
  children: /* @__PURE__ */ e(
6535
- he,
6610
+ $e,
6536
6611
  {
6537
6612
  rotateY: o,
6538
6613
  autoRotate: i,
@@ -6561,11 +6636,11 @@ function xi({ config: t }) {
6561
6636
  name: "APP-02",
6562
6637
  status: l,
6563
6638
  context: { cpuLoad: 89, memLoad: 91 },
6564
- subComponents: Pe(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6565
- graphSeries: Ce({ cpuLoad: 89, memLoad: 91 })
6639
+ subComponents: Ne(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6640
+ graphSeries: We({ cpuLoad: 89, memLoad: 91 })
6566
6641
  },
6567
6642
  children: /* @__PURE__ */ e(
6568
- he,
6643
+ $e,
6569
6644
  {
6570
6645
  rotateY: o,
6571
6646
  autoRotate: i,
@@ -6594,11 +6669,11 @@ function xi({ config: t }) {
6594
6669
  name: "APP-03",
6595
6670
  status: h,
6596
6671
  context: { cpuLoad: 45, memLoad: 63 },
6597
- subComponents: Pe(h, "APP-03", { cpuLoad: 45, memLoad: 63 }),
6598
- graphSeries: Ce({ cpuLoad: 45, memLoad: 63 })
6672
+ subComponents: Ne(h, "APP-03", { cpuLoad: 45, memLoad: 63 }),
6673
+ graphSeries: We({ cpuLoad: 45, memLoad: 63 })
6599
6674
  },
6600
6675
  children: /* @__PURE__ */ e(
6601
- he,
6676
+ $e,
6602
6677
  {
6603
6678
  rotateY: o,
6604
6679
  autoRotate: i,
@@ -6625,17 +6700,17 @@ function xi({ config: t }) {
6625
6700
  componentInfo: {
6626
6701
  type: "database",
6627
6702
  name: "DB-PRI",
6628
- status: c,
6703
+ status: d,
6629
6704
  context: { capacity: 72 },
6630
- subComponents: Fe(c, "DB-PRI", { capacity: 72 }),
6631
- graphSeries: He({ capacity: 72 })
6705
+ subComponents: Je(d, "DB-PRI", { capacity: 72 }),
6706
+ graphSeries: et({ capacity: 72 })
6632
6707
  },
6633
6708
  children: /* @__PURE__ */ e(
6634
- Ne,
6709
+ Ue,
6635
6710
  {
6636
6711
  rotateY: -o,
6637
6712
  autoRotate: i,
6638
- status: c,
6713
+ status: d,
6639
6714
  name: "DB-PRI",
6640
6715
  capacity: 72,
6641
6716
  connections: 284,
@@ -6660,11 +6735,11 @@ function xi({ config: t }) {
6660
6735
  name: "DB-STB",
6661
6736
  status: p,
6662
6737
  context: { capacity: 72 },
6663
- subComponents: Fe(p, "DB-STB", { capacity: 72 }),
6664
- graphSeries: He({ capacity: 72 })
6738
+ subComponents: Je(p, "DB-STB", { capacity: 72 }),
6739
+ graphSeries: et({ capacity: 72 })
6665
6740
  },
6666
6741
  children: /* @__PURE__ */ e(
6667
- Ne,
6742
+ Ue,
6668
6743
  {
6669
6744
  rotateY: o,
6670
6745
  autoRotate: i,
@@ -6687,15 +6762,15 @@ function xi({ config: t }) {
6687
6762
  visibleAtPhase: 6,
6688
6763
  fixedScale: 1,
6689
6764
  bare: !0,
6690
- children: /* @__PURE__ */ e(vt, { synced: f, latencyMs: f ? 8 : 342 })
6765
+ children: /* @__PURE__ */ e(It, { synced: f, latencyMs: f ? 8 : 342 })
6691
6766
  }
6692
6767
  ),
6693
- /* @__PURE__ */ e(vi, { config: t })
6768
+ /* @__PURE__ */ e(Pi, { config: t })
6694
6769
  ] });
6695
6770
  }
6696
- function vi({ config: t }) {
6697
- const n = j.useContext(ue), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: h, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
6698
- return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6771
+ function Pi({ config: t }) {
6772
+ const n = q.useContext(Re), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: h, dbSync: d } = t, p = n?.isSelected && n?.isExpandedPos;
6773
+ return n?.isSelected ? /* @__PURE__ */ c("div", { style: { pointerEvents: "none" }, children: [
6699
6774
  /* @__PURE__ */ e(
6700
6775
  W,
6701
6776
  {
@@ -6801,7 +6876,7 @@ function vi({ config: t }) {
6801
6876
  internalRef: h !== "online" ? "PLATTER-2" : void 0
6802
6877
  }
6803
6878
  ),
6804
- !c && /* @__PURE__ */ e(
6879
+ !d && /* @__PURE__ */ e(
6805
6880
  W,
6806
6881
  {
6807
6882
  ex: 330,
@@ -6818,19 +6893,19 @@ function vi({ config: t }) {
6818
6893
  )
6819
6894
  ] }) : null;
6820
6895
  }
6821
- function Fi({ config: t, ...n }) {
6896
+ function Xi({ config: t, ...n }) {
6822
6897
  return /* @__PURE__ */ e(
6823
- xt,
6898
+ Lt,
6824
6899
  {
6825
6900
  name: t.name,
6826
- status: at(t),
6827
- connections: mi,
6901
+ status: vt(t),
6902
+ connections: Ri,
6828
6903
  ...n,
6829
- children: /* @__PURE__ */ e(xi, { config: t })
6904
+ children: /* @__PURE__ */ e(Ci, { config: t })
6830
6905
  }
6831
6906
  );
6832
6907
  }
6833
- function lt(t) {
6908
+ function wt(t) {
6834
6909
  const n = [
6835
6910
  t.dispStatus,
6836
6911
  t.srv1Status,
@@ -6841,8 +6916,8 @@ function lt(t) {
6841
6916
  ];
6842
6917
  return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
6843
6918
  }
6844
- function Hi(t) {
6845
- const n = lt(t), o = n === "critical" || n === "offline", i = n === "warning";
6919
+ function qi(t) {
6920
+ const n = wt(t), o = n === "critical" || n === "offline", i = n === "warning";
6846
6921
  return [
6847
6922
  {
6848
6923
  label: "Uptime",
@@ -6863,8 +6938,8 @@ function Hi(t) {
6863
6938
  }
6864
6939
  ];
6865
6940
  }
6866
- function Ui(t) {
6867
- const n = lt(t), o = n === "critical" || n === "offline", i = n === "warning";
6941
+ function Qi(t) {
6942
+ const n = wt(t), o = n === "critical" || n === "offline", i = n === "warning";
6868
6943
  return [
6869
6944
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
6870
6945
  ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
@@ -6872,7 +6947,7 @@ function Ui(t) {
6872
6947
  ...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6873
6948
  ];
6874
6949
  }
6875
- const wi = [
6950
+ const Ei = [
6876
6951
  { from: [330, 120], to: [330, 260], visibleAtPhase: 3 },
6877
6952
  { from: [330, 260], to: [165, 390], visibleAtPhase: 4 },
6878
6953
  { from: [330, 260], to: [330, 390], visibleAtPhase: 4 },
@@ -6881,9 +6956,9 @@ const wi = [
6881
6956
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
6882
6957
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6883
6958
  ];
6884
- function Si({ config: t }) {
6885
- const n = j.useContext(ue), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: h, sdbStatus: c, dbSync: p } = t;
6886
- return /* @__PURE__ */ d(Ee, { children: [
6959
+ function Ai({ config: t }) {
6960
+ const n = q.useContext(Re), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: h, sdbStatus: d, dbSync: p } = t;
6961
+ return /* @__PURE__ */ c(Me, { children: [
6887
6962
  /* @__PURE__ */ e(
6888
6963
  A,
6889
6964
  {
@@ -6893,7 +6968,7 @@ function Si({ config: t }) {
6893
6968
  zIndex: 10,
6894
6969
  visibleAtPhase: 2,
6895
6970
  color: "#00e5ff",
6896
- children: /* @__PURE__ */ e(nt, { status: "online", scale: 1.5 })
6971
+ children: /* @__PURE__ */ e(yt, { status: "online", scale: 1.5 })
6897
6972
  }
6898
6973
  ),
6899
6974
  /* @__PURE__ */ e(
@@ -6912,11 +6987,11 @@ function Si({ config: t }) {
6912
6987
  name: "DISP-01",
6913
6988
  status: r,
6914
6989
  context: { traffic: 78 },
6915
- subComponents: Rt(r),
6916
- graphSeries: Pt({ traffic: 78 })
6990
+ subComponents: zt(r),
6991
+ graphSeries: Bt({ traffic: 78 })
6917
6992
  },
6918
6993
  children: /* @__PURE__ */ e(
6919
- ot,
6994
+ mt,
6920
6995
  {
6921
6996
  rotateY: o,
6922
6997
  autoRotate: i,
@@ -6945,11 +7020,11 @@ function Si({ config: t }) {
6945
7020
  name: "APP-01",
6946
7021
  status: a,
6947
7022
  context: { cpuLoad: 67, memLoad: 72 },
6948
- subComponents: Pe(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6949
- graphSeries: Ce({ cpuLoad: 67, memLoad: 72 })
7023
+ subComponents: Ne(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
7024
+ graphSeries: We({ cpuLoad: 67, memLoad: 72 })
6950
7025
  },
6951
7026
  children: /* @__PURE__ */ e(
6952
- he,
7027
+ $e,
6953
7028
  {
6954
7029
  rotateY: o,
6955
7030
  autoRotate: i,
@@ -6978,11 +7053,11 @@ function Si({ config: t }) {
6978
7053
  name: "APP-02",
6979
7054
  status: s,
6980
7055
  context: { cpuLoad: 89, memLoad: 91 },
6981
- subComponents: Pe(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6982
- graphSeries: Ce({ cpuLoad: 89, memLoad: 91 })
7056
+ subComponents: Ne(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
7057
+ graphSeries: We({ cpuLoad: 89, memLoad: 91 })
6983
7058
  },
6984
7059
  children: /* @__PURE__ */ e(
6985
- he,
7060
+ $e,
6986
7061
  {
6987
7062
  rotateY: o,
6988
7063
  autoRotate: i,
@@ -7011,11 +7086,11 @@ function Si({ config: t }) {
7011
7086
  name: "APP-03",
7012
7087
  status: l,
7013
7088
  context: { cpuLoad: 45, memLoad: 63 },
7014
- subComponents: Pe(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
7015
- graphSeries: Ce({ cpuLoad: 45, memLoad: 63 })
7089
+ subComponents: Ne(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
7090
+ graphSeries: We({ cpuLoad: 45, memLoad: 63 })
7016
7091
  },
7017
7092
  children: /* @__PURE__ */ e(
7018
- he,
7093
+ $e,
7019
7094
  {
7020
7095
  rotateY: o,
7021
7096
  autoRotate: i,
@@ -7044,11 +7119,11 @@ function Si({ config: t }) {
7044
7119
  name: "DB-PRI",
7045
7120
  status: h,
7046
7121
  context: { capacity: 72 },
7047
- subComponents: Fe(h, "DB-PRI", { capacity: 72 }),
7048
- graphSeries: He({ capacity: 72 })
7122
+ subComponents: Je(h, "DB-PRI", { capacity: 72 }),
7123
+ graphSeries: et({ capacity: 72 })
7049
7124
  },
7050
7125
  children: /* @__PURE__ */ e(
7051
- Ne,
7126
+ Ue,
7052
7127
  {
7053
7128
  rotateY: -o,
7054
7129
  autoRotate: i,
@@ -7075,17 +7150,17 @@ function Si({ config: t }) {
7075
7150
  componentInfo: {
7076
7151
  type: "database",
7077
7152
  name: "DB-STB",
7078
- status: c,
7153
+ status: d,
7079
7154
  context: { capacity: 72 },
7080
- subComponents: Fe(c, "DB-STB", { capacity: 72 }),
7081
- graphSeries: He({ capacity: 72 })
7155
+ subComponents: Je(d, "DB-STB", { capacity: 72 }),
7156
+ graphSeries: et({ capacity: 72 })
7082
7157
  },
7083
7158
  children: /* @__PURE__ */ e(
7084
- Ne,
7159
+ Ue,
7085
7160
  {
7086
7161
  rotateY: o,
7087
7162
  autoRotate: i,
7088
- status: c,
7163
+ status: d,
7089
7164
  name: "DB-STB",
7090
7165
  capacity: 72,
7091
7166
  connections: 0,
@@ -7104,15 +7179,15 @@ function Si({ config: t }) {
7104
7179
  visibleAtPhase: 6,
7105
7180
  fixedScale: 1,
7106
7181
  bare: !0,
7107
- children: /* @__PURE__ */ e(vt, { synced: p, latencyMs: p ? 8 : 342 })
7182
+ children: /* @__PURE__ */ e(It, { synced: p, latencyMs: p ? 8 : 342 })
7108
7183
  }
7109
7184
  ),
7110
- /* @__PURE__ */ e($i, { config: t })
7185
+ /* @__PURE__ */ e(Ti, { config: t })
7111
7186
  ] });
7112
7187
  }
7113
- function $i({ config: t }) {
7114
- const n = j.useContext(ue), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: h } = t, c = n?.isSelected && n?.isExpandedPos;
7115
- return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
7188
+ function Ti({ config: t }) {
7189
+ const n = q.useContext(Re), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: h } = t, d = n?.isSelected && n?.isExpandedPos;
7190
+ return n?.isSelected ? /* @__PURE__ */ c("div", { style: { pointerEvents: "none" }, children: [
7116
7191
  /* @__PURE__ */ e(
7117
7192
  W,
7118
7193
  {
@@ -7124,7 +7199,7 @@ function $i({ config: t }) {
7124
7199
  offsetX: -90,
7125
7200
  offsetY: -40,
7126
7201
  align: "left",
7127
- isVisible: !!c,
7202
+ isVisible: !!d,
7128
7203
  internalRef: o !== "online" ? "PORT-3" : void 0
7129
7204
  }
7130
7205
  ),
@@ -7139,7 +7214,7 @@ function $i({ config: t }) {
7139
7214
  offsetX: -110,
7140
7215
  offsetY: -30,
7141
7216
  align: "left",
7142
- isVisible: !!c,
7217
+ isVisible: !!d,
7143
7218
  internalRef: i !== "online" ? "CPU-0" : void 0
7144
7219
  }
7145
7220
  ),
@@ -7154,7 +7229,7 @@ function $i({ config: t }) {
7154
7229
  offsetX: 100,
7155
7230
  offsetY: -80,
7156
7231
  align: "right",
7157
- isVisible: !!c,
7232
+ isVisible: !!d,
7158
7233
  internalRef: r !== "online" ? "HEAP-0" : void 0
7159
7234
  }
7160
7235
  ),
@@ -7169,7 +7244,7 @@ function $i({ config: t }) {
7169
7244
  offsetX: 110,
7170
7245
  offsetY: -30,
7171
7246
  align: "right",
7172
- isVisible: !!c,
7247
+ isVisible: !!d,
7173
7248
  internalRef: a !== "online" ? "THREAD-POOL" : void 0
7174
7249
  }
7175
7250
  ),
@@ -7184,7 +7259,7 @@ function $i({ config: t }) {
7184
7259
  offsetX: -110,
7185
7260
  offsetY: 30,
7186
7261
  align: "left",
7187
- isVisible: !!c,
7262
+ isVisible: !!d,
7188
7263
  internalRef: s !== "online" ? s === "critical" ? "CONN-POOL" : "QUERY-CACHE" : void 0
7189
7264
  }
7190
7265
  ),
@@ -7199,7 +7274,7 @@ function $i({ config: t }) {
7199
7274
  offsetX: 110,
7200
7275
  offsetY: 30,
7201
7276
  align: "right",
7202
- isVisible: !!c,
7277
+ isVisible: !!d,
7203
7278
  internalRef: l !== "online" ? "PLATTER-2" : void 0
7204
7279
  }
7205
7280
  ),
@@ -7214,86 +7289,86 @@ function $i({ config: t }) {
7214
7289
  offsetX: 0,
7215
7290
  offsetY: 60,
7216
7291
  align: "bottom",
7217
- isVisible: !!c,
7292
+ isVisible: !!d,
7218
7293
  internalRef: "PLATTER-2"
7219
7294
  }
7220
7295
  )
7221
7296
  ] }) : null;
7222
7297
  }
7223
- function Yi({ config: t, ...n }) {
7298
+ function Gi({ config: t, ...n }) {
7224
7299
  return /* @__PURE__ */ e(
7225
- xt,
7300
+ Lt,
7226
7301
  {
7227
7302
  name: t.name,
7228
- status: lt(t),
7229
- connections: wi,
7303
+ status: wt(t),
7304
+ connections: Ei,
7230
7305
  ...n,
7231
- children: /* @__PURE__ */ e(Si, { config: t })
7306
+ children: /* @__PURE__ */ e(Ai, { config: t })
7232
7307
  }
7233
7308
  );
7234
7309
  }
7235
7310
  export {
7236
- Mi as AIOPsDashboard,
7237
- ze as CPU3D,
7238
- Ft as Carousel,
7239
- et as CarouselContext,
7240
- tt as CarouselItemContext,
7241
- Mt as ComponentDialog,
7242
- Ni as ComponentDrillView,
7243
- bi as DataProvider,
7244
- Ne as Database3D,
7245
- Ii as DatabaseNode,
7246
- Re as DriveBay3D,
7247
- wi as EXCHANGE_CONNECTIONS,
7248
- Yi as ExchangeService,
7249
- Ci as HOLO_BLUE,
7250
- Pi as HOLO_CYAN,
7251
- Ze as HOLO_GLASS,
7252
- Te as HOLO_SURFACE,
7253
- oi as HistoricalGraphPanel,
7254
- Yt as HoloBase,
7255
- nt as Human3D,
7256
- Oi as HumanNode,
7257
- Be as Memory3D,
7258
- wt as MessageServer3D,
7259
- Di as MessageServerNode,
7260
- $t as NetworkBlock3D,
7311
+ Vi as AIOPsDashboard,
7312
+ Ke as CPU3D,
7313
+ Xt as Carousel,
7314
+ ut as CarouselContext,
7315
+ bt as CarouselItemContext,
7316
+ Vt as ComponentDialog,
7317
+ Ui as ComponentDrillView,
7318
+ Si as DataProvider,
7319
+ Ue as Database3D,
7320
+ zi as DatabaseNode,
7321
+ De as DriveBay3D,
7322
+ Ei as EXCHANGE_CONNECTIONS,
7323
+ Gi as ExchangeService,
7324
+ Di as HOLO_BLUE,
7325
+ Ii as HOLO_CYAN,
7326
+ ft as HOLO_GLASS,
7327
+ ze as HOLO_SURFACE,
7328
+ pi as HistoricalGraphPanel,
7329
+ Gt as HoloBase,
7330
+ yt as Human3D,
7331
+ Bi as HumanNode,
7332
+ Ze as Memory3D,
7333
+ Dt as MessageServer3D,
7334
+ Hi as MessageServerNode,
7335
+ Wt as NetworkBlock3D,
7261
7336
  W as NodeCallout,
7262
- Me as Platter3D,
7263
- F as Port3D,
7264
- Fi as SAPService,
7265
- mi as SAP_CONNECTIONS,
7266
- P as STATUS_CFG,
7267
- he as Server3D,
7268
- Ti as ServerNode,
7269
- xt as Service,
7270
- ue as ServiceContext,
7271
- Nt as ServiceDialog,
7337
+ Qe as Platter3D,
7338
+ Y as Port3D,
7339
+ Xi as SAPService,
7340
+ Ri as SAP_CONNECTIONS,
7341
+ $ as STATUS_CFG,
7342
+ $e as Server3D,
7343
+ Mi as ServerNode,
7344
+ Lt as Service,
7345
+ Re as ServiceContext,
7346
+ Ut as ServiceDialog,
7272
7347
  A as ServiceNode,
7273
- Ht as SvgConnection,
7274
- vt as SyncBridge,
7348
+ qt as SvgConnection,
7349
+ It as SyncBridge,
7275
7350
  M as ThreadPool3D,
7276
- ot as WebDispatcher3D,
7277
- Li as WebDispatcherNode,
7278
- Ui as computeExchangeDialogAlerts,
7279
- Hi as computeExchangeDialogMetrics,
7280
- lt as computeExchangeServiceStatus,
7281
- Bi as computeSAPDialogAlerts,
7282
- zi as computeSAPDialogMetrics,
7283
- at as computeSAPServiceStatus,
7284
- ui as defaultDataTransform,
7285
- He as getDatabaseGraphSeries,
7286
- Fe as getDatabaseSubComponents,
7287
- Pt as getDispatcherGraphSeries,
7288
- Rt as getDispatcherSubComponents,
7289
- yi as getMessageServerGraphSeries,
7290
- gi as getMessageServerSubComponents,
7291
- Ce as getServerGraphSeries,
7292
- Pe as getServerSubComponents,
7293
- Je as makeFaceStyles,
7294
- pi as useAIOpsData,
7295
- fi as useAIOpsDataOptional,
7296
- Ei as useCarouselContext,
7297
- Ai as useCarouselItemContext,
7298
- Wi as useQueryResult
7351
+ mt as WebDispatcher3D,
7352
+ Fi as WebDispatcherNode,
7353
+ Qi as computeExchangeDialogAlerts,
7354
+ qi as computeExchangeDialogMetrics,
7355
+ wt as computeExchangeServiceStatus,
7356
+ ji as computeSAPDialogAlerts,
7357
+ _i as computeSAPDialogMetrics,
7358
+ vt as computeSAPServiceStatus,
7359
+ wi as defaultDataTransform,
7360
+ et as getDatabaseGraphSeries,
7361
+ Je as getDatabaseSubComponents,
7362
+ Bt as getDispatcherGraphSeries,
7363
+ zt as getDispatcherSubComponents,
7364
+ ki as getMessageServerGraphSeries,
7365
+ $i as getMessageServerSubComponents,
7366
+ We as getServerGraphSeries,
7367
+ Ne as getServerSubComponents,
7368
+ ht as makeFaceStyles,
7369
+ mi as useAIOpsData,
7370
+ xi as useAIOpsDataOptional,
7371
+ Ni as useCarouselContext,
7372
+ Wi as useCarouselItemContext,
7373
+ Yi as useQueryResult
7299
7374
  };