@tangle-network/sandbox-ui 2.0.22 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/{AgentTree-KO1TJXBq.js → AgentTree-CJRVpgPq.js} +8 -8
- package/dist/ResearchReport-CSNpZ-pj.js +2063 -0
- package/dist/ResearchReport-CmFYqNVY.d.ts +36 -0
- package/dist/{chat-BU39pb2j.js → chat-BrlLa4rg.js} +2 -2
- package/dist/chat.d.ts +1 -1
- package/dist/chat.js +1 -1
- package/dist/globals.css +20 -272
- package/dist/hooks.d.ts +2 -2
- package/dist/hooks.js +2 -2
- package/dist/{index-Due7tY0w.d.ts → index-5zOVKgDT.d.ts} +2 -2
- package/dist/{index-BoKSR0s9.d.ts → index-YU_b9xCK.d.ts} +2 -2
- package/dist/index.d.ts +4 -4
- package/dist/index.js +7 -7
- package/dist/record/ResearchReport.d.ts +2 -0
- package/dist/record/ResearchReport.js +1 -0
- package/dist/{record-BGcR48YY.js → record-Ct_MZeZC.js} +1 -1
- package/dist/record.d.ts +2 -35
- package/dist/record.js +2 -2061
- package/dist/report-viewer.js +51 -51
- package/dist/run/live.js +14 -33
- package/dist/run/record.js +2 -2
- package/dist/run.d.ts +2 -2
- package/dist/run.js +5 -5
- package/dist/runtime-viewer/{AgentGraphCanvas-DDvaU9Rg-DlNZxJ20.js → AgentGraphCanvas-CcBWMidO-DIW8tof6.js} +1340 -1341
- package/dist/runtime-viewer/{latest-events-CabhXynX-Dp_vs0Px.js → latest-events-BfRc-7l9-QhJD89rn.js} +901 -764
- package/dist/styles.css +20 -272
- package/dist/{trace-workspace-DkakKRLV.js → trace-workspace-BiJbv9WQ.js} +2 -2
- package/dist/use-follow-tail-Ht7fZGQQ.js +1 -0
- package/dist/workspace-viewer.js +9156 -11360
- package/package.json +10 -6
- package/dist/use-follow-tail-Ckx5ZSV2.js +0 -1
|
@@ -132,7 +132,7 @@ var n = /* @__PURE__ */ t(((e) => {
|
|
|
132
132
|
if (e._status === 1) return e._result.default;
|
|
133
133
|
throw e._result;
|
|
134
134
|
}
|
|
135
|
-
var
|
|
135
|
+
var te = typeof reportError == "function" ? reportError : function(e) {
|
|
136
136
|
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
|
|
137
137
|
var t = new window.ErrorEvent("error", {
|
|
138
138
|
bubbles: !0,
|
|
@@ -147,26 +147,26 @@ var n = /* @__PURE__ */ t(((e) => {
|
|
|
147
147
|
}
|
|
148
148
|
console.error(e);
|
|
149
149
|
};
|
|
150
|
-
function
|
|
150
|
+
function ne(e) {
|
|
151
151
|
var t = T.T, n = {};
|
|
152
152
|
n.types = t === null ? null : t.types, T.T = n;
|
|
153
153
|
try {
|
|
154
154
|
var r = e(), i = T.S;
|
|
155
|
-
i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w,
|
|
155
|
+
i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, te);
|
|
156
156
|
} catch (e) {
|
|
157
|
-
|
|
157
|
+
te(e);
|
|
158
158
|
} finally {
|
|
159
159
|
t !== null && n.types !== null && (t.types = n.types), T.T = t;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function re(e) {
|
|
163
163
|
var t = T.T;
|
|
164
164
|
if (t !== null) {
|
|
165
165
|
var n = t.types;
|
|
166
166
|
n === null ? t.types = [e] : n.indexOf(e) === -1 && n.push(e);
|
|
167
|
-
} else
|
|
167
|
+
} else ne(re.bind(null, e));
|
|
168
168
|
}
|
|
169
|
-
var
|
|
169
|
+
var ie = {
|
|
170
170
|
map: P,
|
|
171
171
|
forEach: function(e, t, n) {
|
|
172
172
|
P(e, function() {
|
|
@@ -189,12 +189,12 @@ 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 = ie, 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);
|
|
196
196
|
}
|
|
197
|
-
}, e.addTransitionType =
|
|
197
|
+
}, e.addTransitionType = re, e.cache = function(e) {
|
|
198
198
|
return function() {
|
|
199
199
|
return e.apply(null, arguments);
|
|
200
200
|
};
|
|
@@ -256,7 +256,7 @@ var n = /* @__PURE__ */ t(((e) => {
|
|
|
256
256
|
type: e,
|
|
257
257
|
compare: t === void 0 ? null : t
|
|
258
258
|
};
|
|
259
|
-
}, e.startTransition =
|
|
259
|
+
}, e.startTransition = ne, e.unstable_useCacheRefresh = function() {
|
|
260
260
|
return T.H.useCacheRefresh();
|
|
261
261
|
}, e.use = function(e) {
|
|
262
262
|
return T.H.use(e);
|
|
@@ -434,158 +434,105 @@ var n = /* @__PURE__ */ t(((e) => {
|
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
n(), t.exports = i();
|
|
437
|
-
})), o = /* @__PURE__ */
|
|
438
|
-
|
|
439
|
-
function r(e, n, r) {
|
|
440
|
-
var i = null;
|
|
441
|
-
if (r !== void 0 && (i = "" + r), n.key !== void 0 && (i = "" + n.key), "key" in n) for (var a in r = {}, n) a !== "key" && (r[a] = n[a]);
|
|
442
|
-
else r = n;
|
|
443
|
-
return n = r.ref, {
|
|
444
|
-
$$typeof: t,
|
|
445
|
-
type: e,
|
|
446
|
-
key: i,
|
|
447
|
-
ref: n === void 0 ? null : n,
|
|
448
|
-
props: r
|
|
449
|
-
};
|
|
450
|
-
}
|
|
451
|
-
e.Fragment = n, e.jsx = r, e.jsxs = r;
|
|
452
|
-
})), s = /* @__PURE__ */ t(((e, t) => {
|
|
453
|
-
t.exports = o();
|
|
454
|
-
})), c = (e) => typeof e == "number" && Number.isFinite(e) ? e : void 0, l = (e) => typeof e == "number" && Number.isSafeInteger(e) && e >= 0 ? e : void 0;
|
|
455
|
-
function u(e) {
|
|
456
|
-
if (e.length && !e.some((e) => l(e) === void 0)) return l(e.reduce((e, t) => e + t, 0));
|
|
457
|
-
}
|
|
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);
|
|
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) {
|
|
437
|
+
})), o = /* @__PURE__ */ e(r(), 1);
|
|
438
|
+
function s(e) {
|
|
493
439
|
var t, n, r = "";
|
|
494
440
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
495
441
|
else if (typeof e == "object") {
|
|
496
442
|
if (Array.isArray(e)) {
|
|
497
443
|
var i = e.length;
|
|
498
|
-
for (t = 0; t < i; t++) e[t] && (n =
|
|
444
|
+
for (t = 0; t < i; t++) e[t] && (n = s(e[t])) && (r && (r += " "), r += n);
|
|
499
445
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
500
446
|
}
|
|
501
447
|
return r;
|
|
502
448
|
}
|
|
503
|
-
function
|
|
504
|
-
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t =
|
|
449
|
+
function c() {
|
|
450
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = s(e)) && (r && (r += " "), r += t);
|
|
505
451
|
return r;
|
|
506
452
|
}
|
|
507
|
-
|
|
453
|
+
// node_modules/.pnpm/tailwind-merge@3.7.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
454
|
+
var l = (e, t) => {
|
|
508
455
|
let n = Array(e.length + t.length);
|
|
509
456
|
for (let t = 0; t < e.length; t++) n[t] = e[t];
|
|
510
457
|
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
|
|
511
458
|
return n;
|
|
512
|
-
},
|
|
459
|
+
}, u = (e, t) => ({
|
|
513
460
|
classGroupId: e,
|
|
514
461
|
validator: t
|
|
515
|
-
}),
|
|
462
|
+
}), d = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
516
463
|
nextPart: e,
|
|
517
464
|
validators: t,
|
|
518
465
|
classGroupId: n
|
|
519
|
-
}),
|
|
520
|
-
let t =
|
|
466
|
+
}), f = "-", p = [], m = "arbitrary..", h = (e) => {
|
|
467
|
+
let t = v(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
521
468
|
return {
|
|
522
469
|
getClassGroupId: (e) => {
|
|
523
|
-
if (e.startsWith("[") && e.endsWith("]")) return
|
|
524
|
-
let n = e.split(
|
|
525
|
-
return
|
|
470
|
+
if (e.startsWith("[") && e.endsWith("]")) return _(e);
|
|
471
|
+
let n = e.split(f);
|
|
472
|
+
return g(n, +(n[0] === "" && n.length > 1), t);
|
|
526
473
|
},
|
|
527
474
|
getConflictingClassGroupIds: (e, t) => {
|
|
528
475
|
if (t) {
|
|
529
476
|
let t = r[e], i = n[e];
|
|
530
|
-
return t ? i ?
|
|
477
|
+
return t ? i ? l(i, t) : t : i || p;
|
|
531
478
|
}
|
|
532
|
-
return n[e] ||
|
|
479
|
+
return n[e] || p;
|
|
533
480
|
}
|
|
534
481
|
};
|
|
535
|
-
},
|
|
482
|
+
}, g = (e, t, n) => {
|
|
536
483
|
if (e.length - t === 0) return n.classGroupId;
|
|
537
484
|
let r = e[t], i = n.nextPart.get(r);
|
|
538
485
|
if (i) {
|
|
539
|
-
let n =
|
|
486
|
+
let n = g(e, t + 1, i);
|
|
540
487
|
if (n) return n;
|
|
541
488
|
}
|
|
542
489
|
let a = n.validators;
|
|
543
490
|
if (a === null) return;
|
|
544
|
-
let o = t === 0 ? e.join(
|
|
491
|
+
let o = t === 0 ? e.join(f) : e.slice(t).join(f), s = a.length;
|
|
545
492
|
for (let e = 0; e < s; e++) {
|
|
546
493
|
let t = a[e];
|
|
547
494
|
if (t.validator(o)) return t.classGroupId;
|
|
548
495
|
}
|
|
549
|
-
},
|
|
496
|
+
}, _ = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
550
497
|
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
|
|
551
|
-
return r ?
|
|
552
|
-
})(),
|
|
498
|
+
return r ? m + r : void 0;
|
|
499
|
+
})(), v = (e) => {
|
|
553
500
|
let { theme: t, classGroups: n } = e;
|
|
554
|
-
return
|
|
555
|
-
},
|
|
556
|
-
let n =
|
|
501
|
+
return y(n, t);
|
|
502
|
+
}, y = (e, t) => {
|
|
503
|
+
let n = d();
|
|
557
504
|
for (let r in e) {
|
|
558
505
|
let i = e[r];
|
|
559
|
-
|
|
506
|
+
b(i, n, r, t);
|
|
560
507
|
}
|
|
561
508
|
return n;
|
|
562
|
-
},
|
|
509
|
+
}, b = (e, t, n, r) => {
|
|
563
510
|
let i = e.length;
|
|
564
511
|
for (let a = 0; a < i; a++) {
|
|
565
512
|
let i = e[a];
|
|
566
|
-
|
|
513
|
+
x(i, t, n, r);
|
|
567
514
|
}
|
|
568
|
-
},
|
|
569
|
-
typeof e == "string" ?
|
|
570
|
-
},
|
|
571
|
-
let r = e === "" ? t :
|
|
515
|
+
}, x = (e, t, n, r) => {
|
|
516
|
+
typeof e == "string" ? S(e, t, n) : typeof e == "function" ? C(e, t, n, r) : w(e, t, n, r);
|
|
517
|
+
}, S = (e, t, n) => {
|
|
518
|
+
let r = e === "" ? t : T(t, e);
|
|
572
519
|
r.classGroupId = n;
|
|
573
|
-
},
|
|
574
|
-
|
|
575
|
-
},
|
|
520
|
+
}, C = (e, t, n, r) => {
|
|
521
|
+
E(e) ? b(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(u(n, e)));
|
|
522
|
+
}, w = (e, t, n, r) => {
|
|
576
523
|
let i = Object.entries(e), a = i.length;
|
|
577
524
|
for (let e = 0; e < a; e++) {
|
|
578
525
|
let [a, o] = i[e];
|
|
579
|
-
|
|
526
|
+
b(o, T(t, a), n, r);
|
|
580
527
|
}
|
|
581
|
-
},
|
|
582
|
-
let n = e, r = t.split(
|
|
528
|
+
}, T = (e, t) => {
|
|
529
|
+
let n = e, r = t.split(f), i = r.length;
|
|
583
530
|
for (let e = 0; e < i; e++) {
|
|
584
531
|
let t = r[e], i = n.nextPart.get(t);
|
|
585
|
-
i || (i =
|
|
532
|
+
i || (i = d(), n.nextPart.set(t, i)), n = i;
|
|
586
533
|
}
|
|
587
534
|
return n;
|
|
588
|
-
},
|
|
535
|
+
}, E = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, D = (e) => {
|
|
589
536
|
if (e < 1) return {
|
|
590
537
|
get: () => void 0,
|
|
591
538
|
set: () => {}
|
|
@@ -603,19 +550,19 @@ var x = (e, t) => {
|
|
|
603
550
|
e in n ? n[e] = t : i(e, t);
|
|
604
551
|
}
|
|
605
552
|
};
|
|
606
|
-
},
|
|
553
|
+
}, O = "!", k = ":", ee = [], A = (e, t, n, r, i) => ({
|
|
607
554
|
modifiers: e,
|
|
608
555
|
hasImportantModifier: t,
|
|
609
556
|
baseClassName: n,
|
|
610
557
|
maybePostfixModifierPosition: r,
|
|
611
558
|
isExternal: i
|
|
612
|
-
}),
|
|
559
|
+
}), j = (e) => {
|
|
613
560
|
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
|
|
614
561
|
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
|
|
615
562
|
for (let s = 0; s < o; s++) {
|
|
616
563
|
let o = e[s];
|
|
617
564
|
if (n === 0 && r === 0) {
|
|
618
|
-
if (o ===
|
|
565
|
+
if (o === k) {
|
|
619
566
|
t.push(e.slice(i, s)), i = s + 1;
|
|
620
567
|
continue;
|
|
621
568
|
}
|
|
@@ -627,13 +574,13 @@ var x = (e, t) => {
|
|
|
627
574
|
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
|
|
628
575
|
}
|
|
629
576
|
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
|
|
630
|
-
s.endsWith(
|
|
577
|
+
s.endsWith(O) ? (c = s.slice(0, -1), l = !0) : s.startsWith(O) && (c = s.slice(1), l = !0);
|
|
631
578
|
let u = a && a > i ? a - i : void 0;
|
|
632
|
-
return
|
|
579
|
+
return A(t, l, c, u);
|
|
633
580
|
};
|
|
634
581
|
if (t) {
|
|
635
|
-
let e = t +
|
|
636
|
-
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) :
|
|
582
|
+
let e = t + k, n = r;
|
|
583
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : A(ee, !1, t, void 0, !0);
|
|
637
584
|
}
|
|
638
585
|
if (n) {
|
|
639
586
|
let e = r;
|
|
@@ -643,7 +590,7 @@ var x = (e, t) => {
|
|
|
643
590
|
});
|
|
644
591
|
}
|
|
645
592
|
return r;
|
|
646
|
-
},
|
|
593
|
+
}, M = (e) => {
|
|
647
594
|
let t = /* @__PURE__ */ new Map();
|
|
648
595
|
return e.orderSensitiveModifiers.forEach((e, n) => {
|
|
649
596
|
t.set(e, 1e6 + n);
|
|
@@ -655,18 +602,18 @@ var x = (e, t) => {
|
|
|
655
602
|
}
|
|
656
603
|
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
657
604
|
};
|
|
658
|
-
},
|
|
659
|
-
cache:
|
|
660
|
-
parseClassName:
|
|
661
|
-
sortModifiers:
|
|
662
|
-
postfixLookupClassGroupIds:
|
|
663
|
-
...
|
|
664
|
-
}),
|
|
605
|
+
}, N = (e) => ({
|
|
606
|
+
cache: D(e.cacheSize),
|
|
607
|
+
parseClassName: j(e),
|
|
608
|
+
sortModifiers: M(e),
|
|
609
|
+
postfixLookupClassGroupIds: P(e),
|
|
610
|
+
...h(e)
|
|
611
|
+
}), P = (e) => {
|
|
665
612
|
let t = Object.create(null), n = e.postfixLookupClassGroups;
|
|
666
613
|
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
|
|
667
614
|
return t;
|
|
668
|
-
},
|
|
669
|
-
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(
|
|
615
|
+
}, F = /\s+/, te = (e, t) => {
|
|
616
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(F), l = "";
|
|
670
617
|
for (let e = c.length - 1; e >= 0; --e) {
|
|
671
618
|
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
|
|
672
619
|
if (u) {
|
|
@@ -686,7 +633,7 @@ var x = (e, t) => {
|
|
|
686
633
|
}
|
|
687
634
|
h = !1;
|
|
688
635
|
}
|
|
689
|
-
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ +
|
|
636
|
+
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + O : _, y = v + g;
|
|
690
637
|
if (s.indexOf(y) > -1) continue;
|
|
691
638
|
s.push(y);
|
|
692
639
|
let b = i(g, h);
|
|
@@ -697,34 +644,34 @@ var x = (e, t) => {
|
|
|
697
644
|
l = t + (l.length > 0 ? " " + l : l);
|
|
698
645
|
}
|
|
699
646
|
return l;
|
|
700
|
-
},
|
|
647
|
+
}, ne = (...e) => {
|
|
701
648
|
let t = 0, n, r, i = "";
|
|
702
|
-
for (; t < e.length;) (n = e[t++]) && (r =
|
|
649
|
+
for (; t < e.length;) (n = e[t++]) && (r = re(n)) && (i && (i += " "), i += r);
|
|
703
650
|
return i;
|
|
704
|
-
},
|
|
651
|
+
}, re = (e) => {
|
|
705
652
|
if (typeof e == "string") return e;
|
|
706
653
|
let t, n = "";
|
|
707
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
654
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = re(e[r])) && (n && (n += " "), n += t);
|
|
708
655
|
return n;
|
|
709
|
-
},
|
|
710
|
-
let n, r, i, a, o = (o) => (n =
|
|
656
|
+
}, ie = (e, ...t) => {
|
|
657
|
+
let n, r, i, a, o = (o) => (n = N(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
711
658
|
let t = r(e);
|
|
712
659
|
if (t) return t;
|
|
713
|
-
let a =
|
|
660
|
+
let a = te(e, n);
|
|
714
661
|
return i(e, a), a;
|
|
715
662
|
};
|
|
716
|
-
return a = o, (...e) => a(
|
|
717
|
-
},
|
|
718
|
-
let t = (t) => t[e] ||
|
|
663
|
+
return a = o, (...e) => a(ne(...e));
|
|
664
|
+
}, I = [], L = (e) => {
|
|
665
|
+
let t = (t) => t[e] || I;
|
|
719
666
|
return t.isThemeGetter = !0, t.themeKey = e, t;
|
|
720
|
-
},
|
|
721
|
-
let r =
|
|
667
|
+
}, R = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ae = /^\((?:(\w[\w-]*):)?(.+)\)$/i, oe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, z = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, se = /\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$/, ce = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, le = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ue = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, B = (e) => oe.test(e), V = (e) => !!e && !Number.isNaN(Number(e)), H = (e) => !!e && Number.isInteger(Number(e)), de = (e) => e.endsWith("%") && V(e.slice(0, -1)), U = (e) => z.test(e), fe = () => !0, pe = (e) => se.test(e) && !ce.test(e), me = () => !1, he = (e) => le.test(e), ge = (e) => ue.test(e), _e = (e) => !W(e) && !K(e), ve = (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)), ye = (e) => q(e, Ie, me), W = (e) => R.test(e), G = (e) => q(e, Le, pe), be = (e) => q(e, Re, V), xe = (e) => q(e, Be, fe), Se = (e) => q(e, ze, me), Ce = (e) => q(e, Pe, me), we = (e) => q(e, Fe, ge), Te = (e) => q(e, Ve, he), K = (e) => ae.test(e), Ee = (e) => Ne(e, Le), De = (e) => Ne(e, ze), Oe = (e) => Ne(e, Pe), ke = (e) => Ne(e, Ie), Ae = (e) => Ne(e, Fe), je = (e) => Ne(e, Ve, !0), Me = (e) => Ne(e, Be, !0), q = (e, t, n) => {
|
|
668
|
+
let r = R.exec(e);
|
|
722
669
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
723
|
-
},
|
|
724
|
-
let r =
|
|
670
|
+
}, Ne = (e, t, n = !1) => {
|
|
671
|
+
let r = ae.exec(e);
|
|
725
672
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
726
|
-
},
|
|
727
|
-
let e =
|
|
673
|
+
}, Pe = (e) => e === "position" || e === "percentage", Fe = (e) => e === "image" || e === "url", Ie = (e) => e === "length" || e === "size" || e === "bg-size", Le = (e) => e === "length", Re = (e) => e === "number", ze = (e) => e === "family-name", Be = (e) => e === "number" || e === "weight", Ve = (e) => e === "shadow", He = /*#__PURE__*/ ie(() => {
|
|
674
|
+
let e = L("color"), t = L("font"), n = L("text"), r = L("font-weight"), i = L("tracking"), a = L("leading"), o = L("breakpoint"), s = L("container"), c = L("spacing"), l = L("radius"), u = L("shadow"), d = L("inset-shadow"), f = L("text-shadow"), p = L("drop-shadow"), m = L("blur"), h = L("perspective"), g = L("aspect"), _ = L("ease"), v = L("animate"), y = () => [
|
|
728
675
|
"auto",
|
|
729
676
|
"avoid",
|
|
730
677
|
"all",
|
|
@@ -749,8 +696,8 @@ var x = (e, t) => {
|
|
|
749
696
|
"left-bottom"
|
|
750
697
|
], x = () => [
|
|
751
698
|
...b(),
|
|
752
|
-
|
|
753
|
-
|
|
699
|
+
K,
|
|
700
|
+
W
|
|
754
701
|
], S = () => [
|
|
755
702
|
"auto",
|
|
756
703
|
"hidden",
|
|
@@ -762,43 +709,43 @@ var x = (e, t) => {
|
|
|
762
709
|
"contain",
|
|
763
710
|
"none"
|
|
764
711
|
], w = () => [
|
|
765
|
-
J,
|
|
766
712
|
K,
|
|
713
|
+
W,
|
|
767
714
|
c
|
|
768
715
|
], T = () => [
|
|
769
|
-
|
|
716
|
+
B,
|
|
770
717
|
"full",
|
|
771
718
|
"auto",
|
|
772
719
|
...w()
|
|
773
720
|
], E = () => [
|
|
774
|
-
|
|
721
|
+
H,
|
|
775
722
|
"none",
|
|
776
723
|
"subgrid",
|
|
777
|
-
|
|
778
|
-
|
|
724
|
+
K,
|
|
725
|
+
W
|
|
779
726
|
], D = () => [
|
|
780
727
|
"auto",
|
|
781
728
|
{ span: [
|
|
782
729
|
"full",
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
730
|
+
H,
|
|
731
|
+
K,
|
|
732
|
+
W
|
|
786
733
|
] },
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
734
|
+
H,
|
|
735
|
+
K,
|
|
736
|
+
W
|
|
790
737
|
], O = () => [
|
|
791
|
-
|
|
738
|
+
H,
|
|
792
739
|
"auto",
|
|
793
|
-
|
|
794
|
-
|
|
740
|
+
K,
|
|
741
|
+
W
|
|
795
742
|
], k = () => [
|
|
796
743
|
"auto",
|
|
797
744
|
"min",
|
|
798
745
|
"max",
|
|
799
746
|
"fr",
|
|
800
|
-
|
|
801
|
-
|
|
747
|
+
K,
|
|
748
|
+
W
|
|
802
749
|
], ee = () => [
|
|
803
750
|
"start",
|
|
804
751
|
"end",
|
|
@@ -818,7 +765,7 @@ var x = (e, t) => {
|
|
|
818
765
|
"center-safe",
|
|
819
766
|
"end-safe"
|
|
820
767
|
], j = () => ["auto", ...w()], M = () => [
|
|
821
|
-
|
|
768
|
+
B,
|
|
822
769
|
"auto",
|
|
823
770
|
"full",
|
|
824
771
|
"dvw",
|
|
@@ -833,7 +780,7 @@ var x = (e, t) => {
|
|
|
833
780
|
...w()
|
|
834
781
|
], N = () => [
|
|
835
782
|
s,
|
|
836
|
-
|
|
783
|
+
B,
|
|
837
784
|
"screen",
|
|
838
785
|
"full",
|
|
839
786
|
"dvw",
|
|
@@ -844,7 +791,7 @@ var x = (e, t) => {
|
|
|
844
791
|
"fit",
|
|
845
792
|
...w()
|
|
846
793
|
], P = () => [
|
|
847
|
-
|
|
794
|
+
B,
|
|
848
795
|
"screen",
|
|
849
796
|
"full",
|
|
850
797
|
"lh",
|
|
@@ -857,48 +804,48 @@ var x = (e, t) => {
|
|
|
857
804
|
...w()
|
|
858
805
|
], F = () => [
|
|
859
806
|
e,
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
],
|
|
807
|
+
K,
|
|
808
|
+
W
|
|
809
|
+
], te = () => [
|
|
863
810
|
...b(),
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
{ position: [
|
|
867
|
-
],
|
|
811
|
+
Oe,
|
|
812
|
+
Ce,
|
|
813
|
+
{ position: [K, W] }
|
|
814
|
+
], ne = () => ["no-repeat", { repeat: [
|
|
868
815
|
"",
|
|
869
816
|
"x",
|
|
870
817
|
"y",
|
|
871
818
|
"space",
|
|
872
819
|
"round"
|
|
873
|
-
] }],
|
|
820
|
+
] }], re = () => [
|
|
874
821
|
"auto",
|
|
875
822
|
"cover",
|
|
876
823
|
"contain",
|
|
877
|
-
ze,
|
|
878
824
|
ke,
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
825
|
+
ye,
|
|
826
|
+
{ size: [K, W] }
|
|
827
|
+
], ie = () => [
|
|
828
|
+
de,
|
|
829
|
+
Ee,
|
|
830
|
+
G
|
|
831
|
+
], I = () => [
|
|
885
832
|
"",
|
|
886
833
|
"none",
|
|
887
834
|
"full",
|
|
888
835
|
l,
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
],
|
|
836
|
+
K,
|
|
837
|
+
W
|
|
838
|
+
], R = () => [
|
|
892
839
|
"",
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
],
|
|
840
|
+
V,
|
|
841
|
+
Ee,
|
|
842
|
+
G
|
|
843
|
+
], ae = () => [
|
|
897
844
|
"solid",
|
|
898
845
|
"dashed",
|
|
899
846
|
"dotted",
|
|
900
847
|
"double"
|
|
901
|
-
],
|
|
848
|
+
], oe = () => [
|
|
902
849
|
"normal",
|
|
903
850
|
"multiply",
|
|
904
851
|
"screen",
|
|
@@ -915,33 +862,33 @@ var x = (e, t) => {
|
|
|
915
862
|
"saturation",
|
|
916
863
|
"color",
|
|
917
864
|
"luminosity"
|
|
918
|
-
],
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
],
|
|
865
|
+
], z = () => [
|
|
866
|
+
V,
|
|
867
|
+
de,
|
|
868
|
+
Oe,
|
|
869
|
+
Ce
|
|
870
|
+
], se = () => [
|
|
924
871
|
"",
|
|
925
872
|
"none",
|
|
926
873
|
m,
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
], oe = () => [
|
|
930
|
-
"none",
|
|
931
|
-
U,
|
|
932
|
-
J,
|
|
933
|
-
K
|
|
934
|
-
], se = () => [
|
|
935
|
-
"none",
|
|
936
|
-
U,
|
|
937
|
-
J,
|
|
938
|
-
K
|
|
874
|
+
K,
|
|
875
|
+
W
|
|
939
876
|
], ce = () => [
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
K
|
|
877
|
+
"none",
|
|
878
|
+
V,
|
|
879
|
+
K,
|
|
880
|
+
W
|
|
943
881
|
], le = () => [
|
|
944
|
-
|
|
882
|
+
"none",
|
|
883
|
+
V,
|
|
884
|
+
K,
|
|
885
|
+
W
|
|
886
|
+
], ue = () => [
|
|
887
|
+
V,
|
|
888
|
+
K,
|
|
889
|
+
W
|
|
890
|
+
], pe = () => [
|
|
891
|
+
B,
|
|
945
892
|
"full",
|
|
946
893
|
...w()
|
|
947
894
|
];
|
|
@@ -955,17 +902,17 @@ var x = (e, t) => {
|
|
|
955
902
|
"bounce"
|
|
956
903
|
],
|
|
957
904
|
aspect: ["video"],
|
|
958
|
-
blur: [
|
|
959
|
-
breakpoint: [
|
|
960
|
-
color: [
|
|
961
|
-
container: [
|
|
962
|
-
"drop-shadow": [
|
|
905
|
+
blur: [U],
|
|
906
|
+
breakpoint: [U],
|
|
907
|
+
color: [fe],
|
|
908
|
+
container: [U],
|
|
909
|
+
"drop-shadow": [U],
|
|
963
910
|
ease: [
|
|
964
911
|
"in",
|
|
965
912
|
"out",
|
|
966
913
|
"in-out"
|
|
967
914
|
],
|
|
968
|
-
font: [
|
|
915
|
+
font: [_e],
|
|
969
916
|
"font-weight": [
|
|
970
917
|
"thin",
|
|
971
918
|
"extralight",
|
|
@@ -977,7 +924,7 @@ var x = (e, t) => {
|
|
|
977
924
|
"extrabold",
|
|
978
925
|
"black"
|
|
979
926
|
],
|
|
980
|
-
"inset-shadow": [
|
|
927
|
+
"inset-shadow": [U],
|
|
981
928
|
leading: [
|
|
982
929
|
"none",
|
|
983
930
|
"tight",
|
|
@@ -994,11 +941,11 @@ var x = (e, t) => {
|
|
|
994
941
|
"distant",
|
|
995
942
|
"none"
|
|
996
943
|
],
|
|
997
|
-
radius: [
|
|
998
|
-
shadow: [
|
|
999
|
-
spacing: ["px",
|
|
1000
|
-
text: [
|
|
1001
|
-
"text-shadow": [
|
|
944
|
+
radius: [U],
|
|
945
|
+
shadow: [U],
|
|
946
|
+
spacing: ["px", V],
|
|
947
|
+
text: [U],
|
|
948
|
+
"text-shadow": [U],
|
|
1002
949
|
tracking: [
|
|
1003
950
|
"tighter",
|
|
1004
951
|
"tight",
|
|
@@ -1012,9 +959,9 @@ var x = (e, t) => {
|
|
|
1012
959
|
aspect: [{ aspect: [
|
|
1013
960
|
"auto",
|
|
1014
961
|
"square",
|
|
1015
|
-
|
|
962
|
+
B,
|
|
963
|
+
W,
|
|
1016
964
|
K,
|
|
1017
|
-
J,
|
|
1018
965
|
g
|
|
1019
966
|
] }],
|
|
1020
967
|
container: ["container"],
|
|
@@ -1022,15 +969,15 @@ var x = (e, t) => {
|
|
|
1022
969
|
"",
|
|
1023
970
|
"normal",
|
|
1024
971
|
"size",
|
|
1025
|
-
|
|
1026
|
-
|
|
972
|
+
K,
|
|
973
|
+
W
|
|
1027
974
|
] }],
|
|
1028
|
-
"container-named": [
|
|
975
|
+
"container-named": [ve],
|
|
1029
976
|
columns: [{ columns: [
|
|
1030
|
-
|
|
977
|
+
V,
|
|
1031
978
|
"auto",
|
|
979
|
+
W,
|
|
1032
980
|
K,
|
|
1033
|
-
J,
|
|
1034
981
|
s
|
|
1035
982
|
] }],
|
|
1036
983
|
"break-after": [{ "break-after": y() }],
|
|
@@ -1127,13 +1074,13 @@ var x = (e, t) => {
|
|
|
1127
1074
|
"collapse"
|
|
1128
1075
|
],
|
|
1129
1076
|
z: [{ z: [
|
|
1130
|
-
|
|
1077
|
+
H,
|
|
1131
1078
|
"auto",
|
|
1132
|
-
|
|
1133
|
-
|
|
1079
|
+
K,
|
|
1080
|
+
W
|
|
1134
1081
|
] }],
|
|
1135
1082
|
basis: [{ basis: [
|
|
1136
|
-
|
|
1083
|
+
B,
|
|
1137
1084
|
"full",
|
|
1138
1085
|
"auto",
|
|
1139
1086
|
s,
|
|
@@ -1151,32 +1098,32 @@ var x = (e, t) => {
|
|
|
1151
1098
|
"wrap-reverse"
|
|
1152
1099
|
] }],
|
|
1153
1100
|
flex: [{ flex: [
|
|
1154
|
-
|
|
1155
|
-
|
|
1101
|
+
V,
|
|
1102
|
+
B,
|
|
1156
1103
|
"auto",
|
|
1157
1104
|
"initial",
|
|
1158
1105
|
"none",
|
|
1159
|
-
|
|
1106
|
+
W
|
|
1160
1107
|
] }],
|
|
1161
1108
|
grow: [{ grow: [
|
|
1162
1109
|
"",
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1110
|
+
V,
|
|
1111
|
+
K,
|
|
1112
|
+
W
|
|
1166
1113
|
] }],
|
|
1167
1114
|
shrink: [{ shrink: [
|
|
1168
1115
|
"",
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1116
|
+
V,
|
|
1117
|
+
K,
|
|
1118
|
+
W
|
|
1172
1119
|
] }],
|
|
1173
1120
|
order: [{ order: [
|
|
1174
|
-
|
|
1121
|
+
H,
|
|
1175
1122
|
"first",
|
|
1176
1123
|
"last",
|
|
1177
1124
|
"none",
|
|
1178
|
-
|
|
1179
|
-
|
|
1125
|
+
K,
|
|
1126
|
+
W
|
|
1180
1127
|
] }],
|
|
1181
1128
|
"grid-cols": [{ "grid-cols": E() }],
|
|
1182
1129
|
"col-start-end": [{ col: D() }],
|
|
@@ -1283,15 +1230,15 @@ var x = (e, t) => {
|
|
|
1283
1230
|
"font-size": [{ text: [
|
|
1284
1231
|
"base",
|
|
1285
1232
|
n,
|
|
1286
|
-
|
|
1287
|
-
|
|
1233
|
+
Ee,
|
|
1234
|
+
G
|
|
1288
1235
|
] }],
|
|
1289
1236
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
1290
1237
|
"font-style": ["italic", "not-italic"],
|
|
1291
1238
|
"font-weight": [{ font: [
|
|
1292
1239
|
r,
|
|
1293
|
-
|
|
1294
|
-
|
|
1240
|
+
Me,
|
|
1241
|
+
xe
|
|
1295
1242
|
] }],
|
|
1296
1243
|
"font-stretch": [{ "font-stretch": [
|
|
1297
1244
|
"ultra-condensed",
|
|
@@ -1303,15 +1250,15 @@ var x = (e, t) => {
|
|
|
1303
1250
|
"expanded",
|
|
1304
1251
|
"extra-expanded",
|
|
1305
1252
|
"ultra-expanded",
|
|
1306
|
-
|
|
1307
|
-
|
|
1253
|
+
de,
|
|
1254
|
+
W
|
|
1308
1255
|
] }],
|
|
1309
1256
|
"font-family": [{ font: [
|
|
1310
|
-
|
|
1311
|
-
|
|
1257
|
+
De,
|
|
1258
|
+
Se,
|
|
1312
1259
|
t
|
|
1313
1260
|
] }],
|
|
1314
|
-
"font-features": [{ "font-features": [
|
|
1261
|
+
"font-features": [{ "font-features": [W] }],
|
|
1315
1262
|
"fvn-normal": ["normal-nums"],
|
|
1316
1263
|
"fvn-ordinal": ["ordinal"],
|
|
1317
1264
|
"fvn-slashed-zero": ["slashed-zero"],
|
|
@@ -1320,14 +1267,14 @@ var x = (e, t) => {
|
|
|
1320
1267
|
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
1321
1268
|
tracking: [{ tracking: [
|
|
1322
1269
|
i,
|
|
1323
|
-
|
|
1324
|
-
|
|
1270
|
+
K,
|
|
1271
|
+
W
|
|
1325
1272
|
] }],
|
|
1326
1273
|
"line-clamp": [{ "line-clamp": [
|
|
1327
|
-
|
|
1274
|
+
V,
|
|
1328
1275
|
"none",
|
|
1329
|
-
|
|
1330
|
-
|
|
1276
|
+
K,
|
|
1277
|
+
be
|
|
1331
1278
|
] }],
|
|
1332
1279
|
leading: [{ leading: [
|
|
1333
1280
|
"none",
|
|
@@ -1336,16 +1283,16 @@ var x = (e, t) => {
|
|
|
1336
1283
|
] }],
|
|
1337
1284
|
"list-image": [{ "list-image": [
|
|
1338
1285
|
"none",
|
|
1339
|
-
|
|
1340
|
-
|
|
1286
|
+
K,
|
|
1287
|
+
W
|
|
1341
1288
|
] }],
|
|
1342
1289
|
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
1343
1290
|
"list-style-type": [{ list: [
|
|
1344
1291
|
"disc",
|
|
1345
1292
|
"decimal",
|
|
1346
1293
|
"none",
|
|
1347
|
-
|
|
1348
|
-
|
|
1294
|
+
K,
|
|
1295
|
+
W
|
|
1349
1296
|
] }],
|
|
1350
1297
|
"text-alignment": [{ text: [
|
|
1351
1298
|
"left",
|
|
@@ -1363,20 +1310,20 @@ var x = (e, t) => {
|
|
|
1363
1310
|
"line-through",
|
|
1364
1311
|
"no-underline"
|
|
1365
1312
|
],
|
|
1366
|
-
"text-decoration-style": [{ decoration: [...
|
|
1313
|
+
"text-decoration-style": [{ decoration: [...ae(), "wavy"] }],
|
|
1367
1314
|
"text-decoration-thickness": [{ decoration: [
|
|
1368
|
-
|
|
1315
|
+
V,
|
|
1369
1316
|
"from-font",
|
|
1370
1317
|
"auto",
|
|
1371
|
-
|
|
1372
|
-
|
|
1318
|
+
K,
|
|
1319
|
+
G
|
|
1373
1320
|
] }],
|
|
1374
1321
|
"text-decoration-color": [{ decoration: F() }],
|
|
1375
1322
|
"underline-offset": [{ "underline-offset": [
|
|
1376
|
-
|
|
1323
|
+
V,
|
|
1377
1324
|
"auto",
|
|
1378
|
-
|
|
1379
|
-
|
|
1325
|
+
K,
|
|
1326
|
+
W
|
|
1380
1327
|
] }],
|
|
1381
1328
|
"text-transform": [
|
|
1382
1329
|
"uppercase",
|
|
@@ -1397,9 +1344,9 @@ var x = (e, t) => {
|
|
|
1397
1344
|
] }],
|
|
1398
1345
|
indent: [{ indent: w() }],
|
|
1399
1346
|
"tab-size": [{ tab: [
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1347
|
+
H,
|
|
1348
|
+
K,
|
|
1349
|
+
W
|
|
1403
1350
|
] }],
|
|
1404
1351
|
"vertical-align": [{ align: [
|
|
1405
1352
|
"baseline",
|
|
@@ -1410,8 +1357,8 @@ var x = (e, t) => {
|
|
|
1410
1357
|
"text-bottom",
|
|
1411
1358
|
"sub",
|
|
1412
1359
|
"super",
|
|
1413
|
-
|
|
1414
|
-
|
|
1360
|
+
K,
|
|
1361
|
+
W
|
|
1415
1362
|
] }],
|
|
1416
1363
|
whitespace: [{ whitespace: [
|
|
1417
1364
|
"normal",
|
|
@@ -1439,8 +1386,8 @@ var x = (e, t) => {
|
|
|
1439
1386
|
] }],
|
|
1440
1387
|
content: [{ content: [
|
|
1441
1388
|
"none",
|
|
1442
|
-
|
|
1443
|
-
|
|
1389
|
+
K,
|
|
1390
|
+
W
|
|
1444
1391
|
] }],
|
|
1445
1392
|
"bg-attachment": [{ bg: [
|
|
1446
1393
|
"fixed",
|
|
@@ -1458,9 +1405,9 @@ var x = (e, t) => {
|
|
|
1458
1405
|
"padding",
|
|
1459
1406
|
"content"
|
|
1460
1407
|
] }],
|
|
1461
|
-
"bg-position": [{ bg:
|
|
1462
|
-
"bg-repeat": [{ bg:
|
|
1463
|
-
"bg-size": [{ bg:
|
|
1408
|
+
"bg-position": [{ bg: te() }],
|
|
1409
|
+
"bg-repeat": [{ bg: ne() }],
|
|
1410
|
+
"bg-size": [{ bg: re() }],
|
|
1464
1411
|
"bg-image": [{ bg: [
|
|
1465
1412
|
"none",
|
|
1466
1413
|
{
|
|
@@ -1475,69 +1422,69 @@ var x = (e, t) => {
|
|
|
1475
1422
|
"l",
|
|
1476
1423
|
"tl"
|
|
1477
1424
|
] },
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1425
|
+
H,
|
|
1426
|
+
K,
|
|
1427
|
+
W
|
|
1481
1428
|
],
|
|
1482
1429
|
radial: [
|
|
1483
1430
|
"",
|
|
1484
|
-
|
|
1485
|
-
|
|
1431
|
+
K,
|
|
1432
|
+
W
|
|
1486
1433
|
],
|
|
1487
1434
|
conic: [
|
|
1488
1435
|
"",
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1436
|
+
H,
|
|
1437
|
+
K,
|
|
1438
|
+
W
|
|
1492
1439
|
]
|
|
1493
1440
|
},
|
|
1494
|
-
|
|
1495
|
-
|
|
1441
|
+
Ae,
|
|
1442
|
+
we
|
|
1496
1443
|
] }],
|
|
1497
1444
|
"bg-color": [{ bg: F() }],
|
|
1498
|
-
"gradient-from-pos": [{ from:
|
|
1499
|
-
"gradient-via-pos": [{ via:
|
|
1500
|
-
"gradient-to-pos": [{ to:
|
|
1445
|
+
"gradient-from-pos": [{ from: ie() }],
|
|
1446
|
+
"gradient-via-pos": [{ via: ie() }],
|
|
1447
|
+
"gradient-to-pos": [{ to: ie() }],
|
|
1501
1448
|
"gradient-from": [{ from: F() }],
|
|
1502
1449
|
"gradient-via": [{ via: F() }],
|
|
1503
1450
|
"gradient-to": [{ to: F() }],
|
|
1504
|
-
rounded: [{ rounded:
|
|
1505
|
-
"rounded-s": [{ "rounded-s":
|
|
1506
|
-
"rounded-e": [{ "rounded-e":
|
|
1507
|
-
"rounded-t": [{ "rounded-t":
|
|
1508
|
-
"rounded-r": [{ "rounded-r":
|
|
1509
|
-
"rounded-b": [{ "rounded-b":
|
|
1510
|
-
"rounded-l": [{ "rounded-l":
|
|
1511
|
-
"rounded-ss": [{ "rounded-ss":
|
|
1512
|
-
"rounded-se": [{ "rounded-se":
|
|
1513
|
-
"rounded-ee": [{ "rounded-ee":
|
|
1514
|
-
"rounded-es": [{ "rounded-es":
|
|
1515
|
-
"rounded-tl": [{ "rounded-tl":
|
|
1516
|
-
"rounded-tr": [{ "rounded-tr":
|
|
1517
|
-
"rounded-br": [{ "rounded-br":
|
|
1518
|
-
"rounded-bl": [{ "rounded-bl":
|
|
1519
|
-
"border-w": [{ border:
|
|
1520
|
-
"border-w-x": [{ "border-x":
|
|
1521
|
-
"border-w-y": [{ "border-y":
|
|
1522
|
-
"border-w-s": [{ "border-s":
|
|
1523
|
-
"border-w-e": [{ "border-e":
|
|
1524
|
-
"border-w-bs": [{ "border-bs":
|
|
1525
|
-
"border-w-be": [{ "border-be":
|
|
1526
|
-
"border-w-t": [{ "border-t":
|
|
1527
|
-
"border-w-r": [{ "border-r":
|
|
1528
|
-
"border-w-b": [{ "border-b":
|
|
1529
|
-
"border-w-l": [{ "border-l":
|
|
1530
|
-
"divide-x": [{ "divide-x":
|
|
1451
|
+
rounded: [{ rounded: I() }],
|
|
1452
|
+
"rounded-s": [{ "rounded-s": I() }],
|
|
1453
|
+
"rounded-e": [{ "rounded-e": I() }],
|
|
1454
|
+
"rounded-t": [{ "rounded-t": I() }],
|
|
1455
|
+
"rounded-r": [{ "rounded-r": I() }],
|
|
1456
|
+
"rounded-b": [{ "rounded-b": I() }],
|
|
1457
|
+
"rounded-l": [{ "rounded-l": I() }],
|
|
1458
|
+
"rounded-ss": [{ "rounded-ss": I() }],
|
|
1459
|
+
"rounded-se": [{ "rounded-se": I() }],
|
|
1460
|
+
"rounded-ee": [{ "rounded-ee": I() }],
|
|
1461
|
+
"rounded-es": [{ "rounded-es": I() }],
|
|
1462
|
+
"rounded-tl": [{ "rounded-tl": I() }],
|
|
1463
|
+
"rounded-tr": [{ "rounded-tr": I() }],
|
|
1464
|
+
"rounded-br": [{ "rounded-br": I() }],
|
|
1465
|
+
"rounded-bl": [{ "rounded-bl": I() }],
|
|
1466
|
+
"border-w": [{ border: R() }],
|
|
1467
|
+
"border-w-x": [{ "border-x": R() }],
|
|
1468
|
+
"border-w-y": [{ "border-y": R() }],
|
|
1469
|
+
"border-w-s": [{ "border-s": R() }],
|
|
1470
|
+
"border-w-e": [{ "border-e": R() }],
|
|
1471
|
+
"border-w-bs": [{ "border-bs": R() }],
|
|
1472
|
+
"border-w-be": [{ "border-be": R() }],
|
|
1473
|
+
"border-w-t": [{ "border-t": R() }],
|
|
1474
|
+
"border-w-r": [{ "border-r": R() }],
|
|
1475
|
+
"border-w-b": [{ "border-b": R() }],
|
|
1476
|
+
"border-w-l": [{ "border-l": R() }],
|
|
1477
|
+
"divide-x": [{ "divide-x": R() }],
|
|
1531
1478
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
1532
|
-
"divide-y": [{ "divide-y":
|
|
1479
|
+
"divide-y": [{ "divide-y": R() }],
|
|
1533
1480
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
1534
1481
|
"border-style": [{ border: [
|
|
1535
|
-
...
|
|
1482
|
+
...ae(),
|
|
1536
1483
|
"hidden",
|
|
1537
1484
|
"none"
|
|
1538
1485
|
] }],
|
|
1539
1486
|
"divide-style": [{ divide: [
|
|
1540
|
-
...
|
|
1487
|
+
...ae(),
|
|
1541
1488
|
"hidden",
|
|
1542
1489
|
"none"
|
|
1543
1490
|
] }],
|
|
@@ -1554,20 +1501,20 @@ var x = (e, t) => {
|
|
|
1554
1501
|
"border-color-l": [{ "border-l": F() }],
|
|
1555
1502
|
"divide-color": [{ divide: F() }],
|
|
1556
1503
|
"outline-style": [{ outline: [
|
|
1557
|
-
...
|
|
1504
|
+
...ae(),
|
|
1558
1505
|
"none",
|
|
1559
1506
|
"hidden"
|
|
1560
1507
|
] }],
|
|
1561
1508
|
"outline-offset": [{ "outline-offset": [
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1509
|
+
V,
|
|
1510
|
+
K,
|
|
1511
|
+
W
|
|
1565
1512
|
] }],
|
|
1566
1513
|
"outline-w": [{ outline: [
|
|
1567
1514
|
"",
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1515
|
+
V,
|
|
1516
|
+
Ee,
|
|
1517
|
+
G
|
|
1571
1518
|
] }],
|
|
1572
1519
|
"outline-color": [{ outline: F() }],
|
|
1573
1520
|
shadow: [{ shadow: [
|
|
@@ -1575,42 +1522,42 @@ var x = (e, t) => {
|
|
|
1575
1522
|
"inner",
|
|
1576
1523
|
"none",
|
|
1577
1524
|
u,
|
|
1578
|
-
|
|
1579
|
-
|
|
1525
|
+
je,
|
|
1526
|
+
Te
|
|
1580
1527
|
] }],
|
|
1581
1528
|
"shadow-color": [{ shadow: F() }],
|
|
1582
1529
|
"inset-shadow": [{ "inset-shadow": [
|
|
1583
1530
|
"none",
|
|
1584
1531
|
d,
|
|
1585
|
-
|
|
1586
|
-
|
|
1532
|
+
je,
|
|
1533
|
+
Te
|
|
1587
1534
|
] }],
|
|
1588
1535
|
"inset-shadow-color": [{ "inset-shadow": F() }],
|
|
1589
|
-
"ring-w": [{ ring:
|
|
1536
|
+
"ring-w": [{ ring: R() }],
|
|
1590
1537
|
"ring-w-inset": ["ring-inset"],
|
|
1591
1538
|
"ring-color": [{ ring: F() }],
|
|
1592
|
-
"ring-offset-w": [{ "ring-offset": [
|
|
1539
|
+
"ring-offset-w": [{ "ring-offset": [V, G] }],
|
|
1593
1540
|
"ring-offset-color": [{ "ring-offset": F() }],
|
|
1594
|
-
"inset-ring-w": [{ "inset-ring":
|
|
1541
|
+
"inset-ring-w": [{ "inset-ring": R() }],
|
|
1595
1542
|
"inset-ring-color": [{ "inset-ring": F() }],
|
|
1596
1543
|
"text-shadow": [{ "text-shadow": [
|
|
1597
1544
|
"none",
|
|
1598
1545
|
f,
|
|
1599
|
-
|
|
1600
|
-
|
|
1546
|
+
je,
|
|
1547
|
+
Te
|
|
1601
1548
|
] }],
|
|
1602
1549
|
"text-shadow-color": [{ "text-shadow": F() }],
|
|
1603
1550
|
opacity: [{ opacity: [
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1551
|
+
V,
|
|
1552
|
+
K,
|
|
1553
|
+
W
|
|
1607
1554
|
] }],
|
|
1608
1555
|
"mix-blend": [{ "mix-blend": [
|
|
1609
|
-
...
|
|
1556
|
+
...oe(),
|
|
1610
1557
|
"plus-darker",
|
|
1611
1558
|
"plus-lighter"
|
|
1612
1559
|
] }],
|
|
1613
|
-
"bg-blend": [{ "bg-blend":
|
|
1560
|
+
"bg-blend": [{ "bg-blend": oe() }],
|
|
1614
1561
|
"mask-clip": [{ "mask-clip": [
|
|
1615
1562
|
"border",
|
|
1616
1563
|
"padding",
|
|
@@ -1625,38 +1572,38 @@ var x = (e, t) => {
|
|
|
1625
1572
|
"intersect",
|
|
1626
1573
|
"exclude"
|
|
1627
1574
|
] }],
|
|
1628
|
-
"mask-image-linear-pos": [{ "mask-linear": [
|
|
1629
|
-
"mask-image-linear-from-pos": [{ "mask-linear-from":
|
|
1630
|
-
"mask-image-linear-to-pos": [{ "mask-linear-to":
|
|
1575
|
+
"mask-image-linear-pos": [{ "mask-linear": [V] }],
|
|
1576
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": z() }],
|
|
1577
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": z() }],
|
|
1631
1578
|
"mask-image-linear-from-color": [{ "mask-linear-from": F() }],
|
|
1632
1579
|
"mask-image-linear-to-color": [{ "mask-linear-to": F() }],
|
|
1633
|
-
"mask-image-t-from-pos": [{ "mask-t-from":
|
|
1634
|
-
"mask-image-t-to-pos": [{ "mask-t-to":
|
|
1580
|
+
"mask-image-t-from-pos": [{ "mask-t-from": z() }],
|
|
1581
|
+
"mask-image-t-to-pos": [{ "mask-t-to": z() }],
|
|
1635
1582
|
"mask-image-t-from-color": [{ "mask-t-from": F() }],
|
|
1636
1583
|
"mask-image-t-to-color": [{ "mask-t-to": F() }],
|
|
1637
|
-
"mask-image-r-from-pos": [{ "mask-r-from":
|
|
1638
|
-
"mask-image-r-to-pos": [{ "mask-r-to":
|
|
1584
|
+
"mask-image-r-from-pos": [{ "mask-r-from": z() }],
|
|
1585
|
+
"mask-image-r-to-pos": [{ "mask-r-to": z() }],
|
|
1639
1586
|
"mask-image-r-from-color": [{ "mask-r-from": F() }],
|
|
1640
1587
|
"mask-image-r-to-color": [{ "mask-r-to": F() }],
|
|
1641
|
-
"mask-image-b-from-pos": [{ "mask-b-from":
|
|
1642
|
-
"mask-image-b-to-pos": [{ "mask-b-to":
|
|
1588
|
+
"mask-image-b-from-pos": [{ "mask-b-from": z() }],
|
|
1589
|
+
"mask-image-b-to-pos": [{ "mask-b-to": z() }],
|
|
1643
1590
|
"mask-image-b-from-color": [{ "mask-b-from": F() }],
|
|
1644
1591
|
"mask-image-b-to-color": [{ "mask-b-to": F() }],
|
|
1645
|
-
"mask-image-l-from-pos": [{ "mask-l-from":
|
|
1646
|
-
"mask-image-l-to-pos": [{ "mask-l-to":
|
|
1592
|
+
"mask-image-l-from-pos": [{ "mask-l-from": z() }],
|
|
1593
|
+
"mask-image-l-to-pos": [{ "mask-l-to": z() }],
|
|
1647
1594
|
"mask-image-l-from-color": [{ "mask-l-from": F() }],
|
|
1648
1595
|
"mask-image-l-to-color": [{ "mask-l-to": F() }],
|
|
1649
|
-
"mask-image-x-from-pos": [{ "mask-x-from":
|
|
1650
|
-
"mask-image-x-to-pos": [{ "mask-x-to":
|
|
1596
|
+
"mask-image-x-from-pos": [{ "mask-x-from": z() }],
|
|
1597
|
+
"mask-image-x-to-pos": [{ "mask-x-to": z() }],
|
|
1651
1598
|
"mask-image-x-from-color": [{ "mask-x-from": F() }],
|
|
1652
1599
|
"mask-image-x-to-color": [{ "mask-x-to": F() }],
|
|
1653
|
-
"mask-image-y-from-pos": [{ "mask-y-from":
|
|
1654
|
-
"mask-image-y-to-pos": [{ "mask-y-to":
|
|
1600
|
+
"mask-image-y-from-pos": [{ "mask-y-from": z() }],
|
|
1601
|
+
"mask-image-y-to-pos": [{ "mask-y-to": z() }],
|
|
1655
1602
|
"mask-image-y-from-color": [{ "mask-y-from": F() }],
|
|
1656
1603
|
"mask-image-y-to-color": [{ "mask-y-to": F() }],
|
|
1657
|
-
"mask-image-radial": [{ "mask-radial": [
|
|
1658
|
-
"mask-image-radial-from-pos": [{ "mask-radial-from":
|
|
1659
|
-
"mask-image-radial-to-pos": [{ "mask-radial-to":
|
|
1604
|
+
"mask-image-radial": [{ "mask-radial": [K, W] }],
|
|
1605
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": z() }],
|
|
1606
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": z() }],
|
|
1660
1607
|
"mask-image-radial-from-color": [{ "mask-radial-from": F() }],
|
|
1661
1608
|
"mask-image-radial-to-color": [{ "mask-radial-to": F() }],
|
|
1662
1609
|
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
@@ -1665,9 +1612,9 @@ var x = (e, t) => {
|
|
|
1665
1612
|
farthest: ["side", "corner"]
|
|
1666
1613
|
}] }],
|
|
1667
1614
|
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
1668
|
-
"mask-image-conic-pos": [{ "mask-conic": [
|
|
1669
|
-
"mask-image-conic-from-pos": [{ "mask-conic-from":
|
|
1670
|
-
"mask-image-conic-to-pos": [{ "mask-conic-to":
|
|
1615
|
+
"mask-image-conic-pos": [{ "mask-conic": [V] }],
|
|
1616
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": z() }],
|
|
1617
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": z() }],
|
|
1671
1618
|
"mask-image-conic-from-color": [{ "mask-conic-from": F() }],
|
|
1672
1619
|
"mask-image-conic-to-color": [{ "mask-conic-to": F() }],
|
|
1673
1620
|
"mask-mode": [{ mask: [
|
|
@@ -1683,117 +1630,117 @@ var x = (e, t) => {
|
|
|
1683
1630
|
"stroke",
|
|
1684
1631
|
"view"
|
|
1685
1632
|
] }],
|
|
1686
|
-
"mask-position": [{ mask:
|
|
1687
|
-
"mask-repeat": [{ mask:
|
|
1688
|
-
"mask-size": [{ mask:
|
|
1633
|
+
"mask-position": [{ mask: te() }],
|
|
1634
|
+
"mask-repeat": [{ mask: ne() }],
|
|
1635
|
+
"mask-size": [{ mask: re() }],
|
|
1689
1636
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
1690
1637
|
"mask-image": [{ mask: [
|
|
1691
1638
|
"none",
|
|
1692
|
-
|
|
1693
|
-
|
|
1639
|
+
K,
|
|
1640
|
+
W
|
|
1694
1641
|
] }],
|
|
1695
1642
|
filter: [{ filter: [
|
|
1696
1643
|
"",
|
|
1697
1644
|
"none",
|
|
1698
|
-
|
|
1699
|
-
|
|
1645
|
+
K,
|
|
1646
|
+
W
|
|
1700
1647
|
] }],
|
|
1701
|
-
blur: [{ blur:
|
|
1648
|
+
blur: [{ blur: se() }],
|
|
1702
1649
|
brightness: [{ brightness: [
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1650
|
+
V,
|
|
1651
|
+
K,
|
|
1652
|
+
W
|
|
1706
1653
|
] }],
|
|
1707
1654
|
contrast: [{ contrast: [
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1655
|
+
V,
|
|
1656
|
+
K,
|
|
1657
|
+
W
|
|
1711
1658
|
] }],
|
|
1712
1659
|
"drop-shadow": [{ "drop-shadow": [
|
|
1713
1660
|
"",
|
|
1714
1661
|
"none",
|
|
1715
1662
|
p,
|
|
1716
|
-
|
|
1717
|
-
|
|
1663
|
+
je,
|
|
1664
|
+
Te
|
|
1718
1665
|
] }],
|
|
1719
1666
|
"drop-shadow-color": [{ "drop-shadow": F() }],
|
|
1720
1667
|
grayscale: [{ grayscale: [
|
|
1721
1668
|
"",
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1669
|
+
V,
|
|
1670
|
+
K,
|
|
1671
|
+
W
|
|
1725
1672
|
] }],
|
|
1726
1673
|
"hue-rotate": [{ "hue-rotate": [
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1674
|
+
V,
|
|
1675
|
+
K,
|
|
1676
|
+
W
|
|
1730
1677
|
] }],
|
|
1731
1678
|
invert: [{ invert: [
|
|
1732
1679
|
"",
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1680
|
+
V,
|
|
1681
|
+
K,
|
|
1682
|
+
W
|
|
1736
1683
|
] }],
|
|
1737
1684
|
saturate: [{ saturate: [
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1685
|
+
V,
|
|
1686
|
+
K,
|
|
1687
|
+
W
|
|
1741
1688
|
] }],
|
|
1742
1689
|
sepia: [{ sepia: [
|
|
1743
1690
|
"",
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1691
|
+
V,
|
|
1692
|
+
K,
|
|
1693
|
+
W
|
|
1747
1694
|
] }],
|
|
1748
1695
|
"backdrop-filter": [{ "backdrop-filter": [
|
|
1749
1696
|
"",
|
|
1750
1697
|
"none",
|
|
1751
|
-
|
|
1752
|
-
|
|
1698
|
+
K,
|
|
1699
|
+
W
|
|
1753
1700
|
] }],
|
|
1754
|
-
"backdrop-blur": [{ "backdrop-blur":
|
|
1701
|
+
"backdrop-blur": [{ "backdrop-blur": se() }],
|
|
1755
1702
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1703
|
+
V,
|
|
1704
|
+
K,
|
|
1705
|
+
W
|
|
1759
1706
|
] }],
|
|
1760
1707
|
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1708
|
+
V,
|
|
1709
|
+
K,
|
|
1710
|
+
W
|
|
1764
1711
|
] }],
|
|
1765
1712
|
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
1766
1713
|
"",
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1714
|
+
V,
|
|
1715
|
+
K,
|
|
1716
|
+
W
|
|
1770
1717
|
] }],
|
|
1771
1718
|
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1719
|
+
V,
|
|
1720
|
+
K,
|
|
1721
|
+
W
|
|
1775
1722
|
] }],
|
|
1776
1723
|
"backdrop-invert": [{ "backdrop-invert": [
|
|
1777
1724
|
"",
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1725
|
+
V,
|
|
1726
|
+
K,
|
|
1727
|
+
W
|
|
1781
1728
|
] }],
|
|
1782
1729
|
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1730
|
+
V,
|
|
1731
|
+
K,
|
|
1732
|
+
W
|
|
1786
1733
|
] }],
|
|
1787
1734
|
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1735
|
+
V,
|
|
1736
|
+
K,
|
|
1737
|
+
W
|
|
1791
1738
|
] }],
|
|
1792
1739
|
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1793
1740
|
"",
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1741
|
+
V,
|
|
1742
|
+
K,
|
|
1743
|
+
W
|
|
1797
1744
|
] }],
|
|
1798
1745
|
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
1799
1746
|
"border-spacing": [{ "border-spacing": w() }],
|
|
@@ -1809,56 +1756,56 @@ var x = (e, t) => {
|
|
|
1809
1756
|
"shadow",
|
|
1810
1757
|
"transform",
|
|
1811
1758
|
"none",
|
|
1812
|
-
|
|
1813
|
-
|
|
1759
|
+
K,
|
|
1760
|
+
W
|
|
1814
1761
|
] }],
|
|
1815
1762
|
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
1816
1763
|
duration: [{ duration: [
|
|
1817
|
-
|
|
1764
|
+
V,
|
|
1818
1765
|
"initial",
|
|
1819
|
-
|
|
1820
|
-
|
|
1766
|
+
K,
|
|
1767
|
+
W
|
|
1821
1768
|
] }],
|
|
1822
1769
|
ease: [{ ease: [
|
|
1823
1770
|
"linear",
|
|
1824
1771
|
"initial",
|
|
1825
1772
|
_,
|
|
1826
|
-
|
|
1827
|
-
|
|
1773
|
+
K,
|
|
1774
|
+
W
|
|
1828
1775
|
] }],
|
|
1829
1776
|
delay: [{ delay: [
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1777
|
+
V,
|
|
1778
|
+
K,
|
|
1779
|
+
W
|
|
1833
1780
|
] }],
|
|
1834
1781
|
animate: [{ animate: [
|
|
1835
1782
|
"none",
|
|
1836
1783
|
v,
|
|
1837
|
-
|
|
1838
|
-
|
|
1784
|
+
K,
|
|
1785
|
+
W
|
|
1839
1786
|
] }],
|
|
1840
1787
|
backface: [{ backface: ["hidden", "visible"] }],
|
|
1841
1788
|
perspective: [{ perspective: [
|
|
1842
1789
|
h,
|
|
1843
|
-
|
|
1844
|
-
|
|
1790
|
+
K,
|
|
1791
|
+
W
|
|
1845
1792
|
] }],
|
|
1846
1793
|
"perspective-origin": [{ "perspective-origin": x() }],
|
|
1847
|
-
rotate: [{ rotate:
|
|
1848
|
-
"rotate-x": [{ "rotate-x":
|
|
1849
|
-
"rotate-y": [{ "rotate-y":
|
|
1850
|
-
"rotate-z": [{ "rotate-z":
|
|
1851
|
-
scale: [{ scale:
|
|
1852
|
-
"scale-x": [{ "scale-x":
|
|
1853
|
-
"scale-y": [{ "scale-y":
|
|
1854
|
-
"scale-z": [{ "scale-z":
|
|
1794
|
+
rotate: [{ rotate: ce() }],
|
|
1795
|
+
"rotate-x": [{ "rotate-x": ce() }],
|
|
1796
|
+
"rotate-y": [{ "rotate-y": ce() }],
|
|
1797
|
+
"rotate-z": [{ "rotate-z": ce() }],
|
|
1798
|
+
scale: [{ scale: le() }],
|
|
1799
|
+
"scale-x": [{ "scale-x": le() }],
|
|
1800
|
+
"scale-y": [{ "scale-y": le() }],
|
|
1801
|
+
"scale-z": [{ "scale-z": le() }],
|
|
1855
1802
|
"scale-3d": ["scale-3d"],
|
|
1856
|
-
skew: [{ skew:
|
|
1857
|
-
"skew-x": [{ "skew-x":
|
|
1858
|
-
"skew-y": [{ "skew-y":
|
|
1803
|
+
skew: [{ skew: ue() }],
|
|
1804
|
+
"skew-x": [{ "skew-x": ue() }],
|
|
1805
|
+
"skew-y": [{ "skew-y": ue() }],
|
|
1859
1806
|
transform: [{ transform: [
|
|
1860
|
-
J,
|
|
1861
1807
|
K,
|
|
1808
|
+
W,
|
|
1862
1809
|
"",
|
|
1863
1810
|
"none",
|
|
1864
1811
|
"gpu",
|
|
@@ -1866,15 +1813,15 @@ var x = (e, t) => {
|
|
|
1866
1813
|
] }],
|
|
1867
1814
|
"transform-origin": [{ origin: x() }],
|
|
1868
1815
|
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
1869
|
-
translate: [{ translate:
|
|
1870
|
-
"translate-x": [{ "translate-x":
|
|
1871
|
-
"translate-y": [{ "translate-y":
|
|
1872
|
-
"translate-z": [{ "translate-z":
|
|
1816
|
+
translate: [{ translate: pe() }],
|
|
1817
|
+
"translate-x": [{ "translate-x": pe() }],
|
|
1818
|
+
"translate-y": [{ "translate-y": pe() }],
|
|
1819
|
+
"translate-z": [{ "translate-z": pe() }],
|
|
1873
1820
|
"translate-none": ["translate-none"],
|
|
1874
1821
|
zoom: [{ zoom: [
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1822
|
+
H,
|
|
1823
|
+
K,
|
|
1824
|
+
W
|
|
1878
1825
|
] }],
|
|
1879
1826
|
accent: [{ accent: F() }],
|
|
1880
1827
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
@@ -1924,8 +1871,8 @@ var x = (e, t) => {
|
|
|
1924
1871
|
"nwse-resize",
|
|
1925
1872
|
"zoom-in",
|
|
1926
1873
|
"zoom-out",
|
|
1927
|
-
|
|
1928
|
-
|
|
1874
|
+
K,
|
|
1875
|
+
W
|
|
1929
1876
|
] }],
|
|
1930
1877
|
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
1931
1878
|
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
@@ -2011,15 +1958,15 @@ var x = (e, t) => {
|
|
|
2011
1958
|
"scroll",
|
|
2012
1959
|
"contents",
|
|
2013
1960
|
"transform",
|
|
2014
|
-
|
|
2015
|
-
|
|
1961
|
+
K,
|
|
1962
|
+
W
|
|
2016
1963
|
] }],
|
|
2017
1964
|
fill: [{ fill: ["none", ...F()] }],
|
|
2018
1965
|
"stroke-w": [{ stroke: [
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
1966
|
+
V,
|
|
1967
|
+
Ee,
|
|
1968
|
+
G,
|
|
1969
|
+
be
|
|
2023
1970
|
] }],
|
|
2024
1971
|
stroke: [{ stroke: ["none", ...F()] }],
|
|
2025
1972
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
@@ -2278,27 +2225,48 @@ var x = (e, t) => {
|
|
|
2278
2225
|
]
|
|
2279
2226
|
};
|
|
2280
2227
|
});
|
|
2281
|
-
|
|
2282
|
-
|
|
2228
|
+
// node_modules/.pnpm/@tangle-network+ui@11.51.7_d56e3d7864cba854d7eacd97c62b4344/node_modules/@tangle-network/ui/dist/lib/utils.js
|
|
2229
|
+
function Ue(...e) {
|
|
2230
|
+
return He(c(e));
|
|
2283
2231
|
}
|
|
2284
|
-
|
|
2285
|
-
|
|
2232
|
+
// node_modules/.pnpm/react@19.3.1/node_modules/react/cjs/react-jsx-runtime.production.js
|
|
2233
|
+
var We = /* @__PURE__ */ t(((e) => {
|
|
2234
|
+
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
|
|
2235
|
+
function r(e, n, r) {
|
|
2236
|
+
var i = null;
|
|
2237
|
+
if (r !== void 0 && (i = "" + r), n.key !== void 0 && (i = "" + n.key), "key" in n) for (var a in r = {}, n) a !== "key" && (r[a] = n[a]);
|
|
2238
|
+
else r = n;
|
|
2239
|
+
return n = r.ref, {
|
|
2240
|
+
$$typeof: t,
|
|
2241
|
+
type: e,
|
|
2242
|
+
key: i,
|
|
2243
|
+
ref: n === void 0 ? null : n,
|
|
2244
|
+
props: r
|
|
2245
|
+
};
|
|
2246
|
+
}
|
|
2247
|
+
e.Fragment = n, e.jsx = r, e.jsxs = r;
|
|
2248
|
+
})), Ge = /* @__PURE__ */ t(((e, t) => {
|
|
2249
|
+
t.exports = We();
|
|
2250
|
+
})), Ke = (e) => e?.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
2251
|
+
// node_modules/.pnpm/lucide-react@1.61.0_@types+react@19.3.0_react@19.3.1/node_modules/lucide-react/dist/esm/shared/src/utils/toLucideIconData.mjs
|
|
2252
|
+
function qe(e, t, n = []) {
|
|
2286
2253
|
if (t == null) throw Error("[lucide]: iconNode is required when icon name is used");
|
|
2287
2254
|
return {
|
|
2288
|
-
name:
|
|
2255
|
+
name: Ke(e),
|
|
2289
2256
|
size: 24,
|
|
2290
2257
|
node: t,
|
|
2291
2258
|
...n.length > 0 ? { aliases: n } : {}
|
|
2292
2259
|
};
|
|
2293
2260
|
}
|
|
2294
|
-
|
|
2261
|
+
// node_modules/.pnpm/lucide-react@1.61.0_@types+react@19.3.0_react@19.3.1/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.mjs
|
|
2262
|
+
var Je = (e) => {
|
|
2295
2263
|
let t = "", n = !1;
|
|
2296
2264
|
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);
|
|
2297
2265
|
return t;
|
|
2298
|
-
},
|
|
2299
|
-
let t =
|
|
2266
|
+
}, Ye = (e) => {
|
|
2267
|
+
let t = Je(e);
|
|
2300
2268
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
2301
|
-
},
|
|
2269
|
+
}, Xe = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), Ze = {
|
|
2302
2270
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2303
2271
|
width: 24,
|
|
2304
2272
|
height: 24,
|
|
@@ -2309,22 +2277,23 @@ var tt = (e) => {
|
|
|
2309
2277
|
"stroke-linecap": "round",
|
|
2310
2278
|
"stroke-linejoin": "round"
|
|
2311
2279
|
};
|
|
2312
|
-
|
|
2280
|
+
// node_modules/.pnpm/lucide-react@1.61.0_@types+react@19.3.0_react@19.3.1/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconNode.mjs
|
|
2281
|
+
function Qe(e) {
|
|
2313
2282
|
return e != null;
|
|
2314
2283
|
}
|
|
2315
|
-
function
|
|
2316
|
-
let n = t.attributeNames ?? {}, r = (e) => n[e] ?? e, i = e.size ?? e.width ??
|
|
2284
|
+
function $e(e, t = {}) {
|
|
2285
|
+
let n = t.attributeNames ?? {}, r = (e) => n[e] ?? e, i = e.size ?? e.width ?? Ze.width, a = e.size ?? e.height ?? Ze.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 ? Xe(...c) : Xe("lucide", ...s, ...c), u = t.absoluteStrokeWidth ? Number(t.strokeWidth ?? Ze["stroke-width"]) * Number(e.size ?? e.width ?? Ze.width) / Number(t.size ?? t.width ?? Ze.width) : t.strokeWidth ?? Ze["stroke-width"];
|
|
2317
2286
|
return [
|
|
2318
2287
|
"svg",
|
|
2319
2288
|
{
|
|
2320
|
-
...Object.entries(
|
|
2289
|
+
...Object.entries(Ze).reduce((e, [t, n]) => (e[r(t)] = n, e), {}),
|
|
2321
2290
|
..."color" in t && t.color && { [r("stroke")]: t.color },
|
|
2322
|
-
..."size" in t &&
|
|
2291
|
+
..."size" in t && Qe(t.size) && {
|
|
2323
2292
|
[r("width")]: t.size,
|
|
2324
2293
|
[r("height")]: t.size
|
|
2325
2294
|
},
|
|
2326
|
-
..."width" in t &&
|
|
2327
|
-
..."height" in t &&
|
|
2295
|
+
..."width" in t && Qe(t.width) && { [r("width")]: t.width },
|
|
2296
|
+
..."height" in t && Qe(t.height) && { [r("height")]: t.height },
|
|
2328
2297
|
[r("stroke-width")]: u,
|
|
2329
2298
|
...l && { [r("class")]: l },
|
|
2330
2299
|
[r("viewBox")]: `0 0 ${i} ${a}`,
|
|
@@ -2344,8 +2313,9 @@ function at(e, t = {}) {
|
|
|
2344
2313
|
})
|
|
2345
2314
|
];
|
|
2346
2315
|
}
|
|
2347
|
-
|
|
2348
|
-
|
|
2316
|
+
// node_modules/.pnpm/lucide-react@1.61.0_@types+react@19.3.0_react@19.3.1/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconForReact.mjs
|
|
2317
|
+
function et(e, t = {}) {
|
|
2318
|
+
return $e(e, {
|
|
2349
2319
|
...t,
|
|
2350
2320
|
attributeNames: {
|
|
2351
2321
|
...t.attributeNames,
|
|
@@ -2357,40 +2327,43 @@ function ot(e, t = {}) {
|
|
|
2357
2327
|
}
|
|
2358
2328
|
});
|
|
2359
2329
|
}
|
|
2360
|
-
|
|
2330
|
+
// node_modules/.pnpm/lucide-react@1.61.0_@types+react@19.3.0_react@19.3.1/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs
|
|
2331
|
+
var tt = (e) => {
|
|
2361
2332
|
for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
|
|
2362
2333
|
return !1;
|
|
2363
|
-
},
|
|
2364
|
-
node:
|
|
2334
|
+
}, nt = (0, o.createContext)({}), rt = () => (0, o.useContext)(nt), it = (0, o.forwardRef)(({ color: e, size: t, width: n, height: r, strokeWidth: i, absoluteStrokeWidth: a, nonScalingStroke: s, className: c = "", children: l, iconNode: u = [], icon: d = {
|
|
2335
|
+
node: u,
|
|
2365
2336
|
aliases: [],
|
|
2366
2337
|
size: 24
|
|
2367
|
-
}, ...
|
|
2368
|
-
let { size:
|
|
2369
|
-
color: e ??
|
|
2370
|
-
width: n ?? t ??
|
|
2371
|
-
height: r ?? t ??
|
|
2372
|
-
strokeWidth: i ??
|
|
2373
|
-
absoluteStrokeWidth: a ??
|
|
2374
|
-
nonScalingStroke:
|
|
2375
|
-
className:
|
|
2338
|
+
}, ...f }, p) => {
|
|
2339
|
+
let { size: m = 24, strokeWidth: h = 2, absoluteStrokeWidth: g = !1, nonScalingStroke: _ = !1, color: v = "currentColor", className: y = "" } = rt() ?? {}, b = !!l || tt(f), [x, S, C = []] = et(d, {
|
|
2340
|
+
color: e ?? v,
|
|
2341
|
+
width: n ?? t ?? m,
|
|
2342
|
+
height: r ?? t ?? m,
|
|
2343
|
+
strokeWidth: i ?? h,
|
|
2344
|
+
absoluteStrokeWidth: a ?? g,
|
|
2345
|
+
nonScalingStroke: s ?? _,
|
|
2346
|
+
className: Xe(y, c),
|
|
2376
2347
|
hasA11yProp: b,
|
|
2377
|
-
attributes:
|
|
2348
|
+
attributes: f
|
|
2378
2349
|
});
|
|
2379
|
-
return (0,
|
|
2380
|
-
ref:
|
|
2350
|
+
return (0, o.createElement)(x, {
|
|
2351
|
+
ref: p,
|
|
2381
2352
|
...S
|
|
2382
|
-
}, [...C.map(([e, t]) => (0,
|
|
2353
|
+
}, [...C.map(([e, t]) => (0, o.createElement)(e, t)), ...Array.isArray(l) ? l : [l]]);
|
|
2383
2354
|
});
|
|
2384
|
-
|
|
2385
|
-
|
|
2355
|
+
// node_modules/.pnpm/lucide-react@1.61.0_@types+react@19.3.0_react@19.3.1/node_modules/lucide-react/dist/esm/createLucideIcon.mjs
|
|
2356
|
+
function J(e, t = [], n = []) {
|
|
2357
|
+
let r = typeof e == "string" ? qe(e, t, n) : e, i = (0, o.forwardRef)(({ className: e, ...t }, n) => (0, o.createElement)(it, {
|
|
2386
2358
|
ref: n,
|
|
2387
2359
|
icon: r,
|
|
2388
2360
|
className: e,
|
|
2389
2361
|
...t
|
|
2390
2362
|
}));
|
|
2391
|
-
return r.name && (i.displayName =
|
|
2363
|
+
return r.name && (i.displayName = Ye(r.name)), i;
|
|
2392
2364
|
}
|
|
2393
|
-
|
|
2365
|
+
// node_modules/.pnpm/lucide-react@1.61.0_@types+react@19.3.0_react@19.3.1/node_modules/lucide-react/dist/esm/icons/circle-check.mjs
|
|
2366
|
+
var at = {
|
|
2394
2367
|
name: "circle-check",
|
|
2395
2368
|
size: 24,
|
|
2396
2369
|
node: [["circle", {
|
|
@@ -2404,8 +2377,8 @@ var dt = {
|
|
|
2404
2377
|
}]],
|
|
2405
2378
|
aliases: ["check-circle-2"]
|
|
2406
2379
|
};
|
|
2407
|
-
|
|
2408
|
-
var
|
|
2380
|
+
at.node;
|
|
2381
|
+
var ot = J(at), st = {
|
|
2409
2382
|
name: "circle-dashed",
|
|
2410
2383
|
size: 24,
|
|
2411
2384
|
node: [
|
|
@@ -2443,8 +2416,8 @@ var ft = Q(dt), pt = {
|
|
|
2443
2416
|
}]
|
|
2444
2417
|
]
|
|
2445
2418
|
};
|
|
2446
|
-
|
|
2447
|
-
var
|
|
2419
|
+
st.node;
|
|
2420
|
+
var ct = J(st), lt = {
|
|
2448
2421
|
name: "circle-dot",
|
|
2449
2422
|
size: 24,
|
|
2450
2423
|
node: [["circle", {
|
|
@@ -2459,8 +2432,8 @@ var mt = Q(pt), ht = {
|
|
|
2459
2432
|
key: "1mglay"
|
|
2460
2433
|
}]]
|
|
2461
2434
|
};
|
|
2462
|
-
|
|
2463
|
-
var
|
|
2435
|
+
lt.node;
|
|
2436
|
+
var ut = J(lt), dt = {
|
|
2464
2437
|
name: "circle-question-mark",
|
|
2465
2438
|
size: 24,
|
|
2466
2439
|
node: [
|
|
@@ -2481,8 +2454,8 @@ var gt = Q(ht), _t = {
|
|
|
2481
2454
|
],
|
|
2482
2455
|
aliases: ["help-circle", "circle-help"]
|
|
2483
2456
|
};
|
|
2484
|
-
|
|
2485
|
-
var
|
|
2457
|
+
dt.node;
|
|
2458
|
+
var ft = J(dt), pt = {
|
|
2486
2459
|
name: "circle-stop",
|
|
2487
2460
|
size: 24,
|
|
2488
2461
|
node: [["circle", {
|
|
@@ -2500,8 +2473,8 @@ var vt = Q(_t), yt = {
|
|
|
2500
2473
|
}]],
|
|
2501
2474
|
aliases: ["stop-circle"]
|
|
2502
2475
|
};
|
|
2503
|
-
|
|
2504
|
-
var
|
|
2476
|
+
pt.node;
|
|
2477
|
+
var mt = J(pt), ht = {
|
|
2505
2478
|
name: "circle-x",
|
|
2506
2479
|
size: 24,
|
|
2507
2480
|
node: [
|
|
@@ -2522,8 +2495,8 @@ var bt = Q(yt), xt = {
|
|
|
2522
2495
|
],
|
|
2523
2496
|
aliases: ["x-circle"]
|
|
2524
2497
|
};
|
|
2525
|
-
|
|
2526
|
-
var
|
|
2498
|
+
ht.node;
|
|
2499
|
+
var gt = J(ht), _t = {
|
|
2527
2500
|
name: "hand",
|
|
2528
2501
|
size: 24,
|
|
2529
2502
|
node: [
|
|
@@ -2545,8 +2518,8 @@ var St = Q(xt), Ct = {
|
|
|
2545
2518
|
}]
|
|
2546
2519
|
]
|
|
2547
2520
|
};
|
|
2548
|
-
|
|
2549
|
-
var
|
|
2521
|
+
_t.node;
|
|
2522
|
+
var vt = J(_t), yt = {
|
|
2550
2523
|
name: "hourglass",
|
|
2551
2524
|
size: 24,
|
|
2552
2525
|
node: [
|
|
@@ -2568,50 +2541,88 @@ var wt = Q(Ct), Tt = {
|
|
|
2568
2541
|
}]
|
|
2569
2542
|
]
|
|
2570
2543
|
};
|
|
2571
|
-
|
|
2572
|
-
var
|
|
2544
|
+
yt.node;
|
|
2545
|
+
var bt = J(yt), xt = (e) => typeof e == "number" && Number.isFinite(e) ? e : void 0, Y = (e) => typeof e == "number" && Number.isSafeInteger(e) && e >= 0 ? e : void 0;
|
|
2546
|
+
function St(e) {
|
|
2547
|
+
if (e.length && !e.some((e) => Y(e) === void 0)) return Y(e.reduce((e, t) => e + t, 0));
|
|
2548
|
+
}
|
|
2549
|
+
function Ct(e) {
|
|
2550
|
+
if (e >= 864e5) {
|
|
2551
|
+
let t = Math.floor(e / 864e5), n = Math.floor(e % 864e5 / 36e5);
|
|
2552
|
+
return `${t}d${n ? ` ${n}h` : ""}`;
|
|
2553
|
+
}
|
|
2554
|
+
let t = e / 1e3;
|
|
2555
|
+
return t < 60 ? `${Math.round(t)} s` : t < 3600 ? `${(t / 60).toFixed(1)} min` : `${(t / 3600).toFixed(1)} h`;
|
|
2556
|
+
}
|
|
2557
|
+
var wt = (e) => e == null || !Number.isFinite(e) ? "—" : new Intl.NumberFormat("en-US", {
|
|
2558
|
+
notation: "compact",
|
|
2559
|
+
maximumFractionDigits: 1
|
|
2560
|
+
}).format(e);
|
|
2561
|
+
function Tt(e) {
|
|
2562
|
+
if (!Number.isFinite(e) || e < 0) return "—";
|
|
2563
|
+
let t = e < 1e4 ? 100 : e < 36e5 ? 1e3 : 6e4;
|
|
2564
|
+
return e >= 864e5 ? Ct(e) : e < 1e3 ? `${Math.round(e)}ms` : Dt(Math.round(e / t) * t);
|
|
2565
|
+
}
|
|
2566
|
+
function X(e) {
|
|
2567
|
+
return xt(e) === void 0 || e < 0 ? "—" : e === 0 ? "$0.00" : e < .01 ? `$${e.toPrecision(1)}` : `$${e.toFixed(2)}`;
|
|
2568
|
+
}
|
|
2569
|
+
function Et(e) {
|
|
2570
|
+
return Y(e) === void 0 ? "—" : wt(e);
|
|
2571
|
+
}
|
|
2572
|
+
function Dt(e) {
|
|
2573
|
+
if (!Number.isFinite(e) || e < 0) return "—";
|
|
2574
|
+
let t = Math.round(e) / 1e3, n = Math.floor(t / 3600), r = Math.floor(t % 3600 / 60), i = Number((t % 60).toFixed(3));
|
|
2575
|
+
return [
|
|
2576
|
+
n ? `${n}h` : "",
|
|
2577
|
+
r ? `${r}m` : "",
|
|
2578
|
+
i ? `${i}s` : ""
|
|
2579
|
+
].filter(Boolean).join(" ") || "0s";
|
|
2580
|
+
}
|
|
2581
|
+
// node_modules/.pnpm/@tangle-network+ui@11.51.7_d56e3d7864cba854d7eacd97c62b4344/node_modules/@tangle-network/ui/dist/run/status-meta.js
|
|
2582
|
+
var Z = Ge(), Ot = {
|
|
2573
2583
|
running: {
|
|
2574
2584
|
label: "Running",
|
|
2575
|
-
icon:
|
|
2585
|
+
icon: ut,
|
|
2576
2586
|
token: "--surface-info-text"
|
|
2577
2587
|
},
|
|
2578
2588
|
waiting: {
|
|
2579
2589
|
label: "Waiting",
|
|
2580
|
-
icon:
|
|
2590
|
+
icon: bt,
|
|
2581
2591
|
token: "--surface-neutral-text"
|
|
2582
2592
|
},
|
|
2583
2593
|
"needs-you": {
|
|
2584
2594
|
label: "Needs you",
|
|
2585
|
-
icon:
|
|
2595
|
+
icon: vt,
|
|
2586
2596
|
token: "--surface-warning-text"
|
|
2587
2597
|
},
|
|
2588
2598
|
done: {
|
|
2589
2599
|
label: "Done",
|
|
2590
|
-
icon:
|
|
2600
|
+
icon: ot,
|
|
2591
2601
|
token: "--surface-success-text"
|
|
2592
2602
|
},
|
|
2593
2603
|
failed: {
|
|
2594
2604
|
label: "Failed",
|
|
2595
|
-
icon:
|
|
2605
|
+
icon: gt,
|
|
2596
2606
|
token: "--surface-danger-text"
|
|
2597
2607
|
},
|
|
2598
2608
|
stopped: {
|
|
2599
2609
|
label: "Stopped",
|
|
2600
|
-
icon:
|
|
2610
|
+
icon: mt,
|
|
2601
2611
|
token: "--surface-neutral-text"
|
|
2602
2612
|
},
|
|
2603
2613
|
idle: {
|
|
2604
2614
|
label: "Idle",
|
|
2605
|
-
icon:
|
|
2615
|
+
icon: ct,
|
|
2606
2616
|
token: "--surface-neutral-text"
|
|
2607
2617
|
},
|
|
2608
2618
|
unknown: {
|
|
2609
2619
|
label: "Unknown",
|
|
2610
|
-
icon:
|
|
2620
|
+
icon: ft,
|
|
2611
2621
|
token: "--surface-neutral-text"
|
|
2612
2622
|
}
|
|
2613
|
-
},
|
|
2623
|
+
}, kt = {
|
|
2614
2624
|
active: "running",
|
|
2625
|
+
working: "running",
|
|
2615
2626
|
in_progress: "running",
|
|
2616
2627
|
"in-progress": "running",
|
|
2617
2628
|
streaming: "running",
|
|
@@ -2622,6 +2633,7 @@ var Et = Q(Tt), Dt = {
|
|
|
2622
2633
|
needs_you: "needs-you",
|
|
2623
2634
|
needs_input: "needs-you",
|
|
2624
2635
|
awaiting_input: "needs-you",
|
|
2636
|
+
winner: "done",
|
|
2625
2637
|
completed: "done",
|
|
2626
2638
|
complete: "done",
|
|
2627
2639
|
success: "done",
|
|
@@ -2629,27 +2641,35 @@ var Et = Q(Tt), Dt = {
|
|
|
2629
2641
|
shipped: "done",
|
|
2630
2642
|
error: "failed",
|
|
2631
2643
|
errored: "failed",
|
|
2644
|
+
"driver-failed": "failed",
|
|
2645
|
+
down: "stopped",
|
|
2646
|
+
"no-winner": "stopped",
|
|
2632
2647
|
cancelled: "stopped",
|
|
2633
2648
|
canceled: "stopped",
|
|
2634
2649
|
aborted: "stopped"
|
|
2635
2650
|
};
|
|
2636
|
-
function kt(e) {
|
|
2637
|
-
let t = e.trim().toLowerCase();
|
|
2638
|
-
return Object.hasOwn(Dt, t) ? t : Object.hasOwn(Ot, t) ? Ot[t] : "unknown";
|
|
2639
|
-
}
|
|
2640
2651
|
function At(e) {
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2652
|
+
let t = e.trim().toLowerCase();
|
|
2653
|
+
return Object.hasOwn(Ot, t) ? t : Object.hasOwn(kt, t) ? kt[t] : "unknown";
|
|
2654
|
+
}
|
|
2655
|
+
var jt = (e) => [
|
|
2656
|
+
"running",
|
|
2657
|
+
"waiting",
|
|
2658
|
+
"needs-you"
|
|
2659
|
+
].includes(At(e));
|
|
2660
|
+
function Mt(e) {
|
|
2661
|
+
return Ot[At(e)];
|
|
2662
|
+
}
|
|
2663
|
+
function Nt({ status: e, className: t, style: n, ...r }) {
|
|
2664
|
+
let i = At(e), { label: a, icon: o, token: s } = Ot[i], c = i === "running";
|
|
2665
|
+
return /* @__PURE__ */ (0, Z.jsx)(o, {
|
|
2646
2666
|
role: "img",
|
|
2647
2667
|
"aria-label": a,
|
|
2648
2668
|
size: 16,
|
|
2649
2669
|
strokeWidth: 1.75,
|
|
2650
2670
|
"data-run-status": i,
|
|
2651
2671
|
"data-motion": c ? "essential" : void 0,
|
|
2652
|
-
className:
|
|
2672
|
+
className: Ue("shrink-0", c && "animate-[tangle-breathe_var(--motion-ambient)_infinite]", t),
|
|
2653
2673
|
style: {
|
|
2654
2674
|
color: `var(${s})`,
|
|
2655
2675
|
...n
|
|
@@ -2657,8 +2677,32 @@ function jt({ status: e, className: t, style: n, ...r }) {
|
|
|
2657
2677
|
...r
|
|
2658
2678
|
});
|
|
2659
2679
|
}
|
|
2660
|
-
|
|
2661
|
-
|
|
2680
|
+
// node_modules/.pnpm/@tangle-network+ui@11.51.7_d56e3d7864cba854d7eacd97c62b4344/node_modules/@tangle-network/ui/dist/hooks/use-live-time.js
|
|
2681
|
+
var Pt = /* @__PURE__ */ new Set(), Ft = Date.now(), It;
|
|
2682
|
+
function Lt() {
|
|
2683
|
+
clearTimeout(It), Pt.size && (It = setTimeout(() => {
|
|
2684
|
+
Ft = Date.now();
|
|
2685
|
+
for (let e of Pt) Ft >= e.next && (e.next = Ft + e.period, e.notify());
|
|
2686
|
+
Lt();
|
|
2687
|
+
}, Math.max(0, Math.min(...[...Pt].map((e) => e.next)) - Date.now())));
|
|
2688
|
+
}
|
|
2689
|
+
function Rt(e, t, n) {
|
|
2690
|
+
let r = (0, o.useCallback)((n) => {
|
|
2691
|
+
if (t !== void 0) return () => {};
|
|
2692
|
+
Pt.size || (Ft = Date.now());
|
|
2693
|
+
let r = {
|
|
2694
|
+
period: e,
|
|
2695
|
+
next: Math.floor(Ft / e + 1) * e,
|
|
2696
|
+
notify: n
|
|
2697
|
+
};
|
|
2698
|
+
return Pt.add(r), Lt(), () => {
|
|
2699
|
+
Pt.delete(r), Lt();
|
|
2700
|
+
};
|
|
2701
|
+
}, [e, t]);
|
|
2702
|
+
return (0, o.useSyncExternalStore)(r, () => t ?? Math.max(Ft, n), () => t ?? n);
|
|
2703
|
+
}
|
|
2704
|
+
var zt = (e) => Rt(1e3, e, 0), Bt = (e) => e.kind === "model" || e.modelCall ? "model" : "tool", Vt = (e) => e?.split(" · ")[0], Ht = (e) => e > 0 && e <= 5 ? e : 0, Ut = (e) => e.status === "failed", Q = (e) => e.status === "running", Wt = (e, t) => new Map((e.facts ?? []).map((e) => [e.label.toLowerCase(), e.value])).get(t.toLowerCase()), Gt = (e) => Number.isFinite(e.startMs) && Number.isFinite(e.endMs) && e.endMs >= e.startMs;
|
|
2705
|
+
function Kt(e, t, n = 240) {
|
|
2662
2706
|
e.sort((e, t) => e.startMs - t.startMs);
|
|
2663
2707
|
let r = t;
|
|
2664
2708
|
for (let t = 0; t < 40; t++, r *= 2) {
|
|
@@ -2677,16 +2721,16 @@ function Rt(e, t, n = 240) {
|
|
|
2677
2721
|
}
|
|
2678
2722
|
return e;
|
|
2679
2723
|
}
|
|
2680
|
-
function
|
|
2724
|
+
function qt(e, t) {
|
|
2681
2725
|
let n = /* @__PURE__ */ new Set(), r = [...e.spans].map((e, t) => {
|
|
2682
|
-
let n =
|
|
2683
|
-
label:
|
|
2726
|
+
let n = At(e.status ?? "unknown"), r = {
|
|
2727
|
+
label: Mt(n).label,
|
|
2684
2728
|
tone: n === "running" ? "live" : n === "done" ? "ok" : n === "needs-you" ? "warn" : n === "failed" ? "failed" : "neutral",
|
|
2685
2729
|
...n === "unknown" ? { ring: !0 } : {}
|
|
2686
2730
|
}, i = {
|
|
2687
2731
|
...e,
|
|
2688
2732
|
outcome: e.outcome ?? r,
|
|
2689
|
-
detail:
|
|
2733
|
+
detail: Wt(e, e.kind === "tool" ? "Provider" : "Model") ?? e.detail
|
|
2690
2734
|
};
|
|
2691
2735
|
return {
|
|
2692
2736
|
span: i,
|
|
@@ -2700,9 +2744,9 @@ function zt(e, t) {
|
|
|
2700
2744
|
parentId: t.parentId,
|
|
2701
2745
|
name: t.name,
|
|
2702
2746
|
kind: t.kind,
|
|
2703
|
-
durationLabel:
|
|
2747
|
+
durationLabel: Gt(t) ? `${Tt(t.endMs - t.startMs)}${t.approx ? "~" : ""}` : "—",
|
|
2704
2748
|
approx: t.approx === !0,
|
|
2705
|
-
ok: !
|
|
2749
|
+
ok: !Ut(t),
|
|
2706
2750
|
depth: 0,
|
|
2707
2751
|
hasChildren: !1,
|
|
2708
2752
|
span: t,
|
|
@@ -2729,41 +2773,41 @@ function zt(e, t) {
|
|
|
2729
2773
|
t.push(e), a.set(e.parentId, t);
|
|
2730
2774
|
}
|
|
2731
2775
|
}
|
|
2732
|
-
let o = Math.max(1, Number.isFinite(e.totalMs) ? e.totalMs : 1), s = t ?? o / 900, c = [],
|
|
2733
|
-
e.depth = t, e.tone = e.kind === "pipeline" ?
|
|
2776
|
+
let o = Math.max(1, Number.isFinite(e.totalMs) ? e.totalMs : 1), s = t ?? o / 900, c = [], l = 0, u = (e, t, n) => {
|
|
2777
|
+
e.depth = t, e.tone = e.kind === "pipeline" ? l++ : n;
|
|
2734
2778
|
let r = a.get(e.id) ?? [];
|
|
2735
2779
|
e.hasChildren = r.length > 0, c.push(e);
|
|
2736
|
-
let i = [], o = e.span.promptTokens !== void 0 || e.span.completionTokens !== void 0 || e.span.cachedTokens !== void 0,
|
|
2780
|
+
let i = [], o = e.span.promptTokens !== void 0 || e.span.completionTokens !== void 0 || e.span.cachedTokens !== void 0, d = e.span.costUsd ?? 0, f = e.span.kind !== "model" || e.span.costUsd !== void 0;
|
|
2737
2781
|
for (let n of r) {
|
|
2738
|
-
for (let r of
|
|
2782
|
+
for (let r of u(n, t + 1, e.tone)) i.push(r);
|
|
2739
2783
|
e.descendants += 1 + n.descendants, n.kind === "pipeline" && (e.hasAgents = !0);
|
|
2740
2784
|
let r = n.hasChildren ? n.rollupCostUsd : n.span.costUsd;
|
|
2741
|
-
r === void 0 ? (n.kind === "model" || n.hasChildren) && (
|
|
2785
|
+
r === void 0 ? (n.kind === "model" || n.hasChildren) && (f = !1) : d += r, n.kind !== "pipeline" && n.kind !== "waiting" && Gt(n.span) && e.own.push(Zt(n));
|
|
2742
2786
|
}
|
|
2743
|
-
Object.assign(e,
|
|
2744
|
-
let
|
|
2745
|
-
prompt:
|
|
2746
|
-
completion:
|
|
2747
|
-
cached:
|
|
2748
|
-
} :
|
|
2749
|
-
return
|
|
2787
|
+
Object.assign(e, Jt(r));
|
|
2788
|
+
let p = o ? {
|
|
2789
|
+
prompt: Y(e.span.promptTokens),
|
|
2790
|
+
completion: Y(e.span.completionTokens),
|
|
2791
|
+
cached: Y(e.span.cachedTokens)
|
|
2792
|
+
} : Xt(r);
|
|
2793
|
+
return p && (e.tokens = p), e.hasChildren && f && (e.rollupCostUsd = d), e.hasChildren && (e.segments = Kt(i.map((e) => ({ ...e })), s), e.own = Kt(e.own, s)), e.kind === "pipeline" || e.kind === "waiting" || !Gt(e.span) || i.push(Zt(e)), i;
|
|
2750
2794
|
};
|
|
2751
|
-
for (let e of r) e.parentId ||
|
|
2795
|
+
for (let e of r) e.parentId || u(e, 0, -1);
|
|
2752
2796
|
return c;
|
|
2753
2797
|
}
|
|
2754
|
-
function
|
|
2798
|
+
function Jt(e) {
|
|
2755
2799
|
let t, n = [];
|
|
2756
|
-
for (let r of e) if (r.kind !== "pipeline" && r.kind !== "waiting" &&
|
|
2800
|
+
for (let r of e) if (r.kind !== "pipeline" && r.kind !== "waiting" && Gt(r.span)) {
|
|
2757
2801
|
if (t ??= {
|
|
2758
2802
|
model: 0,
|
|
2759
2803
|
tool: 0,
|
|
2760
2804
|
failed: 0,
|
|
2761
2805
|
retried: 0,
|
|
2762
2806
|
tools: {}
|
|
2763
|
-
}, r.ok || t.failed++, r.retry && t.retried++, r.kind === "model") t.model++,
|
|
2807
|
+
}, r.ok || t.failed++, r.retry && t.retried++, r.kind === "model") t.model++, Q(r.span) || n.push(r.span.endMs - r.span.startMs);
|
|
2764
2808
|
else {
|
|
2765
2809
|
t.tool++;
|
|
2766
|
-
let e =
|
|
2810
|
+
let e = Vt(r.name) || r.kind;
|
|
2767
2811
|
t.tools[e] = (t.tools[e] ?? 0) + 1;
|
|
2768
2812
|
}
|
|
2769
2813
|
}
|
|
@@ -2772,7 +2816,7 @@ function Bt(e) {
|
|
|
2772
2816
|
modelMs: n.sort((e, t) => e - t)
|
|
2773
2817
|
} : {};
|
|
2774
2818
|
}
|
|
2775
|
-
function
|
|
2819
|
+
function Yt(e) {
|
|
2776
2820
|
let t;
|
|
2777
2821
|
for (let n of e) if (n.counts) {
|
|
2778
2822
|
t ??= {
|
|
@@ -2784,7 +2828,7 @@ function Vt(e) {
|
|
|
2784
2828
|
}, t.model += n.counts.model, t.tool += n.counts.tool, t.failed += n.counts.failed, t.retried += n.counts.retried;
|
|
2785
2829
|
for (let [e, r] of Object.entries(n.counts.tools)) t.tools[e] = (t.tools[e] ?? 0) + r;
|
|
2786
2830
|
}
|
|
2787
|
-
let n =
|
|
2831
|
+
let n = Xt(e);
|
|
2788
2832
|
return {
|
|
2789
2833
|
...t ? {
|
|
2790
2834
|
counts: t,
|
|
@@ -2793,42 +2837,42 @@ function Vt(e) {
|
|
|
2793
2837
|
...n ? { tokens: n } : {}
|
|
2794
2838
|
};
|
|
2795
2839
|
}
|
|
2796
|
-
function
|
|
2840
|
+
function Xt(e) {
|
|
2797
2841
|
let t, n = e.filter((e) => e.kind === "model" || e.tokens !== void 0);
|
|
2798
2842
|
for (let e of [
|
|
2799
2843
|
"prompt",
|
|
2800
2844
|
"completion",
|
|
2801
2845
|
"cached"
|
|
2802
2846
|
]) {
|
|
2803
|
-
let r =
|
|
2847
|
+
let r = St(n.map((t) => t.tokens?.[e]));
|
|
2804
2848
|
r !== void 0 && ((t ??= {})[e] = r);
|
|
2805
2849
|
}
|
|
2806
2850
|
return t;
|
|
2807
2851
|
}
|
|
2808
|
-
function
|
|
2852
|
+
function Zt(e) {
|
|
2809
2853
|
return {
|
|
2810
2854
|
startMs: e.span.startMs,
|
|
2811
|
-
endMs:
|
|
2855
|
+
endMs: Q(e.span) ? Infinity : e.span.endMs,
|
|
2812
2856
|
kind: e.ok ? e.kind === "model" ? "model" : "tool" : "failed",
|
|
2813
2857
|
tone: e.tone,
|
|
2814
2858
|
id: e.id,
|
|
2815
2859
|
count: 1,
|
|
2816
2860
|
retry: e.retry,
|
|
2817
2861
|
name: e.name,
|
|
2818
|
-
tool:
|
|
2862
|
+
tool: Vt(e.name),
|
|
2819
2863
|
...e.span.costUsd === void 0 ? {} : { costUsd: e.span.costUsd },
|
|
2820
2864
|
...!e.ok && e.kind === "model" ? { modelCall: !0 } : {}
|
|
2821
2865
|
};
|
|
2822
2866
|
}
|
|
2823
|
-
function
|
|
2867
|
+
function Qt(e, t, n) {
|
|
2824
2868
|
let r = t.trim(), i = r.toLowerCase();
|
|
2825
2869
|
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));
|
|
2826
2870
|
}
|
|
2827
|
-
function
|
|
2871
|
+
function $t(e, t, n, r) {
|
|
2828
2872
|
let i = new Map(e.map((e) => [e.id, e]));
|
|
2829
2873
|
if (t.trim()) {
|
|
2830
2874
|
let n = /* @__PURE__ */ new Set();
|
|
2831
|
-
for (let a of
|
|
2875
|
+
for (let a of Qt(e, t, r)) {
|
|
2832
2876
|
let e = i.get(a);
|
|
2833
2877
|
for (; e && !n.has(e.id);) n.add(e.id), e = e.parentId ? i.get(e.parentId) : void 0;
|
|
2834
2878
|
}
|
|
@@ -2840,16 +2884,16 @@ function Gt(e, t, n, r) {
|
|
|
2840
2884
|
return t && a.add(e.id), !t;
|
|
2841
2885
|
});
|
|
2842
2886
|
}
|
|
2843
|
-
function
|
|
2887
|
+
function en(e, t) {
|
|
2844
2888
|
let n, r = -1;
|
|
2845
2889
|
for (let i of e) {
|
|
2846
2890
|
if (i.hasChildren || i.kind === "pipeline" || i.kind === "waiting" || i.durationLabel === "—" || i.span.startMs > t) continue;
|
|
2847
|
-
let e = (
|
|
2891
|
+
let e = (Q(i.span) ? Math.max(i.span.endMs, t) : Math.min(i.span.endMs, t)) - i.span.startMs;
|
|
2848
2892
|
e > r && (n = i, r = e);
|
|
2849
2893
|
}
|
|
2850
2894
|
return n;
|
|
2851
2895
|
}
|
|
2852
|
-
function
|
|
2896
|
+
function tn(e) {
|
|
2853
2897
|
let t = /* @__PURE__ */ new Map();
|
|
2854
2898
|
for (let n of e) {
|
|
2855
2899
|
if (!n.parentId) continue;
|
|
@@ -2868,13 +2912,13 @@ function qt(e) {
|
|
|
2868
2912
|
}
|
|
2869
2913
|
return new Set(n?.chain);
|
|
2870
2914
|
}
|
|
2871
|
-
function
|
|
2915
|
+
function nn(e, t) {
|
|
2872
2916
|
let n, r = -1, i, a = -1, o = 0, s = 0;
|
|
2873
2917
|
for (let c of e) {
|
|
2874
2918
|
if (c.durationLabel === "—" || c.span.startMs > t || c.kind !== "pipeline" || c.hasAgents || c.id.startsWith("family:") || c.id.startsWith("run:")) continue;
|
|
2875
|
-
let e = (
|
|
2876
|
-
|
|
2877
|
-
let l =
|
|
2919
|
+
let e = (Q(c.span) ? Math.max(c.span.endMs, t) : Math.min(c.span.endMs, t)) - c.span.startMs;
|
|
2920
|
+
Wt(c.span, "Ran for") === void 0 && (s += 1, e > r && (n = c, r = e));
|
|
2921
|
+
let l = Wt(c.span, "Cost") === void 0 ? c.span.costUsd ?? c.rollupCostUsd : void 0;
|
|
2878
2922
|
typeof l == "number" && Number.isFinite(l) && (o += 1, l > a && (i = c, a = l));
|
|
2879
2923
|
}
|
|
2880
2924
|
return {
|
|
@@ -2882,7 +2926,7 @@ function Jt(e, t) {
|
|
|
2882
2926
|
costliestId: o > 1 && a > 0 ? i?.id : void 0
|
|
2883
2927
|
};
|
|
2884
2928
|
}
|
|
2885
|
-
function
|
|
2929
|
+
function rn(e, t) {
|
|
2886
2930
|
let n = 0, r = -Infinity;
|
|
2887
2931
|
for (let i of e.own) {
|
|
2888
2932
|
let e = Math.max(i.startMs, r), a = Math.min(i.endMs, t);
|
|
@@ -2890,58 +2934,58 @@ function Yt(e, t) {
|
|
|
2890
2934
|
}
|
|
2891
2935
|
return n;
|
|
2892
2936
|
}
|
|
2893
|
-
function
|
|
2937
|
+
function an(e, t) {
|
|
2894
2938
|
let n = 0, r = !1, i = !1, a = [];
|
|
2895
2939
|
for (let o of e.spans) {
|
|
2896
2940
|
if (o.startMs > t) continue;
|
|
2897
2941
|
let e = o.meta?.["cli_bridge.usage.scope"] === "sum_of_children";
|
|
2898
|
-
o.endMs > t || (o.costUsd !== void 0 && (n += o.costUsd, r = !0), e || o.kind !== "model" && o.promptTokens === void 0 && o.completionTokens === void 0 || (a.push(
|
|
2942
|
+
o.endMs > t || (o.costUsd !== void 0 && (n += o.costUsd, r = !0), e || o.kind !== "model" && o.promptTokens === void 0 && o.completionTokens === void 0 || (a.push(St([o.promptTokens, o.completionTokens])), i ||= o.promptTokens !== void 0 || o.completionTokens !== void 0));
|
|
2899
2943
|
}
|
|
2900
2944
|
return {
|
|
2901
2945
|
costUsd: e.costUsd === void 0 ? void 0 : r ? n : e.costUsd,
|
|
2902
|
-
tokens:
|
|
2903
|
-
modelCalls:
|
|
2904
|
-
toolCalls:
|
|
2905
|
-
errors:
|
|
2946
|
+
tokens: St(i ? a : [e.promptTokens, e.completionTokens]),
|
|
2947
|
+
modelCalls: Y(e.modelCalls),
|
|
2948
|
+
toolCalls: Y(e.toolCalls),
|
|
2949
|
+
errors: Y(e.errors)
|
|
2906
2950
|
};
|
|
2907
2951
|
}
|
|
2908
|
-
function
|
|
2909
|
-
e =
|
|
2910
|
-
let n =
|
|
2952
|
+
function on(e, t) {
|
|
2953
|
+
e = xt(e);
|
|
2954
|
+
let n = xt(t.billedUsd), r = t.costBasis === "list", i = r ? "Cost · list price" : "Cost";
|
|
2911
2955
|
if (e === void 0) return n === void 0 ? {
|
|
2912
2956
|
value: "—",
|
|
2913
2957
|
title: "No cost source: the harness recorded no cost and no price catalog was given",
|
|
2914
2958
|
label: i
|
|
2915
2959
|
} : {
|
|
2916
|
-
value: `${
|
|
2960
|
+
value: `${X(n)} billed`,
|
|
2917
2961
|
title: "No list price for these calls; billed is the seat charge",
|
|
2918
2962
|
label: i
|
|
2919
2963
|
};
|
|
2920
2964
|
let a = t.costCoverage, o = a !== void 0 && a.priced < a.total, s = !o && t.costBound === "upper";
|
|
2921
2965
|
return {
|
|
2922
|
-
value: `${o || t.costBound === "lower" ? "≥" : s ? "≤" : r ? "≈" : ""}${
|
|
2966
|
+
value: `${o || t.costBound === "lower" ? "≥" : s ? "≤" : r ? "≈" : ""}${X(e)}${n === void 0 ? "" : ` · ${X(n)} billed`}`,
|
|
2923
2967
|
title: [
|
|
2924
2968
|
o ? `${a.priced} of ${a.total} model calls priced` : a ? `all ${a.total} model calls priced` : "",
|
|
2925
2969
|
r ? "at the model catalog list price; not a bill" : "",
|
|
2926
2970
|
s ? "cached input is not split out, so it is priced as fresh input: at most this" : "",
|
|
2927
2971
|
t.costBound === "lower" ? "a floor: the producer reports at least this" : "",
|
|
2928
|
-
n === void 0 ? "" : `billed ${
|
|
2972
|
+
n === void 0 ? "" : `billed ${X(n)} (the seat charge)`
|
|
2929
2973
|
].filter(Boolean).join("; "),
|
|
2930
2974
|
label: i
|
|
2931
2975
|
};
|
|
2932
2976
|
}
|
|
2933
|
-
var
|
|
2934
|
-
function
|
|
2935
|
-
let r = e.length <= t, i =
|
|
2977
|
+
var sn = (e) => e.replace(/[-\s]\d+$/, "");
|
|
2978
|
+
function cn(e, t, n) {
|
|
2979
|
+
let r = e.length <= t, i = ln(e, /* @__PURE__ */ new Set()).filter((e) => e.id.startsWith("family:")).map((e) => e.id);
|
|
2936
2980
|
return new Set(i.filter((e) => r !== n.has(e)));
|
|
2937
2981
|
}
|
|
2938
|
-
function
|
|
2982
|
+
function ln(e, t) {
|
|
2939
2983
|
let n = /* @__PURE__ */ new Map();
|
|
2940
2984
|
for (let t of e) {
|
|
2941
|
-
let e = t.parentId === void 0 ? `root:${t.id}` :
|
|
2985
|
+
let e = t.parentId === void 0 ? `root:${t.id}` : sn(t.name);
|
|
2942
2986
|
n.set(e, [...n.get(e) ?? [], t]);
|
|
2943
2987
|
}
|
|
2944
|
-
let r = [], i = 0, a = (e) => e.tone <= 0 || ++i > 5 ? 0 : 1 + [...
|
|
2988
|
+
let r = [], i = 0, a = (e) => e.tone <= 0 || ++i > 5 ? 0 : 1 + [...sn(e.name)].reduce((e, t) => e * 31 + t.charCodeAt(0) >>> 0, 0) % 5;
|
|
2945
2989
|
for (let [e, i] of n) {
|
|
2946
2990
|
if (i.length < 2) {
|
|
2947
2991
|
let e = i[0], t = a(e);
|
|
@@ -2955,7 +2999,7 @@ function en(e, t) {
|
|
|
2955
2999
|
});
|
|
2956
3000
|
continue;
|
|
2957
3001
|
}
|
|
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) =>
|
|
3002
|
+
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) => Q(e.span)), u = i.map((e) => e.span.costUsd ?? (Wt(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, p = i.flatMap((e) => (e.span.facts ?? []).filter(({ label: t }) => [
|
|
2959
3003
|
"model",
|
|
2960
3004
|
"model calls",
|
|
2961
3005
|
"tool calls",
|
|
@@ -2976,7 +3020,7 @@ function en(e, t) {
|
|
|
2976
3020
|
parentId: i[0].parentId,
|
|
2977
3021
|
name: e,
|
|
2978
3022
|
kind: "pipeline",
|
|
2979
|
-
durationLabel:
|
|
3023
|
+
durationLabel: Tt(c - s),
|
|
2980
3024
|
approx: i.some((e) => e.approx),
|
|
2981
3025
|
ok: d === 0,
|
|
2982
3026
|
depth: 0,
|
|
@@ -3000,7 +3044,7 @@ function en(e, t) {
|
|
|
3000
3044
|
alt: t % 2 == 1
|
|
3001
3045
|
}))).sort((e, t) => e.startMs - t.startMs),
|
|
3002
3046
|
...u.length ? { rollupCostUsd: u.reduce((e, t) => e + t, 0) } : {},
|
|
3003
|
-
...
|
|
3047
|
+
...Yt(i),
|
|
3004
3048
|
span: {
|
|
3005
3049
|
id: o,
|
|
3006
3050
|
kind: "pipeline",
|
|
@@ -3011,7 +3055,7 @@ function en(e, t) {
|
|
|
3011
3055
|
status: l ? "running" : d ? "failed" : "done",
|
|
3012
3056
|
...f ? { outcome: f } : {},
|
|
3013
3057
|
detail: i.every((e) => e.span.detail === i[0].span.detail) ? i[0].span.detail : void 0,
|
|
3014
|
-
facts:
|
|
3058
|
+
facts: p,
|
|
3015
3059
|
meta: {
|
|
3016
3060
|
failedAgents: d,
|
|
3017
3061
|
costPartial: u.length < i.length,
|
|
@@ -3032,7 +3076,7 @@ function en(e, t) {
|
|
|
3032
3076
|
}
|
|
3033
3077
|
return r;
|
|
3034
3078
|
}
|
|
3035
|
-
function
|
|
3079
|
+
function un(e) {
|
|
3036
3080
|
if (e.id.startsWith("family:")) {
|
|
3037
3081
|
let t = Number(e.span.meta?.failedAgents ?? 0);
|
|
3038
3082
|
return [`${e.descendants} agents`, ...t ? [`${t} failed`] : []];
|
|
@@ -3050,14 +3094,14 @@ function tn(e) {
|
|
|
3050
3094
|
e.counts?.tool,
|
|
3051
3095
|
"tool"
|
|
3052
3096
|
]].map(([e, n, r]) => t.has(e.toLowerCase()) ? `${e}: ${t.get(e.toLowerCase())}` : n ? `${n} ${r} ${n === 1 ? "call" : "calls"}` : "");
|
|
3053
|
-
return [e.span.outcome?.label ?? (
|
|
3097
|
+
return [e.span.outcome?.label ?? (Q(e.span) ? "running" : e.ok ? e.kind === "pipeline" ? "" : "done" : "failed"), ...n].filter(Boolean);
|
|
3054
3098
|
}
|
|
3055
|
-
function
|
|
3056
|
-
let i =
|
|
3099
|
+
function dn(e, t, n, r) {
|
|
3100
|
+
let i = ln(e, n);
|
|
3057
3101
|
if (r.size === 0) return i;
|
|
3058
3102
|
let a = /* @__PURE__ */ new Map();
|
|
3059
3103
|
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]);
|
|
3060
|
-
return i.flatMap((e) => r.has(e.id) ? [e, ...
|
|
3104
|
+
return i.flatMap((e) => r.has(e.id) ? [e, ...fn(a.get(e.id) ?? []).map((t) => ({
|
|
3061
3105
|
...t,
|
|
3062
3106
|
stepOf: e.id,
|
|
3063
3107
|
inset: (e.inset ?? 0) + 1,
|
|
@@ -3068,7 +3112,7 @@ function nn(e, t, n, r) {
|
|
|
3068
3112
|
}))
|
|
3069
3113
|
}))] : [e]);
|
|
3070
3114
|
}
|
|
3071
|
-
function
|
|
3115
|
+
function fn(e) {
|
|
3072
3116
|
let t = [];
|
|
3073
3117
|
for (let n = 0; n < e.length;) {
|
|
3074
3118
|
let r = n;
|
|
@@ -3083,15 +3127,15 @@ function rn(e) {
|
|
|
3083
3127
|
...a,
|
|
3084
3128
|
id: `run:${a.id}`,
|
|
3085
3129
|
name: `${i.length} ${u}`,
|
|
3086
|
-
durationLabel:
|
|
3130
|
+
durationLabel: Tt(s - o),
|
|
3087
3131
|
ok: c === 0,
|
|
3088
3132
|
hasChildren: !1,
|
|
3089
3133
|
descendants: 0,
|
|
3090
3134
|
segments: [],
|
|
3091
|
-
...
|
|
3092
|
-
tokens:
|
|
3135
|
+
...Jt(i),
|
|
3136
|
+
tokens: Xt(i),
|
|
3093
3137
|
own: i.map((e) => ({
|
|
3094
|
-
...
|
|
3138
|
+
...Zt(e),
|
|
3095
3139
|
tone: a.tone
|
|
3096
3140
|
})),
|
|
3097
3141
|
...l.length ? { rollupCostUsd: l.reduce((e, t) => e + t, 0) } : {},
|
|
@@ -3108,7 +3152,7 @@ function rn(e) {
|
|
|
3108
3152
|
}
|
|
3109
3153
|
return t;
|
|
3110
3154
|
}
|
|
3111
|
-
function
|
|
3155
|
+
function pn(e, t) {
|
|
3112
3156
|
let n = t.find((t) => t.id === e.id);
|
|
3113
3157
|
if (n) return n;
|
|
3114
3158
|
let r = t.find((t) => (t.span.meta?.members)?.includes(e.id));
|
|
@@ -3117,77 +3161,61 @@ function an(e, t) {
|
|
|
3117
3161
|
tone: r.tone
|
|
3118
3162
|
} : e;
|
|
3119
3163
|
}
|
|
3120
|
-
var
|
|
3121
|
-
function
|
|
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 =
|
|
3164
|
+
var mn = (e, t) => Wt(e.span, "Cost") ?? (t === void 0 ? "" : `${e.costFloor ? "≥" : ""}${X(t)}`);
|
|
3165
|
+
function hn(e, t) {
|
|
3166
|
+
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 = gn(r, typeof s == "number" && Number.isFinite(s) && s >= 0 ? s : o, t);
|
|
3123
3167
|
return {
|
|
3124
3168
|
last: r,
|
|
3125
3169
|
...c,
|
|
3126
|
-
quiet:
|
|
3170
|
+
quiet: Q(e.span) && c.quiet
|
|
3127
3171
|
};
|
|
3128
3172
|
}
|
|
3129
|
-
function
|
|
3173
|
+
function gn(e, t, n) {
|
|
3130
3174
|
let r = Number.isFinite(e) ? Math.max(0, n - e) : 0;
|
|
3131
3175
|
return {
|
|
3132
3176
|
quietMs: r,
|
|
3133
3177
|
quiet: Number.isFinite(e) && r > Math.max(3e5, 3 * t)
|
|
3134
3178
|
};
|
|
3135
3179
|
}
|
|
3136
|
-
var
|
|
3137
|
-
|
|
3138
|
-
un = Date.now();
|
|
3139
|
-
for (let e of ln) e();
|
|
3140
|
-
dn = setTimeout(fn, 1e3 - Date.now() % 1e3);
|
|
3141
|
-
}
|
|
3142
|
-
function pn(e) {
|
|
3143
|
-
return ln.add(e), ln.size === 1 && fn(), () => {
|
|
3144
|
-
ln.delete(e), ln.size || clearTimeout(dn);
|
|
3145
|
-
};
|
|
3146
|
-
}
|
|
3147
|
-
var mn = () => () => {};
|
|
3148
|
-
function hn(e) {
|
|
3149
|
-
let t = (0, v.useSyncExternalStore)(e === void 0 ? pn : mn, () => e ?? un, () => e ?? 0);
|
|
3150
|
-
return e ?? t;
|
|
3151
|
-
}
|
|
3152
|
-
var gn = () => typeof matchMedia > "u" ? null : matchMedia("(prefers-reduced-motion: reduce)"), _n = (e) => {
|
|
3153
|
-
let t = gn();
|
|
3180
|
+
var _n = () => typeof matchMedia > "u" ? null : matchMedia("(prefers-reduced-motion: reduce)"), vn = (e) => {
|
|
3181
|
+
let t = _n();
|
|
3154
3182
|
return t?.addEventListener("change", e), () => t?.removeEventListener("change", e);
|
|
3155
3183
|
};
|
|
3156
|
-
function
|
|
3157
|
-
return (0,
|
|
3184
|
+
function yn() {
|
|
3185
|
+
return (0, o.useSyncExternalStore)(vn, () => _n()?.matches === !1, () => !1);
|
|
3158
3186
|
}
|
|
3159
|
-
function
|
|
3187
|
+
function bn(e, t) {
|
|
3160
3188
|
if (typeof document > "u") return 0;
|
|
3161
3189
|
let n = getComputedStyle(t ?? document.documentElement).getPropertyValue(e).trim();
|
|
3162
3190
|
return (parseFloat(n) || 0) * (n.endsWith("ms") ? 1 : 1e3);
|
|
3163
3191
|
}
|
|
3164
|
-
var
|
|
3165
|
-
function
|
|
3192
|
+
var xn = { animation: "tangle-breathe var(--motion-ambient) infinite" };
|
|
3193
|
+
function Sn(e) {
|
|
3166
3194
|
for (let t of e.currentTarget.getAnimations()) t.animationName === "tangle-breathe" && (t.startTime = 0);
|
|
3167
3195
|
}
|
|
3168
|
-
function
|
|
3196
|
+
function Cn(e) {
|
|
3169
3197
|
let t = Number.isFinite(e.lastActivityAt) && Number.isFinite(e.medianEventGapMs) && e.medianEventGapMs >= 0 ? [] : (e.events ?? []).flatMap((e) => e.at != null && Number.isFinite(e.at) ? [e.at] : []).sort((e, t) => e - t), n = Number.isFinite(e.lastActivityAt) ? e.lastActivityAt : t.at(-1), r = t.slice(1).map((e, n) => e - t[n]).sort((e, t) => e - t), i = Math.floor(r.length / 2);
|
|
3170
3198
|
return {
|
|
3171
3199
|
lastActivityAt: n,
|
|
3172
3200
|
medianEventGapMs: Number.isFinite(e.medianEventGapMs) && e.medianEventGapMs >= 0 ? e.medianEventGapMs : r.length ? r.length % 2 ? r[i] : (r[i - 1] + r[i]) / 2 : 0
|
|
3173
3201
|
};
|
|
3174
3202
|
}
|
|
3175
|
-
function
|
|
3203
|
+
function wn(e, t) {
|
|
3176
3204
|
if (e.status !== "running") return null;
|
|
3177
|
-
let { lastActivityAt: n, medianEventGapMs: r } =
|
|
3205
|
+
let { lastActivityAt: n, medianEventGapMs: r } = Cn(e);
|
|
3178
3206
|
if (n == null || !Number.isFinite(n)) return null;
|
|
3179
|
-
let { quietMs: i, quiet: a } =
|
|
3207
|
+
let { quietMs: i, quiet: a } = gn(n, r, t);
|
|
3180
3208
|
return a ? {
|
|
3181
3209
|
quietMs: i,
|
|
3182
|
-
label: `Quiet ${
|
|
3210
|
+
label: `Quiet ${Tt(i)}`
|
|
3183
3211
|
} : null;
|
|
3184
3212
|
}
|
|
3185
|
-
function
|
|
3186
|
-
let n =
|
|
3187
|
-
(0,
|
|
3213
|
+
function Tn(e, t) {
|
|
3214
|
+
let n = yn();
|
|
3215
|
+
(0, o.useEffect)(() => {
|
|
3188
3216
|
let r = e.current;
|
|
3189
3217
|
if (!r || !n || t !== "needs-you" && t !== "failed") return;
|
|
3190
|
-
let i =
|
|
3218
|
+
let i = Mt(t).token, a = bn("--duration-ambient", r) * (t === "needs-you" ? .45 : .3);
|
|
3191
3219
|
r.dataset.attn = t;
|
|
3192
3220
|
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}` }], {
|
|
3193
3221
|
duration: a,
|
|
@@ -3205,14 +3233,14 @@ function wn(e, t) {
|
|
|
3205
3233
|
n
|
|
3206
3234
|
]);
|
|
3207
3235
|
}
|
|
3208
|
-
// node_modules/.pnpm/@tangle-network+charts@
|
|
3209
|
-
function Tn(e) {
|
|
3210
|
-
return e === void 0 || !Number.isFinite(e) || e < 0 ? void 0 : m(e);
|
|
3211
|
-
}
|
|
3236
|
+
// node_modules/.pnpm/@tangle-network+charts@4.0.1_@tangle-network+brand@1.31.3_react@19.3.1__@tangle-network_8214af05d0383b56bf644dc573d5230c/node_modules/@tangle-network/charts/dist/graph-style-6hvhmogR.js
|
|
3212
3237
|
function En(e) {
|
|
3213
|
-
return
|
|
3238
|
+
return e === void 0 || !Number.isFinite(e) || e < 0 ? void 0 : X(e);
|
|
3214
3239
|
}
|
|
3215
|
-
function Dn(e
|
|
3240
|
+
function Dn(e) {
|
|
3241
|
+
return Y(e) === void 0 ? void 0 : `${Et(e)} tok`;
|
|
3242
|
+
}
|
|
3243
|
+
function On(e, t, n = !1) {
|
|
3216
3244
|
if (e == null || !Number.isFinite(e)) return "—";
|
|
3217
3245
|
if (n) return new Date(e).toLocaleTimeString([], {
|
|
3218
3246
|
hour: "2-digit",
|
|
@@ -3222,15 +3250,15 @@ function Dn(e, t, n = !1) {
|
|
|
3222
3250
|
let r = Math.max(0, Math.floor((t - e) / 1e3));
|
|
3223
3251
|
return r < 5 ? "now" : r < 60 ? `${r}s` : r < 3600 ? `${Math.floor(r / 60)}m` : `${Math.floor(r / 3600)}h`;
|
|
3224
3252
|
}
|
|
3225
|
-
function
|
|
3253
|
+
function kn(e, t = 2, n = 350) {
|
|
3226
3254
|
return e().catch((r) => {
|
|
3227
3255
|
if (t <= 0) throw r;
|
|
3228
3256
|
return new Promise((r, i) => {
|
|
3229
|
-
setTimeout(() =>
|
|
3257
|
+
setTimeout(() => kn(e, t - 1, n).then(r, i), n);
|
|
3230
3258
|
});
|
|
3231
3259
|
});
|
|
3232
3260
|
}
|
|
3233
|
-
var
|
|
3261
|
+
var An = class extends o.Component {
|
|
3234
3262
|
state = { hasError: !1 };
|
|
3235
3263
|
static getDerivedStateFromError() {
|
|
3236
3264
|
return { hasError: !0 };
|
|
@@ -3238,39 +3266,39 @@ var kn = class extends v.Component {
|
|
|
3238
3266
|
render() {
|
|
3239
3267
|
return this.state.hasError ? this.props.fallback : this.props.children;
|
|
3240
3268
|
}
|
|
3241
|
-
},
|
|
3242
|
-
function
|
|
3243
|
-
return
|
|
3269
|
+
}, jn;
|
|
3270
|
+
function Mn() {
|
|
3271
|
+
return jn ??= import("./elk.bundled-CqF3Dyp2.js").then((t) => /* @__PURE__ */ e(t.default, 1)).then((e) => {
|
|
3244
3272
|
let t = e.default;
|
|
3245
3273
|
return new t();
|
|
3246
|
-
}).catch(() => null),
|
|
3274
|
+
}).catch(() => null), jn;
|
|
3247
3275
|
}
|
|
3248
|
-
var
|
|
3249
|
-
function
|
|
3276
|
+
var Nn = /* @__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("."));
|
|
3277
|
+
function Pn(e) {
|
|
3250
3278
|
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);
|
|
3251
3279
|
}
|
|
3252
|
-
function
|
|
3253
|
-
let n =
|
|
3280
|
+
function Fn(e, t = "sentence") {
|
|
3281
|
+
let n = Pn(e);
|
|
3254
3282
|
return n.length === 0 ? e : n.map((e, n) => {
|
|
3255
3283
|
let r = e.toLowerCase();
|
|
3256
|
-
if (
|
|
3284
|
+
if (Nn.has(r)) return r.toUpperCase();
|
|
3257
3285
|
let i = r.charAt(0).toUpperCase() + r.slice(1);
|
|
3258
3286
|
return t === "title" ? i : n > 0 || t === "lower" ? r : i;
|
|
3259
3287
|
}).join(" ");
|
|
3260
3288
|
}
|
|
3261
|
-
function
|
|
3289
|
+
function In(e) {
|
|
3262
3290
|
let t = e.lastIndexOf("/");
|
|
3263
3291
|
return t === -1 ? e : e.slice(t + 1);
|
|
3264
3292
|
}
|
|
3265
|
-
function
|
|
3293
|
+
function Ln(e) {
|
|
3266
3294
|
if (typeof document > "u" || typeof window > "u") return "light";
|
|
3267
3295
|
let t = window.getComputedStyle(e ?? document.documentElement).colorScheme;
|
|
3268
3296
|
return t.startsWith("dark") ? "dark" : t.startsWith("light") ? "light" : (e ?? document.documentElement).closest(".dark") ? "dark" : "light";
|
|
3269
3297
|
}
|
|
3270
|
-
function
|
|
3271
|
-
let [n, r] = (0,
|
|
3272
|
-
return (0,
|
|
3273
|
-
let n = t ? e.current : null, i = () => r(
|
|
3298
|
+
function Rn(e, t) {
|
|
3299
|
+
let [n, r] = (0, o.useState)(() => Ln(null));
|
|
3300
|
+
return (0, o.useLayoutEffect)(() => {
|
|
3301
|
+
let n = t ? e.current : null, i = () => r(Ln(n));
|
|
3274
3302
|
i();
|
|
3275
3303
|
let a = new MutationObserver(i);
|
|
3276
3304
|
for (let e = n ?? document.documentElement; e; e = e.parentElement) a.observe(e, {
|
|
@@ -3285,15 +3313,124 @@ function Ln(e, t) {
|
|
|
3285
3313
|
return () => a.disconnect();
|
|
3286
3314
|
}, [e, t]), n;
|
|
3287
3315
|
}
|
|
3288
|
-
var
|
|
3316
|
+
var zn = {
|
|
3289
3317
|
outline: "1px solid hsl(var(--foreground) / .45)",
|
|
3290
3318
|
outlineOffset: 2
|
|
3291
|
-
},
|
|
3292
|
-
function
|
|
3293
|
-
return e === "failed" || e === "waiting" ? `var(${
|
|
3319
|
+
}, Bn = "inset 0 1px 0 hsl(var(--foreground) / 0.06), 0 1px 3px hsl(var(--shadow-color) / 0.08)", Vn = "hsl(var(--foreground) / 0.14)";
|
|
3320
|
+
function Hn(e) {
|
|
3321
|
+
return e === "failed" || e === "waiting" ? `var(${Mt(e === "waiting" ? "needs-you" : "failed").token})` : "color-mix(in srgb, hsl(var(--muted-foreground)) 80%, transparent)";
|
|
3322
|
+
}
|
|
3323
|
+
// node_modules/.pnpm/@tangle-network+charts@4.0.1_@tangle-network+brand@1.31.3_react@19.3.1__@tangle-network_8214af05d0383b56bf644dc573d5230c/node_modules/@tangle-network/charts/dist/latest-events-BfRc-7l9.js
|
|
3324
|
+
var Un = (e) => e?.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
3325
|
+
function Wn(e, t, n = []) {
|
|
3326
|
+
if (t == null) throw Error("[lucide]: iconNode is required when icon name is used");
|
|
3327
|
+
return {
|
|
3328
|
+
name: Un(e),
|
|
3329
|
+
size: 24,
|
|
3330
|
+
node: t,
|
|
3331
|
+
...n.length > 0 ? { aliases: n } : {}
|
|
3332
|
+
};
|
|
3333
|
+
}
|
|
3334
|
+
var Gn = (e) => {
|
|
3335
|
+
let t = "", n = !1;
|
|
3336
|
+
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);
|
|
3337
|
+
return t;
|
|
3338
|
+
}, Kn = (e) => {
|
|
3339
|
+
let t = Gn(e);
|
|
3340
|
+
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
3341
|
+
}, qn = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), $ = {
|
|
3342
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3343
|
+
width: 24,
|
|
3344
|
+
height: 24,
|
|
3345
|
+
viewBox: "0 0 24 24",
|
|
3346
|
+
fill: "none",
|
|
3347
|
+
stroke: "currentColor",
|
|
3348
|
+
"stroke-width": 2,
|
|
3349
|
+
"stroke-linecap": "round",
|
|
3350
|
+
"stroke-linejoin": "round"
|
|
3351
|
+
};
|
|
3352
|
+
function Jn(e) {
|
|
3353
|
+
return e != null;
|
|
3354
|
+
}
|
|
3355
|
+
function Yn(e, t = {}) {
|
|
3356
|
+
let n = t.attributeNames ?? {}, r = (e) => n[e] ?? e, i = e.size ?? e.width ?? $.width, a = e.size ?? e.height ?? $.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 ? qn(...c) : qn("lucide", ...s, ...c), u = t.absoluteStrokeWidth ? Number(t.strokeWidth ?? $["stroke-width"]) * Number(e.size ?? e.width ?? $.width) / Number(t.size ?? t.width ?? $.width) : t.strokeWidth ?? $["stroke-width"];
|
|
3357
|
+
return [
|
|
3358
|
+
"svg",
|
|
3359
|
+
{
|
|
3360
|
+
...Object.entries($).reduce((e, [t, n]) => (e[r(t)] = n, e), {}),
|
|
3361
|
+
..."color" in t && t.color && { [r("stroke")]: t.color },
|
|
3362
|
+
..."size" in t && Jn(t.size) && {
|
|
3363
|
+
[r("width")]: t.size,
|
|
3364
|
+
[r("height")]: t.size
|
|
3365
|
+
},
|
|
3366
|
+
..."width" in t && Jn(t.width) && { [r("width")]: t.width },
|
|
3367
|
+
..."height" in t && Jn(t.height) && { [r("height")]: t.height },
|
|
3368
|
+
[r("stroke-width")]: u,
|
|
3369
|
+
...l && { [r("class")]: l },
|
|
3370
|
+
[r("viewBox")]: `0 0 ${i} ${a}`,
|
|
3371
|
+
...t.hasA11yProp === !1 ? { [r("aria-hidden")]: "true" } : {},
|
|
3372
|
+
..."attributes" in t && t.attributes
|
|
3373
|
+
},
|
|
3374
|
+
e.node.map((e) => {
|
|
3375
|
+
let [n, i, a] = e, o = t.nonScalingStroke ? {
|
|
3376
|
+
[r("vector-effect")]: "non-scaling-stroke",
|
|
3377
|
+
...i
|
|
3378
|
+
} : i;
|
|
3379
|
+
return a ? [
|
|
3380
|
+
n,
|
|
3381
|
+
o,
|
|
3382
|
+
a
|
|
3383
|
+
] : [n, o];
|
|
3384
|
+
})
|
|
3385
|
+
];
|
|
3386
|
+
}
|
|
3387
|
+
function Xn(e, t = {}) {
|
|
3388
|
+
return Yn(e, {
|
|
3389
|
+
...t,
|
|
3390
|
+
attributeNames: {
|
|
3391
|
+
...t.attributeNames,
|
|
3392
|
+
class: "className",
|
|
3393
|
+
"stroke-width": "strokeWidth",
|
|
3394
|
+
"stroke-linecap": "strokeLinecap",
|
|
3395
|
+
"stroke-linejoin": "strokeLinejoin",
|
|
3396
|
+
"vector-effect": "vectorEffect"
|
|
3397
|
+
}
|
|
3398
|
+
});
|
|
3399
|
+
}
|
|
3400
|
+
var Zn = (e) => {
|
|
3401
|
+
for (let t in e) if (t.startsWith("aria-") || t === "role" || t === "title") return !0;
|
|
3402
|
+
return !1;
|
|
3403
|
+
}, Qn = (0, o.createContext)({}), $n = () => (0, o.useContext)(Qn), er = (0, o.forwardRef)(({ color: e, size: t, width: n, height: r, strokeWidth: i, absoluteStrokeWidth: a, nonScalingStroke: s, className: c = "", children: l, iconNode: u = [], icon: d = {
|
|
3404
|
+
node: u,
|
|
3405
|
+
aliases: [],
|
|
3406
|
+
size: 24
|
|
3407
|
+
}, ...f }, p) => {
|
|
3408
|
+
let { size: m = 24, strokeWidth: h = 2, absoluteStrokeWidth: g = !1, nonScalingStroke: _ = !1, color: v = "currentColor", className: y = "" } = $n() ?? {}, b = !!l || Zn(f), [x, S, C = []] = Xn(d, {
|
|
3409
|
+
color: e ?? v,
|
|
3410
|
+
width: n ?? t ?? m,
|
|
3411
|
+
height: r ?? t ?? m,
|
|
3412
|
+
strokeWidth: i ?? h,
|
|
3413
|
+
absoluteStrokeWidth: a ?? g,
|
|
3414
|
+
nonScalingStroke: s ?? _,
|
|
3415
|
+
className: qn(y, c),
|
|
3416
|
+
hasA11yProp: b,
|
|
3417
|
+
attributes: f
|
|
3418
|
+
});
|
|
3419
|
+
return (0, o.createElement)(x, {
|
|
3420
|
+
ref: p,
|
|
3421
|
+
...S
|
|
3422
|
+
}, [...C.map(([e, t]) => (0, o.createElement)(e, t)), ...Array.isArray(l) ? l : [l]]);
|
|
3423
|
+
});
|
|
3424
|
+
function tr(e, t = [], n = []) {
|
|
3425
|
+
let r = typeof e == "string" ? Wn(e, t, n) : e, i = (0, o.forwardRef)(({ className: e, ...t }, n) => (0, o.createElement)(er, {
|
|
3426
|
+
ref: n,
|
|
3427
|
+
icon: r,
|
|
3428
|
+
className: e,
|
|
3429
|
+
...t
|
|
3430
|
+
}));
|
|
3431
|
+
return r.name && (i.displayName = Kn(r.name)), i;
|
|
3294
3432
|
}
|
|
3295
|
-
|
|
3296
|
-
var Hn = {
|
|
3433
|
+
var nr = {
|
|
3297
3434
|
name: "bot",
|
|
3298
3435
|
size: 24,
|
|
3299
3436
|
node: [
|
|
@@ -3327,8 +3464,8 @@ var Hn = {
|
|
|
3327
3464
|
}]
|
|
3328
3465
|
]
|
|
3329
3466
|
};
|
|
3330
|
-
|
|
3331
|
-
var
|
|
3467
|
+
nr.node;
|
|
3468
|
+
var rr = tr(nr), ir = {
|
|
3332
3469
|
name: "wrench",
|
|
3333
3470
|
size: 24,
|
|
3334
3471
|
node: [["path", {
|
|
@@ -3336,30 +3473,30 @@ var Un = Q(Hn), Wn = {
|
|
|
3336
3473
|
key: "1ngwbx"
|
|
3337
3474
|
}]]
|
|
3338
3475
|
};
|
|
3339
|
-
|
|
3340
|
-
var
|
|
3341
|
-
function
|
|
3342
|
-
let { renderAgentMark: r } = (0,
|
|
3343
|
-
return e && r ? r(e, t, n) : /* @__PURE__ */ (0,
|
|
3476
|
+
ir.node;
|
|
3477
|
+
var ar = tr(ir), or = (0, o.createContext)({}), sr = or.Provider;
|
|
3478
|
+
function cr({ agent: e, layout: t, size: n }) {
|
|
3479
|
+
let { renderAgentMark: r } = (0, o.useContext)(or);
|
|
3480
|
+
return e && r ? r(e, t, n) : /* @__PURE__ */ (0, Z.jsx)(rr, {
|
|
3344
3481
|
size: t === "tree" ? n : 16,
|
|
3345
3482
|
"aria-hidden": !0
|
|
3346
3483
|
});
|
|
3347
3484
|
}
|
|
3348
|
-
function
|
|
3349
|
-
let { renderToolMark: r } = (0,
|
|
3350
|
-
return r ? r(e, t, n) : /* @__PURE__ */ (0,
|
|
3485
|
+
function lr({ tool: e, label: t, size: n }) {
|
|
3486
|
+
let { renderToolMark: r } = (0, o.useContext)(or);
|
|
3487
|
+
return r ? r(e, t, n) : /* @__PURE__ */ (0, Z.jsx)(ar, {
|
|
3351
3488
|
size: n * .4,
|
|
3352
3489
|
"aria-hidden": !0
|
|
3353
3490
|
});
|
|
3354
3491
|
}
|
|
3355
|
-
var
|
|
3492
|
+
var ur = {
|
|
3356
3493
|
width: 232,
|
|
3357
3494
|
height: 120
|
|
3358
|
-
},
|
|
3495
|
+
}, dr = {
|
|
3359
3496
|
width: 296,
|
|
3360
3497
|
height: 164
|
|
3361
|
-
},
|
|
3362
|
-
function
|
|
3498
|
+
}, fr = 10, pr = 12, mr = 56, hr = 24;
|
|
3499
|
+
function gr(e, t) {
|
|
3363
3500
|
let n = /* @__PURE__ */ new Set(), r = [];
|
|
3364
3501
|
for (let t of e) n.has(t.id) || (n.add(t.id), r.push(t.id));
|
|
3365
3502
|
let i = /* @__PURE__ */ new Set(), a = [], o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
|
|
@@ -3391,25 +3528,25 @@ function nr(e, t) {
|
|
|
3391
3528
|
groupOf: l
|
|
3392
3529
|
};
|
|
3393
3530
|
}
|
|
3394
|
-
function
|
|
3531
|
+
function _r(e, t, n, r = !1) {
|
|
3395
3532
|
if (r) return {
|
|
3396
3533
|
width: n.width + 24,
|
|
3397
3534
|
height: 80
|
|
3398
3535
|
};
|
|
3399
3536
|
let i = Math.max(1, Math.min(t, e)), a = Math.ceil(e / i);
|
|
3400
3537
|
return {
|
|
3401
|
-
width: i * n.width + (i - 1) *
|
|
3402
|
-
height: 80 + a * n.height + (a - 1) *
|
|
3538
|
+
width: i * n.width + (i - 1) * fr + 24,
|
|
3539
|
+
height: 80 + a * n.height + (a - 1) * fr + pr
|
|
3403
3540
|
};
|
|
3404
3541
|
}
|
|
3405
|
-
function
|
|
3542
|
+
function vr(e, t, n, r, i) {
|
|
3406
3543
|
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
3544
|
id: e,
|
|
3408
3545
|
...n
|
|
3409
3546
|
}));
|
|
3410
3547
|
o.push(...e.groups.map((e) => ({
|
|
3411
3548
|
id: e.id,
|
|
3412
|
-
...
|
|
3549
|
+
..._r(e.memberIds.length, t, n, r.has(e.id))
|
|
3413
3550
|
})));
|
|
3414
3551
|
let s = (t) => e.groupOf.get(t) ?? a.get(t) ?? t, c = /* @__PURE__ */ new Set();
|
|
3415
3552
|
return {
|
|
@@ -3423,8 +3560,8 @@ function ir(e, t, n, r, i) {
|
|
|
3423
3560
|
})
|
|
3424
3561
|
};
|
|
3425
3562
|
}
|
|
3426
|
-
async function
|
|
3427
|
-
let r = await
|
|
3563
|
+
async function yr(e, t, n) {
|
|
3564
|
+
let r = await Mn();
|
|
3428
3565
|
if (!r) return null;
|
|
3429
3566
|
let i = {
|
|
3430
3567
|
id: "root",
|
|
@@ -3434,8 +3571,8 @@ async function ar(e, t, n) {
|
|
|
3434
3571
|
"elk.layered.considerModelOrder.strategy": "NODES_AND_EDGES",
|
|
3435
3572
|
"elk.layered.nodePlacement.strategy": "BRANDES_KOEPF",
|
|
3436
3573
|
"elk.layered.nodePlacement.bk.fixedAlignment": "BALANCED",
|
|
3437
|
-
"elk.layered.spacing.nodeNodeBetweenLayers": String(
|
|
3438
|
-
"elk.spacing.nodeNode": String(
|
|
3574
|
+
"elk.layered.spacing.nodeNodeBetweenLayers": String(mr),
|
|
3575
|
+
"elk.spacing.nodeNode": String(hr),
|
|
3439
3576
|
"elk.spacing.componentComponent": "48",
|
|
3440
3577
|
"elk.separateConnectedComponents": "true",
|
|
3441
3578
|
"elk.padding": "[top=0,left=0,bottom=0,right=0]"
|
|
@@ -3462,7 +3599,7 @@ async function ar(e, t, n) {
|
|
|
3462
3599
|
return null;
|
|
3463
3600
|
}
|
|
3464
3601
|
}
|
|
3465
|
-
function
|
|
3602
|
+
function br(e, t, n) {
|
|
3466
3603
|
let r = /* @__PURE__ */ new Map();
|
|
3467
3604
|
for (let e of t) r.set(e.to, [...r.get(e.to) ?? [], e.from]);
|
|
3468
3605
|
let i = /* @__PURE__ */ new Map(), a = (e, t) => {
|
|
@@ -3474,7 +3611,7 @@ function or(e, t, n) {
|
|
|
3474
3611
|
return t.delete(e), i.set(e, o), o;
|
|
3475
3612
|
}, o = [];
|
|
3476
3613
|
for (let t of e) (o[a(t.id, /* @__PURE__ */ new Set())] ??= []).push(t);
|
|
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) *
|
|
3614
|
+
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) * hr), u = Math.max(...l), d = /* @__PURE__ */ new Map(), f = 0;
|
|
3478
3615
|
return o.forEach((e, t) => {
|
|
3479
3616
|
let r = (u - l[t]) / 2;
|
|
3480
3617
|
for (let t of e) d.set(t.id, n === "TB" ? {
|
|
@@ -3483,12 +3620,12 @@ function or(e, t, n) {
|
|
|
3483
3620
|
} : {
|
|
3484
3621
|
x: f,
|
|
3485
3622
|
y: r
|
|
3486
|
-
}), r += s(t) +
|
|
3487
|
-
f += Math.max(...e.map(c)) +
|
|
3623
|
+
}), r += s(t) + hr;
|
|
3624
|
+
f += Math.max(...e.map(c)) + mr;
|
|
3488
3625
|
}), d;
|
|
3489
3626
|
}
|
|
3490
|
-
async function
|
|
3491
|
-
let { units: o, links: s } =
|
|
3627
|
+
async function xr(e, t, n, r = ur, i = /* @__PURE__ */ new Set(), a = !0) {
|
|
3628
|
+
let { units: o, links: s } = vr(e, n, r, i, a), c = await yr(o, s, t) ?? br(o, s, t), l = /* @__PURE__ */ new Map(), u = [], d = 0, f = 0;
|
|
3492
3629
|
for (let e of o) {
|
|
3493
3630
|
let t = c.get(e.id) ?? {
|
|
3494
3631
|
x: 0,
|
|
@@ -3502,14 +3639,14 @@ async function sr(e, t, n, r = Xn, i = /* @__PURE__ */ new Set(), a = !0) {
|
|
|
3502
3639
|
y: 0
|
|
3503
3640
|
};
|
|
3504
3641
|
l.delete(t.id);
|
|
3505
|
-
let o = i.has(t.id), s =
|
|
3642
|
+
let o = i.has(t.id), s = _r(t.memberIds.length, n, r, o);
|
|
3506
3643
|
if (u.push({
|
|
3507
3644
|
group: t,
|
|
3508
3645
|
...e,
|
|
3509
3646
|
...s,
|
|
3510
3647
|
collapsed: o
|
|
3511
3648
|
}), l.set(t.parentId, a ? {
|
|
3512
|
-
x: e.x +
|
|
3649
|
+
x: e.x + pr,
|
|
3513
3650
|
y: e.y + 8
|
|
3514
3651
|
} : {
|
|
3515
3652
|
...l.get(t.parentId),
|
|
@@ -3518,8 +3655,8 @@ async function sr(e, t, n, r = Xn, i = /* @__PURE__ */ new Set(), a = !0) {
|
|
|
3518
3655
|
let c = Math.max(1, Math.min(n, t.memberIds.length));
|
|
3519
3656
|
t.memberIds.forEach((t, n) => {
|
|
3520
3657
|
l.set(t, {
|
|
3521
|
-
x: e.x +
|
|
3522
|
-
y: e.y + 80 + Math.floor(n / c) * (r.height +
|
|
3658
|
+
x: e.x + pr + n % c * (r.width + fr),
|
|
3659
|
+
y: e.y + 80 + Math.floor(n / c) * (r.height + fr)
|
|
3523
3660
|
});
|
|
3524
3661
|
});
|
|
3525
3662
|
}
|
|
@@ -3531,15 +3668,15 @@ async function sr(e, t, n, r = Xn, i = /* @__PURE__ */ new Set(), a = !0) {
|
|
|
3531
3668
|
height: f
|
|
3532
3669
|
};
|
|
3533
3670
|
}
|
|
3534
|
-
function
|
|
3535
|
-
let r =
|
|
3536
|
-
return /* @__PURE__ */ (0,
|
|
3671
|
+
function Sr({ entry: e, now: t, onSelect: n }) {
|
|
3672
|
+
let r = Mt(e.observed ? e.status : "unknown"), i = On(e.at, t);
|
|
3673
|
+
return /* @__PURE__ */ (0, Z.jsx)("li", { children: /* @__PURE__ */ (0, Z.jsxs)("button", {
|
|
3537
3674
|
type: "button",
|
|
3538
3675
|
disabled: !n,
|
|
3539
3676
|
onClick: () => n?.(e),
|
|
3540
3677
|
title: e.name + ": " + e.label,
|
|
3541
3678
|
children: [
|
|
3542
|
-
/* @__PURE__ */ (0,
|
|
3679
|
+
/* @__PURE__ */ (0, Z.jsx)("span", {
|
|
3543
3680
|
className: "ag-latest-dot",
|
|
3544
3681
|
style: {
|
|
3545
3682
|
background: e.observed ? "var(" + r.token + ")" : "transparent",
|
|
@@ -3547,21 +3684,21 @@ function cr({ entry: e, now: t, onSelect: n }) {
|
|
|
3547
3684
|
},
|
|
3548
3685
|
"aria-hidden": !0
|
|
3549
3686
|
}),
|
|
3550
|
-
/* @__PURE__ */ (0,
|
|
3551
|
-
e.observed && /* @__PURE__ */ (0,
|
|
3687
|
+
/* @__PURE__ */ (0, Z.jsx)("strong", { children: e.name }),
|
|
3688
|
+
e.observed && /* @__PURE__ */ (0, Z.jsxs)("span", {
|
|
3552
3689
|
className: "ag-latest-state",
|
|
3553
3690
|
style: { color: "var(" + r.token + ")" },
|
|
3554
|
-
children: [e.status !== "running" && /* @__PURE__ */ (0,
|
|
3691
|
+
children: [e.status !== "running" && /* @__PURE__ */ (0, Z.jsx)(Nt, {
|
|
3555
3692
|
status: e.status,
|
|
3556
3693
|
size: 14,
|
|
3557
3694
|
"aria-hidden": !0
|
|
3558
3695
|
}), r.label]
|
|
3559
3696
|
}),
|
|
3560
|
-
/* @__PURE__ */ (0,
|
|
3697
|
+
/* @__PURE__ */ (0, Z.jsx)("span", {
|
|
3561
3698
|
className: "ag-latest-label",
|
|
3562
3699
|
children: e.label
|
|
3563
3700
|
}),
|
|
3564
|
-
/* @__PURE__ */ (0,
|
|
3701
|
+
/* @__PURE__ */ (0, Z.jsxs)("time", { children: [
|
|
3565
3702
|
e.observed ? "Observed " : "",
|
|
3566
3703
|
i,
|
|
3567
3704
|
i !== "now" && i !== "—" ? " ago" : ""
|
|
@@ -3569,103 +3706,103 @@ function cr({ entry: e, now: t, onSelect: n }) {
|
|
|
3569
3706
|
]
|
|
3570
3707
|
}) });
|
|
3571
3708
|
}
|
|
3572
|
-
function
|
|
3573
|
-
let
|
|
3709
|
+
function Cr({ agents: e, n: t = 5, now: n, live: r = n === void 0, selectedId: i, onSelect: a }) {
|
|
3710
|
+
let s = zt(n), c = Number.isFinite(t) ? Math.max(1, Math.trunc(t)) : 5, l = (0, o.useMemo)(() => e.flatMap((e) => (e.events ?? []).map((t) => ({
|
|
3574
3711
|
id: e.id + ":" + t.id,
|
|
3575
3712
|
agentId: e.id,
|
|
3576
3713
|
name: e.label,
|
|
3577
3714
|
label: t.label,
|
|
3578
3715
|
at: t.at,
|
|
3579
3716
|
status: e.status
|
|
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,
|
|
3581
|
-
|
|
3582
|
-
let
|
|
3583
|
-
(0,
|
|
3584
|
-
let t = e.filter((e) =>
|
|
3585
|
-
id: e.id + ":status:" +
|
|
3717
|
+
}))).sort((e, t) => (Number.isFinite(t.at) ? t.at : -Infinity) - (Number.isFinite(e.at) ? e.at : -Infinity) || e.id.localeCompare(t.id)).slice(0, c), [e, c]), [u, d] = (0, o.useState)(l), [f, p] = (0, o.useState)([]), [m, h] = (0, o.useState)(""), [g, _] = (0, o.useState)(!1), [v, y] = (0, o.useState)(!1), b = g || v, x = (0, o.useRef)(l), S = (0, o.useRef)(void 0), C = (0, o.useRef)(void 0), w = (0, o.useRef)(/* @__PURE__ */ new Map());
|
|
3718
|
+
x.current = l;
|
|
3719
|
+
let T = (0, o.useRef)(new Map(e.map((e) => [e.id, e.status])));
|
|
3720
|
+
(0, o.useEffect)(() => {
|
|
3721
|
+
let t = e.filter((e) => T.current.has(e.id) && T.current.get(e.id) !== e.status).map((e) => ({
|
|
3722
|
+
id: e.id + ":status:" + s,
|
|
3586
3723
|
agentId: e.id,
|
|
3587
3724
|
name: e.label,
|
|
3588
3725
|
status: e.status,
|
|
3589
3726
|
label: e.result ?? e.turn ?? "Status changed",
|
|
3590
|
-
at:
|
|
3727
|
+
at: s,
|
|
3591
3728
|
observed: !0
|
|
3592
3729
|
}));
|
|
3593
|
-
if (
|
|
3594
|
-
|
|
3730
|
+
if (T.current = new Map(e.map((e) => [e.id, e.status])), !r) {
|
|
3731
|
+
p((e) => e.length ? [] : e), w.current.clear(), clearTimeout(C.current), C.current = void 0;
|
|
3595
3732
|
return;
|
|
3596
3733
|
}
|
|
3597
3734
|
let n = new Set(e.map((e) => e.id));
|
|
3598
|
-
if (
|
|
3599
|
-
let r = [...t, ...e.filter((e) => n.has(e.agentId) && !t.some((t) => t.agentId === e.agentId))].slice(0,
|
|
3735
|
+
if (p((e) => {
|
|
3736
|
+
let r = [...t, ...e.filter((e) => n.has(e.agentId) && !t.some((t) => t.agentId === e.agentId))].slice(0, c);
|
|
3600
3737
|
return !t.length && r.length === e.length ? e : r;
|
|
3601
3738
|
}), t.length) {
|
|
3602
|
-
for (let e of t)
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
},
|
|
3739
|
+
for (let e of t) w.current.set(e.agentId, e.name + ": " + Mt(e.status).label);
|
|
3740
|
+
C.current === void 0 && (C.current = setTimeout(() => {
|
|
3741
|
+
h([...w.current.values()].join("; ")), w.current.clear(), C.current = void 0;
|
|
3742
|
+
}, bn("--duration-ambient")));
|
|
3606
3743
|
}
|
|
3607
3744
|
}, [
|
|
3608
3745
|
e,
|
|
3609
|
-
o,
|
|
3610
3746
|
s,
|
|
3747
|
+
c,
|
|
3611
3748
|
r
|
|
3612
|
-
]), (0,
|
|
3613
|
-
i &&
|
|
3614
|
-
}, [i]), (0,
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
},
|
|
3618
|
-
}, [
|
|
3619
|
-
clearTimeout(
|
|
3749
|
+
]), (0, o.useEffect)(() => {
|
|
3750
|
+
i && p((e) => e.filter((e) => e.agentId !== i));
|
|
3751
|
+
}, [i]), (0, o.useEffect)(() => {
|
|
3752
|
+
b ? (clearTimeout(S.current), S.current = void 0) : S.current === void 0 && (S.current = setTimeout(() => {
|
|
3753
|
+
d(x.current), S.current = void 0;
|
|
3754
|
+
}, bn("--duration-ambient") / 2));
|
|
3755
|
+
}, [l, b]), (0, o.useEffect)(() => () => {
|
|
3756
|
+
clearTimeout(S.current), clearTimeout(C.current);
|
|
3620
3757
|
}, []);
|
|
3621
|
-
let
|
|
3622
|
-
(0,
|
|
3623
|
-
|
|
3624
|
-
}, [
|
|
3625
|
-
let
|
|
3626
|
-
return /* @__PURE__ */ (0,
|
|
3758
|
+
let E = [...f, ...u.filter((e) => !f.some((t) => t.agentId === e.agentId))].slice(0, c), D = (0, o.useRef)(E);
|
|
3759
|
+
(0, o.useLayoutEffect)(() => {
|
|
3760
|
+
b || (D.current = E);
|
|
3761
|
+
}, [E, b]);
|
|
3762
|
+
let O = b ? D.current : E;
|
|
3763
|
+
return /* @__PURE__ */ (0, Z.jsxs)("section", {
|
|
3627
3764
|
className: "ag-latest",
|
|
3628
3765
|
"aria-label": "Latest activity",
|
|
3629
3766
|
tabIndex: 0,
|
|
3630
|
-
onPointerEnter: () =>
|
|
3631
|
-
onPointerLeave: () =>
|
|
3632
|
-
onFocusCapture: () =>
|
|
3767
|
+
onPointerEnter: () => _(!0),
|
|
3768
|
+
onPointerLeave: () => _(!1),
|
|
3769
|
+
onFocusCapture: () => y(!0),
|
|
3633
3770
|
onBlurCapture: (e) => {
|
|
3634
|
-
e.currentTarget.contains(e.relatedTarget) ||
|
|
3771
|
+
e.currentTarget.contains(e.relatedTarget) || y(!1);
|
|
3635
3772
|
},
|
|
3636
3773
|
children: [
|
|
3637
|
-
/* @__PURE__ */ (0,
|
|
3638
|
-
/* @__PURE__ */ (0,
|
|
3639
|
-
/* @__PURE__ */ (0,
|
|
3640
|
-
|
|
3774
|
+
/* @__PURE__ */ (0, Z.jsxs)("header", { children: [
|
|
3775
|
+
/* @__PURE__ */ (0, Z.jsx)("strong", { children: "Latest activity" }),
|
|
3776
|
+
/* @__PURE__ */ (0, Z.jsx)("span", { children: b ? "Paused while reading" : "Recorded events · age" }),
|
|
3777
|
+
b && /* @__PURE__ */ (0, Z.jsx)("button", {
|
|
3641
3778
|
type: "button",
|
|
3642
3779
|
onClick: () => {
|
|
3643
|
-
|
|
3780
|
+
d([...x.current]), D.current = [...f, ...x.current.filter((e) => !f.some((t) => t.agentId === e.agentId))].slice(0, c);
|
|
3644
3781
|
},
|
|
3645
3782
|
children: "Show latest"
|
|
3646
3783
|
})
|
|
3647
3784
|
] }),
|
|
3648
|
-
/* @__PURE__ */ (0,
|
|
3785
|
+
/* @__PURE__ */ (0, Z.jsx)("ol", {
|
|
3649
3786
|
tabIndex: 0,
|
|
3650
3787
|
"aria-label": "Recorded activity events",
|
|
3651
|
-
children:
|
|
3788
|
+
children: O.length ? O.map((e) => /* @__PURE__ */ (0, Z.jsx)(Sr, {
|
|
3652
3789
|
entry: e,
|
|
3653
|
-
now:
|
|
3790
|
+
now: s,
|
|
3654
3791
|
onSelect: a ? (e) => {
|
|
3655
|
-
|
|
3792
|
+
p((t) => t.filter((t) => t.agentId !== e.agentId)), a(e.agentId);
|
|
3656
3793
|
} : void 0
|
|
3657
|
-
}, e.id)) : /* @__PURE__ */ (0,
|
|
3794
|
+
}, e.id)) : /* @__PURE__ */ (0, Z.jsx)("li", {
|
|
3658
3795
|
className: "ag-latest-empty",
|
|
3659
3796
|
children: "No activity events were reported."
|
|
3660
3797
|
})
|
|
3661
3798
|
}),
|
|
3662
|
-
/* @__PURE__ */ (0,
|
|
3799
|
+
/* @__PURE__ */ (0, Z.jsx)("span", {
|
|
3663
3800
|
className: "sr-only",
|
|
3664
3801
|
role: "status",
|
|
3665
3802
|
"aria-live": "polite",
|
|
3666
|
-
children:
|
|
3803
|
+
children: m
|
|
3667
3804
|
})
|
|
3668
3805
|
]
|
|
3669
3806
|
});
|
|
3670
3807
|
}
|
|
3671
|
-
export {
|
|
3808
|
+
export { At as $, on as A, Ut as B, Cn as C, dn as D, un as E, hn as F, an as G, Sn as H, mn as I, $t as J, Tn as K, Qt as L, cn as M, pn as N, xn as O, qt as P, jt as Q, en as R, Rn as S, wn as T, bn as U, Q as V, Ht as W, zt as X, Bt as Y, Nt as Z, On as _, Cr as a, Tt as at, kn as b, gr as c, ut as ct, An as d, Ue as dt, Mt as et, Vn as f, c as ft, En as g, Hn as h, dr as i, Et as it, tn as j, rn as k, tr as l, J as lt, zn as m, r as mt, cr as n, Dt as nt, lr as o, Y as ot, Bn as p, a as pt, yn as q, sr as r, X as rt, ar as s, St as st, ur as t, Ct as tt, xr as u, Ge as ut, Dn as v, nn as w, In as x, Fn as y, Wt as z };
|