react-aiops 0.1.12 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -146,7 +146,7 @@ function Ut({
146
146
  }
147
147
  ),
148
148
  d.map((p, f) => {
149
- const b = Ht[p.level];
149
+ const g = Ht[p.level];
150
150
  return /* @__PURE__ */ c(
151
151
  "div",
152
152
  {
@@ -154,15 +154,15 @@ function Ut({
154
154
  display: "flex",
155
155
  gap: 8,
156
156
  alignItems: "flex-start",
157
- color: b.color,
157
+ color: g.color,
158
158
  fontSize: 12,
159
- background: b.bg,
159
+ background: g.bg,
160
160
  padding: "6px 10px",
161
161
  borderRadius: 4,
162
- borderLeft: `2px solid ${b.border}`
162
+ borderLeft: `2px solid ${g.border}`
163
163
  },
164
164
  children: [
165
- /* @__PURE__ */ e("span", { children: b.icon }),
165
+ /* @__PURE__ */ e("span", { children: g.icon }),
166
166
  " ",
167
167
  /* @__PURE__ */ e("span", { children: p.message })
168
168
  ]
@@ -177,7 +177,7 @@ function Ut({
177
177
  }
178
178
  );
179
179
  }
180
- const C = {
180
+ const $ = {
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)" },
@@ -235,7 +235,7 @@ function ht(t, n, o) {
235
235
  }
236
236
  const ct = "cubic-bezier(0.34, 1.56, 0.64, 1)", qe = "cubic-bezier(0.16, 1, 0.3, 1)";
237
237
  function Ot(t) {
238
- return C[t]?.color ?? C.online.color;
238
+ return $[t]?.color ?? $.online.color;
239
239
  }
240
240
  function Yt(t, n, o) {
241
241
  return t >= o ? "#ff2255" : t >= n ? "#ff8c00" : "#00e5ff";
@@ -250,31 +250,31 @@ function Vt({
250
250
  sceneWidth: i = 660,
251
251
  sceneHeight: r = 600
252
252
  }) {
253
- const { type: a, name: s, status: l, ex: h, ey: d, context: p = {} } = t, f = Ot(l), b = h >= i / 2, u = d >= r / 2, g = {
253
+ const { type: a, name: s, status: l, ex: h, ey: d, context: p = {} } = t, f = Ot(l), g = h >= i / 2, u = d >= r / 2, b = {
254
254
  position: "fixed",
255
- ...b ? { right: 28 } : { left: 28 },
255
+ ...g ? { right: 28 } : { left: 28 },
256
256
  ...u ? { bottom: 110 } : { top: 72 }
257
- }, m = b ? 40 : -40, w = u ? 30 : -30, v = t.dialogMetrics ?? p.dialogMetrics;
257
+ }, m = g ? 40 : -40, w = u ? 30 : -30, v = t.dialogMetrics ?? p.dialogMetrics;
258
258
  let S;
259
259
  if (v && v.length > 0)
260
260
  S = v.map((y, x) => {
261
- const A = y.warnAt ?? 70, k = y.critAt ?? 85;
261
+ const C = y.warnAt ?? 70, k = y.critAt ?? 85;
262
262
  return {
263
263
  id: y.id,
264
264
  label: y.label,
265
265
  sublabel: y.sublabel,
266
266
  value: y.value,
267
267
  unit: y.unit ?? "%",
268
- status: Xe(l, y.value, A, k),
268
+ status: Xe(l, y.value, C, k),
269
269
  icon: y.icon ?? "cpu",
270
270
  delay: x,
271
271
  colorOverride: y.color,
272
- warnAt: A,
272
+ warnAt: C,
273
273
  critAt: k
274
274
  };
275
275
  });
276
276
  else {
277
- const y = p.cpuLoad ?? p.traffic ?? 50, x = p.memLoad ?? p.queueDepth ?? 60, A = p.capacity ?? 72, k = Xe(l, y, 70, 85), $ = Xe(l, x, 75, 88), H = Xe(l, A, 75, 90);
277
+ const y = p.cpuLoad ?? p.traffic ?? 50, x = p.memLoad ?? p.queueDepth ?? 60, C = p.capacity ?? 72, k = Xe(l, y, 70, 85), P = Xe(l, x, 75, 88), O = Xe(l, C, 75, 90);
278
278
  S = [
279
279
  {
280
280
  id: "cpu",
@@ -292,7 +292,7 @@ function Vt({
292
292
  sublabel: a === "database" ? "BUFFER POOL" : "HEAP USAGE",
293
293
  value: x,
294
294
  unit: "%",
295
- status: $,
295
+ status: P,
296
296
  icon: "mem",
297
297
  delay: 1
298
298
  },
@@ -300,9 +300,9 @@ function Vt({
300
300
  id: "storage",
301
301
  label: "STORAGE",
302
302
  sublabel: a === "database" ? "TABLESPACE" : "DISK I/O",
303
- value: A,
303
+ value: C,
304
304
  unit: "%",
305
- status: H,
305
+ status: O,
306
306
  icon: "disk",
307
307
  delay: 2
308
308
  }
@@ -312,7 +312,7 @@ function Vt({
312
312
  "div",
313
313
  {
314
314
  style: {
315
- ...g,
315
+ ...b,
316
316
  width: 420,
317
317
  background: "linear-gradient(170deg, rgba(2, 10, 22, 0.96) 0%, rgba(2, 6, 14, 0.98) 100%)",
318
318
  backdropFilter: "blur(20px)",
@@ -583,8 +583,8 @@ function _t({
583
583
  delay: d,
584
584
  colorOverride: p,
585
585
  warnAt: f = 70,
586
- critAt: b = 85
587
- } = t, u = p ?? Yt(a, f, b), g = p ?? Ot(l);
586
+ critAt: g = 85
587
+ } = t, u = p ?? Yt(a, f, g), b = p ?? Ot(l);
588
588
  return /* @__PURE__ */ c(
589
589
  "div",
590
590
  {
@@ -604,8 +604,8 @@ function _t({
604
604
  width: 52,
605
605
  height: 52,
606
606
  borderRadius: 12,
607
- border: `1px solid ${g}44`,
608
- background: `linear-gradient(135deg, ${g}0c 0%, ${g}04 100%)`,
607
+ border: `1px solid ${b}44`,
608
+ background: `linear-gradient(135deg, ${b}0c 0%, ${b}04 100%)`,
609
609
  display: "flex",
610
610
  alignItems: "center",
611
611
  justifyContent: "center",
@@ -615,7 +615,7 @@ function _t({
615
615
  animation: n ? `comp-dialog-icon-pop 0.5s ${ct} ${0.35 + d * 0.12}s both` : "none"
616
616
  },
617
617
  children: [
618
- /* @__PURE__ */ e(jt, { type: h, color: g }),
618
+ /* @__PURE__ */ e(jt, { type: h, color: b }),
619
619
  (l === "warning" || l === "critical") && /* @__PURE__ */ e(
620
620
  "div",
621
621
  {
@@ -626,8 +626,8 @@ function _t({
626
626
  width: 5,
627
627
  height: 5,
628
628
  borderRadius: "50%",
629
- background: g,
630
- boxShadow: `0 0 6px ${g}`,
629
+ background: b,
630
+ boxShadow: `0 0 6px ${b}`,
631
631
  animation: "holo-led-blink 1.2s infinite"
632
632
  }
633
633
  }
@@ -737,7 +737,7 @@ function _t({
737
737
  {
738
738
  style: {
739
739
  position: "absolute",
740
- left: `${b}%`,
740
+ left: `${g}%`,
741
741
  top: 0,
742
742
  bottom: 0,
743
743
  width: 1,
@@ -781,7 +781,7 @@ function _t({
781
781
  {
782
782
  style: {
783
783
  position: "absolute",
784
- left: `${b}%`,
784
+ left: `${g}%`,
785
785
  transform: "translateX(-50%)",
786
786
  fontSize: 6,
787
787
  color: "rgba(255,34,85,0.3)",
@@ -914,63 +914,66 @@ function Xt({
914
914
  componentScale: d = 0.35,
915
915
  drillZoom: p = 3.3,
916
916
  autoRotateCarousel: f = !0,
917
- carouselSpeed: b = 6e-3,
917
+ carouselSpeed: g = 6e-3,
918
918
  width: u = 950,
919
- height: g = 790,
919
+ height: b = 790,
920
920
  onSelectSystem: m,
921
921
  onBackgroundClick: w,
922
922
  onComponentClick: v,
923
923
  onCloseDrill: S,
924
924
  onComponentUpdate: y,
925
925
  selectedSystemStatus: x = "online",
926
- selectedSystemDbSync: A = !0,
926
+ selectedSystemDbSync: C = !0,
927
927
  selectedSystemMetrics: k,
928
- selectedSystemAlerts: $
928
+ selectedSystemAlerts: P
929
929
  }) {
930
- const [H, L] = R(0);
930
+ const [O, I] = R(0);
931
931
  ke(() => {
932
- let D;
932
+ let N;
933
933
  if ((o === "compact" || o === "collapsing") && f) {
934
934
  const U = () => {
935
- L((ne) => ne + b), D = requestAnimationFrame(U);
935
+ I((ne) => ne + g), N = requestAnimationFrame(U);
936
936
  };
937
- D = requestAnimationFrame(U);
937
+ N = requestAnimationFrame(U);
938
938
  }
939
- return () => cancelAnimationFrame(D);
940
- }, [o, f, b]);
941
- const M = q.Children.toArray(t), K = M.length, Z = Tt(() => ({
942
- totalSystems: K,
943
- carouselRotation: H,
944
- viewState: o,
945
- animPhase: i,
946
- selectedSystem: r,
947
- selectedComponent: a,
948
- rotateY: l,
949
- autoRotateComponents: h,
950
- componentScale: d,
951
- drillZoom: p,
952
- onSelectSystem: m,
953
- onComponentClick: v,
954
- onComponentUpdate: y,
955
- containerWidth: u
956
- }), [
957
- K,
958
- H,
959
- o,
960
- i,
961
- r,
962
- a,
963
- l,
964
- h,
965
- d,
966
- p,
967
- m,
968
- v,
969
- y,
970
- u
971
- ]), ye = M.map((D, U) => /* @__PURE__ */ e(bt.Provider, { value: { index: U }, children: D }, U)), me = o === "expanded" || o === "expanding" && i >= 4;
939
+ return () => cancelAnimationFrame(N);
940
+ }, [o, f, g]);
941
+ const z = q.Children.toArray(t), K = z.length, Z = Tt(
942
+ () => ({
943
+ totalSystems: K,
944
+ carouselRotation: O,
945
+ viewState: o,
946
+ animPhase: i,
947
+ selectedSystem: r,
948
+ selectedComponent: a,
949
+ rotateY: l,
950
+ autoRotateComponents: h,
951
+ componentScale: d,
952
+ drillZoom: p,
953
+ onSelectSystem: m,
954
+ onComponentClick: v,
955
+ onComponentUpdate: y,
956
+ containerWidth: u
957
+ }),
958
+ [
959
+ K,
960
+ O,
961
+ o,
962
+ i,
963
+ r,
964
+ a,
965
+ l,
966
+ h,
967
+ d,
968
+ p,
969
+ m,
970
+ v,
971
+ y,
972
+ u
973
+ ]
974
+ ), ye = z.map((N, U) => /* @__PURE__ */ e(bt.Provider, { value: { index: U }, children: N }, U)), me = o === "expanded" || o === "expanding" && i >= 4;
972
975
  return /* @__PURE__ */ c(ut.Provider, { value: Z, children: [
973
- /* @__PURE__ */ c("div", { style: { position: "relative", width: u, height: g, margin: "0 auto", flexShrink: 0 }, children: [
976
+ /* @__PURE__ */ c("div", { style: { position: "relative", width: u, height: b, margin: "0 auto", flexShrink: 0 }, children: [
974
977
  n && (o === "compact" || o === "collapsing") && /* @__PURE__ */ e(
975
978
  "img",
976
979
  {
@@ -993,25 +996,25 @@ function Xt({
993
996
  ),
994
997
  ye
995
998
  ] }),
996
- r && /* @__PURE__ */ e("div", { onClick: (D) => D.stopPropagation(), children: /* @__PURE__ */ e(
999
+ r && /* @__PURE__ */ e("div", { onClick: (N) => N.stopPropagation(), children: /* @__PURE__ */ e(
997
1000
  Ut,
998
1001
  {
999
1002
  name: r,
1000
1003
  status: x,
1001
- dbSync: A,
1004
+ dbSync: C,
1002
1005
  visible: me && !a,
1003
1006
  metrics: k,
1004
- alerts: $
1007
+ alerts: P
1005
1008
  }
1006
1009
  ) }),
1007
- a && /* @__PURE__ */ e("div", { onClick: (D) => D.stopPropagation(), children: /* @__PURE__ */ e(
1010
+ a && /* @__PURE__ */ e("div", { onClick: (N) => N.stopPropagation(), children: /* @__PURE__ */ e(
1008
1011
  Vt,
1009
1012
  {
1010
1013
  component: a,
1011
1014
  onClose: S,
1012
1015
  visible: s >= 0.3,
1013
1016
  sceneWidth: u,
1014
- sceneHeight: g
1017
+ sceneHeight: b
1015
1018
  }
1016
1019
  ) })
1017
1020
  ] });
@@ -1313,30 +1316,30 @@ function Lt({
1313
1316
  _animPhase: d,
1314
1317
  _selectedSystem: p,
1315
1318
  _selectedComponent: f,
1316
- _rotateY: b,
1319
+ _rotateY: g,
1317
1320
  _autoRotateComponents: u,
1318
- _componentScale: g,
1321
+ _componentScale: b,
1319
1322
  _drillZoom: m,
1320
1323
  _onSelectSystem: w,
1321
1324
  _onComponentClick: v,
1322
1325
  _onComponentUpdate: S,
1323
1326
  _containerWidth: y
1324
1327
  }) {
1325
- const x = ge(ut), A = ge(bt), k = a ?? A.index, $ = s ?? x?.totalSystems ?? 1, H = l ?? x?.carouselRotation ?? 0, L = h ?? x?.viewState ?? "compact", M = d ?? x?.animPhase ?? 0, K = p ?? x?.selectedSystem ?? null, Z = f ?? x?.selectedComponent ?? null, ye = b ?? x?.rotateY ?? 20, me = u ?? x?.autoRotateComponents ?? !0, D = g ?? x?.componentScale ?? 0.35, U = m ?? x?.drillZoom ?? 3.3, ne = w ?? x?.onSelectSystem, Be = v ?? x?.onComponentClick, le = S ?? x?.onComponentUpdate, Fe = y ?? x?.containerWidth ?? 950, J = K === t, z = J && (L === "expanded" || L === "expanding" && M >= 1), _ = !z, se = (Fe - Zt) / 2, de = $t + se, Ce = k / $ * Math.PI * 2 + H, it = 420, nt = 160, xe = de + Math.cos(Ce) * it, ce = 450 + Math.sin(Ce) * nt, ot = Math.round(ce), T = !J && (L === "expanding" || L === "expanded"), j = T ? 0 : 1, oe = _ ? 0.3 + (Math.sin(Ce) + 1) * 0.1 : 1, ee = _ ? oe : D, re = L === "compact" || L === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", ve = J && Z, ae = ve ? U : 1, pe = Z?.ex ?? 330, B = Z?.ey ?? 300, { size: rt = 90, color: at = "#00e5ff", widthRatio: Ye = 3 } = i ?? {}, we = {
1328
+ const x = ge(ut), C = ge(bt), k = a ?? C.index, P = s ?? x?.totalSystems ?? 1, O = l ?? x?.carouselRotation ?? 0, I = h ?? x?.viewState ?? "compact", z = d ?? x?.animPhase ?? 0, K = p ?? x?.selectedSystem ?? null, Z = f ?? x?.selectedComponent ?? null, ye = g ?? x?.rotateY ?? 20, me = u ?? x?.autoRotateComponents ?? !0, N = b ?? x?.componentScale ?? 0.35, U = m ?? x?.drillZoom ?? 3.3, ne = w ?? x?.onSelectSystem, Be = v ?? x?.onComponentClick, oe = S ?? x?.onComponentUpdate, Fe = y ?? x?.containerWidth ?? 950, J = K === t, B = J && (I === "expanded" || I === "expanding" && z >= 1), _ = !B, se = (Fe - Zt) / 2, de = $t + se, Ce = k / P * Math.PI * 2 + O, it = 420, nt = 160, xe = de + Math.cos(Ce) * it, ce = 450 + Math.sin(Ce) * nt, ot = Math.round(ce), T = !J && (I === "expanding" || I === "expanded"), j = T ? 0 : 1, re = _ ? 0.3 + (Math.sin(Ce) + 1) * 0.1 : 1, ee = _ ? re : N, ae = I === "compact" || I === "collapsing" ? "none" : "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)", ve = J && Z, le = ve ? U : 1, pe = Z?.ex ?? 330, F = Z?.ey ?? 300, { size: rt = 90, color: at = "#00e5ff", widthRatio: Ye = 3 } = i ?? {}, we = {
1326
1329
  name: t,
1327
1330
  isSelected: J,
1328
- isExpandedPos: z,
1331
+ isExpandedPos: B,
1329
1332
  isCompact: _,
1330
- animPhase: M,
1333
+ animPhase: z,
1331
1334
  compactCx: xe,
1332
1335
  compactCy: ce,
1333
- groupScale: oe,
1336
+ groupScale: re,
1334
1337
  effectiveScale: ee,
1335
- transitionValue: re,
1338
+ transitionValue: ae,
1336
1339
  rotateY: ye,
1337
1340
  autoRotateComponents: me,
1338
1341
  onComponentClick: Be,
1339
- onComponentUpdate: le,
1342
+ onComponentUpdate: oe,
1340
1343
  selectedComponentName: Z?.name ?? null,
1341
1344
  expandedOffsetX: se
1342
1345
  };
@@ -1355,7 +1358,7 @@ function Lt({
1355
1358
  filter: _ && Math.sin(Ce) < -0.5 ? "brightness(0.5) blur(2px)" : "none",
1356
1359
  zIndex: J ? 500 : T ? 0 : ot,
1357
1360
  transformOrigin: `${de}px ${kt}px`,
1358
- transform: ve ? `translate(${-(pe - $t) * ae}px, ${-(B - kt) * ae}px) scale(${ae})` : "none"
1361
+ transform: ve ? `translate(${-(pe - $t) * le}px, ${-(F - kt) * le}px) scale(${le})` : "none"
1359
1362
  },
1360
1363
  children: [
1361
1364
  _ && !T && /* @__PURE__ */ e(
@@ -1372,8 +1375,8 @@ function Lt({
1372
1375
  cursor: "pointer",
1373
1376
  zIndex: 101
1374
1377
  },
1375
- onClick: (F) => {
1376
- F.stopPropagation(), ne?.(t);
1378
+ onClick: (H) => {
1379
+ H.stopPropagation(), ne?.(t);
1377
1380
  }
1378
1381
  }
1379
1382
  ),
@@ -1384,7 +1387,7 @@ function Lt({
1384
1387
  position: "absolute",
1385
1388
  left: xe,
1386
1389
  top: ce - 200,
1387
- transform: `translate(-50%, -50%) scale(${oe})`,
1390
+ transform: `translate(-50%, -50%) scale(${re})`,
1388
1391
  zIndex: 110,
1389
1392
  pointerEvents: "none",
1390
1393
  animation: "holo-led-blink 1.5s infinite",
@@ -1430,13 +1433,13 @@ function Lt({
1430
1433
  {
1431
1434
  style: {
1432
1435
  position: "absolute",
1433
- left: z ? de : xe,
1434
- top: z ? 48 : ce - 180,
1435
- transform: `translate(-50%, -50%) scale(${z ? 1.2 : oe * 1.5})`,
1436
+ left: B ? de : xe,
1437
+ top: B ? 48 : ce - 180,
1438
+ transform: `translate(-50%, -50%) scale(${B ? 1.2 : re * 1.5})`,
1436
1439
  opacity: 1,
1437
1440
  pointerEvents: "none",
1438
1441
  zIndex: 100,
1439
- transition: re,
1442
+ transition: ae,
1440
1443
  fontSize: 36,
1441
1444
  fontWeight: 700,
1442
1445
  letterSpacing: "0.18em",
@@ -1456,23 +1459,23 @@ function Lt({
1456
1459
  style: {
1457
1460
  position: "absolute",
1458
1461
  top: 0,
1459
- left: z ? se : 0,
1462
+ left: B ? se : 0,
1460
1463
  width: 660,
1461
1464
  height: 640,
1462
1465
  pointerEvents: "none",
1463
1466
  zIndex: 0,
1464
- transition: re
1467
+ transition: ae
1465
1468
  },
1466
- children: o.map((F, Ve) => /* @__PURE__ */ e(
1469
+ children: o.map((H, Ve) => /* @__PURE__ */ e(
1467
1470
  qt,
1468
1471
  {
1469
- x1: F.from[0],
1470
- y1: F.from[1],
1471
- x2: F.to[0],
1472
- y2: F.to[1],
1473
- show: J && M >= (F.visibleAtPhase ?? 0),
1474
- color: F.color,
1475
- dur: F.duration
1472
+ x1: H.from[0],
1473
+ y1: H.from[1],
1474
+ x2: H.to[0],
1475
+ y2: H.to[1],
1476
+ show: J && z >= (H.visibleAtPhase ?? 0),
1477
+ color: H.color,
1478
+ dur: H.duration
1476
1479
  },
1477
1480
  Ve
1478
1481
  ))
@@ -1483,10 +1486,10 @@ function Lt({
1483
1486
  {
1484
1487
  style: {
1485
1488
  position: "absolute",
1486
- left: z ? de : xe,
1487
- top: z ? 570 : ce + 70,
1488
- transform: `translate(-50%, -50%) scaleX(${z ? 1 : 0.4}) scaleY(${z ? 1 : 0.6}) scale(${z ? 1 : oe})`,
1489
- transition: re,
1489
+ left: B ? de : xe,
1490
+ top: B ? 570 : ce + 70,
1491
+ transform: `translate(-50%, -50%) scaleX(${B ? 1 : 0.4}) scaleY(${B ? 1 : 0.6}) scale(${B ? 1 : re})`,
1492
+ transition: ae,
1490
1493
  zIndex: 1
1491
1494
  },
1492
1495
  children: /* @__PURE__ */ e(Gt, { size: rt, color: at, widthRatio: Ye, children: /* @__PURE__ */ e("div", { className: "base-hotspot" }) })
@@ -1497,7 +1500,7 @@ function Lt({
1497
1500
  }
1498
1501
  ) });
1499
1502
  }
1500
- function N({
1503
+ function W({
1501
1504
  ex: t,
1502
1505
  ey: n,
1503
1506
  status: o,
@@ -1507,22 +1510,23 @@ function N({
1507
1510
  offsetY: s,
1508
1511
  isVisible: l,
1509
1512
  align: h = "right",
1510
- internalRef: d
1513
+ internalRef: d,
1514
+ forceShow: p = !1
1511
1515
  }) {
1512
- const p = ge(Re), f = p?.expandedOffsetX ?? 0;
1513
- if (o === "online") return null;
1514
- const b = l && !!p?.isExpandedPos, u = C[o]?.color ?? C.warning.color, g = Math.abs(a) > Math.abs(s), m = t + f + (g ? Math.sign(a) * 45 : 0), w = n + (g ? 0 : Math.sign(s) * 40), v = t + f + a, S = n + s;
1515
- let y = "";
1516
- if (g) {
1517
- const $ = m + (v - m) / 2;
1518
- y = `M ${m} ${w} L ${$} ${w} L ${$} ${S} L ${v} ${S}`;
1516
+ const f = ge(Re), g = f?.expandedOffsetX ?? 0;
1517
+ if (o === "online" && !p) return null;
1518
+ const u = l && !!f?.isExpandedPos, b = o === "online" ? $.warning.color : $[o]?.color ?? $.warning.color, m = Math.abs(a) > Math.abs(s), w = t + g + (m ? Math.sign(a) * 45 : 0), v = n + (m ? 0 : Math.sign(s) * 40), S = t + g + a, y = n + s;
1519
+ let x = "";
1520
+ if (m) {
1521
+ const O = w + (S - w) / 2;
1522
+ x = `M ${w} ${v} L ${O} ${v} L ${O} ${y} L ${S} ${y}`;
1519
1523
  } else {
1520
- const $ = w + (S - w) / 2;
1521
- y = `M ${m} ${w} L ${m} ${$} L ${v} ${$} L ${v} ${S}`;
1524
+ const O = v + (y - v) / 2;
1525
+ x = `M ${w} ${v} L ${w} ${O} L ${S} ${O} L ${S} ${y}`;
1522
1526
  }
1523
- let x = "translate(0, -50%)";
1524
- h === "left" && (x = "translate(-100%, -50%)"), h === "top" && (x = "translate(-50%, -100%)"), h === "bottom" && (x = "translate(-50%, 0)");
1525
- const A = h === "left" ? -8 : h === "right" ? 8 : 0, k = h === "top" ? -8 : h === "bottom" ? 8 : 0;
1527
+ let C = "translate(0, -50%)";
1528
+ h === "left" && (C = "translate(-100%, -50%)"), h === "top" && (C = "translate(-50%, -100%)"), h === "bottom" && (C = "translate(-50%, 0)");
1529
+ const k = h === "left" ? -8 : h === "right" ? 8 : 0, P = h === "top" ? -8 : h === "bottom" ? 8 : 0;
1526
1530
  return /* @__PURE__ */ c(
1527
1531
  "div",
1528
1532
  {
@@ -1533,7 +1537,7 @@ function N({
1533
1537
  width: "100%",
1534
1538
  height: "100%",
1535
1539
  pointerEvents: "none",
1536
- opacity: b ? 1 : 0,
1540
+ opacity: u ? 1 : 0,
1537
1541
  transition: "opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.8s",
1538
1542
  zIndex: 150
1539
1543
  },
@@ -1553,12 +1557,12 @@ function N({
1553
1557
  children: /* @__PURE__ */ e(
1554
1558
  "path",
1555
1559
  {
1556
- d: y,
1560
+ d: x,
1557
1561
  fill: "none",
1558
- stroke: u,
1562
+ stroke: b,
1559
1563
  strokeWidth: "1.5",
1560
1564
  strokeDasharray: "5 4",
1561
- style: { filter: `drop-shadow(0 0 4px ${u})`, opacity: 0.55 }
1565
+ style: { filter: `drop-shadow(0 0 4px ${b})`, opacity: 0.55 }
1562
1566
  }
1563
1567
  )
1564
1568
  }
@@ -1568,14 +1572,14 @@ function N({
1568
1572
  {
1569
1573
  style: {
1570
1574
  position: "absolute",
1571
- left: v,
1572
- top: S,
1573
- transform: x,
1574
- marginLeft: A,
1575
- marginTop: k,
1575
+ left: S,
1576
+ top: y,
1577
+ transform: C,
1578
+ marginLeft: k,
1579
+ marginTop: P,
1576
1580
  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)",
1577
- border: `1px solid ${u}55`,
1578
- borderLeft: `2px solid ${u}`,
1581
+ border: `1px solid ${b}55`,
1582
+ borderLeft: `2px solid ${b}`,
1579
1583
  backdropFilter: "blur(8px)",
1580
1584
  WebkitBackdropFilter: "blur(8px)",
1581
1585
  padding: "6px 10px",
@@ -1583,7 +1587,7 @@ function N({
1583
1587
  color: "#fff",
1584
1588
  fontFamily: "'Courier New', monospace",
1585
1589
  width: 140,
1586
- boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${u}22 inset`
1590
+ boxShadow: `0 4px 12px rgba(0,0,0,0.4), 0 0 8px ${b}22 inset`
1587
1591
  },
1588
1592
  children: [
1589
1593
  /* @__PURE__ */ c(
@@ -1603,8 +1607,8 @@ function N({
1603
1607
  width: 4,
1604
1608
  height: 4,
1605
1609
  borderRadius: "50%",
1606
- background: u,
1607
- boxShadow: `0 0 6px ${u}`,
1610
+ background: b,
1611
+ boxShadow: `0 0 6px ${b}`,
1608
1612
  animation: "holo-led-blink 1.5s infinite"
1609
1613
  }
1610
1614
  }
@@ -1613,12 +1617,12 @@ function N({
1613
1617
  "div",
1614
1618
  {
1615
1619
  style: {
1616
- color: u,
1620
+ color: b,
1617
1621
  fontWeight: "600",
1618
1622
  fontSize: 10,
1619
1623
  letterSpacing: "1px",
1620
1624
  textTransform: "uppercase",
1621
- textShadow: `0 0 4px ${u}88`
1625
+ textShadow: `0 0 4px ${b}88`
1622
1626
  },
1623
1627
  children: d ? `${i} · ${d}` : i
1624
1628
  }
@@ -1644,7 +1648,7 @@ function N({
1644
1648
  }
1645
1649
  );
1646
1650
  }
1647
- function E({
1651
+ function A({
1648
1652
  ex: t,
1649
1653
  ey: n,
1650
1654
  compactOffset: o,
@@ -1657,11 +1661,11 @@ function E({
1657
1661
  componentInfo: d,
1658
1662
  visibleAtPhase: p = 0,
1659
1663
  fixedScale: f,
1660
- bare: b = !1,
1664
+ bare: g = !1,
1661
1665
  alert: u
1662
1666
  }) {
1663
- const g = ge(Re);
1664
- if (!g)
1667
+ const b = ge(Re);
1668
+ if (!b)
1665
1669
  throw new Error("ServiceNode must be used inside a <Service> component.");
1666
1670
  const {
1667
1671
  isExpandedPos: m,
@@ -1670,12 +1674,12 @@ function E({
1670
1674
  compactCy: S,
1671
1675
  groupScale: y,
1672
1676
  effectiveScale: x,
1673
- transitionValue: A,
1677
+ transitionValue: C,
1674
1678
  onComponentClick: k,
1675
- onComponentUpdate: $,
1676
- selectedComponentName: H,
1677
- expandedOffsetX: L
1678
- } = g, K = p === 0 || g.isSelected && w >= p ? 1 : 0, Z = v + o.x, ye = S + o.y, me = m ? t + L : Z, D = m ? n : ye, U = f !== void 0 ? f : g.isCompact ? y : x, ne = !!d && !!H && d.name === H, Be = d?.status ? C[d.status]?.color ?? a : a, le = d?.status === "offline" ? "#4a6a8a" : Be, Fe = d && m && k ? () => k({
1679
+ onComponentUpdate: P,
1680
+ selectedComponentName: O,
1681
+ expandedOffsetX: I
1682
+ } = b, K = p === 0 || b.isSelected && w >= p ? 1 : 0, Z = v + o.x, ye = S + o.y, me = m ? t + I : Z, N = m ? n : ye, U = f !== void 0 ? f : b.isCompact ? y : x, ne = !!d && !!O && d.name === O, Be = d?.status ? $[d.status]?.color ?? a : a, oe = d?.status === "offline" ? "#4a6a8a" : Be, Fe = d && m && k ? () => k({
1679
1683
  type: d.type,
1680
1684
  name: d.name,
1681
1685
  status: d.status,
@@ -1685,9 +1689,9 @@ function E({
1685
1689
  dialogMetrics: d.dialogMetrics,
1686
1690
  subComponents: d.subComponents,
1687
1691
  graphSeries: d.graphSeries
1688
- }) : void 0, J = JSON.stringify(d?.context ?? {}), z = JSON.stringify(d?.dialogMetrics ?? []);
1692
+ }) : void 0, J = JSON.stringify(d?.context ?? {}), B = JSON.stringify(d?.dialogMetrics ?? []);
1689
1693
  ke(() => {
1690
- !ne || !d || !$ || $({
1694
+ !ne || !d || !P || P({
1691
1695
  type: d.type,
1692
1696
  name: d.name,
1693
1697
  status: d.status,
@@ -1698,8 +1702,10 @@ function E({
1698
1702
  subComponents: d.subComponents,
1699
1703
  graphSeries: d.graphSeries
1700
1704
  });
1701
- }, [ne, d?.status, J, z]);
1702
- const _ = d?.status === "warning" || d?.status === "critical", se = d?.status ?? "online", de = d?.name ?? s ?? "";
1705
+ }, [ne, d?.status, J, B]);
1706
+ const _ = d?.status === "warning" || d?.status === "critical" || !!u;
1707
+ u && d?.status === "online" && $.warning.color;
1708
+ const se = d?.status ?? "online", de = d?.name ?? s ?? "";
1703
1709
  return /* @__PURE__ */ c(Me, { children: [
1704
1710
  /* @__PURE__ */ e(
1705
1711
  "div",
@@ -1707,22 +1713,22 @@ function E({
1707
1713
  style: {
1708
1714
  position: "absolute",
1709
1715
  left: me,
1710
- top: D,
1716
+ top: N,
1711
1717
  transform: `translate(-50%, -50%) scale(${U})`,
1712
1718
  opacity: K,
1713
1719
  zIndex: i,
1714
- transition: A || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1720
+ transition: C || "all 1s cubic-bezier(0.34, 1.56, 0.64, 1)",
1715
1721
  pointerEvents: m && K >= 0.5 ? "auto" : "none"
1716
1722
  },
1717
- children: b ? r : /* @__PURE__ */ e(
1723
+ children: g ? r : /* @__PURE__ */ e(
1718
1724
  Jt,
1719
1725
  {
1720
- statusColor: le,
1726
+ statusColor: oe,
1721
1727
  label: s,
1722
1728
  subLabel: l,
1723
1729
  delay: h,
1724
1730
  showLabels: m,
1725
- isCompact: g.isCompact,
1731
+ isCompact: b.isCompact,
1726
1732
  onClick: Fe,
1727
1733
  isSelected: ne,
1728
1734
  isAlerting: _,
@@ -1732,7 +1738,7 @@ function E({
1732
1738
  }
1733
1739
  ),
1734
1740
  u && /* @__PURE__ */ e(
1735
- N,
1741
+ W,
1736
1742
  {
1737
1743
  ex: t,
1738
1744
  ey: n,
@@ -1743,7 +1749,8 @@ function E({
1743
1749
  offsetY: u.offsetY ?? -30,
1744
1750
  align: u.align ?? "right",
1745
1751
  internalRef: u.internalRef,
1746
- isVisible: !0
1752
+ isVisible: !0,
1753
+ forceShow: !0
1747
1754
  }
1748
1755
  )
1749
1756
  ] });
@@ -1760,7 +1767,7 @@ function Jt({
1760
1767
  isSelected: h = !1,
1761
1768
  isAlerting: d = !1
1762
1769
  }) {
1763
- const [p, f] = R(!1), b = h ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : p && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
1770
+ const [p, f] = R(!1), g = h ? `brightness(1.5) drop-shadow(0 0 24px ${n}cc) drop-shadow(0 0 8px ${n}88)` : p && l ? `brightness(1.2) drop-shadow(0 0 12px ${n}77)` : "";
1764
1771
  return /* @__PURE__ */ c(
1765
1772
  "div",
1766
1773
  {
@@ -1771,7 +1778,7 @@ function Jt({
1771
1778
  style: {
1772
1779
  cursor: l ? "pointer" : void 0,
1773
1780
  transition: "filter 0.3s ease",
1774
- filter: b
1781
+ filter: g
1775
1782
  },
1776
1783
  onMouseEnter: () => f(!0),
1777
1784
  onMouseLeave: () => f(!1),
@@ -1783,8 +1790,8 @@ function Jt({
1783
1790
  {
1784
1791
  className: "node-alert-glow",
1785
1792
  style: {
1786
- "--pulse-color": n,
1787
- boxShadow: `0 0 20px ${n}, 0 0 40px ${n}66`
1793
+ "--pulse-color": alertGlowColor,
1794
+ boxShadow: `0 0 20px ${alertGlowColor}, 0 0 40px ${alertGlowColor}66`
1788
1795
  }
1789
1796
  }
1790
1797
  ),
@@ -2038,7 +2045,7 @@ function ei({
2038
2045
  }
2039
2046
  ),
2040
2047
  Array.from({ length: 3 }, (p, f) => {
2041
- const b = f < l;
2048
+ const g = f < l;
2042
2049
  return /* @__PURE__ */ c(
2043
2050
  "div",
2044
2051
  {
@@ -2065,8 +2072,8 @@ function ei({
2065
2072
  height: 5,
2066
2073
  borderRadius: "50%",
2067
2074
  flexShrink: 0,
2068
- background: b ? t.color : "#08142a",
2069
- boxShadow: b ? `0 0 6px ${t.color}, 0 0 12px ${t.color}66` : "none"
2075
+ background: g ? t.color : "#08142a",
2076
+ boxShadow: g ? `0 0 6px ${t.color}, 0 0 12px ${t.color}66` : "none"
2070
2077
  }
2071
2078
  }
2072
2079
  ),
@@ -2082,7 +2089,7 @@ function ei({
2082
2089
  position: "relative",
2083
2090
  overflow: "hidden"
2084
2091
  },
2085
- children: b && /* @__PURE__ */ e(
2092
+ children: g && /* @__PURE__ */ e(
2086
2093
  "div",
2087
2094
  {
2088
2095
  style: {
@@ -2575,20 +2582,20 @@ function $e({
2575
2582
  brandLabel: d = "BUSAUD",
2576
2583
  _compact: p
2577
2584
  }) {
2578
- const [f, b] = R(n), u = ie(0), g = ie(0);
2585
+ const [f, g] = R(n), u = ie(0), b = ie(0);
2579
2586
  ke(() => {
2580
2587
  if (!r) {
2581
- b(n);
2588
+ g(n);
2582
2589
  return;
2583
2590
  }
2584
2591
  const w = (v) => {
2585
- g.current && b((S) => S + (v - g.current) * 0.027), g.current = v, u.current = requestAnimationFrame(w);
2592
+ b.current && g((S) => S + (v - b.current) * 0.027), b.current = v, u.current = requestAnimationFrame(w);
2586
2593
  };
2587
2594
  return u.current = requestAnimationFrame(w), () => {
2588
- cancelAnimationFrame(u.current), g.current = 0;
2595
+ cancelAnimationFrame(u.current), b.current = 0;
2589
2596
  };
2590
2597
  }, [r, n]);
2591
- const m = C[a] ?? C.online;
2598
+ const m = $[a] ?? $.online;
2592
2599
  return /* @__PURE__ */ c(
2593
2600
  "div",
2594
2601
  {
@@ -2726,14 +2733,14 @@ function Mi({
2726
2733
  visibleAtPhase: d,
2727
2734
  cpuLoad: p,
2728
2735
  memLoad: f,
2729
- brandLabel: b,
2736
+ brandLabel: g,
2730
2737
  dialogMetrics: u,
2731
- subComponents: g,
2738
+ subComponents: b,
2732
2739
  graphSeries: m,
2733
2740
  alert: w
2734
2741
  }) {
2735
2742
  return /* @__PURE__ */ e(
2736
- E,
2743
+ A,
2737
2744
  {
2738
2745
  ex: t,
2739
2746
  ey: n,
@@ -2750,11 +2757,11 @@ function Mi({
2750
2757
  status: a,
2751
2758
  context: { cpuLoad: p, memLoad: f },
2752
2759
  dialogMetrics: u,
2753
- subComponents: g,
2760
+ subComponents: b,
2754
2761
  graphSeries: m
2755
2762
  },
2756
2763
  alert: w,
2757
- children: /* @__PURE__ */ e($e, { status: a, cpuLoad: p, memLoad: f, brandLabel: b })
2764
+ children: /* @__PURE__ */ e($e, { status: a, cpuLoad: p, memLoad: f, brandLabel: g })
2758
2765
  }
2759
2766
  );
2760
2767
  }
@@ -2772,7 +2779,7 @@ function ni({
2772
2779
  }) {
2773
2780
  return /* @__PURE__ */ c(Me, { children: [
2774
2781
  st.map((s, l) => {
2775
- const h = dt(s), d = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22), b = Math.round(28 + h * 44), u = Math.round(h * 0.55 * 255).toString(16).padStart(2, "0");
2782
+ const h = dt(s), d = l === 0, p = Math.round(4 + h * 9), f = Math.round(12 + h * 22), g = Math.round(28 + h * 44), u = Math.round(h * 0.55 * 255).toString(16).padStart(2, "0");
2776
2783
  return /* @__PURE__ */ e(
2777
2784
  "div",
2778
2785
  {
@@ -2784,7 +2791,7 @@ function ni({
2784
2791
  top: t,
2785
2792
  transform: `rotateY(${s}deg) translateZ(${Se}px)`,
2786
2793
  backfaceVisibility: "hidden",
2787
- background: d ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${f},${b})`,
2794
+ background: d ? a ? "linear-gradient(180deg, rgb(0,28,62), rgb(0,18,44))" : "linear-gradient(180deg, rgba(0,28,62,0.70), rgba(0,18,44,0.76))" : `rgb(${p},${f},${g})`,
2788
2795
  borderLeft: `1px solid ${o.color}${u}`,
2789
2796
  boxShadow: d ? `inset 0 0 18px ${o.color}28` : "none"
2790
2797
  },
@@ -2989,14 +2996,14 @@ function Ue({
2989
2996
  d(n);
2990
2997
  return;
2991
2998
  }
2992
- const u = (g) => {
2993
- f.current && d((m) => m + (g - f.current) * 0.027), f.current = g, p.current = requestAnimationFrame(u);
2999
+ const u = (b) => {
3000
+ f.current && d((m) => m + (b - f.current) * 0.027), f.current = b, p.current = requestAnimationFrame(u);
2994
3001
  };
2995
3002
  return p.current = requestAnimationFrame(u), () => {
2996
3003
  cancelAnimationFrame(p.current), f.current = 0;
2997
3004
  };
2998
3005
  }, [r, n]);
2999
- const b = C[a] ?? C.online;
3006
+ const g = $[a] ?? $.online;
3000
3007
  return /* @__PURE__ */ c(
3001
3008
  "div",
3002
3009
  {
@@ -3064,7 +3071,7 @@ function Ue({
3064
3071
  position: "absolute",
3065
3072
  width: te * 2.8 * i,
3066
3073
  height: lt * 0.85 * i,
3067
- background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
3074
+ background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
3068
3075
  filter: `blur(${Math.round(50 * i)}px)`,
3069
3076
  pointerEvents: "none",
3070
3077
  top: "45%",
@@ -3098,7 +3105,7 @@ function Ue({
3098
3105
  {
3099
3106
  diskY: u * (Oe + gt),
3100
3107
  diskIdx: u,
3101
- cfg: b,
3108
+ cfg: g,
3102
3109
  hasRingBelow: u < 2,
3103
3110
  capacity: s,
3104
3111
  compact: l
@@ -3126,12 +3133,12 @@ function zi({
3126
3133
  visibleAtPhase: d,
3127
3134
  capacity: p,
3128
3135
  dialogMetrics: f,
3129
- subComponents: b,
3136
+ subComponents: g,
3130
3137
  graphSeries: u,
3131
- alert: g
3138
+ alert: b
3132
3139
  }) {
3133
3140
  return /* @__PURE__ */ e(
3134
- E,
3141
+ A,
3135
3142
  {
3136
3143
  ex: t,
3137
3144
  ey: n,
@@ -3148,16 +3155,16 @@ function zi({
3148
3155
  status: a,
3149
3156
  context: { capacity: p },
3150
3157
  dialogMetrics: f,
3151
- subComponents: b,
3158
+ subComponents: g,
3152
3159
  graphSeries: u
3153
3160
  },
3154
- alert: g,
3161
+ alert: b,
3155
3162
  children: /* @__PURE__ */ e(Ue, { status: a, capacity: p })
3156
3163
  }
3157
3164
  );
3158
3165
  }
3159
3166
  function yt({ status: t = "online", scale: n = 1 }) {
3160
- const i = (C[t] ?? C.online).color;
3167
+ const i = ($[t] ?? $.online).color;
3161
3168
  return /* @__PURE__ */ e(
3162
3169
  "div",
3163
3170
  {
@@ -3279,7 +3286,7 @@ function Bi({
3279
3286
  visibleAtPhase: l
3280
3287
  }) {
3281
3288
  return /* @__PURE__ */ e(
3282
- E,
3289
+ A,
3283
3290
  {
3284
3291
  ex: t,
3285
3292
  ey: n,
@@ -3770,20 +3777,20 @@ function mt({
3770
3777
  activeRoutes: h = 12,
3771
3778
  _compact: d
3772
3779
  }) {
3773
- const [p, f] = R(n), b = ie(0), u = ie(0);
3780
+ const [p, f] = R(n), g = ie(0), u = ie(0);
3774
3781
  ke(() => {
3775
3782
  if (!r) {
3776
3783
  f(n);
3777
3784
  return;
3778
3785
  }
3779
3786
  const m = (w) => {
3780
- u.current && f((v) => v + (w - u.current) * 0.027), u.current = w, b.current = requestAnimationFrame(m);
3787
+ u.current && f((v) => v + (w - u.current) * 0.027), u.current = w, g.current = requestAnimationFrame(m);
3781
3788
  };
3782
- return b.current = requestAnimationFrame(m), () => {
3783
- cancelAnimationFrame(b.current), u.current = 0;
3789
+ return g.current = requestAnimationFrame(m), () => {
3790
+ cancelAnimationFrame(g.current), u.current = 0;
3784
3791
  };
3785
3792
  }, [r, n]);
3786
- const g = C[a] ?? C.online;
3793
+ const b = $[a] ?? $.online;
3787
3794
  return /* @__PURE__ */ c(
3788
3795
  "div",
3789
3796
  {
@@ -3851,7 +3858,7 @@ function mt({
3851
3858
  position: "absolute",
3852
3859
  width: he * 1.3 * i,
3853
3860
  height: Q * 2 * i,
3854
- background: `radial-gradient(ellipse, ${g.glow} 0%, transparent 65%)`,
3861
+ background: `radial-gradient(ellipse, ${b.glow} 0%, transparent 65%)`,
3855
3862
  filter: `blur(${Math.round(40 * i)}px)`,
3856
3863
  pointerEvents: "none",
3857
3864
  top: "40%",
@@ -3884,7 +3891,7 @@ function mt({
3884
3891
  /* @__PURE__ */ e("div", { style: Ae.front, children: /* @__PURE__ */ e(
3885
3892
  oi,
3886
3893
  {
3887
- cfg: g,
3894
+ cfg: b,
3888
3895
  name: s,
3889
3896
  traffic: l,
3890
3897
  activeRoutes: h,
@@ -3892,8 +3899,8 @@ function mt({
3892
3899
  }
3893
3900
  ) }),
3894
3901
  /* @__PURE__ */ e("div", { style: Ae.back, children: /* @__PURE__ */ e(ri, {}) }),
3895
- /* @__PURE__ */ e("div", { style: Ae.left, children: /* @__PURE__ */ e(Ct, { side: "left", color: g.color }) }),
3896
- /* @__PURE__ */ e("div", { style: Ae.right, children: /* @__PURE__ */ e(Ct, { side: "right", color: g.color }) }),
3902
+ /* @__PURE__ */ e("div", { style: Ae.left, children: /* @__PURE__ */ e(Ct, { side: "left", color: b.color }) }),
3903
+ /* @__PURE__ */ e("div", { style: Ae.right, children: /* @__PURE__ */ e(Ct, { side: "right", color: b.color }) }),
3897
3904
  /* @__PURE__ */ e("div", { style: Ae.top, children: /* @__PURE__ */ e(ai, { traffic: l }) }),
3898
3905
  /* @__PURE__ */ e("div", { style: Ae.bottom, children: /* @__PURE__ */ e("div", { style: { width: he, height: Le, background: "#020508" } }) })
3899
3906
  ]
@@ -3918,13 +3925,13 @@ function Fi({
3918
3925
  visibleAtPhase: d,
3919
3926
  traffic: p,
3920
3927
  activeRoutes: f,
3921
- dialogMetrics: b,
3928
+ dialogMetrics: g,
3922
3929
  subComponents: u,
3923
- graphSeries: g,
3930
+ graphSeries: b,
3924
3931
  alert: m
3925
3932
  }) {
3926
3933
  return /* @__PURE__ */ e(
3927
- E,
3934
+ A,
3928
3935
  {
3929
3936
  ex: t,
3930
3937
  ey: n,
@@ -3940,9 +3947,9 @@ function Fi({
3940
3947
  name: r,
3941
3948
  status: a,
3942
3949
  context: { traffic: p, activeRoutes: f },
3943
- dialogMetrics: b,
3950
+ dialogMetrics: g,
3944
3951
  subComponents: u,
3945
- graphSeries: g
3952
+ graphSeries: b
3946
3953
  },
3947
3954
  alert: m,
3948
3955
  children: /* @__PURE__ */ e(mt, { status: a, traffic: p, activeRoutes: f })
@@ -4431,17 +4438,17 @@ function Dt({
4431
4438
  instances: d = 3,
4432
4439
  _compact: p
4433
4440
  }) {
4434
- const [f, b] = R(n), u = ie(0), g = ie(0);
4441
+ const [f, g] = R(n), u = ie(0), b = ie(0);
4435
4442
  ke(() => {
4436
4443
  if (!r) {
4437
- b(n);
4444
+ g(n);
4438
4445
  return;
4439
4446
  }
4440
4447
  const w = (v) => {
4441
- g.current && b((S) => S + (v - g.current) * 0.027), g.current = v, u.current = requestAnimationFrame(w);
4448
+ b.current && g((S) => S + (v - b.current) * 0.027), b.current = v, u.current = requestAnimationFrame(w);
4442
4449
  };
4443
4450
  return u.current = requestAnimationFrame(w), () => {
4444
- cancelAnimationFrame(u.current), g.current = 0;
4451
+ cancelAnimationFrame(u.current), b.current = 0;
4445
4452
  };
4446
4453
  }, [r, n]);
4447
4454
  const m = Pt[a] ?? Pt.online;
@@ -4580,14 +4587,14 @@ function Hi({
4580
4587
  visibleAtPhase: d,
4581
4588
  queueDepth: p,
4582
4589
  msgsPerSec: f,
4583
- instances: b,
4590
+ instances: g,
4584
4591
  dialogMetrics: u,
4585
- subComponents: g,
4592
+ subComponents: b,
4586
4593
  graphSeries: m,
4587
4594
  alert: w
4588
4595
  }) {
4589
4596
  return /* @__PURE__ */ e(
4590
- E,
4597
+ A,
4591
4598
  {
4592
4599
  ex: t,
4593
4600
  ey: n,
@@ -4602,9 +4609,9 @@ function Hi({
4602
4609
  type: "messageServer",
4603
4610
  name: r,
4604
4611
  status: a,
4605
- context: { queueDepth: p, msgsPerSec: f, instances: b },
4612
+ context: { queueDepth: p, msgsPerSec: f, instances: g },
4606
4613
  dialogMetrics: u,
4607
- subComponents: g,
4614
+ subComponents: b,
4608
4615
  graphSeries: m
4609
4616
  },
4610
4617
  alert: w,
@@ -4614,13 +4621,13 @@ function Hi({
4614
4621
  status: a,
4615
4622
  queueDepth: p,
4616
4623
  msgsPerSec: f,
4617
- instances: b
4624
+ instances: g
4618
4625
  }
4619
4626
  )
4620
4627
  }
4621
4628
  );
4622
4629
  }
4623
- function O(t, n, o = 24) {
4630
+ function L(t, n, o = 24) {
4624
4631
  return Array.from({ length: o }, (i, r) => {
4625
4632
  const a = r / o;
4626
4633
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
@@ -4720,34 +4727,34 @@ function fi(t, n) {
4720
4727
  if (t === "server") {
4721
4728
  const o = n.cpuLoad ?? 50, i = n.memLoad ?? 60;
4722
4729
  return [
4723
- { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: O(o, 15) },
4724
- { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: O(o * 0.7, 12) },
4725
- { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: O(i, 18) },
4726
- { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: O(i * 0.85, 14) },
4727
- { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: O(40, 25) },
4728
- { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: O(35, 20) },
4729
- { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: O(30, 22) },
4730
- { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: O(55, 20) }
4730
+ { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: L(o, 15) },
4731
+ { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: L(o * 0.7, 12) },
4732
+ { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: L(i, 18) },
4733
+ { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: L(i * 0.85, 14) },
4734
+ { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: L(40, 25) },
4735
+ { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: L(35, 20) },
4736
+ { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: L(30, 22) },
4737
+ { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: L(55, 20) }
4731
4738
  ];
4732
4739
  }
4733
4740
  if (t === "dispatcher" || t === "messageServer") {
4734
4741
  const o = n.traffic ?? n.queueDepth ?? 50;
4735
4742
  return [
4736
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: O(o, 20) },
4737
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: O(60, 25) },
4738
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: O(45, 20) },
4739
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: O(70, 30) },
4740
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: O(o * 0.9, 15) }
4743
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: L(o, 20) },
4744
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: L(60, 25) },
4745
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: L(45, 20) },
4746
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: L(70, 30) },
4747
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: L(o * 0.9, 15) }
4741
4748
  ];
4742
4749
  }
4743
4750
  if (t === "database") {
4744
4751
  const o = n.capacity ?? 70;
4745
4752
  return [
4746
- { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: O(40, 20) },
4747
- { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: O(55, 25) },
4748
- { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: O(35, 18) },
4749
- { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: O(o, 15) },
4750
- { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: O(75, 12) }
4753
+ { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: L(40, 20) },
4754
+ { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: L(55, 25) },
4755
+ { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: L(35, 18) },
4756
+ { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: L(o, 15) },
4757
+ { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: L(75, 12) }
4751
4758
  ];
4752
4759
  }
4753
4760
  return [];
@@ -4761,7 +4768,7 @@ function Nt({
4761
4768
  delay: a = "0s",
4762
4769
  children: s
4763
4770
  }) {
4764
- const l = r ? C[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
4771
+ const l = r ? $[r]?.glow ?? "rgba(0,229,255,0.4)" : "rgba(0,229,255,0.4)";
4765
4772
  return /* @__PURE__ */ c(
4766
4773
  "div",
4767
4774
  {
@@ -4802,8 +4809,8 @@ function Nt({
4802
4809
  width: 4,
4803
4810
  height: 4,
4804
4811
  borderRadius: "50%",
4805
- background: C[r]?.color,
4806
- boxShadow: `0 0 6px ${C[r]?.color}`,
4812
+ background: $[r]?.color,
4813
+ boxShadow: `0 0 6px ${$[r]?.color}`,
4807
4814
  animation: "holo-led-blink 1.2s infinite"
4808
4815
  }
4809
4816
  }
@@ -4929,8 +4936,8 @@ function Ke({
4929
4936
  width: 4,
4930
4937
  height: 4,
4931
4938
  borderRadius: "50%",
4932
- background: C[o]?.color,
4933
- boxShadow: `0 0 6px ${C[o]?.color}`,
4939
+ background: $[o]?.color,
4940
+ boxShadow: `0 0 6px ${$[o]?.color}`,
4934
4941
  animation: "holo-led-blink 1.2s infinite"
4935
4942
  }
4936
4943
  }
@@ -5027,7 +5034,7 @@ function Ze({
5027
5034
  width: 3,
5028
5035
  height: 3,
5029
5036
  borderRadius: "50%",
5030
- background: C[o]?.color,
5037
+ background: $[o]?.color,
5031
5038
  animation: "holo-led-blink 1.2s infinite"
5032
5039
  }
5033
5040
  }
@@ -5156,7 +5163,7 @@ function Wt({
5156
5163
  }
5157
5164
  );
5158
5165
  }
5159
- function W({
5166
+ function M({
5160
5167
  color: t = "#00e5ff",
5161
5168
  label: n = "THREAD",
5162
5169
  status: o = "online"
@@ -5221,7 +5228,7 @@ function Qe({
5221
5228
  width: 4,
5222
5229
  height: 4,
5223
5230
  borderRadius: "50%",
5224
- background: C[o]?.color,
5231
+ background: $[o]?.color,
5225
5232
  animation: "holo-led-blink 1.2s infinite"
5226
5233
  }
5227
5234
  }
@@ -5276,7 +5283,7 @@ function Y({
5276
5283
  width: 4,
5277
5284
  height: 4,
5278
5285
  borderRadius: "50%",
5279
- background: o && o !== "online" ? C[o]?.color ?? t : t,
5286
+ background: o && o !== "online" ? $[o]?.color ?? t : t,
5280
5287
  boxShadow: `0 0 4px ${t}`,
5281
5288
  animation: o && o !== "online" && o !== "offline" ? "holo-led-blink 1s infinite" : "none"
5282
5289
  }
@@ -5421,7 +5428,7 @@ function hi(t, n, o, i) {
5421
5428
  }
5422
5429
  ] : [];
5423
5430
  }
5424
- const I = "cubic-bezier(0.34, 1.56, 0.64, 1)", ui = "cubic-bezier(0.16, 1, 0.3, 1)";
5431
+ const D = "cubic-bezier(0.34, 1.56, 0.64, 1)", ui = "cubic-bezier(0.16, 1, 0.3, 1)";
5425
5432
  function bi({ items: t, revealPhase: n }) {
5426
5433
  return /* @__PURE__ */ e(
5427
5434
  "div",
@@ -5440,7 +5447,7 @@ function bi({ items: t, revealPhase: n }) {
5440
5447
  style: {
5441
5448
  opacity: n >= 0.2 + i * 0.06 ? 1 : 0,
5442
5449
  transform: `scale(${n >= 0.2 + i * 0.06 ? 1 : 0.6})`,
5443
- transition: `opacity 0.4s ${I} ${i * 0.06}s, transform 0.45s ${I} ${i * 0.06}s`
5450
+ transition: `opacity 0.4s ${D} ${i * 0.06}s, transform 0.45s ${D} ${i * 0.06}s`
5444
5451
  },
5445
5452
  children: o.element
5446
5453
  },
@@ -5456,7 +5463,7 @@ function gi({
5456
5463
  internal: i,
5457
5464
  revealPhase: r
5458
5465
  }) {
5459
- const a = C[n]?.color ?? C.online.color, s = "#ff8c00";
5466
+ const a = $[n]?.color ?? $.online.color, s = "#ff8c00";
5460
5467
  if (t === "server") {
5461
5468
  const l = o.cpuLoad ?? 50, h = o.memLoad ?? 60, d = [
5462
5469
  {
@@ -5549,7 +5556,7 @@ function gi({
5549
5556
  {
5550
5557
  key: "thread",
5551
5558
  delay: 7,
5552
- el: /* @__PURE__ */ e(W, { color: a, label: "THREAD-POOL", status: i[7]?.status })
5559
+ el: /* @__PURE__ */ e(M, { color: a, label: "THREAD-POOL", status: i[7]?.status })
5553
5560
  },
5554
5561
  {
5555
5562
  key: "net",
@@ -5568,15 +5575,15 @@ function gi({
5568
5575
  alignItems: "center",
5569
5576
  padding: 24
5570
5577
  },
5571
- children: d.map(({ key: p, delay: f, el: b }) => /* @__PURE__ */ e(
5578
+ children: d.map(({ key: p, delay: f, el: g }) => /* @__PURE__ */ e(
5572
5579
  "div",
5573
5580
  {
5574
5581
  style: {
5575
5582
  opacity: r >= 0.2 + f * 0.08 ? 1 : 0,
5576
5583
  transform: `scale(${r >= 0.2 + f * 0.08 ? 1 : 0.6})`,
5577
- transition: `opacity 0.4s ${I} ${f * 0.06}s, transform 0.45s ${I} ${f * 0.06}s`
5584
+ transition: `opacity 0.4s ${D} ${f * 0.06}s, transform 0.45s ${D} ${f * 0.06}s`
5578
5585
  },
5579
- children: b
5586
+ children: g
5580
5587
  },
5581
5588
  p
5582
5589
  ))
@@ -5592,7 +5599,7 @@ function gi({
5592
5599
  style: {
5593
5600
  opacity: r >= 0.25 + d * 0.04 ? 1 : 0,
5594
5601
  transform: `scale(${r >= 0.25 + d * 0.04 ? 1 : 0.5})`,
5595
- transition: `opacity 0.35s ${I} ${d * 0.04}s, transform 0.4s ${I} ${d * 0.04}s`
5602
+ transition: `opacity 0.35s ${D} ${d * 0.04}s, transform 0.4s ${D} ${d * 0.04}s`
5596
5603
  },
5597
5604
  children: /* @__PURE__ */ e(Y, { color: a, label: `PORT-${d + 1}`, status: p?.status })
5598
5605
  },
@@ -5618,9 +5625,9 @@ function gi({
5618
5625
  style: {
5619
5626
  opacity: r >= 0.7 ? 1 : 0,
5620
5627
  transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
5621
- transition: `all 0.4s ${I} 0.3s`
5628
+ transition: `all 0.4s ${D} 0.3s`
5622
5629
  },
5623
- children: /* @__PURE__ */ e(W, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
5630
+ children: /* @__PURE__ */ e(M, { color: a, label: "HTTP-WORKER", status: i[8]?.status })
5624
5631
  }
5625
5632
  ),
5626
5633
  /* @__PURE__ */ e(
@@ -5629,9 +5636,9 @@ function gi({
5629
5636
  style: {
5630
5637
  opacity: r >= 0.8 ? 1 : 0,
5631
5638
  transform: `scale(${r >= 0.8 ? 1 : 0.6})`,
5632
- transition: `all 0.4s ${I} 0.4s`
5639
+ transition: `all 0.4s ${D} 0.4s`
5633
5640
  },
5634
- children: /* @__PURE__ */ e(W, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
5641
+ children: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: i[9]?.status })
5635
5642
  }
5636
5643
  )
5637
5644
  ] })
@@ -5658,7 +5665,7 @@ function gi({
5658
5665
  style: {
5659
5666
  opacity: r >= 0.25 + l * 0.1 ? 1 : 0,
5660
5667
  transform: `scale(${r >= 0.25 + l * 0.1 ? 1 : 0.6})`,
5661
- transition: `all 0.4s ${I} ${l * 0.08}s`
5668
+ transition: `all 0.4s ${D} ${l * 0.08}s`
5662
5669
  },
5663
5670
  children: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: `INST-${l}`, status: i[l]?.status })
5664
5671
  },
@@ -5670,9 +5677,9 @@ function gi({
5670
5677
  style: {
5671
5678
  opacity: r >= 0.6 ? 1 : 0,
5672
5679
  transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
5673
- transition: `all 0.4s ${I} 0.25s`
5680
+ transition: `all 0.4s ${D} 0.25s`
5674
5681
  },
5675
- children: /* @__PURE__ */ e(W, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
5682
+ children: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "QUEUE-0", status: i[3]?.status })
5676
5683
  }
5677
5684
  ),
5678
5685
  [4, 5, 6].map((l) => /* @__PURE__ */ e(
@@ -5681,10 +5688,10 @@ function gi({
5681
5688
  style: {
5682
5689
  opacity: r >= 0.7 + (l - 4) * 0.08 ? 1 : 0,
5683
5690
  transform: `scale(${r >= 0.7 ? 1 : 0.6})`,
5684
- transition: `all 0.4s ${I} ${0.35 + (l - 4) * 0.05}s`
5691
+ transition: `all 0.4s ${D} ${0.35 + (l - 4) * 0.05}s`
5685
5692
  },
5686
5693
  children: /* @__PURE__ */ e(
5687
- W,
5694
+ M,
5688
5695
  {
5689
5696
  color: "#bb55ff",
5690
5697
  label: `WORKER-${l - 3}`,
@@ -5717,7 +5724,7 @@ function gi({
5717
5724
  style: {
5718
5725
  opacity: r >= 0.2 + h * 0.12 ? 1 : 0,
5719
5726
  transform: `scale(${r >= 0.2 + h * 0.12 ? 1 : 0.5})`,
5720
- transition: `all 0.45s ${I} ${h * 0.1}s`
5727
+ transition: `all 0.45s ${D} ${h * 0.1}s`
5721
5728
  },
5722
5729
  children: /* @__PURE__ */ e(
5723
5730
  Qe,
@@ -5737,9 +5744,9 @@ function gi({
5737
5744
  style: {
5738
5745
  opacity: r >= 0.6 ? 1 : 0,
5739
5746
  transform: `scale(${r >= 0.6 ? 1 : 0.6})`,
5740
- transition: `all 0.4s ${I} 0.3s`
5747
+ transition: `all 0.4s ${D} 0.3s`
5741
5748
  },
5742
- children: /* @__PURE__ */ e(W, { color: s, label: "CONN-POOL", status: i[3]?.status })
5749
+ children: /* @__PURE__ */ e(M, { color: s, label: "CONN-POOL", status: i[3]?.status })
5743
5750
  }
5744
5751
  ),
5745
5752
  /* @__PURE__ */ e(
@@ -5748,9 +5755,9 @@ function gi({
5748
5755
  style: {
5749
5756
  opacity: r >= 0.75 ? 1 : 0,
5750
5757
  transform: `scale(${r >= 0.75 ? 1 : 0.6})`,
5751
- transition: `all 0.4s ${I} 0.4s`
5758
+ transition: `all 0.4s ${D} 0.4s`
5752
5759
  },
5753
- children: /* @__PURE__ */ e(W, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
5760
+ children: /* @__PURE__ */ e(M, { color: "#00ff88", label: "QUERY-CACHE", status: i[4]?.status })
5754
5761
  }
5755
5762
  )
5756
5763
  ]
@@ -5769,7 +5776,7 @@ function Ui({
5769
5776
  subComponents: s,
5770
5777
  graphSeries: l
5771
5778
  }) {
5772
- const h = hi(t, n, o, a), d = C[o]?.color ?? C.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", b = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5779
+ const h = hi(t, n, o, a), d = $[o]?.color ?? $.online.color, p = r >= 0.1 ? 1 : r * 10, f = r >= 0.2 ? "-50%" : "0%", g = r >= 0.2 ? "50%" : "0%", u = r >= 0.25 ? Math.min(1, (r - 0.25) * 1.5) : 0;
5773
5780
  return /* @__PURE__ */ c(
5774
5781
  "div",
5775
5782
  {
@@ -5781,7 +5788,7 @@ function Ui({
5781
5788
  flexDirection: "row",
5782
5789
  pointerEvents: "auto"
5783
5790
  },
5784
- onClick: (g) => g.stopPropagation(),
5791
+ onClick: (b) => b.stopPropagation(),
5785
5792
  children: [
5786
5793
  /* @__PURE__ */ e(
5787
5794
  "div",
@@ -5843,7 +5850,7 @@ function Ui({
5843
5850
  borderRight: `2px solid ${d}44`,
5844
5851
  boxShadow: "4px 0 32px rgba(0,0,0,0.6)",
5845
5852
  transform: `translateX(${f})`,
5846
- transition: `transform 0.7s ${I}`
5853
+ transition: `transform 0.7s ${D}`
5847
5854
  }
5848
5855
  }
5849
5856
  ),
@@ -5857,8 +5864,8 @@ function Ui({
5857
5864
  background: "linear-gradient(90deg, rgba(2, 12, 28, 0.95) 0%, rgba(2, 8, 20, 0.98) 100%)",
5858
5865
  borderLeft: `2px solid ${d}44`,
5859
5866
  boxShadow: "-4px 0 32px rgba(0,0,0,0.6)",
5860
- transform: `translateX(${b})`,
5861
- transition: `transform 0.7s ${I}`
5867
+ transform: `translateX(${g})`,
5868
+ transition: `transform 0.7s ${D}`
5862
5869
  }
5863
5870
  }
5864
5871
  )
@@ -5881,7 +5888,7 @@ function Ui({
5881
5888
  display: "flex",
5882
5889
  flexDirection: "column",
5883
5890
  opacity: u >= 0.1 ? 1 : 0,
5884
- transition: `opacity 0.5s ${I} 0.2s`
5891
+ transition: `opacity 0.5s ${D} 0.2s`
5885
5892
  },
5886
5893
  children: [
5887
5894
  /* @__PURE__ */ c(
@@ -6111,38 +6118,38 @@ function wi(t) {
6111
6118
  return t;
6112
6119
  }
6113
6120
  function Si({ config: t, children: n }) {
6114
- const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [h, d] = R(null), [p, f] = R(null), b = ie(t);
6115
- b.current = t;
6121
+ const [o, i] = R({}), [r, a] = R(null), [s, l] = R(!1), [h, d] = R(null), [p, f] = R(null), g = ie(t);
6122
+ g.current = t;
6116
6123
  const u = ie(r);
6117
6124
  u.current = r;
6118
- const g = Ge(async () => {
6119
- const v = u.current, S = b.current;
6125
+ const b = Ge(async () => {
6126
+ const v = u.current, S = g.current;
6120
6127
  if (v) {
6121
6128
  l(!0);
6122
6129
  try {
6123
6130
  const y = await Promise.allSettled(
6124
- S.queries.map(($) => {
6125
- const H = S.endpoint.includes("?") ? "&" : "?", L = `${S.endpoint}${H}query=${encodeURIComponent($)}`;
6126
- return fetch(L, {
6131
+ S.queries.map((P) => {
6132
+ const O = S.endpoint.includes("?") ? "&" : "?", I = `${S.endpoint}${O}query=${encodeURIComponent(P)}`;
6133
+ return fetch(I, {
6127
6134
  method: "GET",
6128
6135
  headers: {
6129
6136
  "access-key": v.accessKey,
6130
6137
  "access-secret-key": v.secretKey
6131
6138
  }
6132
- }).then((M) => {
6133
- if (!M.ok) throw new Error(`HTTP ${M.status}`);
6134
- return M.text();
6135
- }).then((M) => ({ query: $, data: M.trim() }));
6139
+ }).then((z) => {
6140
+ if (!z.ok) throw new Error(`HTTP ${z.status}`);
6141
+ return z.text();
6142
+ }).then((z) => ({ query: P, data: z.trim() }));
6136
6143
  })
6137
6144
  ), x = {};
6138
- let A = 0;
6139
- for (const $ of y)
6140
- $.status === "fulfilled" ? x[$.value.query] = $.value.data : A++;
6141
- i(($) => ({ ...$, ...x }));
6145
+ let C = 0;
6146
+ for (const P of y)
6147
+ P.status === "fulfilled" ? x[P.value.query] = P.value.data : C++;
6148
+ i((P) => ({ ...P, ...x }));
6142
6149
  const k = S.queries.length;
6143
6150
  d(
6144
- A > 0 ? `${A} of ${k} queries failed to refresh` : null
6145
- ), A < k && f(/* @__PURE__ */ new Date());
6151
+ C > 0 ? `${C} of ${k} queries failed to refresh` : null
6152
+ ), C < k && f(/* @__PURE__ */ new Date());
6146
6153
  } catch (y) {
6147
6154
  const x = y instanceof Error ? y.message : "Refresh failed";
6148
6155
  d(x);
@@ -6153,10 +6160,10 @@ function Si({ config: t, children: n }) {
6153
6160
  }, []);
6154
6161
  ke(() => {
6155
6162
  if (!r) return;
6156
- g();
6157
- const v = b.current.refreshInterval ?? 6e4, S = window.setInterval(g, v);
6163
+ b();
6164
+ const v = g.current.refreshInterval ?? 6e4, S = window.setInterval(b, v);
6158
6165
  return () => clearInterval(S);
6159
- }, [r, g]);
6166
+ }, [r, b]);
6160
6167
  const m = Ge((v) => {
6161
6168
  a(v);
6162
6169
  }, []), w = {
@@ -6202,30 +6209,30 @@ function At({
6202
6209
  dataTransform: h,
6203
6210
  children: d
6204
6211
  }) {
6205
- const p = xi(), [f] = R(20), [b] = R(!1), [u] = R(!0), [g] = R(0.45), [m] = R(3.3), [w, v] = R("compact"), [S, y] = R(0), [x, A] = R(null), [k, $] = R(null), [H, L] = R(0), M = (T) => {
6206
- w === "compact" && (A(T), v("expanding"), y(0), setTimeout(() => y(1), 50), setTimeout(() => y(2), 800), setTimeout(() => y(3), 1200), setTimeout(() => y(4), 1600), setTimeout(() => y(5), 2e3), setTimeout(() => {
6212
+ const p = xi(), [f] = R(20), [g] = R(!1), [u] = R(!0), [b] = R(0.45), [m] = R(3.3), [w, v] = R("compact"), [S, y] = R(0), [x, C] = R(null), [k, P] = R(null), [O, I] = R(0), z = (T) => {
6213
+ w === "compact" && (C(T), v("expanding"), y(0), setTimeout(() => y(1), 50), setTimeout(() => y(2), 800), setTimeout(() => y(3), 1200), setTimeout(() => y(4), 1600), setTimeout(() => y(5), 2e3), setTimeout(() => {
6207
6214
  y(6), v("expanded");
6208
6215
  }, 2400));
6209
6216
  }, K = () => {
6210
- k ? ($(null), L(0)) : w === "expanded" && (v("collapsing"), y(0), A(null), setTimeout(() => {
6217
+ k ? (P(null), I(0)) : w === "expanded" && (v("collapsing"), y(0), C(null), setTimeout(() => {
6211
6218
  v((T) => T === "collapsing" ? "compact" : T);
6212
6219
  }, 1e3));
6213
6220
  }, Z = Ge((T) => {
6214
- $(T), L(0);
6221
+ P(T), I(0);
6215
6222
  }, []), ye = Ge((T) => {
6216
- $(T);
6223
+ P(T);
6217
6224
  }, []);
6218
6225
  q.useEffect(() => {
6219
6226
  if (!k) return;
6220
- const T = performance.now(), j = 1200, oe = () => {
6221
- const V = performance.now() - T, re = Math.min(1, V / j);
6222
- L(re), re < 1 && requestAnimationFrame(oe);
6223
- }, ee = requestAnimationFrame(oe);
6227
+ const T = performance.now(), j = 1200, re = () => {
6228
+ const V = performance.now() - T, ae = Math.min(1, V / j);
6229
+ I(ae), ae < 1 && requestAnimationFrame(re);
6230
+ }, ee = requestAnimationFrame(re);
6224
6231
  return () => cancelAnimationFrame(ee);
6225
6232
  }, [k]);
6226
6233
  const me = () => {
6227
- $(null), L(0);
6228
- }, D = h ?? wi, U = p?.data, { enhancedChildren: ne, liveAlerts: Be } = Tt(() => {
6234
+ P(null), I(0);
6235
+ }, N = h ?? wi, U = p?.data, { enhancedChildren: ne, liveAlerts: Be } = Tt(() => {
6229
6236
  const T = {};
6230
6237
  if (!U || !l) return { enhancedChildren: d, liveAlerts: T };
6231
6238
  const j = {};
@@ -6233,16 +6240,16 @@ function At({
6233
6240
  if (!q.isValidElement(ee)) return ee;
6234
6241
  const V = ee.props.name;
6235
6242
  if (!V || !l[V]) return ee;
6236
- const re = l[V], ve = {}, ae = {};
6237
- for (const [pe, B] of Object.entries(re)) {
6238
- const rt = typeof B == "string" ? B : B.query, at = typeof B == "object" && B.transform ? B.transform : D, Ye = U[rt];
6243
+ const ae = l[V], ve = {}, le = {};
6244
+ for (const [pe, F] of Object.entries(ae)) {
6245
+ const rt = typeof F == "string" ? F : F.query, at = typeof F == "object" && F.transform ? F.transform : N, Ye = U[rt];
6239
6246
  if (Ye === void 0) continue;
6240
6247
  const we = at(Ye);
6241
- if (ve[pe] = we, typeof B == "object" && B.alert && typeof we == "number") {
6242
- const { prop: F, warnAt: Ve = 70, critAt: St = 85, label: Ft } = B.alert, _e = Ft ?? pe, je = Math.round(we);
6248
+ if (ve[pe] = we, typeof F == "object" && F.alert && typeof we == "number") {
6249
+ const { prop: H, warnAt: Ve = 70, critAt: St = 85, label: Ft } = F.alert, _e = Ft ?? pe, je = Math.round(we);
6243
6250
  if (we >= St) {
6244
- const He = ae[F];
6245
- (!He || He.severity < 2) && (ae[F] = {
6251
+ const He = le[H];
6252
+ (!He || He.severity < 2) && (le[H] = {
6246
6253
  msg: `${_e} critical — ${je}%`,
6247
6254
  internalRef: pe,
6248
6255
  severity: 2
@@ -6251,8 +6258,8 @@ function At({
6251
6258
  message: `${_e} at ${je}% — exceeds critical threshold (${St}%)`
6252
6259
  });
6253
6260
  } else if (we >= Ve) {
6254
- const He = ae[F];
6255
- (!He || He.severity < 1) && (ae[F] = {
6261
+ const He = le[H];
6262
+ (!He || He.severity < 1) && (le[H] = {
6256
6263
  msg: `${_e} elevated — ${je}%`,
6257
6264
  internalRef: pe,
6258
6265
  severity: 1
@@ -6263,11 +6270,11 @@ function At({
6263
6270
  }
6264
6271
  }
6265
6272
  }
6266
- for (const [pe, B] of Object.entries(ae))
6267
- ve[pe] = { msg: B.msg, internalRef: B.internalRef };
6273
+ for (const [pe, F] of Object.entries(le))
6274
+ ve[pe] = { msg: F.msg, internalRef: F.internalRef };
6268
6275
  return Object.keys(ve).length > 0 ? q.cloneElement(ee, ve) : ee;
6269
6276
  }), liveAlerts: j };
6270
- }, [d, U, l, D]), le = o.find((T) => T.name === x), Fe = le?.status ?? "online", J = le?.dbSync ?? !0, z = le?.metrics, _ = Be[x ?? ""] ?? [], se = le?.alerts ?? [], de = _.length > 0 ? [..._, ...se.filter((T) => T.level !== "info")] : se, Ce = p?.lastRefreshError ?? null, it = 330, nt = 340, xe = k ? 1.15 : 1, ce = k ? -(k.ex - it) * 0.06 : 0, ot = k ? -(k.ey - nt) * 0.06 : 0;
6277
+ }, [d, U, l, N]), oe = o.find((T) => T.name === x), Fe = oe?.status ?? "online", J = oe?.dbSync ?? !0, B = oe?.metrics, _ = Be[x ?? ""] ?? [], se = oe?.alerts ?? [], de = _.length > 0 ? [..._, ...se.filter((T) => T.level !== "info")] : se, Ce = p?.lastRefreshError ?? null, it = 330, nt = 340, xe = k ? 1.15 : 1, ce = k ? -(k.ex - it) * 0.06 : 0, ot = k ? -(k.ey - nt) * 0.06 : 0;
6271
6278
  return /* @__PURE__ */ c("div", { className: "app", style: s ? { fontFamily: s } : void 0, children: [
6272
6279
  /* @__PURE__ */ e(
6273
6280
  "div",
@@ -6315,22 +6322,22 @@ function At({
6315
6322
  animPhase: S,
6316
6323
  selectedSystem: x,
6317
6324
  selectedComponent: k,
6318
- drillAnimPhase: H,
6325
+ drillAnimPhase: O,
6319
6326
  rotateY: f,
6320
- autoRotateComponents: b,
6321
- componentScale: g,
6327
+ autoRotateComponents: g,
6328
+ componentScale: b,
6322
6329
  drillZoom: m,
6323
6330
  autoRotateCarousel: u,
6324
6331
  carouselSpeed: a,
6325
6332
  logoUrl: r,
6326
- onSelectSystem: M,
6333
+ onSelectSystem: z,
6327
6334
  onBackgroundClick: K,
6328
6335
  onComponentClick: Z,
6329
6336
  onComponentUpdate: ye,
6330
6337
  onCloseDrill: me,
6331
6338
  selectedSystemStatus: Fe,
6332
6339
  selectedSystemDbSync: J,
6333
- selectedSystemMetrics: z,
6340
+ selectedSystemMetrics: B,
6334
6341
  selectedSystemAlerts: de,
6335
6342
  children: ne
6336
6343
  }
@@ -6339,7 +6346,7 @@ function At({
6339
6346
  )
6340
6347
  ] });
6341
6348
  }
6342
- function P(t, n, o = 24) {
6349
+ function E(t, n, o = 24) {
6343
6350
  return Array.from({ length: o }, (i, r) => {
6344
6351
  const a = r / o;
6345
6352
  return Math.min(100, Math.max(0, t + Math.sin(a * Math.PI * 2) * n + (Math.random() - 0.5) * 10));
@@ -6358,21 +6365,21 @@ function Ne(t, n, o) {
6358
6365
  { id: "drive-1", label: "DRIVE-1", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "DRIVE-1", status: "online", activity: !0 }) },
6359
6366
  { id: "drive-2", label: "DRIVE-2", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "DRIVE-2", status: "online", activity: a > 30 }) },
6360
6367
  { id: "drive-3", label: "DRIVE-3", status: "online", element: /* @__PURE__ */ e(De, { color: r, label: "DRIVE-3", status: "online", activity: a > 50 }) },
6361
- { id: "thread-pool", label: "THREAD-POOL", status: d, detail: d === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(W, { color: r, label: "THREAD-POOL", status: d }) },
6368
+ { id: "thread-pool", label: "THREAD-POOL", status: d, detail: d === "critical" ? "Thread exhaustion" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "THREAD-POOL", status: d }) },
6362
6369
  { id: "network", label: "NET", status: p, element: /* @__PURE__ */ e(Wt, { color: r, label: "NET", status: p }) }
6363
6370
  ];
6364
6371
  }
6365
6372
  function We(t) {
6366
6373
  const n = t?.cpuLoad ?? 50, o = t?.memLoad ?? 60;
6367
6374
  return [
6368
- { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: P(n, 15) },
6369
- { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: P(n * 0.7, 12) },
6370
- { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: P(o, 18) },
6371
- { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: P(o * 0.85, 14) },
6372
- { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: P(40, 25) },
6373
- { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: P(35, 20) },
6374
- { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: P(30, 22) },
6375
- { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: P(55, 20) }
6375
+ { id: "cpu", label: "CPU-0", unit: "%", color: "#00e5ff", data: E(n, 15) },
6376
+ { id: "cpu1", label: "CPU-1", unit: "%", color: "#00e5ff", data: E(n * 0.7, 12) },
6377
+ { id: "heap0", label: "HEAP-0", unit: "%", color: "#8855ee", data: E(o, 18) },
6378
+ { id: "heap1", label: "HEAP-1", unit: "%", color: "#8855ee", data: E(o * 0.85, 14) },
6379
+ { id: "drive1", label: "DRIVE-1 I/O", unit: "%", color: "#ff8c00", data: E(40, 25) },
6380
+ { id: "drive2", label: "DRIVE-2 I/O", unit: "%", color: "#ff8c00", data: E(35, 20) },
6381
+ { id: "drive3", label: "DRIVE-3 I/O", unit: "%", color: "#ff8c00", data: E(30, 22) },
6382
+ { id: "thread", label: "THREAD-POOL", unit: "%", color: "#22aaff", data: E(55, 20) }
6376
6383
  ];
6377
6384
  }
6378
6385
  function zt(t, n, o) {
@@ -6386,18 +6393,18 @@ function zt(t, n, o) {
6386
6393
  { id: "port-6", label: "PORT-6", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-6", status: "online" }) },
6387
6394
  { id: "port-7", label: "PORT-7", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-7", status: "online" }) },
6388
6395
  { id: "port-8", label: "PORT-8", status: "online", element: /* @__PURE__ */ e(Y, { color: r, label: "PORT-8", status: "online" }) },
6389
- { id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(W, { color: r, label: "HTTP-WORKER", status: l }) },
6390
- { id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(W, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
6396
+ { id: "http-worker", label: "HTTP-WORKER", status: l, detail: l === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "HTTP-WORKER", status: l }) },
6397
+ { id: "https-worker", label: "HTTPS-WORKER", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "HTTPS-WORKER", status: "online" }) }
6391
6398
  ];
6392
6399
  }
6393
6400
  function Bt(t) {
6394
6401
  const n = t?.traffic ?? 50;
6395
6402
  return [
6396
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: P(n, 20) },
6397
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: P(60, 25) },
6398
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: P(45, 20) },
6399
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: P(70, 30) },
6400
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: P(n * 0.9, 15) }
6403
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
6404
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: E(60, 25) },
6405
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: E(45, 20) },
6406
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: E(70, 30) },
6407
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
6401
6408
  ];
6402
6409
  }
6403
6410
  function $i(t, n, o) {
@@ -6406,20 +6413,20 @@ function $i(t, n, o) {
6406
6413
  { id: "inst-0", label: "INST-0", status: "online", element: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: "INST-0", status: "online" }) },
6407
6414
  { id: "inst-1", label: "INST-1", status: "online", element: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: "INST-1", status: "online" }) },
6408
6415
  { id: "inst-2", label: "INST-2", status: r, detail: r === "critical" ? "Instance unreachable" : void 0, element: /* @__PURE__ */ e(Y, { color: "#bb55ff", label: "INST-2", status: r }) },
6409
- { 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(W, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
6410
- { id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(W, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
6411
- { id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(W, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
6412
- { id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(W, { color: "#bb55ff", label: "WORKER-3", status: s }) }
6416
+ { id: "queue-0", label: "QUEUE-0", status: a, detail: i === "critical" ? "Queue full" : i === "offline" ? "Unreachable" : i === "warning" ? "Queue depth warning" : void 0, element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "QUEUE-0", status: a }) },
6417
+ { id: "worker-1", label: "WORKER-1", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-1", status: "online" }) },
6418
+ { id: "worker-2", label: "WORKER-2", status: "online", element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-2", status: "online" }) },
6419
+ { id: "worker-3", label: "WORKER-3", status: s, detail: s === "critical" ? "Worker timeout" : void 0, element: /* @__PURE__ */ e(M, { color: "#bb55ff", label: "WORKER-3", status: s }) }
6413
6420
  ];
6414
6421
  }
6415
6422
  function ki(t) {
6416
6423
  const n = t?.queueDepth ?? 50;
6417
6424
  return [
6418
- { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: P(n, 20) },
6419
- { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: P(60, 25) },
6420
- { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: P(45, 20) },
6421
- { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: P(70, 30) },
6422
- { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: P(n * 0.9, 15) }
6425
+ { id: "traffic", label: "TRAFFIC", unit: "%", color: "#00e5ff", data: E(n, 20) },
6426
+ { id: "port1", label: "PORT-1", unit: "kbps", color: "#22aaff", data: E(60, 25) },
6427
+ { id: "port2", label: "PORT-2", unit: "kbps", color: "#22aaff", data: E(45, 20) },
6428
+ { id: "port3", label: "PORT-3", unit: "kbps", color: "#22aaff", data: E(70, 30) },
6429
+ { id: "worker", label: "WORKER", unit: "%", color: "#bb55ff", data: E(n * 0.9, 15) }
6423
6430
  ];
6424
6431
  }
6425
6432
  function Je(t, n, o) {
@@ -6428,18 +6435,18 @@ function Je(t, n, o) {
6428
6435
  { id: "platter-0", label: "PLATTER-0", status: "online", element: /* @__PURE__ */ e(Qe, { color: r, label: "PLATTER-0", status: "online", capacityPercent: a }) },
6429
6436
  { id: "platter-1", label: "PLATTER-1", status: s, detail: i === "critical" ? "I/O failure" : i === "offline" ? "Connection lost" : i === "warning" ? "Slow queries" : void 0, element: /* @__PURE__ */ e(Qe, { color: r, label: "PLATTER-1", status: s, capacityPercent: a }) },
6430
6437
  { id: "platter-2", label: "PLATTER-2", status: l, detail: l === "warning" ? "Replication lag" : void 0, element: /* @__PURE__ */ e(Qe, { color: r, label: "PLATTER-2", status: l, capacityPercent: a }) },
6431
- { id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(W, { color: r, label: "CONN-POOL", status: h }) },
6432
- { id: "query-cache", label: "QUERY-CACHE", status: d, detail: d === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(W, { color: "#00ff88", label: "QUERY-CACHE", status: d }) }
6438
+ { id: "conn-pool", label: "CONN-POOL", status: h, detail: h === "critical" ? "Pool exhausted" : void 0, element: /* @__PURE__ */ e(M, { color: r, label: "CONN-POOL", status: h }) },
6439
+ { id: "query-cache", label: "QUERY-CACHE", status: d, detail: d === "warning" ? "Cache miss rate" : void 0, element: /* @__PURE__ */ e(M, { color: "#00ff88", label: "QUERY-CACHE", status: d }) }
6433
6440
  ];
6434
6441
  }
6435
6442
  function et(t) {
6436
6443
  const n = t?.capacity ?? 70;
6437
6444
  return [
6438
- { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: P(40, 20) },
6439
- { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: P(55, 25) },
6440
- { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: P(35, 18) },
6441
- { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: P(n, 15) },
6442
- { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: P(75, 12) }
6445
+ { id: "platter0", label: "PLATTER-0 I/O", unit: "%", color: "#ff8c00", data: E(40, 20) },
6446
+ { id: "platter1", label: "PLATTER-1 I/O", unit: "%", color: "#ff8c00", data: E(55, 25) },
6447
+ { id: "platter2", label: "PLATTER-2 I/O", unit: "%", color: "#ff8c00", data: E(35, 18) },
6448
+ { id: "connpool", label: "CONN-POOL", unit: "%", color: "#00e5ff", data: E(n, 15) },
6449
+ { id: "cache", label: "QUERY-CACHE", unit: "%", color: "#00ff88", data: E(75, 12) }
6443
6450
  ];
6444
6451
  }
6445
6452
  function vt(t) {
@@ -6502,7 +6509,7 @@ function Ci({ config: t }) {
6502
6509
  const n = q.useContext(Re), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { wdStatus: r, msStatus: a, srv1Status: s, srv2Status: l, srv3Status: h, pdbStatus: d, sdbStatus: p, dbSync: f } = t;
6503
6510
  return /* @__PURE__ */ c(Me, { children: [
6504
6511
  /* @__PURE__ */ e(
6505
- E,
6512
+ A,
6506
6513
  {
6507
6514
  ex: 330,
6508
6515
  ey: 120,
@@ -6514,7 +6521,7 @@ function Ci({ config: t }) {
6514
6521
  }
6515
6522
  ),
6516
6523
  /* @__PURE__ */ e(
6517
- E,
6524
+ A,
6518
6525
  {
6519
6526
  ex: 220,
6520
6527
  ey: 260,
@@ -6547,7 +6554,7 @@ function Ci({ config: t }) {
6547
6554
  }
6548
6555
  ),
6549
6556
  /* @__PURE__ */ e(
6550
- E,
6557
+ A,
6551
6558
  {
6552
6559
  ex: 440,
6553
6560
  ey: 260,
@@ -6581,7 +6588,7 @@ function Ci({ config: t }) {
6581
6588
  }
6582
6589
  ),
6583
6590
  /* @__PURE__ */ e(
6584
- E,
6591
+ A,
6585
6592
  {
6586
6593
  ex: 165,
6587
6594
  ey: 390,
@@ -6614,7 +6621,7 @@ function Ci({ config: t }) {
6614
6621
  }
6615
6622
  ),
6616
6623
  /* @__PURE__ */ e(
6617
- E,
6624
+ A,
6618
6625
  {
6619
6626
  ex: 330,
6620
6627
  ey: 390,
@@ -6647,7 +6654,7 @@ function Ci({ config: t }) {
6647
6654
  }
6648
6655
  ),
6649
6656
  /* @__PURE__ */ e(
6650
- E,
6657
+ A,
6651
6658
  {
6652
6659
  ex: 495,
6653
6660
  ey: 390,
@@ -6680,7 +6687,7 @@ function Ci({ config: t }) {
6680
6687
  }
6681
6688
  ),
6682
6689
  /* @__PURE__ */ e(
6683
- E,
6690
+ A,
6684
6691
  {
6685
6692
  ex: 200,
6686
6693
  ey: 520,
@@ -6713,7 +6720,7 @@ function Ci({ config: t }) {
6713
6720
  }
6714
6721
  ),
6715
6722
  /* @__PURE__ */ e(
6716
- E,
6723
+ A,
6717
6724
  {
6718
6725
  ex: 460,
6719
6726
  ey: 520,
@@ -6746,7 +6753,7 @@ function Ci({ config: t }) {
6746
6753
  }
6747
6754
  ),
6748
6755
  /* @__PURE__ */ e(
6749
- E,
6756
+ A,
6750
6757
  {
6751
6758
  ex: 330,
6752
6759
  ey: 520,
@@ -6765,7 +6772,7 @@ function Pi({ config: t }) {
6765
6772
  const n = q.useContext(Re), { wdStatus: o, msStatus: i, srv1Status: r, srv2Status: a, srv3Status: s, pdbStatus: l, sdbStatus: h, dbSync: d } = t, p = n?.isSelected && n?.isExpandedPos;
6766
6773
  return n?.isSelected ? /* @__PURE__ */ c("div", { style: { pointerEvents: "none" }, children: [
6767
6774
  /* @__PURE__ */ e(
6768
- N,
6775
+ W,
6769
6776
  {
6770
6777
  ex: 220,
6771
6778
  ey: 260,
@@ -6780,7 +6787,7 @@ function Pi({ config: t }) {
6780
6787
  }
6781
6788
  ),
6782
6789
  /* @__PURE__ */ e(
6783
- N,
6790
+ W,
6784
6791
  {
6785
6792
  ex: 440,
6786
6793
  ey: 260,
@@ -6795,7 +6802,7 @@ function Pi({ config: t }) {
6795
6802
  }
6796
6803
  ),
6797
6804
  /* @__PURE__ */ e(
6798
- N,
6805
+ W,
6799
6806
  {
6800
6807
  ex: 165,
6801
6808
  ey: 390,
@@ -6810,7 +6817,7 @@ function Pi({ config: t }) {
6810
6817
  }
6811
6818
  ),
6812
6819
  /* @__PURE__ */ e(
6813
- N,
6820
+ W,
6814
6821
  {
6815
6822
  ex: 330,
6816
6823
  ey: 390,
@@ -6825,7 +6832,7 @@ function Pi({ config: t }) {
6825
6832
  }
6826
6833
  ),
6827
6834
  /* @__PURE__ */ e(
6828
- N,
6835
+ W,
6829
6836
  {
6830
6837
  ex: 495,
6831
6838
  ey: 390,
@@ -6840,7 +6847,7 @@ function Pi({ config: t }) {
6840
6847
  }
6841
6848
  ),
6842
6849
  /* @__PURE__ */ e(
6843
- N,
6850
+ W,
6844
6851
  {
6845
6852
  ex: 200,
6846
6853
  ey: 520,
@@ -6855,7 +6862,7 @@ function Pi({ config: t }) {
6855
6862
  }
6856
6863
  ),
6857
6864
  /* @__PURE__ */ e(
6858
- N,
6865
+ W,
6859
6866
  {
6860
6867
  ex: 460,
6861
6868
  ey: 520,
@@ -6870,7 +6877,7 @@ function Pi({ config: t }) {
6870
6877
  }
6871
6878
  ),
6872
6879
  !d && /* @__PURE__ */ e(
6873
- N,
6880
+ W,
6874
6881
  {
6875
6882
  ex: 330,
6876
6883
  ey: 520,
@@ -6953,7 +6960,7 @@ function Ai({ config: t }) {
6953
6960
  const n = q.useContext(Re), o = n?.rotateY ?? 20, i = n?.autoRotateComponents ?? !0, { dispStatus: r, srv1Status: a, srv2Status: s, srv3Status: l, pdbStatus: h, sdbStatus: d, dbSync: p } = t;
6954
6961
  return /* @__PURE__ */ c(Me, { children: [
6955
6962
  /* @__PURE__ */ e(
6956
- E,
6963
+ A,
6957
6964
  {
6958
6965
  ex: 330,
6959
6966
  ey: 120,
@@ -6965,7 +6972,7 @@ function Ai({ config: t }) {
6965
6972
  }
6966
6973
  ),
6967
6974
  /* @__PURE__ */ e(
6968
- E,
6975
+ A,
6969
6976
  {
6970
6977
  ex: 330,
6971
6978
  ey: 260,
@@ -6998,7 +7005,7 @@ function Ai({ config: t }) {
6998
7005
  }
6999
7006
  ),
7000
7007
  /* @__PURE__ */ e(
7001
- E,
7008
+ A,
7002
7009
  {
7003
7010
  ex: 165,
7004
7011
  ey: 390,
@@ -7031,7 +7038,7 @@ function Ai({ config: t }) {
7031
7038
  }
7032
7039
  ),
7033
7040
  /* @__PURE__ */ e(
7034
- E,
7041
+ A,
7035
7042
  {
7036
7043
  ex: 330,
7037
7044
  ey: 390,
@@ -7064,7 +7071,7 @@ function Ai({ config: t }) {
7064
7071
  }
7065
7072
  ),
7066
7073
  /* @__PURE__ */ e(
7067
- E,
7074
+ A,
7068
7075
  {
7069
7076
  ex: 495,
7070
7077
  ey: 390,
@@ -7097,7 +7104,7 @@ function Ai({ config: t }) {
7097
7104
  }
7098
7105
  ),
7099
7106
  /* @__PURE__ */ e(
7100
- E,
7107
+ A,
7101
7108
  {
7102
7109
  ex: 200,
7103
7110
  ey: 520,
@@ -7130,7 +7137,7 @@ function Ai({ config: t }) {
7130
7137
  }
7131
7138
  ),
7132
7139
  /* @__PURE__ */ e(
7133
- E,
7140
+ A,
7134
7141
  {
7135
7142
  ex: 460,
7136
7143
  ey: 520,
@@ -7163,7 +7170,7 @@ function Ai({ config: t }) {
7163
7170
  }
7164
7171
  ),
7165
7172
  /* @__PURE__ */ e(
7166
- E,
7173
+ A,
7167
7174
  {
7168
7175
  ex: 330,
7169
7176
  ey: 520,
@@ -7182,7 +7189,7 @@ function Ti({ config: t }) {
7182
7189
  const n = q.useContext(Re), { dispStatus: o, srv1Status: i, srv2Status: r, srv3Status: a, pdbStatus: s, sdbStatus: l, dbSync: h } = t, d = n?.isSelected && n?.isExpandedPos;
7183
7190
  return n?.isSelected ? /* @__PURE__ */ c("div", { style: { pointerEvents: "none" }, children: [
7184
7191
  /* @__PURE__ */ e(
7185
- N,
7192
+ W,
7186
7193
  {
7187
7194
  ex: 330,
7188
7195
  ey: 260,
@@ -7197,7 +7204,7 @@ function Ti({ config: t }) {
7197
7204
  }
7198
7205
  ),
7199
7206
  /* @__PURE__ */ e(
7200
- N,
7207
+ W,
7201
7208
  {
7202
7209
  ex: 165,
7203
7210
  ey: 390,
@@ -7212,7 +7219,7 @@ function Ti({ config: t }) {
7212
7219
  }
7213
7220
  ),
7214
7221
  /* @__PURE__ */ e(
7215
- N,
7222
+ W,
7216
7223
  {
7217
7224
  ex: 330,
7218
7225
  ey: 390,
@@ -7227,7 +7234,7 @@ function Ti({ config: t }) {
7227
7234
  }
7228
7235
  ),
7229
7236
  /* @__PURE__ */ e(
7230
- N,
7237
+ W,
7231
7238
  {
7232
7239
  ex: 495,
7233
7240
  ey: 390,
@@ -7242,7 +7249,7 @@ function Ti({ config: t }) {
7242
7249
  }
7243
7250
  ),
7244
7251
  /* @__PURE__ */ e(
7245
- N,
7252
+ W,
7246
7253
  {
7247
7254
  ex: 200,
7248
7255
  ey: 520,
@@ -7257,7 +7264,7 @@ function Ti({ config: t }) {
7257
7264
  }
7258
7265
  ),
7259
7266
  /* @__PURE__ */ e(
7260
- N,
7267
+ W,
7261
7268
  {
7262
7269
  ex: 460,
7263
7270
  ey: 520,
@@ -7272,7 +7279,7 @@ function Ti({ config: t }) {
7272
7279
  }
7273
7280
  ),
7274
7281
  !h && /* @__PURE__ */ e(
7275
- N,
7282
+ W,
7276
7283
  {
7277
7284
  ex: 330,
7278
7285
  ey: 520,
@@ -7326,21 +7333,21 @@ export {
7326
7333
  Dt as MessageServer3D,
7327
7334
  Hi as MessageServerNode,
7328
7335
  Wt as NetworkBlock3D,
7329
- N as NodeCallout,
7336
+ W as NodeCallout,
7330
7337
  Qe as Platter3D,
7331
7338
  Y as Port3D,
7332
7339
  Xi as SAPService,
7333
7340
  Ri as SAP_CONNECTIONS,
7334
- C as STATUS_CFG,
7341
+ $ as STATUS_CFG,
7335
7342
  $e as Server3D,
7336
7343
  Mi as ServerNode,
7337
7344
  Lt as Service,
7338
7345
  Re as ServiceContext,
7339
7346
  Ut as ServiceDialog,
7340
- E as ServiceNode,
7347
+ A as ServiceNode,
7341
7348
  qt as SvgConnection,
7342
7349
  It as SyncBridge,
7343
- W as ThreadPool3D,
7350
+ M as ThreadPool3D,
7344
7351
  mt as WebDispatcher3D,
7345
7352
  Fi as WebDispatcherNode,
7346
7353
  Qi as computeExchangeDialogAlerts,