react-aiops 0.1.22 → 0.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
- import { jsxs as d, jsx as e, Fragment as De } from "react/jsx-runtime";
2
- import U, { createContext as Qe, useContext as be, useState as E, useCallback as Ve, useEffect as ge, useMemo as ze, useRef as _ } from "react";
3
- const _t = {
1
+ import { jsxs as c, jsx as e, Fragment as ze } from "react/jsx-runtime";
2
+ import X, { createContext as et, useContext as xe, useState as C, useCallback as _e, useEffect as de, useMemo as Be, useRef as q } from "react";
3
+ const Xt = {
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 jt({
8
+ function qt({
9
9
  name: t,
10
10
  status: i,
11
11
  dbSync: o = !0,
@@ -31,13 +31,13 @@ function jt({
31
31
  value: s ? "5.42%" : l ? "1.20%" : "0.01%",
32
32
  color: s ? "#ff2255" : l ? "#ff8c00" : "#00ff88"
33
33
  }
34
- ], c = a ?? [
34
+ ], d = a ?? [
35
35
  ...o ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
36
36
  ...s ? [{ level: "critical", message: "Critical Component Failure" }] : [],
37
37
  ...l && !s ? [{ level: "warning", message: "Component Warning State" }] : [],
38
38
  ...!s && !l && o ? [{ level: "info", message: "All Systems Nominal" }] : []
39
39
  ];
40
- return /* @__PURE__ */ d(
40
+ return /* @__PURE__ */ c(
41
41
  "div",
42
42
  {
43
43
  style: {
@@ -64,7 +64,7 @@ function jt({
64
64
  gap: 16
65
65
  },
66
66
  children: [
67
- /* @__PURE__ */ d(
67
+ /* @__PURE__ */ c(
68
68
  "div",
69
69
  {
70
70
  style: {
@@ -115,13 +115,13 @@ function jt({
115
115
  fontSize: 13,
116
116
  color: "#a0b0c0"
117
117
  },
118
- children: u.map((p, f) => /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
118
+ children: u.map((p, f) => /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
119
119
  /* @__PURE__ */ e("span", { children: p.label }),
120
120
  /* @__PURE__ */ e("span", { style: { color: p.color }, children: p.value })
121
121
  ] }, f))
122
122
  }
123
123
  ),
124
- /* @__PURE__ */ d(
124
+ /* @__PURE__ */ c(
125
125
  "div",
126
126
  {
127
127
  style: {
@@ -145,24 +145,24 @@ function jt({
145
145
  children: "SYSTEM ALERTS"
146
146
  }
147
147
  ),
148
- c.map((p, f) => {
149
- const g = _t[p.level];
150
- return /* @__PURE__ */ d(
148
+ d.map((p, f) => {
149
+ const b = Xt[p.level];
150
+ return /* @__PURE__ */ c(
151
151
  "div",
152
152
  {
153
153
  style: {
154
154
  display: "flex",
155
155
  gap: 8,
156
156
  alignItems: "flex-start",
157
- color: g.color,
157
+ color: b.color,
158
158
  fontSize: 12,
159
- background: g.bg,
159
+ background: b.bg,
160
160
  padding: "6px 10px",
161
161
  borderRadius: 4,
162
- borderLeft: `2px solid ${g.border}`
162
+ borderLeft: `2px solid ${b.border}`
163
163
  },
164
164
  children: [
165
- /* @__PURE__ */ e("span", { children: g.icon }),
165
+ /* @__PURE__ */ e("span", { children: b.icon }),
166
166
  " ",
167
167
  /* @__PURE__ */ e("span", { children: p.message })
168
168
  ]
@@ -177,13 +177,13 @@ function jt({
177
177
  }
178
178
  );
179
179
  }
180
- const R = {
180
+ const E = {
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
- }, Vi = "#00e5ff", _i = "#0055cc", Ne = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", rt = "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 at(t, i, o) {
185
+ }, _i = "#00e5ff", ji = "#0055cc", Ue = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", dt = "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 ct(t, i, o) {
187
187
  const n = {
188
188
  position: "absolute",
189
189
  overflow: "hidden",
@@ -233,56 +233,56 @@ function at(t, i, o) {
233
233
  }
234
234
  };
235
235
  }
236
- const nt = "cubic-bezier(0.34, 1.56, 0.64, 1)", He = "cubic-bezier(0.16, 1, 0.3, 1)";
237
- function Rt(t) {
238
- return R[t]?.color ?? R.online.color;
236
+ const lt = "cubic-bezier(0.34, 1.56, 0.64, 1)", qe = "cubic-bezier(0.16, 1, 0.3, 1)";
237
+ function Pt(t) {
238
+ return E[t]?.color ?? E.online.color;
239
239
  }
240
- function Xt(t, i, o) {
240
+ function Qt(t, i, o) {
241
241
  return t >= o ? "#ff2255" : t >= i ? "#ff8c00" : "#00e5ff";
242
242
  }
243
- function Ue(t, i, o, n) {
243
+ function Xe(t, i, o, n) {
244
244
  return t === "offline" ? "offline" : t === "critical" && i >= n ? "critical" : (t === "critical" || t === "warning") && i >= o ? "warning" : "online";
245
245
  }
246
- function qt({
246
+ function Kt({
247
247
  component: t,
248
248
  onClose: i,
249
249
  visible: o,
250
250
  sceneWidth: n = 660,
251
251
  sceneHeight: r = 600
252
252
  }) {
253
- const { type: a, name: s, status: l, ex: u, ey: c, context: p = {} } = t, f = Rt(l), g = u >= n / 2, h = c >= r / 2, y = {
253
+ const { type: a, name: s, status: l, ex: u, ey: d, context: p = {} } = t, f = Pt(l), b = u >= n / 2, h = d >= r / 2, y = {
254
254
  position: "fixed",
255
- ...g ? { right: 28 } : { left: 28 },
255
+ ...b ? { right: 28 } : { left: 28 },
256
256
  ...h ? { bottom: 110 } : { top: 72 }
257
- }, m = g ? 40 : -40, v = h ? 30 : -30, x = t.dialogMetrics ?? p.dialogMetrics;
258
- let S;
259
- if (x && x.length > 0)
260
- S = x.map((b, P) => {
261
- const O = b.warnAt ?? 70, $ = b.critAt ?? 85;
257
+ }, m = b ? 40 : -40, k = h ? 30 : -30, v = t.dialogMetrics ?? p.dialogMetrics;
258
+ let $;
259
+ if (v && v.length > 0)
260
+ $ = v.map((g, R) => {
261
+ const A = g.warnAt ?? 70, L = g.critAt ?? 85;
262
262
  return {
263
- id: b.id,
264
- label: b.label,
265
- sublabel: b.sublabel,
266
- value: b.value,
267
- unit: b.unit ?? "%",
268
- status: Ue(l, b.value, O, $),
269
- icon: b.icon ?? "cpu",
270
- delay: P,
271
- colorOverride: b.color,
272
- warnAt: O,
273
- critAt: $
263
+ id: g.id,
264
+ label: g.label,
265
+ sublabel: g.sublabel,
266
+ value: g.value,
267
+ unit: g.unit ?? "%",
268
+ status: Xe(l, g.value, A, L),
269
+ icon: g.icon ?? "cpu",
270
+ delay: R,
271
+ colorOverride: g.color,
272
+ warnAt: A,
273
+ critAt: L
274
274
  };
275
275
  });
276
276
  else {
277
- const b = p.cpuLoad ?? p.traffic ?? 50, P = p.memLoad ?? p.queueDepth ?? 60, O = p.capacity ?? 72, $ = Ue(l, b, 70, 85), k = Ue(l, P, 75, 88), M = Ue(l, O, 75, 90);
278
- S = [
277
+ const g = p.cpuLoad ?? p.traffic ?? 50, R = p.memLoad ?? p.queueDepth ?? 60, A = p.capacity ?? 72, L = Xe(l, g, 70, 85), w = Xe(l, R, 75, 88), I = Xe(l, A, 75, 90);
278
+ $ = [
279
279
  {
280
280
  id: "cpu",
281
281
  label: a === "dispatcher" ? "TRAFFIC" : a === "messageServer" ? "QUEUE" : "CPU",
282
282
  sublabel: a === "dispatcher" ? "PORT LOAD" : a === "messageServer" ? "QUEUE DEPTH" : "PROCESSOR",
283
- value: b,
283
+ value: g,
284
284
  unit: "%",
285
- status: $,
285
+ status: L,
286
286
  icon: "cpu",
287
287
  delay: 0
288
288
  },
@@ -290,9 +290,9 @@ function qt({
290
290
  id: "mem",
291
291
  label: "MEMORY",
292
292
  sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
293
- value: P,
293
+ value: R,
294
294
  unit: "%",
295
- status: k,
295
+ status: w,
296
296
  icon: "mem",
297
297
  delay: 1
298
298
  },
@@ -300,15 +300,15 @@ function qt({
300
300
  id: "storage",
301
301
  label: "STORAGE",
302
302
  sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
303
- value: O,
303
+ value: A,
304
304
  unit: "%",
305
- status: M,
305
+ status: I,
306
306
  icon: "disk",
307
307
  delay: 2
308
308
  }
309
309
  ];
310
310
  }
311
- return /* @__PURE__ */ d(
311
+ return /* @__PURE__ */ c(
312
312
  "div",
313
313
  {
314
314
  style: {
@@ -322,14 +322,14 @@ function qt({
322
322
  fontFamily: "'Courier New', monospace",
323
323
  overflow: "hidden",
324
324
  opacity: o ? 1 : 0,
325
- transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${v}px)`,
326
- transition: `opacity 0.45s ${He}, transform 0.55s ${nt}`,
325
+ transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${k}px)`,
326
+ transition: `opacity 0.45s ${qe}, transform 0.55s ${lt}`,
327
327
  pointerEvents: o ? "auto" : "none",
328
328
  zIndex: 9999,
329
329
  animation: o ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
330
330
  "--dialog-color": f
331
331
  },
332
- onClick: (b) => b.stopPropagation(),
332
+ onClick: (g) => g.stopPropagation(),
333
333
  children: [
334
334
  /* @__PURE__ */ e(
335
335
  "div",
@@ -393,14 +393,14 @@ function qt({
393
393
  borderRight: `2px solid ${f}66`,
394
394
  borderRadius: "0 0 14px 0"
395
395
  }
396
- ].map((b, P) => /* @__PURE__ */ e(
396
+ ].map((g, R) => /* @__PURE__ */ e(
397
397
  "div",
398
398
  {
399
- style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...b }
399
+ style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...g }
400
400
  },
401
- P
401
+ R
402
402
  )),
403
- /* @__PURE__ */ d(
403
+ /* @__PURE__ */ c(
404
404
  "div",
405
405
  {
406
406
  style: {
@@ -414,8 +414,8 @@ function qt({
414
414
  zIndex: 2
415
415
  },
416
416
  children: [
417
- /* @__PURE__ */ d("div", { style: { display: "flex", alignItems: "center", gap: 10, minWidth: 0 }, children: [
418
- /* @__PURE__ */ d("div", { style: { position: "relative" }, children: [
417
+ /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "center", gap: 10, minWidth: 0 }, children: [
418
+ /* @__PURE__ */ c("div", { style: { position: "relative" }, children: [
419
419
  /* @__PURE__ */ e(
420
420
  "div",
421
421
  {
@@ -443,7 +443,7 @@ function qt({
443
443
  }
444
444
  )
445
445
  ] }),
446
- /* @__PURE__ */ d("div", { style: { display: "flex", flexDirection: "column", gap: 2, minWidth: 0 }, children: [
446
+ /* @__PURE__ */ c("div", { style: { display: "flex", flexDirection: "column", gap: 2, minWidth: 0 }, children: [
447
447
  /* @__PURE__ */ e(
448
448
  "span",
449
449
  {
@@ -479,8 +479,8 @@ function qt({
479
479
  /* @__PURE__ */ e(
480
480
  "button",
481
481
  {
482
- onClick: (b) => {
483
- b.stopPropagation(), i();
482
+ onClick: (g) => {
483
+ g.stopPropagation(), i();
484
484
  },
485
485
  style: {
486
486
  width: 34,
@@ -498,11 +498,11 @@ function qt({
498
498
  lineHeight: 1,
499
499
  flexShrink: 0
500
500
  },
501
- onMouseEnter: (b) => {
502
- b.currentTarget.style.background = `${f}22`, b.currentTarget.style.boxShadow = `0 0 12px ${f}44`;
501
+ onMouseEnter: (g) => {
502
+ g.currentTarget.style.background = `${f}22`, g.currentTarget.style.boxShadow = `0 0 12px ${f}44`;
503
503
  },
504
- onMouseLeave: (b) => {
505
- b.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${f}08 100%)`, b.currentTarget.style.boxShadow = "none";
504
+ onMouseLeave: (g) => {
505
+ g.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${f}08 100%)`, g.currentTarget.style.boxShadow = "none";
506
506
  },
507
507
  children: "×"
508
508
  }
@@ -521,10 +521,10 @@ function qt({
521
521
  position: "relative",
522
522
  zIndex: 2
523
523
  },
524
- children: S.map((b) => /* @__PURE__ */ e(Qt, { metric: b, visible: o, accentColor: f }, b.id))
524
+ children: $.map((g) => /* @__PURE__ */ e(Gt, { metric: g, visible: o, accentColor: f }, g.id))
525
525
  }
526
526
  ),
527
- /* @__PURE__ */ d(
527
+ /* @__PURE__ */ c(
528
528
  "div",
529
529
  {
530
530
  style: {
@@ -542,12 +542,12 @@ function qt({
542
542
  zIndex: 2
543
543
  },
544
544
  children: [
545
- /* @__PURE__ */ d("span", { children: [
545
+ /* @__PURE__ */ c("span", { children: [
546
546
  a.toUpperCase(),
547
547
  " · ",
548
548
  l.toUpperCase()
549
549
  ] }),
550
- /* @__PURE__ */ d("span", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
550
+ /* @__PURE__ */ c("span", { style: { display: "flex", alignItems: "center", gap: 6 }, children: [
551
551
  /* @__PURE__ */ e(
552
552
  "span",
553
553
  {
@@ -570,7 +570,7 @@ function qt({
570
570
  }
571
571
  );
572
572
  }
573
- function Qt({
573
+ function Gt({
574
574
  metric: t,
575
575
  visible: i,
576
576
  accentColor: o
@@ -582,12 +582,12 @@ function Qt({
582
582
  unit: s,
583
583
  status: l,
584
584
  icon: u,
585
- delay: c,
585
+ delay: d,
586
586
  colorOverride: p,
587
587
  warnAt: f = 70,
588
- critAt: g = 85
589
- } = t, h = p ?? Xt(a, f, g), y = p ?? Rt(l);
590
- return /* @__PURE__ */ d(
588
+ critAt: b = 85
589
+ } = t, h = p ?? Qt(a, f, b), y = p ?? Pt(l);
590
+ return /* @__PURE__ */ c(
591
591
  "div",
592
592
  {
593
593
  style: {
@@ -596,10 +596,10 @@ function Qt({
596
596
  gap: 16,
597
597
  opacity: i ? 1 : 0,
598
598
  transform: i ? "translateY(0)" : "translateY(12px)",
599
- transition: `opacity 0.4s ${He} ${0.3 + c * 0.12}s, transform 0.5s ${nt} ${0.3 + c * 0.12}s`
599
+ transition: `opacity 0.4s ${qe} ${0.3 + d * 0.12}s, transform 0.5s ${lt} ${0.3 + d * 0.12}s`
600
600
  },
601
601
  children: [
602
- /* @__PURE__ */ d(
602
+ /* @__PURE__ */ c(
603
603
  "div",
604
604
  {
605
605
  style: {
@@ -615,10 +615,10 @@ function Qt({
615
615
  position: "relative",
616
616
  overflow: "hidden",
617
617
  transition: "border-color 0.6s ease, background 0.6s ease",
618
- animation: i ? `comp-dialog-icon-pop 0.5s ${nt} ${0.35 + c * 0.12}s both` : "none"
618
+ animation: i ? `comp-dialog-icon-pop 0.5s ${lt} ${0.35 + d * 0.12}s both` : "none"
619
619
  },
620
620
  children: [
621
- /* @__PURE__ */ e(Kt, { type: u, color: y }),
621
+ /* @__PURE__ */ e(Zt, { type: u, color: y }),
622
622
  (l === "warning" || l === "critical") && /* @__PURE__ */ e(
623
623
  "div",
624
624
  {
@@ -638,8 +638,8 @@ function Qt({
638
638
  ]
639
639
  }
640
640
  ),
641
- /* @__PURE__ */ d("div", { style: { flex: 1, minWidth: 0 }, children: [
642
- /* @__PURE__ */ d(
641
+ /* @__PURE__ */ c("div", { style: { flex: 1, minWidth: 0 }, children: [
642
+ /* @__PURE__ */ c(
643
643
  "div",
644
644
  {
645
645
  style: {
@@ -649,7 +649,7 @@ function Qt({
649
649
  marginBottom: 6
650
650
  },
651
651
  children: [
652
- /* @__PURE__ */ d("div", { style: { display: "flex", flexDirection: "column", gap: 2 }, children: [
652
+ /* @__PURE__ */ c("div", { style: { display: "flex", flexDirection: "column", gap: 2 }, children: [
653
653
  /* @__PURE__ */ e(
654
654
  "span",
655
655
  {
@@ -675,7 +675,7 @@ function Qt({
675
675
  }
676
676
  )
677
677
  ] }),
678
- /* @__PURE__ */ d(
678
+ /* @__PURE__ */ c(
679
679
  "span",
680
680
  {
681
681
  style: {
@@ -695,7 +695,7 @@ function Qt({
695
695
  ]
696
696
  }
697
697
  ),
698
- /* @__PURE__ */ d(
698
+ /* @__PURE__ */ c(
699
699
  "div",
700
700
  {
701
701
  style: {
@@ -718,8 +718,8 @@ function Qt({
718
718
  background: `linear-gradient(90deg, ${h}66, ${h})`,
719
719
  boxShadow: `0 0 8px ${h}44`,
720
720
  transformOrigin: "left center",
721
- transition: `width 0.8s ${He}, background 0.8s ease, box-shadow 0.8s ease`,
722
- animation: i ? `comp-dialog-metric-fill 0.8s ${He} ${0.4 + c * 0.12}s both` : "none"
721
+ transition: `width 0.8s ${qe}, background 0.8s ease, box-shadow 0.8s ease`,
722
+ animation: i ? `comp-dialog-metric-fill 0.8s ${qe} ${0.4 + d * 0.12}s both` : "none"
723
723
  }
724
724
  }
725
725
  ),
@@ -741,7 +741,7 @@ function Qt({
741
741
  {
742
742
  style: {
743
743
  position: "absolute",
744
- left: `${g}%`,
744
+ left: `${b}%`,
745
745
  top: 0,
746
746
  bottom: 0,
747
747
  width: 1,
@@ -752,7 +752,7 @@ function Qt({
752
752
  ]
753
753
  }
754
754
  ),
755
- /* @__PURE__ */ d("div", { style: { position: "relative", height: 10, marginTop: 2 }, children: [
755
+ /* @__PURE__ */ c("div", { style: { position: "relative", height: 10, marginTop: 2 }, children: [
756
756
  /* @__PURE__ */ e(
757
757
  "span",
758
758
  {
@@ -785,7 +785,7 @@ function Qt({
785
785
  {
786
786
  style: {
787
787
  position: "absolute",
788
- left: `${g}%`,
788
+ left: `${b}%`,
789
789
  transform: "translateX(-50%)",
790
790
  fontSize: 6,
791
791
  color: "rgba(255,34,85,0.3)",
@@ -813,8 +813,8 @@ function Qt({
813
813
  }
814
814
  );
815
815
  }
816
- function Kt({ type: t, color: i }) {
817
- return t === "cpu" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
816
+ function Zt({ type: t, color: i }) {
817
+ return t === "cpu" ? /* @__PURE__ */ c("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
818
818
  /* @__PURE__ */ e("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2", stroke: i, strokeWidth: "1.5" }),
819
819
  /* @__PURE__ */ e(
820
820
  "rect",
@@ -841,7 +841,7 @@ function Kt({ type: t, color: i }) {
841
841
  /* @__PURE__ */ e("line", { x1: "9", y1: "18", x2: "9", y2: "20", stroke: i, strokeWidth: "1" }),
842
842
  /* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "20", stroke: i, strokeWidth: "1" }),
843
843
  /* @__PURE__ */ e("line", { x1: "15", y1: "18", x2: "15", y2: "20", stroke: i, strokeWidth: "1" })
844
- ] }) : t === "mem" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
844
+ ] }) : t === "mem" ? /* @__PURE__ */ c("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
845
845
  /* @__PURE__ */ e("rect", { x: "7", y: "3", width: "10", height: "18", rx: "1.5", stroke: i, strokeWidth: "1.5" }),
846
846
  /* @__PURE__ */ e(
847
847
  "rect",
@@ -888,7 +888,7 @@ function Kt({ type: t, color: i }) {
888
888
  /* @__PURE__ */ e("line", { x1: "17", y1: "7", x2: "19", y2: "7", stroke: i, strokeWidth: "0.8" }),
889
889
  /* @__PURE__ */ e("line", { x1: "17", y1: "11", x2: "19", y2: "11", stroke: i, strokeWidth: "0.8" }),
890
890
  /* @__PURE__ */ e("line", { x1: "17", y1: "15", x2: "19", y2: "15", stroke: i, strokeWidth: "0.8" })
891
- ] }) : /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
891
+ ] }) : /* @__PURE__ */ c("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
892
892
  /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "8.5", stroke: i, strokeWidth: "1.5" }),
893
893
  /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "5.5", stroke: i, strokeWidth: "0.5", strokeDasharray: "2 2" }),
894
894
  /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "2", fill: `${i}55` }),
@@ -898,14 +898,14 @@ function Kt({ type: t, color: i }) {
898
898
  /* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke: i, strokeWidth: "0.8" })
899
899
  ] });
900
900
  }
901
- const lt = Qe(null), st = Qe({ index: 0 });
902
- function ji() {
903
- return be(lt);
904
- }
901
+ const pt = et(null), ft = et({ index: 0 });
905
902
  function Xi() {
906
- return be(st);
903
+ return xe(pt);
907
904
  }
908
- function Gt({
905
+ function qi() {
906
+ return xe(ft);
907
+ }
908
+ function Jt({
909
909
  children: t,
910
910
  logoUrl: i,
911
911
  viewState: o,
@@ -915,82 +915,80 @@ function Gt({
915
915
  drillAnimPhase: s,
916
916
  rotateY: l = 20,
917
917
  autoRotateComponents: u = !0,
918
- componentScale: c = 0.35,
918
+ componentScale: d = 0.35,
919
919
  drillZoom: p = 3.3,
920
920
  autoRotateCarousel: f = !0,
921
- carouselSpeed: g = 6e-3,
921
+ carouselSpeed: b = 6e-3,
922
922
  width: h = 950,
923
923
  height: y = 790,
924
924
  onSelectSystem: m,
925
- onBackgroundClick: v,
926
- onComponentClick: x,
927
- onCloseDrill: S,
928
- selectedSystemStatus: b = "online",
929
- selectedSystemDbSync: P = !0,
930
- selectedSystemMetrics: O,
931
- selectedSystemAlerts: $
925
+ onBackgroundClick: k,
926
+ onComponentClick: v,
927
+ onComponentDataUpdate: $,
928
+ onCloseDrill: g,
929
+ selectedSystemStatus: R = "online",
930
+ selectedSystemDbSync: A = !0,
931
+ selectedSystemMetrics: L,
932
+ selectedSystemAlerts: w
932
933
  }) {
933
- const [k, M] = E({}), L = Ve(
934
- (w, C) => {
935
- M((D) => {
936
- const te = D[w];
937
- return te && te.length === C.length && te.every(
938
- (ae, Y) => ae.level === C[Y].level && ae.message === C[Y].message
939
- ) ? D : { ...D, [w]: C };
940
- });
941
- },
942
- []
943
- ), [H, j] = E(0);
944
- ge(() => {
945
- let w;
934
+ const [I, H] = C({}), D = _e((S, P) => {
935
+ H((M) => {
936
+ const Y = M[S];
937
+ return Y && Y.length === P.length && Y.every((Z, Q) => Z.level === P[Q].level && Z.message === P[Q].message) ? M : { ...M, [S]: P };
938
+ });
939
+ }, []), [ee, ce] = C(0);
940
+ de(() => {
941
+ let S;
946
942
  if ((o === "compact" || o === "collapsing") && f) {
947
- const C = () => {
948
- j((D) => D + g), w = requestAnimationFrame(C);
943
+ const P = () => {
944
+ ce((M) => M + b), S = requestAnimationFrame(P);
949
945
  };
950
- w = requestAnimationFrame(C);
946
+ S = requestAnimationFrame(P);
951
947
  }
952
- return () => cancelAnimationFrame(w);
953
- }, [o, f, g]);
954
- const le = U.Children.toArray(t), se = le.length, ee = ze(
948
+ return () => cancelAnimationFrame(S);
949
+ }, [o, f, b]);
950
+ const pe = X.Children.toArray(t), se = pe.length, ve = Be(
955
951
  () => ({
956
952
  totalSystems: se,
957
- carouselRotation: H,
953
+ carouselRotation: ee,
958
954
  viewState: o,
959
955
  animPhase: n,
960
956
  selectedSystem: r,
961
957
  selectedComponent: a,
962
958
  rotateY: l,
963
959
  autoRotateComponents: u,
964
- componentScale: c,
960
+ componentScale: d,
965
961
  drillZoom: p,
966
962
  onSelectSystem: m,
967
- onComponentClick: x,
963
+ onComponentClick: v,
964
+ onComponentDataUpdate: $,
968
965
  containerWidth: h,
969
- onNodeAlertsChange: L
966
+ onNodeAlertsChange: D
970
967
  }),
971
968
  [
972
969
  se,
973
- H,
970
+ ee,
974
971
  o,
975
972
  n,
976
973
  r,
977
974
  a,
978
975
  l,
979
976
  u,
980
- c,
977
+ d,
981
978
  p,
982
979
  m,
983
- x,
980
+ v,
981
+ $,
984
982
  h,
985
- L
983
+ D
986
984
  ]
987
- ), ye = le.map((w, C) => /* @__PURE__ */ e(st.Provider, { value: { index: C }, children: w }, C)), me = o === "expanded" || o === "expanding" && n >= 4, xe = ze(() => {
988
- if (!r) return $;
989
- const w = $ ?? [], D = [...k[r] ?? [], ...w];
990
- return D.length > 0 ? D : void 0;
991
- }, [$, k, r]);
992
- return /* @__PURE__ */ d(lt.Provider, { value: ee, children: [
993
- /* @__PURE__ */ d("div", { style: { position: "relative", width: h, height: y, margin: "0 auto", flexShrink: 0 }, children: [
985
+ ), we = pe.map((S, P) => /* @__PURE__ */ e(ft.Provider, { value: { index: P }, children: S }, P)), Se = o === "expanded" || o === "expanding" && n >= 4, G = Be(() => {
986
+ if (!r) return w;
987
+ const S = w ?? [], M = [...I[r] ?? [], ...S];
988
+ return M.length > 0 ? M : void 0;
989
+ }, [w, I, r]);
990
+ return /* @__PURE__ */ c(pt.Provider, { value: ve, children: [
991
+ /* @__PURE__ */ c("div", { style: { position: "relative", width: h, height: y, margin: "0 auto", flexShrink: 0 }, children: [
994
992
  i && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
995
993
  "img",
996
994
  {
@@ -1011,24 +1009,24 @@ function Gt({
1011
1009
  }
1012
1010
  }
1013
1011
  ),
1014
- ye
1012
+ we
1015
1013
  ] }),
1016
- r && /* @__PURE__ */ e("div", { onClick: (w) => w.stopPropagation(), children: /* @__PURE__ */ e(
1017
- jt,
1014
+ r && /* @__PURE__ */ e("div", { onClick: (S) => S.stopPropagation(), children: /* @__PURE__ */ e(
1015
+ qt,
1018
1016
  {
1019
1017
  name: r,
1020
- status: b,
1021
- dbSync: P,
1022
- visible: me && !a,
1023
- metrics: O,
1024
- alerts: xe
1018
+ status: R,
1019
+ dbSync: A,
1020
+ visible: Se && !a,
1021
+ metrics: L,
1022
+ alerts: G
1025
1023
  }
1026
1024
  ) }),
1027
- a && /* @__PURE__ */ e("div", { onClick: (w) => w.stopPropagation(), children: /* @__PURE__ */ e(
1028
- qt,
1025
+ a && /* @__PURE__ */ e("div", { onClick: (S) => S.stopPropagation(), children: /* @__PURE__ */ e(
1026
+ Kt,
1029
1027
  {
1030
1028
  component: a,
1031
- onClose: S,
1029
+ onClose: g,
1032
1030
  visible: s >= 0.3,
1033
1031
  sceneWidth: h,
1034
1032
  sceneHeight: y
@@ -1036,7 +1034,7 @@ function Gt({
1036
1034
  ) })
1037
1035
  ] });
1038
1036
  }
1039
- function Zt({
1037
+ function ei({
1040
1038
  x1: t,
1041
1039
  y1: i,
1042
1040
  x2: o,
@@ -1045,7 +1043,7 @@ function Zt({
1045
1043
  color: a = "#00e5ff",
1046
1044
  dur: s = "3s"
1047
1045
  }) {
1048
- return /* @__PURE__ */ d("g", { opacity: r ? 1 : 0, style: { transition: "opacity 0.6s ease" }, children: [
1046
+ return /* @__PURE__ */ c("g", { opacity: r ? 1 : 0, style: { transition: "opacity 0.6s ease" }, children: [
1049
1047
  /* @__PURE__ */ e(
1050
1048
  "line",
1051
1049
  {
@@ -1083,7 +1081,7 @@ function Zt({
1083
1081
  )
1084
1082
  }
1085
1083
  ),
1086
- r && /* @__PURE__ */ d(De, { children: [
1084
+ r && /* @__PURE__ */ c(ze, { children: [
1087
1085
  /* @__PURE__ */ e("circle", { r: "3", fill: a, opacity: 0.85, children: /* @__PURE__ */ e(
1088
1086
  "animateMotion",
1089
1087
  {
@@ -1103,14 +1101,14 @@ function Zt({
1103
1101
  ] })
1104
1102
  ] });
1105
1103
  }
1106
- const Jt = [
1104
+ const ti = [
1107
1105
  { scale: 1, op: 1, delay: "0.0s", bw: "2px", glow: 1 },
1108
1106
  { scale: 0.82, op: 0.88, delay: "0.5s", bw: "1.5px", glow: 0.7 },
1109
1107
  { scale: 0.64, op: 0.72, delay: "1.0s", bw: "1px", glow: 0.5 },
1110
1108
  { scale: 0.47, op: 0.58, delay: "1.5s", bw: "1px", glow: 0.35 },
1111
1109
  { scale: 0.3, op: 0.45, delay: "2.0s", bw: "1px", glow: 0.25 }
1112
1110
  ];
1113
- function ei({
1111
+ function ii({
1114
1112
  children: t,
1115
1113
  size: i = 230,
1116
1114
  widthRatio: o = 1,
@@ -1118,13 +1116,13 @@ function ei({
1118
1116
  label: r
1119
1117
  }) {
1120
1118
  const a = i * o;
1121
- return /* @__PURE__ */ d("div", { style: {
1119
+ return /* @__PURE__ */ c("div", { style: {
1122
1120
  display: "flex",
1123
1121
  flexDirection: "column",
1124
1122
  alignItems: "center",
1125
1123
  position: "relative"
1126
1124
  }, children: [
1127
- /* @__PURE__ */ d("div", { style: {
1125
+ /* @__PURE__ */ c("div", { style: {
1128
1126
  position: "relative",
1129
1127
  animation: "holo-float 4s ease-in-out infinite"
1130
1128
  }, children: [
@@ -1147,7 +1145,7 @@ function ei({
1147
1145
  } }),
1148
1146
  t
1149
1147
  ] }),
1150
- /* @__PURE__ */ d("div", { style: {
1148
+ /* @__PURE__ */ c("div", { style: {
1151
1149
  position: "relative",
1152
1150
  width: a,
1153
1151
  height: 88,
@@ -1219,7 +1217,7 @@ function ei({
1219
1217
  animationDelay: "0.06s"
1220
1218
  } })
1221
1219
  ] }),
1222
- /* @__PURE__ */ d("div", { style: {
1220
+ /* @__PURE__ */ c("div", { style: {
1223
1221
  position: "relative",
1224
1222
  width: a,
1225
1223
  height: i * 0.34,
@@ -1276,7 +1274,7 @@ function ei({
1276
1274
  background: `radial-gradient(ellipse, ${n}88 0%, ${n}33 40%, transparent 72%)`,
1277
1275
  filter: "blur(12px)"
1278
1276
  } }),
1279
- Jt.map((s, l) => /* @__PURE__ */ e("div", { style: {
1277
+ ti.map((s, l) => /* @__PURE__ */ e("div", { style: {
1280
1278
  position: "absolute",
1281
1279
  width: a * s.scale,
1282
1280
  height: i * s.scale,
@@ -1319,8 +1317,8 @@ function ei({
1319
1317
  }, children: r })
1320
1318
  ] });
1321
1319
  }
1322
- const $e = Qe(null), ti = "cubic-bezier(0.34, 1.56, 0.64, 1)", yt = 330, mt = 340, ii = 660;
1323
- function Ct({
1320
+ const Re = et(null), ni = "cubic-bezier(0.34, 1.56, 0.64, 1)", vt = 330, wt = 340, oi = 660;
1321
+ function At({
1324
1322
  name: t,
1325
1323
  status: i = "online",
1326
1324
  connections: o = [],
@@ -1330,51 +1328,52 @@ function Ct({
1330
1328
  _totalSystems: s,
1331
1329
  _carouselRotation: l,
1332
1330
  _viewState: u,
1333
- _animPhase: c,
1331
+ _animPhase: d,
1334
1332
  _selectedSystem: p,
1335
1333
  _selectedComponent: f,
1336
- _rotateY: g,
1334
+ _rotateY: b,
1337
1335
  _autoRotateComponents: h,
1338
1336
  _componentScale: y,
1339
1337
  _drillZoom: m,
1340
- _onSelectSystem: v,
1341
- _onComponentClick: x,
1342
- _containerWidth: S
1338
+ _onSelectSystem: k,
1339
+ _onComponentClick: v,
1340
+ _containerWidth: $
1343
1341
  }) {
1344
- const b = be(lt), P = be(st), O = a ?? P.index, $ = s ?? b?.totalSystems ?? 1, k = l ?? b?.carouselRotation ?? 0, M = u ?? b?.viewState ?? "compact", L = c ?? b?.animPhase ?? 0, H = p ?? b?.selectedSystem ?? null, j = f ?? b?.selectedComponent ?? null, le = g ?? b?.rotateY ?? 20, se = h ?? b?.autoRotateComponents ?? !0, ee = y ?? b?.componentScale ?? 0.35, ye = m ?? b?.drillZoom ?? 3.3, me = v ?? b?.onSelectSystem, xe = x ?? b?.onComponentClick, w = S ?? b?.containerWidth ?? 950, C = b?.onNodeAlertsChange, D = _(C);
1345
- D.current = C;
1346
- const te = _(/* @__PURE__ */ new Map()), ae = Ve(
1347
- (q, Me, Yt) => {
1348
- const Ze = te.current;
1349
- Me && Me !== "online" ? Ze.set(q, { severity: Me, msg: Yt }) : Ze.delete(q);
1350
- const gt = [];
1351
- for (const [Vt, Je] of Ze)
1352
- gt.push({
1353
- level: Je.severity === "critical" || Je.severity === "offline" ? "critical" : "warning",
1354
- message: `${Vt}: ${Je.msg}`
1342
+ const g = xe(pt), R = xe(ft), A = a ?? R.index, L = s ?? g?.totalSystems ?? 1, w = l ?? g?.carouselRotation ?? 0, I = u ?? g?.viewState ?? "compact", H = d ?? g?.animPhase ?? 0, D = p ?? g?.selectedSystem ?? null, ee = f ?? g?.selectedComponent ?? null, ce = b ?? g?.rotateY ?? 20, pe = h ?? g?.autoRotateComponents ?? !0, se = y ?? g?.componentScale ?? 0.35, ve = m ?? g?.drillZoom ?? 3.3, we = k ?? g?.onSelectSystem, Se = v ?? g?.onComponentClick, G = g?.onComponentDataUpdate, S = $ ?? g?.containerWidth ?? 950, P = g?.onNodeAlertsChange, M = q(P);
1343
+ M.current = P;
1344
+ const Y = q(/* @__PURE__ */ new Map()), Z = _e(
1345
+ (J, Ve, _t) => {
1346
+ const it = Y.current;
1347
+ Ve && Ve !== "online" ? it.set(J, { severity: Ve, msg: _t }) : it.delete(J);
1348
+ const xt = [];
1349
+ for (const [jt, nt] of it)
1350
+ xt.push({
1351
+ level: nt.severity === "critical" || nt.severity === "offline" ? "critical" : "warning",
1352
+ message: `${jt}: ${nt.msg}`
1355
1353
  });
1356
- D.current?.(t, gt);
1354
+ M.current?.(t, xt);
1357
1355
  },
1358
1356
  [t]
1359
- ), Y = H === t, z = Y && (M === "expanded" || M === "expanding" && L >= 1), ie = !z, ve = (w - ii) / 2, de = yt + ve, A = O / $ * Math.PI * 2 + k, ne = 420, X = 160, Q = de + Math.cos(A) * ne, oe = 450 + Math.sin(A) * X, K = Math.round(oe), We = !Y && (M === "expanding" || M === "expanded"), Ke = We ? 0 : 1, ce = ie ? 0.3 + (Math.sin(A) + 1) * 0.1 : 1, Wt = ie ? ce : ee, Fe = M === "compact" || M === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", bt = Y && j, Ge = bt ? ye : 1, Mt = j?.ex ?? 330, zt = j?.ey ?? 300, { size: Bt = 90, color: Ft = "#00e5ff", widthRatio: Ut = 3 } = n ?? {}, Ht = {
1357
+ ), Q = D === t, z = Q && (I === "expanded" || I === "expanding" && H >= 1), oe = !z, fe = (S - oi) / 2, ue = vt + fe, he = A / L * Math.PI * 2 + w, Fe = 420, Ce = 160, re = ue + Math.cos(he) * Fe, x = 450 + Math.sin(he) * Ce, V = Math.round(x), ae = !Q && (I === "expanding" || I === "expanded"), _ = ae ? 0 : 1, j = oe ? 0.3 + (Math.sin(he) + 1) * 0.1 : 1, B = oe ? j : se, Ee = I === "compact" || I === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", Ye = Q && ee, tt = Ye ? ve : 1, Bt = ee?.ex ?? 330, Ut = ee?.ey ?? 300, { size: Ft = 90, color: Ht = "#00e5ff", widthRatio: Yt = 3 } = n ?? {}, Vt = {
1360
1358
  name: t,
1361
- isSelected: Y,
1359
+ isSelected: Q,
1362
1360
  isExpandedPos: z,
1363
- isCompact: ie,
1364
- animPhase: L,
1365
- compactCx: Q,
1366
- compactCy: oe,
1367
- groupScale: ce,
1368
- effectiveScale: Wt,
1369
- transitionValue: Fe,
1370
- rotateY: le,
1371
- autoRotateComponents: se,
1372
- onComponentClick: xe,
1373
- selectedComponentName: j?.name ?? null,
1374
- expandedOffsetX: ve,
1375
- registerNodeAlert: ae
1361
+ isCompact: oe,
1362
+ animPhase: H,
1363
+ compactCx: re,
1364
+ compactCy: x,
1365
+ groupScale: j,
1366
+ effectiveScale: B,
1367
+ transitionValue: Ee,
1368
+ rotateY: ce,
1369
+ autoRotateComponents: pe,
1370
+ onComponentClick: Se,
1371
+ onComponentDataUpdate: G,
1372
+ selectedComponentName: ee?.name ?? null,
1373
+ expandedOffsetX: fe,
1374
+ registerNodeAlert: Z
1376
1375
  };
1377
- return /* @__PURE__ */ e($e.Provider, { value: Ht, children: /* @__PURE__ */ d(
1376
+ return /* @__PURE__ */ e(Re.Provider, { value: Vt, children: /* @__PURE__ */ c(
1378
1377
  "div",
1379
1378
  {
1380
1379
  style: {
@@ -1384,21 +1383,21 @@ function Ct({
1384
1383
  width: "100%",
1385
1384
  height: "100%",
1386
1385
  pointerEvents: "none",
1387
- opacity: Ke,
1388
- transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${ti}`,
1389
- filter: ie && Math.sin(A) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1390
- zIndex: Y ? 500 : We ? 0 : K,
1391
- transformOrigin: `${de}px ${mt}px`,
1392
- transform: bt ? `translate(${-(Mt - yt) * Ge}px, ${-(zt - mt) * Ge}px) scale(${Ge})` : "none"
1386
+ opacity: _,
1387
+ transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${ni}`,
1388
+ filter: oe && Math.sin(he) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1389
+ zIndex: Q ? 500 : ae ? 0 : V,
1390
+ transformOrigin: `${ue}px ${wt}px`,
1391
+ transform: Ye ? `translate(${-(Bt - vt) * tt}px, ${-(Ut - wt) * tt}px) scale(${tt})` : "none"
1393
1392
  },
1394
1393
  children: [
1395
- ie && !We && /* @__PURE__ */ e(
1394
+ oe && !ae && /* @__PURE__ */ e(
1396
1395
  "div",
1397
1396
  {
1398
1397
  style: {
1399
1398
  position: "absolute",
1400
- left: Q,
1401
- top: oe,
1399
+ left: re,
1400
+ top: x,
1402
1401
  width: 160,
1403
1402
  height: 180,
1404
1403
  transform: "translate(-50%, -80%)",
@@ -1406,25 +1405,25 @@ function Ct({
1406
1405
  cursor: "pointer",
1407
1406
  zIndex: 101
1408
1407
  },
1409
- onClick: (q) => {
1410
- q.stopPropagation(), me?.(t);
1408
+ onClick: (J) => {
1409
+ J.stopPropagation(), we?.(t);
1411
1410
  }
1412
1411
  }
1413
1412
  ),
1414
- ie && (i === "warning" || i === "critical") && /* @__PURE__ */ e(
1413
+ oe && (i === "warning" || i === "critical") && /* @__PURE__ */ e(
1415
1414
  "div",
1416
1415
  {
1417
1416
  style: {
1418
1417
  position: "absolute",
1419
- left: Q,
1420
- top: oe - 200,
1421
- transform: `translate(-50%, -50%) scale(${ce})`,
1418
+ left: re,
1419
+ top: x - 200,
1420
+ transform: `translate(-50%, -50%) scale(${j})`,
1422
1421
  zIndex: 110,
1423
1422
  pointerEvents: "none",
1424
1423
  animation: "holo-led-blink 1.5s infinite",
1425
1424
  filter: `drop-shadow(0 0 10px ${i === "critical" ? "#ff2255" : "#ff8c00"})`
1426
1425
  },
1427
- children: /* @__PURE__ */ d("svg", { width: "48", height: "48", viewBox: "0 0 28 28", fill: "none", children: [
1426
+ children: /* @__PURE__ */ c("svg", { width: "48", height: "48", viewBox: "0 0 28 28", fill: "none", children: [
1428
1427
  /* @__PURE__ */ e(
1429
1428
  "path",
1430
1429
  {
@@ -1464,13 +1463,13 @@ function Ct({
1464
1463
  {
1465
1464
  style: {
1466
1465
  position: "absolute",
1467
- left: z ? de : Q,
1468
- top: z ? 48 : oe - 180,
1469
- transform: `translate(-50%, -50%) scale(${z ? 1.2 : ce * 1.5})`,
1466
+ left: z ? ue : re,
1467
+ top: z ? 48 : x - 180,
1468
+ transform: `translate(-50%, -50%) scale(${z ? 1.2 : j * 1.5})`,
1470
1469
  opacity: 1,
1471
1470
  pointerEvents: "none",
1472
1471
  zIndex: 100,
1473
- transition: Fe,
1472
+ transition: Ee,
1474
1473
  fontSize: 36,
1475
1474
  fontWeight: 700,
1476
1475
  letterSpacing: "0.18em",
@@ -1490,25 +1489,25 @@ function Ct({
1490
1489
  style: {
1491
1490
  position: "absolute",
1492
1491
  top: 0,
1493
- left: z ? ve : 0,
1492
+ left: z ? fe : 0,
1494
1493
  width: 660,
1495
1494
  height: 640,
1496
1495
  pointerEvents: "none",
1497
1496
  zIndex: 0,
1498
- transition: Fe
1497
+ transition: Ee
1499
1498
  },
1500
- children: o.map((q, Me) => /* @__PURE__ */ e(
1501
- Zt,
1499
+ children: o.map((J, Ve) => /* @__PURE__ */ e(
1500
+ ei,
1502
1501
  {
1503
- x1: q.from[0],
1504
- y1: q.from[1],
1505
- x2: q.to[0],
1506
- y2: q.to[1],
1507
- show: Y && L >= (q.visibleAtPhase ?? 0),
1508
- color: q.color,
1509
- dur: q.duration
1502
+ x1: J.from[0],
1503
+ y1: J.from[1],
1504
+ x2: J.to[0],
1505
+ y2: J.to[1],
1506
+ show: Q && H >= (J.visibleAtPhase ?? 0),
1507
+ color: J.color,
1508
+ dur: J.duration
1510
1509
  },
1511
- Me
1510
+ Ve
1512
1511
  ))
1513
1512
  }
1514
1513
  ),
@@ -1517,13 +1516,13 @@ function Ct({
1517
1516
  {
1518
1517
  style: {
1519
1518
  position: "absolute",
1520
- left: z ? de : Q,
1521
- top: z ? 570 : oe + 70,
1522
- transform: `translate(-50%, -50%) scaleX(${z ? 1 : 0.4}) scaleY(${z ? 1 : 0.6}) scale(${z ? 1 : ce})`,
1523
- transition: Fe,
1519
+ left: z ? ue : re,
1520
+ top: z ? 570 : x + 70,
1521
+ transform: `translate(-50%, -50%) scaleX(${z ? 1 : 0.4}) scaleY(${z ? 1 : 0.6}) scale(${z ? 1 : j})`,
1522
+ transition: Ee,
1524
1523
  zIndex: 1
1525
1524
  },
1526
- children: /* @__PURE__ */ e(ei, { size: Bt, color: Ft, widthRatio: Ut, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1525
+ children: /* @__PURE__ */ e(ii, { size: Ft, color: Ht, widthRatio: Yt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1527
1526
  }
1528
1527
  ),
1529
1528
  r
@@ -1531,7 +1530,7 @@ function Ct({
1531
1530
  }
1532
1531
  ) });
1533
1532
  }
1534
- function B({
1533
+ function U({
1535
1534
  ex: t,
1536
1535
  ey: i,
1537
1536
  status: o,
@@ -1541,23 +1540,23 @@ function B({
1541
1540
  offsetY: s,
1542
1541
  isVisible: l,
1543
1542
  align: u = "right",
1544
- internalRef: c
1543
+ internalRef: d
1545
1544
  }) {
1546
- const p = be($e), f = p?.expandedOffsetX ?? 0;
1545
+ const p = xe(Re), f = p?.expandedOffsetX ?? 0;
1547
1546
  if (o === "online") return null;
1548
- const g = l && !!p?.isExpandedPos, h = R[o]?.color ?? R.warning.color, y = Math.abs(a) > Math.abs(s), m = t + f + (y ? Math.sign(a) * 45 : 0), v = i + (y ? 0 : Math.sign(s) * 40), x = t + f + a, S = i + s;
1549
- let b = "";
1547
+ const b = l && !!p?.isExpandedPos, h = E[o]?.color ?? E.warning.color, y = Math.abs(a) > Math.abs(s), m = t + f + (y ? Math.sign(a) * 45 : 0), k = i + (y ? 0 : Math.sign(s) * 40), v = t + f + a, $ = i + s;
1548
+ let g = "";
1550
1549
  if (y) {
1551
- const k = m + (x - m) / 2;
1552
- b = `M ${m} ${v} L ${k} ${v} L ${k} ${S} L ${x} ${S}`;
1550
+ const w = m + (v - m) / 2;
1551
+ g = `M ${m} ${k} L ${w} ${k} L ${w} ${$} L ${v} ${$}`;
1553
1552
  } else {
1554
- const k = v + (S - v) / 2;
1555
- b = `M ${m} ${v} L ${m} ${k} L ${x} ${k} L ${x} ${S}`;
1553
+ const w = k + ($ - k) / 2;
1554
+ g = `M ${m} ${k} L ${m} ${w} L ${v} ${w} L ${v} ${$}`;
1556
1555
  }
1557
- let P = "translate(0, -50%)";
1558
- u === "left" && (P = "translate(-100%, -50%)"), u === "top" && (P = "translate(-50%, -100%)"), u === "bottom" && (P = "translate(-50%, 0)");
1559
- const O = u === "left" ? -8 : u === "right" ? 8 : 0, $ = u === "top" ? -8 : u === "bottom" ? 8 : 0;
1560
- return /* @__PURE__ */ d(
1556
+ let R = "translate(0, -50%)";
1557
+ u === "left" && (R = "translate(-100%, -50%)"), u === "top" && (R = "translate(-50%, -100%)"), u === "bottom" && (R = "translate(-50%, 0)");
1558
+ const A = u === "left" ? -8 : u === "right" ? 8 : 0, L = u === "top" ? -8 : u === "bottom" ? 8 : 0;
1559
+ return /* @__PURE__ */ c(
1561
1560
  "div",
1562
1561
  {
1563
1562
  style: {
@@ -1567,7 +1566,7 @@ function B({
1567
1566
  width: "100%",
1568
1567
  height: "100%",
1569
1568
  pointerEvents: "none",
1570
- opacity: g ? 1 : 0,
1569
+ opacity: b ? 1 : 0,
1571
1570
  transition: "opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s",
1572
1571
  zIndex: 150
1573
1572
  },
@@ -1587,7 +1586,7 @@ function B({
1587
1586
  children: /* @__PURE__ */ e(
1588
1587
  "path",
1589
1588
  {
1590
- d: b,
1589
+ d: g,
1591
1590
  fill: "none",
1592
1591
  stroke: h,
1593
1592
  strokeWidth: "1.5",
@@ -1597,16 +1596,16 @@ function B({
1597
1596
  )
1598
1597
  }
1599
1598
  ),
1600
- /* @__PURE__ */ d(
1599
+ /* @__PURE__ */ c(
1601
1600
  "div",
1602
1601
  {
1603
1602
  style: {
1604
1603
  position: "absolute",
1605
- left: x,
1606
- top: S,
1607
- transform: P,
1608
- marginLeft: O,
1609
- marginTop: $,
1604
+ left: v,
1605
+ top: $,
1606
+ transform: R,
1607
+ marginLeft: A,
1608
+ marginTop: L,
1610
1609
  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)",
1611
1610
  border: `1px solid ${h}55`,
1612
1611
  borderLeft: `2px solid ${h}`,
@@ -1620,7 +1619,7 @@ function B({
1620
1619
  boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${h}22 inset`
1621
1620
  },
1622
1621
  children: [
1623
- /* @__PURE__ */ d(
1622
+ /* @__PURE__ */ c(
1624
1623
  "div",
1625
1624
  {
1626
1625
  style: {
@@ -1654,7 +1653,7 @@ function B({
1654
1653
  textTransform: "uppercase",
1655
1654
  textShadow: `0 0 4px ${h}88`
1656
1655
  },
1657
- children: c ? `${n} · ${c}` : n
1656
+ children: d ? `${n} · ${d}` : n
1658
1657
  }
1659
1658
  )
1660
1659
  ]
@@ -1678,25 +1677,25 @@ function B({
1678
1677
  }
1679
1678
  );
1680
1679
  }
1681
- const Et = 70, Pt = 85, ni = {
1680
+ const Tt = 70, Ot = 85, ri = {
1682
1681
  online: 0,
1683
1682
  warning: 1,
1684
1683
  offline: 2,
1685
1684
  critical: 3
1686
1685
  };
1687
- function xt(t) {
1688
- return ni[t] ?? 0;
1686
+ function St(t) {
1687
+ return ri[t] ?? 0;
1689
1688
  }
1690
- function oi(t) {
1689
+ function ai(t) {
1691
1690
  if (!t) return null;
1692
1691
  const i = t.dialogMetrics ?? t.context?.dialogMetrics;
1693
- return i && i.length > 0 ? ri(i) : ai(t.context);
1692
+ return i && i.length > 0 ? li(i) : si(t.context);
1694
1693
  }
1695
- function ri(t) {
1694
+ function li(t) {
1696
1695
  let i = null;
1697
1696
  for (const r of t) {
1698
1697
  if (r.color) continue;
1699
- const a = r.critAt ?? Pt, s = r.warnAt ?? Et;
1698
+ const a = r.critAt ?? Ot, s = r.warnAt ?? Tt;
1700
1699
  r.value >= a ? (!i || i.severity !== "critical" || r.value > i.metric.value) && (i = { metric: r, severity: "critical" }) : r.value >= s && (!i || i.severity !== "critical" && r.value > i.metric.value) && (i = { metric: r, severity: "warning" });
1701
1700
  }
1702
1701
  if (!i) return null;
@@ -1707,13 +1706,13 @@ function ri(t) {
1707
1706
  internalRef: o.id.toUpperCase()
1708
1707
  };
1709
1708
  }
1710
- function ai(t) {
1709
+ function si(t) {
1711
1710
  if (!t) return null;
1712
1711
  const i = [];
1713
1712
  t.cpuLoad !== void 0 && i.push({ label: "CPU", value: t.cpuLoad, id: "CPU" }), t.memLoad !== void 0 && i.push({ label: "MEM", value: t.memLoad, id: "HEAP" }), t.traffic !== void 0 && i.push({ label: "TRAFFIC", value: t.traffic, id: "NET" }), t.queueDepth !== void 0 && i.push({ label: "QUEUE", value: t.queueDepth, id: "QUEUE" }), t.capacity !== void 0 && i.push({ label: "CAPACITY", value: t.capacity, id: "DISK" });
1714
1713
  let o = null;
1715
1714
  for (const a of i)
1716
- a.value >= Pt ? (!o || o.severity !== "critical" || a.value > o.entry.value) && (o = { entry: a, severity: "critical" }) : a.value >= Et && (!o || o.severity !== "critical" && a.value > o.entry.value) && (o = { entry: a, severity: "warning" });
1715
+ a.value >= Ot ? (!o || o.severity !== "critical" || a.value > o.entry.value) && (o = { entry: a, severity: "critical" }) : a.value >= Tt && (!o || o.severity !== "critical" && a.value > o.entry.value) && (o = { entry: a, severity: "warning" });
1717
1716
  if (!o) return null;
1718
1717
  const { entry: n, severity: r } = o;
1719
1718
  return {
@@ -1722,8 +1721,8 @@ function ai(t) {
1722
1721
  internalRef: n.id
1723
1722
  };
1724
1723
  }
1725
- function li(t, i) {
1726
- const o = t?.status ?? "online", n = xt(o), r = oi(t), a = r ? xt(r.severity) : 0, s = n >= a ? o : r.severity;
1724
+ function di(t, i) {
1725
+ const o = t?.status ?? "online", n = St(o), r = ai(t), a = r ? St(r.severity) : 0, s = n >= a ? o : r.severity;
1727
1726
  if (n === 0 && a === 0)
1728
1727
  return { effectiveSeverity: "online", callout: null };
1729
1728
  let l;
@@ -1733,7 +1732,7 @@ function li(t, i) {
1733
1732
  internalRef: i?.internalRef
1734
1733
  } : l = { ...r }, i?.offsetX !== void 0 && (l.offsetX = i.offsetX), i?.offsetY !== void 0 && (l.offsetY = i.offsetY), i?.align !== void 0 && (l.align = i.align), { effectiveSeverity: s, callout: l };
1735
1734
  }
1736
- function I({
1735
+ function O({
1737
1736
  ex: t,
1738
1737
  ey: i,
1739
1738
  compactOffset: o,
@@ -1743,127 +1742,143 @@ function I({
1743
1742
  label: s,
1744
1743
  subLabel: l,
1745
1744
  delay: u = "0s",
1746
- componentInfo: c,
1745
+ componentInfo: d,
1747
1746
  visibleAtPhase: p = 0,
1748
1747
  fixedScale: f,
1749
- bare: g = !1,
1748
+ bare: b = !1,
1750
1749
  alert: h
1751
1750
  }) {
1752
- const y = be($e);
1751
+ const y = xe(Re);
1753
1752
  if (!y)
1754
1753
  throw new Error("ServiceNode must be used inside a <Service> component.");
1755
1754
  const {
1756
1755
  isExpandedPos: m,
1757
- animPhase: v,
1758
- compactCx: x,
1759
- compactCy: S,
1760
- groupScale: b,
1761
- effectiveScale: P,
1762
- transitionValue: O,
1763
- onComponentClick: $,
1764
- selectedComponentName: k,
1765
- expandedOffsetX: M,
1766
- registerNodeAlert: L
1767
- } = y, j = p === 0 || y.isSelected && v >= p ? 1 : 0, le = x + o.x, se = S + o.y, ee = m ? t + M : le, ye = m ? i : se, me = f !== void 0 ? f : y.isCompact ? b : P, xe = !!c && !!k && c.name === k, { effectiveSeverity: w, callout: C } = ze(
1768
- () => li(c, h),
1769
- [c, h]
1756
+ animPhase: k,
1757
+ compactCx: v,
1758
+ compactCy: $,
1759
+ groupScale: g,
1760
+ effectiveScale: R,
1761
+ transitionValue: A,
1762
+ onComponentClick: L,
1763
+ selectedComponentName: w,
1764
+ expandedOffsetX: I,
1765
+ registerNodeAlert: H,
1766
+ onComponentDataUpdate: D
1767
+ } = y, ce = p === 0 || y.isSelected && k >= p ? 1 : 0, pe = v + o.x, se = $ + o.y, ve = m ? t + I : pe, we = m ? i : se, Se = f !== void 0 ? f : y.isCompact ? g : R, G = !!d && !!w && d.name === w, { effectiveSeverity: S, callout: P } = Be(
1768
+ () => di(d, h),
1769
+ [d, h]
1770
1770
  );
1771
- ge(() => (c?.name && L && L(
1772
- c.name,
1773
- w !== "online" ? w : null,
1774
- C?.msg ?? ""
1771
+ de(() => (d?.name && H && H(
1772
+ d.name,
1773
+ S !== "online" ? S : null,
1774
+ P?.msg ?? ""
1775
1775
  ), () => {
1776
- c?.name && L && L(c.name, null, "");
1777
- }), [c?.name, w, C?.msg, L]);
1778
- const D = _(w), [te, ae] = E(!1);
1779
- ge(() => {
1780
- if (D.current !== w) {
1781
- D.current = w, ae(!0);
1782
- const X = setTimeout(() => ae(!1), 1200);
1783
- return () => clearTimeout(X);
1776
+ d?.name && H && H(d.name, null, "");
1777
+ }), [d?.name, S, P?.msg, H]);
1778
+ const M = q(S), [Y, Z] = C(!1);
1779
+ de(() => {
1780
+ if (M.current !== S) {
1781
+ M.current = S, Z(!0);
1782
+ const x = setTimeout(() => Z(!1), 1200);
1783
+ return () => clearTimeout(x);
1784
1784
  }
1785
- }, [w]);
1786
- const Y = w !== "online" ? R[w]?.color ?? a : a, z = w === "offline" ? "#4a6a8a" : Y, ie = c && m && $ ? () => $({
1787
- type: c.type,
1788
- name: c.name,
1789
- status: c.status,
1790
- ex: c.ex ?? t,
1791
- ey: c.ey ?? i,
1792
- context: c.context,
1793
- dialogMetrics: c.dialogMetrics,
1794
- subComponents: c.subComponents,
1795
- graphSeries: c.graphSeries
1796
- }) : void 0, ve = c?.name ?? s ?? "", de = c?.status ?? "online", A = w !== "online" && w !== de, ne = ze(() => A ? U.Children.map(
1785
+ }, [S]);
1786
+ const Q = d ? `${d.status}|${JSON.stringify(d.context)}|${JSON.stringify(d.dialogMetrics)}` : "", z = q(d);
1787
+ z.current = d, de(() => {
1788
+ const x = z.current;
1789
+ !G || !x || !D || D({
1790
+ type: x.type,
1791
+ name: x.name,
1792
+ status: x.status,
1793
+ ex: x.ex ?? t,
1794
+ ey: x.ey ?? i,
1795
+ context: x.context,
1796
+ dialogMetrics: x.dialogMetrics,
1797
+ subComponents: x.subComponents,
1798
+ graphSeries: x.graphSeries
1799
+ });
1800
+ }, [Q, G]);
1801
+ const oe = S !== "online" ? E[S]?.color ?? a : a, fe = S === "offline" ? "#4a6a8a" : oe, ue = d && m && L ? () => L({
1802
+ type: d.type,
1803
+ name: d.name,
1804
+ status: d.status,
1805
+ ex: d.ex ?? t,
1806
+ ey: d.ey ?? i,
1807
+ context: d.context,
1808
+ dialogMetrics: d.dialogMetrics,
1809
+ subComponents: d.subComponents,
1810
+ graphSeries: d.graphSeries
1811
+ }) : void 0, he = d?.name ?? s ?? "", Fe = d?.status ?? "online", Ce = S !== "online" && S !== Fe, re = Be(() => Ce ? X.Children.map(
1797
1812
  r,
1798
- (X) => U.isValidElement(X) ? U.cloneElement(X, {
1799
- status: w
1800
- }) : X
1801
- ) : r, [r, A, w]);
1802
- return /* @__PURE__ */ d(De, { children: [
1803
- /* @__PURE__ */ d(
1813
+ (x) => X.isValidElement(x) ? X.cloneElement(x, {
1814
+ status: S
1815
+ }) : x
1816
+ ) : r, [r, Ce, S]);
1817
+ return /* @__PURE__ */ c(ze, { children: [
1818
+ /* @__PURE__ */ c(
1804
1819
  "div",
1805
1820
  {
1806
1821
  style: {
1807
1822
  position: "absolute",
1808
- left: ee,
1809
- top: ye,
1810
- transform: `translate(-50%, -50%) scale(${me})`,
1811
- opacity: j,
1823
+ left: ve,
1824
+ top: we,
1825
+ transform: `translate(-50%, -50%) scale(${Se})`,
1826
+ opacity: ce,
1812
1827
  zIndex: n,
1813
- transition: O || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1814
- pointerEvents: m && j >= 0.5 ? "auto" : "none"
1828
+ transition: A || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1829
+ pointerEvents: m && ce >= 0.5 ? "auto" : "none"
1815
1830
  },
1816
1831
  children: [
1817
- te && !g && /* @__PURE__ */ e(
1832
+ Y && !b && /* @__PURE__ */ e(
1818
1833
  "div",
1819
1834
  {
1820
1835
  style: {
1821
1836
  position: "absolute",
1822
1837
  inset: -24,
1823
1838
  borderRadius: "50%",
1824
- background: `radial-gradient(circle, ${z}55, transparent 70%)`,
1839
+ background: `radial-gradient(circle, ${fe}55, transparent 70%)`,
1825
1840
  animation: "status-change-pulse 1.2s ease-out forwards",
1826
1841
  pointerEvents: "none",
1827
1842
  zIndex: -1
1828
1843
  }
1829
1844
  }
1830
1845
  ),
1831
- g ? ne : /* @__PURE__ */ e(
1832
- si,
1846
+ b ? re : /* @__PURE__ */ e(
1847
+ ci,
1833
1848
  {
1834
- statusColor: z,
1849
+ statusColor: fe,
1835
1850
  label: s,
1836
1851
  subLabel: l,
1837
1852
  delay: u,
1838
1853
  showLabels: m,
1839
1854
  isCompact: y.isCompact,
1840
- onClick: ie,
1841
- isSelected: xe,
1842
- isPulsing: te,
1843
- children: ne
1855
+ onClick: ue,
1856
+ isSelected: G,
1857
+ isPulsing: Y,
1858
+ children: re
1844
1859
  }
1845
1860
  )
1846
1861
  ]
1847
1862
  }
1848
1863
  ),
1849
- C && /* @__PURE__ */ e(
1850
- B,
1864
+ P && /* @__PURE__ */ e(
1865
+ U,
1851
1866
  {
1852
1867
  ex: t,
1853
1868
  ey: i,
1854
- status: C.severity,
1855
- title: ve,
1856
- msg: C.msg,
1857
- offsetX: C.offsetX ?? 110,
1858
- offsetY: C.offsetY ?? -30,
1859
- align: C.align ?? "right",
1860
- internalRef: C.internalRef,
1869
+ status: P.severity,
1870
+ title: he,
1871
+ msg: P.msg,
1872
+ offsetX: P.offsetX ?? 110,
1873
+ offsetY: P.offsetY ?? -30,
1874
+ align: P.align ?? "right",
1875
+ internalRef: P.internalRef,
1861
1876
  isVisible: !0
1862
1877
  }
1863
1878
  )
1864
1879
  ] });
1865
1880
  }
1866
- function si({
1881
+ function ci({
1867
1882
  children: t,
1868
1883
  statusColor: i,
1869
1884
  label: o,
@@ -1873,10 +1888,10 @@ function si({
1873
1888
  isCompact: s = !1,
1874
1889
  onClick: l,
1875
1890
  isSelected: u = !1,
1876
- isPulsing: c = !1
1891
+ isPulsing: d = !1
1877
1892
  }) {
1878
- const [p, f] = E(!1), g = u ? `brightness(1.5) drop-shadow(0 0 24px ${i}cc) drop-shadow(0 0 8px ${i}88)` : c ? `brightness(1.6) drop-shadow(0 0 18px ${i}aa)` : p && l ? `brightness(1.2) drop-shadow(0 0 12px ${i}77)` : "";
1879
- return /* @__PURE__ */ d(
1893
+ const [p, f] = C(!1), b = u ? `brightness(1.5) drop-shadow(0 0 24px ${i}cc) drop-shadow(0 0 8px ${i}88)` : d ? `brightness(1.6) drop-shadow(0 0 18px ${i}aa)` : p && l ? `brightness(1.2) drop-shadow(0 0 12px ${i}77)` : "";
1894
+ return /* @__PURE__ */ c(
1880
1895
  "div",
1881
1896
  {
1882
1897
  className: `float-node${l ? " float-node--interactive" : ""}`,
@@ -1886,14 +1901,14 @@ function si({
1886
1901
  style: {
1887
1902
  cursor: l ? "pointer" : void 0,
1888
1903
  transition: "filter 0.6s ease",
1889
- filter: g
1904
+ filter: b
1890
1905
  },
1891
1906
  onMouseEnter: () => f(!0),
1892
1907
  onMouseLeave: () => f(!1),
1893
1908
  role: l ? "button" : void 0,
1894
1909
  title: l ? "Click to inspect internal components" : void 0,
1895
1910
  children: [
1896
- /* @__PURE__ */ d("div", { className: "float-body", style: { animationDelay: r }, children: [
1911
+ /* @__PURE__ */ c("div", { className: "float-body", style: { animationDelay: r }, children: [
1897
1912
  /* @__PURE__ */ e(
1898
1913
  "div",
1899
1914
  {
@@ -1905,11 +1920,11 @@ function si({
1905
1920
  }
1906
1921
  }
1907
1922
  ),
1908
- /* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && U.isValidElement(t) ? U.cloneElement(t, {
1923
+ /* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && X.isValidElement(t) ? X.cloneElement(t, {
1909
1924
  _compact: !0
1910
1925
  }) : t })
1911
1926
  ] }),
1912
- /* @__PURE__ */ d(
1927
+ /* @__PURE__ */ c(
1913
1928
  "div",
1914
1929
  {
1915
1930
  style: {
@@ -1946,10 +1961,10 @@ function si({
1946
1961
  }
1947
1962
  );
1948
1963
  }
1949
- function At({ synced: t, latencyMs: i }) {
1964
+ function It({ synced: t, latencyMs: i }) {
1950
1965
  const o = t ? "#00ff88" : "#ff8c00";
1951
- return /* @__PURE__ */ d("div", { className: "sync-bridge", children: [
1952
- /* @__PURE__ */ d("div", { className: "sync-arrows", children: [
1966
+ return /* @__PURE__ */ c("div", { className: "sync-bridge", children: [
1967
+ /* @__PURE__ */ c("div", { className: "sync-arrows", children: [
1953
1968
  /* @__PURE__ */ e("span", { style: { color: o, fontSize: 10, lineHeight: 1 }, children: "◄" }),
1954
1969
  /* @__PURE__ */ e(
1955
1970
  "div",
@@ -1974,15 +1989,15 @@ function At({ synced: t, latencyMs: i }) {
1974
1989
  children: t ? "SYNCED" : "LAG"
1975
1990
  }
1976
1991
  ),
1977
- /* @__PURE__ */ d("div", { className: "sync-latency", style: { color: o + "88" }, children: [
1992
+ /* @__PURE__ */ c("div", { className: "sync-latency", style: { color: o + "88" }, children: [
1978
1993
  i,
1979
1994
  "ms ",
1980
1995
  t ? "replication" : "behind"
1981
1996
  ] })
1982
1997
  ] });
1983
1998
  }
1984
- const pe = 140, G = 240, he = 160, ke = at(pe, G, he);
1985
- function di({
1999
+ const be = 140, te = 240, me = 160, Pe = ct(be, te, me);
2000
+ function pi({
1986
2001
  cfg: t,
1987
2002
  name: i,
1988
2003
  cpuLoad: o,
@@ -1991,19 +2006,19 @@ function di({
1991
2006
  compact: a,
1992
2007
  brandLabel: s
1993
2008
  }) {
1994
- const l = Math.ceil(o / 100 * 3), u = r === "offline" ? "#4a6a8a" : t.color, c = [
2009
+ const l = Math.ceil(o / 100 * 3), u = r === "offline" ? "#4a6a8a" : t.color, d = [
1995
2010
  { color: t.color, on: r !== "offline", label: "PWR" },
1996
2011
  { color: t.color, on: r === "online" || r === "warning", label: "NET" },
1997
2012
  { color: t.color, on: o > 15, label: "DSK" },
1998
2013
  { color: r === "critical" ? "#ff2255" : t.color, on: r === "critical", label: "FLT" }
1999
2014
  ];
2000
- return /* @__PURE__ */ d(
2015
+ return /* @__PURE__ */ c(
2001
2016
  "div",
2002
2017
  {
2003
2018
  style: {
2004
- width: pe,
2005
- height: G,
2006
- background: a ? Ne : rt,
2019
+ width: be,
2020
+ height: te,
2021
+ background: a ? Ue : dt,
2007
2022
  position: "relative",
2008
2023
  overflow: "hidden",
2009
2024
  fontFamily: "'Courier New', monospace",
@@ -2025,7 +2040,7 @@ function di({
2025
2040
  }
2026
2041
  }
2027
2042
  ),
2028
- /* @__PURE__ */ d(
2043
+ /* @__PURE__ */ c(
2029
2044
  "div",
2030
2045
  {
2031
2046
  style: {
@@ -2040,7 +2055,7 @@ function di({
2040
2055
  gap: 7
2041
2056
  },
2042
2057
  children: [
2043
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
2058
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
2044
2059
  /* @__PURE__ */ e("span", { style: { fontSize: 7, color: t.color + "55", letterSpacing: "0.22em" }, children: s }),
2045
2060
  /* @__PURE__ */ e(
2046
2061
  "div",
@@ -2056,7 +2071,7 @@ function di({
2056
2071
  alignItems: "center",
2057
2072
  justifyContent: "center"
2058
2073
  },
2059
- children: /* @__PURE__ */ d("svg", { width: "9", height: "9", viewBox: "0 0 10 10", fill: "none", children: [
2074
+ children: /* @__PURE__ */ c("svg", { width: "9", height: "9", viewBox: "0 0 10 10", fill: "none", children: [
2060
2075
  /* @__PURE__ */ e("path", { d: "M5 1.5v3", stroke: t.color, strokeWidth: "1.4", strokeLinecap: "round" }),
2061
2076
  /* @__PURE__ */ e(
2062
2077
  "path",
@@ -2071,7 +2086,7 @@ function di({
2071
2086
  }
2072
2087
  )
2073
2088
  ] }),
2074
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
2089
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center" }, children: [
2075
2090
  /* @__PURE__ */ e(
2076
2091
  "span",
2077
2092
  {
@@ -2084,7 +2099,7 @@ function di({
2084
2099
  children: i
2085
2100
  }
2086
2101
  ),
2087
- /* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children: c.map((p, f) => /* @__PURE__ */ e(
2102
+ /* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children: d.map((p, f) => /* @__PURE__ */ e(
2088
2103
  "div",
2089
2104
  {
2090
2105
  style: {
@@ -2115,7 +2130,7 @@ function di({
2115
2130
  }
2116
2131
  }
2117
2132
  ),
2118
- /* @__PURE__ */ d(
2133
+ /* @__PURE__ */ c(
2119
2134
  "div",
2120
2135
  {
2121
2136
  style: {
@@ -2164,8 +2179,8 @@ function di({
2164
2179
  }
2165
2180
  ),
2166
2181
  Array.from({ length: 3 }, (p, f) => {
2167
- const g = f < l;
2168
- return /* @__PURE__ */ d(
2182
+ const b = f < l;
2183
+ return /* @__PURE__ */ c(
2169
2184
  "div",
2170
2185
  {
2171
2186
  style: {
@@ -2191,8 +2206,8 @@ function di({
2191
2206
  height: 5,
2192
2207
  borderRadius: "50%",
2193
2208
  flexShrink: 0,
2194
- background: g ? t.color : "#08142a",
2195
- boxShadow: g ? `0 0 6px ${t.color}, 0 0 12px ${t.color}66` : "none"
2209
+ background: b ? t.color : "#08142a",
2210
+ boxShadow: b ? `0 0 6px ${t.color}, 0 0 12px ${t.color}66` : "none"
2196
2211
  }
2197
2212
  }
2198
2213
  ),
@@ -2208,7 +2223,7 @@ function di({
2208
2223
  position: "relative",
2209
2224
  overflow: "hidden"
2210
2225
  },
2211
- children: g && /* @__PURE__ */ e(
2226
+ children: b && /* @__PURE__ */ e(
2212
2227
  "div",
2213
2228
  {
2214
2229
  style: {
@@ -2255,7 +2270,7 @@ function di({
2255
2270
  }
2256
2271
  }
2257
2272
  ),
2258
- /* @__PURE__ */ d(
2273
+ /* @__PURE__ */ c(
2259
2274
  "div",
2260
2275
  {
2261
2276
  style: {
@@ -2394,13 +2409,13 @@ function di({
2394
2409
  }
2395
2410
  );
2396
2411
  }
2397
- function ci() {
2398
- return /* @__PURE__ */ d(
2412
+ function fi() {
2413
+ return /* @__PURE__ */ c(
2399
2414
  "div",
2400
2415
  {
2401
2416
  style: {
2402
- width: pe,
2403
- height: G,
2417
+ width: be,
2418
+ height: te,
2404
2419
  background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
2405
2420
  position: "relative",
2406
2421
  overflow: "hidden",
@@ -2508,18 +2523,18 @@ function ci() {
2508
2523
  }
2509
2524
  );
2510
2525
  }
2511
- function vt({
2526
+ function $t({
2512
2527
  side: t,
2513
2528
  color: i,
2514
2529
  brandLabel: o
2515
2530
  }) {
2516
2531
  const n = t === "right";
2517
- return /* @__PURE__ */ d(
2532
+ return /* @__PURE__ */ c(
2518
2533
  "div",
2519
2534
  {
2520
2535
  style: {
2521
- width: he,
2522
- height: G,
2536
+ width: me,
2537
+ height: te,
2523
2538
  background: n ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
2524
2539
  position: "relative",
2525
2540
  overflow: "hidden"
@@ -2538,13 +2553,13 @@ function vt({
2538
2553
  }
2539
2554
  }
2540
2555
  ),
2541
- [8, G - 20].map((r) => /* @__PURE__ */ e(
2556
+ [8, te - 20].map((r) => /* @__PURE__ */ e(
2542
2557
  "div",
2543
2558
  {
2544
2559
  style: {
2545
2560
  position: "absolute",
2546
2561
  top: r,
2547
- left: n ? 10 : he - 18,
2562
+ left: n ? 10 : me - 18,
2548
2563
  width: 8,
2549
2564
  height: 8,
2550
2565
  borderRadius: 1,
@@ -2560,8 +2575,8 @@ function vt({
2560
2575
  {
2561
2576
  style: {
2562
2577
  position: "absolute",
2563
- top: G * 0.35,
2564
- bottom: G * 0.15,
2578
+ top: te * 0.35,
2579
+ bottom: te * 0.15,
2565
2580
  left: n ? 22 : 18,
2566
2581
  right: n ? 18 : 22,
2567
2582
  display: "flex",
@@ -2584,13 +2599,13 @@ function vt({
2584
2599
  ))
2585
2600
  }
2586
2601
  ),
2587
- /* @__PURE__ */ d(
2602
+ /* @__PURE__ */ c(
2588
2603
  "div",
2589
2604
  {
2590
2605
  style: {
2591
2606
  position: "absolute",
2592
- top: G * 0.18,
2593
- left: n ? 12 : he - 78,
2607
+ top: te * 0.18,
2608
+ left: n ? 12 : me - 78,
2594
2609
  fontSize: 7,
2595
2610
  color: "#1a3050",
2596
2611
  letterSpacing: "0.2em",
@@ -2608,14 +2623,14 @@ function vt({
2608
2623
  }
2609
2624
  );
2610
2625
  }
2611
- function pi({ cpuLoad: t }) {
2612
- const i = t / 100, o = i > 0.75 ? "rgba(255,34,85,0.16)" : i > 0.45 ? "rgba(255,140,0,0.12)" : "rgba(0,229,255,0.08)", n = Math.floor((he - 18) / 7);
2613
- return /* @__PURE__ */ d(
2626
+ function ui({ cpuLoad: t }) {
2627
+ const i = t / 100, o = i > 0.75 ? "rgba(255,34,85,0.16)" : i > 0.45 ? "rgba(255,140,0,0.12)" : "rgba(0,229,255,0.08)", n = Math.floor((me - 18) / 7);
2628
+ return /* @__PURE__ */ c(
2614
2629
  "div",
2615
2630
  {
2616
2631
  style: {
2617
- width: pe,
2618
- height: he,
2632
+ width: be,
2633
+ height: me,
2619
2634
  background: "linear-gradient(180deg, #0c1c30 0%, #070f1e 40%, #040c1a 100%)",
2620
2635
  position: "relative",
2621
2636
  overflow: "hidden"
@@ -2629,7 +2644,7 @@ function pi({ cpuLoad: t }) {
2629
2644
  top: 0,
2630
2645
  left: 0,
2631
2646
  right: 0,
2632
- height: he * 0.4,
2647
+ height: me * 0.4,
2633
2648
  background: `radial-gradient(ellipse at 50% 0%, ${o} 0%, transparent 70%)`
2634
2649
  }
2635
2650
  }
@@ -2688,7 +2703,7 @@ function pi({ cpuLoad: t }) {
2688
2703
  }
2689
2704
  );
2690
2705
  }
2691
- function Se({
2706
+ function ke({
2692
2707
  rotateX: t = -22,
2693
2708
  rotateY: i = 20,
2694
2709
  rotateZ: o = 0,
@@ -2698,29 +2713,29 @@ function Se({
2698
2713
  name: s = "SRV-001",
2699
2714
  cpuLoad: l = 67,
2700
2715
  memLoad: u = 82,
2701
- brandLabel: c = "BUSAUD",
2716
+ brandLabel: d = "BUSAUD",
2702
2717
  _compact: p
2703
2718
  }) {
2704
- const [f, g] = E(i), h = _(0), y = _(0);
2705
- ge(() => {
2719
+ const [f, b] = C(i), h = q(0), y = q(0);
2720
+ de(() => {
2706
2721
  if (!r) {
2707
- g(i);
2722
+ b(i);
2708
2723
  return;
2709
2724
  }
2710
- const v = (x) => {
2711
- y.current && g((S) => S + (x - y.current) * 0.027), y.current = x, h.current = requestAnimationFrame(v);
2725
+ const k = (v) => {
2726
+ y.current && b(($) => $ + (v - y.current) * 0.027), y.current = v, h.current = requestAnimationFrame(k);
2712
2727
  };
2713
- return h.current = requestAnimationFrame(v), () => {
2728
+ return h.current = requestAnimationFrame(k), () => {
2714
2729
  cancelAnimationFrame(h.current), y.current = 0;
2715
2730
  };
2716
2731
  }, [r, i]);
2717
- const m = R[a] ?? R.online;
2718
- return /* @__PURE__ */ d(
2732
+ const m = E[a] ?? E.online;
2733
+ return /* @__PURE__ */ c(
2719
2734
  "div",
2720
2735
  {
2721
2736
  style: {
2722
- width: pe * n,
2723
- height: G * n,
2737
+ width: be * n,
2738
+ height: te * n,
2724
2739
  position: "relative",
2725
2740
  display: "flex",
2726
2741
  alignItems: "center",
@@ -2740,7 +2755,7 @@ function Se({
2740
2755
  animation: "holo-led-blink 1.5s infinite",
2741
2756
  filter: `drop-shadow(0 0 10px ${m.color})`
2742
2757
  },
2743
- children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
2758
+ children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
2744
2759
  /* @__PURE__ */ e(
2745
2760
  "path",
2746
2761
  {
@@ -2772,8 +2787,8 @@ function Se({
2772
2787
  {
2773
2788
  style: {
2774
2789
  position: "absolute",
2775
- width: pe * 1.4 * n,
2776
- height: G * 0.8 * n,
2790
+ width: be * 1.4 * n,
2791
+ height: te * 0.8 * n,
2777
2792
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
2778
2793
  filter: `blur(${Math.round(45 * n)}px)`,
2779
2794
  pointerEvents: "none",
@@ -2792,20 +2807,20 @@ function Se({
2792
2807
  transform: `scale(${n})`,
2793
2808
  transformOrigin: "center center"
2794
2809
  },
2795
- children: /* @__PURE__ */ d(
2810
+ children: /* @__PURE__ */ c(
2796
2811
  "div",
2797
2812
  {
2798
2813
  style: {
2799
- width: pe,
2800
- height: G,
2814
+ width: be,
2815
+ height: te,
2801
2816
  position: "relative",
2802
2817
  transformStyle: "preserve-3d",
2803
2818
  transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
2804
2819
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
2805
2820
  },
2806
2821
  children: [
2807
- /* @__PURE__ */ e("div", { style: ke.front, children: /* @__PURE__ */ e(
2808
- di,
2822
+ /* @__PURE__ */ e("div", { style: Pe.front, children: /* @__PURE__ */ e(
2823
+ pi,
2809
2824
  {
2810
2825
  cfg: m,
2811
2826
  name: s,
@@ -2813,19 +2828,19 @@ function Se({
2813
2828
  memLoad: u,
2814
2829
  status: a,
2815
2830
  compact: p,
2816
- brandLabel: c
2831
+ brandLabel: d
2817
2832
  }
2818
2833
  ) }),
2819
- /* @__PURE__ */ e("div", { style: ke.back, children: /* @__PURE__ */ e(ci, {}) }),
2820
- /* @__PURE__ */ e("div", { style: ke.left, children: /* @__PURE__ */ e(vt, { side: "left", color: m.color, brandLabel: c }) }),
2821
- /* @__PURE__ */ e("div", { style: ke.right, children: /* @__PURE__ */ e(vt, { side: "right", color: m.color, brandLabel: c }) }),
2822
- /* @__PURE__ */ e("div", { style: ke.top, children: /* @__PURE__ */ e(pi, { cpuLoad: l }) }),
2823
- /* @__PURE__ */ e("div", { style: ke.bottom, children: /* @__PURE__ */ e(
2834
+ /* @__PURE__ */ e("div", { style: Pe.back, children: /* @__PURE__ */ e(fi, {}) }),
2835
+ /* @__PURE__ */ e("div", { style: Pe.left, children: /* @__PURE__ */ e($t, { side: "left", color: m.color, brandLabel: d }) }),
2836
+ /* @__PURE__ */ e("div", { style: Pe.right, children: /* @__PURE__ */ e($t, { side: "right", color: m.color, brandLabel: d }) }),
2837
+ /* @__PURE__ */ e("div", { style: Pe.top, children: /* @__PURE__ */ e(ui, { cpuLoad: l }) }),
2838
+ /* @__PURE__ */ e("div", { style: Pe.bottom, children: /* @__PURE__ */ e(
2824
2839
  "div",
2825
2840
  {
2826
2841
  style: {
2827
- width: pe,
2828
- height: he,
2842
+ width: be,
2843
+ height: me,
2829
2844
  background: "linear-gradient(180deg, #030710, #020508)"
2830
2845
  }
2831
2846
  }
@@ -2839,7 +2854,7 @@ function Se({
2839
2854
  }
2840
2855
  );
2841
2856
  }
2842
- function qi({
2857
+ function Qi({
2843
2858
  ex: t,
2844
2859
  ey: i,
2845
2860
  compactOffset: o,
@@ -2849,18 +2864,18 @@ function qi({
2849
2864
  subLabel: s,
2850
2865
  color: l,
2851
2866
  delay: u,
2852
- visibleAtPhase: c,
2867
+ visibleAtPhase: d,
2853
2868
  cpuLoad: p,
2854
2869
  memLoad: f,
2855
- brandLabel: g,
2870
+ brandLabel: b,
2856
2871
  dialogMetrics: h,
2857
2872
  subComponents: y,
2858
2873
  graphSeries: m,
2859
- alert: v
2874
+ alert: k
2860
2875
  }) {
2861
- const x = R[a]?.color ?? l;
2876
+ const v = E[a]?.color ?? l;
2862
2877
  return /* @__PURE__ */ e(
2863
- I,
2878
+ O,
2864
2879
  {
2865
2880
  ex: t,
2866
2881
  ey: i,
@@ -2868,9 +2883,9 @@ function qi({
2868
2883
  zIndex: n,
2869
2884
  label: r,
2870
2885
  subLabel: s,
2871
- color: x,
2886
+ color: v,
2872
2887
  delay: u,
2873
- visibleAtPhase: c,
2888
+ visibleAtPhase: d,
2874
2889
  componentInfo: {
2875
2890
  type: "server",
2876
2891
  name: r,
@@ -2880,16 +2895,16 @@ function qi({
2880
2895
  subComponents: y,
2881
2896
  graphSeries: m
2882
2897
  },
2883
- alert: v,
2884
- children: /* @__PURE__ */ e(Se, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
2898
+ alert: k,
2899
+ children: /* @__PURE__ */ e(ke, { status: a, cpuLoad: p, memLoad: f, brandLabel: b })
2885
2900
  }
2886
2901
  );
2887
2902
  }
2888
- const ot = 12, we = 55, re = we * 2, Pe = 52, dt = 10, et = 3 * Pe + 2 * dt, Re = 2 * Math.PI * we / ot, tt = Array.from({ length: ot }, (t, i) => i / ot * 360);
2889
- function it(t) {
2903
+ const st = 12, $e = 55, le = $e * 2, Ie = 52, ut = 10, ot = 3 * Ie + 2 * ut, Ae = 2 * Math.PI * $e / st, rt = Array.from({ length: st }, (t, i) => i / st * 360);
2904
+ function at(t) {
2890
2905
  return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
2891
2906
  }
2892
- function fi({
2907
+ function hi({
2893
2908
  diskY: t,
2894
2909
  diskIdx: i,
2895
2910
  cfg: o,
@@ -2897,25 +2912,25 @@ function fi({
2897
2912
  capacity: r,
2898
2913
  compact: a
2899
2914
  }) {
2900
- return /* @__PURE__ */ d(De, { children: [
2901
- tt.map((s, l) => {
2902
- const u = it(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");
2915
+ return /* @__PURE__ */ c(ze, { children: [
2916
+ rt.map((s, l) => {
2917
+ const u = at(s), d = l === 0, p = Math.round(4 + u * 9), f = Math.round(12 + u * 22), b = Math.round(28 + u * 44), h = Math.round(u * 0.55 * 255).toString(16).padStart(2, "0");
2903
2918
  return /* @__PURE__ */ e(
2904
2919
  "div",
2905
2920
  {
2906
2921
  style: {
2907
2922
  position: "absolute",
2908
- width: Re,
2909
- height: Pe,
2910
- left: (re - Re) / 2,
2923
+ width: Ae,
2924
+ height: Ie,
2925
+ left: (le - Ae) / 2,
2911
2926
  top: t,
2912
- transform: `rotateY(${s}deg) translateZ(${we}px)`,
2927
+ transform: `rotateY(${s}deg) translateZ(${$e}px)`,
2913
2928
  backfaceVisibility: "hidden",
2914
- 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})`,
2929
+ 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},${b})`,
2915
2930
  borderLeft: `1px solid ${o.color}${h}`,
2916
- boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
2931
+ boxShadow: d ? `inset 0 0 18px ${o.color}28` : "none"
2917
2932
  },
2918
- children: c && /* @__PURE__ */ d(De, { children: [
2933
+ children: d && /* @__PURE__ */ c(ze, { children: [
2919
2934
  /* @__PURE__ */ e(
2920
2935
  "div",
2921
2936
  {
@@ -2963,15 +2978,15 @@ function fi({
2963
2978
  `p${i}${l}`
2964
2979
  );
2965
2980
  }),
2966
- /* @__PURE__ */ d(
2981
+ /* @__PURE__ */ c(
2967
2982
  "div",
2968
2983
  {
2969
2984
  style: {
2970
2985
  position: "absolute",
2971
- width: re + 4,
2972
- height: re + 4,
2986
+ width: le + 4,
2987
+ height: le + 4,
2973
2988
  left: -2,
2974
- top: t - we,
2989
+ top: t - $e,
2975
2990
  borderRadius: "50%",
2976
2991
  transform: "rotateX(90deg)",
2977
2992
  backfaceVisibility: "hidden",
@@ -3029,10 +3044,10 @@ function fi({
3029
3044
  {
3030
3045
  style: {
3031
3046
  position: "absolute",
3032
- width: re + 4,
3033
- height: re + 4,
3047
+ width: le + 4,
3048
+ height: le + 4,
3034
3049
  left: -2,
3035
- top: t + Pe - we,
3050
+ top: t + Ie - $e,
3036
3051
  borderRadius: "50%",
3037
3052
  transform: "rotateX(-90deg)",
3038
3053
  backfaceVisibility: "hidden",
@@ -3056,18 +3071,18 @@ function fi({
3056
3071
  )
3057
3072
  }
3058
3073
  ),
3059
- n && tt.map((s, l) => {
3060
- const u = it(s);
3074
+ n && rt.map((s, l) => {
3075
+ const u = at(s);
3061
3076
  return /* @__PURE__ */ e(
3062
3077
  "div",
3063
3078
  {
3064
3079
  style: {
3065
3080
  position: "absolute",
3066
- width: Re + 1.5,
3081
+ width: Ae + 1.5,
3067
3082
  height: 6,
3068
- left: (re - Re - 1.5) / 2,
3069
- top: t + Pe - 3,
3070
- transform: `rotateY(${s}deg) translateZ(${we + 1.5}px)`,
3083
+ left: (le - Ae - 1.5) / 2,
3084
+ top: t + Ie - 3,
3085
+ transform: `rotateY(${s}deg) translateZ(${$e + 1.5}px)`,
3071
3086
  backfaceVisibility: "hidden",
3072
3087
  background: o.color,
3073
3088
  boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
@@ -3077,20 +3092,20 @@ function fi({
3077
3092
  `rng${i}${l}`
3078
3093
  );
3079
3094
  }),
3080
- n && tt.map((s, l) => {
3081
- const u = it(s), c = Math.round(2 + u * 4), p = Math.round(5 + u * 10), f = Math.round(12 + u * 20);
3095
+ n && rt.map((s, l) => {
3096
+ const u = at(s), d = Math.round(2 + u * 4), p = Math.round(5 + u * 10), f = Math.round(12 + u * 20);
3082
3097
  return /* @__PURE__ */ e(
3083
3098
  "div",
3084
3099
  {
3085
3100
  style: {
3086
3101
  position: "absolute",
3087
- width: Re,
3088
- height: dt,
3089
- left: (re - Re) / 2,
3090
- top: t + Pe,
3091
- transform: `rotateY(${s}deg) translateZ(${we}px)`,
3102
+ width: Ae,
3103
+ height: ut,
3104
+ left: (le - Ae) / 2,
3105
+ top: t + Ie,
3106
+ transform: `rotateY(${s}deg) translateZ(${$e}px)`,
3092
3107
  backfaceVisibility: "hidden",
3093
- background: `rgb(${c},${p},${f})`
3108
+ background: `rgb(${d},${p},${f})`
3094
3109
  }
3095
3110
  },
3096
3111
  `gap${i}${l}`
@@ -3098,7 +3113,7 @@ function fi({
3098
3113
  })
3099
3114
  ] });
3100
3115
  }
3101
- function Be({
3116
+ function je({
3102
3117
  rotateX: t = -22,
3103
3118
  rotateY: i = -15,
3104
3119
  rotateZ: o = 0,
@@ -3110,26 +3125,26 @@ function Be({
3110
3125
  // connections = 284,
3111
3126
  _compact: l
3112
3127
  }) {
3113
- const [u, c] = E(i), p = _(0), f = _(0);
3114
- ge(() => {
3128
+ const [u, d] = C(i), p = q(0), f = q(0);
3129
+ de(() => {
3115
3130
  if (!r) {
3116
- c(i);
3131
+ d(i);
3117
3132
  return;
3118
3133
  }
3119
3134
  const h = (y) => {
3120
- f.current && c((m) => m + (y - f.current) * 0.027), f.current = y, p.current = requestAnimationFrame(h);
3135
+ f.current && d((m) => m + (y - f.current) * 0.027), f.current = y, p.current = requestAnimationFrame(h);
3121
3136
  };
3122
3137
  return p.current = requestAnimationFrame(h), () => {
3123
3138
  cancelAnimationFrame(p.current), f.current = 0;
3124
3139
  };
3125
3140
  }, [r, i]);
3126
- const g = R[a] ?? R.online;
3127
- return /* @__PURE__ */ d(
3141
+ const b = E[a] ?? E.online;
3142
+ return /* @__PURE__ */ c(
3128
3143
  "div",
3129
3144
  {
3130
3145
  style: {
3131
- width: re * n,
3132
- height: et * n,
3146
+ width: le * n,
3147
+ height: ot * n,
3133
3148
  position: "relative",
3134
3149
  display: "flex",
3135
3150
  alignItems: "center",
@@ -3149,7 +3164,7 @@ function Be({
3149
3164
  animation: "holo-led-blink 1.5s infinite",
3150
3165
  filter: `drop-shadow(0 0 10px ${a === "critical" ? "#ff2255" : "#ff8c00"})`
3151
3166
  },
3152
- children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
3167
+ children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
3153
3168
  /* @__PURE__ */ e(
3154
3169
  "path",
3155
3170
  {
@@ -3189,9 +3204,9 @@ function Be({
3189
3204
  {
3190
3205
  style: {
3191
3206
  position: "absolute",
3192
- width: re * 2.8 * n,
3193
- height: et * 0.85 * n,
3194
- background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
3207
+ width: le * 2.8 * n,
3208
+ height: ot * 0.85 * n,
3209
+ background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
3195
3210
  filter: `blur(${Math.round(50 * n)}px)`,
3196
3211
  pointerEvents: "none",
3197
3212
  top: "45%",
@@ -3213,19 +3228,19 @@ function Be({
3213
3228
  "div",
3214
3229
  {
3215
3230
  style: {
3216
- width: re,
3217
- height: et,
3231
+ width: le,
3232
+ height: ot,
3218
3233
  position: "relative",
3219
3234
  transformStyle: "preserve-3d",
3220
3235
  transform: `rotateX(${t}deg) rotateY(${u}deg) rotateZ(${o}deg)`,
3221
3236
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
3222
3237
  },
3223
3238
  children: [0, 1, 2].map((h) => /* @__PURE__ */ e(
3224
- fi,
3239
+ hi,
3225
3240
  {
3226
- diskY: h * (Pe + dt),
3241
+ diskY: h * (Ie + ut),
3227
3242
  diskIdx: h,
3228
- cfg: g,
3243
+ cfg: b,
3229
3244
  hasRingBelow: h < 2,
3230
3245
  capacity: s,
3231
3246
  compact: l
@@ -3240,7 +3255,7 @@ function Be({
3240
3255
  }
3241
3256
  );
3242
3257
  }
3243
- function Qi({
3258
+ function Ki({
3244
3259
  ex: t,
3245
3260
  ey: i,
3246
3261
  compactOffset: o,
@@ -3250,16 +3265,16 @@ function Qi({
3250
3265
  subLabel: s,
3251
3266
  color: l,
3252
3267
  delay: u,
3253
- visibleAtPhase: c,
3268
+ visibleAtPhase: d,
3254
3269
  capacity: p,
3255
3270
  dialogMetrics: f,
3256
- subComponents: g,
3271
+ subComponents: b,
3257
3272
  graphSeries: h,
3258
3273
  alert: y
3259
3274
  }) {
3260
- const m = R[a]?.color ?? l;
3275
+ const m = E[a]?.color ?? l;
3261
3276
  return /* @__PURE__ */ e(
3262
- I,
3277
+ O,
3263
3278
  {
3264
3279
  ex: t,
3265
3280
  ey: i,
@@ -3269,23 +3284,23 @@ function Qi({
3269
3284
  subLabel: s,
3270
3285
  color: m,
3271
3286
  delay: u,
3272
- visibleAtPhase: c,
3287
+ visibleAtPhase: d,
3273
3288
  componentInfo: {
3274
3289
  type: "database",
3275
3290
  name: r,
3276
3291
  status: a,
3277
3292
  context: { capacity: p },
3278
3293
  dialogMetrics: f,
3279
- subComponents: g,
3294
+ subComponents: b,
3280
3295
  graphSeries: h
3281
3296
  },
3282
3297
  alert: y,
3283
- children: /* @__PURE__ */ e(Be, { status: a, capacity: p })
3298
+ children: /* @__PURE__ */ e(je, { status: a, capacity: p })
3284
3299
  }
3285
3300
  );
3286
3301
  }
3287
- function ct({ status: t = "online", scale: i = 1 }) {
3288
- const n = (R[t] ?? R.online).color;
3302
+ function ht({ status: t = "online", scale: i = 1 }) {
3303
+ const n = (E[t] ?? E.online).color;
3289
3304
  return /* @__PURE__ */ e(
3290
3305
  "div",
3291
3306
  {
@@ -3296,7 +3311,7 @@ function ct({ status: t = "online", scale: i = 1 }) {
3296
3311
  alignItems: "center",
3297
3312
  justifyContent: "center"
3298
3313
  },
3299
- children: /* @__PURE__ */ d(
3314
+ children: /* @__PURE__ */ c(
3300
3315
  "div",
3301
3316
  {
3302
3317
  style: {
@@ -3309,7 +3324,7 @@ function ct({ status: t = "online", scale: i = 1 }) {
3309
3324
  transformOrigin: "center center"
3310
3325
  },
3311
3326
  children: [
3312
- /* @__PURE__ */ d("div", { style: { position: "relative", animation: "holo-float 4s ease-in-out infinite" }, children: [
3327
+ /* @__PURE__ */ c("div", { style: { position: "relative", animation: "holo-float 4s ease-in-out infinite" }, children: [
3313
3328
  /* @__PURE__ */ e(
3314
3329
  "div",
3315
3330
  {
@@ -3327,7 +3342,7 @@ function ct({ status: t = "online", scale: i = 1 }) {
3327
3342
  }
3328
3343
  }
3329
3344
  ),
3330
- /* @__PURE__ */ d(
3345
+ /* @__PURE__ */ c(
3331
3346
  "svg",
3332
3347
  {
3333
3348
  width: "70",
@@ -3335,7 +3350,7 @@ function ct({ status: t = "online", scale: i = 1 }) {
3335
3350
  viewBox: "0 0 70 75",
3336
3351
  style: { display: "block", overflow: "visible" },
3337
3352
  children: [
3338
- /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ d("radialGradient", { id: `usr-glow-${t}`, cx: "50%", cy: "45%", r: "55%", children: [
3353
+ /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ c("radialGradient", { id: `usr-glow-${t}`, cx: "50%", cy: "45%", r: "55%", children: [
3339
3354
  /* @__PURE__ */ e("stop", { offset: "0%", stopColor: n, stopOpacity: "0.12" }),
3340
3355
  /* @__PURE__ */ e("stop", { offset: "100%", stopColor: n, stopOpacity: "0" })
3341
3356
  ] }) }),
@@ -3396,7 +3411,7 @@ function ct({ status: t = "online", scale: i = 1 }) {
3396
3411
  }
3397
3412
  );
3398
3413
  }
3399
- function Ki({
3414
+ function Gi({
3400
3415
  ex: t,
3401
3416
  ey: i,
3402
3417
  compactOffset: o,
@@ -3407,7 +3422,7 @@ function Ki({
3407
3422
  visibleAtPhase: l
3408
3423
  }) {
3409
3424
  return /* @__PURE__ */ e(
3410
- I,
3425
+ O,
3411
3426
  {
3412
3427
  ex: t,
3413
3428
  ey: i,
@@ -3415,12 +3430,12 @@ function Ki({
3415
3430
  zIndex: n,
3416
3431
  color: s,
3417
3432
  visibleAtPhase: l,
3418
- children: /* @__PURE__ */ e(ct, { status: r, scale: a })
3433
+ children: /* @__PURE__ */ e(ht, { status: r, scale: a })
3419
3434
  }
3420
3435
  );
3421
3436
  }
3422
- const fe = 190, Z = 72, Ae = 120, Ce = at(fe, Z, Ae);
3423
- function ui({
3437
+ const ge = 190, ie = 72, Le = 120, Te = ct(ge, ie, Le);
3438
+ function bi({
3424
3439
  cfg: t,
3425
3440
  name: i,
3426
3441
  traffic: o,
@@ -3428,13 +3443,13 @@ function ui({
3428
3443
  compact: r
3429
3444
  }) {
3430
3445
  const a = Math.ceil(o / 100 * 8), s = Array(8).fill(t.color);
3431
- return /* @__PURE__ */ d(
3446
+ return /* @__PURE__ */ c(
3432
3447
  "div",
3433
3448
  {
3434
3449
  style: {
3435
- width: fe,
3436
- height: Z,
3437
- background: r ? Ne : rt,
3450
+ width: ge,
3451
+ height: ie,
3452
+ background: r ? Ue : dt,
3438
3453
  position: "relative",
3439
3454
  overflow: "hidden",
3440
3455
  fontFamily: "'Courier New', monospace",
@@ -3456,7 +3471,7 @@ function ui({
3456
3471
  }
3457
3472
  }
3458
3473
  ),
3459
- /* @__PURE__ */ d(
3474
+ /* @__PURE__ */ c(
3460
3475
  "div",
3461
3476
  {
3462
3477
  style: {
@@ -3505,7 +3520,7 @@ function ui({
3505
3520
  ]
3506
3521
  }
3507
3522
  ),
3508
- /* @__PURE__ */ d(
3523
+ /* @__PURE__ */ c(
3509
3524
  "div",
3510
3525
  {
3511
3526
  style: {
@@ -3520,15 +3535,15 @@ function ui({
3520
3535
  },
3521
3536
  children: [
3522
3537
  /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 8 }, (l, u) => {
3523
- const c = u < a, p = s[u];
3524
- return /* @__PURE__ */ d(
3538
+ const d = u < a, p = s[u];
3539
+ return /* @__PURE__ */ c(
3525
3540
  "div",
3526
3541
  {
3527
3542
  style: {
3528
3543
  width: 14,
3529
3544
  height: 24,
3530
3545
  background: "#03070f",
3531
- border: `1px solid ${c ? p + "66" : "#1a2d40"}`,
3546
+ border: `1px solid ${d ? p + "66" : "#1a2d40"}`,
3532
3547
  borderRadius: 1.5,
3533
3548
  display: "flex",
3534
3549
  flexDirection: "column",
@@ -3545,8 +3560,8 @@ function ui({
3545
3560
  width: 4,
3546
3561
  height: 4,
3547
3562
  borderRadius: "50%",
3548
- background: c ? p : "#0a1830",
3549
- boxShadow: c ? `0 0 5px ${p}, 0 0 10px ${p}88` : "none"
3563
+ background: d ? p : "#0a1830",
3564
+ boxShadow: d ? `0 0 5px ${p}, 0 0 10px ${p}88` : "none"
3550
3565
  }
3551
3566
  }
3552
3567
  ),
@@ -3569,9 +3584,9 @@ function ui({
3569
3584
  width: 4,
3570
3585
  height: 4,
3571
3586
  borderRadius: "50%",
3572
- background: c ? t.color : "#0a1830",
3573
- boxShadow: c ? `0 0 5px ${t.color}` : "none",
3574
- animation: c ? "holo-led-blink 1.8s linear infinite" : "none",
3587
+ background: d ? t.color : "#0a1830",
3588
+ boxShadow: d ? `0 0 5px ${t.color}` : "none",
3589
+ animation: d ? "holo-led-blink 1.8s linear infinite" : "none",
3575
3590
  animationDelay: `${u * 0.2}s`
3576
3591
  }
3577
3592
  }
@@ -3591,11 +3606,11 @@ function ui({
3591
3606
  }
3592
3607
  }
3593
3608
  ),
3594
- /* @__PURE__ */ d("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 5 }, children: [
3595
- /* @__PURE__ */ d("div", { children: [
3596
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
3609
+ /* @__PURE__ */ c("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 5 }, children: [
3610
+ /* @__PURE__ */ c("div", { children: [
3611
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
3597
3612
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "TRAFFIC" }),
3598
- /* @__PURE__ */ d("span", { style: { fontSize: 6, color: t.color }, children: [
3613
+ /* @__PURE__ */ c("span", { style: { fontSize: 6, color: t.color }, children: [
3599
3614
  o,
3600
3615
  "%"
3601
3616
  ] })
@@ -3625,9 +3640,9 @@ function ui({
3625
3640
  }
3626
3641
  )
3627
3642
  ] }),
3628
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
3643
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
3629
3644
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "ROUTES" }),
3630
- /* @__PURE__ */ d("span", { style: { fontSize: 6, color: t.color }, children: [
3645
+ /* @__PURE__ */ c("span", { style: { fontSize: 6, color: t.color }, children: [
3631
3646
  n,
3632
3647
  " active"
3633
3648
  ] })
@@ -3655,9 +3670,9 @@ function ui({
3655
3670
  { label: "HTTP", val: Math.round(o * 12.4), unit: "req/s" },
3656
3671
  { label: "HTTPS", val: Math.round(o * 8.6), unit: "req/s" },
3657
3672
  { label: "WS", val: Math.round(n * 3), unit: "conn" }
3658
- ].map((l) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
3673
+ ].map((l) => /* @__PURE__ */ c("div", { style: { display: "flex", gap: 3 }, children: [
3659
3674
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: l.label }),
3660
- /* @__PURE__ */ d("span", { style: { fontSize: 6, color: t.color + "88" }, children: [
3675
+ /* @__PURE__ */ c("span", { style: { fontSize: 6, color: t.color + "88" }, children: [
3661
3676
  l.val,
3662
3677
  " ",
3663
3678
  l.unit
@@ -3682,13 +3697,13 @@ function ui({
3682
3697
  }
3683
3698
  );
3684
3699
  }
3685
- function hi() {
3686
- return /* @__PURE__ */ d(
3700
+ function gi() {
3701
+ return /* @__PURE__ */ c(
3687
3702
  "div",
3688
3703
  {
3689
3704
  style: {
3690
- width: fe,
3691
- height: Z,
3705
+ width: ge,
3706
+ height: ie,
3692
3707
  background: "linear-gradient(180deg, #040c1a, #030810)",
3693
3708
  position: "relative",
3694
3709
  overflow: "hidden",
@@ -3703,7 +3718,7 @@ function hi() {
3703
3718
  {
3704
3719
  style: {
3705
3720
  width: 40,
3706
- height: Z - 16,
3721
+ height: ie - 16,
3707
3722
  background: "#020710",
3708
3723
  border: "1px solid #1a2d40",
3709
3724
  borderRadius: 2,
@@ -3759,7 +3774,7 @@ function hi() {
3759
3774
  style: {
3760
3775
  marginLeft: "auto",
3761
3776
  width: 12,
3762
- height: Z - 16,
3777
+ height: ie - 16,
3763
3778
  background: "#020710",
3764
3779
  border: "1px solid #1a3050",
3765
3780
  borderRadius: 1
@@ -3770,13 +3785,13 @@ function hi() {
3770
3785
  }
3771
3786
  );
3772
3787
  }
3773
- function wt({ side: t, color: i }) {
3774
- return /* @__PURE__ */ d(
3788
+ function kt({ side: t, color: i }) {
3789
+ return /* @__PURE__ */ c(
3775
3790
  "div",
3776
3791
  {
3777
3792
  style: {
3778
- width: Ae,
3779
- height: Z,
3793
+ width: Le,
3794
+ height: ie,
3780
3795
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
3781
3796
  position: "relative",
3782
3797
  overflow: "hidden"
@@ -3800,8 +3815,8 @@ function wt({ side: t, color: i }) {
3800
3815
  {
3801
3816
  style: {
3802
3817
  position: "absolute",
3803
- top: Z * 0.25,
3804
- bottom: Z * 0.25,
3818
+ top: ie * 0.25,
3819
+ bottom: ie * 0.25,
3805
3820
  left: 14,
3806
3821
  right: 14,
3807
3822
  display: "flex",
@@ -3827,14 +3842,14 @@ function wt({ side: t, color: i }) {
3827
3842
  }
3828
3843
  );
3829
3844
  }
3830
- function bi({ traffic: t }) {
3831
- const i = Math.floor((Ae - 14) / 7);
3832
- return /* @__PURE__ */ d(
3845
+ function yi({ traffic: t }) {
3846
+ const i = Math.floor((Le - 14) / 7);
3847
+ return /* @__PURE__ */ c(
3833
3848
  "div",
3834
3849
  {
3835
3850
  style: {
3836
- width: fe,
3837
- height: Ae,
3851
+ width: ge,
3852
+ height: Le,
3838
3853
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
3839
3854
  position: "relative",
3840
3855
  overflow: "hidden"
@@ -3848,7 +3863,7 @@ function bi({ traffic: t }) {
3848
3863
  top: 0,
3849
3864
  left: 0,
3850
3865
  right: 0,
3851
- height: Ae * 0.35,
3866
+ height: Le * 0.35,
3852
3867
  background: `radial-gradient(ellipse at 50% 0%,
3853
3868
  ${t > 70 ? "rgba(255,34,85,0.14)" : "rgba(0,229,255,0.08)"} 0%,
3854
3869
  transparent 70%)`
@@ -3886,7 +3901,7 @@ function bi({ traffic: t }) {
3886
3901
  }
3887
3902
  );
3888
3903
  }
3889
- function pt({
3904
+ function bt({
3890
3905
  rotateX: t = -20,
3891
3906
  rotateY: i = 20,
3892
3907
  rotateZ: o = 0,
@@ -3896,28 +3911,28 @@ function pt({
3896
3911
  name: s = "WEB-DISP-01",
3897
3912
  traffic: l = 78,
3898
3913
  activeRoutes: u = 12,
3899
- _compact: c
3914
+ _compact: d
3900
3915
  }) {
3901
- const [p, f] = E(i), g = _(0), h = _(0);
3902
- ge(() => {
3916
+ const [p, f] = C(i), b = q(0), h = q(0);
3917
+ de(() => {
3903
3918
  if (!r) {
3904
3919
  f(i);
3905
3920
  return;
3906
3921
  }
3907
- const m = (v) => {
3908
- h.current && f((x) => x + (v - h.current) * 0.027), h.current = v, g.current = requestAnimationFrame(m);
3922
+ const m = (k) => {
3923
+ h.current && f((v) => v + (k - h.current) * 0.027), h.current = k, b.current = requestAnimationFrame(m);
3909
3924
  };
3910
- return g.current = requestAnimationFrame(m), () => {
3911
- cancelAnimationFrame(g.current), h.current = 0;
3925
+ return b.current = requestAnimationFrame(m), () => {
3926
+ cancelAnimationFrame(b.current), h.current = 0;
3912
3927
  };
3913
3928
  }, [r, i]);
3914
- const y = R[a] ?? R.online;
3915
- return /* @__PURE__ */ d(
3929
+ const y = E[a] ?? E.online;
3930
+ return /* @__PURE__ */ c(
3916
3931
  "div",
3917
3932
  {
3918
3933
  style: {
3919
- width: fe * n,
3920
- height: Z * n,
3934
+ width: ge * n,
3935
+ height: ie * n,
3921
3936
  position: "relative",
3922
3937
  display: "flex",
3923
3938
  alignItems: "center",
@@ -3937,7 +3952,7 @@ function pt({
3937
3952
  animation: "holo-led-blink 1.5s infinite",
3938
3953
  filter: `drop-shadow(0 0 10px ${a === "critical" ? "#ff2255" : "#ff8c00"})`
3939
3954
  },
3940
- children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
3955
+ children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
3941
3956
  /* @__PURE__ */ e(
3942
3957
  "path",
3943
3958
  {
@@ -3977,8 +3992,8 @@ function pt({
3977
3992
  {
3978
3993
  style: {
3979
3994
  position: "absolute",
3980
- width: fe * 1.3 * n,
3981
- height: Z * 2 * n,
3995
+ width: ge * 1.3 * n,
3996
+ height: ie * 2 * n,
3982
3997
  background: `radial-gradient(ellipse, ${y.glow} 0%, transparent 65%)`,
3983
3998
  filter: `blur(${Math.round(40 * n)}px)`,
3984
3999
  pointerEvents: "none",
@@ -3997,33 +4012,33 @@ function pt({
3997
4012
  transform: `scale(${n})`,
3998
4013
  transformOrigin: "center center"
3999
4014
  },
4000
- children: /* @__PURE__ */ d(
4015
+ children: /* @__PURE__ */ c(
4001
4016
  "div",
4002
4017
  {
4003
4018
  style: {
4004
- width: fe,
4005
- height: Z,
4019
+ width: ge,
4020
+ height: ie,
4006
4021
  position: "relative",
4007
4022
  transformStyle: "preserve-3d",
4008
4023
  transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
4009
4024
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
4010
4025
  },
4011
4026
  children: [
4012
- /* @__PURE__ */ e("div", { style: Ce.front, children: /* @__PURE__ */ e(
4013
- ui,
4027
+ /* @__PURE__ */ e("div", { style: Te.front, children: /* @__PURE__ */ e(
4028
+ bi,
4014
4029
  {
4015
4030
  cfg: y,
4016
4031
  name: s,
4017
4032
  traffic: l,
4018
4033
  activeRoutes: u,
4019
- compact: c
4034
+ compact: d
4020
4035
  }
4021
4036
  ) }),
4022
- /* @__PURE__ */ e("div", { style: Ce.back, children: /* @__PURE__ */ e(hi, {}) }),
4023
- /* @__PURE__ */ e("div", { style: Ce.left, children: /* @__PURE__ */ e(wt, { side: "left", color: y.color }) }),
4024
- /* @__PURE__ */ e("div", { style: Ce.right, children: /* @__PURE__ */ e(wt, { side: "right", color: y.color }) }),
4025
- /* @__PURE__ */ e("div", { style: Ce.top, children: /* @__PURE__ */ e(bi, { traffic: l }) }),
4026
- /* @__PURE__ */ e("div", { style: Ce.bottom, children: /* @__PURE__ */ e("div", { style: { width: fe, height: Ae, background: "#020508" } }) })
4037
+ /* @__PURE__ */ e("div", { style: Te.back, children: /* @__PURE__ */ e(gi, {}) }),
4038
+ /* @__PURE__ */ e("div", { style: Te.left, children: /* @__PURE__ */ e(kt, { side: "left", color: y.color }) }),
4039
+ /* @__PURE__ */ e("div", { style: Te.right, children: /* @__PURE__ */ e(kt, { side: "right", color: y.color }) }),
4040
+ /* @__PURE__ */ e("div", { style: Te.top, children: /* @__PURE__ */ e(yi, { traffic: l }) }),
4041
+ /* @__PURE__ */ e("div", { style: Te.bottom, children: /* @__PURE__ */ e("div", { style: { width: ge, height: Le, background: "#020508" } }) })
4027
4042
  ]
4028
4043
  }
4029
4044
  )
@@ -4033,7 +4048,7 @@ function pt({
4033
4048
  }
4034
4049
  );
4035
4050
  }
4036
- function Gi({
4051
+ function Zi({
4037
4052
  ex: t,
4038
4053
  ey: i,
4039
4054
  compactOffset: o,
@@ -4043,17 +4058,17 @@ function Gi({
4043
4058
  subLabel: s,
4044
4059
  color: l,
4045
4060
  delay: u,
4046
- visibleAtPhase: c,
4061
+ visibleAtPhase: d,
4047
4062
  traffic: p,
4048
4063
  activeRoutes: f,
4049
- dialogMetrics: g,
4064
+ dialogMetrics: b,
4050
4065
  subComponents: h,
4051
4066
  graphSeries: y,
4052
4067
  alert: m
4053
4068
  }) {
4054
- const v = R[a]?.color ?? l;
4069
+ const k = E[a]?.color ?? l;
4055
4070
  return /* @__PURE__ */ e(
4056
- I,
4071
+ O,
4057
4072
  {
4058
4073
  ex: t,
4059
4074
  ey: i,
@@ -4061,30 +4076,30 @@ function Gi({
4061
4076
  zIndex: n,
4062
4077
  label: r,
4063
4078
  subLabel: s,
4064
- color: v,
4079
+ color: k,
4065
4080
  delay: u,
4066
- visibleAtPhase: c,
4081
+ visibleAtPhase: d,
4067
4082
  componentInfo: {
4068
4083
  type: "dispatcher",
4069
4084
  name: r,
4070
4085
  status: a,
4071
4086
  context: { traffic: p, activeRoutes: f },
4072
- dialogMetrics: g,
4087
+ dialogMetrics: b,
4073
4088
  subComponents: h,
4074
4089
  graphSeries: y
4075
4090
  },
4076
4091
  alert: m,
4077
- children: /* @__PURE__ */ e(pt, { status: a, traffic: p, activeRoutes: f })
4092
+ children: /* @__PURE__ */ e(bt, { status: a, traffic: p, activeRoutes: f })
4078
4093
  }
4079
4094
  );
4080
4095
  }
4081
- const ue = 190, J = 72, Te = 120, Ee = at(ue, J, Te), St = {
4096
+ const ye = 190, ne = 72, De = 120, Oe = ct(ye, ne, De), Rt = {
4082
4097
  online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
4083
4098
  warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
4084
4099
  critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
4085
4100
  offline: { color: "#1e3a5a", glow: "rgba(30,58,90,0.25)" }
4086
4101
  };
4087
- function gi({
4102
+ function mi({
4088
4103
  cfg: t,
4089
4104
  name: i,
4090
4105
  queueDepth: o,
@@ -4093,13 +4108,13 @@ function gi({
4093
4108
  compact: a
4094
4109
  }) {
4095
4110
  const { color: s, glow: l } = t;
4096
- return /* @__PURE__ */ d(
4111
+ return /* @__PURE__ */ c(
4097
4112
  "div",
4098
4113
  {
4099
4114
  style: {
4100
- width: ue,
4101
- height: J,
4102
- background: a ? Ne : rt,
4115
+ width: ye,
4116
+ height: ne,
4117
+ background: a ? Ue : dt,
4103
4118
  position: "relative",
4104
4119
  overflow: "hidden",
4105
4120
  fontFamily: "'Courier New', monospace",
@@ -4121,7 +4136,7 @@ function gi({
4121
4136
  }
4122
4137
  }
4123
4138
  ),
4124
- /* @__PURE__ */ d(
4139
+ /* @__PURE__ */ c(
4125
4140
  "div",
4126
4141
  {
4127
4142
  style: {
@@ -4170,7 +4185,7 @@ function gi({
4170
4185
  ]
4171
4186
  }
4172
4187
  ),
4173
- /* @__PURE__ */ d(
4188
+ /* @__PURE__ */ c(
4174
4189
  "div",
4175
4190
  {
4176
4191
  style: {
@@ -4184,9 +4199,9 @@ function gi({
4184
4199
  gap: 10
4185
4200
  },
4186
4201
  children: [
4187
- /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 5 }, (u, c) => {
4188
- const p = c < r;
4189
- return /* @__PURE__ */ d(
4202
+ /* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 5 }, (u, d) => {
4203
+ const p = d < r;
4204
+ return /* @__PURE__ */ c(
4190
4205
  "div",
4191
4206
  {
4192
4207
  style: {
@@ -4236,13 +4251,13 @@ function gi({
4236
4251
  background: p ? s : "#0a1830",
4237
4252
  boxShadow: p ? `0 0 5px ${s}` : "none",
4238
4253
  animation: p ? "holo-led-blink 2.2s linear infinite" : "none",
4239
- animationDelay: `${c * 0.28}s`
4254
+ animationDelay: `${d * 0.28}s`
4240
4255
  }
4241
4256
  }
4242
4257
  )
4243
4258
  ]
4244
4259
  },
4245
- c
4260
+ d
4246
4261
  );
4247
4262
  }) }),
4248
4263
  /* @__PURE__ */ e(
@@ -4255,11 +4270,11 @@ function gi({
4255
4270
  }
4256
4271
  }
4257
4272
  ),
4258
- /* @__PURE__ */ d("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 5 }, children: [
4259
- /* @__PURE__ */ d("div", { children: [
4260
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
4273
+ /* @__PURE__ */ c("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 5 }, children: [
4274
+ /* @__PURE__ */ c("div", { children: [
4275
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
4261
4276
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "QUEUE" }),
4262
- /* @__PURE__ */ d("span", { style: { fontSize: 6, color: s }, children: [
4277
+ /* @__PURE__ */ c("span", { style: { fontSize: 6, color: s }, children: [
4263
4278
  o,
4264
4279
  "%"
4265
4280
  ] })
@@ -4289,7 +4304,7 @@ function gi({
4289
4304
  }
4290
4305
  )
4291
4306
  ] }),
4292
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
4307
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
4293
4308
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "MSG/S" }),
4294
4309
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: s }, children: n })
4295
4310
  ] })
@@ -4316,9 +4331,9 @@ function gi({
4316
4331
  { label: "INST", val: r, unit: "conn" },
4317
4332
  { label: "ENQUEUE", val: Math.round(o * 2.4), unit: "msgs" },
4318
4333
  { label: "DISP", val: Math.round(n * 0.1), unit: "/s" }
4319
- ].map((u) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
4334
+ ].map((u) => /* @__PURE__ */ c("div", { style: { display: "flex", gap: 3 }, children: [
4320
4335
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: u.label }),
4321
- /* @__PURE__ */ d("span", { style: { fontSize: 6, color: s + "88" }, children: [
4336
+ /* @__PURE__ */ c("span", { style: { fontSize: 6, color: s + "88" }, children: [
4322
4337
  u.val,
4323
4338
  " ",
4324
4339
  u.unit
@@ -4343,13 +4358,13 @@ function gi({
4343
4358
  }
4344
4359
  );
4345
4360
  }
4346
- function yi() {
4347
- return /* @__PURE__ */ d(
4361
+ function xi() {
4362
+ return /* @__PURE__ */ c(
4348
4363
  "div",
4349
4364
  {
4350
4365
  style: {
4351
- width: ue,
4352
- height: J,
4366
+ width: ye,
4367
+ height: ne,
4353
4368
  background: "linear-gradient(180deg, #040c1a, #030810)",
4354
4369
  position: "relative",
4355
4370
  overflow: "hidden",
@@ -4364,7 +4379,7 @@ function yi() {
4364
4379
  {
4365
4380
  style: {
4366
4381
  width: 40,
4367
- height: J - 16,
4382
+ height: ne - 16,
4368
4383
  background: "#020710",
4369
4384
  border: "1px solid #1a2d40",
4370
4385
  borderRadius: 2,
@@ -4420,7 +4435,7 @@ function yi() {
4420
4435
  style: {
4421
4436
  marginLeft: "auto",
4422
4437
  width: 12,
4423
- height: J - 16,
4438
+ height: ne - 16,
4424
4439
  background: "#020710",
4425
4440
  border: "1px solid #1a3050",
4426
4441
  borderRadius: 1
@@ -4431,13 +4446,13 @@ function yi() {
4431
4446
  }
4432
4447
  );
4433
4448
  }
4434
- function $t({ side: t, color: i }) {
4435
- return /* @__PURE__ */ d(
4449
+ function Ct({ side: t, color: i }) {
4450
+ return /* @__PURE__ */ c(
4436
4451
  "div",
4437
4452
  {
4438
4453
  style: {
4439
- width: Te,
4440
- height: J,
4454
+ width: De,
4455
+ height: ne,
4441
4456
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
4442
4457
  position: "relative",
4443
4458
  overflow: "hidden"
@@ -4461,8 +4476,8 @@ function $t({ side: t, color: i }) {
4461
4476
  {
4462
4477
  style: {
4463
4478
  position: "absolute",
4464
- top: J * 0.25,
4465
- bottom: J * 0.25,
4479
+ top: ne * 0.25,
4480
+ bottom: ne * 0.25,
4466
4481
  left: 14,
4467
4482
  right: 14,
4468
4483
  display: "flex",
@@ -4488,14 +4503,14 @@ function $t({ side: t, color: i }) {
4488
4503
  }
4489
4504
  );
4490
4505
  }
4491
- function mi({ queueDepth: t, color: i }) {
4492
- const o = Math.floor((Te - 14) / 7);
4493
- return /* @__PURE__ */ d(
4506
+ function vi({ queueDepth: t, color: i }) {
4507
+ const o = Math.floor((De - 14) / 7);
4508
+ return /* @__PURE__ */ c(
4494
4509
  "div",
4495
4510
  {
4496
4511
  style: {
4497
- width: ue,
4498
- height: Te,
4512
+ width: ye,
4513
+ height: De,
4499
4514
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
4500
4515
  position: "relative",
4501
4516
  overflow: "hidden"
@@ -4509,7 +4524,7 @@ function mi({ queueDepth: t, color: i }) {
4509
4524
  top: 0,
4510
4525
  left: 0,
4511
4526
  right: 0,
4512
- height: Te * 0.35,
4527
+ height: De * 0.35,
4513
4528
  background: `radial-gradient(ellipse at 50% 0%,
4514
4529
  ${t > 70 ? "rgba(255,34,85,0.14)" : `${i}15`} 0%,
4515
4530
  transparent 70%)`
@@ -4547,7 +4562,7 @@ function mi({ queueDepth: t, color: i }) {
4547
4562
  }
4548
4563
  );
4549
4564
  }
4550
- function Tt({
4565
+ function Lt({
4551
4566
  rotateX: t = -20,
4552
4567
  rotateY: i = 20,
4553
4568
  rotateZ: o = 0,
@@ -4557,29 +4572,29 @@ function Tt({
4557
4572
  name: s = "MSG-SRV-01",
4558
4573
  queueDepth: l = 45,
4559
4574
  msgsPerSec: u = 230,
4560
- instances: c = 3,
4575
+ instances: d = 3,
4561
4576
  _compact: p
4562
4577
  }) {
4563
- const [f, g] = E(i), h = _(0), y = _(0);
4564
- ge(() => {
4578
+ const [f, b] = C(i), h = q(0), y = q(0);
4579
+ de(() => {
4565
4580
  if (!r) {
4566
- g(i);
4581
+ b(i);
4567
4582
  return;
4568
4583
  }
4569
- const v = (x) => {
4570
- y.current && g((S) => S + (x - y.current) * 0.027), y.current = x, h.current = requestAnimationFrame(v);
4584
+ const k = (v) => {
4585
+ y.current && b(($) => $ + (v - y.current) * 0.027), y.current = v, h.current = requestAnimationFrame(k);
4571
4586
  };
4572
- return h.current = requestAnimationFrame(v), () => {
4587
+ return h.current = requestAnimationFrame(k), () => {
4573
4588
  cancelAnimationFrame(h.current), y.current = 0;
4574
4589
  };
4575
4590
  }, [r, i]);
4576
- const m = St[a] ?? St.online;
4577
- return /* @__PURE__ */ d(
4591
+ const m = Rt[a] ?? Rt.online;
4592
+ return /* @__PURE__ */ c(
4578
4593
  "div",
4579
4594
  {
4580
4595
  style: {
4581
- width: ue * n,
4582
- height: J * n,
4596
+ width: ye * n,
4597
+ height: ne * n,
4583
4598
  position: "relative",
4584
4599
  display: "flex",
4585
4600
  alignItems: "center",
@@ -4599,7 +4614,7 @@ function Tt({
4599
4614
  animation: "holo-led-blink 1.5s infinite",
4600
4615
  filter: `drop-shadow(0 0 10px ${a === "critical" ? "#ff2255" : "#ff8c00"})`
4601
4616
  },
4602
- children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
4617
+ children: /* @__PURE__ */ c("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
4603
4618
  /* @__PURE__ */ e(
4604
4619
  "path",
4605
4620
  {
@@ -4639,8 +4654,8 @@ function Tt({
4639
4654
  {
4640
4655
  style: {
4641
4656
  position: "absolute",
4642
- width: ue * 1.3 * n,
4643
- height: J * 2 * n,
4657
+ width: ye * 1.3 * n,
4658
+ height: ne * 2 * n,
4644
4659
  background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
4645
4660
  filter: `blur(${Math.round(40 * n)}px)`,
4646
4661
  pointerEvents: "none",
@@ -4659,34 +4674,34 @@ function Tt({
4659
4674
  transform: `scale(${n})`,
4660
4675
  transformOrigin: "center center"
4661
4676
  },
4662
- children: /* @__PURE__ */ d(
4677
+ children: /* @__PURE__ */ c(
4663
4678
  "div",
4664
4679
  {
4665
4680
  style: {
4666
- width: ue,
4667
- height: J,
4681
+ width: ye,
4682
+ height: ne,
4668
4683
  position: "relative",
4669
4684
  transformStyle: "preserve-3d",
4670
4685
  transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
4671
4686
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
4672
4687
  },
4673
4688
  children: [
4674
- /* @__PURE__ */ e("div", { style: Ee.front, children: /* @__PURE__ */ e(
4675
- gi,
4689
+ /* @__PURE__ */ e("div", { style: Oe.front, children: /* @__PURE__ */ e(
4690
+ mi,
4676
4691
  {
4677
4692
  cfg: m,
4678
4693
  name: s,
4679
4694
  queueDepth: l,
4680
4695
  msgsPerSec: u,
4681
- instances: c,
4696
+ instances: d,
4682
4697
  compact: p
4683
4698
  }
4684
4699
  ) }),
4685
- /* @__PURE__ */ e("div", { style: Ee.back, children: /* @__PURE__ */ e(yi, {}) }),
4686
- /* @__PURE__ */ e("div", { style: Ee.left, children: /* @__PURE__ */ e($t, { side: "left", color: m.color }) }),
4687
- /* @__PURE__ */ e("div", { style: Ee.right, children: /* @__PURE__ */ e($t, { side: "right", color: m.color }) }),
4688
- /* @__PURE__ */ e("div", { style: Ee.top, children: /* @__PURE__ */ e(mi, { queueDepth: l, color: m.color }) }),
4689
- /* @__PURE__ */ e("div", { style: Ee.bottom, children: /* @__PURE__ */ e("div", { style: { width: ue, height: Te, background: "#020508" } }) })
4700
+ /* @__PURE__ */ e("div", { style: Oe.back, children: /* @__PURE__ */ e(xi, {}) }),
4701
+ /* @__PURE__ */ e("div", { style: Oe.left, children: /* @__PURE__ */ e(Ct, { side: "left", color: m.color }) }),
4702
+ /* @__PURE__ */ e("div", { style: Oe.right, children: /* @__PURE__ */ e(Ct, { side: "right", color: m.color }) }),
4703
+ /* @__PURE__ */ e("div", { style: Oe.top, children: /* @__PURE__ */ e(vi, { queueDepth: l, color: m.color }) }),
4704
+ /* @__PURE__ */ e("div", { style: Oe.bottom, children: /* @__PURE__ */ e("div", { style: { width: ye, height: De, background: "#020508" } }) })
4690
4705
  ]
4691
4706
  }
4692
4707
  )
@@ -4696,13 +4711,13 @@ function Tt({
4696
4711
  }
4697
4712
  );
4698
4713
  }
4699
- const xi = {
4714
+ const wi = {
4700
4715
  online: "#bb55ff",
4701
4716
  warning: "#ff8c00",
4702
4717
  critical: "#ff2255",
4703
4718
  offline: "#1e3a5a"
4704
4719
  };
4705
- function Zi({
4720
+ function Ji({
4706
4721
  ex: t,
4707
4722
  ey: i,
4708
4723
  compactOffset: o,
@@ -4712,18 +4727,18 @@ function Zi({
4712
4727
  subLabel: s,
4713
4728
  color: l,
4714
4729
  delay: u,
4715
- visibleAtPhase: c,
4730
+ visibleAtPhase: d,
4716
4731
  queueDepth: p,
4717
4732
  msgsPerSec: f,
4718
- instances: g,
4733
+ instances: b,
4719
4734
  dialogMetrics: h,
4720
4735
  subComponents: y,
4721
4736
  graphSeries: m,
4722
- alert: v
4737
+ alert: k
4723
4738
  }) {
4724
- const x = xi[a] ?? l ?? "#bb55ff";
4739
+ const v = wi[a] ?? l ?? "#bb55ff";
4725
4740
  return /* @__PURE__ */ e(
4726
- I,
4741
+ O,
4727
4742
  {
4728
4743
  ex: t,
4729
4744
  ey: i,
@@ -4731,26 +4746,26 @@ function Zi({
4731
4746
  zIndex: n,
4732
4747
  label: r,
4733
4748
  subLabel: s,
4734
- color: x,
4749
+ color: v,
4735
4750
  delay: u,
4736
- visibleAtPhase: c,
4751
+ visibleAtPhase: d,
4737
4752
  componentInfo: {
4738
4753
  type: "messageServer",
4739
4754
  name: r,
4740
4755
  status: a,
4741
- context: { queueDepth: p, msgsPerSec: f, instances: g },
4756
+ context: { queueDepth: p, msgsPerSec: f, instances: b },
4742
4757
  dialogMetrics: h,
4743
4758
  subComponents: y,
4744
4759
  graphSeries: m
4745
4760
  },
4746
- alert: v,
4761
+ alert: k,
4747
4762
  children: /* @__PURE__ */ e(
4748
- Tt,
4763
+ Lt,
4749
4764
  {
4750
4765
  status: a,
4751
4766
  queueDepth: p,
4752
4767
  msgsPerSec: f,
4753
- instances: g
4768
+ instances: b
4754
4769
  }
4755
4770
  )
4756
4771
  }
@@ -4762,10 +4777,10 @@ function N(t, i, o = 24) {
4762
4777
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * i + (Math.random() - 0.5) * 10));
4763
4778
  });
4764
4779
  }
4765
- function vi({ data: t, color: i, height: o = 28 }) {
4780
+ function Si({ data: t, color: i, height: o = 28 }) {
4766
4781
  const r = o, a = Math.max(...t, 1), s = t.map((l, u) => {
4767
- const c = u / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
4768
- return `${c},${p}`;
4782
+ const d = u / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
4783
+ return `${d},${p}`;
4769
4784
  }).join(" ");
4770
4785
  return /* @__PURE__ */ e("svg", { width: 120, height: r, style: { display: "block", overflow: "visible" }, children: /* @__PURE__ */ e(
4771
4786
  "polyline",
@@ -4780,7 +4795,7 @@ function vi({ data: t, color: i, height: o = 28 }) {
4780
4795
  }
4781
4796
  ) });
4782
4797
  }
4783
- function wi({
4798
+ function $i({
4784
4799
  type: t,
4785
4800
  name: i,
4786
4801
  context: o = {},
@@ -4788,8 +4803,8 @@ function wi({
4788
4803
  animPhase: r,
4789
4804
  series: a
4790
4805
  }) {
4791
- const s = n === "critical" || n === "offline" ? "#ff2255" : n === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : Si(t, o), u = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
4792
- return /* @__PURE__ */ d(
4806
+ const s = n === "critical" || n === "offline" ? "#ff2255" : n === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ki(t, o), u = r >= 0.3 ? 0 : -280, d = r >= 0.2 ? 1 : 0;
4807
+ return /* @__PURE__ */ c(
4793
4808
  "div",
4794
4809
  {
4795
4810
  style: {
@@ -4803,11 +4818,11 @@ function wi({
4803
4818
  flexDirection: "column",
4804
4819
  overflow: "hidden",
4805
4820
  transform: `translateX(${u}px)`,
4806
- opacity: c,
4821
+ opacity: d,
4807
4822
  transition: "transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease"
4808
4823
  },
4809
4824
  children: [
4810
- /* @__PURE__ */ d(
4825
+ /* @__PURE__ */ c(
4811
4826
  "div",
4812
4827
  {
4813
4828
  style: {
@@ -4817,14 +4832,14 @@ function wi({
4817
4832
  },
4818
4833
  children: [
4819
4834
  /* @__PURE__ */ e("div", { style: { fontSize: 10, color: s + "cc", letterSpacing: "0.12em", fontFamily: "'Courier New', monospace" }, children: "HISTORICAL" }),
4820
- /* @__PURE__ */ d("div", { style: { fontSize: 12, fontWeight: 700, color: "#fff", letterSpacing: "0.06em", marginTop: 2, fontFamily: "'Courier New', monospace" }, children: [
4835
+ /* @__PURE__ */ c("div", { style: { fontSize: 12, fontWeight: 700, color: "#fff", letterSpacing: "0.06em", marginTop: 2, fontFamily: "'Courier New', monospace" }, children: [
4821
4836
  i,
4822
4837
  " · Sub-components"
4823
4838
  ] })
4824
4839
  ]
4825
4840
  }
4826
4841
  ),
4827
- /* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", padding: "12px 10px", display: "flex", flexDirection: "column", gap: 16 }, children: l.map((p, f) => /* @__PURE__ */ d(
4842
+ /* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", padding: "12px 10px", display: "flex", flexDirection: "column", gap: 16 }, children: l.map((p, f) => /* @__PURE__ */ c(
4828
4843
  "div",
4829
4844
  {
4830
4845
  style: {
@@ -4836,14 +4851,14 @@ function wi({
4836
4851
  opacity: r >= 0.5 ? 1 : 0
4837
4852
  },
4838
4853
  children: [
4839
- /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center", marginBottom: 6 }, children: [
4854
+ /* @__PURE__ */ c("div", { style: { display: "flex", justifyContent: "space-between", alignItems: "center", marginBottom: 6 }, children: [
4840
4855
  /* @__PURE__ */ e("span", { style: { fontSize: 9, fontWeight: 600, color: p.color, letterSpacing: "0.08em", fontFamily: "'Courier New', monospace" }, children: p.label }),
4841
- /* @__PURE__ */ d("span", { style: { fontSize: 8, color: p.color + "99", fontFamily: "'Courier New', monospace" }, children: [
4856
+ /* @__PURE__ */ c("span", { style: { fontSize: 8, color: p.color + "99", fontFamily: "'Courier New', monospace" }, children: [
4842
4857
  Math.round(p.data[p.data.length - 1] ?? 0),
4843
4858
  p.unit
4844
4859
  ] })
4845
4860
  ] }),
4846
- /* @__PURE__ */ e(vi, { data: p.data, color: p.color, height: 26 })
4861
+ /* @__PURE__ */ e(Si, { data: p.data, color: p.color, height: 26 })
4847
4862
  ]
4848
4863
  },
4849
4864
  p.id
@@ -4852,7 +4867,7 @@ function wi({
4852
4867
  }
4853
4868
  );
4854
4869
  }
4855
- function Si(t, i) {
4870
+ function ki(t, i) {
4856
4871
  if (t === "server") {
4857
4872
  const o = i.cpuLoad ?? 50, n = i.memLoad ?? 60;
4858
4873
  return [
@@ -4888,7 +4903,7 @@ function Si(t, i) {
4888
4903
  }
4889
4904
  return [];
4890
4905
  }
4891
- function It({
4906
+ function Dt({
4892
4907
  w: t,
4893
4908
  h: i,
4894
4909
  color: o,
@@ -4897,14 +4912,14 @@ function It({
4897
4912
  delay: a = "0s",
4898
4913
  children: s
4899
4914
  }) {
4900
- const l = r ? R[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
4901
- return /* @__PURE__ */ d(
4915
+ const l = r ? E[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
4916
+ return /* @__PURE__ */ c(
4902
4917
  "div",
4903
4918
  {
4904
4919
  style: {
4905
4920
  width: t,
4906
4921
  height: i,
4907
- background: Ne,
4922
+ background: Ue,
4908
4923
  position: "relative",
4909
4924
  overflow: "hidden",
4910
4925
  borderRadius: 2,
@@ -4938,8 +4953,8 @@ function It({
4938
4953
  width: 4,
4939
4954
  height: 4,
4940
4955
  borderRadius: "50%",
4941
- background: R[r]?.color,
4942
- boxShadow: `0 0 6px ${R[r]?.color}`,
4956
+ background: E[r]?.color,
4957
+ boxShadow: `0 0 6px ${E[r]?.color}`,
4943
4958
  animation: "holo-led-blink 1.2s infinite"
4944
4959
  }
4945
4960
  }
@@ -4981,20 +4996,20 @@ function It({
4981
4996
  }
4982
4997
  );
4983
4998
  }
4984
- function _e({
4999
+ function Ke({
4985
5000
  color: t = "#00e5ff",
4986
5001
  label: i = "CPU-0",
4987
5002
  status: o = "online",
4988
5003
  load: n = 0
4989
5004
  }) {
4990
- return /* @__PURE__ */ d("div", { style: { position: "relative", width: 52, height: 36 }, children: [
4991
- /* @__PURE__ */ d(
5005
+ return /* @__PURE__ */ c("div", { style: { position: "relative", width: 52, height: 36 }, children: [
5006
+ /* @__PURE__ */ c(
4992
5007
  "div",
4993
5008
  {
4994
5009
  style: {
4995
5010
  width: 52,
4996
5011
  height: 36,
4997
- background: Ne,
5012
+ background: Ue,
4998
5013
  position: "relative",
4999
5014
  borderRadius: 2,
5000
5015
  border: `1px solid ${t}55`,
@@ -5065,8 +5080,8 @@ function _e({
5065
5080
  width: 4,
5066
5081
  height: 4,
5067
5082
  borderRadius: "50%",
5068
- background: R[o]?.color,
5069
- boxShadow: `0 0 6px ${R[o]?.color}`,
5083
+ background: E[o]?.color,
5084
+ boxShadow: `0 0 6px ${E[o]?.color}`,
5070
5085
  animation: "holo-led-blink 1.2s infinite"
5071
5086
  }
5072
5087
  }
@@ -5092,14 +5107,14 @@ function _e({
5092
5107
  )
5093
5108
  ] });
5094
5109
  }
5095
- function je({
5110
+ function Ge({
5096
5111
  color: t = "#00e5ff",
5097
5112
  label: i = "HEAP-0",
5098
5113
  status: o = "online",
5099
5114
  usedPercent: n = 0
5100
5115
  }) {
5101
- return /* @__PURE__ */ d("div", { style: { position: "relative", width: 28, height: 48 }, children: [
5102
- /* @__PURE__ */ d(
5116
+ return /* @__PURE__ */ c("div", { style: { position: "relative", width: 28, height: 48 }, children: [
5117
+ /* @__PURE__ */ c(
5103
5118
  "div",
5104
5119
  {
5105
5120
  style: {
@@ -5163,7 +5178,7 @@ function je({
5163
5178
  width: 3,
5164
5179
  height: 3,
5165
5180
  borderRadius: "50%",
5166
- background: R[o]?.color,
5181
+ background: E[o]?.color,
5167
5182
  animation: "holo-led-blink 1.2s infinite"
5168
5183
  }
5169
5184
  }
@@ -5189,13 +5204,13 @@ function je({
5189
5204
  )
5190
5205
  ] });
5191
5206
  }
5192
- function Ie({
5207
+ function Ne({
5193
5208
  color: t = "#00e5ff",
5194
5209
  label: i = "DRIVE-1",
5195
5210
  status: o = "online",
5196
5211
  activity: n = !1
5197
5212
  }) {
5198
- return /* @__PURE__ */ d(It, { w: 56, h: 22, color: t, label: i, status: o, children: [
5213
+ return /* @__PURE__ */ c(Dt, { w: 56, h: 22, color: t, label: i, status: o, children: [
5199
5214
  /* @__PURE__ */ e(
5200
5215
  "div",
5201
5216
  {
@@ -5228,18 +5243,18 @@ function Ie({
5228
5243
  )
5229
5244
  ] });
5230
5245
  }
5231
- function Ot({
5246
+ function Nt({
5232
5247
  color: t = "#00e5ff",
5233
5248
  label: i = "NET",
5234
5249
  status: o = "online"
5235
5250
  }) {
5236
- return /* @__PURE__ */ d(
5251
+ return /* @__PURE__ */ c(
5237
5252
  "div",
5238
5253
  {
5239
5254
  style: {
5240
5255
  width: 48,
5241
5256
  height: 28,
5242
- background: Ne,
5257
+ background: Ue,
5243
5258
  position: "relative",
5244
5259
  borderRadius: 2,
5245
5260
  border: `1px solid ${t}44`,
@@ -5297,16 +5312,16 @@ function F({
5297
5312
  label: i = "THREAD",
5298
5313
  status: o = "online"
5299
5314
  }) {
5300
- return /* @__PURE__ */ e(It, { w: 44, h: 28, color: t, label: i, status: o });
5315
+ return /* @__PURE__ */ e(Dt, { w: 44, h: 28, color: t, label: i, status: o });
5301
5316
  }
5302
- function Ye({
5317
+ function Qe({
5303
5318
  color: t = "#ff8c00",
5304
5319
  label: i = "PLATTER-0",
5305
5320
  status: o = "online",
5306
5321
  capacityPercent: n = 0
5307
5322
  }) {
5308
- return /* @__PURE__ */ d("div", { style: { position: "relative", width: 48, height: 62 }, children: [
5309
- /* @__PURE__ */ d(
5323
+ return /* @__PURE__ */ c("div", { style: { position: "relative", width: 48, height: 62 }, children: [
5324
+ /* @__PURE__ */ c(
5310
5325
  "div",
5311
5326
  {
5312
5327
  style: {
@@ -5357,7 +5372,7 @@ function Ye({
5357
5372
  width: 4,
5358
5373
  height: 4,
5359
5374
  borderRadius: "50%",
5360
- background: R[o]?.color,
5375
+ background: E[o]?.color,
5361
5376
  animation: "holo-led-blink 1.2s infinite"
5362
5377
  }
5363
5378
  }
@@ -5383,12 +5398,12 @@ function Ye({
5383
5398
  )
5384
5399
  ] });
5385
5400
  }
5386
- function V({
5401
+ function K({
5387
5402
  color: t = "#00e5ff",
5388
5403
  label: i = "PORT-1",
5389
5404
  status: o = "online"
5390
5405
  }) {
5391
- return /* @__PURE__ */ d(
5406
+ return /* @__PURE__ */ c(
5392
5407
  "div",
5393
5408
  {
5394
5409
  style: {
@@ -5412,7 +5427,7 @@ function V({
5412
5427
  width: 4,
5413
5428
  height: 4,
5414
5429
  borderRadius: "50%",
5415
- background: o && o !== "online" ? R[o]?.color ?? t : t,
5430
+ background: o && o !== "online" ? E[o]?.color ?? t : t,
5416
5431
  boxShadow: `0 0 4px ${t}`,
5417
5432
  animation: o && o !== "online" && o !== "offline" ? "holo-led-blink 1s infinite" : "none"
5418
5433
  }
@@ -5453,7 +5468,7 @@ function V({
5453
5468
  }
5454
5469
  );
5455
5470
  }
5456
- function $i(t, i, o, n) {
5471
+ function Ri(t, i, o, n) {
5457
5472
  const r = o === "online" ? "online" : o;
5458
5473
  return t === "server" ? [
5459
5474
  {
@@ -5557,8 +5572,8 @@ function $i(t, i, o, n) {
5557
5572
  }
5558
5573
  ] : [];
5559
5574
  }
5560
- const W = "cubic-bezier(0.34, 1.56, 0.64, 1)", ki = "cubic-bezier(0.16, 1, 0.3, 1)";
5561
- function Ri({ items: t, revealPhase: i }) {
5575
+ const W = "cubic-bezier(0.34, 1.56, 0.64, 1)", Ci = "cubic-bezier(0.16, 1, 0.3, 1)";
5576
+ function Ei({ items: t, revealPhase: i }) {
5562
5577
  return /* @__PURE__ */ e(
5563
5578
  "div",
5564
5579
  {
@@ -5585,21 +5600,21 @@ function Ri({ items: t, revealPhase: i }) {
5585
5600
  }
5586
5601
  );
5587
5602
  }
5588
- function Ci({
5603
+ function Pi({
5589
5604
  type: t,
5590
5605
  status: i,
5591
5606
  context: o,
5592
5607
  internal: n,
5593
5608
  revealPhase: r
5594
5609
  }) {
5595
- const a = R[i]?.color ?? R.online.color, s = "#ff8c00";
5610
+ const a = E[i]?.color ?? E.online.color, s = "#ff8c00";
5596
5611
  if (t === "server") {
5597
- const l = o.cpuLoad ?? 50, u = o.memLoad ?? 60, c = [
5612
+ const l = o.cpuLoad ?? 50, u = o.memLoad ?? 60, d = [
5598
5613
  {
5599
5614
  key: "cpu0",
5600
5615
  delay: 0,
5601
5616
  el: /* @__PURE__ */ e(
5602
- _e,
5617
+ Ke,
5603
5618
  {
5604
5619
  color: a,
5605
5620
  label: "CPU-0",
@@ -5613,7 +5628,7 @@ function Ci({
5613
5628
  key: "cpu1",
5614
5629
  delay: 1,
5615
5630
  el: /* @__PURE__ */ e(
5616
- _e,
5631
+ Ke,
5617
5632
  {
5618
5633
  color: a,
5619
5634
  label: "CPU-1",
@@ -5627,7 +5642,7 @@ function Ci({
5627
5642
  key: "heap0",
5628
5643
  delay: 2,
5629
5644
  el: /* @__PURE__ */ e(
5630
- je,
5645
+ Ge,
5631
5646
  {
5632
5647
  color: "#8855ee",
5633
5648
  label: "HEAP-0",
@@ -5641,7 +5656,7 @@ function Ci({
5641
5656
  key: "heap1",
5642
5657
  delay: 3,
5643
5658
  el: /* @__PURE__ */ e(
5644
- je,
5659
+ Ge,
5645
5660
  {
5646
5661
  color: "#8855ee",
5647
5662
  label: "HEAP-1",
@@ -5654,13 +5669,13 @@ function Ci({
5654
5669
  {
5655
5670
  key: "d1",
5656
5671
  delay: 4,
5657
- el: /* @__PURE__ */ e(Ie, { color: a, label: "DRIVE-1", status: n[4]?.status, activity: !0 })
5672
+ el: /* @__PURE__ */ e(Ne, { color: a, label: "DRIVE-1", status: n[4]?.status, activity: !0 })
5658
5673
  },
5659
5674
  {
5660
5675
  key: "d2",
5661
5676
  delay: 5,
5662
5677
  el: /* @__PURE__ */ e(
5663
- Ie,
5678
+ Ne,
5664
5679
  {
5665
5680
  color: a,
5666
5681
  label: "DRIVE-2",
@@ -5673,7 +5688,7 @@ function Ci({
5673
5688
  key: "d3",
5674
5689
  delay: 6,
5675
5690
  el: /* @__PURE__ */ e(
5676
- Ie,
5691
+ Ne,
5677
5692
  {
5678
5693
  color: a,
5679
5694
  label: "DRIVE-3",
@@ -5690,7 +5705,7 @@ function Ci({
5690
5705
  {
5691
5706
  key: "net",
5692
5707
  delay: 8,
5693
- el: /* @__PURE__ */ e(Ot, { color: a, label: "NET", status: n[8]?.status })
5708
+ el: /* @__PURE__ */ e(Nt, { color: a, label: "NET", status: n[8]?.status })
5694
5709
  }
5695
5710
  ];
5696
5711
  return /* @__PURE__ */ e(
@@ -5704,7 +5719,7 @@ function Ci({
5704
5719
  alignItems: "center",
5705
5720
  padding: 24
5706
5721
  },
5707
- children: c.map(({ key: p, delay: f, el: g }) => /* @__PURE__ */ e(
5722
+ children: d.map(({ key: p, delay: f, el: b }) => /* @__PURE__ */ e(
5708
5723
  "div",
5709
5724
  {
5710
5725
  style: {
@@ -5712,7 +5727,7 @@ function Ci({
5712
5727
  transform: `scale(${r >= 0.2 + f * 0.08 ? 1 : 0.6})`,
5713
5728
  transition: `opacity 0.4s ${W} ${f * 0.06}s, transform 0.45s ${W} ${f * 0.06}s`
5714
5729
  },
5715
- children: g
5730
+ children: b
5716
5731
  },
5717
5732
  p
5718
5733
  ))
@@ -5720,22 +5735,22 @@ function Ci({
5720
5735
  );
5721
5736
  }
5722
5737
  if (t === "dispatcher") {
5723
- const l = Array.from({ length: 8 }, (u, c) => {
5724
- const p = n[c];
5738
+ const l = Array.from({ length: 8 }, (u, d) => {
5739
+ const p = n[d];
5725
5740
  return /* @__PURE__ */ e(
5726
5741
  "div",
5727
5742
  {
5728
5743
  style: {
5729
- opacity: r >= 0.25 + c * 0.04 ? 1 : 0,
5730
- transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
5731
- transition: `opacity 0.35s ${W} ${c * 0.04}s, transform 0.4s ${W} ${c * 0.04}s`
5744
+ opacity: r >= 0.25 + d * 0.04 ? 1 : 0,
5745
+ transform: `scale(${r >= 0.25 + d * 0.04 ? 1 : 0.5})`,
5746
+ transition: `opacity 0.35s ${W} ${d * 0.04}s, transform 0.4s ${W} ${d * 0.04}s`
5732
5747
  },
5733
- children: /* @__PURE__ */ e(V, { color: a, label: `PORT-${c + 1}`, status: p?.status })
5748
+ children: /* @__PURE__ */ e(K, { color: a, label: `PORT-${d + 1}`, status: p?.status })
5734
5749
  },
5735
- `p${c}`
5750
+ `p${d}`
5736
5751
  );
5737
5752
  });
5738
- return /* @__PURE__ */ d(
5753
+ return /* @__PURE__ */ c(
5739
5754
  "div",
5740
5755
  {
5741
5756
  style: {
@@ -5747,7 +5762,7 @@ function Ci({
5747
5762
  },
5748
5763
  children: [
5749
5764
  /* @__PURE__ */ e("div", { style: { display: "flex", gap: 10, flexWrap: "wrap", justifyContent: "center" }, children: l }),
5750
- /* @__PURE__ */ d("div", { style: { display: "flex", gap: 16 }, children: [
5765
+ /* @__PURE__ */ c("div", { style: { display: "flex", gap: 16 }, children: [
5751
5766
  /* @__PURE__ */ e(
5752
5767
  "div",
5753
5768
  {
@@ -5776,7 +5791,7 @@ function Ci({
5776
5791
  );
5777
5792
  }
5778
5793
  if (t === "messageServer")
5779
- return /* @__PURE__ */ d(
5794
+ return /* @__PURE__ */ c(
5780
5795
  "div",
5781
5796
  {
5782
5797
  style: {
@@ -5796,7 +5811,7 @@ function Ci({
5796
5811
  transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
5797
5812
  transition: `all 0.4s ${W} ${l * 0.08}s`
5798
5813
  },
5799
- children: /* @__PURE__ */ e(V, { color: "#bb55ff", label: `INST-${l}`, status: n[l]?.status })
5814
+ children: /* @__PURE__ */ e(K, { color: "#bb55ff", label: `INST-${l}`, status: n[l]?.status })
5800
5815
  },
5801
5816
  l
5802
5817
  )),
@@ -5835,7 +5850,7 @@ function Ci({
5835
5850
  );
5836
5851
  if (t === "database") {
5837
5852
  const l = o.capacity ?? 72;
5838
- return /* @__PURE__ */ d(
5853
+ return /* @__PURE__ */ c(
5839
5854
  "div",
5840
5855
  {
5841
5856
  style: {
@@ -5856,7 +5871,7 @@ function Ci({
5856
5871
  transition: `all 0.45s ${W} ${u * 0.1}s`
5857
5872
  },
5858
5873
  children: /* @__PURE__ */ e(
5859
- Ye,
5874
+ Qe,
5860
5875
  {
5861
5876
  color: s,
5862
5877
  label: `PLATTER-${u}`,
@@ -5895,7 +5910,7 @@ function Ci({
5895
5910
  }
5896
5911
  return null;
5897
5912
  }
5898
- function Ji({
5913
+ function en({
5899
5914
  type: t,
5900
5915
  name: i,
5901
5916
  status: o,
@@ -5905,8 +5920,8 @@ function Ji({
5905
5920
  subComponents: s,
5906
5921
  graphSeries: l
5907
5922
  }) {
5908
- const u = $i(t, i, o, a), c = R[o]?.color ?? R.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;
5909
- return /* @__PURE__ */ d(
5923
+ const u = Ri(t, i, o, a), d = E[o]?.color ?? E.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", b = r >= 0.2 ? "50%" : "0%", h = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5924
+ return /* @__PURE__ */ c(
5910
5925
  "div",
5911
5926
  {
5912
5927
  style: {
@@ -5929,13 +5944,13 @@ function Ji({
5929
5944
  backdropFilter: "blur(10px)",
5930
5945
  WebkitBackdropFilter: "blur(10px)",
5931
5946
  opacity: p,
5932
- transition: `opacity 0.4s ${ki}`
5947
+ transition: `opacity 0.4s ${Ci}`
5933
5948
  },
5934
5949
  onClick: n
5935
5950
  }
5936
5951
  ),
5937
5952
  /* @__PURE__ */ e(
5938
- wi,
5953
+ $i,
5939
5954
  {
5940
5955
  type: t,
5941
5956
  name: i,
@@ -5945,7 +5960,7 @@ function Ji({
5945
5960
  series: l
5946
5961
  }
5947
5962
  ),
5948
- /* @__PURE__ */ d(
5963
+ /* @__PURE__ */ c(
5949
5964
  "div",
5950
5965
  {
5951
5966
  style: {
@@ -5958,7 +5973,7 @@ function Ji({
5958
5973
  minWidth: 0
5959
5974
  },
5960
5975
  children: [
5961
- /* @__PURE__ */ d(
5976
+ /* @__PURE__ */ c(
5962
5977
  "div",
5963
5978
  {
5964
5979
  style: {
@@ -5976,7 +5991,7 @@ function Ji({
5976
5991
  width: "50%",
5977
5992
  height: "100%",
5978
5993
  background: "linear-gradient(90deg, rgba(2, 8, 20, 0.98) 0%, rgba(2, 12, 28, 0.95) 100%)",
5979
- borderRight: `2px solid ${c}44`,
5994
+ borderRight: `2px solid ${d}44`,
5980
5995
  boxShadow: "4px 0 32px rgba(0,0,0,0.6)",
5981
5996
  transform: `translateX(${f})`,
5982
5997
  transition: `transform 0.7s ${W}`
@@ -5991,9 +6006,9 @@ function Ji({
5991
6006
  height: "100%",
5992
6007
  marginLeft: "auto",
5993
6008
  background: "linear-gradient(90deg, rgba(2, 12, 28, 0.95) 0%, rgba(2, 8, 20, 0.98) 100%)",
5994
- borderLeft: `2px solid ${c}44`,
6009
+ borderLeft: `2px solid ${d}44`,
5995
6010
  boxShadow: "-4px 0 32px rgba(0,0,0,0.6)",
5996
- transform: `translateX(${g})`,
6011
+ transform: `translateX(${b})`,
5997
6012
  transition: `transform 0.7s ${W}`
5998
6013
  }
5999
6014
  }
@@ -6001,7 +6016,7 @@ function Ji({
6001
6016
  ]
6002
6017
  }
6003
6018
  ),
6004
- /* @__PURE__ */ d(
6019
+ /* @__PURE__ */ c(
6005
6020
  "div",
6006
6021
  {
6007
6022
  style: {
@@ -6011,29 +6026,29 @@ function Ji({
6011
6026
  maxWidth: 520,
6012
6027
  minHeight: 320,
6013
6028
  background: "linear-gradient(180deg, rgba(4, 14, 28, 0.6) 0%, rgba(2, 8, 18, 0.85) 100%)",
6014
- border: `1px solid ${c}33`,
6029
+ border: `1px solid ${d}33`,
6015
6030
  borderRadius: 12,
6016
- boxShadow: `0 0 40px ${c}18, inset 0 0 60px rgba(0,0,0,0.4)`,
6031
+ boxShadow: `0 0 40px ${d}18, inset 0 0 60px rgba(0,0,0,0.4)`,
6017
6032
  display: "flex",
6018
6033
  flexDirection: "column",
6019
6034
  opacity: h >= 0.1 ? 1 : 0,
6020
6035
  transition: `opacity 0.5s ${W} 0.2s`
6021
6036
  },
6022
6037
  children: [
6023
- /* @__PURE__ */ d(
6038
+ /* @__PURE__ */ c(
6024
6039
  "div",
6025
6040
  {
6026
6041
  style: {
6027
6042
  padding: "12px 20px",
6028
- borderBottom: `1px solid ${c}22`,
6043
+ borderBottom: `1px solid ${d}22`,
6029
6044
  display: "flex",
6030
6045
  alignItems: "center",
6031
6046
  justifyContent: "space-between",
6032
- background: `linear-gradient(180deg, ${c}11 0%, transparent 100%)`,
6047
+ background: `linear-gradient(180deg, ${d}11 0%, transparent 100%)`,
6033
6048
  borderRadius: "12px 12px 0 0"
6034
6049
  },
6035
6050
  children: [
6036
- /* @__PURE__ */ d("div", { style: { display: "flex", alignItems: "center", gap: 10 }, children: [
6051
+ /* @__PURE__ */ c("div", { style: { display: "flex", alignItems: "center", gap: 10 }, children: [
6037
6052
  /* @__PURE__ */ e(
6038
6053
  "div",
6039
6054
  {
@@ -6041,13 +6056,13 @@ function Ji({
6041
6056
  width: 8,
6042
6057
  height: 8,
6043
6058
  borderRadius: "50%",
6044
- background: c,
6045
- boxShadow: `0 0 10px ${c}`,
6059
+ background: d,
6060
+ boxShadow: `0 0 10px ${d}`,
6046
6061
  animation: o === "warning" || o === "critical" ? "holo-led-blink 1.5s infinite" : "none"
6047
6062
  }
6048
6063
  }
6049
6064
  ),
6050
- /* @__PURE__ */ d(
6065
+ /* @__PURE__ */ c(
6051
6066
  "span",
6052
6067
  {
6053
6068
  style: {
@@ -6072,9 +6087,9 @@ function Ji({
6072
6087
  width: 32,
6073
6088
  height: 32,
6074
6089
  borderRadius: 6,
6075
- border: `1px solid ${c}44`,
6090
+ border: `1px solid ${d}44`,
6076
6091
  background: "rgba(0,0,0,0.4)",
6077
- color: c,
6092
+ color: d,
6078
6093
  fontSize: 18,
6079
6094
  cursor: "pointer",
6080
6095
  display: "flex",
@@ -6098,15 +6113,15 @@ function Ji({
6098
6113
  left: 0,
6099
6114
  right: 0,
6100
6115
  height: 1,
6101
- background: `linear-gradient(90deg, transparent 5%, ${c}88 50%, transparent 95%)`,
6102
- boxShadow: `0 0 8px ${c}`,
6116
+ background: `linear-gradient(90deg, transparent 5%, ${d}88 50%, transparent 95%)`,
6117
+ boxShadow: `0 0 8px ${d}`,
6103
6118
  animation: "holo-scan 3s linear infinite",
6104
6119
  pointerEvents: "none"
6105
6120
  }
6106
6121
  }
6107
6122
  ),
6108
- /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(Ri, { items: s, revealPhase: h }) : /* @__PURE__ */ e(
6109
- Ci,
6123
+ /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(Ei, { items: s, revealPhase: h }) : /* @__PURE__ */ e(
6124
+ Pi,
6110
6125
  {
6111
6126
  type: t,
6112
6127
  name: i,
@@ -6126,17 +6141,17 @@ function Ji({
6126
6141
  }
6127
6142
  );
6128
6143
  }
6129
- function Ei({ onSubmit: t }) {
6130
- const [i, o] = E(""), [n, r] = E(""), [a, s] = E(null), [l, u] = E(!1), c = i.trim().length > 0 && n.trim().length > 0;
6131
- return /* @__PURE__ */ e("div", { className: "cred-overlay", children: /* @__PURE__ */ d("form", { className: "cred-panel", onSubmit: (f) => {
6132
- f.preventDefault(), c && t({ accessKey: i.trim(), secretKey: n.trim() });
6144
+ function Ai({ onSubmit: t }) {
6145
+ const [i, o] = C(""), [n, r] = C(""), [a, s] = C(null), [l, u] = C(!1), d = i.trim().length > 0 && n.trim().length > 0;
6146
+ return /* @__PURE__ */ e("div", { className: "cred-overlay", children: /* @__PURE__ */ c("form", { className: "cred-panel", onSubmit: (f) => {
6147
+ f.preventDefault(), d && t({ accessKey: i.trim(), secretKey: n.trim() });
6133
6148
  }, onClick: (f) => f.stopPropagation(), children: [
6134
6149
  /* @__PURE__ */ e("div", { className: "cred-scanline" }),
6135
6150
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--tl" }),
6136
6151
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--tr" }),
6137
6152
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--bl" }),
6138
6153
  /* @__PURE__ */ e("span", { className: "cred-corner cred-corner--br" }),
6139
- /* @__PURE__ */ e("div", { className: "cred-icon", children: /* @__PURE__ */ d(
6154
+ /* @__PURE__ */ e("div", { className: "cred-icon", children: /* @__PURE__ */ c(
6140
6155
  "svg",
6141
6156
  {
6142
6157
  width: "32",
@@ -6153,7 +6168,7 @@ function Ei({ onSubmit: t }) {
6153
6168
  ) }),
6154
6169
  /* @__PURE__ */ e("div", { className: "cred-title", children: "DATA SOURCE ACCESS" }),
6155
6170
  /* @__PURE__ */ e("div", { className: "cred-subtitle", children: "AUTHENTICATION REQUIRED" }),
6156
- /* @__PURE__ */ d("div", { className: "cred-field", children: [
6171
+ /* @__PURE__ */ c("div", { className: "cred-field", children: [
6157
6172
  /* @__PURE__ */ e("label", { className: "cred-label", children: "ACCESS KEY" }),
6158
6173
  /* @__PURE__ */ e(
6159
6174
  "input",
@@ -6173,7 +6188,7 @@ function Ei({ onSubmit: t }) {
6173
6188
  }
6174
6189
  )
6175
6190
  ] }),
6176
- /* @__PURE__ */ d("div", { className: "cred-field", children: [
6191
+ /* @__PURE__ */ c("div", { className: "cred-field", children: [
6177
6192
  /* @__PURE__ */ e("label", { className: "cred-label", children: "SECRET KEY" }),
6178
6193
  /* @__PURE__ */ e(
6179
6194
  "input",
@@ -6192,18 +6207,18 @@ function Ei({ onSubmit: t }) {
6192
6207
  }
6193
6208
  )
6194
6209
  ] }),
6195
- /* @__PURE__ */ d(
6210
+ /* @__PURE__ */ c(
6196
6211
  "button",
6197
6212
  {
6198
6213
  className: "cred-btn",
6199
6214
  type: "submit",
6200
- disabled: !c,
6215
+ disabled: !d,
6201
6216
  onMouseEnter: () => u(!0),
6202
6217
  onMouseLeave: () => u(!1),
6203
6218
  style: {
6204
- opacity: c ? 1 : 0.35,
6205
- cursor: c ? "pointer" : "not-allowed",
6206
- ...l && c ? {
6219
+ opacity: d ? 1 : 0.35,
6220
+ cursor: d ? "pointer" : "not-allowed",
6221
+ ...l && d ? {
6207
6222
  background: "rgba(0,229,255,0.12)",
6208
6223
  boxShadow: "0 0 20px rgba(0,229,255,0.3), inset 0 0 12px rgba(0,229,255,0.08)"
6209
6224
  } : {}
@@ -6217,28 +6232,28 @@ function Ei({ onSubmit: t }) {
6217
6232
  /* @__PURE__ */ e("div", { className: "cred-footer", children: "CREDENTIALS ARE STORED IN MEMORY ONLY" })
6218
6233
  ] }) });
6219
6234
  }
6220
- const ft = Qe(null);
6221
- function Pi() {
6222
- const t = be(ft);
6235
+ const gt = et(null);
6236
+ function Ti() {
6237
+ const t = xe(gt);
6223
6238
  if (!t)
6224
6239
  throw new Error("useAIOpsData must be used within an AIOPsDashboard with dataEndpoint configured");
6225
6240
  return t;
6226
6241
  }
6227
- function Ai() {
6228
- return be(ft);
6242
+ function Oi() {
6243
+ return xe(gt);
6229
6244
  }
6230
- function en(t) {
6231
- const { data: i } = Pi();
6245
+ function tn(t) {
6246
+ const { data: i } = Ti();
6232
6247
  return i[t] ?? null;
6233
6248
  }
6234
- function Ti(t) {
6249
+ function Ii(t) {
6235
6250
  const i = /* @__PURE__ */ new Set();
6236
6251
  for (const o of Object.values(t))
6237
6252
  for (const n of Object.values(o))
6238
6253
  i.add(typeof n == "string" ? n : n.query);
6239
6254
  return Array.from(i);
6240
6255
  }
6241
- function Ii(t) {
6256
+ function Li(t) {
6242
6257
  if (typeof t == "number") return t;
6243
6258
  if (typeof t == "string") {
6244
6259
  const i = Number(t);
@@ -6246,56 +6261,56 @@ function Ii(t) {
6246
6261
  }
6247
6262
  return t;
6248
6263
  }
6249
- function Oi({ config: t, children: i }) {
6250
- const [o, n] = E({}), [r, a] = E(null), [s, l] = E(!1), [u, c] = E(null), [p, f] = E(null), g = _(t);
6251
- g.current = t;
6252
- const h = _(r);
6264
+ function Di({ config: t, children: i }) {
6265
+ const [o, n] = C({}), [r, a] = C(null), [s, l] = C(!1), [u, d] = C(null), [p, f] = C(null), b = q(t);
6266
+ b.current = t;
6267
+ const h = q(r);
6253
6268
  h.current = r;
6254
- const y = Ve(async () => {
6255
- const x = h.current, S = g.current;
6256
- if (x) {
6269
+ const y = _e(async () => {
6270
+ const v = h.current, $ = b.current;
6271
+ if (v) {
6257
6272
  l(!0);
6258
6273
  try {
6259
- const b = await Promise.allSettled(
6260
- S.queries.map((k) => {
6261
- const M = S.endpoint.includes("?") ? "&" : "?", L = `${S.endpoint}${M}query=${encodeURIComponent(k)}`;
6262
- return fetch(L, {
6274
+ const g = await Promise.allSettled(
6275
+ $.queries.map((w) => {
6276
+ const I = $.endpoint.includes("?") ? "&" : "?", H = `${$.endpoint}${I}query=${encodeURIComponent(w)}`;
6277
+ return fetch(H, {
6263
6278
  method: "GET",
6264
6279
  headers: {
6265
- "access-key": x.accessKey,
6266
- "access-secret-key": x.secretKey
6280
+ "access-key": v.accessKey,
6281
+ "access-secret-key": v.secretKey
6267
6282
  }
6268
- }).then((H) => {
6269
- if (!H.ok) throw new Error(`HTTP ${H.status}`);
6270
- return H.text();
6271
- }).then((H) => ({ query: k, data: H.trim() }));
6283
+ }).then((D) => {
6284
+ if (!D.ok) throw new Error(`HTTP ${D.status}`);
6285
+ return D.text();
6286
+ }).then((D) => ({ query: w, data: D.trim() }));
6272
6287
  })
6273
- ), P = {};
6274
- let O = 0;
6275
- for (const k of b)
6276
- k.status === "fulfilled" ? P[k.value.query] = k.value.data : O++;
6277
- n((k) => ({ ...k, ...P }));
6278
- const $ = S.queries.length;
6279
- c(
6280
- O > 0 ? `${O} of ${$} queries failed to refresh` : null
6281
- ), O < $ && f(/* @__PURE__ */ new Date());
6282
- } catch (b) {
6283
- const P = b instanceof Error ? b.message : "Refresh failed";
6284
- c(P);
6288
+ ), R = {};
6289
+ let A = 0;
6290
+ for (const w of g)
6291
+ w.status === "fulfilled" ? R[w.value.query] = w.value.data : A++;
6292
+ n((w) => ({ ...w, ...R }));
6293
+ const L = $.queries.length;
6294
+ d(
6295
+ A > 0 ? `${A} of ${L} queries failed to refresh` : null
6296
+ ), A < L && f(/* @__PURE__ */ new Date());
6297
+ } catch (g) {
6298
+ const R = g instanceof Error ? g.message : "Refresh failed";
6299
+ d(R);
6285
6300
  } finally {
6286
6301
  l(!1);
6287
6302
  }
6288
6303
  }
6289
6304
  }, []);
6290
- ge(() => {
6305
+ de(() => {
6291
6306
  if (!r) return;
6292
6307
  y();
6293
- const x = g.current.refreshInterval ?? 6e4, S = window.setInterval(y, x);
6294
- return () => clearInterval(S);
6308
+ const v = b.current.refreshInterval ?? 6e4, $ = window.setInterval(y, v);
6309
+ return () => clearInterval($);
6295
6310
  }, [r, y]);
6296
- const m = Ve((x) => {
6297
- a(x);
6298
- }, []), v = {
6311
+ const m = _e((v) => {
6312
+ a(v);
6313
+ }, []), k = {
6299
6314
  data: o,
6300
6315
  isRefreshing: s,
6301
6316
  lastRefreshError: u,
@@ -6303,30 +6318,35 @@ function Oi({ config: t, children: i }) {
6303
6318
  credentialsSet: !!r,
6304
6319
  setCredentials: m
6305
6320
  };
6306
- return /* @__PURE__ */ d(ft.Provider, { value: v, children: [
6321
+ return /* @__PURE__ */ c(gt.Provider, { value: k, children: [
6307
6322
  i,
6308
- !r && /* @__PURE__ */ e(Ei, { onSubmit: m })
6323
+ !r && /* @__PURE__ */ e(Ai, { onSubmit: m })
6309
6324
  ] });
6310
6325
  }
6311
- function tn(t) {
6312
- const { dataEndpoint: i, dataBindings: o, dataRefreshInterval: n } = t;
6326
+ function nn(t) {
6327
+ const { dataEndpoint: i, dataBindings: o, dataRefreshInterval: n, serviceDataBindings: r } = t;
6313
6328
  if (i && o) {
6314
- const r = Ti(o);
6329
+ const a = Ii(o), s = [];
6330
+ if (r)
6331
+ for (const u of Object.values(r))
6332
+ for (const d of u)
6333
+ a.includes(d.query) || s.push(d.query);
6334
+ const l = [...a, ...s];
6315
6335
  return /* @__PURE__ */ e(
6316
- Oi,
6336
+ Di,
6317
6337
  {
6318
6338
  config: {
6319
6339
  endpoint: i,
6320
- queries: r,
6340
+ queries: l,
6321
6341
  refreshInterval: n
6322
6342
  },
6323
- children: /* @__PURE__ */ e(kt, { ...t })
6343
+ children: /* @__PURE__ */ e(Et, { ...t })
6324
6344
  }
6325
6345
  );
6326
6346
  }
6327
- return /* @__PURE__ */ e(kt, { ...t });
6347
+ return /* @__PURE__ */ e(Et, { ...t });
6328
6348
  }
6329
- function kt({
6349
+ function Et({
6330
6350
  brandName: t = "BUSAUD AIOps",
6331
6351
  brandTag: i = "3D MONITOR",
6332
6352
  services: o = [],
@@ -6336,41 +6356,60 @@ function kt({
6336
6356
  fontFamily: s,
6337
6357
  dataBindings: l,
6338
6358
  dataTransform: u,
6339
- children: c
6359
+ serviceDataBindings: d,
6360
+ children: p
6340
6361
  }) {
6341
- const p = Ai(), [f] = E(20), [g] = E(!1), [h] = E(!0), [y] = E(0.45), [m] = E(3.3), [v, x] = E("compact"), [S, b] = E(0), [P, O] = E(null), [$, k] = E(null), [M, L] = E(0), H = (A) => {
6342
- v === "compact" && (O(A), 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(() => {
6343
- b(6), x("expanded");
6362
+ const f = Oi(), [b] = C(20), [h] = C(!1), [y] = C(!0), [m] = C(0.45), [k] = C(3.3), [v, $] = C("compact"), [g, R] = C(0), [A, L] = C(null), [w, I] = C(null), [H, D] = C(0), [ee, ce] = C(0), pe = (x) => {
6363
+ v === "compact" && (L(x), $("expanding"), R(0), setTimeout(() => R(1), 50), setTimeout(() => R(2), 800), setTimeout(() => R(3), 1200), setTimeout(() => R(4), 1600), setTimeout(() => R(5), 2e3), setTimeout(() => {
6364
+ R(6), $("expanded");
6344
6365
  }, 2400));
6345
- }, j = () => {
6346
- $ ? (k(null), L(0)) : v === "expanded" && (x("collapsing"), b(0), O(null), setTimeout(() => {
6347
- x((A) => A === "collapsing" ? "compact" : A);
6366
+ }, se = () => {
6367
+ w ? (I(null), D(0)) : v === "expanded" && ($("collapsing"), R(0), L(null), setTimeout(() => {
6368
+ $((x) => x === "collapsing" ? "compact" : x);
6348
6369
  }, 1e3));
6349
- }, le = (A) => {
6350
- k(A), L(0);
6351
- };
6352
- U.useEffect(() => {
6353
- if (!$) return;
6354
- const A = performance.now(), ne = 1200, X = () => {
6355
- const oe = performance.now() - A, K = Math.min(1, oe / ne);
6356
- L(K), K < 1 && requestAnimationFrame(X);
6357
- }, Q = requestAnimationFrame(X);
6358
- return () => cancelAnimationFrame(Q);
6359
- }, [$]);
6360
- const se = () => {
6361
- k(null), L(0);
6362
- }, ee = o.find((A) => A.name === P), ye = ee?.status ?? "online", me = ee?.dbSync ?? !0, xe = ee?.metrics, w = ee?.alerts, C = u ?? Ii, D = p?.data, te = ze(() => !D || !l ? c : U.Children.map(c, (A) => {
6363
- if (!U.isValidElement(A)) return A;
6364
- const ne = A.props.name;
6365
- if (!ne || !l[ne]) return A;
6366
- const X = l[ne], Q = {};
6367
- for (const [oe, K] of Object.entries(X)) {
6368
- const We = typeof K == "string" ? K : K.query, Ke = typeof K == "object" && K.transform ? K.transform : C, ce = D[We];
6369
- ce !== void 0 && (Q[oe] = Ke(ce));
6370
+ }, ve = (x) => {
6371
+ I(x), D(0), ce((V) => V + 1);
6372
+ }, we = _e((x) => {
6373
+ I((V) => !V || V.name !== x.name ? V : x);
6374
+ }, []);
6375
+ X.useEffect(() => {
6376
+ if (!w || ee === 0) return;
6377
+ const x = performance.now(), V = 1200, ae = () => {
6378
+ const j = performance.now() - x, B = Math.min(1, j / V);
6379
+ D(B), B < 1 && requestAnimationFrame(ae);
6380
+ }, _ = requestAnimationFrame(ae);
6381
+ return () => cancelAnimationFrame(_);
6382
+ }, [ee]);
6383
+ const Se = () => {
6384
+ I(null), D(0);
6385
+ }, G = o.find((x) => x.name === A), S = G?.status ?? "online", P = G?.dbSync ?? !0, M = G?.alerts, Y = f?.data, Z = u ?? Li, Q = Be(() => {
6386
+ if (!Y || !d) return null;
6387
+ const x = {};
6388
+ for (const [V, ae] of Object.entries(d))
6389
+ x[V] = ae.map((_) => {
6390
+ const j = Y[_.query];
6391
+ let B;
6392
+ if (_.transform)
6393
+ B = j !== void 0 ? _.transform(j) : "—";
6394
+ else {
6395
+ const He = j !== void 0 ? Z(j) : void 0;
6396
+ B = He !== void 0 ? String(He) : "—";
6397
+ }
6398
+ return { label: _.label, value: _.unit ? `${B}${_.unit}` : B, color: _.color ?? "#00e5ff" };
6399
+ });
6400
+ return x;
6401
+ }, [Y, d, Z]), z = A && Q?.[A] || G?.metrics, oe = Be(() => !Y || !l ? p : X.Children.map(p, (x) => {
6402
+ if (!X.isValidElement(x)) return x;
6403
+ const V = x.props.name;
6404
+ if (!V || !l[V]) return x;
6405
+ const ae = l[V], _ = {};
6406
+ for (const [j, B] of Object.entries(ae)) {
6407
+ const He = typeof B == "string" ? B : B.query, Ee = typeof B == "object" && B.transform ? B.transform : Z, Ye = Y[He];
6408
+ Ye !== void 0 && (_[j] = Ee(Ye));
6370
6409
  }
6371
- return Object.keys(Q).length > 0 ? U.cloneElement(A, Q) : A;
6372
- }), [c, D, l, C]), ae = p?.lastRefreshError ?? null, Y = 330, z = 340, ie = $ ? 1.15 : 1, ve = $ ? -($.ex - Y) * 0.06 : 0, de = $ ? -($.ey - z) * 0.06 : 0;
6373
- return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
6410
+ return Object.keys(_).length > 0 ? X.cloneElement(x, _) : x;
6411
+ }), [p, Y, l, Z]), fe = f?.lastRefreshError ?? null, ue = 330, he = 340, Fe = w ? 1.15 : 1, Ce = w ? -(w.ex - ue) * 0.06 : 0, re = w ? -(w.ey - he) * 0.06 : 0;
6412
+ return /* @__PURE__ */ c("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
6374
6413
  /* @__PURE__ */ e(
6375
6414
  "div",
6376
6415
  {
@@ -6384,18 +6423,18 @@ function kt({
6384
6423
  backgroundPosition: "center center",
6385
6424
  backgroundRepeat: "no-repeat",
6386
6425
  transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
6387
- transform: `translate(${ve}px, ${de}px) scale(${ie})`,
6426
+ transform: `translate(${Ce}px, ${re}px) scale(${Fe})`,
6388
6427
  willChange: "transform"
6389
6428
  }
6390
6429
  }
6391
6430
  ),
6392
- /* @__PURE__ */ d("header", { className: "app-header", children: [
6393
- /* @__PURE__ */ d("div", { className: "hdr-brand", children: [
6431
+ /* @__PURE__ */ c("header", { className: "app-header", children: [
6432
+ /* @__PURE__ */ c("div", { className: "hdr-brand", children: [
6394
6433
  /* @__PURE__ */ e("span", { className: "brand-pulse" }),
6395
6434
  /* @__PURE__ */ e("span", { className: "brand-text", children: t })
6396
6435
  ] }),
6397
- /* @__PURE__ */ d("div", { className: "hdr-right", children: [
6398
- ae && /* @__PURE__ */ d("div", { className: "hdr-refresh-error", children: [
6436
+ /* @__PURE__ */ c("div", { className: "hdr-right", children: [
6437
+ fe && /* @__PURE__ */ c("div", { className: "hdr-refresh-error", children: [
6399
6438
  /* @__PURE__ */ e("span", { className: "refresh-error-dot" }),
6400
6439
  /* @__PURE__ */ e("span", { className: "refresh-error-text", children: "DATA REFRESH FAILED" })
6401
6440
  ] }),
@@ -6409,31 +6448,32 @@ function kt({
6409
6448
  style: {
6410
6449
  cursor: v === "expanded" ? "zoom-out" : "default"
6411
6450
  },
6412
- onClick: j,
6451
+ onClick: se,
6413
6452
  children: /* @__PURE__ */ e(
6414
- Gt,
6453
+ Jt,
6415
6454
  {
6416
6455
  viewState: v,
6417
- animPhase: S,
6418
- selectedSystem: P,
6419
- selectedComponent: $,
6420
- drillAnimPhase: M,
6421
- rotateY: f,
6422
- autoRotateComponents: g,
6423
- componentScale: y,
6424
- drillZoom: m,
6425
- autoRotateCarousel: h,
6456
+ animPhase: g,
6457
+ selectedSystem: A,
6458
+ selectedComponent: w,
6459
+ drillAnimPhase: H,
6460
+ rotateY: b,
6461
+ autoRotateComponents: h,
6462
+ componentScale: m,
6463
+ drillZoom: k,
6464
+ autoRotateCarousel: y,
6426
6465
  carouselSpeed: a,
6427
6466
  logoUrl: r,
6428
- onSelectSystem: H,
6429
- onBackgroundClick: j,
6430
- onComponentClick: le,
6431
- onCloseDrill: se,
6432
- selectedSystemStatus: ye,
6433
- selectedSystemDbSync: me,
6434
- selectedSystemMetrics: xe,
6435
- selectedSystemAlerts: w,
6436
- children: te
6467
+ onSelectSystem: pe,
6468
+ onBackgroundClick: se,
6469
+ onComponentClick: ve,
6470
+ onComponentDataUpdate: we,
6471
+ onCloseDrill: Se,
6472
+ selectedSystemStatus: S,
6473
+ selectedSystemDbSync: P,
6474
+ selectedSystemMetrics: z,
6475
+ selectedSystemAlerts: M,
6476
+ children: oe
6437
6477
  }
6438
6478
  )
6439
6479
  }
@@ -6446,24 +6486,24 @@ function T(t, i, o = 24) {
6446
6486
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * i + (Math.random() - 0.5) * 10));
6447
6487
  });
6448
6488
  }
6449
- function Lt(t) {
6489
+ function Wt(t) {
6450
6490
  return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
6451
6491
  }
6452
- function Oe(t, i, o) {
6453
- const n = t === "online" ? "online" : t, r = Lt(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = n === "critical" || n === "warning" && a > 80 ? n : "online", u = n === "warning" && s > 85 ? "warning" : n === "critical" ? "critical" : "online", c = n === "critical" && i === "APP-03" ? "critical" : "online", p = n === "offline" ? "offline" : "online";
6492
+ function We(t, i, o) {
6493
+ const n = t === "online" ? "online" : t, r = Wt(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = n === "critical" || n === "warning" && a > 80 ? n : "online", u = n === "warning" && s > 85 ? "warning" : n === "critical" ? "critical" : "online", d = n === "critical" && i === "APP-03" ? "critical" : "online", p = n === "offline" ? "offline" : "online";
6454
6494
  return [
6455
- { id: "cpu-0", label: "CPU-0", status: l, detail: n === "critical" ? "Core overload" : n === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(_e, { color: r, label: "CPU-0", status: l, load: a }) },
6456
- { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(_e, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
6457
- { id: "heap-0", label: "HEAP-0", status: u, detail: u === "warning" ? "Memory heap usage" : u === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(je, { color: "#8855ee", label: "HEAP-0", status: u, usedPercent: s }) },
6458
- { id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(je, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
6459
- { id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(Ie, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
6460
- { id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(Ie, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
6461
- { id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(Ie, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
6462
- { id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(F, { color: r, label: "THREAD-POOL", status: c }) },
6463
- { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(Ot, { color: r, label: "NET", status: p }) }
6495
+ { id: "cpu-0", label: "CPU-0", status: l, detail: n === "critical" ? "Core overload" : n === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(Ke, { color: r, label: "CPU-0", status: l, load: a }) },
6496
+ { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(Ke, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
6497
+ { id: "heap-0", label: "HEAP-0", status: u, detail: u === "warning" ? "Memory heap usage" : u === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(Ge, { color: "#8855ee", label: "HEAP-0", status: u, usedPercent: s }) },
6498
+ { id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(Ge, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
6499
+ { id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(Ne, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
6500
+ { id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(Ne, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
6501
+ { id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(Ne, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
6502
+ { id: "thread-pool", label: "THREAD-POOL", status: d, detail: d === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(F, { color: r, label: "THREAD-POOL", status: d }) },
6503
+ { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(Nt, { color: r, label: "NET", status: p }) }
6464
6504
  ];
6465
6505
  }
6466
- function Le(t) {
6506
+ function Me(t) {
6467
6507
  const i = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
6468
6508
  return [
6469
6509
  { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: T(i, 15) },
@@ -6476,22 +6516,22 @@ function Le(t) {
6476
6516
  { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: T(55, 20) }
6477
6517
  ];
6478
6518
  }
6479
- function Dt(t, i, o) {
6480
- const n = t === "online" ? "online" : t, r = Lt(t), a = n === "critical" || n === "offline" ? n : "online", s = n === "warning" ? "warning" : "online", l = n === "critical" ? "critical" : "online";
6519
+ function Mt(t, i, o) {
6520
+ const n = t === "online" ? "online" : t, r = Wt(t), a = n === "critical" || n === "offline" ? n : "online", s = n === "warning" ? "warning" : "online", l = n === "critical" ? "critical" : "online";
6481
6521
  return [
6482
- { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(V, { color: r, label: "PORT-1", status: "online" }) },
6483
- { id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(V, { color: r, label: "PORT-2", status: "online" }) },
6484
- { id: "port-3", label: "PORT-3", status: a, detail: n === "critical" ? "Gateway timeout" : n === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(V, { color: r, label: "PORT-3", status: a }) },
6485
- { id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(V, { color: r, label: "PORT-4", status: "online" }) },
6486
- { id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(V, { color: r, label: "PORT-5", status: s }) },
6487
- { id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(V, { color: r, label: "PORT-6", status: "online" }) },
6488
- { id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(V, { color: r, label: "PORT-7", status: "online" }) },
6489
- { id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(V, { color: r, label: "PORT-8", status: "online" }) },
6522
+ { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(K, { color: r, label: "PORT-1", status: "online" }) },
6523
+ { id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(K, { color: r, label: "PORT-2", status: "online" }) },
6524
+ { id: "port-3", label: "PORT-3", status: a, detail: n === "critical" ? "Gateway timeout" : n === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(K, { color: r, label: "PORT-3", status: a }) },
6525
+ { id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(K, { color: r, label: "PORT-4", status: "online" }) },
6526
+ { id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(K, { color: r, label: "PORT-5", status: s }) },
6527
+ { id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(K, { color: r, label: "PORT-6", status: "online" }) },
6528
+ { id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(K, { color: r, label: "PORT-7", status: "online" }) },
6529
+ { id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(K, { color: r, label: "PORT-8", status: "online" }) },
6490
6530
  { id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(F, { color: r, label: "HTTP-WORKER", status: l }) },
6491
6531
  { id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
6492
6532
  ];
6493
6533
  }
6494
- function Nt(t) {
6534
+ function zt(t) {
6495
6535
  const i = t?.traffic ?? 50;
6496
6536
  return [
6497
6537
  { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: T(i, 20) },
@@ -6501,19 +6541,19 @@ function Nt(t) {
6501
6541
  { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: T(i * 0.9, 15) }
6502
6542
  ];
6503
6543
  }
6504
- function Li(t, i, o) {
6544
+ function Ni(t, i, o) {
6505
6545
  const n = t === "online" ? "online" : t, r = n === "critical" ? "critical" : "online", a = n === "critical" || n === "offline" ? n : n === "warning" ? "warning" : "online", s = n === "critical" ? "critical" : "online";
6506
6546
  return [
6507
- { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(V, { color: "#bb55ff", label: "INST-0", status: "online" }) },
6508
- { id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(V, { color: "#bb55ff", label: "INST-1", status: "online" }) },
6509
- { id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(V, { color: "#bb55ff", label: "INST-2", status: r }) },
6547
+ { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(K, { color: "#bb55ff", label: "INST-0", status: "online" }) },
6548
+ { id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(K, { color: "#bb55ff", label: "INST-1", status: "online" }) },
6549
+ { id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(K, { color: "#bb55ff", label: "INST-2", status: r }) },
6510
6550
  { id: "queue-0", label: "QUEUE-0", status: a, detail: n === "critical" ? "Queue full" : n === "offline" ? "Unreachable" : n === "warning" ? "Queue depth warning" : void 0, element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
6511
6551
  { id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
6512
6552
  { id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
6513
6553
  { id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(F, { color: "#bb55ff", label: "WORKER-3", status: s }) }
6514
6554
  ];
6515
6555
  }
6516
- function Di(t) {
6556
+ function Wi(t) {
6517
6557
  const i = t?.queueDepth ?? 50;
6518
6558
  return [
6519
6559
  { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: T(i, 20) },
@@ -6523,17 +6563,17 @@ function Di(t) {
6523
6563
  { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: T(i * 0.9, 15) }
6524
6564
  ];
6525
6565
  }
6526
- function Xe(t, i, o) {
6527
- const n = t === "online" ? "online" : t, r = "#ff8c00", a = o?.capacity ?? 72, s = n === "critical" || n === "offline" ? n : n === "warning" ? "warning" : "online", l = n === "warning" && i === "DB-STB" ? "warning" : "online", u = n === "critical" ? "critical" : "online", c = n === "warning" ? "warning" : "online";
6566
+ function Ze(t, i, o) {
6567
+ const n = t === "online" ? "online" : t, r = "#ff8c00", a = o?.capacity ?? 72, s = n === "critical" || n === "offline" ? n : n === "warning" ? "warning" : "online", l = n === "warning" && i === "DB-STB" ? "warning" : "online", u = n === "critical" ? "critical" : "online", d = n === "warning" ? "warning" : "online";
6528
6568
  return [
6529
- { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Ye, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
6530
- { id: "platter-1", label: "PLATTER-1", status: s, detail: n === "critical" ? "I/O failure" : n === "offline" ? "Connection lost" : n === "warning" ? "Slow queries" : void 0, element: /* @__PURE__ */ e(Ye, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
6531
- { id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Ye, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
6569
+ { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Qe, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
6570
+ { id: "platter-1", label: "PLATTER-1", status: s, detail: n === "critical" ? "I/O failure" : n === "offline" ? "Connection lost" : n === "warning" ? "Slow queries" : void 0, element: /* @__PURE__ */ e(Qe, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
6571
+ { 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 }) },
6532
6572
  { id: "conn-pool", label: "CONN-POOL", status: u, detail: u === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(F, { color: r, label: "CONN-POOL", status: u }) },
6533
- { id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(F, { color: "#00ff88", label: "QUERY-CACHE", status: c }) }
6573
+ { id: "query-cache", label: "QUERY-CACHE", status: d, detail: d === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(F, { color: "#00ff88", label: "QUERY-CACHE", status: d }) }
6534
6574
  ];
6535
6575
  }
6536
- function qe(t) {
6576
+ function Je(t) {
6537
6577
  const i = t?.capacity ?? 70;
6538
6578
  return [
6539
6579
  { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: T(40, 20) },
@@ -6543,7 +6583,7 @@ function qe(t) {
6543
6583
  { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: T(75, 12) }
6544
6584
  ];
6545
6585
  }
6546
- function ut(t) {
6586
+ function yt(t) {
6547
6587
  const i = [
6548
6588
  t.wdStatus,
6549
6589
  t.msStatus,
@@ -6555,8 +6595,8 @@ function ut(t) {
6555
6595
  ];
6556
6596
  return i.includes("critical") ? "critical" : i.includes("warning") ? "warning" : i.includes("offline") ? "offline" : "online";
6557
6597
  }
6558
- function nn(t) {
6559
- const i = ut(t), o = i === "critical" || i === "offline", n = i === "warning";
6598
+ function on(t) {
6599
+ const i = yt(t), o = i === "critical" || i === "offline", n = i === "warning";
6560
6600
  return [
6561
6601
  {
6562
6602
  label: "Uptime",
@@ -6577,8 +6617,8 @@ function nn(t) {
6577
6617
  }
6578
6618
  ];
6579
6619
  }
6580
- function on(t) {
6581
- const i = ut(t), o = i === "critical" || i === "offline", n = i === "warning";
6620
+ function rn(t) {
6621
+ const i = yt(t), o = i === "critical" || i === "offline", n = i === "warning";
6582
6622
  return [
6583
6623
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
6584
6624
  ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
@@ -6586,7 +6626,7 @@ function on(t) {
6586
6626
  ...!o && !n && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6587
6627
  ];
6588
6628
  }
6589
- const Ni = [
6629
+ const Mi = [
6590
6630
  { from: [330, 120], to: [220, 260], visibleAtPhase: 3 },
6591
6631
  { from: [330, 120], to: [440, 260], visibleAtPhase: 3 },
6592
6632
  { from: [220, 260], to: [165, 390], visibleAtPhase: 4 },
@@ -6599,11 +6639,11 @@ const Ni = [
6599
6639
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
6600
6640
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6601
6641
  ];
6602
- function Wi({ config: t }) {
6603
- const i = U.useContext($e), o = i?.rotateY ?? 20, n = i?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: u, pdbStatus: c, sdbStatus: p, dbSync: f } = t;
6604
- return /* @__PURE__ */ d(De, { children: [
6642
+ function zi({ config: t }) {
6643
+ const i = X.useContext(Re), o = i?.rotateY ?? 20, n = i?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: u, pdbStatus: d, sdbStatus: p, dbSync: f } = t;
6644
+ return /* @__PURE__ */ c(ze, { children: [
6605
6645
  /* @__PURE__ */ e(
6606
- I,
6646
+ O,
6607
6647
  {
6608
6648
  ex: 330,
6609
6649
  ey: 120,
@@ -6611,11 +6651,11 @@ function Wi({ config: t }) {
6611
6651
  zIndex: 10,
6612
6652
  visibleAtPhase: 2,
6613
6653
  color: "#00e5ff",
6614
- children: /* @__PURE__ */ e(ct, { status: "online", scale: 1.5 })
6654
+ children: /* @__PURE__ */ e(ht, { status: "online", scale: 1.5 })
6615
6655
  }
6616
6656
  ),
6617
6657
  /* @__PURE__ */ e(
6618
- I,
6658
+ O,
6619
6659
  {
6620
6660
  ex: 220,
6621
6661
  ey: 260,
@@ -6630,11 +6670,11 @@ function Wi({ config: t }) {
6630
6670
  name: "WEB-DISP",
6631
6671
  status: r,
6632
6672
  context: { traffic: 78 },
6633
- subComponents: Dt(r),
6634
- graphSeries: Nt({ traffic: 78 })
6673
+ subComponents: Mt(r),
6674
+ graphSeries: zt({ traffic: 78 })
6635
6675
  },
6636
6676
  children: /* @__PURE__ */ e(
6637
- pt,
6677
+ bt,
6638
6678
  {
6639
6679
  rotateY: o,
6640
6680
  autoRotate: n,
@@ -6648,7 +6688,7 @@ function Wi({ config: t }) {
6648
6688
  }
6649
6689
  ),
6650
6690
  /* @__PURE__ */ e(
6651
- I,
6691
+ O,
6652
6692
  {
6653
6693
  ex: 440,
6654
6694
  ey: 260,
@@ -6663,11 +6703,11 @@ function Wi({ config: t }) {
6663
6703
  name: "MSG-SRV",
6664
6704
  status: a,
6665
6705
  context: { queueDepth: 45 },
6666
- subComponents: Li(a),
6667
- graphSeries: Di({ queueDepth: 45 })
6706
+ subComponents: Ni(a),
6707
+ graphSeries: Wi({ queueDepth: 45 })
6668
6708
  },
6669
6709
  children: /* @__PURE__ */ e(
6670
- Tt,
6710
+ Lt,
6671
6711
  {
6672
6712
  rotateY: -o,
6673
6713
  autoRotate: n,
@@ -6682,7 +6722,7 @@ function Wi({ config: t }) {
6682
6722
  }
6683
6723
  ),
6684
6724
  /* @__PURE__ */ e(
6685
- I,
6725
+ O,
6686
6726
  {
6687
6727
  ex: 165,
6688
6728
  ey: 390,
@@ -6697,11 +6737,11 @@ function Wi({ config: t }) {
6697
6737
  name: "APP-01",
6698
6738
  status: s,
6699
6739
  context: { cpuLoad: 67, memLoad: 72 },
6700
- subComponents: Oe(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6701
- graphSeries: Le({ cpuLoad: 67, memLoad: 72 })
6740
+ subComponents: We(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
6741
+ graphSeries: Me({ cpuLoad: 67, memLoad: 72 })
6702
6742
  },
6703
6743
  children: /* @__PURE__ */ e(
6704
- Se,
6744
+ ke,
6705
6745
  {
6706
6746
  rotateY: o,
6707
6747
  autoRotate: n,
@@ -6715,7 +6755,7 @@ function Wi({ config: t }) {
6715
6755
  }
6716
6756
  ),
6717
6757
  /* @__PURE__ */ e(
6718
- I,
6758
+ O,
6719
6759
  {
6720
6760
  ex: 330,
6721
6761
  ey: 390,
@@ -6730,11 +6770,11 @@ function Wi({ config: t }) {
6730
6770
  name: "APP-02",
6731
6771
  status: l,
6732
6772
  context: { cpuLoad: 89, memLoad: 91 },
6733
- subComponents: Oe(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6734
- graphSeries: Le({ cpuLoad: 89, memLoad: 91 })
6773
+ subComponents: We(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
6774
+ graphSeries: Me({ cpuLoad: 89, memLoad: 91 })
6735
6775
  },
6736
6776
  children: /* @__PURE__ */ e(
6737
- Se,
6777
+ ke,
6738
6778
  {
6739
6779
  rotateY: o,
6740
6780
  autoRotate: n,
@@ -6748,7 +6788,7 @@ function Wi({ config: t }) {
6748
6788
  }
6749
6789
  ),
6750
6790
  /* @__PURE__ */ e(
6751
- I,
6791
+ O,
6752
6792
  {
6753
6793
  ex: 495,
6754
6794
  ey: 390,
@@ -6763,11 +6803,11 @@ function Wi({ config: t }) {
6763
6803
  name: "APP-03",
6764
6804
  status: u,
6765
6805
  context: { cpuLoad: 45, memLoad: 63 },
6766
- subComponents: Oe(u, "APP-03", { cpuLoad: 45, memLoad: 63 }),
6767
- graphSeries: Le({ cpuLoad: 45, memLoad: 63 })
6806
+ subComponents: We(u, "APP-03", { cpuLoad: 45, memLoad: 63 }),
6807
+ graphSeries: Me({ cpuLoad: 45, memLoad: 63 })
6768
6808
  },
6769
6809
  children: /* @__PURE__ */ e(
6770
- Se,
6810
+ ke,
6771
6811
  {
6772
6812
  rotateY: o,
6773
6813
  autoRotate: n,
@@ -6781,7 +6821,7 @@ function Wi({ config: t }) {
6781
6821
  }
6782
6822
  ),
6783
6823
  /* @__PURE__ */ e(
6784
- I,
6824
+ O,
6785
6825
  {
6786
6826
  ex: 200,
6787
6827
  ey: 520,
@@ -6794,17 +6834,17 @@ function Wi({ config: t }) {
6794
6834
  componentInfo: {
6795
6835
  type: "database",
6796
6836
  name: "DB-PRI",
6797
- status: c,
6837
+ status: d,
6798
6838
  context: { capacity: 72 },
6799
- subComponents: Xe(c, "DB-PRI", { capacity: 72 }),
6800
- graphSeries: qe({ capacity: 72 })
6839
+ subComponents: Ze(d, "DB-PRI", { capacity: 72 }),
6840
+ graphSeries: Je({ capacity: 72 })
6801
6841
  },
6802
6842
  children: /* @__PURE__ */ e(
6803
- Be,
6843
+ je,
6804
6844
  {
6805
6845
  rotateY: -o,
6806
6846
  autoRotate: n,
6807
- status: c,
6847
+ status: d,
6808
6848
  name: "DB-PRI",
6809
6849
  capacity: 72,
6810
6850
  connections: 284,
@@ -6814,7 +6854,7 @@ function Wi({ config: t }) {
6814
6854
  }
6815
6855
  ),
6816
6856
  /* @__PURE__ */ e(
6817
- I,
6857
+ O,
6818
6858
  {
6819
6859
  ex: 460,
6820
6860
  ey: 520,
@@ -6829,11 +6869,11 @@ function Wi({ config: t }) {
6829
6869
  name: "DB-STB",
6830
6870
  status: p,
6831
6871
  context: { capacity: 72 },
6832
- subComponents: Xe(p, "DB-STB", { capacity: 72 }),
6833
- graphSeries: qe({ capacity: 72 })
6872
+ subComponents: Ze(p, "DB-STB", { capacity: 72 }),
6873
+ graphSeries: Je({ capacity: 72 })
6834
6874
  },
6835
6875
  children: /* @__PURE__ */ e(
6836
- Be,
6876
+ je,
6837
6877
  {
6838
6878
  rotateY: o,
6839
6879
  autoRotate: n,
@@ -6847,7 +6887,7 @@ function Wi({ config: t }) {
6847
6887
  }
6848
6888
  ),
6849
6889
  /* @__PURE__ */ e(
6850
- I,
6890
+ O,
6851
6891
  {
6852
6892
  ex: 330,
6853
6893
  ey: 520,
@@ -6856,17 +6896,17 @@ function Wi({ config: t }) {
6856
6896
  visibleAtPhase: 6,
6857
6897
  fixedScale: 1,
6858
6898
  bare: !0,
6859
- children: /* @__PURE__ */ e(At, { synced: f, latencyMs: f ? 8 : 342 })
6899
+ children: /* @__PURE__ */ e(It, { synced: f, latencyMs: f ? 8 : 342 })
6860
6900
  }
6861
6901
  ),
6862
- /* @__PURE__ */ e(Mi, { config: t })
6902
+ /* @__PURE__ */ e(Bi, { config: t })
6863
6903
  ] });
6864
6904
  }
6865
- function Mi({ config: t }) {
6866
- const i = U.useContext($e), { wdStatus: o, msStatus: n, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: u, dbSync: c } = t, p = i?.isSelected && i?.isExpandedPos;
6867
- return i?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6905
+ function Bi({ config: t }) {
6906
+ const i = X.useContext(Re), { wdStatus: o, msStatus: n, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: u, dbSync: d } = t, p = i?.isSelected && i?.isExpandedPos;
6907
+ return i?.isSelected ? /* @__PURE__ */ c("div", { style: { pointerEvents: "none" }, children: [
6868
6908
  /* @__PURE__ */ e(
6869
- B,
6909
+ U,
6870
6910
  {
6871
6911
  ex: 220,
6872
6912
  ey: 260,
@@ -6881,7 +6921,7 @@ function Mi({ config: t }) {
6881
6921
  }
6882
6922
  ),
6883
6923
  /* @__PURE__ */ e(
6884
- B,
6924
+ U,
6885
6925
  {
6886
6926
  ex: 440,
6887
6927
  ey: 260,
@@ -6896,7 +6936,7 @@ function Mi({ config: t }) {
6896
6936
  }
6897
6937
  ),
6898
6938
  /* @__PURE__ */ e(
6899
- B,
6939
+ U,
6900
6940
  {
6901
6941
  ex: 165,
6902
6942
  ey: 390,
@@ -6911,7 +6951,7 @@ function Mi({ config: t }) {
6911
6951
  }
6912
6952
  ),
6913
6953
  /* @__PURE__ */ e(
6914
- B,
6954
+ U,
6915
6955
  {
6916
6956
  ex: 330,
6917
6957
  ey: 390,
@@ -6926,7 +6966,7 @@ function Mi({ config: t }) {
6926
6966
  }
6927
6967
  ),
6928
6968
  /* @__PURE__ */ e(
6929
- B,
6969
+ U,
6930
6970
  {
6931
6971
  ex: 495,
6932
6972
  ey: 390,
@@ -6941,7 +6981,7 @@ function Mi({ config: t }) {
6941
6981
  }
6942
6982
  ),
6943
6983
  /* @__PURE__ */ e(
6944
- B,
6984
+ U,
6945
6985
  {
6946
6986
  ex: 200,
6947
6987
  ey: 520,
@@ -6956,7 +6996,7 @@ function Mi({ config: t }) {
6956
6996
  }
6957
6997
  ),
6958
6998
  /* @__PURE__ */ e(
6959
- B,
6999
+ U,
6960
7000
  {
6961
7001
  ex: 460,
6962
7002
  ey: 520,
@@ -6970,8 +7010,8 @@ function Mi({ config: t }) {
6970
7010
  internalRef: u !== "online" ? "PLATTER-2" : void 0
6971
7011
  }
6972
7012
  ),
6973
- !c && /* @__PURE__ */ e(
6974
- B,
7013
+ !d && /* @__PURE__ */ e(
7014
+ U,
6975
7015
  {
6976
7016
  ex: 330,
6977
7017
  ey: 520,
@@ -6987,19 +7027,19 @@ function Mi({ config: t }) {
6987
7027
  )
6988
7028
  ] }) : null;
6989
7029
  }
6990
- function rn({ config: t, ...i }) {
7030
+ function an({ config: t, ...i }) {
6991
7031
  return /* @__PURE__ */ e(
6992
- Ct,
7032
+ At,
6993
7033
  {
6994
7034
  name: t.name,
6995
- status: ut(t),
6996
- connections: Ni,
7035
+ status: yt(t),
7036
+ connections: Mi,
6997
7037
  ...i,
6998
- children: /* @__PURE__ */ e(Wi, { config: t })
7038
+ children: /* @__PURE__ */ e(zi, { config: t })
6999
7039
  }
7000
7040
  );
7001
7041
  }
7002
- function ht(t) {
7042
+ function mt(t) {
7003
7043
  const i = [
7004
7044
  t.dispStatus,
7005
7045
  t.srv1Status,
@@ -7010,8 +7050,8 @@ function ht(t) {
7010
7050
  ];
7011
7051
  return i.includes("critical") ? "critical" : i.includes("warning") ? "warning" : i.includes("offline") ? "offline" : "online";
7012
7052
  }
7013
- function an(t) {
7014
- const i = ht(t), o = i === "critical" || i === "offline", n = i === "warning";
7053
+ function ln(t) {
7054
+ const i = mt(t), o = i === "critical" || i === "offline", n = i === "warning";
7015
7055
  return [
7016
7056
  {
7017
7057
  label: "Uptime",
@@ -7032,8 +7072,8 @@ function an(t) {
7032
7072
  }
7033
7073
  ];
7034
7074
  }
7035
- function ln(t) {
7036
- const i = ht(t), o = i === "critical" || i === "offline", n = i === "warning";
7075
+ function sn(t) {
7076
+ const i = mt(t), o = i === "critical" || i === "offline", n = i === "warning";
7037
7077
  return [
7038
7078
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
7039
7079
  ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
@@ -7041,7 +7081,7 @@ function ln(t) {
7041
7081
  ...!o && !n && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
7042
7082
  ];
7043
7083
  }
7044
- const zi = [
7084
+ const Ui = [
7045
7085
  { from: [330, 120], to: [330, 260], visibleAtPhase: 3 },
7046
7086
  { from: [330, 260], to: [165, 390], visibleAtPhase: 4 },
7047
7087
  { from: [330, 260], to: [330, 390], visibleAtPhase: 4 },
@@ -7050,11 +7090,11 @@ const zi = [
7050
7090
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
7051
7091
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
7052
7092
  ];
7053
- function Bi({ config: t }) {
7054
- const i = U.useContext($e), o = i?.rotateY ?? 20, n = i?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: u, sdbStatus: c, dbSync: p } = t;
7055
- return /* @__PURE__ */ d(De, { children: [
7093
+ function Fi({ config: t }) {
7094
+ const i = X.useContext(Re), o = i?.rotateY ?? 20, n = i?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: u, sdbStatus: d, dbSync: p } = t;
7095
+ return /* @__PURE__ */ c(ze, { children: [
7056
7096
  /* @__PURE__ */ e(
7057
- I,
7097
+ O,
7058
7098
  {
7059
7099
  ex: 330,
7060
7100
  ey: 120,
@@ -7062,11 +7102,11 @@ function Bi({ config: t }) {
7062
7102
  zIndex: 10,
7063
7103
  visibleAtPhase: 2,
7064
7104
  color: "#00e5ff",
7065
- children: /* @__PURE__ */ e(ct, { status: "online", scale: 1.5 })
7105
+ children: /* @__PURE__ */ e(ht, { status: "online", scale: 1.5 })
7066
7106
  }
7067
7107
  ),
7068
7108
  /* @__PURE__ */ e(
7069
- I,
7109
+ O,
7070
7110
  {
7071
7111
  ex: 330,
7072
7112
  ey: 260,
@@ -7081,11 +7121,11 @@ function Bi({ config: t }) {
7081
7121
  name: "DISP-01",
7082
7122
  status: r,
7083
7123
  context: { traffic: 78 },
7084
- subComponents: Dt(r),
7085
- graphSeries: Nt({ traffic: 78 })
7124
+ subComponents: Mt(r),
7125
+ graphSeries: zt({ traffic: 78 })
7086
7126
  },
7087
7127
  children: /* @__PURE__ */ e(
7088
- pt,
7128
+ bt,
7089
7129
  {
7090
7130
  rotateY: o,
7091
7131
  autoRotate: n,
@@ -7099,7 +7139,7 @@ function Bi({ config: t }) {
7099
7139
  }
7100
7140
  ),
7101
7141
  /* @__PURE__ */ e(
7102
- I,
7142
+ O,
7103
7143
  {
7104
7144
  ex: 165,
7105
7145
  ey: 390,
@@ -7114,11 +7154,11 @@ function Bi({ config: t }) {
7114
7154
  name: "APP-01",
7115
7155
  status: a,
7116
7156
  context: { cpuLoad: 67, memLoad: 72 },
7117
- subComponents: Oe(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
7118
- graphSeries: Le({ cpuLoad: 67, memLoad: 72 })
7157
+ subComponents: We(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
7158
+ graphSeries: Me({ cpuLoad: 67, memLoad: 72 })
7119
7159
  },
7120
7160
  children: /* @__PURE__ */ e(
7121
- Se,
7161
+ ke,
7122
7162
  {
7123
7163
  rotateY: o,
7124
7164
  autoRotate: n,
@@ -7132,7 +7172,7 @@ function Bi({ config: t }) {
7132
7172
  }
7133
7173
  ),
7134
7174
  /* @__PURE__ */ e(
7135
- I,
7175
+ O,
7136
7176
  {
7137
7177
  ex: 330,
7138
7178
  ey: 390,
@@ -7147,11 +7187,11 @@ function Bi({ config: t }) {
7147
7187
  name: "APP-02",
7148
7188
  status: s,
7149
7189
  context: { cpuLoad: 89, memLoad: 91 },
7150
- subComponents: Oe(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
7151
- graphSeries: Le({ cpuLoad: 89, memLoad: 91 })
7190
+ subComponents: We(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
7191
+ graphSeries: Me({ cpuLoad: 89, memLoad: 91 })
7152
7192
  },
7153
7193
  children: /* @__PURE__ */ e(
7154
- Se,
7194
+ ke,
7155
7195
  {
7156
7196
  rotateY: o,
7157
7197
  autoRotate: n,
@@ -7165,7 +7205,7 @@ function Bi({ config: t }) {
7165
7205
  }
7166
7206
  ),
7167
7207
  /* @__PURE__ */ e(
7168
- I,
7208
+ O,
7169
7209
  {
7170
7210
  ex: 495,
7171
7211
  ey: 390,
@@ -7180,11 +7220,11 @@ function Bi({ config: t }) {
7180
7220
  name: "APP-03",
7181
7221
  status: l,
7182
7222
  context: { cpuLoad: 45, memLoad: 63 },
7183
- subComponents: Oe(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
7184
- graphSeries: Le({ cpuLoad: 45, memLoad: 63 })
7223
+ subComponents: We(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
7224
+ graphSeries: Me({ cpuLoad: 45, memLoad: 63 })
7185
7225
  },
7186
7226
  children: /* @__PURE__ */ e(
7187
- Se,
7227
+ ke,
7188
7228
  {
7189
7229
  rotateY: o,
7190
7230
  autoRotate: n,
@@ -7198,7 +7238,7 @@ function Bi({ config: t }) {
7198
7238
  }
7199
7239
  ),
7200
7240
  /* @__PURE__ */ e(
7201
- I,
7241
+ O,
7202
7242
  {
7203
7243
  ex: 200,
7204
7244
  ey: 520,
@@ -7213,11 +7253,11 @@ function Bi({ config: t }) {
7213
7253
  name: "DB-PRI",
7214
7254
  status: u,
7215
7255
  context: { capacity: 72 },
7216
- subComponents: Xe(u, "DB-PRI", { capacity: 72 }),
7217
- graphSeries: qe({ capacity: 72 })
7256
+ subComponents: Ze(u, "DB-PRI", { capacity: 72 }),
7257
+ graphSeries: Je({ capacity: 72 })
7218
7258
  },
7219
7259
  children: /* @__PURE__ */ e(
7220
- Be,
7260
+ je,
7221
7261
  {
7222
7262
  rotateY: -o,
7223
7263
  autoRotate: n,
@@ -7231,7 +7271,7 @@ function Bi({ config: t }) {
7231
7271
  }
7232
7272
  ),
7233
7273
  /* @__PURE__ */ e(
7234
- I,
7274
+ O,
7235
7275
  {
7236
7276
  ex: 460,
7237
7277
  ey: 520,
@@ -7244,17 +7284,17 @@ function Bi({ config: t }) {
7244
7284
  componentInfo: {
7245
7285
  type: "database",
7246
7286
  name: "DB-STB",
7247
- status: c,
7287
+ status: d,
7248
7288
  context: { capacity: 72 },
7249
- subComponents: Xe(c, "DB-STB", { capacity: 72 }),
7250
- graphSeries: qe({ capacity: 72 })
7289
+ subComponents: Ze(d, "DB-STB", { capacity: 72 }),
7290
+ graphSeries: Je({ capacity: 72 })
7251
7291
  },
7252
7292
  children: /* @__PURE__ */ e(
7253
- Be,
7293
+ je,
7254
7294
  {
7255
7295
  rotateY: o,
7256
7296
  autoRotate: n,
7257
- status: c,
7297
+ status: d,
7258
7298
  name: "DB-STB",
7259
7299
  capacity: 72,
7260
7300
  connections: 0,
@@ -7264,7 +7304,7 @@ function Bi({ config: t }) {
7264
7304
  }
7265
7305
  ),
7266
7306
  /* @__PURE__ */ e(
7267
- I,
7307
+ O,
7268
7308
  {
7269
7309
  ex: 330,
7270
7310
  ey: 520,
@@ -7273,17 +7313,17 @@ function Bi({ config: t }) {
7273
7313
  visibleAtPhase: 6,
7274
7314
  fixedScale: 1,
7275
7315
  bare: !0,
7276
- children: /* @__PURE__ */ e(At, { synced: p, latencyMs: p ? 8 : 342 })
7316
+ children: /* @__PURE__ */ e(It, { synced: p, latencyMs: p ? 8 : 342 })
7277
7317
  }
7278
7318
  ),
7279
- /* @__PURE__ */ e(Fi, { config: t })
7319
+ /* @__PURE__ */ e(Hi, { config: t })
7280
7320
  ] });
7281
7321
  }
7282
- function Fi({ config: t }) {
7283
- const i = U.useContext($e), { dispStatus: o, srv1Status: n, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: u } = t, c = i?.isSelected && i?.isExpandedPos;
7284
- return i?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
7322
+ function Hi({ config: t }) {
7323
+ const i = X.useContext(Re), { dispStatus: o, srv1Status: n, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: u } = t, d = i?.isSelected && i?.isExpandedPos;
7324
+ return i?.isSelected ? /* @__PURE__ */ c("div", { style: { pointerEvents: "none" }, children: [
7285
7325
  /* @__PURE__ */ e(
7286
- B,
7326
+ U,
7287
7327
  {
7288
7328
  ex: 330,
7289
7329
  ey: 260,
@@ -7293,12 +7333,12 @@ function Fi({ config: t }) {
7293
7333
  offsetX: -90,
7294
7334
  offsetY: -40,
7295
7335
  align: "left",
7296
- isVisible: !!c,
7336
+ isVisible: !!d,
7297
7337
  internalRef: o !== "online" ? "PORT-3" : void 0
7298
7338
  }
7299
7339
  ),
7300
7340
  /* @__PURE__ */ e(
7301
- B,
7341
+ U,
7302
7342
  {
7303
7343
  ex: 165,
7304
7344
  ey: 390,
@@ -7308,12 +7348,12 @@ function Fi({ config: t }) {
7308
7348
  offsetX: -110,
7309
7349
  offsetY: -30,
7310
7350
  align: "left",
7311
- isVisible: !!c,
7351
+ isVisible: !!d,
7312
7352
  internalRef: n !== "online" ? "CPU-0" : void 0
7313
7353
  }
7314
7354
  ),
7315
7355
  /* @__PURE__ */ e(
7316
- B,
7356
+ U,
7317
7357
  {
7318
7358
  ex: 330,
7319
7359
  ey: 390,
@@ -7323,12 +7363,12 @@ function Fi({ config: t }) {
7323
7363
  offsetX: 100,
7324
7364
  offsetY: -80,
7325
7365
  align: "right",
7326
- isVisible: !!c,
7366
+ isVisible: !!d,
7327
7367
  internalRef: r !== "online" ? "HEAP-0" : void 0
7328
7368
  }
7329
7369
  ),
7330
7370
  /* @__PURE__ */ e(
7331
- B,
7371
+ U,
7332
7372
  {
7333
7373
  ex: 495,
7334
7374
  ey: 390,
@@ -7338,12 +7378,12 @@ function Fi({ config: t }) {
7338
7378
  offsetX: 110,
7339
7379
  offsetY: -30,
7340
7380
  align: "right",
7341
- isVisible: !!c,
7381
+ isVisible: !!d,
7342
7382
  internalRef: a !== "online" ? "THREAD-POOL" : void 0
7343
7383
  }
7344
7384
  ),
7345
7385
  /* @__PURE__ */ e(
7346
- B,
7386
+ U,
7347
7387
  {
7348
7388
  ex: 200,
7349
7389
  ey: 520,
@@ -7353,12 +7393,12 @@ function Fi({ config: t }) {
7353
7393
  offsetX: -110,
7354
7394
  offsetY: 30,
7355
7395
  align: "left",
7356
- isVisible: !!c,
7396
+ isVisible: !!d,
7357
7397
  internalRef: s !== "online" ? s === "critical" ? "CONN-POOL" : "QUERY-CACHE" : void 0
7358
7398
  }
7359
7399
  ),
7360
7400
  /* @__PURE__ */ e(
7361
- B,
7401
+ U,
7362
7402
  {
7363
7403
  ex: 460,
7364
7404
  ey: 520,
@@ -7368,12 +7408,12 @@ function Fi({ config: t }) {
7368
7408
  offsetX: 110,
7369
7409
  offsetY: 30,
7370
7410
  align: "right",
7371
- isVisible: !!c,
7411
+ isVisible: !!d,
7372
7412
  internalRef: l !== "online" ? "PLATTER-2" : void 0
7373
7413
  }
7374
7414
  ),
7375
7415
  !u && /* @__PURE__ */ e(
7376
- B,
7416
+ U,
7377
7417
  {
7378
7418
  ex: 330,
7379
7419
  ey: 520,
@@ -7383,86 +7423,86 @@ function Fi({ config: t }) {
7383
7423
  offsetX: 0,
7384
7424
  offsetY: 60,
7385
7425
  align: "bottom",
7386
- isVisible: !!c,
7426
+ isVisible: !!d,
7387
7427
  internalRef: "PLATTER-2"
7388
7428
  }
7389
7429
  )
7390
7430
  ] }) : null;
7391
7431
  }
7392
- function sn({ config: t, ...i }) {
7432
+ function dn({ config: t, ...i }) {
7393
7433
  return /* @__PURE__ */ e(
7394
- Ct,
7434
+ At,
7395
7435
  {
7396
7436
  name: t.name,
7397
- status: ht(t),
7398
- connections: zi,
7437
+ status: mt(t),
7438
+ connections: Ui,
7399
7439
  ...i,
7400
- children: /* @__PURE__ */ e(Bi, { config: t })
7440
+ children: /* @__PURE__ */ e(Fi, { config: t })
7401
7441
  }
7402
7442
  );
7403
7443
  }
7404
7444
  export {
7405
- tn as AIOPsDashboard,
7406
- _e as CPU3D,
7407
- Gt as Carousel,
7408
- lt as CarouselContext,
7409
- st as CarouselItemContext,
7410
- qt as ComponentDialog,
7411
- Ji as ComponentDrillView,
7412
- Oi as DataProvider,
7413
- Be as Database3D,
7414
- Qi as DatabaseNode,
7415
- Ie as DriveBay3D,
7416
- zi as EXCHANGE_CONNECTIONS,
7417
- sn as ExchangeService,
7418
- _i as HOLO_BLUE,
7419
- Vi as HOLO_CYAN,
7420
- rt as HOLO_GLASS,
7421
- Ne as HOLO_SURFACE,
7422
- wi as HistoricalGraphPanel,
7423
- ei as HoloBase,
7424
- ct as Human3D,
7425
- Ki as HumanNode,
7426
- je as Memory3D,
7427
- Tt as MessageServer3D,
7428
- Zi as MessageServerNode,
7429
- Ot as NetworkBlock3D,
7430
- B as NodeCallout,
7431
- Ye as Platter3D,
7432
- V as Port3D,
7433
- rn as SAPService,
7434
- Ni as SAP_CONNECTIONS,
7435
- R as STATUS_CFG,
7436
- Se as Server3D,
7437
- qi as ServerNode,
7438
- Ct as Service,
7439
- $e as ServiceContext,
7440
- jt as ServiceDialog,
7441
- I as ServiceNode,
7442
- Zt as SvgConnection,
7443
- At as SyncBridge,
7445
+ nn as AIOPsDashboard,
7446
+ Ke as CPU3D,
7447
+ Jt as Carousel,
7448
+ pt as CarouselContext,
7449
+ ft as CarouselItemContext,
7450
+ Kt as ComponentDialog,
7451
+ en as ComponentDrillView,
7452
+ Di as DataProvider,
7453
+ je as Database3D,
7454
+ Ki as DatabaseNode,
7455
+ Ne as DriveBay3D,
7456
+ Ui as EXCHANGE_CONNECTIONS,
7457
+ dn as ExchangeService,
7458
+ ji as HOLO_BLUE,
7459
+ _i as HOLO_CYAN,
7460
+ dt as HOLO_GLASS,
7461
+ Ue as HOLO_SURFACE,
7462
+ $i as HistoricalGraphPanel,
7463
+ ii as HoloBase,
7464
+ ht as Human3D,
7465
+ Gi as HumanNode,
7466
+ Ge as Memory3D,
7467
+ Lt as MessageServer3D,
7468
+ Ji as MessageServerNode,
7469
+ Nt as NetworkBlock3D,
7470
+ U as NodeCallout,
7471
+ Qe as Platter3D,
7472
+ K as Port3D,
7473
+ an as SAPService,
7474
+ Mi as SAP_CONNECTIONS,
7475
+ E as STATUS_CFG,
7476
+ ke as Server3D,
7477
+ Qi as ServerNode,
7478
+ At as Service,
7479
+ Re as ServiceContext,
7480
+ qt as ServiceDialog,
7481
+ O as ServiceNode,
7482
+ ei as SvgConnection,
7483
+ It as SyncBridge,
7444
7484
  F as ThreadPool3D,
7445
- pt as WebDispatcher3D,
7446
- Gi as WebDispatcherNode,
7447
- ln as computeExchangeDialogAlerts,
7448
- an as computeExchangeDialogMetrics,
7449
- ht as computeExchangeServiceStatus,
7450
- on as computeSAPDialogAlerts,
7451
- nn as computeSAPDialogMetrics,
7452
- ut as computeSAPServiceStatus,
7453
- Ii as defaultDataTransform,
7454
- qe as getDatabaseGraphSeries,
7455
- Xe as getDatabaseSubComponents,
7456
- Nt as getDispatcherGraphSeries,
7457
- Dt as getDispatcherSubComponents,
7458
- Di as getMessageServerGraphSeries,
7459
- Li as getMessageServerSubComponents,
7460
- Le as getServerGraphSeries,
7461
- Oe as getServerSubComponents,
7462
- at as makeFaceStyles,
7463
- Pi as useAIOpsData,
7464
- Ai as useAIOpsDataOptional,
7465
- ji as useCarouselContext,
7466
- Xi as useCarouselItemContext,
7467
- en as useQueryResult
7485
+ bt as WebDispatcher3D,
7486
+ Zi as WebDispatcherNode,
7487
+ sn as computeExchangeDialogAlerts,
7488
+ ln as computeExchangeDialogMetrics,
7489
+ mt as computeExchangeServiceStatus,
7490
+ rn as computeSAPDialogAlerts,
7491
+ on as computeSAPDialogMetrics,
7492
+ yt as computeSAPServiceStatus,
7493
+ Li as defaultDataTransform,
7494
+ Je as getDatabaseGraphSeries,
7495
+ Ze as getDatabaseSubComponents,
7496
+ zt as getDispatcherGraphSeries,
7497
+ Mt as getDispatcherSubComponents,
7498
+ Wi as getMessageServerGraphSeries,
7499
+ Ni as getMessageServerSubComponents,
7500
+ Me as getServerGraphSeries,
7501
+ We as getServerSubComponents,
7502
+ ct as makeFaceStyles,
7503
+ Ti as useAIOpsData,
7504
+ Oi as useAIOpsDataOptional,
7505
+ Xi as useCarouselContext,
7506
+ qi as useCarouselItemContext,
7507
+ tn as useQueryResult
7468
7508
  };