react-aiops 0.1.0 → 0.1.1
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/AIOPsDashboard.d.ts +7 -1
- package/dist/AIOPsDashboard.d.ts.map +1 -1
- package/dist/assets/defaultImages.d.ts +3 -0
- package/dist/assets/defaultImages.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1101 -1042
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e, Fragment as Ce } from "react/jsx-runtime";
|
|
2
|
-
import J, { createContext as
|
|
3
|
-
const
|
|
2
|
+
import J, { createContext as Xe, useContext as ve, useState as A, useEffect as Ee, useMemo as Tt, useRef as ee } from "react";
|
|
3
|
+
const At = {
|
|
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 Lt({
|
|
9
9
|
name: t,
|
|
10
|
-
status:
|
|
11
|
-
dbSync:
|
|
10
|
+
status: o,
|
|
11
|
+
dbSync: n = !0,
|
|
12
12
|
visible: i,
|
|
13
13
|
metrics: r,
|
|
14
14
|
alerts: a
|
|
15
15
|
}) {
|
|
16
|
-
const s =
|
|
16
|
+
const s = o === "critical" || o === "offline", l = o === "warning", f = r ?? [
|
|
17
17
|
{
|
|
18
18
|
label: "Uptime",
|
|
19
19
|
value: s ? "92.14%" : "99.98%",
|
|
@@ -32,10 +32,10 @@ function At({
|
|
|
32
32
|
color: s ? "#ff2255" : l ? "#ff8c00" : "#00ff88"
|
|
33
33
|
}
|
|
34
34
|
], c = a ?? [
|
|
35
|
-
...
|
|
35
|
+
...n ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
|
|
36
36
|
...s ? [{ level: "critical", message: "Critical Component Failure" }] : [],
|
|
37
37
|
...l && !s ? [{ level: "warning", message: "Component Warning State" }] : [],
|
|
38
|
-
...!s && !l &&
|
|
38
|
+
...!s && !l && n ? [{ level: "info", message: "All Systems Nominal" }] : []
|
|
39
39
|
];
|
|
40
40
|
return /* @__PURE__ */ d(
|
|
41
41
|
"div",
|
|
@@ -115,10 +115,10 @@ function At({
|
|
|
115
115
|
fontSize: 13,
|
|
116
116
|
color: "#a0b0c0"
|
|
117
117
|
},
|
|
118
|
-
children:
|
|
118
|
+
children: f.map((p, h) => /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between" }, children: [
|
|
119
119
|
/* @__PURE__ */ e("span", { children: p.label }),
|
|
120
120
|
/* @__PURE__ */ e("span", { style: { color: p.color }, children: p.value })
|
|
121
|
-
] },
|
|
121
|
+
] }, h))
|
|
122
122
|
}
|
|
123
123
|
),
|
|
124
124
|
/* @__PURE__ */ d(
|
|
@@ -145,8 +145,8 @@ function At({
|
|
|
145
145
|
children: "SYSTEM ALERTS"
|
|
146
146
|
}
|
|
147
147
|
),
|
|
148
|
-
c.map((p,
|
|
149
|
-
const
|
|
148
|
+
c.map((p, h) => {
|
|
149
|
+
const g = At[p.level];
|
|
150
150
|
return /* @__PURE__ */ d(
|
|
151
151
|
"div",
|
|
152
152
|
{
|
|
@@ -154,20 +154,20 @@ function At({
|
|
|
154
154
|
display: "flex",
|
|
155
155
|
gap: 8,
|
|
156
156
|
alignItems: "flex-start",
|
|
157
|
-
color:
|
|
157
|
+
color: g.color,
|
|
158
158
|
fontSize: 12,
|
|
159
|
-
background:
|
|
159
|
+
background: g.bg,
|
|
160
160
|
padding: "6px 10px",
|
|
161
161
|
borderRadius: 4,
|
|
162
|
-
borderLeft: `2px solid ${
|
|
162
|
+
borderLeft: `2px solid ${g.border}`
|
|
163
163
|
},
|
|
164
164
|
children: [
|
|
165
|
-
/* @__PURE__ */ e("span", { children:
|
|
165
|
+
/* @__PURE__ */ e("span", { children: g.icon }),
|
|
166
166
|
" ",
|
|
167
167
|
/* @__PURE__ */ e("span", { children: p.message })
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
|
-
|
|
170
|
+
h
|
|
171
171
|
);
|
|
172
172
|
})
|
|
173
173
|
]
|
|
@@ -177,91 +177,91 @@ function At({
|
|
|
177
177
|
}
|
|
178
178
|
);
|
|
179
179
|
}
|
|
180
|
-
const
|
|
180
|
+
const S = {
|
|
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
|
+
}, vi = "#00e5ff", wi = "#0055cc", we = "linear-gradient(180deg, #071428 0%, #040c1c 60%, #030810 100%)", Ge = "linear-gradient(180deg, rgba(10,25,50,0.35) 0%, rgba(5,15,35,0.25) 60%, rgba(3,10,20,0.15) 100%)";
|
|
186
|
+
function Qe(t, o, n) {
|
|
187
187
|
const i = {
|
|
188
188
|
position: "absolute",
|
|
189
189
|
overflow: "hidden",
|
|
190
190
|
backfaceVisibility: "hidden"
|
|
191
191
|
};
|
|
192
192
|
return {
|
|
193
|
-
front: { ...i, width: t, height:
|
|
193
|
+
front: { ...i, width: t, height: o, left: 0, top: 0, transform: `translateZ(${n / 2}px)` },
|
|
194
194
|
back: {
|
|
195
195
|
...i,
|
|
196
196
|
width: t,
|
|
197
|
-
height:
|
|
197
|
+
height: o,
|
|
198
198
|
left: 0,
|
|
199
199
|
top: 0,
|
|
200
|
-
transform: `rotateY(180deg) translateZ(${
|
|
200
|
+
transform: `rotateY(180deg) translateZ(${n / 2}px)`
|
|
201
201
|
},
|
|
202
202
|
left: {
|
|
203
203
|
...i,
|
|
204
|
-
width:
|
|
205
|
-
height:
|
|
206
|
-
left: (t -
|
|
204
|
+
width: n,
|
|
205
|
+
height: o,
|
|
206
|
+
left: (t - n) / 2,
|
|
207
207
|
top: 0,
|
|
208
208
|
transform: `rotateY(-90deg) translateZ(${t / 2}px)`
|
|
209
209
|
},
|
|
210
210
|
right: {
|
|
211
211
|
...i,
|
|
212
|
-
width:
|
|
213
|
-
height:
|
|
214
|
-
left: (t -
|
|
212
|
+
width: n,
|
|
213
|
+
height: o,
|
|
214
|
+
left: (t - n) / 2,
|
|
215
215
|
top: 0,
|
|
216
216
|
transform: `rotateY(90deg) translateZ(${t / 2}px)`
|
|
217
217
|
},
|
|
218
218
|
top: {
|
|
219
219
|
...i,
|
|
220
220
|
width: t,
|
|
221
|
-
height:
|
|
221
|
+
height: n,
|
|
222
222
|
left: 0,
|
|
223
|
-
top: (
|
|
224
|
-
transform: `rotateX(90deg) translateZ(${
|
|
223
|
+
top: (o - n) / 2,
|
|
224
|
+
transform: `rotateX(90deg) translateZ(${o / 2}px)`
|
|
225
225
|
},
|
|
226
226
|
bottom: {
|
|
227
227
|
...i,
|
|
228
228
|
width: t,
|
|
229
|
-
height:
|
|
229
|
+
height: n,
|
|
230
230
|
left: 0,
|
|
231
|
-
top: (
|
|
232
|
-
transform: `rotateX(-90deg) translateZ(${
|
|
231
|
+
top: (o - n) / 2,
|
|
232
|
+
transform: `rotateX(-90deg) translateZ(${o / 2}px)`
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
|
-
const
|
|
237
|
-
function
|
|
238
|
-
return
|
|
236
|
+
const Ve = "cubic-bezier(0.34, 1.56, 0.64, 1)", _e = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
237
|
+
function st(t) {
|
|
238
|
+
return S[t]?.color ?? S.online.color;
|
|
239
239
|
}
|
|
240
|
-
function
|
|
241
|
-
return t >=
|
|
240
|
+
function It(t, o, n) {
|
|
241
|
+
return t >= n ? "#ff2255" : t >= o ? "#ff8c00" : "#00e5ff";
|
|
242
242
|
}
|
|
243
|
-
function
|
|
244
|
-
return t === "offline" ? "offline" : t === "critical" &&
|
|
243
|
+
function Ue(t, o, n, i) {
|
|
244
|
+
return t === "offline" ? "offline" : t === "critical" && o >= i ? "critical" : (t === "critical" || t === "warning") && o >= n ? "warning" : "online";
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function Ot({
|
|
247
247
|
component: t,
|
|
248
|
-
onClose:
|
|
249
|
-
visible:
|
|
248
|
+
onClose: o,
|
|
249
|
+
visible: n,
|
|
250
250
|
sceneWidth: i = 660,
|
|
251
251
|
sceneHeight: r = 600
|
|
252
252
|
}) {
|
|
253
|
-
const { type: a, name: s, status: l, ex:
|
|
253
|
+
const { type: a, name: s, status: l, ex: f, ey: c, context: p = {} } = t, h = st(l), g = f >= i / 2, u = c >= r / 2, b = {
|
|
254
254
|
position: "fixed",
|
|
255
|
-
...
|
|
256
|
-
...
|
|
257
|
-
}, m =
|
|
255
|
+
...g ? { right: 28 } : { left: 28 },
|
|
256
|
+
...u ? { bottom: 110 } : { top: 72 }
|
|
257
|
+
}, m = g ? 40 : -40, x = u ? 30 : -30, w = p.cpuLoad ?? p.traffic ?? 50, P = p.memLoad ?? p.queueDepth ?? 60, y = p.capacity ?? 72, D = Ue(l, w, 70, 85), B = Ue(l, P, 75, 88), $ = Ue(l, y, 75, 90), V = [
|
|
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
|
-
value:
|
|
262
|
+
value: w,
|
|
263
263
|
unit: "%",
|
|
264
|
-
status:
|
|
264
|
+
status: D,
|
|
265
265
|
icon: "cpu",
|
|
266
266
|
delay: 0
|
|
267
267
|
},
|
|
@@ -269,9 +269,9 @@ function It({
|
|
|
269
269
|
id: "mem",
|
|
270
270
|
label: "MEMORY",
|
|
271
271
|
sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
|
|
272
|
-
value:
|
|
272
|
+
value: P,
|
|
273
273
|
unit: "%",
|
|
274
|
-
status:
|
|
274
|
+
status: B,
|
|
275
275
|
icon: "mem",
|
|
276
276
|
delay: 1
|
|
277
277
|
},
|
|
@@ -279,9 +279,9 @@ function It({
|
|
|
279
279
|
id: "storage",
|
|
280
280
|
label: "STORAGE",
|
|
281
281
|
sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
|
|
282
|
-
value:
|
|
282
|
+
value: y,
|
|
283
283
|
unit: "%",
|
|
284
|
-
status:
|
|
284
|
+
status: $,
|
|
285
285
|
icon: "disk",
|
|
286
286
|
delay: 2
|
|
287
287
|
}
|
|
@@ -290,22 +290,22 @@ function It({
|
|
|
290
290
|
"div",
|
|
291
291
|
{
|
|
292
292
|
style: {
|
|
293
|
-
...
|
|
293
|
+
...b,
|
|
294
294
|
width: 420,
|
|
295
295
|
background: "linear-gradient(170deg, rgba(2, 10, 22, 0.96) 0%, rgba(2, 6, 14, 0.98) 100%)",
|
|
296
296
|
backdropFilter: "blur(20px)",
|
|
297
297
|
WebkitBackdropFilter: "blur(20px)",
|
|
298
|
-
border: `1.5px solid ${
|
|
298
|
+
border: `1.5px solid ${h}44`,
|
|
299
299
|
borderRadius: 14,
|
|
300
300
|
fontFamily: "'Courier New', monospace",
|
|
301
301
|
overflow: "hidden",
|
|
302
|
-
opacity:
|
|
303
|
-
transform:
|
|
304
|
-
transition: `opacity 0.45s ${
|
|
305
|
-
pointerEvents:
|
|
302
|
+
opacity: n ? 1 : 0,
|
|
303
|
+
transform: n ? "scale(1) translate(0, 0)" : `scale(0.7) translate(${m}px, ${x}px)`,
|
|
304
|
+
transition: `opacity 0.45s ${_e}, transform 0.55s ${Ve}`,
|
|
305
|
+
pointerEvents: n ? "auto" : "none",
|
|
306
306
|
zIndex: 9999,
|
|
307
|
-
animation:
|
|
308
|
-
"--dialog-color":
|
|
307
|
+
animation: n ? "comp-dialog-border-glow 3s ease-in-out infinite" : "none",
|
|
308
|
+
"--dialog-color": h
|
|
309
309
|
},
|
|
310
310
|
onClick: (v) => v.stopPropagation(),
|
|
311
311
|
children: [
|
|
@@ -318,9 +318,9 @@ function It({
|
|
|
318
318
|
left: 0,
|
|
319
319
|
right: 0,
|
|
320
320
|
height: 2,
|
|
321
|
-
background: `linear-gradient(90deg, transparent 2%, ${
|
|
322
|
-
boxShadow: `0 0 12px ${
|
|
323
|
-
animation:
|
|
321
|
+
background: `linear-gradient(90deg, transparent 2%, ${h}aa 30%, #fff 50%, ${h}aa 70%, transparent 98%)`,
|
|
322
|
+
boxShadow: `0 0 12px ${h}, 0 0 24px ${h}44`,
|
|
323
|
+
animation: n ? "holo-scan 3.5s linear infinite" : "none",
|
|
324
324
|
pointerEvents: "none",
|
|
325
325
|
zIndex: 10
|
|
326
326
|
}
|
|
@@ -333,8 +333,8 @@ function It({
|
|
|
333
333
|
position: "absolute",
|
|
334
334
|
inset: 0,
|
|
335
335
|
backgroundImage: `
|
|
336
|
-
linear-gradient(${
|
|
337
|
-
linear-gradient(90deg, ${
|
|
336
|
+
linear-gradient(${h}06 1px, transparent 1px),
|
|
337
|
+
linear-gradient(90deg, ${h}06 1px, transparent 1px)
|
|
338
338
|
`,
|
|
339
339
|
backgroundSize: "20px 20px",
|
|
340
340
|
pointerEvents: "none",
|
|
@@ -346,37 +346,37 @@ function It({
|
|
|
346
346
|
{
|
|
347
347
|
top: 0,
|
|
348
348
|
left: 0,
|
|
349
|
-
borderTop: `2px solid ${
|
|
350
|
-
borderLeft: `2px solid ${
|
|
349
|
+
borderTop: `2px solid ${h}66`,
|
|
350
|
+
borderLeft: `2px solid ${h}66`,
|
|
351
351
|
borderRadius: "14px 0 0 0"
|
|
352
352
|
},
|
|
353
353
|
{
|
|
354
354
|
top: 0,
|
|
355
355
|
right: 0,
|
|
356
|
-
borderTop: `2px solid ${
|
|
357
|
-
borderRight: `2px solid ${
|
|
356
|
+
borderTop: `2px solid ${h}66`,
|
|
357
|
+
borderRight: `2px solid ${h}66`,
|
|
358
358
|
borderRadius: "0 14px 0 0"
|
|
359
359
|
},
|
|
360
360
|
{
|
|
361
361
|
bottom: 0,
|
|
362
362
|
left: 0,
|
|
363
|
-
borderBottom: `2px solid ${
|
|
364
|
-
borderLeft: `2px solid ${
|
|
363
|
+
borderBottom: `2px solid ${h}66`,
|
|
364
|
+
borderLeft: `2px solid ${h}66`,
|
|
365
365
|
borderRadius: "0 0 0 14px"
|
|
366
366
|
},
|
|
367
367
|
{
|
|
368
368
|
bottom: 0,
|
|
369
369
|
right: 0,
|
|
370
|
-
borderBottom: `2px solid ${
|
|
371
|
-
borderRight: `2px solid ${
|
|
370
|
+
borderBottom: `2px solid ${h}66`,
|
|
371
|
+
borderRight: `2px solid ${h}66`,
|
|
372
372
|
borderRadius: "0 0 14px 0"
|
|
373
373
|
}
|
|
374
|
-
].map((v,
|
|
374
|
+
].map((v, W) => /* @__PURE__ */ e(
|
|
375
375
|
"div",
|
|
376
376
|
{
|
|
377
377
|
style: { position: "absolute", width: 18, height: 18, pointerEvents: "none", ...v }
|
|
378
378
|
},
|
|
379
|
-
|
|
379
|
+
W
|
|
380
380
|
)),
|
|
381
381
|
/* @__PURE__ */ d(
|
|
382
382
|
"div",
|
|
@@ -386,8 +386,8 @@ function It({
|
|
|
386
386
|
alignItems: "center",
|
|
387
387
|
justifyContent: "space-between",
|
|
388
388
|
padding: "18px 22px",
|
|
389
|
-
borderBottom: `1px solid ${
|
|
390
|
-
background: `linear-gradient(180deg, ${
|
|
389
|
+
borderBottom: `1px solid ${h}22`,
|
|
390
|
+
background: `linear-gradient(180deg, ${h}12 0%, transparent 100%)`,
|
|
391
391
|
position: "relative",
|
|
392
392
|
zIndex: 2
|
|
393
393
|
},
|
|
@@ -401,8 +401,8 @@ function It({
|
|
|
401
401
|
width: 10,
|
|
402
402
|
height: 10,
|
|
403
403
|
borderRadius: "50%",
|
|
404
|
-
background:
|
|
405
|
-
boxShadow: `0 0 12px ${
|
|
404
|
+
background: h,
|
|
405
|
+
boxShadow: `0 0 12px ${h}, 0 0 24px ${h}66`,
|
|
406
406
|
animation: l === "warning" || l === "critical" ? "holo-led-blink 1.5s infinite" : "none"
|
|
407
407
|
}
|
|
408
408
|
}
|
|
@@ -414,7 +414,7 @@ function It({
|
|
|
414
414
|
position: "absolute",
|
|
415
415
|
inset: -4,
|
|
416
416
|
borderRadius: "50%",
|
|
417
|
-
border: `1px solid ${
|
|
417
|
+
border: `1px solid ${h}44`,
|
|
418
418
|
animation: l === "warning" || l === "critical" ? "holo-ring-pulse 2s ease-in-out infinite" : "none"
|
|
419
419
|
}
|
|
420
420
|
}
|
|
@@ -427,13 +427,13 @@ function It({
|
|
|
427
427
|
style: {
|
|
428
428
|
fontSize: 16,
|
|
429
429
|
fontWeight: 700,
|
|
430
|
-
color:
|
|
430
|
+
color: h,
|
|
431
431
|
letterSpacing: "0.12em",
|
|
432
432
|
textTransform: "uppercase",
|
|
433
433
|
whiteSpace: "nowrap",
|
|
434
434
|
overflow: "hidden",
|
|
435
435
|
textOverflow: "ellipsis",
|
|
436
|
-
textShadow: `0 0 10px ${
|
|
436
|
+
textShadow: `0 0 10px ${h}88, 0 0 20px ${h}44`
|
|
437
437
|
},
|
|
438
438
|
children: s
|
|
439
439
|
}
|
|
@@ -443,7 +443,7 @@ function It({
|
|
|
443
443
|
{
|
|
444
444
|
style: {
|
|
445
445
|
fontSize: 9,
|
|
446
|
-
color: `${
|
|
446
|
+
color: `${h}88`,
|
|
447
447
|
letterSpacing: "0.2em",
|
|
448
448
|
textTransform: "uppercase"
|
|
449
449
|
},
|
|
@@ -456,15 +456,15 @@ function It({
|
|
|
456
456
|
"button",
|
|
457
457
|
{
|
|
458
458
|
onClick: (v) => {
|
|
459
|
-
v.stopPropagation(),
|
|
459
|
+
v.stopPropagation(), o();
|
|
460
460
|
},
|
|
461
461
|
style: {
|
|
462
462
|
width: 34,
|
|
463
463
|
height: 34,
|
|
464
464
|
borderRadius: 8,
|
|
465
|
-
border: `1px solid ${
|
|
466
|
-
background: `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${
|
|
467
|
-
color:
|
|
465
|
+
border: `1px solid ${h}44`,
|
|
466
|
+
background: `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${h}08 100%)`,
|
|
467
|
+
color: h,
|
|
468
468
|
fontSize: 18,
|
|
469
469
|
cursor: "pointer",
|
|
470
470
|
display: "flex",
|
|
@@ -475,10 +475,10 @@ function It({
|
|
|
475
475
|
flexShrink: 0
|
|
476
476
|
},
|
|
477
477
|
onMouseEnter: (v) => {
|
|
478
|
-
v.currentTarget.style.background = `${
|
|
478
|
+
v.currentTarget.style.background = `${h}22`, v.currentTarget.style.boxShadow = `0 0 12px ${h}44`;
|
|
479
479
|
},
|
|
480
480
|
onMouseLeave: (v) => {
|
|
481
|
-
v.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${
|
|
481
|
+
v.currentTarget.style.background = `linear-gradient(135deg, rgba(0,0,0,0.5) 0%, ${h}08 100%)`, v.currentTarget.style.boxShadow = "none";
|
|
482
482
|
},
|
|
483
483
|
children: "×"
|
|
484
484
|
}
|
|
@@ -497,7 +497,7 @@ function It({
|
|
|
497
497
|
position: "relative",
|
|
498
498
|
zIndex: 2
|
|
499
499
|
},
|
|
500
|
-
children:
|
|
500
|
+
children: V.map((v) => /* @__PURE__ */ e(Dt, { metric: v, visible: n, accentColor: h }, v.id))
|
|
501
501
|
}
|
|
502
502
|
),
|
|
503
503
|
/* @__PURE__ */ d(
|
|
@@ -505,14 +505,14 @@ function It({
|
|
|
505
505
|
{
|
|
506
506
|
style: {
|
|
507
507
|
padding: "12px 22px",
|
|
508
|
-
borderTop: `1px solid ${
|
|
509
|
-
background: `${
|
|
508
|
+
borderTop: `1px solid ${h}18`,
|
|
509
|
+
background: `${h}06`,
|
|
510
510
|
display: "flex",
|
|
511
511
|
alignItems: "center",
|
|
512
512
|
justifyContent: "space-between",
|
|
513
513
|
fontSize: 9,
|
|
514
514
|
letterSpacing: "0.18em",
|
|
515
|
-
color: `${
|
|
515
|
+
color: `${h}66`,
|
|
516
516
|
textTransform: "uppercase",
|
|
517
517
|
position: "relative",
|
|
518
518
|
zIndex: 2
|
|
@@ -531,8 +531,8 @@ function It({
|
|
|
531
531
|
width: 5,
|
|
532
532
|
height: 5,
|
|
533
533
|
borderRadius: "50%",
|
|
534
|
-
background: l === "online" ? "#00ff88" :
|
|
535
|
-
boxShadow: `0 0 6px ${l === "online" ? "#00ff88" :
|
|
534
|
+
background: l === "online" ? "#00ff88" : h,
|
|
535
|
+
boxShadow: `0 0 6px ${l === "online" ? "#00ff88" : h}`,
|
|
536
536
|
animation: l === "warning" || l === "critical" ? "holo-led-blink 1.5s infinite" : "none"
|
|
537
537
|
}
|
|
538
538
|
}
|
|
@@ -546,12 +546,12 @@ function It({
|
|
|
546
546
|
}
|
|
547
547
|
);
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function Dt({
|
|
550
550
|
metric: t,
|
|
551
|
-
visible:
|
|
552
|
-
accentColor:
|
|
551
|
+
visible: o,
|
|
552
|
+
accentColor: n
|
|
553
553
|
}) {
|
|
554
|
-
const { label: i, sublabel: r, value: a, unit: s, status: l, icon:
|
|
554
|
+
const { label: i, sublabel: r, value: a, unit: s, status: l, icon: f, delay: c } = t, p = It(a, 70, 85), h = st(l);
|
|
555
555
|
return /* @__PURE__ */ d(
|
|
556
556
|
"div",
|
|
557
557
|
{
|
|
@@ -559,9 +559,9 @@ function Ot({
|
|
|
559
559
|
display: "flex",
|
|
560
560
|
alignItems: "center",
|
|
561
561
|
gap: 16,
|
|
562
|
-
opacity:
|
|
563
|
-
transform:
|
|
564
|
-
transition: `opacity 0.4s ${
|
|
562
|
+
opacity: o ? 1 : 0,
|
|
563
|
+
transform: o ? "translateY(0)" : "translateY(12px)",
|
|
564
|
+
transition: `opacity 0.4s ${_e} ${0.3 + c * 0.12}s, transform 0.5s ${Ve} ${0.3 + c * 0.12}s`
|
|
565
565
|
},
|
|
566
566
|
children: [
|
|
567
567
|
/* @__PURE__ */ d(
|
|
@@ -571,18 +571,18 @@ function Ot({
|
|
|
571
571
|
width: 52,
|
|
572
572
|
height: 52,
|
|
573
573
|
borderRadius: 12,
|
|
574
|
-
border: `1px solid ${
|
|
575
|
-
background: `linear-gradient(135deg, ${
|
|
574
|
+
border: `1px solid ${h}44`,
|
|
575
|
+
background: `linear-gradient(135deg, ${h}0c 0%, ${h}04 100%)`,
|
|
576
576
|
display: "flex",
|
|
577
577
|
alignItems: "center",
|
|
578
578
|
justifyContent: "center",
|
|
579
579
|
flexShrink: 0,
|
|
580
580
|
position: "relative",
|
|
581
581
|
overflow: "hidden",
|
|
582
|
-
animation:
|
|
582
|
+
animation: o ? `comp-dialog-icon-pop 0.5s ${Ve} ${0.35 + c * 0.12}s both` : "none"
|
|
583
583
|
},
|
|
584
584
|
children: [
|
|
585
|
-
/* @__PURE__ */ e(
|
|
585
|
+
/* @__PURE__ */ e(Wt, { type: f, color: h }),
|
|
586
586
|
(l === "warning" || l === "critical") && /* @__PURE__ */ e(
|
|
587
587
|
"div",
|
|
588
588
|
{
|
|
@@ -593,8 +593,8 @@ function Ot({
|
|
|
593
593
|
width: 5,
|
|
594
594
|
height: 5,
|
|
595
595
|
borderRadius: "50%",
|
|
596
|
-
background:
|
|
597
|
-
boxShadow: `0 0 6px ${
|
|
596
|
+
background: h,
|
|
597
|
+
boxShadow: `0 0 6px ${h}`,
|
|
598
598
|
animation: "holo-led-blink 1.2s infinite"
|
|
599
599
|
}
|
|
600
600
|
}
|
|
@@ -631,7 +631,7 @@ function Ot({
|
|
|
631
631
|
{
|
|
632
632
|
style: {
|
|
633
633
|
fontSize: 8,
|
|
634
|
-
color: `${
|
|
634
|
+
color: `${n}55`,
|
|
635
635
|
letterSpacing: "0.15em",
|
|
636
636
|
textTransform: "uppercase"
|
|
637
637
|
},
|
|
@@ -681,7 +681,7 @@ function Ot({
|
|
|
681
681
|
background: `linear-gradient(90deg, ${p}66, ${p})`,
|
|
682
682
|
boxShadow: `0 0 8px ${p}44`,
|
|
683
683
|
transformOrigin: "left center",
|
|
684
|
-
animation:
|
|
684
|
+
animation: o ? `comp-dialog-metric-fill 0.8s ${_e} ${0.4 + c * 0.12}s both` : "none"
|
|
685
685
|
}
|
|
686
686
|
}
|
|
687
687
|
),
|
|
@@ -747,9 +747,9 @@ function Ot({
|
|
|
747
747
|
}
|
|
748
748
|
);
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function Wt({ type: t, color: o }) {
|
|
751
751
|
return t === "cpu" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
|
|
752
|
-
/* @__PURE__ */ e("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2", stroke:
|
|
752
|
+
/* @__PURE__ */ e("rect", { x: "6", y: "6", width: "12", height: "12", rx: "2", stroke: o, strokeWidth: "1.5" }),
|
|
753
753
|
/* @__PURE__ */ e(
|
|
754
754
|
"rect",
|
|
755
755
|
{
|
|
@@ -758,25 +758,25 @@ function Dt({ type: t, color: n }) {
|
|
|
758
758
|
width: "6",
|
|
759
759
|
height: "6",
|
|
760
760
|
rx: "1",
|
|
761
|
-
fill: `${
|
|
762
|
-
stroke:
|
|
761
|
+
fill: `${o}44`,
|
|
762
|
+
stroke: o,
|
|
763
763
|
strokeWidth: "0.5"
|
|
764
764
|
}
|
|
765
765
|
),
|
|
766
|
-
/* @__PURE__ */ e("line", { x1: "4", y1: "9", x2: "6", y2: "9", stroke:
|
|
767
|
-
/* @__PURE__ */ e("line", { x1: "4", y1: "12", x2: "6", y2: "12", stroke:
|
|
768
|
-
/* @__PURE__ */ e("line", { x1: "4", y1: "15", x2: "6", y2: "15", stroke:
|
|
769
|
-
/* @__PURE__ */ e("line", { x1: "18", y1: "9", x2: "20", y2: "9", stroke:
|
|
770
|
-
/* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "20", y2: "12", stroke:
|
|
771
|
-
/* @__PURE__ */ e("line", { x1: "18", y1: "15", x2: "20", y2: "15", stroke:
|
|
772
|
-
/* @__PURE__ */ e("line", { x1: "9", y1: "4", x2: "9", y2: "6", stroke:
|
|
773
|
-
/* @__PURE__ */ e("line", { x1: "12", y1: "4", x2: "12", y2: "6", stroke:
|
|
774
|
-
/* @__PURE__ */ e("line", { x1: "15", y1: "4", x2: "15", y2: "6", stroke:
|
|
775
|
-
/* @__PURE__ */ e("line", { x1: "9", y1: "18", x2: "9", y2: "20", stroke:
|
|
776
|
-
/* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "20", stroke:
|
|
777
|
-
/* @__PURE__ */ e("line", { x1: "15", y1: "18", x2: "15", y2: "20", stroke:
|
|
766
|
+
/* @__PURE__ */ e("line", { x1: "4", y1: "9", x2: "6", y2: "9", stroke: o, strokeWidth: "1" }),
|
|
767
|
+
/* @__PURE__ */ e("line", { x1: "4", y1: "12", x2: "6", y2: "12", stroke: o, strokeWidth: "1" }),
|
|
768
|
+
/* @__PURE__ */ e("line", { x1: "4", y1: "15", x2: "6", y2: "15", stroke: o, strokeWidth: "1" }),
|
|
769
|
+
/* @__PURE__ */ e("line", { x1: "18", y1: "9", x2: "20", y2: "9", stroke: o, strokeWidth: "1" }),
|
|
770
|
+
/* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "20", y2: "12", stroke: o, strokeWidth: "1" }),
|
|
771
|
+
/* @__PURE__ */ e("line", { x1: "18", y1: "15", x2: "20", y2: "15", stroke: o, strokeWidth: "1" }),
|
|
772
|
+
/* @__PURE__ */ e("line", { x1: "9", y1: "4", x2: "9", y2: "6", stroke: o, strokeWidth: "1" }),
|
|
773
|
+
/* @__PURE__ */ e("line", { x1: "12", y1: "4", x2: "12", y2: "6", stroke: o, strokeWidth: "1" }),
|
|
774
|
+
/* @__PURE__ */ e("line", { x1: "15", y1: "4", x2: "15", y2: "6", stroke: o, strokeWidth: "1" }),
|
|
775
|
+
/* @__PURE__ */ e("line", { x1: "9", y1: "18", x2: "9", y2: "20", stroke: o, strokeWidth: "1" }),
|
|
776
|
+
/* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "20", stroke: o, strokeWidth: "1" }),
|
|
777
|
+
/* @__PURE__ */ e("line", { x1: "15", y1: "18", x2: "15", y2: "20", stroke: o, strokeWidth: "1" })
|
|
778
778
|
] }) : t === "mem" ? /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
|
|
779
|
-
/* @__PURE__ */ e("rect", { x: "7", y: "3", width: "10", height: "18", rx: "1.5", stroke:
|
|
779
|
+
/* @__PURE__ */ e("rect", { x: "7", y: "3", width: "10", height: "18", rx: "1.5", stroke: o, strokeWidth: "1.5" }),
|
|
780
780
|
/* @__PURE__ */ e(
|
|
781
781
|
"rect",
|
|
782
782
|
{
|
|
@@ -785,8 +785,8 @@ function Dt({ type: t, color: n }) {
|
|
|
785
785
|
width: "6",
|
|
786
786
|
height: "3",
|
|
787
787
|
rx: "0.5",
|
|
788
|
-
fill: `${
|
|
789
|
-
stroke:
|
|
788
|
+
fill: `${o}33`,
|
|
789
|
+
stroke: o,
|
|
790
790
|
strokeWidth: "0.5"
|
|
791
791
|
}
|
|
792
792
|
),
|
|
@@ -798,8 +798,8 @@ function Dt({ type: t, color: n }) {
|
|
|
798
798
|
width: "6",
|
|
799
799
|
height: "3",
|
|
800
800
|
rx: "0.5",
|
|
801
|
-
fill: `${
|
|
802
|
-
stroke:
|
|
801
|
+
fill: `${o}33`,
|
|
802
|
+
stroke: o,
|
|
803
803
|
strokeWidth: "0.5"
|
|
804
804
|
}
|
|
805
805
|
),
|
|
@@ -811,105 +811,105 @@ function Dt({ type: t, color: n }) {
|
|
|
811
811
|
width: "6",
|
|
812
812
|
height: "3",
|
|
813
813
|
rx: "0.5",
|
|
814
|
-
fill: `${
|
|
815
|
-
stroke:
|
|
814
|
+
fill: `${o}33`,
|
|
815
|
+
stroke: o,
|
|
816
816
|
strokeWidth: "0.5"
|
|
817
817
|
}
|
|
818
818
|
),
|
|
819
|
-
/* @__PURE__ */ e("line", { x1: "5", y1: "7", x2: "7", y2: "7", stroke:
|
|
820
|
-
/* @__PURE__ */ e("line", { x1: "5", y1: "11", x2: "7", y2: "11", stroke:
|
|
821
|
-
/* @__PURE__ */ e("line", { x1: "5", y1: "15", x2: "7", y2: "15", stroke:
|
|
822
|
-
/* @__PURE__ */ e("line", { x1: "17", y1: "7", x2: "19", y2: "7", stroke:
|
|
823
|
-
/* @__PURE__ */ e("line", { x1: "17", y1: "11", x2: "19", y2: "11", stroke:
|
|
824
|
-
/* @__PURE__ */ e("line", { x1: "17", y1: "15", x2: "19", y2: "15", stroke:
|
|
819
|
+
/* @__PURE__ */ e("line", { x1: "5", y1: "7", x2: "7", y2: "7", stroke: o, strokeWidth: "0.8" }),
|
|
820
|
+
/* @__PURE__ */ e("line", { x1: "5", y1: "11", x2: "7", y2: "11", stroke: o, strokeWidth: "0.8" }),
|
|
821
|
+
/* @__PURE__ */ e("line", { x1: "5", y1: "15", x2: "7", y2: "15", stroke: o, strokeWidth: "0.8" }),
|
|
822
|
+
/* @__PURE__ */ e("line", { x1: "17", y1: "7", x2: "19", y2: "7", stroke: o, strokeWidth: "0.8" }),
|
|
823
|
+
/* @__PURE__ */ e("line", { x1: "17", y1: "11", x2: "19", y2: "11", stroke: o, strokeWidth: "0.8" }),
|
|
824
|
+
/* @__PURE__ */ e("line", { x1: "17", y1: "15", x2: "19", y2: "15", stroke: o, strokeWidth: "0.8" })
|
|
825
825
|
] }) : /* @__PURE__ */ d("svg", { width: 28, height: 28, viewBox: "0 0 24 24", fill: "none", children: [
|
|
826
|
-
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "8.5", stroke:
|
|
827
|
-
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "5.5", stroke:
|
|
828
|
-
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "2", fill: `${
|
|
829
|
-
/* @__PURE__ */ e("line", { x1: "12", y1: "3", x2: "12", y2: "6", stroke:
|
|
830
|
-
/* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "21", stroke:
|
|
831
|
-
/* @__PURE__ */ e("line", { x1: "3", y1: "12", x2: "6", y2: "12", stroke:
|
|
832
|
-
/* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke:
|
|
826
|
+
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "8.5", stroke: o, strokeWidth: "1.5" }),
|
|
827
|
+
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "5.5", stroke: o, strokeWidth: "0.5", strokeDasharray: "2 2" }),
|
|
828
|
+
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "2", fill: `${o}55` }),
|
|
829
|
+
/* @__PURE__ */ e("line", { x1: "12", y1: "3", x2: "12", y2: "6", stroke: o, strokeWidth: "0.8" }),
|
|
830
|
+
/* @__PURE__ */ e("line", { x1: "12", y1: "18", x2: "12", y2: "21", stroke: o, strokeWidth: "0.8" }),
|
|
831
|
+
/* @__PURE__ */ e("line", { x1: "3", y1: "12", x2: "6", y2: "12", stroke: o, strokeWidth: "0.8" }),
|
|
832
|
+
/* @__PURE__ */ e("line", { x1: "18", y1: "12", x2: "21", y2: "12", stroke: o, strokeWidth: "0.8" })
|
|
833
833
|
] });
|
|
834
834
|
}
|
|
835
|
-
const
|
|
836
|
-
function
|
|
837
|
-
return ve(Qe);
|
|
838
|
-
}
|
|
839
|
-
function vi() {
|
|
835
|
+
const qe = Xe(null), Ke = Xe({ index: 0 });
|
|
836
|
+
function Si() {
|
|
840
837
|
return ve(qe);
|
|
841
838
|
}
|
|
842
|
-
function
|
|
839
|
+
function ki() {
|
|
840
|
+
return ve(Ke);
|
|
841
|
+
}
|
|
842
|
+
function zt({
|
|
843
843
|
children: t,
|
|
844
|
-
logoUrl:
|
|
845
|
-
viewState:
|
|
844
|
+
logoUrl: o,
|
|
845
|
+
viewState: n,
|
|
846
846
|
animPhase: i,
|
|
847
847
|
selectedSystem: r,
|
|
848
848
|
selectedComponent: a,
|
|
849
849
|
drillAnimPhase: s,
|
|
850
850
|
rotateY: l = 20,
|
|
851
|
-
autoRotateComponents:
|
|
851
|
+
autoRotateComponents: f = !0,
|
|
852
852
|
componentScale: c = 0.35,
|
|
853
853
|
drillZoom: p = 3.3,
|
|
854
|
-
autoRotateCarousel:
|
|
855
|
-
carouselSpeed:
|
|
856
|
-
width:
|
|
857
|
-
height:
|
|
854
|
+
autoRotateCarousel: h = !0,
|
|
855
|
+
carouselSpeed: g = 6e-3,
|
|
856
|
+
width: u = 950,
|
|
857
|
+
height: b = 790,
|
|
858
858
|
onSelectSystem: m,
|
|
859
|
-
onBackgroundClick:
|
|
860
|
-
onComponentClick:
|
|
861
|
-
onCloseDrill:
|
|
862
|
-
selectedSystemStatus:
|
|
863
|
-
selectedSystemDbSync:
|
|
864
|
-
selectedSystemMetrics:
|
|
865
|
-
selectedSystemAlerts:
|
|
859
|
+
onBackgroundClick: x,
|
|
860
|
+
onComponentClick: w,
|
|
861
|
+
onCloseDrill: P,
|
|
862
|
+
selectedSystemStatus: y = "online",
|
|
863
|
+
selectedSystemDbSync: D = !0,
|
|
864
|
+
selectedSystemMetrics: B,
|
|
865
|
+
selectedSystemAlerts: $
|
|
866
866
|
}) {
|
|
867
|
-
const [
|
|
867
|
+
const [V, v] = A(0);
|
|
868
868
|
Ee(() => {
|
|
869
|
-
let
|
|
870
|
-
if ((
|
|
871
|
-
const
|
|
872
|
-
v((
|
|
869
|
+
let I;
|
|
870
|
+
if ((n === "compact" || n === "collapsing") && h) {
|
|
871
|
+
const U = () => {
|
|
872
|
+
v((oe) => oe + g), I = requestAnimationFrame(U);
|
|
873
873
|
};
|
|
874
|
-
|
|
874
|
+
I = requestAnimationFrame(U);
|
|
875
875
|
}
|
|
876
|
-
return () => cancelAnimationFrame(
|
|
877
|
-
}, [
|
|
878
|
-
const
|
|
879
|
-
totalSystems:
|
|
880
|
-
carouselRotation:
|
|
881
|
-
viewState:
|
|
876
|
+
return () => cancelAnimationFrame(I);
|
|
877
|
+
}, [n, h, g]);
|
|
878
|
+
const W = J.Children.toArray(t), X = W.length, z = Tt(() => ({
|
|
879
|
+
totalSystems: X,
|
|
880
|
+
carouselRotation: V,
|
|
881
|
+
viewState: n,
|
|
882
882
|
animPhase: i,
|
|
883
883
|
selectedSystem: r,
|
|
884
884
|
selectedComponent: a,
|
|
885
885
|
rotateY: l,
|
|
886
|
-
autoRotateComponents:
|
|
886
|
+
autoRotateComponents: f,
|
|
887
887
|
componentScale: c,
|
|
888
888
|
drillZoom: p,
|
|
889
889
|
onSelectSystem: m,
|
|
890
|
-
onComponentClick:
|
|
891
|
-
containerWidth:
|
|
890
|
+
onComponentClick: w,
|
|
891
|
+
containerWidth: u
|
|
892
892
|
}), [
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
893
|
+
X,
|
|
894
|
+
V,
|
|
895
|
+
n,
|
|
896
896
|
i,
|
|
897
897
|
r,
|
|
898
898
|
a,
|
|
899
899
|
l,
|
|
900
|
-
|
|
900
|
+
f,
|
|
901
901
|
c,
|
|
902
902
|
p,
|
|
903
903
|
m,
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
]), te =
|
|
907
|
-
return /* @__PURE__ */ d(
|
|
908
|
-
/* @__PURE__ */ d("div", { style: { position: "relative", width:
|
|
909
|
-
|
|
904
|
+
w,
|
|
905
|
+
u
|
|
906
|
+
]), te = W.map((I, U) => /* @__PURE__ */ e(Ke.Provider, { value: { index: U }, children: I }, U)), ie = n === "expanded" || n === "expanding" && i >= 4;
|
|
907
|
+
return /* @__PURE__ */ d(qe.Provider, { value: z, children: [
|
|
908
|
+
/* @__PURE__ */ d("div", { style: { position: "relative", width: u, height: b, margin: "0 auto", flexShrink: 0 }, children: [
|
|
909
|
+
o && (n === "compact" || n === "collapsing") && /* @__PURE__ */ e(
|
|
910
910
|
"img",
|
|
911
911
|
{
|
|
912
|
-
src:
|
|
912
|
+
src: o,
|
|
913
913
|
alt: "",
|
|
914
914
|
style: {
|
|
915
915
|
position: "absolute",
|
|
@@ -928,33 +928,33 @@ function Wt({
|
|
|
928
928
|
),
|
|
929
929
|
te
|
|
930
930
|
] }),
|
|
931
|
-
r && /* @__PURE__ */ e("div", { onClick: (
|
|
932
|
-
|
|
931
|
+
r && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
|
|
932
|
+
Lt,
|
|
933
933
|
{
|
|
934
934
|
name: r,
|
|
935
|
-
status:
|
|
936
|
-
dbSync:
|
|
935
|
+
status: y,
|
|
936
|
+
dbSync: D,
|
|
937
937
|
visible: ie && !a,
|
|
938
|
-
metrics:
|
|
939
|
-
alerts:
|
|
938
|
+
metrics: B,
|
|
939
|
+
alerts: $
|
|
940
940
|
}
|
|
941
941
|
) }),
|
|
942
|
-
a && /* @__PURE__ */ e("div", { onClick: (
|
|
943
|
-
|
|
942
|
+
a && /* @__PURE__ */ e("div", { onClick: (I) => I.stopPropagation(), children: /* @__PURE__ */ e(
|
|
943
|
+
Ot,
|
|
944
944
|
{
|
|
945
945
|
component: a,
|
|
946
|
-
onClose:
|
|
946
|
+
onClose: P,
|
|
947
947
|
visible: s >= 0.3,
|
|
948
|
-
sceneWidth:
|
|
949
|
-
sceneHeight:
|
|
948
|
+
sceneWidth: u,
|
|
949
|
+
sceneHeight: b
|
|
950
950
|
}
|
|
951
951
|
) })
|
|
952
952
|
] });
|
|
953
953
|
}
|
|
954
|
-
function
|
|
954
|
+
function Nt({
|
|
955
955
|
x1: t,
|
|
956
|
-
y1:
|
|
957
|
-
x2:
|
|
956
|
+
y1: o,
|
|
957
|
+
x2: n,
|
|
958
958
|
y2: i,
|
|
959
959
|
show: r,
|
|
960
960
|
color: a = "#00e5ff",
|
|
@@ -965,8 +965,8 @@ function zt({
|
|
|
965
965
|
"line",
|
|
966
966
|
{
|
|
967
967
|
x1: t,
|
|
968
|
-
y1:
|
|
969
|
-
x2:
|
|
968
|
+
y1: o,
|
|
969
|
+
x2: n,
|
|
970
970
|
y2: i,
|
|
971
971
|
stroke: a,
|
|
972
972
|
strokeWidth: "8",
|
|
@@ -978,8 +978,8 @@ function zt({
|
|
|
978
978
|
"line",
|
|
979
979
|
{
|
|
980
980
|
x1: t,
|
|
981
|
-
y1:
|
|
982
|
-
x2:
|
|
981
|
+
y1: o,
|
|
982
|
+
x2: n,
|
|
983
983
|
y2: i,
|
|
984
984
|
stroke: a,
|
|
985
985
|
strokeWidth: "2",
|
|
@@ -1004,7 +1004,7 @@ function zt({
|
|
|
1004
1004
|
{
|
|
1005
1005
|
dur: s,
|
|
1006
1006
|
repeatCount: "indefinite",
|
|
1007
|
-
path: `M${t},${
|
|
1007
|
+
path: `M${t},${o} L${n},${i}`
|
|
1008
1008
|
}
|
|
1009
1009
|
) }),
|
|
1010
1010
|
/* @__PURE__ */ e("circle", { r: "8", fill: a, opacity: 0.18, children: /* @__PURE__ */ e(
|
|
@@ -1012,27 +1012,27 @@ function zt({
|
|
|
1012
1012
|
{
|
|
1013
1013
|
dur: s,
|
|
1014
1014
|
repeatCount: "indefinite",
|
|
1015
|
-
path: `M${t},${
|
|
1015
|
+
path: `M${t},${o} L${n},${i}`
|
|
1016
1016
|
}
|
|
1017
1017
|
) })
|
|
1018
1018
|
] })
|
|
1019
1019
|
] });
|
|
1020
1020
|
}
|
|
1021
|
-
const
|
|
1021
|
+
const Mt = [
|
|
1022
1022
|
{ scale: 1, op: 1, delay: "0.0s", bw: "2px", glow: 1 },
|
|
1023
1023
|
{ scale: 0.82, op: 0.88, delay: "0.5s", bw: "1.5px", glow: 0.7 },
|
|
1024
1024
|
{ scale: 0.64, op: 0.72, delay: "1.0s", bw: "1px", glow: 0.5 },
|
|
1025
1025
|
{ scale: 0.47, op: 0.58, delay: "1.5s", bw: "1px", glow: 0.35 },
|
|
1026
1026
|
{ scale: 0.3, op: 0.45, delay: "2.0s", bw: "1px", glow: 0.25 }
|
|
1027
1027
|
];
|
|
1028
|
-
function
|
|
1028
|
+
function Bt({
|
|
1029
1029
|
children: t,
|
|
1030
|
-
size:
|
|
1031
|
-
widthRatio:
|
|
1030
|
+
size: o = 230,
|
|
1031
|
+
widthRatio: n = 1,
|
|
1032
1032
|
color: i = "#00e5ff",
|
|
1033
1033
|
label: r
|
|
1034
1034
|
}) {
|
|
1035
|
-
const a =
|
|
1035
|
+
const a = o * n;
|
|
1036
1036
|
return /* @__PURE__ */ d("div", { style: {
|
|
1037
1037
|
display: "flex",
|
|
1038
1038
|
flexDirection: "column",
|
|
@@ -1137,7 +1137,7 @@ function Mt({
|
|
|
1137
1137
|
/* @__PURE__ */ d("div", { style: {
|
|
1138
1138
|
position: "relative",
|
|
1139
1139
|
width: a,
|
|
1140
|
-
height:
|
|
1140
|
+
height: o * 0.34,
|
|
1141
1141
|
display: "flex",
|
|
1142
1142
|
alignItems: "center",
|
|
1143
1143
|
justifyContent: "center",
|
|
@@ -1146,11 +1146,11 @@ function Mt({
|
|
|
1146
1146
|
}, children: [
|
|
1147
1147
|
/* @__PURE__ */ e("div", { style: {
|
|
1148
1148
|
position: "absolute",
|
|
1149
|
-
bottom:
|
|
1149
|
+
bottom: o * 0.03,
|
|
1150
1150
|
left: "50%",
|
|
1151
1151
|
transform: "translateX(-50%) scaleY(0.20)",
|
|
1152
1152
|
width: a * 0.88,
|
|
1153
|
-
height:
|
|
1153
|
+
height: o * 0.88,
|
|
1154
1154
|
borderRadius: "50%",
|
|
1155
1155
|
background: `radial-gradient(circle,
|
|
1156
1156
|
rgba(255,255,255,0.08) 0%,
|
|
@@ -1167,11 +1167,11 @@ function Mt({
|
|
|
1167
1167
|
} }),
|
|
1168
1168
|
/* @__PURE__ */ e("div", { style: {
|
|
1169
1169
|
position: "absolute",
|
|
1170
|
-
bottom:
|
|
1170
|
+
bottom: o * 0.05,
|
|
1171
1171
|
left: "50%",
|
|
1172
1172
|
transform: "translateX(-50%) scaleY(0.20)",
|
|
1173
1173
|
width: a * 0.42,
|
|
1174
|
-
height:
|
|
1174
|
+
height: o * 0.42,
|
|
1175
1175
|
borderRadius: "50%",
|
|
1176
1176
|
background: `radial-gradient(circle,
|
|
1177
1177
|
rgba(255,255,255,0.22) 0%,
|
|
@@ -1191,10 +1191,10 @@ function Mt({
|
|
|
1191
1191
|
background: `radial-gradient(ellipse, ${i}88 0%, ${i}33 40%, transparent 72%)`,
|
|
1192
1192
|
filter: "blur(12px)"
|
|
1193
1193
|
} }),
|
|
1194
|
-
|
|
1194
|
+
Mt.map((s, l) => /* @__PURE__ */ e("div", { style: {
|
|
1195
1195
|
position: "absolute",
|
|
1196
1196
|
width: a * s.scale,
|
|
1197
|
-
height:
|
|
1197
|
+
height: o * s.scale,
|
|
1198
1198
|
borderRadius: "50%",
|
|
1199
1199
|
border: `${s.bw} solid ${i}`,
|
|
1200
1200
|
opacity: s.op,
|
|
@@ -1206,7 +1206,7 @@ function Mt({
|
|
|
1206
1206
|
/* @__PURE__ */ e("div", { style: {
|
|
1207
1207
|
position: "absolute",
|
|
1208
1208
|
width: a * 1.04,
|
|
1209
|
-
height:
|
|
1209
|
+
height: o * 1.04,
|
|
1210
1210
|
borderRadius: "50%",
|
|
1211
1211
|
transform: "scaleY(0.22)",
|
|
1212
1212
|
border: `1px dashed ${i}55`,
|
|
@@ -1215,7 +1215,7 @@ function Mt({
|
|
|
1215
1215
|
/* @__PURE__ */ e("div", { style: {
|
|
1216
1216
|
position: "absolute",
|
|
1217
1217
|
width: a * 0.1,
|
|
1218
|
-
height:
|
|
1218
|
+
height: o * 0.1,
|
|
1219
1219
|
borderRadius: "50%",
|
|
1220
1220
|
transform: "scaleY(0.22)",
|
|
1221
1221
|
background: `radial-gradient(circle, #ffffff 0%, ${i} 35%, transparent 70%)`,
|
|
@@ -1234,46 +1234,46 @@ function Mt({
|
|
|
1234
1234
|
}, children: r })
|
|
1235
1235
|
] });
|
|
1236
1236
|
}
|
|
1237
|
-
const ae =
|
|
1238
|
-
function
|
|
1237
|
+
const ae = Xe(null), Ut = "cubic-bezier(0.34, 1.56, 0.64, 1)", it = 330, ot = 340, Ft = 660;
|
|
1238
|
+
function dt({
|
|
1239
1239
|
name: t,
|
|
1240
|
-
status:
|
|
1241
|
-
connections:
|
|
1240
|
+
status: o = "online",
|
|
1241
|
+
connections: n = [],
|
|
1242
1242
|
baseConfig: i,
|
|
1243
1243
|
children: r,
|
|
1244
1244
|
_index: a,
|
|
1245
1245
|
_totalSystems: s,
|
|
1246
1246
|
_carouselRotation: l,
|
|
1247
|
-
_viewState:
|
|
1247
|
+
_viewState: f,
|
|
1248
1248
|
_animPhase: c,
|
|
1249
1249
|
_selectedSystem: p,
|
|
1250
|
-
_selectedComponent:
|
|
1251
|
-
_rotateY:
|
|
1252
|
-
_autoRotateComponents:
|
|
1253
|
-
_componentScale:
|
|
1250
|
+
_selectedComponent: h,
|
|
1251
|
+
_rotateY: g,
|
|
1252
|
+
_autoRotateComponents: u,
|
|
1253
|
+
_componentScale: b,
|
|
1254
1254
|
_drillZoom: m,
|
|
1255
|
-
_onSelectSystem:
|
|
1256
|
-
_onComponentClick:
|
|
1257
|
-
_containerWidth:
|
|
1255
|
+
_onSelectSystem: x,
|
|
1256
|
+
_onComponentClick: w,
|
|
1257
|
+
_containerWidth: P
|
|
1258
1258
|
}) {
|
|
1259
|
-
const
|
|
1259
|
+
const y = ve(qe), D = ve(Ke), B = a ?? D.index, $ = s ?? y?.totalSystems ?? 1, V = l ?? y?.carouselRotation ?? 0, v = f ?? y?.viewState ?? "compact", W = c ?? y?.animPhase ?? 0, X = p ?? y?.selectedSystem ?? null, z = h ?? y?.selectedComponent ?? null, te = g ?? y?.rotateY ?? 20, ie = u ?? y?.autoRotateComponents ?? !0, I = b ?? y?.componentScale ?? 0.35, U = m ?? y?.drillZoom ?? 3.3, oe = x ?? y?.onSelectSystem, Se = w ?? y?.onComponentClick, ke = P ?? y?.containerWidth ?? 950, G = X === t, N = G && (v === "expanded" || v === "expanding" && W >= 1), C = !N, $e = (ke - Ft) / 2, ne = it + $e, le = B / $ * Math.PI * 2 + V, Ne = 420, Te = 160, Re = ne + Math.cos(le) * Ne, se = 450 + Math.sin(le) * Te, xt = Math.round(se), Me = !G && (v === "expanding" || v === "expanded"), vt = Me ? 0 : 1, Pe = C ? 0.3 + (Math.sin(le) + 1) * 0.1 : 1, wt = C ? Pe : I, Ae = v === "compact" || v === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", tt = G && z, Be = tt ? U : 1, St = z?.ex ?? 330, kt = z?.ey ?? 300, { size: $t = 90, color: Rt = "#00e5ff", widthRatio: Pt = 3 } = i ?? {}, Ct = {
|
|
1260
1260
|
name: t,
|
|
1261
|
-
isSelected:
|
|
1262
|
-
isExpandedPos:
|
|
1263
|
-
isCompact:
|
|
1264
|
-
animPhase:
|
|
1261
|
+
isSelected: G,
|
|
1262
|
+
isExpandedPos: N,
|
|
1263
|
+
isCompact: C,
|
|
1264
|
+
animPhase: W,
|
|
1265
1265
|
compactCx: Re,
|
|
1266
1266
|
compactCy: se,
|
|
1267
1267
|
groupScale: Pe,
|
|
1268
|
-
effectiveScale:
|
|
1269
|
-
transitionValue:
|
|
1268
|
+
effectiveScale: wt,
|
|
1269
|
+
transitionValue: Ae,
|
|
1270
1270
|
rotateY: te,
|
|
1271
1271
|
autoRotateComponents: ie,
|
|
1272
1272
|
onComponentClick: Se,
|
|
1273
|
-
selectedComponentName:
|
|
1274
|
-
expandedOffsetX:
|
|
1273
|
+
selectedComponentName: z?.name ?? null,
|
|
1274
|
+
expandedOffsetX: $e
|
|
1275
1275
|
};
|
|
1276
|
-
return /* @__PURE__ */ e(ae.Provider, { value:
|
|
1276
|
+
return /* @__PURE__ */ e(ae.Provider, { value: Ct, children: /* @__PURE__ */ d(
|
|
1277
1277
|
"div",
|
|
1278
1278
|
{
|
|
1279
1279
|
style: {
|
|
@@ -1283,15 +1283,15 @@ function lt({
|
|
|
1283
1283
|
width: "100%",
|
|
1284
1284
|
height: "100%",
|
|
1285
1285
|
pointerEvents: "none",
|
|
1286
|
-
opacity:
|
|
1287
|
-
transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${
|
|
1288
|
-
filter:
|
|
1289
|
-
zIndex:
|
|
1290
|
-
transformOrigin: `${
|
|
1291
|
-
transform:
|
|
1286
|
+
opacity: vt,
|
|
1287
|
+
transition: `opacity 0.8s ease, filter 0.5s ease, transform 0.6s ${Ut}`,
|
|
1288
|
+
filter: C && Math.sin(le) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
|
|
1289
|
+
zIndex: G ? 500 : Me ? 0 : xt,
|
|
1290
|
+
transformOrigin: `${ne}px ${ot}px`,
|
|
1291
|
+
transform: tt ? `translate(${-(St - it) * Be}px, ${-(kt - ot) * Be}px) scale(${Be})` : "none"
|
|
1292
1292
|
},
|
|
1293
1293
|
children: [
|
|
1294
|
-
|
|
1294
|
+
C && !Me && /* @__PURE__ */ e(
|
|
1295
1295
|
"div",
|
|
1296
1296
|
{
|
|
1297
1297
|
style: {
|
|
@@ -1305,12 +1305,12 @@ function lt({
|
|
|
1305
1305
|
cursor: "pointer",
|
|
1306
1306
|
zIndex: 101
|
|
1307
1307
|
},
|
|
1308
|
-
onClick: (
|
|
1309
|
-
|
|
1308
|
+
onClick: (j) => {
|
|
1309
|
+
j.stopPropagation(), oe?.(t);
|
|
1310
1310
|
}
|
|
1311
1311
|
}
|
|
1312
1312
|
),
|
|
1313
|
-
|
|
1313
|
+
C && (o === "warning" || o === "critical") && /* @__PURE__ */ e(
|
|
1314
1314
|
"div",
|
|
1315
1315
|
{
|
|
1316
1316
|
style: {
|
|
@@ -1321,17 +1321,17 @@ function lt({
|
|
|
1321
1321
|
zIndex: 110,
|
|
1322
1322
|
pointerEvents: "none",
|
|
1323
1323
|
animation: "holo-led-blink 1.5s infinite",
|
|
1324
|
-
filter: `drop-shadow(0 0 10px ${
|
|
1324
|
+
filter: `drop-shadow(0 0 10px ${o === "critical" ? "#ff2255" : "#ff8c00"})`
|
|
1325
1325
|
},
|
|
1326
1326
|
children: /* @__PURE__ */ d("svg", { width: "48", height: "48", viewBox: "0 0 28 28", fill: "none", children: [
|
|
1327
1327
|
/* @__PURE__ */ e(
|
|
1328
1328
|
"path",
|
|
1329
1329
|
{
|
|
1330
1330
|
d: "M14 3L1.5 25.5h25L14 3z",
|
|
1331
|
-
stroke:
|
|
1331
|
+
stroke: o === "critical" ? "#ff2255" : "#ff8c00",
|
|
1332
1332
|
strokeWidth: "2",
|
|
1333
1333
|
strokeLinejoin: "round",
|
|
1334
|
-
fill: (
|
|
1334
|
+
fill: (o === "critical" ? "#ff2255" : "#ff8c00") + "22"
|
|
1335
1335
|
}
|
|
1336
1336
|
),
|
|
1337
1337
|
/* @__PURE__ */ e(
|
|
@@ -1341,7 +1341,7 @@ function lt({
|
|
|
1341
1341
|
y1: "11",
|
|
1342
1342
|
x2: "14",
|
|
1343
1343
|
y2: "18",
|
|
1344
|
-
stroke:
|
|
1344
|
+
stroke: o === "critical" ? "#ff2255" : "#ff8c00",
|
|
1345
1345
|
strokeWidth: "2.5",
|
|
1346
1346
|
strokeLinecap: "round"
|
|
1347
1347
|
}
|
|
@@ -1352,7 +1352,7 @@ function lt({
|
|
|
1352
1352
|
cx: "14",
|
|
1353
1353
|
cy: "21.5",
|
|
1354
1354
|
r: "1.5",
|
|
1355
|
-
fill:
|
|
1355
|
+
fill: o === "critical" ? "#ff2255" : "#ff8c00"
|
|
1356
1356
|
}
|
|
1357
1357
|
)
|
|
1358
1358
|
] })
|
|
@@ -1363,13 +1363,13 @@ function lt({
|
|
|
1363
1363
|
{
|
|
1364
1364
|
style: {
|
|
1365
1365
|
position: "absolute",
|
|
1366
|
-
left:
|
|
1367
|
-
top:
|
|
1368
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1366
|
+
left: N ? ne : Re,
|
|
1367
|
+
top: N ? 48 : se - 180,
|
|
1368
|
+
transform: `translate(-50%, -50%) scale(${N ? 1.2 : Pe * 1.5})`,
|
|
1369
1369
|
opacity: 1,
|
|
1370
1370
|
pointerEvents: "none",
|
|
1371
1371
|
zIndex: 100,
|
|
1372
|
-
transition:
|
|
1372
|
+
transition: Ae,
|
|
1373
1373
|
fontSize: 36,
|
|
1374
1374
|
fontWeight: 700,
|
|
1375
1375
|
letterSpacing: "0.18em",
|
|
@@ -1389,25 +1389,25 @@ function lt({
|
|
|
1389
1389
|
style: {
|
|
1390
1390
|
position: "absolute",
|
|
1391
1391
|
top: 0,
|
|
1392
|
-
left:
|
|
1392
|
+
left: N ? $e : 0,
|
|
1393
1393
|
width: 660,
|
|
1394
1394
|
height: 640,
|
|
1395
1395
|
pointerEvents: "none",
|
|
1396
1396
|
zIndex: 0,
|
|
1397
|
-
transition:
|
|
1397
|
+
transition: Ae
|
|
1398
1398
|
},
|
|
1399
|
-
children:
|
|
1400
|
-
|
|
1399
|
+
children: n.map((j, Et) => /* @__PURE__ */ e(
|
|
1400
|
+
Nt,
|
|
1401
1401
|
{
|
|
1402
|
-
x1:
|
|
1403
|
-
y1:
|
|
1404
|
-
x2:
|
|
1405
|
-
y2:
|
|
1406
|
-
show:
|
|
1407
|
-
color:
|
|
1408
|
-
dur:
|
|
1402
|
+
x1: j.from[0],
|
|
1403
|
+
y1: j.from[1],
|
|
1404
|
+
x2: j.to[0],
|
|
1405
|
+
y2: j.to[1],
|
|
1406
|
+
show: G && W >= (j.visibleAtPhase ?? 0),
|
|
1407
|
+
color: j.color,
|
|
1408
|
+
dur: j.duration
|
|
1409
1409
|
},
|
|
1410
|
-
|
|
1410
|
+
Et
|
|
1411
1411
|
))
|
|
1412
1412
|
}
|
|
1413
1413
|
),
|
|
@@ -1416,13 +1416,13 @@ function lt({
|
|
|
1416
1416
|
{
|
|
1417
1417
|
style: {
|
|
1418
1418
|
position: "absolute",
|
|
1419
|
-
left:
|
|
1420
|
-
top:
|
|
1421
|
-
transform: `translate(-50%, -50%) scaleX(${
|
|
1422
|
-
transition:
|
|
1419
|
+
left: N ? ne : Re,
|
|
1420
|
+
top: N ? 570 : se + 70,
|
|
1421
|
+
transform: `translate(-50%, -50%) scaleX(${N ? 1 : 0.4}) scaleY(${N ? 1 : 0.6}) scale(${N ? 1 : Pe})`,
|
|
1422
|
+
transition: Ae,
|
|
1423
1423
|
zIndex: 1
|
|
1424
1424
|
},
|
|
1425
|
-
children: /* @__PURE__ */ e(
|
|
1425
|
+
children: /* @__PURE__ */ e(Bt, { size: $t, color: Rt, widthRatio: Pt, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
|
|
1426
1426
|
}
|
|
1427
1427
|
),
|
|
1428
1428
|
r
|
|
@@ -1430,41 +1430,41 @@ function lt({
|
|
|
1430
1430
|
}
|
|
1431
1431
|
) });
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1433
|
+
function T({
|
|
1434
1434
|
ex: t,
|
|
1435
|
-
ey:
|
|
1436
|
-
compactOffset:
|
|
1435
|
+
ey: o,
|
|
1436
|
+
compactOffset: n,
|
|
1437
1437
|
zIndex: i,
|
|
1438
1438
|
children: r,
|
|
1439
1439
|
color: a = "#00e5ff",
|
|
1440
1440
|
label: s,
|
|
1441
1441
|
subLabel: l,
|
|
1442
|
-
delay:
|
|
1442
|
+
delay: f = "0s",
|
|
1443
1443
|
componentInfo: c,
|
|
1444
1444
|
visibleAtPhase: p = 0,
|
|
1445
|
-
fixedScale:
|
|
1446
|
-
bare:
|
|
1445
|
+
fixedScale: h,
|
|
1446
|
+
bare: g = !1
|
|
1447
1447
|
}) {
|
|
1448
|
-
const
|
|
1449
|
-
if (!
|
|
1448
|
+
const u = ve(ae);
|
|
1449
|
+
if (!u)
|
|
1450
1450
|
throw new Error("ServiceNode must be used inside a <Service> component.");
|
|
1451
1451
|
const {
|
|
1452
|
-
isExpandedPos:
|
|
1452
|
+
isExpandedPos: b,
|
|
1453
1453
|
animPhase: m,
|
|
1454
|
-
compactCx:
|
|
1455
|
-
compactCy:
|
|
1456
|
-
groupScale:
|
|
1457
|
-
effectiveScale:
|
|
1458
|
-
transitionValue:
|
|
1459
|
-
onComponentClick:
|
|
1460
|
-
selectedComponentName:
|
|
1461
|
-
expandedOffsetX:
|
|
1462
|
-
} =
|
|
1454
|
+
compactCx: x,
|
|
1455
|
+
compactCy: w,
|
|
1456
|
+
groupScale: P,
|
|
1457
|
+
effectiveScale: y,
|
|
1458
|
+
transitionValue: D,
|
|
1459
|
+
onComponentClick: B,
|
|
1460
|
+
selectedComponentName: $,
|
|
1461
|
+
expandedOffsetX: V
|
|
1462
|
+
} = u, W = p === 0 || u.isSelected && m >= p ? 1 : 0, X = x + n.x, z = w + n.y, te = b ? t + V : X, ie = b ? o : z, I = h !== void 0 ? h : u.isCompact ? P : y, U = !!c && !!$ && c.name === $, oe = c?.status ? S[c.status]?.color ?? a : a, Se = c?.status === "offline" ? "#4a6a8a" : oe, ke = c && b && B ? () => B({
|
|
1463
1463
|
type: c.type,
|
|
1464
1464
|
name: c.name,
|
|
1465
1465
|
status: c.status,
|
|
1466
1466
|
ex: c.ex ?? t,
|
|
1467
|
-
ey: c.ey ??
|
|
1467
|
+
ey: c.ey ?? o,
|
|
1468
1468
|
context: c.context,
|
|
1469
1469
|
subComponents: c.subComponents,
|
|
1470
1470
|
graphSeries: c.graphSeries
|
|
@@ -1476,23 +1476,23 @@ function A({
|
|
|
1476
1476
|
position: "absolute",
|
|
1477
1477
|
left: te,
|
|
1478
1478
|
top: ie,
|
|
1479
|
-
transform: `translate(-50%, -50%) scale(${
|
|
1480
|
-
opacity:
|
|
1479
|
+
transform: `translate(-50%, -50%) scale(${I})`,
|
|
1480
|
+
opacity: W,
|
|
1481
1481
|
zIndex: i,
|
|
1482
|
-
transition:
|
|
1483
|
-
pointerEvents:
|
|
1482
|
+
transition: D || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
1483
|
+
pointerEvents: b && W >= 0.5 ? "auto" : "none"
|
|
1484
1484
|
},
|
|
1485
|
-
children:
|
|
1485
|
+
children: g ? r : /* @__PURE__ */ e(
|
|
1486
1486
|
Ht,
|
|
1487
1487
|
{
|
|
1488
1488
|
statusColor: Se,
|
|
1489
1489
|
label: s,
|
|
1490
1490
|
subLabel: l,
|
|
1491
|
-
delay:
|
|
1492
|
-
showLabels:
|
|
1493
|
-
isCompact:
|
|
1494
|
-
onClick:
|
|
1495
|
-
isSelected:
|
|
1491
|
+
delay: f,
|
|
1492
|
+
showLabels: b,
|
|
1493
|
+
isCompact: u.isCompact,
|
|
1494
|
+
onClick: ke,
|
|
1495
|
+
isSelected: U,
|
|
1496
1496
|
children: r
|
|
1497
1497
|
}
|
|
1498
1498
|
)
|
|
@@ -1501,27 +1501,27 @@ function A({
|
|
|
1501
1501
|
}
|
|
1502
1502
|
function Ht({
|
|
1503
1503
|
children: t,
|
|
1504
|
-
statusColor:
|
|
1505
|
-
label:
|
|
1504
|
+
statusColor: o,
|
|
1505
|
+
label: n,
|
|
1506
1506
|
subLabel: i,
|
|
1507
1507
|
delay: r = "0s",
|
|
1508
1508
|
showLabels: a = !0,
|
|
1509
1509
|
isCompact: s = !1,
|
|
1510
1510
|
onClick: l,
|
|
1511
|
-
isSelected:
|
|
1511
|
+
isSelected: f = !1
|
|
1512
1512
|
}) {
|
|
1513
|
-
const [c, p] =
|
|
1513
|
+
const [c, p] = A(!1), h = f ? `brightness(1.5) drop-shadow(0 0 24px ${o}cc) drop-shadow(0 0 8px ${o}88)` : c && l ? `brightness(1.2) drop-shadow(0 0 12px ${o}77)` : "";
|
|
1514
1514
|
return /* @__PURE__ */ d(
|
|
1515
1515
|
"div",
|
|
1516
1516
|
{
|
|
1517
1517
|
className: `float-node${l ? " float-node--interactive" : ""}`,
|
|
1518
|
-
onClick: (
|
|
1519
|
-
l && (
|
|
1518
|
+
onClick: (g) => {
|
|
1519
|
+
l && (g.stopPropagation(), l());
|
|
1520
1520
|
},
|
|
1521
1521
|
style: {
|
|
1522
1522
|
cursor: l ? "pointer" : void 0,
|
|
1523
1523
|
transition: "filter 0.3s ease",
|
|
1524
|
-
filter:
|
|
1524
|
+
filter: h
|
|
1525
1525
|
},
|
|
1526
1526
|
onMouseEnter: () => p(!0),
|
|
1527
1527
|
onMouseLeave: () => p(!1),
|
|
@@ -1534,8 +1534,8 @@ function Ht({
|
|
|
1534
1534
|
{
|
|
1535
1535
|
className: "scan-line",
|
|
1536
1536
|
style: {
|
|
1537
|
-
background: `linear-gradient(90deg, transparent 5%, ${
|
|
1538
|
-
boxShadow: `0 0 8px ${
|
|
1537
|
+
background: `linear-gradient(90deg, transparent 5%, ${o}cc 40%, #fff 50%, ${o}cc 60%, transparent 95%)`,
|
|
1538
|
+
boxShadow: `0 0 8px ${o}`
|
|
1539
1539
|
}
|
|
1540
1540
|
}
|
|
1541
1541
|
),
|
|
@@ -1551,8 +1551,8 @@ function Ht({
|
|
|
1551
1551
|
transition: "opacity 0.5s ease"
|
|
1552
1552
|
},
|
|
1553
1553
|
children: [
|
|
1554
|
-
|
|
1555
|
-
i && /* @__PURE__ */ e("div", { className: "node-subtag", style: { color:
|
|
1554
|
+
n && /* @__PURE__ */ e("div", { className: "node-tag", style: { color: o + "cc" }, children: n }),
|
|
1555
|
+
i && /* @__PURE__ */ e("div", { className: "node-subtag", style: { color: o + "77" }, children: i })
|
|
1556
1556
|
]
|
|
1557
1557
|
}
|
|
1558
1558
|
)
|
|
@@ -1560,67 +1560,67 @@ function Ht({
|
|
|
1560
1560
|
}
|
|
1561
1561
|
);
|
|
1562
1562
|
}
|
|
1563
|
-
function
|
|
1564
|
-
const
|
|
1563
|
+
function ct({ synced: t, latencyMs: o }) {
|
|
1564
|
+
const n = t ? "#00ff88" : "#ff8c00";
|
|
1565
1565
|
return /* @__PURE__ */ d("div", { className: "sync-bridge", children: [
|
|
1566
1566
|
/* @__PURE__ */ d("div", { className: "sync-arrows", children: [
|
|
1567
|
-
/* @__PURE__ */ e("span", { style: { color:
|
|
1567
|
+
/* @__PURE__ */ e("span", { style: { color: n, fontSize: 10, lineHeight: 1 }, children: "◄" }),
|
|
1568
1568
|
/* @__PURE__ */ e(
|
|
1569
1569
|
"div",
|
|
1570
1570
|
{
|
|
1571
1571
|
className: "sync-line",
|
|
1572
1572
|
style: {
|
|
1573
|
-
background: `linear-gradient(90deg, ${
|
|
1574
|
-
boxShadow: `0 0 8px ${
|
|
1573
|
+
background: `linear-gradient(90deg, ${n}44, ${n}, ${n}44)`,
|
|
1574
|
+
boxShadow: `0 0 8px ${n}55`
|
|
1575
1575
|
}
|
|
1576
1576
|
}
|
|
1577
1577
|
),
|
|
1578
|
-
/* @__PURE__ */ e("span", { style: { color:
|
|
1578
|
+
/* @__PURE__ */ e("span", { style: { color: n, fontSize: 10, lineHeight: 1 }, children: "►" })
|
|
1579
1579
|
] }),
|
|
1580
1580
|
/* @__PURE__ */ e(
|
|
1581
1581
|
"div",
|
|
1582
1582
|
{
|
|
1583
1583
|
className: "sync-status",
|
|
1584
1584
|
style: {
|
|
1585
|
-
color:
|
|
1585
|
+
color: n,
|
|
1586
1586
|
animation: t ? "none" : "holo-led-blink 1s linear infinite"
|
|
1587
1587
|
},
|
|
1588
1588
|
children: t ? "SYNCED" : "LAG"
|
|
1589
1589
|
}
|
|
1590
1590
|
),
|
|
1591
|
-
/* @__PURE__ */ d("div", { className: "sync-latency", style: { color:
|
|
1592
|
-
|
|
1591
|
+
/* @__PURE__ */ d("div", { className: "sync-latency", style: { color: n + "88" }, children: [
|
|
1592
|
+
o,
|
|
1593
1593
|
"ms ",
|
|
1594
1594
|
t ? "replication" : "behind"
|
|
1595
1595
|
] })
|
|
1596
1596
|
] });
|
|
1597
1597
|
}
|
|
1598
|
-
function
|
|
1598
|
+
function O({
|
|
1599
1599
|
ex: t,
|
|
1600
|
-
ey:
|
|
1601
|
-
status:
|
|
1600
|
+
ey: o,
|
|
1601
|
+
status: n,
|
|
1602
1602
|
title: i,
|
|
1603
1603
|
msg: r,
|
|
1604
1604
|
offsetX: a,
|
|
1605
1605
|
offsetY: s,
|
|
1606
1606
|
isVisible: l,
|
|
1607
|
-
align:
|
|
1607
|
+
align: f = "right",
|
|
1608
1608
|
internalRef: c
|
|
1609
1609
|
}) {
|
|
1610
|
-
const
|
|
1611
|
-
if (
|
|
1612
|
-
const
|
|
1613
|
-
let
|
|
1614
|
-
if (
|
|
1615
|
-
const
|
|
1616
|
-
|
|
1610
|
+
const h = ve(ae)?.expandedOffsetX ?? 0;
|
|
1611
|
+
if (n === "online") return null;
|
|
1612
|
+
const g = S[n]?.color ?? S.warning.color, u = Math.abs(a) > Math.abs(s), b = t + h + (u ? Math.sign(a) * 45 : 0), m = o + (u ? 0 : Math.sign(s) * 40), x = t + h + a, w = o + s;
|
|
1613
|
+
let P = "";
|
|
1614
|
+
if (u) {
|
|
1615
|
+
const $ = b + (x - b) / 2;
|
|
1616
|
+
P = `M ${b} ${m} L ${$} ${m} L ${$} ${w} L ${x} ${w}`;
|
|
1617
1617
|
} else {
|
|
1618
|
-
const
|
|
1619
|
-
|
|
1618
|
+
const $ = m + (w - m) / 2;
|
|
1619
|
+
P = `M ${b} ${m} L ${b} ${$} L ${x} ${$} L ${x} ${w}`;
|
|
1620
1620
|
}
|
|
1621
|
-
let
|
|
1622
|
-
|
|
1623
|
-
const
|
|
1621
|
+
let y = "translate(0, -50%)";
|
|
1622
|
+
f === "left" && (y = "translate(-100%, -50%)"), f === "top" && (y = "translate(-50%, -100%)"), f === "bottom" && (y = "translate(-50%, 0)");
|
|
1623
|
+
const D = f === "left" ? -8 : f === "right" ? 8 : 0, B = f === "top" ? -8 : f === "bottom" ? 8 : 0;
|
|
1624
1624
|
return /* @__PURE__ */ d(
|
|
1625
1625
|
"div",
|
|
1626
1626
|
{
|
|
@@ -1651,12 +1651,12 @@ function D({
|
|
|
1651
1651
|
children: /* @__PURE__ */ e(
|
|
1652
1652
|
"path",
|
|
1653
1653
|
{
|
|
1654
|
-
d:
|
|
1654
|
+
d: P,
|
|
1655
1655
|
fill: "none",
|
|
1656
|
-
stroke:
|
|
1656
|
+
stroke: g,
|
|
1657
1657
|
strokeWidth: "1.5",
|
|
1658
1658
|
strokeDasharray: "5 4",
|
|
1659
|
-
style: { filter: `drop-shadow(0 0 4px ${
|
|
1659
|
+
style: { filter: `drop-shadow(0 0 4px ${g})`, opacity: 0.55 }
|
|
1660
1660
|
}
|
|
1661
1661
|
)
|
|
1662
1662
|
}
|
|
@@ -1666,14 +1666,14 @@ function D({
|
|
|
1666
1666
|
{
|
|
1667
1667
|
style: {
|
|
1668
1668
|
position: "absolute",
|
|
1669
|
-
left:
|
|
1670
|
-
top:
|
|
1671
|
-
transform:
|
|
1672
|
-
marginLeft:
|
|
1673
|
-
marginTop:
|
|
1669
|
+
left: x,
|
|
1670
|
+
top: w,
|
|
1671
|
+
transform: y,
|
|
1672
|
+
marginLeft: D,
|
|
1673
|
+
marginTop: B,
|
|
1674
1674
|
background: "repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px), rgba(2, 8, 16, 0.82)",
|
|
1675
|
-
border: `1px solid ${
|
|
1676
|
-
borderLeft: `2px solid ${
|
|
1675
|
+
border: `1px solid ${g}55`,
|
|
1676
|
+
borderLeft: `2px solid ${g}`,
|
|
1677
1677
|
backdropFilter: "blur(8px)",
|
|
1678
1678
|
WebkitBackdropFilter: "blur(8px)",
|
|
1679
1679
|
padding: "6px 10px",
|
|
@@ -1681,7 +1681,7 @@ function D({
|
|
|
1681
1681
|
color: "#fff",
|
|
1682
1682
|
fontFamily: "'Courier New', monospace",
|
|
1683
1683
|
width: 140,
|
|
1684
|
-
boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${
|
|
1684
|
+
boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${g}22 inset`
|
|
1685
1685
|
},
|
|
1686
1686
|
children: [
|
|
1687
1687
|
/* @__PURE__ */ d(
|
|
@@ -1701,8 +1701,8 @@ function D({
|
|
|
1701
1701
|
width: 4,
|
|
1702
1702
|
height: 4,
|
|
1703
1703
|
borderRadius: "50%",
|
|
1704
|
-
background:
|
|
1705
|
-
boxShadow: `0 0 6px ${
|
|
1704
|
+
background: g,
|
|
1705
|
+
boxShadow: `0 0 6px ${g}`,
|
|
1706
1706
|
animation: "holo-led-blink 1.5s infinite"
|
|
1707
1707
|
}
|
|
1708
1708
|
}
|
|
@@ -1711,12 +1711,12 @@ function D({
|
|
|
1711
1711
|
"div",
|
|
1712
1712
|
{
|
|
1713
1713
|
style: {
|
|
1714
|
-
color:
|
|
1714
|
+
color: g,
|
|
1715
1715
|
fontWeight: "600",
|
|
1716
1716
|
fontSize: 10,
|
|
1717
1717
|
letterSpacing: "1px",
|
|
1718
1718
|
textTransform: "uppercase",
|
|
1719
|
-
textShadow: `0 0 4px ${
|
|
1719
|
+
textShadow: `0 0 4px ${g}88`
|
|
1720
1720
|
},
|
|
1721
1721
|
children: c ? `${i} · ${c}` : i
|
|
1722
1722
|
}
|
|
@@ -1742,28 +1742,28 @@ function D({
|
|
|
1742
1742
|
}
|
|
1743
1743
|
);
|
|
1744
1744
|
}
|
|
1745
|
-
const
|
|
1746
|
-
function
|
|
1745
|
+
const Q = 140, F = 240, Z = 160, de = Qe(Q, F, Z);
|
|
1746
|
+
function Yt({
|
|
1747
1747
|
cfg: t,
|
|
1748
|
-
name:
|
|
1749
|
-
cpuLoad:
|
|
1748
|
+
name: o,
|
|
1749
|
+
cpuLoad: n,
|
|
1750
1750
|
memLoad: i,
|
|
1751
1751
|
status: r,
|
|
1752
1752
|
compact: a
|
|
1753
1753
|
}) {
|
|
1754
|
-
const s = Math.ceil(
|
|
1754
|
+
const s = Math.ceil(n / 100 * 3), l = r === "offline" ? "#4a6a8a" : t.color, f = [
|
|
1755
1755
|
{ color: t.color, on: r !== "offline", label: "PWR" },
|
|
1756
1756
|
{ color: t.color, on: r === "online" || r === "warning", label: "NET" },
|
|
1757
|
-
{ color: t.color, on:
|
|
1757
|
+
{ color: t.color, on: n > 15, label: "DSK" },
|
|
1758
1758
|
{ color: r === "critical" ? "#ff2255" : t.color, on: r === "critical", label: "FLT" }
|
|
1759
1759
|
];
|
|
1760
1760
|
return /* @__PURE__ */ d(
|
|
1761
1761
|
"div",
|
|
1762
1762
|
{
|
|
1763
1763
|
style: {
|
|
1764
|
-
width:
|
|
1764
|
+
width: Q,
|
|
1765
1765
|
height: F,
|
|
1766
|
-
background: a ? we :
|
|
1766
|
+
background: a ? we : Ge,
|
|
1767
1767
|
position: "relative",
|
|
1768
1768
|
overflow: "hidden",
|
|
1769
1769
|
fontFamily: "'Courier New', monospace",
|
|
@@ -1841,10 +1841,10 @@ function Ut({
|
|
|
1841
1841
|
letterSpacing: "0.08em",
|
|
1842
1842
|
textShadow: `0 0 4px ${l}66`
|
|
1843
1843
|
},
|
|
1844
|
-
children:
|
|
1844
|
+
children: o
|
|
1845
1845
|
}
|
|
1846
1846
|
),
|
|
1847
|
-
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children:
|
|
1847
|
+
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 5 }, children: f.map((c, p) => /* @__PURE__ */ e(
|
|
1848
1848
|
"div",
|
|
1849
1849
|
{
|
|
1850
1850
|
style: {
|
|
@@ -1924,7 +1924,7 @@ function Ut({
|
|
|
1924
1924
|
}
|
|
1925
1925
|
),
|
|
1926
1926
|
Array.from({ length: 3 }, (c, p) => {
|
|
1927
|
-
const
|
|
1927
|
+
const h = p < s;
|
|
1928
1928
|
return /* @__PURE__ */ d(
|
|
1929
1929
|
"div",
|
|
1930
1930
|
{
|
|
@@ -1951,8 +1951,8 @@ function Ut({
|
|
|
1951
1951
|
height: 5,
|
|
1952
1952
|
borderRadius: "50%",
|
|
1953
1953
|
flexShrink: 0,
|
|
1954
|
-
background:
|
|
1955
|
-
boxShadow:
|
|
1954
|
+
background: h ? t.color : "#08142a",
|
|
1955
|
+
boxShadow: h ? `0 0 6px ${t.color}, 0 0 12px ${t.color}66` : "none"
|
|
1956
1956
|
}
|
|
1957
1957
|
}
|
|
1958
1958
|
),
|
|
@@ -1968,7 +1968,7 @@ function Ut({
|
|
|
1968
1968
|
position: "relative",
|
|
1969
1969
|
overflow: "hidden"
|
|
1970
1970
|
},
|
|
1971
|
-
children:
|
|
1971
|
+
children: h && /* @__PURE__ */ e(
|
|
1972
1972
|
"div",
|
|
1973
1973
|
{
|
|
1974
1974
|
style: {
|
|
@@ -1976,7 +1976,7 @@ function Ut({
|
|
|
1976
1976
|
top: 0,
|
|
1977
1977
|
left: 0,
|
|
1978
1978
|
bottom: 0,
|
|
1979
|
-
width: `${30 +
|
|
1979
|
+
width: `${30 + n / 100 * 45 + p * 8}%`,
|
|
1980
1980
|
background: `linear-gradient(90deg, ${t.color}22, transparent)`
|
|
1981
1981
|
}
|
|
1982
1982
|
}
|
|
@@ -2067,7 +2067,7 @@ function Ut({
|
|
|
2067
2067
|
}
|
|
2068
2068
|
),
|
|
2069
2069
|
/* @__PURE__ */ e("div", { style: { flex: 1, display: "flex", flexDirection: "column", gap: 4 }, children: [
|
|
2070
|
-
{ val:
|
|
2070
|
+
{ val: n, color: t.color },
|
|
2071
2071
|
{ val: i, color: t.color + "bb" }
|
|
2072
2072
|
].map((c, p) => /* @__PURE__ */ e(
|
|
2073
2073
|
"div",
|
|
@@ -2154,12 +2154,12 @@ function Ut({
|
|
|
2154
2154
|
}
|
|
2155
2155
|
);
|
|
2156
2156
|
}
|
|
2157
|
-
function
|
|
2157
|
+
function Vt() {
|
|
2158
2158
|
return /* @__PURE__ */ d(
|
|
2159
2159
|
"div",
|
|
2160
2160
|
{
|
|
2161
2161
|
style: {
|
|
2162
|
-
width:
|
|
2162
|
+
width: Q,
|
|
2163
2163
|
height: F,
|
|
2164
2164
|
background: "linear-gradient(180deg, #040c1a 0%, #030810 100%)",
|
|
2165
2165
|
position: "relative",
|
|
@@ -2268,15 +2268,15 @@ function Yt() {
|
|
|
2268
2268
|
}
|
|
2269
2269
|
);
|
|
2270
2270
|
}
|
|
2271
|
-
function
|
|
2272
|
-
const
|
|
2271
|
+
function nt({ side: t, color: o }) {
|
|
2272
|
+
const n = t === "right";
|
|
2273
2273
|
return /* @__PURE__ */ d(
|
|
2274
2274
|
"div",
|
|
2275
2275
|
{
|
|
2276
2276
|
style: {
|
|
2277
2277
|
width: Z,
|
|
2278
2278
|
height: F,
|
|
2279
|
-
background:
|
|
2279
|
+
background: n ? "linear-gradient(90deg, #040c1c 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #040c1c 100%)",
|
|
2280
2280
|
position: "relative",
|
|
2281
2281
|
overflow: "hidden"
|
|
2282
2282
|
},
|
|
@@ -2290,7 +2290,7 @@ function it({ side: t, color: n }) {
|
|
|
2290
2290
|
left: 0,
|
|
2291
2291
|
right: 0,
|
|
2292
2292
|
height: 1,
|
|
2293
|
-
background: `linear-gradient(90deg, transparent, ${
|
|
2293
|
+
background: `linear-gradient(90deg, transparent, ${o}22 50%, transparent)`
|
|
2294
2294
|
}
|
|
2295
2295
|
}
|
|
2296
2296
|
),
|
|
@@ -2300,7 +2300,7 @@ function it({ side: t, color: n }) {
|
|
|
2300
2300
|
style: {
|
|
2301
2301
|
position: "absolute",
|
|
2302
2302
|
top: i,
|
|
2303
|
-
left:
|
|
2303
|
+
left: n ? 10 : Z - 18,
|
|
2304
2304
|
width: 8,
|
|
2305
2305
|
height: 8,
|
|
2306
2306
|
borderRadius: 1,
|
|
@@ -2318,8 +2318,8 @@ function it({ side: t, color: n }) {
|
|
|
2318
2318
|
position: "absolute",
|
|
2319
2319
|
top: F * 0.35,
|
|
2320
2320
|
bottom: F * 0.15,
|
|
2321
|
-
left:
|
|
2322
|
-
right:
|
|
2321
|
+
left: n ? 22 : 18,
|
|
2322
|
+
right: n ? 18 : 22,
|
|
2323
2323
|
display: "flex",
|
|
2324
2324
|
flexDirection: "column",
|
|
2325
2325
|
gap: 5,
|
|
@@ -2346,7 +2346,7 @@ function it({ side: t, color: n }) {
|
|
|
2346
2346
|
style: {
|
|
2347
2347
|
position: "absolute",
|
|
2348
2348
|
top: F * 0.18,
|
|
2349
|
-
left:
|
|
2349
|
+
left: n ? 12 : Z - 78,
|
|
2350
2350
|
fontSize: 7,
|
|
2351
2351
|
color: "#1a3050",
|
|
2352
2352
|
letterSpacing: "0.2em",
|
|
@@ -2361,13 +2361,13 @@ function it({ side: t, color: n }) {
|
|
|
2361
2361
|
}
|
|
2362
2362
|
);
|
|
2363
2363
|
}
|
|
2364
|
-
function
|
|
2365
|
-
const
|
|
2364
|
+
function _t({ cpuLoad: t }) {
|
|
2365
|
+
const o = t / 100, n = o > 0.75 ? "rgba(255,34,85,0.16)" : o > 0.45 ? "rgba(255,140,0,0.12)" : "rgba(0,229,255,0.08)", i = Math.floor((Z - 18) / 7);
|
|
2366
2366
|
return /* @__PURE__ */ d(
|
|
2367
2367
|
"div",
|
|
2368
2368
|
{
|
|
2369
2369
|
style: {
|
|
2370
|
-
width:
|
|
2370
|
+
width: Q,
|
|
2371
2371
|
height: Z,
|
|
2372
2372
|
background: "linear-gradient(180deg, #0c1c30 0%, #070f1e 40%, #040c1a 100%)",
|
|
2373
2373
|
position: "relative",
|
|
@@ -2383,7 +2383,7 @@ function Vt({ cpuLoad: t }) {
|
|
|
2383
2383
|
left: 0,
|
|
2384
2384
|
right: 0,
|
|
2385
2385
|
height: Z * 0.4,
|
|
2386
|
-
background: `radial-gradient(ellipse at 50% 0%, ${
|
|
2386
|
+
background: `radial-gradient(ellipse at 50% 0%, ${n} 0%, transparent 70%)`
|
|
2387
2387
|
}
|
|
2388
2388
|
}
|
|
2389
2389
|
),
|
|
@@ -2443,35 +2443,35 @@ function Vt({ cpuLoad: t }) {
|
|
|
2443
2443
|
}
|
|
2444
2444
|
function ue({
|
|
2445
2445
|
rotateX: t = -22,
|
|
2446
|
-
rotateY:
|
|
2447
|
-
rotateZ:
|
|
2446
|
+
rotateY: o = 20,
|
|
2447
|
+
rotateZ: n = 0,
|
|
2448
2448
|
scale: i = 1,
|
|
2449
2449
|
autoRotate: r = !1,
|
|
2450
2450
|
status: a = "online",
|
|
2451
2451
|
name: s = "SRV-001",
|
|
2452
2452
|
cpuLoad: l = 67,
|
|
2453
|
-
memLoad:
|
|
2453
|
+
memLoad: f = 82,
|
|
2454
2454
|
_compact: c
|
|
2455
2455
|
}) {
|
|
2456
|
-
const [p,
|
|
2456
|
+
const [p, h] = A(o), g = ee(0), u = ee(0);
|
|
2457
2457
|
Ee(() => {
|
|
2458
2458
|
if (!r) {
|
|
2459
|
-
|
|
2459
|
+
h(o);
|
|
2460
2460
|
return;
|
|
2461
2461
|
}
|
|
2462
|
-
const m = (
|
|
2463
|
-
|
|
2462
|
+
const m = (x) => {
|
|
2463
|
+
u.current && h((w) => w + (x - u.current) * 0.027), u.current = x, g.current = requestAnimationFrame(m);
|
|
2464
2464
|
};
|
|
2465
|
-
return
|
|
2466
|
-
cancelAnimationFrame(
|
|
2465
|
+
return g.current = requestAnimationFrame(m), () => {
|
|
2466
|
+
cancelAnimationFrame(g.current), u.current = 0;
|
|
2467
2467
|
};
|
|
2468
|
-
}, [r,
|
|
2469
|
-
const
|
|
2468
|
+
}, [r, o]);
|
|
2469
|
+
const b = S[a] ?? S.online;
|
|
2470
2470
|
return /* @__PURE__ */ d(
|
|
2471
2471
|
"div",
|
|
2472
2472
|
{
|
|
2473
2473
|
style: {
|
|
2474
|
-
width:
|
|
2474
|
+
width: Q * i,
|
|
2475
2475
|
height: F * i,
|
|
2476
2476
|
position: "relative",
|
|
2477
2477
|
display: "flex",
|
|
@@ -2490,17 +2490,17 @@ function ue({
|
|
|
2490
2490
|
zIndex: 110,
|
|
2491
2491
|
pointerEvents: "none",
|
|
2492
2492
|
animation: "holo-led-blink 1.5s infinite",
|
|
2493
|
-
filter: `drop-shadow(0 0 10px ${
|
|
2493
|
+
filter: `drop-shadow(0 0 10px ${b.color})`
|
|
2494
2494
|
},
|
|
2495
2495
|
children: /* @__PURE__ */ d("svg", { width: "44", height: "44", viewBox: "0 0 28 28", fill: "none", children: [
|
|
2496
2496
|
/* @__PURE__ */ e(
|
|
2497
2497
|
"path",
|
|
2498
2498
|
{
|
|
2499
2499
|
d: "M14 3L1.5 25.5h25L14 3z",
|
|
2500
|
-
stroke:
|
|
2500
|
+
stroke: b.color,
|
|
2501
2501
|
strokeWidth: "2",
|
|
2502
2502
|
strokeLinejoin: "round",
|
|
2503
|
-
fill:
|
|
2503
|
+
fill: b.color + "22"
|
|
2504
2504
|
}
|
|
2505
2505
|
),
|
|
2506
2506
|
/* @__PURE__ */ e(
|
|
@@ -2510,12 +2510,12 @@ function ue({
|
|
|
2510
2510
|
y1: "11",
|
|
2511
2511
|
x2: "14",
|
|
2512
2512
|
y2: "18",
|
|
2513
|
-
stroke:
|
|
2513
|
+
stroke: b.color,
|
|
2514
2514
|
strokeWidth: "2.5",
|
|
2515
2515
|
strokeLinecap: "round"
|
|
2516
2516
|
}
|
|
2517
2517
|
),
|
|
2518
|
-
/* @__PURE__ */ e("circle", { cx: "14", cy: "21.5", r: "1.5", fill:
|
|
2518
|
+
/* @__PURE__ */ e("circle", { cx: "14", cy: "21.5", r: "1.5", fill: b.color })
|
|
2519
2519
|
] })
|
|
2520
2520
|
}
|
|
2521
2521
|
),
|
|
@@ -2524,9 +2524,9 @@ function ue({
|
|
|
2524
2524
|
{
|
|
2525
2525
|
style: {
|
|
2526
2526
|
position: "absolute",
|
|
2527
|
-
width:
|
|
2527
|
+
width: Q * 1.4 * i,
|
|
2528
2528
|
height: F * 0.8 * i,
|
|
2529
|
-
background: `radial-gradient(ellipse, ${
|
|
2529
|
+
background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
|
|
2530
2530
|
filter: `blur(${Math.round(45 * i)}px)`,
|
|
2531
2531
|
pointerEvents: "none",
|
|
2532
2532
|
top: "40%",
|
|
@@ -2548,34 +2548,34 @@ function ue({
|
|
|
2548
2548
|
"div",
|
|
2549
2549
|
{
|
|
2550
2550
|
style: {
|
|
2551
|
-
width:
|
|
2551
|
+
width: Q,
|
|
2552
2552
|
height: F,
|
|
2553
2553
|
position: "relative",
|
|
2554
2554
|
transformStyle: "preserve-3d",
|
|
2555
|
-
transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${
|
|
2555
|
+
transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${n}deg)`,
|
|
2556
2556
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
2557
2557
|
},
|
|
2558
2558
|
children: [
|
|
2559
2559
|
/* @__PURE__ */ e("div", { style: de.front, children: /* @__PURE__ */ e(
|
|
2560
|
-
|
|
2560
|
+
Yt,
|
|
2561
2561
|
{
|
|
2562
|
-
cfg:
|
|
2562
|
+
cfg: b,
|
|
2563
2563
|
name: s,
|
|
2564
2564
|
cpuLoad: l,
|
|
2565
|
-
memLoad:
|
|
2565
|
+
memLoad: f,
|
|
2566
2566
|
status: a,
|
|
2567
2567
|
compact: c
|
|
2568
2568
|
}
|
|
2569
2569
|
) }),
|
|
2570
|
-
/* @__PURE__ */ e("div", { style: de.back, children: /* @__PURE__ */ e(
|
|
2571
|
-
/* @__PURE__ */ e("div", { style: de.left, children: /* @__PURE__ */ e(
|
|
2572
|
-
/* @__PURE__ */ e("div", { style: de.right, children: /* @__PURE__ */ e(
|
|
2573
|
-
/* @__PURE__ */ e("div", { style: de.top, children: /* @__PURE__ */ e(
|
|
2570
|
+
/* @__PURE__ */ e("div", { style: de.back, children: /* @__PURE__ */ e(Vt, {}) }),
|
|
2571
|
+
/* @__PURE__ */ e("div", { style: de.left, children: /* @__PURE__ */ e(nt, { side: "left", color: b.color }) }),
|
|
2572
|
+
/* @__PURE__ */ e("div", { style: de.right, children: /* @__PURE__ */ e(nt, { side: "right", color: b.color }) }),
|
|
2573
|
+
/* @__PURE__ */ e("div", { style: de.top, children: /* @__PURE__ */ e(_t, { cpuLoad: l }) }),
|
|
2574
2574
|
/* @__PURE__ */ e("div", { style: de.bottom, children: /* @__PURE__ */ e(
|
|
2575
2575
|
"div",
|
|
2576
2576
|
{
|
|
2577
2577
|
style: {
|
|
2578
|
-
width:
|
|
2578
|
+
width: Q,
|
|
2579
2579
|
height: Z,
|
|
2580
2580
|
background: "linear-gradient(180deg, #030710, #020508)"
|
|
2581
2581
|
}
|
|
@@ -2590,21 +2590,21 @@ function ue({
|
|
|
2590
2590
|
}
|
|
2591
2591
|
);
|
|
2592
2592
|
}
|
|
2593
|
-
const
|
|
2594
|
-
function
|
|
2593
|
+
const je = 12, re = 55, _ = re * 2, he = 52, Ze = 10, Fe = 3 * he + 2 * Ze, ce = 2 * Math.PI * re / je, He = Array.from({ length: je }, (t, o) => o / je * 360);
|
|
2594
|
+
function Ye(t) {
|
|
2595
2595
|
return Math.cos(t * Math.PI / 180) * 0.42 + 0.58;
|
|
2596
2596
|
}
|
|
2597
|
-
function
|
|
2597
|
+
function jt({
|
|
2598
2598
|
diskY: t,
|
|
2599
|
-
diskIdx:
|
|
2600
|
-
cfg:
|
|
2599
|
+
diskIdx: o,
|
|
2600
|
+
cfg: n,
|
|
2601
2601
|
hasRingBelow: i,
|
|
2602
2602
|
capacity: r,
|
|
2603
2603
|
compact: a
|
|
2604
2604
|
}) {
|
|
2605
2605
|
return /* @__PURE__ */ d(Ce, { children: [
|
|
2606
|
-
|
|
2607
|
-
const
|
|
2606
|
+
He.map((s, l) => {
|
|
2607
|
+
const f = Ye(s), c = l === 0, p = Math.round(4 + f * 9), h = Math.round(12 + f * 22), g = Math.round(28 + f * 44), u = Math.round(f * 0.55 * 255).toString(16).padStart(2, "0");
|
|
2608
2608
|
return /* @__PURE__ */ e(
|
|
2609
2609
|
"div",
|
|
2610
2610
|
{
|
|
@@ -2616,9 +2616,9 @@ function _t({
|
|
|
2616
2616
|
top: t,
|
|
2617
2617
|
transform: `rotateY(${s}deg) translateZ(${re}px)`,
|
|
2618
2618
|
backfaceVisibility: "hidden",
|
|
2619
|
-
background: c ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${
|
|
2620
|
-
borderLeft: `1px solid ${
|
|
2621
|
-
boxShadow: c ? `inset 0 0 18px ${
|
|
2619
|
+
background: c ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${h},${g})`,
|
|
2620
|
+
borderLeft: `1px solid ${n.color}${u}`,
|
|
2621
|
+
boxShadow: c ? `inset 0 0 18px ${n.color}28` : "none"
|
|
2622
2622
|
},
|
|
2623
2623
|
children: c && /* @__PURE__ */ d(Ce, { children: [
|
|
2624
2624
|
/* @__PURE__ */ e(
|
|
@@ -2632,12 +2632,12 @@ function _t({
|
|
|
2632
2632
|
width: 5,
|
|
2633
2633
|
height: 5,
|
|
2634
2634
|
borderRadius: "50%",
|
|
2635
|
-
background:
|
|
2636
|
-
boxShadow: `0 0 8px ${
|
|
2635
|
+
background: n.color,
|
|
2636
|
+
boxShadow: `0 0 8px ${n.color}, 0 0 16px ${n.glow}`
|
|
2637
2637
|
}
|
|
2638
2638
|
}
|
|
2639
2639
|
),
|
|
2640
|
-
|
|
2640
|
+
o === 1 && /* @__PURE__ */ e(
|
|
2641
2641
|
"div",
|
|
2642
2642
|
{
|
|
2643
2643
|
style: {
|
|
@@ -2656,7 +2656,7 @@ function _t({
|
|
|
2656
2656
|
style: {
|
|
2657
2657
|
width: `${r}%`,
|
|
2658
2658
|
height: "100%",
|
|
2659
|
-
background: `linear-gradient(90deg, ${
|
|
2659
|
+
background: `linear-gradient(90deg, ${n.color}77, ${n.color})`,
|
|
2660
2660
|
borderRadius: 2
|
|
2661
2661
|
}
|
|
2662
2662
|
}
|
|
@@ -2665,7 +2665,7 @@ function _t({
|
|
|
2665
2665
|
)
|
|
2666
2666
|
] })
|
|
2667
2667
|
},
|
|
2668
|
-
`p${
|
|
2668
|
+
`p${o}${l}`
|
|
2669
2669
|
);
|
|
2670
2670
|
}),
|
|
2671
2671
|
/* @__PURE__ */ d(
|
|
@@ -2680,17 +2680,17 @@ function _t({
|
|
|
2680
2680
|
borderRadius: "50%",
|
|
2681
2681
|
transform: "rotateX(90deg)",
|
|
2682
2682
|
backfaceVisibility: "hidden",
|
|
2683
|
-
background:
|
|
2684
|
-
${
|
|
2685
|
-
${
|
|
2683
|
+
background: o === 0 ? a ? `radial-gradient(circle,
|
|
2684
|
+
${n.color}28 0%,
|
|
2685
|
+
${n.color}10 40%,
|
|
2686
2686
|
rgb(3,10,24) 75%,
|
|
2687
2687
|
rgb(2,8,18) 100%)` : `radial-gradient(circle,
|
|
2688
|
-
${
|
|
2689
|
-
${
|
|
2688
|
+
${n.color}28 0%,
|
|
2689
|
+
${n.color}10 40%,
|
|
2690
2690
|
rgba(3,10,24,0.96) 75%,
|
|
2691
2691
|
transparent 100%)` : a ? "radial-gradient(circle, rgb(5,16,36), rgb(2,8,20))" : "radial-gradient(circle, rgba(5,16,36,0.96), rgba(2,8,20,0.99))",
|
|
2692
|
-
border: `1px solid ${
|
|
2693
|
-
boxShadow:
|
|
2692
|
+
border: `1px solid ${n.color}${o === 0 ? "55" : "2a"}`,
|
|
2693
|
+
boxShadow: o === 0 ? `0 0 20px ${n.color}44` : "none"
|
|
2694
2694
|
},
|
|
2695
2695
|
children: [
|
|
2696
2696
|
[0.62, 0.38, 0.18].map((s, l) => /* @__PURE__ */ e(
|
|
@@ -2704,8 +2704,8 @@ function _t({
|
|
|
2704
2704
|
width: `${s * 100}%`,
|
|
2705
2705
|
height: `${s * 100}%`,
|
|
2706
2706
|
borderRadius: "50%",
|
|
2707
|
-
border: `1px solid ${
|
|
2708
|
-
boxShadow: l === 2 ? `0 0 6px ${
|
|
2707
|
+
border: `1px solid ${n.color}${["33", "2a", "44"][l]}`,
|
|
2708
|
+
boxShadow: l === 2 ? `0 0 6px ${n.color}66` : "none"
|
|
2709
2709
|
}
|
|
2710
2710
|
},
|
|
2711
2711
|
l
|
|
@@ -2721,8 +2721,8 @@ function _t({
|
|
|
2721
2721
|
width: 8,
|
|
2722
2722
|
height: 8,
|
|
2723
2723
|
borderRadius: "50%",
|
|
2724
|
-
background:
|
|
2725
|
-
boxShadow: `0 0 8px ${
|
|
2724
|
+
background: n.color + "33",
|
|
2725
|
+
boxShadow: `0 0 8px ${n.color}`
|
|
2726
2726
|
}
|
|
2727
2727
|
}
|
|
2728
2728
|
)
|
|
@@ -2742,7 +2742,7 @@ function _t({
|
|
|
2742
2742
|
transform: "rotateX(-90deg)",
|
|
2743
2743
|
backfaceVisibility: "hidden",
|
|
2744
2744
|
background: a ? "radial-gradient(circle, rgb(4,14,30), rgb(2,7,16))" : "radial-gradient(circle, rgba(4,14,30,0.97), rgba(2,7,16,0.99))",
|
|
2745
|
-
border: `1px solid ${
|
|
2745
|
+
border: `1px solid ${n.color}22`
|
|
2746
2746
|
},
|
|
2747
2747
|
children: /* @__PURE__ */ e(
|
|
2748
2748
|
"div",
|
|
@@ -2755,14 +2755,14 @@ function _t({
|
|
|
2755
2755
|
width: "55%",
|
|
2756
2756
|
height: "55%",
|
|
2757
2757
|
borderRadius: "50%",
|
|
2758
|
-
border: `1px solid ${
|
|
2758
|
+
border: `1px solid ${n.color}18`
|
|
2759
2759
|
}
|
|
2760
2760
|
}
|
|
2761
2761
|
)
|
|
2762
2762
|
}
|
|
2763
2763
|
),
|
|
2764
|
-
i &&
|
|
2765
|
-
const
|
|
2764
|
+
i && He.map((s, l) => {
|
|
2765
|
+
const f = Ye(s);
|
|
2766
2766
|
return /* @__PURE__ */ e(
|
|
2767
2767
|
"div",
|
|
2768
2768
|
{
|
|
@@ -2774,39 +2774,39 @@ function _t({
|
|
|
2774
2774
|
top: t + he - 3,
|
|
2775
2775
|
transform: `rotateY(${s}deg) translateZ(${re + 1.5}px)`,
|
|
2776
2776
|
backfaceVisibility: "hidden",
|
|
2777
|
-
background:
|
|
2778
|
-
boxShadow: `0 0 8px ${
|
|
2779
|
-
opacity:
|
|
2777
|
+
background: n.color,
|
|
2778
|
+
boxShadow: `0 0 8px ${n.color}, 0 0 18px ${n.color}aa, 0 0 30px ${n.glow}`,
|
|
2779
|
+
opacity: f * 0.9
|
|
2780
2780
|
}
|
|
2781
2781
|
},
|
|
2782
|
-
`rng${
|
|
2782
|
+
`rng${o}${l}`
|
|
2783
2783
|
);
|
|
2784
2784
|
}),
|
|
2785
|
-
i &&
|
|
2786
|
-
const
|
|
2785
|
+
i && He.map((s, l) => {
|
|
2786
|
+
const f = Ye(s), c = Math.round(2 + f * 4), p = Math.round(5 + f * 10), h = Math.round(12 + f * 20);
|
|
2787
2787
|
return /* @__PURE__ */ e(
|
|
2788
2788
|
"div",
|
|
2789
2789
|
{
|
|
2790
2790
|
style: {
|
|
2791
2791
|
position: "absolute",
|
|
2792
2792
|
width: ce,
|
|
2793
|
-
height:
|
|
2793
|
+
height: Ze,
|
|
2794
2794
|
left: (_ - ce) / 2,
|
|
2795
2795
|
top: t + he,
|
|
2796
2796
|
transform: `rotateY(${s}deg) translateZ(${re}px)`,
|
|
2797
2797
|
backfaceVisibility: "hidden",
|
|
2798
|
-
background: `rgb(${c},${p},${
|
|
2798
|
+
background: `rgb(${c},${p},${h})`
|
|
2799
2799
|
}
|
|
2800
2800
|
},
|
|
2801
|
-
`gap${
|
|
2801
|
+
`gap${o}${l}`
|
|
2802
2802
|
);
|
|
2803
2803
|
})
|
|
2804
2804
|
] });
|
|
2805
2805
|
}
|
|
2806
|
-
function
|
|
2806
|
+
function Ie({
|
|
2807
2807
|
rotateX: t = -22,
|
|
2808
|
-
rotateY:
|
|
2809
|
-
rotateZ:
|
|
2808
|
+
rotateY: o = -15,
|
|
2809
|
+
rotateZ: n = 0,
|
|
2810
2810
|
scale: i = 1,
|
|
2811
2811
|
autoRotate: r = !1,
|
|
2812
2812
|
status: a = "online",
|
|
@@ -2815,26 +2815,26 @@ function Le({
|
|
|
2815
2815
|
// connections = 284,
|
|
2816
2816
|
_compact: l
|
|
2817
2817
|
}) {
|
|
2818
|
-
const [
|
|
2818
|
+
const [f, c] = A(o), p = ee(0), h = ee(0);
|
|
2819
2819
|
Ee(() => {
|
|
2820
2820
|
if (!r) {
|
|
2821
|
-
c(
|
|
2821
|
+
c(o);
|
|
2822
2822
|
return;
|
|
2823
2823
|
}
|
|
2824
|
-
const
|
|
2825
|
-
|
|
2824
|
+
const u = (b) => {
|
|
2825
|
+
h.current && c((m) => m + (b - h.current) * 0.027), h.current = b, p.current = requestAnimationFrame(u);
|
|
2826
2826
|
};
|
|
2827
|
-
return p.current = requestAnimationFrame(
|
|
2828
|
-
cancelAnimationFrame(p.current),
|
|
2827
|
+
return p.current = requestAnimationFrame(u), () => {
|
|
2828
|
+
cancelAnimationFrame(p.current), h.current = 0;
|
|
2829
2829
|
};
|
|
2830
|
-
}, [r,
|
|
2831
|
-
const
|
|
2830
|
+
}, [r, o]);
|
|
2831
|
+
const g = S[a] ?? S.online;
|
|
2832
2832
|
return /* @__PURE__ */ d(
|
|
2833
2833
|
"div",
|
|
2834
2834
|
{
|
|
2835
2835
|
style: {
|
|
2836
2836
|
width: _ * i,
|
|
2837
|
-
height:
|
|
2837
|
+
height: Fe * i,
|
|
2838
2838
|
position: "relative",
|
|
2839
2839
|
display: "flex",
|
|
2840
2840
|
alignItems: "center",
|
|
@@ -2895,8 +2895,8 @@ function Le({
|
|
|
2895
2895
|
style: {
|
|
2896
2896
|
position: "absolute",
|
|
2897
2897
|
width: _ * 2.8 * i,
|
|
2898
|
-
height:
|
|
2899
|
-
background: `radial-gradient(ellipse, ${
|
|
2898
|
+
height: Fe * 0.85 * i,
|
|
2899
|
+
background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
|
|
2900
2900
|
filter: `blur(${Math.round(50 * i)}px)`,
|
|
2901
2901
|
pointerEvents: "none",
|
|
2902
2902
|
top: "45%",
|
|
@@ -2919,23 +2919,23 @@ function Le({
|
|
|
2919
2919
|
{
|
|
2920
2920
|
style: {
|
|
2921
2921
|
width: _,
|
|
2922
|
-
height:
|
|
2922
|
+
height: Fe,
|
|
2923
2923
|
position: "relative",
|
|
2924
2924
|
transformStyle: "preserve-3d",
|
|
2925
|
-
transform: `rotateX(${t}deg) rotateY(${
|
|
2925
|
+
transform: `rotateX(${t}deg) rotateY(${f}deg) rotateZ(${n}deg)`,
|
|
2926
2926
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
2927
2927
|
},
|
|
2928
|
-
children: [0, 1, 2].map((
|
|
2929
|
-
|
|
2928
|
+
children: [0, 1, 2].map((u) => /* @__PURE__ */ e(
|
|
2929
|
+
jt,
|
|
2930
2930
|
{
|
|
2931
|
-
diskY:
|
|
2932
|
-
diskIdx:
|
|
2933
|
-
cfg:
|
|
2934
|
-
hasRingBelow:
|
|
2931
|
+
diskY: u * (he + Ze),
|
|
2932
|
+
diskIdx: u,
|
|
2933
|
+
cfg: g,
|
|
2934
|
+
hasRingBelow: u < 2,
|
|
2935
2935
|
capacity: s,
|
|
2936
2936
|
compact: l
|
|
2937
2937
|
},
|
|
2938
|
-
|
|
2938
|
+
u
|
|
2939
2939
|
))
|
|
2940
2940
|
}
|
|
2941
2941
|
)
|
|
@@ -2945,22 +2945,22 @@ function Le({
|
|
|
2945
2945
|
}
|
|
2946
2946
|
);
|
|
2947
2947
|
}
|
|
2948
|
-
const
|
|
2949
|
-
function
|
|
2948
|
+
const q = 190, H = 72, ge = 120, pe = Qe(q, H, ge);
|
|
2949
|
+
function Xt({
|
|
2950
2950
|
cfg: t,
|
|
2951
|
-
name:
|
|
2952
|
-
traffic:
|
|
2951
|
+
name: o,
|
|
2952
|
+
traffic: n,
|
|
2953
2953
|
activeRoutes: i,
|
|
2954
2954
|
compact: r
|
|
2955
2955
|
}) {
|
|
2956
|
-
const a = Math.ceil(
|
|
2956
|
+
const a = Math.ceil(n / 100 * 8), s = Array(8).fill(t.color);
|
|
2957
2957
|
return /* @__PURE__ */ d(
|
|
2958
2958
|
"div",
|
|
2959
2959
|
{
|
|
2960
2960
|
style: {
|
|
2961
|
-
width:
|
|
2961
|
+
width: q,
|
|
2962
2962
|
height: H,
|
|
2963
|
-
background: r ? we :
|
|
2963
|
+
background: r ? we : Ge,
|
|
2964
2964
|
position: "relative",
|
|
2965
2965
|
overflow: "hidden",
|
|
2966
2966
|
fontFamily: "'Courier New', monospace",
|
|
@@ -3011,7 +3011,7 @@ function jt({
|
|
|
3011
3011
|
}
|
|
3012
3012
|
}
|
|
3013
3013
|
),
|
|
3014
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 7.5, color: t.color + "cc", letterSpacing: "0.1em" }, children:
|
|
3014
|
+
/* @__PURE__ */ e("span", { style: { fontSize: 7.5, color: t.color + "cc", letterSpacing: "0.1em" }, children: o }),
|
|
3015
3015
|
/* @__PURE__ */ e("div", { style: { flex: 1 } }),
|
|
3016
3016
|
/* @__PURE__ */ e(
|
|
3017
3017
|
"div",
|
|
@@ -3045,8 +3045,8 @@ function jt({
|
|
|
3045
3045
|
gap: 10
|
|
3046
3046
|
},
|
|
3047
3047
|
children: [
|
|
3048
|
-
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 8 }, (l,
|
|
3049
|
-
const c =
|
|
3048
|
+
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 8 }, (l, f) => {
|
|
3049
|
+
const c = f < a, p = s[f];
|
|
3050
3050
|
return /* @__PURE__ */ d(
|
|
3051
3051
|
"div",
|
|
3052
3052
|
{
|
|
@@ -3098,13 +3098,13 @@ function jt({
|
|
|
3098
3098
|
background: c ? t.color : "#0a1830",
|
|
3099
3099
|
boxShadow: c ? `0 0 5px ${t.color}` : "none",
|
|
3100
3100
|
animation: c ? "holo-led-blink 1.8s linear infinite" : "none",
|
|
3101
|
-
animationDelay: `${
|
|
3101
|
+
animationDelay: `${f * 0.2}s`
|
|
3102
3102
|
}
|
|
3103
3103
|
}
|
|
3104
3104
|
)
|
|
3105
3105
|
]
|
|
3106
3106
|
},
|
|
3107
|
-
|
|
3107
|
+
f
|
|
3108
3108
|
);
|
|
3109
3109
|
}) }),
|
|
3110
3110
|
/* @__PURE__ */ e(
|
|
@@ -3122,7 +3122,7 @@ function jt({
|
|
|
3122
3122
|
/* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
|
|
3123
3123
|
/* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "TRAFFIC" }),
|
|
3124
3124
|
/* @__PURE__ */ d("span", { style: { fontSize: 6, color: t.color }, children: [
|
|
3125
|
-
|
|
3125
|
+
n,
|
|
3126
3126
|
"%"
|
|
3127
3127
|
] })
|
|
3128
3128
|
] }),
|
|
@@ -3140,7 +3140,7 @@ function jt({
|
|
|
3140
3140
|
"div",
|
|
3141
3141
|
{
|
|
3142
3142
|
style: {
|
|
3143
|
-
width: `${
|
|
3143
|
+
width: `${n}%`,
|
|
3144
3144
|
height: "100%",
|
|
3145
3145
|
background: `linear-gradient(90deg, ${t.color}44, ${t.color})`,
|
|
3146
3146
|
borderRadius: 2,
|
|
@@ -3178,8 +3178,8 @@ function jt({
|
|
|
3178
3178
|
gap: 12
|
|
3179
3179
|
},
|
|
3180
3180
|
children: [
|
|
3181
|
-
{ label: "HTTP", val: Math.round(
|
|
3182
|
-
{ label: "HTTPS", val: Math.round(
|
|
3181
|
+
{ label: "HTTP", val: Math.round(n * 12.4), unit: "req/s" },
|
|
3182
|
+
{ label: "HTTPS", val: Math.round(n * 8.6), unit: "req/s" },
|
|
3183
3183
|
{ label: "WS", val: Math.round(i * 3), unit: "conn" }
|
|
3184
3184
|
].map((l) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
|
|
3185
3185
|
/* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: l.label }),
|
|
@@ -3208,12 +3208,12 @@ function jt({
|
|
|
3208
3208
|
}
|
|
3209
3209
|
);
|
|
3210
3210
|
}
|
|
3211
|
-
function
|
|
3211
|
+
function Gt() {
|
|
3212
3212
|
return /* @__PURE__ */ d(
|
|
3213
3213
|
"div",
|
|
3214
3214
|
{
|
|
3215
3215
|
style: {
|
|
3216
|
-
width:
|
|
3216
|
+
width: q,
|
|
3217
3217
|
height: H,
|
|
3218
3218
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
3219
3219
|
position: "relative",
|
|
@@ -3296,12 +3296,12 @@ function Xt() {
|
|
|
3296
3296
|
}
|
|
3297
3297
|
);
|
|
3298
3298
|
}
|
|
3299
|
-
function
|
|
3299
|
+
function rt({ side: t, color: o }) {
|
|
3300
3300
|
return /* @__PURE__ */ d(
|
|
3301
3301
|
"div",
|
|
3302
3302
|
{
|
|
3303
3303
|
style: {
|
|
3304
|
-
width:
|
|
3304
|
+
width: ge,
|
|
3305
3305
|
height: H,
|
|
3306
3306
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
3307
3307
|
position: "relative",
|
|
@@ -3317,7 +3317,7 @@ function nt({ side: t, color: n }) {
|
|
|
3317
3317
|
left: 0,
|
|
3318
3318
|
right: 0,
|
|
3319
3319
|
height: 1,
|
|
3320
|
-
background: `linear-gradient(90deg, transparent, ${
|
|
3320
|
+
background: `linear-gradient(90deg, transparent, ${o}22 50%, transparent)`
|
|
3321
3321
|
}
|
|
3322
3322
|
}
|
|
3323
3323
|
),
|
|
@@ -3354,13 +3354,13 @@ function nt({ side: t, color: n }) {
|
|
|
3354
3354
|
);
|
|
3355
3355
|
}
|
|
3356
3356
|
function Qt({ traffic: t }) {
|
|
3357
|
-
const
|
|
3357
|
+
const o = Math.floor((ge - 14) / 7);
|
|
3358
3358
|
return /* @__PURE__ */ d(
|
|
3359
3359
|
"div",
|
|
3360
3360
|
{
|
|
3361
3361
|
style: {
|
|
3362
|
-
width:
|
|
3363
|
-
height:
|
|
3362
|
+
width: q,
|
|
3363
|
+
height: ge,
|
|
3364
3364
|
background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
|
|
3365
3365
|
position: "relative",
|
|
3366
3366
|
overflow: "hidden"
|
|
@@ -3374,7 +3374,7 @@ function Qt({ traffic: t }) {
|
|
|
3374
3374
|
top: 0,
|
|
3375
3375
|
left: 0,
|
|
3376
3376
|
right: 0,
|
|
3377
|
-
height:
|
|
3377
|
+
height: ge * 0.35,
|
|
3378
3378
|
background: `radial-gradient(ellipse at 50% 0%,
|
|
3379
3379
|
${t > 70 ? "rgba(255,34,85,0.14)" : "rgba(0,229,255,0.08)"} 0%,
|
|
3380
3380
|
transparent 70%)`
|
|
@@ -3394,7 +3394,7 @@ function Qt({ traffic: t }) {
|
|
|
3394
3394
|
flexDirection: "column",
|
|
3395
3395
|
gap: 4
|
|
3396
3396
|
},
|
|
3397
|
-
children: Array.from({ length:
|
|
3397
|
+
children: Array.from({ length: o }).map((n, i) => /* @__PURE__ */ e(
|
|
3398
3398
|
"div",
|
|
3399
3399
|
{
|
|
3400
3400
|
style: {
|
|
@@ -3412,37 +3412,37 @@ function Qt({ traffic: t }) {
|
|
|
3412
3412
|
}
|
|
3413
3413
|
);
|
|
3414
3414
|
}
|
|
3415
|
-
function
|
|
3415
|
+
function pt({
|
|
3416
3416
|
rotateX: t = -20,
|
|
3417
|
-
rotateY:
|
|
3418
|
-
rotateZ:
|
|
3417
|
+
rotateY: o = 20,
|
|
3418
|
+
rotateZ: n = 0,
|
|
3419
3419
|
scale: i = 1,
|
|
3420
3420
|
autoRotate: r = !1,
|
|
3421
3421
|
status: a = "online",
|
|
3422
3422
|
name: s = "WEB-DISP-01",
|
|
3423
3423
|
traffic: l = 78,
|
|
3424
|
-
activeRoutes:
|
|
3424
|
+
activeRoutes: f = 12,
|
|
3425
3425
|
_compact: c
|
|
3426
3426
|
}) {
|
|
3427
|
-
const [p,
|
|
3427
|
+
const [p, h] = A(o), g = ee(0), u = ee(0);
|
|
3428
3428
|
Ee(() => {
|
|
3429
3429
|
if (!r) {
|
|
3430
|
-
|
|
3430
|
+
h(o);
|
|
3431
3431
|
return;
|
|
3432
3432
|
}
|
|
3433
|
-
const m = (
|
|
3434
|
-
|
|
3433
|
+
const m = (x) => {
|
|
3434
|
+
u.current && h((w) => w + (x - u.current) * 0.027), u.current = x, g.current = requestAnimationFrame(m);
|
|
3435
3435
|
};
|
|
3436
|
-
return
|
|
3437
|
-
cancelAnimationFrame(
|
|
3436
|
+
return g.current = requestAnimationFrame(m), () => {
|
|
3437
|
+
cancelAnimationFrame(g.current), u.current = 0;
|
|
3438
3438
|
};
|
|
3439
|
-
}, [r,
|
|
3440
|
-
const
|
|
3439
|
+
}, [r, o]);
|
|
3440
|
+
const b = S[a] ?? S.online;
|
|
3441
3441
|
return /* @__PURE__ */ d(
|
|
3442
3442
|
"div",
|
|
3443
3443
|
{
|
|
3444
3444
|
style: {
|
|
3445
|
-
width:
|
|
3445
|
+
width: q * i,
|
|
3446
3446
|
height: H * i,
|
|
3447
3447
|
position: "relative",
|
|
3448
3448
|
display: "flex",
|
|
@@ -3503,9 +3503,9 @@ function dt({
|
|
|
3503
3503
|
{
|
|
3504
3504
|
style: {
|
|
3505
3505
|
position: "absolute",
|
|
3506
|
-
width:
|
|
3506
|
+
width: q * 1.3 * i,
|
|
3507
3507
|
height: H * 2 * i,
|
|
3508
|
-
background: `radial-gradient(ellipse, ${
|
|
3508
|
+
background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
|
|
3509
3509
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
3510
3510
|
pointerEvents: "none",
|
|
3511
3511
|
top: "40%",
|
|
@@ -3527,29 +3527,29 @@ function dt({
|
|
|
3527
3527
|
"div",
|
|
3528
3528
|
{
|
|
3529
3529
|
style: {
|
|
3530
|
-
width:
|
|
3530
|
+
width: q,
|
|
3531
3531
|
height: H,
|
|
3532
3532
|
position: "relative",
|
|
3533
3533
|
transformStyle: "preserve-3d",
|
|
3534
|
-
transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${
|
|
3534
|
+
transform: `rotateX(${t}deg) rotateY(${p}deg) rotateZ(${n}deg)`,
|
|
3535
3535
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
3536
3536
|
},
|
|
3537
3537
|
children: [
|
|
3538
3538
|
/* @__PURE__ */ e("div", { style: pe.front, children: /* @__PURE__ */ e(
|
|
3539
|
-
|
|
3539
|
+
Xt,
|
|
3540
3540
|
{
|
|
3541
|
-
cfg:
|
|
3541
|
+
cfg: b,
|
|
3542
3542
|
name: s,
|
|
3543
3543
|
traffic: l,
|
|
3544
|
-
activeRoutes:
|
|
3544
|
+
activeRoutes: f,
|
|
3545
3545
|
compact: c
|
|
3546
3546
|
}
|
|
3547
3547
|
) }),
|
|
3548
|
-
/* @__PURE__ */ e("div", { style: pe.back, children: /* @__PURE__ */ e(
|
|
3549
|
-
/* @__PURE__ */ e("div", { style: pe.left, children: /* @__PURE__ */ e(
|
|
3550
|
-
/* @__PURE__ */ e("div", { style: pe.right, children: /* @__PURE__ */ e(
|
|
3548
|
+
/* @__PURE__ */ e("div", { style: pe.back, children: /* @__PURE__ */ e(Gt, {}) }),
|
|
3549
|
+
/* @__PURE__ */ e("div", { style: pe.left, children: /* @__PURE__ */ e(rt, { side: "left", color: b.color }) }),
|
|
3550
|
+
/* @__PURE__ */ e("div", { style: pe.right, children: /* @__PURE__ */ e(rt, { side: "right", color: b.color }) }),
|
|
3551
3551
|
/* @__PURE__ */ e("div", { style: pe.top, children: /* @__PURE__ */ e(Qt, { traffic: l }) }),
|
|
3552
|
-
/* @__PURE__ */ e("div", { style: pe.bottom, children: /* @__PURE__ */ e("div", { style: { width:
|
|
3552
|
+
/* @__PURE__ */ e("div", { style: pe.bottom, children: /* @__PURE__ */ e("div", { style: { width: q, height: ge, background: "#020508" } }) })
|
|
3553
3553
|
]
|
|
3554
3554
|
}
|
|
3555
3555
|
)
|
|
@@ -3559,7 +3559,7 @@ function dt({
|
|
|
3559
3559
|
}
|
|
3560
3560
|
);
|
|
3561
3561
|
}
|
|
3562
|
-
const K = 190,
|
|
3562
|
+
const K = 190, Y = 72, be = 120, fe = Qe(K, Y, be), at = {
|
|
3563
3563
|
online: { color: "#bb55ff", glow: "rgba(187,85,255,0.50)" },
|
|
3564
3564
|
warning: { color: "#ff8c00", glow: "rgba(255,140,0,0.50)" },
|
|
3565
3565
|
critical: { color: "#ff2255", glow: "rgba(255,34,85,0.50)" },
|
|
@@ -3567,8 +3567,8 @@ const K = 190, U = 72, ge = 120, fe = Xe(K, U, ge), ot = {
|
|
|
3567
3567
|
};
|
|
3568
3568
|
function qt({
|
|
3569
3569
|
cfg: t,
|
|
3570
|
-
name:
|
|
3571
|
-
queueDepth:
|
|
3570
|
+
name: o,
|
|
3571
|
+
queueDepth: n,
|
|
3572
3572
|
msgsPerSec: i,
|
|
3573
3573
|
instances: r,
|
|
3574
3574
|
compact: a
|
|
@@ -3579,8 +3579,8 @@ function qt({
|
|
|
3579
3579
|
{
|
|
3580
3580
|
style: {
|
|
3581
3581
|
width: K,
|
|
3582
|
-
height:
|
|
3583
|
-
background: a ? we :
|
|
3582
|
+
height: Y,
|
|
3583
|
+
background: a ? we : Ge,
|
|
3584
3584
|
position: "relative",
|
|
3585
3585
|
overflow: "hidden",
|
|
3586
3586
|
fontFamily: "'Courier New', monospace",
|
|
@@ -3631,7 +3631,7 @@ function qt({
|
|
|
3631
3631
|
}
|
|
3632
3632
|
}
|
|
3633
3633
|
),
|
|
3634
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 7.5, color: s + "cc", letterSpacing: "0.1em" }, children:
|
|
3634
|
+
/* @__PURE__ */ e("span", { style: { fontSize: 7.5, color: s + "cc", letterSpacing: "0.1em" }, children: o }),
|
|
3635
3635
|
/* @__PURE__ */ e("div", { style: { flex: 1 } }),
|
|
3636
3636
|
/* @__PURE__ */ e(
|
|
3637
3637
|
"div",
|
|
@@ -3665,7 +3665,7 @@ function qt({
|
|
|
3665
3665
|
gap: 10
|
|
3666
3666
|
},
|
|
3667
3667
|
children: [
|
|
3668
|
-
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 5 }, (
|
|
3668
|
+
/* @__PURE__ */ e("div", { style: { display: "flex", gap: 3, alignItems: "center" }, children: Array.from({ length: 5 }, (f, c) => {
|
|
3669
3669
|
const p = c < r;
|
|
3670
3670
|
return /* @__PURE__ */ d(
|
|
3671
3671
|
"div",
|
|
@@ -3741,7 +3741,7 @@ function qt({
|
|
|
3741
3741
|
/* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "space-between", marginBottom: 2 }, children: [
|
|
3742
3742
|
/* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#2a5070", letterSpacing: "0.1em" }, children: "QUEUE" }),
|
|
3743
3743
|
/* @__PURE__ */ d("span", { style: { fontSize: 6, color: s }, children: [
|
|
3744
|
-
|
|
3744
|
+
n,
|
|
3745
3745
|
"%"
|
|
3746
3746
|
] })
|
|
3747
3747
|
] }),
|
|
@@ -3759,7 +3759,7 @@ function qt({
|
|
|
3759
3759
|
"div",
|
|
3760
3760
|
{
|
|
3761
3761
|
style: {
|
|
3762
|
-
width: `${
|
|
3762
|
+
width: `${n}%`,
|
|
3763
3763
|
height: "100%",
|
|
3764
3764
|
background: `linear-gradient(90deg, ${s}44, ${s})`,
|
|
3765
3765
|
borderRadius: 2,
|
|
@@ -3795,16 +3795,16 @@ function qt({
|
|
|
3795
3795
|
},
|
|
3796
3796
|
children: [
|
|
3797
3797
|
{ label: "INST", val: r, unit: "conn" },
|
|
3798
|
-
{ label: "ENQUEUE", val: Math.round(
|
|
3798
|
+
{ label: "ENQUEUE", val: Math.round(n * 2.4), unit: "msgs" },
|
|
3799
3799
|
{ label: "DISP", val: Math.round(i * 0.1), unit: "/s" }
|
|
3800
|
-
].map((
|
|
3801
|
-
/* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children:
|
|
3800
|
+
].map((f) => /* @__PURE__ */ d("div", { style: { display: "flex", gap: 3 }, children: [
|
|
3801
|
+
/* @__PURE__ */ e("span", { style: { fontSize: 6, color: "#1e3a5a", letterSpacing: "0.08em" }, children: f.label }),
|
|
3802
3802
|
/* @__PURE__ */ d("span", { style: { fontSize: 6, color: s + "88" }, children: [
|
|
3803
|
-
|
|
3803
|
+
f.val,
|
|
3804
3804
|
" ",
|
|
3805
|
-
|
|
3805
|
+
f.unit
|
|
3806
3806
|
] })
|
|
3807
|
-
] },
|
|
3807
|
+
] }, f.label))
|
|
3808
3808
|
}
|
|
3809
3809
|
),
|
|
3810
3810
|
/* @__PURE__ */ e(
|
|
@@ -3824,13 +3824,13 @@ function qt({
|
|
|
3824
3824
|
}
|
|
3825
3825
|
);
|
|
3826
3826
|
}
|
|
3827
|
-
function
|
|
3827
|
+
function Kt() {
|
|
3828
3828
|
return /* @__PURE__ */ d(
|
|
3829
3829
|
"div",
|
|
3830
3830
|
{
|
|
3831
3831
|
style: {
|
|
3832
3832
|
width: K,
|
|
3833
|
-
height:
|
|
3833
|
+
height: Y,
|
|
3834
3834
|
background: "linear-gradient(180deg, #040c1a, #030810)",
|
|
3835
3835
|
position: "relative",
|
|
3836
3836
|
overflow: "hidden",
|
|
@@ -3845,7 +3845,7 @@ function Gt() {
|
|
|
3845
3845
|
{
|
|
3846
3846
|
style: {
|
|
3847
3847
|
width: 40,
|
|
3848
|
-
height:
|
|
3848
|
+
height: Y - 16,
|
|
3849
3849
|
background: "#020710",
|
|
3850
3850
|
border: "1px solid #1a2d40",
|
|
3851
3851
|
borderRadius: 2,
|
|
@@ -3901,7 +3901,7 @@ function Gt() {
|
|
|
3901
3901
|
style: {
|
|
3902
3902
|
marginLeft: "auto",
|
|
3903
3903
|
width: 12,
|
|
3904
|
-
height:
|
|
3904
|
+
height: Y - 16,
|
|
3905
3905
|
background: "#020710",
|
|
3906
3906
|
border: "1px solid #1a3050",
|
|
3907
3907
|
borderRadius: 1
|
|
@@ -3912,13 +3912,13 @@ function Gt() {
|
|
|
3912
3912
|
}
|
|
3913
3913
|
);
|
|
3914
3914
|
}
|
|
3915
|
-
function
|
|
3915
|
+
function lt({ side: t, color: o }) {
|
|
3916
3916
|
return /* @__PURE__ */ d(
|
|
3917
3917
|
"div",
|
|
3918
3918
|
{
|
|
3919
3919
|
style: {
|
|
3920
|
-
width:
|
|
3921
|
-
height:
|
|
3920
|
+
width: be,
|
|
3921
|
+
height: Y,
|
|
3922
3922
|
background: t === "right" ? "linear-gradient(90deg, #04091a 0%, #071428 60%, #040c1c 100%)" : "linear-gradient(90deg, #040c1c 0%, #071428 40%, #04091a 100%)",
|
|
3923
3923
|
position: "relative",
|
|
3924
3924
|
overflow: "hidden"
|
|
@@ -3933,7 +3933,7 @@ function rt({ side: t, color: n }) {
|
|
|
3933
3933
|
left: 0,
|
|
3934
3934
|
right: 0,
|
|
3935
3935
|
height: 1,
|
|
3936
|
-
background: `linear-gradient(90deg, transparent, ${
|
|
3936
|
+
background: `linear-gradient(90deg, transparent, ${o}22 50%, transparent)`
|
|
3937
3937
|
}
|
|
3938
3938
|
}
|
|
3939
3939
|
),
|
|
@@ -3942,8 +3942,8 @@ function rt({ side: t, color: n }) {
|
|
|
3942
3942
|
{
|
|
3943
3943
|
style: {
|
|
3944
3944
|
position: "absolute",
|
|
3945
|
-
top:
|
|
3946
|
-
bottom:
|
|
3945
|
+
top: Y * 0.25,
|
|
3946
|
+
bottom: Y * 0.25,
|
|
3947
3947
|
left: 14,
|
|
3948
3948
|
right: 14,
|
|
3949
3949
|
display: "flex",
|
|
@@ -3969,14 +3969,14 @@ function rt({ side: t, color: n }) {
|
|
|
3969
3969
|
}
|
|
3970
3970
|
);
|
|
3971
3971
|
}
|
|
3972
|
-
function
|
|
3973
|
-
const
|
|
3972
|
+
function Zt({ queueDepth: t, color: o }) {
|
|
3973
|
+
const n = Math.floor((be - 14) / 7);
|
|
3974
3974
|
return /* @__PURE__ */ d(
|
|
3975
3975
|
"div",
|
|
3976
3976
|
{
|
|
3977
3977
|
style: {
|
|
3978
3978
|
width: K,
|
|
3979
|
-
height:
|
|
3979
|
+
height: be,
|
|
3980
3980
|
background: "linear-gradient(180deg, #0c1c30 0%, #07101e 40%, #040c1a 100%)",
|
|
3981
3981
|
position: "relative",
|
|
3982
3982
|
overflow: "hidden"
|
|
@@ -3990,9 +3990,9 @@ function Kt({ queueDepth: t, color: n }) {
|
|
|
3990
3990
|
top: 0,
|
|
3991
3991
|
left: 0,
|
|
3992
3992
|
right: 0,
|
|
3993
|
-
height:
|
|
3993
|
+
height: be * 0.35,
|
|
3994
3994
|
background: `radial-gradient(ellipse at 50% 0%,
|
|
3995
|
-
${t > 70 ? "rgba(255,34,85,0.14)" : `${
|
|
3995
|
+
${t > 70 ? "rgba(255,34,85,0.14)" : `${o}15`} 0%,
|
|
3996
3996
|
transparent 70%)`
|
|
3997
3997
|
}
|
|
3998
3998
|
}
|
|
@@ -4010,7 +4010,7 @@ function Kt({ queueDepth: t, color: n }) {
|
|
|
4010
4010
|
flexDirection: "column",
|
|
4011
4011
|
gap: 4
|
|
4012
4012
|
},
|
|
4013
|
-
children: Array.from({ length:
|
|
4013
|
+
children: Array.from({ length: n }).map((i, r) => /* @__PURE__ */ e(
|
|
4014
4014
|
"div",
|
|
4015
4015
|
{
|
|
4016
4016
|
style: {
|
|
@@ -4028,39 +4028,39 @@ function Kt({ queueDepth: t, color: n }) {
|
|
|
4028
4028
|
}
|
|
4029
4029
|
);
|
|
4030
4030
|
}
|
|
4031
|
-
function
|
|
4031
|
+
function Jt({
|
|
4032
4032
|
rotateX: t = -20,
|
|
4033
|
-
rotateY:
|
|
4034
|
-
rotateZ:
|
|
4033
|
+
rotateY: o = 20,
|
|
4034
|
+
rotateZ: n = 0,
|
|
4035
4035
|
scale: i = 1,
|
|
4036
4036
|
autoRotate: r = !1,
|
|
4037
4037
|
status: a = "online",
|
|
4038
4038
|
name: s = "MSG-SRV-01",
|
|
4039
4039
|
queueDepth: l = 45,
|
|
4040
|
-
msgsPerSec:
|
|
4040
|
+
msgsPerSec: f = 230,
|
|
4041
4041
|
instances: c = 3,
|
|
4042
4042
|
_compact: p
|
|
4043
4043
|
}) {
|
|
4044
|
-
const [
|
|
4044
|
+
const [h, g] = A(o), u = ee(0), b = ee(0);
|
|
4045
4045
|
Ee(() => {
|
|
4046
4046
|
if (!r) {
|
|
4047
|
-
|
|
4047
|
+
g(o);
|
|
4048
4048
|
return;
|
|
4049
4049
|
}
|
|
4050
|
-
const
|
|
4051
|
-
|
|
4050
|
+
const x = (w) => {
|
|
4051
|
+
b.current && g((P) => P + (w - b.current) * 0.027), b.current = w, u.current = requestAnimationFrame(x);
|
|
4052
4052
|
};
|
|
4053
|
-
return
|
|
4054
|
-
cancelAnimationFrame(
|
|
4053
|
+
return u.current = requestAnimationFrame(x), () => {
|
|
4054
|
+
cancelAnimationFrame(u.current), b.current = 0;
|
|
4055
4055
|
};
|
|
4056
|
-
}, [r,
|
|
4057
|
-
const m =
|
|
4056
|
+
}, [r, o]);
|
|
4057
|
+
const m = at[a] ?? at.online;
|
|
4058
4058
|
return /* @__PURE__ */ d(
|
|
4059
4059
|
"div",
|
|
4060
4060
|
{
|
|
4061
4061
|
style: {
|
|
4062
4062
|
width: K * i,
|
|
4063
|
-
height:
|
|
4063
|
+
height: Y * i,
|
|
4064
4064
|
position: "relative",
|
|
4065
4065
|
display: "flex",
|
|
4066
4066
|
alignItems: "center",
|
|
@@ -4121,7 +4121,7 @@ function Zt({
|
|
|
4121
4121
|
style: {
|
|
4122
4122
|
position: "absolute",
|
|
4123
4123
|
width: K * 1.3 * i,
|
|
4124
|
-
height:
|
|
4124
|
+
height: Y * 2 * i,
|
|
4125
4125
|
background: `radial-gradient(ellipse, ${m.glow} 0%, transparent 65%)`,
|
|
4126
4126
|
filter: `blur(${Math.round(40 * i)}px)`,
|
|
4127
4127
|
pointerEvents: "none",
|
|
@@ -4145,10 +4145,10 @@ function Zt({
|
|
|
4145
4145
|
{
|
|
4146
4146
|
style: {
|
|
4147
4147
|
width: K,
|
|
4148
|
-
height:
|
|
4148
|
+
height: Y,
|
|
4149
4149
|
position: "relative",
|
|
4150
4150
|
transformStyle: "preserve-3d",
|
|
4151
|
-
transform: `rotateX(${t}deg) rotateY(${
|
|
4151
|
+
transform: `rotateX(${t}deg) rotateY(${h}deg) rotateZ(${n}deg)`,
|
|
4152
4152
|
transition: r ? "none" : "transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94)"
|
|
4153
4153
|
},
|
|
4154
4154
|
children: [
|
|
@@ -4158,16 +4158,16 @@ function Zt({
|
|
|
4158
4158
|
cfg: m,
|
|
4159
4159
|
name: s,
|
|
4160
4160
|
queueDepth: l,
|
|
4161
|
-
msgsPerSec:
|
|
4161
|
+
msgsPerSec: f,
|
|
4162
4162
|
instances: c,
|
|
4163
4163
|
compact: p
|
|
4164
4164
|
}
|
|
4165
4165
|
) }),
|
|
4166
|
-
/* @__PURE__ */ e("div", { style: fe.back, children: /* @__PURE__ */ e(
|
|
4167
|
-
/* @__PURE__ */ e("div", { style: fe.left, children: /* @__PURE__ */ e(
|
|
4168
|
-
/* @__PURE__ */ e("div", { style: fe.right, children: /* @__PURE__ */ e(
|
|
4169
|
-
/* @__PURE__ */ e("div", { style: fe.top, children: /* @__PURE__ */ e(
|
|
4170
|
-
/* @__PURE__ */ e("div", { style: fe.bottom, children: /* @__PURE__ */ e("div", { style: { width: K, height:
|
|
4166
|
+
/* @__PURE__ */ e("div", { style: fe.back, children: /* @__PURE__ */ e(Kt, {}) }),
|
|
4167
|
+
/* @__PURE__ */ e("div", { style: fe.left, children: /* @__PURE__ */ e(lt, { side: "left", color: m.color }) }),
|
|
4168
|
+
/* @__PURE__ */ e("div", { style: fe.right, children: /* @__PURE__ */ e(lt, { side: "right", color: m.color }) }),
|
|
4169
|
+
/* @__PURE__ */ e("div", { style: fe.top, children: /* @__PURE__ */ e(Zt, { queueDepth: l, color: m.color }) }),
|
|
4170
|
+
/* @__PURE__ */ e("div", { style: fe.bottom, children: /* @__PURE__ */ e("div", { style: { width: K, height: be, background: "#020508" } }) })
|
|
4171
4171
|
]
|
|
4172
4172
|
}
|
|
4173
4173
|
)
|
|
@@ -4177,14 +4177,14 @@ function Zt({
|
|
|
4177
4177
|
}
|
|
4178
4178
|
);
|
|
4179
4179
|
}
|
|
4180
|
-
function
|
|
4181
|
-
const i = (
|
|
4180
|
+
function ft({ status: t = "online", scale: o = 1 }) {
|
|
4181
|
+
const i = (S[t] ?? S.online).color;
|
|
4182
4182
|
return /* @__PURE__ */ e(
|
|
4183
4183
|
"div",
|
|
4184
4184
|
{
|
|
4185
4185
|
style: {
|
|
4186
|
-
width: 80 *
|
|
4187
|
-
height: 140 *
|
|
4186
|
+
width: 80 * o,
|
|
4187
|
+
height: 140 * o,
|
|
4188
4188
|
display: "flex",
|
|
4189
4189
|
alignItems: "center",
|
|
4190
4190
|
justifyContent: "center"
|
|
@@ -4198,7 +4198,7 @@ function ct({ status: t = "online", scale: n = 1 }) {
|
|
|
4198
4198
|
alignItems: "center",
|
|
4199
4199
|
fontFamily: "'Courier New', monospace",
|
|
4200
4200
|
userSelect: "none",
|
|
4201
|
-
transform: `scale(${
|
|
4201
|
+
transform: `scale(${o})`,
|
|
4202
4202
|
transformOrigin: "center center"
|
|
4203
4203
|
},
|
|
4204
4204
|
children: [
|
|
@@ -4289,39 +4289,39 @@ function ct({ status: t = "online", scale: n = 1 }) {
|
|
|
4289
4289
|
}
|
|
4290
4290
|
);
|
|
4291
4291
|
}
|
|
4292
|
-
function R(t,
|
|
4293
|
-
return Array.from({ length:
|
|
4294
|
-
const a = r /
|
|
4295
|
-
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) *
|
|
4292
|
+
function R(t, o, n = 24) {
|
|
4293
|
+
return Array.from({ length: n }, (i, r) => {
|
|
4294
|
+
const a = r / n;
|
|
4295
|
+
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * o + (Math.random() - 0.5) * 10));
|
|
4296
4296
|
});
|
|
4297
4297
|
}
|
|
4298
|
-
function
|
|
4299
|
-
const r =
|
|
4300
|
-
const c =
|
|
4298
|
+
function ei({ data: t, color: o, height: n = 28 }) {
|
|
4299
|
+
const r = n, a = Math.max(...t, 1), s = t.map((l, f) => {
|
|
4300
|
+
const c = f / (t.length - 1) * 120, p = r - l / a * (r - 4) - 2;
|
|
4301
4301
|
return `${c},${p}`;
|
|
4302
4302
|
}).join(" ");
|
|
4303
4303
|
return /* @__PURE__ */ e("svg", { width: 120, height: r, style: { display: "block", overflow: "visible" }, children: /* @__PURE__ */ e(
|
|
4304
4304
|
"polyline",
|
|
4305
4305
|
{
|
|
4306
4306
|
fill: "none",
|
|
4307
|
-
stroke:
|
|
4307
|
+
stroke: o,
|
|
4308
4308
|
strokeWidth: "1.2",
|
|
4309
4309
|
strokeLinecap: "round",
|
|
4310
4310
|
strokeLinejoin: "round",
|
|
4311
4311
|
points: s,
|
|
4312
|
-
style: { filter: `drop-shadow(0 0 2px ${
|
|
4312
|
+
style: { filter: `drop-shadow(0 0 2px ${o})`, opacity: 0.9 }
|
|
4313
4313
|
}
|
|
4314
4314
|
) });
|
|
4315
4315
|
}
|
|
4316
|
-
function
|
|
4316
|
+
function ti({
|
|
4317
4317
|
type: t,
|
|
4318
|
-
name:
|
|
4319
|
-
context:
|
|
4318
|
+
name: o,
|
|
4319
|
+
context: n = {},
|
|
4320
4320
|
status: i = "online",
|
|
4321
4321
|
animPhase: r,
|
|
4322
4322
|
series: a
|
|
4323
4323
|
}) {
|
|
4324
|
-
const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) :
|
|
4324
|
+
const s = i === "critical" || i === "offline" ? "#ff2255" : i === "warning" ? "#ff8c00" : "#00e5ff", l = a ? a.map((p) => ({ ...p })) : ii(t, n), f = r >= 0.3 ? 0 : -280, c = r >= 0.2 ? 1 : 0;
|
|
4325
4325
|
return /* @__PURE__ */ d(
|
|
4326
4326
|
"div",
|
|
4327
4327
|
{
|
|
@@ -4335,7 +4335,7 @@ function ei({
|
|
|
4335
4335
|
display: "flex",
|
|
4336
4336
|
flexDirection: "column",
|
|
4337
4337
|
overflow: "hidden",
|
|
4338
|
-
transform: `translateX(${
|
|
4338
|
+
transform: `translateX(${f}px)`,
|
|
4339
4339
|
opacity: c,
|
|
4340
4340
|
transition: "transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease"
|
|
4341
4341
|
},
|
|
@@ -4351,13 +4351,13 @@ function ei({
|
|
|
4351
4351
|
children: [
|
|
4352
4352
|
/* @__PURE__ */ e("div", { style: { fontSize: 10, color: s + "cc", letterSpacing: "0.12em", fontFamily: "'Courier New', monospace" }, children: "HISTORICAL" }),
|
|
4353
4353
|
/* @__PURE__ */ d("div", { style: { fontSize: 12, fontWeight: 700, color: "#fff", letterSpacing: "0.06em", marginTop: 2, fontFamily: "'Courier New', monospace" }, children: [
|
|
4354
|
-
|
|
4354
|
+
o,
|
|
4355
4355
|
" · Sub-components"
|
|
4356
4356
|
] })
|
|
4357
4357
|
]
|
|
4358
4358
|
}
|
|
4359
4359
|
),
|
|
4360
|
-
/* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", padding: "12px 10px", display: "flex", flexDirection: "column", gap: 16 }, children: l.map((p,
|
|
4360
|
+
/* @__PURE__ */ e("div", { style: { flex: 1, overflowY: "auto", padding: "12px 10px", display: "flex", flexDirection: "column", gap: 16 }, children: l.map((p, h) => /* @__PURE__ */ d(
|
|
4361
4361
|
"div",
|
|
4362
4362
|
{
|
|
4363
4363
|
style: {
|
|
@@ -4365,7 +4365,7 @@ function ei({
|
|
|
4365
4365
|
background: "rgba(0, 20, 40, 0.35)",
|
|
4366
4366
|
border: `1px solid ${p.color}22`,
|
|
4367
4367
|
borderRadius: 6,
|
|
4368
|
-
transition: `opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) ${
|
|
4368
|
+
transition: `opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) ${h * 0.04}s`,
|
|
4369
4369
|
opacity: r >= 0.5 ? 1 : 0
|
|
4370
4370
|
},
|
|
4371
4371
|
children: [
|
|
@@ -4376,7 +4376,7 @@ function ei({
|
|
|
4376
4376
|
p.unit
|
|
4377
4377
|
] })
|
|
4378
4378
|
] }),
|
|
4379
|
-
/* @__PURE__ */ e(
|
|
4379
|
+
/* @__PURE__ */ e(ei, { data: p.data, color: p.color, height: 26 })
|
|
4380
4380
|
]
|
|
4381
4381
|
},
|
|
4382
4382
|
p.id
|
|
@@ -4385,12 +4385,12 @@ function ei({
|
|
|
4385
4385
|
}
|
|
4386
4386
|
);
|
|
4387
4387
|
}
|
|
4388
|
-
function
|
|
4388
|
+
function ii(t, o) {
|
|
4389
4389
|
if (t === "server") {
|
|
4390
|
-
const
|
|
4390
|
+
const n = o.cpuLoad ?? 50, i = o.memLoad ?? 60;
|
|
4391
4391
|
return [
|
|
4392
|
-
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: R(
|
|
4393
|
-
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: R(
|
|
4392
|
+
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: R(n, 15) },
|
|
4393
|
+
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: R(n * 0.7, 12) },
|
|
4394
4394
|
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: R(i, 18) },
|
|
4395
4395
|
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: R(i * 0.85, 14) },
|
|
4396
4396
|
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: R(40, 25) },
|
|
@@ -4400,49 +4400,49 @@ function ti(t, n) {
|
|
|
4400
4400
|
];
|
|
4401
4401
|
}
|
|
4402
4402
|
if (t === "dispatcher" || t === "messageServer") {
|
|
4403
|
-
const
|
|
4403
|
+
const n = o.traffic ?? o.queueDepth ?? 50;
|
|
4404
4404
|
return [
|
|
4405
|
-
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: R(
|
|
4405
|
+
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: R(n, 20) },
|
|
4406
4406
|
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: R(60, 25) },
|
|
4407
4407
|
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: R(45, 20) },
|
|
4408
4408
|
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: R(70, 30) },
|
|
4409
|
-
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: R(
|
|
4409
|
+
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: R(n * 0.9, 15) }
|
|
4410
4410
|
];
|
|
4411
4411
|
}
|
|
4412
4412
|
if (t === "database") {
|
|
4413
|
-
const
|
|
4413
|
+
const n = o.capacity ?? 70;
|
|
4414
4414
|
return [
|
|
4415
4415
|
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: R(40, 20) },
|
|
4416
4416
|
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: R(55, 25) },
|
|
4417
4417
|
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: R(35, 18) },
|
|
4418
|
-
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: R(
|
|
4418
|
+
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: R(n, 15) },
|
|
4419
4419
|
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: R(75, 12) }
|
|
4420
4420
|
];
|
|
4421
4421
|
}
|
|
4422
4422
|
return [];
|
|
4423
4423
|
}
|
|
4424
|
-
function
|
|
4424
|
+
function ht({
|
|
4425
4425
|
w: t,
|
|
4426
|
-
h:
|
|
4427
|
-
color:
|
|
4426
|
+
h: o,
|
|
4427
|
+
color: n,
|
|
4428
4428
|
label: i,
|
|
4429
4429
|
status: r,
|
|
4430
4430
|
delay: a = "0s",
|
|
4431
4431
|
children: s
|
|
4432
4432
|
}) {
|
|
4433
|
-
const l = r ?
|
|
4433
|
+
const l = r ? S[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
|
|
4434
4434
|
return /* @__PURE__ */ d(
|
|
4435
4435
|
"div",
|
|
4436
4436
|
{
|
|
4437
4437
|
style: {
|
|
4438
4438
|
width: t,
|
|
4439
|
-
height:
|
|
4439
|
+
height: o,
|
|
4440
4440
|
background: we,
|
|
4441
4441
|
position: "relative",
|
|
4442
4442
|
overflow: "hidden",
|
|
4443
4443
|
borderRadius: 2,
|
|
4444
|
-
border: `1px solid ${
|
|
4445
|
-
boxShadow: `0 0 8px ${
|
|
4444
|
+
border: `1px solid ${n}44`,
|
|
4445
|
+
boxShadow: `0 0 8px ${n}22, inset 0 1px 0 ${n}22`,
|
|
4446
4446
|
fontFamily: "'Courier New', monospace"
|
|
4447
4447
|
},
|
|
4448
4448
|
children: [
|
|
@@ -4456,7 +4456,7 @@ function pt({
|
|
|
4456
4456
|
left: 0,
|
|
4457
4457
|
right: 0,
|
|
4458
4458
|
height: 1,
|
|
4459
|
-
background: `linear-gradient(90deg, transparent, ${
|
|
4459
|
+
background: `linear-gradient(90deg, transparent, ${n}66, transparent)`,
|
|
4460
4460
|
boxShadow: `0 1px 4px ${l}`
|
|
4461
4461
|
}
|
|
4462
4462
|
}
|
|
@@ -4471,8 +4471,8 @@ function pt({
|
|
|
4471
4471
|
width: 4,
|
|
4472
4472
|
height: 4,
|
|
4473
4473
|
borderRadius: "50%",
|
|
4474
|
-
background:
|
|
4475
|
-
boxShadow: `0 0 6px ${
|
|
4474
|
+
background: S[r]?.color,
|
|
4475
|
+
boxShadow: `0 0 6px ${S[r]?.color}`,
|
|
4476
4476
|
animation: "holo-led-blink 1.2s infinite"
|
|
4477
4477
|
}
|
|
4478
4478
|
}
|
|
@@ -4486,7 +4486,7 @@ function pt({
|
|
|
4486
4486
|
left: 3,
|
|
4487
4487
|
right: 3,
|
|
4488
4488
|
fontSize: 6,
|
|
4489
|
-
color: `${
|
|
4489
|
+
color: `${n}99`,
|
|
4490
4490
|
letterSpacing: "0.08em",
|
|
4491
4491
|
textAlign: "center"
|
|
4492
4492
|
},
|
|
@@ -4502,8 +4502,8 @@ function pt({
|
|
|
4502
4502
|
left: 0,
|
|
4503
4503
|
right: 0,
|
|
4504
4504
|
height: 1,
|
|
4505
|
-
background: `linear-gradient(90deg, transparent 10%, ${
|
|
4506
|
-
boxShadow: `0 0 4px ${
|
|
4505
|
+
background: `linear-gradient(90deg, transparent 10%, ${n}aa 50%, transparent 90%)`,
|
|
4506
|
+
boxShadow: `0 0 4px ${n}`,
|
|
4507
4507
|
animation: "holo-scan 2.5s linear infinite",
|
|
4508
4508
|
animationDelay: a,
|
|
4509
4509
|
pointerEvents: "none"
|
|
@@ -4514,10 +4514,10 @@ function pt({
|
|
|
4514
4514
|
}
|
|
4515
4515
|
);
|
|
4516
4516
|
}
|
|
4517
|
-
function
|
|
4517
|
+
function Oe({
|
|
4518
4518
|
color: t = "#00e5ff",
|
|
4519
|
-
label:
|
|
4520
|
-
status:
|
|
4519
|
+
label: o = "CPU-0",
|
|
4520
|
+
status: n = "online",
|
|
4521
4521
|
load: i = 0
|
|
4522
4522
|
}) {
|
|
4523
4523
|
return /* @__PURE__ */ d("div", { style: { position: "relative", width: 52, height: 36 }, children: [
|
|
@@ -4588,7 +4588,7 @@ function Ie({
|
|
|
4588
4588
|
)
|
|
4589
4589
|
}
|
|
4590
4590
|
),
|
|
4591
|
-
|
|
4591
|
+
n && n !== "online" && n !== "offline" && /* @__PURE__ */ e(
|
|
4592
4592
|
"div",
|
|
4593
4593
|
{
|
|
4594
4594
|
style: {
|
|
@@ -4598,8 +4598,8 @@ function Ie({
|
|
|
4598
4598
|
width: 4,
|
|
4599
4599
|
height: 4,
|
|
4600
4600
|
borderRadius: "50%",
|
|
4601
|
-
background:
|
|
4602
|
-
boxShadow: `0 0 6px ${
|
|
4601
|
+
background: S[n]?.color,
|
|
4602
|
+
boxShadow: `0 0 6px ${S[n]?.color}`,
|
|
4603
4603
|
animation: "holo-led-blink 1.2s infinite"
|
|
4604
4604
|
}
|
|
4605
4605
|
}
|
|
@@ -4620,15 +4620,15 @@ function Ie({
|
|
|
4620
4620
|
letterSpacing: "0.06em",
|
|
4621
4621
|
textAlign: "center"
|
|
4622
4622
|
},
|
|
4623
|
-
children:
|
|
4623
|
+
children: o
|
|
4624
4624
|
}
|
|
4625
4625
|
)
|
|
4626
4626
|
] });
|
|
4627
4627
|
}
|
|
4628
|
-
function
|
|
4628
|
+
function De({
|
|
4629
4629
|
color: t = "#00e5ff",
|
|
4630
|
-
label:
|
|
4631
|
-
status:
|
|
4630
|
+
label: o = "HEAP-0",
|
|
4631
|
+
status: n = "online",
|
|
4632
4632
|
usedPercent: i = 0
|
|
4633
4633
|
}) {
|
|
4634
4634
|
return /* @__PURE__ */ d("div", { style: { position: "relative", width: 28, height: 48 }, children: [
|
|
@@ -4686,7 +4686,7 @@ function Oe({
|
|
|
4686
4686
|
},
|
|
4687
4687
|
s
|
|
4688
4688
|
)),
|
|
4689
|
-
|
|
4689
|
+
n && n !== "online" && n !== "offline" && /* @__PURE__ */ e(
|
|
4690
4690
|
"div",
|
|
4691
4691
|
{
|
|
4692
4692
|
style: {
|
|
@@ -4696,7 +4696,7 @@ function Oe({
|
|
|
4696
4696
|
width: 3,
|
|
4697
4697
|
height: 3,
|
|
4698
4698
|
borderRadius: "50%",
|
|
4699
|
-
background:
|
|
4699
|
+
background: S[n]?.color,
|
|
4700
4700
|
animation: "holo-led-blink 1.2s infinite"
|
|
4701
4701
|
}
|
|
4702
4702
|
}
|
|
@@ -4717,18 +4717,18 @@ function Oe({
|
|
|
4717
4717
|
letterSpacing: "0.05em",
|
|
4718
4718
|
textAlign: "center"
|
|
4719
4719
|
},
|
|
4720
|
-
children:
|
|
4720
|
+
children: o
|
|
4721
4721
|
}
|
|
4722
4722
|
)
|
|
4723
4723
|
] });
|
|
4724
4724
|
}
|
|
4725
4725
|
function ye({
|
|
4726
4726
|
color: t = "#00e5ff",
|
|
4727
|
-
label:
|
|
4728
|
-
status:
|
|
4727
|
+
label: o = "DRIVE-1",
|
|
4728
|
+
status: n = "online",
|
|
4729
4729
|
activity: i = !1
|
|
4730
4730
|
}) {
|
|
4731
|
-
return /* @__PURE__ */ d(
|
|
4731
|
+
return /* @__PURE__ */ d(ht, { w: 56, h: 22, color: t, label: o, status: n, children: [
|
|
4732
4732
|
/* @__PURE__ */ e(
|
|
4733
4733
|
"div",
|
|
4734
4734
|
{
|
|
@@ -4761,10 +4761,10 @@ function ye({
|
|
|
4761
4761
|
)
|
|
4762
4762
|
] });
|
|
4763
4763
|
}
|
|
4764
|
-
function
|
|
4764
|
+
function ut({
|
|
4765
4765
|
color: t = "#00e5ff",
|
|
4766
|
-
label:
|
|
4767
|
-
status:
|
|
4766
|
+
label: o = "NET",
|
|
4767
|
+
status: n = "online"
|
|
4768
4768
|
}) {
|
|
4769
4769
|
return /* @__PURE__ */ d(
|
|
4770
4770
|
"div",
|
|
@@ -4818,24 +4818,24 @@ function ft({
|
|
|
4818
4818
|
textAlign: "center",
|
|
4819
4819
|
letterSpacing: "0.08em"
|
|
4820
4820
|
},
|
|
4821
|
-
children:
|
|
4821
|
+
children: o
|
|
4822
4822
|
}
|
|
4823
4823
|
)
|
|
4824
4824
|
]
|
|
4825
4825
|
}
|
|
4826
4826
|
);
|
|
4827
4827
|
}
|
|
4828
|
-
function
|
|
4828
|
+
function L({
|
|
4829
4829
|
color: t = "#00e5ff",
|
|
4830
|
-
label:
|
|
4831
|
-
status:
|
|
4830
|
+
label: o = "THREAD",
|
|
4831
|
+
status: n = "online"
|
|
4832
4832
|
}) {
|
|
4833
|
-
return /* @__PURE__ */ e(
|
|
4833
|
+
return /* @__PURE__ */ e(ht, { w: 44, h: 28, color: t, label: o, status: n });
|
|
4834
4834
|
}
|
|
4835
|
-
function
|
|
4835
|
+
function Le({
|
|
4836
4836
|
color: t = "#ff8c00",
|
|
4837
|
-
label:
|
|
4838
|
-
status:
|
|
4837
|
+
label: o = "PLATTER-0",
|
|
4838
|
+
status: n = "online",
|
|
4839
4839
|
capacityPercent: i = 0
|
|
4840
4840
|
}) {
|
|
4841
4841
|
return /* @__PURE__ */ d("div", { style: { position: "relative", width: 48, height: 62 }, children: [
|
|
@@ -4880,7 +4880,7 @@ function Ae({
|
|
|
4880
4880
|
}
|
|
4881
4881
|
}
|
|
4882
4882
|
),
|
|
4883
|
-
|
|
4883
|
+
n && n !== "online" && n !== "offline" && /* @__PURE__ */ e(
|
|
4884
4884
|
"div",
|
|
4885
4885
|
{
|
|
4886
4886
|
style: {
|
|
@@ -4890,7 +4890,7 @@ function Ae({
|
|
|
4890
4890
|
width: 4,
|
|
4891
4891
|
height: 4,
|
|
4892
4892
|
borderRadius: "50%",
|
|
4893
|
-
background:
|
|
4893
|
+
background: S[n]?.color,
|
|
4894
4894
|
animation: "holo-led-blink 1.2s infinite"
|
|
4895
4895
|
}
|
|
4896
4896
|
}
|
|
@@ -4911,15 +4911,15 @@ function Ae({
|
|
|
4911
4911
|
textAlign: "center",
|
|
4912
4912
|
letterSpacing: "0.06em"
|
|
4913
4913
|
},
|
|
4914
|
-
children:
|
|
4914
|
+
children: o
|
|
4915
4915
|
}
|
|
4916
4916
|
)
|
|
4917
4917
|
] });
|
|
4918
4918
|
}
|
|
4919
|
-
function
|
|
4919
|
+
function M({
|
|
4920
4920
|
color: t = "#00e5ff",
|
|
4921
|
-
label:
|
|
4922
|
-
status:
|
|
4921
|
+
label: o = "PORT-1",
|
|
4922
|
+
status: n = "online"
|
|
4923
4923
|
}) {
|
|
4924
4924
|
return /* @__PURE__ */ d(
|
|
4925
4925
|
"div",
|
|
@@ -4945,9 +4945,9 @@ function N({
|
|
|
4945
4945
|
width: 4,
|
|
4946
4946
|
height: 4,
|
|
4947
4947
|
borderRadius: "50%",
|
|
4948
|
-
background:
|
|
4948
|
+
background: n && n !== "online" ? S[n]?.color ?? t : t,
|
|
4949
4949
|
boxShadow: `0 0 4px ${t}`,
|
|
4950
|
-
animation:
|
|
4950
|
+
animation: n && n !== "online" && n !== "offline" ? "holo-led-blink 1s infinite" : "none"
|
|
4951
4951
|
}
|
|
4952
4952
|
}
|
|
4953
4953
|
),
|
|
@@ -4979,15 +4979,15 @@ function N({
|
|
|
4979
4979
|
textAlign: "center",
|
|
4980
4980
|
letterSpacing: "0.05em"
|
|
4981
4981
|
},
|
|
4982
|
-
children:
|
|
4982
|
+
children: o
|
|
4983
4983
|
}
|
|
4984
4984
|
)
|
|
4985
4985
|
]
|
|
4986
4986
|
}
|
|
4987
4987
|
);
|
|
4988
4988
|
}
|
|
4989
|
-
function
|
|
4990
|
-
const r =
|
|
4989
|
+
function oi(t, o, n, i) {
|
|
4990
|
+
const r = n === "online" ? "online" : n;
|
|
4991
4991
|
return t === "server" ? [
|
|
4992
4992
|
{
|
|
4993
4993
|
id: "cpu-0",
|
|
@@ -5009,8 +5009,8 @@ function ii(t, n, o, i) {
|
|
|
5009
5009
|
{
|
|
5010
5010
|
id: "thread-pool",
|
|
5011
5011
|
label: "THREAD-POOL",
|
|
5012
|
-
status: r === "critical" &&
|
|
5013
|
-
detail: r === "critical" &&
|
|
5012
|
+
status: r === "critical" && o === "APP-03" ? "critical" : "online",
|
|
5013
|
+
detail: r === "critical" && o === "APP-03" ? "Thread exhaustion" : void 0
|
|
5014
5014
|
},
|
|
5015
5015
|
{ id: "network", label: "NET", status: r === "offline" ? "offline" : "online" }
|
|
5016
5016
|
] : t === "dispatcher" ? [
|
|
@@ -5073,8 +5073,8 @@ function ii(t, n, o, i) {
|
|
|
5073
5073
|
{
|
|
5074
5074
|
id: "platter-2",
|
|
5075
5075
|
label: "PLATTER-2",
|
|
5076
|
-
status: r === "warning" &&
|
|
5077
|
-
detail: r === "warning" &&
|
|
5076
|
+
status: r === "warning" && o === "DB-STB" ? "warning" : "online",
|
|
5077
|
+
detail: r === "warning" && o === "DB-STB" ? "Replication lag" : void 0
|
|
5078
5078
|
},
|
|
5079
5079
|
{
|
|
5080
5080
|
id: "conn-pool",
|
|
@@ -5091,7 +5091,7 @@ function ii(t, n, o, i) {
|
|
|
5091
5091
|
] : [];
|
|
5092
5092
|
}
|
|
5093
5093
|
const E = "cubic-bezier(0.34, 1.56, 0.64, 1)", ni = "cubic-bezier(0.16, 1, 0.3, 1)";
|
|
5094
|
-
function
|
|
5094
|
+
function ri({ items: t, revealPhase: o }) {
|
|
5095
5095
|
return /* @__PURE__ */ e(
|
|
5096
5096
|
"div",
|
|
5097
5097
|
{
|
|
@@ -5103,36 +5103,36 @@ function oi({ items: t, revealPhase: n }) {
|
|
|
5103
5103
|
alignItems: "center",
|
|
5104
5104
|
padding: 24
|
|
5105
5105
|
},
|
|
5106
|
-
children: t.map((
|
|
5106
|
+
children: t.map((n, i) => /* @__PURE__ */ e(
|
|
5107
5107
|
"div",
|
|
5108
5108
|
{
|
|
5109
5109
|
style: {
|
|
5110
|
-
opacity:
|
|
5111
|
-
transform: `scale(${
|
|
5110
|
+
opacity: o >= 0.2 + i * 0.06 ? 1 : 0,
|
|
5111
|
+
transform: `scale(${o >= 0.2 + i * 0.06 ? 1 : 0.6})`,
|
|
5112
5112
|
transition: `opacity 0.4s ${E} ${i * 0.06}s, transform 0.45s ${E} ${i * 0.06}s`
|
|
5113
5113
|
},
|
|
5114
|
-
children:
|
|
5114
|
+
children: n.element
|
|
5115
5115
|
},
|
|
5116
|
-
|
|
5116
|
+
n.id
|
|
5117
5117
|
))
|
|
5118
5118
|
}
|
|
5119
5119
|
);
|
|
5120
5120
|
}
|
|
5121
|
-
function
|
|
5121
|
+
function ai({
|
|
5122
5122
|
type: t,
|
|
5123
|
-
status:
|
|
5124
|
-
context:
|
|
5123
|
+
status: o,
|
|
5124
|
+
context: n,
|
|
5125
5125
|
internal: i,
|
|
5126
5126
|
revealPhase: r
|
|
5127
5127
|
}) {
|
|
5128
|
-
const a =
|
|
5128
|
+
const a = S[o]?.color ?? S.online.color, s = "#ff8c00";
|
|
5129
5129
|
if (t === "server") {
|
|
5130
|
-
const l =
|
|
5130
|
+
const l = n.cpuLoad ?? 50, f = n.memLoad ?? 60, c = [
|
|
5131
5131
|
{
|
|
5132
5132
|
key: "cpu0",
|
|
5133
5133
|
delay: 0,
|
|
5134
5134
|
el: /* @__PURE__ */ e(
|
|
5135
|
-
|
|
5135
|
+
Oe,
|
|
5136
5136
|
{
|
|
5137
5137
|
color: a,
|
|
5138
5138
|
label: "CPU-0",
|
|
@@ -5146,7 +5146,7 @@ function ri({
|
|
|
5146
5146
|
key: "cpu1",
|
|
5147
5147
|
delay: 1,
|
|
5148
5148
|
el: /* @__PURE__ */ e(
|
|
5149
|
-
|
|
5149
|
+
Oe,
|
|
5150
5150
|
{
|
|
5151
5151
|
color: a,
|
|
5152
5152
|
label: "CPU-1",
|
|
@@ -5160,12 +5160,12 @@ function ri({
|
|
|
5160
5160
|
key: "heap0",
|
|
5161
5161
|
delay: 2,
|
|
5162
5162
|
el: /* @__PURE__ */ e(
|
|
5163
|
-
|
|
5163
|
+
De,
|
|
5164
5164
|
{
|
|
5165
5165
|
color: "#8855ee",
|
|
5166
5166
|
label: "HEAP-0",
|
|
5167
5167
|
status: i[2]?.status,
|
|
5168
|
-
usedPercent:
|
|
5168
|
+
usedPercent: f,
|
|
5169
5169
|
delay: "0.1s"
|
|
5170
5170
|
}
|
|
5171
5171
|
)
|
|
@@ -5174,12 +5174,12 @@ function ri({
|
|
|
5174
5174
|
key: "heap1",
|
|
5175
5175
|
delay: 3,
|
|
5176
5176
|
el: /* @__PURE__ */ e(
|
|
5177
|
-
|
|
5177
|
+
De,
|
|
5178
5178
|
{
|
|
5179
5179
|
color: "#8855ee",
|
|
5180
5180
|
label: "HEAP-1",
|
|
5181
5181
|
status: i[3]?.status,
|
|
5182
|
-
usedPercent:
|
|
5182
|
+
usedPercent: f * 0.85,
|
|
5183
5183
|
delay: "0.3s"
|
|
5184
5184
|
}
|
|
5185
5185
|
)
|
|
@@ -5218,12 +5218,12 @@ function ri({
|
|
|
5218
5218
|
{
|
|
5219
5219
|
key: "thread",
|
|
5220
5220
|
delay: 7,
|
|
5221
|
-
el: /* @__PURE__ */ e(
|
|
5221
|
+
el: /* @__PURE__ */ e(L, { color: a, label: "THREAD-POOL", status: i[7]?.status })
|
|
5222
5222
|
},
|
|
5223
5223
|
{
|
|
5224
5224
|
key: "net",
|
|
5225
5225
|
delay: 8,
|
|
5226
|
-
el: /* @__PURE__ */ e(
|
|
5226
|
+
el: /* @__PURE__ */ e(ut, { color: a, label: "NET", status: i[8]?.status })
|
|
5227
5227
|
}
|
|
5228
5228
|
];
|
|
5229
5229
|
return /* @__PURE__ */ e(
|
|
@@ -5237,15 +5237,15 @@ function ri({
|
|
|
5237
5237
|
alignItems: "center",
|
|
5238
5238
|
padding: 24
|
|
5239
5239
|
},
|
|
5240
|
-
children: c.map(({ key: p, delay:
|
|
5240
|
+
children: c.map(({ key: p, delay: h, el: g }) => /* @__PURE__ */ e(
|
|
5241
5241
|
"div",
|
|
5242
5242
|
{
|
|
5243
5243
|
style: {
|
|
5244
|
-
opacity: r >= 0.2 +
|
|
5245
|
-
transform: `scale(${r >= 0.2 +
|
|
5246
|
-
transition: `opacity 0.4s ${E} ${
|
|
5244
|
+
opacity: r >= 0.2 + h * 0.08 ? 1 : 0,
|
|
5245
|
+
transform: `scale(${r >= 0.2 + h * 0.08 ? 1 : 0.6})`,
|
|
5246
|
+
transition: `opacity 0.4s ${E} ${h * 0.06}s, transform 0.45s ${E} ${h * 0.06}s`
|
|
5247
5247
|
},
|
|
5248
|
-
children:
|
|
5248
|
+
children: g
|
|
5249
5249
|
},
|
|
5250
5250
|
p
|
|
5251
5251
|
))
|
|
@@ -5253,7 +5253,7 @@ function ri({
|
|
|
5253
5253
|
);
|
|
5254
5254
|
}
|
|
5255
5255
|
if (t === "dispatcher") {
|
|
5256
|
-
const l = Array.from({ length: 8 }, (
|
|
5256
|
+
const l = Array.from({ length: 8 }, (f, c) => {
|
|
5257
5257
|
const p = i[c];
|
|
5258
5258
|
return /* @__PURE__ */ e(
|
|
5259
5259
|
"div",
|
|
@@ -5263,7 +5263,7 @@ function ri({
|
|
|
5263
5263
|
transform: `scale(${r >= 0.25 + c * 0.04 ? 1 : 0.5})`,
|
|
5264
5264
|
transition: `opacity 0.35s ${E} ${c * 0.04}s, transform 0.4s ${E} ${c * 0.04}s`
|
|
5265
5265
|
},
|
|
5266
|
-
children: /* @__PURE__ */ e(
|
|
5266
|
+
children: /* @__PURE__ */ e(M, { color: a, label: `PORT-${c + 1}`, status: p?.status })
|
|
5267
5267
|
},
|
|
5268
5268
|
`p${c}`
|
|
5269
5269
|
);
|
|
@@ -5289,7 +5289,7 @@ function ri({
|
|
|
5289
5289
|
transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
|
|
5290
5290
|
transition: `all 0.4s ${E} 0.3s`
|
|
5291
5291
|
},
|
|
5292
|
-
children: /* @__PURE__ */ e(
|
|
5292
|
+
children: /* @__PURE__ */ e(L, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
|
|
5293
5293
|
}
|
|
5294
5294
|
),
|
|
5295
5295
|
/* @__PURE__ */ e(
|
|
@@ -5300,7 +5300,7 @@ function ri({
|
|
|
5300
5300
|
transform: `scale(${r >= 0.8 ? 1 : 0.6})`,
|
|
5301
5301
|
transition: `all 0.4s ${E} 0.4s`
|
|
5302
5302
|
},
|
|
5303
|
-
children: /* @__PURE__ */ e(
|
|
5303
|
+
children: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
|
|
5304
5304
|
}
|
|
5305
5305
|
)
|
|
5306
5306
|
] })
|
|
@@ -5329,7 +5329,7 @@ function ri({
|
|
|
5329
5329
|
transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
|
|
5330
5330
|
transition: `all 0.4s ${E} ${l * 0.08}s`
|
|
5331
5331
|
},
|
|
5332
|
-
children: /* @__PURE__ */ e(
|
|
5332
|
+
children: /* @__PURE__ */ e(M, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
|
|
5333
5333
|
},
|
|
5334
5334
|
l
|
|
5335
5335
|
)),
|
|
@@ -5341,7 +5341,7 @@ function ri({
|
|
|
5341
5341
|
transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
|
|
5342
5342
|
transition: `all 0.4s ${E} 0.25s`
|
|
5343
5343
|
},
|
|
5344
|
-
children: /* @__PURE__ */ e(
|
|
5344
|
+
children: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
|
|
5345
5345
|
}
|
|
5346
5346
|
),
|
|
5347
5347
|
[4, 5, 6].map((l) => /* @__PURE__ */ e(
|
|
@@ -5353,7 +5353,7 @@ function ri({
|
|
|
5353
5353
|
transition: `all 0.4s ${E} ${0.35 + (l - 4) * 0.05}s`
|
|
5354
5354
|
},
|
|
5355
5355
|
children: /* @__PURE__ */ e(
|
|
5356
|
-
|
|
5356
|
+
L,
|
|
5357
5357
|
{
|
|
5358
5358
|
color: "#bb55ff",
|
|
5359
5359
|
label: `WORKER-${l - 3}`,
|
|
@@ -5367,7 +5367,7 @@ function ri({
|
|
|
5367
5367
|
}
|
|
5368
5368
|
);
|
|
5369
5369
|
if (t === "database") {
|
|
5370
|
-
const l =
|
|
5370
|
+
const l = n.capacity ?? 72;
|
|
5371
5371
|
return /* @__PURE__ */ d(
|
|
5372
5372
|
"div",
|
|
5373
5373
|
{
|
|
@@ -5380,25 +5380,25 @@ function ri({
|
|
|
5380
5380
|
padding: 24
|
|
5381
5381
|
},
|
|
5382
5382
|
children: [
|
|
5383
|
-
[0, 1, 2].map((
|
|
5383
|
+
[0, 1, 2].map((f) => /* @__PURE__ */ e(
|
|
5384
5384
|
"div",
|
|
5385
5385
|
{
|
|
5386
5386
|
style: {
|
|
5387
|
-
opacity: r >= 0.2 +
|
|
5388
|
-
transform: `scale(${r >= 0.2 +
|
|
5389
|
-
transition: `all 0.45s ${E} ${
|
|
5387
|
+
opacity: r >= 0.2 + f * 0.12 ? 1 : 0,
|
|
5388
|
+
transform: `scale(${r >= 0.2 + f * 0.12 ? 1 : 0.5})`,
|
|
5389
|
+
transition: `all 0.45s ${E} ${f * 0.1}s`
|
|
5390
5390
|
},
|
|
5391
5391
|
children: /* @__PURE__ */ e(
|
|
5392
|
-
|
|
5392
|
+
Le,
|
|
5393
5393
|
{
|
|
5394
5394
|
color: s,
|
|
5395
|
-
label: `PLATTER-${
|
|
5396
|
-
status: i[
|
|
5395
|
+
label: `PLATTER-${f}`,
|
|
5396
|
+
status: i[f]?.status,
|
|
5397
5397
|
capacityPercent: l
|
|
5398
5398
|
}
|
|
5399
5399
|
)
|
|
5400
5400
|
},
|
|
5401
|
-
|
|
5401
|
+
f
|
|
5402
5402
|
)),
|
|
5403
5403
|
/* @__PURE__ */ e(
|
|
5404
5404
|
"div",
|
|
@@ -5408,7 +5408,7 @@ function ri({
|
|
|
5408
5408
|
transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
|
|
5409
5409
|
transition: `all 0.4s ${E} 0.3s`
|
|
5410
5410
|
},
|
|
5411
|
-
children: /* @__PURE__ */ e(
|
|
5411
|
+
children: /* @__PURE__ */ e(L, { color: s, label: "CONN-POOL", status: i[3]?.status })
|
|
5412
5412
|
}
|
|
5413
5413
|
),
|
|
5414
5414
|
/* @__PURE__ */ e(
|
|
@@ -5419,7 +5419,7 @@ function ri({
|
|
|
5419
5419
|
transform: `scale(${r >= 0.75 ? 1 : 0.6})`,
|
|
5420
5420
|
transition: `all 0.4s ${E} 0.4s`
|
|
5421
5421
|
},
|
|
5422
|
-
children: /* @__PURE__ */ e(
|
|
5422
|
+
children: /* @__PURE__ */ e(L, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
|
|
5423
5423
|
}
|
|
5424
5424
|
)
|
|
5425
5425
|
]
|
|
@@ -5428,17 +5428,17 @@ function ri({
|
|
|
5428
5428
|
}
|
|
5429
5429
|
return null;
|
|
5430
5430
|
}
|
|
5431
|
-
function
|
|
5431
|
+
function $i({
|
|
5432
5432
|
type: t,
|
|
5433
|
-
name:
|
|
5434
|
-
status:
|
|
5433
|
+
name: o,
|
|
5434
|
+
status: n,
|
|
5435
5435
|
onClose: i,
|
|
5436
5436
|
animPhase: r,
|
|
5437
5437
|
context: a = {},
|
|
5438
5438
|
subComponents: s,
|
|
5439
5439
|
graphSeries: l
|
|
5440
5440
|
}) {
|
|
5441
|
-
const
|
|
5441
|
+
const f = oi(t, o, n, a), c = S[n]?.color ?? S.online.color, p = r >= 0.1 ? 1 : r * 10, h = r >= 0.2 ? "-50%" : "0%", g = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
|
|
5442
5442
|
return /* @__PURE__ */ d(
|
|
5443
5443
|
"div",
|
|
5444
5444
|
{
|
|
@@ -5450,7 +5450,7 @@ function wi({
|
|
|
5450
5450
|
flexDirection: "row",
|
|
5451
5451
|
pointerEvents: "auto"
|
|
5452
5452
|
},
|
|
5453
|
-
onClick: (
|
|
5453
|
+
onClick: (b) => b.stopPropagation(),
|
|
5454
5454
|
children: [
|
|
5455
5455
|
/* @__PURE__ */ e(
|
|
5456
5456
|
"div",
|
|
@@ -5468,12 +5468,12 @@ function wi({
|
|
|
5468
5468
|
}
|
|
5469
5469
|
),
|
|
5470
5470
|
/* @__PURE__ */ e(
|
|
5471
|
-
|
|
5471
|
+
ti,
|
|
5472
5472
|
{
|
|
5473
5473
|
type: t,
|
|
5474
|
-
name:
|
|
5474
|
+
name: o,
|
|
5475
5475
|
context: a,
|
|
5476
|
-
status:
|
|
5476
|
+
status: n,
|
|
5477
5477
|
animPhase: r,
|
|
5478
5478
|
series: l
|
|
5479
5479
|
}
|
|
@@ -5511,7 +5511,7 @@ function wi({
|
|
|
5511
5511
|
background: "linear-gradient(90deg, rgba(2, 8, 20, 0.98) 0%, rgba(2, 12, 28, 0.95) 100%)",
|
|
5512
5512
|
borderRight: `2px solid ${c}44`,
|
|
5513
5513
|
boxShadow: "4px 0 32px rgba(0,0,0,0.6)",
|
|
5514
|
-
transform: `translateX(${
|
|
5514
|
+
transform: `translateX(${h})`,
|
|
5515
5515
|
transition: `transform 0.7s ${E}`
|
|
5516
5516
|
}
|
|
5517
5517
|
}
|
|
@@ -5526,7 +5526,7 @@ function wi({
|
|
|
5526
5526
|
background: "linear-gradient(90deg, rgba(2, 12, 28, 0.95) 0%, rgba(2, 8, 20, 0.98) 100%)",
|
|
5527
5527
|
borderLeft: `2px solid ${c}44`,
|
|
5528
5528
|
boxShadow: "-4px 0 32px rgba(0,0,0,0.6)",
|
|
5529
|
-
transform: `translateX(${
|
|
5529
|
+
transform: `translateX(${g})`,
|
|
5530
5530
|
transition: `transform 0.7s ${E}`
|
|
5531
5531
|
}
|
|
5532
5532
|
}
|
|
@@ -5549,7 +5549,7 @@ function wi({
|
|
|
5549
5549
|
boxShadow: `0 0 40px ${c}18, inset 0 0 60px rgba(0,0,0,0.4)`,
|
|
5550
5550
|
display: "flex",
|
|
5551
5551
|
flexDirection: "column",
|
|
5552
|
-
opacity:
|
|
5552
|
+
opacity: u >= 0.1 ? 1 : 0,
|
|
5553
5553
|
transition: `opacity 0.5s ${E} 0.2s`
|
|
5554
5554
|
},
|
|
5555
5555
|
children: [
|
|
@@ -5576,7 +5576,7 @@ function wi({
|
|
|
5576
5576
|
borderRadius: "50%",
|
|
5577
5577
|
background: c,
|
|
5578
5578
|
boxShadow: `0 0 10px ${c}`,
|
|
5579
|
-
animation:
|
|
5579
|
+
animation: n === "warning" || n === "critical" ? "holo-led-blink 1.5s infinite" : "none"
|
|
5580
5580
|
}
|
|
5581
5581
|
}
|
|
5582
5582
|
),
|
|
@@ -5591,7 +5591,7 @@ function wi({
|
|
|
5591
5591
|
fontFamily: "'Courier New', monospace"
|
|
5592
5592
|
},
|
|
5593
5593
|
children: [
|
|
5594
|
-
|
|
5594
|
+
o,
|
|
5595
5595
|
" · INTERNAL VIEW"
|
|
5596
5596
|
]
|
|
5597
5597
|
}
|
|
@@ -5638,15 +5638,15 @@ function wi({
|
|
|
5638
5638
|
}
|
|
5639
5639
|
}
|
|
5640
5640
|
),
|
|
5641
|
-
/* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(
|
|
5642
|
-
|
|
5641
|
+
/* @__PURE__ */ e("div", { style: { flex: 1, padding: "8px 0 24px" }, children: s ? /* @__PURE__ */ e(ri, { items: s, revealPhase: u }) : /* @__PURE__ */ e(
|
|
5642
|
+
ai,
|
|
5643
5643
|
{
|
|
5644
5644
|
type: t,
|
|
5645
|
-
name:
|
|
5646
|
-
status:
|
|
5645
|
+
name: o,
|
|
5646
|
+
status: n,
|
|
5647
5647
|
context: a,
|
|
5648
|
-
internal:
|
|
5649
|
-
revealPhase:
|
|
5648
|
+
internal: f,
|
|
5649
|
+
revealPhase: u
|
|
5650
5650
|
}
|
|
5651
5651
|
) })
|
|
5652
5652
|
]
|
|
@@ -5659,36 +5659,92 @@ function wi({
|
|
|
5659
5659
|
}
|
|
5660
5660
|
);
|
|
5661
5661
|
}
|
|
5662
|
-
|
|
5662
|
+
const gt = (t) => `data:image/svg+xml,${encodeURIComponent(t.replace(/\n\s*/g, ""))}`, li = gt(`
|
|
5663
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080">
|
|
5664
|
+
<defs>
|
|
5665
|
+
<radialGradient id="c" cx="50%" cy="45%" r="70%">
|
|
5666
|
+
<stop offset="0%" stop-color="#0a1628"/>
|
|
5667
|
+
<stop offset="50%" stop-color="#050d18"/>
|
|
5668
|
+
<stop offset="100%" stop-color="#020810"/>
|
|
5669
|
+
</radialGradient>
|
|
5670
|
+
<radialGradient id="g" cx="50%" cy="40%" r="55%">
|
|
5671
|
+
<stop offset="0%" stop-color="#00e5ff" stop-opacity="0.04"/>
|
|
5672
|
+
<stop offset="100%" stop-color="#00e5ff" stop-opacity="0"/>
|
|
5673
|
+
</radialGradient>
|
|
5674
|
+
<pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse">
|
|
5675
|
+
<path d="M60 0L0 0 0 60" fill="none" stroke="#00e5ff" stroke-opacity="0.04" stroke-width="0.5"/>
|
|
5676
|
+
</pattern>
|
|
5677
|
+
<linearGradient id="beam1" x1="0" y1="0" x2="1" y2="1">
|
|
5678
|
+
<stop offset="0%" stop-color="#00e5ff" stop-opacity="0"/>
|
|
5679
|
+
<stop offset="40%" stop-color="#00e5ff" stop-opacity="0.08"/>
|
|
5680
|
+
<stop offset="60%" stop-color="#00e5ff" stop-opacity="0.12"/>
|
|
5681
|
+
<stop offset="100%" stop-color="#00e5ff" stop-opacity="0"/>
|
|
5682
|
+
</linearGradient>
|
|
5683
|
+
<linearGradient id="beam2" x1="1" y1="0" x2="0" y2="1">
|
|
5684
|
+
<stop offset="0%" stop-color="#00e5ff" stop-opacity="0"/>
|
|
5685
|
+
<stop offset="40%" stop-color="#00e5ff" stop-opacity="0.06"/>
|
|
5686
|
+
<stop offset="60%" stop-color="#00e5ff" stop-opacity="0.10"/>
|
|
5687
|
+
<stop offset="100%" stop-color="#00e5ff" stop-opacity="0"/>
|
|
5688
|
+
</linearGradient>
|
|
5689
|
+
</defs>
|
|
5690
|
+
<rect width="1920" height="1080" fill="url(#c)"/>
|
|
5691
|
+
<rect width="1920" height="1080" fill="url(#grid)"/>
|
|
5692
|
+
<rect width="1920" height="1080" fill="url(#g)"/>
|
|
5693
|
+
<line x1="1920" y1="0" x2="960" y2="540" stroke="url(#beam1)" stroke-width="3" stroke-dasharray="8 12"/>
|
|
5694
|
+
<line x1="0" y1="0" x2="960" y2="540" stroke="url(#beam2)" stroke-width="3" stroke-dasharray="8 12"/>
|
|
5695
|
+
<ellipse cx="960" cy="600" rx="500" ry="120" fill="none" stroke="#00e5ff" stroke-opacity="0.06" stroke-width="1" stroke-dasharray="4 8"/>
|
|
5696
|
+
<ellipse cx="960" cy="600" rx="350" ry="85" fill="none" stroke="#00e5ff" stroke-opacity="0.04" stroke-width="0.5" stroke-dasharray="3 6"/>
|
|
5697
|
+
</svg>
|
|
5698
|
+
`), si = gt(`
|
|
5699
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400">
|
|
5700
|
+
<defs>
|
|
5701
|
+
<radialGradient id="lg" cx="50%" cy="50%" r="50%">
|
|
5702
|
+
<stop offset="0%" stop-color="#00e5ff" stop-opacity="0.15"/>
|
|
5703
|
+
<stop offset="70%" stop-color="#00e5ff" stop-opacity="0.03"/>
|
|
5704
|
+
<stop offset="100%" stop-color="#00e5ff" stop-opacity="0"/>
|
|
5705
|
+
</radialGradient>
|
|
5706
|
+
</defs>
|
|
5707
|
+
<circle cx="200" cy="200" r="180" fill="url(#lg)"/>
|
|
5708
|
+
<circle cx="200" cy="200" r="120" fill="none" stroke="#00e5ff" stroke-opacity="0.12" stroke-width="1" stroke-dasharray="6 4"/>
|
|
5709
|
+
<circle cx="200" cy="200" r="80" fill="none" stroke="#00e5ff" stroke-opacity="0.08" stroke-width="0.5" stroke-dasharray="3 5"/>
|
|
5710
|
+
<circle cx="200" cy="200" r="6" fill="#00e5ff" fill-opacity="0.3"/>
|
|
5711
|
+
<text x="200" y="195" text-anchor="middle" font-family="Courier New, monospace" font-size="28" font-weight="700" letter-spacing="8" fill="#00e5ff" fill-opacity="0.25">D_IT</text>
|
|
5712
|
+
<text x="200" y="220" text-anchor="middle" font-family="Courier New, monospace" font-size="9" letter-spacing="4" fill="#00e5ff" fill-opacity="0.15">DIGITAL INFRASTRUCTURE</text>
|
|
5713
|
+
</svg>
|
|
5714
|
+
`);
|
|
5715
|
+
function Ri({
|
|
5663
5716
|
brandName: t = "BUSAUD AIOps",
|
|
5664
|
-
brandTag:
|
|
5665
|
-
services:
|
|
5717
|
+
brandTag: o = "3D MONITOR",
|
|
5718
|
+
services: n = [],
|
|
5666
5719
|
backgroundImage: i,
|
|
5667
|
-
|
|
5720
|
+
logoUrl: r,
|
|
5721
|
+
carouselSpeed: a = 6e-3,
|
|
5722
|
+
fontFamily: s,
|
|
5723
|
+
children: l
|
|
5668
5724
|
}) {
|
|
5669
|
-
const [
|
|
5670
|
-
|
|
5671
|
-
|
|
5725
|
+
const [f] = A(20), [c] = A(!1), [p] = A(!0), [h] = A(0.45), [g] = A(3.3), [u, b] = A("compact"), [m, x] = A(0), [w, P] = A(null), [y, D] = A(null), [B, $] = A(0), V = (C) => {
|
|
5726
|
+
u === "compact" && (P(C), b("expanding"), x(0), setTimeout(() => x(1), 50), setTimeout(() => x(2), 800), setTimeout(() => x(3), 1200), setTimeout(() => x(4), 1600), setTimeout(() => x(5), 2e3), setTimeout(() => {
|
|
5727
|
+
x(6), b("expanded");
|
|
5672
5728
|
}, 2400));
|
|
5673
|
-
},
|
|
5674
|
-
y ? (
|
|
5729
|
+
}, v = () => {
|
|
5730
|
+
y ? (D(null), $(0)) : u === "expanded" && (b("collapsing"), x(0), P(null), setTimeout(() => {
|
|
5675
5731
|
b((C) => C === "collapsing" ? "compact" : C);
|
|
5676
5732
|
}, 1e3));
|
|
5677
|
-
},
|
|
5678
|
-
|
|
5733
|
+
}, W = (C) => {
|
|
5734
|
+
D(C), $(0);
|
|
5679
5735
|
};
|
|
5680
5736
|
J.useEffect(() => {
|
|
5681
5737
|
if (!y) return;
|
|
5682
|
-
const C = performance.now(),
|
|
5683
|
-
const
|
|
5684
|
-
|
|
5685
|
-
},
|
|
5686
|
-
return () => cancelAnimationFrame(
|
|
5738
|
+
const C = performance.now(), $e = 1200, ne = () => {
|
|
5739
|
+
const Ne = performance.now() - C, Te = Math.min(1, Ne / $e);
|
|
5740
|
+
$(Te), Te < 1 && requestAnimationFrame(ne);
|
|
5741
|
+
}, le = requestAnimationFrame(ne);
|
|
5742
|
+
return () => cancelAnimationFrame(le);
|
|
5687
5743
|
}, [y]);
|
|
5688
|
-
const
|
|
5689
|
-
|
|
5690
|
-
},
|
|
5691
|
-
return /* @__PURE__ */ d("div", { className: "app", children: [
|
|
5744
|
+
const X = () => {
|
|
5745
|
+
D(null), $(0);
|
|
5746
|
+
}, z = n.find((C) => C.name === w), te = z?.status ?? "online", ie = z?.dbSync ?? !0, I = z?.metrics, U = z?.alerts, oe = 330, Se = 340, ke = y ? 1.15 : 1, G = y ? -(y.ex - oe) * 0.06 : 0, N = y ? -(y.ey - Se) * 0.06 : 0;
|
|
5747
|
+
return /* @__PURE__ */ d("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
|
|
5692
5748
|
/* @__PURE__ */ e(
|
|
5693
5749
|
"div",
|
|
5694
5750
|
{
|
|
@@ -5697,12 +5753,12 @@ function Si({
|
|
|
5697
5753
|
inset: 0,
|
|
5698
5754
|
zIndex: 0,
|
|
5699
5755
|
background: "#020810",
|
|
5700
|
-
backgroundImage:
|
|
5756
|
+
backgroundImage: `url(${i || li})`,
|
|
5701
5757
|
backgroundSize: "cover",
|
|
5702
5758
|
backgroundPosition: "center center",
|
|
5703
5759
|
backgroundRepeat: "no-repeat",
|
|
5704
5760
|
transition: "transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
5705
|
-
transform: `translate(${
|
|
5761
|
+
transform: `translate(${G}px, ${N}px) scale(${ke})`,
|
|
5706
5762
|
willChange: "transform"
|
|
5707
5763
|
}
|
|
5708
5764
|
}
|
|
@@ -5712,150 +5768,151 @@ function Si({
|
|
|
5712
5768
|
/* @__PURE__ */ e("span", { className: "brand-pulse" }),
|
|
5713
5769
|
/* @__PURE__ */ e("span", { className: "brand-text", children: t })
|
|
5714
5770
|
] }),
|
|
5715
|
-
/* @__PURE__ */ e("div", { className: "hdr-right", children: /* @__PURE__ */ e("span", { className: "hdr-tag", children:
|
|
5771
|
+
/* @__PURE__ */ e("div", { className: "hdr-right", children: /* @__PURE__ */ e("span", { className: "hdr-tag", children: o }) })
|
|
5716
5772
|
] }),
|
|
5717
5773
|
/* @__PURE__ */ e(
|
|
5718
5774
|
"main",
|
|
5719
5775
|
{
|
|
5720
5776
|
className: "scene",
|
|
5721
5777
|
style: {
|
|
5722
|
-
cursor:
|
|
5778
|
+
cursor: u === "expanded" ? "zoom-out" : "default"
|
|
5723
5779
|
},
|
|
5724
|
-
onClick:
|
|
5780
|
+
onClick: v,
|
|
5725
5781
|
children: /* @__PURE__ */ e(
|
|
5726
|
-
|
|
5782
|
+
zt,
|
|
5727
5783
|
{
|
|
5728
|
-
viewState:
|
|
5729
|
-
animPhase:
|
|
5730
|
-
selectedSystem:
|
|
5784
|
+
viewState: u,
|
|
5785
|
+
animPhase: m,
|
|
5786
|
+
selectedSystem: w,
|
|
5731
5787
|
selectedComponent: y,
|
|
5732
|
-
drillAnimPhase:
|
|
5733
|
-
rotateY:
|
|
5734
|
-
autoRotateComponents:
|
|
5735
|
-
componentScale:
|
|
5736
|
-
drillZoom:
|
|
5737
|
-
autoRotateCarousel:
|
|
5738
|
-
carouselSpeed:
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
|
|
5788
|
+
drillAnimPhase: B,
|
|
5789
|
+
rotateY: f,
|
|
5790
|
+
autoRotateComponents: c,
|
|
5791
|
+
componentScale: h,
|
|
5792
|
+
drillZoom: g,
|
|
5793
|
+
autoRotateCarousel: p,
|
|
5794
|
+
carouselSpeed: a,
|
|
5795
|
+
logoUrl: r || si,
|
|
5796
|
+
onSelectSystem: V,
|
|
5797
|
+
onBackgroundClick: v,
|
|
5798
|
+
onComponentClick: W,
|
|
5799
|
+
onCloseDrill: X,
|
|
5800
|
+
selectedSystemStatus: te,
|
|
5801
|
+
selectedSystemDbSync: ie,
|
|
5802
|
+
selectedSystemMetrics: I,
|
|
5803
|
+
selectedSystemAlerts: U,
|
|
5804
|
+
children: l
|
|
5748
5805
|
}
|
|
5749
5806
|
)
|
|
5750
5807
|
}
|
|
5751
5808
|
)
|
|
5752
5809
|
] });
|
|
5753
5810
|
}
|
|
5754
|
-
function
|
|
5755
|
-
return Array.from({ length:
|
|
5756
|
-
const a = r /
|
|
5757
|
-
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) *
|
|
5811
|
+
function k(t, o, n = 24) {
|
|
5812
|
+
return Array.from({ length: n }, (i, r) => {
|
|
5813
|
+
const a = r / n;
|
|
5814
|
+
return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * o + (Math.random() - 0.5) * 10));
|
|
5758
5815
|
});
|
|
5759
5816
|
}
|
|
5760
|
-
function
|
|
5817
|
+
function bt(t) {
|
|
5761
5818
|
return t === "critical" || t === "offline" ? "#ff2255" : t === "warning" ? "#ff8c00" : "#00e5ff";
|
|
5762
5819
|
}
|
|
5763
|
-
function me(t,
|
|
5764
|
-
const i = t === "online" ? "online" : t, r =
|
|
5820
|
+
function me(t, o, n) {
|
|
5821
|
+
const i = t === "online" ? "online" : t, r = bt(t), a = n?.cpuLoad ?? 50, s = n?.memLoad ?? 60, l = i === "critical" || i === "warning" && a > 80 ? i : "online", f = i === "warning" && s > 85 ? "warning" : i === "critical" ? "critical" : "online", c = i === "critical" && o === "APP-03" ? "critical" : "online", p = i === "offline" ? "offline" : "online";
|
|
5765
5822
|
return [
|
|
5766
|
-
{ id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(
|
|
5767
|
-
{ id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(
|
|
5768
|
-
{ id: "heap-0", label: "HEAP-0", status:
|
|
5769
|
-
{ id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(
|
|
5823
|
+
{ id: "cpu-0", label: "CPU-0", status: l, detail: i === "critical" ? "Core overload" : i === "warning" ? "Load spike" : void 0, element: /* @__PURE__ */ e(Oe, { color: r, label: "CPU-0", status: l, load: a }) },
|
|
5824
|
+
{ id: "cpu-1", label: "CPU-1", status: "online", element: /* @__PURE__ */ e(Oe, { color: r, label: "CPU-1", status: "online", load: a * 0.7 }) },
|
|
5825
|
+
{ id: "heap-0", label: "HEAP-0", status: f, detail: f === "warning" ? "Memory heap usage" : f === "critical" ? "OOM risk" : void 0, element: /* @__PURE__ */ e(De, { color: "#8855ee", label: "HEAP-0", status: f, usedPercent: s }) },
|
|
5826
|
+
{ id: "heap-1", label: "HEAP-1", status: "online", element: /* @__PURE__ */ e(De, { color: "#8855ee", label: "HEAP-1", status: "online", usedPercent: s * 0.85 }) },
|
|
5770
5827
|
{ id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
|
|
5771
5828
|
{ id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(ye, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
|
|
5772
5829
|
{ 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(
|
|
5774
|
-
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(
|
|
5830
|
+
{ id: "thread-pool", label: "THREAD-POOL", status: c, detail: c === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(L, { color: r, label: "THREAD-POOL", status: c }) },
|
|
5831
|
+
{ id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(ut, { color: r, label: "NET", status: p }) }
|
|
5775
5832
|
];
|
|
5776
5833
|
}
|
|
5777
5834
|
function xe(t) {
|
|
5778
|
-
const
|
|
5835
|
+
const o = t?.cpuLoad ?? 50, n = t?.memLoad ?? 60;
|
|
5779
5836
|
return [
|
|
5780
|
-
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data:
|
|
5781
|
-
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data:
|
|
5782
|
-
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data:
|
|
5783
|
-
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data:
|
|
5784
|
-
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
5785
|
-
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
5786
|
-
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data:
|
|
5787
|
-
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data:
|
|
5837
|
+
{ id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: k(o, 15) },
|
|
5838
|
+
{ id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: k(o * 0.7, 12) },
|
|
5839
|
+
{ id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: k(n, 18) },
|
|
5840
|
+
{ id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: k(n * 0.85, 14) },
|
|
5841
|
+
{ id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: k(40, 25) },
|
|
5842
|
+
{ id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: k(35, 20) },
|
|
5843
|
+
{ id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: k(30, 22) },
|
|
5844
|
+
{ id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: k(55, 20) }
|
|
5788
5845
|
];
|
|
5789
5846
|
}
|
|
5790
|
-
function
|
|
5791
|
-
const i = t === "online" ? "online" : t, r =
|
|
5847
|
+
function yt(t, o, n) {
|
|
5848
|
+
const i = t === "online" ? "online" : t, r = bt(t), a = i === "critical" || i === "offline" ? i : "online", s = i === "warning" ? "warning" : "online", l = i === "critical" ? "critical" : "online";
|
|
5792
5849
|
return [
|
|
5793
|
-
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(
|
|
5794
|
-
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(
|
|
5795
|
-
{ id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
5796
|
-
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(
|
|
5797
|
-
{ id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(
|
|
5798
|
-
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(
|
|
5799
|
-
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(
|
|
5800
|
-
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(
|
|
5801
|
-
{ id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(
|
|
5802
|
-
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(
|
|
5850
|
+
{ id: "port-1", label: "PORT-1", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-1", status: "online" }) },
|
|
5851
|
+
{ id: "port-2", label: "PORT-2", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-2", status: "online" }) },
|
|
5852
|
+
{ id: "port-3", label: "PORT-3", status: a, detail: i === "critical" ? "Gateway timeout" : i === "offline" ? "Unreachable" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "PORT-3", status: a }) },
|
|
5853
|
+
{ id: "port-4", label: "PORT-4", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-4", status: "online" }) },
|
|
5854
|
+
{ id: "port-5", label: "PORT-5", status: s, detail: s === "warning" ? "Latency spike" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "PORT-5", status: s }) },
|
|
5855
|
+
{ id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-6", status: "online" }) },
|
|
5856
|
+
{ id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-7", status: "online" }) },
|
|
5857
|
+
{ id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(M, { color: r, label: "PORT-8", status: "online" }) },
|
|
5858
|
+
{ id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(L, { color: r, label: "HTTP-WORKER", status: l }) },
|
|
5859
|
+
{ id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
|
|
5803
5860
|
];
|
|
5804
5861
|
}
|
|
5805
|
-
function
|
|
5806
|
-
const
|
|
5862
|
+
function mt(t) {
|
|
5863
|
+
const o = t?.traffic ?? 50;
|
|
5807
5864
|
return [
|
|
5808
|
-
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data:
|
|
5809
|
-
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data:
|
|
5810
|
-
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data:
|
|
5811
|
-
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data:
|
|
5812
|
-
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data:
|
|
5865
|
+
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: k(o, 20) },
|
|
5866
|
+
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: k(60, 25) },
|
|
5867
|
+
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: k(45, 20) },
|
|
5868
|
+
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: k(70, 30) },
|
|
5869
|
+
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: k(o * 0.9, 15) }
|
|
5813
5870
|
];
|
|
5814
5871
|
}
|
|
5815
|
-
function
|
|
5872
|
+
function di(t, o, n) {
|
|
5816
5873
|
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";
|
|
5817
5874
|
return [
|
|
5818
|
-
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(
|
|
5819
|
-
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(
|
|
5820
|
-
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(
|
|
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(
|
|
5822
|
-
{ id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(
|
|
5823
|
-
{ id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(
|
|
5824
|
-
{ id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(
|
|
5875
|
+
{ id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "INST-0", status: "online" }) },
|
|
5876
|
+
{ id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "INST-1", status: "online" }) },
|
|
5877
|
+
{ id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "INST-2", status: r }) },
|
|
5878
|
+
{ 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(L, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
|
|
5879
|
+
{ id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
|
|
5880
|
+
{ id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
|
|
5881
|
+
{ id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(L, { color: "#bb55ff", label: "WORKER-3", status: s }) }
|
|
5825
5882
|
];
|
|
5826
5883
|
}
|
|
5827
|
-
function
|
|
5828
|
-
const
|
|
5884
|
+
function ci(t) {
|
|
5885
|
+
const o = t?.queueDepth ?? 50;
|
|
5829
5886
|
return [
|
|
5830
|
-
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data:
|
|
5831
|
-
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data:
|
|
5832
|
-
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data:
|
|
5833
|
-
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data:
|
|
5834
|
-
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data:
|
|
5887
|
+
{ id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: k(o, 20) },
|
|
5888
|
+
{ id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: k(60, 25) },
|
|
5889
|
+
{ id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: k(45, 20) },
|
|
5890
|
+
{ id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: k(70, 30) },
|
|
5891
|
+
{ id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: k(o * 0.9, 15) }
|
|
5835
5892
|
];
|
|
5836
5893
|
}
|
|
5837
|
-
function
|
|
5838
|
-
const i = t === "online" ? "online" : t, r = "#ff8c00", a =
|
|
5894
|
+
function We(t, o, n) {
|
|
5895
|
+
const i = t === "online" ? "online" : t, r = "#ff8c00", a = n?.capacity ?? 72, s = i === "critical" || i === "offline" ? i : i === "warning" ? "warning" : "online", l = i === "warning" && o === "DB-STB" ? "warning" : "online", f = i === "critical" ? "critical" : "online", c = i === "warning" ? "warning" : "online";
|
|
5839
5896
|
return [
|
|
5840
|
-
{ id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(
|
|
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(
|
|
5842
|
-
{ id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(
|
|
5843
|
-
{ id: "conn-pool", label: "CONN-POOL", status:
|
|
5844
|
-
{ id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(
|
|
5897
|
+
{ id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Le, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
|
|
5898
|
+
{ id: "platter-1", label: "PLATTER-1", status: s, detail: i === "critical" ? "I/O failure" : i === "offline" ? "Connection lost" : i === "warning" ? "Slow queries" : void 0, element: /* @__PURE__ */ e(Le, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
|
|
5899
|
+
{ id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Le, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
|
|
5900
|
+
{ id: "conn-pool", label: "CONN-POOL", status: f, detail: f === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(L, { color: r, label: "CONN-POOL", status: f }) },
|
|
5901
|
+
{ id: "query-cache", label: "QUERY-CACHE", status: c, detail: c === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(L, { color: "#00ff88", label: "QUERY-CACHE", status: c }) }
|
|
5845
5902
|
];
|
|
5846
5903
|
}
|
|
5847
|
-
function
|
|
5848
|
-
const
|
|
5904
|
+
function ze(t) {
|
|
5905
|
+
const o = t?.capacity ?? 70;
|
|
5849
5906
|
return [
|
|
5850
|
-
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data:
|
|
5851
|
-
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data:
|
|
5852
|
-
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data:
|
|
5853
|
-
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data:
|
|
5854
|
-
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data:
|
|
5907
|
+
{ id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: k(40, 20) },
|
|
5908
|
+
{ id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: k(55, 25) },
|
|
5909
|
+
{ id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: k(35, 18) },
|
|
5910
|
+
{ id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: k(o, 15) },
|
|
5911
|
+
{ id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: k(75, 12) }
|
|
5855
5912
|
];
|
|
5856
5913
|
}
|
|
5857
|
-
function
|
|
5858
|
-
const
|
|
5914
|
+
function Je(t) {
|
|
5915
|
+
const o = [
|
|
5859
5916
|
t.wdStatus,
|
|
5860
5917
|
t.msStatus,
|
|
5861
5918
|
t.srv1Status,
|
|
@@ -5864,40 +5921,40 @@ function Ke(t) {
|
|
|
5864
5921
|
t.pdbStatus,
|
|
5865
5922
|
t.sdbStatus
|
|
5866
5923
|
];
|
|
5867
|
-
return
|
|
5924
|
+
return o.includes("critical") ? "critical" : o.includes("warning") ? "warning" : o.includes("offline") ? "offline" : "online";
|
|
5868
5925
|
}
|
|
5869
|
-
function
|
|
5870
|
-
const
|
|
5926
|
+
function Pi(t) {
|
|
5927
|
+
const o = Je(t), n = o === "critical" || o === "offline", i = o === "warning";
|
|
5871
5928
|
return [
|
|
5872
5929
|
{
|
|
5873
5930
|
label: "Uptime",
|
|
5874
|
-
value:
|
|
5875
|
-
color:
|
|
5931
|
+
value: n ? "94.20%" : "99.97%",
|
|
5932
|
+
color: n ? "#ff2255" : "#00ff88"
|
|
5876
5933
|
},
|
|
5877
5934
|
{
|
|
5878
5935
|
label: "Avg Latency",
|
|
5879
5936
|
value: i ? "98ms" : "18ms",
|
|
5880
5937
|
color: i ? "#ff8c00" : "#00e5ff"
|
|
5881
5938
|
},
|
|
5882
|
-
{ label: "Active Users", value:
|
|
5883
|
-
{ label: "Throughput", value: `${
|
|
5939
|
+
{ label: "Active Users", value: n ? "812" : "1,243", color: "#bb55ff" },
|
|
5940
|
+
{ label: "Throughput", value: `${n ? "1.8k" : "4.2k"} req/s`, color: "#fff" },
|
|
5884
5941
|
{
|
|
5885
5942
|
label: "Error Rate",
|
|
5886
|
-
value:
|
|
5887
|
-
color:
|
|
5943
|
+
value: n ? "3.85%" : i ? "0.72%" : "0.01%",
|
|
5944
|
+
color: n ? "#ff2255" : i ? "#ff8c00" : "#00ff88"
|
|
5888
5945
|
}
|
|
5889
5946
|
];
|
|
5890
5947
|
}
|
|
5891
|
-
function
|
|
5892
|
-
const
|
|
5948
|
+
function Ci(t) {
|
|
5949
|
+
const o = Je(t), n = o === "critical" || o === "offline", i = o === "warning";
|
|
5893
5950
|
return [
|
|
5894
5951
|
...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
|
|
5895
|
-
...
|
|
5896
|
-
...i && !
|
|
5897
|
-
...!
|
|
5952
|
+
...n ? [{ level: "critical", message: "Critical Component Failure" }] : [],
|
|
5953
|
+
...i && !n ? [{ level: "warning", message: "Component Warning State" }] : [],
|
|
5954
|
+
...!n && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
|
|
5898
5955
|
];
|
|
5899
5956
|
}
|
|
5900
|
-
const
|
|
5957
|
+
const pi = [
|
|
5901
5958
|
{ from: [330, 120], to: [220, 260], visibleAtPhase: 3 },
|
|
5902
5959
|
{ from: [330, 120], to: [440, 260], visibleAtPhase: 3 },
|
|
5903
5960
|
{ from: [220, 260], to: [165, 390], visibleAtPhase: 4 },
|
|
@@ -5910,11 +5967,11 @@ const si = [
|
|
|
5910
5967
|
{ from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
|
|
5911
5968
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
5912
5969
|
];
|
|
5913
|
-
function
|
|
5914
|
-
const
|
|
5970
|
+
function fi({ config: t }) {
|
|
5971
|
+
const o = J.useContext(ae), n = o?.rotateY ?? 20, i = o?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: f, pdbStatus: c, sdbStatus: p, dbSync: h } = t;
|
|
5915
5972
|
return /* @__PURE__ */ d(Ce, { children: [
|
|
5916
5973
|
/* @__PURE__ */ e(
|
|
5917
|
-
|
|
5974
|
+
T,
|
|
5918
5975
|
{
|
|
5919
5976
|
ex: 330,
|
|
5920
5977
|
ey: 120,
|
|
@@ -5922,11 +5979,11 @@ function di({ config: t }) {
|
|
|
5922
5979
|
zIndex: 10,
|
|
5923
5980
|
visibleAtPhase: 2,
|
|
5924
5981
|
color: "#00e5ff",
|
|
5925
|
-
children: /* @__PURE__ */ e(
|
|
5982
|
+
children: /* @__PURE__ */ e(ft, { status: "online", scale: 1.5 })
|
|
5926
5983
|
}
|
|
5927
5984
|
),
|
|
5928
5985
|
/* @__PURE__ */ e(
|
|
5929
|
-
|
|
5986
|
+
T,
|
|
5930
5987
|
{
|
|
5931
5988
|
ex: 220,
|
|
5932
5989
|
ey: 260,
|
|
@@ -5941,13 +5998,13 @@ function di({ config: t }) {
|
|
|
5941
5998
|
name: "WEB-DISP",
|
|
5942
5999
|
status: r,
|
|
5943
6000
|
context: { traffic: 78 },
|
|
5944
|
-
subComponents:
|
|
5945
|
-
graphSeries:
|
|
6001
|
+
subComponents: yt(r),
|
|
6002
|
+
graphSeries: mt({ traffic: 78 })
|
|
5946
6003
|
},
|
|
5947
6004
|
children: /* @__PURE__ */ e(
|
|
5948
|
-
|
|
6005
|
+
pt,
|
|
5949
6006
|
{
|
|
5950
|
-
rotateY:
|
|
6007
|
+
rotateY: n,
|
|
5951
6008
|
autoRotate: i,
|
|
5952
6009
|
status: r,
|
|
5953
6010
|
name: "WEB-DISP",
|
|
@@ -5959,7 +6016,7 @@ function di({ config: t }) {
|
|
|
5959
6016
|
}
|
|
5960
6017
|
),
|
|
5961
6018
|
/* @__PURE__ */ e(
|
|
5962
|
-
|
|
6019
|
+
T,
|
|
5963
6020
|
{
|
|
5964
6021
|
ex: 440,
|
|
5965
6022
|
ey: 260,
|
|
@@ -5974,13 +6031,13 @@ function di({ config: t }) {
|
|
|
5974
6031
|
name: "MSG-SRV",
|
|
5975
6032
|
status: a,
|
|
5976
6033
|
context: { queueDepth: 45 },
|
|
5977
|
-
subComponents:
|
|
5978
|
-
graphSeries:
|
|
6034
|
+
subComponents: di(a),
|
|
6035
|
+
graphSeries: ci({ queueDepth: 45 })
|
|
5979
6036
|
},
|
|
5980
6037
|
children: /* @__PURE__ */ e(
|
|
5981
|
-
|
|
6038
|
+
Jt,
|
|
5982
6039
|
{
|
|
5983
|
-
rotateY: -
|
|
6040
|
+
rotateY: -n,
|
|
5984
6041
|
autoRotate: i,
|
|
5985
6042
|
status: a,
|
|
5986
6043
|
name: "MSG-SRV",
|
|
@@ -5993,7 +6050,7 @@ function di({ config: t }) {
|
|
|
5993
6050
|
}
|
|
5994
6051
|
),
|
|
5995
6052
|
/* @__PURE__ */ e(
|
|
5996
|
-
|
|
6053
|
+
T,
|
|
5997
6054
|
{
|
|
5998
6055
|
ex: 165,
|
|
5999
6056
|
ey: 390,
|
|
@@ -6014,7 +6071,7 @@ function di({ config: t }) {
|
|
|
6014
6071
|
children: /* @__PURE__ */ e(
|
|
6015
6072
|
ue,
|
|
6016
6073
|
{
|
|
6017
|
-
rotateY:
|
|
6074
|
+
rotateY: n,
|
|
6018
6075
|
autoRotate: i,
|
|
6019
6076
|
status: s,
|
|
6020
6077
|
name: "APP-01",
|
|
@@ -6026,7 +6083,7 @@ function di({ config: t }) {
|
|
|
6026
6083
|
}
|
|
6027
6084
|
),
|
|
6028
6085
|
/* @__PURE__ */ e(
|
|
6029
|
-
|
|
6086
|
+
T,
|
|
6030
6087
|
{
|
|
6031
6088
|
ex: 330,
|
|
6032
6089
|
ey: 390,
|
|
@@ -6047,7 +6104,7 @@ function di({ config: t }) {
|
|
|
6047
6104
|
children: /* @__PURE__ */ e(
|
|
6048
6105
|
ue,
|
|
6049
6106
|
{
|
|
6050
|
-
rotateY:
|
|
6107
|
+
rotateY: n,
|
|
6051
6108
|
autoRotate: i,
|
|
6052
6109
|
status: l,
|
|
6053
6110
|
name: "APP-02",
|
|
@@ -6059,7 +6116,7 @@ function di({ config: t }) {
|
|
|
6059
6116
|
}
|
|
6060
6117
|
),
|
|
6061
6118
|
/* @__PURE__ */ e(
|
|
6062
|
-
|
|
6119
|
+
T,
|
|
6063
6120
|
{
|
|
6064
6121
|
ex: 495,
|
|
6065
6122
|
ey: 390,
|
|
@@ -6072,17 +6129,17 @@ function di({ config: t }) {
|
|
|
6072
6129
|
componentInfo: {
|
|
6073
6130
|
type: "server",
|
|
6074
6131
|
name: "APP-03",
|
|
6075
|
-
status:
|
|
6132
|
+
status: f,
|
|
6076
6133
|
context: { cpuLoad: 45, memLoad: 63 },
|
|
6077
|
-
subComponents: me(
|
|
6134
|
+
subComponents: me(f, "APP-03", { cpuLoad: 45, memLoad: 63 }),
|
|
6078
6135
|
graphSeries: xe({ cpuLoad: 45, memLoad: 63 })
|
|
6079
6136
|
},
|
|
6080
6137
|
children: /* @__PURE__ */ e(
|
|
6081
6138
|
ue,
|
|
6082
6139
|
{
|
|
6083
|
-
rotateY:
|
|
6140
|
+
rotateY: n,
|
|
6084
6141
|
autoRotate: i,
|
|
6085
|
-
status:
|
|
6142
|
+
status: f,
|
|
6086
6143
|
name: "APP-03",
|
|
6087
6144
|
cpuLoad: 45,
|
|
6088
6145
|
memLoad: 63,
|
|
@@ -6092,7 +6149,7 @@ function di({ config: t }) {
|
|
|
6092
6149
|
}
|
|
6093
6150
|
),
|
|
6094
6151
|
/* @__PURE__ */ e(
|
|
6095
|
-
|
|
6152
|
+
T,
|
|
6096
6153
|
{
|
|
6097
6154
|
ex: 200,
|
|
6098
6155
|
ey: 520,
|
|
@@ -6107,13 +6164,13 @@ function di({ config: t }) {
|
|
|
6107
6164
|
name: "DB-PRI",
|
|
6108
6165
|
status: c,
|
|
6109
6166
|
context: { capacity: 72 },
|
|
6110
|
-
subComponents:
|
|
6111
|
-
graphSeries:
|
|
6167
|
+
subComponents: We(c, "DB-PRI", { capacity: 72 }),
|
|
6168
|
+
graphSeries: ze({ capacity: 72 })
|
|
6112
6169
|
},
|
|
6113
6170
|
children: /* @__PURE__ */ e(
|
|
6114
|
-
|
|
6171
|
+
Ie,
|
|
6115
6172
|
{
|
|
6116
|
-
rotateY: -
|
|
6173
|
+
rotateY: -n,
|
|
6117
6174
|
autoRotate: i,
|
|
6118
6175
|
status: c,
|
|
6119
6176
|
name: "DB-PRI",
|
|
@@ -6125,7 +6182,7 @@ function di({ config: t }) {
|
|
|
6125
6182
|
}
|
|
6126
6183
|
),
|
|
6127
6184
|
/* @__PURE__ */ e(
|
|
6128
|
-
|
|
6185
|
+
T,
|
|
6129
6186
|
{
|
|
6130
6187
|
ex: 460,
|
|
6131
6188
|
ey: 520,
|
|
@@ -6140,13 +6197,13 @@ function di({ config: t }) {
|
|
|
6140
6197
|
name: "DB-STB",
|
|
6141
6198
|
status: p,
|
|
6142
6199
|
context: { capacity: 72 },
|
|
6143
|
-
subComponents:
|
|
6144
|
-
graphSeries:
|
|
6200
|
+
subComponents: We(p, "DB-STB", { capacity: 72 }),
|
|
6201
|
+
graphSeries: ze({ capacity: 72 })
|
|
6145
6202
|
},
|
|
6146
6203
|
children: /* @__PURE__ */ e(
|
|
6147
|
-
|
|
6204
|
+
Ie,
|
|
6148
6205
|
{
|
|
6149
|
-
rotateY:
|
|
6206
|
+
rotateY: n,
|
|
6150
6207
|
autoRotate: i,
|
|
6151
6208
|
status: p,
|
|
6152
6209
|
name: "DB-STB",
|
|
@@ -6158,7 +6215,7 @@ function di({ config: t }) {
|
|
|
6158
6215
|
}
|
|
6159
6216
|
),
|
|
6160
6217
|
/* @__PURE__ */ e(
|
|
6161
|
-
|
|
6218
|
+
T,
|
|
6162
6219
|
{
|
|
6163
6220
|
ex: 330,
|
|
6164
6221
|
ey: 520,
|
|
@@ -6167,32 +6224,32 @@ function di({ config: t }) {
|
|
|
6167
6224
|
visibleAtPhase: 6,
|
|
6168
6225
|
fixedScale: 1,
|
|
6169
6226
|
bare: !0,
|
|
6170
|
-
children: /* @__PURE__ */ e(
|
|
6227
|
+
children: /* @__PURE__ */ e(ct, { synced: h, latencyMs: h ? 8 : 342 })
|
|
6171
6228
|
}
|
|
6172
6229
|
),
|
|
6173
|
-
/* @__PURE__ */ e(
|
|
6230
|
+
/* @__PURE__ */ e(hi, { config: t })
|
|
6174
6231
|
] });
|
|
6175
6232
|
}
|
|
6176
|
-
function
|
|
6177
|
-
const
|
|
6178
|
-
return
|
|
6233
|
+
function hi({ config: t }) {
|
|
6234
|
+
const o = J.useContext(ae), { wdStatus: n, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: f, dbSync: c } = t, p = o?.isSelected && o?.isExpandedPos;
|
|
6235
|
+
return o?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
6179
6236
|
/* @__PURE__ */ e(
|
|
6180
|
-
|
|
6237
|
+
O,
|
|
6181
6238
|
{
|
|
6182
6239
|
ex: 220,
|
|
6183
6240
|
ey: 260,
|
|
6184
|
-
status:
|
|
6241
|
+
status: n,
|
|
6185
6242
|
title: "WEB-DISP",
|
|
6186
|
-
msg:
|
|
6243
|
+
msg: n === "critical" || n === "offline" ? "Gateway timeout detected." : "High latency detected.",
|
|
6187
6244
|
offsetX: -90,
|
|
6188
6245
|
offsetY: -40,
|
|
6189
6246
|
align: "left",
|
|
6190
6247
|
isVisible: !!p,
|
|
6191
|
-
internalRef:
|
|
6248
|
+
internalRef: n !== "online" ? "PORT-3" : void 0
|
|
6192
6249
|
}
|
|
6193
6250
|
),
|
|
6194
6251
|
/* @__PURE__ */ e(
|
|
6195
|
-
|
|
6252
|
+
O,
|
|
6196
6253
|
{
|
|
6197
6254
|
ex: 440,
|
|
6198
6255
|
ey: 260,
|
|
@@ -6207,7 +6264,7 @@ function ci({ config: t }) {
|
|
|
6207
6264
|
}
|
|
6208
6265
|
),
|
|
6209
6266
|
/* @__PURE__ */ e(
|
|
6210
|
-
|
|
6267
|
+
O,
|
|
6211
6268
|
{
|
|
6212
6269
|
ex: 165,
|
|
6213
6270
|
ey: 390,
|
|
@@ -6222,7 +6279,7 @@ function ci({ config: t }) {
|
|
|
6222
6279
|
}
|
|
6223
6280
|
),
|
|
6224
6281
|
/* @__PURE__ */ e(
|
|
6225
|
-
|
|
6282
|
+
O,
|
|
6226
6283
|
{
|
|
6227
6284
|
ex: 330,
|
|
6228
6285
|
ey: 390,
|
|
@@ -6237,7 +6294,7 @@ function ci({ config: t }) {
|
|
|
6237
6294
|
}
|
|
6238
6295
|
),
|
|
6239
6296
|
/* @__PURE__ */ e(
|
|
6240
|
-
|
|
6297
|
+
O,
|
|
6241
6298
|
{
|
|
6242
6299
|
ex: 495,
|
|
6243
6300
|
ey: 390,
|
|
@@ -6252,7 +6309,7 @@ function ci({ config: t }) {
|
|
|
6252
6309
|
}
|
|
6253
6310
|
),
|
|
6254
6311
|
/* @__PURE__ */ e(
|
|
6255
|
-
|
|
6312
|
+
O,
|
|
6256
6313
|
{
|
|
6257
6314
|
ex: 200,
|
|
6258
6315
|
ey: 520,
|
|
@@ -6267,22 +6324,22 @@ function ci({ config: t }) {
|
|
|
6267
6324
|
}
|
|
6268
6325
|
),
|
|
6269
6326
|
/* @__PURE__ */ e(
|
|
6270
|
-
|
|
6327
|
+
O,
|
|
6271
6328
|
{
|
|
6272
6329
|
ex: 460,
|
|
6273
6330
|
ey: 520,
|
|
6274
|
-
status:
|
|
6331
|
+
status: f,
|
|
6275
6332
|
title: "DB-STB",
|
|
6276
|
-
msg:
|
|
6333
|
+
msg: f === "critical" || f === "offline" ? "Sync failure." : "Replication lag.",
|
|
6277
6334
|
offsetX: 110,
|
|
6278
6335
|
offsetY: 30,
|
|
6279
6336
|
align: "right",
|
|
6280
6337
|
isVisible: !!p,
|
|
6281
|
-
internalRef:
|
|
6338
|
+
internalRef: f !== "online" ? "PLATTER-2" : void 0
|
|
6282
6339
|
}
|
|
6283
6340
|
),
|
|
6284
6341
|
!c && /* @__PURE__ */ e(
|
|
6285
|
-
|
|
6342
|
+
O,
|
|
6286
6343
|
{
|
|
6287
6344
|
ex: 330,
|
|
6288
6345
|
ey: 520,
|
|
@@ -6298,20 +6355,20 @@ function ci({ config: t }) {
|
|
|
6298
6355
|
)
|
|
6299
6356
|
] }) : null;
|
|
6300
6357
|
}
|
|
6301
|
-
function
|
|
6358
|
+
function Ei({ config: t, ...o }) {
|
|
6302
6359
|
return /* @__PURE__ */ e(
|
|
6303
|
-
|
|
6360
|
+
dt,
|
|
6304
6361
|
{
|
|
6305
6362
|
name: t.name,
|
|
6306
|
-
status:
|
|
6307
|
-
connections:
|
|
6308
|
-
...
|
|
6309
|
-
children: /* @__PURE__ */ e(
|
|
6363
|
+
status: Je(t),
|
|
6364
|
+
connections: pi,
|
|
6365
|
+
...o,
|
|
6366
|
+
children: /* @__PURE__ */ e(fi, { config: t })
|
|
6310
6367
|
}
|
|
6311
6368
|
);
|
|
6312
6369
|
}
|
|
6313
|
-
function
|
|
6314
|
-
const
|
|
6370
|
+
function et(t) {
|
|
6371
|
+
const o = [
|
|
6315
6372
|
t.dispStatus,
|
|
6316
6373
|
t.srv1Status,
|
|
6317
6374
|
t.srv2Status,
|
|
@@ -6319,15 +6376,15 @@ function Ze(t) {
|
|
|
6319
6376
|
t.pdbStatus,
|
|
6320
6377
|
t.sdbStatus
|
|
6321
6378
|
];
|
|
6322
|
-
return
|
|
6379
|
+
return o.includes("critical") ? "critical" : o.includes("warning") ? "warning" : o.includes("offline") ? "offline" : "online";
|
|
6323
6380
|
}
|
|
6324
|
-
function
|
|
6325
|
-
const
|
|
6381
|
+
function Ti(t) {
|
|
6382
|
+
const o = et(t), n = o === "critical" || o === "offline", i = o === "warning";
|
|
6326
6383
|
return [
|
|
6327
6384
|
{
|
|
6328
6385
|
label: "Uptime",
|
|
6329
|
-
value:
|
|
6330
|
-
color:
|
|
6386
|
+
value: n ? "92.14%" : "99.98%",
|
|
6387
|
+
color: n ? "#ff2255" : "#00ff88"
|
|
6331
6388
|
},
|
|
6332
6389
|
{
|
|
6333
6390
|
label: "Avg Latency",
|
|
@@ -6338,21 +6395,21 @@ function Pi(t) {
|
|
|
6338
6395
|
{ label: "Throughput", value: "12.4k req/s", color: "#fff" },
|
|
6339
6396
|
{
|
|
6340
6397
|
label: "Error Rate",
|
|
6341
|
-
value:
|
|
6342
|
-
color:
|
|
6398
|
+
value: n ? "5.42%" : i ? "1.20%" : "0.01%",
|
|
6399
|
+
color: n ? "#ff2255" : i ? "#ff8c00" : "#00ff88"
|
|
6343
6400
|
}
|
|
6344
6401
|
];
|
|
6345
6402
|
}
|
|
6346
|
-
function
|
|
6347
|
-
const
|
|
6403
|
+
function Ai(t) {
|
|
6404
|
+
const o = et(t), n = o === "critical" || o === "offline", i = o === "warning";
|
|
6348
6405
|
return [
|
|
6349
6406
|
...t.dbSync ? [] : [{ level: "warning", message: "DB Replication Lag Detected" }],
|
|
6350
|
-
...
|
|
6351
|
-
...i && !
|
|
6352
|
-
...!
|
|
6407
|
+
...n ? [{ level: "critical", message: "Critical Component Failure" }] : [],
|
|
6408
|
+
...i && !n ? [{ level: "warning", message: "Component Warning State" }] : [],
|
|
6409
|
+
...!n && !i && t.dbSync ? [{ level: "info", message: "All Systems Nominal" }] : []
|
|
6353
6410
|
];
|
|
6354
6411
|
}
|
|
6355
|
-
const
|
|
6412
|
+
const ui = [
|
|
6356
6413
|
{ from: [330, 120], to: [330, 260], visibleAtPhase: 3 },
|
|
6357
6414
|
{ from: [330, 260], to: [165, 390], visibleAtPhase: 4 },
|
|
6358
6415
|
{ from: [330, 260], to: [330, 390], visibleAtPhase: 4 },
|
|
@@ -6361,11 +6418,11 @@ const pi = [
|
|
|
6361
6418
|
{ from: [330, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" },
|
|
6362
6419
|
{ from: [495, 390], to: [200, 520], visibleAtPhase: 5, color: "#ff8c00" }
|
|
6363
6420
|
];
|
|
6364
|
-
function
|
|
6365
|
-
const
|
|
6421
|
+
function gi({ config: t }) {
|
|
6422
|
+
const o = J.useContext(ae), n = o?.rotateY ?? 20, i = o?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: f, sdbStatus: c, dbSync: p } = t;
|
|
6366
6423
|
return /* @__PURE__ */ d(Ce, { children: [
|
|
6367
6424
|
/* @__PURE__ */ e(
|
|
6368
|
-
|
|
6425
|
+
T,
|
|
6369
6426
|
{
|
|
6370
6427
|
ex: 330,
|
|
6371
6428
|
ey: 120,
|
|
@@ -6373,11 +6430,11 @@ function fi({ config: t }) {
|
|
|
6373
6430
|
zIndex: 10,
|
|
6374
6431
|
visibleAtPhase: 2,
|
|
6375
6432
|
color: "#00e5ff",
|
|
6376
|
-
children: /* @__PURE__ */ e(
|
|
6433
|
+
children: /* @__PURE__ */ e(ft, { status: "online", scale: 1.5 })
|
|
6377
6434
|
}
|
|
6378
6435
|
),
|
|
6379
6436
|
/* @__PURE__ */ e(
|
|
6380
|
-
|
|
6437
|
+
T,
|
|
6381
6438
|
{
|
|
6382
6439
|
ex: 330,
|
|
6383
6440
|
ey: 260,
|
|
@@ -6392,13 +6449,13 @@ function fi({ config: t }) {
|
|
|
6392
6449
|
name: "DISP-01",
|
|
6393
6450
|
status: r,
|
|
6394
6451
|
context: { traffic: 78 },
|
|
6395
|
-
subComponents:
|
|
6396
|
-
graphSeries:
|
|
6452
|
+
subComponents: yt(r),
|
|
6453
|
+
graphSeries: mt({ traffic: 78 })
|
|
6397
6454
|
},
|
|
6398
6455
|
children: /* @__PURE__ */ e(
|
|
6399
|
-
|
|
6456
|
+
pt,
|
|
6400
6457
|
{
|
|
6401
|
-
rotateY:
|
|
6458
|
+
rotateY: n,
|
|
6402
6459
|
autoRotate: i,
|
|
6403
6460
|
status: r,
|
|
6404
6461
|
name: "DISP-01",
|
|
@@ -6410,7 +6467,7 @@ function fi({ config: t }) {
|
|
|
6410
6467
|
}
|
|
6411
6468
|
),
|
|
6412
6469
|
/* @__PURE__ */ e(
|
|
6413
|
-
|
|
6470
|
+
T,
|
|
6414
6471
|
{
|
|
6415
6472
|
ex: 165,
|
|
6416
6473
|
ey: 390,
|
|
@@ -6431,7 +6488,7 @@ function fi({ config: t }) {
|
|
|
6431
6488
|
children: /* @__PURE__ */ e(
|
|
6432
6489
|
ue,
|
|
6433
6490
|
{
|
|
6434
|
-
rotateY:
|
|
6491
|
+
rotateY: n,
|
|
6435
6492
|
autoRotate: i,
|
|
6436
6493
|
status: a,
|
|
6437
6494
|
name: "APP-01",
|
|
@@ -6443,7 +6500,7 @@ function fi({ config: t }) {
|
|
|
6443
6500
|
}
|
|
6444
6501
|
),
|
|
6445
6502
|
/* @__PURE__ */ e(
|
|
6446
|
-
|
|
6503
|
+
T,
|
|
6447
6504
|
{
|
|
6448
6505
|
ex: 330,
|
|
6449
6506
|
ey: 390,
|
|
@@ -6464,7 +6521,7 @@ function fi({ config: t }) {
|
|
|
6464
6521
|
children: /* @__PURE__ */ e(
|
|
6465
6522
|
ue,
|
|
6466
6523
|
{
|
|
6467
|
-
rotateY:
|
|
6524
|
+
rotateY: n,
|
|
6468
6525
|
autoRotate: i,
|
|
6469
6526
|
status: s,
|
|
6470
6527
|
name: "APP-02",
|
|
@@ -6476,7 +6533,7 @@ function fi({ config: t }) {
|
|
|
6476
6533
|
}
|
|
6477
6534
|
),
|
|
6478
6535
|
/* @__PURE__ */ e(
|
|
6479
|
-
|
|
6536
|
+
T,
|
|
6480
6537
|
{
|
|
6481
6538
|
ex: 495,
|
|
6482
6539
|
ey: 390,
|
|
@@ -6497,7 +6554,7 @@ function fi({ config: t }) {
|
|
|
6497
6554
|
children: /* @__PURE__ */ e(
|
|
6498
6555
|
ue,
|
|
6499
6556
|
{
|
|
6500
|
-
rotateY:
|
|
6557
|
+
rotateY: n,
|
|
6501
6558
|
autoRotate: i,
|
|
6502
6559
|
status: l,
|
|
6503
6560
|
name: "APP-03",
|
|
@@ -6509,7 +6566,7 @@ function fi({ config: t }) {
|
|
|
6509
6566
|
}
|
|
6510
6567
|
),
|
|
6511
6568
|
/* @__PURE__ */ e(
|
|
6512
|
-
|
|
6569
|
+
T,
|
|
6513
6570
|
{
|
|
6514
6571
|
ex: 200,
|
|
6515
6572
|
ey: 520,
|
|
@@ -6522,17 +6579,17 @@ function fi({ config: t }) {
|
|
|
6522
6579
|
componentInfo: {
|
|
6523
6580
|
type: "database",
|
|
6524
6581
|
name: "DB-PRI",
|
|
6525
|
-
status:
|
|
6582
|
+
status: f,
|
|
6526
6583
|
context: { capacity: 72 },
|
|
6527
|
-
subComponents:
|
|
6528
|
-
graphSeries:
|
|
6584
|
+
subComponents: We(f, "DB-PRI", { capacity: 72 }),
|
|
6585
|
+
graphSeries: ze({ capacity: 72 })
|
|
6529
6586
|
},
|
|
6530
6587
|
children: /* @__PURE__ */ e(
|
|
6531
|
-
|
|
6588
|
+
Ie,
|
|
6532
6589
|
{
|
|
6533
|
-
rotateY: -
|
|
6590
|
+
rotateY: -n,
|
|
6534
6591
|
autoRotate: i,
|
|
6535
|
-
status:
|
|
6592
|
+
status: f,
|
|
6536
6593
|
name: "DB-PRI",
|
|
6537
6594
|
capacity: 72,
|
|
6538
6595
|
connections: 284,
|
|
@@ -6542,7 +6599,7 @@ function fi({ config: t }) {
|
|
|
6542
6599
|
}
|
|
6543
6600
|
),
|
|
6544
6601
|
/* @__PURE__ */ e(
|
|
6545
|
-
|
|
6602
|
+
T,
|
|
6546
6603
|
{
|
|
6547
6604
|
ex: 460,
|
|
6548
6605
|
ey: 520,
|
|
@@ -6557,13 +6614,13 @@ function fi({ config: t }) {
|
|
|
6557
6614
|
name: "DB-STB",
|
|
6558
6615
|
status: c,
|
|
6559
6616
|
context: { capacity: 72 },
|
|
6560
|
-
subComponents:
|
|
6561
|
-
graphSeries:
|
|
6617
|
+
subComponents: We(c, "DB-STB", { capacity: 72 }),
|
|
6618
|
+
graphSeries: ze({ capacity: 72 })
|
|
6562
6619
|
},
|
|
6563
6620
|
children: /* @__PURE__ */ e(
|
|
6564
|
-
|
|
6621
|
+
Ie,
|
|
6565
6622
|
{
|
|
6566
|
-
rotateY:
|
|
6623
|
+
rotateY: n,
|
|
6567
6624
|
autoRotate: i,
|
|
6568
6625
|
status: c,
|
|
6569
6626
|
name: "DB-STB",
|
|
@@ -6575,7 +6632,7 @@ function fi({ config: t }) {
|
|
|
6575
6632
|
}
|
|
6576
6633
|
),
|
|
6577
6634
|
/* @__PURE__ */ e(
|
|
6578
|
-
|
|
6635
|
+
T,
|
|
6579
6636
|
{
|
|
6580
6637
|
ex: 330,
|
|
6581
6638
|
ey: 520,
|
|
@@ -6584,32 +6641,32 @@ function fi({ config: t }) {
|
|
|
6584
6641
|
visibleAtPhase: 6,
|
|
6585
6642
|
fixedScale: 1,
|
|
6586
6643
|
bare: !0,
|
|
6587
|
-
children: /* @__PURE__ */ e(
|
|
6644
|
+
children: /* @__PURE__ */ e(ct, { synced: p, latencyMs: p ? 8 : 342 })
|
|
6588
6645
|
}
|
|
6589
6646
|
),
|
|
6590
|
-
/* @__PURE__ */ e(
|
|
6647
|
+
/* @__PURE__ */ e(bi, { config: t })
|
|
6591
6648
|
] });
|
|
6592
6649
|
}
|
|
6593
|
-
function
|
|
6594
|
-
const
|
|
6595
|
-
return
|
|
6650
|
+
function bi({ config: t }) {
|
|
6651
|
+
const o = J.useContext(ae), { dispStatus: n, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: f } = t, c = o?.isSelected && o?.isExpandedPos;
|
|
6652
|
+
return o?.isSelected ? /* @__PURE__ */ d("div", { style: { pointerEvents: "none" }, children: [
|
|
6596
6653
|
/* @__PURE__ */ e(
|
|
6597
|
-
|
|
6654
|
+
O,
|
|
6598
6655
|
{
|
|
6599
6656
|
ex: 330,
|
|
6600
6657
|
ey: 260,
|
|
6601
|
-
status:
|
|
6658
|
+
status: n,
|
|
6602
6659
|
title: "DISP-01",
|
|
6603
|
-
msg:
|
|
6660
|
+
msg: n === "critical" || n === "offline" ? "Gateway timeout detected." : "High latency detected.",
|
|
6604
6661
|
offsetX: -90,
|
|
6605
6662
|
offsetY: -40,
|
|
6606
6663
|
align: "left",
|
|
6607
6664
|
isVisible: !!c,
|
|
6608
|
-
internalRef:
|
|
6665
|
+
internalRef: n !== "online" ? "PORT-3" : void 0
|
|
6609
6666
|
}
|
|
6610
6667
|
),
|
|
6611
6668
|
/* @__PURE__ */ e(
|
|
6612
|
-
|
|
6669
|
+
O,
|
|
6613
6670
|
{
|
|
6614
6671
|
ex: 165,
|
|
6615
6672
|
ey: 390,
|
|
@@ -6624,7 +6681,7 @@ function hi({ config: t }) {
|
|
|
6624
6681
|
}
|
|
6625
6682
|
),
|
|
6626
6683
|
/* @__PURE__ */ e(
|
|
6627
|
-
|
|
6684
|
+
O,
|
|
6628
6685
|
{
|
|
6629
6686
|
ex: 330,
|
|
6630
6687
|
ey: 390,
|
|
@@ -6639,7 +6696,7 @@ function hi({ config: t }) {
|
|
|
6639
6696
|
}
|
|
6640
6697
|
),
|
|
6641
6698
|
/* @__PURE__ */ e(
|
|
6642
|
-
|
|
6699
|
+
O,
|
|
6643
6700
|
{
|
|
6644
6701
|
ex: 495,
|
|
6645
6702
|
ey: 390,
|
|
@@ -6654,7 +6711,7 @@ function hi({ config: t }) {
|
|
|
6654
6711
|
}
|
|
6655
6712
|
),
|
|
6656
6713
|
/* @__PURE__ */ e(
|
|
6657
|
-
|
|
6714
|
+
O,
|
|
6658
6715
|
{
|
|
6659
6716
|
ex: 200,
|
|
6660
6717
|
ey: 520,
|
|
@@ -6669,7 +6726,7 @@ function hi({ config: t }) {
|
|
|
6669
6726
|
}
|
|
6670
6727
|
),
|
|
6671
6728
|
/* @__PURE__ */ e(
|
|
6672
|
-
|
|
6729
|
+
O,
|
|
6673
6730
|
{
|
|
6674
6731
|
ex: 460,
|
|
6675
6732
|
ey: 520,
|
|
@@ -6683,8 +6740,8 @@ function hi({ config: t }) {
|
|
|
6683
6740
|
internalRef: l !== "online" ? "PLATTER-2" : void 0
|
|
6684
6741
|
}
|
|
6685
6742
|
),
|
|
6686
|
-
!
|
|
6687
|
-
|
|
6743
|
+
!f && /* @__PURE__ */ e(
|
|
6744
|
+
O,
|
|
6688
6745
|
{
|
|
6689
6746
|
ex: 330,
|
|
6690
6747
|
ey: 520,
|
|
@@ -6700,70 +6757,72 @@ function hi({ config: t }) {
|
|
|
6700
6757
|
)
|
|
6701
6758
|
] }) : null;
|
|
6702
6759
|
}
|
|
6703
|
-
function
|
|
6760
|
+
function Li({ config: t, ...o }) {
|
|
6704
6761
|
return /* @__PURE__ */ e(
|
|
6705
|
-
|
|
6762
|
+
dt,
|
|
6706
6763
|
{
|
|
6707
6764
|
name: t.name,
|
|
6708
|
-
status:
|
|
6709
|
-
connections:
|
|
6710
|
-
...
|
|
6711
|
-
children: /* @__PURE__ */ e(
|
|
6765
|
+
status: et(t),
|
|
6766
|
+
connections: ui,
|
|
6767
|
+
...o,
|
|
6768
|
+
children: /* @__PURE__ */ e(gi, { config: t })
|
|
6712
6769
|
}
|
|
6713
6770
|
);
|
|
6714
6771
|
}
|
|
6715
6772
|
export {
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6773
|
+
Ri as AIOPsDashboard,
|
|
6774
|
+
Oe as CPU3D,
|
|
6775
|
+
zt as Carousel,
|
|
6776
|
+
qe as CarouselContext,
|
|
6777
|
+
Ke as CarouselItemContext,
|
|
6778
|
+
Ot as ComponentDialog,
|
|
6779
|
+
$i as ComponentDrillView,
|
|
6780
|
+
li as DEFAULT_BACKGROUND,
|
|
6781
|
+
si as DEFAULT_LOGO,
|
|
6782
|
+
Ie as Database3D,
|
|
6724
6783
|
ye as DriveBay3D,
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6784
|
+
ui as EXCHANGE_CONNECTIONS,
|
|
6785
|
+
Li as ExchangeService,
|
|
6786
|
+
wi as HOLO_BLUE,
|
|
6787
|
+
vi as HOLO_CYAN,
|
|
6788
|
+
Ge as HOLO_GLASS,
|
|
6730
6789
|
we as HOLO_SURFACE,
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6739
|
-
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
|
|
6790
|
+
ti as HistoricalGraphPanel,
|
|
6791
|
+
Bt as HoloBase,
|
|
6792
|
+
ft as Human3D,
|
|
6793
|
+
De as Memory3D,
|
|
6794
|
+
Jt as MessageServer3D,
|
|
6795
|
+
ut as NetworkBlock3D,
|
|
6796
|
+
O as NodeCallout,
|
|
6797
|
+
Le as Platter3D,
|
|
6798
|
+
M as Port3D,
|
|
6799
|
+
Ei as SAPService,
|
|
6800
|
+
pi as SAP_CONNECTIONS,
|
|
6801
|
+
S as STATUS_CFG,
|
|
6743
6802
|
ue as Server3D,
|
|
6744
|
-
|
|
6803
|
+
dt as Service,
|
|
6745
6804
|
ae as ServiceContext,
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
|
|
6805
|
+
Lt as ServiceDialog,
|
|
6806
|
+
T as ServiceNode,
|
|
6807
|
+
Nt as SvgConnection,
|
|
6808
|
+
ct as SyncBridge,
|
|
6809
|
+
L as ThreadPool3D,
|
|
6810
|
+
pt as WebDispatcher3D,
|
|
6811
|
+
Ai as computeExchangeDialogAlerts,
|
|
6812
|
+
Ti as computeExchangeDialogMetrics,
|
|
6813
|
+
et as computeExchangeServiceStatus,
|
|
6814
|
+
Ci as computeSAPDialogAlerts,
|
|
6815
|
+
Pi as computeSAPDialogMetrics,
|
|
6816
|
+
Je as computeSAPServiceStatus,
|
|
6817
|
+
ze as getDatabaseGraphSeries,
|
|
6818
|
+
We as getDatabaseSubComponents,
|
|
6819
|
+
mt as getDispatcherGraphSeries,
|
|
6820
|
+
yt as getDispatcherSubComponents,
|
|
6821
|
+
ci as getMessageServerGraphSeries,
|
|
6822
|
+
di as getMessageServerSubComponents,
|
|
6764
6823
|
xe as getServerGraphSeries,
|
|
6765
6824
|
me as getServerSubComponents,
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
|
|
6825
|
+
Qe as makeFaceStyles,
|
|
6826
|
+
Si as useCarouselContext,
|
|
6827
|
+
ki as useCarouselItemContext
|
|
6769
6828
|
};
|