agentic-ui-libs 0.2.0-beta.11 → 0.2.0-beta.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/assets/style.css +1 -1
- package/dist/features/debug-logs/DebugPanel.d.ts.map +1 -1
- package/dist/features/debug-logs/services/TreeBuilder.d.ts +1 -1
- package/dist/features/debug-logs/services/TreeBuilder.d.ts.map +1 -1
- package/dist/index.js +403 -375
- package/dist/ui-libs.umd.js +62 -62
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -134,14 +134,14 @@ function Ab() {
|
|
|
134
134
|
}
|
|
135
135
|
return null;
|
|
136
136
|
}
|
|
137
|
-
var $ = Object.assign, D = 0, k, F, z, q, C,
|
|
137
|
+
var $ = Object.assign, D = 0, k, F, z, q, C, B, U;
|
|
138
138
|
function W() {
|
|
139
139
|
}
|
|
140
140
|
W.__reactDisabledLog = !0;
|
|
141
141
|
function K() {
|
|
142
142
|
{
|
|
143
143
|
if (D === 0) {
|
|
144
|
-
k = console.log, F = console.info, z = console.warn, q = console.error, C = console.group,
|
|
144
|
+
k = console.log, F = console.info, z = console.warn, q = console.error, C = console.group, B = console.groupCollapsed, U = console.groupEnd;
|
|
145
145
|
var N = {
|
|
146
146
|
configurable: !0,
|
|
147
147
|
enumerable: !0,
|
|
@@ -161,7 +161,7 @@ function Ab() {
|
|
|
161
161
|
D++;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function L() {
|
|
165
165
|
{
|
|
166
166
|
if (D--, D === 0) {
|
|
167
167
|
var N = {
|
|
@@ -186,7 +186,7 @@ function Ab() {
|
|
|
186
186
|
value: C
|
|
187
187
|
}),
|
|
188
188
|
groupCollapsed: $({}, N, {
|
|
189
|
-
value:
|
|
189
|
+
value: B
|
|
190
190
|
}),
|
|
191
191
|
groupEnd: $({}, N, {
|
|
192
192
|
value: U
|
|
@@ -196,18 +196,18 @@ function Ab() {
|
|
|
196
196
|
D < 0 && O("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
var G = b.ReactCurrentDispatcher,
|
|
199
|
+
var G = b.ReactCurrentDispatcher, Y;
|
|
200
200
|
function te(N, J, ne) {
|
|
201
201
|
{
|
|
202
|
-
if (
|
|
202
|
+
if (Y === void 0)
|
|
203
203
|
try {
|
|
204
204
|
throw Error();
|
|
205
205
|
} catch (we) {
|
|
206
206
|
var ue = we.stack.trim().match(/\n( *(at )?)/);
|
|
207
|
-
|
|
207
|
+
Y = ue && ue[1] || "";
|
|
208
208
|
}
|
|
209
209
|
return `
|
|
210
|
-
` +
|
|
210
|
+
` + Y + N;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
var V = !1, Z;
|
|
@@ -281,7 +281,7 @@ function Ab() {
|
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
} finally {
|
|
284
|
-
V = !1, G.current = Ce,
|
|
284
|
+
V = !1, G.current = Ce, L(), Error.prepareStackTrace = we;
|
|
285
285
|
}
|
|
286
286
|
var pn = N ? N.displayName || N.name : "", Ir = pn ? te(pn) : "";
|
|
287
287
|
return typeof N == "function" && Z.set(N, Ir), Ir;
|
|
@@ -289,7 +289,7 @@ function Ab() {
|
|
|
289
289
|
function ie(N, J, ne) {
|
|
290
290
|
return I(N, !1);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function X(N) {
|
|
293
293
|
var J = N.prototype;
|
|
294
294
|
return !!(J && J.isReactComponent);
|
|
295
295
|
}
|
|
@@ -297,7 +297,7 @@ function Ab() {
|
|
|
297
297
|
if (N == null)
|
|
298
298
|
return "";
|
|
299
299
|
if (typeof N == "function")
|
|
300
|
-
return I(N,
|
|
300
|
+
return I(N, X(N));
|
|
301
301
|
if (typeof N == "string")
|
|
302
302
|
return te(N);
|
|
303
303
|
switch (N) {
|
|
@@ -1243,7 +1243,7 @@ const De = (e) => {
|
|
|
1243
1243
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1244
1244
|
ix.test(e) && !ox.test(e)
|
|
1245
1245
|
), vv = () => !1, gx = (e) => sx.test(e), yx = (e) => lx.test(e), bx = () => {
|
|
1246
|
-
const e = De("colors"), t = De("spacing"), r = De("blur"), n = De("brightness"), a = De("borderColor"), i = De("borderRadius"), o = De("borderSpacing"), s = De("borderWidth"), l = De("contrast"), c = De("grayscale"), u = De("hueRotate"), f = De("invert"), d = De("gap"), h = De("gradientColorStops"), v = De("gradientColorStopPositions"), g = De("inset"), m = De("margin"), b = De("opacity"), O = De("padding"), x = De("saturate"), A = De("scale"), y = De("sepia"), w = De("skew"), S = De("space"), T = De("translate"), P = () => ["auto", "contain", "none"], E = () => ["auto", "hidden", "clip", "visible", "scroll"], j = () => ["auto", me, t], _ = () => [me, t], R = () => ["", er, yr], $ = () => ["auto", Sn, me], D = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], k = () => ["solid", "dashed", "dotted", "double", "none"], F = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], z = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], q = () => ["", "0", me], C = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"],
|
|
1246
|
+
const e = De("colors"), t = De("spacing"), r = De("blur"), n = De("brightness"), a = De("borderColor"), i = De("borderRadius"), o = De("borderSpacing"), s = De("borderWidth"), l = De("contrast"), c = De("grayscale"), u = De("hueRotate"), f = De("invert"), d = De("gap"), h = De("gradientColorStops"), v = De("gradientColorStopPositions"), g = De("inset"), m = De("margin"), b = De("opacity"), O = De("padding"), x = De("saturate"), A = De("scale"), y = De("sepia"), w = De("skew"), S = De("space"), T = De("translate"), P = () => ["auto", "contain", "none"], E = () => ["auto", "hidden", "clip", "visible", "scroll"], j = () => ["auto", me, t], _ = () => [me, t], R = () => ["", er, yr], $ = () => ["auto", Sn, me], D = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], k = () => ["solid", "dashed", "dotted", "double", "none"], F = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], z = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], q = () => ["", "0", me], C = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], B = () => [Sn, me];
|
|
1247
1247
|
return {
|
|
1248
1248
|
cacheSize: 500,
|
|
1249
1249
|
separator: ":",
|
|
@@ -1251,26 +1251,26 @@ const De = (e) => {
|
|
|
1251
1251
|
colors: [Ta],
|
|
1252
1252
|
spacing: [er, yr],
|
|
1253
1253
|
blur: ["none", "", br, me],
|
|
1254
|
-
brightness:
|
|
1254
|
+
brightness: B(),
|
|
1255
1255
|
borderColor: [e],
|
|
1256
1256
|
borderRadius: ["none", "", "full", br, me],
|
|
1257
1257
|
borderSpacing: _(),
|
|
1258
1258
|
borderWidth: R(),
|
|
1259
|
-
contrast:
|
|
1259
|
+
contrast: B(),
|
|
1260
1260
|
grayscale: q(),
|
|
1261
|
-
hueRotate:
|
|
1261
|
+
hueRotate: B(),
|
|
1262
1262
|
invert: q(),
|
|
1263
1263
|
gap: _(),
|
|
1264
1264
|
gradientColorStops: [e],
|
|
1265
1265
|
gradientColorStopPositions: [cx, yr],
|
|
1266
1266
|
inset: j(),
|
|
1267
1267
|
margin: j(),
|
|
1268
|
-
opacity:
|
|
1268
|
+
opacity: B(),
|
|
1269
1269
|
padding: _(),
|
|
1270
|
-
saturate:
|
|
1271
|
-
scale:
|
|
1270
|
+
saturate: B(),
|
|
1271
|
+
scale: B(),
|
|
1272
1272
|
sepia: q(),
|
|
1273
|
-
skew:
|
|
1273
|
+
skew: B(),
|
|
1274
1274
|
space: _(),
|
|
1275
1275
|
translate: _()
|
|
1276
1276
|
},
|
|
@@ -2845,7 +2845,7 @@ const De = (e) => {
|
|
|
2845
2845
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2846
2846
|
*/
|
|
2847
2847
|
duration: [{
|
|
2848
|
-
duration:
|
|
2848
|
+
duration: B()
|
|
2849
2849
|
}],
|
|
2850
2850
|
/**
|
|
2851
2851
|
* Transition Timing Function
|
|
@@ -2859,7 +2859,7 @@ const De = (e) => {
|
|
|
2859
2859
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2860
2860
|
*/
|
|
2861
2861
|
delay: [{
|
|
2862
|
-
delay:
|
|
2862
|
+
delay: B()
|
|
2863
2863
|
}],
|
|
2864
2864
|
/**
|
|
2865
2865
|
* Animation
|
|
@@ -3761,19 +3761,19 @@ function W2() {
|
|
|
3761
3761
|
return ed || (ed = 1, process.env.NODE_ENV !== "production" && function() {
|
|
3762
3762
|
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), o = Symbol.for("react.context"), s = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), v = !1, g = !1, m = !1, b = !1, O = !1, x;
|
|
3763
3763
|
x = Symbol.for("react.module.reference");
|
|
3764
|
-
function A(
|
|
3765
|
-
return !!(typeof
|
|
3764
|
+
function A(X) {
|
|
3765
|
+
return !!(typeof X == "string" || typeof X == "function" || X === r || X === a || O || X === n || X === c || X === u || b || X === h || v || g || m || typeof X == "object" && X !== null && (X.$$typeof === d || X.$$typeof === f || X.$$typeof === i || X.$$typeof === o || X.$$typeof === l || // This needs to include all possible module reference object
|
|
3766
3766
|
// types supported by any Flight configuration anywhere since
|
|
3767
3767
|
// we don't know which Flight build this will end up being used
|
|
3768
3768
|
// with.
|
|
3769
|
-
|
|
3769
|
+
X.$$typeof === x || X.getModuleId !== void 0));
|
|
3770
3770
|
}
|
|
3771
|
-
function y(
|
|
3772
|
-
if (typeof
|
|
3773
|
-
var le =
|
|
3771
|
+
function y(X) {
|
|
3772
|
+
if (typeof X == "object" && X !== null) {
|
|
3773
|
+
var le = X.$$typeof;
|
|
3774
3774
|
switch (le) {
|
|
3775
3775
|
case e:
|
|
3776
|
-
var re =
|
|
3776
|
+
var re = X.type;
|
|
3777
3777
|
switch (re) {
|
|
3778
3778
|
case r:
|
|
3779
3779
|
case a:
|
|
@@ -3801,49 +3801,49 @@ function W2() {
|
|
|
3801
3801
|
}
|
|
3802
3802
|
}
|
|
3803
3803
|
var w = o, S = i, T = e, P = l, E = r, j = d, _ = f, R = t, $ = a, D = n, k = c, F = u, z = !1, q = !1;
|
|
3804
|
-
function C(
|
|
3804
|
+
function C(X) {
|
|
3805
3805
|
return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
3806
3806
|
}
|
|
3807
|
-
function
|
|
3807
|
+
function B(X) {
|
|
3808
3808
|
return q || (q = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
3809
3809
|
}
|
|
3810
|
-
function U(
|
|
3811
|
-
return y(
|
|
3810
|
+
function U(X) {
|
|
3811
|
+
return y(X) === o;
|
|
3812
3812
|
}
|
|
3813
|
-
function W(
|
|
3814
|
-
return y(
|
|
3813
|
+
function W(X) {
|
|
3814
|
+
return y(X) === i;
|
|
3815
3815
|
}
|
|
3816
|
-
function K(
|
|
3817
|
-
return typeof
|
|
3816
|
+
function K(X) {
|
|
3817
|
+
return typeof X == "object" && X !== null && X.$$typeof === e;
|
|
3818
3818
|
}
|
|
3819
|
-
function
|
|
3820
|
-
return y(
|
|
3819
|
+
function L(X) {
|
|
3820
|
+
return y(X) === l;
|
|
3821
3821
|
}
|
|
3822
|
-
function G(
|
|
3823
|
-
return y(
|
|
3822
|
+
function G(X) {
|
|
3823
|
+
return y(X) === r;
|
|
3824
3824
|
}
|
|
3825
|
-
function X
|
|
3826
|
-
return y(
|
|
3825
|
+
function Y(X) {
|
|
3826
|
+
return y(X) === d;
|
|
3827
3827
|
}
|
|
3828
|
-
function te(
|
|
3829
|
-
return y(
|
|
3828
|
+
function te(X) {
|
|
3829
|
+
return y(X) === f;
|
|
3830
3830
|
}
|
|
3831
|
-
function V(
|
|
3832
|
-
return y(
|
|
3831
|
+
function V(X) {
|
|
3832
|
+
return y(X) === t;
|
|
3833
3833
|
}
|
|
3834
|
-
function Z(
|
|
3835
|
-
return y(
|
|
3834
|
+
function Z(X) {
|
|
3835
|
+
return y(X) === a;
|
|
3836
3836
|
}
|
|
3837
|
-
function ee(
|
|
3838
|
-
return y(
|
|
3837
|
+
function ee(X) {
|
|
3838
|
+
return y(X) === n;
|
|
3839
3839
|
}
|
|
3840
|
-
function I(
|
|
3841
|
-
return y(
|
|
3840
|
+
function I(X) {
|
|
3841
|
+
return y(X) === c;
|
|
3842
3842
|
}
|
|
3843
|
-
function ie(
|
|
3844
|
-
return y(
|
|
3843
|
+
function ie(X) {
|
|
3844
|
+
return y(X) === u;
|
|
3845
3845
|
}
|
|
3846
|
-
Se.ContextConsumer = w, Se.ContextProvider = S, Se.Element = T, Se.ForwardRef = P, Se.Fragment = E, Se.Lazy = j, Se.Memo = _, Se.Portal = R, Se.Profiler = $, Se.StrictMode = D, Se.Suspense = k, Se.SuspenseList = F, Se.isAsyncMode = C, Se.isConcurrentMode =
|
|
3846
|
+
Se.ContextConsumer = w, Se.ContextProvider = S, Se.Element = T, Se.ForwardRef = P, Se.Fragment = E, Se.Lazy = j, Se.Memo = _, Se.Portal = R, Se.Profiler = $, Se.StrictMode = D, Se.Suspense = k, Se.SuspenseList = F, Se.isAsyncMode = C, Se.isConcurrentMode = B, Se.isContextConsumer = U, Se.isContextProvider = W, Se.isElement = K, Se.isForwardRef = L, Se.isFragment = G, Se.isLazy = Y, Se.isMemo = te, Se.isPortal = V, Se.isProfiler = Z, Se.isStrictMode = ee, Se.isSuspense = I, Se.isSuspenseList = ie, Se.isValidElementType = A, Se.typeOf = y;
|
|
3847
3847
|
}()), Se;
|
|
3848
3848
|
}
|
|
3849
3849
|
process.env.NODE_ENV === "production" ? Vl.exports = U2() : Vl.exports = W2();
|
|
@@ -6658,12 +6658,12 @@ var A$ = function(t) {
|
|
|
6658
6658
|
paddingTop: 4,
|
|
6659
6659
|
paddingBottom: 4,
|
|
6660
6660
|
color: $.color || "#000"
|
|
6661
|
-
}, s), F = $.formatter || f || T$, z = $.value, q = $.name, C = z,
|
|
6662
|
-
if (F && C != null &&
|
|
6661
|
+
}, s), F = $.formatter || f || T$, z = $.value, q = $.name, C = z, B = q;
|
|
6662
|
+
if (F && C != null && B != null) {
|
|
6663
6663
|
var U = F(z, q, $, D, u);
|
|
6664
6664
|
if (Array.isArray(U)) {
|
|
6665
6665
|
var W = v$(U, 2);
|
|
6666
|
-
C = W[0],
|
|
6666
|
+
C = W[0], B = W[1];
|
|
6667
6667
|
} else
|
|
6668
6668
|
C = U;
|
|
6669
6669
|
}
|
|
@@ -6673,9 +6673,9 @@ var A$ = function(t) {
|
|
|
6673
6673
|
className: "recharts-tooltip-item",
|
|
6674
6674
|
key: "tooltip-item-".concat(D),
|
|
6675
6675
|
style: k
|
|
6676
|
-
}, et(
|
|
6676
|
+
}, et(B) ? /* @__PURE__ */ M.createElement("span", {
|
|
6677
6677
|
className: "recharts-tooltip-item-name"
|
|
6678
|
-
},
|
|
6678
|
+
}, B) : null, et(B) ? /* @__PURE__ */ M.createElement("span", {
|
|
6679
6679
|
className: "recharts-tooltip-item-separator"
|
|
6680
6680
|
}, n) : null, /* @__PURE__ */ M.createElement("span", {
|
|
6681
6681
|
className: "recharts-tooltip-item-value"
|
|
@@ -7377,7 +7377,7 @@ var Nk = /* @__PURE__ */ vs(function(e, t) {
|
|
|
7377
7377
|
}, []);
|
|
7378
7378
|
Qe(function() {
|
|
7379
7379
|
var R = function(q) {
|
|
7380
|
-
var C,
|
|
7380
|
+
var C, B = q[0].contentRect, U = B.width, W = B.height;
|
|
7381
7381
|
j(U, W), (C = w.current) === null || C === void 0 || C.call(w, U, W);
|
|
7382
7382
|
};
|
|
7383
7383
|
g > 0 && (R = Cg(R, g, {
|
|
@@ -7804,11 +7804,11 @@ var Mg = /[ \f\n\r\t\v\u2028\u2029]+/, Ng = function(t) {
|
|
|
7804
7804
|
if (C && (a == null || i || C.width + q + n < Number(a)))
|
|
7805
7805
|
C.words.push(z), C.width += q + n;
|
|
7806
7806
|
else {
|
|
7807
|
-
var
|
|
7807
|
+
var B = {
|
|
7808
7808
|
words: [z],
|
|
7809
7809
|
width: q
|
|
7810
7810
|
};
|
|
7811
|
-
k.push(
|
|
7811
|
+
k.push(B);
|
|
7812
7812
|
}
|
|
7813
7813
|
return k;
|
|
7814
7814
|
}, []);
|
|
@@ -9359,7 +9359,7 @@ function k3(e) {
|
|
|
9359
9359
|
L: ty,
|
|
9360
9360
|
m: rN,
|
|
9361
9361
|
M: nN,
|
|
9362
|
-
p:
|
|
9362
|
+
p: B,
|
|
9363
9363
|
q: U,
|
|
9364
9364
|
Q: Zp,
|
|
9365
9365
|
s: Jp,
|
|
@@ -9378,7 +9378,7 @@ function k3(e) {
|
|
|
9378
9378
|
}, A = {
|
|
9379
9379
|
a: W,
|
|
9380
9380
|
A: K,
|
|
9381
|
-
b:
|
|
9381
|
+
b: L,
|
|
9382
9382
|
B: G,
|
|
9383
9383
|
c: null,
|
|
9384
9384
|
d: Yp,
|
|
@@ -9392,7 +9392,7 @@ function k3(e) {
|
|
|
9392
9392
|
L: ny,
|
|
9393
9393
|
m: bN,
|
|
9394
9394
|
M: xN,
|
|
9395
|
-
p:
|
|
9395
|
+
p: Y,
|
|
9396
9396
|
q: te,
|
|
9397
9397
|
Q: Zp,
|
|
9398
9398
|
s: Jp,
|
|
@@ -9445,27 +9445,27 @@ function k3(e) {
|
|
|
9445
9445
|
x.x = w(r, x), x.X = w(n, x), x.c = w(t, x), A.x = w(r, A), A.X = w(n, A), A.c = w(t, A);
|
|
9446
9446
|
function w(V, Z) {
|
|
9447
9447
|
return function(ee) {
|
|
9448
|
-
var I = [], ie = -1,
|
|
9448
|
+
var I = [], ie = -1, X = 0, le = V.length, re, he, Ue;
|
|
9449
9449
|
for (ee instanceof Date || (ee = /* @__PURE__ */ new Date(+ee)); ++ie < le; )
|
|
9450
|
-
V.charCodeAt(ie) === 37 && (I.push(V.slice(
|
|
9451
|
-
return I.push(V.slice(
|
|
9450
|
+
V.charCodeAt(ie) === 37 && (I.push(V.slice(X, ie)), (he = zp[re = V.charAt(++ie)]) != null ? re = V.charAt(++ie) : he = re === "e" ? " " : "0", (Ue = Z[re]) && (re = Ue(ee, he)), I.push(re), X = ie + 1);
|
|
9451
|
+
return I.push(V.slice(X, ie)), I.join("");
|
|
9452
9452
|
};
|
|
9453
9453
|
}
|
|
9454
9454
|
function S(V, Z) {
|
|
9455
9455
|
return function(ee) {
|
|
9456
|
-
var I = _a(1900, void 0, 1), ie = T(I, V, ee += "", 0),
|
|
9456
|
+
var I = _a(1900, void 0, 1), ie = T(I, V, ee += "", 0), X, le;
|
|
9457
9457
|
if (ie != ee.length) return null;
|
|
9458
9458
|
if ("Q" in I) return new Date(I.Q);
|
|
9459
9459
|
if ("s" in I) return new Date(I.s * 1e3 + ("L" in I ? I.L : 0));
|
|
9460
9460
|
if (Z && !("Z" in I) && (I.Z = 0), "p" in I && (I.H = I.H % 12 + I.p * 12), I.m === void 0 && (I.m = "q" in I ? I.q : 0), "V" in I) {
|
|
9461
9461
|
if (I.V < 1 || I.V > 53) return null;
|
|
9462
|
-
"w" in I || (I.w = 1), "Z" in I ? (
|
|
9462
|
+
"w" in I || (I.w = 1), "Z" in I ? (X = Sl(_a(I.y, 0, 1)), le = X.getUTCDay(), X = le > 4 || le === 0 ? ko.ceil(X) : ko(X), X = $s.offset(X, (I.V - 1) * 7), I.y = X.getUTCFullYear(), I.m = X.getUTCMonth(), I.d = X.getUTCDate() + (I.w + 6) % 7) : (X = Ol(_a(I.y, 0, 1)), le = X.getDay(), X = le > 4 || le === 0 ? $o.ceil(X) : $o(X), X = Ni.offset(X, (I.V - 1) * 7), I.y = X.getFullYear(), I.m = X.getMonth(), I.d = X.getDate() + (I.w + 6) % 7);
|
|
9463
9463
|
} else ("W" in I || "U" in I) && ("w" in I || (I.w = "u" in I ? I.u % 7 : "W" in I ? 1 : 0), le = "Z" in I ? Sl(_a(I.y, 0, 1)).getUTCDay() : Ol(_a(I.y, 0, 1)).getDay(), I.m = 0, I.d = "W" in I ? (I.w + 6) % 7 + I.W * 7 - (le + 5) % 7 : I.w + I.U * 7 - (le + 6) % 7);
|
|
9464
9464
|
return "Z" in I ? (I.H += I.Z / 100 | 0, I.M += I.Z % 100, Sl(I)) : Ol(I);
|
|
9465
9465
|
};
|
|
9466
9466
|
}
|
|
9467
9467
|
function T(V, Z, ee, I) {
|
|
9468
|
-
for (var ie = 0,
|
|
9468
|
+
for (var ie = 0, X = Z.length, le = ee.length, re, he; ie < X; ) {
|
|
9469
9469
|
if (I >= le) return -1;
|
|
9470
9470
|
if (re = Z.charCodeAt(ie++), re === 37) {
|
|
9471
9471
|
if (re = Z.charAt(ie++), he = y[re in zp ? Z.charAt(ie++) : re], !he || (I = he(V, ee, I)) < 0) return -1;
|
|
@@ -9515,7 +9515,7 @@ function k3(e) {
|
|
|
9515
9515
|
function C(V) {
|
|
9516
9516
|
return s[V.getMonth()];
|
|
9517
9517
|
}
|
|
9518
|
-
function
|
|
9518
|
+
function B(V) {
|
|
9519
9519
|
return a[+(V.getHours() >= 12)];
|
|
9520
9520
|
}
|
|
9521
9521
|
function U(V) {
|
|
@@ -9527,13 +9527,13 @@ function k3(e) {
|
|
|
9527
9527
|
function K(V) {
|
|
9528
9528
|
return i[V.getUTCDay()];
|
|
9529
9529
|
}
|
|
9530
|
-
function
|
|
9530
|
+
function L(V) {
|
|
9531
9531
|
return l[V.getUTCMonth()];
|
|
9532
9532
|
}
|
|
9533
9533
|
function G(V) {
|
|
9534
9534
|
return s[V.getUTCMonth()];
|
|
9535
9535
|
}
|
|
9536
|
-
function
|
|
9536
|
+
function Y(V) {
|
|
9537
9537
|
return a[+(V.getUTCHours() >= 12)];
|
|
9538
9538
|
}
|
|
9539
9539
|
function te(V) {
|
|
@@ -10954,12 +10954,12 @@ var ha = /* @__PURE__ */ function(e) {
|
|
|
10954
10954
|
}
|
|
10955
10955
|
return /* @__PURE__ */ M.createElement(xe, No({
|
|
10956
10956
|
className: "recharts-errorBar",
|
|
10957
|
-
key: "bar-".concat(y.map(function(
|
|
10958
|
-
return "".concat(
|
|
10957
|
+
key: "bar-".concat(y.map(function(B) {
|
|
10958
|
+
return "".concat(B.x1, "-").concat(B.x2, "-").concat(B.y1, "-").concat(B.y2);
|
|
10959
10959
|
}))
|
|
10960
|
-
}, h), y.map(function(
|
|
10961
|
-
return /* @__PURE__ */ M.createElement("line", No({},
|
|
10962
|
-
key: "line-".concat(
|
|
10960
|
+
}, h), y.map(function(B) {
|
|
10961
|
+
return /* @__PURE__ */ M.createElement("line", No({}, B, {
|
|
10962
|
+
key: "line-".concat(B.x1, "-").concat(B.x2, "-").concat(B.y1, "-").concat(B.y2)
|
|
10963
10963
|
}));
|
|
10964
10964
|
}));
|
|
10965
10965
|
});
|
|
@@ -12683,17 +12683,17 @@ function R4() {
|
|
|
12683
12683
|
var ie = I.$$typeof;
|
|
12684
12684
|
switch (ie) {
|
|
12685
12685
|
case t:
|
|
12686
|
-
var
|
|
12687
|
-
switch (
|
|
12686
|
+
var X = I.type;
|
|
12687
|
+
switch (X) {
|
|
12688
12688
|
case l:
|
|
12689
12689
|
case c:
|
|
12690
12690
|
case n:
|
|
12691
12691
|
case i:
|
|
12692
12692
|
case a:
|
|
12693
12693
|
case f:
|
|
12694
|
-
return
|
|
12694
|
+
return X;
|
|
12695
12695
|
default:
|
|
12696
|
-
var le =
|
|
12696
|
+
var le = X && X.$$typeof;
|
|
12697
12697
|
switch (le) {
|
|
12698
12698
|
case s:
|
|
12699
12699
|
case u:
|
|
@@ -12717,7 +12717,7 @@ function R4() {
|
|
|
12717
12717
|
function C(I) {
|
|
12718
12718
|
return A(I) === c;
|
|
12719
12719
|
}
|
|
12720
|
-
function
|
|
12720
|
+
function B(I) {
|
|
12721
12721
|
return A(I) === s;
|
|
12722
12722
|
}
|
|
12723
12723
|
function U(I) {
|
|
@@ -12729,13 +12729,13 @@ function R4() {
|
|
|
12729
12729
|
function K(I) {
|
|
12730
12730
|
return A(I) === u;
|
|
12731
12731
|
}
|
|
12732
|
-
function
|
|
12732
|
+
function L(I) {
|
|
12733
12733
|
return A(I) === n;
|
|
12734
12734
|
}
|
|
12735
12735
|
function G(I) {
|
|
12736
12736
|
return A(I) === v;
|
|
12737
12737
|
}
|
|
12738
|
-
function
|
|
12738
|
+
function Y(I) {
|
|
12739
12739
|
return A(I) === h;
|
|
12740
12740
|
}
|
|
12741
12741
|
function te(I) {
|
|
@@ -12750,7 +12750,7 @@ function R4() {
|
|
|
12750
12750
|
function ee(I) {
|
|
12751
12751
|
return A(I) === f;
|
|
12752
12752
|
}
|
|
12753
|
-
Ae.AsyncMode = y, Ae.ConcurrentMode = w, Ae.ContextConsumer = S, Ae.ContextProvider = T, Ae.Element = P, Ae.ForwardRef = E, Ae.Fragment = j, Ae.Lazy = _, Ae.Memo = R, Ae.Portal = $, Ae.Profiler = D, Ae.StrictMode = k, Ae.Suspense = F, Ae.isAsyncMode = q, Ae.isConcurrentMode = C, Ae.isContextConsumer =
|
|
12753
|
+
Ae.AsyncMode = y, Ae.ConcurrentMode = w, Ae.ContextConsumer = S, Ae.ContextProvider = T, Ae.Element = P, Ae.ForwardRef = E, Ae.Fragment = j, Ae.Lazy = _, Ae.Memo = R, Ae.Portal = $, Ae.Profiler = D, Ae.StrictMode = k, Ae.Suspense = F, Ae.isAsyncMode = q, Ae.isConcurrentMode = C, Ae.isContextConsumer = B, Ae.isContextProvider = U, Ae.isElement = W, Ae.isForwardRef = K, Ae.isFragment = L, Ae.isLazy = G, Ae.isMemo = Y, Ae.isPortal = te, Ae.isProfiler = V, Ae.isStrictMode = Z, Ae.isSuspense = ee, Ae.isValidElementType = x, Ae.typeOf = A;
|
|
12754
12754
|
}()), Ae;
|
|
12755
12755
|
}
|
|
12756
12756
|
var jh;
|
|
@@ -12888,9 +12888,9 @@ function B4() {
|
|
|
12888
12888
|
return $l = function(s, l) {
|
|
12889
12889
|
var c = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
12890
12890
|
function f(C) {
|
|
12891
|
-
var
|
|
12892
|
-
if (typeof
|
|
12893
|
-
return
|
|
12891
|
+
var B = C && (c && C[c] || C[u]);
|
|
12892
|
+
if (typeof B == "function")
|
|
12893
|
+
return B;
|
|
12894
12894
|
}
|
|
12895
12895
|
var d = "<<anonymous>>", h = {
|
|
12896
12896
|
array: b("array"),
|
|
@@ -12913,209 +12913,209 @@ function B4() {
|
|
|
12913
12913
|
shape: _,
|
|
12914
12914
|
exact: R
|
|
12915
12915
|
};
|
|
12916
|
-
function v(C,
|
|
12917
|
-
return C ===
|
|
12916
|
+
function v(C, B) {
|
|
12917
|
+
return C === B ? C !== 0 || 1 / C === 1 / B : C !== C && B !== B;
|
|
12918
12918
|
}
|
|
12919
|
-
function g(C,
|
|
12920
|
-
this.message = C, this.data =
|
|
12919
|
+
function g(C, B) {
|
|
12920
|
+
this.message = C, this.data = B && typeof B == "object" ? B : {}, this.stack = "";
|
|
12921
12921
|
}
|
|
12922
12922
|
g.prototype = Error.prototype;
|
|
12923
12923
|
function m(C) {
|
|
12924
12924
|
if (process.env.NODE_ENV !== "production")
|
|
12925
|
-
var
|
|
12926
|
-
function W(
|
|
12927
|
-
if (te = te || d, Z = Z ||
|
|
12925
|
+
var B = {}, U = 0;
|
|
12926
|
+
function W(L, G, Y, te, V, Z, ee) {
|
|
12927
|
+
if (te = te || d, Z = Z || Y, ee !== r) {
|
|
12928
12928
|
if (l) {
|
|
12929
12929
|
var I = new Error(
|
|
12930
12930
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
12931
12931
|
);
|
|
12932
12932
|
throw I.name = "Invariant Violation", I;
|
|
12933
12933
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
12934
|
-
var ie = te + ":" +
|
|
12935
|
-
!
|
|
12934
|
+
var ie = te + ":" + Y;
|
|
12935
|
+
!B[ie] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
12936
12936
|
U < 3 && (i(
|
|
12937
12937
|
"You are manually calling a React.PropTypes validation function for the `" + Z + "` prop on `" + te + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
12938
|
-
),
|
|
12938
|
+
), B[ie] = !0, U++);
|
|
12939
12939
|
}
|
|
12940
12940
|
}
|
|
12941
|
-
return G[
|
|
12941
|
+
return G[Y] == null ? L ? G[Y] === null ? new g("The " + V + " `" + Z + "` is marked as required " + ("in `" + te + "`, but its value is `null`.")) : new g("The " + V + " `" + Z + "` is marked as required in " + ("`" + te + "`, but its value is `undefined`.")) : null : C(G, Y, te, V, Z);
|
|
12942
12942
|
}
|
|
12943
12943
|
var K = W.bind(null, !1);
|
|
12944
12944
|
return K.isRequired = W.bind(null, !0), K;
|
|
12945
12945
|
}
|
|
12946
12946
|
function b(C) {
|
|
12947
|
-
function
|
|
12947
|
+
function B(U, W, K, L, G, Y) {
|
|
12948
12948
|
var te = U[W], V = k(te);
|
|
12949
12949
|
if (V !== C) {
|
|
12950
12950
|
var Z = F(te);
|
|
12951
12951
|
return new g(
|
|
12952
|
-
"Invalid " +
|
|
12952
|
+
"Invalid " + L + " `" + G + "` of type " + ("`" + Z + "` supplied to `" + K + "`, expected ") + ("`" + C + "`."),
|
|
12953
12953
|
{ expectedType: C }
|
|
12954
12954
|
);
|
|
12955
12955
|
}
|
|
12956
12956
|
return null;
|
|
12957
12957
|
}
|
|
12958
|
-
return m(
|
|
12958
|
+
return m(B);
|
|
12959
12959
|
}
|
|
12960
12960
|
function O() {
|
|
12961
12961
|
return m(o);
|
|
12962
12962
|
}
|
|
12963
12963
|
function x(C) {
|
|
12964
|
-
function
|
|
12964
|
+
function B(U, W, K, L, G) {
|
|
12965
12965
|
if (typeof C != "function")
|
|
12966
12966
|
return new g("Property `" + G + "` of component `" + K + "` has invalid PropType notation inside arrayOf.");
|
|
12967
|
-
var
|
|
12968
|
-
if (!Array.isArray(
|
|
12969
|
-
var te = k(
|
|
12970
|
-
return new g("Invalid " +
|
|
12967
|
+
var Y = U[W];
|
|
12968
|
+
if (!Array.isArray(Y)) {
|
|
12969
|
+
var te = k(Y);
|
|
12970
|
+
return new g("Invalid " + L + " `" + G + "` of type " + ("`" + te + "` supplied to `" + K + "`, expected an array."));
|
|
12971
12971
|
}
|
|
12972
|
-
for (var V = 0; V <
|
|
12973
|
-
var Z = C(
|
|
12972
|
+
for (var V = 0; V < Y.length; V++) {
|
|
12973
|
+
var Z = C(Y, V, K, L, G + "[" + V + "]", r);
|
|
12974
12974
|
if (Z instanceof Error)
|
|
12975
12975
|
return Z;
|
|
12976
12976
|
}
|
|
12977
12977
|
return null;
|
|
12978
12978
|
}
|
|
12979
|
-
return m(
|
|
12979
|
+
return m(B);
|
|
12980
12980
|
}
|
|
12981
12981
|
function A() {
|
|
12982
|
-
function C(
|
|
12983
|
-
var G =
|
|
12982
|
+
function C(B, U, W, K, L) {
|
|
12983
|
+
var G = B[U];
|
|
12984
12984
|
if (!s(G)) {
|
|
12985
|
-
var
|
|
12986
|
-
return new g("Invalid " + K + " `" +
|
|
12985
|
+
var Y = k(G);
|
|
12986
|
+
return new g("Invalid " + K + " `" + L + "` of type " + ("`" + Y + "` supplied to `" + W + "`, expected a single ReactElement."));
|
|
12987
12987
|
}
|
|
12988
12988
|
return null;
|
|
12989
12989
|
}
|
|
12990
12990
|
return m(C);
|
|
12991
12991
|
}
|
|
12992
12992
|
function y() {
|
|
12993
|
-
function C(
|
|
12994
|
-
var G =
|
|
12993
|
+
function C(B, U, W, K, L) {
|
|
12994
|
+
var G = B[U];
|
|
12995
12995
|
if (!e.isValidElementType(G)) {
|
|
12996
|
-
var
|
|
12997
|
-
return new g("Invalid " + K + " `" +
|
|
12996
|
+
var Y = k(G);
|
|
12997
|
+
return new g("Invalid " + K + " `" + L + "` of type " + ("`" + Y + "` supplied to `" + W + "`, expected a single ReactElement type."));
|
|
12998
12998
|
}
|
|
12999
12999
|
return null;
|
|
13000
13000
|
}
|
|
13001
13001
|
return m(C);
|
|
13002
13002
|
}
|
|
13003
13003
|
function w(C) {
|
|
13004
|
-
function
|
|
13004
|
+
function B(U, W, K, L, G) {
|
|
13005
13005
|
if (!(U[W] instanceof C)) {
|
|
13006
|
-
var
|
|
13007
|
-
return new g("Invalid " +
|
|
13006
|
+
var Y = C.name || d, te = q(U[W]);
|
|
13007
|
+
return new g("Invalid " + L + " `" + G + "` of type " + ("`" + te + "` supplied to `" + K + "`, expected ") + ("instance of `" + Y + "`."));
|
|
13008
13008
|
}
|
|
13009
13009
|
return null;
|
|
13010
13010
|
}
|
|
13011
|
-
return m(
|
|
13011
|
+
return m(B);
|
|
13012
13012
|
}
|
|
13013
13013
|
function S(C) {
|
|
13014
13014
|
if (!Array.isArray(C))
|
|
13015
13015
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
13016
13016
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
13017
13017
|
) : i("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
13018
|
-
function
|
|
13019
|
-
for (var
|
|
13020
|
-
if (v(
|
|
13018
|
+
function B(U, W, K, L, G) {
|
|
13019
|
+
for (var Y = U[W], te = 0; te < C.length; te++)
|
|
13020
|
+
if (v(Y, C[te]))
|
|
13021
13021
|
return null;
|
|
13022
13022
|
var V = JSON.stringify(C, function(ee, I) {
|
|
13023
13023
|
var ie = F(I);
|
|
13024
13024
|
return ie === "symbol" ? String(I) : I;
|
|
13025
13025
|
});
|
|
13026
|
-
return new g("Invalid " +
|
|
13026
|
+
return new g("Invalid " + L + " `" + G + "` of value `" + String(Y) + "` " + ("supplied to `" + K + "`, expected one of " + V + "."));
|
|
13027
13027
|
}
|
|
13028
|
-
return m(
|
|
13028
|
+
return m(B);
|
|
13029
13029
|
}
|
|
13030
13030
|
function T(C) {
|
|
13031
|
-
function
|
|
13031
|
+
function B(U, W, K, L, G) {
|
|
13032
13032
|
if (typeof C != "function")
|
|
13033
13033
|
return new g("Property `" + G + "` of component `" + K + "` has invalid PropType notation inside objectOf.");
|
|
13034
|
-
var
|
|
13034
|
+
var Y = U[W], te = k(Y);
|
|
13035
13035
|
if (te !== "object")
|
|
13036
|
-
return new g("Invalid " +
|
|
13037
|
-
for (var V in
|
|
13038
|
-
if (n(
|
|
13039
|
-
var Z = C(
|
|
13036
|
+
return new g("Invalid " + L + " `" + G + "` of type " + ("`" + te + "` supplied to `" + K + "`, expected an object."));
|
|
13037
|
+
for (var V in Y)
|
|
13038
|
+
if (n(Y, V)) {
|
|
13039
|
+
var Z = C(Y, V, K, L, G + "." + V, r);
|
|
13040
13040
|
if (Z instanceof Error)
|
|
13041
13041
|
return Z;
|
|
13042
13042
|
}
|
|
13043
13043
|
return null;
|
|
13044
13044
|
}
|
|
13045
|
-
return m(
|
|
13045
|
+
return m(B);
|
|
13046
13046
|
}
|
|
13047
13047
|
function P(C) {
|
|
13048
13048
|
if (!Array.isArray(C))
|
|
13049
13049
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), o;
|
|
13050
|
-
for (var
|
|
13051
|
-
var U = C[
|
|
13050
|
+
for (var B = 0; B < C.length; B++) {
|
|
13051
|
+
var U = C[B];
|
|
13052
13052
|
if (typeof U != "function")
|
|
13053
13053
|
return i(
|
|
13054
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + z(U) + " at index " +
|
|
13054
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + z(U) + " at index " + B + "."
|
|
13055
13055
|
), o;
|
|
13056
13056
|
}
|
|
13057
|
-
function W(K,
|
|
13057
|
+
function W(K, L, G, Y, te) {
|
|
13058
13058
|
for (var V = [], Z = 0; Z < C.length; Z++) {
|
|
13059
|
-
var ee = C[Z], I = ee(K,
|
|
13059
|
+
var ee = C[Z], I = ee(K, L, G, Y, te, r);
|
|
13060
13060
|
if (I == null)
|
|
13061
13061
|
return null;
|
|
13062
13062
|
I.data && n(I.data, "expectedType") && V.push(I.data.expectedType);
|
|
13063
13063
|
}
|
|
13064
13064
|
var ie = V.length > 0 ? ", expected one of type [" + V.join(", ") + "]" : "";
|
|
13065
|
-
return new g("Invalid " +
|
|
13065
|
+
return new g("Invalid " + Y + " `" + te + "` supplied to " + ("`" + G + "`" + ie + "."));
|
|
13066
13066
|
}
|
|
13067
13067
|
return m(W);
|
|
13068
13068
|
}
|
|
13069
13069
|
function E() {
|
|
13070
|
-
function C(
|
|
13071
|
-
return $(
|
|
13070
|
+
function C(B, U, W, K, L) {
|
|
13071
|
+
return $(B[U]) ? null : new g("Invalid " + K + " `" + L + "` supplied to " + ("`" + W + "`, expected a ReactNode."));
|
|
13072
13072
|
}
|
|
13073
13073
|
return m(C);
|
|
13074
13074
|
}
|
|
13075
|
-
function j(C,
|
|
13075
|
+
function j(C, B, U, W, K) {
|
|
13076
13076
|
return new g(
|
|
13077
|
-
(C || "React class") + ": " +
|
|
13077
|
+
(C || "React class") + ": " + B + " type `" + U + "." + W + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + K + "`."
|
|
13078
13078
|
);
|
|
13079
13079
|
}
|
|
13080
13080
|
function _(C) {
|
|
13081
|
-
function
|
|
13082
|
-
var
|
|
13081
|
+
function B(U, W, K, L, G) {
|
|
13082
|
+
var Y = U[W], te = k(Y);
|
|
13083
13083
|
if (te !== "object")
|
|
13084
|
-
return new g("Invalid " +
|
|
13084
|
+
return new g("Invalid " + L + " `" + G + "` of type `" + te + "` " + ("supplied to `" + K + "`, expected `object`."));
|
|
13085
13085
|
for (var V in C) {
|
|
13086
13086
|
var Z = C[V];
|
|
13087
13087
|
if (typeof Z != "function")
|
|
13088
|
-
return j(K,
|
|
13089
|
-
var ee = Z(
|
|
13088
|
+
return j(K, L, G, V, F(Z));
|
|
13089
|
+
var ee = Z(Y, V, K, L, G + "." + V, r);
|
|
13090
13090
|
if (ee)
|
|
13091
13091
|
return ee;
|
|
13092
13092
|
}
|
|
13093
13093
|
return null;
|
|
13094
13094
|
}
|
|
13095
|
-
return m(
|
|
13095
|
+
return m(B);
|
|
13096
13096
|
}
|
|
13097
13097
|
function R(C) {
|
|
13098
|
-
function
|
|
13099
|
-
var
|
|
13098
|
+
function B(U, W, K, L, G) {
|
|
13099
|
+
var Y = U[W], te = k(Y);
|
|
13100
13100
|
if (te !== "object")
|
|
13101
|
-
return new g("Invalid " +
|
|
13101
|
+
return new g("Invalid " + L + " `" + G + "` of type `" + te + "` " + ("supplied to `" + K + "`, expected `object`."));
|
|
13102
13102
|
var V = t({}, U[W], C);
|
|
13103
13103
|
for (var Z in V) {
|
|
13104
13104
|
var ee = C[Z];
|
|
13105
13105
|
if (n(C, Z) && typeof ee != "function")
|
|
13106
|
-
return j(K,
|
|
13106
|
+
return j(K, L, G, Z, F(ee));
|
|
13107
13107
|
if (!ee)
|
|
13108
13108
|
return new g(
|
|
13109
|
-
"Invalid " +
|
|
13109
|
+
"Invalid " + L + " `" + G + "` key `" + Z + "` supplied to `" + K + "`.\nBad object: " + JSON.stringify(U[W], null, " ") + `
|
|
13110
13110
|
Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
13111
13111
|
);
|
|
13112
|
-
var I = ee(
|
|
13112
|
+
var I = ee(Y, Z, K, L, G + "." + Z, r);
|
|
13113
13113
|
if (I)
|
|
13114
13114
|
return I;
|
|
13115
13115
|
}
|
|
13116
13116
|
return null;
|
|
13117
13117
|
}
|
|
13118
|
-
return m(
|
|
13118
|
+
return m(B);
|
|
13119
13119
|
}
|
|
13120
13120
|
function $(C) {
|
|
13121
13121
|
switch (typeof C) {
|
|
@@ -13130,10 +13130,10 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
|
13130
13130
|
return C.every($);
|
|
13131
13131
|
if (C === null || s(C))
|
|
13132
13132
|
return !0;
|
|
13133
|
-
var
|
|
13134
|
-
if (
|
|
13135
|
-
var U =
|
|
13136
|
-
if (
|
|
13133
|
+
var B = f(C);
|
|
13134
|
+
if (B) {
|
|
13135
|
+
var U = B.call(C), W;
|
|
13136
|
+
if (B !== C.entries) {
|
|
13137
13137
|
for (; !(W = U.next()).done; )
|
|
13138
13138
|
if (!$(W.value))
|
|
13139
13139
|
return !1;
|
|
@@ -13150,37 +13150,37 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
|
|
|
13150
13150
|
return !1;
|
|
13151
13151
|
}
|
|
13152
13152
|
}
|
|
13153
|
-
function D(C,
|
|
13154
|
-
return C === "symbol" ? !0 :
|
|
13153
|
+
function D(C, B) {
|
|
13154
|
+
return C === "symbol" ? !0 : B ? B["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && B instanceof Symbol : !1;
|
|
13155
13155
|
}
|
|
13156
13156
|
function k(C) {
|
|
13157
|
-
var
|
|
13158
|
-
return Array.isArray(C) ? "array" : C instanceof RegExp ? "object" : D(
|
|
13157
|
+
var B = typeof C;
|
|
13158
|
+
return Array.isArray(C) ? "array" : C instanceof RegExp ? "object" : D(B, C) ? "symbol" : B;
|
|
13159
13159
|
}
|
|
13160
13160
|
function F(C) {
|
|
13161
13161
|
if (typeof C > "u" || C === null)
|
|
13162
13162
|
return "" + C;
|
|
13163
|
-
var
|
|
13164
|
-
if (
|
|
13163
|
+
var B = k(C);
|
|
13164
|
+
if (B === "object") {
|
|
13165
13165
|
if (C instanceof Date)
|
|
13166
13166
|
return "date";
|
|
13167
13167
|
if (C instanceof RegExp)
|
|
13168
13168
|
return "regexp";
|
|
13169
13169
|
}
|
|
13170
|
-
return
|
|
13170
|
+
return B;
|
|
13171
13171
|
}
|
|
13172
13172
|
function z(C) {
|
|
13173
|
-
var
|
|
13174
|
-
switch (
|
|
13173
|
+
var B = F(C);
|
|
13174
|
+
switch (B) {
|
|
13175
13175
|
case "array":
|
|
13176
13176
|
case "object":
|
|
13177
|
-
return "an " +
|
|
13177
|
+
return "an " + B;
|
|
13178
13178
|
case "boolean":
|
|
13179
13179
|
case "date":
|
|
13180
13180
|
case "regexp":
|
|
13181
|
-
return "a " +
|
|
13181
|
+
return "a " + B;
|
|
13182
13182
|
default:
|
|
13183
|
-
return
|
|
13183
|
+
return B;
|
|
13184
13184
|
}
|
|
13185
13185
|
}
|
|
13186
13186
|
function q(C) {
|
|
@@ -16031,7 +16031,7 @@ jr(ma, "getComposedData", function(e) {
|
|
|
16031
16031
|
c ? j = T6(c[u + E], y) : (j = tt(P, b), Array.isArray(j) || (j = [w, j]));
|
|
16032
16032
|
var F = UI(x, t0.defaultProps.minPointSize)(j[1], E);
|
|
16033
16033
|
if (v === "horizontal") {
|
|
16034
|
-
var z, q = [o.scale(j[0]), o.scale(j[1])], C = q[0],
|
|
16034
|
+
var z, q = [o.scale(j[0]), o.scale(j[1])], C = q[0], B = q[1];
|
|
16035
16035
|
_ = lh({
|
|
16036
16036
|
axis: i,
|
|
16037
16037
|
ticks: s,
|
|
@@ -16039,8 +16039,8 @@ jr(ma, "getComposedData", function(e) {
|
|
|
16039
16039
|
offset: h.offset,
|
|
16040
16040
|
entry: P,
|
|
16041
16041
|
index: E
|
|
16042
|
-
}), R = (z =
|
|
16043
|
-
var U = C -
|
|
16042
|
+
}), R = (z = B ?? C) !== null && z !== void 0 ? z : void 0, $ = h.size;
|
|
16043
|
+
var U = C - B;
|
|
16044
16044
|
if (D = Number.isNaN(U) ? 0 : U, k = {
|
|
16045
16045
|
x: _,
|
|
16046
16046
|
y: o.y,
|
|
@@ -16051,22 +16051,22 @@ jr(ma, "getComposedData", function(e) {
|
|
|
16051
16051
|
R -= W, D += W;
|
|
16052
16052
|
}
|
|
16053
16053
|
} else {
|
|
16054
|
-
var K = [i.scale(j[0]), i.scale(j[1])],
|
|
16055
|
-
if (_ =
|
|
16054
|
+
var K = [i.scale(j[0]), i.scale(j[1])], L = K[0], G = K[1];
|
|
16055
|
+
if (_ = L, R = lh({
|
|
16056
16056
|
axis: o,
|
|
16057
16057
|
ticks: l,
|
|
16058
16058
|
bandSize: a,
|
|
16059
16059
|
offset: h.offset,
|
|
16060
16060
|
entry: P,
|
|
16061
16061
|
index: E
|
|
16062
|
-
}), $ = G -
|
|
16062
|
+
}), $ = G - L, D = h.size, k = {
|
|
16063
16063
|
x: i.x,
|
|
16064
16064
|
y: R,
|
|
16065
16065
|
width: i.width,
|
|
16066
16066
|
height: D
|
|
16067
16067
|
}, Math.abs(F) > 0 && Math.abs($) < Math.abs(F)) {
|
|
16068
|
-
var
|
|
16069
|
-
$ +=
|
|
16068
|
+
var Y = Ut($ || F) * (Math.abs(F) - Math.abs($));
|
|
16069
|
+
$ += Y;
|
|
16070
16070
|
}
|
|
16071
16071
|
}
|
|
16072
16072
|
return Ke(Ke(Ke({}, P), {}, {
|
|
@@ -16164,8 +16164,8 @@ var t9 = function(t, r, n, a, i) {
|
|
|
16164
16164
|
var g = r[v], m = g.orientation, b = g.domain, O = g.padding, x = O === void 0 ? {} : O, A = g.mirror, y = g.reversed, w = "".concat(m).concat(A ? "Mirror" : ""), S, T, P, E, j;
|
|
16165
16165
|
if (g.type === "number" && (g.padding === "gap" || g.padding === "no-gap")) {
|
|
16166
16166
|
var _ = b[1] - b[0], R = 1 / 0, $ = g.categoricalDomain.sort(rO);
|
|
16167
|
-
if ($.forEach(function(K,
|
|
16168
|
-
|
|
16167
|
+
if ($.forEach(function(K, L) {
|
|
16168
|
+
L > 0 && (R = Math.min((K || 0) - ($[L - 1] || 0), R));
|
|
16169
16169
|
}), Number.isFinite(R)) {
|
|
16170
16170
|
var D = R / _, k = g.layout === "vertical" ? n.height : n.width;
|
|
16171
16171
|
if (g.padding === "gap" && (S = D * k / 2), g.padding === "no-gap") {
|
|
@@ -16175,14 +16175,14 @@ var t9 = function(t, r, n, a, i) {
|
|
|
16175
16175
|
}
|
|
16176
16176
|
}
|
|
16177
16177
|
a === "xAxis" ? T = [n.left + (x.left || 0) + (S || 0), n.left + n.width - (x.right || 0) - (S || 0)] : a === "yAxis" ? T = l === "horizontal" ? [n.top + n.height - (x.bottom || 0), n.top + (x.top || 0)] : [n.top + (x.top || 0) + (S || 0), n.top + n.height - (x.bottom || 0) - (S || 0)] : T = g.range, y && (T = [T[1], T[0]]);
|
|
16178
|
-
var q = w6(g, i, d), C = q.scale,
|
|
16178
|
+
var q = w6(g, i, d), C = q.scale, B = q.realScaleType;
|
|
16179
16179
|
C.domain(b).range(T), O6(C);
|
|
16180
16180
|
var U = C6(C, Lt(Lt({}, g), {}, {
|
|
16181
|
-
realScaleType:
|
|
16181
|
+
realScaleType: B
|
|
16182
16182
|
}));
|
|
16183
16183
|
a === "xAxis" ? (j = m === "top" && !A || m === "bottom" && A, P = n.left, E = f[w] - j * g.height) : a === "yAxis" && (j = m === "left" && !A || m === "right" && A, P = f[w] - j * g.width, E = n.top);
|
|
16184
16184
|
var W = Lt(Lt(Lt({}, g), U), {}, {
|
|
16185
|
-
realScaleType:
|
|
16185
|
+
realScaleType: B,
|
|
16186
16186
|
x: P,
|
|
16187
16187
|
y: E,
|
|
16188
16188
|
scale: C,
|
|
@@ -20220,8 +20220,8 @@ var bu = function(t, r, n, a) {
|
|
|
20220
20220
|
}, []);
|
|
20221
20221
|
else if (O === "number") {
|
|
20222
20222
|
var q = x6(E, a.filter(function(U) {
|
|
20223
|
-
var W, K,
|
|
20224
|
-
return
|
|
20223
|
+
var W, K, L = o in U.props ? U.props[o] : (W = U.type.defaultProps) === null || W === void 0 ? void 0 : W[o], G = "hide" in U.props ? U.props.hide : (K = U.type.defaultProps) === null || K === void 0 ? void 0 : K.hide;
|
|
20224
|
+
return L === P && (T || !G);
|
|
20225
20225
|
}), x, i, u);
|
|
20226
20226
|
q && (_ = q);
|
|
20227
20227
|
}
|
|
@@ -20233,10 +20233,10 @@ var bu = function(t, r, n, a) {
|
|
|
20233
20233
|
if (O === "number")
|
|
20234
20234
|
_ = vu(f, _, P, i, S), F && (_ = kc(F, _, A));
|
|
20235
20235
|
else if (O === "category" && F) {
|
|
20236
|
-
var C = F,
|
|
20236
|
+
var C = F, B = _.every(function(U) {
|
|
20237
20237
|
return C.indexOf(U) >= 0;
|
|
20238
20238
|
});
|
|
20239
|
-
|
|
20239
|
+
B && (_ = C);
|
|
20240
20240
|
}
|
|
20241
20241
|
}
|
|
20242
20242
|
return H(H({}, v), {}, ce({}, P, H(H({}, b), {}, {
|
|
@@ -20368,11 +20368,11 @@ var bu = function(t, r, n, a) {
|
|
|
20368
20368
|
var r = t.chartName, n = t.GraphicalChild, a = t.defaultTooltipEventType, i = a === void 0 ? "axis" : a, o = t.validateTooltipEventTypes, s = o === void 0 ? ["axis"] : o, l = t.axisComponents, c = t.legendContent, u = t.formatAxisMap, f = t.defaultProps, d = function(b, O) {
|
|
20369
20369
|
var x = O.graphicalItems, A = O.stackGroups, y = O.offset, w = O.updateId, S = O.dataStartIndex, T = O.dataEndIndex, P = b.barSize, E = b.layout, j = b.barGap, _ = b.barCategoryGap, R = b.maxBarSize, $ = Km(E), D = $.numericAxisName, k = $.cateAxisName, F = BB(x), z = [];
|
|
20370
20370
|
return x.forEach(function(q, C) {
|
|
20371
|
-
var
|
|
20371
|
+
var B = Zs(b.data, {
|
|
20372
20372
|
graphicalItems: [q],
|
|
20373
20373
|
dataStartIndex: S,
|
|
20374
20374
|
dataEndIndex: T
|
|
20375
|
-
}), U = q.type.defaultProps !== void 0 ? H(H({}, q.type.defaultProps), q.props) : q.props, W = U.dataKey, K = U.maxBarSize,
|
|
20375
|
+
}), U = q.type.defaultProps !== void 0 ? H(H({}, q.type.defaultProps), q.props) : q.props, W = U.dataKey, K = U.maxBarSize, L = U["".concat(D, "Id")], G = U["".concat(k, "Id")], Y = {}, te = l.reduce(function(ze, ut) {
|
|
20376
20376
|
var ga, ya, fn = O["".concat(ut.axisType, "Map")], ba = U["".concat(ut.axisType, "Id")];
|
|
20377
20377
|
fn && fn[ba] || ut.axisType === "zAxis" || (process.env.NODE_ENV !== "production" ? vt(!1, "Specifying a(n) ".concat(ut.axisType, "Id requires a corresponding ").concat(
|
|
20378
20378
|
ut.axisType,
|
|
@@ -20380,20 +20380,20 @@ var bu = function(t, r, n, a) {
|
|
|
20380
20380
|
).concat((ga = q == null || (ya = q.type) === null || ya === void 0 ? void 0 : ya.displayName) !== null && ga !== void 0 ? ga : "")) : vt());
|
|
20381
20381
|
var xa = fn[ba];
|
|
20382
20382
|
return H(H({}, ze), {}, ce(ce({}, ut.axisType, xa), "".concat(ut.axisType, "Ticks"), ir(xa)));
|
|
20383
|
-
},
|
|
20383
|
+
}, Y), V = te[k], Z = te["".concat(k, "Ticks")], ee = A && A[L] && A[L].hasStack && k6(q, A[L].stackGroups), I = sr(q.type).indexOf("Bar") >= 0, ie = Ro(V, Z), X = [], le = F && v6({
|
|
20384
20384
|
barSize: P,
|
|
20385
20385
|
stackGroups: A,
|
|
20386
20386
|
totalSize: UB(te, k)
|
|
20387
20387
|
});
|
|
20388
20388
|
if (I) {
|
|
20389
20389
|
var re, he, Ue = fe(K) ? R : K, Le = (re = (he = Ro(V, Z, !0)) !== null && he !== void 0 ? he : Ue) !== null && re !== void 0 ? re : 0;
|
|
20390
|
-
|
|
20390
|
+
X = g6({
|
|
20391
20391
|
barGap: j,
|
|
20392
20392
|
barCategoryGap: _,
|
|
20393
20393
|
bandSize: Le !== ie ? Le : ie,
|
|
20394
20394
|
sizeList: le[G],
|
|
20395
20395
|
maxBarSize: Ue
|
|
20396
|
-
}), Le !== ie && (
|
|
20396
|
+
}), Le !== ie && (X = X.map(function(ze) {
|
|
20397
20397
|
return H(H({}, ze), {}, {
|
|
20398
20398
|
position: H(H({}, ze.position), {}, {
|
|
20399
20399
|
offset: ze.position.offset - Le / 2
|
|
@@ -20404,12 +20404,12 @@ var bu = function(t, r, n, a) {
|
|
|
20404
20404
|
var Be = q && q.type && q.type.getComposedData;
|
|
20405
20405
|
Be && z.push({
|
|
20406
20406
|
props: H(H({}, Be(H(H({}, te), {}, {
|
|
20407
|
-
displayedData:
|
|
20407
|
+
displayedData: B,
|
|
20408
20408
|
props: b,
|
|
20409
20409
|
dataKey: W,
|
|
20410
20410
|
item: q,
|
|
20411
20411
|
bandSize: ie,
|
|
20412
|
-
barPosition:
|
|
20412
|
+
barPosition: X,
|
|
20413
20413
|
offset: y,
|
|
20414
20414
|
stackedData: ee,
|
|
20415
20415
|
layout: E,
|
|
@@ -20443,7 +20443,7 @@ var bu = function(t, r, n, a) {
|
|
|
20443
20443
|
Object.keys(F).forEach(function(U) {
|
|
20444
20444
|
F[U] = u(x, F[U], z, U.replace("Map", ""), r);
|
|
20445
20445
|
});
|
|
20446
|
-
var q = F["".concat($, "Map")], C = LB(q),
|
|
20446
|
+
var q = F["".concat($, "Map")], C = LB(q), B = d(x, H(H({}, F), {}, {
|
|
20447
20447
|
dataStartIndex: A,
|
|
20448
20448
|
dataEndIndex: y,
|
|
20449
20449
|
updateId: w,
|
|
@@ -20452,7 +20452,7 @@ var bu = function(t, r, n, a) {
|
|
|
20452
20452
|
offset: z
|
|
20453
20453
|
}));
|
|
20454
20454
|
return H(H({
|
|
20455
|
-
formattedGraphicalItems:
|
|
20455
|
+
formattedGraphicalItems: B,
|
|
20456
20456
|
graphicalItems: D,
|
|
20457
20457
|
offset: z,
|
|
20458
20458
|
stackGroups: k
|
|
@@ -20623,13 +20623,13 @@ var bu = function(t, r, n, a) {
|
|
|
20623
20623
|
var C = H(H({}, F), {}, {
|
|
20624
20624
|
x: F.left,
|
|
20625
20625
|
y: F.top
|
|
20626
|
-
}),
|
|
20627
|
-
x: T === "horizontal" ? z[D].coordinate :
|
|
20626
|
+
}), B = Math.min(R, C.x + C.width), U = Math.min($, C.y + C.height), W = z[D] && z[D].value, K = bu(y.state, y.props.data, D), L = z[D] ? {
|
|
20627
|
+
x: T === "horizontal" ? z[D].coordinate : B,
|
|
20628
20628
|
y: T === "horizontal" ? U : z[D].coordinate
|
|
20629
20629
|
} : Y0;
|
|
20630
20630
|
y.setState(H(H({}, w), {}, {
|
|
20631
20631
|
activeLabel: W,
|
|
20632
|
-
activeCoordinate:
|
|
20632
|
+
activeCoordinate: L,
|
|
20633
20633
|
activePayload: K,
|
|
20634
20634
|
activeTooltipIndex: D
|
|
20635
20635
|
}));
|
|
@@ -20755,7 +20755,7 @@ var bu = function(t, r, n, a) {
|
|
|
20755
20755
|
var P = y.filterFormatItem(w, S, T);
|
|
20756
20756
|
if (!P)
|
|
20757
20757
|
return null;
|
|
20758
|
-
var E = y.getTooltipEventType(), j = y.state, _ = j.isTooltipActive, R = j.tooltipAxis, $ = j.activeTooltipIndex, D = j.activeLabel, k = y.props.children, F = Ot(k, Vt), z = P.props, q = z.points, C = z.isRange,
|
|
20758
|
+
var E = y.getTooltipEventType(), j = y.state, _ = j.isTooltipActive, R = j.tooltipAxis, $ = j.activeTooltipIndex, D = j.activeLabel, k = y.props.children, F = Ot(k, Vt), z = P.props, q = z.points, C = z.isRange, B = z.baseLine, U = P.item.type.defaultProps !== void 0 ? H(H({}, P.item.type.defaultProps), P.item.props) : P.item.props, W = U.activeDot, K = U.hide, L = U.activeBar, G = U.activeShape, Y = !!(!K && _ && F && (W || L || G)), te = {};
|
|
20759
20759
|
E !== "axis" && F && F.props.trigger === "click" ? te = {
|
|
20760
20760
|
onClick: Hi(y.handleItemMouseEnter, w.props.onClick)
|
|
20761
20761
|
} : E !== "axis" && (te = {
|
|
@@ -20766,18 +20766,18 @@ var bu = function(t, r, n, a) {
|
|
|
20766
20766
|
function Z(ut) {
|
|
20767
20767
|
return typeof R.dataKey == "function" ? R.dataKey(ut.payload) : null;
|
|
20768
20768
|
}
|
|
20769
|
-
if (
|
|
20769
|
+
if (Y)
|
|
20770
20770
|
if ($ >= 0) {
|
|
20771
20771
|
var ee, I;
|
|
20772
20772
|
if (R.dataKey && !R.allowDuplicatedCategory) {
|
|
20773
20773
|
var ie = typeof R.dataKey == "function" ? Z : "payload.".concat(R.dataKey.toString());
|
|
20774
|
-
ee = oo(q, ie, D), I = C &&
|
|
20774
|
+
ee = oo(q, ie, D), I = C && B && oo(B, ie, D);
|
|
20775
20775
|
} else
|
|
20776
|
-
ee = q == null ? void 0 : q[$], I = C &&
|
|
20777
|
-
if (G ||
|
|
20778
|
-
var
|
|
20776
|
+
ee = q == null ? void 0 : q[$], I = C && B && B[$];
|
|
20777
|
+
if (G || L) {
|
|
20778
|
+
var X = w.props.activeIndex !== void 0 ? w.props.activeIndex : $;
|
|
20779
20779
|
return [/* @__PURE__ */ Je(w, H(H(H({}, P.props), te), {}, {
|
|
20780
|
-
activeIndex:
|
|
20780
|
+
activeIndex: X
|
|
20781
20781
|
})), null, null];
|
|
20782
20782
|
}
|
|
20783
20783
|
if (!fe(ee))
|
|
@@ -21237,7 +21237,7 @@ var bu = function(t, r, n, a) {
|
|
|
21237
21237
|
});
|
|
21238
21238
|
}
|
|
21239
21239
|
if (!ql(A, b.prevChildren)) {
|
|
21240
|
-
var F, z, q, C,
|
|
21240
|
+
var F, z, q, C, B = Ot(A, Fn), U = B && (F = (z = B.props) === null || z === void 0 ? void 0 : z.startIndex) !== null && F !== void 0 ? F : E, W = B && (q = (C = B.props) === null || C === void 0 ? void 0 : C.endIndex) !== null && q !== void 0 ? q : j, K = U !== E || W !== j, L = !fe(x), G = L && !K ? b.updateId : b.updateId + 1;
|
|
21241
21241
|
return H(H({
|
|
21242
21242
|
updateId: G
|
|
21243
21243
|
}, h(H(H({
|
|
@@ -24366,36 +24366,36 @@ const pF = ({
|
|
|
24366
24366
|
controls: u,
|
|
24367
24367
|
layout: f
|
|
24368
24368
|
} = e, [d, h] = se(c.type), [v, g] = se("chart"), m = () => i === "usage-analytics" ? "users" : i === "runs" ? "agentRuns" : "users", [b, O] = se(m()), [x, A] = se("all"), y = (C) => {
|
|
24369
|
-
var U, W, K,
|
|
24370
|
-
const
|
|
24371
|
-
(U =
|
|
24369
|
+
var U, W, K, L, G;
|
|
24370
|
+
const B = T();
|
|
24371
|
+
(U = B == null ? void 0 : B.controls) != null && U.toggle ? (g(C), (K = (W = B.controls.toggle).onToggle) == null || K.call(W, C)) : (h(C), (G = (L = u == null ? void 0 : u.toggle) == null ? void 0 : L.onToggle) == null || G.call(L, C));
|
|
24372
24372
|
}, w = (C) => {
|
|
24373
24373
|
var W, K;
|
|
24374
|
-
const
|
|
24375
|
-
O(
|
|
24376
|
-
const U = l.find((
|
|
24374
|
+
const B = C.metricType || C.title.toLowerCase();
|
|
24375
|
+
O(B);
|
|
24376
|
+
const U = l.find((L) => (L.metricType || L.title.toLowerCase()) === B);
|
|
24377
24377
|
(K = (W = U == null ? void 0 : U.controls) == null ? void 0 : W.dropdown) != null && K.multiSelect ? A(["all"]) : A("all"), a == null || a(C);
|
|
24378
24378
|
}, S = (C) => {
|
|
24379
24379
|
var U, W, K;
|
|
24380
24380
|
A(C);
|
|
24381
|
-
const
|
|
24382
|
-
(K = (W = (U =
|
|
24383
|
-
}, T = () => l.find((C) => (C.metricType || C.title.toLowerCase()) === b) || null, P = (C) => Array.isArray(C) ? C.filter((U) => U !== "all").length > 0 : C !== "all", E = (C) => Array.isArray(C) ? C.filter((
|
|
24384
|
-
var K,
|
|
24385
|
-
const
|
|
24381
|
+
const B = l.find((L) => (L.metricType || L.title.toLowerCase()) === b);
|
|
24382
|
+
(K = (W = (U = B == null ? void 0 : B.controls) == null ? void 0 : U.dropdown) == null ? void 0 : W.onChange) == null || K.call(W, C);
|
|
24383
|
+
}, T = () => l.find((C) => (C.metricType || C.title.toLowerCase()) === b) || null, P = (C) => Array.isArray(C) ? C.filter((U) => U !== "all").length > 0 : C !== "all", E = (C) => Array.isArray(C) ? C.filter((B) => B !== "all") : C !== "all" ? [C] : [], j = (C) => {
|
|
24384
|
+
var K, L, G, Y, te, V, Z, ee, I;
|
|
24385
|
+
const B = ((L = (K = C.view) == null ? void 0 : K.chart) == null ? void 0 : L.data) || ((G = c.chart) == null ? void 0 : G.data) || [];
|
|
24386
24386
|
if (!P(x))
|
|
24387
|
-
return
|
|
24387
|
+
return B;
|
|
24388
24388
|
const U = C.metricType, W = E(x);
|
|
24389
24389
|
if (W.length === 1) {
|
|
24390
|
-
const ie = W[0],
|
|
24390
|
+
const ie = W[0], X = T(), le = (V = (te = (Y = X == null ? void 0 : X.controls) == null ? void 0 : Y.dropdown) == null ? void 0 : te.options) == null ? void 0 : V.find(
|
|
24391
24391
|
(he) => he.value === ie
|
|
24392
24392
|
), re = le == null ? void 0 : le.label;
|
|
24393
24393
|
return console.log("🔍 Filtering chart data:", {
|
|
24394
24394
|
metricType: U,
|
|
24395
24395
|
singleFilter: ie,
|
|
24396
24396
|
selectedLabel: re,
|
|
24397
|
-
baseDataSample:
|
|
24398
|
-
}),
|
|
24397
|
+
baseDataSample: B[0]
|
|
24398
|
+
}), B.map((he) => {
|
|
24399
24399
|
let Ue = 0;
|
|
24400
24400
|
return he.listView && Array.isArray(he.listView) && (Ue = he.listView.filter((ze) => U === "agentRuns" && ze.agentName ? ze.agentName === re || ze.agentName.toLowerCase() === (re == null ? void 0 : re.toLowerCase()) : U === "toolRuns" && ze.toolName ? ze.toolName === re || ze.toolName.toLowerCase() === (re == null ? void 0 : re.toLowerCase()) : U === "modelRuns" && ze.modelName ? ze.modelName === re || ze.modelName.toLowerCase() === (re == null ? void 0 : re.toLowerCase()) : !1).reduce(
|
|
24401
24401
|
(ze, ut) => ze + (ut.count || 0),
|
|
@@ -24410,7 +24410,7 @@ const pF = ({
|
|
|
24410
24410
|
const ie = T(), le = (((I = (ee = (Z = ie == null ? void 0 : ie.controls) == null ? void 0 : Z.dropdown) == null ? void 0 : ee.options) == null ? void 0 : I.filter(
|
|
24411
24411
|
(re) => W.includes(re.value)
|
|
24412
24412
|
)) || []).map((re) => re.label);
|
|
24413
|
-
return
|
|
24413
|
+
return B.map((re) => {
|
|
24414
24414
|
let he = 0;
|
|
24415
24415
|
return re.listView && Array.isArray(re.listView) && (he = re.listView.filter((Le) => U === "agentRuns" && Le.agentName ? le.some(
|
|
24416
24416
|
(Be) => Le.agentName === Be || Le.agentName.toLowerCase() === (Be == null ? void 0 : Be.toLowerCase())
|
|
@@ -24427,24 +24427,24 @@ const pF = ({
|
|
|
24427
24427
|
};
|
|
24428
24428
|
});
|
|
24429
24429
|
}
|
|
24430
|
-
return
|
|
24430
|
+
return B;
|
|
24431
24431
|
}, _ = (C) => {
|
|
24432
24432
|
var K;
|
|
24433
24433
|
if (!((K = C.view) != null && K.chart)) return null;
|
|
24434
|
-
const
|
|
24435
|
-
var G,
|
|
24434
|
+
const B = j(C), U = () => {
|
|
24435
|
+
var G, Y, te, V, Z, ee;
|
|
24436
24436
|
if (!P(x) || !((G = C.controls) != null && G.dropdown))
|
|
24437
|
-
return ((te = (
|
|
24438
|
-
const
|
|
24439
|
-
if (
|
|
24440
|
-
const I = (V = C.controls.dropdown.options) == null ? void 0 : V.find((ie) => ie.value ===
|
|
24437
|
+
return ((te = (Y = C.view) == null ? void 0 : Y.chart) == null ? void 0 : te.title) || C.title;
|
|
24438
|
+
const L = E(x);
|
|
24439
|
+
if (L.length === 1) {
|
|
24440
|
+
const I = (V = C.controls.dropdown.options) == null ? void 0 : V.find((ie) => ie.value === L[0]);
|
|
24441
24441
|
return I ? `${I.label}` : ((ee = (Z = C.view) == null ? void 0 : Z.chart) == null ? void 0 : ee.title) || C.title;
|
|
24442
24442
|
}
|
|
24443
|
-
return `${
|
|
24443
|
+
return `${L.length} selected`;
|
|
24444
24444
|
}, W = E(x);
|
|
24445
24445
|
return C.metricType === "toolRuns" && W.length === 1 ? {
|
|
24446
24446
|
...C.view.chart,
|
|
24447
|
-
data:
|
|
24447
|
+
data: B,
|
|
24448
24448
|
title: U(),
|
|
24449
24449
|
// Convert multi-line to single line for specific tool selection
|
|
24450
24450
|
lines: void 0,
|
|
@@ -24454,7 +24454,7 @@ const pF = ({
|
|
|
24454
24454
|
showLegend: !1
|
|
24455
24455
|
} : C.metricType === "modelRuns" && W.length === 1 ? {
|
|
24456
24456
|
...C.view.chart,
|
|
24457
|
-
data:
|
|
24457
|
+
data: B,
|
|
24458
24458
|
title: U(),
|
|
24459
24459
|
dataKey: "modelRuns",
|
|
24460
24460
|
color: "#10b981",
|
|
@@ -24462,26 +24462,26 @@ const pF = ({
|
|
|
24462
24462
|
showLegend: !1
|
|
24463
24463
|
} : {
|
|
24464
24464
|
...C.view.chart,
|
|
24465
|
-
data:
|
|
24465
|
+
data: B,
|
|
24466
24466
|
title: U()
|
|
24467
24467
|
};
|
|
24468
|
-
}, R = (C,
|
|
24468
|
+
}, R = (C, B) => {
|
|
24469
24469
|
if (!P(x))
|
|
24470
24470
|
return C;
|
|
24471
24471
|
const U = E(x);
|
|
24472
24472
|
if (U.length === 1) {
|
|
24473
24473
|
const W = U[0];
|
|
24474
|
-
if (i === "runs" &&
|
|
24474
|
+
if (i === "runs" && B === "agentRuns")
|
|
24475
24475
|
return C.map((K) => ({
|
|
24476
24476
|
...K,
|
|
24477
24477
|
agentRuns: K[W] || 0
|
|
24478
24478
|
}));
|
|
24479
|
-
if (i === "runs" &&
|
|
24479
|
+
if (i === "runs" && B === "toolRuns")
|
|
24480
24480
|
return C.map((K) => ({
|
|
24481
24481
|
...K,
|
|
24482
24482
|
toolRuns: K[W.replace(/[-]/g, "")] || 0
|
|
24483
24483
|
}));
|
|
24484
|
-
if (i === "runs" &&
|
|
24484
|
+
if (i === "runs" && B === "modelRuns")
|
|
24485
24485
|
return C.map((K) => ({
|
|
24486
24486
|
...K,
|
|
24487
24487
|
modelRuns: K[W.replace(/[-\.]/g, "")] || 0
|
|
@@ -24490,14 +24490,14 @@ const pF = ({
|
|
|
24490
24490
|
return C;
|
|
24491
24491
|
}, $ = (C) => {
|
|
24492
24492
|
var K;
|
|
24493
|
-
const
|
|
24494
|
-
var
|
|
24493
|
+
const B = ((K = c.chart) == null ? void 0 : K.data) || [], U = R(B, C), W = (L) => {
|
|
24494
|
+
var Y, te;
|
|
24495
24495
|
if (!P(x))
|
|
24496
|
-
return
|
|
24496
|
+
return L;
|
|
24497
24497
|
const G = E(x);
|
|
24498
24498
|
if (G.length === 1) {
|
|
24499
|
-
const V = (te = (
|
|
24500
|
-
return V ? `${V.label}` :
|
|
24499
|
+
const V = (te = (Y = u == null ? void 0 : u.dropdown) == null ? void 0 : Y.options) == null ? void 0 : te.find((Z) => Z.value === G[0]);
|
|
24500
|
+
return V ? `${V.label}` : L;
|
|
24501
24501
|
}
|
|
24502
24502
|
return `${G.length} selected`;
|
|
24503
24503
|
};
|
|
@@ -24506,7 +24506,7 @@ const pF = ({
|
|
|
24506
24506
|
return {
|
|
24507
24507
|
type: "line",
|
|
24508
24508
|
title: "Total Users",
|
|
24509
|
-
data:
|
|
24509
|
+
data: B,
|
|
24510
24510
|
dataKey: "users",
|
|
24511
24511
|
color: "#8b5cf6",
|
|
24512
24512
|
// Purple as shown in Figma
|
|
@@ -24524,7 +24524,7 @@ const pF = ({
|
|
|
24524
24524
|
return {
|
|
24525
24525
|
type: "line",
|
|
24526
24526
|
title: "Total Sessions",
|
|
24527
|
-
data:
|
|
24527
|
+
data: B,
|
|
24528
24528
|
dataKey: "sessions",
|
|
24529
24529
|
color: "#06b6d4",
|
|
24530
24530
|
// Blue as shown in Figma
|
|
@@ -24542,7 +24542,7 @@ const pF = ({
|
|
|
24542
24542
|
return {
|
|
24543
24543
|
type: "line",
|
|
24544
24544
|
title: "Total Messages",
|
|
24545
|
-
data:
|
|
24545
|
+
data: B,
|
|
24546
24546
|
dataKey: "messages",
|
|
24547
24547
|
color: "#ec4899",
|
|
24548
24548
|
// Pink as shown in Figma
|
|
@@ -24560,7 +24560,7 @@ const pF = ({
|
|
|
24560
24560
|
return {
|
|
24561
24561
|
type: "line",
|
|
24562
24562
|
title: "Token Usage Breakdown",
|
|
24563
|
-
data:
|
|
24563
|
+
data: B,
|
|
24564
24564
|
yAxisLabel: "Number of Tokens",
|
|
24565
24565
|
lines: [
|
|
24566
24566
|
{
|
|
@@ -24614,7 +24614,7 @@ const pF = ({
|
|
|
24614
24614
|
return E(x).length === 1 ? {
|
|
24615
24615
|
type: "line",
|
|
24616
24616
|
title: W("Tool Runs"),
|
|
24617
|
-
data: R(
|
|
24617
|
+
data: R(B, "toolRuns"),
|
|
24618
24618
|
dataKey: "toolRuns",
|
|
24619
24619
|
color: "#f97316",
|
|
24620
24620
|
// Orange for Tool Runs
|
|
@@ -24678,7 +24678,7 @@ const pF = ({
|
|
|
24678
24678
|
return E(x).length === 1 ? {
|
|
24679
24679
|
type: "line",
|
|
24680
24680
|
title: W("Model Runs"),
|
|
24681
|
-
data: R(
|
|
24681
|
+
data: R(B, "modelRuns"),
|
|
24682
24682
|
dataKey: "modelRuns",
|
|
24683
24683
|
color: "#10b981",
|
|
24684
24684
|
// Green as shown in Figma
|
|
@@ -24739,17 +24739,17 @@ const pF = ({
|
|
|
24739
24739
|
} : void 0
|
|
24740
24740
|
} : void 0;
|
|
24741
24741
|
})(), F = (() => {
|
|
24742
|
-
var U, W, K,
|
|
24742
|
+
var U, W, K, L, G, Y, te, V, Z, ee;
|
|
24743
24743
|
const C = T();
|
|
24744
24744
|
if (C != null && C.view) {
|
|
24745
24745
|
if ((U = C.controls) != null && U.toggle) {
|
|
24746
24746
|
if (v === "table" && C.view.table) {
|
|
24747
24747
|
let ie = C.view.table.data;
|
|
24748
24748
|
if (C.metricType === "agentRuns" && P(x)) {
|
|
24749
|
-
const
|
|
24750
|
-
if (
|
|
24751
|
-
const le = ((
|
|
24752
|
-
(re) =>
|
|
24749
|
+
const X = E(x);
|
|
24750
|
+
if (X.length > 0) {
|
|
24751
|
+
const le = ((L = (K = (W = C.controls) == null ? void 0 : W.dropdown) == null ? void 0 : K.options) == null ? void 0 : L.filter(
|
|
24752
|
+
(re) => X.includes(re.value)
|
|
24753
24753
|
)) || [];
|
|
24754
24754
|
le.length > 0 && (ie = ie.filter(
|
|
24755
24755
|
(re) => le.some(
|
|
@@ -24759,10 +24759,10 @@ const pF = ({
|
|
|
24759
24759
|
}
|
|
24760
24760
|
}
|
|
24761
24761
|
if (C.metricType === "toolRuns" && P(x)) {
|
|
24762
|
-
const
|
|
24763
|
-
if (
|
|
24764
|
-
const le = ((te = (
|
|
24765
|
-
(re) =>
|
|
24762
|
+
const X = E(x);
|
|
24763
|
+
if (X.length > 0) {
|
|
24764
|
+
const le = ((te = (Y = (G = C.controls) == null ? void 0 : G.dropdown) == null ? void 0 : Y.options) == null ? void 0 : te.filter(
|
|
24765
|
+
(re) => X.includes(re.value)
|
|
24766
24766
|
)) || [];
|
|
24767
24767
|
le.length > 0 && (ie = ie.filter(
|
|
24768
24768
|
(re) => le.some(
|
|
@@ -24772,10 +24772,10 @@ const pF = ({
|
|
|
24772
24772
|
}
|
|
24773
24773
|
}
|
|
24774
24774
|
if (C.metricType === "modelRuns" && P(x)) {
|
|
24775
|
-
const
|
|
24776
|
-
if (
|
|
24775
|
+
const X = E(x);
|
|
24776
|
+
if (X.length > 0) {
|
|
24777
24777
|
const le = ((ee = (Z = (V = C.controls) == null ? void 0 : V.dropdown) == null ? void 0 : Z.options) == null ? void 0 : ee.filter(
|
|
24778
|
-
(re) =>
|
|
24778
|
+
(re) => X.includes(re.value)
|
|
24779
24779
|
)) || [];
|
|
24780
24780
|
le.length > 0 && (ie = ie.filter(
|
|
24781
24781
|
(re) => le.some(
|
|
@@ -24803,13 +24803,13 @@ const pF = ({
|
|
|
24803
24803
|
chart: I
|
|
24804
24804
|
} : C.view;
|
|
24805
24805
|
}
|
|
24806
|
-
const
|
|
24807
|
-
return
|
|
24806
|
+
const B = $(b);
|
|
24807
|
+
return B ? { type: "chart", chart: B } : { ...c, type: d };
|
|
24808
24808
|
})(), z = () => l.map((C) => {
|
|
24809
|
-
const
|
|
24809
|
+
const B = C.metricType || C.title.toLowerCase();
|
|
24810
24810
|
return {
|
|
24811
24811
|
...C,
|
|
24812
|
-
highlighted: C.highlighted ||
|
|
24812
|
+
highlighted: C.highlighted || B === b
|
|
24813
24813
|
};
|
|
24814
24814
|
});
|
|
24815
24815
|
return /* @__PURE__ */ p.jsxs(
|
|
@@ -24833,14 +24833,14 @@ const pF = ({
|
|
|
24833
24833
|
/* @__PURE__ */ p.jsx("div", { className: "flex-1", children: /* @__PURE__ */ p.jsx(Qi, {}) }),
|
|
24834
24834
|
/* @__PURE__ */ p.jsx("div", { className: "flex-1", children: /* @__PURE__ */ p.jsx(Qi, {}) }),
|
|
24835
24835
|
/* @__PURE__ */ p.jsx("div", { className: "flex-1", children: /* @__PURE__ */ p.jsx(Qi, {}) })
|
|
24836
|
-
] }) : z().map((C,
|
|
24836
|
+
] }) : z().map((C, B) => /* @__PURE__ */ p.jsx("div", { className: "flex-1", children: /* @__PURE__ */ p.jsx(
|
|
24837
24837
|
wx,
|
|
24838
24838
|
{
|
|
24839
24839
|
data: C,
|
|
24840
24840
|
onClick: w,
|
|
24841
|
-
isFirst:
|
|
24841
|
+
isFirst: B === 0
|
|
24842
24842
|
}
|
|
24843
|
-
) }, `${i}-metric-${
|
|
24843
|
+
) }, `${i}-metric-${B}`)) }),
|
|
24844
24844
|
/* @__PURE__ */ p.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
24845
24845
|
/* @__PURE__ */ p.jsx("div", { children: T() && /* @__PURE__ */ p.jsx("h3", { className: "text-md font-medium text-gray-700", children: (q = T()) == null ? void 0 : q.title }) }),
|
|
24846
24846
|
D && /* @__PURE__ */ p.jsx(mF, { config: D })
|
|
@@ -26302,9 +26302,9 @@ function EU({ className: e, defaultValue: t, onDateRangeChange: r }) {
|
|
|
26302
26302
|
}, [t]);
|
|
26303
26303
|
const S = () => {
|
|
26304
26304
|
if (!w.current) return;
|
|
26305
|
-
const k = w.current.getBoundingClientRect(), F = window.scrollY, z = window.scrollX, q = window.innerWidth, C = window.innerHeight,
|
|
26305
|
+
const k = w.current.getBoundingClientRect(), F = window.scrollY, z = window.scrollX, q = window.innerWidth, C = window.innerHeight, B = 720, U = 450;
|
|
26306
26306
|
let W = k.bottom + F + 8, K = k.left + z;
|
|
26307
|
-
K +
|
|
26307
|
+
K + B > q && (K = k.right + z - B), K + B > q && (K = q - B - 20), W + U > C && (W = k.top + F - U - 8), K < 20 && (K = 20), W < 20 && (W = 20), A({ top: W, left: K });
|
|
26308
26308
|
};
|
|
26309
26309
|
Qe(() => {
|
|
26310
26310
|
const k = () => {
|
|
@@ -26346,7 +26346,7 @@ function EU({ className: e, defaultValue: t, onDateRangeChange: r }) {
|
|
|
26346
26346
|
"October",
|
|
26347
26347
|
"November",
|
|
26348
26348
|
"December"
|
|
26349
|
-
],
|
|
26349
|
+
], L = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], G = [], te = new Date(z, q - 1, 0).getDate();
|
|
26350
26350
|
for (let ee = W - 1; ee >= 0; ee--) {
|
|
26351
26351
|
const I = te - ee, ie = new Date(z, q - 1, I);
|
|
26352
26352
|
G.push(
|
|
@@ -26362,9 +26362,9 @@ function EU({ className: e, defaultValue: t, onDateRangeChange: r }) {
|
|
|
26362
26362
|
);
|
|
26363
26363
|
}
|
|
26364
26364
|
for (let ee = 1; ee <= U; ee++) {
|
|
26365
|
-
const I = new Date(z, q, ee), ie = Da(I, /* @__PURE__ */ new Date()),
|
|
26365
|
+
const I = new Date(z, q, ee), ie = Da(I, /* @__PURE__ */ new Date()), X = (s == null ? void 0 : s.from) && (s == null ? void 0 : s.to) && PU(I, { start: s.from, end: s.to }), le = (s == null ? void 0 : s.from) && Da(I, s.from), re = (s == null ? void 0 : s.to) && Da(I, s.to), he = b && Da(I, b);
|
|
26366
26366
|
let Ue = "h-[32px] w-[32px] text-xs hover:bg-gray-100 hover:text-gray-900 hover:font-medium rounded-full flex items-center justify-center transition-colors text-gray-700 ";
|
|
26367
|
-
ie && (Ue += "font-semibold "), he || le || re ? Ue += "!bg-blue-500 !text-white !hover:bg-blue-500 !hover:text-white font-semibold" :
|
|
26367
|
+
ie && (Ue += "font-semibold "), he || le || re ? Ue += "!bg-blue-500 !text-white !hover:bg-blue-500 !hover:text-white font-semibold" : X && (Ue += "bg-blue-100 text-blue-900 hover:bg-blue-100 hover:text-blue-900 font-semibold"), G.push(
|
|
26368
26368
|
/* @__PURE__ */ p.jsx("button", { onClick: () => P(I), className: Ue, children: ee }, `current-${ee}`)
|
|
26369
26369
|
);
|
|
26370
26370
|
}
|
|
@@ -26407,7 +26407,7 @@ function EU({ className: e, defaultValue: t, onDateRangeChange: r }) {
|
|
|
26407
26407
|
}
|
|
26408
26408
|
)
|
|
26409
26409
|
] }),
|
|
26410
|
-
/* @__PURE__ */ p.jsx("div", { className: "grid grid-cols-7 gap-1 mb-2", children:
|
|
26410
|
+
/* @__PURE__ */ p.jsx("div", { className: "grid grid-cols-7 gap-1 mb-2", children: L.map((ee) => /* @__PURE__ */ p.jsx("div", { className: "h-[32px] flex items-center justify-center text-xs font-medium text-gray-700 w-full text-center", children: ee }, ee)) }),
|
|
26411
26411
|
/* @__PURE__ */ p.jsx("div", { className: "grid grid-cols-7 gap-1", children: G })
|
|
26412
26412
|
] });
|
|
26413
26413
|
}, D = () => "fixed bg-white border border-gray-200 rounded-lg shadow-xl z-[99999]";
|
|
@@ -26609,7 +26609,7 @@ const tW = ({
|
|
|
26609
26609
|
console.log("Using dataKey for metric", D.metricType, ":", U), m(
|
|
26610
26610
|
(W) => W.map((K) => {
|
|
26611
26611
|
if (K.id === $) {
|
|
26612
|
-
const
|
|
26612
|
+
const L = {
|
|
26613
26613
|
...K,
|
|
26614
26614
|
view: {
|
|
26615
26615
|
...K.view,
|
|
@@ -26641,7 +26641,7 @@ const tW = ({
|
|
|
26641
26641
|
}
|
|
26642
26642
|
}
|
|
26643
26643
|
};
|
|
26644
|
-
return console.log("Updated section for", $, ":",
|
|
26644
|
+
return console.log("Updated section for", $, ":", L), console.log("Chart config set:", L.view.chart), L;
|
|
26645
26645
|
}
|
|
26646
26646
|
return K;
|
|
26647
26647
|
})
|
|
@@ -26853,7 +26853,7 @@ class CU {
|
|
|
26853
26853
|
* Create TreeNode from paired started/completed events
|
|
26854
26854
|
*/
|
|
26855
26855
|
static createTreeNodeFromEvents(t, r, n) {
|
|
26856
|
-
const a = t.data.timestamp, i = r == null ? void 0 : r.data.timestamp, o = i && a ? new Date(i).getTime() - new Date(a).getTime() : void 0, s = r || t, l = s.data.type === "llm" || s.data.type === "tool" || s.data.type === "GuardrailsInputScan" || s.data.type === "GuardrailsOutputScan", c = l ? t.data.input : void 0, u = l ? r == null ? void 0 : r.data.output : void 0, f = this.extractLLMUsage(u), { toolInvocations: d, isResponse: h } = this.extractToolInvocations(u), v = s.data.type === "llm" ? this.extractProvider(s.data.name || s.data.toolName) : void 0;
|
|
26856
|
+
const a = t.data.timestamp, i = r == null ? void 0 : r.data.timestamp, o = i && a ? new Date(i).getTime() - new Date(a).getTime() : void 0, s = r || t, l = s.data.type === "llm" || s.data.type === "tool" || s.data.type === "GuardrailsInputScan" || s.data.type === "GuardrailsOutputScan", c = l ? t.data.input : void 0, u = l ? r == null ? void 0 : r.data.output : void 0, f = this.extractLLMUsage(u, r == null ? void 0 : r.data.metadata), { toolInvocations: d, isResponse: h } = this.extractToolInvocations(u), v = s.data.type === "llm" ? this.extractProvider(s.data.name || s.data.toolName) : void 0;
|
|
26857
26857
|
return {
|
|
26858
26858
|
id: s.data.id,
|
|
26859
26859
|
parentId: s.data.parentId,
|
|
@@ -26897,20 +26897,22 @@ class CU {
|
|
|
26897
26897
|
), n.forEach((a) => this.sortChildren(a)), n;
|
|
26898
26898
|
}
|
|
26899
26899
|
/**
|
|
26900
|
-
* Extract LLM usage metadata from output (configurable path)
|
|
26900
|
+
* Extract LLM usage metadata from output and event metadata (configurable path)
|
|
26901
26901
|
*/
|
|
26902
|
-
static extractLLMUsage(t) {
|
|
26903
|
-
var
|
|
26902
|
+
static extractLLMUsage(t, r) {
|
|
26903
|
+
var n, a, i;
|
|
26904
|
+
if (r != null && r.usage_metadata)
|
|
26905
|
+
return r.usage_metadata;
|
|
26904
26906
|
if (!(!t || typeof t != "object")) {
|
|
26905
26907
|
if (t.usage_metadata)
|
|
26906
26908
|
return t.usage_metadata;
|
|
26907
|
-
if ((
|
|
26909
|
+
if ((n = t.metadata) != null && n.usage_metadata)
|
|
26908
26910
|
return t.metadata.usage_metadata;
|
|
26909
26911
|
if (Array.isArray(t)) {
|
|
26910
|
-
const
|
|
26911
|
-
if ((
|
|
26912
|
-
return
|
|
26913
|
-
} else if ((
|
|
26912
|
+
const o = t[0];
|
|
26913
|
+
if ((a = o == null ? void 0 : o.additional_kwargs) != null && a.llmUsageMetadata)
|
|
26914
|
+
return o.additional_kwargs.llmUsageMetadata;
|
|
26915
|
+
} else if ((i = t.additional_kwargs) != null && i.llmUsageMetadata)
|
|
26914
26916
|
return t.additional_kwargs.llmUsageMetadata;
|
|
26915
26917
|
}
|
|
26916
26918
|
}
|
|
@@ -27115,7 +27117,7 @@ class CU {
|
|
|
27115
27117
|
static calculateRunTokens(t) {
|
|
27116
27118
|
let r = 0;
|
|
27117
27119
|
return t.forEach((n) => {
|
|
27118
|
-
const a = this.extractLLMUsage(n.data);
|
|
27120
|
+
const a = this.extractLLMUsage(n.data.output, n.data.metadata);
|
|
27119
27121
|
a != null && a.total_tokens && (r += a.total_tokens);
|
|
27120
27122
|
}), r;
|
|
27121
27123
|
}
|
|
@@ -27920,59 +27922,67 @@ const MU = vs(({
|
|
|
27920
27922
|
}, [e]);
|
|
27921
27923
|
const S = dt(0), T = dt(null), P = dt(!1);
|
|
27922
27924
|
rv(o, () => ({
|
|
27923
|
-
addEvent: (
|
|
27924
|
-
y((G) => [...G,
|
|
27925
|
+
addEvent: (L) => {
|
|
27926
|
+
y((G) => [...G, L]), P.current = !0;
|
|
27925
27927
|
},
|
|
27926
|
-
addEvents: (
|
|
27927
|
-
y((G) => [...G, ...
|
|
27928
|
+
addEvents: (L) => {
|
|
27929
|
+
y((G) => [...G, ...L]), P.current = !0;
|
|
27928
27930
|
},
|
|
27929
27931
|
clearEvents: () => {
|
|
27930
27932
|
y([]), l(/* @__PURE__ */ new Set()), u(/* @__PURE__ */ new Set()), d(/* @__PURE__ */ new Set()), P.current = !1;
|
|
27931
27933
|
}
|
|
27932
27934
|
}), []);
|
|
27933
27935
|
const E = ur(() => {
|
|
27934
|
-
const
|
|
27935
|
-
return T.current =
|
|
27936
|
-
}, [A, t]), j = (
|
|
27937
|
-
const G = [],
|
|
27938
|
-
G.push(te.id), te.children.forEach((V) =>
|
|
27936
|
+
const L = CU.buildSessionTree(A, t);
|
|
27937
|
+
return T.current = L, L;
|
|
27938
|
+
}, [A, t]), j = (L) => {
|
|
27939
|
+
const G = [], Y = (te) => {
|
|
27940
|
+
G.push(te.id), te.children.forEach((V) => Y(V));
|
|
27939
27941
|
};
|
|
27940
|
-
return
|
|
27941
|
-
te.rootNodes.forEach((V) =>
|
|
27942
|
+
return L.runs.forEach((te) => {
|
|
27943
|
+
te.rootNodes.forEach((V) => Y(V));
|
|
27942
27944
|
}), G;
|
|
27943
27945
|
}, _ = wt(() => {
|
|
27944
|
-
const
|
|
27945
|
-
l(new Set(
|
|
27946
|
-
const G = E.runs.map((
|
|
27946
|
+
const L = j(E);
|
|
27947
|
+
l(new Set(L));
|
|
27948
|
+
const G = E.runs.map((Y) => Y.runId);
|
|
27947
27949
|
d(new Set(G));
|
|
27948
27950
|
}, [E]), R = wt(() => {
|
|
27949
|
-
|
|
27950
|
-
|
|
27951
|
+
if (m === "none") {
|
|
27952
|
+
const L = /* @__PURE__ */ new Set();
|
|
27953
|
+
E.runs.forEach((G) => {
|
|
27954
|
+
G.rootNodes.forEach((Y) => {
|
|
27955
|
+
L.add(Y.id);
|
|
27956
|
+
});
|
|
27957
|
+
}), l(L);
|
|
27958
|
+
} else
|
|
27959
|
+
l(/* @__PURE__ */ new Set());
|
|
27960
|
+
}, [m, E]), $ = wt(() => {
|
|
27951
27961
|
if (E.runs.length > 0) {
|
|
27952
|
-
const
|
|
27953
|
-
if (
|
|
27954
|
-
const G =
|
|
27955
|
-
if (
|
|
27962
|
+
const L = E.runs[E.runs.length - 1];
|
|
27963
|
+
if (L.rootNodes.length > 0) {
|
|
27964
|
+
const G = L.rootNodes[L.rootNodes.length - 1], Y = [], te = (V) => {
|
|
27965
|
+
if (Y.push(V.id), V.children.length > 0) {
|
|
27956
27966
|
const Z = V.children[V.children.length - 1];
|
|
27957
27967
|
te(Z);
|
|
27958
27968
|
}
|
|
27959
27969
|
};
|
|
27960
|
-
te(G), l(new Set(
|
|
27970
|
+
te(G), l(new Set(Y)), d((V) => {
|
|
27961
27971
|
const Z = new Set(V);
|
|
27962
|
-
return Z.add(
|
|
27972
|
+
return Z.add(L.runId), Z;
|
|
27963
27973
|
});
|
|
27964
27974
|
}
|
|
27965
27975
|
}
|
|
27966
|
-
}, [E]), D = wt((
|
|
27976
|
+
}, [E]), D = wt((L) => {
|
|
27967
27977
|
x((G) => {
|
|
27968
|
-
const
|
|
27969
|
-
return
|
|
27978
|
+
const Y = new Set(G);
|
|
27979
|
+
return Y.has(L) ? Y.delete(L) : Y.add(L), Y;
|
|
27970
27980
|
});
|
|
27971
27981
|
}, []);
|
|
27972
27982
|
Qe(() => {
|
|
27973
27983
|
if (g) {
|
|
27974
|
-
const
|
|
27975
|
-
x(new Set(
|
|
27984
|
+
const L = E.runs.map((G) => G.runId);
|
|
27985
|
+
x(new Set(L));
|
|
27976
27986
|
}
|
|
27977
27987
|
}, [E.runs, g]);
|
|
27978
27988
|
const k = dt(null);
|
|
@@ -27988,69 +27998,87 @@ const MU = vs(({
|
|
|
27988
27998
|
if (P.current) {
|
|
27989
27999
|
switch (m) {
|
|
27990
28000
|
case "all":
|
|
27991
|
-
const
|
|
27992
|
-
l(new Set(
|
|
28001
|
+
const L = j(E);
|
|
28002
|
+
l(new Set(L));
|
|
27993
28003
|
break;
|
|
27994
28004
|
case "last":
|
|
27995
28005
|
$();
|
|
27996
28006
|
break;
|
|
28007
|
+
case "none":
|
|
28008
|
+
l((G) => {
|
|
28009
|
+
const Y = /* @__PURE__ */ new Set();
|
|
28010
|
+
return E.runs.forEach((te) => {
|
|
28011
|
+
te.rootNodes.forEach((V) => {
|
|
28012
|
+
Y.add(V.id);
|
|
28013
|
+
});
|
|
28014
|
+
}), Y;
|
|
28015
|
+
});
|
|
28016
|
+
break;
|
|
27997
28017
|
}
|
|
27998
28018
|
P.current = !1;
|
|
28019
|
+
} else if (m === "none" && s.size === 0 && E.runs.length > 0) {
|
|
28020
|
+
const L = /* @__PURE__ */ new Set();
|
|
28021
|
+
E.runs.forEach((G) => {
|
|
28022
|
+
G.rootNodes.forEach((Y) => {
|
|
28023
|
+
L.add(Y.id);
|
|
28024
|
+
});
|
|
28025
|
+
}), L.size > 0 && l(L);
|
|
27999
28026
|
}
|
|
28000
|
-
d((
|
|
28001
|
-
const
|
|
28002
|
-
return E.runs.forEach((
|
|
28003
|
-
|
|
28004
|
-
}),
|
|
28005
|
-
})
|
|
28006
|
-
|
|
28007
|
-
|
|
28008
|
-
|
|
28009
|
-
|
|
28010
|
-
|
|
28011
|
-
|
|
28012
|
-
|
|
28027
|
+
if (d((L) => {
|
|
28028
|
+
const G = new Set(L);
|
|
28029
|
+
return E.runs.forEach((Y) => {
|
|
28030
|
+
G.has(Y.runId) || G.add(Y.runId);
|
|
28031
|
+
}), G;
|
|
28032
|
+
}), m !== "none") {
|
|
28033
|
+
const L = E.runs[E.runs.length - 1];
|
|
28034
|
+
if (L.rootNodes.length > 0) {
|
|
28035
|
+
const G = L.rootNodes[L.rootNodes.length - 1], Y = K(G);
|
|
28036
|
+
Y && u((te) => {
|
|
28037
|
+
const V = new Set(te);
|
|
28038
|
+
return V.add(Y.id), V;
|
|
28039
|
+
});
|
|
28040
|
+
}
|
|
28013
28041
|
}
|
|
28014
28042
|
}
|
|
28015
|
-
}, [E, m,
|
|
28016
|
-
const F = wt((
|
|
28043
|
+
}, [E, m, $, s.size]);
|
|
28044
|
+
const F = wt((L) => {
|
|
28017
28045
|
l((G) => {
|
|
28018
|
-
const
|
|
28019
|
-
return
|
|
28046
|
+
const Y = new Set(G);
|
|
28047
|
+
return Y.has(L) ? (Y.delete(L), a == null || a(L)) : (Y.add(L), n == null || n(L)), Y;
|
|
28020
28048
|
});
|
|
28021
|
-
}, [n, a]), z = wt((
|
|
28049
|
+
}, [n, a]), z = wt((L) => {
|
|
28022
28050
|
u((G) => {
|
|
28023
|
-
const
|
|
28024
|
-
return
|
|
28051
|
+
const Y = new Set(G);
|
|
28052
|
+
return Y.has(L.id) ? Y.delete(L.id) : Y.add(L.id), Y;
|
|
28025
28053
|
});
|
|
28026
|
-
}, []), q = wt((
|
|
28054
|
+
}, []), q = wt((L) => {
|
|
28027
28055
|
d((G) => {
|
|
28028
|
-
const
|
|
28029
|
-
return
|
|
28056
|
+
const Y = new Set(G);
|
|
28057
|
+
return Y.has(L) ? Y.delete(L) : Y.add(L), Y;
|
|
28030
28058
|
});
|
|
28031
|
-
}, []), C = wt((
|
|
28032
|
-
...
|
|
28033
|
-
isExpanded: s.has(
|
|
28034
|
-
children:
|
|
28035
|
-
}), [s]),
|
|
28059
|
+
}, []), C = wt((L) => ({
|
|
28060
|
+
...L,
|
|
28061
|
+
isExpanded: s.has(L.id),
|
|
28062
|
+
children: L.children.map((Y) => C(Y))
|
|
28063
|
+
}), [s]), B = (L) => L ? L < 1e3 ? `${L}ms` : `${(L / 1e3).toFixed(2)}s` : "", U = (L) => L ? L >= 1e6 ? `${(L / 1e6).toFixed(1)}M tokens` : L >= 1e3 ? `${(L / 1e3).toFixed(1)}K tokens` : `${L} tokens` : "", W = async (L) => {
|
|
28036
28064
|
try {
|
|
28037
28065
|
if (navigator.clipboard && navigator.clipboard.writeText) {
|
|
28038
|
-
await navigator.clipboard.writeText(
|
|
28066
|
+
await navigator.clipboard.writeText(L);
|
|
28039
28067
|
return;
|
|
28040
28068
|
}
|
|
28041
28069
|
const G = document.createElement("textarea");
|
|
28042
|
-
G.value =
|
|
28070
|
+
G.value = L, G.style.position = "fixed", G.style.left = "-999999px", G.style.top = "-999999px", document.body.appendChild(G), G.focus(), G.select();
|
|
28043
28071
|
try {
|
|
28044
28072
|
document.execCommand("copy");
|
|
28045
|
-
} catch (
|
|
28046
|
-
console.warn("Copy to clipboard failed:",
|
|
28073
|
+
} catch (Y) {
|
|
28074
|
+
console.warn("Copy to clipboard failed:", Y);
|
|
28047
28075
|
} finally {
|
|
28048
28076
|
document.body.removeChild(G);
|
|
28049
28077
|
}
|
|
28050
28078
|
} catch (G) {
|
|
28051
28079
|
console.warn("Copy to clipboard failed:", G);
|
|
28052
28080
|
}
|
|
28053
|
-
}, K = (
|
|
28081
|
+
}, K = (L) => L.children.length === 0 ? L : K(L.children[L.children.length - 1]);
|
|
28054
28082
|
return E.runs.length ? /* @__PURE__ */ p.jsx("div", { className: `flex flex-col h-full bg-white ${i}`, children: /* @__PURE__ */ p.jsxs("div", { className: "flex flex-col gap-[16px] p-[24px] overflow-y-auto overflow-x-hidden", ref: k, children: [
|
|
28055
28083
|
/* @__PURE__ */ p.jsxs("div", { className: "flex items-center w-full gap-[16px]", children: [
|
|
28056
28084
|
/* @__PURE__ */ p.jsx("div", { className: "text-xs text-gray-400 whitespace-nowrap flex-shrink-0", children: "Session initiated" }),
|
|
@@ -28122,7 +28150,7 @@ const MU = vs(({
|
|
|
28122
28150
|
"select",
|
|
28123
28151
|
{
|
|
28124
28152
|
value: m,
|
|
28125
|
-
onChange: (
|
|
28153
|
+
onChange: (L) => b(L.target.value),
|
|
28126
28154
|
className: "text-xs px-2 py-1 bg-white border border-gray-300 rounded focus:outline-none focus:ring-1 focus:ring-blue-500",
|
|
28127
28155
|
title: "Control auto-expansion behavior during live updates",
|
|
28128
28156
|
children: [
|
|
@@ -28134,7 +28162,7 @@ const MU = vs(({
|
|
|
28134
28162
|
)
|
|
28135
28163
|
] })
|
|
28136
28164
|
] }),
|
|
28137
|
-
E.runs.map((
|
|
28165
|
+
E.runs.map((L) => /* @__PURE__ */ p.jsxs("div", { className: "flex flex-col gap-1", children: [
|
|
28138
28166
|
/* @__PURE__ */ p.jsxs("div", { className: "rounded-[8px] border border-gray-300 bg-white overflow-hidden", children: [
|
|
28139
28167
|
/* @__PURE__ */ p.jsx("div", { className: "flex flex-col w-full", children: /* @__PURE__ */ p.jsxs("div", { className: "flex items-center gap-2 p-[8px] bg-gray-50", children: [
|
|
28140
28168
|
/* @__PURE__ */ p.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", className: "flex-shrink-0", children: /* @__PURE__ */ p.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.8277 1.33398C11.3643 1.33398 11.8072 1.33396 12.168 1.36343C12.5428 1.39405 12.8872 1.45978 13.2108 1.62463C13.7125 1.8803 14.1205 2.28825 14.3762 2.79001C14.541 3.11356 14.6067 3.45803 14.6374 3.83276C14.6668 4.19356 14.6668 4.63646 14.6668 5.1731V9.0235C14.6668 9.47003 14.6668 9.83861 14.6462 10.1404C14.6249 10.4532 14.5792 10.7426 14.4638 11.0211C14.1932 11.6746 13.674 12.1937 13.0206 12.4643C12.7421 12.5797 12.4527 12.6254 12.1399 12.6467C11.8381 12.6673 11.4695 12.6673 11.023 12.6673H11.0002C10.6424 12.6673 10.5714 12.6715 10.5136 12.6852C10.4129 12.7089 10.3191 12.7558 10.2397 12.8221C10.1941 12.8602 10.1481 12.9145 9.9335 13.2007L8.94888 14.5135C8.88665 14.5965 8.81628 14.6904 8.74857 14.7657C8.6739 14.8487 8.54979 14.971 8.36264 15.0438C8.1295 15.1344 7.87083 15.1344 7.6377 15.0438C7.45054 14.971 7.32641 14.8487 7.25174 14.7657C7.18403 14.6904 7.11368 14.5965 7.05145 14.5135L6.06683 13.2007C5.85221 12.9145 5.80624 12.8602 5.76065 12.8221C5.68119 12.7558 5.58739 12.7089 5.48666 12.6852C5.42887 12.6715 5.35786 12.6673 5.00015 12.6673H4.9773C4.53078 12.6673 4.16221 12.6673 3.86047 12.6467C3.54762 12.6254 3.25822 12.5797 2.97968 12.4643C2.32627 12.1937 1.80712 11.6746 1.53647 11.0211C1.42109 10.7426 1.37541 10.4532 1.35407 10.1404C1.33348 9.83861 1.33349 9.47003 1.3335 9.0235V5.17313C1.33349 4.63648 1.33347 4.19356 1.36295 3.83276C1.39356 3.45803 1.45929 3.11356 1.62415 2.79001C1.87981 2.28825 2.28776 1.8803 2.78952 1.62463C3.11308 1.45978 3.45755 1.39405 3.83228 1.36343C4.19307 1.33396 4.63599 1.33398 5.17264 1.33398H10.8277ZM10.4715 4.52924C10.2112 4.2689 9.78906 4.26889 9.52872 4.52924L6.66681 7.39114V5.6673C6.6668 5.29912 6.36834 5.00064 6.00015 5.00064C5.63197 5.00064 5.33351 5.29912 5.3335 5.6673V9.00064C5.3335 9.17745 5.40373 9.34702 5.52875 9.47205C5.65377 9.59707 5.82334 9.6673 6.00015 9.6673H9.3335L9.35068 9.66708C9.71092 9.65796 10.0002 9.36308 10.0002 9.00064C10.0001 8.63821 9.71092 8.34332 9.35068 8.3342L9.3335 8.33398H7.60962L10.4715 5.47205C10.7319 5.2117 10.7319 4.78958 10.4715 4.52924Z", fill: "#079455" }) }),
|
|
@@ -28142,20 +28170,20 @@ const MU = vs(({
|
|
|
28142
28170
|
"div",
|
|
28143
28171
|
{
|
|
28144
28172
|
className: "flex-1 cursor-pointer select-none",
|
|
28145
|
-
onClick: () => q(
|
|
28146
|
-
title: f.has(
|
|
28147
|
-
children: /* @__PURE__ */ p.jsx("span", { className: "text-xs text-gray-900 truncate", children:
|
|
28173
|
+
onClick: () => q(L.runId),
|
|
28174
|
+
title: f.has(L.runId) ? "Collapse run" : "Expand run",
|
|
28175
|
+
children: /* @__PURE__ */ p.jsx("span", { className: "text-xs text-gray-900 truncate", children: L.userInput || `Run ${L.runId}` })
|
|
28148
28176
|
}
|
|
28149
28177
|
),
|
|
28150
28178
|
/* @__PURE__ */ p.jsx(
|
|
28151
28179
|
"button",
|
|
28152
28180
|
{
|
|
28153
28181
|
onClick: (G) => {
|
|
28154
|
-
G.stopPropagation(), D(
|
|
28182
|
+
G.stopPropagation(), D(L.runId);
|
|
28155
28183
|
},
|
|
28156
28184
|
className: "p-1 hover:bg-gray-200 rounded transition-colors flex-shrink-0",
|
|
28157
|
-
title: O.has(
|
|
28158
|
-
children: O.has(
|
|
28185
|
+
title: O.has(L.runId) ? "Hide node details" : "Show node details",
|
|
28186
|
+
children: O.has(L.runId) ? (
|
|
28159
28187
|
// Detail view enabled - arrows pointing outward (expanded)
|
|
28160
28188
|
/* @__PURE__ */ p.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "8", height: "12", viewBox: "0 0 8 12", fill: "none", children: /* @__PURE__ */ p.jsx("path", { d: "M0.666992 11.3327L4.00033 7.99935L7.33366 11.3327M0.666992 0.666016L4.00033 3.99935L7.33366 0.666016", stroke: "#98A2B3", strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" }) })
|
|
28161
28189
|
) : (
|
|
@@ -28168,15 +28196,15 @@ const MU = vs(({
|
|
|
28168
28196
|
"button",
|
|
28169
28197
|
{
|
|
28170
28198
|
onClick: (G) => {
|
|
28171
|
-
G.stopPropagation(), q(
|
|
28199
|
+
G.stopPropagation(), q(L.runId);
|
|
28172
28200
|
},
|
|
28173
28201
|
className: "p-1 hover:bg-gray-200 rounded transition-colors flex-shrink-0",
|
|
28174
|
-
title: f.has(
|
|
28175
|
-
children: /* @__PURE__ */ p.jsx(Er, { className: `w-[16px] h-[16px] text-gray-400 transition-transform ${f.has(
|
|
28202
|
+
title: f.has(L.runId) ? "Collapse run" : "Expand run",
|
|
28203
|
+
children: /* @__PURE__ */ p.jsx(Er, { className: `w-[16px] h-[16px] text-gray-400 transition-transform ${f.has(L.runId) ? "rotate-180" : ""}` })
|
|
28176
28204
|
}
|
|
28177
28205
|
)
|
|
28178
28206
|
] }) }),
|
|
28179
|
-
f.has(
|
|
28207
|
+
f.has(L.runId) && /* @__PURE__ */ p.jsx("div", { className: "bg-white w-full flex flex-col", children: L.rootNodes && L.rootNodes.map((G) => /* @__PURE__ */ p.jsx("div", { className: "w-full", children: /* @__PURE__ */ p.jsx(
|
|
28180
28208
|
rb,
|
|
28181
28209
|
{
|
|
28182
28210
|
node: C(G),
|
|
@@ -28184,29 +28212,29 @@ const MU = vs(({
|
|
|
28184
28212
|
isExpanded: s.has(G.id),
|
|
28185
28213
|
onNodeClick: z,
|
|
28186
28214
|
selectedNodeIds: c,
|
|
28187
|
-
showDetailView: O.has(
|
|
28215
|
+
showDetailView: O.has(L.runId)
|
|
28188
28216
|
}
|
|
28189
28217
|
) }, G.id)) }),
|
|
28190
|
-
|
|
28218
|
+
L.finalOutput && /* @__PURE__ */ p.jsxs("div", { className: "p-[8px] bg-gray-50 flex items-center gap-[8px] w-full border-t border-gray-200", children: [
|
|
28191
28219
|
/* @__PURE__ */ p.jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", className: "flex-shrink-0", children: /* @__PURE__ */ p.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.8277 1.33398C11.3643 1.33398 11.8072 1.33396 12.168 1.36343C12.5428 1.39405 12.8872 1.45978 13.2108 1.62463C13.7125 1.8803 14.1205 2.28825 14.3762 2.79001C14.541 3.11356 14.6067 3.45803 14.6374 3.83276C14.6668 4.19356 14.6668 4.63646 14.6668 5.1731V9.0235C14.6668 9.47003 14.6668 9.83861 14.6462 10.1404C14.6249 10.4532 14.5792 10.7426 14.4638 11.0211C14.1932 11.6746 13.674 12.1937 13.0206 12.4643C12.7421 12.5797 12.4527 12.6254 12.1399 12.6467C11.8381 12.6673 11.4695 12.6673 11.023 12.6673H11.0002C10.6424 12.6673 10.5714 12.6715 10.5136 12.6852C10.4129 12.7089 10.3191 12.7558 10.2397 12.8221C10.1941 12.8602 10.1481 12.9145 9.9335 13.2007L8.94888 14.5135C8.88665 14.5965 8.81628 14.6904 8.74857 14.7657C8.6739 14.8487 8.54979 14.971 8.36264 15.0438C8.1295 15.1344 7.87083 15.1344 7.6377 15.0438C7.45054 14.971 7.32641 14.8487 7.25174 14.7657C7.18403 14.6904 7.11368 14.5965 7.05145 14.5135L6.06683 13.2007C5.85221 12.9145 5.80624 12.8602 5.76065 12.8221C5.68119 12.7558 5.58739 12.7089 5.48666 12.6852C5.42887 12.6715 5.35786 12.6673 5.00015 12.6673H4.9773C4.53078 12.6673 4.16221 12.6673 3.86047 12.6467C3.54762 12.6254 3.25822 12.5797 2.97968 12.4643C2.32627 12.1937 1.80712 11.6746 1.53647 11.0211C1.42109 10.7426 1.37541 10.4532 1.35407 10.1404C1.33348 9.83861 1.33349 9.47003 1.3335 9.0235V5.17313C1.33349 4.63648 1.33347 4.19356 1.36295 3.83276C1.39356 3.45803 1.45929 3.11356 1.62415 2.79001C1.87981 2.28825 2.28776 1.8803 2.78952 1.62463C3.11308 1.45978 3.45755 1.39405 3.83228 1.36343C4.19307 1.33396 4.63599 1.33398 5.17264 1.33398H10.8277ZM6.66653 4.33398C6.29835 4.334 5.99988 4.63246 5.99988 5.00064C5.99988 5.36882 6.29835 5.66729 6.66653 5.6673H8.39041L5.52847 8.52924C5.26813 8.78958 5.26813 9.2117 5.52847 9.47205C5.78882 9.73239 6.21093 9.73239 6.47128 9.47205L9.33322 6.61011V8.33398C9.33323 8.70217 9.6317 9.00064 9.99988 9.00064C10.3681 9.00064 10.6665 8.70217 10.6665 8.33398V5.00064C10.6665 4.63821 10.3773 4.34333 10.0171 4.3342L9.99988 4.33398H6.66653Z", fill: "#155EEF" }) }),
|
|
28192
|
-
/* @__PURE__ */ p.jsx("span", { className: "flex-1 text-xs text-gray-900 truncate", title:
|
|
28220
|
+
/* @__PURE__ */ p.jsx("span", { className: "flex-1 text-xs text-gray-900 truncate", title: L.finalOutput, children: L.finalOutput }),
|
|
28193
28221
|
/* @__PURE__ */ p.jsxs("div", { className: "flex items-center gap-[8px] flex-shrink-0", children: [
|
|
28194
|
-
|
|
28222
|
+
L.duration && /* @__PURE__ */ p.jsxs("div", { className: "flex items-center gap-[4px]", children: [
|
|
28195
28223
|
/* @__PURE__ */ p.jsx(ov, { className: "w-[12px] h-[12px] text-gray-400" }),
|
|
28196
|
-
/* @__PURE__ */ p.jsx("span", { className: "text-[10px] text-gray-500 whitespace-nowrap", children: L
|
|
28224
|
+
/* @__PURE__ */ p.jsx("span", { className: "text-[10px] text-gray-500 whitespace-nowrap", children: B(L.duration) })
|
|
28197
28225
|
] }),
|
|
28198
|
-
|
|
28226
|
+
L.totalTokens && /* @__PURE__ */ p.jsx("span", { className: "text-[10px] text-gray-500 whitespace-nowrap", children: U(L.totalTokens) })
|
|
28199
28227
|
] })
|
|
28200
28228
|
] })
|
|
28201
28229
|
] }),
|
|
28202
28230
|
/* @__PURE__ */ p.jsxs("div", { className: "flex items-center justify-end gap-2 py-1", children: [
|
|
28203
|
-
/* @__PURE__ */ p.jsx("span", { className: "text-xs text-gray-400", children:
|
|
28231
|
+
/* @__PURE__ */ p.jsx("span", { className: "text-xs text-gray-400", children: L.runId }),
|
|
28204
28232
|
/* @__PURE__ */ p.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
28205
28233
|
/* @__PURE__ */ p.jsx(
|
|
28206
28234
|
"button",
|
|
28207
28235
|
{
|
|
28208
28236
|
className: "p-1 hover:bg-gray-100 rounded transition-colors",
|
|
28209
|
-
onClick: () => W(
|
|
28237
|
+
onClick: () => W(L.runId),
|
|
28210
28238
|
title: "Copy run ID",
|
|
28211
28239
|
children: /* @__PURE__ */ p.jsx(qa, { className: "w-3 h-3 text-gray-400" })
|
|
28212
28240
|
}
|
|
@@ -28221,7 +28249,7 @@ const MU = vs(({
|
|
|
28221
28249
|
)
|
|
28222
28250
|
] })
|
|
28223
28251
|
] })
|
|
28224
|
-
] },
|
|
28252
|
+
] }, L.runId))
|
|
28225
28253
|
] }) }) : /* @__PURE__ */ p.jsx("div", { className: `flex flex-col h-full ${i}`, children: /* @__PURE__ */ p.jsx("div", { className: "flex items-center justify-center h-full", children: /* @__PURE__ */ p.jsx("p", { className: "text-gray-500 text-sm", children: "No execution events to display" }) }) });
|
|
28226
28254
|
});
|
|
28227
28255
|
MU.displayName = "DebugPanel";
|