react-aiops 0.0.3 → 0.1.0
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/components/Carousel.d.ts.map +1 -1
- package/dist/components/CarouselContext.d.ts +24 -0
- package/dist/components/CarouselContext.d.ts.map +1 -0
- package/dist/components/Service.d.ts +1 -1
- package/dist/components/Service.d.ts.map +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.js +676 -652
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as d, jsx as e, Fragment as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { jsxs as d, jsx as e, Fragment as Ce } from "react/jsx-runtime";
|
|
2
|
+
import J, { createContext as _e, useContext as ve, useState as T, 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
|
|
8
|
+
function At({
|
|
9
9
|
name: t,
|
|
10
10
|
status: n,
|
|
11
11
|
dbSync: o = !0,
|
|
@@ -146,7 +146,7 @@ function ft({
|
|
|
146
146
|
}
|
|
147
147
|
),
|
|
148
148
|
c.map((p, f) => {
|
|
149
|
-
const b =
|
|
149
|
+
const b = Tt[p.level];
|
|
150
150
|
return /* @__PURE__ */ d(
|
|
151
151
|
"div",
|
|
152
152
|
{
|
|
@@ -177,13 +177,13 @@ function ft({
|
|
|
177
177
|
}
|
|
178
178
|
);
|
|
179
179
|
}
|
|
180
|
-
const
|
|
180
|
+
const w = {
|
|
181
181
|
online: { color: "#00e5ff", glow: "rgba(0,229,255,0.55)" },
|
|
182
182
|
warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.55)" },
|
|
183
183
|
critical: { color: "#ff2255", glow: "rgba(255,34,85,0.55)" },
|
|
184
184
|
offline: { color: "#1e3a5a", glow: "rgba(30,58,90,0.25)" }
|
|
185
|
-
},
|
|
186
|
-
function
|
|
185
|
+
}, yi = "#00e5ff", mi = "#0055cc", we = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", je = "linear-gradient(180deg, rgba(10,25,50,0.35) 0%, rgba(5,15,35,0.25) 60%, rgba(3,10,20,0.15) 100%)";
|
|
186
|
+
function Xe(t, n, o) {
|
|
187
187
|
const i = {
|
|
188
188
|
position: "absolute",
|
|
189
189
|
overflow: "hidden",
|
|
@@ -233,35 +233,35 @@ function Be(t, n, o) {
|
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
|
-
const
|
|
237
|
-
function
|
|
238
|
-
return
|
|
236
|
+
const Ue = "cubic-bezier(0.34, 1.56, 0.64, 1)", Ye = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
237
|
+
function at(t) {
|
|
238
|
+
return w[t]?.color ?? w.online.color;
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Lt(t, n, o) {
|
|
241
241
|
return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function Me(t, n, o, i) {
|
|
244
244
|
return t === "offline" ? "offline" : t === "critical" && n >= i ? "critical" : (t === "critical" || t === "warning") && n >= o ? "warning" : "online";
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function It({
|
|
247
247
|
component: t,
|
|
248
248
|
onClose: n,
|
|
249
249
|
visible: o,
|
|
250
250
|
sceneWidth: i = 660,
|
|
251
251
|
sceneHeight: r = 600
|
|
252
252
|
}) {
|
|
253
|
-
const { type: a, name: s, status: l, ex: h, ey: c, context: p = {} } = t, f =
|
|
253
|
+
const { type: a, name: s, status: l, ex: h, ey: c, context: p = {} } = t, f = at(l), b = h >= i / 2, g = c >= r / 2, u = {
|
|
254
254
|
position: "fixed",
|
|
255
255
|
...b ? { right: 28 } : { left: 28 },
|
|
256
256
|
...g ? { bottom: 110 } : { top: 72 }
|
|
257
|
-
}, m = b ? 40 : -40,
|
|
257
|
+
}, m = b ? 40 : -40, S = g ? 30 : -30, y = p.cpuLoad ?? p.traffic ?? 50, k = p.memLoad ?? p.queueDepth ?? 60, x = p.capacity ?? 72, W = Me(l, y, 70, 85), M = Me(l, k, 75, 88), P = Me(l, x, 75, 90), Y = [
|
|
258
258
|
{
|
|
259
259
|
id: "cpu",
|
|
260
260
|
label: a === "dispatcher" ? "TRAFFIC" : a === "messageServer" ? "QUEUE" : "CPU",
|
|
261
261
|
sublabel: a === "dispatcher" ? "PORT LOAD" : a === "messageServer" ? "QUEUE DEPTH" : "PROCESSOR",
|
|
262
262
|
value: y,
|
|
263
263
|
unit: "%",
|
|
264
|
-
status:
|
|
264
|
+
status: W,
|
|
265
265
|
icon: "cpu",
|
|
266
266
|
delay: 0
|
|
267
267
|
},
|
|
@@ -269,9 +269,9 @@ function ut({
|
|
|
269
269
|
id: "mem",
|
|
270
270
|
label: "MEMORY",
|
|
271
271
|
sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
|
|
272
|
-
value:
|
|
272
|
+
value: k,
|
|
273
273
|
unit: "%",
|
|
274
|
-
status:
|
|
274
|
+
status: M,
|
|
275
275
|
icon: "mem",
|
|
276
276
|
delay: 1
|
|
277
277
|
},
|
|
@@ -279,9 +279,9 @@ function ut({
|
|
|
279
279
|
id: "storage",
|
|
280
280
|
label: "STORAGE",
|
|
281
281
|
sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
|
|
282
|
-
value:
|
|
282
|
+
value: x,
|
|
283
283
|
unit: "%",
|
|
284
|
-
status:
|
|
284
|
+
status: P,
|
|
285
285
|
icon: "disk",
|
|
286
286
|
delay: 2
|
|
287
287
|
}
|
|
@@ -300,14 +300,14 @@ function ut({
|
|
|
300
300
|
fontFamily: "'Courier New', monospace",
|
|
301
301
|
overflow: "hidden",
|
|
302
302
|
opacity: o ? 1 : 0,
|
|
303
|
-
transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${
|
|
304
|
-
transition: `opacity 0.45s ${
|
|
303
|
+
transform: o ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${S}px)`,
|
|
304
|
+
transition: `opacity 0.45s ${Ye}, transform 0.55s ${Ue}`,
|
|
305
305
|
pointerEvents: o ? "auto" : "none",
|
|
306
306
|
zIndex: 9999,
|
|
307
307
|
animation: o ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
|
|
308
308
|
"--dialog-color": f
|
|
309
309
|
},
|
|
310
|
-
onClick: (
|
|
310
|
+
onClick: (v) => v.stopPropagation(),
|
|
311
311
|
children: [
|
|
312
312
|
/* @__PURE__ */ e(
|
|
313
313
|
"div",
|
|
@@ -371,12 +371,12 @@ function ut({
|
|
|
371
371
|
borderRight: `2px solid ${f}66`,
|
|
372
372
|
borderRadius: "0 0 14px 0"
|
|
373
373
|
}
|
|
374
|
-
].map((
|
|
374
|
+
].map((v, L) => /* @__PURE__ */ e(
|
|
375
375
|
"div",
|
|
376
376
|
{
|
|
377
|
-
style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...
|
|
377
|
+
style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...v }
|
|
378
378
|
},
|
|
379
|
-
|
|
379
|
+
L
|
|
380
380
|
)),
|
|
381
381
|
/* @__PURE__ */ d(
|
|
382
382
|
"div",
|
|
@@ -455,8 +455,8 @@ function ut({
|
|
|
455
455
|
/* @__PURE__ */ e(
|
|
456
456
|
"button",
|
|
457
457
|
{
|
|
458
|
-
onClick: (
|
|
459
|
-
|
|
458
|
+
onClick: (v) => {
|
|
459
|
+
v.stopPropagation(), n();
|
|
460
460
|
},
|
|
461
461
|
style: {
|
|
462
462
|
width: 34,
|
|
@@ -474,11 +474,11 @@ function ut({
|
|
|
474
474
|
lineHeight: 1,
|
|
475
475
|
flexShrink: 0
|
|
476
476
|
},
|
|
477
|
-
onMouseEnter: (
|
|
478
|
-
|
|
477
|
+
onMouseEnter: (v) => {
|
|
478
|
+
v.currentTarget.style.background = `${f}22`, v.currentTarget.style.boxShadow = `0 0 12px ${f}44`;
|
|
479
479
|
},
|
|
480
|
-
onMouseLeave: (
|
|
481
|
-
|
|
480
|
+
onMouseLeave: (v) => {
|
|
481
|
+
v.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${f}08 100%)`, v.currentTarget.style.boxShadow = "none";
|
|
482
482
|
},
|
|
483
483
|
children: "×"
|
|
484
484
|
}
|
|
@@ -497,7 +497,7 @@ function ut({
|
|
|
497
497
|
position: "relative",
|
|
498
498
|
zIndex: 2
|
|
499
499
|
},
|
|
500
|
-
children:
|
|
500
|
+
children: Y.map((v) => /* @__PURE__ */ e(Ot, { metric: v, visible: o, accentColor: f }, v.id))
|
|
501
501
|
}
|
|
502
502
|
),
|
|
503
503
|
/* @__PURE__ */ d(
|
|
@@ -546,12 +546,12 @@ function ut({
|
|
|
546
546
|
}
|
|
547
547
|
);
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function Ot({
|
|
550
550
|
metric: t,
|
|
551
551
|
visible: n,
|
|
552
552
|
accentColor: o
|
|
553
553
|
}) {
|
|
554
|
-
const { label: i, sublabel: r, value: a, unit: s, status: l, icon: h, delay: c } = t, p =
|
|
554
|
+
const { label: i, sublabel: r, value: a, unit: s, status: l, icon: h, delay: c } = t, p = Lt(a, 70, 85), f = at(l);
|
|
555
555
|
return /* @__PURE__ */ d(
|
|
556
556
|
"div",
|
|
557
557
|
{
|
|
@@ -561,7 +561,7 @@ function bt({
|
|
|
561
561
|
gap: 16,
|
|
562
562
|
opacity: n ? 1 : 0,
|
|
563
563
|
transform: n ? "translateY(0)" : "translateY(12px)",
|
|
564
|
-
transition: `opacity 0.4s ${
|
|
564
|
+
transition: `opacity 0.4s ${Ye} ${0.3 + c * 0.12}s, transform 0.5s ${Ue} ${0.3 + c * 0.12}s`
|
|
565
565
|
},
|
|
566
566
|
children: [
|
|
567
567
|
/* @__PURE__ */ d(
|
|
@@ -579,10 +579,10 @@ function bt({
|
|
|
579
579
|
flexShrink: 0,
|
|
580
580
|
position: "relative",
|
|
581
581
|
overflow: "hidden",
|
|
582
|
-
animation: n ? `comp-dialog-icon-pop 0.5s ${
|
|
582
|
+
animation: n ? `comp-dialog-icon-pop 0.5s ${Ue} ${0.35 + c * 0.12}s both` : "none"
|
|
583
583
|
},
|
|
584
584
|
children: [
|
|
585
|
-
/* @__PURE__ */ e(
|
|
585
|
+
/* @__PURE__ */ e(Dt, { type: h, color: f }),
|
|
586
586
|
(l === "warning" || l === "critical") && /* @__PURE__ */ e(
|
|
587
587
|
"div",
|
|
588
588
|
{
|
|
@@ -681,7 +681,7 @@ function bt({
|
|
|
681
681
|
background: `linear-gradient(90deg, ${p}66, ${p})`,
|
|
682
682
|
boxShadow: `0 0 8px ${p}44`,
|
|
683
683
|
transformOrigin: "left center",
|
|
684
|
-
animation: n ? `comp-dialog-metric-fill 0.8s ${
|
|
684
|
+
animation: n ? `comp-dialog-metric-fill 0.8s ${Ye} ${0.4 + c * 0.12}s both` : "none"
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
687
|
),
|
|
@@ -747,7 +747,7 @@ function bt({
|
|
|
747
747
|
}
|
|
748
748
|
);
|
|
749
749
|
}
|
|
750
|
-
function
|
|
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
752
|
/* @__PURE__ */ e("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2", stroke: n, strokeWidth: "1.5" }),
|
|
753
753
|
/* @__PURE__ */ e(
|
|
@@ -832,7 +832,14 @@ function gt({ type: t, color: n }) {
|
|
|
832
832
|
/* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke: n, strokeWidth: "0.8" })
|
|
833
833
|
] });
|
|
834
834
|
}
|
|
835
|
-
|
|
835
|
+
const Qe = _e(null), qe = _e({ index: 0 });
|
|
836
|
+
function xi() {
|
|
837
|
+
return ve(Qe);
|
|
838
|
+
}
|
|
839
|
+
function vi() {
|
|
840
|
+
return ve(qe);
|
|
841
|
+
}
|
|
842
|
+
function Wt({
|
|
836
843
|
children: t,
|
|
837
844
|
logoUrl: n,
|
|
838
845
|
viewState: o,
|
|
@@ -849,42 +856,55 @@ function yt({
|
|
|
849
856
|
width: g = 950,
|
|
850
857
|
height: u = 790,
|
|
851
858
|
onSelectSystem: m,
|
|
852
|
-
onBackgroundClick:
|
|
859
|
+
onBackgroundClick: S,
|
|
853
860
|
onComponentClick: y,
|
|
854
|
-
onCloseDrill:
|
|
855
|
-
selectedSystemStatus:
|
|
856
|
-
selectedSystemDbSync:
|
|
857
|
-
selectedSystemMetrics:
|
|
858
|
-
selectedSystemAlerts:
|
|
861
|
+
onCloseDrill: k,
|
|
862
|
+
selectedSystemStatus: x = "online",
|
|
863
|
+
selectedSystemDbSync: W = !0,
|
|
864
|
+
selectedSystemMetrics: M,
|
|
865
|
+
selectedSystemAlerts: P
|
|
859
866
|
}) {
|
|
860
|
-
const [
|
|
861
|
-
|
|
862
|
-
let
|
|
867
|
+
const [Y, v] = T(0);
|
|
868
|
+
Ee(() => {
|
|
869
|
+
let O;
|
|
863
870
|
if ((o === "compact" || o === "collapsing") && f) {
|
|
864
|
-
const
|
|
865
|
-
|
|
871
|
+
const B = () => {
|
|
872
|
+
v((ne) => ne + b), O = requestAnimationFrame(B);
|
|
866
873
|
};
|
|
867
|
-
|
|
874
|
+
O = requestAnimationFrame(B);
|
|
868
875
|
}
|
|
869
|
-
return () => cancelAnimationFrame(
|
|
876
|
+
return () => cancelAnimationFrame(O);
|
|
870
877
|
}, [o, f, b]);
|
|
871
|
-
const
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
878
|
+
const L = J.Children.toArray(t), Q = L.length, V = Et(() => ({
|
|
879
|
+
totalSystems: Q,
|
|
880
|
+
carouselRotation: Y,
|
|
881
|
+
viewState: o,
|
|
882
|
+
animPhase: i,
|
|
883
|
+
selectedSystem: r,
|
|
884
|
+
selectedComponent: a,
|
|
885
|
+
rotateY: l,
|
|
886
|
+
autoRotateComponents: h,
|
|
887
|
+
componentScale: c,
|
|
888
|
+
drillZoom: p,
|
|
889
|
+
onSelectSystem: m,
|
|
890
|
+
onComponentClick: y,
|
|
891
|
+
containerWidth: g
|
|
892
|
+
}), [
|
|
893
|
+
Q,
|
|
894
|
+
Y,
|
|
895
|
+
o,
|
|
896
|
+
i,
|
|
897
|
+
r,
|
|
898
|
+
a,
|
|
899
|
+
l,
|
|
900
|
+
h,
|
|
901
|
+
c,
|
|
902
|
+
p,
|
|
903
|
+
m,
|
|
904
|
+
y,
|
|
905
|
+
g
|
|
906
|
+
]), te = L.map((O, B) => /* @__PURE__ */ e(qe.Provider, { value: { index: B }, children: O }, B)), ie = o === "expanded" || o === "expanding" && i >= 4;
|
|
907
|
+
return /* @__PURE__ */ d(Qe.Provider, { value: V, children: [
|
|
888
908
|
/* @__PURE__ */ d("div", { style: { position: "relative", width: g, height: u, margin: "0 auto", flexShrink: 0 }, children: [
|
|
889
909
|
n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
|
|
890
910
|
"img",
|
|
@@ -906,24 +926,24 @@ function yt({
|
|
|
906
926
|
}
|
|
907
927
|
}
|
|
908
928
|
),
|
|
909
|
-
|
|
929
|
+
te
|
|
910
930
|
] }),
|
|
911
|
-
r && /* @__PURE__ */ e("div", { onClick: (
|
|
912
|
-
|
|
931
|
+
r && /* @__PURE__ */ e("div", { onClick: (O) => O.stopPropagation(), children: /* @__PURE__ */ e(
|
|
932
|
+
At,
|
|
913
933
|
{
|
|
914
934
|
name: r,
|
|
915
|
-
status:
|
|
916
|
-
dbSync:
|
|
917
|
-
visible:
|
|
918
|
-
metrics:
|
|
919
|
-
alerts:
|
|
935
|
+
status: x,
|
|
936
|
+
dbSync: W,
|
|
937
|
+
visible: ie && !a,
|
|
938
|
+
metrics: M,
|
|
939
|
+
alerts: P
|
|
920
940
|
}
|
|
921
941
|
) }),
|
|
922
|
-
a && /* @__PURE__ */ e("div", { onClick: (
|
|
923
|
-
|
|
942
|
+
a && /* @__PURE__ */ e("div", { onClick: (O) => O.stopPropagation(), children: /* @__PURE__ */ e(
|
|
943
|
+
It,
|
|
924
944
|
{
|
|
925
945
|
component: a,
|
|
926
|
-
onClose:
|
|
946
|
+
onClose: k,
|
|
927
947
|
visible: s >= 0.3,
|
|
928
948
|
sceneWidth: g,
|
|
929
949
|
sceneHeight: u
|
|
@@ -931,7 +951,7 @@ function yt({
|
|
|
931
951
|
) })
|
|
932
952
|
] });
|
|
933
953
|
}
|
|
934
|
-
function
|
|
954
|
+
function zt({
|
|
935
955
|
x1: t,
|
|
936
956
|
y1: n,
|
|
937
957
|
x2: o,
|
|
@@ -978,7 +998,7 @@ function mt({
|
|
|
978
998
|
)
|
|
979
999
|
}
|
|
980
1000
|
),
|
|
981
|
-
r && /* @__PURE__ */ d(
|
|
1001
|
+
r && /* @__PURE__ */ d(Ce, { children: [
|
|
982
1002
|
/* @__PURE__ */ e("circle", { r: "3", fill: a, opacity: 0.85, children: /* @__PURE__ */ e(
|
|
983
1003
|
"animateMotion",
|
|
984
1004
|
{
|
|
@@ -998,14 +1018,14 @@ function mt({
|
|
|
998
1018
|
] })
|
|
999
1019
|
] });
|
|
1000
1020
|
}
|
|
1001
|
-
const
|
|
1021
|
+
const Nt = [
|
|
1002
1022
|
{ scale: 1, op: 1, delay: "0.0s", bw: "2px", glow: 1 },
|
|
1003
1023
|
{ scale: 0.82, op: 0.88, delay: "0.5s", bw: "1.5px", glow: 0.7 },
|
|
1004
1024
|
{ scale: 0.64, op: 0.72, delay: "1.0s", bw: "1px", glow: 0.5 },
|
|
1005
1025
|
{ scale: 0.47, op: 0.58, delay: "1.5s", bw: "1px", glow: 0.35 },
|
|
1006
1026
|
{ scale: 0.3, op: 0.45, delay: "2.0s", bw: "1px", glow: 0.25 }
|
|
1007
1027
|
];
|
|
1008
|
-
function
|
|
1028
|
+
function Mt({
|
|
1009
1029
|
children: t,
|
|
1010
1030
|
size: n = 230,
|
|
1011
1031
|
widthRatio: o = 1,
|
|
@@ -1171,7 +1191,7 @@ function vt({
|
|
|
1171
1191
|
background: `radial-gradient(ellipse, ${i}88 0%, ${i}33 40%, transparent 72%)`,
|
|
1172
1192
|
filter: "blur(12px)"
|
|
1173
1193
|
} }),
|
|
1174
|
-
|
|
1194
|
+
Nt.map((s, l) => /* @__PURE__ */ e("div", { style: {
|
|
1175
1195
|
position: "absolute",
|
|
1176
1196
|
width: a * s.scale,
|
|
1177
1197
|
height: n * s.scale,
|
|
@@ -1214,46 +1234,46 @@ function vt({
|
|
|
1214
1234
|
}, children: r })
|
|
1215
1235
|
] });
|
|
1216
1236
|
}
|
|
1217
|
-
const
|
|
1218
|
-
function
|
|
1237
|
+
const ae = _e(null), Bt = "cubic-bezier(0.34, 1.56, 0.64, 1)", et = 330, tt = 340, Ft = 660;
|
|
1238
|
+
function lt({
|
|
1219
1239
|
name: t,
|
|
1220
1240
|
status: n = "online",
|
|
1221
1241
|
connections: o = [],
|
|
1222
1242
|
baseConfig: i,
|
|
1223
1243
|
children: r,
|
|
1224
|
-
_index: a
|
|
1225
|
-
_totalSystems: s
|
|
1226
|
-
_carouselRotation: l
|
|
1227
|
-
_viewState: h
|
|
1228
|
-
_animPhase: c
|
|
1229
|
-
_selectedSystem: p
|
|
1230
|
-
_selectedComponent: f
|
|
1231
|
-
_rotateY: b
|
|
1232
|
-
_autoRotateComponents: g
|
|
1233
|
-
_componentScale: u
|
|
1234
|
-
_drillZoom: m
|
|
1235
|
-
_onSelectSystem:
|
|
1244
|
+
_index: a,
|
|
1245
|
+
_totalSystems: s,
|
|
1246
|
+
_carouselRotation: l,
|
|
1247
|
+
_viewState: h,
|
|
1248
|
+
_animPhase: c,
|
|
1249
|
+
_selectedSystem: p,
|
|
1250
|
+
_selectedComponent: f,
|
|
1251
|
+
_rotateY: b,
|
|
1252
|
+
_autoRotateComponents: g,
|
|
1253
|
+
_componentScale: u,
|
|
1254
|
+
_drillZoom: m,
|
|
1255
|
+
_onSelectSystem: S,
|
|
1236
1256
|
_onComponentClick: y,
|
|
1237
|
-
_containerWidth:
|
|
1257
|
+
_containerWidth: k
|
|
1238
1258
|
}) {
|
|
1239
|
-
const
|
|
1259
|
+
const x = ve(Qe), W = ve(qe), M = a ?? W.index, P = s ?? x?.totalSystems ?? 1, Y = l ?? x?.carouselRotation ?? 0, v = h ?? x?.viewState ?? "compact", L = c ?? x?.animPhase ?? 0, Q = p ?? x?.selectedSystem ?? null, V = f ?? x?.selectedComponent ?? null, te = b ?? x?.rotateY ?? 20, ie = g ?? x?.autoRotateComponents ?? !0, O = u ?? x?.componentScale ?? 0.35, B = m ?? x?.drillZoom ?? 3.3, ne = S ?? x?.onSelectSystem, Se = y ?? x?.onComponentClick, $e = k ?? x?.containerWidth ?? 950, C = Q === t, z = C && (v === "expanded" || v === "expanding" && L >= 1), j = !z, ke = ($e - Ft) / 2, le = et + ke, oe = M / P * Math.PI * 2 + Y, gt = 420, yt = 160, Re = le + Math.cos(oe) * gt, se = 450 + Math.sin(oe) * yt, mt = Math.round(se), ze = !C && (v === "expanding" || v === "expanded"), xt = ze ? 0 : 1, Pe = j ? 0.3 + (Math.sin(oe) + 1) * 0.1 : 1, vt = j ? Pe : O, Te = v === "compact" || v === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", Je = C && V, Ne = Je ? B : 1, wt = V?.ex ?? 330, St = V?.ey ?? 300, { size: $t = 90, color: kt = "#00e5ff", widthRatio: Rt = 3 } = i ?? {}, Pt = {
|
|
1240
1260
|
name: t,
|
|
1241
|
-
isSelected:
|
|
1242
|
-
isExpandedPos:
|
|
1243
|
-
isCompact:
|
|
1244
|
-
animPhase:
|
|
1245
|
-
compactCx:
|
|
1246
|
-
compactCy:
|
|
1247
|
-
groupScale:
|
|
1248
|
-
effectiveScale:
|
|
1249
|
-
transitionValue:
|
|
1250
|
-
rotateY:
|
|
1251
|
-
autoRotateComponents:
|
|
1252
|
-
onComponentClick:
|
|
1253
|
-
selectedComponentName:
|
|
1254
|
-
expandedOffsetX:
|
|
1261
|
+
isSelected: C,
|
|
1262
|
+
isExpandedPos: z,
|
|
1263
|
+
isCompact: j,
|
|
1264
|
+
animPhase: L,
|
|
1265
|
+
compactCx: Re,
|
|
1266
|
+
compactCy: se,
|
|
1267
|
+
groupScale: Pe,
|
|
1268
|
+
effectiveScale: vt,
|
|
1269
|
+
transitionValue: Te,
|
|
1270
|
+
rotateY: te,
|
|
1271
|
+
autoRotateComponents: ie,
|
|
1272
|
+
onComponentClick: Se,
|
|
1273
|
+
selectedComponentName: V?.name ?? null,
|
|
1274
|
+
expandedOffsetX: ke
|
|
1255
1275
|
};
|
|
1256
|
-
return /* @__PURE__ */ e(
|
|
1276
|
+
return /* @__PURE__ */ e(ae.Provider, { value: Pt, children: /* @__PURE__ */ d(
|
|
1257
1277
|
"div",
|
|
1258
1278
|
{
|
|
1259
1279
|
style: {
|
|
@@ -1263,21 +1283,21 @@ function Ke({
|
|
|
1263
1283
|
width: "100%",
|
|
1264
1284
|
height: "100%",
|
|
1265
1285
|
pointerEvents: "none",
|
|
1266
|
-
opacity:
|
|
1267
|
-
transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${
|
|
1268
|
-
filter:
|
|
1269
|
-
zIndex:
|
|
1270
|
-
transformOrigin: `${
|
|
1271
|
-
transform:
|
|
1286
|
+
opacity: xt,
|
|
1287
|
+
transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Bt}`,
|
|
1288
|
+
filter: j && Math.sin(oe) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
|
|
1289
|
+
zIndex: C ? 500 : ze ? 0 : mt,
|
|
1290
|
+
transformOrigin: `${le}px ${tt}px`,
|
|
1291
|
+
transform: Je ? `translate(${-(wt - et) * Ne}px, ${-(St - tt) * Ne}px) scale(${Ne})` : "none"
|
|
1272
1292
|
},
|
|
1273
1293
|
children: [
|
|
1274
|
-
|
|
1294
|
+
j && !ze && /* @__PURE__ */ e(
|
|
1275
1295
|
"div",
|
|
1276
1296
|
{
|
|
1277
1297
|
style: {
|
|
1278
1298
|
position: "absolute",
|
|
1279
|
-
left:
|
|
1280
|
-
top:
|
|
1299
|
+
left: Re,
|
|
1300
|
+
top: se,
|
|
1281
1301
|
width: 160,
|
|
1282
1302
|
height: 180,
|
|
1283
1303
|
transform: "translate(-50%, -80%)",
|
|
@@ -1285,19 +1305,19 @@ function Ke({
|
|
|
1285
1305
|
cursor: "pointer",
|
|
1286
1306
|
zIndex: 101
|
|
1287
1307
|
},
|
|
1288
|
-
onClick: (
|
|
1289
|
-
|
|
1308
|
+
onClick: (X) => {
|
|
1309
|
+
X.stopPropagation(), ne?.(t);
|
|
1290
1310
|
}
|
|
1291
1311
|
}
|
|
1292
1312
|
),
|
|
1293
|
-
|
|
1313
|
+
j && (n === "warning" || n === "critical") && /* @__PURE__ */ e(
|
|
1294
1314
|
"div",
|
|
1295
1315
|
{
|
|
1296
1316
|
style: {
|
|
1297
1317
|
position: "absolute",
|
|
1298
|
-
left:
|
|
1299
|
-
top:
|
|
1300
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1318
|
+
left: Re,
|
|
1319
|
+
top: se - 200,
|
|
1320
|
+
transform: `translate(-50%, -50%) scale(${Pe})`,
|
|
1301
1321
|
zIndex: 110,
|
|
1302
1322
|
pointerEvents: "none",
|
|
1303
1323
|
animation: "holo-led-blink 1.5s infinite",
|
|
@@ -1343,13 +1363,13 @@ function Ke({
|
|
|
1343
1363
|
{
|
|
1344
1364
|
style: {
|
|
1345
1365
|
position: "absolute",
|
|
1346
|
-
left:
|
|
1347
|
-
top:
|
|
1348
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1366
|
+
left: z ? le : Re,
|
|
1367
|
+
top: z ? 48 : se - 180,
|
|
1368
|
+
transform: `translate(-50%, -50%) scale(${z ? 1.2 : Pe * 1.5})`,
|
|
1349
1369
|
opacity: 1,
|
|
1350
1370
|
pointerEvents: "none",
|
|
1351
1371
|
zIndex: 100,
|
|
1352
|
-
transition:
|
|
1372
|
+
transition: Te,
|
|
1353
1373
|
fontSize: 36,
|
|
1354
1374
|
fontWeight: 700,
|
|
1355
1375
|
letterSpacing: "0.18em",
|
|
@@ -1369,25 +1389,25 @@ function Ke({
|
|
|
1369
1389
|
style: {
|
|
1370
1390
|
position: "absolute",
|
|
1371
1391
|
top: 0,
|
|
1372
|
-
left:
|
|
1392
|
+
left: z ? ke : 0,
|
|
1373
1393
|
width: 660,
|
|
1374
1394
|
height: 640,
|
|
1375
1395
|
pointerEvents: "none",
|
|
1376
1396
|
zIndex: 0,
|
|
1377
|
-
transition:
|
|
1397
|
+
transition: Te
|
|
1378
1398
|
},
|
|
1379
|
-
children: o.map((
|
|
1380
|
-
|
|
1399
|
+
children: o.map((X, Ct) => /* @__PURE__ */ e(
|
|
1400
|
+
zt,
|
|
1381
1401
|
{
|
|
1382
|
-
x1:
|
|
1383
|
-
y1:
|
|
1384
|
-
x2:
|
|
1385
|
-
y2:
|
|
1386
|
-
show:
|
|
1387
|
-
color:
|
|
1388
|
-
dur:
|
|
1402
|
+
x1: X.from[0],
|
|
1403
|
+
y1: X.from[1],
|
|
1404
|
+
x2: X.to[0],
|
|
1405
|
+
y2: X.to[1],
|
|
1406
|
+
show: C && L >= (X.visibleAtPhase ?? 0),
|
|
1407
|
+
color: X.color,
|
|
1408
|
+
dur: X.duration
|
|
1389
1409
|
},
|
|
1390
|
-
|
|
1410
|
+
Ct
|
|
1391
1411
|
))
|
|
1392
1412
|
}
|
|
1393
1413
|
),
|
|
@@ -1396,13 +1416,13 @@ function Ke({
|
|
|
1396
1416
|
{
|
|
1397
1417
|
style: {
|
|
1398
1418
|
position: "absolute",
|
|
1399
|
-
left:
|
|
1400
|
-
top:
|
|
1401
|
-
transform: `translate(-50%, -50%) scaleX(${
|
|
1402
|
-
transition:
|
|
1419
|
+
left: z ? le : Re,
|
|
1420
|
+
top: z ? 570 : se + 70,
|
|
1421
|
+
transform: `translate(-50%, -50%) scaleX(${z ? 1 : 0.4}) scaleY(${z ? 1 : 0.6}) scale(${z ? 1 : Pe})`,
|
|
1422
|
+
transition: Te,
|
|
1403
1423
|
zIndex: 1
|
|
1404
1424
|
},
|
|
1405
|
-
children: /* @__PURE__ */ e(
|
|
1425
|
+
children: /* @__PURE__ */ e(Mt, { size: $t, color: kt, widthRatio: Rt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
|
|
1406
1426
|
}
|
|
1407
1427
|
),
|
|
1408
1428
|
r
|
|
@@ -1410,7 +1430,7 @@ function Ke({
|
|
|
1410
1430
|
}
|
|
1411
1431
|
) });
|
|
1412
1432
|
}
|
|
1413
|
-
function
|
|
1433
|
+
function A({
|
|
1414
1434
|
ex: t,
|
|
1415
1435
|
ey: n,
|
|
1416
1436
|
compactOffset: o,
|
|
@@ -1425,21 +1445,21 @@ function I({
|
|
|
1425
1445
|
fixedScale: f,
|
|
1426
1446
|
bare: b = !1
|
|
1427
1447
|
}) {
|
|
1428
|
-
const g =
|
|
1448
|
+
const g = ve(ae);
|
|
1429
1449
|
if (!g)
|
|
1430
1450
|
throw new Error("ServiceNode must be used inside a <Service> component.");
|
|
1431
1451
|
const {
|
|
1432
1452
|
isExpandedPos: u,
|
|
1433
1453
|
animPhase: m,
|
|
1434
|
-
compactCx:
|
|
1454
|
+
compactCx: S,
|
|
1435
1455
|
compactCy: y,
|
|
1436
|
-
groupScale:
|
|
1437
|
-
effectiveScale:
|
|
1438
|
-
transitionValue:
|
|
1439
|
-
onComponentClick:
|
|
1440
|
-
selectedComponentName:
|
|
1441
|
-
expandedOffsetX:
|
|
1442
|
-
} = g,
|
|
1456
|
+
groupScale: k,
|
|
1457
|
+
effectiveScale: x,
|
|
1458
|
+
transitionValue: W,
|
|
1459
|
+
onComponentClick: M,
|
|
1460
|
+
selectedComponentName: P,
|
|
1461
|
+
expandedOffsetX: Y
|
|
1462
|
+
} = g, L = p === 0 || g.isSelected && m >= p ? 1 : 0, Q = S + o.x, V = y + o.y, te = u ? t + Y : Q, ie = u ? n : V, O = f !== void 0 ? f : g.isCompact ? k : x, B = !!c && !!P && c.name === P, ne = c?.status ? w[c.status]?.color ?? a : a, Se = c?.status === "offline" ? "#4a6a8a" : ne, $e = c && u && M ? () => M({
|
|
1443
1463
|
type: c.type,
|
|
1444
1464
|
name: c.name,
|
|
1445
1465
|
status: c.status,
|
|
@@ -1454,32 +1474,32 @@ function I({
|
|
|
1454
1474
|
{
|
|
1455
1475
|
style: {
|
|
1456
1476
|
position: "absolute",
|
|
1457
|
-
left:
|
|
1458
|
-
top:
|
|
1459
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1460
|
-
opacity:
|
|
1477
|
+
left: te,
|
|
1478
|
+
top: ie,
|
|
1479
|
+
transform: `translate(-50%, -50%) scale(${O})`,
|
|
1480
|
+
opacity: L,
|
|
1461
1481
|
zIndex: i,
|
|
1462
|
-
transition:
|
|
1463
|
-
pointerEvents: u &&
|
|
1482
|
+
transition: W || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
1483
|
+
pointerEvents: u && L >= 0.5 ? "auto" : "none"
|
|
1464
1484
|
},
|
|
1465
1485
|
children: b ? r : /* @__PURE__ */ e(
|
|
1466
|
-
|
|
1486
|
+
Ht,
|
|
1467
1487
|
{
|
|
1468
|
-
statusColor:
|
|
1488
|
+
statusColor: Se,
|
|
1469
1489
|
label: s,
|
|
1470
1490
|
subLabel: l,
|
|
1471
1491
|
delay: h,
|
|
1472
1492
|
showLabels: u,
|
|
1473
1493
|
isCompact: g.isCompact,
|
|
1474
|
-
onClick:
|
|
1475
|
-
isSelected:
|
|
1494
|
+
onClick: $e,
|
|
1495
|
+
isSelected: B,
|
|
1476
1496
|
children: r
|
|
1477
1497
|
}
|
|
1478
1498
|
)
|
|
1479
1499
|
}
|
|
1480
1500
|
);
|
|
1481
1501
|
}
|
|
1482
|
-
function
|
|
1502
|
+
function Ht({
|
|
1483
1503
|
children: t,
|
|
1484
1504
|
statusColor: n,
|
|
1485
1505
|
label: o,
|
|
@@ -1490,7 +1510,7 @@ function $t({
|
|
|
1490
1510
|
onClick: l,
|
|
1491
1511
|
isSelected: h = !1
|
|
1492
1512
|
}) {
|
|
1493
|
-
const [c, p] =
|
|
1513
|
+
const [c, p] = T(!1), f = h ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : c && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
|
|
1494
1514
|
return /* @__PURE__ */ d(
|
|
1495
1515
|
"div",
|
|
1496
1516
|
{
|
|
@@ -1519,7 +1539,7 @@ function $t({
|
|
|
1519
1539
|
}
|
|
1520
1540
|
}
|
|
1521
1541
|
),
|
|
1522
|
-
/* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s &&
|
|
1542
|
+
/* @__PURE__ */ e("div", { style: s ? { background: "#040c1a", borderRadius: 2 } : void 0, children: s && J.isValidElement(t) ? J.cloneElement(t, {
|
|
1523
1543
|
_compact: !0
|
|
1524
1544
|
}) : t })
|
|
1525
1545
|
] }),
|
|
@@ -1540,7 +1560,7 @@ function $t({
|
|
|
1540
1560
|
}
|
|
1541
1561
|
);
|
|
1542
1562
|
}
|
|
1543
|
-
function
|
|
1563
|
+
function st({ synced: t, latencyMs: n }) {
|
|
1544
1564
|
const o = t ? "#00ff88" : "#ff8c00";
|
|
1545
1565
|
return /* @__PURE__ */ d("div", { className: "sync-bridge", children: [
|
|
1546
1566
|
/* @__PURE__ */ d("div", { className: "sync-arrows", children: [
|
|
@@ -1575,7 +1595,7 @@ function Ze({ synced: t, latencyMs: n }) {
|
|
|
1575
1595
|
] })
|
|
1576
1596
|
] });
|
|
1577
1597
|
}
|
|
1578
|
-
function
|
|
1598
|
+
function D({
|
|
1579
1599
|
ex: t,
|
|
1580
1600
|
ey: n,
|
|
1581
1601
|
status: o,
|
|
@@ -1587,20 +1607,20 @@ function W({
|
|
|
1587
1607
|
align: h = "right",
|
|
1588
1608
|
internalRef: c
|
|
1589
1609
|
}) {
|
|
1590
|
-
const f =
|
|
1610
|
+
const f = ve(ae)?.expandedOffsetX ?? 0;
|
|
1591
1611
|
if (o === "online") return null;
|
|
1592
|
-
const b =
|
|
1593
|
-
let
|
|
1612
|
+
const b = w[o]?.color ?? w.warning.color, g = Math.abs(a) > Math.abs(s), u = t + f + (g ? Math.sign(a) * 45 : 0), m = n + (g ? 0 : Math.sign(s) * 40), S = t + f + a, y = n + s;
|
|
1613
|
+
let k = "";
|
|
1594
1614
|
if (g) {
|
|
1595
|
-
const
|
|
1596
|
-
|
|
1615
|
+
const P = u + (S - u) / 2;
|
|
1616
|
+
k = `M ${u} ${m} L ${P} ${m} L ${P} ${y} L ${S} ${y}`;
|
|
1597
1617
|
} else {
|
|
1598
|
-
const
|
|
1599
|
-
|
|
1618
|
+
const P = m + (y - m) / 2;
|
|
1619
|
+
k = `M ${u} ${m} L ${u} ${P} L ${S} ${P} L ${S} ${y}`;
|
|
1600
1620
|
}
|
|
1601
|
-
let
|
|
1602
|
-
h === "left" && (
|
|
1603
|
-
const
|
|
1621
|
+
let x = "translate(0, -50%)";
|
|
1622
|
+
h === "left" && (x = "translate(-100%, -50%)"), h === "top" && (x = "translate(-50%, -100%)"), h === "bottom" && (x = "translate(-50%, 0)");
|
|
1623
|
+
const W = h === "left" ? -8 : h === "right" ? 8 : 0, M = h === "top" ? -8 : h === "bottom" ? 8 : 0;
|
|
1604
1624
|
return /* @__PURE__ */ d(
|
|
1605
1625
|
"div",
|
|
1606
1626
|
{
|
|
@@ -1631,7 +1651,7 @@ function W({
|
|
|
1631
1651
|
children: /* @__PURE__ */ e(
|
|
1632
1652
|
"path",
|
|
1633
1653
|
{
|
|
1634
|
-
d:
|
|
1654
|
+
d: k,
|
|
1635
1655
|
fill: "none",
|
|
1636
1656
|
stroke: b,
|
|
1637
1657
|
strokeWidth: "1.5",
|
|
@@ -1646,11 +1666,11 @@ function W({
|
|
|
1646
1666
|
{
|
|
1647
1667
|
style: {
|
|
1648
1668
|
position: "absolute",
|
|
1649
|
-
left:
|
|
1669
|
+
left: S,
|
|
1650
1670
|
top: y,
|
|
1651
|
-
transform:
|
|
1652
|
-
marginLeft:
|
|
1653
|
-
marginTop:
|
|
1671
|
+
transform: x,
|
|
1672
|
+
marginLeft: W,
|
|
1673
|
+
marginTop: M,
|
|
1654
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)",
|
|
1655
1675
|
border: `1px solid ${b}55`,
|
|
1656
1676
|
borderLeft: `2px solid ${b}`,
|
|
@@ -1722,8 +1742,8 @@ function W({
|
|
|
1722
1742
|
}
|
|
1723
1743
|
);
|
|
1724
1744
|
}
|
|
1725
|
-
const q = 140,
|
|
1726
|
-
function
|
|
1745
|
+
const q = 140, F = 240, Z = 160, de = Xe(q, F, Z);
|
|
1746
|
+
function Ut({
|
|
1727
1747
|
cfg: t,
|
|
1728
1748
|
name: n,
|
|
1729
1749
|
cpuLoad: o,
|
|
@@ -1742,8 +1762,8 @@ function kt({
|
|
|
1742
1762
|
{
|
|
1743
1763
|
style: {
|
|
1744
1764
|
width: q,
|
|
1745
|
-
height:
|
|
1746
|
-
background: a ?
|
|
1765
|
+
height: F,
|
|
1766
|
+
background: a ? we : je,
|
|
1747
1767
|
position: "relative",
|
|
1748
1768
|
overflow: "hidden",
|
|
1749
1769
|
fontFamily: "'Courier New', monospace",
|
|
@@ -2134,13 +2154,13 @@ function kt({
|
|
|
2134
2154
|
}
|
|
2135
2155
|
);
|
|
2136
2156
|
}
|
|
2137
|
-
function
|
|
2157
|
+
function Yt() {
|
|
2138
2158
|
return /* @__PURE__ */ d(
|
|
2139
2159
|
"div",
|
|
2140
2160
|
{
|
|
2141
2161
|
style: {
|
|
2142
2162
|
width: q,
|
|
2143
|
-
height:
|
|
2163
|
+
height: F,
|
|
2144
2164
|
background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
|
|
2145
2165
|
position: "relative",
|
|
2146
2166
|
overflow: "hidden",
|
|
@@ -2248,14 +2268,14 @@ function Rt() {
|
|
|
2248
2268
|
}
|
|
2249
2269
|
);
|
|
2250
2270
|
}
|
|
2251
|
-
function
|
|
2271
|
+
function it({ side: t, color: n }) {
|
|
2252
2272
|
const o = t === "right";
|
|
2253
2273
|
return /* @__PURE__ */ d(
|
|
2254
2274
|
"div",
|
|
2255
2275
|
{
|
|
2256
2276
|
style: {
|
|
2257
2277
|
width: Z,
|
|
2258
|
-
height:
|
|
2278
|
+
height: F,
|
|
2259
2279
|
background: o ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
|
|
2260
2280
|
position: "relative",
|
|
2261
2281
|
overflow: "hidden"
|
|
@@ -2274,7 +2294,7 @@ function Ve({ side: t, color: n }) {
|
|
|
2274
2294
|
}
|
|
2275
2295
|
}
|
|
2276
2296
|
),
|
|
2277
|
-
[8,
|
|
2297
|
+
[8, F - 20].map((i) => /* @__PURE__ */ e(
|
|
2278
2298
|
"div",
|
|
2279
2299
|
{
|
|
2280
2300
|
style: {
|
|
@@ -2296,8 +2316,8 @@ function Ve({ side: t, color: n }) {
|
|
|
2296
2316
|
{
|
|
2297
2317
|
style: {
|
|
2298
2318
|
position: "absolute",
|
|
2299
|
-
top:
|
|
2300
|
-
bottom:
|
|
2319
|
+
top: F * 0.35,
|
|
2320
|
+
bottom: F * 0.15,
|
|
2301
2321
|
left: o ? 22 : 18,
|
|
2302
2322
|
right: o ? 18 : 22,
|
|
2303
2323
|
display: "flex",
|
|
@@ -2325,7 +2345,7 @@ function Ve({ side: t, color: n }) {
|
|
|
2325
2345
|
{
|
|
2326
2346
|
style: {
|
|
2327
2347
|
position: "absolute",
|
|
2328
|
-
top:
|
|
2348
|
+
top: F * 0.18,
|
|
2329
2349
|
left: o ? 12 : Z - 78,
|
|
2330
2350
|
fontSize: 7,
|
|
2331
2351
|
color: "#1a3050",
|
|
@@ -2341,7 +2361,7 @@ function Ve({ side: t, color: n }) {
|
|
|
2341
2361
|
}
|
|
2342
2362
|
);
|
|
2343
2363
|
}
|
|
2344
|
-
function
|
|
2364
|
+
function Vt({ cpuLoad: t }) {
|
|
2345
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);
|
|
2346
2366
|
return /* @__PURE__ */ d(
|
|
2347
2367
|
"div",
|
|
@@ -2421,7 +2441,7 @@ function Pt({ cpuLoad: t }) {
|
|
|
2421
2441
|
}
|
|
2422
2442
|
);
|
|
2423
2443
|
}
|
|
2424
|
-
function
|
|
2444
|
+
function ue({
|
|
2425
2445
|
rotateX: t = -22,
|
|
2426
2446
|
rotateY: n = 20,
|
|
2427
2447
|
rotateZ: o = 0,
|
|
@@ -2433,26 +2453,26 @@ function ce({
|
|
|
2433
2453
|
memLoad: h = 82,
|
|
2434
2454
|
_compact: c
|
|
2435
2455
|
}) {
|
|
2436
|
-
const [p, f] =
|
|
2437
|
-
|
|
2456
|
+
const [p, f] = T(n), b = ee(0), g = ee(0);
|
|
2457
|
+
Ee(() => {
|
|
2438
2458
|
if (!r) {
|
|
2439
2459
|
f(n);
|
|
2440
2460
|
return;
|
|
2441
2461
|
}
|
|
2442
|
-
const m = (
|
|
2443
|
-
g.current && f((y) => y + (
|
|
2462
|
+
const m = (S) => {
|
|
2463
|
+
g.current && f((y) => y + (S - g.current) * 0.027), g.current = S, b.current = requestAnimationFrame(m);
|
|
2444
2464
|
};
|
|
2445
2465
|
return b.current = requestAnimationFrame(m), () => {
|
|
2446
2466
|
cancelAnimationFrame(b.current), g.current = 0;
|
|
2447
2467
|
};
|
|
2448
2468
|
}, [r, n]);
|
|
2449
|
-
const u =
|
|
2469
|
+
const u = w[a] ?? w.online;
|
|
2450
2470
|
return /* @__PURE__ */ d(
|
|
2451
2471
|
"div",
|
|
2452
2472
|
{
|
|
2453
2473
|
style: {
|
|
2454
2474
|
width: q * i,
|
|
2455
|
-
height:
|
|
2475
|
+
height: F * i,
|
|
2456
2476
|
position: "relative",
|
|
2457
2477
|
display: "flex",
|
|
2458
2478
|
alignItems: "center",
|
|
@@ -2505,7 +2525,7 @@ function ce({
|
|
|
2505
2525
|
style: {
|
|
2506
2526
|
position: "absolute",
|
|
2507
2527
|
width: q * 1.4 * i,
|
|
2508
|
-
height:
|
|
2528
|
+
height: F * 0.8 * i,
|
|
2509
2529
|
background: `radial-gradient(ellipse, ${u.glow} 0%, transparent 65%)`,
|
|
2510
2530
|
filter: `blur(${Math.round(45 * i)}px)`,
|
|
2511
2531
|
pointerEvents: "none",
|
|
@@ -2529,15 +2549,15 @@ function ce({
|
|
|
2529
2549
|
{
|
|
2530
2550
|
style: {
|
|
2531
2551
|
width: q,
|
|
2532
|
-
height:
|
|
2552
|
+
height: F,
|
|
2533
2553
|
position: "relative",
|
|
2534
2554
|
transformStyle: "preserve-3d",
|
|
2535
2555
|
transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
|
|
2536
2556
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
2537
2557
|
},
|
|
2538
2558
|
children: [
|
|
2539
|
-
/* @__PURE__ */ e("div", { style:
|
|
2540
|
-
|
|
2559
|
+
/* @__PURE__ */ e("div", { style: de.front, children: /* @__PURE__ */ e(
|
|
2560
|
+
Ut,
|
|
2541
2561
|
{
|
|
2542
2562
|
cfg: u,
|
|
2543
2563
|
name: s,
|
|
@@ -2547,11 +2567,11 @@ function ce({
|
|
|
2547
2567
|
compact: c
|
|
2548
2568
|
}
|
|
2549
2569
|
) }),
|
|
2550
|
-
/* @__PURE__ */ e("div", { style:
|
|
2551
|
-
/* @__PURE__ */ e("div", { style:
|
|
2552
|
-
/* @__PURE__ */ e("div", { style:
|
|
2553
|
-
/* @__PURE__ */ e("div", { style:
|
|
2554
|
-
/* @__PURE__ */ e("div", { style:
|
|
2570
|
+
/* @__PURE__ */ e("div", { style: de.back, children: /* @__PURE__ */ e(Yt, {}) }),
|
|
2571
|
+
/* @__PURE__ */ e("div", { style: de.left, children: /* @__PURE__ */ e(it, { side: "left", color: u.color }) }),
|
|
2572
|
+
/* @__PURE__ */ e("div", { style: de.right, children: /* @__PURE__ */ e(it, { side: "right", color: u.color }) }),
|
|
2573
|
+
/* @__PURE__ */ e("div", { style: de.top, children: /* @__PURE__ */ e(Vt, { cpuLoad: l }) }),
|
|
2574
|
+
/* @__PURE__ */ e("div", { style: de.bottom, children: /* @__PURE__ */ e(
|
|
2555
2575
|
"div",
|
|
2556
2576
|
{
|
|
2557
2577
|
style: {
|
|
@@ -2570,11 +2590,11 @@ function ce({
|
|
|
2570
2590
|
}
|
|
2571
2591
|
);
|
|
2572
2592
|
}
|
|
2573
|
-
const
|
|
2574
|
-
function
|
|
2593
|
+
const Ve = 12, re = 55, _ = re * 2, he = 52, Ge = 10, Be = 3 * he + 2 * Ge, ce = 2 * Math.PI * re / Ve, Fe = Array.from({ length: Ve }, (t, n) => n / Ve * 360);
|
|
2594
|
+
function He(t) {
|
|
2575
2595
|
return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
|
|
2576
2596
|
}
|
|
2577
|
-
function
|
|
2597
|
+
function _t({
|
|
2578
2598
|
diskY: t,
|
|
2579
2599
|
diskIdx: n,
|
|
2580
2600
|
cfg: o,
|
|
@@ -2582,25 +2602,25 @@ function Et({
|
|
|
2582
2602
|
capacity: r,
|
|
2583
2603
|
compact: a
|
|
2584
2604
|
}) {
|
|
2585
|
-
return /* @__PURE__ */ d(
|
|
2586
|
-
|
|
2587
|
-
const h =
|
|
2605
|
+
return /* @__PURE__ */ d(Ce, { children: [
|
|
2606
|
+
Fe.map((s, l) => {
|
|
2607
|
+
const h = He(s), c = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22), b = Math.round(28 + h * 44), g = Math.round(h * 0.55 * 255).toString(16).padStart(2, "0");
|
|
2588
2608
|
return /* @__PURE__ */ e(
|
|
2589
2609
|
"div",
|
|
2590
2610
|
{
|
|
2591
2611
|
style: {
|
|
2592
2612
|
position: "absolute",
|
|
2593
|
-
width:
|
|
2594
|
-
height:
|
|
2595
|
-
left: (
|
|
2613
|
+
width: ce,
|
|
2614
|
+
height: he,
|
|
2615
|
+
left: (_ - ce) / 2,
|
|
2596
2616
|
top: t,
|
|
2597
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2617
|
+
transform: `rotateY(${s}deg) translateZ(${re}px)`,
|
|
2598
2618
|
backfaceVisibility: "hidden",
|
|
2599
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},${f},${b})`,
|
|
2600
2620
|
borderLeft: `1px solid ${o.color}${g}`,
|
|
2601
2621
|
boxShadow: c ? `inset 0 0 18px ${o.color}28` : "none"
|
|
2602
2622
|
},
|
|
2603
|
-
children: c && /* @__PURE__ */ d(
|
|
2623
|
+
children: c && /* @__PURE__ */ d(Ce, { children: [
|
|
2604
2624
|
/* @__PURE__ */ e(
|
|
2605
2625
|
"div",
|
|
2606
2626
|
{
|
|
@@ -2653,10 +2673,10 @@ function Et({
|
|
|
2653
2673
|
{
|
|
2654
2674
|
style: {
|
|
2655
2675
|
position: "absolute",
|
|
2656
|
-
width:
|
|
2657
|
-
height:
|
|
2676
|
+
width: _ + 4,
|
|
2677
|
+
height: _ + 4,
|
|
2658
2678
|
left: -2,
|
|
2659
|
-
top: t -
|
|
2679
|
+
top: t - re,
|
|
2660
2680
|
borderRadius: "50%",
|
|
2661
2681
|
transform: "rotateX(90deg)",
|
|
2662
2682
|
backfaceVisibility: "hidden",
|
|
@@ -2714,10 +2734,10 @@ function Et({
|
|
|
2714
2734
|
{
|
|
2715
2735
|
style: {
|
|
2716
2736
|
position: "absolute",
|
|
2717
|
-
width:
|
|
2718
|
-
height:
|
|
2737
|
+
width: _ + 4,
|
|
2738
|
+
height: _ + 4,
|
|
2719
2739
|
left: -2,
|
|
2720
|
-
top: t +
|
|
2740
|
+
top: t + he - re,
|
|
2721
2741
|
borderRadius: "50%",
|
|
2722
2742
|
transform: "rotateX(-90deg)",
|
|
2723
2743
|
backfaceVisibility: "hidden",
|
|
@@ -2741,18 +2761,18 @@ function Et({
|
|
|
2741
2761
|
)
|
|
2742
2762
|
}
|
|
2743
2763
|
),
|
|
2744
|
-
i &&
|
|
2745
|
-
const h =
|
|
2764
|
+
i && Fe.map((s, l) => {
|
|
2765
|
+
const h = He(s);
|
|
2746
2766
|
return /* @__PURE__ */ e(
|
|
2747
2767
|
"div",
|
|
2748
2768
|
{
|
|
2749
2769
|
style: {
|
|
2750
2770
|
position: "absolute",
|
|
2751
|
-
width:
|
|
2771
|
+
width: ce + 1.5,
|
|
2752
2772
|
height: 6,
|
|
2753
|
-
left: (
|
|
2754
|
-
top: t +
|
|
2755
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2773
|
+
left: (_ - ce - 1.5) / 2,
|
|
2774
|
+
top: t + he - 3,
|
|
2775
|
+
transform: `rotateY(${s}deg) translateZ(${re + 1.5}px)`,
|
|
2756
2776
|
backfaceVisibility: "hidden",
|
|
2757
2777
|
background: o.color,
|
|
2758
2778
|
boxShadow: `0 0 8px ${o.color}, 0 0 18px ${o.color}aa, 0 0 30px ${o.glow}`,
|
|
@@ -2762,18 +2782,18 @@ function Et({
|
|
|
2762
2782
|
`rng${n}${l}`
|
|
2763
2783
|
);
|
|
2764
2784
|
}),
|
|
2765
|
-
i &&
|
|
2766
|
-
const h =
|
|
2785
|
+
i && Fe.map((s, l) => {
|
|
2786
|
+
const h = He(s), c = Math.round(2 + h * 4), p = Math.round(5 + h * 10), f = Math.round(12 + h * 20);
|
|
2767
2787
|
return /* @__PURE__ */ e(
|
|
2768
2788
|
"div",
|
|
2769
2789
|
{
|
|
2770
2790
|
style: {
|
|
2771
2791
|
position: "absolute",
|
|
2772
|
-
width:
|
|
2773
|
-
height:
|
|
2774
|
-
left: (
|
|
2775
|
-
top: t +
|
|
2776
|
-
transform: `rotateY(${s}deg) translateZ(${
|
|
2792
|
+
width: ce,
|
|
2793
|
+
height: Ge,
|
|
2794
|
+
left: (_ - ce) / 2,
|
|
2795
|
+
top: t + he,
|
|
2796
|
+
transform: `rotateY(${s}deg) translateZ(${re}px)`,
|
|
2777
2797
|
backfaceVisibility: "hidden",
|
|
2778
2798
|
background: `rgb(${c},${p},${f})`
|
|
2779
2799
|
}
|
|
@@ -2783,7 +2803,7 @@ function Et({
|
|
|
2783
2803
|
})
|
|
2784
2804
|
] });
|
|
2785
2805
|
}
|
|
2786
|
-
function
|
|
2806
|
+
function Le({
|
|
2787
2807
|
rotateX: t = -22,
|
|
2788
2808
|
rotateY: n = -15,
|
|
2789
2809
|
rotateZ: o = 0,
|
|
@@ -2795,8 +2815,8 @@ function ke({
|
|
|
2795
2815
|
// connections = 284,
|
|
2796
2816
|
_compact: l
|
|
2797
2817
|
}) {
|
|
2798
|
-
const [h, c] =
|
|
2799
|
-
|
|
2818
|
+
const [h, c] = T(n), p = ee(0), f = ee(0);
|
|
2819
|
+
Ee(() => {
|
|
2800
2820
|
if (!r) {
|
|
2801
2821
|
c(n);
|
|
2802
2822
|
return;
|
|
@@ -2808,13 +2828,13 @@ function ke({
|
|
|
2808
2828
|
cancelAnimationFrame(p.current), f.current = 0;
|
|
2809
2829
|
};
|
|
2810
2830
|
}, [r, n]);
|
|
2811
|
-
const b =
|
|
2831
|
+
const b = w[a] ?? w.online;
|
|
2812
2832
|
return /* @__PURE__ */ d(
|
|
2813
2833
|
"div",
|
|
2814
2834
|
{
|
|
2815
2835
|
style: {
|
|
2816
|
-
width:
|
|
2817
|
-
height:
|
|
2836
|
+
width: _ * i,
|
|
2837
|
+
height: Be * i,
|
|
2818
2838
|
position: "relative",
|
|
2819
2839
|
display: "flex",
|
|
2820
2840
|
alignItems: "center",
|
|
@@ -2874,8 +2894,8 @@ function ke({
|
|
|
2874
2894
|
{
|
|
2875
2895
|
style: {
|
|
2876
2896
|
position: "absolute",
|
|
2877
|
-
width:
|
|
2878
|
-
height:
|
|
2897
|
+
width: _ * 2.8 * i,
|
|
2898
|
+
height: Be * 0.85 * i,
|
|
2879
2899
|
background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
|
|
2880
2900
|
filter: `blur(${Math.round(50 * i)}px)`,
|
|
2881
2901
|
pointerEvents: "none",
|
|
@@ -2898,17 +2918,17 @@ function ke({
|
|
|
2898
2918
|
"div",
|
|
2899
2919
|
{
|
|
2900
2920
|
style: {
|
|
2901
|
-
width:
|
|
2902
|
-
height:
|
|
2921
|
+
width: _,
|
|
2922
|
+
height: Be,
|
|
2903
2923
|
position: "relative",
|
|
2904
2924
|
transformStyle: "preserve-3d",
|
|
2905
2925
|
transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${o}deg)`,
|
|
2906
2926
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
2907
2927
|
},
|
|
2908
2928
|
children: [0, 1, 2].map((g) => /* @__PURE__ */ e(
|
|
2909
|
-
|
|
2929
|
+
_t,
|
|
2910
2930
|
{
|
|
2911
|
-
diskY: g * (
|
|
2931
|
+
diskY: g * (he + Ge),
|
|
2912
2932
|
diskIdx: g,
|
|
2913
2933
|
cfg: b,
|
|
2914
2934
|
hasRingBelow: g < 2,
|
|
@@ -2925,8 +2945,8 @@ function ke({
|
|
|
2925
2945
|
}
|
|
2926
2946
|
);
|
|
2927
2947
|
}
|
|
2928
|
-
const G = 190,
|
|
2929
|
-
function
|
|
2948
|
+
const G = 190, H = 72, be = 120, pe = Xe(G, H, be);
|
|
2949
|
+
function jt({
|
|
2930
2950
|
cfg: t,
|
|
2931
2951
|
name: n,
|
|
2932
2952
|
traffic: o,
|
|
@@ -2939,8 +2959,8 @@ function Ct({
|
|
|
2939
2959
|
{
|
|
2940
2960
|
style: {
|
|
2941
2961
|
width: G,
|
|
2942
|
-
height:
|
|
2943
|
-
background: r ?
|
|
2962
|
+
height: H,
|
|
2963
|
+
background: r ? we : je,
|
|
2944
2964
|
position: "relative",
|
|
2945
2965
|
overflow: "hidden",
|
|
2946
2966
|
fontFamily: "'Courier New', monospace",
|
|
@@ -3188,13 +3208,13 @@ function Ct({
|
|
|
3188
3208
|
}
|
|
3189
3209
|
);
|
|
3190
3210
|
}
|
|
3191
|
-
function
|
|
3211
|
+
function Xt() {
|
|
3192
3212
|
return /* @__PURE__ */ d(
|
|
3193
3213
|
"div",
|
|
3194
3214
|
{
|
|
3195
3215
|
style: {
|
|
3196
3216
|
width: G,
|
|
3197
|
-
height:
|
|
3217
|
+
height: H,
|
|
3198
3218
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
3199
3219
|
position: "relative",
|
|
3200
3220
|
overflow: "hidden",
|
|
@@ -3209,7 +3229,7 @@ function Tt() {
|
|
|
3209
3229
|
{
|
|
3210
3230
|
style: {
|
|
3211
3231
|
width: 40,
|
|
3212
|
-
height:
|
|
3232
|
+
height: H - 16,
|
|
3213
3233
|
background: "#020710",
|
|
3214
3234
|
border: "1px solid #1a2d40",
|
|
3215
3235
|
borderRadius: 2,
|
|
@@ -3265,7 +3285,7 @@ function Tt() {
|
|
|
3265
3285
|
style: {
|
|
3266
3286
|
marginLeft: "auto",
|
|
3267
3287
|
width: 12,
|
|
3268
|
-
height:
|
|
3288
|
+
height: H - 16,
|
|
3269
3289
|
background: "#020710",
|
|
3270
3290
|
border: "1px solid #1a3050",
|
|
3271
3291
|
borderRadius: 1
|
|
@@ -3276,13 +3296,13 @@ function Tt() {
|
|
|
3276
3296
|
}
|
|
3277
3297
|
);
|
|
3278
3298
|
}
|
|
3279
|
-
function
|
|
3299
|
+
function nt({ side: t, color: n }) {
|
|
3280
3300
|
return /* @__PURE__ */ d(
|
|
3281
3301
|
"div",
|
|
3282
3302
|
{
|
|
3283
3303
|
style: {
|
|
3284
|
-
width:
|
|
3285
|
-
height:
|
|
3304
|
+
width: be,
|
|
3305
|
+
height: H,
|
|
3286
3306
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
3287
3307
|
position: "relative",
|
|
3288
3308
|
overflow: "hidden"
|
|
@@ -3306,8 +3326,8 @@ function je({ side: t, color: n }) {
|
|
|
3306
3326
|
{
|
|
3307
3327
|
style: {
|
|
3308
3328
|
position: "absolute",
|
|
3309
|
-
top:
|
|
3310
|
-
bottom:
|
|
3329
|
+
top: H * 0.25,
|
|
3330
|
+
bottom: H * 0.25,
|
|
3311
3331
|
left: 14,
|
|
3312
3332
|
right: 14,
|
|
3313
3333
|
display: "flex",
|
|
@@ -3333,14 +3353,14 @@ function je({ side: t, color: n }) {
|
|
|
3333
3353
|
}
|
|
3334
3354
|
);
|
|
3335
3355
|
}
|
|
3336
|
-
function
|
|
3337
|
-
const n = Math.floor((
|
|
3356
|
+
function Qt({ traffic: t }) {
|
|
3357
|
+
const n = Math.floor((be - 14) / 7);
|
|
3338
3358
|
return /* @__PURE__ */ d(
|
|
3339
3359
|
"div",
|
|
3340
3360
|
{
|
|
3341
3361
|
style: {
|
|
3342
3362
|
width: G,
|
|
3343
|
-
height:
|
|
3363
|
+
height: be,
|
|
3344
3364
|
background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
|
|
3345
3365
|
position: "relative",
|
|
3346
3366
|
overflow: "hidden"
|
|
@@ -3354,7 +3374,7 @@ function At({ traffic: t }) {
|
|
|
3354
3374
|
top: 0,
|
|
3355
3375
|
left: 0,
|
|
3356
3376
|
right: 0,
|
|
3357
|
-
height:
|
|
3377
|
+
height: be * 0.35,
|
|
3358
3378
|
background: `radial-gradient(ellipse at 50% 0%,
|
|
3359
3379
|
${t > 70 ? "rgba(255,34,85,0.14)" : "rgba(0,229,255,0.08)"} 0%,
|
|
3360
3380
|
transparent 70%)`
|
|
@@ -3392,7 +3412,7 @@ function At({ traffic: t }) {
|
|
|
3392
3412
|
}
|
|
3393
3413
|
);
|
|
3394
3414
|
}
|
|
3395
|
-
function
|
|
3415
|
+
function dt({
|
|
3396
3416
|
rotateX: t = -20,
|
|
3397
3417
|
rotateY: n = 20,
|
|
3398
3418
|
rotateZ: o = 0,
|
|
@@ -3404,26 +3424,26 @@ function Je({
|
|
|
3404
3424
|
activeRoutes: h = 12,
|
|
3405
3425
|
_compact: c
|
|
3406
3426
|
}) {
|
|
3407
|
-
const [p, f] =
|
|
3408
|
-
|
|
3427
|
+
const [p, f] = T(n), b = ee(0), g = ee(0);
|
|
3428
|
+
Ee(() => {
|
|
3409
3429
|
if (!r) {
|
|
3410
3430
|
f(n);
|
|
3411
3431
|
return;
|
|
3412
3432
|
}
|
|
3413
|
-
const m = (
|
|
3414
|
-
g.current && f((y) => y + (
|
|
3433
|
+
const m = (S) => {
|
|
3434
|
+
g.current && f((y) => y + (S - g.current) * 0.027), g.current = S, b.current = requestAnimationFrame(m);
|
|
3415
3435
|
};
|
|
3416
3436
|
return b.current = requestAnimationFrame(m), () => {
|
|
3417
3437
|
cancelAnimationFrame(b.current), g.current = 0;
|
|
3418
3438
|
};
|
|
3419
3439
|
}, [r, n]);
|
|
3420
|
-
const u =
|
|
3440
|
+
const u = w[a] ?? w.online;
|
|
3421
3441
|
return /* @__PURE__ */ d(
|
|
3422
3442
|
"div",
|
|
3423
3443
|
{
|
|
3424
3444
|
style: {
|
|
3425
3445
|
width: G * i,
|
|
3426
|
-
height:
|
|
3446
|
+
height: H * i,
|
|
3427
3447
|
position: "relative",
|
|
3428
3448
|
display: "flex",
|
|
3429
3449
|
alignItems: "center",
|
|
@@ -3484,7 +3504,7 @@ function Je({
|
|
|
3484
3504
|
style: {
|
|
3485
3505
|
position: "absolute",
|
|
3486
3506
|
width: G * 1.3 * i,
|
|
3487
|
-
height:
|
|
3507
|
+
height: H * 2 * i,
|
|
3488
3508
|
background: `radial-gradient(ellipse, ${u.glow} 0%, transparent 65%)`,
|
|
3489
3509
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
3490
3510
|
pointerEvents: "none",
|
|
@@ -3508,15 +3528,15 @@ function Je({
|
|
|
3508
3528
|
{
|
|
3509
3529
|
style: {
|
|
3510
3530
|
width: G,
|
|
3511
|
-
height:
|
|
3531
|
+
height: H,
|
|
3512
3532
|
position: "relative",
|
|
3513
3533
|
transformStyle: "preserve-3d",
|
|
3514
3534
|
transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${o}deg)`,
|
|
3515
3535
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
3516
3536
|
},
|
|
3517
3537
|
children: [
|
|
3518
|
-
/* @__PURE__ */ e("div", { style:
|
|
3519
|
-
|
|
3538
|
+
/* @__PURE__ */ e("div", { style: pe.front, children: /* @__PURE__ */ e(
|
|
3539
|
+
jt,
|
|
3520
3540
|
{
|
|
3521
3541
|
cfg: u,
|
|
3522
3542
|
name: s,
|
|
@@ -3525,11 +3545,11 @@ function Je({
|
|
|
3525
3545
|
compact: c
|
|
3526
3546
|
}
|
|
3527
3547
|
) }),
|
|
3528
|
-
/* @__PURE__ */ e("div", { style:
|
|
3529
|
-
/* @__PURE__ */ e("div", { style:
|
|
3530
|
-
/* @__PURE__ */ e("div", { style:
|
|
3531
|
-
/* @__PURE__ */ e("div", { style:
|
|
3532
|
-
/* @__PURE__ */ e("div", { style:
|
|
3548
|
+
/* @__PURE__ */ e("div", { style: pe.back, children: /* @__PURE__ */ e(Xt, {}) }),
|
|
3549
|
+
/* @__PURE__ */ e("div", { style: pe.left, children: /* @__PURE__ */ e(nt, { side: "left", color: u.color }) }),
|
|
3550
|
+
/* @__PURE__ */ e("div", { style: pe.right, children: /* @__PURE__ */ e(nt, { side: "right", color: u.color }) }),
|
|
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: G, height: be, background: "#020508" } }) })
|
|
3533
3553
|
]
|
|
3534
3554
|
}
|
|
3535
3555
|
)
|
|
@@ -3539,13 +3559,13 @@ function Je({
|
|
|
3539
3559
|
}
|
|
3540
3560
|
);
|
|
3541
3561
|
}
|
|
3542
|
-
const K = 190,
|
|
3562
|
+
const K = 190, U = 72, ge = 120, fe = Xe(K, U, ge), ot = {
|
|
3543
3563
|
online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
|
|
3544
3564
|
warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
|
|
3545
3565
|
critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
|
|
3546
3566
|
offline: { color: "#1e3a5a", glow: "rgba(30,58,90,0.25)" }
|
|
3547
3567
|
};
|
|
3548
|
-
function
|
|
3568
|
+
function qt({
|
|
3549
3569
|
cfg: t,
|
|
3550
3570
|
name: n,
|
|
3551
3571
|
queueDepth: o,
|
|
@@ -3559,8 +3579,8 @@ function Lt({
|
|
|
3559
3579
|
{
|
|
3560
3580
|
style: {
|
|
3561
3581
|
width: K,
|
|
3562
|
-
height:
|
|
3563
|
-
background: a ?
|
|
3582
|
+
height: U,
|
|
3583
|
+
background: a ? we : je,
|
|
3564
3584
|
position: "relative",
|
|
3565
3585
|
overflow: "hidden",
|
|
3566
3586
|
fontFamily: "'Courier New', monospace",
|
|
@@ -3804,13 +3824,13 @@ function Lt({
|
|
|
3804
3824
|
}
|
|
3805
3825
|
);
|
|
3806
3826
|
}
|
|
3807
|
-
function
|
|
3827
|
+
function Gt() {
|
|
3808
3828
|
return /* @__PURE__ */ d(
|
|
3809
3829
|
"div",
|
|
3810
3830
|
{
|
|
3811
3831
|
style: {
|
|
3812
3832
|
width: K,
|
|
3813
|
-
height:
|
|
3833
|
+
height: U,
|
|
3814
3834
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
3815
3835
|
position: "relative",
|
|
3816
3836
|
overflow: "hidden",
|
|
@@ -3825,7 +3845,7 @@ function It() {
|
|
|
3825
3845
|
{
|
|
3826
3846
|
style: {
|
|
3827
3847
|
width: 40,
|
|
3828
|
-
height:
|
|
3848
|
+
height: U - 16,
|
|
3829
3849
|
background: "#020710",
|
|
3830
3850
|
border: "1px solid #1a2d40",
|
|
3831
3851
|
borderRadius: 2,
|
|
@@ -3881,7 +3901,7 @@ function It() {
|
|
|
3881
3901
|
style: {
|
|
3882
3902
|
marginLeft: "auto",
|
|
3883
3903
|
width: 12,
|
|
3884
|
-
height:
|
|
3904
|
+
height: U - 16,
|
|
3885
3905
|
background: "#020710",
|
|
3886
3906
|
border: "1px solid #1a3050",
|
|
3887
3907
|
borderRadius: 1
|
|
@@ -3892,13 +3912,13 @@ function It() {
|
|
|
3892
3912
|
}
|
|
3893
3913
|
);
|
|
3894
3914
|
}
|
|
3895
|
-
function
|
|
3915
|
+
function rt({ side: t, color: n }) {
|
|
3896
3916
|
return /* @__PURE__ */ d(
|
|
3897
3917
|
"div",
|
|
3898
3918
|
{
|
|
3899
3919
|
style: {
|
|
3900
|
-
width:
|
|
3901
|
-
height:
|
|
3920
|
+
width: ge,
|
|
3921
|
+
height: U,
|
|
3902
3922
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
3903
3923
|
position: "relative",
|
|
3904
3924
|
overflow: "hidden"
|
|
@@ -3922,8 +3942,8 @@ function Qe({ side: t, color: n }) {
|
|
|
3922
3942
|
{
|
|
3923
3943
|
style: {
|
|
3924
3944
|
position: "absolute",
|
|
3925
|
-
top:
|
|
3926
|
-
bottom:
|
|
3945
|
+
top: U * 0.25,
|
|
3946
|
+
bottom: U * 0.25,
|
|
3927
3947
|
left: 14,
|
|
3928
3948
|
right: 14,
|
|
3929
3949
|
display: "flex",
|
|
@@ -3949,14 +3969,14 @@ function Qe({ side: t, color: n }) {
|
|
|
3949
3969
|
}
|
|
3950
3970
|
);
|
|
3951
3971
|
}
|
|
3952
|
-
function
|
|
3953
|
-
const o = Math.floor((
|
|
3972
|
+
function Kt({ queueDepth: t, color: n }) {
|
|
3973
|
+
const o = Math.floor((ge - 14) / 7);
|
|
3954
3974
|
return /* @__PURE__ */ d(
|
|
3955
3975
|
"div",
|
|
3956
3976
|
{
|
|
3957
3977
|
style: {
|
|
3958
3978
|
width: K,
|
|
3959
|
-
height:
|
|
3979
|
+
height: ge,
|
|
3960
3980
|
background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
|
|
3961
3981
|
position: "relative",
|
|
3962
3982
|
overflow: "hidden"
|
|
@@ -3970,7 +3990,7 @@ function Ot({ queueDepth: t, color: n }) {
|
|
|
3970
3990
|
top: 0,
|
|
3971
3991
|
left: 0,
|
|
3972
3992
|
right: 0,
|
|
3973
|
-
height:
|
|
3993
|
+
height: ge * 0.35,
|
|
3974
3994
|
background: `radial-gradient(ellipse at 50% 0%,
|
|
3975
3995
|
${t > 70 ? "rgba(255,34,85,0.14)" : `${n}15`} 0%,
|
|
3976
3996
|
transparent 70%)`
|
|
@@ -4008,7 +4028,7 @@ function Ot({ queueDepth: t, color: n }) {
|
|
|
4008
4028
|
}
|
|
4009
4029
|
);
|
|
4010
4030
|
}
|
|
4011
|
-
function
|
|
4031
|
+
function Zt({
|
|
4012
4032
|
rotateX: t = -20,
|
|
4013
4033
|
rotateY: n = 20,
|
|
4014
4034
|
rotateZ: o = 0,
|
|
@@ -4021,26 +4041,26 @@ function Dt({
|
|
|
4021
4041
|
instances: c = 3,
|
|
4022
4042
|
_compact: p
|
|
4023
4043
|
}) {
|
|
4024
|
-
const [f, b] =
|
|
4025
|
-
|
|
4044
|
+
const [f, b] = T(n), g = ee(0), u = ee(0);
|
|
4045
|
+
Ee(() => {
|
|
4026
4046
|
if (!r) {
|
|
4027
4047
|
b(n);
|
|
4028
4048
|
return;
|
|
4029
4049
|
}
|
|
4030
|
-
const
|
|
4031
|
-
u.current && b((
|
|
4050
|
+
const S = (y) => {
|
|
4051
|
+
u.current && b((k) => k + (y - u.current) * 0.027), u.current = y, g.current = requestAnimationFrame(S);
|
|
4032
4052
|
};
|
|
4033
|
-
return g.current = requestAnimationFrame(
|
|
4053
|
+
return g.current = requestAnimationFrame(S), () => {
|
|
4034
4054
|
cancelAnimationFrame(g.current), u.current = 0;
|
|
4035
4055
|
};
|
|
4036
4056
|
}, [r, n]);
|
|
4037
|
-
const m =
|
|
4057
|
+
const m = ot[a] ?? ot.online;
|
|
4038
4058
|
return /* @__PURE__ */ d(
|
|
4039
4059
|
"div",
|
|
4040
4060
|
{
|
|
4041
4061
|
style: {
|
|
4042
4062
|
width: K * i,
|
|
4043
|
-
height:
|
|
4063
|
+
height: U * i,
|
|
4044
4064
|
position: "relative",
|
|
4045
4065
|
display: "flex",
|
|
4046
4066
|
alignItems: "center",
|
|
@@ -4101,7 +4121,7 @@ function Dt({
|
|
|
4101
4121
|
style: {
|
|
4102
4122
|
position: "absolute",
|
|
4103
4123
|
width: K * 1.3 * i,
|
|
4104
|
-
height:
|
|
4124
|
+
height: U * 2 * i,
|
|
4105
4125
|
background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
|
|
4106
4126
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
4107
4127
|
pointerEvents: "none",
|
|
@@ -4125,15 +4145,15 @@ function Dt({
|
|
|
4125
4145
|
{
|
|
4126
4146
|
style: {
|
|
4127
4147
|
width: K,
|
|
4128
|
-
height:
|
|
4148
|
+
height: U,
|
|
4129
4149
|
position: "relative",
|
|
4130
4150
|
transformStyle: "preserve-3d",
|
|
4131
4151
|
transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${o}deg)`,
|
|
4132
4152
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
4133
4153
|
},
|
|
4134
4154
|
children: [
|
|
4135
|
-
/* @__PURE__ */ e("div", { style:
|
|
4136
|
-
|
|
4155
|
+
/* @__PURE__ */ e("div", { style: fe.front, children: /* @__PURE__ */ e(
|
|
4156
|
+
qt,
|
|
4137
4157
|
{
|
|
4138
4158
|
cfg: m,
|
|
4139
4159
|
name: s,
|
|
@@ -4143,11 +4163,11 @@ function Dt({
|
|
|
4143
4163
|
compact: p
|
|
4144
4164
|
}
|
|
4145
4165
|
) }),
|
|
4146
|
-
/* @__PURE__ */ e("div", { style:
|
|
4147
|
-
/* @__PURE__ */ e("div", { style:
|
|
4148
|
-
/* @__PURE__ */ e("div", { style:
|
|
4149
|
-
/* @__PURE__ */ e("div", { style:
|
|
4150
|
-
/* @__PURE__ */ e("div", { style:
|
|
4166
|
+
/* @__PURE__ */ e("div", { style: fe.back, children: /* @__PURE__ */ e(Gt, {}) }),
|
|
4167
|
+
/* @__PURE__ */ e("div", { style: fe.left, children: /* @__PURE__ */ e(rt, { side: "left", color: m.color }) }),
|
|
4168
|
+
/* @__PURE__ */ e("div", { style: fe.right, children: /* @__PURE__ */ e(rt, { side: "right", color: m.color }) }),
|
|
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" } }) })
|
|
4151
4171
|
]
|
|
4152
4172
|
}
|
|
4153
4173
|
)
|
|
@@ -4157,8 +4177,8 @@ function Dt({
|
|
|
4157
4177
|
}
|
|
4158
4178
|
);
|
|
4159
4179
|
}
|
|
4160
|
-
function
|
|
4161
|
-
const i = (
|
|
4180
|
+
function ct({ status: t = "online", scale: n = 1 }) {
|
|
4181
|
+
const i = (w[t] ?? w.online).color;
|
|
4162
4182
|
return /* @__PURE__ */ e(
|
|
4163
4183
|
"div",
|
|
4164
4184
|
{
|
|
@@ -4269,13 +4289,13 @@ function et({ status: t = "online", scale: n = 1 }) {
|
|
|
4269
4289
|
}
|
|
4270
4290
|
);
|
|
4271
4291
|
}
|
|
4272
|
-
function
|
|
4292
|
+
function R(t, n, o = 24) {
|
|
4273
4293
|
return Array.from({ length: o }, (i, r) => {
|
|
4274
4294
|
const a = r / o;
|
|
4275
4295
|
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
|
|
4276
4296
|
});
|
|
4277
4297
|
}
|
|
4278
|
-
function
|
|
4298
|
+
function Jt({ data: t, color: n, height: o = 28 }) {
|
|
4279
4299
|
const r = o, a = Math.max(...t, 1), s = t.map((l, h) => {
|
|
4280
4300
|
const c = h / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
|
|
4281
4301
|
return `${c},${p}`;
|
|
@@ -4293,7 +4313,7 @@ function Wt({ data: t, color: n, height: o = 28 }) {
|
|
|
4293
4313
|
}
|
|
4294
4314
|
) });
|
|
4295
4315
|
}
|
|
4296
|
-
function
|
|
4316
|
+
function ei({
|
|
4297
4317
|
type: t,
|
|
4298
4318
|
name: n,
|
|
4299
4319
|
context: o = {},
|
|
@@ -4301,7 +4321,7 @@ function zt({
|
|
|
4301
4321
|
animPhase: r,
|
|
4302
4322
|
series: a
|
|
4303
4323
|
}) {
|
|
4304
|
-
const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) :
|
|
4324
|
+
const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ti(t, o), h = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
|
|
4305
4325
|
return /* @__PURE__ */ d(
|
|
4306
4326
|
"div",
|
|
4307
4327
|
{
|
|
@@ -4356,7 +4376,7 @@ function zt({
|
|
|
4356
4376
|
p.unit
|
|
4357
4377
|
] })
|
|
4358
4378
|
] }),
|
|
4359
|
-
/* @__PURE__ */ e(
|
|
4379
|
+
/* @__PURE__ */ e(Jt, { data: p.data, color: p.color, height: 26 })
|
|
4360
4380
|
]
|
|
4361
4381
|
},
|
|
4362
4382
|
p.id
|
|
@@ -4365,43 +4385,43 @@ function zt({
|
|
|
4365
4385
|
}
|
|
4366
4386
|
);
|
|
4367
4387
|
}
|
|
4368
|
-
function
|
|
4388
|
+
function ti(t, n) {
|
|
4369
4389
|
if (t === "server") {
|
|
4370
4390
|
const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
|
|
4371
4391
|
return [
|
|
4372
|
-
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data:
|
|
4373
|
-
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data:
|
|
4374
|
-
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data:
|
|
4375
|
-
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data:
|
|
4376
|
-
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
4377
|
-
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
4378
|
-
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data:
|
|
4379
|
-
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data:
|
|
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
|
+
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: R(i, 18) },
|
|
4395
|
+
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: R(i * 0.85, 14) },
|
|
4396
|
+
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: R(40, 25) },
|
|
4397
|
+
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: R(35, 20) },
|
|
4398
|
+
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: R(30, 22) },
|
|
4399
|
+
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: R(55, 20) }
|
|
4380
4400
|
];
|
|
4381
4401
|
}
|
|
4382
4402
|
if (t === "dispatcher" || t === "messageServer") {
|
|
4383
4403
|
const o = n.traffic ?? n.queueDepth ?? 50;
|
|
4384
4404
|
return [
|
|
4385
|
-
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data:
|
|
4386
|
-
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data:
|
|
4387
|
-
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data:
|
|
4388
|
-
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data:
|
|
4389
|
-
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data:
|
|
4405
|
+
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: R(o, 20) },
|
|
4406
|
+
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: R(60, 25) },
|
|
4407
|
+
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: R(45, 20) },
|
|
4408
|
+
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: R(70, 30) },
|
|
4409
|
+
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: R(o * 0.9, 15) }
|
|
4390
4410
|
];
|
|
4391
4411
|
}
|
|
4392
4412
|
if (t === "database") {
|
|
4393
4413
|
const o = n.capacity ?? 70;
|
|
4394
4414
|
return [
|
|
4395
|
-
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data:
|
|
4396
|
-
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
4397
|
-
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
4398
|
-
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data:
|
|
4399
|
-
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data:
|
|
4415
|
+
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: R(40, 20) },
|
|
4416
|
+
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: R(55, 25) },
|
|
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(o, 15) },
|
|
4419
|
+
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: R(75, 12) }
|
|
4400
4420
|
];
|
|
4401
4421
|
}
|
|
4402
4422
|
return [];
|
|
4403
4423
|
}
|
|
4404
|
-
function
|
|
4424
|
+
function pt({
|
|
4405
4425
|
w: t,
|
|
4406
4426
|
h: n,
|
|
4407
4427
|
color: o,
|
|
@@ -4410,14 +4430,14 @@ function tt({
|
|
|
4410
4430
|
delay: a = "0s",
|
|
4411
4431
|
children: s
|
|
4412
4432
|
}) {
|
|
4413
|
-
const l = r ?
|
|
4433
|
+
const l = r ? w[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
|
|
4414
4434
|
return /* @__PURE__ */ d(
|
|
4415
4435
|
"div",
|
|
4416
4436
|
{
|
|
4417
4437
|
style: {
|
|
4418
4438
|
width: t,
|
|
4419
4439
|
height: n,
|
|
4420
|
-
background:
|
|
4440
|
+
background: we,
|
|
4421
4441
|
position: "relative",
|
|
4422
4442
|
overflow: "hidden",
|
|
4423
4443
|
borderRadius: 2,
|
|
@@ -4451,8 +4471,8 @@ function tt({
|
|
|
4451
4471
|
width: 4,
|
|
4452
4472
|
height: 4,
|
|
4453
4473
|
borderRadius: "50%",
|
|
4454
|
-
background:
|
|
4455
|
-
boxShadow: `0 0 6px ${
|
|
4474
|
+
background: w[r]?.color,
|
|
4475
|
+
boxShadow: `0 0 6px ${w[r]?.color}`,
|
|
4456
4476
|
animation: "holo-led-blink 1.2s infinite"
|
|
4457
4477
|
}
|
|
4458
4478
|
}
|
|
@@ -4494,7 +4514,7 @@ function tt({
|
|
|
4494
4514
|
}
|
|
4495
4515
|
);
|
|
4496
4516
|
}
|
|
4497
|
-
function
|
|
4517
|
+
function Ie({
|
|
4498
4518
|
color: t = "#00e5ff",
|
|
4499
4519
|
label: n = "CPU-0",
|
|
4500
4520
|
status: o = "online",
|
|
@@ -4507,7 +4527,7 @@ function Re({
|
|
|
4507
4527
|
style: {
|
|
4508
4528
|
width: 52,
|
|
4509
4529
|
height: 36,
|
|
4510
|
-
background:
|
|
4530
|
+
background: we,
|
|
4511
4531
|
position: "relative",
|
|
4512
4532
|
borderRadius: 2,
|
|
4513
4533
|
border: `1px solid ${t}55`,
|
|
@@ -4578,8 +4598,8 @@ function Re({
|
|
|
4578
4598
|
width: 4,
|
|
4579
4599
|
height: 4,
|
|
4580
4600
|
borderRadius: "50%",
|
|
4581
|
-
background:
|
|
4582
|
-
boxShadow: `0 0 6px ${
|
|
4601
|
+
background: w[o]?.color,
|
|
4602
|
+
boxShadow: `0 0 6px ${w[o]?.color}`,
|
|
4583
4603
|
animation: "holo-led-blink 1.2s infinite"
|
|
4584
4604
|
}
|
|
4585
4605
|
}
|
|
@@ -4605,7 +4625,7 @@ function Re({
|
|
|
4605
4625
|
)
|
|
4606
4626
|
] });
|
|
4607
4627
|
}
|
|
4608
|
-
function
|
|
4628
|
+
function Oe({
|
|
4609
4629
|
color: t = "#00e5ff",
|
|
4610
4630
|
label: n = "HEAP-0",
|
|
4611
4631
|
status: o = "online",
|
|
@@ -4676,7 +4696,7 @@ function Pe({
|
|
|
4676
4696
|
width: 3,
|
|
4677
4697
|
height: 3,
|
|
4678
4698
|
borderRadius: "50%",
|
|
4679
|
-
background:
|
|
4699
|
+
background: w[o]?.color,
|
|
4680
4700
|
animation: "holo-led-blink 1.2s infinite"
|
|
4681
4701
|
}
|
|
4682
4702
|
}
|
|
@@ -4702,13 +4722,13 @@ function Pe({
|
|
|
4702
4722
|
)
|
|
4703
4723
|
] });
|
|
4704
4724
|
}
|
|
4705
|
-
function
|
|
4725
|
+
function ye({
|
|
4706
4726
|
color: t = "#00e5ff",
|
|
4707
4727
|
label: n = "DRIVE-1",
|
|
4708
4728
|
status: o = "online",
|
|
4709
4729
|
activity: i = !1
|
|
4710
4730
|
}) {
|
|
4711
|
-
return /* @__PURE__ */ d(
|
|
4731
|
+
return /* @__PURE__ */ d(pt, { w: 56, h: 22, color: t, label: n, status: o, children: [
|
|
4712
4732
|
/* @__PURE__ */ e(
|
|
4713
4733
|
"div",
|
|
4714
4734
|
{
|
|
@@ -4741,7 +4761,7 @@ function he({
|
|
|
4741
4761
|
)
|
|
4742
4762
|
] });
|
|
4743
4763
|
}
|
|
4744
|
-
function
|
|
4764
|
+
function ft({
|
|
4745
4765
|
color: t = "#00e5ff",
|
|
4746
4766
|
label: n = "NET",
|
|
4747
4767
|
status: o = "online"
|
|
@@ -4752,7 +4772,7 @@ function it({
|
|
|
4752
4772
|
style: {
|
|
4753
4773
|
width: 48,
|
|
4754
4774
|
height: 28,
|
|
4755
|
-
background:
|
|
4775
|
+
background: we,
|
|
4756
4776
|
position: "relative",
|
|
4757
4777
|
borderRadius: 2,
|
|
4758
4778
|
border: `1px solid ${t}44`,
|
|
@@ -4805,14 +4825,14 @@ function it({
|
|
|
4805
4825
|
}
|
|
4806
4826
|
);
|
|
4807
4827
|
}
|
|
4808
|
-
function
|
|
4828
|
+
function I({
|
|
4809
4829
|
color: t = "#00e5ff",
|
|
4810
4830
|
label: n = "THREAD",
|
|
4811
4831
|
status: o = "online"
|
|
4812
4832
|
}) {
|
|
4813
|
-
return /* @__PURE__ */ e(
|
|
4833
|
+
return /* @__PURE__ */ e(pt, { w: 44, h: 28, color: t, label: n, status: o });
|
|
4814
4834
|
}
|
|
4815
|
-
function
|
|
4835
|
+
function Ae({
|
|
4816
4836
|
color: t = "#ff8c00",
|
|
4817
4837
|
label: n = "PLATTER-0",
|
|
4818
4838
|
status: o = "online",
|
|
@@ -4870,7 +4890,7 @@ function $e({
|
|
|
4870
4890
|
width: 4,
|
|
4871
4891
|
height: 4,
|
|
4872
4892
|
borderRadius: "50%",
|
|
4873
|
-
background:
|
|
4893
|
+
background: w[o]?.color,
|
|
4874
4894
|
animation: "holo-led-blink 1.2s infinite"
|
|
4875
4895
|
}
|
|
4876
4896
|
}
|
|
@@ -4896,7 +4916,7 @@ function $e({
|
|
|
4896
4916
|
)
|
|
4897
4917
|
] });
|
|
4898
4918
|
}
|
|
4899
|
-
function
|
|
4919
|
+
function N({
|
|
4900
4920
|
color: t = "#00e5ff",
|
|
4901
4921
|
label: n = "PORT-1",
|
|
4902
4922
|
status: o = "online"
|
|
@@ -4925,7 +4945,7 @@ function z({
|
|
|
4925
4945
|
width: 4,
|
|
4926
4946
|
height: 4,
|
|
4927
4947
|
borderRadius: "50%",
|
|
4928
|
-
background: o && o !== "online" ?
|
|
4948
|
+
background: o && o !== "online" ? w[o]?.color ?? t : t,
|
|
4929
4949
|
boxShadow: `0 0 4px ${t}`,
|
|
4930
4950
|
animation: o && o !== "online" && o !== "offline" ? "holo-led-blink 1s infinite" : "none"
|
|
4931
4951
|
}
|
|
@@ -4966,7 +4986,7 @@ function z({
|
|
|
4966
4986
|
}
|
|
4967
4987
|
);
|
|
4968
4988
|
}
|
|
4969
|
-
function
|
|
4989
|
+
function ii(t, n, o, i) {
|
|
4970
4990
|
const r = o === "online" ? "online" : o;
|
|
4971
4991
|
return t === "server" ? [
|
|
4972
4992
|
{
|
|
@@ -5070,8 +5090,8 @@ function Mt(t, n, o, i) {
|
|
|
5070
5090
|
}
|
|
5071
5091
|
] : [];
|
|
5072
5092
|
}
|
|
5073
|
-
const
|
|
5074
|
-
function
|
|
5093
|
+
const E = "cubic-bezier(0.34, 1.56, 0.64, 1)", ni = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
5094
|
+
function oi({ items: t, revealPhase: n }) {
|
|
5075
5095
|
return /* @__PURE__ */ e(
|
|
5076
5096
|
"div",
|
|
5077
5097
|
{
|
|
@@ -5089,7 +5109,7 @@ function Ft({ items: t, revealPhase: n }) {
|
|
|
5089
5109
|
style: {
|
|
5090
5110
|
opacity: n >= 0.2 + i * 0.06 ? 1 : 0,
|
|
5091
5111
|
transform: `scale(${n >= 0.2 + i * 0.06 ? 1 : 0.6})`,
|
|
5092
|
-
transition: `opacity 0.4s ${
|
|
5112
|
+
transition: `opacity 0.4s ${E} ${i * 0.06}s, transform 0.45s ${E} ${i * 0.06}s`
|
|
5093
5113
|
},
|
|
5094
5114
|
children: o.element
|
|
5095
5115
|
},
|
|
@@ -5098,21 +5118,21 @@ function Ft({ items: t, revealPhase: n }) {
|
|
|
5098
5118
|
}
|
|
5099
5119
|
);
|
|
5100
5120
|
}
|
|
5101
|
-
function
|
|
5121
|
+
function ri({
|
|
5102
5122
|
type: t,
|
|
5103
5123
|
status: n,
|
|
5104
5124
|
context: o,
|
|
5105
5125
|
internal: i,
|
|
5106
5126
|
revealPhase: r
|
|
5107
5127
|
}) {
|
|
5108
|
-
const a =
|
|
5128
|
+
const a = w[n]?.color ?? w.online.color, s = "#ff8c00";
|
|
5109
5129
|
if (t === "server") {
|
|
5110
5130
|
const l = o.cpuLoad ?? 50, h = o.memLoad ?? 60, c = [
|
|
5111
5131
|
{
|
|
5112
5132
|
key: "cpu0",
|
|
5113
5133
|
delay: 0,
|
|
5114
5134
|
el: /* @__PURE__ */ e(
|
|
5115
|
-
|
|
5135
|
+
Ie,
|
|
5116
5136
|
{
|
|
5117
5137
|
color: a,
|
|
5118
5138
|
label: "CPU-0",
|
|
@@ -5126,7 +5146,7 @@ function Ht({
|
|
|
5126
5146
|
key: "cpu1",
|
|
5127
5147
|
delay: 1,
|
|
5128
5148
|
el: /* @__PURE__ */ e(
|
|
5129
|
-
|
|
5149
|
+
Ie,
|
|
5130
5150
|
{
|
|
5131
5151
|
color: a,
|
|
5132
5152
|
label: "CPU-1",
|
|
@@ -5140,7 +5160,7 @@ function Ht({
|
|
|
5140
5160
|
key: "heap0",
|
|
5141
5161
|
delay: 2,
|
|
5142
5162
|
el: /* @__PURE__ */ e(
|
|
5143
|
-
|
|
5163
|
+
Oe,
|
|
5144
5164
|
{
|
|
5145
5165
|
color: "#8855ee",
|
|
5146
5166
|
label: "HEAP-0",
|
|
@@ -5154,7 +5174,7 @@ function Ht({
|
|
|
5154
5174
|
key: "heap1",
|
|
5155
5175
|
delay: 3,
|
|
5156
5176
|
el: /* @__PURE__ */ e(
|
|
5157
|
-
|
|
5177
|
+
Oe,
|
|
5158
5178
|
{
|
|
5159
5179
|
color: "#8855ee",
|
|
5160
5180
|
label: "HEAP-1",
|
|
@@ -5167,13 +5187,13 @@ function Ht({
|
|
|
5167
5187
|
{
|
|
5168
5188
|
key: "d1",
|
|
5169
5189
|
delay: 4,
|
|
5170
|
-
el: /* @__PURE__ */ e(
|
|
5190
|
+
el: /* @__PURE__ */ e(ye, { color: a, label: "DRIVE-1", status: i[4]?.status, activity: !0 })
|
|
5171
5191
|
},
|
|
5172
5192
|
{
|
|
5173
5193
|
key: "d2",
|
|
5174
5194
|
delay: 5,
|
|
5175
5195
|
el: /* @__PURE__ */ e(
|
|
5176
|
-
|
|
5196
|
+
ye,
|
|
5177
5197
|
{
|
|
5178
5198
|
color: a,
|
|
5179
5199
|
label: "DRIVE-2",
|
|
@@ -5186,7 +5206,7 @@ function Ht({
|
|
|
5186
5206
|
key: "d3",
|
|
5187
5207
|
delay: 6,
|
|
5188
5208
|
el: /* @__PURE__ */ e(
|
|
5189
|
-
|
|
5209
|
+
ye,
|
|
5190
5210
|
{
|
|
5191
5211
|
color: a,
|
|
5192
5212
|
label: "DRIVE-3",
|
|
@@ -5198,12 +5218,12 @@ function Ht({
|
|
|
5198
5218
|
{
|
|
5199
5219
|
key: "thread",
|
|
5200
5220
|
delay: 7,
|
|
5201
|
-
el: /* @__PURE__ */ e(
|
|
5221
|
+
el: /* @__PURE__ */ e(I, { color: a, label: "THREAD-POOL", status: i[7]?.status })
|
|
5202
5222
|
},
|
|
5203
5223
|
{
|
|
5204
5224
|
key: "net",
|
|
5205
5225
|
delay: 8,
|
|
5206
|
-
el: /* @__PURE__ */ e(
|
|
5226
|
+
el: /* @__PURE__ */ e(ft, { color: a, label: "NET", status: i[8]?.status })
|
|
5207
5227
|
}
|
|
5208
5228
|
];
|
|
5209
5229
|
return /* @__PURE__ */ e(
|
|
@@ -5223,7 +5243,7 @@ function Ht({
|
|
|
5223
5243
|
style: {
|
|
5224
5244
|
opacity: r >= 0.2 + f * 0.08 ? 1 : 0,
|
|
5225
5245
|
transform: `scale(${r >= 0.2 + f * 0.08 ? 1 : 0.6})`,
|
|
5226
|
-
transition: `opacity 0.4s ${
|
|
5246
|
+
transition: `opacity 0.4s ${E} ${f * 0.06}s, transform 0.45s ${E} ${f * 0.06}s`
|
|
5227
5247
|
},
|
|
5228
5248
|
children: b
|
|
5229
5249
|
},
|
|
@@ -5241,9 +5261,9 @@ function Ht({
|
|
|
5241
5261
|
style: {
|
|
5242
5262
|
opacity: r >= 0.25 + c * 0.04 ? 1 : 0,
|
|
5243
5263
|
transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
|
|
5244
|
-
transition: `opacity 0.35s ${
|
|
5264
|
+
transition: `opacity 0.35s ${E} ${c * 0.04}s, transform 0.4s ${E} ${c * 0.04}s`
|
|
5245
5265
|
},
|
|
5246
|
-
children: /* @__PURE__ */ e(
|
|
5266
|
+
children: /* @__PURE__ */ e(N, { color: a, label: `PORT-${c + 1}`, status: p?.status })
|
|
5247
5267
|
},
|
|
5248
5268
|
`p${c}`
|
|
5249
5269
|
);
|
|
@@ -5267,9 +5287,9 @@ function Ht({
|
|
|
5267
5287
|
style: {
|
|
5268
5288
|
opacity: r >= 0.7 ? 1 : 0,
|
|
5269
5289
|
transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
|
|
5270
|
-
transition: `all 0.4s ${
|
|
5290
|
+
transition: `all 0.4s ${E} 0.3s`
|
|
5271
5291
|
},
|
|
5272
|
-
children: /* @__PURE__ */ e(
|
|
5292
|
+
children: /* @__PURE__ */ e(I, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
|
|
5273
5293
|
}
|
|
5274
5294
|
),
|
|
5275
5295
|
/* @__PURE__ */ e(
|
|
@@ -5278,9 +5298,9 @@ function Ht({
|
|
|
5278
5298
|
style: {
|
|
5279
5299
|
opacity: r >= 0.8 ? 1 : 0,
|
|
5280
5300
|
transform: `scale(${r >= 0.8 ? 1 : 0.6})`,
|
|
5281
|
-
transition: `all 0.4s ${
|
|
5301
|
+
transition: `all 0.4s ${E} 0.4s`
|
|
5282
5302
|
},
|
|
5283
|
-
children: /* @__PURE__ */ e(
|
|
5303
|
+
children: /* @__PURE__ */ e(I, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
|
|
5284
5304
|
}
|
|
5285
5305
|
)
|
|
5286
5306
|
] })
|
|
@@ -5307,9 +5327,9 @@ function Ht({
|
|
|
5307
5327
|
style: {
|
|
5308
5328
|
opacity: r >= 0.25 + l * 0.1 ? 1 : 0,
|
|
5309
5329
|
transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
|
|
5310
|
-
transition: `all 0.4s ${
|
|
5330
|
+
transition: `all 0.4s ${E} ${l * 0.08}s`
|
|
5311
5331
|
},
|
|
5312
|
-
children: /* @__PURE__ */ e(
|
|
5332
|
+
children: /* @__PURE__ */ e(N, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
|
|
5313
5333
|
},
|
|
5314
5334
|
l
|
|
5315
5335
|
)),
|
|
@@ -5319,9 +5339,9 @@ function Ht({
|
|
|
5319
5339
|
style: {
|
|
5320
5340
|
opacity: r >= 0.6 ? 1 : 0,
|
|
5321
5341
|
transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
|
|
5322
|
-
transition: `all 0.4s ${
|
|
5342
|
+
transition: `all 0.4s ${E} 0.25s`
|
|
5323
5343
|
},
|
|
5324
|
-
children: /* @__PURE__ */ e(
|
|
5344
|
+
children: /* @__PURE__ */ e(I, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
|
|
5325
5345
|
}
|
|
5326
5346
|
),
|
|
5327
5347
|
[4, 5, 6].map((l) => /* @__PURE__ */ e(
|
|
@@ -5330,10 +5350,10 @@ function Ht({
|
|
|
5330
5350
|
style: {
|
|
5331
5351
|
opacity: r >= 0.7 + (l - 4) * 0.08 ? 1 : 0,
|
|
5332
5352
|
transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
|
|
5333
|
-
transition: `all 0.4s ${
|
|
5353
|
+
transition: `all 0.4s ${E} ${0.35 + (l - 4) * 0.05}s`
|
|
5334
5354
|
},
|
|
5335
5355
|
children: /* @__PURE__ */ e(
|
|
5336
|
-
|
|
5356
|
+
I,
|
|
5337
5357
|
{
|
|
5338
5358
|
color: "#bb55ff",
|
|
5339
5359
|
label: `WORKER-${l - 3}`,
|
|
@@ -5366,10 +5386,10 @@ function Ht({
|
|
|
5366
5386
|
style: {
|
|
5367
5387
|
opacity: r >= 0.2 + h * 0.12 ? 1 : 0,
|
|
5368
5388
|
transform: `scale(${r >= 0.2 + h * 0.12 ? 1 : 0.5})`,
|
|
5369
|
-
transition: `all 0.45s ${
|
|
5389
|
+
transition: `all 0.45s ${E} ${h * 0.1}s`
|
|
5370
5390
|
},
|
|
5371
5391
|
children: /* @__PURE__ */ e(
|
|
5372
|
-
|
|
5392
|
+
Ae,
|
|
5373
5393
|
{
|
|
5374
5394
|
color: s,
|
|
5375
5395
|
label: `PLATTER-${h}`,
|
|
@@ -5386,9 +5406,9 @@ function Ht({
|
|
|
5386
5406
|
style: {
|
|
5387
5407
|
opacity: r >= 0.6 ? 1 : 0,
|
|
5388
5408
|
transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
|
|
5389
|
-
transition: `all 0.4s ${
|
|
5409
|
+
transition: `all 0.4s ${E} 0.3s`
|
|
5390
5410
|
},
|
|
5391
|
-
children: /* @__PURE__ */ e(
|
|
5411
|
+
children: /* @__PURE__ */ e(I, { color: s, label: "CONN-POOL", status: i[3]?.status })
|
|
5392
5412
|
}
|
|
5393
5413
|
),
|
|
5394
5414
|
/* @__PURE__ */ e(
|
|
@@ -5397,9 +5417,9 @@ function Ht({
|
|
|
5397
5417
|
style: {
|
|
5398
5418
|
opacity: r >= 0.75 ? 1 : 0,
|
|
5399
5419
|
transform: `scale(${r >= 0.75 ? 1 : 0.6})`,
|
|
5400
|
-
transition: `all 0.4s ${
|
|
5420
|
+
transition: `all 0.4s ${E} 0.4s`
|
|
5401
5421
|
},
|
|
5402
|
-
children: /* @__PURE__ */ e(
|
|
5422
|
+
children: /* @__PURE__ */ e(I, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
|
|
5403
5423
|
}
|
|
5404
5424
|
)
|
|
5405
5425
|
]
|
|
@@ -5408,7 +5428,7 @@ function Ht({
|
|
|
5408
5428
|
}
|
|
5409
5429
|
return null;
|
|
5410
5430
|
}
|
|
5411
|
-
function
|
|
5431
|
+
function wi({
|
|
5412
5432
|
type: t,
|
|
5413
5433
|
name: n,
|
|
5414
5434
|
status: o,
|
|
@@ -5418,7 +5438,7 @@ function ei({
|
|
|
5418
5438
|
subComponents: s,
|
|
5419
5439
|
graphSeries: l
|
|
5420
5440
|
}) {
|
|
5421
|
-
const h =
|
|
5441
|
+
const h = ii(t, n, o, a), c = w[o]?.color ?? w.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", b = r >= 0.2 ? "50%" : "0%", g = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
|
|
5422
5442
|
return /* @__PURE__ */ d(
|
|
5423
5443
|
"div",
|
|
5424
5444
|
{
|
|
@@ -5442,13 +5462,13 @@ function ei({
|
|
|
5442
5462
|
backdropFilter: "blur(10px)",
|
|
5443
5463
|
WebkitBackdropFilter: "blur(10px)",
|
|
5444
5464
|
opacity: p,
|
|
5445
|
-
transition: `opacity 0.4s ${
|
|
5465
|
+
transition: `opacity 0.4s ${ni}`
|
|
5446
5466
|
},
|
|
5447
5467
|
onClick: i
|
|
5448
5468
|
}
|
|
5449
5469
|
),
|
|
5450
5470
|
/* @__PURE__ */ e(
|
|
5451
|
-
|
|
5471
|
+
ei,
|
|
5452
5472
|
{
|
|
5453
5473
|
type: t,
|
|
5454
5474
|
name: n,
|
|
@@ -5492,7 +5512,7 @@ function ei({
|
|
|
5492
5512
|
borderRight: `2px solid ${c}44`,
|
|
5493
5513
|
boxShadow: "4px 0 32px rgba(0,0,0,0.6)",
|
|
5494
5514
|
transform: `translateX(${f})`,
|
|
5495
|
-
transition: `transform 0.7s ${
|
|
5515
|
+
transition: `transform 0.7s ${E}`
|
|
5496
5516
|
}
|
|
5497
5517
|
}
|
|
5498
5518
|
),
|
|
@@ -5507,7 +5527,7 @@ function ei({
|
|
|
5507
5527
|
borderLeft: `2px solid ${c}44`,
|
|
5508
5528
|
boxShadow: "-4px 0 32px rgba(0,0,0,0.6)",
|
|
5509
5529
|
transform: `translateX(${b})`,
|
|
5510
|
-
transition: `transform 0.7s ${
|
|
5530
|
+
transition: `transform 0.7s ${E}`
|
|
5511
5531
|
}
|
|
5512
5532
|
}
|
|
5513
5533
|
)
|
|
@@ -5530,7 +5550,7 @@ function ei({
|
|
|
5530
5550
|
display: "flex",
|
|
5531
5551
|
flexDirection: "column",
|
|
5532
5552
|
opacity: g >= 0.1 ? 1 : 0,
|
|
5533
|
-
transition: `opacity 0.5s ${
|
|
5553
|
+
transition: `opacity 0.5s ${E} 0.2s`
|
|
5534
5554
|
},
|
|
5535
5555
|
children: [
|
|
5536
5556
|
/* @__PURE__ */ d(
|
|
@@ -5618,8 +5638,8 @@ function ei({
|
|
|
5618
5638
|
}
|
|
5619
5639
|
}
|
|
5620
5640
|
),
|
|
5621
|
-
/* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(
|
|
5622
|
-
|
|
5641
|
+
/* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(oi, { items: s, revealPhase: g }) : /* @__PURE__ */ e(
|
|
5642
|
+
ri,
|
|
5623
5643
|
{
|
|
5624
5644
|
type: t,
|
|
5625
5645
|
name: n,
|
|
@@ -5639,35 +5659,35 @@ function ei({
|
|
|
5639
5659
|
}
|
|
5640
5660
|
);
|
|
5641
5661
|
}
|
|
5642
|
-
function
|
|
5662
|
+
function Si({
|
|
5643
5663
|
brandName: t = "BUSAUD AIOps",
|
|
5644
5664
|
brandTag: n = "3D MONITOR",
|
|
5645
5665
|
services: o = [],
|
|
5646
5666
|
backgroundImage: i,
|
|
5647
5667
|
children: r
|
|
5648
5668
|
}) {
|
|
5649
|
-
const [a] =
|
|
5650
|
-
f === "compact" && (
|
|
5669
|
+
const [a] = T(20), [s] = T(!1), [l] = T(!0), [h] = T(6e-3), [c] = T(0.45), [p] = T(3.3), [f, b] = T("compact"), [g, u] = T(0), [m, S] = T(null), [y, k] = T(null), [x, W] = T(0), M = (C) => {
|
|
5670
|
+
f === "compact" && (S(C), b("expanding"), u(0), setTimeout(() => u(1), 50), setTimeout(() => u(2), 800), setTimeout(() => u(3), 1200), setTimeout(() => u(4), 1600), setTimeout(() => u(5), 2e3), setTimeout(() => {
|
|
5651
5671
|
u(6), b("expanded");
|
|
5652
5672
|
}, 2400));
|
|
5653
|
-
},
|
|
5654
|
-
y ? (
|
|
5655
|
-
b((
|
|
5673
|
+
}, P = () => {
|
|
5674
|
+
y ? (k(null), W(0)) : f === "expanded" && (b("collapsing"), u(0), S(null), setTimeout(() => {
|
|
5675
|
+
b((C) => C === "collapsing" ? "compact" : C);
|
|
5656
5676
|
}, 1e3));
|
|
5657
|
-
},
|
|
5658
|
-
|
|
5677
|
+
}, Y = (C) => {
|
|
5678
|
+
k(C), W(0);
|
|
5659
5679
|
};
|
|
5660
|
-
|
|
5680
|
+
J.useEffect(() => {
|
|
5661
5681
|
if (!y) return;
|
|
5662
|
-
const
|
|
5663
|
-
const
|
|
5664
|
-
|
|
5665
|
-
},
|
|
5666
|
-
return () => cancelAnimationFrame(
|
|
5682
|
+
const C = performance.now(), z = 1200, j = () => {
|
|
5683
|
+
const le = performance.now() - C, oe = Math.min(1, le / z);
|
|
5684
|
+
W(oe), oe < 1 && requestAnimationFrame(j);
|
|
5685
|
+
}, ke = requestAnimationFrame(j);
|
|
5686
|
+
return () => cancelAnimationFrame(ke);
|
|
5667
5687
|
}, [y]);
|
|
5668
|
-
const
|
|
5669
|
-
|
|
5670
|
-
},
|
|
5688
|
+
const v = () => {
|
|
5689
|
+
k(null), W(0);
|
|
5690
|
+
}, L = o.find((C) => C.name === m), Q = L?.status ?? "online", V = L?.dbSync ?? !0, te = L?.metrics, ie = L?.alerts, O = 330, B = 340, ne = y ? 1.15 : 1, Se = y ? -(y.ex - O) * 0.06 : 0, $e = y ? -(y.ey - B) * 0.06 : 0;
|
|
5671
5691
|
return /* @__PURE__ */ d("div", { className: "app", children: [
|
|
5672
5692
|
/* @__PURE__ */ e(
|
|
5673
5693
|
"div",
|
|
@@ -5682,7 +5702,7 @@ function ti({
|
|
|
5682
5702
|
backgroundPosition: "center center",
|
|
5683
5703
|
backgroundRepeat: "no-repeat",
|
|
5684
5704
|
transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
5685
|
-
transform: `translate(${
|
|
5705
|
+
transform: `translate(${Se}px, ${$e}px) scale(${ne})`,
|
|
5686
5706
|
willChange: "transform"
|
|
5687
5707
|
}
|
|
5688
5708
|
}
|
|
@@ -5701,29 +5721,29 @@ function ti({
|
|
|
5701
5721
|
style: {
|
|
5702
5722
|
cursor: f === "expanded" ? "zoom-out" : "default"
|
|
5703
5723
|
},
|
|
5704
|
-
onClick:
|
|
5724
|
+
onClick: P,
|
|
5705
5725
|
children: /* @__PURE__ */ e(
|
|
5706
|
-
|
|
5726
|
+
Wt,
|
|
5707
5727
|
{
|
|
5708
5728
|
viewState: f,
|
|
5709
5729
|
animPhase: g,
|
|
5710
5730
|
selectedSystem: m,
|
|
5711
5731
|
selectedComponent: y,
|
|
5712
|
-
drillAnimPhase:
|
|
5732
|
+
drillAnimPhase: x,
|
|
5713
5733
|
rotateY: a,
|
|
5714
5734
|
autoRotateComponents: s,
|
|
5715
5735
|
componentScale: c,
|
|
5716
5736
|
drillZoom: p,
|
|
5717
5737
|
autoRotateCarousel: l,
|
|
5718
5738
|
carouselSpeed: h,
|
|
5719
|
-
onSelectSystem:
|
|
5720
|
-
onBackgroundClick:
|
|
5721
|
-
onComponentClick:
|
|
5722
|
-
onCloseDrill:
|
|
5723
|
-
selectedSystemStatus:
|
|
5724
|
-
selectedSystemDbSync:
|
|
5725
|
-
selectedSystemMetrics:
|
|
5726
|
-
selectedSystemAlerts:
|
|
5739
|
+
onSelectSystem: M,
|
|
5740
|
+
onBackgroundClick: P,
|
|
5741
|
+
onComponentClick: Y,
|
|
5742
|
+
onCloseDrill: v,
|
|
5743
|
+
selectedSystemStatus: Q,
|
|
5744
|
+
selectedSystemDbSync: V,
|
|
5745
|
+
selectedSystemMetrics: te,
|
|
5746
|
+
selectedSystemAlerts: ie,
|
|
5727
5747
|
children: r
|
|
5728
5748
|
}
|
|
5729
5749
|
)
|
|
@@ -5737,24 +5757,24 @@ function $(t, n, o = 24) {
|
|
|
5737
5757
|
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
|
|
5738
5758
|
});
|
|
5739
5759
|
}
|
|
5740
|
-
function
|
|
5760
|
+
function ht(t) {
|
|
5741
5761
|
return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
|
|
5742
5762
|
}
|
|
5743
|
-
function
|
|
5744
|
-
const i = t === "online" ? "online" : t, r =
|
|
5763
|
+
function me(t, n, o) {
|
|
5764
|
+
const i = t === "online" ? "online" : t, r = ht(t), a = o?.cpuLoad ?? 50, s = o?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", h = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && n === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
|
|
5745
5765
|
return [
|
|
5746
|
-
{ id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(
|
|
5747
|
-
{ id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(
|
|
5748
|
-
{ id: "heap-0", label: "HEAP-0", status: h, detail: h === "warning" ? "Memory heap usage" : h === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(
|
|
5749
|
-
{ id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(
|
|
5750
|
-
{ id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(
|
|
5751
|
-
{ id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(
|
|
5752
|
-
{ id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(
|
|
5753
|
-
{ id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(
|
|
5754
|
-
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(
|
|
5766
|
+
{ id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(Ie, { color: r, label: "CPU-0", status: l, load: a }) },
|
|
5767
|
+
{ id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(Ie, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
|
|
5768
|
+
{ id: "heap-0", label: "HEAP-0", status: h, detail: h === "warning" ? "Memory heap usage" : h === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(Oe, { color: "#8855ee", label: "HEAP-0", status: h, usedPercent: s }) },
|
|
5769
|
+
{ id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(Oe, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
|
|
5770
|
+
{ id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
|
|
5771
|
+
{ id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
|
|
5772
|
+
{ id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
|
|
5773
|
+
{ id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(I, { color: r, label: "THREAD-POOL", status: c }) },
|
|
5774
|
+
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(ft, { color: r, label: "NET", status: p }) }
|
|
5755
5775
|
];
|
|
5756
5776
|
}
|
|
5757
|
-
function
|
|
5777
|
+
function xe(t) {
|
|
5758
5778
|
const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
|
|
5759
5779
|
return [
|
|
5760
5780
|
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: $(n, 15) },
|
|
@@ -5767,22 +5787,22 @@ function be(t) {
|
|
|
5767
5787
|
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: $(55, 20) }
|
|
5768
5788
|
];
|
|
5769
5789
|
}
|
|
5770
|
-
function
|
|
5771
|
-
const i = t === "online" ? "online" : t, r =
|
|
5790
|
+
function ut(t, n, o) {
|
|
5791
|
+
const i = t === "online" ? "online" : t, r = ht(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
|
|
5772
5792
|
return [
|
|
5773
|
-
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(
|
|
5774
|
-
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(
|
|
5775
|
-
{ id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
5776
|
-
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(
|
|
5777
|
-
{ id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(
|
|
5778
|
-
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(
|
|
5779
|
-
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(
|
|
5780
|
-
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(
|
|
5781
|
-
{ id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(
|
|
5782
|
-
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(
|
|
5793
|
+
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(N, { color: r, label: "PORT-1", status: "online" }) },
|
|
5794
|
+
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(N, { color: r, label: "PORT-2", status: "online" }) },
|
|
5795
|
+
{ id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(N, { color: r, label: "PORT-3", status: a }) },
|
|
5796
|
+
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(N, { color: r, label: "PORT-4", status: "online" }) },
|
|
5797
|
+
{ id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(N, { color: r, label: "PORT-5", status: s }) },
|
|
5798
|
+
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(N, { color: r, label: "PORT-6", status: "online" }) },
|
|
5799
|
+
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(N, { color: r, label: "PORT-7", status: "online" }) },
|
|
5800
|
+
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(N, { color: r, label: "PORT-8", status: "online" }) },
|
|
5801
|
+
{ id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(I, { color: r, label: "HTTP-WORKER", status: l }) },
|
|
5802
|
+
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(I, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
|
|
5783
5803
|
];
|
|
5784
5804
|
}
|
|
5785
|
-
function
|
|
5805
|
+
function bt(t) {
|
|
5786
5806
|
const n = t?.traffic ?? 50;
|
|
5787
5807
|
return [
|
|
5788
5808
|
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: $(n, 20) },
|
|
@@ -5792,19 +5812,19 @@ function rt(t) {
|
|
|
5792
5812
|
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: $(n * 0.9, 15) }
|
|
5793
5813
|
];
|
|
5794
5814
|
}
|
|
5795
|
-
function
|
|
5815
|
+
function ai(t, n, o) {
|
|
5796
5816
|
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";
|
|
5797
5817
|
return [
|
|
5798
|
-
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(
|
|
5799
|
-
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(
|
|
5800
|
-
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
5801
|
-
{ id: "queue-0", label: "QUEUE-0", status: a, detail: i === "critical" ? "Queue full" : i === "offline" ? "Unreachable" : i === "warning" ? "Queue depth warning" : void 0, element: /* @__PURE__ */ e(
|
|
5802
|
-
{ id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(
|
|
5803
|
-
{ id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(
|
|
5804
|
-
{ id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(
|
|
5818
|
+
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(N, { color: "#bb55ff", label: "INST-0", status: "online" }) },
|
|
5819
|
+
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(N, { color: "#bb55ff", label: "INST-1", status: "online" }) },
|
|
5820
|
+
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(N, { color: "#bb55ff", label: "INST-2", status: r }) },
|
|
5821
|
+
{ id: "queue-0", label: "QUEUE-0", status: a, detail: i === "critical" ? "Queue full" : i === "offline" ? "Unreachable" : i === "warning" ? "Queue depth warning" : void 0, element: /* @__PURE__ */ e(I, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
|
|
5822
|
+
{ id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(I, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
|
|
5823
|
+
{ id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(I, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
|
|
5824
|
+
{ id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(I, { color: "#bb55ff", label: "WORKER-3", status: s }) }
|
|
5805
5825
|
];
|
|
5806
5826
|
}
|
|
5807
|
-
function
|
|
5827
|
+
function li(t) {
|
|
5808
5828
|
const n = t?.queueDepth ?? 50;
|
|
5809
5829
|
return [
|
|
5810
5830
|
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: $(n, 20) },
|
|
@@ -5814,17 +5834,17 @@ function Yt(t) {
|
|
|
5814
5834
|
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: $(n * 0.9, 15) }
|
|
5815
5835
|
];
|
|
5816
5836
|
}
|
|
5817
|
-
function
|
|
5837
|
+
function De(t, n, o) {
|
|
5818
5838
|
const i = t === "online" ? "online" : t, r = "#ff8c00", a = o?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && n === "DB-STB" ? "warning" : "online", h = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
|
|
5819
5839
|
return [
|
|
5820
|
-
{ id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(
|
|
5821
|
-
{ 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(
|
|
5822
|
-
{ id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(
|
|
5823
|
-
{ id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(
|
|
5824
|
-
{ id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(
|
|
5840
|
+
{ id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Ae, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
|
|
5841
|
+
{ 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(Ae, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
|
|
5842
|
+
{ id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Ae, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
|
|
5843
|
+
{ id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(I, { color: r, label: "CONN-POOL", status: h }) },
|
|
5844
|
+
{ id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(I, { color: "#00ff88", label: "QUERY-CACHE", status: c }) }
|
|
5825
5845
|
];
|
|
5826
5846
|
}
|
|
5827
|
-
function
|
|
5847
|
+
function We(t) {
|
|
5828
5848
|
const n = t?.capacity ?? 70;
|
|
5829
5849
|
return [
|
|
5830
5850
|
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: $(40, 20) },
|
|
@@ -5834,7 +5854,7 @@ function Ce(t) {
|
|
|
5834
5854
|
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: $(75, 12) }
|
|
5835
5855
|
];
|
|
5836
5856
|
}
|
|
5837
|
-
function
|
|
5857
|
+
function Ke(t) {
|
|
5838
5858
|
const n = [
|
|
5839
5859
|
t.wdStatus,
|
|
5840
5860
|
t.msStatus,
|
|
@@ -5846,8 +5866,8 @@ function He(t) {
|
|
|
5846
5866
|
];
|
|
5847
5867
|
return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
|
|
5848
5868
|
}
|
|
5849
|
-
function
|
|
5850
|
-
const n =
|
|
5869
|
+
function $i(t) {
|
|
5870
|
+
const n = Ke(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
5851
5871
|
return [
|
|
5852
5872
|
{
|
|
5853
5873
|
label: "Uptime",
|
|
@@ -5868,8 +5888,8 @@ function ii(t) {
|
|
|
5868
5888
|
}
|
|
5869
5889
|
];
|
|
5870
5890
|
}
|
|
5871
|
-
function
|
|
5872
|
-
const n =
|
|
5891
|
+
function ki(t) {
|
|
5892
|
+
const n = Ke(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
5873
5893
|
return [
|
|
5874
5894
|
...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
|
|
5875
5895
|
...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
|
|
@@ -5877,7 +5897,7 @@ function ni(t) {
|
|
|
5877
5897
|
...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
|
|
5878
5898
|
];
|
|
5879
5899
|
}
|
|
5880
|
-
const
|
|
5900
|
+
const si = [
|
|
5881
5901
|
{ from: [330, 120], to: [220, 260], visibleAtPhase: 3 },
|
|
5882
5902
|
{ from: [330, 120], to: [440, 260], visibleAtPhase: 3 },
|
|
5883
5903
|
{ from: [220, 260], to: [165, 390], visibleAtPhase: 4 },
|
|
@@ -5890,11 +5910,11 @@ const _t = [
|
|
|
5890
5910
|
{ from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
|
|
5891
5911
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
5892
5912
|
];
|
|
5893
|
-
function
|
|
5894
|
-
const n =
|
|
5895
|
-
return /* @__PURE__ */ d(
|
|
5913
|
+
function di({ config: t }) {
|
|
5914
|
+
const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: h, pdbStatus: c, sdbStatus: p, dbSync: f } = t;
|
|
5915
|
+
return /* @__PURE__ */ d(Ce, { children: [
|
|
5896
5916
|
/* @__PURE__ */ e(
|
|
5897
|
-
|
|
5917
|
+
A,
|
|
5898
5918
|
{
|
|
5899
5919
|
ex: 330,
|
|
5900
5920
|
ey: 120,
|
|
@@ -5902,11 +5922,11 @@ function Vt({ config: t }) {
|
|
|
5902
5922
|
zIndex: 10,
|
|
5903
5923
|
visibleAtPhase: 2,
|
|
5904
5924
|
color: "#00e5ff",
|
|
5905
|
-
children: /* @__PURE__ */ e(
|
|
5925
|
+
children: /* @__PURE__ */ e(ct, { status: "online", scale: 1.5 })
|
|
5906
5926
|
}
|
|
5907
5927
|
),
|
|
5908
5928
|
/* @__PURE__ */ e(
|
|
5909
|
-
|
|
5929
|
+
A,
|
|
5910
5930
|
{
|
|
5911
5931
|
ex: 220,
|
|
5912
5932
|
ey: 260,
|
|
@@ -5921,11 +5941,11 @@ function Vt({ config: t }) {
|
|
|
5921
5941
|
name: "WEB-DISP",
|
|
5922
5942
|
status: r,
|
|
5923
5943
|
context: { traffic: 78 },
|
|
5924
|
-
subComponents:
|
|
5925
|
-
graphSeries:
|
|
5944
|
+
subComponents: ut(r),
|
|
5945
|
+
graphSeries: bt({ traffic: 78 })
|
|
5926
5946
|
},
|
|
5927
5947
|
children: /* @__PURE__ */ e(
|
|
5928
|
-
|
|
5948
|
+
dt,
|
|
5929
5949
|
{
|
|
5930
5950
|
rotateY: o,
|
|
5931
5951
|
autoRotate: i,
|
|
@@ -5939,7 +5959,7 @@ function Vt({ config: t }) {
|
|
|
5939
5959
|
}
|
|
5940
5960
|
),
|
|
5941
5961
|
/* @__PURE__ */ e(
|
|
5942
|
-
|
|
5962
|
+
A,
|
|
5943
5963
|
{
|
|
5944
5964
|
ex: 440,
|
|
5945
5965
|
ey: 260,
|
|
@@ -5954,11 +5974,11 @@ function Vt({ config: t }) {
|
|
|
5954
5974
|
name: "MSG-SRV",
|
|
5955
5975
|
status: a,
|
|
5956
5976
|
context: { queueDepth: 45 },
|
|
5957
|
-
subComponents:
|
|
5958
|
-
graphSeries:
|
|
5977
|
+
subComponents: ai(a),
|
|
5978
|
+
graphSeries: li({ queueDepth: 45 })
|
|
5959
5979
|
},
|
|
5960
5980
|
children: /* @__PURE__ */ e(
|
|
5961
|
-
|
|
5981
|
+
Zt,
|
|
5962
5982
|
{
|
|
5963
5983
|
rotateY: -o,
|
|
5964
5984
|
autoRotate: i,
|
|
@@ -5973,7 +5993,7 @@ function Vt({ config: t }) {
|
|
|
5973
5993
|
}
|
|
5974
5994
|
),
|
|
5975
5995
|
/* @__PURE__ */ e(
|
|
5976
|
-
|
|
5996
|
+
A,
|
|
5977
5997
|
{
|
|
5978
5998
|
ex: 165,
|
|
5979
5999
|
ey: 390,
|
|
@@ -5988,11 +6008,11 @@ function Vt({ config: t }) {
|
|
|
5988
6008
|
name: "APP-01",
|
|
5989
6009
|
status: s,
|
|
5990
6010
|
context: { cpuLoad: 67, memLoad: 72 },
|
|
5991
|
-
subComponents:
|
|
5992
|
-
graphSeries:
|
|
6011
|
+
subComponents: me(s, "APP-01", { cpuLoad: 67, memLoad: 72 }),
|
|
6012
|
+
graphSeries: xe({ cpuLoad: 67, memLoad: 72 })
|
|
5993
6013
|
},
|
|
5994
6014
|
children: /* @__PURE__ */ e(
|
|
5995
|
-
|
|
6015
|
+
ue,
|
|
5996
6016
|
{
|
|
5997
6017
|
rotateY: o,
|
|
5998
6018
|
autoRotate: i,
|
|
@@ -6006,7 +6026,7 @@ function Vt({ config: t }) {
|
|
|
6006
6026
|
}
|
|
6007
6027
|
),
|
|
6008
6028
|
/* @__PURE__ */ e(
|
|
6009
|
-
|
|
6029
|
+
A,
|
|
6010
6030
|
{
|
|
6011
6031
|
ex: 330,
|
|
6012
6032
|
ey: 390,
|
|
@@ -6021,11 +6041,11 @@ function Vt({ config: t }) {
|
|
|
6021
6041
|
name: "APP-02",
|
|
6022
6042
|
status: l,
|
|
6023
6043
|
context: { cpuLoad: 89, memLoad: 91 },
|
|
6024
|
-
subComponents:
|
|
6025
|
-
graphSeries:
|
|
6044
|
+
subComponents: me(l, "APP-02", { cpuLoad: 89, memLoad: 91 }),
|
|
6045
|
+
graphSeries: xe({ cpuLoad: 89, memLoad: 91 })
|
|
6026
6046
|
},
|
|
6027
6047
|
children: /* @__PURE__ */ e(
|
|
6028
|
-
|
|
6048
|
+
ue,
|
|
6029
6049
|
{
|
|
6030
6050
|
rotateY: o,
|
|
6031
6051
|
autoRotate: i,
|
|
@@ -6039,7 +6059,7 @@ function Vt({ config: t }) {
|
|
|
6039
6059
|
}
|
|
6040
6060
|
),
|
|
6041
6061
|
/* @__PURE__ */ e(
|
|
6042
|
-
|
|
6062
|
+
A,
|
|
6043
6063
|
{
|
|
6044
6064
|
ex: 495,
|
|
6045
6065
|
ey: 390,
|
|
@@ -6054,11 +6074,11 @@ function Vt({ config: t }) {
|
|
|
6054
6074
|
name: "APP-03",
|
|
6055
6075
|
status: h,
|
|
6056
6076
|
context: { cpuLoad: 45, memLoad: 63 },
|
|
6057
|
-
subComponents:
|
|
6058
|
-
graphSeries:
|
|
6077
|
+
subComponents: me(h, "APP-03", { cpuLoad: 45, memLoad: 63 }),
|
|
6078
|
+
graphSeries: xe({ cpuLoad: 45, memLoad: 63 })
|
|
6059
6079
|
},
|
|
6060
6080
|
children: /* @__PURE__ */ e(
|
|
6061
|
-
|
|
6081
|
+
ue,
|
|
6062
6082
|
{
|
|
6063
6083
|
rotateY: o,
|
|
6064
6084
|
autoRotate: i,
|
|
@@ -6072,7 +6092,7 @@ function Vt({ config: t }) {
|
|
|
6072
6092
|
}
|
|
6073
6093
|
),
|
|
6074
6094
|
/* @__PURE__ */ e(
|
|
6075
|
-
|
|
6095
|
+
A,
|
|
6076
6096
|
{
|
|
6077
6097
|
ex: 200,
|
|
6078
6098
|
ey: 520,
|
|
@@ -6087,11 +6107,11 @@ function Vt({ config: t }) {
|
|
|
6087
6107
|
name: "DB-PRI",
|
|
6088
6108
|
status: c,
|
|
6089
6109
|
context: { capacity: 72 },
|
|
6090
|
-
subComponents:
|
|
6091
|
-
graphSeries:
|
|
6110
|
+
subComponents: De(c, "DB-PRI", { capacity: 72 }),
|
|
6111
|
+
graphSeries: We({ capacity: 72 })
|
|
6092
6112
|
},
|
|
6093
6113
|
children: /* @__PURE__ */ e(
|
|
6094
|
-
|
|
6114
|
+
Le,
|
|
6095
6115
|
{
|
|
6096
6116
|
rotateY: -o,
|
|
6097
6117
|
autoRotate: i,
|
|
@@ -6105,7 +6125,7 @@ function Vt({ config: t }) {
|
|
|
6105
6125
|
}
|
|
6106
6126
|
),
|
|
6107
6127
|
/* @__PURE__ */ e(
|
|
6108
|
-
|
|
6128
|
+
A,
|
|
6109
6129
|
{
|
|
6110
6130
|
ex: 460,
|
|
6111
6131
|
ey: 520,
|
|
@@ -6120,11 +6140,11 @@ function Vt({ config: t }) {
|
|
|
6120
6140
|
name: "DB-STB",
|
|
6121
6141
|
status: p,
|
|
6122
6142
|
context: { capacity: 72 },
|
|
6123
|
-
subComponents:
|
|
6124
|
-
graphSeries:
|
|
6143
|
+
subComponents: De(p, "DB-STB", { capacity: 72 }),
|
|
6144
|
+
graphSeries: We({ capacity: 72 })
|
|
6125
6145
|
},
|
|
6126
6146
|
children: /* @__PURE__ */ e(
|
|
6127
|
-
|
|
6147
|
+
Le,
|
|
6128
6148
|
{
|
|
6129
6149
|
rotateY: o,
|
|
6130
6150
|
autoRotate: i,
|
|
@@ -6138,7 +6158,7 @@ function Vt({ config: t }) {
|
|
|
6138
6158
|
}
|
|
6139
6159
|
),
|
|
6140
6160
|
/* @__PURE__ */ e(
|
|
6141
|
-
|
|
6161
|
+
A,
|
|
6142
6162
|
{
|
|
6143
6163
|
ex: 330,
|
|
6144
6164
|
ey: 520,
|
|
@@ -6147,17 +6167,17 @@ function Vt({ config: t }) {
|
|
|
6147
6167
|
visibleAtPhase: 6,
|
|
6148
6168
|
fixedScale: 1,
|
|
6149
6169
|
bare: !0,
|
|
6150
|
-
children: /* @__PURE__ */ e(
|
|
6170
|
+
children: /* @__PURE__ */ e(st, { synced: f, latencyMs: f ? 8 : 342 })
|
|
6151
6171
|
}
|
|
6152
6172
|
),
|
|
6153
|
-
/* @__PURE__ */ e(
|
|
6173
|
+
/* @__PURE__ */ e(ci, { config: t })
|
|
6154
6174
|
] });
|
|
6155
6175
|
}
|
|
6156
|
-
function
|
|
6157
|
-
const n =
|
|
6176
|
+
function ci({ config: t }) {
|
|
6177
|
+
const n = J.useContext(ae), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: h, dbSync: c } = t, p = n?.isSelected && n?.isExpandedPos;
|
|
6158
6178
|
return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
6159
6179
|
/* @__PURE__ */ e(
|
|
6160
|
-
|
|
6180
|
+
D,
|
|
6161
6181
|
{
|
|
6162
6182
|
ex: 220,
|
|
6163
6183
|
ey: 260,
|
|
@@ -6172,7 +6192,7 @@ function jt({ config: t }) {
|
|
|
6172
6192
|
}
|
|
6173
6193
|
),
|
|
6174
6194
|
/* @__PURE__ */ e(
|
|
6175
|
-
|
|
6195
|
+
D,
|
|
6176
6196
|
{
|
|
6177
6197
|
ex: 440,
|
|
6178
6198
|
ey: 260,
|
|
@@ -6187,7 +6207,7 @@ function jt({ config: t }) {
|
|
|
6187
6207
|
}
|
|
6188
6208
|
),
|
|
6189
6209
|
/* @__PURE__ */ e(
|
|
6190
|
-
|
|
6210
|
+
D,
|
|
6191
6211
|
{
|
|
6192
6212
|
ex: 165,
|
|
6193
6213
|
ey: 390,
|
|
@@ -6202,7 +6222,7 @@ function jt({ config: t }) {
|
|
|
6202
6222
|
}
|
|
6203
6223
|
),
|
|
6204
6224
|
/* @__PURE__ */ e(
|
|
6205
|
-
|
|
6225
|
+
D,
|
|
6206
6226
|
{
|
|
6207
6227
|
ex: 330,
|
|
6208
6228
|
ey: 390,
|
|
@@ -6217,7 +6237,7 @@ function jt({ config: t }) {
|
|
|
6217
6237
|
}
|
|
6218
6238
|
),
|
|
6219
6239
|
/* @__PURE__ */ e(
|
|
6220
|
-
|
|
6240
|
+
D,
|
|
6221
6241
|
{
|
|
6222
6242
|
ex: 495,
|
|
6223
6243
|
ey: 390,
|
|
@@ -6232,7 +6252,7 @@ function jt({ config: t }) {
|
|
|
6232
6252
|
}
|
|
6233
6253
|
),
|
|
6234
6254
|
/* @__PURE__ */ e(
|
|
6235
|
-
|
|
6255
|
+
D,
|
|
6236
6256
|
{
|
|
6237
6257
|
ex: 200,
|
|
6238
6258
|
ey: 520,
|
|
@@ -6247,7 +6267,7 @@ function jt({ config: t }) {
|
|
|
6247
6267
|
}
|
|
6248
6268
|
),
|
|
6249
6269
|
/* @__PURE__ */ e(
|
|
6250
|
-
|
|
6270
|
+
D,
|
|
6251
6271
|
{
|
|
6252
6272
|
ex: 460,
|
|
6253
6273
|
ey: 520,
|
|
@@ -6262,7 +6282,7 @@ function jt({ config: t }) {
|
|
|
6262
6282
|
}
|
|
6263
6283
|
),
|
|
6264
6284
|
!c && /* @__PURE__ */ e(
|
|
6265
|
-
|
|
6285
|
+
D,
|
|
6266
6286
|
{
|
|
6267
6287
|
ex: 330,
|
|
6268
6288
|
ey: 520,
|
|
@@ -6278,19 +6298,19 @@ function jt({ config: t }) {
|
|
|
6278
6298
|
)
|
|
6279
6299
|
] }) : null;
|
|
6280
6300
|
}
|
|
6281
|
-
function
|
|
6301
|
+
function Ri({ config: t, ...n }) {
|
|
6282
6302
|
return /* @__PURE__ */ e(
|
|
6283
|
-
|
|
6303
|
+
lt,
|
|
6284
6304
|
{
|
|
6285
6305
|
name: t.name,
|
|
6286
|
-
status:
|
|
6287
|
-
connections:
|
|
6306
|
+
status: Ke(t),
|
|
6307
|
+
connections: si,
|
|
6288
6308
|
...n,
|
|
6289
|
-
children: /* @__PURE__ */ e(
|
|
6309
|
+
children: /* @__PURE__ */ e(di, { config: t })
|
|
6290
6310
|
}
|
|
6291
6311
|
);
|
|
6292
6312
|
}
|
|
6293
|
-
function
|
|
6313
|
+
function Ze(t) {
|
|
6294
6314
|
const n = [
|
|
6295
6315
|
t.dispStatus,
|
|
6296
6316
|
t.srv1Status,
|
|
@@ -6301,8 +6321,8 @@ function Ue(t) {
|
|
|
6301
6321
|
];
|
|
6302
6322
|
return n.includes("critical") ? "critical" : n.includes("warning") ? "warning" : n.includes("offline") ? "offline" : "online";
|
|
6303
6323
|
}
|
|
6304
|
-
function
|
|
6305
|
-
const n =
|
|
6324
|
+
function Pi(t) {
|
|
6325
|
+
const n = Ze(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6306
6326
|
return [
|
|
6307
6327
|
{
|
|
6308
6328
|
label: "Uptime",
|
|
@@ -6323,8 +6343,8 @@ function ri(t) {
|
|
|
6323
6343
|
}
|
|
6324
6344
|
];
|
|
6325
6345
|
}
|
|
6326
|
-
function
|
|
6327
|
-
const n =
|
|
6346
|
+
function Ci(t) {
|
|
6347
|
+
const n = Ze(t), o = n === "critical" || n === "offline", i = n === "warning";
|
|
6328
6348
|
return [
|
|
6329
6349
|
...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
|
|
6330
6350
|
...o ? [{ level: "critical", message: "Critical Component Failure" }] : [],
|
|
@@ -6332,7 +6352,7 @@ function ai(t) {
|
|
|
6332
6352
|
...!o && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
|
|
6333
6353
|
];
|
|
6334
6354
|
}
|
|
6335
|
-
const
|
|
6355
|
+
const pi = [
|
|
6336
6356
|
{ from: [330, 120], to: [330, 260], visibleAtPhase: 3 },
|
|
6337
6357
|
{ from: [330, 260], to: [165, 390], visibleAtPhase: 4 },
|
|
6338
6358
|
{ from: [330, 260], to: [330, 390], visibleAtPhase: 4 },
|
|
@@ -6341,11 +6361,11 @@ const Xt = [
|
|
|
6341
6361
|
{ from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
|
|
6342
6362
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
6343
6363
|
];
|
|
6344
|
-
function
|
|
6345
|
-
const n =
|
|
6346
|
-
return /* @__PURE__ */ d(
|
|
6364
|
+
function fi({ config: t }) {
|
|
6365
|
+
const n = J.useContext(ae), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: h, sdbStatus: c, dbSync: p } = t;
|
|
6366
|
+
return /* @__PURE__ */ d(Ce, { children: [
|
|
6347
6367
|
/* @__PURE__ */ e(
|
|
6348
|
-
|
|
6368
|
+
A,
|
|
6349
6369
|
{
|
|
6350
6370
|
ex: 330,
|
|
6351
6371
|
ey: 120,
|
|
@@ -6353,11 +6373,11 @@ function Qt({ config: t }) {
|
|
|
6353
6373
|
zIndex: 10,
|
|
6354
6374
|
visibleAtPhase: 2,
|
|
6355
6375
|
color: "#00e5ff",
|
|
6356
|
-
children: /* @__PURE__ */ e(
|
|
6376
|
+
children: /* @__PURE__ */ e(ct, { status: "online", scale: 1.5 })
|
|
6357
6377
|
}
|
|
6358
6378
|
),
|
|
6359
6379
|
/* @__PURE__ */ e(
|
|
6360
|
-
|
|
6380
|
+
A,
|
|
6361
6381
|
{
|
|
6362
6382
|
ex: 330,
|
|
6363
6383
|
ey: 260,
|
|
@@ -6372,11 +6392,11 @@ function Qt({ config: t }) {
|
|
|
6372
6392
|
name: "DISP-01",
|
|
6373
6393
|
status: r,
|
|
6374
6394
|
context: { traffic: 78 },
|
|
6375
|
-
subComponents:
|
|
6376
|
-
graphSeries:
|
|
6395
|
+
subComponents: ut(r),
|
|
6396
|
+
graphSeries: bt({ traffic: 78 })
|
|
6377
6397
|
},
|
|
6378
6398
|
children: /* @__PURE__ */ e(
|
|
6379
|
-
|
|
6399
|
+
dt,
|
|
6380
6400
|
{
|
|
6381
6401
|
rotateY: o,
|
|
6382
6402
|
autoRotate: i,
|
|
@@ -6390,7 +6410,7 @@ function Qt({ config: t }) {
|
|
|
6390
6410
|
}
|
|
6391
6411
|
),
|
|
6392
6412
|
/* @__PURE__ */ e(
|
|
6393
|
-
|
|
6413
|
+
A,
|
|
6394
6414
|
{
|
|
6395
6415
|
ex: 165,
|
|
6396
6416
|
ey: 390,
|
|
@@ -6405,11 +6425,11 @@ function Qt({ config: t }) {
|
|
|
6405
6425
|
name: "APP-01",
|
|
6406
6426
|
status: a,
|
|
6407
6427
|
context: { cpuLoad: 67, memLoad: 72 },
|
|
6408
|
-
subComponents:
|
|
6409
|
-
graphSeries:
|
|
6428
|
+
subComponents: me(a, "APP-01", { cpuLoad: 67, memLoad: 72 }),
|
|
6429
|
+
graphSeries: xe({ cpuLoad: 67, memLoad: 72 })
|
|
6410
6430
|
},
|
|
6411
6431
|
children: /* @__PURE__ */ e(
|
|
6412
|
-
|
|
6432
|
+
ue,
|
|
6413
6433
|
{
|
|
6414
6434
|
rotateY: o,
|
|
6415
6435
|
autoRotate: i,
|
|
@@ -6423,7 +6443,7 @@ function Qt({ config: t }) {
|
|
|
6423
6443
|
}
|
|
6424
6444
|
),
|
|
6425
6445
|
/* @__PURE__ */ e(
|
|
6426
|
-
|
|
6446
|
+
A,
|
|
6427
6447
|
{
|
|
6428
6448
|
ex: 330,
|
|
6429
6449
|
ey: 390,
|
|
@@ -6438,11 +6458,11 @@ function Qt({ config: t }) {
|
|
|
6438
6458
|
name: "APP-02",
|
|
6439
6459
|
status: s,
|
|
6440
6460
|
context: { cpuLoad: 89, memLoad: 91 },
|
|
6441
|
-
subComponents:
|
|
6442
|
-
graphSeries:
|
|
6461
|
+
subComponents: me(s, "APP-02", { cpuLoad: 89, memLoad: 91 }),
|
|
6462
|
+
graphSeries: xe({ cpuLoad: 89, memLoad: 91 })
|
|
6443
6463
|
},
|
|
6444
6464
|
children: /* @__PURE__ */ e(
|
|
6445
|
-
|
|
6465
|
+
ue,
|
|
6446
6466
|
{
|
|
6447
6467
|
rotateY: o,
|
|
6448
6468
|
autoRotate: i,
|
|
@@ -6456,7 +6476,7 @@ function Qt({ config: t }) {
|
|
|
6456
6476
|
}
|
|
6457
6477
|
),
|
|
6458
6478
|
/* @__PURE__ */ e(
|
|
6459
|
-
|
|
6479
|
+
A,
|
|
6460
6480
|
{
|
|
6461
6481
|
ex: 495,
|
|
6462
6482
|
ey: 390,
|
|
@@ -6471,11 +6491,11 @@ function Qt({ config: t }) {
|
|
|
6471
6491
|
name: "APP-03",
|
|
6472
6492
|
status: l,
|
|
6473
6493
|
context: { cpuLoad: 45, memLoad: 63 },
|
|
6474
|
-
subComponents:
|
|
6475
|
-
graphSeries:
|
|
6494
|
+
subComponents: me(l, "APP-03", { cpuLoad: 45, memLoad: 63 }),
|
|
6495
|
+
graphSeries: xe({ cpuLoad: 45, memLoad: 63 })
|
|
6476
6496
|
},
|
|
6477
6497
|
children: /* @__PURE__ */ e(
|
|
6478
|
-
|
|
6498
|
+
ue,
|
|
6479
6499
|
{
|
|
6480
6500
|
rotateY: o,
|
|
6481
6501
|
autoRotate: i,
|
|
@@ -6489,7 +6509,7 @@ function Qt({ config: t }) {
|
|
|
6489
6509
|
}
|
|
6490
6510
|
),
|
|
6491
6511
|
/* @__PURE__ */ e(
|
|
6492
|
-
|
|
6512
|
+
A,
|
|
6493
6513
|
{
|
|
6494
6514
|
ex: 200,
|
|
6495
6515
|
ey: 520,
|
|
@@ -6504,11 +6524,11 @@ function Qt({ config: t }) {
|
|
|
6504
6524
|
name: "DB-PRI",
|
|
6505
6525
|
status: h,
|
|
6506
6526
|
context: { capacity: 72 },
|
|
6507
|
-
subComponents:
|
|
6508
|
-
graphSeries:
|
|
6527
|
+
subComponents: De(h, "DB-PRI", { capacity: 72 }),
|
|
6528
|
+
graphSeries: We({ capacity: 72 })
|
|
6509
6529
|
},
|
|
6510
6530
|
children: /* @__PURE__ */ e(
|
|
6511
|
-
|
|
6531
|
+
Le,
|
|
6512
6532
|
{
|
|
6513
6533
|
rotateY: -o,
|
|
6514
6534
|
autoRotate: i,
|
|
@@ -6522,7 +6542,7 @@ function Qt({ config: t }) {
|
|
|
6522
6542
|
}
|
|
6523
6543
|
),
|
|
6524
6544
|
/* @__PURE__ */ e(
|
|
6525
|
-
|
|
6545
|
+
A,
|
|
6526
6546
|
{
|
|
6527
6547
|
ex: 460,
|
|
6528
6548
|
ey: 520,
|
|
@@ -6537,11 +6557,11 @@ function Qt({ config: t }) {
|
|
|
6537
6557
|
name: "DB-STB",
|
|
6538
6558
|
status: c,
|
|
6539
6559
|
context: { capacity: 72 },
|
|
6540
|
-
subComponents:
|
|
6541
|
-
graphSeries:
|
|
6560
|
+
subComponents: De(c, "DB-STB", { capacity: 72 }),
|
|
6561
|
+
graphSeries: We({ capacity: 72 })
|
|
6542
6562
|
},
|
|
6543
6563
|
children: /* @__PURE__ */ e(
|
|
6544
|
-
|
|
6564
|
+
Le,
|
|
6545
6565
|
{
|
|
6546
6566
|
rotateY: o,
|
|
6547
6567
|
autoRotate: i,
|
|
@@ -6555,7 +6575,7 @@ function Qt({ config: t }) {
|
|
|
6555
6575
|
}
|
|
6556
6576
|
),
|
|
6557
6577
|
/* @__PURE__ */ e(
|
|
6558
|
-
|
|
6578
|
+
A,
|
|
6559
6579
|
{
|
|
6560
6580
|
ex: 330,
|
|
6561
6581
|
ey: 520,
|
|
@@ -6564,17 +6584,17 @@ function Qt({ config: t }) {
|
|
|
6564
6584
|
visibleAtPhase: 6,
|
|
6565
6585
|
fixedScale: 1,
|
|
6566
6586
|
bare: !0,
|
|
6567
|
-
children: /* @__PURE__ */ e(
|
|
6587
|
+
children: /* @__PURE__ */ e(st, { synced: p, latencyMs: p ? 8 : 342 })
|
|
6568
6588
|
}
|
|
6569
6589
|
),
|
|
6570
|
-
/* @__PURE__ */ e(
|
|
6590
|
+
/* @__PURE__ */ e(hi, { config: t })
|
|
6571
6591
|
] });
|
|
6572
6592
|
}
|
|
6573
|
-
function
|
|
6574
|
-
const n =
|
|
6593
|
+
function hi({ config: t }) {
|
|
6594
|
+
const n = J.useContext(ae), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: h } = t, c = n?.isSelected && n?.isExpandedPos;
|
|
6575
6595
|
return n?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
6576
6596
|
/* @__PURE__ */ e(
|
|
6577
|
-
|
|
6597
|
+
D,
|
|
6578
6598
|
{
|
|
6579
6599
|
ex: 330,
|
|
6580
6600
|
ey: 260,
|
|
@@ -6589,7 +6609,7 @@ function qt({ config: t }) {
|
|
|
6589
6609
|
}
|
|
6590
6610
|
),
|
|
6591
6611
|
/* @__PURE__ */ e(
|
|
6592
|
-
|
|
6612
|
+
D,
|
|
6593
6613
|
{
|
|
6594
6614
|
ex: 165,
|
|
6595
6615
|
ey: 390,
|
|
@@ -6604,7 +6624,7 @@ function qt({ config: t }) {
|
|
|
6604
6624
|
}
|
|
6605
6625
|
),
|
|
6606
6626
|
/* @__PURE__ */ e(
|
|
6607
|
-
|
|
6627
|
+
D,
|
|
6608
6628
|
{
|
|
6609
6629
|
ex: 330,
|
|
6610
6630
|
ey: 390,
|
|
@@ -6619,7 +6639,7 @@ function qt({ config: t }) {
|
|
|
6619
6639
|
}
|
|
6620
6640
|
),
|
|
6621
6641
|
/* @__PURE__ */ e(
|
|
6622
|
-
|
|
6642
|
+
D,
|
|
6623
6643
|
{
|
|
6624
6644
|
ex: 495,
|
|
6625
6645
|
ey: 390,
|
|
@@ -6634,7 +6654,7 @@ function qt({ config: t }) {
|
|
|
6634
6654
|
}
|
|
6635
6655
|
),
|
|
6636
6656
|
/* @__PURE__ */ e(
|
|
6637
|
-
|
|
6657
|
+
D,
|
|
6638
6658
|
{
|
|
6639
6659
|
ex: 200,
|
|
6640
6660
|
ey: 520,
|
|
@@ -6649,7 +6669,7 @@ function qt({ config: t }) {
|
|
|
6649
6669
|
}
|
|
6650
6670
|
),
|
|
6651
6671
|
/* @__PURE__ */ e(
|
|
6652
|
-
|
|
6672
|
+
D,
|
|
6653
6673
|
{
|
|
6654
6674
|
ex: 460,
|
|
6655
6675
|
ey: 520,
|
|
@@ -6664,7 +6684,7 @@ function qt({ config: t }) {
|
|
|
6664
6684
|
}
|
|
6665
6685
|
),
|
|
6666
6686
|
!h && /* @__PURE__ */ e(
|
|
6667
|
-
|
|
6687
|
+
D,
|
|
6668
6688
|
{
|
|
6669
6689
|
ex: 330,
|
|
6670
6690
|
ey: 520,
|
|
@@ -6680,66 +6700,70 @@ function qt({ config: t }) {
|
|
|
6680
6700
|
)
|
|
6681
6701
|
] }) : null;
|
|
6682
6702
|
}
|
|
6683
|
-
function
|
|
6703
|
+
function Ei({ config: t, ...n }) {
|
|
6684
6704
|
return /* @__PURE__ */ e(
|
|
6685
|
-
|
|
6705
|
+
lt,
|
|
6686
6706
|
{
|
|
6687
6707
|
name: t.name,
|
|
6688
|
-
status:
|
|
6689
|
-
connections:
|
|
6708
|
+
status: Ze(t),
|
|
6709
|
+
connections: pi,
|
|
6690
6710
|
...n,
|
|
6691
|
-
children: /* @__PURE__ */ e(
|
|
6711
|
+
children: /* @__PURE__ */ e(fi, { config: t })
|
|
6692
6712
|
}
|
|
6693
6713
|
);
|
|
6694
6714
|
}
|
|
6695
6715
|
export {
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6744
|
-
|
|
6716
|
+
Si as AIOPsDashboard,
|
|
6717
|
+
Ie as CPU3D,
|
|
6718
|
+
Wt as Carousel,
|
|
6719
|
+
Qe as CarouselContext,
|
|
6720
|
+
qe as CarouselItemContext,
|
|
6721
|
+
It as ComponentDialog,
|
|
6722
|
+
wi as ComponentDrillView,
|
|
6723
|
+
Le as Database3D,
|
|
6724
|
+
ye as DriveBay3D,
|
|
6725
|
+
pi as EXCHANGE_CONNECTIONS,
|
|
6726
|
+
Ei as ExchangeService,
|
|
6727
|
+
mi as HOLO_BLUE,
|
|
6728
|
+
yi as HOLO_CYAN,
|
|
6729
|
+
je as HOLO_GLASS,
|
|
6730
|
+
we as HOLO_SURFACE,
|
|
6731
|
+
ei as HistoricalGraphPanel,
|
|
6732
|
+
Mt as HoloBase,
|
|
6733
|
+
ct as Human3D,
|
|
6734
|
+
Oe as Memory3D,
|
|
6735
|
+
Zt as MessageServer3D,
|
|
6736
|
+
ft as NetworkBlock3D,
|
|
6737
|
+
D as NodeCallout,
|
|
6738
|
+
Ae as Platter3D,
|
|
6739
|
+
N as Port3D,
|
|
6740
|
+
Ri as SAPService,
|
|
6741
|
+
si as SAP_CONNECTIONS,
|
|
6742
|
+
w as STATUS_CFG,
|
|
6743
|
+
ue as Server3D,
|
|
6744
|
+
lt as Service,
|
|
6745
|
+
ae as ServiceContext,
|
|
6746
|
+
At as ServiceDialog,
|
|
6747
|
+
A as ServiceNode,
|
|
6748
|
+
zt as SvgConnection,
|
|
6749
|
+
st as SyncBridge,
|
|
6750
|
+
I as ThreadPool3D,
|
|
6751
|
+
dt as WebDispatcher3D,
|
|
6752
|
+
Ci as computeExchangeDialogAlerts,
|
|
6753
|
+
Pi as computeExchangeDialogMetrics,
|
|
6754
|
+
Ze as computeExchangeServiceStatus,
|
|
6755
|
+
ki as computeSAPDialogAlerts,
|
|
6756
|
+
$i as computeSAPDialogMetrics,
|
|
6757
|
+
Ke as computeSAPServiceStatus,
|
|
6758
|
+
We as getDatabaseGraphSeries,
|
|
6759
|
+
De as getDatabaseSubComponents,
|
|
6760
|
+
bt as getDispatcherGraphSeries,
|
|
6761
|
+
ut as getDispatcherSubComponents,
|
|
6762
|
+
li as getMessageServerGraphSeries,
|
|
6763
|
+
ai as getMessageServerSubComponents,
|
|
6764
|
+
xe as getServerGraphSeries,
|
|
6765
|
+
me as getServerSubComponents,
|
|
6766
|
+
Xe as makeFaceStyles,
|
|
6767
|
+
xi as useCarouselContext,
|
|
6768
|
+
vi as useCarouselItemContext
|
|
6745
6769
|
};
|