@tangle-network/sandbox-ui 2.0.21 → 2.0.22
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/README.md +17 -0
- package/dist/{record-CnxPRyxC.js → AgentTree-KO1TJXBq.js} +194 -81
- package/dist/{WorkflowGraph-CADReIDl.js → WorkflowGraph-B8cRtVaw.js} +2 -2
- package/dist/globals.css +5910 -240
- package/dist/{index-DxMX-DlX.d.ts → index-BoKSR0s9.d.ts} +1 -1
- package/dist/{index-1qlc9-S2.d.ts → index-gXcuwPOX.d.ts} +5 -6
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -2
- package/dist/record-BGcR48YY.js +47 -0
- package/dist/record.d.ts +66 -0
- package/dist/record.js +2329 -0
- package/dist/report-viewer.js +554 -0
- package/dist/run/record.d.ts +2 -2
- package/dist/run/record.js +3 -2
- package/dist/run.d.ts +3 -3
- package/dist/run.js +3 -2
- package/dist/runtime-viewer/{AgentGraphCanvas-B74GN1o6-DC3EH_ss.js → AgentGraphCanvas-DDvaU9Rg-DlNZxJ20.js} +187 -168
- package/dist/runtime-viewer/{latest-events-iiWwpIck-BTK0vSlR.js → latest-events-CabhXynX-Dp_vs0Px.js} +705 -691
- package/dist/runtime-viewer/sandbox-ui-CUj4Q1P_.css +2 -0
- package/dist/styles.css +5911 -241
- package/dist/tailwind.css +5677 -5
- package/dist/tokens.css +7 -1
- package/dist/workflows.js +1 -1
- package/dist/workspace-viewer.js +9096 -9152
- package/package.json +26 -12
- package/dist/runtime-viewer/sandbox-ui-z5RGk327.css +0 -2
|
@@ -166,7 +166,7 @@ var n = /* @__PURE__ */ t(((e) => {
|
|
|
166
166
|
n === null ? t.types = [e] : n.indexOf(e) === -1 && n.push(e);
|
|
167
167
|
} else te(ne.bind(null, e));
|
|
168
168
|
}
|
|
169
|
-
var
|
|
169
|
+
var L = {
|
|
170
170
|
map: P,
|
|
171
171
|
forEach: function(e, t, n) {
|
|
172
172
|
P(e, function() {
|
|
@@ -189,7 +189,7 @@ var n = /* @__PURE__ */ t(((e) => {
|
|
|
189
189
|
return e;
|
|
190
190
|
}
|
|
191
191
|
};
|
|
192
|
-
e.Activity = f, e.Children =
|
|
192
|
+
e.Activity = f, e.Children = L, e.Component = y, e.Fragment = r, e.Profiler = a, e.PureComponent = x, e.StrictMode = i, e.Suspense = l, e.ViewTransition = p, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = T, e.__COMPILER_RUNTIME = {
|
|
193
193
|
__proto__: null,
|
|
194
194
|
c: function(e) {
|
|
195
195
|
return T.H.useMemoCache(e);
|
|
@@ -455,105 +455,137 @@ var n = /* @__PURE__ */ t(((e) => {
|
|
|
455
455
|
function u(e) {
|
|
456
456
|
if (e.length && !e.some((e) => l(e) === void 0)) return l(e.reduce((e, t) => e + t, 0));
|
|
457
457
|
}
|
|
458
|
-
|
|
459
|
-
|
|
458
|
+
function d(e) {
|
|
459
|
+
if (e >= 864e5) {
|
|
460
|
+
let t = Math.floor(e / 864e5), n = Math.floor(e % 864e5 / 36e5);
|
|
461
|
+
return `${t}d${n ? ` ${n}h` : ""}`;
|
|
462
|
+
}
|
|
463
|
+
let t = e / 1e3;
|
|
464
|
+
return t < 60 ? `${Math.round(t)} s` : t < 3600 ? `${(t / 60).toFixed(1)} min` : `${(t / 3600).toFixed(1)} h`;
|
|
465
|
+
}
|
|
466
|
+
var f = (e) => e == null || !Number.isFinite(e) ? "—" : new Intl.NumberFormat("en-US", {
|
|
467
|
+
notation: "compact",
|
|
468
|
+
maximumFractionDigits: 1
|
|
469
|
+
}).format(e);
|
|
460
470
|
function p(e) {
|
|
471
|
+
if (!Number.isFinite(e) || e < 0) return "—";
|
|
472
|
+
let t = e < 1e4 ? 100 : e < 36e5 ? 1e3 : 6e4;
|
|
473
|
+
return e >= 864e5 ? d(e) : e < 1e3 ? `${Math.round(e)}ms` : g(Math.round(e / t) * t);
|
|
474
|
+
}
|
|
475
|
+
function m(e) {
|
|
476
|
+
return c(e) === void 0 || e < 0 ? "—" : e === 0 ? "$0.00" : e < .01 ? `$${e.toPrecision(1)}` : `$${e.toFixed(2)}`;
|
|
477
|
+
}
|
|
478
|
+
function h(e) {
|
|
479
|
+
return l(e) === void 0 ? "—" : f(e);
|
|
480
|
+
}
|
|
481
|
+
function g(e) {
|
|
482
|
+
if (!Number.isFinite(e) || e < 0) return "—";
|
|
483
|
+
let t = Math.round(e) / 1e3, n = Math.floor(t / 3600), r = Math.floor(t % 3600 / 60), i = Number((t % 60).toFixed(3));
|
|
484
|
+
return [
|
|
485
|
+
n ? `${n}h` : "",
|
|
486
|
+
r ? `${r}m` : "",
|
|
487
|
+
i ? `${i}s` : ""
|
|
488
|
+
].filter(Boolean).join(" ") || "0s";
|
|
489
|
+
}
|
|
490
|
+
// node_modules/.pnpm/@tangle-network+charts@3.0.3_@tangle-network+brand@1.31.3_react@19.3.1__@xyflow+react@1_0426ef703f5a4daff255264764f45251/node_modules/@tangle-network/charts/dist/run-ui-state-D9bqv7wq.js
|
|
491
|
+
var _ = s(), v = /* @__PURE__ */ e(r(), 1);
|
|
492
|
+
function y(e) {
|
|
461
493
|
var t, n, r = "";
|
|
462
494
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
463
495
|
else if (typeof e == "object") {
|
|
464
496
|
if (Array.isArray(e)) {
|
|
465
497
|
var i = e.length;
|
|
466
|
-
for (t = 0; t < i; t++) e[t] && (n =
|
|
498
|
+
for (t = 0; t < i; t++) e[t] && (n = y(e[t])) && (r && (r += " "), r += n);
|
|
467
499
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
468
500
|
}
|
|
469
501
|
return r;
|
|
470
502
|
}
|
|
471
|
-
function
|
|
472
|
-
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t =
|
|
503
|
+
function b() {
|
|
504
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = y(e)) && (r && (r += " "), r += t);
|
|
473
505
|
return r;
|
|
474
506
|
}
|
|
475
|
-
var
|
|
507
|
+
var x = (e, t) => {
|
|
476
508
|
let n = Array(e.length + t.length);
|
|
477
509
|
for (let t = 0; t < e.length; t++) n[t] = e[t];
|
|
478
510
|
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
|
|
479
511
|
return n;
|
|
480
|
-
},
|
|
512
|
+
}, S = (e, t) => ({
|
|
481
513
|
classGroupId: e,
|
|
482
514
|
validator: t
|
|
483
|
-
}),
|
|
515
|
+
}), C = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
484
516
|
nextPart: e,
|
|
485
517
|
validators: t,
|
|
486
518
|
classGroupId: n
|
|
487
|
-
}),
|
|
488
|
-
let t =
|
|
519
|
+
}), w = "-", T = [], E = "arbitrary..", D = (e) => {
|
|
520
|
+
let t = ee(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
489
521
|
return {
|
|
490
522
|
getClassGroupId: (e) => {
|
|
491
|
-
if (e.startsWith("[") && e.endsWith("]")) return
|
|
492
|
-
let n = e.split(
|
|
493
|
-
return
|
|
523
|
+
if (e.startsWith("[") && e.endsWith("]")) return k(e);
|
|
524
|
+
let n = e.split(w);
|
|
525
|
+
return O(n, +(n[0] === "" && n.length > 1), t);
|
|
494
526
|
},
|
|
495
527
|
getConflictingClassGroupIds: (e, t) => {
|
|
496
528
|
if (t) {
|
|
497
529
|
let t = r[e], i = n[e];
|
|
498
|
-
return t ? i ?
|
|
530
|
+
return t ? i ? x(i, t) : t : i || T;
|
|
499
531
|
}
|
|
500
|
-
return n[e] ||
|
|
532
|
+
return n[e] || T;
|
|
501
533
|
}
|
|
502
534
|
};
|
|
503
|
-
},
|
|
535
|
+
}, O = (e, t, n) => {
|
|
504
536
|
if (e.length - t === 0) return n.classGroupId;
|
|
505
537
|
let r = e[t], i = n.nextPart.get(r);
|
|
506
538
|
if (i) {
|
|
507
|
-
let n =
|
|
539
|
+
let n = O(e, t + 1, i);
|
|
508
540
|
if (n) return n;
|
|
509
541
|
}
|
|
510
542
|
let a = n.validators;
|
|
511
543
|
if (a === null) return;
|
|
512
|
-
let o = t === 0 ? e.join(
|
|
544
|
+
let o = t === 0 ? e.join(w) : e.slice(t).join(w), s = a.length;
|
|
513
545
|
for (let e = 0; e < s; e++) {
|
|
514
546
|
let t = a[e];
|
|
515
547
|
if (t.validator(o)) return t.classGroupId;
|
|
516
548
|
}
|
|
517
|
-
},
|
|
549
|
+
}, k = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
518
550
|
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
|
|
519
|
-
return r ?
|
|
520
|
-
})(),
|
|
551
|
+
return r ? E + r : void 0;
|
|
552
|
+
})(), ee = (e) => {
|
|
521
553
|
let { theme: t, classGroups: n } = e;
|
|
522
|
-
return
|
|
523
|
-
},
|
|
524
|
-
let n =
|
|
554
|
+
return A(n, t);
|
|
555
|
+
}, A = (e, t) => {
|
|
556
|
+
let n = C();
|
|
525
557
|
for (let r in e) {
|
|
526
558
|
let i = e[r];
|
|
527
|
-
|
|
559
|
+
j(i, n, r, t);
|
|
528
560
|
}
|
|
529
561
|
return n;
|
|
530
|
-
},
|
|
562
|
+
}, j = (e, t, n, r) => {
|
|
531
563
|
let i = e.length;
|
|
532
564
|
for (let a = 0; a < i; a++) {
|
|
533
565
|
let i = e[a];
|
|
534
|
-
|
|
566
|
+
M(i, t, n, r);
|
|
535
567
|
}
|
|
536
|
-
},
|
|
537
|
-
typeof e == "string" ?
|
|
538
|
-
},
|
|
539
|
-
let r = e === "" ? t :
|
|
568
|
+
}, M = (e, t, n, r) => {
|
|
569
|
+
typeof e == "string" ? N(e, t, n) : typeof e == "function" ? P(e, t, n, r) : F(e, t, n, r);
|
|
570
|
+
}, N = (e, t, n) => {
|
|
571
|
+
let r = e === "" ? t : I(t, e);
|
|
540
572
|
r.classGroupId = n;
|
|
541
|
-
},
|
|
542
|
-
|
|
543
|
-
},
|
|
573
|
+
}, P = (e, t, n, r) => {
|
|
574
|
+
te(e) ? j(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(S(n, e)));
|
|
575
|
+
}, F = (e, t, n, r) => {
|
|
544
576
|
let i = Object.entries(e), a = i.length;
|
|
545
577
|
for (let e = 0; e < a; e++) {
|
|
546
578
|
let [a, o] = i[e];
|
|
547
|
-
|
|
579
|
+
j(o, I(t, a), n, r);
|
|
548
580
|
}
|
|
549
|
-
},
|
|
550
|
-
let n = e, r = t.split(
|
|
581
|
+
}, I = (e, t) => {
|
|
582
|
+
let n = e, r = t.split(w), i = r.length;
|
|
551
583
|
for (let e = 0; e < i; e++) {
|
|
552
584
|
let t = r[e], i = n.nextPart.get(t);
|
|
553
|
-
i || (i =
|
|
585
|
+
i || (i = C(), n.nextPart.set(t, i)), n = i;
|
|
554
586
|
}
|
|
555
587
|
return n;
|
|
556
|
-
},
|
|
588
|
+
}, te = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, ne = (e) => {
|
|
557
589
|
if (e < 1) return {
|
|
558
590
|
get: () => void 0,
|
|
559
591
|
set: () => {}
|
|
@@ -571,19 +603,19 @@ var h = (e, t) => {
|
|
|
571
603
|
e in n ? n[e] = t : i(e, t);
|
|
572
604
|
}
|
|
573
605
|
};
|
|
574
|
-
},
|
|
606
|
+
}, L = "!", R = ":", z = [], re = (e, t, n, r, i) => ({
|
|
575
607
|
modifiers: e,
|
|
576
608
|
hasImportantModifier: t,
|
|
577
609
|
baseClassName: n,
|
|
578
610
|
maybePostfixModifierPosition: r,
|
|
579
611
|
isExternal: i
|
|
580
|
-
}),
|
|
612
|
+
}), ie = (e) => {
|
|
581
613
|
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
|
|
582
614
|
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
|
|
583
615
|
for (let s = 0; s < o; s++) {
|
|
584
616
|
let o = e[s];
|
|
585
617
|
if (n === 0 && r === 0) {
|
|
586
|
-
if (o ===
|
|
618
|
+
if (o === R) {
|
|
587
619
|
t.push(e.slice(i, s)), i = s + 1;
|
|
588
620
|
continue;
|
|
589
621
|
}
|
|
@@ -595,13 +627,13 @@ var h = (e, t) => {
|
|
|
595
627
|
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
|
|
596
628
|
}
|
|
597
629
|
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
|
|
598
|
-
s.endsWith(
|
|
630
|
+
s.endsWith(L) ? (c = s.slice(0, -1), l = !0) : s.startsWith(L) && (c = s.slice(1), l = !0);
|
|
599
631
|
let u = a && a > i ? a - i : void 0;
|
|
600
|
-
return
|
|
632
|
+
return re(t, l, c, u);
|
|
601
633
|
};
|
|
602
634
|
if (t) {
|
|
603
|
-
let e = t +
|
|
604
|
-
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) :
|
|
635
|
+
let e = t + R, n = r;
|
|
636
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : re(z, !1, t, void 0, !0);
|
|
605
637
|
}
|
|
606
638
|
if (n) {
|
|
607
639
|
let e = r;
|
|
@@ -611,7 +643,7 @@ var h = (e, t) => {
|
|
|
611
643
|
});
|
|
612
644
|
}
|
|
613
645
|
return r;
|
|
614
|
-
},
|
|
646
|
+
}, B = (e) => {
|
|
615
647
|
let t = /* @__PURE__ */ new Map();
|
|
616
648
|
return e.orderSensitiveModifiers.forEach((e, n) => {
|
|
617
649
|
t.set(e, 1e6 + n);
|
|
@@ -623,18 +655,18 @@ var h = (e, t) => {
|
|
|
623
655
|
}
|
|
624
656
|
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
625
657
|
};
|
|
626
|
-
},
|
|
627
|
-
cache:
|
|
628
|
-
parseClassName:
|
|
629
|
-
sortModifiers:
|
|
630
|
-
postfixLookupClassGroupIds:
|
|
631
|
-
...
|
|
632
|
-
}),
|
|
658
|
+
}, ae = (e) => ({
|
|
659
|
+
cache: ne(e.cacheSize),
|
|
660
|
+
parseClassName: ie(e),
|
|
661
|
+
sortModifiers: B(e),
|
|
662
|
+
postfixLookupClassGroupIds: oe(e),
|
|
663
|
+
...D(e)
|
|
664
|
+
}), oe = (e) => {
|
|
633
665
|
let t = Object.create(null), n = e.postfixLookupClassGroups;
|
|
634
666
|
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
|
|
635
667
|
return t;
|
|
636
|
-
},
|
|
637
|
-
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(
|
|
668
|
+
}, se = /\s+/, ce = (e, t) => {
|
|
669
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(se), l = "";
|
|
638
670
|
for (let e = c.length - 1; e >= 0; --e) {
|
|
639
671
|
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
|
|
640
672
|
if (u) {
|
|
@@ -654,7 +686,7 @@ var h = (e, t) => {
|
|
|
654
686
|
}
|
|
655
687
|
h = !1;
|
|
656
688
|
}
|
|
657
|
-
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ +
|
|
689
|
+
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + L : _, y = v + g;
|
|
658
690
|
if (s.indexOf(y) > -1) continue;
|
|
659
691
|
s.push(y);
|
|
660
692
|
let b = i(g, h);
|
|
@@ -665,34 +697,34 @@ var h = (e, t) => {
|
|
|
665
697
|
l = t + (l.length > 0 ? " " + l : l);
|
|
666
698
|
}
|
|
667
699
|
return l;
|
|
668
|
-
},
|
|
700
|
+
}, le = (...e) => {
|
|
669
701
|
let t = 0, n, r, i = "";
|
|
670
|
-
for (; t < e.length;) (n = e[t++]) && (r =
|
|
702
|
+
for (; t < e.length;) (n = e[t++]) && (r = ue(n)) && (i && (i += " "), i += r);
|
|
671
703
|
return i;
|
|
672
|
-
},
|
|
704
|
+
}, ue = (e) => {
|
|
673
705
|
if (typeof e == "string") return e;
|
|
674
706
|
let t, n = "";
|
|
675
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
707
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = ue(e[r])) && (n && (n += " "), n += t);
|
|
676
708
|
return n;
|
|
677
|
-
},
|
|
678
|
-
let n, r, i, a, o = (o) => (n =
|
|
709
|
+
}, de = (e, ...t) => {
|
|
710
|
+
let n, r, i, a, o = (o) => (n = ae(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
679
711
|
let t = r(e);
|
|
680
712
|
if (t) return t;
|
|
681
|
-
let a =
|
|
713
|
+
let a = ce(e, n);
|
|
682
714
|
return i(e, a), a;
|
|
683
715
|
};
|
|
684
|
-
return a = o, (...e) => a(
|
|
685
|
-
},
|
|
686
|
-
let t = (t) => t[e] ||
|
|
716
|
+
return a = o, (...e) => a(le(...e));
|
|
717
|
+
}, fe = [], V = (e) => {
|
|
718
|
+
let t = (t) => t[e] || fe;
|
|
687
719
|
return t.isThemeGetter = !0, t.themeKey = e, t;
|
|
688
|
-
},
|
|
689
|
-
let r =
|
|
720
|
+
}, pe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, me = /^\((?:(\w[\w-]*):)?(.+)\)$/i, he = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ge = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, _e = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ve = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, ye = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, be = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => he.test(e), U = (e) => !!e && !Number.isNaN(Number(e)), W = (e) => !!e && Number.isInteger(Number(e)), xe = (e) => e.endsWith("%") && U(e.slice(0, -1)), G = (e) => ge.test(e), Se = () => !0, Ce = (e) => _e.test(e) && !ve.test(e), we = () => !1, Te = (e) => ye.test(e), Ee = (e) => be.test(e), De = (e) => !K(e) && !J(e), Oe = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), ke = (e) => Y(e, Ge, we), K = (e) => pe.test(e), q = (e) => Y(e, Ke, Ce), Ae = (e) => Y(e, qe, U), je = (e) => Y(e, Ye, Se), Me = (e) => Y(e, Je, we), Ne = (e) => Y(e, Ue, we), Pe = (e) => Y(e, We, Ee), Fe = (e) => Y(e, Xe, Te), J = (e) => me.test(e), Ie = (e) => X(e, Ke), Le = (e) => X(e, Je), Re = (e) => X(e, Ue), ze = (e) => X(e, Ge), Be = (e) => X(e, We), Ve = (e) => X(e, Xe, !0), He = (e) => X(e, Ye, !0), Y = (e, t, n) => {
|
|
721
|
+
let r = pe.exec(e);
|
|
690
722
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
691
|
-
},
|
|
692
|
-
let r =
|
|
723
|
+
}, X = (e, t, n = !1) => {
|
|
724
|
+
let r = me.exec(e);
|
|
693
725
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
694
|
-
},
|
|
695
|
-
let e =
|
|
726
|
+
}, Ue = (e) => e === "position" || e === "percentage", We = (e) => e === "image" || e === "url", Ge = (e) => e === "length" || e === "size" || e === "bg-size", Ke = (e) => e === "length", qe = (e) => e === "number", Je = (e) => e === "family-name", Ye = (e) => e === "number" || e === "weight", Xe = (e) => e === "shadow", Ze = /*#__PURE__*/ de(() => {
|
|
727
|
+
let e = V("color"), t = V("font"), n = V("text"), r = V("font-weight"), i = V("tracking"), a = V("leading"), o = V("breakpoint"), s = V("container"), c = V("spacing"), l = V("radius"), u = V("shadow"), d = V("inset-shadow"), f = V("text-shadow"), p = V("drop-shadow"), m = V("blur"), h = V("perspective"), g = V("aspect"), _ = V("ease"), v = V("animate"), y = () => [
|
|
696
728
|
"auto",
|
|
697
729
|
"avoid",
|
|
698
730
|
"all",
|
|
@@ -717,8 +749,8 @@ var h = (e, t) => {
|
|
|
717
749
|
"left-bottom"
|
|
718
750
|
], x = () => [
|
|
719
751
|
...b(),
|
|
720
|
-
|
|
721
|
-
|
|
752
|
+
J,
|
|
753
|
+
K
|
|
722
754
|
], S = () => [
|
|
723
755
|
"auto",
|
|
724
756
|
"hidden",
|
|
@@ -730,43 +762,43 @@ var h = (e, t) => {
|
|
|
730
762
|
"contain",
|
|
731
763
|
"none"
|
|
732
764
|
], w = () => [
|
|
733
|
-
|
|
734
|
-
|
|
765
|
+
J,
|
|
766
|
+
K,
|
|
735
767
|
c
|
|
736
768
|
], T = () => [
|
|
737
|
-
|
|
769
|
+
H,
|
|
738
770
|
"full",
|
|
739
771
|
"auto",
|
|
740
772
|
...w()
|
|
741
773
|
], E = () => [
|
|
742
|
-
|
|
774
|
+
W,
|
|
743
775
|
"none",
|
|
744
776
|
"subgrid",
|
|
745
|
-
|
|
746
|
-
|
|
777
|
+
J,
|
|
778
|
+
K
|
|
747
779
|
], D = () => [
|
|
748
780
|
"auto",
|
|
749
781
|
{ span: [
|
|
750
782
|
"full",
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
783
|
+
W,
|
|
784
|
+
J,
|
|
785
|
+
K
|
|
754
786
|
] },
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
787
|
+
W,
|
|
788
|
+
J,
|
|
789
|
+
K
|
|
758
790
|
], O = () => [
|
|
759
|
-
|
|
791
|
+
W,
|
|
760
792
|
"auto",
|
|
761
|
-
|
|
762
|
-
|
|
793
|
+
J,
|
|
794
|
+
K
|
|
763
795
|
], k = () => [
|
|
764
796
|
"auto",
|
|
765
797
|
"min",
|
|
766
798
|
"max",
|
|
767
799
|
"fr",
|
|
768
|
-
|
|
769
|
-
|
|
800
|
+
J,
|
|
801
|
+
K
|
|
770
802
|
], ee = () => [
|
|
771
803
|
"start",
|
|
772
804
|
"end",
|
|
@@ -786,7 +818,7 @@ var h = (e, t) => {
|
|
|
786
818
|
"center-safe",
|
|
787
819
|
"end-safe"
|
|
788
820
|
], j = () => ["auto", ...w()], M = () => [
|
|
789
|
-
|
|
821
|
+
H,
|
|
790
822
|
"auto",
|
|
791
823
|
"full",
|
|
792
824
|
"dvw",
|
|
@@ -801,7 +833,7 @@ var h = (e, t) => {
|
|
|
801
833
|
...w()
|
|
802
834
|
], N = () => [
|
|
803
835
|
s,
|
|
804
|
-
|
|
836
|
+
H,
|
|
805
837
|
"screen",
|
|
806
838
|
"full",
|
|
807
839
|
"dvw",
|
|
@@ -812,7 +844,7 @@ var h = (e, t) => {
|
|
|
812
844
|
"fit",
|
|
813
845
|
...w()
|
|
814
846
|
], P = () => [
|
|
815
|
-
|
|
847
|
+
H,
|
|
816
848
|
"screen",
|
|
817
849
|
"full",
|
|
818
850
|
"lh",
|
|
@@ -825,13 +857,13 @@ var h = (e, t) => {
|
|
|
825
857
|
...w()
|
|
826
858
|
], F = () => [
|
|
827
859
|
e,
|
|
828
|
-
|
|
829
|
-
|
|
860
|
+
J,
|
|
861
|
+
K
|
|
830
862
|
], I = () => [
|
|
831
863
|
...b(),
|
|
864
|
+
Re,
|
|
832
865
|
Ne,
|
|
833
|
-
|
|
834
|
-
{ position: [q, G] }
|
|
866
|
+
{ position: [J, K] }
|
|
835
867
|
], te = () => ["no-repeat", { repeat: [
|
|
836
868
|
"",
|
|
837
869
|
"x",
|
|
@@ -842,31 +874,31 @@ var h = (e, t) => {
|
|
|
842
874
|
"auto",
|
|
843
875
|
"cover",
|
|
844
876
|
"contain",
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
{ size: [
|
|
848
|
-
], re = () => [
|
|
849
|
-
ge,
|
|
850
|
-
je,
|
|
851
|
-
K
|
|
877
|
+
ze,
|
|
878
|
+
ke,
|
|
879
|
+
{ size: [J, K] }
|
|
852
880
|
], L = () => [
|
|
881
|
+
xe,
|
|
882
|
+
Ie,
|
|
883
|
+
q
|
|
884
|
+
], R = () => [
|
|
853
885
|
"",
|
|
854
886
|
"none",
|
|
855
887
|
"full",
|
|
856
888
|
l,
|
|
857
|
-
|
|
858
|
-
G
|
|
859
|
-
], R = () => [
|
|
860
|
-
"",
|
|
861
|
-
H,
|
|
862
|
-
je,
|
|
889
|
+
J,
|
|
863
890
|
K
|
|
864
|
-
],
|
|
891
|
+
], z = () => [
|
|
892
|
+
"",
|
|
893
|
+
U,
|
|
894
|
+
Ie,
|
|
895
|
+
q
|
|
896
|
+
], re = () => [
|
|
865
897
|
"solid",
|
|
866
898
|
"dashed",
|
|
867
899
|
"dotted",
|
|
868
900
|
"double"
|
|
869
|
-
],
|
|
901
|
+
], ie = () => [
|
|
870
902
|
"normal",
|
|
871
903
|
"multiply",
|
|
872
904
|
"screen",
|
|
@@ -883,33 +915,33 @@ var h = (e, t) => {
|
|
|
883
915
|
"saturation",
|
|
884
916
|
"color",
|
|
885
917
|
"luminosity"
|
|
886
|
-
],
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
],
|
|
918
|
+
], B = () => [
|
|
919
|
+
U,
|
|
920
|
+
xe,
|
|
921
|
+
Re,
|
|
922
|
+
Ne
|
|
923
|
+
], ae = () => [
|
|
892
924
|
"",
|
|
893
925
|
"none",
|
|
894
926
|
m,
|
|
895
|
-
|
|
896
|
-
|
|
927
|
+
J,
|
|
928
|
+
K
|
|
929
|
+
], oe = () => [
|
|
930
|
+
"none",
|
|
931
|
+
U,
|
|
932
|
+
J,
|
|
933
|
+
K
|
|
897
934
|
], se = () => [
|
|
898
935
|
"none",
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
936
|
+
U,
|
|
937
|
+
J,
|
|
938
|
+
K
|
|
902
939
|
], ce = () => [
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
G
|
|
940
|
+
U,
|
|
941
|
+
J,
|
|
942
|
+
K
|
|
907
943
|
], le = () => [
|
|
908
944
|
H,
|
|
909
|
-
q,
|
|
910
|
-
G
|
|
911
|
-
], ue = () => [
|
|
912
|
-
V,
|
|
913
945
|
"full",
|
|
914
946
|
...w()
|
|
915
947
|
];
|
|
@@ -923,17 +955,17 @@ var h = (e, t) => {
|
|
|
923
955
|
"bounce"
|
|
924
956
|
],
|
|
925
957
|
aspect: ["video"],
|
|
926
|
-
blur: [
|
|
927
|
-
breakpoint: [
|
|
928
|
-
color: [
|
|
929
|
-
container: [
|
|
930
|
-
"drop-shadow": [
|
|
958
|
+
blur: [G],
|
|
959
|
+
breakpoint: [G],
|
|
960
|
+
color: [Se],
|
|
961
|
+
container: [G],
|
|
962
|
+
"drop-shadow": [G],
|
|
931
963
|
ease: [
|
|
932
964
|
"in",
|
|
933
965
|
"out",
|
|
934
966
|
"in-out"
|
|
935
967
|
],
|
|
936
|
-
font: [
|
|
968
|
+
font: [De],
|
|
937
969
|
"font-weight": [
|
|
938
970
|
"thin",
|
|
939
971
|
"extralight",
|
|
@@ -945,7 +977,7 @@ var h = (e, t) => {
|
|
|
945
977
|
"extrabold",
|
|
946
978
|
"black"
|
|
947
979
|
],
|
|
948
|
-
"inset-shadow": [
|
|
980
|
+
"inset-shadow": [G],
|
|
949
981
|
leading: [
|
|
950
982
|
"none",
|
|
951
983
|
"tight",
|
|
@@ -962,11 +994,11 @@ var h = (e, t) => {
|
|
|
962
994
|
"distant",
|
|
963
995
|
"none"
|
|
964
996
|
],
|
|
965
|
-
radius: [
|
|
966
|
-
shadow: [
|
|
967
|
-
spacing: ["px",
|
|
968
|
-
text: [
|
|
969
|
-
"text-shadow": [
|
|
997
|
+
radius: [G],
|
|
998
|
+
shadow: [G],
|
|
999
|
+
spacing: ["px", U],
|
|
1000
|
+
text: [G],
|
|
1001
|
+
"text-shadow": [G],
|
|
970
1002
|
tracking: [
|
|
971
1003
|
"tighter",
|
|
972
1004
|
"tight",
|
|
@@ -980,9 +1012,9 @@ var h = (e, t) => {
|
|
|
980
1012
|
aspect: [{ aspect: [
|
|
981
1013
|
"auto",
|
|
982
1014
|
"square",
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
1015
|
+
H,
|
|
1016
|
+
K,
|
|
1017
|
+
J,
|
|
986
1018
|
g
|
|
987
1019
|
] }],
|
|
988
1020
|
container: ["container"],
|
|
@@ -990,15 +1022,15 @@ var h = (e, t) => {
|
|
|
990
1022
|
"",
|
|
991
1023
|
"normal",
|
|
992
1024
|
"size",
|
|
993
|
-
|
|
994
|
-
|
|
1025
|
+
J,
|
|
1026
|
+
K
|
|
995
1027
|
] }],
|
|
996
|
-
"container-named": [
|
|
1028
|
+
"container-named": [Oe],
|
|
997
1029
|
columns: [{ columns: [
|
|
998
|
-
|
|
1030
|
+
U,
|
|
999
1031
|
"auto",
|
|
1000
|
-
|
|
1001
|
-
|
|
1032
|
+
K,
|
|
1033
|
+
J,
|
|
1002
1034
|
s
|
|
1003
1035
|
] }],
|
|
1004
1036
|
"break-after": [{ "break-after": y() }],
|
|
@@ -1095,13 +1127,13 @@ var h = (e, t) => {
|
|
|
1095
1127
|
"collapse"
|
|
1096
1128
|
],
|
|
1097
1129
|
z: [{ z: [
|
|
1098
|
-
|
|
1130
|
+
W,
|
|
1099
1131
|
"auto",
|
|
1100
|
-
|
|
1101
|
-
|
|
1132
|
+
J,
|
|
1133
|
+
K
|
|
1102
1134
|
] }],
|
|
1103
1135
|
basis: [{ basis: [
|
|
1104
|
-
|
|
1136
|
+
H,
|
|
1105
1137
|
"full",
|
|
1106
1138
|
"auto",
|
|
1107
1139
|
s,
|
|
@@ -1119,32 +1151,32 @@ var h = (e, t) => {
|
|
|
1119
1151
|
"wrap-reverse"
|
|
1120
1152
|
] }],
|
|
1121
1153
|
flex: [{ flex: [
|
|
1154
|
+
U,
|
|
1122
1155
|
H,
|
|
1123
|
-
V,
|
|
1124
1156
|
"auto",
|
|
1125
1157
|
"initial",
|
|
1126
1158
|
"none",
|
|
1127
|
-
|
|
1159
|
+
K
|
|
1128
1160
|
] }],
|
|
1129
1161
|
grow: [{ grow: [
|
|
1130
1162
|
"",
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1163
|
+
U,
|
|
1164
|
+
J,
|
|
1165
|
+
K
|
|
1134
1166
|
] }],
|
|
1135
1167
|
shrink: [{ shrink: [
|
|
1136
1168
|
"",
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1169
|
+
U,
|
|
1170
|
+
J,
|
|
1171
|
+
K
|
|
1140
1172
|
] }],
|
|
1141
1173
|
order: [{ order: [
|
|
1142
|
-
|
|
1174
|
+
W,
|
|
1143
1175
|
"first",
|
|
1144
1176
|
"last",
|
|
1145
1177
|
"none",
|
|
1146
|
-
|
|
1147
|
-
|
|
1178
|
+
J,
|
|
1179
|
+
K
|
|
1148
1180
|
] }],
|
|
1149
1181
|
"grid-cols": [{ "grid-cols": E() }],
|
|
1150
1182
|
"col-start-end": [{ col: D() }],
|
|
@@ -1251,15 +1283,15 @@ var h = (e, t) => {
|
|
|
1251
1283
|
"font-size": [{ text: [
|
|
1252
1284
|
"base",
|
|
1253
1285
|
n,
|
|
1254
|
-
|
|
1255
|
-
|
|
1286
|
+
Ie,
|
|
1287
|
+
q
|
|
1256
1288
|
] }],
|
|
1257
1289
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
1258
1290
|
"font-style": ["italic", "not-italic"],
|
|
1259
1291
|
"font-weight": [{ font: [
|
|
1260
1292
|
r,
|
|
1261
|
-
|
|
1262
|
-
|
|
1293
|
+
He,
|
|
1294
|
+
je
|
|
1263
1295
|
] }],
|
|
1264
1296
|
"font-stretch": [{ "font-stretch": [
|
|
1265
1297
|
"ultra-condensed",
|
|
@@ -1271,15 +1303,15 @@ var h = (e, t) => {
|
|
|
1271
1303
|
"expanded",
|
|
1272
1304
|
"extra-expanded",
|
|
1273
1305
|
"ultra-expanded",
|
|
1274
|
-
|
|
1275
|
-
|
|
1306
|
+
xe,
|
|
1307
|
+
K
|
|
1276
1308
|
] }],
|
|
1277
1309
|
"font-family": [{ font: [
|
|
1310
|
+
Le,
|
|
1278
1311
|
Me,
|
|
1279
|
-
De,
|
|
1280
1312
|
t
|
|
1281
1313
|
] }],
|
|
1282
|
-
"font-features": [{ "font-features": [
|
|
1314
|
+
"font-features": [{ "font-features": [K] }],
|
|
1283
1315
|
"fvn-normal": ["normal-nums"],
|
|
1284
1316
|
"fvn-ordinal": ["ordinal"],
|
|
1285
1317
|
"fvn-slashed-zero": ["slashed-zero"],
|
|
@@ -1288,14 +1320,14 @@ var h = (e, t) => {
|
|
|
1288
1320
|
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
1289
1321
|
tracking: [{ tracking: [
|
|
1290
1322
|
i,
|
|
1291
|
-
|
|
1292
|
-
|
|
1323
|
+
J,
|
|
1324
|
+
K
|
|
1293
1325
|
] }],
|
|
1294
1326
|
"line-clamp": [{ "line-clamp": [
|
|
1295
|
-
|
|
1327
|
+
U,
|
|
1296
1328
|
"none",
|
|
1297
|
-
|
|
1298
|
-
|
|
1329
|
+
J,
|
|
1330
|
+
Ae
|
|
1299
1331
|
] }],
|
|
1300
1332
|
leading: [{ leading: [
|
|
1301
1333
|
"none",
|
|
@@ -1304,16 +1336,16 @@ var h = (e, t) => {
|
|
|
1304
1336
|
] }],
|
|
1305
1337
|
"list-image": [{ "list-image": [
|
|
1306
1338
|
"none",
|
|
1307
|
-
|
|
1308
|
-
|
|
1339
|
+
J,
|
|
1340
|
+
K
|
|
1309
1341
|
] }],
|
|
1310
1342
|
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
1311
1343
|
"list-style-type": [{ list: [
|
|
1312
1344
|
"disc",
|
|
1313
1345
|
"decimal",
|
|
1314
1346
|
"none",
|
|
1315
|
-
|
|
1316
|
-
|
|
1347
|
+
J,
|
|
1348
|
+
K
|
|
1317
1349
|
] }],
|
|
1318
1350
|
"text-alignment": [{ text: [
|
|
1319
1351
|
"left",
|
|
@@ -1331,20 +1363,20 @@ var h = (e, t) => {
|
|
|
1331
1363
|
"line-through",
|
|
1332
1364
|
"no-underline"
|
|
1333
1365
|
],
|
|
1334
|
-
"text-decoration-style": [{ decoration: [...
|
|
1366
|
+
"text-decoration-style": [{ decoration: [...re(), "wavy"] }],
|
|
1335
1367
|
"text-decoration-thickness": [{ decoration: [
|
|
1336
|
-
|
|
1368
|
+
U,
|
|
1337
1369
|
"from-font",
|
|
1338
1370
|
"auto",
|
|
1339
|
-
|
|
1340
|
-
|
|
1371
|
+
J,
|
|
1372
|
+
q
|
|
1341
1373
|
] }],
|
|
1342
1374
|
"text-decoration-color": [{ decoration: F() }],
|
|
1343
1375
|
"underline-offset": [{ "underline-offset": [
|
|
1344
|
-
|
|
1376
|
+
U,
|
|
1345
1377
|
"auto",
|
|
1346
|
-
|
|
1347
|
-
|
|
1378
|
+
J,
|
|
1379
|
+
K
|
|
1348
1380
|
] }],
|
|
1349
1381
|
"text-transform": [
|
|
1350
1382
|
"uppercase",
|
|
@@ -1365,9 +1397,9 @@ var h = (e, t) => {
|
|
|
1365
1397
|
] }],
|
|
1366
1398
|
indent: [{ indent: w() }],
|
|
1367
1399
|
"tab-size": [{ tab: [
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1400
|
+
W,
|
|
1401
|
+
J,
|
|
1402
|
+
K
|
|
1371
1403
|
] }],
|
|
1372
1404
|
"vertical-align": [{ align: [
|
|
1373
1405
|
"baseline",
|
|
@@ -1378,8 +1410,8 @@ var h = (e, t) => {
|
|
|
1378
1410
|
"text-bottom",
|
|
1379
1411
|
"sub",
|
|
1380
1412
|
"super",
|
|
1381
|
-
|
|
1382
|
-
|
|
1413
|
+
J,
|
|
1414
|
+
K
|
|
1383
1415
|
] }],
|
|
1384
1416
|
whitespace: [{ whitespace: [
|
|
1385
1417
|
"normal",
|
|
@@ -1407,8 +1439,8 @@ var h = (e, t) => {
|
|
|
1407
1439
|
] }],
|
|
1408
1440
|
content: [{ content: [
|
|
1409
1441
|
"none",
|
|
1410
|
-
|
|
1411
|
-
|
|
1442
|
+
J,
|
|
1443
|
+
K
|
|
1412
1444
|
] }],
|
|
1413
1445
|
"bg-attachment": [{ bg: [
|
|
1414
1446
|
"fixed",
|
|
@@ -1443,69 +1475,69 @@ var h = (e, t) => {
|
|
|
1443
1475
|
"l",
|
|
1444
1476
|
"tl"
|
|
1445
1477
|
] },
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1478
|
+
W,
|
|
1479
|
+
J,
|
|
1480
|
+
K
|
|
1449
1481
|
],
|
|
1450
1482
|
radial: [
|
|
1451
1483
|
"",
|
|
1452
|
-
|
|
1453
|
-
|
|
1484
|
+
J,
|
|
1485
|
+
K
|
|
1454
1486
|
],
|
|
1455
1487
|
conic: [
|
|
1456
1488
|
"",
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1489
|
+
W,
|
|
1490
|
+
J,
|
|
1491
|
+
K
|
|
1460
1492
|
]
|
|
1461
1493
|
},
|
|
1462
|
-
|
|
1463
|
-
|
|
1494
|
+
Be,
|
|
1495
|
+
Pe
|
|
1464
1496
|
] }],
|
|
1465
1497
|
"bg-color": [{ bg: F() }],
|
|
1466
|
-
"gradient-from-pos": [{ from:
|
|
1467
|
-
"gradient-via-pos": [{ via:
|
|
1468
|
-
"gradient-to-pos": [{ to:
|
|
1498
|
+
"gradient-from-pos": [{ from: L() }],
|
|
1499
|
+
"gradient-via-pos": [{ via: L() }],
|
|
1500
|
+
"gradient-to-pos": [{ to: L() }],
|
|
1469
1501
|
"gradient-from": [{ from: F() }],
|
|
1470
1502
|
"gradient-via": [{ via: F() }],
|
|
1471
1503
|
"gradient-to": [{ to: F() }],
|
|
1472
|
-
rounded: [{ rounded:
|
|
1473
|
-
"rounded-s": [{ "rounded-s":
|
|
1474
|
-
"rounded-e": [{ "rounded-e":
|
|
1475
|
-
"rounded-t": [{ "rounded-t":
|
|
1476
|
-
"rounded-r": [{ "rounded-r":
|
|
1477
|
-
"rounded-b": [{ "rounded-b":
|
|
1478
|
-
"rounded-l": [{ "rounded-l":
|
|
1479
|
-
"rounded-ss": [{ "rounded-ss":
|
|
1480
|
-
"rounded-se": [{ "rounded-se":
|
|
1481
|
-
"rounded-ee": [{ "rounded-ee":
|
|
1482
|
-
"rounded-es": [{ "rounded-es":
|
|
1483
|
-
"rounded-tl": [{ "rounded-tl":
|
|
1484
|
-
"rounded-tr": [{ "rounded-tr":
|
|
1485
|
-
"rounded-br": [{ "rounded-br":
|
|
1486
|
-
"rounded-bl": [{ "rounded-bl":
|
|
1487
|
-
"border-w": [{ border:
|
|
1488
|
-
"border-w-x": [{ "border-x":
|
|
1489
|
-
"border-w-y": [{ "border-y":
|
|
1490
|
-
"border-w-s": [{ "border-s":
|
|
1491
|
-
"border-w-e": [{ "border-e":
|
|
1492
|
-
"border-w-bs": [{ "border-bs":
|
|
1493
|
-
"border-w-be": [{ "border-be":
|
|
1494
|
-
"border-w-t": [{ "border-t":
|
|
1495
|
-
"border-w-r": [{ "border-r":
|
|
1496
|
-
"border-w-b": [{ "border-b":
|
|
1497
|
-
"border-w-l": [{ "border-l":
|
|
1498
|
-
"divide-x": [{ "divide-x":
|
|
1504
|
+
rounded: [{ rounded: R() }],
|
|
1505
|
+
"rounded-s": [{ "rounded-s": R() }],
|
|
1506
|
+
"rounded-e": [{ "rounded-e": R() }],
|
|
1507
|
+
"rounded-t": [{ "rounded-t": R() }],
|
|
1508
|
+
"rounded-r": [{ "rounded-r": R() }],
|
|
1509
|
+
"rounded-b": [{ "rounded-b": R() }],
|
|
1510
|
+
"rounded-l": [{ "rounded-l": R() }],
|
|
1511
|
+
"rounded-ss": [{ "rounded-ss": R() }],
|
|
1512
|
+
"rounded-se": [{ "rounded-se": R() }],
|
|
1513
|
+
"rounded-ee": [{ "rounded-ee": R() }],
|
|
1514
|
+
"rounded-es": [{ "rounded-es": R() }],
|
|
1515
|
+
"rounded-tl": [{ "rounded-tl": R() }],
|
|
1516
|
+
"rounded-tr": [{ "rounded-tr": R() }],
|
|
1517
|
+
"rounded-br": [{ "rounded-br": R() }],
|
|
1518
|
+
"rounded-bl": [{ "rounded-bl": R() }],
|
|
1519
|
+
"border-w": [{ border: z() }],
|
|
1520
|
+
"border-w-x": [{ "border-x": z() }],
|
|
1521
|
+
"border-w-y": [{ "border-y": z() }],
|
|
1522
|
+
"border-w-s": [{ "border-s": z() }],
|
|
1523
|
+
"border-w-e": [{ "border-e": z() }],
|
|
1524
|
+
"border-w-bs": [{ "border-bs": z() }],
|
|
1525
|
+
"border-w-be": [{ "border-be": z() }],
|
|
1526
|
+
"border-w-t": [{ "border-t": z() }],
|
|
1527
|
+
"border-w-r": [{ "border-r": z() }],
|
|
1528
|
+
"border-w-b": [{ "border-b": z() }],
|
|
1529
|
+
"border-w-l": [{ "border-l": z() }],
|
|
1530
|
+
"divide-x": [{ "divide-x": z() }],
|
|
1499
1531
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
1500
|
-
"divide-y": [{ "divide-y":
|
|
1532
|
+
"divide-y": [{ "divide-y": z() }],
|
|
1501
1533
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
1502
1534
|
"border-style": [{ border: [
|
|
1503
|
-
...
|
|
1535
|
+
...re(),
|
|
1504
1536
|
"hidden",
|
|
1505
1537
|
"none"
|
|
1506
1538
|
] }],
|
|
1507
1539
|
"divide-style": [{ divide: [
|
|
1508
|
-
...
|
|
1540
|
+
...re(),
|
|
1509
1541
|
"hidden",
|
|
1510
1542
|
"none"
|
|
1511
1543
|
] }],
|
|
@@ -1522,20 +1554,20 @@ var h = (e, t) => {
|
|
|
1522
1554
|
"border-color-l": [{ "border-l": F() }],
|
|
1523
1555
|
"divide-color": [{ divide: F() }],
|
|
1524
1556
|
"outline-style": [{ outline: [
|
|
1525
|
-
...
|
|
1557
|
+
...re(),
|
|
1526
1558
|
"none",
|
|
1527
1559
|
"hidden"
|
|
1528
1560
|
] }],
|
|
1529
1561
|
"outline-offset": [{ "outline-offset": [
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1562
|
+
U,
|
|
1563
|
+
J,
|
|
1564
|
+
K
|
|
1533
1565
|
] }],
|
|
1534
1566
|
"outline-w": [{ outline: [
|
|
1535
1567
|
"",
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1568
|
+
U,
|
|
1569
|
+
Ie,
|
|
1570
|
+
q
|
|
1539
1571
|
] }],
|
|
1540
1572
|
"outline-color": [{ outline: F() }],
|
|
1541
1573
|
shadow: [{ shadow: [
|
|
@@ -1543,42 +1575,42 @@ var h = (e, t) => {
|
|
|
1543
1575
|
"inner",
|
|
1544
1576
|
"none",
|
|
1545
1577
|
u,
|
|
1546
|
-
|
|
1547
|
-
|
|
1578
|
+
Ve,
|
|
1579
|
+
Fe
|
|
1548
1580
|
] }],
|
|
1549
1581
|
"shadow-color": [{ shadow: F() }],
|
|
1550
1582
|
"inset-shadow": [{ "inset-shadow": [
|
|
1551
1583
|
"none",
|
|
1552
1584
|
d,
|
|
1553
|
-
|
|
1554
|
-
|
|
1585
|
+
Ve,
|
|
1586
|
+
Fe
|
|
1555
1587
|
] }],
|
|
1556
1588
|
"inset-shadow-color": [{ "inset-shadow": F() }],
|
|
1557
|
-
"ring-w": [{ ring:
|
|
1589
|
+
"ring-w": [{ ring: z() }],
|
|
1558
1590
|
"ring-w-inset": ["ring-inset"],
|
|
1559
1591
|
"ring-color": [{ ring: F() }],
|
|
1560
|
-
"ring-offset-w": [{ "ring-offset": [
|
|
1592
|
+
"ring-offset-w": [{ "ring-offset": [U, q] }],
|
|
1561
1593
|
"ring-offset-color": [{ "ring-offset": F() }],
|
|
1562
|
-
"inset-ring-w": [{ "inset-ring":
|
|
1594
|
+
"inset-ring-w": [{ "inset-ring": z() }],
|
|
1563
1595
|
"inset-ring-color": [{ "inset-ring": F() }],
|
|
1564
1596
|
"text-shadow": [{ "text-shadow": [
|
|
1565
1597
|
"none",
|
|
1566
1598
|
f,
|
|
1567
|
-
|
|
1568
|
-
|
|
1599
|
+
Ve,
|
|
1600
|
+
Fe
|
|
1569
1601
|
] }],
|
|
1570
1602
|
"text-shadow-color": [{ "text-shadow": F() }],
|
|
1571
1603
|
opacity: [{ opacity: [
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1604
|
+
U,
|
|
1605
|
+
J,
|
|
1606
|
+
K
|
|
1575
1607
|
] }],
|
|
1576
1608
|
"mix-blend": [{ "mix-blend": [
|
|
1577
|
-
...
|
|
1609
|
+
...ie(),
|
|
1578
1610
|
"plus-darker",
|
|
1579
1611
|
"plus-lighter"
|
|
1580
1612
|
] }],
|
|
1581
|
-
"bg-blend": [{ "bg-blend":
|
|
1613
|
+
"bg-blend": [{ "bg-blend": ie() }],
|
|
1582
1614
|
"mask-clip": [{ "mask-clip": [
|
|
1583
1615
|
"border",
|
|
1584
1616
|
"padding",
|
|
@@ -1593,38 +1625,38 @@ var h = (e, t) => {
|
|
|
1593
1625
|
"intersect",
|
|
1594
1626
|
"exclude"
|
|
1595
1627
|
] }],
|
|
1596
|
-
"mask-image-linear-pos": [{ "mask-linear": [
|
|
1597
|
-
"mask-image-linear-from-pos": [{ "mask-linear-from":
|
|
1598
|
-
"mask-image-linear-to-pos": [{ "mask-linear-to":
|
|
1628
|
+
"mask-image-linear-pos": [{ "mask-linear": [U] }],
|
|
1629
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": B() }],
|
|
1630
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": B() }],
|
|
1599
1631
|
"mask-image-linear-from-color": [{ "mask-linear-from": F() }],
|
|
1600
1632
|
"mask-image-linear-to-color": [{ "mask-linear-to": F() }],
|
|
1601
|
-
"mask-image-t-from-pos": [{ "mask-t-from":
|
|
1602
|
-
"mask-image-t-to-pos": [{ "mask-t-to":
|
|
1633
|
+
"mask-image-t-from-pos": [{ "mask-t-from": B() }],
|
|
1634
|
+
"mask-image-t-to-pos": [{ "mask-t-to": B() }],
|
|
1603
1635
|
"mask-image-t-from-color": [{ "mask-t-from": F() }],
|
|
1604
1636
|
"mask-image-t-to-color": [{ "mask-t-to": F() }],
|
|
1605
|
-
"mask-image-r-from-pos": [{ "mask-r-from":
|
|
1606
|
-
"mask-image-r-to-pos": [{ "mask-r-to":
|
|
1637
|
+
"mask-image-r-from-pos": [{ "mask-r-from": B() }],
|
|
1638
|
+
"mask-image-r-to-pos": [{ "mask-r-to": B() }],
|
|
1607
1639
|
"mask-image-r-from-color": [{ "mask-r-from": F() }],
|
|
1608
1640
|
"mask-image-r-to-color": [{ "mask-r-to": F() }],
|
|
1609
|
-
"mask-image-b-from-pos": [{ "mask-b-from":
|
|
1610
|
-
"mask-image-b-to-pos": [{ "mask-b-to":
|
|
1641
|
+
"mask-image-b-from-pos": [{ "mask-b-from": B() }],
|
|
1642
|
+
"mask-image-b-to-pos": [{ "mask-b-to": B() }],
|
|
1611
1643
|
"mask-image-b-from-color": [{ "mask-b-from": F() }],
|
|
1612
1644
|
"mask-image-b-to-color": [{ "mask-b-to": F() }],
|
|
1613
|
-
"mask-image-l-from-pos": [{ "mask-l-from":
|
|
1614
|
-
"mask-image-l-to-pos": [{ "mask-l-to":
|
|
1645
|
+
"mask-image-l-from-pos": [{ "mask-l-from": B() }],
|
|
1646
|
+
"mask-image-l-to-pos": [{ "mask-l-to": B() }],
|
|
1615
1647
|
"mask-image-l-from-color": [{ "mask-l-from": F() }],
|
|
1616
1648
|
"mask-image-l-to-color": [{ "mask-l-to": F() }],
|
|
1617
|
-
"mask-image-x-from-pos": [{ "mask-x-from":
|
|
1618
|
-
"mask-image-x-to-pos": [{ "mask-x-to":
|
|
1649
|
+
"mask-image-x-from-pos": [{ "mask-x-from": B() }],
|
|
1650
|
+
"mask-image-x-to-pos": [{ "mask-x-to": B() }],
|
|
1619
1651
|
"mask-image-x-from-color": [{ "mask-x-from": F() }],
|
|
1620
1652
|
"mask-image-x-to-color": [{ "mask-x-to": F() }],
|
|
1621
|
-
"mask-image-y-from-pos": [{ "mask-y-from":
|
|
1622
|
-
"mask-image-y-to-pos": [{ "mask-y-to":
|
|
1653
|
+
"mask-image-y-from-pos": [{ "mask-y-from": B() }],
|
|
1654
|
+
"mask-image-y-to-pos": [{ "mask-y-to": B() }],
|
|
1623
1655
|
"mask-image-y-from-color": [{ "mask-y-from": F() }],
|
|
1624
1656
|
"mask-image-y-to-color": [{ "mask-y-to": F() }],
|
|
1625
|
-
"mask-image-radial": [{ "mask-radial": [
|
|
1626
|
-
"mask-image-radial-from-pos": [{ "mask-radial-from":
|
|
1627
|
-
"mask-image-radial-to-pos": [{ "mask-radial-to":
|
|
1657
|
+
"mask-image-radial": [{ "mask-radial": [J, K] }],
|
|
1658
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": B() }],
|
|
1659
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": B() }],
|
|
1628
1660
|
"mask-image-radial-from-color": [{ "mask-radial-from": F() }],
|
|
1629
1661
|
"mask-image-radial-to-color": [{ "mask-radial-to": F() }],
|
|
1630
1662
|
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
@@ -1633,9 +1665,9 @@ var h = (e, t) => {
|
|
|
1633
1665
|
farthest: ["side", "corner"]
|
|
1634
1666
|
}] }],
|
|
1635
1667
|
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
1636
|
-
"mask-image-conic-pos": [{ "mask-conic": [
|
|
1637
|
-
"mask-image-conic-from-pos": [{ "mask-conic-from":
|
|
1638
|
-
"mask-image-conic-to-pos": [{ "mask-conic-to":
|
|
1668
|
+
"mask-image-conic-pos": [{ "mask-conic": [U] }],
|
|
1669
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": B() }],
|
|
1670
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": B() }],
|
|
1639
1671
|
"mask-image-conic-from-color": [{ "mask-conic-from": F() }],
|
|
1640
1672
|
"mask-image-conic-to-color": [{ "mask-conic-to": F() }],
|
|
1641
1673
|
"mask-mode": [{ mask: [
|
|
@@ -1657,111 +1689,111 @@ var h = (e, t) => {
|
|
|
1657
1689
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
1658
1690
|
"mask-image": [{ mask: [
|
|
1659
1691
|
"none",
|
|
1660
|
-
|
|
1661
|
-
|
|
1692
|
+
J,
|
|
1693
|
+
K
|
|
1662
1694
|
] }],
|
|
1663
1695
|
filter: [{ filter: [
|
|
1664
1696
|
"",
|
|
1665
1697
|
"none",
|
|
1666
|
-
|
|
1667
|
-
|
|
1698
|
+
J,
|
|
1699
|
+
K
|
|
1668
1700
|
] }],
|
|
1669
|
-
blur: [{ blur:
|
|
1701
|
+
blur: [{ blur: ae() }],
|
|
1670
1702
|
brightness: [{ brightness: [
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1703
|
+
U,
|
|
1704
|
+
J,
|
|
1705
|
+
K
|
|
1674
1706
|
] }],
|
|
1675
1707
|
contrast: [{ contrast: [
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1708
|
+
U,
|
|
1709
|
+
J,
|
|
1710
|
+
K
|
|
1679
1711
|
] }],
|
|
1680
1712
|
"drop-shadow": [{ "drop-shadow": [
|
|
1681
1713
|
"",
|
|
1682
1714
|
"none",
|
|
1683
1715
|
p,
|
|
1684
|
-
|
|
1685
|
-
|
|
1716
|
+
Ve,
|
|
1717
|
+
Fe
|
|
1686
1718
|
] }],
|
|
1687
1719
|
"drop-shadow-color": [{ "drop-shadow": F() }],
|
|
1688
1720
|
grayscale: [{ grayscale: [
|
|
1689
1721
|
"",
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1722
|
+
U,
|
|
1723
|
+
J,
|
|
1724
|
+
K
|
|
1693
1725
|
] }],
|
|
1694
1726
|
"hue-rotate": [{ "hue-rotate": [
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1727
|
+
U,
|
|
1728
|
+
J,
|
|
1729
|
+
K
|
|
1698
1730
|
] }],
|
|
1699
1731
|
invert: [{ invert: [
|
|
1700
1732
|
"",
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1733
|
+
U,
|
|
1734
|
+
J,
|
|
1735
|
+
K
|
|
1704
1736
|
] }],
|
|
1705
1737
|
saturate: [{ saturate: [
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1738
|
+
U,
|
|
1739
|
+
J,
|
|
1740
|
+
K
|
|
1709
1741
|
] }],
|
|
1710
1742
|
sepia: [{ sepia: [
|
|
1711
1743
|
"",
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1744
|
+
U,
|
|
1745
|
+
J,
|
|
1746
|
+
K
|
|
1715
1747
|
] }],
|
|
1716
1748
|
"backdrop-filter": [{ "backdrop-filter": [
|
|
1717
1749
|
"",
|
|
1718
1750
|
"none",
|
|
1719
|
-
|
|
1720
|
-
|
|
1751
|
+
J,
|
|
1752
|
+
K
|
|
1721
1753
|
] }],
|
|
1722
|
-
"backdrop-blur": [{ "backdrop-blur":
|
|
1754
|
+
"backdrop-blur": [{ "backdrop-blur": ae() }],
|
|
1723
1755
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1756
|
+
U,
|
|
1757
|
+
J,
|
|
1758
|
+
K
|
|
1727
1759
|
] }],
|
|
1728
1760
|
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1761
|
+
U,
|
|
1762
|
+
J,
|
|
1763
|
+
K
|
|
1732
1764
|
] }],
|
|
1733
1765
|
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
1734
1766
|
"",
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1767
|
+
U,
|
|
1768
|
+
J,
|
|
1769
|
+
K
|
|
1738
1770
|
] }],
|
|
1739
1771
|
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1772
|
+
U,
|
|
1773
|
+
J,
|
|
1774
|
+
K
|
|
1743
1775
|
] }],
|
|
1744
1776
|
"backdrop-invert": [{ "backdrop-invert": [
|
|
1745
1777
|
"",
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1778
|
+
U,
|
|
1779
|
+
J,
|
|
1780
|
+
K
|
|
1749
1781
|
] }],
|
|
1750
1782
|
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1783
|
+
U,
|
|
1784
|
+
J,
|
|
1785
|
+
K
|
|
1754
1786
|
] }],
|
|
1755
1787
|
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1788
|
+
U,
|
|
1789
|
+
J,
|
|
1790
|
+
K
|
|
1759
1791
|
] }],
|
|
1760
1792
|
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1761
1793
|
"",
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1794
|
+
U,
|
|
1795
|
+
J,
|
|
1796
|
+
K
|
|
1765
1797
|
] }],
|
|
1766
1798
|
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
1767
1799
|
"border-spacing": [{ "border-spacing": w() }],
|
|
@@ -1777,56 +1809,56 @@ var h = (e, t) => {
|
|
|
1777
1809
|
"shadow",
|
|
1778
1810
|
"transform",
|
|
1779
1811
|
"none",
|
|
1780
|
-
|
|
1781
|
-
|
|
1812
|
+
J,
|
|
1813
|
+
K
|
|
1782
1814
|
] }],
|
|
1783
1815
|
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
1784
1816
|
duration: [{ duration: [
|
|
1785
|
-
|
|
1817
|
+
U,
|
|
1786
1818
|
"initial",
|
|
1787
|
-
|
|
1788
|
-
|
|
1819
|
+
J,
|
|
1820
|
+
K
|
|
1789
1821
|
] }],
|
|
1790
1822
|
ease: [{ ease: [
|
|
1791
1823
|
"linear",
|
|
1792
1824
|
"initial",
|
|
1793
1825
|
_,
|
|
1794
|
-
|
|
1795
|
-
|
|
1826
|
+
J,
|
|
1827
|
+
K
|
|
1796
1828
|
] }],
|
|
1797
1829
|
delay: [{ delay: [
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1830
|
+
U,
|
|
1831
|
+
J,
|
|
1832
|
+
K
|
|
1801
1833
|
] }],
|
|
1802
1834
|
animate: [{ animate: [
|
|
1803
1835
|
"none",
|
|
1804
1836
|
v,
|
|
1805
|
-
|
|
1806
|
-
|
|
1837
|
+
J,
|
|
1838
|
+
K
|
|
1807
1839
|
] }],
|
|
1808
1840
|
backface: [{ backface: ["hidden", "visible"] }],
|
|
1809
1841
|
perspective: [{ perspective: [
|
|
1810
1842
|
h,
|
|
1811
|
-
|
|
1812
|
-
|
|
1843
|
+
J,
|
|
1844
|
+
K
|
|
1813
1845
|
] }],
|
|
1814
1846
|
"perspective-origin": [{ "perspective-origin": x() }],
|
|
1815
|
-
rotate: [{ rotate:
|
|
1816
|
-
"rotate-x": [{ "rotate-x":
|
|
1817
|
-
"rotate-y": [{ "rotate-y":
|
|
1818
|
-
"rotate-z": [{ "rotate-z":
|
|
1819
|
-
scale: [{ scale:
|
|
1820
|
-
"scale-x": [{ "scale-x":
|
|
1821
|
-
"scale-y": [{ "scale-y":
|
|
1822
|
-
"scale-z": [{ "scale-z":
|
|
1847
|
+
rotate: [{ rotate: oe() }],
|
|
1848
|
+
"rotate-x": [{ "rotate-x": oe() }],
|
|
1849
|
+
"rotate-y": [{ "rotate-y": oe() }],
|
|
1850
|
+
"rotate-z": [{ "rotate-z": oe() }],
|
|
1851
|
+
scale: [{ scale: se() }],
|
|
1852
|
+
"scale-x": [{ "scale-x": se() }],
|
|
1853
|
+
"scale-y": [{ "scale-y": se() }],
|
|
1854
|
+
"scale-z": [{ "scale-z": se() }],
|
|
1823
1855
|
"scale-3d": ["scale-3d"],
|
|
1824
|
-
skew: [{ skew:
|
|
1825
|
-
"skew-x": [{ "skew-x":
|
|
1826
|
-
"skew-y": [{ "skew-y":
|
|
1856
|
+
skew: [{ skew: ce() }],
|
|
1857
|
+
"skew-x": [{ "skew-x": ce() }],
|
|
1858
|
+
"skew-y": [{ "skew-y": ce() }],
|
|
1827
1859
|
transform: [{ transform: [
|
|
1828
|
-
|
|
1829
|
-
|
|
1860
|
+
J,
|
|
1861
|
+
K,
|
|
1830
1862
|
"",
|
|
1831
1863
|
"none",
|
|
1832
1864
|
"gpu",
|
|
@@ -1834,15 +1866,15 @@ var h = (e, t) => {
|
|
|
1834
1866
|
] }],
|
|
1835
1867
|
"transform-origin": [{ origin: x() }],
|
|
1836
1868
|
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
1837
|
-
translate: [{ translate:
|
|
1838
|
-
"translate-x": [{ "translate-x":
|
|
1839
|
-
"translate-y": [{ "translate-y":
|
|
1840
|
-
"translate-z": [{ "translate-z":
|
|
1869
|
+
translate: [{ translate: le() }],
|
|
1870
|
+
"translate-x": [{ "translate-x": le() }],
|
|
1871
|
+
"translate-y": [{ "translate-y": le() }],
|
|
1872
|
+
"translate-z": [{ "translate-z": le() }],
|
|
1841
1873
|
"translate-none": ["translate-none"],
|
|
1842
1874
|
zoom: [{ zoom: [
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1875
|
+
W,
|
|
1876
|
+
J,
|
|
1877
|
+
K
|
|
1846
1878
|
] }],
|
|
1847
1879
|
accent: [{ accent: F() }],
|
|
1848
1880
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
@@ -1892,8 +1924,8 @@ var h = (e, t) => {
|
|
|
1892
1924
|
"nwse-resize",
|
|
1893
1925
|
"zoom-in",
|
|
1894
1926
|
"zoom-out",
|
|
1895
|
-
|
|
1896
|
-
|
|
1927
|
+
J,
|
|
1928
|
+
K
|
|
1897
1929
|
] }],
|
|
1898
1930
|
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
1899
1931
|
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
@@ -1979,15 +2011,15 @@ var h = (e, t) => {
|
|
|
1979
2011
|
"scroll",
|
|
1980
2012
|
"contents",
|
|
1981
2013
|
"transform",
|
|
1982
|
-
|
|
1983
|
-
|
|
2014
|
+
J,
|
|
2015
|
+
K
|
|
1984
2016
|
] }],
|
|
1985
2017
|
fill: [{ fill: ["none", ...F()] }],
|
|
1986
2018
|
"stroke-w": [{ stroke: [
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
2019
|
+
U,
|
|
2020
|
+
Ie,
|
|
2021
|
+
q,
|
|
2022
|
+
Ae
|
|
1991
2023
|
] }],
|
|
1992
2024
|
stroke: [{ stroke: ["none", ...F()] }],
|
|
1993
2025
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
@@ -2246,27 +2278,27 @@ var h = (e, t) => {
|
|
|
2246
2278
|
]
|
|
2247
2279
|
};
|
|
2248
2280
|
});
|
|
2249
|
-
function
|
|
2250
|
-
return
|
|
2281
|
+
function Qe(...e) {
|
|
2282
|
+
return Ze(b(e));
|
|
2251
2283
|
}
|
|
2252
|
-
var
|
|
2253
|
-
function
|
|
2284
|
+
var $e = (e) => e?.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
2285
|
+
function et(e, t, n = []) {
|
|
2254
2286
|
if (t == null) throw Error("[lucide]: iconNode is required when icon name is used");
|
|
2255
2287
|
return {
|
|
2256
|
-
name:
|
|
2288
|
+
name: $e(e),
|
|
2257
2289
|
size: 24,
|
|
2258
2290
|
node: t,
|
|
2259
2291
|
...n.length > 0 ? { aliases: n } : {}
|
|
2260
2292
|
};
|
|
2261
2293
|
}
|
|
2262
|
-
var
|
|
2294
|
+
var tt = (e) => {
|
|
2263
2295
|
let t = "", n = !1;
|
|
2264
2296
|
for (let r of e) r === "-" || r === "_" || r <= " " ? n = t.length > 0 : (t.length === 0 ? t += r.toLowerCase() : t += n ? r.toUpperCase() : r, n = !1);
|
|
2265
2297
|
return t;
|
|
2266
|
-
},
|
|
2267
|
-
let t =
|
|
2298
|
+
}, nt = (e) => {
|
|
2299
|
+
let t = tt(e);
|
|
2268
2300
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
2269
|
-
},
|
|
2301
|
+
}, rt = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), Z = {
|
|
2270
2302
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2271
2303
|
width: 24,
|
|
2272
2304
|
height: 24,
|
|
@@ -2277,22 +2309,22 @@ var Xe = (e) => {
|
|
|
2277
2309
|
"stroke-linecap": "round",
|
|
2278
2310
|
"stroke-linejoin": "round"
|
|
2279
2311
|
};
|
|
2280
|
-
function
|
|
2312
|
+
function it(e) {
|
|
2281
2313
|
return e != null;
|
|
2282
2314
|
}
|
|
2283
|
-
function
|
|
2284
|
-
let n = t.attributeNames ?? {}, r = (e) => n[e] ?? e, i = e.size ?? e.width ??
|
|
2315
|
+
function at(e, t = {}) {
|
|
2316
|
+
let n = t.attributeNames ?? {}, r = (e) => n[e] ?? e, i = e.size ?? e.width ?? Z.width, a = e.size ?? e.height ?? Z.height, o = e.aliases?.filter((e) => typeof e == "string" && e.trim() !== "").map((e) => `lucide-${e}`) ?? [], s = [...e.name ? [`lucide-${e.name}`] : [], ...o], c = t.className?.split(" ").filter(Boolean) ?? [], l = t.includeDefaultClasses === !1 ? rt(...c) : rt("lucide", ...s, ...c), u = t.absoluteStrokeWidth ? Number(t.strokeWidth ?? Z["stroke-width"]) * Number(e.size ?? e.width ?? Z.width) / Number(t.size ?? t.width ?? Z.width) : t.strokeWidth ?? Z["stroke-width"];
|
|
2285
2317
|
return [
|
|
2286
2318
|
"svg",
|
|
2287
2319
|
{
|
|
2288
|
-
...Object.entries(
|
|
2320
|
+
...Object.entries(Z).reduce((e, [t, n]) => (e[r(t)] = n, e), {}),
|
|
2289
2321
|
..."color" in t && t.color && { [r("stroke")]: t.color },
|
|
2290
|
-
..."size" in t &&
|
|
2322
|
+
..."size" in t && it(t.size) && {
|
|
2291
2323
|
[r("width")]: t.size,
|
|
2292
2324
|
[r("height")]: t.size
|
|
2293
2325
|
},
|
|
2294
|
-
..."width" in t &&
|
|
2295
|
-
..."height" in t &&
|
|
2326
|
+
..."width" in t && it(t.width) && { [r("width")]: t.width },
|
|
2327
|
+
..."height" in t && it(t.height) && { [r("height")]: t.height },
|
|
2296
2328
|
[r("stroke-width")]: u,
|
|
2297
2329
|
...l && { [r("class")]: l },
|
|
2298
2330
|
[r("viewBox")]: `0 0 ${i} ${a}`,
|
|
@@ -2312,8 +2344,8 @@ function et(e, t = {}) {
|
|
|
2312
2344
|
})
|
|
2313
2345
|
];
|
|
2314
2346
|
}
|
|
2315
|
-
function
|
|
2316
|
-
return
|
|
2347
|
+
function ot(e, t = {}) {
|
|
2348
|
+
return at(e, {
|
|
2317
2349
|
...t,
|
|
2318
2350
|
attributeNames: {
|
|
2319
2351
|
...t.attributeNames,
|
|
@@ -2325,40 +2357,40 @@ function tt(e, t = {}) {
|
|
|
2325
2357
|
}
|
|
2326
2358
|
});
|
|
2327
2359
|
}
|
|
2328
|
-
var
|
|
2360
|
+
var st = (e) => {
|
|
2329
2361
|
for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
|
|
2330
2362
|
return !1;
|
|
2331
|
-
},
|
|
2363
|
+
}, ct = (0, v.createContext)({}), lt = () => (0, v.useContext)(ct), ut = (0, v.forwardRef)(({ color: e, size: t, width: n, height: r, strokeWidth: i, absoluteStrokeWidth: a, nonScalingStroke: o, className: s = "", children: c, iconNode: l = [], icon: u = {
|
|
2332
2364
|
node: l,
|
|
2333
2365
|
aliases: [],
|
|
2334
2366
|
size: 24
|
|
2335
|
-
}, ...d },
|
|
2336
|
-
let { size:
|
|
2337
|
-
color: e ??
|
|
2338
|
-
width: n ?? t ??
|
|
2339
|
-
height: r ?? t ??
|
|
2340
|
-
strokeWidth: i ??
|
|
2341
|
-
absoluteStrokeWidth: a ??
|
|
2342
|
-
nonScalingStroke: o ??
|
|
2343
|
-
className:
|
|
2367
|
+
}, ...d }, f) => {
|
|
2368
|
+
let { size: p = 24, strokeWidth: m = 2, absoluteStrokeWidth: h = !1, nonScalingStroke: g = !1, color: _ = "currentColor", className: y = "" } = lt() ?? {}, b = !!c || st(d), [x, S, C = []] = ot(u, {
|
|
2369
|
+
color: e ?? _,
|
|
2370
|
+
width: n ?? t ?? p,
|
|
2371
|
+
height: r ?? t ?? p,
|
|
2372
|
+
strokeWidth: i ?? m,
|
|
2373
|
+
absoluteStrokeWidth: a ?? h,
|
|
2374
|
+
nonScalingStroke: o ?? g,
|
|
2375
|
+
className: rt(y, s),
|
|
2344
2376
|
hasA11yProp: b,
|
|
2345
2377
|
attributes: d
|
|
2346
2378
|
});
|
|
2347
|
-
return (0,
|
|
2348
|
-
ref:
|
|
2379
|
+
return (0, v.createElement)(x, {
|
|
2380
|
+
ref: f,
|
|
2349
2381
|
...S
|
|
2350
|
-
}, [...C.map(([e, t]) => (0,
|
|
2382
|
+
}, [...C.map(([e, t]) => (0, v.createElement)(e, t)), ...Array.isArray(c) ? c : [c]]);
|
|
2351
2383
|
});
|
|
2352
|
-
function
|
|
2353
|
-
let r = typeof e == "string" ?
|
|
2384
|
+
function Q(e, t = [], n = []) {
|
|
2385
|
+
let r = typeof e == "string" ? et(e, t, n) : e, i = (0, v.forwardRef)(({ className: e, ...t }, n) => (0, v.createElement)(ut, {
|
|
2354
2386
|
ref: n,
|
|
2355
2387
|
icon: r,
|
|
2356
2388
|
className: e,
|
|
2357
2389
|
...t
|
|
2358
2390
|
}));
|
|
2359
|
-
return r.name && (i.displayName =
|
|
2391
|
+
return r.name && (i.displayName = nt(r.name)), i;
|
|
2360
2392
|
}
|
|
2361
|
-
var
|
|
2393
|
+
var dt = {
|
|
2362
2394
|
name: "circle-check",
|
|
2363
2395
|
size: 24,
|
|
2364
2396
|
node: [["circle", {
|
|
@@ -2372,8 +2404,8 @@ var ot = {
|
|
|
2372
2404
|
}]],
|
|
2373
2405
|
aliases: ["check-circle-2"]
|
|
2374
2406
|
};
|
|
2375
|
-
|
|
2376
|
-
var
|
|
2407
|
+
dt.node;
|
|
2408
|
+
var ft = Q(dt), pt = {
|
|
2377
2409
|
name: "circle-dashed",
|
|
2378
2410
|
size: 24,
|
|
2379
2411
|
node: [
|
|
@@ -2411,8 +2443,8 @@ var st = Z(ot), ct = {
|
|
|
2411
2443
|
}]
|
|
2412
2444
|
]
|
|
2413
2445
|
};
|
|
2414
|
-
|
|
2415
|
-
var
|
|
2446
|
+
pt.node;
|
|
2447
|
+
var mt = Q(pt), ht = {
|
|
2416
2448
|
name: "circle-dot",
|
|
2417
2449
|
size: 24,
|
|
2418
2450
|
node: [["circle", {
|
|
@@ -2427,8 +2459,8 @@ var lt = Z(ct), ut = {
|
|
|
2427
2459
|
key: "1mglay"
|
|
2428
2460
|
}]]
|
|
2429
2461
|
};
|
|
2430
|
-
|
|
2431
|
-
var
|
|
2462
|
+
ht.node;
|
|
2463
|
+
var gt = Q(ht), _t = {
|
|
2432
2464
|
name: "circle-question-mark",
|
|
2433
2465
|
size: 24,
|
|
2434
2466
|
node: [
|
|
@@ -2449,8 +2481,8 @@ var dt = Z(ut), ft = {
|
|
|
2449
2481
|
],
|
|
2450
2482
|
aliases: ["help-circle", "circle-help"]
|
|
2451
2483
|
};
|
|
2452
|
-
|
|
2453
|
-
var
|
|
2484
|
+
_t.node;
|
|
2485
|
+
var vt = Q(_t), yt = {
|
|
2454
2486
|
name: "circle-stop",
|
|
2455
2487
|
size: 24,
|
|
2456
2488
|
node: [["circle", {
|
|
@@ -2468,8 +2500,8 @@ var pt = Z(ft), mt = {
|
|
|
2468
2500
|
}]],
|
|
2469
2501
|
aliases: ["stop-circle"]
|
|
2470
2502
|
};
|
|
2471
|
-
|
|
2472
|
-
var
|
|
2503
|
+
yt.node;
|
|
2504
|
+
var bt = Q(yt), xt = {
|
|
2473
2505
|
name: "circle-x",
|
|
2474
2506
|
size: 24,
|
|
2475
2507
|
node: [
|
|
@@ -2490,8 +2522,8 @@ var ht = Z(mt), gt = {
|
|
|
2490
2522
|
],
|
|
2491
2523
|
aliases: ["x-circle"]
|
|
2492
2524
|
};
|
|
2493
|
-
|
|
2494
|
-
var
|
|
2525
|
+
xt.node;
|
|
2526
|
+
var St = Q(xt), Ct = {
|
|
2495
2527
|
name: "hand",
|
|
2496
2528
|
size: 24,
|
|
2497
2529
|
node: [
|
|
@@ -2513,8 +2545,8 @@ var _t = Z(gt), vt = {
|
|
|
2513
2545
|
}]
|
|
2514
2546
|
]
|
|
2515
2547
|
};
|
|
2516
|
-
|
|
2517
|
-
var
|
|
2548
|
+
Ct.node;
|
|
2549
|
+
var wt = Q(Ct), Tt = {
|
|
2518
2550
|
name: "hourglass",
|
|
2519
2551
|
size: 24,
|
|
2520
2552
|
node: [
|
|
@@ -2536,49 +2568,49 @@ var yt = Z(vt), bt = {
|
|
|
2536
2568
|
}]
|
|
2537
2569
|
]
|
|
2538
2570
|
};
|
|
2539
|
-
|
|
2540
|
-
var
|
|
2571
|
+
Tt.node;
|
|
2572
|
+
var Et = Q(Tt), Dt = {
|
|
2541
2573
|
running: {
|
|
2542
2574
|
label: "Running",
|
|
2543
|
-
icon:
|
|
2575
|
+
icon: gt,
|
|
2544
2576
|
token: "--surface-info-text"
|
|
2545
2577
|
},
|
|
2546
2578
|
waiting: {
|
|
2547
2579
|
label: "Waiting",
|
|
2548
|
-
icon:
|
|
2580
|
+
icon: Et,
|
|
2549
2581
|
token: "--surface-neutral-text"
|
|
2550
2582
|
},
|
|
2551
2583
|
"needs-you": {
|
|
2552
2584
|
label: "Needs you",
|
|
2553
|
-
icon:
|
|
2585
|
+
icon: wt,
|
|
2554
2586
|
token: "--surface-warning-text"
|
|
2555
2587
|
},
|
|
2556
2588
|
done: {
|
|
2557
2589
|
label: "Done",
|
|
2558
|
-
icon:
|
|
2590
|
+
icon: ft,
|
|
2559
2591
|
token: "--surface-success-text"
|
|
2560
2592
|
},
|
|
2561
2593
|
failed: {
|
|
2562
2594
|
label: "Failed",
|
|
2563
|
-
icon:
|
|
2595
|
+
icon: St,
|
|
2564
2596
|
token: "--surface-danger-text"
|
|
2565
2597
|
},
|
|
2566
2598
|
stopped: {
|
|
2567
2599
|
label: "Stopped",
|
|
2568
|
-
icon:
|
|
2600
|
+
icon: bt,
|
|
2569
2601
|
token: "--surface-neutral-text"
|
|
2570
2602
|
},
|
|
2571
2603
|
idle: {
|
|
2572
2604
|
label: "Idle",
|
|
2573
|
-
icon:
|
|
2605
|
+
icon: mt,
|
|
2574
2606
|
token: "--surface-neutral-text"
|
|
2575
2607
|
},
|
|
2576
2608
|
unknown: {
|
|
2577
2609
|
label: "Unknown",
|
|
2578
|
-
icon:
|
|
2610
|
+
icon: vt,
|
|
2579
2611
|
token: "--surface-neutral-text"
|
|
2580
2612
|
}
|
|
2581
|
-
},
|
|
2613
|
+
}, Ot = {
|
|
2582
2614
|
active: "running",
|
|
2583
2615
|
in_progress: "running",
|
|
2584
2616
|
"in-progress": "running",
|
|
@@ -2601,23 +2633,23 @@ var xt = Z(bt), St = {
|
|
|
2601
2633
|
canceled: "stopped",
|
|
2602
2634
|
aborted: "stopped"
|
|
2603
2635
|
};
|
|
2604
|
-
function
|
|
2636
|
+
function kt(e) {
|
|
2605
2637
|
let t = e.trim().toLowerCase();
|
|
2606
|
-
return Object.hasOwn(
|
|
2638
|
+
return Object.hasOwn(Dt, t) ? t : Object.hasOwn(Ot, t) ? Ot[t] : "unknown";
|
|
2607
2639
|
}
|
|
2608
|
-
function
|
|
2609
|
-
return
|
|
2640
|
+
function At(e) {
|
|
2641
|
+
return Dt[kt(e)];
|
|
2610
2642
|
}
|
|
2611
|
-
function
|
|
2612
|
-
let i =
|
|
2613
|
-
return /* @__PURE__ */ (0,
|
|
2643
|
+
function jt({ status: e, className: t, style: n, ...r }) {
|
|
2644
|
+
let i = kt(e), { label: a, icon: o, token: s } = Dt[i], c = i === "running";
|
|
2645
|
+
return /* @__PURE__ */ (0, _.jsx)(o, {
|
|
2614
2646
|
role: "img",
|
|
2615
2647
|
"aria-label": a,
|
|
2616
2648
|
size: 16,
|
|
2617
2649
|
strokeWidth: 1.75,
|
|
2618
2650
|
"data-run-status": i,
|
|
2619
2651
|
"data-motion": c ? "essential" : void 0,
|
|
2620
|
-
className:
|
|
2652
|
+
className: Qe("shrink-0", c && "animate-[tangle-breathe_var(--motion-ambient)_infinite]", t),
|
|
2621
2653
|
style: {
|
|
2622
2654
|
color: `var(${s})`,
|
|
2623
2655
|
...n
|
|
@@ -2625,26 +2657,8 @@ function Et({ status: e, className: t, style: n, ...r }) {
|
|
|
2625
2657
|
...r
|
|
2626
2658
|
});
|
|
2627
2659
|
}
|
|
2628
|
-
var
|
|
2629
|
-
function
|
|
2630
|
-
if (!Number.isFinite(e) || e < 0) return "—";
|
|
2631
|
-
if (e < 1e3) return `${Math.round(e)}ms`;
|
|
2632
|
-
if (e < 1e4) return `${(e / 1e3).toFixed(1)}s`;
|
|
2633
|
-
if (e < 6e4) return `${Math.round(e / 1e3)}s`;
|
|
2634
|
-
if (e < 36e5) {
|
|
2635
|
-
let t = Math.floor(e / 6e4), n = Math.round(e % 6e4 / 1e3);
|
|
2636
|
-
return n === 60 ? `${t + 1}m` : n ? `${t}m ${n}s` : `${t}m`;
|
|
2637
|
-
}
|
|
2638
|
-
let t = Math.floor(e / 36e5), n = Math.round(e % 36e5 / 6e4);
|
|
2639
|
-
return n === 60 ? `${t + 1}h` : `${t}h ${String(n).padStart(2, "0")}m`;
|
|
2640
|
-
}
|
|
2641
|
-
function $(e) {
|
|
2642
|
-
return c(e) === void 0 ? "—" : e === 0 ? "$0.00" : e < .01 ? `$${e.toPrecision(1).replace(/0+$/, "")}` : `$${e.toFixed(2)}`;
|
|
2643
|
-
}
|
|
2644
|
-
function Pt(e) {
|
|
2645
|
-
return l(e) === void 0 ? "—" : e < 1e3 ? String(e) : e < 1e6 ? `${(e / 1e3).toFixed(1)}K` : `${(e / 1e6).toFixed(1)}M`;
|
|
2646
|
-
}
|
|
2647
|
-
function Ft(e, t, n = 240) {
|
|
2660
|
+
var Mt = (e) => e.kind === "model" || e.modelCall ? "model" : "tool", Nt = (e) => e?.split(" · ")[0], Pt = (e) => e > 0 && e <= 5 ? e : 0, Ft = (e) => e.status === "failed", $ = (e) => e.status === "running", It = (e, t) => new Map((e.facts ?? []).map((e) => [e.label.toLowerCase(), e.value])).get(t.toLowerCase()), Lt = (e) => Number.isFinite(e.startMs) && Number.isFinite(e.endMs) && e.endMs >= e.startMs;
|
|
2661
|
+
function Rt(e, t, n = 240) {
|
|
2648
2662
|
e.sort((e, t) => e.startMs - t.startMs);
|
|
2649
2663
|
let r = t;
|
|
2650
2664
|
for (let t = 0; t < 40; t++, r *= 2) {
|
|
@@ -2663,16 +2677,16 @@ function Ft(e, t, n = 240) {
|
|
|
2663
2677
|
}
|
|
2664
2678
|
return e;
|
|
2665
2679
|
}
|
|
2666
|
-
function
|
|
2680
|
+
function zt(e, t) {
|
|
2667
2681
|
let n = /* @__PURE__ */ new Set(), r = [...e.spans].map((e, t) => {
|
|
2668
|
-
let n =
|
|
2669
|
-
label:
|
|
2682
|
+
let n = kt(e.status ?? "unknown"), r = {
|
|
2683
|
+
label: At(n).label,
|
|
2670
2684
|
tone: n === "running" ? "live" : n === "done" ? "ok" : n === "needs-you" ? "warn" : n === "failed" ? "failed" : "neutral",
|
|
2671
2685
|
...n === "unknown" ? { ring: !0 } : {}
|
|
2672
2686
|
}, i = {
|
|
2673
2687
|
...e,
|
|
2674
2688
|
outcome: e.outcome ?? r,
|
|
2675
|
-
detail:
|
|
2689
|
+
detail: It(e, e.kind === "tool" ? "Provider" : "Model") ?? e.detail
|
|
2676
2690
|
};
|
|
2677
2691
|
return {
|
|
2678
2692
|
span: i,
|
|
@@ -2686,9 +2700,9 @@ function It(e, t) {
|
|
|
2686
2700
|
parentId: t.parentId,
|
|
2687
2701
|
name: t.name,
|
|
2688
2702
|
kind: t.kind,
|
|
2689
|
-
durationLabel:
|
|
2703
|
+
durationLabel: Lt(t) ? `${p(t.endMs - t.startMs)}${t.approx ? "~" : ""}` : "—",
|
|
2690
2704
|
approx: t.approx === !0,
|
|
2691
|
-
ok: !
|
|
2705
|
+
ok: !Ft(t),
|
|
2692
2706
|
depth: 0,
|
|
2693
2707
|
hasChildren: !1,
|
|
2694
2708
|
span: t,
|
|
@@ -2724,32 +2738,32 @@ function It(e, t) {
|
|
|
2724
2738
|
for (let r of d(n, t + 1, e.tone)) i.push(r);
|
|
2725
2739
|
e.descendants += 1 + n.descendants, n.kind === "pipeline" && (e.hasAgents = !0);
|
|
2726
2740
|
let r = n.hasChildren ? n.rollupCostUsd : n.span.costUsd;
|
|
2727
|
-
r === void 0 ? (n.kind === "model" || n.hasChildren) && (p = !1) : f += r, n.kind !== "pipeline" && n.kind !== "waiting" &&
|
|
2741
|
+
r === void 0 ? (n.kind === "model" || n.hasChildren) && (p = !1) : f += r, n.kind !== "pipeline" && n.kind !== "waiting" && Lt(n.span) && e.own.push(Ut(n));
|
|
2728
2742
|
}
|
|
2729
|
-
Object.assign(e,
|
|
2743
|
+
Object.assign(e, Bt(r));
|
|
2730
2744
|
let m = o ? {
|
|
2731
2745
|
prompt: l(e.span.promptTokens),
|
|
2732
2746
|
completion: l(e.span.completionTokens),
|
|
2733
2747
|
cached: l(e.span.cachedTokens)
|
|
2734
|
-
} :
|
|
2735
|
-
return m && (e.tokens = m), e.hasChildren && p && (e.rollupCostUsd = f), e.hasChildren && (e.segments =
|
|
2748
|
+
} : Ht(r);
|
|
2749
|
+
return m && (e.tokens = m), e.hasChildren && p && (e.rollupCostUsd = f), e.hasChildren && (e.segments = Rt(i.map((e) => ({ ...e })), s), e.own = Rt(e.own, s)), e.kind === "pipeline" || e.kind === "waiting" || !Lt(e.span) || i.push(Ut(e)), i;
|
|
2736
2750
|
};
|
|
2737
2751
|
for (let e of r) e.parentId || d(e, 0, -1);
|
|
2738
2752
|
return c;
|
|
2739
2753
|
}
|
|
2740
|
-
function
|
|
2754
|
+
function Bt(e) {
|
|
2741
2755
|
let t, n = [];
|
|
2742
|
-
for (let r of e) if (r.kind !== "pipeline" && r.kind !== "waiting" &&
|
|
2756
|
+
for (let r of e) if (r.kind !== "pipeline" && r.kind !== "waiting" && Lt(r.span)) {
|
|
2743
2757
|
if (t ??= {
|
|
2744
2758
|
model: 0,
|
|
2745
2759
|
tool: 0,
|
|
2746
2760
|
failed: 0,
|
|
2747
2761
|
retried: 0,
|
|
2748
2762
|
tools: {}
|
|
2749
|
-
}, r.ok || t.failed++, r.retry && t.retried++, r.kind === "model") t.model++,
|
|
2763
|
+
}, r.ok || t.failed++, r.retry && t.retried++, r.kind === "model") t.model++, $(r.span) || n.push(r.span.endMs - r.span.startMs);
|
|
2750
2764
|
else {
|
|
2751
2765
|
t.tool++;
|
|
2752
|
-
let e =
|
|
2766
|
+
let e = Nt(r.name) || r.kind;
|
|
2753
2767
|
t.tools[e] = (t.tools[e] ?? 0) + 1;
|
|
2754
2768
|
}
|
|
2755
2769
|
}
|
|
@@ -2758,7 +2772,7 @@ function Lt(e) {
|
|
|
2758
2772
|
modelMs: n.sort((e, t) => e - t)
|
|
2759
2773
|
} : {};
|
|
2760
2774
|
}
|
|
2761
|
-
function
|
|
2775
|
+
function Vt(e) {
|
|
2762
2776
|
let t;
|
|
2763
2777
|
for (let n of e) if (n.counts) {
|
|
2764
2778
|
t ??= {
|
|
@@ -2770,7 +2784,7 @@ function Rt(e) {
|
|
|
2770
2784
|
}, t.model += n.counts.model, t.tool += n.counts.tool, t.failed += n.counts.failed, t.retried += n.counts.retried;
|
|
2771
2785
|
for (let [e, r] of Object.entries(n.counts.tools)) t.tools[e] = (t.tools[e] ?? 0) + r;
|
|
2772
2786
|
}
|
|
2773
|
-
let n =
|
|
2787
|
+
let n = Ht(e);
|
|
2774
2788
|
return {
|
|
2775
2789
|
...t ? {
|
|
2776
2790
|
counts: t,
|
|
@@ -2779,7 +2793,7 @@ function Rt(e) {
|
|
|
2779
2793
|
...n ? { tokens: n } : {}
|
|
2780
2794
|
};
|
|
2781
2795
|
}
|
|
2782
|
-
function
|
|
2796
|
+
function Ht(e) {
|
|
2783
2797
|
let t, n = e.filter((e) => e.kind === "model" || e.tokens !== void 0);
|
|
2784
2798
|
for (let e of [
|
|
2785
2799
|
"prompt",
|
|
@@ -2791,30 +2805,30 @@ function zt(e) {
|
|
|
2791
2805
|
}
|
|
2792
2806
|
return t;
|
|
2793
2807
|
}
|
|
2794
|
-
function
|
|
2808
|
+
function Ut(e) {
|
|
2795
2809
|
return {
|
|
2796
2810
|
startMs: e.span.startMs,
|
|
2797
|
-
endMs:
|
|
2811
|
+
endMs: $(e.span) ? Infinity : e.span.endMs,
|
|
2798
2812
|
kind: e.ok ? e.kind === "model" ? "model" : "tool" : "failed",
|
|
2799
2813
|
tone: e.tone,
|
|
2800
2814
|
id: e.id,
|
|
2801
2815
|
count: 1,
|
|
2802
2816
|
retry: e.retry,
|
|
2803
2817
|
name: e.name,
|
|
2804
|
-
tool:
|
|
2818
|
+
tool: Nt(e.name),
|
|
2805
2819
|
...e.span.costUsd === void 0 ? {} : { costUsd: e.span.costUsd },
|
|
2806
2820
|
...!e.ok && e.kind === "model" ? { modelCall: !0 } : {}
|
|
2807
2821
|
};
|
|
2808
2822
|
}
|
|
2809
|
-
function
|
|
2823
|
+
function Wt(e, t, n) {
|
|
2810
2824
|
let r = t.trim(), i = r.toLowerCase();
|
|
2811
2825
|
return new Set(e.filter((e) => n ? n(e.span, r) : `${e.name} ${e.span.detail ?? ""} ${e.kind} ${e.ok ? "" : "failed"} ${e.span.status ?? ""}`.toLowerCase().includes(i)).map((e) => e.id));
|
|
2812
2826
|
}
|
|
2813
|
-
function
|
|
2827
|
+
function Gt(e, t, n, r) {
|
|
2814
2828
|
let i = new Map(e.map((e) => [e.id, e]));
|
|
2815
2829
|
if (t.trim()) {
|
|
2816
2830
|
let n = /* @__PURE__ */ new Set();
|
|
2817
|
-
for (let a of
|
|
2831
|
+
for (let a of Wt(e, t, r)) {
|
|
2818
2832
|
let e = i.get(a);
|
|
2819
2833
|
for (; e && !n.has(e.id);) n.add(e.id), e = e.parentId ? i.get(e.parentId) : void 0;
|
|
2820
2834
|
}
|
|
@@ -2826,16 +2840,16 @@ function Ht(e, t, n, r) {
|
|
|
2826
2840
|
return t && a.add(e.id), !t;
|
|
2827
2841
|
});
|
|
2828
2842
|
}
|
|
2829
|
-
function
|
|
2843
|
+
function Kt(e, t) {
|
|
2830
2844
|
let n, r = -1;
|
|
2831
2845
|
for (let i of e) {
|
|
2832
2846
|
if (i.hasChildren || i.kind === "pipeline" || i.kind === "waiting" || i.durationLabel === "—" || i.span.startMs > t) continue;
|
|
2833
|
-
let e = (
|
|
2847
|
+
let e = ($(i.span) ? Math.max(i.span.endMs, t) : Math.min(i.span.endMs, t)) - i.span.startMs;
|
|
2834
2848
|
e > r && (n = i, r = e);
|
|
2835
2849
|
}
|
|
2836
2850
|
return n;
|
|
2837
2851
|
}
|
|
2838
|
-
function
|
|
2852
|
+
function qt(e) {
|
|
2839
2853
|
let t = /* @__PURE__ */ new Map();
|
|
2840
2854
|
for (let n of e) {
|
|
2841
2855
|
if (!n.parentId) continue;
|
|
@@ -2854,13 +2868,13 @@ function Wt(e) {
|
|
|
2854
2868
|
}
|
|
2855
2869
|
return new Set(n?.chain);
|
|
2856
2870
|
}
|
|
2857
|
-
function
|
|
2871
|
+
function Jt(e, t) {
|
|
2858
2872
|
let n, r = -1, i, a = -1, o = 0, s = 0;
|
|
2859
2873
|
for (let c of e) {
|
|
2860
2874
|
if (c.durationLabel === "—" || c.span.startMs > t || c.kind !== "pipeline" || c.hasAgents || c.id.startsWith("family:") || c.id.startsWith("run:")) continue;
|
|
2861
|
-
let e = (
|
|
2862
|
-
|
|
2863
|
-
let l =
|
|
2875
|
+
let e = ($(c.span) ? Math.max(c.span.endMs, t) : Math.min(c.span.endMs, t)) - c.span.startMs;
|
|
2876
|
+
It(c.span, "Ran for") === void 0 && (s += 1, e > r && (n = c, r = e));
|
|
2877
|
+
let l = It(c.span, "Cost") === void 0 ? c.span.costUsd ?? c.rollupCostUsd : void 0;
|
|
2864
2878
|
typeof l == "number" && Number.isFinite(l) && (o += 1, l > a && (i = c, a = l));
|
|
2865
2879
|
}
|
|
2866
2880
|
return {
|
|
@@ -2868,7 +2882,7 @@ function Gt(e, t) {
|
|
|
2868
2882
|
costliestId: o > 1 && a > 0 ? i?.id : void 0
|
|
2869
2883
|
};
|
|
2870
2884
|
}
|
|
2871
|
-
function
|
|
2885
|
+
function Yt(e, t) {
|
|
2872
2886
|
let n = 0, r = -Infinity;
|
|
2873
2887
|
for (let i of e.own) {
|
|
2874
2888
|
let e = Math.max(i.startMs, r), a = Math.min(i.endMs, t);
|
|
@@ -2876,7 +2890,7 @@ function Kt(e, t) {
|
|
|
2876
2890
|
}
|
|
2877
2891
|
return n;
|
|
2878
2892
|
}
|
|
2879
|
-
function
|
|
2893
|
+
function Xt(e, t) {
|
|
2880
2894
|
let n = 0, r = !1, i = !1, a = [];
|
|
2881
2895
|
for (let o of e.spans) {
|
|
2882
2896
|
if (o.startMs > t) continue;
|
|
@@ -2891,7 +2905,7 @@ function qt(e, t) {
|
|
|
2891
2905
|
errors: l(e.errors)
|
|
2892
2906
|
};
|
|
2893
2907
|
}
|
|
2894
|
-
function
|
|
2908
|
+
function Zt(e, t) {
|
|
2895
2909
|
e = c(e);
|
|
2896
2910
|
let n = c(t.billedUsd), r = t.costBasis === "list", i = r ? "Cost · list price" : "Cost";
|
|
2897
2911
|
if (e === void 0) return n === void 0 ? {
|
|
@@ -2899,35 +2913,35 @@ function Jt(e, t) {
|
|
|
2899
2913
|
title: "No cost source: the harness recorded no cost and no price catalog was given",
|
|
2900
2914
|
label: i
|
|
2901
2915
|
} : {
|
|
2902
|
-
value: `${
|
|
2916
|
+
value: `${m(n)} billed`,
|
|
2903
2917
|
title: "No list price for these calls; billed is the seat charge",
|
|
2904
2918
|
label: i
|
|
2905
2919
|
};
|
|
2906
2920
|
let a = t.costCoverage, o = a !== void 0 && a.priced < a.total, s = !o && t.costBound === "upper";
|
|
2907
2921
|
return {
|
|
2908
|
-
value: `${o || t.costBound === "lower" ? "≥" : s ? "≤" : r ? "≈" : ""}${
|
|
2922
|
+
value: `${o || t.costBound === "lower" ? "≥" : s ? "≤" : r ? "≈" : ""}${m(e)}${n === void 0 ? "" : ` · ${m(n)} billed`}`,
|
|
2909
2923
|
title: [
|
|
2910
2924
|
o ? `${a.priced} of ${a.total} model calls priced` : a ? `all ${a.total} model calls priced` : "",
|
|
2911
2925
|
r ? "at the model catalog list price; not a bill" : "",
|
|
2912
2926
|
s ? "cached input is not split out, so it is priced as fresh input: at most this" : "",
|
|
2913
2927
|
t.costBound === "lower" ? "a floor: the producer reports at least this" : "",
|
|
2914
|
-
n === void 0 ? "" : `billed ${
|
|
2928
|
+
n === void 0 ? "" : `billed ${m(n)} (the seat charge)`
|
|
2915
2929
|
].filter(Boolean).join("; "),
|
|
2916
2930
|
label: i
|
|
2917
2931
|
};
|
|
2918
2932
|
}
|
|
2919
|
-
var
|
|
2920
|
-
function
|
|
2921
|
-
let r = e.length <= t, i =
|
|
2933
|
+
var Qt = (e) => e.replace(/[-\s]\d+$/, "");
|
|
2934
|
+
function $t(e, t, n) {
|
|
2935
|
+
let r = e.length <= t, i = en(e, /* @__PURE__ */ new Set()).filter((e) => e.id.startsWith("family:")).map((e) => e.id);
|
|
2922
2936
|
return new Set(i.filter((e) => r !== n.has(e)));
|
|
2923
2937
|
}
|
|
2924
|
-
function
|
|
2938
|
+
function en(e, t) {
|
|
2925
2939
|
let n = /* @__PURE__ */ new Map();
|
|
2926
2940
|
for (let t of e) {
|
|
2927
|
-
let e = t.parentId === void 0 ? `root:${t.id}` :
|
|
2941
|
+
let e = t.parentId === void 0 ? `root:${t.id}` : Qt(t.name);
|
|
2928
2942
|
n.set(e, [...n.get(e) ?? [], t]);
|
|
2929
2943
|
}
|
|
2930
|
-
let r = [], i = 0, a = (e) => e.tone <= 0 || ++i > 5 ? 0 : 1 + [...
|
|
2944
|
+
let r = [], i = 0, a = (e) => e.tone <= 0 || ++i > 5 ? 0 : 1 + [...Qt(e.name)].reduce((e, t) => e * 31 + t.charCodeAt(0) >>> 0, 0) % 5;
|
|
2931
2945
|
for (let [e, i] of n) {
|
|
2932
2946
|
if (i.length < 2) {
|
|
2933
2947
|
let e = i[0], t = a(e);
|
|
@@ -2941,7 +2955,7 @@ function Zt(e, t) {
|
|
|
2941
2955
|
});
|
|
2942
2956
|
continue;
|
|
2943
2957
|
}
|
|
2944
|
-
let n = a(i[0]), o = `family:${e}`, s = Math.min(...i.map((e) => e.span.startMs)), c = Math.max(...i.map((e) => e.span.endMs)), l = i.some((e) =>
|
|
2958
|
+
let n = a(i[0]), o = `family:${e}`, s = Math.min(...i.map((e) => e.span.startMs)), c = Math.max(...i.map((e) => e.span.endMs)), l = i.some((e) => $(e.span)), u = i.map((e) => e.span.costUsd ?? (It(e.span, "Cost") === void 0 ? e.rollupCostUsd : void 0)).filter((e) => e !== void 0 && Number.isFinite(e)), d = i.filter((e) => e.span.outcome ? e.span.outcome.tone === "failed" : !e.ok).length, f = i.every((e) => e.span.outcome && e.span.outcome.tone === i[0].span.outcome?.tone && !e.span.outcome.ring == !i[0].span.outcome?.ring) ? i[0].span.outcome : void 0, m = i.flatMap((e) => (e.span.facts ?? []).filter(({ label: t }) => [
|
|
2945
2959
|
"model",
|
|
2946
2960
|
"model calls",
|
|
2947
2961
|
"tool calls",
|
|
@@ -2962,7 +2976,7 @@ function Zt(e, t) {
|
|
|
2962
2976
|
parentId: i[0].parentId,
|
|
2963
2977
|
name: e,
|
|
2964
2978
|
kind: "pipeline",
|
|
2965
|
-
durationLabel:
|
|
2979
|
+
durationLabel: p(c - s),
|
|
2966
2980
|
approx: i.some((e) => e.approx),
|
|
2967
2981
|
ok: d === 0,
|
|
2968
2982
|
depth: 0,
|
|
@@ -2986,7 +3000,7 @@ function Zt(e, t) {
|
|
|
2986
3000
|
alt: t % 2 == 1
|
|
2987
3001
|
}))).sort((e, t) => e.startMs - t.startMs),
|
|
2988
3002
|
...u.length ? { rollupCostUsd: u.reduce((e, t) => e + t, 0) } : {},
|
|
2989
|
-
...
|
|
3003
|
+
...Vt(i),
|
|
2990
3004
|
span: {
|
|
2991
3005
|
id: o,
|
|
2992
3006
|
kind: "pipeline",
|
|
@@ -2997,7 +3011,7 @@ function Zt(e, t) {
|
|
|
2997
3011
|
status: l ? "running" : d ? "failed" : "done",
|
|
2998
3012
|
...f ? { outcome: f } : {},
|
|
2999
3013
|
detail: i.every((e) => e.span.detail === i[0].span.detail) ? i[0].span.detail : void 0,
|
|
3000
|
-
facts:
|
|
3014
|
+
facts: m,
|
|
3001
3015
|
meta: {
|
|
3002
3016
|
failedAgents: d,
|
|
3003
3017
|
costPartial: u.length < i.length,
|
|
@@ -3018,7 +3032,7 @@ function Zt(e, t) {
|
|
|
3018
3032
|
}
|
|
3019
3033
|
return r;
|
|
3020
3034
|
}
|
|
3021
|
-
function
|
|
3035
|
+
function tn(e) {
|
|
3022
3036
|
if (e.id.startsWith("family:")) {
|
|
3023
3037
|
let t = Number(e.span.meta?.failedAgents ?? 0);
|
|
3024
3038
|
return [`${e.descendants} agents`, ...t ? [`${t} failed`] : []];
|
|
@@ -3036,14 +3050,14 @@ function Qt(e) {
|
|
|
3036
3050
|
e.counts?.tool,
|
|
3037
3051
|
"tool"
|
|
3038
3052
|
]].map(([e, n, r]) => t.has(e.toLowerCase()) ? `${e}: ${t.get(e.toLowerCase())}` : n ? `${n} ${r} ${n === 1 ? "call" : "calls"}` : "");
|
|
3039
|
-
return [e.span.outcome?.label ?? (
|
|
3053
|
+
return [e.span.outcome?.label ?? ($(e.span) ? "running" : e.ok ? e.kind === "pipeline" ? "" : "done" : "failed"), ...n].filter(Boolean);
|
|
3040
3054
|
}
|
|
3041
|
-
function
|
|
3042
|
-
let i =
|
|
3055
|
+
function nn(e, t, n, r) {
|
|
3056
|
+
let i = en(e, n);
|
|
3043
3057
|
if (r.size === 0) return i;
|
|
3044
3058
|
let a = /* @__PURE__ */ new Map();
|
|
3045
3059
|
for (let e of t) e.parentId !== void 0 && r.has(e.parentId) && e.kind !== "pipeline" && a.set(e.parentId, [...a.get(e.parentId) ?? [], e]);
|
|
3046
|
-
return i.flatMap((e) => r.has(e.id) ? [e, ...
|
|
3060
|
+
return i.flatMap((e) => r.has(e.id) ? [e, ...rn(a.get(e.id) ?? []).map((t) => ({
|
|
3047
3061
|
...t,
|
|
3048
3062
|
stepOf: e.id,
|
|
3049
3063
|
inset: (e.inset ?? 0) + 1,
|
|
@@ -3054,7 +3068,7 @@ function $t(e, t, n, r) {
|
|
|
3054
3068
|
}))
|
|
3055
3069
|
}))] : [e]);
|
|
3056
3070
|
}
|
|
3057
|
-
function
|
|
3071
|
+
function rn(e) {
|
|
3058
3072
|
let t = [];
|
|
3059
3073
|
for (let n = 0; n < e.length;) {
|
|
3060
3074
|
let r = n;
|
|
@@ -3069,15 +3083,15 @@ function en(e) {
|
|
|
3069
3083
|
...a,
|
|
3070
3084
|
id: `run:${a.id}`,
|
|
3071
3085
|
name: `${i.length} ${u}`,
|
|
3072
|
-
durationLabel:
|
|
3086
|
+
durationLabel: p(s - o),
|
|
3073
3087
|
ok: c === 0,
|
|
3074
3088
|
hasChildren: !1,
|
|
3075
3089
|
descendants: 0,
|
|
3076
3090
|
segments: [],
|
|
3077
|
-
...
|
|
3078
|
-
tokens:
|
|
3091
|
+
...Bt(i),
|
|
3092
|
+
tokens: Ht(i),
|
|
3079
3093
|
own: i.map((e) => ({
|
|
3080
|
-
...
|
|
3094
|
+
...Ut(e),
|
|
3081
3095
|
tone: a.tone
|
|
3082
3096
|
})),
|
|
3083
3097
|
...l.length ? { rollupCostUsd: l.reduce((e, t) => e + t, 0) } : {},
|
|
@@ -3094,7 +3108,7 @@ function en(e) {
|
|
|
3094
3108
|
}
|
|
3095
3109
|
return t;
|
|
3096
3110
|
}
|
|
3097
|
-
function
|
|
3111
|
+
function an(e, t) {
|
|
3098
3112
|
let n = t.find((t) => t.id === e.id);
|
|
3099
3113
|
if (n) return n;
|
|
3100
3114
|
let r = t.find((t) => (t.span.meta?.members)?.includes(e.id));
|
|
@@ -3103,39 +3117,22 @@ function tn(e, t) {
|
|
|
3103
3117
|
tone: r.tone
|
|
3104
3118
|
} : e;
|
|
3105
3119
|
}
|
|
3106
|
-
var
|
|
3107
|
-
function
|
|
3108
|
-
let n = [...e.span.activityAt ?? e.own.flatMap((e) => [e.startMs, e.endMs])].filter(Number.isFinite).sort((e, t) => e - t), r = n.at(-1) ?? NaN, i = n.slice(1).map((e, t) => e - n[t]).sort((e, t) => e - t), a = Math.floor(i.length / 2), o = i.length ? i.length % 2 ? i[a] : (i[a - 1] + i[a]) / 2 : 0, s = e.span.medianEventGapMs, c =
|
|
3120
|
+
var on = (e, t) => It(e.span, "Cost") ?? (t === void 0 ? "" : `${e.costFloor ? "≥" : ""}${m(t)}`);
|
|
3121
|
+
function sn(e, t) {
|
|
3122
|
+
let n = [...e.span.activityAt ?? e.own.flatMap((e) => [e.startMs, e.endMs])].filter(Number.isFinite).sort((e, t) => e - t), r = n.at(-1) ?? NaN, i = n.slice(1).map((e, t) => e - n[t]).sort((e, t) => e - t), a = Math.floor(i.length / 2), o = i.length ? i.length % 2 ? i[a] : (i[a - 1] + i[a]) / 2 : 0, s = e.span.medianEventGapMs, c = cn(r, typeof s == "number" && Number.isFinite(s) && s >= 0 ? s : o, t);
|
|
3109
3123
|
return {
|
|
3110
3124
|
last: r,
|
|
3111
3125
|
...c,
|
|
3112
|
-
quiet:
|
|
3126
|
+
quiet: $(e.span) && c.quiet
|
|
3113
3127
|
};
|
|
3114
3128
|
}
|
|
3115
|
-
function
|
|
3129
|
+
function cn(e, t, n) {
|
|
3116
3130
|
let r = Number.isFinite(e) ? Math.max(0, n - e) : 0;
|
|
3117
3131
|
return {
|
|
3118
3132
|
quietMs: r,
|
|
3119
3133
|
quiet: Number.isFinite(e) && r > Math.max(3e5, 3 * t)
|
|
3120
3134
|
};
|
|
3121
3135
|
}
|
|
3122
|
-
// node_modules/.pnpm/@tangle-network+charts@2.0.17_@xyflow+react@12.12.0_@types+react-dom@19.3.0_@types+reac_8e3190d6d56297d136c67efaea3d6d83/node_modules/@tangle-network/charts/dist/graph-style-fealnLLn.js
|
|
3123
|
-
function on(e) {
|
|
3124
|
-
if (!(e === void 0 || !Number.isFinite(e) || e < 0)) return e === 0 ? "$0" : e < .01 ? `$${e.toFixed(4)}` : `$${e.toFixed(2)}`;
|
|
3125
|
-
}
|
|
3126
|
-
function sn(e) {
|
|
3127
|
-
if (!(e == null || !Number.isFinite(e) || e < 0)) return e < 1e3 ? `${Math.round(e)} tok` : e < 1e6 ? `${(e / 1e3).toFixed(+(e < 1e4))}k tok` : `${(e / 1e6).toFixed(1)}M tok`;
|
|
3128
|
-
}
|
|
3129
|
-
function cn(e, t, n = !1) {
|
|
3130
|
-
if (e == null || !Number.isFinite(e)) return "—";
|
|
3131
|
-
if (n) return new Date(e).toLocaleTimeString([], {
|
|
3132
|
-
hour: "2-digit",
|
|
3133
|
-
minute: "2-digit",
|
|
3134
|
-
hourCycle: "h23"
|
|
3135
|
-
});
|
|
3136
|
-
let r = Math.max(0, Math.floor((t - e) / 1e3));
|
|
3137
|
-
return r < 5 ? "now" : r < 60 ? `${r}s` : r < 3600 ? `${Math.floor(r / 60)}m` : `${Math.floor(r / 3600)}h`;
|
|
3138
|
-
}
|
|
3139
3136
|
var ln = /* @__PURE__ */ new Set(), un = Date.now(), dn;
|
|
3140
3137
|
function fn() {
|
|
3141
3138
|
un = Date.now();
|
|
@@ -3149,7 +3146,7 @@ function pn(e) {
|
|
|
3149
3146
|
}
|
|
3150
3147
|
var mn = () => () => {};
|
|
3151
3148
|
function hn(e) {
|
|
3152
|
-
let t = (0,
|
|
3149
|
+
let t = (0, v.useSyncExternalStore)(e === void 0 ? pn : mn, () => e ?? un, () => e ?? 0);
|
|
3153
3150
|
return e ?? t;
|
|
3154
3151
|
}
|
|
3155
3152
|
var gn = () => typeof matchMedia > "u" ? null : matchMedia("(prefers-reduced-motion: reduce)"), _n = (e) => {
|
|
@@ -3157,7 +3154,7 @@ var gn = () => typeof matchMedia > "u" ? null : matchMedia("(prefers-reduced-mot
|
|
|
3157
3154
|
return t?.addEventListener("change", e), () => t?.removeEventListener("change", e);
|
|
3158
3155
|
};
|
|
3159
3156
|
function vn() {
|
|
3160
|
-
return (0,
|
|
3157
|
+
return (0, v.useSyncExternalStore)(_n, () => gn()?.matches === !1, () => !1);
|
|
3161
3158
|
}
|
|
3162
3159
|
function yn(e, t) {
|
|
3163
3160
|
if (typeof document > "u") return 0;
|
|
@@ -3179,18 +3176,18 @@ function Cn(e, t) {
|
|
|
3179
3176
|
if (e.status !== "running") return null;
|
|
3180
3177
|
let { lastActivityAt: n, medianEventGapMs: r } = Sn(e);
|
|
3181
3178
|
if (n == null || !Number.isFinite(n)) return null;
|
|
3182
|
-
let { quietMs: i, quiet: a } =
|
|
3179
|
+
let { quietMs: i, quiet: a } = cn(n, r, t);
|
|
3183
3180
|
return a ? {
|
|
3184
3181
|
quietMs: i,
|
|
3185
|
-
label: `Quiet ${
|
|
3182
|
+
label: `Quiet ${p(i)}`
|
|
3186
3183
|
} : null;
|
|
3187
3184
|
}
|
|
3188
3185
|
function wn(e, t) {
|
|
3189
3186
|
let n = vn();
|
|
3190
|
-
(0,
|
|
3187
|
+
(0, v.useEffect)(() => {
|
|
3191
3188
|
let r = e.current;
|
|
3192
3189
|
if (!r || !n || t !== "needs-you" && t !== "failed") return;
|
|
3193
|
-
let i =
|
|
3190
|
+
let i = At(t).token, a = yn("--duration-ambient", r) * (t === "needs-you" ? .45 : .3);
|
|
3194
3191
|
r.dataset.attn = t;
|
|
3195
3192
|
let o = getComputedStyle(r).boxShadow, s = o === "none" ? "" : `, ${o}`, c = r.animate([{ boxShadow: `0 0 0 0 color-mix(in srgb, var(${i}) 40%, transparent)${s}` }, { boxShadow: `0 0 0 6px transparent${s}` }], {
|
|
3196
3193
|
duration: a,
|
|
@@ -3208,15 +3205,32 @@ function wn(e, t) {
|
|
|
3208
3205
|
n
|
|
3209
3206
|
]);
|
|
3210
3207
|
}
|
|
3211
|
-
|
|
3208
|
+
// node_modules/.pnpm/@tangle-network+charts@3.0.3_@tangle-network+brand@1.31.3_react@19.3.1__@xyflow+react@1_0426ef703f5a4daff255264764f45251/node_modules/@tangle-network/charts/dist/graph-style-By3upGmd.js
|
|
3209
|
+
function Tn(e) {
|
|
3210
|
+
return e === void 0 || !Number.isFinite(e) || e < 0 ? void 0 : m(e);
|
|
3211
|
+
}
|
|
3212
|
+
function En(e) {
|
|
3213
|
+
return l(e) === void 0 ? void 0 : `${h(e)} tok`;
|
|
3214
|
+
}
|
|
3215
|
+
function Dn(e, t, n = !1) {
|
|
3216
|
+
if (e == null || !Number.isFinite(e)) return "—";
|
|
3217
|
+
if (n) return new Date(e).toLocaleTimeString([], {
|
|
3218
|
+
hour: "2-digit",
|
|
3219
|
+
minute: "2-digit",
|
|
3220
|
+
hourCycle: "h23"
|
|
3221
|
+
});
|
|
3222
|
+
let r = Math.max(0, Math.floor((t - e) / 1e3));
|
|
3223
|
+
return r < 5 ? "now" : r < 60 ? `${r}s` : r < 3600 ? `${Math.floor(r / 60)}m` : `${Math.floor(r / 3600)}h`;
|
|
3224
|
+
}
|
|
3225
|
+
function On(e, t = 2, n = 350) {
|
|
3212
3226
|
return e().catch((r) => {
|
|
3213
3227
|
if (t <= 0) throw r;
|
|
3214
3228
|
return new Promise((r, i) => {
|
|
3215
|
-
setTimeout(() =>
|
|
3229
|
+
setTimeout(() => On(e, t - 1, n).then(r, i), n);
|
|
3216
3230
|
});
|
|
3217
3231
|
});
|
|
3218
3232
|
}
|
|
3219
|
-
var
|
|
3233
|
+
var kn = class extends v.Component {
|
|
3220
3234
|
state = { hasError: !1 };
|
|
3221
3235
|
static getDerivedStateFromError() {
|
|
3222
3236
|
return { hasError: !0 };
|
|
@@ -3224,39 +3238,39 @@ var En = class extends f.Component {
|
|
|
3224
3238
|
render() {
|
|
3225
3239
|
return this.state.hasError ? this.props.fallback : this.props.children;
|
|
3226
3240
|
}
|
|
3227
|
-
},
|
|
3228
|
-
function
|
|
3229
|
-
return
|
|
3241
|
+
}, An;
|
|
3242
|
+
function jn() {
|
|
3243
|
+
return An ??= import("./elk.bundled-CqF3Dyp2.js").then((t) => /* @__PURE__ */ e(t.default, 1)).then((e) => {
|
|
3230
3244
|
let t = e.default;
|
|
3231
3245
|
return new t();
|
|
3232
|
-
}).catch(() => null),
|
|
3246
|
+
}).catch(() => null), An;
|
|
3233
3247
|
}
|
|
3234
|
-
var
|
|
3235
|
-
function
|
|
3248
|
+
var Mn = /* @__PURE__ */ new Set(/* @__PURE__ */ "ai.api.cd.ci.cli.cpu.css.csv.db.dns.gpu.html.http.https.id.io.ip.json.llm.mcp.ml.pr.qa.sdk.sla.sql.ssh.ui.url.uuid.vm.yaml".split("."));
|
|
3249
|
+
function Nn(e) {
|
|
3236
3250
|
return e.replace(/[._\-/]+/g, " ").replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2").trim().split(/\s+/).filter(Boolean);
|
|
3237
3251
|
}
|
|
3238
|
-
function
|
|
3239
|
-
let n =
|
|
3252
|
+
function Pn(e, t = "sentence") {
|
|
3253
|
+
let n = Nn(e);
|
|
3240
3254
|
return n.length === 0 ? e : n.map((e, n) => {
|
|
3241
3255
|
let r = e.toLowerCase();
|
|
3242
|
-
if (
|
|
3256
|
+
if (Mn.has(r)) return r.toUpperCase();
|
|
3243
3257
|
let i = r.charAt(0).toUpperCase() + r.slice(1);
|
|
3244
3258
|
return t === "title" ? i : n > 0 || t === "lower" ? r : i;
|
|
3245
3259
|
}).join(" ");
|
|
3246
3260
|
}
|
|
3247
|
-
function
|
|
3261
|
+
function Fn(e) {
|
|
3248
3262
|
let t = e.lastIndexOf("/");
|
|
3249
3263
|
return t === -1 ? e : e.slice(t + 1);
|
|
3250
3264
|
}
|
|
3251
|
-
function
|
|
3265
|
+
function In(e) {
|
|
3252
3266
|
if (typeof document > "u" || typeof window > "u") return "light";
|
|
3253
3267
|
let t = window.getComputedStyle(e ?? document.documentElement).colorScheme;
|
|
3254
3268
|
return t.startsWith("dark") ? "dark" : t.startsWith("light") ? "light" : (e ?? document.documentElement).closest(".dark") ? "dark" : "light";
|
|
3255
3269
|
}
|
|
3256
|
-
function
|
|
3257
|
-
let [n, r] = (0,
|
|
3258
|
-
return (0,
|
|
3259
|
-
let n = t ? e.current : null, i = () => r(
|
|
3270
|
+
function Ln(e, t) {
|
|
3271
|
+
let [n, r] = (0, v.useState)(() => In(null));
|
|
3272
|
+
return (0, v.useLayoutEffect)(() => {
|
|
3273
|
+
let n = t ? e.current : null, i = () => r(In(n));
|
|
3260
3274
|
i();
|
|
3261
3275
|
let a = new MutationObserver(i);
|
|
3262
3276
|
for (let e = n ?? document.documentElement; e; e = e.parentElement) a.observe(e, {
|
|
@@ -3271,15 +3285,15 @@ function Pn(e, t) {
|
|
|
3271
3285
|
return () => a.disconnect();
|
|
3272
3286
|
}, [e, t]), n;
|
|
3273
3287
|
}
|
|
3274
|
-
var
|
|
3288
|
+
var Rn = {
|
|
3275
3289
|
outline: "1px solid hsl(var(--foreground) / .45)",
|
|
3276
3290
|
outlineOffset: 2
|
|
3277
|
-
},
|
|
3278
|
-
function
|
|
3279
|
-
return e === "failed" || e === "waiting" ? `var(${
|
|
3291
|
+
}, zn = "inset 0 1px 0 hsl(var(--foreground) / 0.06), 0 1px 3px hsl(var(--shadow-color) / 0.08)", Bn = "hsl(var(--foreground) / 0.14)";
|
|
3292
|
+
function Vn(e) {
|
|
3293
|
+
return e === "failed" || e === "waiting" ? `var(${At(e === "waiting" ? "needs-you" : "failed").token})` : "color-mix(in srgb, hsl(var(--muted-foreground)) 80%, transparent)";
|
|
3280
3294
|
}
|
|
3281
|
-
// node_modules/.pnpm/@tangle-network+charts@
|
|
3282
|
-
var
|
|
3295
|
+
// node_modules/.pnpm/@tangle-network+charts@3.0.3_@tangle-network+brand@1.31.3_react@19.3.1__@xyflow+react@1_0426ef703f5a4daff255264764f45251/node_modules/@tangle-network/charts/dist/latest-events-CabhXynX.js
|
|
3296
|
+
var Hn = {
|
|
3283
3297
|
name: "bot",
|
|
3284
3298
|
size: 24,
|
|
3285
3299
|
node: [
|
|
@@ -3313,8 +3327,8 @@ var zn = {
|
|
|
3313
3327
|
}]
|
|
3314
3328
|
]
|
|
3315
3329
|
};
|
|
3316
|
-
|
|
3317
|
-
var
|
|
3330
|
+
Hn.node;
|
|
3331
|
+
var Un = Q(Hn), Wn = {
|
|
3318
3332
|
name: "wrench",
|
|
3319
3333
|
size: 24,
|
|
3320
3334
|
node: [["path", {
|
|
@@ -3322,30 +3336,30 @@ var Bn = Z(zn), Vn = {
|
|
|
3322
3336
|
key: "1ngwbx"
|
|
3323
3337
|
}]]
|
|
3324
3338
|
};
|
|
3325
|
-
|
|
3326
|
-
var
|
|
3327
|
-
function
|
|
3328
|
-
let { renderAgentMark: r } = (0,
|
|
3329
|
-
return e && r ? r(e, t, n) : /* @__PURE__ */ (0,
|
|
3339
|
+
Wn.node;
|
|
3340
|
+
var Gn = Q(Wn), Kn = (0, v.createContext)({}), qn = Kn.Provider;
|
|
3341
|
+
function Jn({ agent: e, layout: t, size: n }) {
|
|
3342
|
+
let { renderAgentMark: r } = (0, v.useContext)(Kn);
|
|
3343
|
+
return e && r ? r(e, t, n) : /* @__PURE__ */ (0, _.jsx)(Un, {
|
|
3330
3344
|
size: t === "tree" ? n : 16,
|
|
3331
3345
|
"aria-hidden": !0
|
|
3332
3346
|
});
|
|
3333
3347
|
}
|
|
3334
|
-
function
|
|
3335
|
-
let { renderToolMark: r } = (0,
|
|
3336
|
-
return r ? r(e, t, n) : /* @__PURE__ */ (0,
|
|
3348
|
+
function Yn({ tool: e, label: t, size: n }) {
|
|
3349
|
+
let { renderToolMark: r } = (0, v.useContext)(Kn);
|
|
3350
|
+
return r ? r(e, t, n) : /* @__PURE__ */ (0, _.jsx)(Gn, {
|
|
3337
3351
|
size: n * .4,
|
|
3338
3352
|
"aria-hidden": !0
|
|
3339
3353
|
});
|
|
3340
3354
|
}
|
|
3341
|
-
var
|
|
3342
|
-
width:
|
|
3343
|
-
height:
|
|
3344
|
-
},
|
|
3355
|
+
var Xn = {
|
|
3356
|
+
width: 232,
|
|
3357
|
+
height: 120
|
|
3358
|
+
}, Zn = {
|
|
3345
3359
|
width: 296,
|
|
3346
3360
|
height: 164
|
|
3347
|
-
},
|
|
3348
|
-
function
|
|
3361
|
+
}, Qn = 10, $n = 12, er = 56, tr = 24;
|
|
3362
|
+
function nr(e, t) {
|
|
3349
3363
|
let n = /* @__PURE__ */ new Set(), r = [];
|
|
3350
3364
|
for (let t of e) n.has(t.id) || (n.add(t.id), r.push(t.id));
|
|
3351
3365
|
let i = /* @__PURE__ */ new Set(), a = [], o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
|
|
@@ -3377,43 +3391,40 @@ function $n(e, t) {
|
|
|
3377
3391
|
groupOf: l
|
|
3378
3392
|
};
|
|
3379
3393
|
}
|
|
3380
|
-
function
|
|
3394
|
+
function rr(e, t, n, r = !1) {
|
|
3381
3395
|
if (r) return {
|
|
3382
3396
|
width: n.width + 24,
|
|
3383
3397
|
height: 80
|
|
3384
3398
|
};
|
|
3385
3399
|
let i = Math.max(1, Math.min(t, e)), a = Math.ceil(e / i);
|
|
3386
3400
|
return {
|
|
3387
|
-
width: i * n.width + (i - 1) *
|
|
3388
|
-
height: 80 + a * n.height + (a - 1) *
|
|
3401
|
+
width: i * n.width + (i - 1) * Qn + 24,
|
|
3402
|
+
height: 80 + a * n.height + (a - 1) * Qn + $n
|
|
3389
3403
|
};
|
|
3390
3404
|
}
|
|
3391
|
-
function
|
|
3392
|
-
let
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
});
|
|
3402
|
-
let o = (t) => e.groupOf.get(t) ?? a.get(t) ?? t, s = /* @__PURE__ */ new Set(), c = [];
|
|
3403
|
-
for (let t of e.spawns) {
|
|
3404
|
-
let e = o(t.from), n = o(t.to), r = `${e}\u0000${n}`;
|
|
3405
|
-
e === n || s.has(r) || (s.add(r), c.push({
|
|
3406
|
-
from: e,
|
|
3407
|
-
to: n
|
|
3408
|
-
}));
|
|
3409
|
-
}
|
|
3405
|
+
function ir(e, t, n, r, i) {
|
|
3406
|
+
let a = new Map(i ? e.groups.map((e) => [e.parentId, e.id]) : []), o = e.agentIds.filter((t) => !e.groupOf.has(t) && !a.has(t)).map((e) => ({
|
|
3407
|
+
id: e,
|
|
3408
|
+
...n
|
|
3409
|
+
}));
|
|
3410
|
+
o.push(...e.groups.map((e) => ({
|
|
3411
|
+
id: e.id,
|
|
3412
|
+
...rr(e.memberIds.length, t, n, r.has(e.id))
|
|
3413
|
+
})));
|
|
3414
|
+
let s = (t) => e.groupOf.get(t) ?? a.get(t) ?? t, c = /* @__PURE__ */ new Set();
|
|
3410
3415
|
return {
|
|
3411
|
-
units:
|
|
3412
|
-
links:
|
|
3416
|
+
units: o,
|
|
3417
|
+
links: e.spawns.flatMap((e) => {
|
|
3418
|
+
let t = s(e.from), n = s(e.to), r = `${t}\u0000${n}`;
|
|
3419
|
+
return t === n || c.has(r) ? [] : (c.add(r), [{
|
|
3420
|
+
from: t,
|
|
3421
|
+
to: n
|
|
3422
|
+
}]);
|
|
3423
|
+
})
|
|
3413
3424
|
};
|
|
3414
3425
|
}
|
|
3415
|
-
async function
|
|
3416
|
-
let r = await
|
|
3426
|
+
async function ar(e, t, n) {
|
|
3427
|
+
let r = await jn();
|
|
3417
3428
|
if (!r) return null;
|
|
3418
3429
|
let i = {
|
|
3419
3430
|
id: "root",
|
|
@@ -3423,8 +3434,8 @@ async function nr(e, t, n) {
|
|
|
3423
3434
|
"elk.layered.considerModelOrder.strategy": "NODES_AND_EDGES",
|
|
3424
3435
|
"elk.layered.nodePlacement.strategy": "BRANDES_KOEPF",
|
|
3425
3436
|
"elk.layered.nodePlacement.bk.fixedAlignment": "BALANCED",
|
|
3426
|
-
"elk.layered.spacing.nodeNodeBetweenLayers": String(
|
|
3427
|
-
"elk.spacing.nodeNode": String(
|
|
3437
|
+
"elk.layered.spacing.nodeNodeBetweenLayers": String(er),
|
|
3438
|
+
"elk.spacing.nodeNode": String(tr),
|
|
3428
3439
|
"elk.spacing.componentComponent": "48",
|
|
3429
3440
|
"elk.separateConnectedComponents": "true",
|
|
3430
3441
|
"elk.padding": "[top=0,left=0,bottom=0,right=0]"
|
|
@@ -3451,7 +3462,7 @@ async function nr(e, t, n) {
|
|
|
3451
3462
|
return null;
|
|
3452
3463
|
}
|
|
3453
3464
|
}
|
|
3454
|
-
function
|
|
3465
|
+
function or(e, t, n) {
|
|
3455
3466
|
let r = /* @__PURE__ */ new Map();
|
|
3456
3467
|
for (let e of t) r.set(e.to, [...r.get(e.to) ?? [], e.from]);
|
|
3457
3468
|
let i = /* @__PURE__ */ new Map(), a = (e, t) => {
|
|
@@ -3463,7 +3474,7 @@ function rr(e, t, n) {
|
|
|
3463
3474
|
return t.delete(e), i.set(e, o), o;
|
|
3464
3475
|
}, o = [];
|
|
3465
3476
|
for (let t of e) (o[a(t.id, /* @__PURE__ */ new Set())] ??= []).push(t);
|
|
3466
|
-
let s = (e) => n === "TB" ? e.width : e.height, c = (e) => n === "TB" ? e.height : e.width, l = o.map((e) => e.reduce((e, t) => e + s(t), 0) + (e.length - 1) *
|
|
3477
|
+
let s = (e) => n === "TB" ? e.width : e.height, c = (e) => n === "TB" ? e.height : e.width, l = o.map((e) => e.reduce((e, t) => e + s(t), 0) + (e.length - 1) * tr), u = Math.max(...l), d = /* @__PURE__ */ new Map(), f = 0;
|
|
3467
3478
|
return o.forEach((e, t) => {
|
|
3468
3479
|
let r = (u - l[t]) / 2;
|
|
3469
3480
|
for (let t of e) d.set(t.id, n === "TB" ? {
|
|
@@ -3472,60 +3483,63 @@ function rr(e, t, n) {
|
|
|
3472
3483
|
} : {
|
|
3473
3484
|
x: f,
|
|
3474
3485
|
y: r
|
|
3475
|
-
}), r += s(t) +
|
|
3476
|
-
f += Math.max(...e.map(c)) +
|
|
3486
|
+
}), r += s(t) + tr;
|
|
3487
|
+
f += Math.max(...e.map(c)) + er;
|
|
3477
3488
|
}), d;
|
|
3478
3489
|
}
|
|
3479
|
-
async function
|
|
3480
|
-
let { units:
|
|
3481
|
-
for (let e of
|
|
3482
|
-
let t =
|
|
3490
|
+
async function sr(e, t, n, r = Xn, i = /* @__PURE__ */ new Set(), a = !0) {
|
|
3491
|
+
let { units: o, links: s } = ir(e, n, r, i, a), c = await ar(o, s, t) ?? or(o, s, t), l = /* @__PURE__ */ new Map(), u = [], d = 0, f = 0;
|
|
3492
|
+
for (let e of o) {
|
|
3493
|
+
let t = c.get(e.id) ?? {
|
|
3483
3494
|
x: 0,
|
|
3484
3495
|
y: 0
|
|
3485
3496
|
};
|
|
3486
|
-
|
|
3497
|
+
d = Math.max(d, t.x + e.width), f = Math.max(f, t.y + e.height), l.set(e.id, t);
|
|
3487
3498
|
}
|
|
3488
3499
|
for (let t of e.groups) {
|
|
3489
|
-
let e =
|
|
3500
|
+
let e = l.get(t.id) ?? {
|
|
3490
3501
|
x: 0,
|
|
3491
3502
|
y: 0
|
|
3492
3503
|
};
|
|
3493
|
-
|
|
3494
|
-
let
|
|
3495
|
-
if (
|
|
3504
|
+
l.delete(t.id);
|
|
3505
|
+
let o = i.has(t.id), s = rr(t.memberIds.length, n, r, o);
|
|
3506
|
+
if (u.push({
|
|
3496
3507
|
group: t,
|
|
3497
3508
|
...e,
|
|
3498
|
-
...
|
|
3499
|
-
collapsed:
|
|
3500
|
-
}),
|
|
3501
|
-
x: e.x +
|
|
3509
|
+
...s,
|
|
3510
|
+
collapsed: o
|
|
3511
|
+
}), l.set(t.parentId, a ? {
|
|
3512
|
+
x: e.x + $n,
|
|
3502
3513
|
y: e.y + 8
|
|
3503
|
-
}
|
|
3504
|
-
|
|
3514
|
+
} : {
|
|
3515
|
+
...l.get(t.parentId),
|
|
3516
|
+
y: e.y
|
|
3517
|
+
}), o) continue;
|
|
3518
|
+
let c = Math.max(1, Math.min(n, t.memberIds.length));
|
|
3505
3519
|
t.memberIds.forEach((t, n) => {
|
|
3506
|
-
|
|
3507
|
-
x: e.x +
|
|
3508
|
-
y: e.y + 80 + Math.floor(n /
|
|
3520
|
+
l.set(t, {
|
|
3521
|
+
x: e.x + $n + n % c * (r.width + Qn),
|
|
3522
|
+
y: e.y + 80 + Math.floor(n / c) * (r.height + Qn)
|
|
3509
3523
|
});
|
|
3510
3524
|
});
|
|
3511
3525
|
}
|
|
3512
3526
|
return {
|
|
3513
3527
|
columns: n,
|
|
3514
|
-
positions:
|
|
3515
|
-
frames:
|
|
3516
|
-
width:
|
|
3517
|
-
height:
|
|
3528
|
+
positions: l,
|
|
3529
|
+
frames: u,
|
|
3530
|
+
width: d,
|
|
3531
|
+
height: f
|
|
3518
3532
|
};
|
|
3519
3533
|
}
|
|
3520
|
-
function
|
|
3521
|
-
let r =
|
|
3522
|
-
return /* @__PURE__ */ (0,
|
|
3534
|
+
function cr({ entry: e, now: t, onSelect: n }) {
|
|
3535
|
+
let r = At(e.observed ? e.status : "unknown"), i = Dn(e.at, t);
|
|
3536
|
+
return /* @__PURE__ */ (0, _.jsx)("li", { children: /* @__PURE__ */ (0, _.jsxs)("button", {
|
|
3523
3537
|
type: "button",
|
|
3524
3538
|
disabled: !n,
|
|
3525
3539
|
onClick: () => n?.(e),
|
|
3526
3540
|
title: e.name + ": " + e.label,
|
|
3527
3541
|
children: [
|
|
3528
|
-
/* @__PURE__ */ (0,
|
|
3542
|
+
/* @__PURE__ */ (0, _.jsx)("span", {
|
|
3529
3543
|
className: "ag-latest-dot",
|
|
3530
3544
|
style: {
|
|
3531
3545
|
background: e.observed ? "var(" + r.token + ")" : "transparent",
|
|
@@ -3533,21 +3547,21 @@ function ar({ entry: e, now: t, onSelect: n }) {
|
|
|
3533
3547
|
},
|
|
3534
3548
|
"aria-hidden": !0
|
|
3535
3549
|
}),
|
|
3536
|
-
/* @__PURE__ */ (0,
|
|
3537
|
-
e.observed && /* @__PURE__ */ (0,
|
|
3550
|
+
/* @__PURE__ */ (0, _.jsx)("strong", { children: e.name }),
|
|
3551
|
+
e.observed && /* @__PURE__ */ (0, _.jsxs)("span", {
|
|
3538
3552
|
className: "ag-latest-state",
|
|
3539
3553
|
style: { color: "var(" + r.token + ")" },
|
|
3540
|
-
children: [e.status !== "running" && /* @__PURE__ */ (0,
|
|
3554
|
+
children: [e.status !== "running" && /* @__PURE__ */ (0, _.jsx)(jt, {
|
|
3541
3555
|
status: e.status,
|
|
3542
3556
|
size: 14,
|
|
3543
3557
|
"aria-hidden": !0
|
|
3544
3558
|
}), r.label]
|
|
3545
3559
|
}),
|
|
3546
|
-
/* @__PURE__ */ (0,
|
|
3560
|
+
/* @__PURE__ */ (0, _.jsx)("span", {
|
|
3547
3561
|
className: "ag-latest-label",
|
|
3548
3562
|
children: e.label
|
|
3549
3563
|
}),
|
|
3550
|
-
/* @__PURE__ */ (0,
|
|
3564
|
+
/* @__PURE__ */ (0, _.jsxs)("time", { children: [
|
|
3551
3565
|
e.observed ? "Observed " : "",
|
|
3552
3566
|
i,
|
|
3553
3567
|
i !== "now" && i !== "—" ? " ago" : ""
|
|
@@ -3555,18 +3569,18 @@ function ar({ entry: e, now: t, onSelect: n }) {
|
|
|
3555
3569
|
]
|
|
3556
3570
|
}) });
|
|
3557
3571
|
}
|
|
3558
|
-
function
|
|
3559
|
-
let o = hn(n), s = Number.isFinite(t) ? Math.max(1, Math.trunc(t)) : 5, c = (0,
|
|
3572
|
+
function lr({ agents: e, n: t = 5, now: n, live: r = n === void 0, selectedId: i, onSelect: a }) {
|
|
3573
|
+
let o = hn(n), s = Number.isFinite(t) ? Math.max(1, Math.trunc(t)) : 5, c = (0, v.useMemo)(() => e.flatMap((e) => (e.events ?? []).map((t) => ({
|
|
3560
3574
|
id: e.id + ":" + t.id,
|
|
3561
3575
|
agentId: e.id,
|
|
3562
3576
|
name: e.label,
|
|
3563
3577
|
label: t.label,
|
|
3564
3578
|
at: t.at,
|
|
3565
3579
|
status: e.status
|
|
3566
|
-
}))).sort((e, t) => (Number.isFinite(t.at) ? t.at : -Infinity) - (Number.isFinite(e.at) ? e.at : -Infinity) || e.id.localeCompare(t.id)).slice(0, s), [e, s]), [l, u] = (0,
|
|
3580
|
+
}))).sort((e, t) => (Number.isFinite(t.at) ? t.at : -Infinity) - (Number.isFinite(e.at) ? e.at : -Infinity) || e.id.localeCompare(t.id)).slice(0, s), [e, s]), [l, u] = (0, v.useState)(c), [d, f] = (0, v.useState)([]), [p, m] = (0, v.useState)(""), [h, g] = (0, v.useState)(!1), [y, b] = (0, v.useState)(!1), x = h || y, S = (0, v.useRef)(c), C = (0, v.useRef)(void 0), w = (0, v.useRef)(void 0), T = (0, v.useRef)(/* @__PURE__ */ new Map());
|
|
3567
3581
|
S.current = c;
|
|
3568
|
-
let E = (0,
|
|
3569
|
-
(0,
|
|
3582
|
+
let E = (0, v.useRef)(new Map(e.map((e) => [e.id, e.status])));
|
|
3583
|
+
(0, v.useEffect)(() => {
|
|
3570
3584
|
let t = e.filter((e) => E.current.has(e.id) && E.current.get(e.id) !== e.status).map((e) => ({
|
|
3571
3585
|
id: e.id + ":status:" + o,
|
|
3572
3586
|
agentId: e.id,
|
|
@@ -3577,17 +3591,17 @@ function or({ agents: e, n: t = 5, now: n, live: r = n === void 0, selectedId: i
|
|
|
3577
3591
|
observed: !0
|
|
3578
3592
|
}));
|
|
3579
3593
|
if (E.current = new Map(e.map((e) => [e.id, e.status])), !r) {
|
|
3580
|
-
|
|
3594
|
+
f((e) => e.length ? [] : e), T.current.clear(), clearTimeout(w.current), w.current = void 0;
|
|
3581
3595
|
return;
|
|
3582
3596
|
}
|
|
3583
3597
|
let n = new Set(e.map((e) => e.id));
|
|
3584
|
-
if (
|
|
3598
|
+
if (f((e) => {
|
|
3585
3599
|
let r = [...t, ...e.filter((e) => n.has(e.agentId) && !t.some((t) => t.agentId === e.agentId))].slice(0, s);
|
|
3586
3600
|
return !t.length && r.length === e.length ? e : r;
|
|
3587
3601
|
}), t.length) {
|
|
3588
|
-
for (let e of t) T.current.set(e.agentId, e.name + ": " +
|
|
3602
|
+
for (let e of t) T.current.set(e.agentId, e.name + ": " + At(e.status).label);
|
|
3589
3603
|
w.current === void 0 && (w.current = setTimeout(() => {
|
|
3590
|
-
|
|
3604
|
+
m([...T.current.values()].join("; ")), T.current.clear(), w.current = void 0;
|
|
3591
3605
|
}, yn("--duration-ambient")));
|
|
3592
3606
|
}
|
|
3593
3607
|
}, [
|
|
@@ -3595,63 +3609,63 @@ function or({ agents: e, n: t = 5, now: n, live: r = n === void 0, selectedId: i
|
|
|
3595
3609
|
o,
|
|
3596
3610
|
s,
|
|
3597
3611
|
r
|
|
3598
|
-
]), (0,
|
|
3599
|
-
i &&
|
|
3600
|
-
}, [i]), (0,
|
|
3612
|
+
]), (0, v.useEffect)(() => {
|
|
3613
|
+
i && f((e) => e.filter((e) => e.agentId !== i));
|
|
3614
|
+
}, [i]), (0, v.useEffect)(() => {
|
|
3601
3615
|
x ? (clearTimeout(C.current), C.current = void 0) : C.current === void 0 && (C.current = setTimeout(() => {
|
|
3602
3616
|
u(S.current), C.current = void 0;
|
|
3603
3617
|
}, yn("--duration-ambient") / 2));
|
|
3604
|
-
}, [c, x]), (0,
|
|
3618
|
+
}, [c, x]), (0, v.useEffect)(() => () => {
|
|
3605
3619
|
clearTimeout(C.current), clearTimeout(w.current);
|
|
3606
3620
|
}, []);
|
|
3607
|
-
let D = [...
|
|
3608
|
-
(0,
|
|
3621
|
+
let D = [...d, ...l.filter((e) => !d.some((t) => t.agentId === e.agentId))].slice(0, s), O = (0, v.useRef)(D);
|
|
3622
|
+
(0, v.useLayoutEffect)(() => {
|
|
3609
3623
|
x || (O.current = D);
|
|
3610
3624
|
}, [D, x]);
|
|
3611
3625
|
let k = x ? O.current : D;
|
|
3612
|
-
return /* @__PURE__ */ (0,
|
|
3626
|
+
return /* @__PURE__ */ (0, _.jsxs)("section", {
|
|
3613
3627
|
className: "ag-latest",
|
|
3614
3628
|
"aria-label": "Latest activity",
|
|
3615
3629
|
tabIndex: 0,
|
|
3616
|
-
onPointerEnter: () =>
|
|
3617
|
-
onPointerLeave: () =>
|
|
3630
|
+
onPointerEnter: () => g(!0),
|
|
3631
|
+
onPointerLeave: () => g(!1),
|
|
3618
3632
|
onFocusCapture: () => b(!0),
|
|
3619
3633
|
onBlurCapture: (e) => {
|
|
3620
3634
|
e.currentTarget.contains(e.relatedTarget) || b(!1);
|
|
3621
3635
|
},
|
|
3622
3636
|
children: [
|
|
3623
|
-
/* @__PURE__ */ (0,
|
|
3624
|
-
/* @__PURE__ */ (0,
|
|
3625
|
-
/* @__PURE__ */ (0,
|
|
3626
|
-
x && /* @__PURE__ */ (0,
|
|
3637
|
+
/* @__PURE__ */ (0, _.jsxs)("header", { children: [
|
|
3638
|
+
/* @__PURE__ */ (0, _.jsx)("strong", { children: "Latest activity" }),
|
|
3639
|
+
/* @__PURE__ */ (0, _.jsx)("span", { children: x ? "Paused while reading" : "Recorded events · age" }),
|
|
3640
|
+
x && /* @__PURE__ */ (0, _.jsx)("button", {
|
|
3627
3641
|
type: "button",
|
|
3628
3642
|
onClick: () => {
|
|
3629
|
-
u([...S.current]), O.current = [...
|
|
3643
|
+
u([...S.current]), O.current = [...d, ...S.current.filter((e) => !d.some((t) => t.agentId === e.agentId))].slice(0, s);
|
|
3630
3644
|
},
|
|
3631
3645
|
children: "Show latest"
|
|
3632
3646
|
})
|
|
3633
3647
|
] }),
|
|
3634
|
-
/* @__PURE__ */ (0,
|
|
3648
|
+
/* @__PURE__ */ (0, _.jsx)("ol", {
|
|
3635
3649
|
tabIndex: 0,
|
|
3636
3650
|
"aria-label": "Recorded activity events",
|
|
3637
|
-
children: k.length ? k.map((e) => /* @__PURE__ */ (0,
|
|
3651
|
+
children: k.length ? k.map((e) => /* @__PURE__ */ (0, _.jsx)(cr, {
|
|
3638
3652
|
entry: e,
|
|
3639
3653
|
now: o,
|
|
3640
3654
|
onSelect: a ? (e) => {
|
|
3641
|
-
|
|
3655
|
+
f((t) => t.filter((t) => t.agentId !== e.agentId)), a(e.agentId);
|
|
3642
3656
|
} : void 0
|
|
3643
|
-
}, e.id)) : /* @__PURE__ */ (0,
|
|
3657
|
+
}, e.id)) : /* @__PURE__ */ (0, _.jsx)("li", {
|
|
3644
3658
|
className: "ag-latest-empty",
|
|
3645
3659
|
children: "No activity events were reported."
|
|
3646
3660
|
})
|
|
3647
3661
|
}),
|
|
3648
|
-
/* @__PURE__ */ (0,
|
|
3662
|
+
/* @__PURE__ */ (0, _.jsx)("span", {
|
|
3649
3663
|
className: "sr-only",
|
|
3650
3664
|
role: "status",
|
|
3651
3665
|
"aria-live": "polite",
|
|
3652
|
-
children:
|
|
3666
|
+
children: p
|
|
3653
3667
|
})
|
|
3654
3668
|
]
|
|
3655
3669
|
});
|
|
3656
3670
|
}
|
|
3657
|
-
export {
|
|
3671
|
+
export { Mt as $, Zt as A, Kt as B, Sn as C, nn as D, tn as E, zt as F, xn as G, Ft as H, sn as I, Xt as J, yn as K, on as L, qt as M, $t as N, bn as O, an as P, Gt as Q, kt as R, jt as S, Cn as T, $ as U, It as V, At as W, vn as X, wn as Y, hn as Z, En as _, lr as a, l as at, Fn as b, nr as c, a as ct, Bn as d, d as et, zn as f, Dn as g, Tn as h, Zn as i, p as it, Q as j, Yt as k, sr as l, r as lt, Vn as m, Jn as n, m as nt, Yn as o, u as ot, Rn as p, Pt as q, qn as r, h as rt, Gn as s, s as st, Xn as t, g as tt, kn as u, Pn as v, Jt as w, Ln as x, On as y, Wt as z };
|