react-aiops 0.1.14 → 0.1.18

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 c, jsx as e, Fragment as Me } from "react/jsx-runtime";
2
- import q, { createContext as tt, useContext as ye, useState as R, useEffect as Re, useMemo as Tt, useRef as ie, useCallback as Ge } from "react";
3
- const Ht = {
1
+ import { jsxs as d, jsx as e, Fragment as Ae } from "react/jsx-runtime";
2
+ import q, { createContext as He, useContext as ae, useState as R, useEffect as Te, useMemo as Ze, useRef as Z, useCallback as ct } from "react";
3
+ const Wt = {
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 Ut({
8
+ function Mt({
9
9
  name: t,
10
10
  status: n,
11
11
  dbSync: o = !0,
@@ -13,7 +13,7 @@ function Ut({
13
13
  metrics: r,
14
14
  alerts: a
15
15
  }) {
16
- const s = n === "critical" || n === "offline", l = n === "warning", h = r ?? [
16
+ const s = n === "critical" || n === "offline", l = n === "warning", u = r ?? [
17
17
  {
18
18
  label: "Uptime",
19
19
  value: s ? "92.14%" : "99.98%",
@@ -31,13 +31,13 @@ function Ut({
31
31
  value: s ? "5.42%" : l ? "1.20%" : "0.01%",
32
32
  color: s ? "#ff2255" : l ? "#ff8c00" : "#00ff88"
33
33
  }
34
- ], d = a ?? [
34
+ ], c = 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__ */ c(
40
+ return /* @__PURE__ */ d(
41
41
  "div",
42
42
  {
43
43
  style: {
@@ -64,7 +64,7 @@ function Ut({
64
64
  gap: 16
65
65
  },
66
66
  children: [
67
- /* @__PURE__ */ c(
67
+ /* @__PURE__ */ d(
68
68
  "div",
69
69
  {
70
70
  style: {
@@ -115,13 +115,13 @@ function Ut({
115
115
  fontSize: 13,
116
116
  color: "#a0b0c0"
117
117
  },
118
- children: h.map((p, f) => /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
118
+ children: u.map((p, f) => /* @__PURE__ */ d("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__ */ c(
124
+ /* @__PURE__ */ d(
125
125
  "div",
126
126
  {
127
127
  style: {
@@ -145,9 +145,9 @@ function Ut({
145
145
  children: "SYSTEM ALERTS"
146
146
  }
147
147
  ),
148
- d.map((p, f) => {
149
- const g = Ht[p.level];
150
- return /* @__PURE__ */ c(
148
+ c.map((p, f) => {
149
+ const g = Wt[p.level];
150
+ return /* @__PURE__ */ d(
151
151
  "div",
152
152
  {
153
153
  style: {
@@ -177,13 +177,13 @@ function Ut({
177
177
  }
178
178
  );
179
179
  }
180
- const $ = {
180
+ const C = {
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
- }, 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) {
185
+ }, Ii = "#00e5ff", Oi = "#0055cc", Ie = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Je = "linear-gradient(180deg, rgba(10,25,50,0.35) 0%, rgba(5,15,35,0.25) 60%, rgba(3,10,20,0.15) 100%)";
186
+ function et(t, n, o) {
187
187
  const i = {
188
188
  position: "absolute",
189
189
  overflow: "hidden",
@@ -233,56 +233,56 @@ function ht(t, n, o) {
233
233
  }
234
234
  };
235
235
  }
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;
236
+ const Qe = "cubic-bezier(0.34, 1.56, 0.64, 1)", Ke = "cubic-bezier(0.16, 1, 0.3, 1)";
237
+ function mt(t) {
238
+ return C[t]?.color ?? C.online.color;
239
239
  }
240
- function Yt(t, n, o) {
240
+ function zt(t, n, o) {
241
241
  return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
242
242
  }
243
- function Xe(t, n, o, i) {
243
+ function We(t, n, o, i) {
244
244
  return t === "offline" ? "offline" : t === "critical" && n >= i ? "critical" : (t === "critical" || t === "warning") && n >= o ? "warning" : "online";
245
245
  }
246
- function Vt({
246
+ function Bt({
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: d, context: p = {} } = t, f = Ot(l), g = h >= i / 2, u = d >= r / 2, b = {
253
+ const { type: a, name: s, status: l, ex: u, ey: c, context: p = {} } = t, f = mt(l), g = u >= i / 2, h = c >= r / 2, y = {
254
254
  position: "fixed",
255
255
  ...g ? { right: 28 } : { left: 28 },
256
- ...u ? { bottom: 110 } : { top: 72 }
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;
256
+ ...h ? { bottom: 110 } : { top: 72 }
257
+ }, m = g ? 40 : -40, v = h ? 30 : -30, x = t.dialogMetrics ?? p.dialogMetrics;
258
+ let w;
259
+ if (x && x.length > 0)
260
+ w = x.map((b, k) => {
261
+ const T = b.warnAt ?? 70, $ = b.critAt ?? 85;
262
262
  return {
263
- 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
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: $
274
274
  };
275
275
  });
276
276
  else {
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 = [
277
+ const b = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60, T = p.capacity ?? 72, $ = We(l, b, 70, 85), S = We(l, k, 75, 88), N = We(l, T, 75, 90);
278
+ w = [
279
279
  {
280
280
  id: "cpu",
281
281
  label: a === "dispatcher" ? "TRAFFIC" : a === "messageServer" ? "QUEUE" : "CPU",
282
282
  sublabel: a === "dispatcher" ? "PORT LOAD" : a === "messageServer" ? "QUEUE DEPTH" : "PROCESSOR",
283
- value: y,
283
+ value: b,
284
284
  unit: "%",
285
- status: k,
285
+ status: $,
286
286
  icon: "cpu",
287
287
  delay: 0
288
288
  },
@@ -290,9 +290,9 @@ function Vt({
290
290
  id: "mem",
291
291
  label: "MEMORY",
292
292
  sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
293
- value: x,
293
+ value: k,
294
294
  unit: "%",
295
- status: P,
295
+ status: S,
296
296
  icon: "mem",
297
297
  delay: 1
298
298
  },
@@ -300,19 +300,19 @@ function Vt({
300
300
  id: "storage",
301
301
  label: "STORAGE",
302
302
  sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
303
- value: C,
303
+ value: T,
304
304
  unit: "%",
305
- status: O,
305
+ status: N,
306
306
  icon: "disk",
307
307
  delay: 2
308
308
  }
309
309
  ];
310
310
  }
311
- return /* @__PURE__ */ c(
311
+ return /* @__PURE__ */ d(
312
312
  "div",
313
313
  {
314
314
  style: {
315
- ...b,
315
+ ...y,
316
316
  width: 420,
317
317
  background: "linear-gradient(170deg, rgba(2, 10, 22, 0.96) 0%, rgba(2, 6, 14, 0.98) 100%)",
318
318
  backdropFilter: "blur(20px)",
@@ -322,14 +322,14 @@ function Vt({
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, ${w}px)`,
326
- transition: `opacity 0.45s ${qe}, transform 0.55s ${ct}`,
325
+ transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${v}px)`,
326
+ transition: `opacity 0.45s ${Ke}, transform 0.55s ${Qe}`,
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: (y) => y.stopPropagation(),
332
+ onClick: (b) => b.stopPropagation(),
333
333
  children: [
334
334
  /* @__PURE__ */ e(
335
335
  "div",
@@ -393,14 +393,14 @@ function Vt({
393
393
  borderRight: `2px solid ${f}66`,
394
394
  borderRadius: "0 0 14px 0"
395
395
  }
396
- ].map((y, x) => /* @__PURE__ */ e(
396
+ ].map((b, k) => /* @__PURE__ */ e(
397
397
  "div",
398
398
  {
399
- style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...y }
399
+ style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...b }
400
400
  },
401
- x
401
+ k
402
402
  )),
403
- /* @__PURE__ */ c(
403
+ /* @__PURE__ */ d(
404
404
  "div",
405
405
  {
406
406
  style: {
@@ -414,8 +414,8 @@ function Vt({
414
414
  zIndex: 2
415
415
  },
416
416
  children: [
417
- /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "center", gap: 10, minWidth: 0 }, children: [
418
- /* @__PURE__ */ c("div", { style: { position: "relative" }, children: [
417
+ /* @__PURE__ */ d("div", { style: { display: "flex", alignItems: "center", gap: 10, minWidth: 0 }, children: [
418
+ /* @__PURE__ */ d("div", { style: { position: "relative" }, children: [
419
419
  /* @__PURE__ */ e(
420
420
  "div",
421
421
  {
@@ -442,7 +442,7 @@ function Vt({
442
442
  }
443
443
  )
444
444
  ] }),
445
- /* @__PURE__ */ c("div", { style: { display: "flex", flexDirection: "column", gap: 2, minWidth: 0 }, children: [
445
+ /* @__PURE__ */ d("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 Vt({
477
477
  /* @__PURE__ */ e(
478
478
  "button",
479
479
  {
480
- onClick: (y) => {
481
- y.stopPropagation(), n();
480
+ onClick: (b) => {
481
+ b.stopPropagation(), n();
482
482
  },
483
483
  style: {
484
484
  width: 34,
@@ -496,11 +496,11 @@ function Vt({
496
496
  lineHeight: 1,
497
497
  flexShrink: 0
498
498
  },
499
- onMouseEnter: (y) => {
500
- y.currentTarget.style.background = `${f}22`, y.currentTarget.style.boxShadow = `0 0 12px ${f}44`;
499
+ onMouseEnter: (b) => {
500
+ b.currentTarget.style.background = `${f}22`, b.currentTarget.style.boxShadow = `0 0 12px ${f}44`;
501
501
  },
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";
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";
504
504
  },
505
505
  children: "×"
506
506
  }
@@ -519,10 +519,10 @@ function Vt({
519
519
  position: "relative",
520
520
  zIndex: 2
521
521
  },
522
- children: S.map((y) => /* @__PURE__ */ e(_t, { metric: y, visible: o, accentColor: f }, y.id))
522
+ children: w.map((b) => /* @__PURE__ */ e(Ft, { metric: b, visible: o, accentColor: f }, b.id))
523
523
  }
524
524
  ),
525
- /* @__PURE__ */ c(
525
+ /* @__PURE__ */ d(
526
526
  "div",
527
527
  {
528
528
  style: {
@@ -540,12 +540,12 @@ function Vt({
540
540
  zIndex: 2
541
541
  },
542
542
  children: [
543
- /* @__PURE__ */ c("span", { children: [
543
+ /* @__PURE__ */ d("span", { children: [
544
544
  a.toUpperCase(),
545
545
  " · ",
546
546
  l.toUpperCase()
547
547
  ] }),
548
- /* @__PURE__ */ c("span", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
548
+ /* @__PURE__ */ d("span", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
549
549
  /* @__PURE__ */ e(
550
550
  "span",
551
551
  {
@@ -568,7 +568,7 @@ function Vt({
568
568
  }
569
569
  );
570
570
  }
571
- function _t({
571
+ function Ft({
572
572
  metric: t,
573
573
  visible: n,
574
574
  accentColor: o
@@ -579,13 +579,13 @@ function _t({
579
579
  value: a,
580
580
  unit: s,
581
581
  status: l,
582
- icon: h,
583
- delay: d,
582
+ icon: u,
583
+ delay: c,
584
584
  colorOverride: p,
585
585
  warnAt: f = 70,
586
586
  critAt: g = 85
587
- } = t, u = p ?? Yt(a, f, g), b = p ?? Ot(l);
588
- return /* @__PURE__ */ c(
587
+ } = t, h = p ?? zt(a, f, g), y = p ?? mt(l);
588
+ return /* @__PURE__ */ d(
589
589
  "div",
590
590
  {
591
591
  style: {
@@ -594,28 +594,28 @@ function _t({
594
594
  gap: 16,
595
595
  opacity: n ? 1 : 0,
596
596
  transform: n ? "translateY(0)" : "translateY(12px)",
597
- transition: `opacity 0.4s ${qe} ${0.3 + d * 0.12}s, transform 0.5s ${ct} ${0.3 + d * 0.12}s`
597
+ transition: `opacity 0.4s ${Ke} ${0.3 + c * 0.12}s, transform 0.5s ${Qe} ${0.3 + c * 0.12}s`
598
598
  },
599
599
  children: [
600
- /* @__PURE__ */ c(
600
+ /* @__PURE__ */ d(
601
601
  "div",
602
602
  {
603
603
  style: {
604
604
  width: 52,
605
605
  height: 52,
606
606
  borderRadius: 12,
607
- border: `1px solid ${b}44`,
608
- background: `linear-gradient(135deg, ${b}0c 0%, ${b}04 100%)`,
607
+ border: `1px solid ${y}44`,
608
+ background: `linear-gradient(135deg, ${y}0c 0%, ${y}04 100%)`,
609
609
  display: "flex",
610
610
  alignItems: "center",
611
611
  justifyContent: "center",
612
612
  flexShrink: 0,
613
613
  position: "relative",
614
614
  overflow: "hidden",
615
- animation: n ? `comp-dialog-icon-pop 0.5s ${ct} ${0.35 + d * 0.12}s both` : "none"
615
+ animation: n ? `comp-dialog-icon-pop 0.5s ${Qe} ${0.35 + c * 0.12}s both` : "none"
616
616
  },
617
617
  children: [
618
- /* @__PURE__ */ e(jt, { type: h, color: b }),
618
+ /* @__PURE__ */ e(Ut, { type: u, color: y }),
619
619
  (l === "warning" || l === "critical") && /* @__PURE__ */ e(
620
620
  "div",
621
621
  {
@@ -626,8 +626,8 @@ function _t({
626
626
  width: 5,
627
627
  height: 5,
628
628
  borderRadius: "50%",
629
- background: b,
630
- boxShadow: `0 0 6px ${b}`,
629
+ background: y,
630
+ boxShadow: `0 0 6px ${y}`,
631
631
  animation: "holo-led-blink 1.2s infinite"
632
632
  }
633
633
  }
@@ -635,8 +635,8 @@ function _t({
635
635
  ]
636
636
  }
637
637
  ),
638
- /* @__PURE__ */ c("div", { style: { flex: 1, minWidth: 0 }, children: [
639
- /* @__PURE__ */ c(
638
+ /* @__PURE__ */ d("div", { style: { flex: 1, minWidth: 0 }, children: [
639
+ /* @__PURE__ */ d(
640
640
  "div",
641
641
  {
642
642
  style: {
@@ -646,7 +646,7 @@ function _t({
646
646
  marginBottom: 6
647
647
  },
648
648
  children: [
649
- /* @__PURE__ */ c("div", { style: { display: "flex", flexDirection: "column", gap: 2 }, children: [
649
+ /* @__PURE__ */ d("div", { style: { display: "flex", flexDirection: "column", gap: 2 }, children: [
650
650
  /* @__PURE__ */ e(
651
651
  "span",
652
652
  {
@@ -672,14 +672,14 @@ function _t({
672
672
  }
673
673
  )
674
674
  ] }),
675
- /* @__PURE__ */ c(
675
+ /* @__PURE__ */ d(
676
676
  "span",
677
677
  {
678
678
  style: {
679
679
  fontSize: 20,
680
680
  fontWeight: 700,
681
- color: u,
682
- textShadow: `0 0 8px ${u}44`,
681
+ color: h,
682
+ textShadow: `0 0 8px ${h}44`,
683
683
  fontFamily: "'Courier New', monospace"
684
684
  },
685
685
  children: [
@@ -691,7 +691,7 @@ function _t({
691
691
  ]
692
692
  }
693
693
  ),
694
- /* @__PURE__ */ c(
694
+ /* @__PURE__ */ d(
695
695
  "div",
696
696
  {
697
697
  style: {
@@ -711,11 +711,10 @@ function _t({
711
711
  width: `${a}%`,
712
712
  height: "100%",
713
713
  borderRadius: 3,
714
- background: `linear-gradient(90deg, ${u}66, ${u})`,
715
- boxShadow: `0 0 8px ${u}44`,
714
+ background: `linear-gradient(90deg, ${h}66, ${h})`,
715
+ boxShadow: `0 0 8px ${h}44`,
716
716
  transformOrigin: "left center",
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`
717
+ animation: n ? `comp-dialog-metric-fill 0.8s ${Ke} ${0.4 + c * 0.12}s both` : "none"
719
718
  }
720
719
  }
721
720
  ),
@@ -748,7 +747,7 @@ function _t({
748
747
  ]
749
748
  }
750
749
  ),
751
- /* @__PURE__ */ c("div", { style: { position: "relative", height: 10, marginTop: 2 }, children: [
750
+ /* @__PURE__ */ d("div", { style: { position: "relative", height: 10, marginTop: 2 }, children: [
752
751
  /* @__PURE__ */ e(
753
752
  "span",
754
753
  {
@@ -809,8 +808,8 @@ function _t({
809
808
  }
810
809
  );
811
810
  }
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: [
811
+ function Ut({ type: t, color: n }) {
812
+ return t === "cpu" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
814
813
  /* @__PURE__ */ e("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2", stroke: n, strokeWidth: "1.5" }),
815
814
  /* @__PURE__ */ e(
816
815
  "rect",
@@ -837,7 +836,7 @@ function jt({ type: t, color: n }) {
837
836
  /* @__PURE__ */ e("line", { x1: "9", y1: "18", x2: "9", y2: "20", stroke: n, strokeWidth: "1" }),
838
837
  /* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "20", stroke: n, strokeWidth: "1" }),
839
838
  /* @__PURE__ */ e("line", { x1: "15", y1: "18", x2: "15", y2: "20", stroke: n, strokeWidth: "1" })
840
- ] }) : t === "mem" ? /* @__PURE__ */ c("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
839
+ ] }) : t === "mem" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
841
840
  /* @__PURE__ */ e("rect", { x: "7", y: "3", width: "10", height: "18", rx: "1.5", stroke: n, strokeWidth: "1.5" }),
842
841
  /* @__PURE__ */ e(
843
842
  "rect",
@@ -884,7 +883,7 @@ function jt({ type: t, color: n }) {
884
883
  /* @__PURE__ */ e("line", { x1: "17", y1: "7", x2: "19", y2: "7", stroke: n, strokeWidth: "0.8" }),
885
884
  /* @__PURE__ */ e("line", { x1: "17", y1: "11", x2: "19", y2: "11", stroke: n, strokeWidth: "0.8" }),
886
885
  /* @__PURE__ */ e("line", { x1: "17", y1: "15", x2: "19", y2: "15", stroke: n, strokeWidth: "0.8" })
887
- ] }) : /* @__PURE__ */ c("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
886
+ ] }) : /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
888
887
  /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "8.5", stroke: n, strokeWidth: "1.5" }),
889
888
  /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "5.5", stroke: n, strokeWidth: "0.5", strokeDasharray: "2 2" }),
890
889
  /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "2", fill: `${n}55` }),
@@ -894,14 +893,14 @@ function jt({ type: t, color: n }) {
894
893
  /* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke: n, strokeWidth: "0.8" })
895
894
  ] });
896
895
  }
897
- const ut = tt(null), bt = tt({ index: 0 });
898
- function Ni() {
899
- return ye(ut);
896
+ const tt = He(null), it = He({ index: 0 });
897
+ function Li() {
898
+ return ae(tt);
900
899
  }
901
- function Wi() {
902
- return ye(bt);
900
+ function Di() {
901
+ return ae(it);
903
902
  }
904
- function Xt({
903
+ function Ht({
905
904
  children: t,
906
905
  logoUrl: n,
907
906
  viewState: o,
@@ -910,70 +909,67 @@ function Xt({
910
909
  selectedComponent: a,
911
910
  drillAnimPhase: s,
912
911
  rotateY: l = 20,
913
- autoRotateComponents: h = !0,
914
- componentScale: d = 0.35,
912
+ autoRotateComponents: u = !0,
913
+ componentScale: c = 0.35,
915
914
  drillZoom: p = 3.3,
916
915
  autoRotateCarousel: f = !0,
917
916
  carouselSpeed: g = 6e-3,
918
- width: u = 950,
919
- height: b = 790,
917
+ width: h = 950,
918
+ height: y = 790,
920
919
  onSelectSystem: m,
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
920
+ onBackgroundClick: v,
921
+ onComponentClick: x,
922
+ onCloseDrill: w,
923
+ selectedSystemStatus: b = "online",
924
+ selectedSystemDbSync: k = !0,
925
+ selectedSystemMetrics: T,
926
+ selectedSystemAlerts: $
929
927
  }) {
930
- const [O, I] = R(0);
931
- Re(() => {
932
- let N;
928
+ const [S, N] = R(0);
929
+ Te(() => {
930
+ let I;
933
931
  if ((o === "compact" || o === "collapsing") && f) {
934
- const U = () => {
935
- I((ne) => ne + g), N = requestAnimationFrame(U);
932
+ const V = () => {
933
+ N((de) => de + g), I = requestAnimationFrame(V);
936
934
  };
937
- N = requestAnimationFrame(U);
935
+ I = requestAnimationFrame(V);
938
936
  }
939
- return () => cancelAnimationFrame(N);
937
+ return () => cancelAnimationFrame(I);
940
938
  }, [o, f, g]);
941
- const z = q.Children.toArray(t), K = z.length, Z = Tt(
939
+ const B = q.Children.toArray(t), z = B.length, Y = Ze(
942
940
  () => ({
943
- totalSystems: K,
944
- carouselRotation: O,
941
+ totalSystems: z,
942
+ carouselRotation: S,
945
943
  viewState: o,
946
944
  animPhase: i,
947
945
  selectedSystem: r,
948
946
  selectedComponent: a,
949
947
  rotateY: l,
950
- autoRotateComponents: h,
951
- componentScale: d,
948
+ autoRotateComponents: u,
949
+ componentScale: c,
952
950
  drillZoom: p,
953
951
  onSelectSystem: m,
954
- onComponentClick: v,
955
- onComponentUpdate: y,
956
- containerWidth: u
952
+ onComponentClick: x,
953
+ containerWidth: h
957
954
  }),
958
955
  [
959
- K,
960
- O,
956
+ z,
957
+ S,
961
958
  o,
962
959
  i,
963
960
  r,
964
961
  a,
965
962
  l,
966
- h,
967
- d,
963
+ u,
964
+ c,
968
965
  p,
969
966
  m,
970
- v,
971
- y,
972
- u
967
+ x,
968
+ h
973
969
  ]
974
- ), me = z.map((N, U) => /* @__PURE__ */ e(bt.Provider, { value: { index: U }, children: N }, U)), xe = 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
+ ), le = B.map((I, V) => /* @__PURE__ */ e(it.Provider, { value: { index: V }, children: I }, V)), se = o === "expanded" || o === "expanding" && i >= 4;
971
+ return /* @__PURE__ */ d(tt.Provider, { value: Y, children: [
972
+ /* @__PURE__ */ d("div", { style: { position: "relative", width: h, height: y, margin: "0 auto", flexShrink: 0 }, children: [
977
973
  n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
978
974
  "img",
979
975
  {
@@ -994,32 +990,32 @@ function Xt({
994
990
  }
995
991
  }
996
992
  ),
997
- me
993
+ le
998
994
  ] }),
999
- r && /* @__PURE__ */ e("div", { onClick: (N) => N.stopPropagation(), children: /* @__PURE__ */ e(
1000
- Ut,
995
+ r && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
996
+ Mt,
1001
997
  {
1002
998
  name: r,
1003
- status: x,
1004
- dbSync: C,
1005
- visible: xe && !a,
1006
- metrics: k,
1007
- alerts: P
999
+ status: b,
1000
+ dbSync: k,
1001
+ visible: se && !a,
1002
+ metrics: T,
1003
+ alerts: $
1008
1004
  }
1009
1005
  ) }),
1010
- a && /* @__PURE__ */ e("div", { onClick: (N) => N.stopPropagation(), children: /* @__PURE__ */ e(
1011
- Vt,
1006
+ a && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
1007
+ Bt,
1012
1008
  {
1013
1009
  component: a,
1014
- onClose: S,
1010
+ onClose: w,
1015
1011
  visible: s >= 0.3,
1016
- sceneWidth: u,
1017
- sceneHeight: b
1012
+ sceneWidth: h,
1013
+ sceneHeight: y
1018
1014
  }
1019
1015
  ) })
1020
1016
  ] });
1021
1017
  }
1022
- function qt({
1018
+ function Yt({
1023
1019
  x1: t,
1024
1020
  y1: n,
1025
1021
  x2: o,
@@ -1028,7 +1024,7 @@ function qt({
1028
1024
  color: a = "#00e5ff",
1029
1025
  dur: s = "3s"
1030
1026
  }) {
1031
- return /* @__PURE__ */ c("g", { opacity: r ? 1 : 0, style: { transition: "opacity 0.6s ease" }, children: [
1027
+ return /* @__PURE__ */ d("g", { opacity: r ? 1 : 0, style: { transition: "opacity 0.6s ease" }, children: [
1032
1028
  /* @__PURE__ */ e(
1033
1029
  "line",
1034
1030
  {
@@ -1066,7 +1062,7 @@ function qt({
1066
1062
  )
1067
1063
  }
1068
1064
  ),
1069
- r && /* @__PURE__ */ c(Me, { children: [
1065
+ r && /* @__PURE__ */ d(Ae, { children: [
1070
1066
  /* @__PURE__ */ e("circle", { r: "3", fill: a, opacity: 0.85, children: /* @__PURE__ */ e(
1071
1067
  "animateMotion",
1072
1068
  {
@@ -1086,14 +1082,14 @@ function qt({
1086
1082
  ] })
1087
1083
  ] });
1088
1084
  }
1089
- const Qt = [
1085
+ const Vt = [
1090
1086
  { scale: 1, op: 1, delay: "0.0s", bw: "2px", glow: 1 },
1091
1087
  { scale: 0.82, op: 0.88, delay: "0.5s", bw: "1.5px", glow: 0.7 },
1092
1088
  { scale: 0.64, op: 0.72, delay: "1.0s", bw: "1px", glow: 0.5 },
1093
1089
  { scale: 0.47, op: 0.58, delay: "1.5s", bw: "1px", glow: 0.35 },
1094
1090
  { scale: 0.3, op: 0.45, delay: "2.0s", bw: "1px", glow: 0.25 }
1095
1091
  ];
1096
- function Gt({
1092
+ function _t({
1097
1093
  children: t,
1098
1094
  size: n = 230,
1099
1095
  widthRatio: o = 1,
@@ -1101,13 +1097,13 @@ function Gt({
1101
1097
  label: r
1102
1098
  }) {
1103
1099
  const a = n * o;
1104
- return /* @__PURE__ */ c("div", { style: {
1100
+ return /* @__PURE__ */ d("div", { style: {
1105
1101
  display: "flex",
1106
1102
  flexDirection: "column",
1107
1103
  alignItems: "center",
1108
1104
  position: "relative"
1109
1105
  }, children: [
1110
- /* @__PURE__ */ c("div", { style: {
1106
+ /* @__PURE__ */ d("div", { style: {
1111
1107
  position: "relative",
1112
1108
  animation: "holo-float 4s ease-in-out infinite"
1113
1109
  }, children: [
@@ -1130,7 +1126,7 @@ function Gt({
1130
1126
  } }),
1131
1127
  t
1132
1128
  ] }),
1133
- /* @__PURE__ */ c("div", { style: {
1129
+ /* @__PURE__ */ d("div", { style: {
1134
1130
  position: "relative",
1135
1131
  width: a,
1136
1132
  height: 88,
@@ -1202,7 +1198,7 @@ function Gt({
1202
1198
  animationDelay: "0.06s"
1203
1199
  } })
1204
1200
  ] }),
1205
- /* @__PURE__ */ c("div", { style: {
1201
+ /* @__PURE__ */ d("div", { style: {
1206
1202
  position: "relative",
1207
1203
  width: a,
1208
1204
  height: n * 0.34,
@@ -1259,7 +1255,7 @@ function Gt({
1259
1255
  background: `radial-gradient(ellipse, ${i}88 0%, ${i}33 40%, transparent 72%)`,
1260
1256
  filter: "blur(12px)"
1261
1257
  } }),
1262
- Qt.map((s, l) => /* @__PURE__ */ e("div", { style: {
1258
+ Vt.map((s, l) => /* @__PURE__ */ e("div", { style: {
1263
1259
  position: "absolute",
1264
1260
  width: a * s.scale,
1265
1261
  height: n * s.scale,
@@ -1302,8 +1298,8 @@ function Gt({
1302
1298
  }, children: r })
1303
1299
  ] });
1304
1300
  }
1305
- const Ce = tt(null), Kt = "cubic-bezier(0.34, 1.56, 0.64, 1)", $t = 330, kt = 340, Zt = 660;
1306
- function Lt({
1301
+ const ge = He(null), jt = "cubic-bezier(0.34, 1.56, 0.64, 1)", pt = 330, ft = 340, Xt = 660;
1302
+ function xt({
1307
1303
  name: t,
1308
1304
  status: n = "online",
1309
1305
  connections: o = [],
@@ -1312,38 +1308,36 @@ function Lt({
1312
1308
  _index: a,
1313
1309
  _totalSystems: s,
1314
1310
  _carouselRotation: l,
1315
- _viewState: h,
1316
- _animPhase: d,
1311
+ _viewState: u,
1312
+ _animPhase: c,
1317
1313
  _selectedSystem: p,
1318
1314
  _selectedComponent: f,
1319
1315
  _rotateY: g,
1320
- _autoRotateComponents: u,
1321
- _componentScale: b,
1316
+ _autoRotateComponents: h,
1317
+ _componentScale: y,
1322
1318
  _drillZoom: m,
1323
- _onSelectSystem: w,
1324
- _onComponentClick: v,
1325
- _onComponentUpdate: S,
1326
- _containerWidth: y
1319
+ _onSelectSystem: v,
1320
+ _onComponentClick: x,
1321
+ _containerWidth: w
1327
1322
  }) {
1328
- const x = ye(ut), C = ye(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, me = g ?? x?.rotateY ?? 20, xe = 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, ve = de + Math.cos(ce) * it, pe = 450 + Math.sin(ce) * nt, ot = Math.round(pe), 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)", we = J && Z, le = we ? U : 1, fe = Z?.ex ?? 330, F = Z?.ey ?? 300, { size: rt = 90, color: at = "#00e5ff", widthRatio: Ye = 3 } = i ?? {}, Se = {
1323
+ const b = ae(tt), k = ae(it), T = a ?? k.index, $ = s ?? b?.totalSystems ?? 1, S = l ?? b?.carouselRotation ?? 0, N = u ?? b?.viewState ?? "compact", B = c ?? b?.animPhase ?? 0, z = p ?? b?.selectedSystem ?? null, Y = f ?? b?.selectedComponent ?? null, le = g ?? b?.rotateY ?? 20, se = h ?? b?.autoRotateComponents ?? !0, I = y ?? b?.componentScale ?? 0.35, V = m ?? b?.drillZoom ?? 3.3, de = v ?? b?.onSelectSystem, Oe = x ?? b?.onComponentClick, Le = w ?? b?.containerWidth ?? 950, _ = z === t, L = _ && (N === "expanded" || N === "expanding" && B >= 1), F = !L, ce = (Le - Xt) / 2, U = pt + ce, ye = T / $ * Math.PI * 2 + S, Ye = 420, Ve = 160, pe = U + Math.cos(ye) * Ye, E = 450 + Math.sin(ye) * Ve, fe = Math.round(E), te = !_ && (N === "expanding" || N === "expanded"), ue = te ? 0 : 1, J = F ? 0.3 + (Math.sin(ye) + 1) * 0.1 : 1, j = F ? J : I, me = N === "compact" || N === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", De = _ && Y, _e = De ? V : 1, At = Y?.ex ?? 330, Tt = Y?.ey ?? 300, { size: It = 90, color: Ot = "#00e5ff", widthRatio: Lt = 3 } = i ?? {}, Dt = {
1329
1324
  name: t,
1330
- isSelected: J,
1331
- isExpandedPos: B,
1332
- isCompact: _,
1333
- animPhase: z,
1334
- compactCx: ve,
1335
- compactCy: pe,
1336
- groupScale: re,
1337
- effectiveScale: ee,
1338
- transitionValue: ae,
1339
- rotateY: me,
1340
- autoRotateComponents: xe,
1341
- onComponentClick: Be,
1342
- onComponentUpdate: oe,
1343
- selectedComponentName: Z?.name ?? null,
1344
- expandedOffsetX: se
1325
+ isSelected: _,
1326
+ isExpandedPos: L,
1327
+ isCompact: F,
1328
+ animPhase: B,
1329
+ compactCx: pe,
1330
+ compactCy: E,
1331
+ groupScale: J,
1332
+ effectiveScale: j,
1333
+ transitionValue: me,
1334
+ rotateY: le,
1335
+ autoRotateComponents: se,
1336
+ onComponentClick: Oe,
1337
+ selectedComponentName: Y?.name ?? null,
1338
+ expandedOffsetX: ce
1345
1339
  };
1346
- return /* @__PURE__ */ e(Ce.Provider, { value: Se, children: /* @__PURE__ */ c(
1340
+ return /* @__PURE__ */ e(ge.Provider, { value: Dt, children: /* @__PURE__ */ d(
1347
1341
  "div",
1348
1342
  {
1349
1343
  style: {
@@ -1353,21 +1347,21 @@ function Lt({
1353
1347
  width: "100%",
1354
1348
  height: "100%",
1355
1349
  pointerEvents: "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: we ? `translate(${-(fe - $t) * le}px, ${-(F - kt) * le}px) scale(${le})` : "none"
1350
+ opacity: ue,
1351
+ transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${jt}`,
1352
+ filter: F && Math.sin(ye) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1353
+ zIndex: _ ? 500 : te ? 0 : fe,
1354
+ transformOrigin: `${U}px ${ft}px`,
1355
+ transform: De ? `translate(${-(At - pt) * _e}px, ${-(Tt - ft) * _e}px) scale(${_e})` : "none"
1362
1356
  },
1363
1357
  children: [
1364
- _ && !T && /* @__PURE__ */ e(
1358
+ F && !te && /* @__PURE__ */ e(
1365
1359
  "div",
1366
1360
  {
1367
1361
  style: {
1368
1362
  position: "absolute",
1369
- left: ve,
1370
- top: pe,
1363
+ left: pe,
1364
+ top: E,
1371
1365
  width: 160,
1372
1366
  height: 180,
1373
1367
  transform: "translate(-50%, -80%)",
@@ -1375,25 +1369,25 @@ function Lt({
1375
1369
  cursor: "pointer",
1376
1370
  zIndex: 101
1377
1371
  },
1378
- onClick: (H) => {
1379
- H.stopPropagation(), ne?.(t);
1372
+ onClick: (ee) => {
1373
+ ee.stopPropagation(), de?.(t);
1380
1374
  }
1381
1375
  }
1382
1376
  ),
1383
- _ && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
1377
+ F && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
1384
1378
  "div",
1385
1379
  {
1386
1380
  style: {
1387
1381
  position: "absolute",
1388
- left: ve,
1389
- top: pe - 200,
1390
- transform: `translate(-50%, -50%) scale(${re})`,
1382
+ left: pe,
1383
+ top: E - 200,
1384
+ transform: `translate(-50%, -50%) scale(${J})`,
1391
1385
  zIndex: 110,
1392
1386
  pointerEvents: "none",
1393
1387
  animation: "holo-led-blink 1.5s infinite",
1394
1388
  filter: `drop-shadow(0 0 10px ${n === "critical" ? "#ff2255" : "#ff8c00"})`
1395
1389
  },
1396
- children: /* @__PURE__ */ c("svg", { width: "48", height: "48", viewBox: "0 0 28 28", fill: "none", children: [
1390
+ children: /* @__PURE__ */ d("svg", { width: "48", height: "48", viewBox: "0 0 28 28", fill: "none", children: [
1397
1391
  /* @__PURE__ */ e(
1398
1392
  "path",
1399
1393
  {
@@ -1433,13 +1427,13 @@ function Lt({
1433
1427
  {
1434
1428
  style: {
1435
1429
  position: "absolute",
1436
- left: B ? de : ve,
1437
- top: B ? 48 : pe - 180,
1438
- transform: `translate(-50%, -50%) scale(${B ? 1.2 : re * 1.5})`,
1430
+ left: L ? U : pe,
1431
+ top: L ? 48 : E - 180,
1432
+ transform: `translate(-50%, -50%) scale(${L ? 1.2 : J * 1.5})`,
1439
1433
  opacity: 1,
1440
1434
  pointerEvents: "none",
1441
1435
  zIndex: 100,
1442
- transition: ae,
1436
+ transition: me,
1443
1437
  fontSize: 36,
1444
1438
  fontWeight: 700,
1445
1439
  letterSpacing: "0.18em",
@@ -1459,25 +1453,25 @@ function Lt({
1459
1453
  style: {
1460
1454
  position: "absolute",
1461
1455
  top: 0,
1462
- left: B ? se : 0,
1456
+ left: L ? ce : 0,
1463
1457
  width: 660,
1464
1458
  height: 640,
1465
1459
  pointerEvents: "none",
1466
1460
  zIndex: 0,
1467
- transition: ae
1461
+ transition: me
1468
1462
  },
1469
- children: o.map((H, Ve) => /* @__PURE__ */ e(
1470
- qt,
1463
+ children: o.map((ee, Nt) => /* @__PURE__ */ e(
1464
+ Yt,
1471
1465
  {
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
1466
+ x1: ee.from[0],
1467
+ y1: ee.from[1],
1468
+ x2: ee.to[0],
1469
+ y2: ee.to[1],
1470
+ show: _ && B >= (ee.visibleAtPhase ?? 0),
1471
+ color: ee.color,
1472
+ dur: ee.duration
1479
1473
  },
1480
- Ve
1474
+ Nt
1481
1475
  ))
1482
1476
  }
1483
1477
  ),
@@ -1486,13 +1480,13 @@ function Lt({
1486
1480
  {
1487
1481
  style: {
1488
1482
  position: "absolute",
1489
- left: B ? de : ve,
1490
- top: B ? 570 : pe + 70,
1491
- transform: `translate(-50%, -50%) scaleX(${B ? 1 : 0.4}) scaleY(${B ? 1 : 0.6}) scale(${B ? 1 : re})`,
1492
- transition: ae,
1483
+ left: L ? U : pe,
1484
+ top: L ? 570 : E + 70,
1485
+ transform: `translate(-50%, -50%) scaleX(${L ? 1 : 0.4}) scaleY(${L ? 1 : 0.6}) scale(${L ? 1 : J})`,
1486
+ transition: me,
1493
1487
  zIndex: 1
1494
1488
  },
1495
- children: /* @__PURE__ */ e(Gt, { size: rt, color: at, widthRatio: Ye, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1489
+ children: /* @__PURE__ */ e(_t, { size: It, color: Ot, widthRatio: Lt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1496
1490
  }
1497
1491
  ),
1498
1492
  r
@@ -1509,25 +1503,24 @@ function W({
1509
1503
  offsetX: a,
1510
1504
  offsetY: s,
1511
1505
  isVisible: l,
1512
- align: h = "right",
1513
- internalRef: d,
1514
- forceShow: p = !1
1506
+ align: u = "right",
1507
+ internalRef: c
1515
1508
  }) {
1516
- const f = ye(Ce), 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}`;
1509
+ const p = ae(ge), f = p?.expandedOffsetX ?? 0;
1510
+ if (o === "online") return null;
1511
+ const g = l && !!p?.isExpandedPos, h = C[o]?.color ?? C.warning.color, y = Math.abs(a) > Math.abs(s), m = t + f + (y ? Math.sign(a) * 45 : 0), v = n + (y ? 0 : Math.sign(s) * 40), x = t + f + a, w = n + s;
1512
+ let b = "";
1513
+ if (y) {
1514
+ const S = m + (x - m) / 2;
1515
+ b = `M ${m} ${v} L ${S} ${v} L ${S} ${w} L ${x} ${w}`;
1523
1516
  } else {
1524
- const O = v + (y - v) / 2;
1525
- x = `M ${w} ${v} L ${w} ${O} L ${S} ${O} L ${S} ${y}`;
1517
+ const S = v + (w - v) / 2;
1518
+ b = `M ${m} ${v} L ${m} ${S} L ${x} ${S} L ${x} ${w}`;
1526
1519
  }
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(
1520
+ let k = "translate(0, -50%)";
1521
+ u === "left" && (k = "translate(-100%, -50%)"), u === "top" && (k = "translate(-50%, -100%)"), u === "bottom" && (k = "translate(-50%, 0)");
1522
+ const T = u === "left" ? -8 : u === "right" ? 8 : 0, $ = u === "top" ? -8 : u === "bottom" ? 8 : 0;
1523
+ return /* @__PURE__ */ d(
1531
1524
  "div",
1532
1525
  {
1533
1526
  style: {
@@ -1537,7 +1530,7 @@ function W({
1537
1530
  width: "100%",
1538
1531
  height: "100%",
1539
1532
  pointerEvents: "none",
1540
- opacity: u ? 1 : 0,
1533
+ opacity: g ? 1 : 0,
1541
1534
  transition: "opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s",
1542
1535
  zIndex: 150
1543
1536
  },
@@ -1557,29 +1550,29 @@ function W({
1557
1550
  children: /* @__PURE__ */ e(
1558
1551
  "path",
1559
1552
  {
1560
- d: x,
1553
+ d: b,
1561
1554
  fill: "none",
1562
- stroke: b,
1555
+ stroke: h,
1563
1556
  strokeWidth: "1.5",
1564
1557
  strokeDasharray: "5 4",
1565
- style: { filter: `drop-shadow(0 0 4px ${b})`, opacity: 0.55 }
1558
+ style: { filter: `drop-shadow(0 0 4px ${h})`, opacity: 0.55 }
1566
1559
  }
1567
1560
  )
1568
1561
  }
1569
1562
  ),
1570
- /* @__PURE__ */ c(
1563
+ /* @__PURE__ */ d(
1571
1564
  "div",
1572
1565
  {
1573
1566
  style: {
1574
1567
  position: "absolute",
1575
- left: S,
1576
- top: y,
1577
- transform: C,
1578
- marginLeft: k,
1579
- marginTop: P,
1568
+ left: x,
1569
+ top: w,
1570
+ transform: k,
1571
+ marginLeft: T,
1572
+ marginTop: $,
1580
1573
  background: "repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px), rgba(2, 8, 16, 0.82)",
1581
- border: `1px solid ${b}55`,
1582
- borderLeft: `2px solid ${b}`,
1574
+ border: `1px solid ${h}55`,
1575
+ borderLeft: `2px solid ${h}`,
1583
1576
  backdropFilter: "blur(8px)",
1584
1577
  WebkitBackdropFilter: "blur(8px)",
1585
1578
  padding: "6px 10px",
@@ -1587,10 +1580,10 @@ function W({
1587
1580
  color: "#fff",
1588
1581
  fontFamily: "'Courier New', monospace",
1589
1582
  width: 140,
1590
- boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${b}22 inset`
1583
+ boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${h}22 inset`
1591
1584
  },
1592
1585
  children: [
1593
- /* @__PURE__ */ c(
1586
+ /* @__PURE__ */ d(
1594
1587
  "div",
1595
1588
  {
1596
1589
  style: {
@@ -1607,8 +1600,8 @@ function W({
1607
1600
  width: 4,
1608
1601
  height: 4,
1609
1602
  borderRadius: "50%",
1610
- background: b,
1611
- boxShadow: `0 0 6px ${b}`,
1603
+ background: h,
1604
+ boxShadow: `0 0 6px ${h}`,
1612
1605
  animation: "holo-led-blink 1.5s infinite"
1613
1606
  }
1614
1607
  }
@@ -1617,14 +1610,14 @@ function W({
1617
1610
  "div",
1618
1611
  {
1619
1612
  style: {
1620
- color: b,
1613
+ color: h,
1621
1614
  fontWeight: "600",
1622
1615
  fontSize: 10,
1623
1616
  letterSpacing: "1px",
1624
1617
  textTransform: "uppercase",
1625
- textShadow: `0 0 4px ${b}88`
1618
+ textShadow: `0 0 4px ${h}88`
1626
1619
  },
1627
- children: d ? `${i} · ${d}` : i
1620
+ children: c ? `${i} · ${c}` : i
1628
1621
  }
1629
1622
  )
1630
1623
  ]
@@ -1648,6 +1641,42 @@ function W({
1648
1641
  }
1649
1642
  );
1650
1643
  }
1644
+ const vt = 70, wt = 85;
1645
+ function qt(t) {
1646
+ if (!t) return null;
1647
+ const n = t.dialogMetrics ?? t.context?.dialogMetrics;
1648
+ return n && n.length > 0 ? Qt(n) : Kt(t.context);
1649
+ }
1650
+ function Qt(t) {
1651
+ let n = null;
1652
+ for (const r of t) {
1653
+ if (r.color) continue;
1654
+ const a = r.critAt ?? wt, s = r.warnAt ?? vt;
1655
+ r.value >= a ? (!n || n.severity !== "critical") && (n = { metric: r, severity: "critical" }) : r.value >= s && (!n || n.severity !== "critical") && (n = { metric: r, severity: "warning" });
1656
+ }
1657
+ if (!n) return null;
1658
+ const { metric: o, severity: i } = n;
1659
+ return {
1660
+ msg: `${o.label} at ${o.value}${o.unit ?? "%"}`,
1661
+ internalRef: o.id.toUpperCase(),
1662
+ status: i
1663
+ };
1664
+ }
1665
+ function Kt(t) {
1666
+ if (!t) return null;
1667
+ const n = [];
1668
+ t.cpuLoad !== void 0 && n.push({ label: "CPU", value: t.cpuLoad, id: "CPU" }), t.memLoad !== void 0 && n.push({ label: "MEM", value: t.memLoad, id: "HEAP" }), t.traffic !== void 0 && n.push({ label: "TRAFFIC", value: t.traffic, id: "NET" }), t.queueDepth !== void 0 && n.push({ label: "QUEUE", value: t.queueDepth, id: "QUEUE" }), t.capacity !== void 0 && n.push({ label: "CAPACITY", value: t.capacity, id: "DISK" });
1669
+ let o = null;
1670
+ for (const a of n)
1671
+ a.value >= wt ? (!o || o.severity !== "critical") && (o = { entry: a, severity: "critical" }) : a.value >= vt && (!o || o.severity !== "critical") && (o = { entry: a, severity: "warning" });
1672
+ if (!o) return null;
1673
+ const { entry: i, severity: r } = o;
1674
+ return {
1675
+ msg: `${i.label} at ${i.value}%`,
1676
+ internalRef: i.id,
1677
+ status: r
1678
+ };
1679
+ }
1651
1680
  function A({
1652
1681
  ex: t,
1653
1682
  ey: n,
@@ -1657,145 +1686,118 @@ function A({
1657
1686
  color: a = "#00e5ff",
1658
1687
  label: s,
1659
1688
  subLabel: l,
1660
- delay: h = "0s",
1661
- componentInfo: d,
1689
+ delay: u = "0s",
1690
+ componentInfo: c,
1662
1691
  visibleAtPhase: p = 0,
1663
1692
  fixedScale: f,
1664
1693
  bare: g = !1,
1665
- alert: u
1694
+ alert: h
1666
1695
  }) {
1667
- const b = ye(Ce);
1668
- if (!b)
1696
+ const y = ae(ge);
1697
+ if (!y)
1669
1698
  throw new Error("ServiceNode must be used inside a <Service> component.");
1670
1699
  const {
1671
1700
  isExpandedPos: m,
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, me = S + o.y, xe = m ? t + I : Z, N = m ? n : me, 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
- Re(() => {
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, se = u && d?.status === "online" ? $.warning.color : oe, de = d?.status ?? "online", ce = d?.name ?? s ?? "";
1707
- return /* @__PURE__ */ c(Me, { children: [
1701
+ animPhase: v,
1702
+ compactCx: x,
1703
+ compactCy: w,
1704
+ groupScale: b,
1705
+ effectiveScale: k,
1706
+ transitionValue: T,
1707
+ onComponentClick: $,
1708
+ selectedComponentName: S,
1709
+ expandedOffsetX: N
1710
+ } = y, z = p === 0 || y.isSelected && v >= p ? 1 : 0, Y = x + o.x, le = w + o.y, se = m ? t + N : Y, I = m ? n : le, V = f !== void 0 ? f : y.isCompact ? b : k, de = !!c && !!S && c.name === S, Oe = c?.status ? C[c.status]?.color ?? a : a, Le = c?.status === "offline" ? "#4a6a8a" : Oe, _ = c && m && $ ? () => $({
1711
+ type: c.type,
1712
+ name: c.name,
1713
+ status: c.status,
1714
+ ex: c.ex ?? t,
1715
+ ey: c.ey ?? n,
1716
+ context: c.context,
1717
+ dialogMetrics: c.dialogMetrics,
1718
+ subComponents: c.subComponents,
1719
+ graphSeries: c.graphSeries
1720
+ }) : void 0, L = c?.name ?? s ?? "", F = Ze(
1721
+ () => h ? null : qt(c),
1722
+ [h, c]
1723
+ ), ce = h ? c?.status ?? "online" : F?.status ?? "online", U = h ?? (F ? { msg: F.msg, internalRef: F.internalRef } : null);
1724
+ return /* @__PURE__ */ d(Ae, { children: [
1708
1725
  /* @__PURE__ */ e(
1709
1726
  "div",
1710
1727
  {
1711
1728
  style: {
1712
1729
  position: "absolute",
1713
- left: xe,
1714
- top: N,
1715
- transform: `translate(-50%, -50%) scale(${U})`,
1716
- opacity: K,
1730
+ left: se,
1731
+ top: I,
1732
+ transform: `translate(-50%, -50%) scale(${V})`,
1733
+ opacity: z,
1717
1734
  zIndex: i,
1718
- transition: C || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1719
- pointerEvents: m && K >= 0.5 ? "auto" : "none"
1735
+ transition: T || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1736
+ pointerEvents: m && z >= 0.5 ? "auto" : "none"
1720
1737
  },
1721
1738
  children: g ? r : /* @__PURE__ */ e(
1722
- Jt,
1739
+ Gt,
1723
1740
  {
1724
- statusColor: oe,
1725
- alertColor: se,
1741
+ statusColor: Le,
1726
1742
  label: s,
1727
1743
  subLabel: l,
1728
- delay: h,
1744
+ delay: u,
1729
1745
  showLabels: m,
1730
- isCompact: b.isCompact,
1731
- onClick: Fe,
1732
- isSelected: ne,
1733
- isAlerting: _,
1746
+ isCompact: y.isCompact,
1747
+ onClick: _,
1748
+ isSelected: de,
1734
1749
  children: r
1735
1750
  }
1736
1751
  )
1737
1752
  }
1738
1753
  ),
1739
- u && /* @__PURE__ */ e(
1754
+ U && /* @__PURE__ */ e(
1740
1755
  W,
1741
1756
  {
1742
1757
  ex: t,
1743
1758
  ey: n,
1744
- status: de,
1745
- title: ce,
1746
- msg: u.msg,
1747
- offsetX: u.offsetX ?? 110,
1748
- offsetY: u.offsetY ?? -30,
1749
- align: u.align ?? "right",
1750
- internalRef: u.internalRef,
1751
- isVisible: !0,
1752
- forceShow: !0
1759
+ status: ce,
1760
+ title: L,
1761
+ msg: U.msg,
1762
+ offsetX: U.offsetX ?? 110,
1763
+ offsetY: U.offsetY ?? -30,
1764
+ align: U.align ?? "right",
1765
+ internalRef: U.internalRef,
1766
+ isVisible: !0
1753
1767
  }
1754
1768
  )
1755
1769
  ] });
1756
1770
  }
1757
- function Jt({
1771
+ function Gt({
1758
1772
  children: t,
1759
1773
  statusColor: n,
1760
- alertColor: o,
1761
- label: i,
1762
- subLabel: r,
1763
- delay: a = "0s",
1764
- showLabels: s = !0,
1765
- isCompact: l = !1,
1766
- onClick: h,
1767
- isSelected: d = !1,
1768
- isAlerting: p = !1
1774
+ label: o,
1775
+ subLabel: i,
1776
+ delay: r = "0s",
1777
+ showLabels: a = !0,
1778
+ isCompact: s = !1,
1779
+ onClick: l,
1780
+ isSelected: u = !1
1769
1781
  }) {
1770
- const f = o ?? n, [g, u] = R(!1), b = d ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : g && h ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
1771
- return /* @__PURE__ */ c(
1782
+ const [c, p] = R(!1), f = u ? `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)` : "";
1783
+ return /* @__PURE__ */ d(
1772
1784
  "div",
1773
1785
  {
1774
- className: `float-node${h ? " float-node--interactive" : ""}`,
1775
- onClick: (m) => {
1776
- h && (m.stopPropagation(), h());
1786
+ className: `float-node${l ? " float-node--interactive" : ""}`,
1787
+ onClick: (g) => {
1788
+ l && (g.stopPropagation(), l());
1777
1789
  },
1778
1790
  style: {
1779
- cursor: h ? "pointer" : void 0,
1791
+ cursor: l ? "pointer" : void 0,
1780
1792
  transition: "filter 0.3s ease",
1781
- filter: b
1793
+ filter: f
1782
1794
  },
1783
- onMouseEnter: () => u(!0),
1784
- onMouseLeave: () => u(!1),
1785
- role: h ? "button" : void 0,
1786
- title: h ? "Click to inspect internal components" : void 0,
1795
+ onMouseEnter: () => p(!0),
1796
+ onMouseLeave: () => p(!1),
1797
+ role: l ? "button" : void 0,
1798
+ title: l ? "Click to inspect internal components" : void 0,
1787
1799
  children: [
1788
- p && /* @__PURE__ */ e(
1789
- "div",
1790
- {
1791
- className: "node-alert-glow",
1792
- style: {
1793
- "--pulse-color": f,
1794
- boxShadow: `0 0 20px ${f}, 0 0 40px ${f}66`
1795
- }
1796
- }
1797
- ),
1798
- /* @__PURE__ */ c("div", { className: "float-body", style: { animationDelay: a }, children: [
1800
+ /* @__PURE__ */ d("div", { className: "float-body", style: { animationDelay: r }, children: [
1799
1801
  /* @__PURE__ */ e(
1800
1802
  "div",
1801
1803
  {
@@ -1806,20 +1808,20 @@ function Jt({
1806
1808
  }
1807
1809
  }
1808
1810
  ),
1809
- /* @__PURE__ */ e("div", { style: l ? { background: "#040c1a", borderRadius: 2 } : void 0, children: l && q.isValidElement(t) ? q.cloneElement(t, {
1811
+ /* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && q.isValidElement(t) ? q.cloneElement(t, {
1810
1812
  _compact: !0
1811
1813
  }) : t })
1812
1814
  ] }),
1813
- /* @__PURE__ */ c(
1815
+ /* @__PURE__ */ d(
1814
1816
  "div",
1815
1817
  {
1816
1818
  style: {
1817
- opacity: s ? 1 : 0,
1819
+ opacity: a ? 1 : 0,
1818
1820
  transition: "opacity 0.5s ease"
1819
1821
  },
1820
1822
  children: [
1821
- i && /* @__PURE__ */ e("div", { className: "node-tag", style: { color: n + "cc" }, children: i }),
1822
- r && /* @__PURE__ */ e("div", { className: "node-subtag", style: { color: n + "77" }, children: r })
1823
+ o && /* @__PURE__ */ e("div", { className: "node-tag", style: { color: n + "cc" }, children: o }),
1824
+ i && /* @__PURE__ */ e("div", { className: "node-subtag", style: { color: n + "77" }, children: i })
1823
1825
  ]
1824
1826
  }
1825
1827
  )
@@ -1827,10 +1829,10 @@ function Jt({
1827
1829
  }
1828
1830
  );
1829
1831
  }
1830
- function It({ synced: t, latencyMs: n }) {
1832
+ function St({ synced: t, latencyMs: n }) {
1831
1833
  const o = t ? "#00ff88" : "#ff8c00";
1832
- return /* @__PURE__ */ c("div", { className: "sync-bridge", children: [
1833
- /* @__PURE__ */ c("div", { className: "sync-arrows", children: [
1834
+ return /* @__PURE__ */ d("div", { className: "sync-bridge", children: [
1835
+ /* @__PURE__ */ d("div", { className: "sync-arrows", children: [
1834
1836
  /* @__PURE__ */ e("span", { style: { color: o, fontSize: 10, lineHeight: 1 }, children: "◄" }),
1835
1837
  /* @__PURE__ */ e(
1836
1838
  "div",
@@ -1855,15 +1857,15 @@ function It({ synced: t, latencyMs: n }) {
1855
1857
  children: t ? "SYNCED" : "LAG"
1856
1858
  }
1857
1859
  ),
1858
- /* @__PURE__ */ c("div", { className: "sync-latency", style: { color: o + "88" }, children: [
1860
+ /* @__PURE__ */ d("div", { className: "sync-latency", style: { color: o + "88" }, children: [
1859
1861
  n,
1860
1862
  "ms ",
1861
1863
  t ? "replication" : "behind"
1862
1864
  ] })
1863
1865
  ] });
1864
1866
  }
1865
- const he = 140, X = 240, ge = 160, Pe = ht(he, X, ge);
1866
- function ei({
1867
+ const ie = 140, X = 240, re = 160, xe = et(ie, X, re);
1868
+ function Zt({
1867
1869
  cfg: t,
1868
1870
  name: n,
1869
1871
  cpuLoad: o,
@@ -1872,19 +1874,19 @@ function ei({
1872
1874
  compact: a,
1873
1875
  brandLabel: s
1874
1876
  }) {
1875
- const l = Math.ceil(o / 100 * 3), h = r === "offline" ? "#4a6a8a" : t.color, d = [
1877
+ const l = Math.ceil(o / 100 * 3), u = r === "offline" ? "#4a6a8a" : t.color, c = [
1876
1878
  { color: t.color, on: r !== "offline", label: "PWR" },
1877
1879
  { color: t.color, on: r === "online" || r === "warning", label: "NET" },
1878
1880
  { color: t.color, on: o > 15, label: "DSK" },
1879
1881
  { color: r === "critical" ? "#ff2255" : t.color, on: r === "critical", label: "FLT" }
1880
1882
  ];
1881
- return /* @__PURE__ */ c(
1883
+ return /* @__PURE__ */ d(
1882
1884
  "div",
1883
1885
  {
1884
1886
  style: {
1885
- width: he,
1887
+ width: ie,
1886
1888
  height: X,
1887
- background: a ? ze : ft,
1889
+ background: a ? Ie : Je,
1888
1890
  position: "relative",
1889
1891
  overflow: "hidden",
1890
1892
  fontFamily: "'Courier New', monospace",
@@ -1906,7 +1908,7 @@ function ei({
1906
1908
  }
1907
1909
  }
1908
1910
  ),
1909
- /* @__PURE__ */ c(
1911
+ /* @__PURE__ */ d(
1910
1912
  "div",
1911
1913
  {
1912
1914
  style: {
@@ -1921,7 +1923,7 @@ function ei({
1921
1923
  gap: 7
1922
1924
  },
1923
1925
  children: [
1924
- /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
1926
+ /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
1925
1927
  /* @__PURE__ */ e("span", { style: { fontSize: 7, color: t.color + "55", letterSpacing: "0.22em" }, children: s }),
1926
1928
  /* @__PURE__ */ e(
1927
1929
  "div",
@@ -1937,7 +1939,7 @@ function ei({
1937
1939
  alignItems: "center",
1938
1940
  justifyContent: "center"
1939
1941
  },
1940
- children: /* @__PURE__ */ c("svg", { width: "9", height: "9", viewBox: "0 0 10 10", fill: "none", children: [
1942
+ children: /* @__PURE__ */ d("svg", { width: "9", height: "9", viewBox: "0 0 10 10", fill: "none", children: [
1941
1943
  /* @__PURE__ */ e("path", { d: "M5 1.5v3", stroke: t.color, strokeWidth: "1.4", strokeLinecap: "round" }),
1942
1944
  /* @__PURE__ */ e(
1943
1945
  "path",
@@ -1952,20 +1954,20 @@ function ei({
1952
1954
  }
1953
1955
  )
1954
1956
  ] }),
1955
- /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
1957
+ /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
1956
1958
  /* @__PURE__ */ e(
1957
1959
  "span",
1958
1960
  {
1959
1961
  style: {
1960
1962
  fontSize: 7,
1961
- color: h,
1963
+ color: u,
1962
1964
  letterSpacing: "0.08em",
1963
- textShadow: `0 0 4px ${h}66`
1965
+ textShadow: `0 0 4px ${u}66`
1964
1966
  },
1965
1967
  children: n
1966
1968
  }
1967
1969
  ),
1968
- /* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children: d.map((p, f) => /* @__PURE__ */ e(
1970
+ /* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children: c.map((p, f) => /* @__PURE__ */ e(
1969
1971
  "div",
1970
1972
  {
1971
1973
  style: {
@@ -1996,7 +1998,7 @@ function ei({
1996
1998
  }
1997
1999
  }
1998
2000
  ),
1999
- /* @__PURE__ */ c(
2001
+ /* @__PURE__ */ d(
2000
2002
  "div",
2001
2003
  {
2002
2004
  style: {
@@ -2046,7 +2048,7 @@ function ei({
2046
2048
  ),
2047
2049
  Array.from({ length: 3 }, (p, f) => {
2048
2050
  const g = f < l;
2049
- return /* @__PURE__ */ c(
2051
+ return /* @__PURE__ */ d(
2050
2052
  "div",
2051
2053
  {
2052
2054
  style: {
@@ -2136,7 +2138,7 @@ function ei({
2136
2138
  }
2137
2139
  }
2138
2140
  ),
2139
- /* @__PURE__ */ c(
2141
+ /* @__PURE__ */ d(
2140
2142
  "div",
2141
2143
  {
2142
2144
  style: {
@@ -2275,12 +2277,12 @@ function ei({
2275
2277
  }
2276
2278
  );
2277
2279
  }
2278
- function ti() {
2279
- return /* @__PURE__ */ c(
2280
+ function Jt() {
2281
+ return /* @__PURE__ */ d(
2280
2282
  "div",
2281
2283
  {
2282
2284
  style: {
2283
- width: he,
2285
+ width: ie,
2284
2286
  height: X,
2285
2287
  background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
2286
2288
  position: "relative",
@@ -2389,17 +2391,17 @@ function ti() {
2389
2391
  }
2390
2392
  );
2391
2393
  }
2392
- function Rt({
2394
+ function ut({
2393
2395
  side: t,
2394
2396
  color: n,
2395
2397
  brandLabel: o
2396
2398
  }) {
2397
2399
  const i = t === "right";
2398
- return /* @__PURE__ */ c(
2400
+ return /* @__PURE__ */ d(
2399
2401
  "div",
2400
2402
  {
2401
2403
  style: {
2402
- width: ge,
2404
+ width: re,
2403
2405
  height: X,
2404
2406
  background: i ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
2405
2407
  position: "relative",
@@ -2425,7 +2427,7 @@ function Rt({
2425
2427
  style: {
2426
2428
  position: "absolute",
2427
2429
  top: r,
2428
- left: i ? 10 : ge - 18,
2430
+ left: i ? 10 : re - 18,
2429
2431
  width: 8,
2430
2432
  height: 8,
2431
2433
  borderRadius: 1,
@@ -2465,13 +2467,13 @@ function Rt({
2465
2467
  ))
2466
2468
  }
2467
2469
  ),
2468
- /* @__PURE__ */ c(
2470
+ /* @__PURE__ */ d(
2469
2471
  "div",
2470
2472
  {
2471
2473
  style: {
2472
2474
  position: "absolute",
2473
2475
  top: X * 0.18,
2474
- left: i ? 12 : ge - 78,
2476
+ left: i ? 12 : re - 78,
2475
2477
  fontSize: 7,
2476
2478
  color: "#1a3050",
2477
2479
  letterSpacing: "0.2em",
@@ -2489,14 +2491,14 @@ function Rt({
2489
2491
  }
2490
2492
  );
2491
2493
  }
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((ge - 18) / 7);
2494
- return /* @__PURE__ */ c(
2494
+ function ei({ cpuLoad: t }) {
2495
+ const n = t / 100, o = n > 0.75 ? "rgba(255,34,85,0.16)" : n > 0.45 ? "rgba(255,140,0,0.12)" : "rgba(0,229,255,0.08)", i = Math.floor((re - 18) / 7);
2496
+ return /* @__PURE__ */ d(
2495
2497
  "div",
2496
2498
  {
2497
2499
  style: {
2498
- width: he,
2499
- height: ge,
2500
+ width: ie,
2501
+ height: re,
2500
2502
  background: "linear-gradient(180deg, #0c1c30 0%, #070f1e 40%, #040c1a 100%)",
2501
2503
  position: "relative",
2502
2504
  overflow: "hidden"
@@ -2510,7 +2512,7 @@ function ii({ cpuLoad: t }) {
2510
2512
  top: 0,
2511
2513
  left: 0,
2512
2514
  right: 0,
2513
- height: ge * 0.4,
2515
+ height: re * 0.4,
2514
2516
  background: `radial-gradient(ellipse at 50% 0%, ${o} 0%, transparent 70%)`
2515
2517
  }
2516
2518
  }
@@ -2569,7 +2571,7 @@ function ii({ cpuLoad: t }) {
2569
2571
  }
2570
2572
  );
2571
2573
  }
2572
- function ke({
2574
+ function be({
2573
2575
  rotateX: t = -22,
2574
2576
  rotateY: n = 20,
2575
2577
  rotateZ: o = 0,
@@ -2578,29 +2580,29 @@ function ke({
2578
2580
  status: a = "online",
2579
2581
  name: s = "SRV-001",
2580
2582
  cpuLoad: l = 67,
2581
- memLoad: h = 82,
2582
- brandLabel: d = "BUSAUD",
2583
+ memLoad: u = 82,
2584
+ brandLabel: c = "BUSAUD",
2583
2585
  _compact: p
2584
2586
  }) {
2585
- const [f, g] = R(n), u = ie(0), b = ie(0);
2586
- Re(() => {
2587
+ const [f, g] = R(n), h = Z(0), y = Z(0);
2588
+ Te(() => {
2587
2589
  if (!r) {
2588
2590
  g(n);
2589
2591
  return;
2590
2592
  }
2591
- const w = (v) => {
2592
- b.current && g((S) => S + (v - b.current) * 0.027), b.current = v, u.current = requestAnimationFrame(w);
2593
+ const v = (x) => {
2594
+ y.current && g((w) => w + (x - y.current) * 0.027), y.current = x, h.current = requestAnimationFrame(v);
2593
2595
  };
2594
- return u.current = requestAnimationFrame(w), () => {
2595
- cancelAnimationFrame(u.current), b.current = 0;
2596
+ return h.current = requestAnimationFrame(v), () => {
2597
+ cancelAnimationFrame(h.current), y.current = 0;
2596
2598
  };
2597
2599
  }, [r, n]);
2598
- const m = $[a] ?? $.online;
2599
- return /* @__PURE__ */ c(
2600
+ const m = C[a] ?? C.online;
2601
+ return /* @__PURE__ */ d(
2600
2602
  "div",
2601
2603
  {
2602
2604
  style: {
2603
- width: he * i,
2605
+ width: ie * i,
2604
2606
  height: X * i,
2605
2607
  position: "relative",
2606
2608
  display: "flex",
@@ -2621,7 +2623,7 @@ function ke({
2621
2623
  animation: "holo-led-blink 1.5s infinite",
2622
2624
  filter: `drop-shadow(0 0 10px ${m.color})`
2623
2625
  },
2624
- children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
2626
+ children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
2625
2627
  /* @__PURE__ */ e(
2626
2628
  "path",
2627
2629
  {
@@ -2653,7 +2655,7 @@ function ke({
2653
2655
  {
2654
2656
  style: {
2655
2657
  position: "absolute",
2656
- width: he * 1.4 * i,
2658
+ width: ie * 1.4 * i,
2657
2659
  height: X * 0.8 * i,
2658
2660
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
2659
2661
  filter: `blur(${Math.round(45 * i)}px)`,
@@ -2673,11 +2675,11 @@ function ke({
2673
2675
  transform: `scale(${i})`,
2674
2676
  transformOrigin: "center center"
2675
2677
  },
2676
- children: /* @__PURE__ */ c(
2678
+ children: /* @__PURE__ */ d(
2677
2679
  "div",
2678
2680
  {
2679
2681
  style: {
2680
- width: he,
2682
+ width: ie,
2681
2683
  height: X,
2682
2684
  position: "relative",
2683
2685
  transformStyle: "preserve-3d",
@@ -2685,28 +2687,28 @@ function ke({
2685
2687
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
2686
2688
  },
2687
2689
  children: [
2688
- /* @__PURE__ */ e("div", { style: Pe.front, children: /* @__PURE__ */ e(
2689
- ei,
2690
+ /* @__PURE__ */ e("div", { style: xe.front, children: /* @__PURE__ */ e(
2691
+ Zt,
2690
2692
  {
2691
2693
  cfg: m,
2692
2694
  name: s,
2693
2695
  cpuLoad: l,
2694
- memLoad: h,
2696
+ memLoad: u,
2695
2697
  status: a,
2696
2698
  compact: p,
2697
- brandLabel: d
2699
+ brandLabel: c
2698
2700
  }
2699
2701
  ) }),
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(
2702
+ /* @__PURE__ */ e("div", { style: xe.back, children: /* @__PURE__ */ e(Jt, {}) }),
2703
+ /* @__PURE__ */ e("div", { style: xe.left, children: /* @__PURE__ */ e(ut, { side: "left", color: m.color, brandLabel: c }) }),
2704
+ /* @__PURE__ */ e("div", { style: xe.right, children: /* @__PURE__ */ e(ut, { side: "right", color: m.color, brandLabel: c }) }),
2705
+ /* @__PURE__ */ e("div", { style: xe.top, children: /* @__PURE__ */ e(ei, { cpuLoad: l }) }),
2706
+ /* @__PURE__ */ e("div", { style: xe.bottom, children: /* @__PURE__ */ e(
2705
2707
  "div",
2706
2708
  {
2707
2709
  style: {
2708
- width: he,
2709
- height: ge,
2710
+ width: ie,
2711
+ height: re,
2710
2712
  background: "linear-gradient(180deg, #030710, #020508)"
2711
2713
  }
2712
2714
  }
@@ -2720,7 +2722,7 @@ function ke({
2720
2722
  }
2721
2723
  );
2722
2724
  }
2723
- function Mi({
2725
+ function Ni({
2724
2726
  ex: t,
2725
2727
  ey: n,
2726
2728
  compactOffset: o,
@@ -2729,15 +2731,15 @@ function Mi({
2729
2731
  status: a = "online",
2730
2732
  subLabel: s,
2731
2733
  color: l,
2732
- delay: h,
2733
- visibleAtPhase: d,
2734
+ delay: u,
2735
+ visibleAtPhase: c,
2734
2736
  cpuLoad: p,
2735
2737
  memLoad: f,
2736
2738
  brandLabel: g,
2737
- dialogMetrics: u,
2738
- subComponents: b,
2739
+ dialogMetrics: h,
2740
+ subComponents: y,
2739
2741
  graphSeries: m,
2740
- alert: w
2742
+ alert: v
2741
2743
  }) {
2742
2744
  return /* @__PURE__ */ e(
2743
2745
  A,
@@ -2749,27 +2751,27 @@ function Mi({
2749
2751
  label: r,
2750
2752
  subLabel: s,
2751
2753
  color: l,
2752
- delay: h,
2753
- visibleAtPhase: d,
2754
+ delay: u,
2755
+ visibleAtPhase: c,
2754
2756
  componentInfo: {
2755
2757
  type: "server",
2756
2758
  name: r,
2757
2759
  status: a,
2758
2760
  context: { cpuLoad: p, memLoad: f },
2759
- dialogMetrics: u,
2760
- subComponents: b,
2761
+ dialogMetrics: h,
2762
+ subComponents: y,
2761
2763
  graphSeries: m
2762
2764
  },
2763
- alert: w,
2764
- children: /* @__PURE__ */ e(ke, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
2765
+ alert: v,
2766
+ children: /* @__PURE__ */ e(be, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
2765
2767
  }
2766
2768
  );
2767
2769
  }
2768
- const pt = 12, $e = 55, te = $e * 2, Oe = 52, gt = 10, lt = 3 * Oe + 2 * gt, Ee = 2 * Math.PI * $e / pt, st = Array.from({ length: pt }, (t, n) => n / pt * 360);
2769
- function dt(t) {
2770
+ const Ge = 12, he = 55, G = he * 2, $e = 52, nt = 10, je = 3 * $e + 2 * nt, ve = 2 * Math.PI * he / Ge, Xe = Array.from({ length: Ge }, (t, n) => n / Ge * 360);
2771
+ function qe(t) {
2770
2772
  return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
2771
2773
  }
2772
- function ni({
2774
+ function ti({
2773
2775
  diskY: t,
2774
2776
  diskIdx: n,
2775
2777
  cfg: o,
@@ -2777,25 +2779,25 @@ function ni({
2777
2779
  capacity: r,
2778
2780
  compact: a
2779
2781
  }) {
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");
2782
+ return /* @__PURE__ */ d(Ae, { children: [
2783
+ Xe.map((s, l) => {
2784
+ const u = qe(s), c = l === 0, p = Math.round(4 + u * 9), f = Math.round(12 + u * 22), g = Math.round(28 + u * 44), h = Math.round(u * 0.55 * 255).toString(16).padStart(2, "0");
2783
2785
  return /* @__PURE__ */ e(
2784
2786
  "div",
2785
2787
  {
2786
2788
  style: {
2787
2789
  position: "absolute",
2788
- width: Ee,
2789
- height: Oe,
2790
- left: (te - Ee) / 2,
2790
+ width: ve,
2791
+ height: $e,
2792
+ left: (G - ve) / 2,
2791
2793
  top: t,
2792
- transform: `rotateY(${s}deg) translateZ(${$e}px)`,
2794
+ transform: `rotateY(${s}deg) translateZ(${he}px)`,
2793
2795
  backfaceVisibility: "hidden",
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})`,
2795
- borderLeft: `1px solid ${o.color}${u}`,
2796
- boxShadow: d ? `inset 0 0 18px ${o.color}28` : "none"
2796
+ 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})`,
2797
+ borderLeft: `1px solid ${o.color}${h}`,
2798
+ boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
2797
2799
  },
2798
- children: d && /* @__PURE__ */ c(Me, { children: [
2800
+ children: c && /* @__PURE__ */ d(Ae, { children: [
2799
2801
  /* @__PURE__ */ e(
2800
2802
  "div",
2801
2803
  {
@@ -2843,15 +2845,15 @@ function ni({
2843
2845
  `p${n}${l}`
2844
2846
  );
2845
2847
  }),
2846
- /* @__PURE__ */ c(
2848
+ /* @__PURE__ */ d(
2847
2849
  "div",
2848
2850
  {
2849
2851
  style: {
2850
2852
  position: "absolute",
2851
- width: te + 4,
2852
- height: te + 4,
2853
+ width: G + 4,
2854
+ height: G + 4,
2853
2855
  left: -2,
2854
- top: t - $e,
2856
+ top: t - he,
2855
2857
  borderRadius: "50%",
2856
2858
  transform: "rotateX(90deg)",
2857
2859
  backfaceVisibility: "hidden",
@@ -2909,10 +2911,10 @@ function ni({
2909
2911
  {
2910
2912
  style: {
2911
2913
  position: "absolute",
2912
- width: te + 4,
2913
- height: te + 4,
2914
+ width: G + 4,
2915
+ height: G + 4,
2914
2916
  left: -2,
2915
- top: t + Oe - $e,
2917
+ top: t + $e - he,
2916
2918
  borderRadius: "50%",
2917
2919
  transform: "rotateX(-90deg)",
2918
2920
  backfaceVisibility: "hidden",
@@ -2936,41 +2938,41 @@ function ni({
2936
2938
  )
2937
2939
  }
2938
2940
  ),
2939
- i && st.map((s, l) => {
2940
- const h = dt(s);
2941
+ i && Xe.map((s, l) => {
2942
+ const u = qe(s);
2941
2943
  return /* @__PURE__ */ e(
2942
2944
  "div",
2943
2945
  {
2944
2946
  style: {
2945
2947
  position: "absolute",
2946
- width: Ee + 1.5,
2948
+ width: ve + 1.5,
2947
2949
  height: 6,
2948
- left: (te - Ee - 1.5) / 2,
2949
- top: t + Oe - 3,
2950
- transform: `rotateY(${s}deg) translateZ(${$e + 1.5}px)`,
2950
+ left: (G - ve - 1.5) / 2,
2951
+ top: t + $e - 3,
2952
+ transform: `rotateY(${s}deg) translateZ(${he + 1.5}px)`,
2951
2953
  backfaceVisibility: "hidden",
2952
2954
  background: o.color,
2953
2955
  boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
2954
- opacity: h * 0.9
2956
+ opacity: u * 0.9
2955
2957
  }
2956
2958
  },
2957
2959
  `rng${n}${l}`
2958
2960
  );
2959
2961
  }),
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);
2962
+ i && Xe.map((s, l) => {
2963
+ const u = qe(s), c = Math.round(2 + u * 4), p = Math.round(5 + u * 10), f = Math.round(12 + u * 20);
2962
2964
  return /* @__PURE__ */ e(
2963
2965
  "div",
2964
2966
  {
2965
2967
  style: {
2966
2968
  position: "absolute",
2967
- width: Ee,
2968
- height: gt,
2969
- left: (te - Ee) / 2,
2970
- top: t + Oe,
2971
- transform: `rotateY(${s}deg) translateZ(${$e}px)`,
2969
+ width: ve,
2970
+ height: nt,
2971
+ left: (G - ve) / 2,
2972
+ top: t + $e,
2973
+ transform: `rotateY(${s}deg) translateZ(${he}px)`,
2972
2974
  backfaceVisibility: "hidden",
2973
- background: `rgb(${d},${p},${f})`
2975
+ background: `rgb(${c},${p},${f})`
2974
2976
  }
2975
2977
  },
2976
2978
  `gap${n}${l}`
@@ -2978,7 +2980,7 @@ function ni({
2978
2980
  })
2979
2981
  ] });
2980
2982
  }
2981
- function Ue({
2983
+ function Ne({
2982
2984
  rotateX: t = -22,
2983
2985
  rotateY: n = -15,
2984
2986
  rotateZ: o = 0,
@@ -2990,26 +2992,26 @@ function Ue({
2990
2992
  // connections = 284,
2991
2993
  _compact: l
2992
2994
  }) {
2993
- const [h, d] = R(n), p = ie(0), f = ie(0);
2994
- Re(() => {
2995
+ const [u, c] = R(n), p = Z(0), f = Z(0);
2996
+ Te(() => {
2995
2997
  if (!r) {
2996
- d(n);
2998
+ c(n);
2997
2999
  return;
2998
3000
  }
2999
- const u = (b) => {
3000
- f.current && d((m) => m + (b - f.current) * 0.027), f.current = b, p.current = requestAnimationFrame(u);
3001
+ const h = (y) => {
3002
+ f.current && c((m) => m + (y - f.current) * 0.027), f.current = y, p.current = requestAnimationFrame(h);
3001
3003
  };
3002
- return p.current = requestAnimationFrame(u), () => {
3004
+ return p.current = requestAnimationFrame(h), () => {
3003
3005
  cancelAnimationFrame(p.current), f.current = 0;
3004
3006
  };
3005
3007
  }, [r, n]);
3006
- const g = $[a] ?? $.online;
3007
- return /* @__PURE__ */ c(
3008
+ const g = C[a] ?? C.online;
3009
+ return /* @__PURE__ */ d(
3008
3010
  "div",
3009
3011
  {
3010
3012
  style: {
3011
- width: te * i,
3012
- height: lt * i,
3013
+ width: G * i,
3014
+ height: je * i,
3013
3015
  position: "relative",
3014
3016
  display: "flex",
3015
3017
  alignItems: "center",
@@ -3029,7 +3031,7 @@ function Ue({
3029
3031
  animation: "holo-led-blink 1.5s infinite",
3030
3032
  filter: `drop-shadow(0 0 10px ${a === "critical" ? "#ff2255" : "#ff8c00"})`
3031
3033
  },
3032
- children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
3034
+ children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
3033
3035
  /* @__PURE__ */ e(
3034
3036
  "path",
3035
3037
  {
@@ -3069,8 +3071,8 @@ function Ue({
3069
3071
  {
3070
3072
  style: {
3071
3073
  position: "absolute",
3072
- width: te * 2.8 * i,
3073
- height: lt * 0.85 * i,
3074
+ width: G * 2.8 * i,
3075
+ height: je * 0.85 * i,
3074
3076
  background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
3075
3077
  filter: `blur(${Math.round(50 * i)}px)`,
3076
3078
  pointerEvents: "none",
@@ -3093,24 +3095,24 @@ function Ue({
3093
3095
  "div",
3094
3096
  {
3095
3097
  style: {
3096
- width: te,
3097
- height: lt,
3098
+ width: G,
3099
+ height: je,
3098
3100
  position: "relative",
3099
3101
  transformStyle: "preserve-3d",
3100
- transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${o}deg)`,
3102
+ transform: `rotateX(${t}deg) rotateY(${u}deg) rotateZ(${o}deg)`,
3101
3103
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
3102
3104
  },
3103
- children: [0, 1, 2].map((u) => /* @__PURE__ */ e(
3104
- ni,
3105
+ children: [0, 1, 2].map((h) => /* @__PURE__ */ e(
3106
+ ti,
3105
3107
  {
3106
- diskY: u * (Oe + gt),
3107
- diskIdx: u,
3108
+ diskY: h * ($e + nt),
3109
+ diskIdx: h,
3108
3110
  cfg: g,
3109
- hasRingBelow: u < 2,
3111
+ hasRingBelow: h < 2,
3110
3112
  capacity: s,
3111
3113
  compact: l
3112
3114
  },
3113
- u
3115
+ h
3114
3116
  ))
3115
3117
  }
3116
3118
  )
@@ -3120,7 +3122,7 @@ function Ue({
3120
3122
  }
3121
3123
  );
3122
3124
  }
3123
- function zi({
3125
+ function Wi({
3124
3126
  ex: t,
3125
3127
  ey: n,
3126
3128
  compactOffset: o,
@@ -3129,13 +3131,13 @@ function zi({
3129
3131
  status: a = "online",
3130
3132
  subLabel: s,
3131
3133
  color: l,
3132
- delay: h,
3133
- visibleAtPhase: d,
3134
+ delay: u,
3135
+ visibleAtPhase: c,
3134
3136
  capacity: p,
3135
3137
  dialogMetrics: f,
3136
3138
  subComponents: g,
3137
- graphSeries: u,
3138
- alert: b
3139
+ graphSeries: h,
3140
+ alert: y
3139
3141
  }) {
3140
3142
  return /* @__PURE__ */ e(
3141
3143
  A,
@@ -3147,8 +3149,8 @@ function zi({
3147
3149
  label: r,
3148
3150
  subLabel: s,
3149
3151
  color: l,
3150
- delay: h,
3151
- visibleAtPhase: d,
3152
+ delay: u,
3153
+ visibleAtPhase: c,
3152
3154
  componentInfo: {
3153
3155
  type: "database",
3154
3156
  name: r,
@@ -3156,15 +3158,15 @@ function zi({
3156
3158
  context: { capacity: p },
3157
3159
  dialogMetrics: f,
3158
3160
  subComponents: g,
3159
- graphSeries: u
3161
+ graphSeries: h
3160
3162
  },
3161
- alert: b,
3162
- children: /* @__PURE__ */ e(Ue, { status: a, capacity: p })
3163
+ alert: y,
3164
+ children: /* @__PURE__ */ e(Ne, { status: a, capacity: p })
3163
3165
  }
3164
3166
  );
3165
3167
  }
3166
- function yt({ status: t = "online", scale: n = 1 }) {
3167
- const i = ($[t] ?? $.online).color;
3168
+ function ot({ status: t = "online", scale: n = 1 }) {
3169
+ const i = (C[t] ?? C.online).color;
3168
3170
  return /* @__PURE__ */ e(
3169
3171
  "div",
3170
3172
  {
@@ -3175,7 +3177,7 @@ function yt({ status: t = "online", scale: n = 1 }) {
3175
3177
  alignItems: "center",
3176
3178
  justifyContent: "center"
3177
3179
  },
3178
- children: /* @__PURE__ */ c(
3180
+ children: /* @__PURE__ */ d(
3179
3181
  "div",
3180
3182
  {
3181
3183
  style: {
@@ -3188,7 +3190,7 @@ function yt({ status: t = "online", scale: n = 1 }) {
3188
3190
  transformOrigin: "center center"
3189
3191
  },
3190
3192
  children: [
3191
- /* @__PURE__ */ c("div", { style: { position: "relative", animation: "holo-float 4s ease-in-out infinite" }, children: [
3193
+ /* @__PURE__ */ d("div", { style: { position: "relative", animation: "holo-float 4s ease-in-out infinite" }, children: [
3192
3194
  /* @__PURE__ */ e(
3193
3195
  "div",
3194
3196
  {
@@ -3206,7 +3208,7 @@ function yt({ status: t = "online", scale: n = 1 }) {
3206
3208
  }
3207
3209
  }
3208
3210
  ),
3209
- /* @__PURE__ */ c(
3211
+ /* @__PURE__ */ d(
3210
3212
  "svg",
3211
3213
  {
3212
3214
  width: "70",
@@ -3214,7 +3216,7 @@ function yt({ status: t = "online", scale: n = 1 }) {
3214
3216
  viewBox: "0 0 70 75",
3215
3217
  style: { display: "block", overflow: "visible" },
3216
3218
  children: [
3217
- /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ c("radialGradient", { id: `usr-glow-${t}`, cx: "50%", cy: "45%", r: "55%", children: [
3219
+ /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ d("radialGradient", { id: `usr-glow-${t}`, cx: "50%", cy: "45%", r: "55%", children: [
3218
3220
  /* @__PURE__ */ e("stop", { offset: "0%", stopColor: i, stopOpacity: "0.12" }),
3219
3221
  /* @__PURE__ */ e("stop", { offset: "100%", stopColor: i, stopOpacity: "0" })
3220
3222
  ] }) }),
@@ -3275,7 +3277,7 @@ function yt({ status: t = "online", scale: n = 1 }) {
3275
3277
  }
3276
3278
  );
3277
3279
  }
3278
- function Bi({
3280
+ function Mi({
3279
3281
  ex: t,
3280
3282
  ey: n,
3281
3283
  compactOffset: o,
@@ -3294,12 +3296,12 @@ function Bi({
3294
3296
  zIndex: i,
3295
3297
  color: s,
3296
3298
  visibleAtPhase: l,
3297
- children: /* @__PURE__ */ e(yt, { status: r, scale: a })
3299
+ children: /* @__PURE__ */ e(ot, { status: r, scale: a })
3298
3300
  }
3299
3301
  );
3300
3302
  }
3301
- const ue = 190, Q = 72, Le = 120, Ae = ht(ue, Q, Le);
3302
- function oi({
3303
+ const ne = 190, Q = 72, ke = 120, we = et(ne, Q, ke);
3304
+ function ii({
3303
3305
  cfg: t,
3304
3306
  name: n,
3305
3307
  traffic: o,
@@ -3307,13 +3309,13 @@ function oi({
3307
3309
  compact: r
3308
3310
  }) {
3309
3311
  const a = Math.ceil(o / 100 * 8), s = Array(8).fill(t.color);
3310
- return /* @__PURE__ */ c(
3312
+ return /* @__PURE__ */ d(
3311
3313
  "div",
3312
3314
  {
3313
3315
  style: {
3314
- width: ue,
3316
+ width: ne,
3315
3317
  height: Q,
3316
- background: r ? ze : ft,
3318
+ background: r ? Ie : Je,
3317
3319
  position: "relative",
3318
3320
  overflow: "hidden",
3319
3321
  fontFamily: "'Courier New', monospace",
@@ -3335,7 +3337,7 @@ function oi({
3335
3337
  }
3336
3338
  }
3337
3339
  ),
3338
- /* @__PURE__ */ c(
3340
+ /* @__PURE__ */ d(
3339
3341
  "div",
3340
3342
  {
3341
3343
  style: {
@@ -3384,7 +3386,7 @@ function oi({
3384
3386
  ]
3385
3387
  }
3386
3388
  ),
3387
- /* @__PURE__ */ c(
3389
+ /* @__PURE__ */ d(
3388
3390
  "div",
3389
3391
  {
3390
3392
  style: {
@@ -3398,16 +3400,16 @@ function oi({
3398
3400
  gap: 10
3399
3401
  },
3400
3402
  children: [
3401
- /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 8 }, (l, h) => {
3402
- const d = h < a, p = s[h];
3403
- return /* @__PURE__ */ c(
3403
+ /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 8 }, (l, u) => {
3404
+ const c = u < a, p = s[u];
3405
+ return /* @__PURE__ */ d(
3404
3406
  "div",
3405
3407
  {
3406
3408
  style: {
3407
3409
  width: 14,
3408
3410
  height: 24,
3409
3411
  background: "#03070f",
3410
- border: `1px solid ${d ? p + "66" : "#1a2d40"}`,
3412
+ border: `1px solid ${c ? p + "66" : "#1a2d40"}`,
3411
3413
  borderRadius: 1.5,
3412
3414
  display: "flex",
3413
3415
  flexDirection: "column",
@@ -3424,8 +3426,8 @@ function oi({
3424
3426
  width: 4,
3425
3427
  height: 4,
3426
3428
  borderRadius: "50%",
3427
- background: d ? p : "#0a1830",
3428
- boxShadow: d ? `0 0 5px ${p}, 0 0 10px ${p}88` : "none"
3429
+ background: c ? p : "#0a1830",
3430
+ boxShadow: c ? `0 0 5px ${p}, 0 0 10px ${p}88` : "none"
3429
3431
  }
3430
3432
  }
3431
3433
  ),
@@ -3448,16 +3450,16 @@ function oi({
3448
3450
  width: 4,
3449
3451
  height: 4,
3450
3452
  borderRadius: "50%",
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",
3454
- animationDelay: `${h * 0.2}s`
3453
+ background: c ? t.color : "#0a1830",
3454
+ boxShadow: c ? `0 0 5px ${t.color}` : "none",
3455
+ animation: c ? "holo-led-blink 1.8s linear infinite" : "none",
3456
+ animationDelay: `${u * 0.2}s`
3455
3457
  }
3456
3458
  }
3457
3459
  )
3458
3460
  ]
3459
3461
  },
3460
- h
3462
+ u
3461
3463
  );
3462
3464
  }) }),
3463
3465
  /* @__PURE__ */ e(
@@ -3470,11 +3472,11 @@ function oi({
3470
3472
  }
3471
3473
  }
3472
3474
  ),
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: [
3475
+ /* @__PURE__ */ d("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 5 }, children: [
3476
+ /* @__PURE__ */ d("div", { children: [
3477
+ /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
3476
3478
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "TRAFFIC" }),
3477
- /* @__PURE__ */ c("span", { style: { fontSize: 6, color: t.color }, children: [
3479
+ /* @__PURE__ */ d("span", { style: { fontSize: 6, color: t.color }, children: [
3478
3480
  o,
3479
3481
  "%"
3480
3482
  ] })
@@ -3504,9 +3506,9 @@ function oi({
3504
3506
  }
3505
3507
  )
3506
3508
  ] }),
3507
- /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
3509
+ /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
3508
3510
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "ROUTES" }),
3509
- /* @__PURE__ */ c("span", { style: { fontSize: 6, color: t.color }, children: [
3511
+ /* @__PURE__ */ d("span", { style: { fontSize: 6, color: t.color }, children: [
3510
3512
  i,
3511
3513
  " active"
3512
3514
  ] })
@@ -3534,9 +3536,9 @@ function oi({
3534
3536
  { label: "HTTP", val: Math.round(o * 12.4), unit: "req/s" },
3535
3537
  { label: "HTTPS", val: Math.round(o * 8.6), unit: "req/s" },
3536
3538
  { label: "WS", val: Math.round(i * 3), unit: "conn" }
3537
- ].map((l) => /* @__PURE__ */ c("div", { style: { display: "flex", gap: 3 }, children: [
3539
+ ].map((l) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
3538
3540
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: l.label }),
3539
- /* @__PURE__ */ c("span", { style: { fontSize: 6, color: t.color + "88" }, children: [
3541
+ /* @__PURE__ */ d("span", { style: { fontSize: 6, color: t.color + "88" }, children: [
3540
3542
  l.val,
3541
3543
  " ",
3542
3544
  l.unit
@@ -3561,12 +3563,12 @@ function oi({
3561
3563
  }
3562
3564
  );
3563
3565
  }
3564
- function ri() {
3565
- return /* @__PURE__ */ c(
3566
+ function ni() {
3567
+ return /* @__PURE__ */ d(
3566
3568
  "div",
3567
3569
  {
3568
3570
  style: {
3569
- width: ue,
3571
+ width: ne,
3570
3572
  height: Q,
3571
3573
  background: "linear-gradient(180deg, #040c1a, #030810)",
3572
3574
  position: "relative",
@@ -3649,12 +3651,12 @@ function ri() {
3649
3651
  }
3650
3652
  );
3651
3653
  }
3652
- function Ct({ side: t, color: n }) {
3653
- return /* @__PURE__ */ c(
3654
+ function ht({ side: t, color: n }) {
3655
+ return /* @__PURE__ */ d(
3654
3656
  "div",
3655
3657
  {
3656
3658
  style: {
3657
- width: Le,
3659
+ width: ke,
3658
3660
  height: Q,
3659
3661
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
3660
3662
  position: "relative",
@@ -3706,14 +3708,14 @@ function Ct({ side: t, color: n }) {
3706
3708
  }
3707
3709
  );
3708
3710
  }
3709
- function ai({ traffic: t }) {
3710
- const n = Math.floor((Le - 14) / 7);
3711
- return /* @__PURE__ */ c(
3711
+ function oi({ traffic: t }) {
3712
+ const n = Math.floor((ke - 14) / 7);
3713
+ return /* @__PURE__ */ d(
3712
3714
  "div",
3713
3715
  {
3714
3716
  style: {
3715
- width: ue,
3716
- height: Le,
3717
+ width: ne,
3718
+ height: ke,
3717
3719
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
3718
3720
  position: "relative",
3719
3721
  overflow: "hidden"
@@ -3727,7 +3729,7 @@ function ai({ traffic: t }) {
3727
3729
  top: 0,
3728
3730
  left: 0,
3729
3731
  right: 0,
3730
- height: Le * 0.35,
3732
+ height: ke * 0.35,
3731
3733
  background: `radial-gradient(ellipse at 50% 0%,
3732
3734
  ${t > 70 ? "rgba(255,34,85,0.14)" : "rgba(0,229,255,0.08)"} 0%,
3733
3735
  transparent 70%)`
@@ -3765,7 +3767,7 @@ function ai({ traffic: t }) {
3765
3767
  }
3766
3768
  );
3767
3769
  }
3768
- function mt({
3770
+ function rt({
3769
3771
  rotateX: t = -20,
3770
3772
  rotateY: n = 20,
3771
3773
  rotateZ: o = 0,
@@ -3774,28 +3776,28 @@ function mt({
3774
3776
  status: a = "online",
3775
3777
  name: s = "WEB-DISP-01",
3776
3778
  traffic: l = 78,
3777
- activeRoutes: h = 12,
3778
- _compact: d
3779
+ activeRoutes: u = 12,
3780
+ _compact: c
3779
3781
  }) {
3780
- const [p, f] = R(n), g = ie(0), u = ie(0);
3781
- Re(() => {
3782
+ const [p, f] = R(n), g = Z(0), h = Z(0);
3783
+ Te(() => {
3782
3784
  if (!r) {
3783
3785
  f(n);
3784
3786
  return;
3785
3787
  }
3786
- const m = (w) => {
3787
- u.current && f((v) => v + (w - u.current) * 0.027), u.current = w, g.current = requestAnimationFrame(m);
3788
+ const m = (v) => {
3789
+ h.current && f((x) => x + (v - h.current) * 0.027), h.current = v, g.current = requestAnimationFrame(m);
3788
3790
  };
3789
3791
  return g.current = requestAnimationFrame(m), () => {
3790
- cancelAnimationFrame(g.current), u.current = 0;
3792
+ cancelAnimationFrame(g.current), h.current = 0;
3791
3793
  };
3792
3794
  }, [r, n]);
3793
- const b = $[a] ?? $.online;
3794
- return /* @__PURE__ */ c(
3795
+ const y = C[a] ?? C.online;
3796
+ return /* @__PURE__ */ d(
3795
3797
  "div",
3796
3798
  {
3797
3799
  style: {
3798
- width: ue * i,
3800
+ width: ne * i,
3799
3801
  height: Q * i,
3800
3802
  position: "relative",
3801
3803
  display: "flex",
@@ -3816,7 +3818,7 @@ function mt({
3816
3818
  animation: "holo-led-blink 1.5s infinite",
3817
3819
  filter: `drop-shadow(0 0 10px ${a === "critical" ? "#ff2255" : "#ff8c00"})`
3818
3820
  },
3819
- children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
3821
+ children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
3820
3822
  /* @__PURE__ */ e(
3821
3823
  "path",
3822
3824
  {
@@ -3856,9 +3858,9 @@ function mt({
3856
3858
  {
3857
3859
  style: {
3858
3860
  position: "absolute",
3859
- width: ue * 1.3 * i,
3861
+ width: ne * 1.3 * i,
3860
3862
  height: Q * 2 * i,
3861
- background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
3863
+ background: `radial-gradient(ellipse, ${y.glow} 0%, transparent 65%)`,
3862
3864
  filter: `blur(${Math.round(40 * i)}px)`,
3863
3865
  pointerEvents: "none",
3864
3866
  top: "40%",
@@ -3876,11 +3878,11 @@ function mt({
3876
3878
  transform: `scale(${i})`,
3877
3879
  transformOrigin: "center center"
3878
3880
  },
3879
- children: /* @__PURE__ */ c(
3881
+ children: /* @__PURE__ */ d(
3880
3882
  "div",
3881
3883
  {
3882
3884
  style: {
3883
- width: ue,
3885
+ width: ne,
3884
3886
  height: Q,
3885
3887
  position: "relative",
3886
3888
  transformStyle: "preserve-3d",
@@ -3888,21 +3890,21 @@ function mt({
3888
3890
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
3889
3891
  },
3890
3892
  children: [
3891
- /* @__PURE__ */ e("div", { style: Ae.front, children: /* @__PURE__ */ e(
3892
- oi,
3893
+ /* @__PURE__ */ e("div", { style: we.front, children: /* @__PURE__ */ e(
3894
+ ii,
3893
3895
  {
3894
- cfg: b,
3896
+ cfg: y,
3895
3897
  name: s,
3896
3898
  traffic: l,
3897
- activeRoutes: h,
3898
- compact: d
3899
+ activeRoutes: u,
3900
+ compact: c
3899
3901
  }
3900
3902
  ) }),
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: ue, height: Le, background: "#020508" } }) })
3903
+ /* @__PURE__ */ e("div", { style: we.back, children: /* @__PURE__ */ e(ni, {}) }),
3904
+ /* @__PURE__ */ e("div", { style: we.left, children: /* @__PURE__ */ e(ht, { side: "left", color: y.color }) }),
3905
+ /* @__PURE__ */ e("div", { style: we.right, children: /* @__PURE__ */ e(ht, { side: "right", color: y.color }) }),
3906
+ /* @__PURE__ */ e("div", { style: we.top, children: /* @__PURE__ */ e(oi, { traffic: l }) }),
3907
+ /* @__PURE__ */ e("div", { style: we.bottom, children: /* @__PURE__ */ e("div", { style: { width: ne, height: ke, background: "#020508" } }) })
3906
3908
  ]
3907
3909
  }
3908
3910
  )
@@ -3912,7 +3914,7 @@ function mt({
3912
3914
  }
3913
3915
  );
3914
3916
  }
3915
- function Fi({
3917
+ function zi({
3916
3918
  ex: t,
3917
3919
  ey: n,
3918
3920
  compactOffset: o,
@@ -3921,13 +3923,13 @@ function Fi({
3921
3923
  status: a = "online",
3922
3924
  subLabel: s,
3923
3925
  color: l,
3924
- delay: h,
3925
- visibleAtPhase: d,
3926
+ delay: u,
3927
+ visibleAtPhase: c,
3926
3928
  traffic: p,
3927
3929
  activeRoutes: f,
3928
3930
  dialogMetrics: g,
3929
- subComponents: u,
3930
- graphSeries: b,
3931
+ subComponents: h,
3932
+ graphSeries: y,
3931
3933
  alert: m
3932
3934
  }) {
3933
3935
  return /* @__PURE__ */ e(
@@ -3940,29 +3942,29 @@ function Fi({
3940
3942
  label: r,
3941
3943
  subLabel: s,
3942
3944
  color: l,
3943
- delay: h,
3944
- visibleAtPhase: d,
3945
+ delay: u,
3946
+ visibleAtPhase: c,
3945
3947
  componentInfo: {
3946
3948
  type: "dispatcher",
3947
3949
  name: r,
3948
3950
  status: a,
3949
3951
  context: { traffic: p, activeRoutes: f },
3950
3952
  dialogMetrics: g,
3951
- subComponents: u,
3952
- graphSeries: b
3953
+ subComponents: h,
3954
+ graphSeries: y
3953
3955
  },
3954
3956
  alert: m,
3955
- children: /* @__PURE__ */ e(mt, { status: a, traffic: p, activeRoutes: f })
3957
+ children: /* @__PURE__ */ e(rt, { status: a, traffic: p, activeRoutes: f })
3956
3958
  }
3957
3959
  );
3958
3960
  }
3959
- const be = 190, G = 72, Ie = 120, Te = ht(be, G, Ie), Pt = {
3961
+ const oe = 190, K = 72, Re = 120, Se = et(oe, K, Re), bt = {
3960
3962
  online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
3961
3963
  warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
3962
3964
  critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
3963
3965
  offline: { color: "#1e3a5a", glow: "rgba(30,58,90,0.25)" }
3964
3966
  };
3965
- function li({
3967
+ function ri({
3966
3968
  cfg: t,
3967
3969
  name: n,
3968
3970
  queueDepth: o,
@@ -3971,13 +3973,13 @@ function li({
3971
3973
  compact: a
3972
3974
  }) {
3973
3975
  const { color: s, glow: l } = t;
3974
- return /* @__PURE__ */ c(
3976
+ return /* @__PURE__ */ d(
3975
3977
  "div",
3976
3978
  {
3977
3979
  style: {
3978
- width: be,
3979
- height: G,
3980
- background: a ? ze : ft,
3980
+ width: oe,
3981
+ height: K,
3982
+ background: a ? Ie : Je,
3981
3983
  position: "relative",
3982
3984
  overflow: "hidden",
3983
3985
  fontFamily: "'Courier New', monospace",
@@ -3999,7 +4001,7 @@ function li({
3999
4001
  }
4000
4002
  }
4001
4003
  ),
4002
- /* @__PURE__ */ c(
4004
+ /* @__PURE__ */ d(
4003
4005
  "div",
4004
4006
  {
4005
4007
  style: {
@@ -4048,7 +4050,7 @@ function li({
4048
4050
  ]
4049
4051
  }
4050
4052
  ),
4051
- /* @__PURE__ */ c(
4053
+ /* @__PURE__ */ d(
4052
4054
  "div",
4053
4055
  {
4054
4056
  style: {
@@ -4062,9 +4064,9 @@ function li({
4062
4064
  gap: 10
4063
4065
  },
4064
4066
  children: [
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(
4067
+ /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 5 }, (u, c) => {
4068
+ const p = c < r;
4069
+ return /* @__PURE__ */ d(
4068
4070
  "div",
4069
4071
  {
4070
4072
  style: {
@@ -4114,13 +4116,13 @@ function li({
4114
4116
  background: p ? s : "#0a1830",
4115
4117
  boxShadow: p ? `0 0 5px ${s}` : "none",
4116
4118
  animation: p ? "holo-led-blink 2.2s linear infinite" : "none",
4117
- animationDelay: `${d * 0.28}s`
4119
+ animationDelay: `${c * 0.28}s`
4118
4120
  }
4119
4121
  }
4120
4122
  )
4121
4123
  ]
4122
4124
  },
4123
- d
4125
+ c
4124
4126
  );
4125
4127
  }) }),
4126
4128
  /* @__PURE__ */ e(
@@ -4133,11 +4135,11 @@ function li({
4133
4135
  }
4134
4136
  }
4135
4137
  ),
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: [
4138
+ /* @__PURE__ */ d("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 5 }, children: [
4139
+ /* @__PURE__ */ d("div", { children: [
4140
+ /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
4139
4141
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "QUEUE" }),
4140
- /* @__PURE__ */ c("span", { style: { fontSize: 6, color: s }, children: [
4142
+ /* @__PURE__ */ d("span", { style: { fontSize: 6, color: s }, children: [
4141
4143
  o,
4142
4144
  "%"
4143
4145
  ] })
@@ -4167,7 +4169,7 @@ function li({
4167
4169
  }
4168
4170
  )
4169
4171
  ] }),
4170
- /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
4172
+ /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
4171
4173
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "MSG/S" }),
4172
4174
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: s }, children: i })
4173
4175
  ] })
@@ -4194,14 +4196,14 @@ function li({
4194
4196
  { label: "INST", val: r, unit: "conn" },
4195
4197
  { label: "ENQUEUE", val: Math.round(o * 2.4), unit: "msgs" },
4196
4198
  { label: "DISP", val: Math.round(i * 0.1), unit: "/s" }
4197
- ].map((h) => /* @__PURE__ */ c("div", { style: { display: "flex", gap: 3 }, children: [
4198
- /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: h.label }),
4199
- /* @__PURE__ */ c("span", { style: { fontSize: 6, color: s + "88" }, children: [
4200
- h.val,
4199
+ ].map((u) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
4200
+ /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: u.label }),
4201
+ /* @__PURE__ */ d("span", { style: { fontSize: 6, color: s + "88" }, children: [
4202
+ u.val,
4201
4203
  " ",
4202
- h.unit
4204
+ u.unit
4203
4205
  ] })
4204
- ] }, h.label))
4206
+ ] }, u.label))
4205
4207
  }
4206
4208
  ),
4207
4209
  /* @__PURE__ */ e(
@@ -4221,13 +4223,13 @@ function li({
4221
4223
  }
4222
4224
  );
4223
4225
  }
4224
- function si() {
4225
- return /* @__PURE__ */ c(
4226
+ function ai() {
4227
+ return /* @__PURE__ */ d(
4226
4228
  "div",
4227
4229
  {
4228
4230
  style: {
4229
- width: be,
4230
- height: G,
4231
+ width: oe,
4232
+ height: K,
4231
4233
  background: "linear-gradient(180deg, #040c1a, #030810)",
4232
4234
  position: "relative",
4233
4235
  overflow: "hidden",
@@ -4242,7 +4244,7 @@ function si() {
4242
4244
  {
4243
4245
  style: {
4244
4246
  width: 40,
4245
- height: G - 16,
4247
+ height: K - 16,
4246
4248
  background: "#020710",
4247
4249
  border: "1px solid #1a2d40",
4248
4250
  borderRadius: 2,
@@ -4298,7 +4300,7 @@ function si() {
4298
4300
  style: {
4299
4301
  marginLeft: "auto",
4300
4302
  width: 12,
4301
- height: G - 16,
4303
+ height: K - 16,
4302
4304
  background: "#020710",
4303
4305
  border: "1px solid #1a3050",
4304
4306
  borderRadius: 1
@@ -4309,13 +4311,13 @@ function si() {
4309
4311
  }
4310
4312
  );
4311
4313
  }
4312
- function Et({ side: t, color: n }) {
4313
- return /* @__PURE__ */ c(
4314
+ function gt({ side: t, color: n }) {
4315
+ return /* @__PURE__ */ d(
4314
4316
  "div",
4315
4317
  {
4316
4318
  style: {
4317
- width: Ie,
4318
- height: G,
4319
+ width: Re,
4320
+ height: K,
4319
4321
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
4320
4322
  position: "relative",
4321
4323
  overflow: "hidden"
@@ -4339,8 +4341,8 @@ function Et({ side: t, color: n }) {
4339
4341
  {
4340
4342
  style: {
4341
4343
  position: "absolute",
4342
- top: G * 0.25,
4343
- bottom: G * 0.25,
4344
+ top: K * 0.25,
4345
+ bottom: K * 0.25,
4344
4346
  left: 14,
4345
4347
  right: 14,
4346
4348
  display: "flex",
@@ -4366,14 +4368,14 @@ function Et({ side: t, color: n }) {
4366
4368
  }
4367
4369
  );
4368
4370
  }
4369
- function di({ queueDepth: t, color: n }) {
4370
- const o = Math.floor((Ie - 14) / 7);
4371
- return /* @__PURE__ */ c(
4371
+ function li({ queueDepth: t, color: n }) {
4372
+ const o = Math.floor((Re - 14) / 7);
4373
+ return /* @__PURE__ */ d(
4372
4374
  "div",
4373
4375
  {
4374
4376
  style: {
4375
- width: be,
4376
- height: Ie,
4377
+ width: oe,
4378
+ height: Re,
4377
4379
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
4378
4380
  position: "relative",
4379
4381
  overflow: "hidden"
@@ -4387,7 +4389,7 @@ function di({ queueDepth: t, color: n }) {
4387
4389
  top: 0,
4388
4390
  left: 0,
4389
4391
  right: 0,
4390
- height: Ie * 0.35,
4392
+ height: Re * 0.35,
4391
4393
  background: `radial-gradient(ellipse at 50% 0%,
4392
4394
  ${t > 70 ? "rgba(255,34,85,0.14)" : `${n}15`} 0%,
4393
4395
  transparent 70%)`
@@ -4425,7 +4427,7 @@ function di({ queueDepth: t, color: n }) {
4425
4427
  }
4426
4428
  );
4427
4429
  }
4428
- function Dt({
4430
+ function $t({
4429
4431
  rotateX: t = -20,
4430
4432
  rotateY: n = 20,
4431
4433
  rotateZ: o = 0,
@@ -4434,30 +4436,30 @@ function Dt({
4434
4436
  status: a = "online",
4435
4437
  name: s = "MSG-SRV-01",
4436
4438
  queueDepth: l = 45,
4437
- msgsPerSec: h = 230,
4438
- instances: d = 3,
4439
+ msgsPerSec: u = 230,
4440
+ instances: c = 3,
4439
4441
  _compact: p
4440
4442
  }) {
4441
- const [f, g] = R(n), u = ie(0), b = ie(0);
4442
- Re(() => {
4443
+ const [f, g] = R(n), h = Z(0), y = Z(0);
4444
+ Te(() => {
4443
4445
  if (!r) {
4444
4446
  g(n);
4445
4447
  return;
4446
4448
  }
4447
- const w = (v) => {
4448
- b.current && g((S) => S + (v - b.current) * 0.027), b.current = v, u.current = requestAnimationFrame(w);
4449
+ const v = (x) => {
4450
+ y.current && g((w) => w + (x - y.current) * 0.027), y.current = x, h.current = requestAnimationFrame(v);
4449
4451
  };
4450
- return u.current = requestAnimationFrame(w), () => {
4451
- cancelAnimationFrame(u.current), b.current = 0;
4452
+ return h.current = requestAnimationFrame(v), () => {
4453
+ cancelAnimationFrame(h.current), y.current = 0;
4452
4454
  };
4453
4455
  }, [r, n]);
4454
- const m = Pt[a] ?? Pt.online;
4455
- return /* @__PURE__ */ c(
4456
+ const m = bt[a] ?? bt.online;
4457
+ return /* @__PURE__ */ d(
4456
4458
  "div",
4457
4459
  {
4458
4460
  style: {
4459
- width: be * i,
4460
- height: G * i,
4461
+ width: oe * i,
4462
+ height: K * i,
4461
4463
  position: "relative",
4462
4464
  display: "flex",
4463
4465
  alignItems: "center",
@@ -4477,7 +4479,7 @@ function Dt({
4477
4479
  animation: "holo-led-blink 1.5s infinite",
4478
4480
  filter: `drop-shadow(0 0 10px ${a === "critical" ? "#ff2255" : "#ff8c00"})`
4479
4481
  },
4480
- children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
4482
+ children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
4481
4483
  /* @__PURE__ */ e(
4482
4484
  "path",
4483
4485
  {
@@ -4517,8 +4519,8 @@ function Dt({
4517
4519
  {
4518
4520
  style: {
4519
4521
  position: "absolute",
4520
- width: be * 1.3 * i,
4521
- height: G * 2 * i,
4522
+ width: oe * 1.3 * i,
4523
+ height: K * 2 * i,
4522
4524
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
4523
4525
  filter: `blur(${Math.round(40 * i)}px)`,
4524
4526
  pointerEvents: "none",
@@ -4537,34 +4539,34 @@ function Dt({
4537
4539
  transform: `scale(${i})`,
4538
4540
  transformOrigin: "center center"
4539
4541
  },
4540
- children: /* @__PURE__ */ c(
4542
+ children: /* @__PURE__ */ d(
4541
4543
  "div",
4542
4544
  {
4543
4545
  style: {
4544
- width: be,
4545
- height: G,
4546
+ width: oe,
4547
+ height: K,
4546
4548
  position: "relative",
4547
4549
  transformStyle: "preserve-3d",
4548
4550
  transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
4549
4551
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
4550
4552
  },
4551
4553
  children: [
4552
- /* @__PURE__ */ e("div", { style: Te.front, children: /* @__PURE__ */ e(
4553
- li,
4554
+ /* @__PURE__ */ e("div", { style: Se.front, children: /* @__PURE__ */ e(
4555
+ ri,
4554
4556
  {
4555
4557
  cfg: m,
4556
4558
  name: s,
4557
4559
  queueDepth: l,
4558
- msgsPerSec: h,
4559
- instances: d,
4560
+ msgsPerSec: u,
4561
+ instances: c,
4560
4562
  compact: p
4561
4563
  }
4562
4564
  ) }),
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: be, height: Ie, background: "#020508" } }) })
4565
+ /* @__PURE__ */ e("div", { style: Se.back, children: /* @__PURE__ */ e(ai, {}) }),
4566
+ /* @__PURE__ */ e("div", { style: Se.left, children: /* @__PURE__ */ e(gt, { side: "left", color: m.color }) }),
4567
+ /* @__PURE__ */ e("div", { style: Se.right, children: /* @__PURE__ */ e(gt, { side: "right", color: m.color }) }),
4568
+ /* @__PURE__ */ e("div", { style: Se.top, children: /* @__PURE__ */ e(li, { queueDepth: l, color: m.color }) }),
4569
+ /* @__PURE__ */ e("div", { style: Se.bottom, children: /* @__PURE__ */ e("div", { style: { width: oe, height: Re, background: "#020508" } }) })
4568
4570
  ]
4569
4571
  }
4570
4572
  )
@@ -4574,7 +4576,7 @@ function Dt({
4574
4576
  }
4575
4577
  );
4576
4578
  }
4577
- function Hi({
4579
+ function Bi({
4578
4580
  ex: t,
4579
4581
  ey: n,
4580
4582
  compactOffset: o,
@@ -4583,15 +4585,15 @@ function Hi({
4583
4585
  status: a = "online",
4584
4586
  subLabel: s,
4585
4587
  color: l,
4586
- delay: h,
4587
- visibleAtPhase: d,
4588
+ delay: u,
4589
+ visibleAtPhase: c,
4588
4590
  queueDepth: p,
4589
4591
  msgsPerSec: f,
4590
4592
  instances: g,
4591
- dialogMetrics: u,
4592
- subComponents: b,
4593
+ dialogMetrics: h,
4594
+ subComponents: y,
4593
4595
  graphSeries: m,
4594
- alert: w
4596
+ alert: v
4595
4597
  }) {
4596
4598
  return /* @__PURE__ */ e(
4597
4599
  A,
@@ -4603,20 +4605,20 @@ function Hi({
4603
4605
  label: r,
4604
4606
  subLabel: s,
4605
4607
  color: l,
4606
- delay: h,
4607
- visibleAtPhase: d,
4608
+ delay: u,
4609
+ visibleAtPhase: c,
4608
4610
  componentInfo: {
4609
4611
  type: "messageServer",
4610
4612
  name: r,
4611
4613
  status: a,
4612
4614
  context: { queueDepth: p, msgsPerSec: f, instances: g },
4613
- dialogMetrics: u,
4614
- subComponents: b,
4615
+ dialogMetrics: h,
4616
+ subComponents: y,
4615
4617
  graphSeries: m
4616
4618
  },
4617
- alert: w,
4619
+ alert: v,
4618
4620
  children: /* @__PURE__ */ e(
4619
- Dt,
4621
+ $t,
4620
4622
  {
4621
4623
  status: a,
4622
4624
  queueDepth: p,
@@ -4627,16 +4629,16 @@ function Hi({
4627
4629
  }
4628
4630
  );
4629
4631
  }
4630
- function L(t, n, o = 24) {
4632
+ function O(t, n, o = 24) {
4631
4633
  return Array.from({ length: o }, (i, r) => {
4632
4634
  const a = r / o;
4633
4635
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
4634
4636
  });
4635
4637
  }
4636
- function ci({ data: t, color: n, height: o = 28 }) {
4637
- const r = o, a = Math.max(...t, 1), s = t.map((l, h) => {
4638
- const d = h / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
4639
- return `${d},${p}`;
4638
+ function si({ data: t, color: n, height: o = 28 }) {
4639
+ const r = o, a = Math.max(...t, 1), s = t.map((l, u) => {
4640
+ const c = u / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
4641
+ return `${c},${p}`;
4640
4642
  }).join(" ");
4641
4643
  return /* @__PURE__ */ e("svg", { width: 120, height: r, style: { display: "block", overflow: "visible" }, children: /* @__PURE__ */ e(
4642
4644
  "polyline",
@@ -4651,7 +4653,7 @@ function ci({ data: t, color: n, height: o = 28 }) {
4651
4653
  }
4652
4654
  ) });
4653
4655
  }
4654
- function pi({
4656
+ function di({
4655
4657
  type: t,
4656
4658
  name: n,
4657
4659
  context: o = {},
@@ -4659,8 +4661,8 @@ function pi({
4659
4661
  animPhase: r,
4660
4662
  series: a
4661
4663
  }) {
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(
4664
+ const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ci(t, o), u = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
4665
+ return /* @__PURE__ */ d(
4664
4666
  "div",
4665
4667
  {
4666
4668
  style: {
@@ -4673,12 +4675,12 @@ function pi({
4673
4675
  display: "flex",
4674
4676
  flexDirection: "column",
4675
4677
  overflow: "hidden",
4676
- transform: `translateX(${h}px)`,
4677
- opacity: d,
4678
+ transform: `translateX(${u}px)`,
4679
+ opacity: c,
4678
4680
  transition: "transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease"
4679
4681
  },
4680
4682
  children: [
4681
- /* @__PURE__ */ c(
4683
+ /* @__PURE__ */ d(
4682
4684
  "div",
4683
4685
  {
4684
4686
  style: {
@@ -4688,14 +4690,14 @@ function pi({
4688
4690
  },
4689
4691
  children: [
4690
4692
  /* @__PURE__ */ e("div", { style: { fontSize: 10, color: s + "cc", letterSpacing: "0.12em", fontFamily: "'Courier New', monospace" }, children: "HISTORICAL" }),
4691
- /* @__PURE__ */ c("div", { style: { fontSize: 12, fontWeight: 700, color: "#fff", letterSpacing: "0.06em", marginTop: 2, fontFamily: "'Courier New', monospace" }, children: [
4693
+ /* @__PURE__ */ d("div", { style: { fontSize: 12, fontWeight: 700, color: "#fff", letterSpacing: "0.06em", marginTop: 2, fontFamily: "'Courier New', monospace" }, children: [
4692
4694
  n,
4693
4695
  " · Sub-components"
4694
4696
  ] })
4695
4697
  ]
4696
4698
  }
4697
4699
  ),
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(
4700
+ /* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", padding: "12px 10px", display: "flex", flexDirection: "column", gap: 16 }, children: l.map((p, f) => /* @__PURE__ */ d(
4699
4701
  "div",
4700
4702
  {
4701
4703
  style: {
@@ -4707,14 +4709,14 @@ function pi({
4707
4709
  opacity: r >= 0.5 ? 1 : 0
4708
4710
  },
4709
4711
  children: [
4710
- /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center", marginBottom: 6 }, children: [
4712
+ /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center", marginBottom: 6 }, children: [
4711
4713
  /* @__PURE__ */ e("span", { style: { fontSize: 9, fontWeight: 600, color: p.color, letterSpacing: "0.08em", fontFamily: "'Courier New', monospace" }, children: p.label }),
4712
- /* @__PURE__ */ c("span", { style: { fontSize: 8, color: p.color + "99", fontFamily: "'Courier New', monospace" }, children: [
4714
+ /* @__PURE__ */ d("span", { style: { fontSize: 8, color: p.color + "99", fontFamily: "'Courier New', monospace" }, children: [
4713
4715
  Math.round(p.data[p.data.length - 1] ?? 0),
4714
4716
  p.unit
4715
4717
  ] })
4716
4718
  ] }),
4717
- /* @__PURE__ */ e(ci, { data: p.data, color: p.color, height: 26 })
4719
+ /* @__PURE__ */ e(si, { data: p.data, color: p.color, height: 26 })
4718
4720
  ]
4719
4721
  },
4720
4722
  p.id
@@ -4723,43 +4725,43 @@ function pi({
4723
4725
  }
4724
4726
  );
4725
4727
  }
4726
- function fi(t, n) {
4728
+ function ci(t, n) {
4727
4729
  if (t === "server") {
4728
4730
  const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
4729
4731
  return [
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) }
4732
+ { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: O(o, 15) },
4733
+ { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: O(o * 0.7, 12) },
4734
+ { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: O(i, 18) },
4735
+ { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: O(i * 0.85, 14) },
4736
+ { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: O(40, 25) },
4737
+ { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: O(35, 20) },
4738
+ { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: O(30, 22) },
4739
+ { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: O(55, 20) }
4738
4740
  ];
4739
4741
  }
4740
4742
  if (t === "dispatcher" || t === "messageServer") {
4741
4743
  const o = n.traffic ?? n.queueDepth ?? 50;
4742
4744
  return [
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) }
4745
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: O(o, 20) },
4746
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: O(60, 25) },
4747
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: O(45, 20) },
4748
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: O(70, 30) },
4749
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: O(o * 0.9, 15) }
4748
4750
  ];
4749
4751
  }
4750
4752
  if (t === "database") {
4751
4753
  const o = n.capacity ?? 70;
4752
4754
  return [
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) }
4755
+ { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: O(40, 20) },
4756
+ { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: O(55, 25) },
4757
+ { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: O(35, 18) },
4758
+ { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: O(o, 15) },
4759
+ { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: O(75, 12) }
4758
4760
  ];
4759
4761
  }
4760
4762
  return [];
4761
4763
  }
4762
- function Nt({
4764
+ function kt({
4763
4765
  w: t,
4764
4766
  h: n,
4765
4767
  color: o,
@@ -4768,14 +4770,14 @@ function Nt({
4768
4770
  delay: a = "0s",
4769
4771
  children: s
4770
4772
  }) {
4771
- const l = r ? $[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
4772
- return /* @__PURE__ */ c(
4773
+ const l = r ? C[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
4774
+ return /* @__PURE__ */ d(
4773
4775
  "div",
4774
4776
  {
4775
4777
  style: {
4776
4778
  width: t,
4777
4779
  height: n,
4778
- background: ze,
4780
+ background: Ie,
4779
4781
  position: "relative",
4780
4782
  overflow: "hidden",
4781
4783
  borderRadius: 2,
@@ -4809,8 +4811,8 @@ function Nt({
4809
4811
  width: 4,
4810
4812
  height: 4,
4811
4813
  borderRadius: "50%",
4812
- background: $[r]?.color,
4813
- boxShadow: `0 0 6px ${$[r]?.color}`,
4814
+ background: C[r]?.color,
4815
+ boxShadow: `0 0 6px ${C[r]?.color}`,
4814
4816
  animation: "holo-led-blink 1.2s infinite"
4815
4817
  }
4816
4818
  }
@@ -4852,20 +4854,20 @@ function Nt({
4852
4854
  }
4853
4855
  );
4854
4856
  }
4855
- function Ke({
4857
+ function ze({
4856
4858
  color: t = "#00e5ff",
4857
4859
  label: n = "CPU-0",
4858
4860
  status: o = "online",
4859
4861
  load: i = 0
4860
4862
  }) {
4861
- return /* @__PURE__ */ c("div", { style: { position: "relative", width: 52, height: 36 }, children: [
4862
- /* @__PURE__ */ c(
4863
+ return /* @__PURE__ */ d("div", { style: { position: "relative", width: 52, height: 36 }, children: [
4864
+ /* @__PURE__ */ d(
4863
4865
  "div",
4864
4866
  {
4865
4867
  style: {
4866
4868
  width: 52,
4867
4869
  height: 36,
4868
- background: ze,
4870
+ background: Ie,
4869
4871
  position: "relative",
4870
4872
  borderRadius: 2,
4871
4873
  border: `1px solid ${t}55`,
@@ -4936,8 +4938,8 @@ function Ke({
4936
4938
  width: 4,
4937
4939
  height: 4,
4938
4940
  borderRadius: "50%",
4939
- background: $[o]?.color,
4940
- boxShadow: `0 0 6px ${$[o]?.color}`,
4941
+ background: C[o]?.color,
4942
+ boxShadow: `0 0 6px ${C[o]?.color}`,
4941
4943
  animation: "holo-led-blink 1.2s infinite"
4942
4944
  }
4943
4945
  }
@@ -4963,14 +4965,14 @@ function Ke({
4963
4965
  )
4964
4966
  ] });
4965
4967
  }
4966
- function Ze({
4968
+ function Be({
4967
4969
  color: t = "#00e5ff",
4968
4970
  label: n = "HEAP-0",
4969
4971
  status: o = "online",
4970
4972
  usedPercent: i = 0
4971
4973
  }) {
4972
- return /* @__PURE__ */ c("div", { style: { position: "relative", width: 28, height: 48 }, children: [
4973
- /* @__PURE__ */ c(
4974
+ return /* @__PURE__ */ d("div", { style: { position: "relative", width: 28, height: 48 }, children: [
4975
+ /* @__PURE__ */ d(
4974
4976
  "div",
4975
4977
  {
4976
4978
  style: {
@@ -5034,7 +5036,7 @@ function Ze({
5034
5036
  width: 3,
5035
5037
  height: 3,
5036
5038
  borderRadius: "50%",
5037
- background: $[o]?.color,
5039
+ background: C[o]?.color,
5038
5040
  animation: "holo-led-blink 1.2s infinite"
5039
5041
  }
5040
5042
  }
@@ -5060,13 +5062,13 @@ function Ze({
5060
5062
  )
5061
5063
  ] });
5062
5064
  }
5063
- function De({
5065
+ function Ce({
5064
5066
  color: t = "#00e5ff",
5065
5067
  label: n = "DRIVE-1",
5066
5068
  status: o = "online",
5067
5069
  activity: i = !1
5068
5070
  }) {
5069
- return /* @__PURE__ */ c(Nt, { w: 56, h: 22, color: t, label: n, status: o, children: [
5071
+ return /* @__PURE__ */ d(kt, { w: 56, h: 22, color: t, label: n, status: o, children: [
5070
5072
  /* @__PURE__ */ e(
5071
5073
  "div",
5072
5074
  {
@@ -5099,18 +5101,18 @@ function De({
5099
5101
  )
5100
5102
  ] });
5101
5103
  }
5102
- function Wt({
5104
+ function Rt({
5103
5105
  color: t = "#00e5ff",
5104
5106
  label: n = "NET",
5105
5107
  status: o = "online"
5106
5108
  }) {
5107
- return /* @__PURE__ */ c(
5109
+ return /* @__PURE__ */ d(
5108
5110
  "div",
5109
5111
  {
5110
5112
  style: {
5111
5113
  width: 48,
5112
5114
  height: 28,
5113
- background: ze,
5115
+ background: Ie,
5114
5116
  position: "relative",
5115
5117
  borderRadius: 2,
5116
5118
  border: `1px solid ${t}44`,
@@ -5168,16 +5170,16 @@ function M({
5168
5170
  label: n = "THREAD",
5169
5171
  status: o = "online"
5170
5172
  }) {
5171
- return /* @__PURE__ */ e(Nt, { w: 44, h: 28, color: t, label: n, status: o });
5173
+ return /* @__PURE__ */ e(kt, { w: 44, h: 28, color: t, label: n, status: o });
5172
5174
  }
5173
- function Qe({
5175
+ function Me({
5174
5176
  color: t = "#ff8c00",
5175
5177
  label: n = "PLATTER-0",
5176
5178
  status: o = "online",
5177
5179
  capacityPercent: i = 0
5178
5180
  }) {
5179
- return /* @__PURE__ */ c("div", { style: { position: "relative", width: 48, height: 62 }, children: [
5180
- /* @__PURE__ */ c(
5181
+ return /* @__PURE__ */ d("div", { style: { position: "relative", width: 48, height: 62 }, children: [
5182
+ /* @__PURE__ */ d(
5181
5183
  "div",
5182
5184
  {
5183
5185
  style: {
@@ -5228,7 +5230,7 @@ function Qe({
5228
5230
  width: 4,
5229
5231
  height: 4,
5230
5232
  borderRadius: "50%",
5231
- background: $[o]?.color,
5233
+ background: C[o]?.color,
5232
5234
  animation: "holo-led-blink 1.2s infinite"
5233
5235
  }
5234
5236
  }
@@ -5254,12 +5256,12 @@ function Qe({
5254
5256
  )
5255
5257
  ] });
5256
5258
  }
5257
- function Y({
5259
+ function H({
5258
5260
  color: t = "#00e5ff",
5259
5261
  label: n = "PORT-1",
5260
5262
  status: o = "online"
5261
5263
  }) {
5262
- return /* @__PURE__ */ c(
5264
+ return /* @__PURE__ */ d(
5263
5265
  "div",
5264
5266
  {
5265
5267
  style: {
@@ -5283,7 +5285,7 @@ function Y({
5283
5285
  width: 4,
5284
5286
  height: 4,
5285
5287
  borderRadius: "50%",
5286
- background: o && o !== "online" ? $[o]?.color ?? t : t,
5288
+ background: o && o !== "online" ? C[o]?.color ?? t : t,
5287
5289
  boxShadow: `0 0 4px ${t}`,
5288
5290
  animation: o && o !== "online" && o !== "offline" ? "holo-led-blink 1s infinite" : "none"
5289
5291
  }
@@ -5324,7 +5326,7 @@ function Y({
5324
5326
  }
5325
5327
  );
5326
5328
  }
5327
- function hi(t, n, o, i) {
5329
+ function pi(t, n, o, i) {
5328
5330
  const r = o === "online" ? "online" : o;
5329
5331
  return t === "server" ? [
5330
5332
  {
@@ -5428,8 +5430,8 @@ function hi(t, n, o, i) {
5428
5430
  }
5429
5431
  ] : [];
5430
5432
  }
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 }) {
5433
+ const D = "cubic-bezier(0.34, 1.56, 0.64, 1)", fi = "cubic-bezier(0.16, 1, 0.3, 1)";
5434
+ function ui({ items: t, revealPhase: n }) {
5433
5435
  return /* @__PURE__ */ e(
5434
5436
  "div",
5435
5437
  {
@@ -5456,21 +5458,21 @@ function bi({ items: t, revealPhase: n }) {
5456
5458
  }
5457
5459
  );
5458
5460
  }
5459
- function gi({
5461
+ function hi({
5460
5462
  type: t,
5461
5463
  status: n,
5462
5464
  context: o,
5463
5465
  internal: i,
5464
5466
  revealPhase: r
5465
5467
  }) {
5466
- const a = $[n]?.color ?? $.online.color, s = "#ff8c00";
5468
+ const a = C[n]?.color ?? C.online.color, s = "#ff8c00";
5467
5469
  if (t === "server") {
5468
- const l = o.cpuLoad ?? 50, h = o.memLoad ?? 60, d = [
5470
+ const l = o.cpuLoad ?? 50, u = o.memLoad ?? 60, c = [
5469
5471
  {
5470
5472
  key: "cpu0",
5471
5473
  delay: 0,
5472
5474
  el: /* @__PURE__ */ e(
5473
- Ke,
5475
+ ze,
5474
5476
  {
5475
5477
  color: a,
5476
5478
  label: "CPU-0",
@@ -5484,7 +5486,7 @@ function gi({
5484
5486
  key: "cpu1",
5485
5487
  delay: 1,
5486
5488
  el: /* @__PURE__ */ e(
5487
- Ke,
5489
+ ze,
5488
5490
  {
5489
5491
  color: a,
5490
5492
  label: "CPU-1",
@@ -5498,12 +5500,12 @@ function gi({
5498
5500
  key: "heap0",
5499
5501
  delay: 2,
5500
5502
  el: /* @__PURE__ */ e(
5501
- Ze,
5503
+ Be,
5502
5504
  {
5503
5505
  color: "#8855ee",
5504
5506
  label: "HEAP-0",
5505
5507
  status: i[2]?.status,
5506
- usedPercent: h,
5508
+ usedPercent: u,
5507
5509
  delay: "0.1s"
5508
5510
  }
5509
5511
  )
@@ -5512,12 +5514,12 @@ function gi({
5512
5514
  key: "heap1",
5513
5515
  delay: 3,
5514
5516
  el: /* @__PURE__ */ e(
5515
- Ze,
5517
+ Be,
5516
5518
  {
5517
5519
  color: "#8855ee",
5518
5520
  label: "HEAP-1",
5519
5521
  status: i[3]?.status,
5520
- usedPercent: h * 0.85,
5522
+ usedPercent: u * 0.85,
5521
5523
  delay: "0.3s"
5522
5524
  }
5523
5525
  )
@@ -5525,13 +5527,13 @@ function gi({
5525
5527
  {
5526
5528
  key: "d1",
5527
5529
  delay: 4,
5528
- el: /* @__PURE__ */ e(De, { color: a, label: "DRIVE-1", status: i[4]?.status, activity: !0 })
5530
+ el: /* @__PURE__ */ e(Ce, { color: a, label: "DRIVE-1", status: i[4]?.status, activity: !0 })
5529
5531
  },
5530
5532
  {
5531
5533
  key: "d2",
5532
5534
  delay: 5,
5533
5535
  el: /* @__PURE__ */ e(
5534
- De,
5536
+ Ce,
5535
5537
  {
5536
5538
  color: a,
5537
5539
  label: "DRIVE-2",
@@ -5544,7 +5546,7 @@ function gi({
5544
5546
  key: "d3",
5545
5547
  delay: 6,
5546
5548
  el: /* @__PURE__ */ e(
5547
- De,
5549
+ Ce,
5548
5550
  {
5549
5551
  color: a,
5550
5552
  label: "DRIVE-3",
@@ -5561,7 +5563,7 @@ function gi({
5561
5563
  {
5562
5564
  key: "net",
5563
5565
  delay: 8,
5564
- el: /* @__PURE__ */ e(Wt, { color: a, label: "NET", status: i[8]?.status })
5566
+ el: /* @__PURE__ */ e(Rt, { color: a, label: "NET", status: i[8]?.status })
5565
5567
  }
5566
5568
  ];
5567
5569
  return /* @__PURE__ */ e(
@@ -5575,7 +5577,7 @@ function gi({
5575
5577
  alignItems: "center",
5576
5578
  padding: 24
5577
5579
  },
5578
- children: d.map(({ key: p, delay: f, el: g }) => /* @__PURE__ */ e(
5580
+ children: c.map(({ key: p, delay: f, el: g }) => /* @__PURE__ */ e(
5579
5581
  "div",
5580
5582
  {
5581
5583
  style: {
@@ -5591,22 +5593,22 @@ function gi({
5591
5593
  );
5592
5594
  }
5593
5595
  if (t === "dispatcher") {
5594
- const l = Array.from({ length: 8 }, (h, d) => {
5595
- const p = i[d];
5596
+ const l = Array.from({ length: 8 }, (u, c) => {
5597
+ const p = i[c];
5596
5598
  return /* @__PURE__ */ e(
5597
5599
  "div",
5598
5600
  {
5599
5601
  style: {
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`
5602
+ opacity: r >= 0.25 + c * 0.04 ? 1 : 0,
5603
+ transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
5604
+ transition: `opacity 0.35s ${D} ${c * 0.04}s, transform 0.4s ${D} ${c * 0.04}s`
5603
5605
  },
5604
- children: /* @__PURE__ */ e(Y, { color: a, label: `PORT-${d + 1}`, status: p?.status })
5606
+ children: /* @__PURE__ */ e(H, { color: a, label: `PORT-${c + 1}`, status: p?.status })
5605
5607
  },
5606
- `p${d}`
5608
+ `p${c}`
5607
5609
  );
5608
5610
  });
5609
- return /* @__PURE__ */ c(
5611
+ return /* @__PURE__ */ d(
5610
5612
  "div",
5611
5613
  {
5612
5614
  style: {
@@ -5618,7 +5620,7 @@ function gi({
5618
5620
  },
5619
5621
  children: [
5620
5622
  /* @__PURE__ */ e("div", { style: { display: "flex", gap: 10, flexWrap: "wrap", justifyContent: "center" }, children: l }),
5621
- /* @__PURE__ */ c("div", { style: { display: "flex", gap: 16 }, children: [
5623
+ /* @__PURE__ */ d("div", { style: { display: "flex", gap: 16 }, children: [
5622
5624
  /* @__PURE__ */ e(
5623
5625
  "div",
5624
5626
  {
@@ -5647,7 +5649,7 @@ function gi({
5647
5649
  );
5648
5650
  }
5649
5651
  if (t === "messageServer")
5650
- return /* @__PURE__ */ c(
5652
+ return /* @__PURE__ */ d(
5651
5653
  "div",
5652
5654
  {
5653
5655
  style: {
@@ -5667,7 +5669,7 @@ function gi({
5667
5669
  transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
5668
5670
  transition: `all 0.4s ${D} ${l * 0.08}s`
5669
5671
  },
5670
- children: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5672
+ children: /* @__PURE__ */ e(H, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5671
5673
  },
5672
5674
  l
5673
5675
  )),
@@ -5706,7 +5708,7 @@ function gi({
5706
5708
  );
5707
5709
  if (t === "database") {
5708
5710
  const l = o.capacity ?? 72;
5709
- return /* @__PURE__ */ c(
5711
+ return /* @__PURE__ */ d(
5710
5712
  "div",
5711
5713
  {
5712
5714
  style: {
@@ -5718,25 +5720,25 @@ function gi({
5718
5720
  padding: 24
5719
5721
  },
5720
5722
  children: [
5721
- [0, 1, 2].map((h) => /* @__PURE__ */ e(
5723
+ [0, 1, 2].map((u) => /* @__PURE__ */ e(
5722
5724
  "div",
5723
5725
  {
5724
5726
  style: {
5725
- opacity: r >= 0.2 + h * 0.12 ? 1 : 0,
5726
- transform: `scale(${r >= 0.2 + h * 0.12 ? 1 : 0.5})`,
5727
- transition: `all 0.45s ${D} ${h * 0.1}s`
5727
+ opacity: r >= 0.2 + u * 0.12 ? 1 : 0,
5728
+ transform: `scale(${r >= 0.2 + u * 0.12 ? 1 : 0.5})`,
5729
+ transition: `all 0.45s ${D} ${u * 0.1}s`
5728
5730
  },
5729
5731
  children: /* @__PURE__ */ e(
5730
- Qe,
5732
+ Me,
5731
5733
  {
5732
5734
  color: s,
5733
- label: `PLATTER-${h}`,
5734
- status: i[h]?.status,
5735
+ label: `PLATTER-${u}`,
5736
+ status: i[u]?.status,
5735
5737
  capacityPercent: l
5736
5738
  }
5737
5739
  )
5738
5740
  },
5739
- h
5741
+ u
5740
5742
  )),
5741
5743
  /* @__PURE__ */ e(
5742
5744
  "div",
@@ -5766,7 +5768,7 @@ function gi({
5766
5768
  }
5767
5769
  return null;
5768
5770
  }
5769
- function Ui({
5771
+ function Fi({
5770
5772
  type: t,
5771
5773
  name: n,
5772
5774
  status: o,
@@ -5776,8 +5778,8 @@ function Ui({
5776
5778
  subComponents: s,
5777
5779
  graphSeries: l
5778
5780
  }) {
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(
5781
+ const u = pi(t, n, o, a), c = C[o]?.color ?? C.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", g = r >= 0.2 ? "50%" : "0%", h = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5782
+ return /* @__PURE__ */ d(
5781
5783
  "div",
5782
5784
  {
5783
5785
  style: {
@@ -5788,7 +5790,7 @@ function Ui({
5788
5790
  flexDirection: "row",
5789
5791
  pointerEvents: "auto"
5790
5792
  },
5791
- onClick: (b) => b.stopPropagation(),
5793
+ onClick: (y) => y.stopPropagation(),
5792
5794
  children: [
5793
5795
  /* @__PURE__ */ e(
5794
5796
  "div",
@@ -5800,13 +5802,13 @@ function Ui({
5800
5802
  backdropFilter: "blur(10px)",
5801
5803
  WebkitBackdropFilter: "blur(10px)",
5802
5804
  opacity: p,
5803
- transition: `opacity 0.4s ${ui}`
5805
+ transition: `opacity 0.4s ${fi}`
5804
5806
  },
5805
5807
  onClick: i
5806
5808
  }
5807
5809
  ),
5808
5810
  /* @__PURE__ */ e(
5809
- pi,
5811
+ di,
5810
5812
  {
5811
5813
  type: t,
5812
5814
  name: n,
@@ -5816,7 +5818,7 @@ function Ui({
5816
5818
  series: l
5817
5819
  }
5818
5820
  ),
5819
- /* @__PURE__ */ c(
5821
+ /* @__PURE__ */ d(
5820
5822
  "div",
5821
5823
  {
5822
5824
  style: {
@@ -5829,7 +5831,7 @@ function Ui({
5829
5831
  minWidth: 0
5830
5832
  },
5831
5833
  children: [
5832
- /* @__PURE__ */ c(
5834
+ /* @__PURE__ */ d(
5833
5835
  "div",
5834
5836
  {
5835
5837
  style: {
@@ -5847,7 +5849,7 @@ function Ui({
5847
5849
  width: "50%",
5848
5850
  height: "100%",
5849
5851
  background: "linear-gradient(90deg, rgba(2, 8, 20, 0.98) 0%, rgba(2, 12, 28, 0.95) 100%)",
5850
- borderRight: `2px solid ${d}44`,
5852
+ borderRight: `2px solid ${c}44`,
5851
5853
  boxShadow: "4px 0 32px rgba(0,0,0,0.6)",
5852
5854
  transform: `translateX(${f})`,
5853
5855
  transition: `transform 0.7s ${D}`
@@ -5862,7 +5864,7 @@ function Ui({
5862
5864
  height: "100%",
5863
5865
  marginLeft: "auto",
5864
5866
  background: "linear-gradient(90deg, rgba(2, 12, 28, 0.95) 0%, rgba(2, 8, 20, 0.98) 100%)",
5865
- borderLeft: `2px solid ${d}44`,
5867
+ borderLeft: `2px solid ${c}44`,
5866
5868
  boxShadow: "-4px 0 32px rgba(0,0,0,0.6)",
5867
5869
  transform: `translateX(${g})`,
5868
5870
  transition: `transform 0.7s ${D}`
@@ -5872,7 +5874,7 @@ function Ui({
5872
5874
  ]
5873
5875
  }
5874
5876
  ),
5875
- /* @__PURE__ */ c(
5877
+ /* @__PURE__ */ d(
5876
5878
  "div",
5877
5879
  {
5878
5880
  style: {
@@ -5882,29 +5884,29 @@ function Ui({
5882
5884
  maxWidth: 520,
5883
5885
  minHeight: 320,
5884
5886
  background: "linear-gradient(180deg, rgba(4, 14, 28, 0.6) 0%, rgba(2, 8, 18, 0.85) 100%)",
5885
- border: `1px solid ${d}33`,
5887
+ border: `1px solid ${c}33`,
5886
5888
  borderRadius: 12,
5887
- boxShadow: `0 0 40px ${d}18, inset 0 0 60px rgba(0,0,0,0.4)`,
5889
+ boxShadow: `0 0 40px ${c}18, inset 0 0 60px rgba(0,0,0,0.4)`,
5888
5890
  display: "flex",
5889
5891
  flexDirection: "column",
5890
- opacity: u >= 0.1 ? 1 : 0,
5892
+ opacity: h >= 0.1 ? 1 : 0,
5891
5893
  transition: `opacity 0.5s ${D} 0.2s`
5892
5894
  },
5893
5895
  children: [
5894
- /* @__PURE__ */ c(
5896
+ /* @__PURE__ */ d(
5895
5897
  "div",
5896
5898
  {
5897
5899
  style: {
5898
5900
  padding: "12px 20px",
5899
- borderBottom: `1px solid ${d}22`,
5901
+ borderBottom: `1px solid ${c}22`,
5900
5902
  display: "flex",
5901
5903
  alignItems: "center",
5902
5904
  justifyContent: "space-between",
5903
- background: `linear-gradient(180deg, ${d}11 0%, transparent 100%)`,
5905
+ background: `linear-gradient(180deg, ${c}11 0%, transparent 100%)`,
5904
5906
  borderRadius: "12px 12px 0 0"
5905
5907
  },
5906
5908
  children: [
5907
- /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "center", gap: 10 }, children: [
5909
+ /* @__PURE__ */ d("div", { style: { display: "flex", alignItems: "center", gap: 10 }, children: [
5908
5910
  /* @__PURE__ */ e(
5909
5911
  "div",
5910
5912
  {
@@ -5912,13 +5914,13 @@ function Ui({
5912
5914
  width: 8,
5913
5915
  height: 8,
5914
5916
  borderRadius: "50%",
5915
- background: d,
5916
- boxShadow: `0 0 10px ${d}`,
5917
+ background: c,
5918
+ boxShadow: `0 0 10px ${c}`,
5917
5919
  animation: o === "warning" || o === "critical" ? "holo-led-blink 1.5s infinite" : "none"
5918
5920
  }
5919
5921
  }
5920
5922
  ),
5921
- /* @__PURE__ */ c(
5923
+ /* @__PURE__ */ d(
5922
5924
  "span",
5923
5925
  {
5924
5926
  style: {
@@ -5943,9 +5945,9 @@ function Ui({
5943
5945
  width: 32,
5944
5946
  height: 32,
5945
5947
  borderRadius: 6,
5946
- border: `1px solid ${d}44`,
5948
+ border: `1px solid ${c}44`,
5947
5949
  background: "rgba(0,0,0,0.4)",
5948
- color: d,
5950
+ color: c,
5949
5951
  fontSize: 18,
5950
5952
  cursor: "pointer",
5951
5953
  display: "flex",
@@ -5969,22 +5971,22 @@ function Ui({
5969
5971
  left: 0,
5970
5972
  right: 0,
5971
5973
  height: 1,
5972
- background: `linear-gradient(90deg, transparent 5%, ${d}88 50%, transparent 95%)`,
5973
- boxShadow: `0 0 8px ${d}`,
5974
+ background: `linear-gradient(90deg, transparent 5%, ${c}88 50%, transparent 95%)`,
5975
+ boxShadow: `0 0 8px ${c}`,
5974
5976
  animation: "holo-scan 3s linear infinite",
5975
5977
  pointerEvents: "none"
5976
5978
  }
5977
5979
  }
5978
5980
  ),
5979
- /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(bi, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
5980
- gi,
5981
+ /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(ui, { items: s, revealPhase: h }) : /* @__PURE__ */ e(
5982
+ hi,
5981
5983
  {
5982
5984
  type: t,
5983
5985
  name: n,
5984
5986
  status: o,
5985
5987
  context: a,
5986
- internal: h,
5987
- revealPhase: u
5988
+ internal: u,
5989
+ revealPhase: h
5988
5990
  }
5989
5991
  ) })
5990
5992
  ]
@@ -5997,17 +5999,17 @@ function Ui({
5997
5999
  }
5998
6000
  );
5999
6001
  }
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() });
6002
+ function bi({ onSubmit: t }) {
6003
+ const [n, o] = R(""), [i, r] = R(""), [a, s] = R(null), [l, u] = R(!1), c = n.trim().length > 0 && i.trim().length > 0;
6004
+ return /* @__PURE__ */ e("div", { className: "cred-overlay", children: /* @__PURE__ */ d("form", { className: "cred-panel", onSubmit: (f) => {
6005
+ f.preventDefault(), c && t({ accessKey: n.trim(), secretKey: i.trim() });
6004
6006
  }, onClick: (f) => f.stopPropagation(), children: [
6005
6007
  /* @__PURE__ */ e("div", { className: "cred-scanline" }),
6006
6008
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--tl" }),
6007
6009
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--tr" }),
6008
6010
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--bl" }),
6009
6011
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--br" }),
6010
- /* @__PURE__ */ e("div", { className: "cred-icon", children: /* @__PURE__ */ c(
6012
+ /* @__PURE__ */ e("div", { className: "cred-icon", children: /* @__PURE__ */ d(
6011
6013
  "svg",
6012
6014
  {
6013
6015
  width: "32",
@@ -6024,7 +6026,7 @@ function yi({ onSubmit: t }) {
6024
6026
  ) }),
6025
6027
  /* @__PURE__ */ e("div", { className: "cred-title", children: "DATA SOURCE ACCESS" }),
6026
6028
  /* @__PURE__ */ e("div", { className: "cred-subtitle", children: "AUTHENTICATION REQUIRED" }),
6027
- /* @__PURE__ */ c("div", { className: "cred-field", children: [
6029
+ /* @__PURE__ */ d("div", { className: "cred-field", children: [
6028
6030
  /* @__PURE__ */ e("label", { className: "cred-label", children: "ACCESS KEY" }),
6029
6031
  /* @__PURE__ */ e(
6030
6032
  "input",
@@ -6044,7 +6046,7 @@ function yi({ onSubmit: t }) {
6044
6046
  }
6045
6047
  )
6046
6048
  ] }),
6047
- /* @__PURE__ */ c("div", { className: "cred-field", children: [
6049
+ /* @__PURE__ */ d("div", { className: "cred-field", children: [
6048
6050
  /* @__PURE__ */ e("label", { className: "cred-label", children: "SECRET KEY" }),
6049
6051
  /* @__PURE__ */ e(
6050
6052
  "input",
@@ -6063,18 +6065,18 @@ function yi({ onSubmit: t }) {
6063
6065
  }
6064
6066
  )
6065
6067
  ] }),
6066
- /* @__PURE__ */ c(
6068
+ /* @__PURE__ */ d(
6067
6069
  "button",
6068
6070
  {
6069
6071
  className: "cred-btn",
6070
6072
  type: "submit",
6071
- disabled: !d,
6072
- onMouseEnter: () => h(!0),
6073
- onMouseLeave: () => h(!1),
6073
+ disabled: !c,
6074
+ onMouseEnter: () => u(!0),
6075
+ onMouseLeave: () => u(!1),
6074
6076
  style: {
6075
- opacity: d ? 1 : 0.35,
6076
- cursor: d ? "pointer" : "not-allowed",
6077
- ...l && d ? {
6077
+ opacity: c ? 1 : 0.35,
6078
+ cursor: c ? "pointer" : "not-allowed",
6079
+ ...l && c ? {
6078
6080
  background: "rgba(0,229,255,0.12)",
6079
6081
  boxShadow: "0 0 20px rgba(0,229,255,0.3), inset 0 0 12px rgba(0,229,255,0.08)"
6080
6082
  } : {}
@@ -6088,28 +6090,28 @@ function yi({ onSubmit: t }) {
6088
6090
  /* @__PURE__ */ e("div", { className: "cred-footer", children: "CREDENTIALS ARE STORED IN MEMORY ONLY" })
6089
6091
  ] }) });
6090
6092
  }
6091
- const xt = tt(null);
6092
- function mi() {
6093
- const t = ye(xt);
6093
+ const at = He(null);
6094
+ function gi() {
6095
+ const t = ae(at);
6094
6096
  if (!t)
6095
6097
  throw new Error("useAIOpsData must be used within an AIOPsDashboard with dataEndpoint configured");
6096
6098
  return t;
6097
6099
  }
6098
- function xi() {
6099
- return ye(xt);
6100
+ function yi() {
6101
+ return ae(at);
6100
6102
  }
6101
- function Yi(t) {
6102
- const { data: n } = mi();
6103
+ function Ui(t) {
6104
+ const { data: n } = gi();
6103
6105
  return n[t] ?? null;
6104
6106
  }
6105
- function vi(t) {
6107
+ function mi(t) {
6106
6108
  const n = /* @__PURE__ */ new Set();
6107
6109
  for (const o of Object.values(t))
6108
6110
  for (const i of Object.values(o))
6109
6111
  n.add(typeof i == "string" ? i : i.query);
6110
6112
  return Array.from(n);
6111
6113
  }
6112
- function wi(t) {
6114
+ function xi(t) {
6113
6115
  if (typeof t == "number") return t;
6114
6116
  if (typeof t == "string") {
6115
6117
  const n = Number(t);
@@ -6117,87 +6119,87 @@ function wi(t) {
6117
6119
  }
6118
6120
  return t;
6119
6121
  }
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);
6122
+ function vi({ config: t, children: n }) {
6123
+ const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [u, c] = R(null), [p, f] = R(null), g = Z(t);
6122
6124
  g.current = t;
6123
- const u = ie(r);
6124
- u.current = r;
6125
- const b = Ge(async () => {
6126
- const v = u.current, S = g.current;
6127
- if (v) {
6125
+ const h = Z(r);
6126
+ h.current = r;
6127
+ const y = ct(async () => {
6128
+ const x = h.current, w = g.current;
6129
+ if (x) {
6128
6130
  l(!0);
6129
6131
  try {
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, {
6132
+ const b = await Promise.allSettled(
6133
+ w.queries.map((S) => {
6134
+ const N = w.endpoint.includes("?") ? "&" : "?", B = `${w.endpoint}${N}query=${encodeURIComponent(S)}`;
6135
+ return fetch(B, {
6134
6136
  method: "GET",
6135
6137
  headers: {
6136
- "access-key": v.accessKey,
6137
- "access-secret-key": v.secretKey
6138
+ "access-key": x.accessKey,
6139
+ "access-secret-key": x.secretKey
6138
6140
  }
6139
6141
  }).then((z) => {
6140
6142
  if (!z.ok) throw new Error(`HTTP ${z.status}`);
6141
6143
  return z.text();
6142
- }).then((z) => ({ query: P, data: z.trim() }));
6144
+ }).then((z) => ({ query: S, data: z.trim() }));
6143
6145
  })
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);
6146
+ ), k = {};
6147
+ let T = 0;
6148
+ for (const S of b)
6149
+ S.status === "fulfilled" ? k[S.value.query] = S.value.data : T++;
6150
+ i((S) => ({ ...S, ...k }));
6151
+ const $ = w.queries.length;
6152
+ c(
6153
+ T > 0 ? `${T} of ${$} queries failed to refresh` : null
6154
+ ), T < $ && f(/* @__PURE__ */ new Date());
6155
+ } catch (b) {
6156
+ const k = b instanceof Error ? b.message : "Refresh failed";
6157
+ c(k);
6156
6158
  } finally {
6157
6159
  l(!1);
6158
6160
  }
6159
6161
  }
6160
6162
  }, []);
6161
- Re(() => {
6163
+ Te(() => {
6162
6164
  if (!r) return;
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 = {
6165
+ y();
6166
+ const x = g.current.refreshInterval ?? 6e4, w = window.setInterval(y, x);
6167
+ return () => clearInterval(w);
6168
+ }, [r, y]);
6169
+ const m = ct((x) => {
6170
+ a(x);
6171
+ }, []), v = {
6170
6172
  data: o,
6171
6173
  isRefreshing: s,
6172
- lastRefreshError: h,
6174
+ lastRefreshError: u,
6173
6175
  lastRefreshTime: p,
6174
6176
  credentialsSet: !!r,
6175
6177
  setCredentials: m
6176
6178
  };
6177
- return /* @__PURE__ */ c(xt.Provider, { value: w, children: [
6179
+ return /* @__PURE__ */ d(at.Provider, { value: v, children: [
6178
6180
  n,
6179
- !r && /* @__PURE__ */ e(yi, { onSubmit: m })
6181
+ !r && /* @__PURE__ */ e(bi, { onSubmit: m })
6180
6182
  ] });
6181
6183
  }
6182
- function Vi(t) {
6184
+ function Hi(t) {
6183
6185
  const { dataEndpoint: n, dataBindings: o, dataRefreshInterval: i } = t;
6184
6186
  if (n && o) {
6185
- const r = vi(o);
6187
+ const r = mi(o);
6186
6188
  return /* @__PURE__ */ e(
6187
- Si,
6189
+ vi,
6188
6190
  {
6189
6191
  config: {
6190
6192
  endpoint: n,
6191
6193
  queries: r,
6192
6194
  refreshInterval: i
6193
6195
  },
6194
- children: /* @__PURE__ */ e(At, { ...t })
6196
+ children: /* @__PURE__ */ e(yt, { ...t })
6195
6197
  }
6196
6198
  );
6197
6199
  }
6198
- return /* @__PURE__ */ e(At, { ...t });
6200
+ return /* @__PURE__ */ e(yt, { ...t });
6199
6201
  }
6200
- function At({
6202
+ function yt({
6201
6203
  brandName: t = "BUSAUD AIOps",
6202
6204
  brandTag: n = "3D MONITOR",
6203
6205
  services: o = [],
@@ -6206,76 +6208,42 @@ function At({
6206
6208
  carouselSpeed: a = 6e-3,
6207
6209
  fontFamily: s,
6208
6210
  dataBindings: l,
6209
- dataTransform: h,
6210
- children: d
6211
+ dataTransform: u,
6212
+ children: c
6211
6213
  }) {
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");
6214
+ const p = yi(), [f] = R(20), [g] = R(!1), [h] = R(!0), [y] = R(0.45), [m] = R(3.3), [v, x] = R("compact"), [w, b] = R(0), [k, T] = R(null), [$, S] = R(null), [N, B] = R(0), z = (E) => {
6215
+ v === "compact" && (T(E), 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(() => {
6216
+ b(6), x("expanded");
6215
6217
  }, 2400));
6216
- }, K = () => {
6217
- k ? (P(null), I(0)) : w === "expanded" && (v("collapsing"), y(0), C(null), setTimeout(() => {
6218
- v((T) => T === "collapsing" ? "compact" : T);
6218
+ }, Y = () => {
6219
+ $ ? (S(null), B(0)) : v === "expanded" && (x("collapsing"), b(0), T(null), setTimeout(() => {
6220
+ x((E) => E === "collapsing" ? "compact" : E);
6219
6221
  }, 1e3));
6220
- }, Z = Ge((T) => {
6221
- P(T), I(0);
6222
- }, []), me = Ge((T) => {
6223
- P(T);
6224
- }, []);
6222
+ }, le = (E) => {
6223
+ S(E), B(0);
6224
+ };
6225
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 xe = () => {
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], we = {}, le = {};
6244
- for (const [fe, 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 Se = at(Ye);
6248
- if (we[fe] = Se, typeof F == "object" && F.alert && typeof Se == "number") {
6249
- const { prop: H, warnAt: Ve = 70, critAt: St = 85, label: Ft } = F.alert, _e = Ft ?? fe, je = Math.round(Se);
6250
- if (Se >= St) {
6251
- const He = le[H];
6252
- (!He || He.severity < 2) && (le[H] = {
6253
- msg: `${_e} critical — ${je}%`,
6254
- internalRef: fe,
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 (Se >= Ve) {
6261
- const He = le[H];
6262
- (!He || He.severity < 1) && (le[H] = {
6263
- msg: `${_e} elevated — ${je}%`,
6264
- internalRef: fe,
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 [fe, F] of Object.entries(le))
6274
- we[fe] = { msg: F.msg, internalRef: F.internalRef };
6275
- return Object.keys(we).length > 0 ? q.cloneElement(ee, we) : 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, ve = k ? 1.15 : 1, pe = 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: [
6226
+ if (!$) return;
6227
+ const E = performance.now(), fe = 1200, te = () => {
6228
+ const J = performance.now() - E, j = Math.min(1, J / fe);
6229
+ B(j), j < 1 && requestAnimationFrame(te);
6230
+ }, ue = requestAnimationFrame(te);
6231
+ return () => cancelAnimationFrame(ue);
6232
+ }, [$]);
6233
+ const se = () => {
6234
+ S(null), B(0);
6235
+ }, I = o.find((E) => E.name === k), V = I?.status ?? "online", de = I?.dbSync ?? !0, Oe = I?.metrics, Le = I?.alerts, _ = u ?? xi, L = p?.data, F = Ze(() => !L || !l ? c : q.Children.map(c, (E) => {
6236
+ if (!q.isValidElement(E)) return E;
6237
+ const fe = E.props.name;
6238
+ if (!fe || !l[fe]) return E;
6239
+ const te = l[fe], ue = {};
6240
+ for (const [J, j] of Object.entries(te)) {
6241
+ const dt = typeof j == "string" ? j : j.query, me = typeof j == "object" && j.transform ? j.transform : _, De = L[dt];
6242
+ De !== void 0 && (ue[J] = me(De));
6243
+ }
6244
+ return Object.keys(ue).length > 0 ? q.cloneElement(E, ue) : E;
6245
+ }), [c, L, l, _]), ce = p?.lastRefreshError ?? null, U = 330, ye = 340, Ye = $ ? 1.15 : 1, Ve = $ ? -($.ex - U) * 0.06 : 0, pe = $ ? -($.ey - ye) * 0.06 : 0;
6246
+ return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
6279
6247
  /* @__PURE__ */ e(
6280
6248
  "div",
6281
6249
  {
@@ -6289,18 +6257,18 @@ function At({
6289
6257
  backgroundPosition: "center center",
6290
6258
  backgroundRepeat: "no-repeat",
6291
6259
  transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
6292
- transform: `translate(${pe}px, ${ot}px) scale(${ve})`,
6260
+ transform: `translate(${Ve}px, ${pe}px) scale(${Ye})`,
6293
6261
  willChange: "transform"
6294
6262
  }
6295
6263
  }
6296
6264
  ),
6297
- /* @__PURE__ */ c("header", { className: "app-header", children: [
6298
- /* @__PURE__ */ c("div", { className: "hdr-brand", children: [
6265
+ /* @__PURE__ */ d("header", { className: "app-header", children: [
6266
+ /* @__PURE__ */ d("div", { className: "hdr-brand", children: [
6299
6267
  /* @__PURE__ */ e("span", { className: "brand-pulse" }),
6300
6268
  /* @__PURE__ */ e("span", { className: "brand-text", children: t })
6301
6269
  ] }),
6302
- /* @__PURE__ */ c("div", { className: "hdr-right", children: [
6303
- ce && /* @__PURE__ */ c("div", { className: "hdr-refresh-error", children: [
6270
+ /* @__PURE__ */ d("div", { className: "hdr-right", children: [
6271
+ ce && /* @__PURE__ */ d("div", { className: "hdr-refresh-error", children: [
6304
6272
  /* @__PURE__ */ e("span", { className: "refresh-error-dot" }),
6305
6273
  /* @__PURE__ */ e("span", { className: "refresh-error-text", children: "DATA REFRESH FAILED" })
6306
6274
  ] }),
@@ -6312,144 +6280,143 @@ function At({
6312
6280
  {
6313
6281
  className: "scene",
6314
6282
  style: {
6315
- cursor: w === "expanded" ? "zoom-out" : "default"
6283
+ cursor: v === "expanded" ? "zoom-out" : "default"
6316
6284
  },
6317
- onClick: K,
6285
+ onClick: Y,
6318
6286
  children: /* @__PURE__ */ e(
6319
- Xt,
6287
+ Ht,
6320
6288
  {
6321
- viewState: w,
6322
- animPhase: S,
6323
- selectedSystem: x,
6324
- selectedComponent: k,
6325
- drillAnimPhase: O,
6289
+ viewState: v,
6290
+ animPhase: w,
6291
+ selectedSystem: k,
6292
+ selectedComponent: $,
6293
+ drillAnimPhase: N,
6326
6294
  rotateY: f,
6327
6295
  autoRotateComponents: g,
6328
- componentScale: b,
6296
+ componentScale: y,
6329
6297
  drillZoom: m,
6330
- autoRotateCarousel: u,
6298
+ autoRotateCarousel: h,
6331
6299
  carouselSpeed: a,
6332
6300
  logoUrl: r,
6333
6301
  onSelectSystem: z,
6334
- onBackgroundClick: K,
6335
- onComponentClick: Z,
6336
- onComponentUpdate: me,
6337
- onCloseDrill: xe,
6338
- selectedSystemStatus: Fe,
6339
- selectedSystemDbSync: J,
6340
- selectedSystemMetrics: B,
6341
- selectedSystemAlerts: de,
6342
- children: ne
6302
+ onBackgroundClick: Y,
6303
+ onComponentClick: le,
6304
+ onCloseDrill: se,
6305
+ selectedSystemStatus: V,
6306
+ selectedSystemDbSync: de,
6307
+ selectedSystemMetrics: Oe,
6308
+ selectedSystemAlerts: Le,
6309
+ children: F
6343
6310
  }
6344
6311
  )
6345
6312
  }
6346
6313
  )
6347
6314
  ] });
6348
6315
  }
6349
- function E(t, n, o = 24) {
6316
+ function P(t, n, o = 24) {
6350
6317
  return Array.from({ length: o }, (i, r) => {
6351
6318
  const a = r / o;
6352
6319
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
6353
6320
  });
6354
6321
  }
6355
- function Mt(t) {
6322
+ function Ct(t) {
6356
6323
  return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
6357
6324
  }
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";
6325
+ function Ee(t, n, o) {
6326
+ const i = t === "online" ? "online" : t, r = Ct(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", u = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
6360
6327
  return [
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 }) }
6328
+ { 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 }) },
6329
+ { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(ze, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
6330
+ { id: "heap-0", label: "HEAP-0", status: u, detail: u === "warning" ? "Memory heap usage" : u === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(Be, { color: "#8855ee", label: "HEAP-0", status: u, usedPercent: s }) },
6331
+ { id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(Be, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
6332
+ { id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(Ce, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
6333
+ { id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(Ce, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
6334
+ { id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(Ce, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
6335
+ { 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 }) },
6336
+ { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(Rt, { color: r, label: "NET", status: p }) }
6370
6337
  ];
6371
6338
  }
6372
- function We(t) {
6339
+ function Pe(t) {
6373
6340
  const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
6374
6341
  return [
6375
- { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: E(n, 15) },
6376
- { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: E(n * 0.7, 12) },
6377
- { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: E(o, 18) },
6378
- { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: E(o * 0.85, 14) },
6379
- { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: E(40, 25) },
6380
- { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: E(35, 20) },
6381
- { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: E(30, 22) },
6382
- { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: E(55, 20) }
6342
+ { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: P(n, 15) },
6343
+ { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: P(n * 0.7, 12) },
6344
+ { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: P(o, 18) },
6345
+ { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: P(o * 0.85, 14) },
6346
+ { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: P(40, 25) },
6347
+ { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: P(35, 20) },
6348
+ { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: P(30, 22) },
6349
+ { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: P(55, 20) }
6383
6350
  ];
6384
6351
  }
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";
6352
+ function Et(t, n, o) {
6353
+ const i = t === "online" ? "online" : t, r = Ct(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
6387
6354
  return [
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" }) },
6355
+ { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-1", status: "online" }) },
6356
+ { id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-2", status: "online" }) },
6357
+ { id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(H, { color: r, label: "PORT-3", status: a }) },
6358
+ { id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-4", status: "online" }) },
6359
+ { id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(H, { color: r, label: "PORT-5", status: s }) },
6360
+ { id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-6", status: "online" }) },
6361
+ { id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-7", status: "online" }) },
6362
+ { id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(H, { color: r, label: "PORT-8", status: "online" }) },
6396
6363
  { 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 }) },
6397
6364
  { id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
6398
6365
  ];
6399
6366
  }
6400
- function Bt(t) {
6367
+ function Pt(t) {
6401
6368
  const n = t?.traffic ?? 50;
6402
6369
  return [
6403
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
6404
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: E(60, 25) },
6405
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: E(45, 20) },
6406
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: E(70, 30) },
6407
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
6370
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: P(n, 20) },
6371
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: P(60, 25) },
6372
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: P(45, 20) },
6373
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: P(70, 30) },
6374
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: P(n * 0.9, 15) }
6408
6375
  ];
6409
6376
  }
6410
- function $i(t, n, o) {
6377
+ function wi(t, n, o) {
6411
6378
  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";
6412
6379
  return [
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 }) },
6380
+ { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(H, { color: "#bb55ff", label: "INST-0", status: "online" }) },
6381
+ { id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(H, { color: "#bb55ff", label: "INST-1", status: "online" }) },
6382
+ { id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(H, { color: "#bb55ff", label: "INST-2", status: r }) },
6416
6383
  { 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 }) },
6417
6384
  { id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
6418
6385
  { id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
6419
6386
  { 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 }) }
6420
6387
  ];
6421
6388
  }
6422
- function ki(t) {
6389
+ function Si(t) {
6423
6390
  const n = t?.queueDepth ?? 50;
6424
6391
  return [
6425
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
6426
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: E(60, 25) },
6427
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: E(45, 20) },
6428
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: E(70, 30) },
6429
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
6392
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: P(n, 20) },
6393
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: P(60, 25) },
6394
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: P(45, 20) },
6395
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: P(70, 30) },
6396
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: P(n * 0.9, 15) }
6430
6397
  ];
6431
6398
  }
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";
6399
+ function Fe(t, n, o) {
6400
+ const i = t === "online" ? "online" : t, r = "#ff8c00", a = o?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && n === "DB-STB" ? "warning" : "online", u = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
6434
6401
  return [
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 }) },
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 }) },
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 }) }
6402
+ { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Me, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
6403
+ { 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 }) },
6404
+ { 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 }) },
6405
+ { id: "conn-pool", label: "CONN-POOL", status: u, detail: u === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "CONN-POOL", status: u }) },
6406
+ { 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 }) }
6440
6407
  ];
6441
6408
  }
6442
- function et(t) {
6409
+ function Ue(t) {
6443
6410
  const n = t?.capacity ?? 70;
6444
6411
  return [
6445
- { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: E(40, 20) },
6446
- { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: E(55, 25) },
6447
- { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: E(35, 18) },
6448
- { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: E(n, 15) },
6449
- { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: E(75, 12) }
6412
+ { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: P(40, 20) },
6413
+ { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: P(55, 25) },
6414
+ { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: P(35, 18) },
6415
+ { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: P(n, 15) },
6416
+ { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: P(75, 12) }
6450
6417
  ];
6451
6418
  }
6452
- function vt(t) {
6419
+ function lt(t) {
6453
6420
  const n = [
6454
6421
  t.wdStatus,
6455
6422
  t.msStatus,
@@ -6461,8 +6428,8 @@ function vt(t) {
6461
6428
  ];
6462
6429
  return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
6463
6430
  }
6464
- function _i(t) {
6465
- const n = vt(t), o = n === "critical" || n === "offline", i = n === "warning";
6431
+ function Yi(t) {
6432
+ const n = lt(t), o = n === "critical" || n === "offline", i = n === "warning";
6466
6433
  return [
6467
6434
  {
6468
6435
  label: "Uptime",
@@ -6483,8 +6450,8 @@ function _i(t) {
6483
6450
  }
6484
6451
  ];
6485
6452
  }
6486
- function ji(t) {
6487
- const n = vt(t), o = n === "critical" || n === "offline", i = n === "warning";
6453
+ function Vi(t) {
6454
+ const n = lt(t), o = n === "critical" || n === "offline", i = n === "warning";
6488
6455
  return [
6489
6456
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
6490
6457
  ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
@@ -6492,7 +6459,7 @@ function ji(t) {
6492
6459
  ...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6493
6460
  ];
6494
6461
  }
6495
- const Ri = [
6462
+ const $i = [
6496
6463
  { from: [330, 120], to: [220, 260], visibleAtPhase: 3 },
6497
6464
  { from: [330, 120], to: [440, 260], visibleAtPhase: 3 },
6498
6465
  { from: [220, 260], to: [165, 390], visibleAtPhase: 4 },
@@ -6505,9 +6472,9 @@ const Ri = [
6505
6472
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
6506
6473
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6507
6474
  ];
6508
- function Ci({ config: t }) {
6509
- const n = q.useContext(Ce), 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: [
6475
+ function ki({ config: t }) {
6476
+ const n = q.useContext(ge), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: u, pdbStatus: c, sdbStatus: p, dbSync: f } = t;
6477
+ return /* @__PURE__ */ d(Ae, { children: [
6511
6478
  /* @__PURE__ */ e(
6512
6479
  A,
6513
6480
  {
@@ -6517,7 +6484,7 @@ function Ci({ config: t }) {
6517
6484
  zIndex: 10,
6518
6485
  visibleAtPhase: 2,
6519
6486
  color: "#00e5ff",
6520
- children: /* @__PURE__ */ e(yt, { status: "online", scale: 1.5 })
6487
+ children: /* @__PURE__ */ e(ot, { status: "online", scale: 1.5 })
6521
6488
  }
6522
6489
  ),
6523
6490
  /* @__PURE__ */ e(
@@ -6536,11 +6503,11 @@ function Ci({ config: t }) {
6536
6503
  name: "WEB-DISP",
6537
6504
  status: r,
6538
6505
  context: { traffic: 78 },
6539
- subComponents: zt(r),
6540
- graphSeries: Bt({ traffic: 78 })
6506
+ subComponents: Et(r),
6507
+ graphSeries: Pt({ traffic: 78 })
6541
6508
  },
6542
6509
  children: /* @__PURE__ */ e(
6543
- mt,
6510
+ rt,
6544
6511
  {
6545
6512
  rotateY: o,
6546
6513
  autoRotate: i,
@@ -6569,11 +6536,11 @@ function Ci({ config: t }) {
6569
6536
  name: "MSG-SRV",
6570
6537
  status: a,
6571
6538
  context: { queueDepth: 45 },
6572
- subComponents: $i(a),
6573
- graphSeries: ki({ queueDepth: 45 })
6539
+ subComponents: wi(a),
6540
+ graphSeries: Si({ queueDepth: 45 })
6574
6541
  },
6575
6542
  children: /* @__PURE__ */ e(
6576
- Dt,
6543
+ $t,
6577
6544
  {
6578
6545
  rotateY: -o,
6579
6546
  autoRotate: i,
@@ -6603,11 +6570,11 @@ function Ci({ config: t }) {
6603
6570
  name: "APP-01",
6604
6571
  status: s,
6605
6572
  context: { cpuLoad: 67, memLoad: 72 },
6606
- subComponents: Ne(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6607
- graphSeries: We({ cpuLoad: 67, memLoad: 72 })
6573
+ subComponents: Ee(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6574
+ graphSeries: Pe({ cpuLoad: 67, memLoad: 72 })
6608
6575
  },
6609
6576
  children: /* @__PURE__ */ e(
6610
- ke,
6577
+ be,
6611
6578
  {
6612
6579
  rotateY: o,
6613
6580
  autoRotate: i,
@@ -6636,11 +6603,11 @@ function Ci({ config: t }) {
6636
6603
  name: "APP-02",
6637
6604
  status: l,
6638
6605
  context: { cpuLoad: 89, memLoad: 91 },
6639
- subComponents: Ne(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6640
- graphSeries: We({ cpuLoad: 89, memLoad: 91 })
6606
+ subComponents: Ee(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6607
+ graphSeries: Pe({ cpuLoad: 89, memLoad: 91 })
6641
6608
  },
6642
6609
  children: /* @__PURE__ */ e(
6643
- ke,
6610
+ be,
6644
6611
  {
6645
6612
  rotateY: o,
6646
6613
  autoRotate: i,
@@ -6667,17 +6634,17 @@ function Ci({ config: t }) {
6667
6634
  componentInfo: {
6668
6635
  type: "server",
6669
6636
  name: "APP-03",
6670
- status: h,
6637
+ status: u,
6671
6638
  context: { cpuLoad: 45, memLoad: 63 },
6672
- subComponents: Ne(h, "APP-03", { cpuLoad: 45, memLoad: 63 }),
6673
- graphSeries: We({ cpuLoad: 45, memLoad: 63 })
6639
+ subComponents: Ee(u, "APP-03", { cpuLoad: 45, memLoad: 63 }),
6640
+ graphSeries: Pe({ cpuLoad: 45, memLoad: 63 })
6674
6641
  },
6675
6642
  children: /* @__PURE__ */ e(
6676
- ke,
6643
+ be,
6677
6644
  {
6678
6645
  rotateY: o,
6679
6646
  autoRotate: i,
6680
- status: h,
6647
+ status: u,
6681
6648
  name: "APP-03",
6682
6649
  cpuLoad: 45,
6683
6650
  memLoad: 63,
@@ -6700,17 +6667,17 @@ function Ci({ config: t }) {
6700
6667
  componentInfo: {
6701
6668
  type: "database",
6702
6669
  name: "DB-PRI",
6703
- status: d,
6670
+ status: c,
6704
6671
  context: { capacity: 72 },
6705
- subComponents: Je(d, "DB-PRI", { capacity: 72 }),
6706
- graphSeries: et({ capacity: 72 })
6672
+ subComponents: Fe(c, "DB-PRI", { capacity: 72 }),
6673
+ graphSeries: Ue({ capacity: 72 })
6707
6674
  },
6708
6675
  children: /* @__PURE__ */ e(
6709
- Ue,
6676
+ Ne,
6710
6677
  {
6711
6678
  rotateY: -o,
6712
6679
  autoRotate: i,
6713
- status: d,
6680
+ status: c,
6714
6681
  name: "DB-PRI",
6715
6682
  capacity: 72,
6716
6683
  connections: 284,
@@ -6735,11 +6702,11 @@ function Ci({ config: t }) {
6735
6702
  name: "DB-STB",
6736
6703
  status: p,
6737
6704
  context: { capacity: 72 },
6738
- subComponents: Je(p, "DB-STB", { capacity: 72 }),
6739
- graphSeries: et({ capacity: 72 })
6705
+ subComponents: Fe(p, "DB-STB", { capacity: 72 }),
6706
+ graphSeries: Ue({ capacity: 72 })
6740
6707
  },
6741
6708
  children: /* @__PURE__ */ e(
6742
- Ue,
6709
+ Ne,
6743
6710
  {
6744
6711
  rotateY: o,
6745
6712
  autoRotate: i,
@@ -6762,15 +6729,15 @@ function Ci({ config: t }) {
6762
6729
  visibleAtPhase: 6,
6763
6730
  fixedScale: 1,
6764
6731
  bare: !0,
6765
- children: /* @__PURE__ */ e(It, { synced: f, latencyMs: f ? 8 : 342 })
6732
+ children: /* @__PURE__ */ e(St, { synced: f, latencyMs: f ? 8 : 342 })
6766
6733
  }
6767
6734
  ),
6768
- /* @__PURE__ */ e(Pi, { config: t })
6735
+ /* @__PURE__ */ e(Ri, { config: t })
6769
6736
  ] });
6770
6737
  }
6771
- function Pi({ config: t }) {
6772
- const n = q.useContext(Ce), { 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: [
6738
+ function Ri({ config: t }) {
6739
+ const n = q.useContext(ge), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: u, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
6740
+ return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6774
6741
  /* @__PURE__ */ e(
6775
6742
  W,
6776
6743
  {
@@ -6866,17 +6833,17 @@ function Pi({ config: t }) {
6866
6833
  {
6867
6834
  ex: 460,
6868
6835
  ey: 520,
6869
- status: h,
6836
+ status: u,
6870
6837
  title: "DB-STB",
6871
- msg: h === "critical" || h === "offline" ? "Sync failure." : "Replication lag.",
6838
+ msg: u === "critical" || u === "offline" ? "Sync failure." : "Replication lag.",
6872
6839
  offsetX: 110,
6873
6840
  offsetY: 30,
6874
6841
  align: "right",
6875
6842
  isVisible: !!p,
6876
- internalRef: h !== "online" ? "PLATTER-2" : void 0
6843
+ internalRef: u !== "online" ? "PLATTER-2" : void 0
6877
6844
  }
6878
6845
  ),
6879
- !d && /* @__PURE__ */ e(
6846
+ !c && /* @__PURE__ */ e(
6880
6847
  W,
6881
6848
  {
6882
6849
  ex: 330,
@@ -6893,19 +6860,19 @@ function Pi({ config: t }) {
6893
6860
  )
6894
6861
  ] }) : null;
6895
6862
  }
6896
- function Xi({ config: t, ...n }) {
6863
+ function _i({ config: t, ...n }) {
6897
6864
  return /* @__PURE__ */ e(
6898
- Lt,
6865
+ xt,
6899
6866
  {
6900
6867
  name: t.name,
6901
- status: vt(t),
6902
- connections: Ri,
6868
+ status: lt(t),
6869
+ connections: $i,
6903
6870
  ...n,
6904
- children: /* @__PURE__ */ e(Ci, { config: t })
6871
+ children: /* @__PURE__ */ e(ki, { config: t })
6905
6872
  }
6906
6873
  );
6907
6874
  }
6908
- function wt(t) {
6875
+ function st(t) {
6909
6876
  const n = [
6910
6877
  t.dispStatus,
6911
6878
  t.srv1Status,
@@ -6916,8 +6883,8 @@ function wt(t) {
6916
6883
  ];
6917
6884
  return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
6918
6885
  }
6919
- function qi(t) {
6920
- const n = wt(t), o = n === "critical" || n === "offline", i = n === "warning";
6886
+ function ji(t) {
6887
+ const n = st(t), o = n === "critical" || n === "offline", i = n === "warning";
6921
6888
  return [
6922
6889
  {
6923
6890
  label: "Uptime",
@@ -6938,8 +6905,8 @@ function qi(t) {
6938
6905
  }
6939
6906
  ];
6940
6907
  }
6941
- function Qi(t) {
6942
- const n = wt(t), o = n === "critical" || n === "offline", i = n === "warning";
6908
+ function Xi(t) {
6909
+ const n = st(t), o = n === "critical" || n === "offline", i = n === "warning";
6943
6910
  return [
6944
6911
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
6945
6912
  ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
@@ -6947,7 +6914,7 @@ function Qi(t) {
6947
6914
  ...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6948
6915
  ];
6949
6916
  }
6950
- const Ei = [
6917
+ const Ci = [
6951
6918
  { from: [330, 120], to: [330, 260], visibleAtPhase: 3 },
6952
6919
  { from: [330, 260], to: [165, 390], visibleAtPhase: 4 },
6953
6920
  { from: [330, 260], to: [330, 390], visibleAtPhase: 4 },
@@ -6956,9 +6923,9 @@ const Ei = [
6956
6923
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
6957
6924
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6958
6925
  ];
6959
- function Ai({ config: t }) {
6960
- const n = q.useContext(Ce), 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: [
6926
+ function Ei({ config: t }) {
6927
+ const n = q.useContext(ge), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: u, sdbStatus: c, dbSync: p } = t;
6928
+ return /* @__PURE__ */ d(Ae, { children: [
6962
6929
  /* @__PURE__ */ e(
6963
6930
  A,
6964
6931
  {
@@ -6968,7 +6935,7 @@ function Ai({ config: t }) {
6968
6935
  zIndex: 10,
6969
6936
  visibleAtPhase: 2,
6970
6937
  color: "#00e5ff",
6971
- children: /* @__PURE__ */ e(yt, { status: "online", scale: 1.5 })
6938
+ children: /* @__PURE__ */ e(ot, { status: "online", scale: 1.5 })
6972
6939
  }
6973
6940
  ),
6974
6941
  /* @__PURE__ */ e(
@@ -6987,11 +6954,11 @@ function Ai({ config: t }) {
6987
6954
  name: "DISP-01",
6988
6955
  status: r,
6989
6956
  context: { traffic: 78 },
6990
- subComponents: zt(r),
6991
- graphSeries: Bt({ traffic: 78 })
6957
+ subComponents: Et(r),
6958
+ graphSeries: Pt({ traffic: 78 })
6992
6959
  },
6993
6960
  children: /* @__PURE__ */ e(
6994
- mt,
6961
+ rt,
6995
6962
  {
6996
6963
  rotateY: o,
6997
6964
  autoRotate: i,
@@ -7020,11 +6987,11 @@ function Ai({ config: t }) {
7020
6987
  name: "APP-01",
7021
6988
  status: a,
7022
6989
  context: { cpuLoad: 67, memLoad: 72 },
7023
- subComponents: Ne(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
7024
- graphSeries: We({ cpuLoad: 67, memLoad: 72 })
6990
+ subComponents: Ee(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6991
+ graphSeries: Pe({ cpuLoad: 67, memLoad: 72 })
7025
6992
  },
7026
6993
  children: /* @__PURE__ */ e(
7027
- ke,
6994
+ be,
7028
6995
  {
7029
6996
  rotateY: o,
7030
6997
  autoRotate: i,
@@ -7053,11 +7020,11 @@ function Ai({ config: t }) {
7053
7020
  name: "APP-02",
7054
7021
  status: s,
7055
7022
  context: { cpuLoad: 89, memLoad: 91 },
7056
- subComponents: Ne(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
7057
- graphSeries: We({ cpuLoad: 89, memLoad: 91 })
7023
+ subComponents: Ee(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
7024
+ graphSeries: Pe({ cpuLoad: 89, memLoad: 91 })
7058
7025
  },
7059
7026
  children: /* @__PURE__ */ e(
7060
- ke,
7027
+ be,
7061
7028
  {
7062
7029
  rotateY: o,
7063
7030
  autoRotate: i,
@@ -7086,11 +7053,11 @@ function Ai({ config: t }) {
7086
7053
  name: "APP-03",
7087
7054
  status: l,
7088
7055
  context: { cpuLoad: 45, memLoad: 63 },
7089
- subComponents: Ne(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
7090
- graphSeries: We({ cpuLoad: 45, memLoad: 63 })
7056
+ subComponents: Ee(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
7057
+ graphSeries: Pe({ cpuLoad: 45, memLoad: 63 })
7091
7058
  },
7092
7059
  children: /* @__PURE__ */ e(
7093
- ke,
7060
+ be,
7094
7061
  {
7095
7062
  rotateY: o,
7096
7063
  autoRotate: i,
@@ -7117,17 +7084,17 @@ function Ai({ config: t }) {
7117
7084
  componentInfo: {
7118
7085
  type: "database",
7119
7086
  name: "DB-PRI",
7120
- status: h,
7087
+ status: u,
7121
7088
  context: { capacity: 72 },
7122
- subComponents: Je(h, "DB-PRI", { capacity: 72 }),
7123
- graphSeries: et({ capacity: 72 })
7089
+ subComponents: Fe(u, "DB-PRI", { capacity: 72 }),
7090
+ graphSeries: Ue({ capacity: 72 })
7124
7091
  },
7125
7092
  children: /* @__PURE__ */ e(
7126
- Ue,
7093
+ Ne,
7127
7094
  {
7128
7095
  rotateY: -o,
7129
7096
  autoRotate: i,
7130
- status: h,
7097
+ status: u,
7131
7098
  name: "DB-PRI",
7132
7099
  capacity: 72,
7133
7100
  connections: 284,
@@ -7150,17 +7117,17 @@ function Ai({ config: t }) {
7150
7117
  componentInfo: {
7151
7118
  type: "database",
7152
7119
  name: "DB-STB",
7153
- status: d,
7120
+ status: c,
7154
7121
  context: { capacity: 72 },
7155
- subComponents: Je(d, "DB-STB", { capacity: 72 }),
7156
- graphSeries: et({ capacity: 72 })
7122
+ subComponents: Fe(c, "DB-STB", { capacity: 72 }),
7123
+ graphSeries: Ue({ capacity: 72 })
7157
7124
  },
7158
7125
  children: /* @__PURE__ */ e(
7159
- Ue,
7126
+ Ne,
7160
7127
  {
7161
7128
  rotateY: o,
7162
7129
  autoRotate: i,
7163
- status: d,
7130
+ status: c,
7164
7131
  name: "DB-STB",
7165
7132
  capacity: 72,
7166
7133
  connections: 0,
@@ -7179,15 +7146,15 @@ function Ai({ config: t }) {
7179
7146
  visibleAtPhase: 6,
7180
7147
  fixedScale: 1,
7181
7148
  bare: !0,
7182
- children: /* @__PURE__ */ e(It, { synced: p, latencyMs: p ? 8 : 342 })
7149
+ children: /* @__PURE__ */ e(St, { synced: p, latencyMs: p ? 8 : 342 })
7183
7150
  }
7184
7151
  ),
7185
- /* @__PURE__ */ e(Ti, { config: t })
7152
+ /* @__PURE__ */ e(Pi, { config: t })
7186
7153
  ] });
7187
7154
  }
7188
- function Ti({ config: t }) {
7189
- const n = q.useContext(Ce), { 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: [
7155
+ function Pi({ config: t }) {
7156
+ const n = q.useContext(ge), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: u } = t, c = n?.isSelected && n?.isExpandedPos;
7157
+ return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
7191
7158
  /* @__PURE__ */ e(
7192
7159
  W,
7193
7160
  {
@@ -7199,7 +7166,7 @@ function Ti({ config: t }) {
7199
7166
  offsetX: -90,
7200
7167
  offsetY: -40,
7201
7168
  align: "left",
7202
- isVisible: !!d,
7169
+ isVisible: !!c,
7203
7170
  internalRef: o !== "online" ? "PORT-3" : void 0
7204
7171
  }
7205
7172
  ),
@@ -7214,7 +7181,7 @@ function Ti({ config: t }) {
7214
7181
  offsetX: -110,
7215
7182
  offsetY: -30,
7216
7183
  align: "left",
7217
- isVisible: !!d,
7184
+ isVisible: !!c,
7218
7185
  internalRef: i !== "online" ? "CPU-0" : void 0
7219
7186
  }
7220
7187
  ),
@@ -7229,7 +7196,7 @@ function Ti({ config: t }) {
7229
7196
  offsetX: 100,
7230
7197
  offsetY: -80,
7231
7198
  align: "right",
7232
- isVisible: !!d,
7199
+ isVisible: !!c,
7233
7200
  internalRef: r !== "online" ? "HEAP-0" : void 0
7234
7201
  }
7235
7202
  ),
@@ -7244,7 +7211,7 @@ function Ti({ config: t }) {
7244
7211
  offsetX: 110,
7245
7212
  offsetY: -30,
7246
7213
  align: "right",
7247
- isVisible: !!d,
7214
+ isVisible: !!c,
7248
7215
  internalRef: a !== "online" ? "THREAD-POOL" : void 0
7249
7216
  }
7250
7217
  ),
@@ -7259,7 +7226,7 @@ function Ti({ config: t }) {
7259
7226
  offsetX: -110,
7260
7227
  offsetY: 30,
7261
7228
  align: "left",
7262
- isVisible: !!d,
7229
+ isVisible: !!c,
7263
7230
  internalRef: s !== "online" ? s === "critical" ? "CONN-POOL" : "QUERY-CACHE" : void 0
7264
7231
  }
7265
7232
  ),
@@ -7274,11 +7241,11 @@ function Ti({ config: t }) {
7274
7241
  offsetX: 110,
7275
7242
  offsetY: 30,
7276
7243
  align: "right",
7277
- isVisible: !!d,
7244
+ isVisible: !!c,
7278
7245
  internalRef: l !== "online" ? "PLATTER-2" : void 0
7279
7246
  }
7280
7247
  ),
7281
- !h && /* @__PURE__ */ e(
7248
+ !u && /* @__PURE__ */ e(
7282
7249
  W,
7283
7250
  {
7284
7251
  ex: 330,
@@ -7289,86 +7256,86 @@ function Ti({ config: t }) {
7289
7256
  offsetX: 0,
7290
7257
  offsetY: 60,
7291
7258
  align: "bottom",
7292
- isVisible: !!d,
7259
+ isVisible: !!c,
7293
7260
  internalRef: "PLATTER-2"
7294
7261
  }
7295
7262
  )
7296
7263
  ] }) : null;
7297
7264
  }
7298
- function Gi({ config: t, ...n }) {
7265
+ function qi({ config: t, ...n }) {
7299
7266
  return /* @__PURE__ */ e(
7300
- Lt,
7267
+ xt,
7301
7268
  {
7302
7269
  name: t.name,
7303
- status: wt(t),
7304
- connections: Ei,
7270
+ status: st(t),
7271
+ connections: Ci,
7305
7272
  ...n,
7306
- children: /* @__PURE__ */ e(Ai, { config: t })
7273
+ children: /* @__PURE__ */ e(Ei, { config: t })
7307
7274
  }
7308
7275
  );
7309
7276
  }
7310
7277
  export {
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,
7278
+ Hi as AIOPsDashboard,
7279
+ ze as CPU3D,
7280
+ Ht as Carousel,
7281
+ tt as CarouselContext,
7282
+ it as CarouselItemContext,
7283
+ Bt as ComponentDialog,
7284
+ Fi as ComponentDrillView,
7285
+ vi as DataProvider,
7286
+ Ne as Database3D,
7287
+ Wi as DatabaseNode,
7288
+ Ce as DriveBay3D,
7289
+ Ci as EXCHANGE_CONNECTIONS,
7290
+ qi as ExchangeService,
7291
+ Oi as HOLO_BLUE,
7325
7292
  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,
7293
+ Je as HOLO_GLASS,
7294
+ Ie as HOLO_SURFACE,
7295
+ di as HistoricalGraphPanel,
7296
+ _t as HoloBase,
7297
+ ot as Human3D,
7298
+ Mi as HumanNode,
7299
+ Be as Memory3D,
7300
+ $t as MessageServer3D,
7301
+ Bi as MessageServerNode,
7302
+ Rt as NetworkBlock3D,
7336
7303
  W as NodeCallout,
7337
- Qe as Platter3D,
7338
- Y as Port3D,
7339
- Xi as SAPService,
7340
- Ri as SAP_CONNECTIONS,
7341
- $ as STATUS_CFG,
7342
- ke as Server3D,
7343
- Mi as ServerNode,
7344
- Lt as Service,
7345
- Ce as ServiceContext,
7346
- Ut as ServiceDialog,
7304
+ Me as Platter3D,
7305
+ H as Port3D,
7306
+ _i as SAPService,
7307
+ $i as SAP_CONNECTIONS,
7308
+ C as STATUS_CFG,
7309
+ be as Server3D,
7310
+ Ni as ServerNode,
7311
+ xt as Service,
7312
+ ge as ServiceContext,
7313
+ Mt as ServiceDialog,
7347
7314
  A as ServiceNode,
7348
- qt as SvgConnection,
7349
- It as SyncBridge,
7315
+ Yt as SvgConnection,
7316
+ St as SyncBridge,
7350
7317
  M as ThreadPool3D,
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
7318
+ rt as WebDispatcher3D,
7319
+ zi as WebDispatcherNode,
7320
+ Xi as computeExchangeDialogAlerts,
7321
+ ji as computeExchangeDialogMetrics,
7322
+ st as computeExchangeServiceStatus,
7323
+ Vi as computeSAPDialogAlerts,
7324
+ Yi as computeSAPDialogMetrics,
7325
+ lt as computeSAPServiceStatus,
7326
+ xi as defaultDataTransform,
7327
+ Ue as getDatabaseGraphSeries,
7328
+ Fe as getDatabaseSubComponents,
7329
+ Pt as getDispatcherGraphSeries,
7330
+ Et as getDispatcherSubComponents,
7331
+ Si as getMessageServerGraphSeries,
7332
+ wi as getMessageServerSubComponents,
7333
+ Pe as getServerGraphSeries,
7334
+ Ee as getServerSubComponents,
7335
+ et as makeFaceStyles,
7336
+ gi as useAIOpsData,
7337
+ yi as useAIOpsDataOptional,
7338
+ Li as useCarouselContext,
7339
+ Di as useCarouselItemContext,
7340
+ Ui as useQueryResult
7374
7341
  };