react-aiops 0.1.1 → 0.1.2

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,19 +1,19 @@
1
1
  import { jsxs as d, jsx as e, Fragment as Ce } from "react/jsx-runtime";
2
- import J, { createContext as Xe, useContext as ve, useState as A, useEffect as Ee, useMemo as Tt, useRef as ee } from "react";
3
- const At = {
2
+ import J, { createContext as Xe, useContext as ve, useState as A, useEffect as Ee, useMemo as Et, useRef as ee } from "react";
3
+ const Tt = {
4
4
  info: { color: "#00ff88", bg: "rgba(0, 255, 136, 0.1)", border: "#00ff88", icon: "✅" },
5
5
  warning: { color: "#ff8c00", bg: "rgba(255, 140, 0, 0.1)", border: "#ff8c00", icon: "⚠️" },
6
6
  critical: { color: "#ff2255", bg: "rgba(255, 34, 85, 0.1)", border: "#ff2255", icon: "🛑" }
7
7
  };
8
- function Lt({
8
+ function At({
9
9
  name: t,
10
- status: o,
11
- dbSync: n = !0,
10
+ status: n,
11
+ dbSync: o = !0,
12
12
  visible: i,
13
13
  metrics: r,
14
14
  alerts: a
15
15
  }) {
16
- const s = o === "critical" || o === "offline", l = o === "warning", f = r ?? [
16
+ const s = n === "critical" || n === "offline", l = n === "warning", f = r ?? [
17
17
  {
18
18
  label: "Uptime",
19
19
  value: s ? "92.14%" : "99.98%",
@@ -32,10 +32,10 @@ function Lt({
32
32
  color: s ? "#ff2255" : l ? "#ff8c00" : "#00ff88"
33
33
  }
34
34
  ], c = a ?? [
35
- ...n ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
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
- ...!s && !l && n ? [{ level: "info", message: "All Systems Nominal" }] : []
38
+ ...!s && !l && o ? [{ level: "info", message: "All Systems Nominal" }] : []
39
39
  ];
40
40
  return /* @__PURE__ */ d(
41
41
  "div",
@@ -146,7 +146,7 @@ function Lt({
146
146
  }
147
147
  ),
148
148
  c.map((p, h) => {
149
- const g = At[p.level];
149
+ const b = Tt[p.level];
150
150
  return /* @__PURE__ */ d(
151
151
  "div",
152
152
  {
@@ -154,15 +154,15 @@ function Lt({
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
  ]
@@ -182,54 +182,54 @@ const S = {
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", wi = "#0055cc", we = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Ge = "linear-gradient(180deg, rgba(10,25,50,0.35) 0%, rgba(5,15,35,0.25) 60%, rgba(3,10,20,0.15) 100%)";
186
- function Qe(t, o, n) {
185
+ }, yi = "#00e5ff", mi = "#0055cc", we = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Qe = "linear-gradient(180deg, rgba(10,25,50,0.35) 0%, rgba(5,15,35,0.25) 60%, rgba(3,10,20,0.15) 100%)";
186
+ function qe(t, n, o) {
187
187
  const i = {
188
188
  position: "absolute",
189
189
  overflow: "hidden",
190
190
  backfaceVisibility: "hidden"
191
191
  };
192
192
  return {
193
- front: { ...i, width: t, height: o, left: 0, top: 0, transform: `translateZ(${n / 2}px)` },
193
+ front: { ...i, width: t, height: n, left: 0, top: 0, transform: `translateZ(${o / 2}px)` },
194
194
  back: {
195
195
  ...i,
196
196
  width: t,
197
- height: o,
197
+ height: n,
198
198
  left: 0,
199
199
  top: 0,
200
- transform: `rotateY(180deg) translateZ(${n / 2}px)`
200
+ transform: `rotateY(180deg) translateZ(${o / 2}px)`
201
201
  },
202
202
  left: {
203
203
  ...i,
204
- width: n,
205
- height: o,
206
- left: (t - n) / 2,
204
+ width: o,
205
+ height: n,
206
+ left: (t - o) / 2,
207
207
  top: 0,
208
208
  transform: `rotateY(-90deg) translateZ(${t / 2}px)`
209
209
  },
210
210
  right: {
211
211
  ...i,
212
- width: n,
213
- height: o,
214
- left: (t - n) / 2,
212
+ width: o,
213
+ height: n,
214
+ left: (t - o) / 2,
215
215
  top: 0,
216
216
  transform: `rotateY(90deg) translateZ(${t / 2}px)`
217
217
  },
218
218
  top: {
219
219
  ...i,
220
220
  width: t,
221
- height: n,
221
+ height: o,
222
222
  left: 0,
223
- top: (o - n) / 2,
224
- transform: `rotateX(90deg) translateZ(${o / 2}px)`
223
+ top: (n - o) / 2,
224
+ transform: `rotateX(90deg) translateZ(${n / 2}px)`
225
225
  },
226
226
  bottom: {
227
227
  ...i,
228
228
  width: t,
229
- height: n,
229
+ height: o,
230
230
  left: 0,
231
- top: (o - n) / 2,
232
- transform: `rotateX(-90deg) translateZ(${o / 2}px)`
231
+ top: (n - o) / 2,
232
+ transform: `rotateX(-90deg) translateZ(${n / 2}px)`
233
233
  }
234
234
  };
235
235
  }
@@ -237,24 +237,24 @@ const Ve = "cubic-bezier(0.34, 1.56, 0.64, 1)", _e = "cubic-bezier(0.16, 1, 0.3,
237
237
  function st(t) {
238
238
  return S[t]?.color ?? S.online.color;
239
239
  }
240
- function It(t, o, n) {
241
- return t >= n ? "#ff2255" : t >= o ? "#ff8c00" : "#00e5ff";
240
+ function Lt(t, n, o) {
241
+ return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
242
242
  }
243
- function Ue(t, o, n, i) {
244
- return t === "offline" ? "offline" : t === "critical" && o >= i ? "critical" : (t === "critical" || t === "warning") && o >= n ? "warning" : "online";
243
+ function Fe(t, n, o, i) {
244
+ return t === "offline" ? "offline" : t === "critical" && n >= i ? "critical" : (t === "critical" || t === "warning") && n >= o ? "warning" : "online";
245
245
  }
246
- function Ot({
246
+ function It({
247
247
  component: t,
248
- onClose: o,
249
- visible: n,
248
+ onClose: n,
249
+ visible: o,
250
250
  sceneWidth: i = 660,
251
251
  sceneHeight: r = 600
252
252
  }) {
253
- const { type: a, name: s, status: l, ex: f, ey: c, context: p = {} } = t, h = st(l), g = f >= i / 2, u = c >= r / 2, b = {
253
+ const { type: a, name: s, status: l, ex: f, ey: c, context: p = {} } = t, h = st(l), b = f >= i / 2, u = c >= r / 2, g = {
254
254
  position: "fixed",
255
- ...g ? { right: 28 } : { left: 28 },
255
+ ...b ? { right: 28 } : { left: 28 },
256
256
  ...u ? { bottom: 110 } : { top: 72 }
257
- }, m = g ? 40 : -40, x = u ? 30 : -30, w = p.cpuLoad ?? p.traffic ?? 50, P = p.memLoad ?? p.queueDepth ?? 60, y = p.capacity ?? 72, D = Ue(l, w, 70, 85), B = Ue(l, P, 75, 88), $ = Ue(l, y, 75, 90), V = [
257
+ }, m = b ? 40 : -40, x = u ? 30 : -30, w = p.cpuLoad ?? p.traffic ?? 50, P = p.memLoad ?? p.queueDepth ?? 60, y = p.capacity ?? 72, D = Fe(l, w, 70, 85), B = Fe(l, P, 75, 88), k = Fe(l, y, 75, 90), V = [
258
258
  {
259
259
  id: "cpu",
260
260
  label: a === "dispatcher" ? "TRAFFIC" : a === "messageServer" ? "QUEUE" : "CPU",
@@ -281,7 +281,7 @@ function Ot({
281
281
  sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
282
282
  value: y,
283
283
  unit: "%",
284
- status: $,
284
+ status: k,
285
285
  icon: "disk",
286
286
  delay: 2
287
287
  }
@@ -290,7 +290,7 @@ function Ot({
290
290
  "div",
291
291
  {
292
292
  style: {
293
- ...b,
293
+ ...g,
294
294
  width: 420,
295
295
  background: "linear-gradient(170deg, rgba(2, 10, 22, 0.96) 0%, rgba(2, 6, 14, 0.98) 100%)",
296
296
  backdropFilter: "blur(20px)",
@@ -299,12 +299,12 @@ function Ot({
299
299
  borderRadius: 14,
300
300
  fontFamily: "'Courier New', monospace",
301
301
  overflow: "hidden",
302
- opacity: n ? 1 : 0,
303
- transform: n ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${x}px)`,
302
+ opacity: o ? 1 : 0,
303
+ transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${x}px)`,
304
304
  transition: `opacity 0.45s ${_e}, transform 0.55s ${Ve}`,
305
- pointerEvents: n ? "auto" : "none",
305
+ pointerEvents: o ? "auto" : "none",
306
306
  zIndex: 9999,
307
- animation: n ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
307
+ animation: o ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
308
308
  "--dialog-color": h
309
309
  },
310
310
  onClick: (v) => v.stopPropagation(),
@@ -320,7 +320,7 @@ function Ot({
320
320
  height: 2,
321
321
  background: `linear-gradient(90deg, transparent 2%, ${h}aa 30%, #fff 50%, ${h}aa 70%, transparent 98%)`,
322
322
  boxShadow: `0 0 12px ${h}, 0 0 24px ${h}44`,
323
- animation: n ? "holo-scan 3.5s linear infinite" : "none",
323
+ animation: o ? "holo-scan 3.5s linear infinite" : "none",
324
324
  pointerEvents: "none",
325
325
  zIndex: 10
326
326
  }
@@ -456,7 +456,7 @@ function Ot({
456
456
  "button",
457
457
  {
458
458
  onClick: (v) => {
459
- v.stopPropagation(), o();
459
+ v.stopPropagation(), n();
460
460
  },
461
461
  style: {
462
462
  width: 34,
@@ -497,7 +497,7 @@ function Ot({
497
497
  position: "relative",
498
498
  zIndex: 2
499
499
  },
500
- children: V.map((v) => /* @__PURE__ */ e(Dt, { metric: v, visible: n, accentColor: h }, v.id))
500
+ children: V.map((v) => /* @__PURE__ */ e(Ot, { metric: v, visible: o, accentColor: h }, v.id))
501
501
  }
502
502
  ),
503
503
  /* @__PURE__ */ d(
@@ -546,12 +546,12 @@ function Ot({
546
546
  }
547
547
  );
548
548
  }
549
- function Dt({
549
+ function Ot({
550
550
  metric: t,
551
- visible: o,
552
- accentColor: n
551
+ visible: n,
552
+ accentColor: o
553
553
  }) {
554
- const { label: i, sublabel: r, value: a, unit: s, status: l, icon: f, delay: c } = t, p = It(a, 70, 85), h = st(l);
554
+ const { label: i, sublabel: r, value: a, unit: s, status: l, icon: f, delay: c } = t, p = Lt(a, 70, 85), h = st(l);
555
555
  return /* @__PURE__ */ d(
556
556
  "div",
557
557
  {
@@ -559,8 +559,8 @@ function Dt({
559
559
  display: "flex",
560
560
  alignItems: "center",
561
561
  gap: 16,
562
- opacity: o ? 1 : 0,
563
- transform: o ? "translateY(0)" : "translateY(12px)",
562
+ opacity: n ? 1 : 0,
563
+ transform: n ? "translateY(0)" : "translateY(12px)",
564
564
  transition: `opacity 0.4s ${_e} ${0.3 + c * 0.12}s, transform 0.5s ${Ve} ${0.3 + c * 0.12}s`
565
565
  },
566
566
  children: [
@@ -579,10 +579,10 @@ function Dt({
579
579
  flexShrink: 0,
580
580
  position: "relative",
581
581
  overflow: "hidden",
582
- animation: o ? `comp-dialog-icon-pop 0.5s ${Ve} ${0.35 + c * 0.12}s both` : "none"
582
+ animation: n ? `comp-dialog-icon-pop 0.5s ${Ve} ${0.35 + c * 0.12}s both` : "none"
583
583
  },
584
584
  children: [
585
- /* @__PURE__ */ e(Wt, { type: f, color: h }),
585
+ /* @__PURE__ */ e(Dt, { type: f, color: h }),
586
586
  (l === "warning" || l === "critical") && /* @__PURE__ */ e(
587
587
  "div",
588
588
  {
@@ -631,7 +631,7 @@ function Dt({
631
631
  {
632
632
  style: {
633
633
  fontSize: 8,
634
- color: `${n}55`,
634
+ color: `${o}55`,
635
635
  letterSpacing: "0.15em",
636
636
  textTransform: "uppercase"
637
637
  },
@@ -681,7 +681,7 @@ function Dt({
681
681
  background: `linear-gradient(90deg, ${p}66, ${p})`,
682
682
  boxShadow: `0 0 8px ${p}44`,
683
683
  transformOrigin: "left center",
684
- animation: o ? `comp-dialog-metric-fill 0.8s ${_e} ${0.4 + c * 0.12}s both` : "none"
684
+ animation: n ? `comp-dialog-metric-fill 0.8s ${_e} ${0.4 + c * 0.12}s both` : "none"
685
685
  }
686
686
  }
687
687
  ),
@@ -747,9 +747,9 @@ function Dt({
747
747
  }
748
748
  );
749
749
  }
750
- function Wt({ type: t, color: o }) {
750
+ function Dt({ type: t, color: n }) {
751
751
  return t === "cpu" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
752
- /* @__PURE__ */ e("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2", stroke: o, strokeWidth: "1.5" }),
752
+ /* @__PURE__ */ e("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2", stroke: n, strokeWidth: "1.5" }),
753
753
  /* @__PURE__ */ e(
754
754
  "rect",
755
755
  {
@@ -758,25 +758,25 @@ function Wt({ type: t, color: o }) {
758
758
  width: "6",
759
759
  height: "6",
760
760
  rx: "1",
761
- fill: `${o}44`,
762
- stroke: o,
761
+ fill: `${n}44`,
762
+ stroke: n,
763
763
  strokeWidth: "0.5"
764
764
  }
765
765
  ),
766
- /* @__PURE__ */ e("line", { x1: "4", y1: "9", x2: "6", y2: "9", stroke: o, strokeWidth: "1" }),
767
- /* @__PURE__ */ e("line", { x1: "4", y1: "12", x2: "6", y2: "12", stroke: o, strokeWidth: "1" }),
768
- /* @__PURE__ */ e("line", { x1: "4", y1: "15", x2: "6", y2: "15", stroke: o, strokeWidth: "1" }),
769
- /* @__PURE__ */ e("line", { x1: "18", y1: "9", x2: "20", y2: "9", stroke: o, strokeWidth: "1" }),
770
- /* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "20", y2: "12", stroke: o, strokeWidth: "1" }),
771
- /* @__PURE__ */ e("line", { x1: "18", y1: "15", x2: "20", y2: "15", stroke: o, strokeWidth: "1" }),
772
- /* @__PURE__ */ e("line", { x1: "9", y1: "4", x2: "9", y2: "6", stroke: o, strokeWidth: "1" }),
773
- /* @__PURE__ */ e("line", { x1: "12", y1: "4", x2: "12", y2: "6", stroke: o, strokeWidth: "1" }),
774
- /* @__PURE__ */ e("line", { x1: "15", y1: "4", x2: "15", y2: "6", stroke: o, strokeWidth: "1" }),
775
- /* @__PURE__ */ e("line", { x1: "9", y1: "18", x2: "9", y2: "20", stroke: o, strokeWidth: "1" }),
776
- /* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "20", stroke: o, strokeWidth: "1" }),
777
- /* @__PURE__ */ e("line", { x1: "15", y1: "18", x2: "15", y2: "20", stroke: o, strokeWidth: "1" })
766
+ /* @__PURE__ */ e("line", { x1: "4", y1: "9", x2: "6", y2: "9", stroke: n, strokeWidth: "1" }),
767
+ /* @__PURE__ */ e("line", { x1: "4", y1: "12", x2: "6", y2: "12", stroke: n, strokeWidth: "1" }),
768
+ /* @__PURE__ */ e("line", { x1: "4", y1: "15", x2: "6", y2: "15", stroke: n, strokeWidth: "1" }),
769
+ /* @__PURE__ */ e("line", { x1: "18", y1: "9", x2: "20", y2: "9", stroke: n, strokeWidth: "1" }),
770
+ /* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "20", y2: "12", stroke: n, strokeWidth: "1" }),
771
+ /* @__PURE__ */ e("line", { x1: "18", y1: "15", x2: "20", y2: "15", stroke: n, strokeWidth: "1" }),
772
+ /* @__PURE__ */ e("line", { x1: "9", y1: "4", x2: "9", y2: "6", stroke: n, strokeWidth: "1" }),
773
+ /* @__PURE__ */ e("line", { x1: "12", y1: "4", x2: "12", y2: "6", stroke: n, strokeWidth: "1" }),
774
+ /* @__PURE__ */ e("line", { x1: "15", y1: "4", x2: "15", y2: "6", stroke: n, strokeWidth: "1" }),
775
+ /* @__PURE__ */ e("line", { x1: "9", y1: "18", x2: "9", y2: "20", stroke: n, strokeWidth: "1" }),
776
+ /* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "20", stroke: n, strokeWidth: "1" }),
777
+ /* @__PURE__ */ e("line", { x1: "15", y1: "18", x2: "15", y2: "20", stroke: n, strokeWidth: "1" })
778
778
  ] }) : t === "mem" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
779
- /* @__PURE__ */ e("rect", { x: "7", y: "3", width: "10", height: "18", rx: "1.5", stroke: o, strokeWidth: "1.5" }),
779
+ /* @__PURE__ */ e("rect", { x: "7", y: "3", width: "10", height: "18", rx: "1.5", stroke: n, strokeWidth: "1.5" }),
780
780
  /* @__PURE__ */ e(
781
781
  "rect",
782
782
  {
@@ -785,8 +785,8 @@ function Wt({ type: t, color: o }) {
785
785
  width: "6",
786
786
  height: "3",
787
787
  rx: "0.5",
788
- fill: `${o}33`,
789
- stroke: o,
788
+ fill: `${n}33`,
789
+ stroke: n,
790
790
  strokeWidth: "0.5"
791
791
  }
792
792
  ),
@@ -798,8 +798,8 @@ function Wt({ type: t, color: o }) {
798
798
  width: "6",
799
799
  height: "3",
800
800
  rx: "0.5",
801
- fill: `${o}33`,
802
- stroke: o,
801
+ fill: `${n}33`,
802
+ stroke: n,
803
803
  strokeWidth: "0.5"
804
804
  }
805
805
  ),
@@ -811,38 +811,38 @@ function Wt({ type: t, color: o }) {
811
811
  width: "6",
812
812
  height: "3",
813
813
  rx: "0.5",
814
- fill: `${o}33`,
815
- stroke: o,
814
+ fill: `${n}33`,
815
+ stroke: n,
816
816
  strokeWidth: "0.5"
817
817
  }
818
818
  ),
819
- /* @__PURE__ */ e("line", { x1: "5", y1: "7", x2: "7", y2: "7", stroke: o, strokeWidth: "0.8" }),
820
- /* @__PURE__ */ e("line", { x1: "5", y1: "11", x2: "7", y2: "11", stroke: o, strokeWidth: "0.8" }),
821
- /* @__PURE__ */ e("line", { x1: "5", y1: "15", x2: "7", y2: "15", stroke: o, strokeWidth: "0.8" }),
822
- /* @__PURE__ */ e("line", { x1: "17", y1: "7", x2: "19", y2: "7", stroke: o, strokeWidth: "0.8" }),
823
- /* @__PURE__ */ e("line", { x1: "17", y1: "11", x2: "19", y2: "11", stroke: o, strokeWidth: "0.8" }),
824
- /* @__PURE__ */ e("line", { x1: "17", y1: "15", x2: "19", y2: "15", stroke: o, strokeWidth: "0.8" })
819
+ /* @__PURE__ */ e("line", { x1: "5", y1: "7", x2: "7", y2: "7", stroke: n, strokeWidth: "0.8" }),
820
+ /* @__PURE__ */ e("line", { x1: "5", y1: "11", x2: "7", y2: "11", stroke: n, strokeWidth: "0.8" }),
821
+ /* @__PURE__ */ e("line", { x1: "5", y1: "15", x2: "7", y2: "15", stroke: n, strokeWidth: "0.8" }),
822
+ /* @__PURE__ */ e("line", { x1: "17", y1: "7", x2: "19", y2: "7", stroke: n, strokeWidth: "0.8" }),
823
+ /* @__PURE__ */ e("line", { x1: "17", y1: "11", x2: "19", y2: "11", stroke: n, strokeWidth: "0.8" }),
824
+ /* @__PURE__ */ e("line", { x1: "17", y1: "15", x2: "19", y2: "15", stroke: n, strokeWidth: "0.8" })
825
825
  ] }) : /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
826
- /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "8.5", stroke: o, strokeWidth: "1.5" }),
827
- /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "5.5", stroke: o, strokeWidth: "0.5", strokeDasharray: "2 2" }),
828
- /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "2", fill: `${o}55` }),
829
- /* @__PURE__ */ e("line", { x1: "12", y1: "3", x2: "12", y2: "6", stroke: o, strokeWidth: "0.8" }),
830
- /* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "21", stroke: o, strokeWidth: "0.8" }),
831
- /* @__PURE__ */ e("line", { x1: "3", y1: "12", x2: "6", y2: "12", stroke: o, strokeWidth: "0.8" }),
832
- /* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke: o, strokeWidth: "0.8" })
826
+ /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "8.5", stroke: n, strokeWidth: "1.5" }),
827
+ /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "5.5", stroke: n, strokeWidth: "0.5", strokeDasharray: "2 2" }),
828
+ /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "2", fill: `${n}55` }),
829
+ /* @__PURE__ */ e("line", { x1: "12", y1: "3", x2: "12", y2: "6", stroke: n, strokeWidth: "0.8" }),
830
+ /* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "21", stroke: n, strokeWidth: "0.8" }),
831
+ /* @__PURE__ */ e("line", { x1: "3", y1: "12", x2: "6", y2: "12", stroke: n, strokeWidth: "0.8" }),
832
+ /* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke: n, strokeWidth: "0.8" })
833
833
  ] });
834
834
  }
835
- const qe = Xe(null), Ke = Xe({ index: 0 });
836
- function Si() {
837
- return ve(qe);
835
+ const Ge = Xe(null), Ke = Xe({ index: 0 });
836
+ function xi() {
837
+ return ve(Ge);
838
838
  }
839
- function ki() {
839
+ function vi() {
840
840
  return ve(Ke);
841
841
  }
842
- function zt({
842
+ function Wt({
843
843
  children: t,
844
- logoUrl: o,
845
- viewState: n,
844
+ logoUrl: n,
845
+ viewState: o,
846
846
  animPhase: i,
847
847
  selectedSystem: r,
848
848
  selectedComponent: a,
@@ -852,9 +852,9 @@ function zt({
852
852
  componentScale: c = 0.35,
853
853
  drillZoom: p = 3.3,
854
854
  autoRotateCarousel: h = !0,
855
- carouselSpeed: g = 6e-3,
855
+ carouselSpeed: b = 6e-3,
856
856
  width: u = 950,
857
- height: b = 790,
857
+ height: g = 790,
858
858
  onSelectSystem: m,
859
859
  onBackgroundClick: x,
860
860
  onComponentClick: w,
@@ -862,23 +862,23 @@ function zt({
862
862
  selectedSystemStatus: y = "online",
863
863
  selectedSystemDbSync: D = !0,
864
864
  selectedSystemMetrics: B,
865
- selectedSystemAlerts: $
865
+ selectedSystemAlerts: k
866
866
  }) {
867
867
  const [V, v] = A(0);
868
868
  Ee(() => {
869
869
  let I;
870
- if ((n === "compact" || n === "collapsing") && h) {
871
- const U = () => {
872
- v((oe) => oe + g), I = requestAnimationFrame(U);
870
+ if ((o === "compact" || o === "collapsing") && h) {
871
+ const F = () => {
872
+ v((ne) => ne + b), I = requestAnimationFrame(F);
873
873
  };
874
- I = requestAnimationFrame(U);
874
+ I = requestAnimationFrame(F);
875
875
  }
876
876
  return () => cancelAnimationFrame(I);
877
- }, [n, h, g]);
878
- const W = J.Children.toArray(t), X = W.length, z = Tt(() => ({
877
+ }, [o, h, b]);
878
+ const W = J.Children.toArray(t), X = W.length, z = Et(() => ({
879
879
  totalSystems: X,
880
880
  carouselRotation: V,
881
- viewState: n,
881
+ viewState: o,
882
882
  animPhase: i,
883
883
  selectedSystem: r,
884
884
  selectedComponent: a,
@@ -892,7 +892,7 @@ function zt({
892
892
  }), [
893
893
  X,
894
894
  V,
895
- n,
895
+ o,
896
896
  i,
897
897
  r,
898
898
  a,
@@ -903,13 +903,13 @@ function zt({
903
903
  m,
904
904
  w,
905
905
  u
906
- ]), te = W.map((I, U) => /* @__PURE__ */ e(Ke.Provider, { value: { index: U }, children: I }, U)), ie = n === "expanded" || n === "expanding" && i >= 4;
907
- return /* @__PURE__ */ d(qe.Provider, { value: z, children: [
908
- /* @__PURE__ */ d("div", { style: { position: "relative", width: u, height: b, margin: "0 auto", flexShrink: 0 }, children: [
909
- o && (n === "compact" || n === "collapsing") && /* @__PURE__ */ e(
906
+ ]), te = W.map((I, F) => /* @__PURE__ */ e(Ke.Provider, { value: { index: F }, children: I }, F)), ie = o === "expanded" || o === "expanding" && i >= 4;
907
+ return /* @__PURE__ */ d(Ge.Provider, { value: z, children: [
908
+ /* @__PURE__ */ d("div", { style: { position: "relative", width: u, height: g, margin: "0 auto", flexShrink: 0 }, children: [
909
+ n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
910
910
  "img",
911
911
  {
912
- src: o,
912
+ src: n,
913
913
  alt: "",
914
914
  style: {
915
915
  position: "absolute",
@@ -929,32 +929,32 @@ function zt({
929
929
  te
930
930
  ] }),
931
931
  r && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
932
- Lt,
932
+ At,
933
933
  {
934
934
  name: r,
935
935
  status: y,
936
936
  dbSync: D,
937
937
  visible: ie && !a,
938
938
  metrics: B,
939
- alerts: $
939
+ alerts: k
940
940
  }
941
941
  ) }),
942
942
  a && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
943
- Ot,
943
+ It,
944
944
  {
945
945
  component: a,
946
946
  onClose: P,
947
947
  visible: s >= 0.3,
948
948
  sceneWidth: u,
949
- sceneHeight: b
949
+ sceneHeight: g
950
950
  }
951
951
  ) })
952
952
  ] });
953
953
  }
954
- function Nt({
954
+ function zt({
955
955
  x1: t,
956
- y1: o,
957
- x2: n,
956
+ y1: n,
957
+ x2: o,
958
958
  y2: i,
959
959
  show: r,
960
960
  color: a = "#00e5ff",
@@ -965,8 +965,8 @@ function Nt({
965
965
  "line",
966
966
  {
967
967
  x1: t,
968
- y1: o,
969
- x2: n,
968
+ y1: n,
969
+ x2: o,
970
970
  y2: i,
971
971
  stroke: a,
972
972
  strokeWidth: "8",
@@ -978,8 +978,8 @@ function Nt({
978
978
  "line",
979
979
  {
980
980
  x1: t,
981
- y1: o,
982
- x2: n,
981
+ y1: n,
982
+ x2: o,
983
983
  y2: i,
984
984
  stroke: a,
985
985
  strokeWidth: "2",
@@ -1004,7 +1004,7 @@ function Nt({
1004
1004
  {
1005
1005
  dur: s,
1006
1006
  repeatCount: "indefinite",
1007
- path: `M${t},${o} L${n},${i}`
1007
+ path: `M${t},${n} L${o},${i}`
1008
1008
  }
1009
1009
  ) }),
1010
1010
  /* @__PURE__ */ e("circle", { r: "8", fill: a, opacity: 0.18, children: /* @__PURE__ */ e(
@@ -1012,27 +1012,27 @@ function Nt({
1012
1012
  {
1013
1013
  dur: s,
1014
1014
  repeatCount: "indefinite",
1015
- path: `M${t},${o} L${n},${i}`
1015
+ path: `M${t},${n} L${o},${i}`
1016
1016
  }
1017
1017
  ) })
1018
1018
  ] })
1019
1019
  ] });
1020
1020
  }
1021
- const Mt = [
1021
+ const Nt = [
1022
1022
  { scale: 1, op: 1, delay: "0.0s", bw: "2px", glow: 1 },
1023
1023
  { scale: 0.82, op: 0.88, delay: "0.5s", bw: "1.5px", glow: 0.7 },
1024
1024
  { scale: 0.64, op: 0.72, delay: "1.0s", bw: "1px", glow: 0.5 },
1025
1025
  { scale: 0.47, op: 0.58, delay: "1.5s", bw: "1px", glow: 0.35 },
1026
1026
  { scale: 0.3, op: 0.45, delay: "2.0s", bw: "1px", glow: 0.25 }
1027
1027
  ];
1028
- function Bt({
1028
+ function Mt({
1029
1029
  children: t,
1030
- size: o = 230,
1031
- widthRatio: n = 1,
1030
+ size: n = 230,
1031
+ widthRatio: o = 1,
1032
1032
  color: i = "#00e5ff",
1033
1033
  label: r
1034
1034
  }) {
1035
- const a = o * n;
1035
+ const a = n * o;
1036
1036
  return /* @__PURE__ */ d("div", { style: {
1037
1037
  display: "flex",
1038
1038
  flexDirection: "column",
@@ -1137,7 +1137,7 @@ function Bt({
1137
1137
  /* @__PURE__ */ d("div", { style: {
1138
1138
  position: "relative",
1139
1139
  width: a,
1140
- height: o * 0.34,
1140
+ height: n * 0.34,
1141
1141
  display: "flex",
1142
1142
  alignItems: "center",
1143
1143
  justifyContent: "center",
@@ -1146,11 +1146,11 @@ function Bt({
1146
1146
  }, children: [
1147
1147
  /* @__PURE__ */ e("div", { style: {
1148
1148
  position: "absolute",
1149
- bottom: o * 0.03,
1149
+ bottom: n * 0.03,
1150
1150
  left: "50%",
1151
1151
  transform: "translateX(-50%) scaleY(0.20)",
1152
1152
  width: a * 0.88,
1153
- height: o * 0.88,
1153
+ height: n * 0.88,
1154
1154
  borderRadius: "50%",
1155
1155
  background: `radial-gradient(circle,
1156
1156
  rgba(255,255,255,0.08) 0%,
@@ -1167,11 +1167,11 @@ function Bt({
1167
1167
  } }),
1168
1168
  /* @__PURE__ */ e("div", { style: {
1169
1169
  position: "absolute",
1170
- bottom: o * 0.05,
1170
+ bottom: n * 0.05,
1171
1171
  left: "50%",
1172
1172
  transform: "translateX(-50%) scaleY(0.20)",
1173
1173
  width: a * 0.42,
1174
- height: o * 0.42,
1174
+ height: n * 0.42,
1175
1175
  borderRadius: "50%",
1176
1176
  background: `radial-gradient(circle,
1177
1177
  rgba(255,255,255,0.22) 0%,
@@ -1191,10 +1191,10 @@ function Bt({
1191
1191
  background: `radial-gradient(ellipse, ${i}88 0%, ${i}33 40%, transparent 72%)`,
1192
1192
  filter: "blur(12px)"
1193
1193
  } }),
1194
- Mt.map((s, l) => /* @__PURE__ */ e("div", { style: {
1194
+ Nt.map((s, l) => /* @__PURE__ */ e("div", { style: {
1195
1195
  position: "absolute",
1196
1196
  width: a * s.scale,
1197
- height: o * s.scale,
1197
+ height: n * s.scale,
1198
1198
  borderRadius: "50%",
1199
1199
  border: `${s.bw} solid ${i}`,
1200
1200
  opacity: s.op,
@@ -1206,7 +1206,7 @@ function Bt({
1206
1206
  /* @__PURE__ */ e("div", { style: {
1207
1207
  position: "absolute",
1208
1208
  width: a * 1.04,
1209
- height: o * 1.04,
1209
+ height: n * 1.04,
1210
1210
  borderRadius: "50%",
1211
1211
  transform: "scaleY(0.22)",
1212
1212
  border: `1px dashed ${i}55`,
@@ -1215,7 +1215,7 @@ function Bt({
1215
1215
  /* @__PURE__ */ e("div", { style: {
1216
1216
  position: "absolute",
1217
1217
  width: a * 0.1,
1218
- height: o * 0.1,
1218
+ height: n * 0.1,
1219
1219
  borderRadius: "50%",
1220
1220
  transform: "scaleY(0.22)",
1221
1221
  background: `radial-gradient(circle, #ffffff 0%, ${i} 35%, transparent 70%)`,
@@ -1234,11 +1234,11 @@ function Bt({
1234
1234
  }, children: r })
1235
1235
  ] });
1236
1236
  }
1237
- const ae = Xe(null), Ut = "cubic-bezier(0.34, 1.56, 0.64, 1)", it = 330, ot = 340, Ft = 660;
1237
+ const ae = Xe(null), Bt = "cubic-bezier(0.34, 1.56, 0.64, 1)", it = 330, nt = 340, Ft = 660;
1238
1238
  function dt({
1239
1239
  name: t,
1240
- status: o = "online",
1241
- connections: n = [],
1240
+ status: n = "online",
1241
+ connections: o = [],
1242
1242
  baseConfig: i,
1243
1243
  children: r,
1244
1244
  _index: a,
@@ -1248,32 +1248,32 @@ function dt({
1248
1248
  _animPhase: c,
1249
1249
  _selectedSystem: p,
1250
1250
  _selectedComponent: h,
1251
- _rotateY: g,
1251
+ _rotateY: b,
1252
1252
  _autoRotateComponents: u,
1253
- _componentScale: b,
1253
+ _componentScale: g,
1254
1254
  _drillZoom: m,
1255
1255
  _onSelectSystem: x,
1256
1256
  _onComponentClick: w,
1257
1257
  _containerWidth: P
1258
1258
  }) {
1259
- const y = ve(qe), D = ve(Ke), B = a ?? D.index, $ = s ?? y?.totalSystems ?? 1, V = l ?? y?.carouselRotation ?? 0, v = f ?? y?.viewState ?? "compact", W = c ?? y?.animPhase ?? 0, X = p ?? y?.selectedSystem ?? null, z = h ?? y?.selectedComponent ?? null, te = g ?? y?.rotateY ?? 20, ie = u ?? y?.autoRotateComponents ?? !0, I = b ?? y?.componentScale ?? 0.35, U = m ?? y?.drillZoom ?? 3.3, oe = x ?? y?.onSelectSystem, Se = w ?? y?.onComponentClick, ke = P ?? y?.containerWidth ?? 950, G = X === t, N = G && (v === "expanded" || v === "expanding" && W >= 1), C = !N, $e = (ke - Ft) / 2, ne = it + $e, le = B / $ * Math.PI * 2 + V, Ne = 420, Te = 160, Re = ne + Math.cos(le) * Ne, se = 450 + Math.sin(le) * Te, xt = Math.round(se), Me = !G && (v === "expanding" || v === "expanded"), vt = Me ? 0 : 1, Pe = C ? 0.3 + (Math.sin(le) + 1) * 0.1 : 1, wt = C ? Pe : I, Ae = v === "compact" || v === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", tt = G && z, Be = tt ? U : 1, St = z?.ex ?? 330, kt = z?.ey ?? 300, { size: $t = 90, color: Rt = "#00e5ff", widthRatio: Pt = 3 } = i ?? {}, Ct = {
1259
+ const y = ve(Ge), D = ve(Ke), B = a ?? D.index, k = s ?? y?.totalSystems ?? 1, V = l ?? y?.carouselRotation ?? 0, v = f ?? y?.viewState ?? "compact", W = c ?? y?.animPhase ?? 0, X = p ?? y?.selectedSystem ?? null, z = h ?? y?.selectedComponent ?? null, te = b ?? y?.rotateY ?? 20, ie = u ?? y?.autoRotateComponents ?? !0, I = g ?? y?.componentScale ?? 0.35, F = m ?? y?.drillZoom ?? 3.3, ne = x ?? y?.onSelectSystem, Se = w ?? y?.onComponentClick, $e = P ?? y?.containerWidth ?? 950, Q = X === t, N = Q && (v === "expanded" || v === "expanding" && W >= 1), C = !N, ke = ($e - Ft) / 2, oe = it + ke, le = B / k * Math.PI * 2 + V, Ne = 420, Te = 160, Re = oe + Math.cos(le) * Ne, se = 450 + Math.sin(le) * Te, mt = Math.round(se), Me = !Q && (v === "expanding" || v === "expanded"), xt = Me ? 0 : 1, Pe = C ? 0.3 + (Math.sin(le) + 1) * 0.1 : 1, vt = C ? Pe : I, Ae = v === "compact" || v === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", tt = Q && z, Be = tt ? F : 1, wt = z?.ex ?? 330, St = z?.ey ?? 300, { size: $t = 90, color: kt = "#00e5ff", widthRatio: Rt = 3 } = i ?? {}, Pt = {
1260
1260
  name: t,
1261
- isSelected: G,
1261
+ isSelected: Q,
1262
1262
  isExpandedPos: N,
1263
1263
  isCompact: C,
1264
1264
  animPhase: W,
1265
1265
  compactCx: Re,
1266
1266
  compactCy: se,
1267
1267
  groupScale: Pe,
1268
- effectiveScale: wt,
1268
+ effectiveScale: vt,
1269
1269
  transitionValue: Ae,
1270
1270
  rotateY: te,
1271
1271
  autoRotateComponents: ie,
1272
1272
  onComponentClick: Se,
1273
1273
  selectedComponentName: z?.name ?? null,
1274
- expandedOffsetX: $e
1274
+ expandedOffsetX: ke
1275
1275
  };
1276
- return /* @__PURE__ */ e(ae.Provider, { value: Ct, children: /* @__PURE__ */ d(
1276
+ return /* @__PURE__ */ e(ae.Provider, { value: Pt, children: /* @__PURE__ */ d(
1277
1277
  "div",
1278
1278
  {
1279
1279
  style: {
@@ -1283,12 +1283,12 @@ function dt({
1283
1283
  width: "100%",
1284
1284
  height: "100%",
1285
1285
  pointerEvents: "none",
1286
- opacity: vt,
1287
- transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Ut}`,
1286
+ opacity: xt,
1287
+ transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Bt}`,
1288
1288
  filter: C && Math.sin(le) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1289
- zIndex: G ? 500 : Me ? 0 : xt,
1290
- transformOrigin: `${ne}px ${ot}px`,
1291
- transform: tt ? `translate(${-(St - it) * Be}px, ${-(kt - ot) * Be}px) scale(${Be})` : "none"
1289
+ zIndex: Q ? 500 : Me ? 0 : mt,
1290
+ transformOrigin: `${oe}px ${nt}px`,
1291
+ transform: tt ? `translate(${-(wt - it) * Be}px, ${-(St - nt) * Be}px) scale(${Be})` : "none"
1292
1292
  },
1293
1293
  children: [
1294
1294
  C && !Me && /* @__PURE__ */ e(
@@ -1306,11 +1306,11 @@ function dt({
1306
1306
  zIndex: 101
1307
1307
  },
1308
1308
  onClick: (j) => {
1309
- j.stopPropagation(), oe?.(t);
1309
+ j.stopPropagation(), ne?.(t);
1310
1310
  }
1311
1311
  }
1312
1312
  ),
1313
- C && (o === "warning" || o === "critical") && /* @__PURE__ */ e(
1313
+ C && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
1314
1314
  "div",
1315
1315
  {
1316
1316
  style: {
@@ -1321,17 +1321,17 @@ function dt({
1321
1321
  zIndex: 110,
1322
1322
  pointerEvents: "none",
1323
1323
  animation: "holo-led-blink 1.5s infinite",
1324
- filter: `drop-shadow(0 0 10px ${o === "critical" ? "#ff2255" : "#ff8c00"})`
1324
+ filter: `drop-shadow(0 0 10px ${n === "critical" ? "#ff2255" : "#ff8c00"})`
1325
1325
  },
1326
1326
  children: /* @__PURE__ */ d("svg", { width: "48", height: "48", viewBox: "0 0 28 28", fill: "none", children: [
1327
1327
  /* @__PURE__ */ e(
1328
1328
  "path",
1329
1329
  {
1330
1330
  d: "M14 3L1.5 25.5h25L14 3z",
1331
- stroke: o === "critical" ? "#ff2255" : "#ff8c00",
1331
+ stroke: n === "critical" ? "#ff2255" : "#ff8c00",
1332
1332
  strokeWidth: "2",
1333
1333
  strokeLinejoin: "round",
1334
- fill: (o === "critical" ? "#ff2255" : "#ff8c00") + "22"
1334
+ fill: (n === "critical" ? "#ff2255" : "#ff8c00") + "22"
1335
1335
  }
1336
1336
  ),
1337
1337
  /* @__PURE__ */ e(
@@ -1341,7 +1341,7 @@ function dt({
1341
1341
  y1: "11",
1342
1342
  x2: "14",
1343
1343
  y2: "18",
1344
- stroke: o === "critical" ? "#ff2255" : "#ff8c00",
1344
+ stroke: n === "critical" ? "#ff2255" : "#ff8c00",
1345
1345
  strokeWidth: "2.5",
1346
1346
  strokeLinecap: "round"
1347
1347
  }
@@ -1352,7 +1352,7 @@ function dt({
1352
1352
  cx: "14",
1353
1353
  cy: "21.5",
1354
1354
  r: "1.5",
1355
- fill: o === "critical" ? "#ff2255" : "#ff8c00"
1355
+ fill: n === "critical" ? "#ff2255" : "#ff8c00"
1356
1356
  }
1357
1357
  )
1358
1358
  ] })
@@ -1363,7 +1363,7 @@ function dt({
1363
1363
  {
1364
1364
  style: {
1365
1365
  position: "absolute",
1366
- left: N ? ne : Re,
1366
+ left: N ? oe : Re,
1367
1367
  top: N ? 48 : se - 180,
1368
1368
  transform: `translate(-50%, -50%) scale(${N ? 1.2 : Pe * 1.5})`,
1369
1369
  opacity: 1,
@@ -1389,25 +1389,25 @@ function dt({
1389
1389
  style: {
1390
1390
  position: "absolute",
1391
1391
  top: 0,
1392
- left: N ? $e : 0,
1392
+ left: N ? ke : 0,
1393
1393
  width: 660,
1394
1394
  height: 640,
1395
1395
  pointerEvents: "none",
1396
1396
  zIndex: 0,
1397
1397
  transition: Ae
1398
1398
  },
1399
- children: n.map((j, Et) => /* @__PURE__ */ e(
1400
- Nt,
1399
+ children: o.map((j, Ct) => /* @__PURE__ */ e(
1400
+ zt,
1401
1401
  {
1402
1402
  x1: j.from[0],
1403
1403
  y1: j.from[1],
1404
1404
  x2: j.to[0],
1405
1405
  y2: j.to[1],
1406
- show: G && W >= (j.visibleAtPhase ?? 0),
1406
+ show: Q && W >= (j.visibleAtPhase ?? 0),
1407
1407
  color: j.color,
1408
1408
  dur: j.duration
1409
1409
  },
1410
- Et
1410
+ Ct
1411
1411
  ))
1412
1412
  }
1413
1413
  ),
@@ -1416,13 +1416,13 @@ function dt({
1416
1416
  {
1417
1417
  style: {
1418
1418
  position: "absolute",
1419
- left: N ? ne : Re,
1419
+ left: N ? oe : Re,
1420
1420
  top: N ? 570 : se + 70,
1421
1421
  transform: `translate(-50%, -50%) scaleX(${N ? 1 : 0.4}) scaleY(${N ? 1 : 0.6}) scale(${N ? 1 : Pe})`,
1422
1422
  transition: Ae,
1423
1423
  zIndex: 1
1424
1424
  },
1425
- children: /* @__PURE__ */ e(Bt, { size: $t, color: Rt, widthRatio: Pt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1425
+ children: /* @__PURE__ */ e(Mt, { size: $t, color: kt, widthRatio: Rt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
1426
1426
  }
1427
1427
  ),
1428
1428
  r
@@ -1432,8 +1432,8 @@ function dt({
1432
1432
  }
1433
1433
  function T({
1434
1434
  ex: t,
1435
- ey: o,
1436
- compactOffset: n,
1435
+ ey: n,
1436
+ compactOffset: o,
1437
1437
  zIndex: i,
1438
1438
  children: r,
1439
1439
  color: a = "#00e5ff",
@@ -1443,13 +1443,13 @@ function T({
1443
1443
  componentInfo: c,
1444
1444
  visibleAtPhase: p = 0,
1445
1445
  fixedScale: h,
1446
- bare: g = !1
1446
+ bare: b = !1
1447
1447
  }) {
1448
1448
  const u = ve(ae);
1449
1449
  if (!u)
1450
1450
  throw new Error("ServiceNode must be used inside a <Service> component.");
1451
1451
  const {
1452
- isExpandedPos: b,
1452
+ isExpandedPos: g,
1453
1453
  animPhase: m,
1454
1454
  compactCx: x,
1455
1455
  compactCy: w,
@@ -1457,14 +1457,14 @@ function T({
1457
1457
  effectiveScale: y,
1458
1458
  transitionValue: D,
1459
1459
  onComponentClick: B,
1460
- selectedComponentName: $,
1460
+ selectedComponentName: k,
1461
1461
  expandedOffsetX: V
1462
- } = u, W = p === 0 || u.isSelected && m >= p ? 1 : 0, X = x + n.x, z = w + n.y, te = b ? t + V : X, ie = b ? o : z, I = h !== void 0 ? h : u.isCompact ? P : y, U = !!c && !!$ && c.name === $, oe = c?.status ? S[c.status]?.color ?? a : a, Se = c?.status === "offline" ? "#4a6a8a" : oe, ke = c && b && B ? () => B({
1462
+ } = u, W = p === 0 || u.isSelected && m >= p ? 1 : 0, X = x + o.x, z = w + o.y, te = g ? t + V : X, ie = g ? n : z, I = h !== void 0 ? h : u.isCompact ? P : y, F = !!c && !!k && c.name === k, ne = c?.status ? S[c.status]?.color ?? a : a, Se = c?.status === "offline" ? "#4a6a8a" : ne, $e = c && g && B ? () => B({
1463
1463
  type: c.type,
1464
1464
  name: c.name,
1465
1465
  status: c.status,
1466
1466
  ex: c.ex ?? t,
1467
- ey: c.ey ?? o,
1467
+ ey: c.ey ?? n,
1468
1468
  context: c.context,
1469
1469
  subComponents: c.subComponents,
1470
1470
  graphSeries: c.graphSeries
@@ -1480,19 +1480,19 @@ function T({
1480
1480
  opacity: W,
1481
1481
  zIndex: i,
1482
1482
  transition: D || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1483
- pointerEvents: b && W >= 0.5 ? "auto" : "none"
1483
+ pointerEvents: g && W >= 0.5 ? "auto" : "none"
1484
1484
  },
1485
- children: g ? r : /* @__PURE__ */ e(
1485
+ children: b ? r : /* @__PURE__ */ e(
1486
1486
  Ht,
1487
1487
  {
1488
1488
  statusColor: Se,
1489
1489
  label: s,
1490
1490
  subLabel: l,
1491
1491
  delay: f,
1492
- showLabels: b,
1492
+ showLabels: g,
1493
1493
  isCompact: u.isCompact,
1494
- onClick: ke,
1495
- isSelected: U,
1494
+ onClick: $e,
1495
+ isSelected: F,
1496
1496
  children: r
1497
1497
  }
1498
1498
  )
@@ -1501,8 +1501,8 @@ function T({
1501
1501
  }
1502
1502
  function Ht({
1503
1503
  children: t,
1504
- statusColor: o,
1505
- label: n,
1504
+ statusColor: n,
1505
+ label: o,
1506
1506
  subLabel: i,
1507
1507
  delay: r = "0s",
1508
1508
  showLabels: a = !0,
@@ -1510,13 +1510,13 @@ function Ht({
1510
1510
  onClick: l,
1511
1511
  isSelected: f = !1
1512
1512
  }) {
1513
- const [c, p] = A(!1), h = f ? `brightness(1.5) drop-shadow(0 0 24px ${o}cc) drop-shadow(0 0 8px ${o}88)` : c && l ? `brightness(1.2) drop-shadow(0 0 12px ${o}77)` : "";
1513
+ const [c, p] = A(!1), h = f ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : c && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
1514
1514
  return /* @__PURE__ */ d(
1515
1515
  "div",
1516
1516
  {
1517
1517
  className: `float-node${l ? " float-node--interactive" : ""}`,
1518
- onClick: (g) => {
1519
- l && (g.stopPropagation(), l());
1518
+ onClick: (b) => {
1519
+ l && (b.stopPropagation(), l());
1520
1520
  },
1521
1521
  style: {
1522
1522
  cursor: l ? "pointer" : void 0,
@@ -1534,8 +1534,8 @@ function Ht({
1534
1534
  {
1535
1535
  className: "scan-line",
1536
1536
  style: {
1537
- background: `linear-gradient(90deg, transparent 5%, ${o}cc 40%, #fff 50%, ${o}cc 60%, transparent 95%)`,
1538
- boxShadow: `0 0 8px ${o}`
1537
+ background: `linear-gradient(90deg, transparent 5%, ${n}cc 40%, #fff 50%, ${n}cc 60%, transparent 95%)`,
1538
+ boxShadow: `0 0 8px ${n}`
1539
1539
  }
1540
1540
  }
1541
1541
  ),
@@ -1551,8 +1551,8 @@ function Ht({
1551
1551
  transition: "opacity 0.5s ease"
1552
1552
  },
1553
1553
  children: [
1554
- n && /* @__PURE__ */ e("div", { className: "node-tag", style: { color: o + "cc" }, children: n }),
1555
- i && /* @__PURE__ */ e("div", { className: "node-subtag", style: { color: o + "77" }, children: i })
1554
+ o && /* @__PURE__ */ e("div", { className: "node-tag", style: { color: n + "cc" }, children: o }),
1555
+ i && /* @__PURE__ */ e("div", { className: "node-subtag", style: { color: n + "77" }, children: i })
1556
1556
  ]
1557
1557
  }
1558
1558
  )
@@ -1560,36 +1560,36 @@ function Ht({
1560
1560
  }
1561
1561
  );
1562
1562
  }
1563
- function ct({ synced: t, latencyMs: o }) {
1564
- const n = t ? "#00ff88" : "#ff8c00";
1563
+ function ct({ synced: t, latencyMs: n }) {
1564
+ const o = t ? "#00ff88" : "#ff8c00";
1565
1565
  return /* @__PURE__ */ d("div", { className: "sync-bridge", children: [
1566
1566
  /* @__PURE__ */ d("div", { className: "sync-arrows", children: [
1567
- /* @__PURE__ */ e("span", { style: { color: n, fontSize: 10, lineHeight: 1 }, children: "◄" }),
1567
+ /* @__PURE__ */ e("span", { style: { color: o, fontSize: 10, lineHeight: 1 }, children: "◄" }),
1568
1568
  /* @__PURE__ */ e(
1569
1569
  "div",
1570
1570
  {
1571
1571
  className: "sync-line",
1572
1572
  style: {
1573
- background: `linear-gradient(90deg, ${n}44, ${n}, ${n}44)`,
1574
- boxShadow: `0 0 8px ${n}55`
1573
+ background: `linear-gradient(90deg, ${o}44, ${o}, ${o}44)`,
1574
+ boxShadow: `0 0 8px ${o}55`
1575
1575
  }
1576
1576
  }
1577
1577
  ),
1578
- /* @__PURE__ */ e("span", { style: { color: n, fontSize: 10, lineHeight: 1 }, children: "►" })
1578
+ /* @__PURE__ */ e("span", { style: { color: o, fontSize: 10, lineHeight: 1 }, children: "►" })
1579
1579
  ] }),
1580
1580
  /* @__PURE__ */ e(
1581
1581
  "div",
1582
1582
  {
1583
1583
  className: "sync-status",
1584
1584
  style: {
1585
- color: n,
1585
+ color: o,
1586
1586
  animation: t ? "none" : "holo-led-blink 1s linear infinite"
1587
1587
  },
1588
1588
  children: t ? "SYNCED" : "LAG"
1589
1589
  }
1590
1590
  ),
1591
- /* @__PURE__ */ d("div", { className: "sync-latency", style: { color: n + "88" }, children: [
1592
- o,
1591
+ /* @__PURE__ */ d("div", { className: "sync-latency", style: { color: o + "88" }, children: [
1592
+ n,
1593
1593
  "ms ",
1594
1594
  t ? "replication" : "behind"
1595
1595
  ] })
@@ -1597,8 +1597,8 @@ function ct({ synced: t, latencyMs: o }) {
1597
1597
  }
1598
1598
  function O({
1599
1599
  ex: t,
1600
- ey: o,
1601
- status: n,
1600
+ ey: n,
1601
+ status: o,
1602
1602
  title: i,
1603
1603
  msg: r,
1604
1604
  offsetX: a,
@@ -1608,15 +1608,15 @@ function O({
1608
1608
  internalRef: c
1609
1609
  }) {
1610
1610
  const h = ve(ae)?.expandedOffsetX ?? 0;
1611
- if (n === "online") return null;
1612
- const g = S[n]?.color ?? S.warning.color, u = Math.abs(a) > Math.abs(s), b = t + h + (u ? Math.sign(a) * 45 : 0), m = o + (u ? 0 : Math.sign(s) * 40), x = t + h + a, w = o + s;
1611
+ if (o === "online") return null;
1612
+ const b = S[o]?.color ?? S.warning.color, u = Math.abs(a) > Math.abs(s), g = t + h + (u ? Math.sign(a) * 45 : 0), m = n + (u ? 0 : Math.sign(s) * 40), x = t + h + a, w = n + s;
1613
1613
  let P = "";
1614
1614
  if (u) {
1615
- const $ = b + (x - b) / 2;
1616
- P = `M ${b} ${m} L ${$} ${m} L ${$} ${w} L ${x} ${w}`;
1615
+ const k = g + (x - g) / 2;
1616
+ P = `M ${g} ${m} L ${k} ${m} L ${k} ${w} L ${x} ${w}`;
1617
1617
  } else {
1618
- const $ = m + (w - m) / 2;
1619
- P = `M ${b} ${m} L ${b} ${$} L ${x} ${$} L ${x} ${w}`;
1618
+ const k = m + (w - m) / 2;
1619
+ P = `M ${g} ${m} L ${g} ${k} L ${x} ${k} L ${x} ${w}`;
1620
1620
  }
1621
1621
  let y = "translate(0, -50%)";
1622
1622
  f === "left" && (y = "translate(-100%, -50%)"), f === "top" && (y = "translate(-50%, -100%)"), f === "bottom" && (y = "translate(-50%, 0)");
@@ -1653,10 +1653,10 @@ function O({
1653
1653
  {
1654
1654
  d: P,
1655
1655
  fill: "none",
1656
- stroke: g,
1656
+ stroke: b,
1657
1657
  strokeWidth: "1.5",
1658
1658
  strokeDasharray: "5 4",
1659
- style: { filter: `drop-shadow(0 0 4px ${g})`, opacity: 0.55 }
1659
+ style: { filter: `drop-shadow(0 0 4px ${b})`, opacity: 0.55 }
1660
1660
  }
1661
1661
  )
1662
1662
  }
@@ -1672,8 +1672,8 @@ function O({
1672
1672
  marginLeft: D,
1673
1673
  marginTop: B,
1674
1674
  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)",
1675
- border: `1px solid ${g}55`,
1676
- borderLeft: `2px solid ${g}`,
1675
+ border: `1px solid ${b}55`,
1676
+ borderLeft: `2px solid ${b}`,
1677
1677
  backdropFilter: "blur(8px)",
1678
1678
  WebkitBackdropFilter: "blur(8px)",
1679
1679
  padding: "6px 10px",
@@ -1681,7 +1681,7 @@ function O({
1681
1681
  color: "#fff",
1682
1682
  fontFamily: "'Courier New', monospace",
1683
1683
  width: 140,
1684
- boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${g}22 inset`
1684
+ boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${b}22 inset`
1685
1685
  },
1686
1686
  children: [
1687
1687
  /* @__PURE__ */ d(
@@ -1701,8 +1701,8 @@ function O({
1701
1701
  width: 4,
1702
1702
  height: 4,
1703
1703
  borderRadius: "50%",
1704
- background: g,
1705
- boxShadow: `0 0 6px ${g}`,
1704
+ background: b,
1705
+ boxShadow: `0 0 6px ${b}`,
1706
1706
  animation: "holo-led-blink 1.5s infinite"
1707
1707
  }
1708
1708
  }
@@ -1711,12 +1711,12 @@ function O({
1711
1711
  "div",
1712
1712
  {
1713
1713
  style: {
1714
- color: g,
1714
+ color: b,
1715
1715
  fontWeight: "600",
1716
1716
  fontSize: 10,
1717
1717
  letterSpacing: "1px",
1718
1718
  textTransform: "uppercase",
1719
- textShadow: `0 0 4px ${g}88`
1719
+ textShadow: `0 0 4px ${b}88`
1720
1720
  },
1721
1721
  children: c ? `${i} · ${c}` : i
1722
1722
  }
@@ -1742,28 +1742,28 @@ function O({
1742
1742
  }
1743
1743
  );
1744
1744
  }
1745
- const Q = 140, F = 240, Z = 160, de = Qe(Q, F, Z);
1746
- function Yt({
1745
+ const q = 140, H = 240, Z = 160, de = qe(q, H, Z);
1746
+ function Ut({
1747
1747
  cfg: t,
1748
- name: o,
1749
- cpuLoad: n,
1748
+ name: n,
1749
+ cpuLoad: o,
1750
1750
  memLoad: i,
1751
1751
  status: r,
1752
1752
  compact: a
1753
1753
  }) {
1754
- const s = Math.ceil(n / 100 * 3), l = r === "offline" ? "#4a6a8a" : t.color, f = [
1754
+ const s = Math.ceil(o / 100 * 3), l = r === "offline" ? "#4a6a8a" : t.color, f = [
1755
1755
  { color: t.color, on: r !== "offline", label: "PWR" },
1756
1756
  { color: t.color, on: r === "online" || r === "warning", label: "NET" },
1757
- { color: t.color, on: n > 15, label: "DSK" },
1757
+ { color: t.color, on: o > 15, label: "DSK" },
1758
1758
  { color: r === "critical" ? "#ff2255" : t.color, on: r === "critical", label: "FLT" }
1759
1759
  ];
1760
1760
  return /* @__PURE__ */ d(
1761
1761
  "div",
1762
1762
  {
1763
1763
  style: {
1764
- width: Q,
1765
- height: F,
1766
- background: a ? we : Ge,
1764
+ width: q,
1765
+ height: H,
1766
+ background: a ? we : Qe,
1767
1767
  position: "relative",
1768
1768
  overflow: "hidden",
1769
1769
  fontFamily: "'Courier New', monospace",
@@ -1841,7 +1841,7 @@ function Yt({
1841
1841
  letterSpacing: "0.08em",
1842
1842
  textShadow: `0 0 4px ${l}66`
1843
1843
  },
1844
- children: o
1844
+ children: n
1845
1845
  }
1846
1846
  ),
1847
1847
  /* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children: f.map((c, p) => /* @__PURE__ */ e(
@@ -1976,7 +1976,7 @@ function Yt({
1976
1976
  top: 0,
1977
1977
  left: 0,
1978
1978
  bottom: 0,
1979
- width: `${30 + n / 100 * 45 + p * 8}%`,
1979
+ width: `${30 + o / 100 * 45 + p * 8}%`,
1980
1980
  background: `linear-gradient(90deg, ${t.color}22, transparent)`
1981
1981
  }
1982
1982
  }
@@ -2067,7 +2067,7 @@ function Yt({
2067
2067
  }
2068
2068
  ),
2069
2069
  /* @__PURE__ */ e("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 4 }, children: [
2070
- { val: n, color: t.color },
2070
+ { val: o, color: t.color },
2071
2071
  { val: i, color: t.color + "bb" }
2072
2072
  ].map((c, p) => /* @__PURE__ */ e(
2073
2073
  "div",
@@ -2154,13 +2154,13 @@ function Yt({
2154
2154
  }
2155
2155
  );
2156
2156
  }
2157
- function Vt() {
2157
+ function Yt() {
2158
2158
  return /* @__PURE__ */ d(
2159
2159
  "div",
2160
2160
  {
2161
2161
  style: {
2162
- width: Q,
2163
- height: F,
2162
+ width: q,
2163
+ height: H,
2164
2164
  background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
2165
2165
  position: "relative",
2166
2166
  overflow: "hidden",
@@ -2268,15 +2268,15 @@ function Vt() {
2268
2268
  }
2269
2269
  );
2270
2270
  }
2271
- function nt({ side: t, color: o }) {
2272
- const n = t === "right";
2271
+ function ot({ side: t, color: n }) {
2272
+ const o = t === "right";
2273
2273
  return /* @__PURE__ */ d(
2274
2274
  "div",
2275
2275
  {
2276
2276
  style: {
2277
2277
  width: Z,
2278
- height: F,
2279
- background: n ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
2278
+ height: H,
2279
+ background: o ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
2280
2280
  position: "relative",
2281
2281
  overflow: "hidden"
2282
2282
  },
@@ -2290,17 +2290,17 @@ function nt({ side: t, color: o }) {
2290
2290
  left: 0,
2291
2291
  right: 0,
2292
2292
  height: 1,
2293
- background: `linear-gradient(90deg, transparent, ${o}22 50%, transparent)`
2293
+ background: `linear-gradient(90deg, transparent, ${n}22 50%, transparent)`
2294
2294
  }
2295
2295
  }
2296
2296
  ),
2297
- [8, F - 20].map((i) => /* @__PURE__ */ e(
2297
+ [8, H - 20].map((i) => /* @__PURE__ */ e(
2298
2298
  "div",
2299
2299
  {
2300
2300
  style: {
2301
2301
  position: "absolute",
2302
2302
  top: i,
2303
- left: n ? 10 : Z - 18,
2303
+ left: o ? 10 : Z - 18,
2304
2304
  width: 8,
2305
2305
  height: 8,
2306
2306
  borderRadius: 1,
@@ -2316,10 +2316,10 @@ function nt({ side: t, color: o }) {
2316
2316
  {
2317
2317
  style: {
2318
2318
  position: "absolute",
2319
- top: F * 0.35,
2320
- bottom: F * 0.15,
2321
- left: n ? 22 : 18,
2322
- right: n ? 18 : 22,
2319
+ top: H * 0.35,
2320
+ bottom: H * 0.15,
2321
+ left: o ? 22 : 18,
2322
+ right: o ? 18 : 22,
2323
2323
  display: "flex",
2324
2324
  flexDirection: "column",
2325
2325
  gap: 5,
@@ -2345,8 +2345,8 @@ function nt({ side: t, color: o }) {
2345
2345
  {
2346
2346
  style: {
2347
2347
  position: "absolute",
2348
- top: F * 0.18,
2349
- left: n ? 12 : Z - 78,
2348
+ top: H * 0.18,
2349
+ left: o ? 12 : Z - 78,
2350
2350
  fontSize: 7,
2351
2351
  color: "#1a3050",
2352
2352
  letterSpacing: "0.2em",
@@ -2361,13 +2361,13 @@ function nt({ side: t, color: o }) {
2361
2361
  }
2362
2362
  );
2363
2363
  }
2364
- function _t({ cpuLoad: t }) {
2365
- const o = t / 100, n = o > 0.75 ? "rgba(255,34,85,0.16)" : o > 0.45 ? "rgba(255,140,0,0.12)" : "rgba(0,229,255,0.08)", i = Math.floor((Z - 18) / 7);
2364
+ function Vt({ cpuLoad: t }) {
2365
+ const n = t / 100, o = n > 0.75 ? "rgba(255,34,85,0.16)" : n > 0.45 ? "rgba(255,140,0,0.12)" : "rgba(0,229,255,0.08)", i = Math.floor((Z - 18) / 7);
2366
2366
  return /* @__PURE__ */ d(
2367
2367
  "div",
2368
2368
  {
2369
2369
  style: {
2370
- width: Q,
2370
+ width: q,
2371
2371
  height: Z,
2372
2372
  background: "linear-gradient(180deg, #0c1c30 0%, #070f1e 40%, #040c1a 100%)",
2373
2373
  position: "relative",
@@ -2383,7 +2383,7 @@ function _t({ cpuLoad: t }) {
2383
2383
  left: 0,
2384
2384
  right: 0,
2385
2385
  height: Z * 0.4,
2386
- background: `radial-gradient(ellipse at 50% 0%, ${n} 0%, transparent 70%)`
2386
+ background: `radial-gradient(ellipse at 50% 0%, ${o} 0%, transparent 70%)`
2387
2387
  }
2388
2388
  }
2389
2389
  ),
@@ -2443,8 +2443,8 @@ function _t({ cpuLoad: t }) {
2443
2443
  }
2444
2444
  function ue({
2445
2445
  rotateX: t = -22,
2446
- rotateY: o = 20,
2447
- rotateZ: n = 0,
2446
+ rotateY: n = 20,
2447
+ rotateZ: o = 0,
2448
2448
  scale: i = 1,
2449
2449
  autoRotate: r = !1,
2450
2450
  status: a = "online",
@@ -2453,26 +2453,26 @@ function ue({
2453
2453
  memLoad: f = 82,
2454
2454
  _compact: c
2455
2455
  }) {
2456
- const [p, h] = A(o), g = ee(0), u = ee(0);
2456
+ const [p, h] = A(n), b = ee(0), u = ee(0);
2457
2457
  Ee(() => {
2458
2458
  if (!r) {
2459
- h(o);
2459
+ h(n);
2460
2460
  return;
2461
2461
  }
2462
2462
  const m = (x) => {
2463
- u.current && h((w) => w + (x - u.current) * 0.027), u.current = x, g.current = requestAnimationFrame(m);
2463
+ u.current && h((w) => w + (x - u.current) * 0.027), u.current = x, b.current = requestAnimationFrame(m);
2464
2464
  };
2465
- return g.current = requestAnimationFrame(m), () => {
2466
- cancelAnimationFrame(g.current), u.current = 0;
2465
+ return b.current = requestAnimationFrame(m), () => {
2466
+ cancelAnimationFrame(b.current), u.current = 0;
2467
2467
  };
2468
- }, [r, o]);
2469
- const b = S[a] ?? S.online;
2468
+ }, [r, n]);
2469
+ const g = S[a] ?? S.online;
2470
2470
  return /* @__PURE__ */ d(
2471
2471
  "div",
2472
2472
  {
2473
2473
  style: {
2474
- width: Q * i,
2475
- height: F * i,
2474
+ width: q * i,
2475
+ height: H * i,
2476
2476
  position: "relative",
2477
2477
  display: "flex",
2478
2478
  alignItems: "center",
@@ -2490,17 +2490,17 @@ function ue({
2490
2490
  zIndex: 110,
2491
2491
  pointerEvents: "none",
2492
2492
  animation: "holo-led-blink 1.5s infinite",
2493
- filter: `drop-shadow(0 0 10px ${b.color})`
2493
+ filter: `drop-shadow(0 0 10px ${g.color})`
2494
2494
  },
2495
2495
  children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
2496
2496
  /* @__PURE__ */ e(
2497
2497
  "path",
2498
2498
  {
2499
2499
  d: "M14 3L1.5 25.5h25L14 3z",
2500
- stroke: b.color,
2500
+ stroke: g.color,
2501
2501
  strokeWidth: "2",
2502
2502
  strokeLinejoin: "round",
2503
- fill: b.color + "22"
2503
+ fill: g.color + "22"
2504
2504
  }
2505
2505
  ),
2506
2506
  /* @__PURE__ */ e(
@@ -2510,12 +2510,12 @@ function ue({
2510
2510
  y1: "11",
2511
2511
  x2: "14",
2512
2512
  y2: "18",
2513
- stroke: b.color,
2513
+ stroke: g.color,
2514
2514
  strokeWidth: "2.5",
2515
2515
  strokeLinecap: "round"
2516
2516
  }
2517
2517
  ),
2518
- /* @__PURE__ */ e("circle", { cx: "14", cy: "21.5", r: "1.5", fill: b.color })
2518
+ /* @__PURE__ */ e("circle", { cx: "14", cy: "21.5", r: "1.5", fill: g.color })
2519
2519
  ] })
2520
2520
  }
2521
2521
  ),
@@ -2524,9 +2524,9 @@ function ue({
2524
2524
  {
2525
2525
  style: {
2526
2526
  position: "absolute",
2527
- width: Q * 1.4 * i,
2528
- height: F * 0.8 * i,
2529
- background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
2527
+ width: q * 1.4 * i,
2528
+ height: H * 0.8 * i,
2529
+ background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
2530
2530
  filter: `blur(${Math.round(45 * i)}px)`,
2531
2531
  pointerEvents: "none",
2532
2532
  top: "40%",
@@ -2548,18 +2548,18 @@ function ue({
2548
2548
  "div",
2549
2549
  {
2550
2550
  style: {
2551
- width: Q,
2552
- height: F,
2551
+ width: q,
2552
+ height: H,
2553
2553
  position: "relative",
2554
2554
  transformStyle: "preserve-3d",
2555
- transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${n}deg)`,
2555
+ transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
2556
2556
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
2557
2557
  },
2558
2558
  children: [
2559
2559
  /* @__PURE__ */ e("div", { style: de.front, children: /* @__PURE__ */ e(
2560
- Yt,
2560
+ Ut,
2561
2561
  {
2562
- cfg: b,
2562
+ cfg: g,
2563
2563
  name: s,
2564
2564
  cpuLoad: l,
2565
2565
  memLoad: f,
@@ -2567,15 +2567,15 @@ function ue({
2567
2567
  compact: c
2568
2568
  }
2569
2569
  ) }),
2570
- /* @__PURE__ */ e("div", { style: de.back, children: /* @__PURE__ */ e(Vt, {}) }),
2571
- /* @__PURE__ */ e("div", { style: de.left, children: /* @__PURE__ */ e(nt, { side: "left", color: b.color }) }),
2572
- /* @__PURE__ */ e("div", { style: de.right, children: /* @__PURE__ */ e(nt, { side: "right", color: b.color }) }),
2573
- /* @__PURE__ */ e("div", { style: de.top, children: /* @__PURE__ */ e(_t, { cpuLoad: l }) }),
2570
+ /* @__PURE__ */ e("div", { style: de.back, children: /* @__PURE__ */ e(Yt, {}) }),
2571
+ /* @__PURE__ */ e("div", { style: de.left, children: /* @__PURE__ */ e(ot, { side: "left", color: g.color }) }),
2572
+ /* @__PURE__ */ e("div", { style: de.right, children: /* @__PURE__ */ e(ot, { side: "right", color: g.color }) }),
2573
+ /* @__PURE__ */ e("div", { style: de.top, children: /* @__PURE__ */ e(Vt, { cpuLoad: l }) }),
2574
2574
  /* @__PURE__ */ e("div", { style: de.bottom, children: /* @__PURE__ */ e(
2575
2575
  "div",
2576
2576
  {
2577
2577
  style: {
2578
- width: Q,
2578
+ width: q,
2579
2579
  height: Z,
2580
2580
  background: "linear-gradient(180deg, #030710, #020508)"
2581
2581
  }
@@ -2590,21 +2590,21 @@ function ue({
2590
2590
  }
2591
2591
  );
2592
2592
  }
2593
- const je = 12, re = 55, _ = re * 2, he = 52, Ze = 10, Fe = 3 * he + 2 * Ze, ce = 2 * Math.PI * re / je, He = Array.from({ length: je }, (t, o) => o / je * 360);
2593
+ const je = 12, re = 55, _ = re * 2, he = 52, Ze = 10, He = 3 * he + 2 * Ze, ce = 2 * Math.PI * re / je, Ue = Array.from({ length: je }, (t, n) => n / je * 360);
2594
2594
  function Ye(t) {
2595
2595
  return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
2596
2596
  }
2597
- function jt({
2597
+ function _t({
2598
2598
  diskY: t,
2599
- diskIdx: o,
2600
- cfg: n,
2599
+ diskIdx: n,
2600
+ cfg: o,
2601
2601
  hasRingBelow: i,
2602
2602
  capacity: r,
2603
2603
  compact: a
2604
2604
  }) {
2605
2605
  return /* @__PURE__ */ d(Ce, { children: [
2606
- He.map((s, l) => {
2607
- const f = Ye(s), c = l === 0, p = Math.round(4 + f * 9), h = Math.round(12 + f * 22), g = Math.round(28 + f * 44), u = Math.round(f * 0.55 * 255).toString(16).padStart(2, "0");
2606
+ Ue.map((s, l) => {
2607
+ const f = Ye(s), c = l === 0, p = Math.round(4 + f * 9), h = Math.round(12 + f * 22), b = Math.round(28 + f * 44), u = Math.round(f * 0.55 * 255).toString(16).padStart(2, "0");
2608
2608
  return /* @__PURE__ */ e(
2609
2609
  "div",
2610
2610
  {
@@ -2616,9 +2616,9 @@ function jt({
2616
2616
  top: t,
2617
2617
  transform: `rotateY(${s}deg) translateZ(${re}px)`,
2618
2618
  backfaceVisibility: "hidden",
2619
- 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},${h},${g})`,
2620
- borderLeft: `1px solid ${n.color}${u}`,
2621
- boxShadow: c ? `inset 0 0 18px ${n.color}28` : "none"
2619
+ 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},${h},${b})`,
2620
+ borderLeft: `1px solid ${o.color}${u}`,
2621
+ boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
2622
2622
  },
2623
2623
  children: c && /* @__PURE__ */ d(Ce, { children: [
2624
2624
  /* @__PURE__ */ e(
@@ -2632,12 +2632,12 @@ function jt({
2632
2632
  width: 5,
2633
2633
  height: 5,
2634
2634
  borderRadius: "50%",
2635
- background: n.color,
2636
- boxShadow: `0 0 8px ${n.color}, 0 0 16px ${n.glow}`
2635
+ background: o.color,
2636
+ boxShadow: `0 0 8px ${o.color}, 0 0 16px ${o.glow}`
2637
2637
  }
2638
2638
  }
2639
2639
  ),
2640
- o === 1 && /* @__PURE__ */ e(
2640
+ n === 1 && /* @__PURE__ */ e(
2641
2641
  "div",
2642
2642
  {
2643
2643
  style: {
@@ -2656,7 +2656,7 @@ function jt({
2656
2656
  style: {
2657
2657
  width: `${r}%`,
2658
2658
  height: "100%",
2659
- background: `linear-gradient(90deg, ${n.color}77, ${n.color})`,
2659
+ background: `linear-gradient(90deg, ${o.color}77, ${o.color})`,
2660
2660
  borderRadius: 2
2661
2661
  }
2662
2662
  }
@@ -2665,7 +2665,7 @@ function jt({
2665
2665
  )
2666
2666
  ] })
2667
2667
  },
2668
- `p${o}${l}`
2668
+ `p${n}${l}`
2669
2669
  );
2670
2670
  }),
2671
2671
  /* @__PURE__ */ d(
@@ -2680,17 +2680,17 @@ function jt({
2680
2680
  borderRadius: "50%",
2681
2681
  transform: "rotateX(90deg)",
2682
2682
  backfaceVisibility: "hidden",
2683
- background: o === 0 ? a ? `radial-gradient(circle,
2684
- ${n.color}28 0%,
2685
- ${n.color}10 40%,
2683
+ background: n === 0 ? a ? `radial-gradient(circle,
2684
+ ${o.color}28 0%,
2685
+ ${o.color}10 40%,
2686
2686
  rgb(3,10,24) 75%,
2687
2687
  rgb(2,8,18) 100%)` : `radial-gradient(circle,
2688
- ${n.color}28 0%,
2689
- ${n.color}10 40%,
2688
+ ${o.color}28 0%,
2689
+ ${o.color}10 40%,
2690
2690
  rgba(3,10,24,0.96) 75%,
2691
2691
  transparent 100%)` : a ? "radial-gradient(circle, rgb(5,16,36), rgb(2,8,20))" : "radial-gradient(circle, rgba(5,16,36,0.96), rgba(2,8,20,0.99))",
2692
- border: `1px solid ${n.color}${o === 0 ? "55" : "2a"}`,
2693
- boxShadow: o === 0 ? `0 0 20px ${n.color}44` : "none"
2692
+ border: `1px solid ${o.color}${n === 0 ? "55" : "2a"}`,
2693
+ boxShadow: n === 0 ? `0 0 20px ${o.color}44` : "none"
2694
2694
  },
2695
2695
  children: [
2696
2696
  [0.62, 0.38, 0.18].map((s, l) => /* @__PURE__ */ e(
@@ -2704,8 +2704,8 @@ function jt({
2704
2704
  width: `${s * 100}%`,
2705
2705
  height: `${s * 100}%`,
2706
2706
  borderRadius: "50%",
2707
- border: `1px solid ${n.color}${["33", "2a", "44"][l]}`,
2708
- boxShadow: l === 2 ? `0 0 6px ${n.color}66` : "none"
2707
+ border: `1px solid ${o.color}${["33", "2a", "44"][l]}`,
2708
+ boxShadow: l === 2 ? `0 0 6px ${o.color}66` : "none"
2709
2709
  }
2710
2710
  },
2711
2711
  l
@@ -2721,8 +2721,8 @@ function jt({
2721
2721
  width: 8,
2722
2722
  height: 8,
2723
2723
  borderRadius: "50%",
2724
- background: n.color + "33",
2725
- boxShadow: `0 0 8px ${n.color}`
2724
+ background: o.color + "33",
2725
+ boxShadow: `0 0 8px ${o.color}`
2726
2726
  }
2727
2727
  }
2728
2728
  )
@@ -2742,7 +2742,7 @@ function jt({
2742
2742
  transform: "rotateX(-90deg)",
2743
2743
  backfaceVisibility: "hidden",
2744
2744
  background: a ? "radial-gradient(circle, rgb(4,14,30), rgb(2,7,16))" : "radial-gradient(circle, rgba(4,14,30,0.97), rgba(2,7,16,0.99))",
2745
- border: `1px solid ${n.color}22`
2745
+ border: `1px solid ${o.color}22`
2746
2746
  },
2747
2747
  children: /* @__PURE__ */ e(
2748
2748
  "div",
@@ -2755,13 +2755,13 @@ function jt({
2755
2755
  width: "55%",
2756
2756
  height: "55%",
2757
2757
  borderRadius: "50%",
2758
- border: `1px solid ${n.color}18`
2758
+ border: `1px solid ${o.color}18`
2759
2759
  }
2760
2760
  }
2761
2761
  )
2762
2762
  }
2763
2763
  ),
2764
- i && He.map((s, l) => {
2764
+ i && Ue.map((s, l) => {
2765
2765
  const f = Ye(s);
2766
2766
  return /* @__PURE__ */ e(
2767
2767
  "div",
@@ -2774,15 +2774,15 @@ function jt({
2774
2774
  top: t + he - 3,
2775
2775
  transform: `rotateY(${s}deg) translateZ(${re + 1.5}px)`,
2776
2776
  backfaceVisibility: "hidden",
2777
- background: n.color,
2778
- boxShadow: `0 0 8px ${n.color}, 0 0 18px ${n.color}aa, 0 0 30px ${n.glow}`,
2777
+ background: o.color,
2778
+ boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
2779
2779
  opacity: f * 0.9
2780
2780
  }
2781
2781
  },
2782
- `rng${o}${l}`
2782
+ `rng${n}${l}`
2783
2783
  );
2784
2784
  }),
2785
- i && He.map((s, l) => {
2785
+ i && Ue.map((s, l) => {
2786
2786
  const f = Ye(s), c = Math.round(2 + f * 4), p = Math.round(5 + f * 10), h = Math.round(12 + f * 20);
2787
2787
  return /* @__PURE__ */ e(
2788
2788
  "div",
@@ -2798,15 +2798,15 @@ function jt({
2798
2798
  background: `rgb(${c},${p},${h})`
2799
2799
  }
2800
2800
  },
2801
- `gap${o}${l}`
2801
+ `gap${n}${l}`
2802
2802
  );
2803
2803
  })
2804
2804
  ] });
2805
2805
  }
2806
2806
  function Ie({
2807
2807
  rotateX: t = -22,
2808
- rotateY: o = -15,
2809
- rotateZ: n = 0,
2808
+ rotateY: n = -15,
2809
+ rotateZ: o = 0,
2810
2810
  scale: i = 1,
2811
2811
  autoRotate: r = !1,
2812
2812
  status: a = "online",
@@ -2815,26 +2815,26 @@ function Ie({
2815
2815
  // connections = 284,
2816
2816
  _compact: l
2817
2817
  }) {
2818
- const [f, c] = A(o), p = ee(0), h = ee(0);
2818
+ const [f, c] = A(n), p = ee(0), h = ee(0);
2819
2819
  Ee(() => {
2820
2820
  if (!r) {
2821
- c(o);
2821
+ c(n);
2822
2822
  return;
2823
2823
  }
2824
- const u = (b) => {
2825
- h.current && c((m) => m + (b - h.current) * 0.027), h.current = b, p.current = requestAnimationFrame(u);
2824
+ const u = (g) => {
2825
+ h.current && c((m) => m + (g - h.current) * 0.027), h.current = g, p.current = requestAnimationFrame(u);
2826
2826
  };
2827
2827
  return p.current = requestAnimationFrame(u), () => {
2828
2828
  cancelAnimationFrame(p.current), h.current = 0;
2829
2829
  };
2830
- }, [r, o]);
2831
- const g = S[a] ?? S.online;
2830
+ }, [r, n]);
2831
+ const b = S[a] ?? S.online;
2832
2832
  return /* @__PURE__ */ d(
2833
2833
  "div",
2834
2834
  {
2835
2835
  style: {
2836
2836
  width: _ * i,
2837
- height: Fe * i,
2837
+ height: He * i,
2838
2838
  position: "relative",
2839
2839
  display: "flex",
2840
2840
  alignItems: "center",
@@ -2895,8 +2895,8 @@ function Ie({
2895
2895
  style: {
2896
2896
  position: "absolute",
2897
2897
  width: _ * 2.8 * i,
2898
- height: Fe * 0.85 * i,
2899
- background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
2898
+ height: He * 0.85 * i,
2899
+ background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
2900
2900
  filter: `blur(${Math.round(50 * i)}px)`,
2901
2901
  pointerEvents: "none",
2902
2902
  top: "45%",
@@ -2919,18 +2919,18 @@ function Ie({
2919
2919
  {
2920
2920
  style: {
2921
2921
  width: _,
2922
- height: Fe,
2922
+ height: He,
2923
2923
  position: "relative",
2924
2924
  transformStyle: "preserve-3d",
2925
- transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${n}deg)`,
2925
+ transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
2926
2926
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
2927
2927
  },
2928
2928
  children: [0, 1, 2].map((u) => /* @__PURE__ */ e(
2929
- jt,
2929
+ _t,
2930
2930
  {
2931
2931
  diskY: u * (he + Ze),
2932
2932
  diskIdx: u,
2933
- cfg: g,
2933
+ cfg: b,
2934
2934
  hasRingBelow: u < 2,
2935
2935
  capacity: s,
2936
2936
  compact: l
@@ -2945,22 +2945,22 @@ function Ie({
2945
2945
  }
2946
2946
  );
2947
2947
  }
2948
- const q = 190, H = 72, ge = 120, pe = Qe(q, H, ge);
2949
- function Xt({
2948
+ const G = 190, U = 72, be = 120, pe = qe(G, U, be);
2949
+ function jt({
2950
2950
  cfg: t,
2951
- name: o,
2952
- traffic: n,
2951
+ name: n,
2952
+ traffic: o,
2953
2953
  activeRoutes: i,
2954
2954
  compact: r
2955
2955
  }) {
2956
- const a = Math.ceil(n / 100 * 8), s = Array(8).fill(t.color);
2956
+ const a = Math.ceil(o / 100 * 8), s = Array(8).fill(t.color);
2957
2957
  return /* @__PURE__ */ d(
2958
2958
  "div",
2959
2959
  {
2960
2960
  style: {
2961
- width: q,
2962
- height: H,
2963
- background: r ? we : Ge,
2961
+ width: G,
2962
+ height: U,
2963
+ background: r ? we : Qe,
2964
2964
  position: "relative",
2965
2965
  overflow: "hidden",
2966
2966
  fontFamily: "'Courier New', monospace",
@@ -3011,7 +3011,7 @@ function Xt({
3011
3011
  }
3012
3012
  }
3013
3013
  ),
3014
- /* @__PURE__ */ e("span", { style: { fontSize: 7.5, color: t.color + "cc", letterSpacing: "0.1em" }, children: o }),
3014
+ /* @__PURE__ */ e("span", { style: { fontSize: 7.5, color: t.color + "cc", letterSpacing: "0.1em" }, children: n }),
3015
3015
  /* @__PURE__ */ e("div", { style: { flex: 1 } }),
3016
3016
  /* @__PURE__ */ e(
3017
3017
  "div",
@@ -3122,7 +3122,7 @@ function Xt({
3122
3122
  /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
3123
3123
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "TRAFFIC" }),
3124
3124
  /* @__PURE__ */ d("span", { style: { fontSize: 6, color: t.color }, children: [
3125
- n,
3125
+ o,
3126
3126
  "%"
3127
3127
  ] })
3128
3128
  ] }),
@@ -3140,7 +3140,7 @@ function Xt({
3140
3140
  "div",
3141
3141
  {
3142
3142
  style: {
3143
- width: `${n}%`,
3143
+ width: `${o}%`,
3144
3144
  height: "100%",
3145
3145
  background: `linear-gradient(90deg, ${t.color}44, ${t.color})`,
3146
3146
  borderRadius: 2,
@@ -3178,8 +3178,8 @@ function Xt({
3178
3178
  gap: 12
3179
3179
  },
3180
3180
  children: [
3181
- { label: "HTTP", val: Math.round(n * 12.4), unit: "req/s" },
3182
- { label: "HTTPS", val: Math.round(n * 8.6), unit: "req/s" },
3181
+ { label: "HTTP", val: Math.round(o * 12.4), unit: "req/s" },
3182
+ { label: "HTTPS", val: Math.round(o * 8.6), unit: "req/s" },
3183
3183
  { label: "WS", val: Math.round(i * 3), unit: "conn" }
3184
3184
  ].map((l) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
3185
3185
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: l.label }),
@@ -3208,13 +3208,13 @@ function Xt({
3208
3208
  }
3209
3209
  );
3210
3210
  }
3211
- function Gt() {
3211
+ function Xt() {
3212
3212
  return /* @__PURE__ */ d(
3213
3213
  "div",
3214
3214
  {
3215
3215
  style: {
3216
- width: q,
3217
- height: H,
3216
+ width: G,
3217
+ height: U,
3218
3218
  background: "linear-gradient(180deg, #040c1a, #030810)",
3219
3219
  position: "relative",
3220
3220
  overflow: "hidden",
@@ -3229,7 +3229,7 @@ function Gt() {
3229
3229
  {
3230
3230
  style: {
3231
3231
  width: 40,
3232
- height: H - 16,
3232
+ height: U - 16,
3233
3233
  background: "#020710",
3234
3234
  border: "1px solid #1a2d40",
3235
3235
  borderRadius: 2,
@@ -3285,7 +3285,7 @@ function Gt() {
3285
3285
  style: {
3286
3286
  marginLeft: "auto",
3287
3287
  width: 12,
3288
- height: H - 16,
3288
+ height: U - 16,
3289
3289
  background: "#020710",
3290
3290
  border: "1px solid #1a3050",
3291
3291
  borderRadius: 1
@@ -3296,13 +3296,13 @@ function Gt() {
3296
3296
  }
3297
3297
  );
3298
3298
  }
3299
- function rt({ side: t, color: o }) {
3299
+ function rt({ side: t, color: n }) {
3300
3300
  return /* @__PURE__ */ d(
3301
3301
  "div",
3302
3302
  {
3303
3303
  style: {
3304
- width: ge,
3305
- height: H,
3304
+ width: be,
3305
+ height: U,
3306
3306
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
3307
3307
  position: "relative",
3308
3308
  overflow: "hidden"
@@ -3317,7 +3317,7 @@ function rt({ side: t, color: o }) {
3317
3317
  left: 0,
3318
3318
  right: 0,
3319
3319
  height: 1,
3320
- background: `linear-gradient(90deg, transparent, ${o}22 50%, transparent)`
3320
+ background: `linear-gradient(90deg, transparent, ${n}22 50%, transparent)`
3321
3321
  }
3322
3322
  }
3323
3323
  ),
@@ -3326,8 +3326,8 @@ function rt({ side: t, color: o }) {
3326
3326
  {
3327
3327
  style: {
3328
3328
  position: "absolute",
3329
- top: H * 0.25,
3330
- bottom: H * 0.25,
3329
+ top: U * 0.25,
3330
+ bottom: U * 0.25,
3331
3331
  left: 14,
3332
3332
  right: 14,
3333
3333
  display: "flex",
@@ -3354,13 +3354,13 @@ function rt({ side: t, color: o }) {
3354
3354
  );
3355
3355
  }
3356
3356
  function Qt({ traffic: t }) {
3357
- const o = Math.floor((ge - 14) / 7);
3357
+ const n = Math.floor((be - 14) / 7);
3358
3358
  return /* @__PURE__ */ d(
3359
3359
  "div",
3360
3360
  {
3361
3361
  style: {
3362
- width: q,
3363
- height: ge,
3362
+ width: G,
3363
+ height: be,
3364
3364
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
3365
3365
  position: "relative",
3366
3366
  overflow: "hidden"
@@ -3374,7 +3374,7 @@ function Qt({ traffic: t }) {
3374
3374
  top: 0,
3375
3375
  left: 0,
3376
3376
  right: 0,
3377
- height: ge * 0.35,
3377
+ height: be * 0.35,
3378
3378
  background: `radial-gradient(ellipse at 50% 0%,
3379
3379
  ${t > 70 ? "rgba(255,34,85,0.14)" : "rgba(0,229,255,0.08)"} 0%,
3380
3380
  transparent 70%)`
@@ -3394,7 +3394,7 @@ function Qt({ traffic: t }) {
3394
3394
  flexDirection: "column",
3395
3395
  gap: 4
3396
3396
  },
3397
- children: Array.from({ length: o }).map((n, i) => /* @__PURE__ */ e(
3397
+ children: Array.from({ length: n }).map((o, i) => /* @__PURE__ */ e(
3398
3398
  "div",
3399
3399
  {
3400
3400
  style: {
@@ -3414,8 +3414,8 @@ function Qt({ traffic: t }) {
3414
3414
  }
3415
3415
  function pt({
3416
3416
  rotateX: t = -20,
3417
- rotateY: o = 20,
3418
- rotateZ: n = 0,
3417
+ rotateY: n = 20,
3418
+ rotateZ: o = 0,
3419
3419
  scale: i = 1,
3420
3420
  autoRotate: r = !1,
3421
3421
  status: a = "online",
@@ -3424,26 +3424,26 @@ function pt({
3424
3424
  activeRoutes: f = 12,
3425
3425
  _compact: c
3426
3426
  }) {
3427
- const [p, h] = A(o), g = ee(0), u = ee(0);
3427
+ const [p, h] = A(n), b = ee(0), u = ee(0);
3428
3428
  Ee(() => {
3429
3429
  if (!r) {
3430
- h(o);
3430
+ h(n);
3431
3431
  return;
3432
3432
  }
3433
3433
  const m = (x) => {
3434
- u.current && h((w) => w + (x - u.current) * 0.027), u.current = x, g.current = requestAnimationFrame(m);
3434
+ u.current && h((w) => w + (x - u.current) * 0.027), u.current = x, b.current = requestAnimationFrame(m);
3435
3435
  };
3436
- return g.current = requestAnimationFrame(m), () => {
3437
- cancelAnimationFrame(g.current), u.current = 0;
3436
+ return b.current = requestAnimationFrame(m), () => {
3437
+ cancelAnimationFrame(b.current), u.current = 0;
3438
3438
  };
3439
- }, [r, o]);
3440
- const b = S[a] ?? S.online;
3439
+ }, [r, n]);
3440
+ const g = S[a] ?? S.online;
3441
3441
  return /* @__PURE__ */ d(
3442
3442
  "div",
3443
3443
  {
3444
3444
  style: {
3445
- width: q * i,
3446
- height: H * i,
3445
+ width: G * i,
3446
+ height: U * i,
3447
3447
  position: "relative",
3448
3448
  display: "flex",
3449
3449
  alignItems: "center",
@@ -3503,9 +3503,9 @@ function pt({
3503
3503
  {
3504
3504
  style: {
3505
3505
  position: "absolute",
3506
- width: q * 1.3 * i,
3507
- height: H * 2 * i,
3508
- background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
3506
+ width: G * 1.3 * i,
3507
+ height: U * 2 * i,
3508
+ background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
3509
3509
  filter: `blur(${Math.round(40 * i)}px)`,
3510
3510
  pointerEvents: "none",
3511
3511
  top: "40%",
@@ -3527,29 +3527,29 @@ function pt({
3527
3527
  "div",
3528
3528
  {
3529
3529
  style: {
3530
- width: q,
3531
- height: H,
3530
+ width: G,
3531
+ height: U,
3532
3532
  position: "relative",
3533
3533
  transformStyle: "preserve-3d",
3534
- transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${n}deg)`,
3534
+ transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
3535
3535
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
3536
3536
  },
3537
3537
  children: [
3538
3538
  /* @__PURE__ */ e("div", { style: pe.front, children: /* @__PURE__ */ e(
3539
- Xt,
3539
+ jt,
3540
3540
  {
3541
- cfg: b,
3541
+ cfg: g,
3542
3542
  name: s,
3543
3543
  traffic: l,
3544
3544
  activeRoutes: f,
3545
3545
  compact: c
3546
3546
  }
3547
3547
  ) }),
3548
- /* @__PURE__ */ e("div", { style: pe.back, children: /* @__PURE__ */ e(Gt, {}) }),
3549
- /* @__PURE__ */ e("div", { style: pe.left, children: /* @__PURE__ */ e(rt, { side: "left", color: b.color }) }),
3550
- /* @__PURE__ */ e("div", { style: pe.right, children: /* @__PURE__ */ e(rt, { side: "right", color: b.color }) }),
3548
+ /* @__PURE__ */ e("div", { style: pe.back, children: /* @__PURE__ */ e(Xt, {}) }),
3549
+ /* @__PURE__ */ e("div", { style: pe.left, children: /* @__PURE__ */ e(rt, { side: "left", color: g.color }) }),
3550
+ /* @__PURE__ */ e("div", { style: pe.right, children: /* @__PURE__ */ e(rt, { side: "right", color: g.color }) }),
3551
3551
  /* @__PURE__ */ e("div", { style: pe.top, children: /* @__PURE__ */ e(Qt, { traffic: l }) }),
3552
- /* @__PURE__ */ e("div", { style: pe.bottom, children: /* @__PURE__ */ e("div", { style: { width: q, height: ge, background: "#020508" } }) })
3552
+ /* @__PURE__ */ e("div", { style: pe.bottom, children: /* @__PURE__ */ e("div", { style: { width: G, height: be, background: "#020508" } }) })
3553
3553
  ]
3554
3554
  }
3555
3555
  )
@@ -3559,7 +3559,7 @@ function pt({
3559
3559
  }
3560
3560
  );
3561
3561
  }
3562
- const K = 190, Y = 72, be = 120, fe = Qe(K, Y, be), at = {
3562
+ const K = 190, Y = 72, ge = 120, fe = qe(K, Y, ge), at = {
3563
3563
  online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
3564
3564
  warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
3565
3565
  critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
@@ -3567,8 +3567,8 @@ const K = 190, Y = 72, be = 120, fe = Qe(K, Y, be), at = {
3567
3567
  };
3568
3568
  function qt({
3569
3569
  cfg: t,
3570
- name: o,
3571
- queueDepth: n,
3570
+ name: n,
3571
+ queueDepth: o,
3572
3572
  msgsPerSec: i,
3573
3573
  instances: r,
3574
3574
  compact: a
@@ -3580,7 +3580,7 @@ function qt({
3580
3580
  style: {
3581
3581
  width: K,
3582
3582
  height: Y,
3583
- background: a ? we : Ge,
3583
+ background: a ? we : Qe,
3584
3584
  position: "relative",
3585
3585
  overflow: "hidden",
3586
3586
  fontFamily: "'Courier New', monospace",
@@ -3631,7 +3631,7 @@ function qt({
3631
3631
  }
3632
3632
  }
3633
3633
  ),
3634
- /* @__PURE__ */ e("span", { style: { fontSize: 7.5, color: s + "cc", letterSpacing: "0.1em" }, children: o }),
3634
+ /* @__PURE__ */ e("span", { style: { fontSize: 7.5, color: s + "cc", letterSpacing: "0.1em" }, children: n }),
3635
3635
  /* @__PURE__ */ e("div", { style: { flex: 1 } }),
3636
3636
  /* @__PURE__ */ e(
3637
3637
  "div",
@@ -3741,7 +3741,7 @@ function qt({
3741
3741
  /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
3742
3742
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "QUEUE" }),
3743
3743
  /* @__PURE__ */ d("span", { style: { fontSize: 6, color: s }, children: [
3744
- n,
3744
+ o,
3745
3745
  "%"
3746
3746
  ] })
3747
3747
  ] }),
@@ -3759,7 +3759,7 @@ function qt({
3759
3759
  "div",
3760
3760
  {
3761
3761
  style: {
3762
- width: `${n}%`,
3762
+ width: `${o}%`,
3763
3763
  height: "100%",
3764
3764
  background: `linear-gradient(90deg, ${s}44, ${s})`,
3765
3765
  borderRadius: 2,
@@ -3795,7 +3795,7 @@ function qt({
3795
3795
  },
3796
3796
  children: [
3797
3797
  { label: "INST", val: r, unit: "conn" },
3798
- { label: "ENQUEUE", val: Math.round(n * 2.4), unit: "msgs" },
3798
+ { label: "ENQUEUE", val: Math.round(o * 2.4), unit: "msgs" },
3799
3799
  { label: "DISP", val: Math.round(i * 0.1), unit: "/s" }
3800
3800
  ].map((f) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
3801
3801
  /* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: f.label }),
@@ -3824,7 +3824,7 @@ function qt({
3824
3824
  }
3825
3825
  );
3826
3826
  }
3827
- function Kt() {
3827
+ function Gt() {
3828
3828
  return /* @__PURE__ */ d(
3829
3829
  "div",
3830
3830
  {
@@ -3912,12 +3912,12 @@ function Kt() {
3912
3912
  }
3913
3913
  );
3914
3914
  }
3915
- function lt({ side: t, color: o }) {
3915
+ function lt({ side: t, color: n }) {
3916
3916
  return /* @__PURE__ */ d(
3917
3917
  "div",
3918
3918
  {
3919
3919
  style: {
3920
- width: be,
3920
+ width: ge,
3921
3921
  height: Y,
3922
3922
  background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
3923
3923
  position: "relative",
@@ -3933,7 +3933,7 @@ function lt({ side: t, color: o }) {
3933
3933
  left: 0,
3934
3934
  right: 0,
3935
3935
  height: 1,
3936
- background: `linear-gradient(90deg, transparent, ${o}22 50%, transparent)`
3936
+ background: `linear-gradient(90deg, transparent, ${n}22 50%, transparent)`
3937
3937
  }
3938
3938
  }
3939
3939
  ),
@@ -3969,14 +3969,14 @@ function lt({ side: t, color: o }) {
3969
3969
  }
3970
3970
  );
3971
3971
  }
3972
- function Zt({ queueDepth: t, color: o }) {
3973
- const n = Math.floor((be - 14) / 7);
3972
+ function Kt({ queueDepth: t, color: n }) {
3973
+ const o = Math.floor((ge - 14) / 7);
3974
3974
  return /* @__PURE__ */ d(
3975
3975
  "div",
3976
3976
  {
3977
3977
  style: {
3978
3978
  width: K,
3979
- height: be,
3979
+ height: ge,
3980
3980
  background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
3981
3981
  position: "relative",
3982
3982
  overflow: "hidden"
@@ -3990,9 +3990,9 @@ function Zt({ queueDepth: t, color: o }) {
3990
3990
  top: 0,
3991
3991
  left: 0,
3992
3992
  right: 0,
3993
- height: be * 0.35,
3993
+ height: ge * 0.35,
3994
3994
  background: `radial-gradient(ellipse at 50% 0%,
3995
- ${t > 70 ? "rgba(255,34,85,0.14)" : `${o}15`} 0%,
3995
+ ${t > 70 ? "rgba(255,34,85,0.14)" : `${n}15`} 0%,
3996
3996
  transparent 70%)`
3997
3997
  }
3998
3998
  }
@@ -4010,7 +4010,7 @@ function Zt({ queueDepth: t, color: o }) {
4010
4010
  flexDirection: "column",
4011
4011
  gap: 4
4012
4012
  },
4013
- children: Array.from({ length: n }).map((i, r) => /* @__PURE__ */ e(
4013
+ children: Array.from({ length: o }).map((i, r) => /* @__PURE__ */ e(
4014
4014
  "div",
4015
4015
  {
4016
4016
  style: {
@@ -4028,10 +4028,10 @@ function Zt({ queueDepth: t, color: o }) {
4028
4028
  }
4029
4029
  );
4030
4030
  }
4031
- function Jt({
4031
+ function Zt({
4032
4032
  rotateX: t = -20,
4033
- rotateY: o = 20,
4034
- rotateZ: n = 0,
4033
+ rotateY: n = 20,
4034
+ rotateZ: o = 0,
4035
4035
  scale: i = 1,
4036
4036
  autoRotate: r = !1,
4037
4037
  status: a = "online",
@@ -4041,19 +4041,19 @@ function Jt({
4041
4041
  instances: c = 3,
4042
4042
  _compact: p
4043
4043
  }) {
4044
- const [h, g] = A(o), u = ee(0), b = ee(0);
4044
+ const [h, b] = A(n), u = ee(0), g = ee(0);
4045
4045
  Ee(() => {
4046
4046
  if (!r) {
4047
- g(o);
4047
+ b(n);
4048
4048
  return;
4049
4049
  }
4050
4050
  const x = (w) => {
4051
- b.current && g((P) => P + (w - b.current) * 0.027), b.current = w, u.current = requestAnimationFrame(x);
4051
+ g.current && b((P) => P + (w - g.current) * 0.027), g.current = w, u.current = requestAnimationFrame(x);
4052
4052
  };
4053
4053
  return u.current = requestAnimationFrame(x), () => {
4054
- cancelAnimationFrame(u.current), b.current = 0;
4054
+ cancelAnimationFrame(u.current), g.current = 0;
4055
4055
  };
4056
- }, [r, o]);
4056
+ }, [r, n]);
4057
4057
  const m = at[a] ?? at.online;
4058
4058
  return /* @__PURE__ */ d(
4059
4059
  "div",
@@ -4148,7 +4148,7 @@ function Jt({
4148
4148
  height: Y,
4149
4149
  position: "relative",
4150
4150
  transformStyle: "preserve-3d",
4151
- transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${n}deg)`,
4151
+ transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${o}deg)`,
4152
4152
  transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
4153
4153
  },
4154
4154
  children: [
@@ -4163,11 +4163,11 @@ function Jt({
4163
4163
  compact: p
4164
4164
  }
4165
4165
  ) }),
4166
- /* @__PURE__ */ e("div", { style: fe.back, children: /* @__PURE__ */ e(Kt, {}) }),
4166
+ /* @__PURE__ */ e("div", { style: fe.back, children: /* @__PURE__ */ e(Gt, {}) }),
4167
4167
  /* @__PURE__ */ e("div", { style: fe.left, children: /* @__PURE__ */ e(lt, { side: "left", color: m.color }) }),
4168
4168
  /* @__PURE__ */ e("div", { style: fe.right, children: /* @__PURE__ */ e(lt, { side: "right", color: m.color }) }),
4169
- /* @__PURE__ */ e("div", { style: fe.top, children: /* @__PURE__ */ e(Zt, { queueDepth: l, color: m.color }) }),
4170
- /* @__PURE__ */ e("div", { style: fe.bottom, children: /* @__PURE__ */ e("div", { style: { width: K, height: be, background: "#020508" } }) })
4169
+ /* @__PURE__ */ e("div", { style: fe.top, children: /* @__PURE__ */ e(Kt, { queueDepth: l, color: m.color }) }),
4170
+ /* @__PURE__ */ e("div", { style: fe.bottom, children: /* @__PURE__ */ e("div", { style: { width: K, height: ge, background: "#020508" } }) })
4171
4171
  ]
4172
4172
  }
4173
4173
  )
@@ -4177,14 +4177,14 @@ function Jt({
4177
4177
  }
4178
4178
  );
4179
4179
  }
4180
- function ft({ status: t = "online", scale: o = 1 }) {
4180
+ function ft({ status: t = "online", scale: n = 1 }) {
4181
4181
  const i = (S[t] ?? S.online).color;
4182
4182
  return /* @__PURE__ */ e(
4183
4183
  "div",
4184
4184
  {
4185
4185
  style: {
4186
- width: 80 * o,
4187
- height: 140 * o,
4186
+ width: 80 * n,
4187
+ height: 140 * n,
4188
4188
  display: "flex",
4189
4189
  alignItems: "center",
4190
4190
  justifyContent: "center"
@@ -4198,7 +4198,7 @@ function ft({ status: t = "online", scale: o = 1 }) {
4198
4198
  alignItems: "center",
4199
4199
  fontFamily: "'Courier New', monospace",
4200
4200
  userSelect: "none",
4201
- transform: `scale(${o})`,
4201
+ transform: `scale(${n})`,
4202
4202
  transformOrigin: "center center"
4203
4203
  },
4204
4204
  children: [
@@ -4289,14 +4289,14 @@ function ft({ status: t = "online", scale: o = 1 }) {
4289
4289
  }
4290
4290
  );
4291
4291
  }
4292
- function R(t, o, n = 24) {
4293
- return Array.from({ length: n }, (i, r) => {
4294
- const a = r / n;
4295
- return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * o + (Math.random() - 0.5) * 10));
4292
+ function R(t, n, o = 24) {
4293
+ return Array.from({ length: o }, (i, r) => {
4294
+ const a = r / o;
4295
+ return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
4296
4296
  });
4297
4297
  }
4298
- function ei({ data: t, color: o, height: n = 28 }) {
4299
- const r = n, a = Math.max(...t, 1), s = t.map((l, f) => {
4298
+ function Jt({ data: t, color: n, height: o = 28 }) {
4299
+ const r = o, a = Math.max(...t, 1), s = t.map((l, f) => {
4300
4300
  const c = f / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
4301
4301
  return `${c},${p}`;
4302
4302
  }).join(" ");
@@ -4304,24 +4304,24 @@ function ei({ data: t, color: o, height: n = 28 }) {
4304
4304
  "polyline",
4305
4305
  {
4306
4306
  fill: "none",
4307
- stroke: o,
4307
+ stroke: n,
4308
4308
  strokeWidth: "1.2",
4309
4309
  strokeLinecap: "round",
4310
4310
  strokeLinejoin: "round",
4311
4311
  points: s,
4312
- style: { filter: `drop-shadow(0 0 2px ${o})`, opacity: 0.9 }
4312
+ style: { filter: `drop-shadow(0 0 2px ${n})`, opacity: 0.9 }
4313
4313
  }
4314
4314
  ) });
4315
4315
  }
4316
- function ti({
4316
+ function ei({
4317
4317
  type: t,
4318
- name: o,
4319
- context: n = {},
4318
+ name: n,
4319
+ context: o = {},
4320
4320
  status: i = "online",
4321
4321
  animPhase: r,
4322
4322
  series: a
4323
4323
  }) {
4324
- const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ii(t, n), f = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
4324
+ const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ti(t, o), f = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
4325
4325
  return /* @__PURE__ */ d(
4326
4326
  "div",
4327
4327
  {
@@ -4351,7 +4351,7 @@ function ti({
4351
4351
  children: [
4352
4352
  /* @__PURE__ */ e("div", { style: { fontSize: 10, color: s + "cc", letterSpacing: "0.12em", fontFamily: "'Courier New', monospace" }, children: "HISTORICAL" }),
4353
4353
  /* @__PURE__ */ d("div", { style: { fontSize: 12, fontWeight: 700, color: "#fff", letterSpacing: "0.06em", marginTop: 2, fontFamily: "'Courier New', monospace" }, children: [
4354
- o,
4354
+ n,
4355
4355
  " · Sub-components"
4356
4356
  ] })
4357
4357
  ]
@@ -4376,7 +4376,7 @@ function ti({
4376
4376
  p.unit
4377
4377
  ] })
4378
4378
  ] }),
4379
- /* @__PURE__ */ e(ei, { data: p.data, color: p.color, height: 26 })
4379
+ /* @__PURE__ */ e(Jt, { data: p.data, color: p.color, height: 26 })
4380
4380
  ]
4381
4381
  },
4382
4382
  p.id
@@ -4385,12 +4385,12 @@ function ti({
4385
4385
  }
4386
4386
  );
4387
4387
  }
4388
- function ii(t, o) {
4388
+ function ti(t, n) {
4389
4389
  if (t === "server") {
4390
- const n = o.cpuLoad ?? 50, i = o.memLoad ?? 60;
4390
+ const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
4391
4391
  return [
4392
- { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: R(n, 15) },
4393
- { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: R(n * 0.7, 12) },
4392
+ { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: R(o, 15) },
4393
+ { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: R(o * 0.7, 12) },
4394
4394
  { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: R(i, 18) },
4395
4395
  { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: R(i * 0.85, 14) },
4396
4396
  { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: R(40, 25) },
@@ -4400,22 +4400,22 @@ function ii(t, o) {
4400
4400
  ];
4401
4401
  }
4402
4402
  if (t === "dispatcher" || t === "messageServer") {
4403
- const n = o.traffic ?? o.queueDepth ?? 50;
4403
+ const o = n.traffic ?? n.queueDepth ?? 50;
4404
4404
  return [
4405
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: R(n, 20) },
4405
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: R(o, 20) },
4406
4406
  { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: R(60, 25) },
4407
4407
  { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: R(45, 20) },
4408
4408
  { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: R(70, 30) },
4409
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: R(n * 0.9, 15) }
4409
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: R(o * 0.9, 15) }
4410
4410
  ];
4411
4411
  }
4412
4412
  if (t === "database") {
4413
- const n = o.capacity ?? 70;
4413
+ const o = n.capacity ?? 70;
4414
4414
  return [
4415
4415
  { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: R(40, 20) },
4416
4416
  { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: R(55, 25) },
4417
4417
  { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: R(35, 18) },
4418
- { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: R(n, 15) },
4418
+ { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: R(o, 15) },
4419
4419
  { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: R(75, 12) }
4420
4420
  ];
4421
4421
  }
@@ -4423,8 +4423,8 @@ function ii(t, o) {
4423
4423
  }
4424
4424
  function ht({
4425
4425
  w: t,
4426
- h: o,
4427
- color: n,
4426
+ h: n,
4427
+ color: o,
4428
4428
  label: i,
4429
4429
  status: r,
4430
4430
  delay: a = "0s",
@@ -4436,13 +4436,13 @@ function ht({
4436
4436
  {
4437
4437
  style: {
4438
4438
  width: t,
4439
- height: o,
4439
+ height: n,
4440
4440
  background: we,
4441
4441
  position: "relative",
4442
4442
  overflow: "hidden",
4443
4443
  borderRadius: 2,
4444
- border: `1px solid ${n}44`,
4445
- boxShadow: `0 0 8px ${n}22, inset 0 1px 0 ${n}22`,
4444
+ border: `1px solid ${o}44`,
4445
+ boxShadow: `0 0 8px ${o}22, inset 0 1px 0 ${o}22`,
4446
4446
  fontFamily: "'Courier New', monospace"
4447
4447
  },
4448
4448
  children: [
@@ -4456,7 +4456,7 @@ function ht({
4456
4456
  left: 0,
4457
4457
  right: 0,
4458
4458
  height: 1,
4459
- background: `linear-gradient(90deg, transparent, ${n}66, transparent)`,
4459
+ background: `linear-gradient(90deg, transparent, ${o}66, transparent)`,
4460
4460
  boxShadow: `0 1px 4px ${l}`
4461
4461
  }
4462
4462
  }
@@ -4486,7 +4486,7 @@ function ht({
4486
4486
  left: 3,
4487
4487
  right: 3,
4488
4488
  fontSize: 6,
4489
- color: `${n}99`,
4489
+ color: `${o}99`,
4490
4490
  letterSpacing: "0.08em",
4491
4491
  textAlign: "center"
4492
4492
  },
@@ -4502,8 +4502,8 @@ function ht({
4502
4502
  left: 0,
4503
4503
  right: 0,
4504
4504
  height: 1,
4505
- background: `linear-gradient(90deg, transparent 10%, ${n}aa 50%, transparent 90%)`,
4506
- boxShadow: `0 0 4px ${n}`,
4505
+ background: `linear-gradient(90deg, transparent 10%, ${o}aa 50%, transparent 90%)`,
4506
+ boxShadow: `0 0 4px ${o}`,
4507
4507
  animation: "holo-scan 2.5s linear infinite",
4508
4508
  animationDelay: a,
4509
4509
  pointerEvents: "none"
@@ -4516,8 +4516,8 @@ function ht({
4516
4516
  }
4517
4517
  function Oe({
4518
4518
  color: t = "#00e5ff",
4519
- label: o = "CPU-0",
4520
- status: n = "online",
4519
+ label: n = "CPU-0",
4520
+ status: o = "online",
4521
4521
  load: i = 0
4522
4522
  }) {
4523
4523
  return /* @__PURE__ */ d("div", { style: { position: "relative", width: 52, height: 36 }, children: [
@@ -4588,7 +4588,7 @@ function Oe({
4588
4588
  )
4589
4589
  }
4590
4590
  ),
4591
- n && n !== "online" && n !== "offline" && /* @__PURE__ */ e(
4591
+ o && o !== "online" && o !== "offline" && /* @__PURE__ */ e(
4592
4592
  "div",
4593
4593
  {
4594
4594
  style: {
@@ -4598,8 +4598,8 @@ function Oe({
4598
4598
  width: 4,
4599
4599
  height: 4,
4600
4600
  borderRadius: "50%",
4601
- background: S[n]?.color,
4602
- boxShadow: `0 0 6px ${S[n]?.color}`,
4601
+ background: S[o]?.color,
4602
+ boxShadow: `0 0 6px ${S[o]?.color}`,
4603
4603
  animation: "holo-led-blink 1.2s infinite"
4604
4604
  }
4605
4605
  }
@@ -4620,15 +4620,15 @@ function Oe({
4620
4620
  letterSpacing: "0.06em",
4621
4621
  textAlign: "center"
4622
4622
  },
4623
- children: o
4623
+ children: n
4624
4624
  }
4625
4625
  )
4626
4626
  ] });
4627
4627
  }
4628
4628
  function De({
4629
4629
  color: t = "#00e5ff",
4630
- label: o = "HEAP-0",
4631
- status: n = "online",
4630
+ label: n = "HEAP-0",
4631
+ status: o = "online",
4632
4632
  usedPercent: i = 0
4633
4633
  }) {
4634
4634
  return /* @__PURE__ */ d("div", { style: { position: "relative", width: 28, height: 48 }, children: [
@@ -4686,7 +4686,7 @@ function De({
4686
4686
  },
4687
4687
  s
4688
4688
  )),
4689
- n && n !== "online" && n !== "offline" && /* @__PURE__ */ e(
4689
+ o && o !== "online" && o !== "offline" && /* @__PURE__ */ e(
4690
4690
  "div",
4691
4691
  {
4692
4692
  style: {
@@ -4696,7 +4696,7 @@ function De({
4696
4696
  width: 3,
4697
4697
  height: 3,
4698
4698
  borderRadius: "50%",
4699
- background: S[n]?.color,
4699
+ background: S[o]?.color,
4700
4700
  animation: "holo-led-blink 1.2s infinite"
4701
4701
  }
4702
4702
  }
@@ -4717,18 +4717,18 @@ function De({
4717
4717
  letterSpacing: "0.05em",
4718
4718
  textAlign: "center"
4719
4719
  },
4720
- children: o
4720
+ children: n
4721
4721
  }
4722
4722
  )
4723
4723
  ] });
4724
4724
  }
4725
4725
  function ye({
4726
4726
  color: t = "#00e5ff",
4727
- label: o = "DRIVE-1",
4728
- status: n = "online",
4727
+ label: n = "DRIVE-1",
4728
+ status: o = "online",
4729
4729
  activity: i = !1
4730
4730
  }) {
4731
- return /* @__PURE__ */ d(ht, { w: 56, h: 22, color: t, label: o, status: n, children: [
4731
+ return /* @__PURE__ */ d(ht, { w: 56, h: 22, color: t, label: n, status: o, children: [
4732
4732
  /* @__PURE__ */ e(
4733
4733
  "div",
4734
4734
  {
@@ -4763,8 +4763,8 @@ function ye({
4763
4763
  }
4764
4764
  function ut({
4765
4765
  color: t = "#00e5ff",
4766
- label: o = "NET",
4767
- status: n = "online"
4766
+ label: n = "NET",
4767
+ status: o = "online"
4768
4768
  }) {
4769
4769
  return /* @__PURE__ */ d(
4770
4770
  "div",
@@ -4818,7 +4818,7 @@ function ut({
4818
4818
  textAlign: "center",
4819
4819
  letterSpacing: "0.08em"
4820
4820
  },
4821
- children: o
4821
+ children: n
4822
4822
  }
4823
4823
  )
4824
4824
  ]
@@ -4827,15 +4827,15 @@ function ut({
4827
4827
  }
4828
4828
  function L({
4829
4829
  color: t = "#00e5ff",
4830
- label: o = "THREAD",
4831
- status: n = "online"
4830
+ label: n = "THREAD",
4831
+ status: o = "online"
4832
4832
  }) {
4833
- return /* @__PURE__ */ e(ht, { w: 44, h: 28, color: t, label: o, status: n });
4833
+ return /* @__PURE__ */ e(ht, { w: 44, h: 28, color: t, label: n, status: o });
4834
4834
  }
4835
4835
  function Le({
4836
4836
  color: t = "#ff8c00",
4837
- label: o = "PLATTER-0",
4838
- status: n = "online",
4837
+ label: n = "PLATTER-0",
4838
+ status: o = "online",
4839
4839
  capacityPercent: i = 0
4840
4840
  }) {
4841
4841
  return /* @__PURE__ */ d("div", { style: { position: "relative", width: 48, height: 62 }, children: [
@@ -4880,7 +4880,7 @@ function Le({
4880
4880
  }
4881
4881
  }
4882
4882
  ),
4883
- n && n !== "online" && n !== "offline" && /* @__PURE__ */ e(
4883
+ o && o !== "online" && o !== "offline" && /* @__PURE__ */ e(
4884
4884
  "div",
4885
4885
  {
4886
4886
  style: {
@@ -4890,7 +4890,7 @@ function Le({
4890
4890
  width: 4,
4891
4891
  height: 4,
4892
4892
  borderRadius: "50%",
4893
- background: S[n]?.color,
4893
+ background: S[o]?.color,
4894
4894
  animation: "holo-led-blink 1.2s infinite"
4895
4895
  }
4896
4896
  }
@@ -4911,15 +4911,15 @@ function Le({
4911
4911
  textAlign: "center",
4912
4912
  letterSpacing: "0.06em"
4913
4913
  },
4914
- children: o
4914
+ children: n
4915
4915
  }
4916
4916
  )
4917
4917
  ] });
4918
4918
  }
4919
4919
  function M({
4920
4920
  color: t = "#00e5ff",
4921
- label: o = "PORT-1",
4922
- status: n = "online"
4921
+ label: n = "PORT-1",
4922
+ status: o = "online"
4923
4923
  }) {
4924
4924
  return /* @__PURE__ */ d(
4925
4925
  "div",
@@ -4945,9 +4945,9 @@ function M({
4945
4945
  width: 4,
4946
4946
  height: 4,
4947
4947
  borderRadius: "50%",
4948
- background: n && n !== "online" ? S[n]?.color ?? t : t,
4948
+ background: o && o !== "online" ? S[o]?.color ?? t : t,
4949
4949
  boxShadow: `0 0 4px ${t}`,
4950
- animation: n && n !== "online" && n !== "offline" ? "holo-led-blink 1s infinite" : "none"
4950
+ animation: o && o !== "online" && o !== "offline" ? "holo-led-blink 1s infinite" : "none"
4951
4951
  }
4952
4952
  }
4953
4953
  ),
@@ -4979,15 +4979,15 @@ function M({
4979
4979
  textAlign: "center",
4980
4980
  letterSpacing: "0.05em"
4981
4981
  },
4982
- children: o
4982
+ children: n
4983
4983
  }
4984
4984
  )
4985
4985
  ]
4986
4986
  }
4987
4987
  );
4988
4988
  }
4989
- function oi(t, o, n, i) {
4990
- const r = n === "online" ? "online" : n;
4989
+ function ii(t, n, o, i) {
4990
+ const r = o === "online" ? "online" : o;
4991
4991
  return t === "server" ? [
4992
4992
  {
4993
4993
  id: "cpu-0",
@@ -5009,8 +5009,8 @@ function oi(t, o, n, i) {
5009
5009
  {
5010
5010
  id: "thread-pool",
5011
5011
  label: "THREAD-POOL",
5012
- status: r === "critical" && o === "APP-03" ? "critical" : "online",
5013
- detail: r === "critical" && o === "APP-03" ? "Thread exhaustion" : void 0
5012
+ status: r === "critical" && n === "APP-03" ? "critical" : "online",
5013
+ detail: r === "critical" && n === "APP-03" ? "Thread exhaustion" : void 0
5014
5014
  },
5015
5015
  { id: "network", label: "NET", status: r === "offline" ? "offline" : "online" }
5016
5016
  ] : t === "dispatcher" ? [
@@ -5073,8 +5073,8 @@ function oi(t, o, n, i) {
5073
5073
  {
5074
5074
  id: "platter-2",
5075
5075
  label: "PLATTER-2",
5076
- status: r === "warning" && o === "DB-STB" ? "warning" : "online",
5077
- detail: r === "warning" && o === "DB-STB" ? "Replication lag" : void 0
5076
+ status: r === "warning" && n === "DB-STB" ? "warning" : "online",
5077
+ detail: r === "warning" && n === "DB-STB" ? "Replication lag" : void 0
5078
5078
  },
5079
5079
  {
5080
5080
  id: "conn-pool",
@@ -5091,7 +5091,7 @@ function oi(t, o, n, i) {
5091
5091
  ] : [];
5092
5092
  }
5093
5093
  const E = "cubic-bezier(0.34, 1.56, 0.64, 1)", ni = "cubic-bezier(0.16, 1, 0.3, 1)";
5094
- function ri({ items: t, revealPhase: o }) {
5094
+ function oi({ items: t, revealPhase: n }) {
5095
5095
  return /* @__PURE__ */ e(
5096
5096
  "div",
5097
5097
  {
@@ -5103,31 +5103,31 @@ function ri({ items: t, revealPhase: o }) {
5103
5103
  alignItems: "center",
5104
5104
  padding: 24
5105
5105
  },
5106
- children: t.map((n, i) => /* @__PURE__ */ e(
5106
+ children: t.map((o, i) => /* @__PURE__ */ e(
5107
5107
  "div",
5108
5108
  {
5109
5109
  style: {
5110
- opacity: o >= 0.2 + i * 0.06 ? 1 : 0,
5111
- transform: `scale(${o >= 0.2 + i * 0.06 ? 1 : 0.6})`,
5110
+ opacity: n >= 0.2 + i * 0.06 ? 1 : 0,
5111
+ transform: `scale(${n >= 0.2 + i * 0.06 ? 1 : 0.6})`,
5112
5112
  transition: `opacity 0.4s ${E} ${i * 0.06}s, transform 0.45s ${E} ${i * 0.06}s`
5113
5113
  },
5114
- children: n.element
5114
+ children: o.element
5115
5115
  },
5116
- n.id
5116
+ o.id
5117
5117
  ))
5118
5118
  }
5119
5119
  );
5120
5120
  }
5121
- function ai({
5121
+ function ri({
5122
5122
  type: t,
5123
- status: o,
5124
- context: n,
5123
+ status: n,
5124
+ context: o,
5125
5125
  internal: i,
5126
5126
  revealPhase: r
5127
5127
  }) {
5128
- const a = S[o]?.color ?? S.online.color, s = "#ff8c00";
5128
+ const a = S[n]?.color ?? S.online.color, s = "#ff8c00";
5129
5129
  if (t === "server") {
5130
- const l = n.cpuLoad ?? 50, f = n.memLoad ?? 60, c = [
5130
+ const l = o.cpuLoad ?? 50, f = o.memLoad ?? 60, c = [
5131
5131
  {
5132
5132
  key: "cpu0",
5133
5133
  delay: 0,
@@ -5237,7 +5237,7 @@ function ai({
5237
5237
  alignItems: "center",
5238
5238
  padding: 24
5239
5239
  },
5240
- children: c.map(({ key: p, delay: h, el: g }) => /* @__PURE__ */ e(
5240
+ children: c.map(({ key: p, delay: h, el: b }) => /* @__PURE__ */ e(
5241
5241
  "div",
5242
5242
  {
5243
5243
  style: {
@@ -5245,7 +5245,7 @@ function ai({
5245
5245
  transform: `scale(${r >= 0.2 + h * 0.08 ? 1 : 0.6})`,
5246
5246
  transition: `opacity 0.4s ${E} ${h * 0.06}s, transform 0.45s ${E} ${h * 0.06}s`
5247
5247
  },
5248
- children: g
5248
+ children: b
5249
5249
  },
5250
5250
  p
5251
5251
  ))
@@ -5367,7 +5367,7 @@ function ai({
5367
5367
  }
5368
5368
  );
5369
5369
  if (t === "database") {
5370
- const l = n.capacity ?? 72;
5370
+ const l = o.capacity ?? 72;
5371
5371
  return /* @__PURE__ */ d(
5372
5372
  "div",
5373
5373
  {
@@ -5428,17 +5428,17 @@ function ai({
5428
5428
  }
5429
5429
  return null;
5430
5430
  }
5431
- function $i({
5431
+ function wi({
5432
5432
  type: t,
5433
- name: o,
5434
- status: n,
5433
+ name: n,
5434
+ status: o,
5435
5435
  onClose: i,
5436
5436
  animPhase: r,
5437
5437
  context: a = {},
5438
5438
  subComponents: s,
5439
5439
  graphSeries: l
5440
5440
  }) {
5441
- const f = oi(t, o, n, a), c = S[n]?.color ?? S.online.color, p = r >= 0.1 ? 1 : r * 10, h = r >= 0.2 ? "-50%" : "0%", g = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5441
+ const f = ii(t, n, o, a), c = S[o]?.color ?? S.online.color, p = r >= 0.1 ? 1 : r * 10, h = r >= 0.2 ? "-50%" : "0%", b = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5442
5442
  return /* @__PURE__ */ d(
5443
5443
  "div",
5444
5444
  {
@@ -5450,7 +5450,7 @@ function $i({
5450
5450
  flexDirection: "row",
5451
5451
  pointerEvents: "auto"
5452
5452
  },
5453
- onClick: (b) => b.stopPropagation(),
5453
+ onClick: (g) => g.stopPropagation(),
5454
5454
  children: [
5455
5455
  /* @__PURE__ */ e(
5456
5456
  "div",
@@ -5468,12 +5468,12 @@ function $i({
5468
5468
  }
5469
5469
  ),
5470
5470
  /* @__PURE__ */ e(
5471
- ti,
5471
+ ei,
5472
5472
  {
5473
5473
  type: t,
5474
- name: o,
5474
+ name: n,
5475
5475
  context: a,
5476
- status: n,
5476
+ status: o,
5477
5477
  animPhase: r,
5478
5478
  series: l
5479
5479
  }
@@ -5526,7 +5526,7 @@ function $i({
5526
5526
  background: "linear-gradient(90deg, rgba(2, 12, 28, 0.95) 0%, rgba(2, 8, 20, 0.98) 100%)",
5527
5527
  borderLeft: `2px solid ${c}44`,
5528
5528
  boxShadow: "-4px 0 32px rgba(0,0,0,0.6)",
5529
- transform: `translateX(${g})`,
5529
+ transform: `translateX(${b})`,
5530
5530
  transition: `transform 0.7s ${E}`
5531
5531
  }
5532
5532
  }
@@ -5576,7 +5576,7 @@ function $i({
5576
5576
  borderRadius: "50%",
5577
5577
  background: c,
5578
5578
  boxShadow: `0 0 10px ${c}`,
5579
- animation: n === "warning" || n === "critical" ? "holo-led-blink 1.5s infinite" : "none"
5579
+ animation: o === "warning" || o === "critical" ? "holo-led-blink 1.5s infinite" : "none"
5580
5580
  }
5581
5581
  }
5582
5582
  ),
@@ -5591,7 +5591,7 @@ function $i({
5591
5591
  fontFamily: "'Courier New', monospace"
5592
5592
  },
5593
5593
  children: [
5594
- o,
5594
+ n,
5595
5595
  " · INTERNAL VIEW"
5596
5596
  ]
5597
5597
  }
@@ -5638,12 +5638,12 @@ function $i({
5638
5638
  }
5639
5639
  }
5640
5640
  ),
5641
- /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(ri, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
5642
- ai,
5641
+ /* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(oi, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
5642
+ ri,
5643
5643
  {
5644
5644
  type: t,
5645
- name: o,
5646
- status: n,
5645
+ name: n,
5646
+ status: o,
5647
5647
  context: a,
5648
5648
  internal: f,
5649
5649
  revealPhase: u
@@ -5659,91 +5659,38 @@ function $i({
5659
5659
  }
5660
5660
  );
5661
5661
  }
5662
- const gt = (t) => `data:image/svg+xml,${encodeURIComponent(t.replace(/\n\s*/g, ""))}`, li = gt(`
5663
- <svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080">
5664
- <defs>
5665
- <radialGradient id="c" cx="50%" cy="45%" r="70%">
5666
- <stop offset="0%" stop-color="#0a1628"/>
5667
- <stop offset="50%" stop-color="#050d18"/>
5668
- <stop offset="100%" stop-color="#020810"/>
5669
- </radialGradient>
5670
- <radialGradient id="g" cx="50%" cy="40%" r="55%">
5671
- <stop offset="0%" stop-color="#00e5ff" stop-opacity="0.04"/>
5672
- <stop offset="100%" stop-color="#00e5ff" stop-opacity="0"/>
5673
- </radialGradient>
5674
- <pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse">
5675
- <path d="M60 0L0 0 0 60" fill="none" stroke="#00e5ff" stroke-opacity="0.04" stroke-width="0.5"/>
5676
- </pattern>
5677
- <linearGradient id="beam1" x1="0" y1="0" x2="1" y2="1">
5678
- <stop offset="0%" stop-color="#00e5ff" stop-opacity="0"/>
5679
- <stop offset="40%" stop-color="#00e5ff" stop-opacity="0.08"/>
5680
- <stop offset="60%" stop-color="#00e5ff" stop-opacity="0.12"/>
5681
- <stop offset="100%" stop-color="#00e5ff" stop-opacity="0"/>
5682
- </linearGradient>
5683
- <linearGradient id="beam2" x1="1" y1="0" x2="0" y2="1">
5684
- <stop offset="0%" stop-color="#00e5ff" stop-opacity="0"/>
5685
- <stop offset="40%" stop-color="#00e5ff" stop-opacity="0.06"/>
5686
- <stop offset="60%" stop-color="#00e5ff" stop-opacity="0.10"/>
5687
- <stop offset="100%" stop-color="#00e5ff" stop-opacity="0"/>
5688
- </linearGradient>
5689
- </defs>
5690
- <rect width="1920" height="1080" fill="url(#c)"/>
5691
- <rect width="1920" height="1080" fill="url(#grid)"/>
5692
- <rect width="1920" height="1080" fill="url(#g)"/>
5693
- <line x1="1920" y1="0" x2="960" y2="540" stroke="url(#beam1)" stroke-width="3" stroke-dasharray="8 12"/>
5694
- <line x1="0" y1="0" x2="960" y2="540" stroke="url(#beam2)" stroke-width="3" stroke-dasharray="8 12"/>
5695
- <ellipse cx="960" cy="600" rx="500" ry="120" fill="none" stroke="#00e5ff" stroke-opacity="0.06" stroke-width="1" stroke-dasharray="4 8"/>
5696
- <ellipse cx="960" cy="600" rx="350" ry="85" fill="none" stroke="#00e5ff" stroke-opacity="0.04" stroke-width="0.5" stroke-dasharray="3 6"/>
5697
- </svg>
5698
- `), si = gt(`
5699
- <svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400">
5700
- <defs>
5701
- <radialGradient id="lg" cx="50%" cy="50%" r="50%">
5702
- <stop offset="0%" stop-color="#00e5ff" stop-opacity="0.15"/>
5703
- <stop offset="70%" stop-color="#00e5ff" stop-opacity="0.03"/>
5704
- <stop offset="100%" stop-color="#00e5ff" stop-opacity="0"/>
5705
- </radialGradient>
5706
- </defs>
5707
- <circle cx="200" cy="200" r="180" fill="url(#lg)"/>
5708
- <circle cx="200" cy="200" r="120" fill="none" stroke="#00e5ff" stroke-opacity="0.12" stroke-width="1" stroke-dasharray="6 4"/>
5709
- <circle cx="200" cy="200" r="80" fill="none" stroke="#00e5ff" stroke-opacity="0.08" stroke-width="0.5" stroke-dasharray="3 5"/>
5710
- <circle cx="200" cy="200" r="6" fill="#00e5ff" fill-opacity="0.3"/>
5711
- <text x="200" y="195" text-anchor="middle" font-family="Courier New, monospace" font-size="28" font-weight="700" letter-spacing="8" fill="#00e5ff" fill-opacity="0.25">D_IT</text>
5712
- <text x="200" y="220" text-anchor="middle" font-family="Courier New, monospace" font-size="9" letter-spacing="4" fill="#00e5ff" fill-opacity="0.15">DIGITAL INFRASTRUCTURE</text>
5713
- </svg>
5714
- `);
5715
- function Ri({
5662
+ function Si({
5716
5663
  brandName: t = "BUSAUD AIOps",
5717
- brandTag: o = "3D MONITOR",
5718
- services: n = [],
5664
+ brandTag: n = "3D MONITOR",
5665
+ services: o = [],
5719
5666
  backgroundImage: i,
5720
5667
  logoUrl: r,
5721
5668
  carouselSpeed: a = 6e-3,
5722
5669
  fontFamily: s,
5723
5670
  children: l
5724
5671
  }) {
5725
- const [f] = A(20), [c] = A(!1), [p] = A(!0), [h] = A(0.45), [g] = A(3.3), [u, b] = A("compact"), [m, x] = A(0), [w, P] = A(null), [y, D] = A(null), [B, $] = A(0), V = (C) => {
5726
- u === "compact" && (P(C), b("expanding"), x(0), setTimeout(() => x(1), 50), setTimeout(() => x(2), 800), setTimeout(() => x(3), 1200), setTimeout(() => x(4), 1600), setTimeout(() => x(5), 2e3), setTimeout(() => {
5727
- x(6), b("expanded");
5672
+ const [f] = A(20), [c] = A(!1), [p] = A(!0), [h] = A(0.45), [b] = A(3.3), [u, g] = A("compact"), [m, x] = A(0), [w, P] = A(null), [y, D] = A(null), [B, k] = A(0), V = (C) => {
5673
+ u === "compact" && (P(C), g("expanding"), x(0), setTimeout(() => x(1), 50), setTimeout(() => x(2), 800), setTimeout(() => x(3), 1200), setTimeout(() => x(4), 1600), setTimeout(() => x(5), 2e3), setTimeout(() => {
5674
+ x(6), g("expanded");
5728
5675
  }, 2400));
5729
5676
  }, v = () => {
5730
- y ? (D(null), $(0)) : u === "expanded" && (b("collapsing"), x(0), P(null), setTimeout(() => {
5731
- b((C) => C === "collapsing" ? "compact" : C);
5677
+ y ? (D(null), k(0)) : u === "expanded" && (g("collapsing"), x(0), P(null), setTimeout(() => {
5678
+ g((C) => C === "collapsing" ? "compact" : C);
5732
5679
  }, 1e3));
5733
5680
  }, W = (C) => {
5734
- D(C), $(0);
5681
+ D(C), k(0);
5735
5682
  };
5736
5683
  J.useEffect(() => {
5737
5684
  if (!y) return;
5738
- const C = performance.now(), $e = 1200, ne = () => {
5739
- const Ne = performance.now() - C, Te = Math.min(1, Ne / $e);
5740
- $(Te), Te < 1 && requestAnimationFrame(ne);
5741
- }, le = requestAnimationFrame(ne);
5685
+ const C = performance.now(), ke = 1200, oe = () => {
5686
+ const Ne = performance.now() - C, Te = Math.min(1, Ne / ke);
5687
+ k(Te), Te < 1 && requestAnimationFrame(oe);
5688
+ }, le = requestAnimationFrame(oe);
5742
5689
  return () => cancelAnimationFrame(le);
5743
5690
  }, [y]);
5744
5691
  const X = () => {
5745
- D(null), $(0);
5746
- }, z = n.find((C) => C.name === w), te = z?.status ?? "online", ie = z?.dbSync ?? !0, I = z?.metrics, U = z?.alerts, oe = 330, Se = 340, ke = y ? 1.15 : 1, G = y ? -(y.ex - oe) * 0.06 : 0, N = y ? -(y.ey - Se) * 0.06 : 0;
5692
+ D(null), k(0);
5693
+ }, z = o.find((C) => C.name === w), te = z?.status ?? "online", ie = z?.dbSync ?? !0, I = z?.metrics, F = z?.alerts, ne = 330, Se = 340, $e = y ? 1.15 : 1, Q = y ? -(y.ex - ne) * 0.06 : 0, N = y ? -(y.ey - Se) * 0.06 : 0;
5747
5694
  return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
5748
5695
  /* @__PURE__ */ e(
5749
5696
  "div",
@@ -5753,12 +5700,12 @@ function Ri({
5753
5700
  inset: 0,
5754
5701
  zIndex: 0,
5755
5702
  background: "#020810",
5756
- backgroundImage: `url(${i || li})`,
5703
+ backgroundImage: `url(${i})`,
5757
5704
  backgroundSize: "cover",
5758
5705
  backgroundPosition: "center center",
5759
5706
  backgroundRepeat: "no-repeat",
5760
5707
  transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
5761
- transform: `translate(${G}px, ${N}px) scale(${ke})`,
5708
+ transform: `translate(${Q}px, ${N}px) scale(${$e})`,
5762
5709
  willChange: "transform"
5763
5710
  }
5764
5711
  }
@@ -5768,7 +5715,7 @@ function Ri({
5768
5715
  /* @__PURE__ */ e("span", { className: "brand-pulse" }),
5769
5716
  /* @__PURE__ */ e("span", { className: "brand-text", children: t })
5770
5717
  ] }),
5771
- /* @__PURE__ */ e("div", { className: "hdr-right", children: /* @__PURE__ */ e("span", { className: "hdr-tag", children: o }) })
5718
+ /* @__PURE__ */ e("div", { className: "hdr-right", children: /* @__PURE__ */ e("span", { className: "hdr-tag", children: n }) })
5772
5719
  ] }),
5773
5720
  /* @__PURE__ */ e(
5774
5721
  "main",
@@ -5779,7 +5726,7 @@ function Ri({
5779
5726
  },
5780
5727
  onClick: v,
5781
5728
  children: /* @__PURE__ */ e(
5782
- zt,
5729
+ Wt,
5783
5730
  {
5784
5731
  viewState: u,
5785
5732
  animPhase: m,
@@ -5789,10 +5736,10 @@ function Ri({
5789
5736
  rotateY: f,
5790
5737
  autoRotateComponents: c,
5791
5738
  componentScale: h,
5792
- drillZoom: g,
5739
+ drillZoom: b,
5793
5740
  autoRotateCarousel: p,
5794
5741
  carouselSpeed: a,
5795
- logoUrl: r || si,
5742
+ logoUrl: r,
5796
5743
  onSelectSystem: V,
5797
5744
  onBackgroundClick: v,
5798
5745
  onComponentClick: W,
@@ -5800,7 +5747,7 @@ function Ri({
5800
5747
  selectedSystemStatus: te,
5801
5748
  selectedSystemDbSync: ie,
5802
5749
  selectedSystemMetrics: I,
5803
- selectedSystemAlerts: U,
5750
+ selectedSystemAlerts: F,
5804
5751
  children: l
5805
5752
  }
5806
5753
  )
@@ -5808,17 +5755,17 @@ function Ri({
5808
5755
  )
5809
5756
  ] });
5810
5757
  }
5811
- function k(t, o, n = 24) {
5812
- return Array.from({ length: n }, (i, r) => {
5813
- const a = r / n;
5814
- return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * o + (Math.random() - 0.5) * 10));
5758
+ function $(t, n, o = 24) {
5759
+ return Array.from({ length: o }, (i, r) => {
5760
+ const a = r / o;
5761
+ return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
5815
5762
  });
5816
5763
  }
5817
5764
  function bt(t) {
5818
5765
  return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
5819
5766
  }
5820
- function me(t, o, n) {
5821
- const i = t === "online" ? "online" : t, r = bt(t), a = n?.cpuLoad ?? 50, s = n?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", f = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && o === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
5767
+ function me(t, n, o) {
5768
+ const i = t === "online" ? "online" : t, r = bt(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", f = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
5822
5769
  return [
5823
5770
  { id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(Oe, { color: r, label: "CPU-0", status: l, load: a }) },
5824
5771
  { id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(Oe, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
@@ -5832,19 +5779,19 @@ function me(t, o, n) {
5832
5779
  ];
5833
5780
  }
5834
5781
  function xe(t) {
5835
- const o = t?.cpuLoad ?? 50, n = t?.memLoad ?? 60;
5782
+ const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
5836
5783
  return [
5837
- { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: k(o, 15) },
5838
- { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: k(o * 0.7, 12) },
5839
- { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: k(n, 18) },
5840
- { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: k(n * 0.85, 14) },
5841
- { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: k(40, 25) },
5842
- { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: k(35, 20) },
5843
- { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: k(30, 22) },
5844
- { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: k(55, 20) }
5784
+ { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: $(n, 15) },
5785
+ { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: $(n * 0.7, 12) },
5786
+ { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: $(o, 18) },
5787
+ { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: $(o * 0.85, 14) },
5788
+ { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: $(40, 25) },
5789
+ { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: $(35, 20) },
5790
+ { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: $(30, 22) },
5791
+ { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: $(55, 20) }
5845
5792
  ];
5846
5793
  }
5847
- function yt(t, o, n) {
5794
+ function gt(t, n, o) {
5848
5795
  const i = t === "online" ? "online" : t, r = bt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
5849
5796
  return [
5850
5797
  { id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-1", status: "online" }) },
@@ -5859,17 +5806,17 @@ function yt(t, o, n) {
5859
5806
  { id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
5860
5807
  ];
5861
5808
  }
5862
- function mt(t) {
5863
- const o = t?.traffic ?? 50;
5809
+ function yt(t) {
5810
+ const n = t?.traffic ?? 50;
5864
5811
  return [
5865
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: k(o, 20) },
5866
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: k(60, 25) },
5867
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: k(45, 20) },
5868
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: k(70, 30) },
5869
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: k(o * 0.9, 15) }
5812
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: $(n, 20) },
5813
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: $(60, 25) },
5814
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: $(45, 20) },
5815
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: $(70, 30) },
5816
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: $(n * 0.9, 15) }
5870
5817
  ];
5871
5818
  }
5872
- function di(t, o, n) {
5819
+ function ai(t, n, o) {
5873
5820
  const i = t === "online" ? "online" : t, r = i === "critical" ? "critical" : "online", a = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", s = i === "critical" ? "critical" : "online";
5874
5821
  return [
5875
5822
  { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "INST-0", status: "online" }) },
@@ -5881,18 +5828,18 @@ function di(t, o, n) {
5881
5828
  { id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "WORKER-3", status: s }) }
5882
5829
  ];
5883
5830
  }
5884
- function ci(t) {
5885
- const o = t?.queueDepth ?? 50;
5831
+ function li(t) {
5832
+ const n = t?.queueDepth ?? 50;
5886
5833
  return [
5887
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: k(o, 20) },
5888
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: k(60, 25) },
5889
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: k(45, 20) },
5890
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: k(70, 30) },
5891
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: k(o * 0.9, 15) }
5834
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: $(n, 20) },
5835
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: $(60, 25) },
5836
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: $(45, 20) },
5837
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: $(70, 30) },
5838
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: $(n * 0.9, 15) }
5892
5839
  ];
5893
5840
  }
5894
- function We(t, o, n) {
5895
- const i = t === "online" ? "online" : t, r = "#ff8c00", a = n?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && o === "DB-STB" ? "warning" : "online", f = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
5841
+ function We(t, n, o) {
5842
+ const i = t === "online" ? "online" : t, r = "#ff8c00", a = o?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && n === "DB-STB" ? "warning" : "online", f = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
5896
5843
  return [
5897
5844
  { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Le, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
5898
5845
  { id: "platter-1", label: "PLATTER-1", status: s, detail: i === "critical" ? "I/O failure" : i === "offline" ? "Connection lost" : i === "warning" ? "Slow queries" : void 0, element: /* @__PURE__ */ e(Le, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
@@ -5902,17 +5849,17 @@ function We(t, o, n) {
5902
5849
  ];
5903
5850
  }
5904
5851
  function ze(t) {
5905
- const o = t?.capacity ?? 70;
5852
+ const n = t?.capacity ?? 70;
5906
5853
  return [
5907
- { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: k(40, 20) },
5908
- { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: k(55, 25) },
5909
- { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: k(35, 18) },
5910
- { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: k(o, 15) },
5911
- { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: k(75, 12) }
5854
+ { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: $(40, 20) },
5855
+ { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: $(55, 25) },
5856
+ { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: $(35, 18) },
5857
+ { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: $(n, 15) },
5858
+ { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: $(75, 12) }
5912
5859
  ];
5913
5860
  }
5914
5861
  function Je(t) {
5915
- const o = [
5862
+ const n = [
5916
5863
  t.wdStatus,
5917
5864
  t.msStatus,
5918
5865
  t.srv1Status,
@@ -5921,40 +5868,40 @@ function Je(t) {
5921
5868
  t.pdbStatus,
5922
5869
  t.sdbStatus
5923
5870
  ];
5924
- return o.includes("critical") ? "critical" : o.includes("warning") ? "warning" : o.includes("offline") ? "offline" : "online";
5871
+ return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
5925
5872
  }
5926
- function Pi(t) {
5927
- const o = Je(t), n = o === "critical" || o === "offline", i = o === "warning";
5873
+ function $i(t) {
5874
+ const n = Je(t), o = n === "critical" || n === "offline", i = n === "warning";
5928
5875
  return [
5929
5876
  {
5930
5877
  label: "Uptime",
5931
- value: n ? "94.20%" : "99.97%",
5932
- color: n ? "#ff2255" : "#00ff88"
5878
+ value: o ? "94.20%" : "99.97%",
5879
+ color: o ? "#ff2255" : "#00ff88"
5933
5880
  },
5934
5881
  {
5935
5882
  label: "Avg Latency",
5936
5883
  value: i ? "98ms" : "18ms",
5937
5884
  color: i ? "#ff8c00" : "#00e5ff"
5938
5885
  },
5939
- { label: "Active Users", value: n ? "812" : "1,243", color: "#bb55ff" },
5940
- { label: "Throughput", value: `${n ? "1.8k" : "4.2k"} req/s`, color: "#fff" },
5886
+ { label: "Active Users", value: o ? "812" : "1,243", color: "#bb55ff" },
5887
+ { label: "Throughput", value: `${o ? "1.8k" : "4.2k"} req/s`, color: "#fff" },
5941
5888
  {
5942
5889
  label: "Error Rate",
5943
- value: n ? "3.85%" : i ? "0.72%" : "0.01%",
5944
- color: n ? "#ff2255" : i ? "#ff8c00" : "#00ff88"
5890
+ value: o ? "3.85%" : i ? "0.72%" : "0.01%",
5891
+ color: o ? "#ff2255" : i ? "#ff8c00" : "#00ff88"
5945
5892
  }
5946
5893
  ];
5947
5894
  }
5948
- function Ci(t) {
5949
- const o = Je(t), n = o === "critical" || o === "offline", i = o === "warning";
5895
+ function ki(t) {
5896
+ const n = Je(t), o = n === "critical" || n === "offline", i = n === "warning";
5950
5897
  return [
5951
5898
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
5952
- ...n ? [{ level: "critical", message: "Critical Component Failure" }] : [],
5953
- ...i && !n ? [{ level: "warning", message: "Component Warning State" }] : [],
5954
- ...!n && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
5899
+ ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
5900
+ ...i && !o ? [{ level: "warning", message: "Component Warning State" }] : [],
5901
+ ...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
5955
5902
  ];
5956
5903
  }
5957
- const pi = [
5904
+ const si = [
5958
5905
  { from: [330, 120], to: [220, 260], visibleAtPhase: 3 },
5959
5906
  { from: [330, 120], to: [440, 260], visibleAtPhase: 3 },
5960
5907
  { from: [220, 260], to: [165, 390], visibleAtPhase: 4 },
@@ -5967,8 +5914,8 @@ const pi = [
5967
5914
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
5968
5915
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
5969
5916
  ];
5970
- function fi({ config: t }) {
5971
- const o = J.useContext(ae), n = o?.rotateY ?? 20, i = o?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: f, pdbStatus: c, sdbStatus: p, dbSync: h } = t;
5917
+ function di({ config: t }) {
5918
+ const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: f, pdbStatus: c, sdbStatus: p, dbSync: h } = t;
5972
5919
  return /* @__PURE__ */ d(Ce, { children: [
5973
5920
  /* @__PURE__ */ e(
5974
5921
  T,
@@ -5998,13 +5945,13 @@ function fi({ config: t }) {
5998
5945
  name: "WEB-DISP",
5999
5946
  status: r,
6000
5947
  context: { traffic: 78 },
6001
- subComponents: yt(r),
6002
- graphSeries: mt({ traffic: 78 })
5948
+ subComponents: gt(r),
5949
+ graphSeries: yt({ traffic: 78 })
6003
5950
  },
6004
5951
  children: /* @__PURE__ */ e(
6005
5952
  pt,
6006
5953
  {
6007
- rotateY: n,
5954
+ rotateY: o,
6008
5955
  autoRotate: i,
6009
5956
  status: r,
6010
5957
  name: "WEB-DISP",
@@ -6031,13 +5978,13 @@ function fi({ config: t }) {
6031
5978
  name: "MSG-SRV",
6032
5979
  status: a,
6033
5980
  context: { queueDepth: 45 },
6034
- subComponents: di(a),
6035
- graphSeries: ci({ queueDepth: 45 })
5981
+ subComponents: ai(a),
5982
+ graphSeries: li({ queueDepth: 45 })
6036
5983
  },
6037
5984
  children: /* @__PURE__ */ e(
6038
- Jt,
5985
+ Zt,
6039
5986
  {
6040
- rotateY: -n,
5987
+ rotateY: -o,
6041
5988
  autoRotate: i,
6042
5989
  status: a,
6043
5990
  name: "MSG-SRV",
@@ -6071,7 +6018,7 @@ function fi({ config: t }) {
6071
6018
  children: /* @__PURE__ */ e(
6072
6019
  ue,
6073
6020
  {
6074
- rotateY: n,
6021
+ rotateY: o,
6075
6022
  autoRotate: i,
6076
6023
  status: s,
6077
6024
  name: "APP-01",
@@ -6104,7 +6051,7 @@ function fi({ config: t }) {
6104
6051
  children: /* @__PURE__ */ e(
6105
6052
  ue,
6106
6053
  {
6107
- rotateY: n,
6054
+ rotateY: o,
6108
6055
  autoRotate: i,
6109
6056
  status: l,
6110
6057
  name: "APP-02",
@@ -6137,7 +6084,7 @@ function fi({ config: t }) {
6137
6084
  children: /* @__PURE__ */ e(
6138
6085
  ue,
6139
6086
  {
6140
- rotateY: n,
6087
+ rotateY: o,
6141
6088
  autoRotate: i,
6142
6089
  status: f,
6143
6090
  name: "APP-03",
@@ -6170,7 +6117,7 @@ function fi({ config: t }) {
6170
6117
  children: /* @__PURE__ */ e(
6171
6118
  Ie,
6172
6119
  {
6173
- rotateY: -n,
6120
+ rotateY: -o,
6174
6121
  autoRotate: i,
6175
6122
  status: c,
6176
6123
  name: "DB-PRI",
@@ -6203,7 +6150,7 @@ function fi({ config: t }) {
6203
6150
  children: /* @__PURE__ */ e(
6204
6151
  Ie,
6205
6152
  {
6206
- rotateY: n,
6153
+ rotateY: o,
6207
6154
  autoRotate: i,
6208
6155
  status: p,
6209
6156
  name: "DB-STB",
@@ -6227,25 +6174,25 @@ function fi({ config: t }) {
6227
6174
  children: /* @__PURE__ */ e(ct, { synced: h, latencyMs: h ? 8 : 342 })
6228
6175
  }
6229
6176
  ),
6230
- /* @__PURE__ */ e(hi, { config: t })
6177
+ /* @__PURE__ */ e(ci, { config: t })
6231
6178
  ] });
6232
6179
  }
6233
- function hi({ config: t }) {
6234
- const o = J.useContext(ae), { wdStatus: n, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: f, dbSync: c } = t, p = o?.isSelected && o?.isExpandedPos;
6235
- return o?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6180
+ function ci({ config: t }) {
6181
+ const n = J.useContext(ae), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: f, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
6182
+ return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6236
6183
  /* @__PURE__ */ e(
6237
6184
  O,
6238
6185
  {
6239
6186
  ex: 220,
6240
6187
  ey: 260,
6241
- status: n,
6188
+ status: o,
6242
6189
  title: "WEB-DISP",
6243
- msg: n === "critical" || n === "offline" ? "Gateway timeout detected." : "High latency detected.",
6190
+ msg: o === "critical" || o === "offline" ? "Gateway timeout detected." : "High latency detected.",
6244
6191
  offsetX: -90,
6245
6192
  offsetY: -40,
6246
6193
  align: "left",
6247
6194
  isVisible: !!p,
6248
- internalRef: n !== "online" ? "PORT-3" : void 0
6195
+ internalRef: o !== "online" ? "PORT-3" : void 0
6249
6196
  }
6250
6197
  ),
6251
6198
  /* @__PURE__ */ e(
@@ -6355,20 +6302,20 @@ function hi({ config: t }) {
6355
6302
  )
6356
6303
  ] }) : null;
6357
6304
  }
6358
- function Ei({ config: t, ...o }) {
6305
+ function Ri({ config: t, ...n }) {
6359
6306
  return /* @__PURE__ */ e(
6360
6307
  dt,
6361
6308
  {
6362
6309
  name: t.name,
6363
6310
  status: Je(t),
6364
- connections: pi,
6365
- ...o,
6366
- children: /* @__PURE__ */ e(fi, { config: t })
6311
+ connections: si,
6312
+ ...n,
6313
+ children: /* @__PURE__ */ e(di, { config: t })
6367
6314
  }
6368
6315
  );
6369
6316
  }
6370
6317
  function et(t) {
6371
- const o = [
6318
+ const n = [
6372
6319
  t.dispStatus,
6373
6320
  t.srv1Status,
6374
6321
  t.srv2Status,
@@ -6376,15 +6323,15 @@ function et(t) {
6376
6323
  t.pdbStatus,
6377
6324
  t.sdbStatus
6378
6325
  ];
6379
- return o.includes("critical") ? "critical" : o.includes("warning") ? "warning" : o.includes("offline") ? "offline" : "online";
6326
+ return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
6380
6327
  }
6381
- function Ti(t) {
6382
- const o = et(t), n = o === "critical" || o === "offline", i = o === "warning";
6328
+ function Pi(t) {
6329
+ const n = et(t), o = n === "critical" || n === "offline", i = n === "warning";
6383
6330
  return [
6384
6331
  {
6385
6332
  label: "Uptime",
6386
- value: n ? "92.14%" : "99.98%",
6387
- color: n ? "#ff2255" : "#00ff88"
6333
+ value: o ? "92.14%" : "99.98%",
6334
+ color: o ? "#ff2255" : "#00ff88"
6388
6335
  },
6389
6336
  {
6390
6337
  label: "Avg Latency",
@@ -6395,21 +6342,21 @@ function Ti(t) {
6395
6342
  { label: "Throughput", value: "12.4k req/s", color: "#fff" },
6396
6343
  {
6397
6344
  label: "Error Rate",
6398
- value: n ? "5.42%" : i ? "1.20%" : "0.01%",
6399
- color: n ? "#ff2255" : i ? "#ff8c00" : "#00ff88"
6345
+ value: o ? "5.42%" : i ? "1.20%" : "0.01%",
6346
+ color: o ? "#ff2255" : i ? "#ff8c00" : "#00ff88"
6400
6347
  }
6401
6348
  ];
6402
6349
  }
6403
- function Ai(t) {
6404
- const o = et(t), n = o === "critical" || o === "offline", i = o === "warning";
6350
+ function Ci(t) {
6351
+ const n = et(t), o = n === "critical" || n === "offline", i = n === "warning";
6405
6352
  return [
6406
6353
  ...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
6407
- ...n ? [{ level: "critical", message: "Critical Component Failure" }] : [],
6408
- ...i && !n ? [{ level: "warning", message: "Component Warning State" }] : [],
6409
- ...!n && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6354
+ ...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
6355
+ ...i && !o ? [{ level: "warning", message: "Component Warning State" }] : [],
6356
+ ...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
6410
6357
  ];
6411
6358
  }
6412
- const ui = [
6359
+ const pi = [
6413
6360
  { from: [330, 120], to: [330, 260], visibleAtPhase: 3 },
6414
6361
  { from: [330, 260], to: [165, 390], visibleAtPhase: 4 },
6415
6362
  { from: [330, 260], to: [330, 390], visibleAtPhase: 4 },
@@ -6418,8 +6365,8 @@ const ui = [
6418
6365
  { from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
6419
6366
  { from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
6420
6367
  ];
6421
- function gi({ config: t }) {
6422
- const o = J.useContext(ae), n = o?.rotateY ?? 20, i = o?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: f, sdbStatus: c, dbSync: p } = t;
6368
+ function fi({ config: t }) {
6369
+ const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: f, sdbStatus: c, dbSync: p } = t;
6423
6370
  return /* @__PURE__ */ d(Ce, { children: [
6424
6371
  /* @__PURE__ */ e(
6425
6372
  T,
@@ -6449,13 +6396,13 @@ function gi({ config: t }) {
6449
6396
  name: "DISP-01",
6450
6397
  status: r,
6451
6398
  context: { traffic: 78 },
6452
- subComponents: yt(r),
6453
- graphSeries: mt({ traffic: 78 })
6399
+ subComponents: gt(r),
6400
+ graphSeries: yt({ traffic: 78 })
6454
6401
  },
6455
6402
  children: /* @__PURE__ */ e(
6456
6403
  pt,
6457
6404
  {
6458
- rotateY: n,
6405
+ rotateY: o,
6459
6406
  autoRotate: i,
6460
6407
  status: r,
6461
6408
  name: "DISP-01",
@@ -6488,7 +6435,7 @@ function gi({ config: t }) {
6488
6435
  children: /* @__PURE__ */ e(
6489
6436
  ue,
6490
6437
  {
6491
- rotateY: n,
6438
+ rotateY: o,
6492
6439
  autoRotate: i,
6493
6440
  status: a,
6494
6441
  name: "APP-01",
@@ -6521,7 +6468,7 @@ function gi({ config: t }) {
6521
6468
  children: /* @__PURE__ */ e(
6522
6469
  ue,
6523
6470
  {
6524
- rotateY: n,
6471
+ rotateY: o,
6525
6472
  autoRotate: i,
6526
6473
  status: s,
6527
6474
  name: "APP-02",
@@ -6554,7 +6501,7 @@ function gi({ config: t }) {
6554
6501
  children: /* @__PURE__ */ e(
6555
6502
  ue,
6556
6503
  {
6557
- rotateY: n,
6504
+ rotateY: o,
6558
6505
  autoRotate: i,
6559
6506
  status: l,
6560
6507
  name: "APP-03",
@@ -6587,7 +6534,7 @@ function gi({ config: t }) {
6587
6534
  children: /* @__PURE__ */ e(
6588
6535
  Ie,
6589
6536
  {
6590
- rotateY: -n,
6537
+ rotateY: -o,
6591
6538
  autoRotate: i,
6592
6539
  status: f,
6593
6540
  name: "DB-PRI",
@@ -6620,7 +6567,7 @@ function gi({ config: t }) {
6620
6567
  children: /* @__PURE__ */ e(
6621
6568
  Ie,
6622
6569
  {
6623
- rotateY: n,
6570
+ rotateY: o,
6624
6571
  autoRotate: i,
6625
6572
  status: c,
6626
6573
  name: "DB-STB",
@@ -6644,25 +6591,25 @@ function gi({ config: t }) {
6644
6591
  children: /* @__PURE__ */ e(ct, { synced: p, latencyMs: p ? 8 : 342 })
6645
6592
  }
6646
6593
  ),
6647
- /* @__PURE__ */ e(bi, { config: t })
6594
+ /* @__PURE__ */ e(hi, { config: t })
6648
6595
  ] });
6649
6596
  }
6650
- function bi({ config: t }) {
6651
- const o = J.useContext(ae), { dispStatus: n, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: f } = t, c = o?.isSelected && o?.isExpandedPos;
6652
- return o?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6597
+ function hi({ config: t }) {
6598
+ const n = J.useContext(ae), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: f } = t, c = n?.isSelected && n?.isExpandedPos;
6599
+ return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
6653
6600
  /* @__PURE__ */ e(
6654
6601
  O,
6655
6602
  {
6656
6603
  ex: 330,
6657
6604
  ey: 260,
6658
- status: n,
6605
+ status: o,
6659
6606
  title: "DISP-01",
6660
- msg: n === "critical" || n === "offline" ? "Gateway timeout detected." : "High latency detected.",
6607
+ msg: o === "critical" || o === "offline" ? "Gateway timeout detected." : "High latency detected.",
6661
6608
  offsetX: -90,
6662
6609
  offsetY: -40,
6663
6610
  align: "left",
6664
6611
  isVisible: !!c,
6665
- internalRef: n !== "online" ? "PORT-3" : void 0
6612
+ internalRef: o !== "online" ? "PORT-3" : void 0
6666
6613
  }
6667
6614
  ),
6668
6615
  /* @__PURE__ */ e(
@@ -6757,72 +6704,70 @@ function bi({ config: t }) {
6757
6704
  )
6758
6705
  ] }) : null;
6759
6706
  }
6760
- function Li({ config: t, ...o }) {
6707
+ function Ei({ config: t, ...n }) {
6761
6708
  return /* @__PURE__ */ e(
6762
6709
  dt,
6763
6710
  {
6764
6711
  name: t.name,
6765
6712
  status: et(t),
6766
- connections: ui,
6767
- ...o,
6768
- children: /* @__PURE__ */ e(gi, { config: t })
6713
+ connections: pi,
6714
+ ...n,
6715
+ children: /* @__PURE__ */ e(fi, { config: t })
6769
6716
  }
6770
6717
  );
6771
6718
  }
6772
6719
  export {
6773
- Ri as AIOPsDashboard,
6720
+ Si as AIOPsDashboard,
6774
6721
  Oe as CPU3D,
6775
- zt as Carousel,
6776
- qe as CarouselContext,
6722
+ Wt as Carousel,
6723
+ Ge as CarouselContext,
6777
6724
  Ke as CarouselItemContext,
6778
- Ot as ComponentDialog,
6779
- $i as ComponentDrillView,
6780
- li as DEFAULT_BACKGROUND,
6781
- si as DEFAULT_LOGO,
6725
+ It as ComponentDialog,
6726
+ wi as ComponentDrillView,
6782
6727
  Ie as Database3D,
6783
6728
  ye as DriveBay3D,
6784
- ui as EXCHANGE_CONNECTIONS,
6785
- Li as ExchangeService,
6786
- wi as HOLO_BLUE,
6787
- vi as HOLO_CYAN,
6788
- Ge as HOLO_GLASS,
6729
+ pi as EXCHANGE_CONNECTIONS,
6730
+ Ei as ExchangeService,
6731
+ mi as HOLO_BLUE,
6732
+ yi as HOLO_CYAN,
6733
+ Qe as HOLO_GLASS,
6789
6734
  we as HOLO_SURFACE,
6790
- ti as HistoricalGraphPanel,
6791
- Bt as HoloBase,
6735
+ ei as HistoricalGraphPanel,
6736
+ Mt as HoloBase,
6792
6737
  ft as Human3D,
6793
6738
  De as Memory3D,
6794
- Jt as MessageServer3D,
6739
+ Zt as MessageServer3D,
6795
6740
  ut as NetworkBlock3D,
6796
6741
  O as NodeCallout,
6797
6742
  Le as Platter3D,
6798
6743
  M as Port3D,
6799
- Ei as SAPService,
6800
- pi as SAP_CONNECTIONS,
6744
+ Ri as SAPService,
6745
+ si as SAP_CONNECTIONS,
6801
6746
  S as STATUS_CFG,
6802
6747
  ue as Server3D,
6803
6748
  dt as Service,
6804
6749
  ae as ServiceContext,
6805
- Lt as ServiceDialog,
6750
+ At as ServiceDialog,
6806
6751
  T as ServiceNode,
6807
- Nt as SvgConnection,
6752
+ zt as SvgConnection,
6808
6753
  ct as SyncBridge,
6809
6754
  L as ThreadPool3D,
6810
6755
  pt as WebDispatcher3D,
6811
- Ai as computeExchangeDialogAlerts,
6812
- Ti as computeExchangeDialogMetrics,
6756
+ Ci as computeExchangeDialogAlerts,
6757
+ Pi as computeExchangeDialogMetrics,
6813
6758
  et as computeExchangeServiceStatus,
6814
- Ci as computeSAPDialogAlerts,
6815
- Pi as computeSAPDialogMetrics,
6759
+ ki as computeSAPDialogAlerts,
6760
+ $i as computeSAPDialogMetrics,
6816
6761
  Je as computeSAPServiceStatus,
6817
6762
  ze as getDatabaseGraphSeries,
6818
6763
  We as getDatabaseSubComponents,
6819
- mt as getDispatcherGraphSeries,
6820
- yt as getDispatcherSubComponents,
6821
- ci as getMessageServerGraphSeries,
6822
- di as getMessageServerSubComponents,
6764
+ yt as getDispatcherGraphSeries,
6765
+ gt as getDispatcherSubComponents,
6766
+ li as getMessageServerGraphSeries,
6767
+ ai as getMessageServerSubComponents,
6823
6768
  xe as getServerGraphSeries,
6824
6769
  me as getServerSubComponents,
6825
- Qe as makeFaceStyles,
6826
- Si as useCarouselContext,
6827
- ki as useCarouselItemContext
6770
+ qe as makeFaceStyles,
6771
+ xi as useCarouselContext,
6772
+ vi as useCarouselItemContext
6828
6773
  };